[SPARK-25280][SQL] Add support for USING syntax for DataSourceV2

What changes were proposed in this pull request?
This PR targets for DataSource V2 to have USING syntax support mainly.
Currently,
spark.sql(s"CREATE TABLE tableB USING ${classOf[SimpleDataSourceV2].getCanonicalName}")

produces an error:
org.apache.spark.sql.sources.v2.SimpleDataSourceV2 is not a valid Spark SQL Data Source.;
org.apache.spark.sql.AnalysisException: org.apache.spark.sql.sources.v2.SimpleDataSourceV2 is not a valid Spark SQL Data Source.;
	at org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:385)
	at org.apache.spark.sql.execution.command.CreateDataSourceTableCommand.run(createDataSourceTables.scala:78)
	at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult$lzycompute(commands.scala:70)
	at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult(commands.scala:68)
	at org.apache.spark.sql.execution.command.ExecutedCommandExec.executeCollect(commands.scala:79)

So that developers (Datasource V1) can easily migrate and their users can smoothly change their codes using USING syntax from Datasource v1, we better support this case as well.
There's a discussion thread about this here as well - http://apache-spark-developers-list.1001551.n3.nabble.com/DISCUSS-USING-syntax-for-Datasource-V2-td24754.html
Some discussions are going on:
http://apache-spark-developers-list.1001551.n3.nabble.com/DISCUSS-USING-syntax-for-Datasource-V2-td24754.html
For this one, looks we can proceed orthogonally with multiple catalog support.
The approach taken here is basically introduce DataSourceRelation trait which connects DataSourceV1 and DataSourceV2 so that the changes can be minimised. For extendability, this uses a pattern match so that, for instance, newer DataSource can be added in the (far) future.
For StreamingDataSourceV2Relation and BatchWriteSupportProvider, it is not handled here.
How was this patch tested?
Unit tests were added.

cc @cloud-fan and @rdblue, WDYT about this approach?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2695/
Test PASSed.

Test build #95459 has started for PR 22281 at commit 35f1748.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2696/
Test PASSed.

Test build #95460 has started for PR 22281 at commit 654ee2d.

Test build #95459 has finished for PR 22281 at commit 35f1748.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait DataSourceRelation
abstract class BaseRelation extends DataSourceRelation

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/95459/
Test FAILed.

how is this related to the catalog integration work @rdblue is working on? IIRC @gengliangwang skipped this part when migrating file source because there are some problems hard to solve.

The catalog integration stuff looked to me able to proceed orthogonally since this change target to use existing catalog. It looked indeed kind of tricky but I thought the current way kind of resolves it rather cleanly. @gengliangwang, mind if I ask your opinion on this approach?

We need to think of the big picture. I think one possible design is to not support USING in data source v2, and always ask data sources to provide a catalog. AFAIK there is no consensus about how end-users should use data source v2 with tables yet. We need to get a consensus first.

Thanks for working on this, @HyukjinKwon. I think it's great that this is getting the conversation started. I agree with @cloud-fan that we should think through how we want v2 to work.
The read path is fairly straight-forward, we just need to make sure the ResolveRelations analyzer rule returns a v2 relation. There are some details to talk through here as well when we think about multi-catalog support, but the difficulty is mostly on the write side.
For SQL operations that result in writes, we want to use the new v2 logical plans. First, we need to add those and define exactly what those plans do so that we have documented and reliable behavior; I have a few open PRs for this. Then, I think we need a set of rules to convert from the plans produced by the parser (CreateTable with a query) to the new logical plans (CreateTableAsSelect) if the relation resolves to a v2 relation.
For v2 table creation (CreateTable without a query), I think the current USING syntax would work as it does today. I'd like to move this to the new catalog API when we add it, but I think that is mostly orthogonal.

I think one possible design is to not support USING in data source v2, and always ask data sources to provide a catalog.

I thought we almost all agreed with supporting USING syntax. if we shouldn't, then we shouldn't have a FileFormat compatibility too.

@rdblue, Thanks, I will take a look and see if we can keep the current approach for the write side too.

USING syntax has to be there, but what can USING maybe only data source v1 and file format.
IIUC the agreement is: a data source v2 with catalog can create a table with USING, and the data source should interpret the USING parameter. e.g. USING parquet may have a different meaning in iceberg data source.

Yea, but the default fallback should rather be DataSource V2's. Both of you are super active in DataSource V2. Do you guys have some concerns about defaulting to DataSource V1's behaviour?

For clarification, I am okay with targeting this to 3.0.0 since the code freeze will be very soon if I am not mistaken.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2731/
Test PASSed.

Test build #95533 has started for PR 22281 at commit 5a49f0d.

@HyukjinKwon When I implemented the migration, I met the problem you specify in the PR description.
At that time I used a fallback framework to switch the data source to V1 as temporary fix(https://github.com/apache/spark/pull/21123), since we didn't have a design ready for catalog yet.
Overall I think we should reach an agreement on data source V2 catalog first. We have been through too many changes in related code. Each time a lot of code need to be touched to implement a new proposal...

We have been through too many changes in related code. Each time a lot of code need to be touched to implement a new proposal...

I agree in general. Thing is, I doubt if multiple catalog support can directly relate to follow Datasource V1's behaviour. Took a look for writing path and still it's possible to have the same interface.
@rdblue, now I am getting what you meant by removing save modes - however, to me looks possible to have the current interface. Current change looks rather how to deal with provider matching within SQL to target match Scala side API to SQL APIs. Dealing with commands, new plans and save mode sounds lower level to me.
The actual codes proposed here is to have one trait to link both data sources to match Scala side to SQL side. I assume most of problems in the current DataSource V2 are already exposed in Scala side as well, no?

Test build #95533 has finished for PR 22281 at commit 5a49f0d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait DataSourceRelation
abstract class BaseRelation extends DataSourceRelation

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/95533/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2737/
Test PASSed.

Test build #95539 has finished for PR 22281 at commit 1982899.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/95539/
Test PASSed.

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5677/
Test PASSed.


fix: Text in search field does not move to the end

Explanation of Change

Fixed Issues

$ https://github.com/Expensify/App/issues/52599
PROPOSAL: https://github.com/Expensify/App/issues/52599#issuecomment-2477768400
Tests

Open a report with really long name (invoice chat with user that has email as display name).
Click on the search icon on the top right.
Click Search in ....
Verify that the cursor is moved to the end.

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

Open a report with really long name (invoice chat with user that has email as display name).
Click on the search icon on the top right.
Click Search in ....
Verify that the cursor is moved to the end.

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

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

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I used JaimeGPT to get English > Spanish translation. I then posted it in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
https://github.com/user-attachments/assets/4be04f87-5b39-4292-88f5-00b09cc9f37d

Android: mWeb Chrome
https://github.com/user-attachments/assets/4c40e335-3bdc-4f9e-abad-f110eb4da958

iOS: Native
https://github.com/user-attachments/assets/be5c9e66-9098-4b75-8de8-c7c1d7c923b1

iOS: mWeb Safari
https://github.com/user-attachments/assets/f69efadb-7bdb-49ae-bb5a-309417e8534f

MacOS: Chrome / Safari
https://github.com/user-attachments/assets/0b842788-6f4b-4671-8dc9-36e0759bbeb4

MacOS: Desktop
https://github.com/user-attachments/assets/78b3b3c8-a1b3-4b8c-b5b1-4b70bf9c895b

@daledah I am getting a crash on Android while searching.

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

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

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.ts or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] For any bug fix or new feature in this PR, I verified that sufficient unit tests are included to prevent regressions in this flow.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native
https://github.com/user-attachments/assets/6fd33939-6a08-480d-9f45-e0aadd2a3313

Android: mWeb Chrome
https://github.com/user-attachments/assets/c1b849f1-25c9-404f-9bba-5f29b388351e

iOS: Native
https://github.com/user-attachments/assets/e8afe678-b8b9-4c8a-b5f4-a8e009def224

iOS: mWeb Safari
https://github.com/user-attachments/assets/b2dd4ee1-c3ce-4009-90bf-14a16c0a94b2

MacOS: Chrome / Safari
https://github.com/user-attachments/assets/6fe44ba7-c694-4992-9afc-e2a24e5dcddc

MacOS: Desktop
https://github.com/user-attachments/assets/dddcadf7-783f-4935-907c-515e74f9c7d3

@daledah can you resolve the conflicts please?
@dangrous quick bump on the PR.


Addl. parameter and method for Paper in JointJS

jointjs/jointjs.d.ts
to authors(@areel @DavidDurman @DenEwout). could you review this PR?
:+1: or :-1:?
check list

[ ] pass the Travic-CI test?


added configurable date and time formats

Happy to reopen this if anyone wants to take it back up, or send a new PR.


Wrongly duplicated text on What's new (WCF section)

On https://github.com/dotnet/docs/edit/master/docs/framework/whats-new/index.md, lines 561-563...

When this feature is enabled, a xref:System.Runtime.Serialization.Json.DataContractJsonSerializer object  uses the xref:System.TimeZoneInfo type instead of the xref:System.TimeZone type to deserialize date and time data. xref:System.TimeZoneInfo supports multiple adjustment rules, which makes it possible to work with historic time zone data;   xref:System.TimeZone does not.
For more information on the xref:System.TimeZoneInfo structure and time zone adjustments, see Time Zone Overview.

... seem to have been duplicated from the previous item (lines 535-537) and doesn't correspond to the item being described starting at line 539:

Support for preserving a UTC time when serializing and deserializing with the XMLSerializer class
Ordinarily, when the xref:System.Xml.Serialization.XmlSerializer class is used to serialize a UTC xref:System.DateTime value, it creates a serialized time string that preserves the date and time but assumes the time is local.  For example, if you instantiate a UTC date and time by calling the following code:

If there's nothing else that should be in it's place I can go on and remove it.

@rpetrusha can you look at this one?


Expose Usage Limit Headers as part of responses

Is your feature request related to a problem? Please describe.
I want to implement a metric to monitor our usage of PDL and ensure we do not run out of usage credits. Your API requests return your remaining credits as response headers. However, as far as I can tell, there is no way to access the response headers when using this JS client.
Describe the solution you'd like
I'd like the usage headers to be exposed as part of the response.
Describe alternatives you've considered
I'm considering not using this client (or copying it) and implementing the API myself to get around this.

@andrewmunn We actually parse and return the rate limit information as part of the response object under the rateLimit key.  Here are the associated types for reference:
export interface RateLimit {
  rateLimitRemaining?: RateLimitRemaining;
  rateLimitReset?: string;
  rateLimitLimit?: RateLimitLimit;
  totalLimitOveragesRemaining?: number;
  totalLimitPurchasedRemaining?: number;
  totalLimitRemaining?: number;
  callCreditsType?: string;
  callCreditsSpent?: number;
  lifetimeUsed?: number;
}

export interface RateLimitRemaining {
  minute?: number;
  day?: number;
  month?: number;
}

export interface RateLimitLimit {
  minute?: number;
  day?: number;
  month?: number;
}


Include proxy/anonymizer services

Blocking sites that are already included in the unified hosts. You can still access blocked sites using proxy/anonymizer services such as kproxy.com, hide.me, megaproxy, and etc.
This will render the hosts file ineffective, to allow these kinds of services.

Pretty vague request.. I imagine you're speaking along the lines of web proxy services such as hidemyass.com(actually already blocked, but using as an example) and hide.me?
To which I would recommend this be an optional list request, if a suitable curated list can be found.

@kronflux forgive me for not including additional details in the initial issue comment.

Excellent, thanks for the clarification.
So yes, my post was correct. To add this, there needs to be a curated list of web proxy sites, which could be added as an optional addon list

I feel as though this and the torrent list ideas are both good, but we may need to rethink how our current extensions are organized before we start adding more so the amount of extensions and combination possibilities doesn't become difficult to work with. For instance, is there anyone that feels as though someone wanting to block porn and/or gambling would only want to block one or the other and not both? I can see how fake news might be a bit opinionated and not everyone will want to use it, but maybe we should just build a safe-for-work (SFW)/family-friendly type extension that comes standard with porn, gambling, and proxies/anonymizers, and then leave the torrent list on its own because that can also be a bit opinionated. Thoughts?

@ScriptTiger I think you are on to something, but as i referrer to in a other issue it could maybe be a good idea to actually incorporate http://dsi.ut-capitole.fr/blacklists/index_en.php and separate into categories link the linked page.
But here is the real issue.. the egg or the hen. You can't do real blocking based on hosts files alone, you can only do basic blocking if you would like to keep the majority of sites working for all devices (phones, TV, radios etc.) Then you would have to add a DNS server (replacing the hosts file) AND a proxy server as Squid.
Only by combining these things you are on the right way, but still not completely done.
So My vote is to separate as much as possible into categories and then let the individual user choose for them self, each category could then have a number of sub categories that's by default are added if a user choose a higher level of category, in this way it would still be possible to auto generate a number of hosts files that can be linked to without having to many.


205 move and style signature bar

styled up CampaignPage.js with components SignatureList, ShareCampaign, SignCampaign and CampaignStatus.
Needs more styling and maps integration with repair to props for campaign.name and campaign.address

pushing new branch


Sort by latest tweet is failing

https://landscape.cncf.io/grouping=no&sort=latest-tweet
Screen doesn't render, presumably because some expected value is null/.

Can no longer recreate.

Not an issue anymore, I think. We fixed our way to fetch twitter. And we forbid an empty twitter field(i.e. null)


Add support for OpenID Connect RP-Initiated logout

Enable a logout endpoint so an application (relaying party) call force a logout in Telefonica Accounts.
Tipically this endpoint receives two parameters:

id_token_hint: with the id_token generated for the application of the logged user
post_logout_redirect_uri: URL the user will be redirected after the TAccout logout

It is part of the OpenID Connect Session Management specification.
http://openid.net/specs/openid-connect-session-1_0.html
Best regards.

We are about to add it to the server. Follow this at https://github.com/TDAF/accounts/issues/342. As a clarification, our current plan is to support the post_logout_redirect_uri, but not the ID_token_hint which is optional in the spec.


Fix missing markdown escapes in shutdown.md

Description for the /d parameter was broken due to unescaped characters which were interpreted by markdown.

Thanks for fixing that! Merging now, so you should see the change this morning. Thanks, Liza


Updates for plutus-ledger-api <IP_ADDRESS>

Description
This updates cardano-ledger for plutus-<IP_ADDRESS>
Checklist

[x] Commit sequence broadly makes sense and commits have useful messages
[ ] New tests are added if needed and existing tests are updated
[ ] When applicable, versions are updated in .cabal and CHANGELOG.md files according to the
versioning process.
[ ] The version bounds in .cabal files for all affected packages are updated. If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
[ ] All visible changes are prepended to the latest section of a CHANGELOG.md for the affected packages. New section is never added with the code changes. (See RELEASING.md)
[x] Code is formatted with fourmolu (use scripts/fourmolize.sh)
[x] Cabal files are formatted (use scripts/cabal-format.sh)
[x] hie.yaml has been updated (use scripts/gen-hie.sh)
[ ] Self-reviewed the diff

I appreciate your intent, but there is a whole lot more that needs to be done in ledger to make it compatible with latest version of plutus.
There is already work underway on #4374 to do just that

Sorry!  I just did that as part of our standard release procedure: it hadn't occurred to me that the changes we'd made would be incompatible with the ledger.  Let us know when you're ready and we'll open a PR with an up-to-date plutus version.


fs/nfs/nfs_proto.h: Use of uint64_t in the data types breaks NFS func…

Summary
The use of uint64_t primitive type in NFS structures forces the compiler to align data on an 8-byte boundary.
Impact
As a result of this, unwanted gaps being created, which causes NFS to fail. (e.g.,nfs_read/initialize the request)
Testing
I noticed this issue while I was trying to 'cat' a file. The NFS implementation was always failing with 10001. After digging into the problem and sniffing the packages with Wireshark, I saw some garbage data in the read requests. After making this change, the problem disappeared, and everything has started to work as expected.

I see that the CI creates so many warnings for the existing code. I haven't touched any of them for clarity. @patacongo

lgtm.

We have made exceptions for the "error: Mixed case identifier found" errors if there is no reasonable option.  But otherwise, all modified files must pass the style check before they can be merged.

I've made the necessary changes. The only remaining type of error is the "Mixed case identifier found."
In the TO-DO file, under "MISSING FILE SYSTEM FEATURES" title, I see that NFS is one of the filesystems that need review. I want to be of help to implement those features. And as part of this work, I could update existing type definitions that don't conform to the coding standard. @patacongo


Business account support

I needed to upload way too many files to Dropbox without also syncing all the files in the Dropbox account to my poor little system, and I found this.
Unfortunately, it failed to work with the Business Team account I needed to access.
It turned out to be pretty simply due to the difference between individual and team accounts from the perspective of space_usage.
This pull request makes it possible to use the software on an individual or team account without manually patching it.

Added a .gitignore and cleaned up whitespace a bit, as well.

Thanks!

Thank you, saved my day -- happy to pay it forward.


[Tabs] First tab gets selected when adding a new tab and setting it as selected simultaneously

Describe the bug
With controlled values for the Tabs component, it is not possible to add a new tab dynamically and select it at the same time. Instead the first tab is selected.
To Reproduce
Steps to reproduce the behavior:

Open this stacbklitz: https://stackblitz.com/edit/github-wkw3ra?file=src%2FApp.tsx
Click on the "Add tab" button
The first tab is selected instead of the last

import { batch, Component, createSignal, For } from 'solid-js';

import styles from './App.module.css';
import { Tabs } from '@kobalte/core';

const App: Component = () => {
  const [selectedTab, setSelectedTab] = createSignal('Banana');

  const [tabs, setTabs] = createSignal(['Orange', 'Banana', 'Pear']);

  // BUG:
  // If we add a tab and set it as selected, the Tab component
  // resets the selected tab to the first tab in the list.
  // Expected: The newly added tab to be selected.
  function addTab() {
    batch(() => {
      const newTab = `Apple${tabs().length - 2}`;
      setTabs((v) => [...v, newTab]);
      setSelectedTab(newTab);
    });
  }

  return (
    <div class={styles.App}>
      <button onClick={addTab}>Add tab</button>

      <Tabs.Root
        activationMode="manual"
        value={selectedTab()}
        onChange={setSelectedTab}
      >
        <Tabs.List>
          <For each={tabs()}>
            {(tab) => (
              <Tabs.Trigger class="tabs__trigger" value={tab}>
                {tab}
              </Tabs.Trigger>
            )}
          </For>
        </Tabs.List>
      </Tabs.Root>
    </div>
  );
};

export default App;

Related #218?

Hi, thanks for reporting the issue.
The reason this doesn't works when using batch is because the selectedTab is updated before the new list of tabs is rendered and registered to Tabs.Root.
So when the internal effect run to set the selected tab it doesn't find the new tab (at the moment) and fallback to the first one.
I don't have a solution for this currently except not using batch.

Ok, I guess I can work around using batch. I see why that would be hard to solve on your end. Thanks for looking into it!


Update learning_resources.md

OVER 9000 RESOURCES
just some stuff I've accumulated over the years.

all good, I think.


pull_request diff view broken

in pull_request, when I try to switch to the "diff" mode, the preview shows only:
Usage:  gh pr diff [<number> | <url> | <branch>] [flags]

Flags:
  --color string   Use color in diff output: {always|never|auto} (default "auto")

[Process exited 1]

fix: https://github.com/nvim-telescope/telescope-github.nvim/pull/16


Rocket GUI Bug

Version of Advanced Rocketry
AdvancedRocketry-1.12.2-1.7.0-232-universal
Have you verified this is an issue in the latest unstable build
N
Version of LibVulpes
LibVulpes-1.12.2-0.4.2-75-universal
Version of Minecraft
1.12.2
Crash report or log (if applicable)
http://pastebin.com is a good place to put them
crash reports that are put in the issue itself are
hard to read
The game crashed whilst unexpected error
Error: java.lang.ClassCastException: zmaster587.advancedRocketry.world.util.WorldDummy cannot be cast to net.minecraft.client.multiplayer.WorldClient
Exit-Code: -1
Description of the problem
Build a Rocket, then add 2 or more Satelite Bays.
Then open the GUI of the Rocket, (Shift & Right Click), then open one of the Bays and put a Satelite in it (i dont know if you have to put one in it). Then just close the GUI, and open it again, go to another Satelite Bay , and open it. Everytime i tried, it crashed. Maybe you have to start the Rocket sometimes. The rocket was full with fuel.

Are you using any nonstandard not-pure-Forge server software?

Im just using the Forge Version, from the Forge installer.
In Singleplayer & Multiplayer.

Could you post the full crash report?
The exception reason alone isn't all that helpful for tracking it down because the list that's usually under it is what tells us WHERE in the code the problem is, Error: java.lang.ClassCastException: zmaster587.advancedRocketry.world.util.WorldDummy cannot be cast to net.minecraft.client.multiplayer.WorldClient only tells us the why and narrows it down to a few million lines it could be on.
The list under it would narrow the location of the actual exception down to 1 line and will give us the context to get an understanding of what the program was doing at the time.

Could you post the full crash report?
The exception reason alone isn't all that helpful for tracking it down because the list that's usually under it is what tells us WHERE in the code the problem is, Error: java.lang.ClassCastException: zmaster587.advancedRocketry.world.util.WorldDummy cannot be cast to net.minecraft.client.multiplayer.WorldClient only tells us the why and narrows it down to a few million lines it could be on.
The list under it would narrow the location of the actual exception down to 1 line and will give us the context to get an understanding of what the program was doing at the time.

Sorry for the late reply.
Here is it:
---- Minecraft Crash Report ----
WARNING: coremods are present:
AdvancedRocketryPlugin (AdvancedRocketry-1.12.2-1.7.0-232-universal.jar)
XaeroWorldMapPlugin (XaerosWorldMap_<IP_ADDRESS>_Forge_1.12.jar)
EnderCorePlugin (EnderCore-1.12.2-0.5.76-core.jar)
XaeroMinimapPlugin (Xaeros_Minimap_<IP_ADDRESS>_Forge_1.12.jar)
CTMCorePlugin (CTM-MC1.12.2-<IP_ADDRESS>.jar)
Contact their authors BEFORE contacting forge
// Surprise! Haha. Well, this is awkward.
Time: 3/30/21 7:48 PM
Description: Unexpected error
java.lang.ClassCastException: zmaster587.advancedRocketry.world.util.WorldDummy cannot be cast to net.minecraft.client.multiplayer.WorldClient
at xaero.map.MapProcessor.setMainValues(MapProcessor.java:1109)
at xaero.map.events.Events.renderTick(Events.java:143)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_765_Events_renderTick_RenderTickEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.fml.common.FMLCommonHandler.onRenderTickStart(FMLCommonHandler.java:355)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1117)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Client thread
Stacktrace:
at xaero.map.MapProcessor.setMainValues(MapProcessor.java:1109)
at xaero.map.events.Events.renderTick(Events.java:143)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_765_Events_renderTick_RenderTickEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityPlayerSP['Gaminguide1000'/407, l='', x=-14.71, y=67.00, z=211.17]]
Chunk stats: MultiplayerChunkCache: 81, 81
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (116,64,100), Chunk: (at 4,4,4 in 7,6; contains blocks 112,0,96 to 127,255,111), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 1276815 game time, 880064 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Forced entities: 45 total; [EntityCow['Cow'/136, l='MpServer', x=16.24, y=62.00, z=208.49], EntitySheep['Sheep'/137, l='MpServer', x=12.45, y=62.00, z=210.26], EntityCow['Cow'/138, l='MpServer', x=12.45, y=62.00, z=209.36], EntitySheep['Sheep'/139, l='MpServer', x=17.43, y=62.00, z=211.51], EntityCow['Cow'/140, l='MpServer', x=17.55, y=62.00, z=210.31], EntitySheep['Sheep'/141, l='MpServer', x=17.06, y=62.00, z=212.55], EntityCow['Cow'/142, l='MpServer', x=14.49, y=62.00, z=211.61], EntityCow['Cow'/143, l='MpServer', x=14.31, y=62.00, z=212.55], EntityCow['Cow'/145, l='MpServer', x=13.43, y=62.00, z=210.68], EntitySheep['Sheep'/147, l='MpServer', x=18.55, y=62.00, z=209.51], EntityCow['Cow'/148, l='MpServer', x=17.95, y=62.00, z=212.46], EntityCow['Cow'/149, l='MpServer', x=18.55, y=62.00, z=207.45], EntitySheep['Sheep'/150, l='MpServer', x=13.77, y=62.00, z=207.45], EntityCow['Cow'/151, l='MpServer', x=12.45, y=62.00, z=208.36], EntityCow['Cow'/152, l='MpServer', x=18.55, y=62.00, z=211.47], EntityCow['Cow'/153, l='MpServer', x=15.23, y=62.00, z=212.55], EntityCow['Cow'/154, l='MpServer', x=13.43, y=62.00, z=211.63], EntityCow['Cow'/155, l='MpServer', x=15.40, y=62.00, z=210.51], EntityCow['Cow'/156, l='MpServer', x=16.63, y=62.00, z=207.49], EntityVillager['Villager'/160, l='MpServer', x=19.31, y=61.00, z=201.50], EntitySheep['Sheep'/161, l='MpServer', x=16.39, y=62.00, z=209.76], EntityCow['Cow'/162, l='MpServer', x=15.40, y=62.00, z=211.52], EntityCow['Cow'/163, l='MpServer', x=14.70, y=62.00, z=207.55], EntitySheep['Sheep'/164, l='MpServer', x=14.51, y=62.00, z=209.56], EntityVillager['Villager'/165, l='MpServer', x=15.84, y=61.00, z=202.42], EntityCow['Cow'/166, l='MpServer', x=16.47, y=62.00, z=211.40], EntitySheep['Sheep'/167, l='MpServer', x=18.55, y=62.00, z=207.45], EntitySheep['Sheep'/169, l='MpServer', x=18.55, y=62.00, z=208.52], EntityPlayerSP['Gaminguide1000'/407, l='', x=-14.71, y=67.00, z=211.17], EntitySheep['Sheep'/170, l='MpServer', x=16.18, y=62.00, z=212.55], EntitySheep['Sheep'/171, l='MpServer', x=12.45, y=62.00, z=212.33], EntityCow['Cow'/172, l='MpServer', x=13.37, y=62.00, z=208.38], EntityPig['Pig'/173, l='MpServer', x=15.65, y=62.00, z=207.07], EntityCow['Cow'/174, l='MpServer', x=12.45, y=62.00, z=207.45], EntitySheep['Sheep'/175, l='MpServer', x=13.35, y=62.00, z=212.55], EntitySheep['Sheep'/176, l='MpServer', x=17.33, y=62.00, z=209.33], EntityPig['Pig'/177, l='MpServer', x=17.62, y=62.00, z=207.60], EntityCow['Cow'/178, l='MpServer', x=18.55, y=62.00, z=210.49], EntityPig['Pig'/179, l='MpServer', x=12.45, y=62.00, z=211.36], EntitySquid['Squid'/1988, l='MpServer', x=-57.50, y=53.00, z=180.50], EntityCreeper['Creeper'/1989, l='MpServer', x=-59.50, y=15.00, z=202.50], EntityZombie['Zombie'/1990, l='MpServer', x=-59.12, y=69.00, z=203.68], EntitySpider['Spider'/1992, l='MpServer', x=-59.50, y=9.00, z=258.50], EntityCreeper['Creeper'/1995, l='MpServer', x=-62.50, y=9.00, z=257.50], EntityRocket['Rocket'/125, l='MpServer', x=-17.50, y=67.00, z=211.50]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:532)
at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2741)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:427)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 531948216 bytes (507 MB) /<PHONE_NUMBER> bytes (2048 MB) up to<PHONE_NUMBER> bytes (2048 MB)
JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
IntCache: cache: 0, tcache: 0, allocated: 15, tallocated: 95
FML: MCP 9.42 Powered by Forge <IP_ADDRESS>54 Optifine OptiFine_1.12.2_HD_U_G5 50 mods loaded, 50 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
| State  | ID                                | Version           | Source                                          | Signature                                |
|:------ |:--------------------------------- |:----------------- |:----------------------------------------------- |:---------------------------------------- |
| LCHIJA | minecraft                         | 1.12.2            | minecraft.jar                                   | None                                     |
| LCHIJA | mcp                               | 9.42              | minecraft.jar                                   | None                                     |
| LCHIJA | FML                               | <IP_ADDRESS>         | forge-1.12.2-<IP_ADDRESS>54.jar                   | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| LCHIJA | forge                             | <IP_ADDRESS>54      | forge-1.12.2-<IP_ADDRESS>54.jar                   | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| LCHIJA | advancedrocketrycore              | 1                 | minecraft.jar                                   | None                                     |
| LCHIJA | xaerominimap_core                 | 1.12.2-1.0        | minecraft.jar                                   | None                                     |
| LCHIJA | xaeroworldmap_core                | 1.12.2-1.0        | minecraft.jar                                   | None                                     |
| LCHIJA | bspkrscore                        | <IP_ADDRESS>           | [1.12]bspkrsCore-universal-<IP_ADDRESS>.jar          | None                                     |
| LCHIJA | treecapitator                     | 1.43.0            | [1.12]TreeCapitator-client-1.43.0.jar           | None                                     |
| LCHIJA | libvulpes                         | 0.4.2.-75         | LibVulpes-1.12.2-0.4.2-75-universal.jar         | None                                     |
| LCHIJA | advancedrocketry                  | 1.7.0.-232        | AdvancedRocketry-1.12.2-1.7.0-232-universal.jar | None                                     |
| LCHIJA | baubles                           | 1.5.2             | Baubles-1.12-1.5.2.jar                          | None                                     |
| LCHIJA | biomesoplenty                     | <IP_ADDRESS>4        | BiomesOPlenty-1.12.2-<IP_ADDRESS>4-universal.jar   | None                                     |
| LCHIJA | buildcraftlib                     | <IP_ADDRESS>         | buildcraft-all-<IP_ADDRESS>.jar                    | None                                     |
| LCHIJA | buildcraftcore                    | <IP_ADDRESS>         | buildcraft-all-<IP_ADDRESS>.jar                    | None                                     |
| LCHIJA | buildcraftbuilders                | <IP_ADDRESS>         | buildcraft-all-<IP_ADDRESS>.jar                    | None                                     |
| LCHIJA | buildcrafttransport               | <IP_ADDRESS>         | buildcraft-all-<IP_ADDRESS>.jar                    | None                                     |
| LCHIJA | buildcraftsilicon                 | <IP_ADDRESS>         | buildcraft-all-<IP_ADDRESS>.jar                    | None                                     |
| LCHIJA | buildcraftcompat                  | <IP_ADDRESS>         | buildcraft-all-<IP_ADDRESS>.jar                    | None                                     |
| LCHIJA | buildcraftenergy                  | <IP_ADDRESS>         | buildcraft-all-<IP_ADDRESS>.jar                    | None                                     |
| LCHIJA | buildcraftfactory                 | <IP_ADDRESS>         | buildcraft-all-<IP_ADDRESS>.jar                    | None                                     |
| LCHIJA | buildcraftrobotics                | <IP_ADDRESS>         | buildcraft-all-<IP_ADDRESS>.jar                    | None                                     |
| LCHIJA | mantle                            | 1.12-<IP_ADDRESS>     | Mantle-1.12-<IP_ADDRESS>.jar                        | None                                     |
| LCHIJA | endercore                         | 1.12.2-0.5.76     | EnderCore-1.12.2-0.5.76.jar                     | None                                     |
| LCHIJA | jei                               | <IP_ADDRESS>1        | jei_1.12.2-<IP_ADDRESS>1.jar                       | None                                     |
| LCHIJA | enderio                           | 5.2.66            | EnderIO-1.12.2-5.2.66.jar                       | None                                     |
| LCHIJA | enderiointegrationtic             | 5.2.66            | EnderIO-1.12.2-5.2.66.jar                       | None                                     |
| LCHIJA | ctm                               | MC1.12.2-<IP_ADDRESS> | CTM-MC1.12.2-<IP_ADDRESS>.jar                       | None                                     |
| LCHIJA | twilightforest                    | 3.11.1021         | twilightforest-1.12.2-3.11.1021-universal.jar   | None                                     |
| LCHIJA | tconstruct                        | 1.12.2-<IP_ADDRESS> | TConstruct-1.12.2-<IP_ADDRESS>.jar                | None                                     |
| LCHIJA | conarm                            | <IP_ADDRESS>          | conarm-1.12.2-<IP_ADDRESS>.jar                      | b33d2c8df492beff56d1bbbc92da49b8ab7345a1 |
| LCHIJA | cyberware                         | <IP_ADDRESS>         | cyberware-1.12.2-<IP_ADDRESS>.jar                  | None                                     |
| LCHIJA | enderiobase                       | 5.2.66            | EnderIO-1.12.2-5.2.66.jar                       | None                                     |
| LCHIJA | enderioconduits                   | 5.2.66            | EnderIO-1.12.2-5.2.66.jar                       | None                                     |
| LCHIJA | enderioconduitsappliedenergistics | 5.2.66            | EnderIO-1.12.2-5.2.66.jar                       | None                                     |
| LCHIJA | enderioconduitsopencomputers      | 5.2.66            | EnderIO-1.12.2-5.2.66.jar                       | None                                     |
| LCHIJA | enderioconduitsrefinedstorage     | 5.2.66            | EnderIO-1.12.2-5.2.66.jar                       | None                                     |
| LCHIJA | enderiointegrationforestry        | 5.2.66            | EnderIO-1.12.2-5.2.66.jar                       | None                                     |
| LCHIJA | enderiointegrationticlate         | 5.2.66            | EnderIO-1.12.2-5.2.66.jar                       | None                                     |
| LCHIJA | enderioinvpanel                   | 5.2.66            | EnderIO-1.12.2-5.2.66.jar                       | None                                     |
| LCHIJA | enderiomachines                   | 5.2.66            | EnderIO-1.12.2-5.2.66.jar                       | None                                     |
| LCHIJA | enderiopowertools                 | 5.2.66            | EnderIO-1.12.2-5.2.66.jar                       | None                                     |
| LCHIJA | enderiozoo                        | 5.2.66            | EnderIO-zoo-1.12.2-5.2.66.jar                   | None                                     |
| LCHIJA | eyemod                            | 1.1.0             | EyeMod-Mod-1.12.2.jar                           | None                                     |
| LCHIJA | ironchest                         | 1.12.2-<IP_ADDRESS>4 | ironchest-1.12.2-<IP_ADDRESS>7.jar                 | None                                     |
| LCHIJA | psf                               | 0.2.1             | practical-space-fireworks-<IP_ADDRESS>.jar           | None                                     |
| LCHIJA | rild                              | 1.0.0             | Rild Mod.jar                                    | None                                     |
| LCHIJA | travelersbackpack                 | 1.0.35            | TravelersBackpack-1.12.2-1.0.35.jar             | None                                     |
| LCHIJA | xaerominimap                      | <IP_ADDRESS>          | Xaeros_Minimap_<IP_ADDRESS>_Forge_1.12.jar          | None                                     |
| LCHIJA | xaeroworldmap                     | <IP_ADDRESS>          | XaerosWorldMap_<IP_ADDRESS>_Forge_1.12.jar          | None                                     |

Loaded coremods (and transformers):

AdvancedRocketryPlugin (AdvancedRocketry-1.12.2-1.7.0-232-universal.jar)
zmaster587.advancedRocketry.asm.ClassTransformer
XaeroWorldMapPlugin (XaerosWorldMap_<IP_ADDRESS>_Forge_1.12.jar)
xaero.map.core.transformer.ChunkTransformer
xaero.map.core.transformer.NetHandlerPlayClientTransformer
xaero.map.core.transformer.EntityPlayerTransformer
xaero.map.core.transformer.AbstractClientPlayerTransformer
xaero.map.core.transformer.WorldClientTransformer
xaero.map.core.transformer.PlayerListTransformer
EnderCorePlugin (EnderCore-1.12.2-0.5.76-core.jar)
com.enderio.core.common.transform.EnderCoreTransformer
com.enderio.core.common.transform.SimpleMixinPatcher
XaeroMinimapPlugin (Xaeros_Minimap_<IP_ADDRESS>_Forge_1.12.jar)
xaero.common.core.transformer.ChunkTransformer
xaero.common.core.transformer.NetHandlerPlayClientTransformer
xaero.common.core.transformer.EntityPlayerTransformer
xaero.common.core.transformer.AbstractClientPlayerTransformer
xaero.common.core.transformer.WorldClientTransformer
xaero.common.core.transformer.EntityPlayerSPTransformer
xaero.common.core.transformer.PlayerListTransformer
xaero.common.core.transformer.GuiIngameForgeTransformer
xaero.common.core.transformer.GuiBossOverlayTransformer
CTMCorePlugin (CTM-MC1.12.2-<IP_ADDRESS>.jar)
team.chisel.ctm.client.asm.CTMTransformer
GL info: ' Vendor: 'Intel' Version: '4.6.0 - Build <IP_ADDRESS>29' Renderer: 'Intel(R) UHD Graphics 620'
Ender IO: Found the following problem(s) with your installation (That does NOT mean that Ender IO caused the crash or was involved in it in any way. We add this information to help finding common problems, not as an invitation to post any crash you encounter to Ender IO's issue tracker. Always check the stack trace above to see which mod is most likely failing.):
* Optifine is installed. This is NOT supported.
This may (look up the meaning of 'may' in the dictionary if you're not sure what it means) have caused the error. Try reproducing the crash WITHOUT this/these mod(s) before reporting it.
Authlib is : /C:/Users/gamin/AppData/Roaming/.minecraft/libraries/com/mojang/authlib/1.5.25/authlib-1.5.25.jar
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!You are looking at the diagnostics information, not at the crash.       !!!
!!!Scroll up until you see the line with '---- Minecraft Crash Report ----'!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Pulsar/tconstruct loaded Pulses:
	- TinkerCommons (Enabled/Forced)
	- TinkerWorld (Enabled/Not Forced)
	- TinkerTools (Enabled/Not Forced)
	- TinkerHarvestTools (Enabled/Forced)
	- TinkerMeleeWeapons (Enabled/Forced)
	- TinkerRangedWeapons (Enabled/Forced)
	- TinkerModifiers (Enabled/Forced)
	- TinkerSmeltery (Enabled/Not Forced)
	- TinkerGadgets (Enabled/Not Forced)
	- TinkerOredict (Enabled/Forced)
	- TinkerIntegration (Enabled/Forced)
	- TinkerFluids (Enabled/Forced)
	- TinkerMaterials (Enabled/Forced)
	- TinkerModelRegister (Enabled/Forced)

Launched Version: 1.12.2-forge-<IP_ADDRESS>54
LWJGL: 2.9.4
OpenGL: Intel(R) UHD Graphics 620 GL version 4.6.0 - Build <IP_ADDRESS>29, Intel
GL Caps: Using GL 1.3 multitexturing.

Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: Sound Pack.zip, PVP Pack.zip
Current Language: English (US)
Profiler Position: N/A (disabled)
CPU: 4x Intel(R) Pentium(R) CPU 5405U @ 2.30GHz
OptiFine Version: OptiFine_1.12.2_HD_U_G5
OptiFine Build: 20210124-142939
Render Distance Chunks: 4
Mipmaps: 4
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: null
OpenGlVersion: 4.6.0 - Build <IP_ADDRESS>29
OpenGlRenderer: Intel(R) UHD Graphics 620
OpenGlVendor: Intel
CpuCount: 4

Okay, I think I know the problem. Xaero's assumes our WorldDummy (where the client is temporarily when they open rocket-contained inventories so they can access them) is WorldClient, and then the ClassCast happens.

Okay, I think I know the problem. Xaero's assumes our WorldDummy (where the client is temporarily when they open rocket-contained inventories so they can access them) is WorldClient, and then the ClassCast happens.

So this is a Problem from Xaero's Minimap/World Map?

I'm going to fix this on my end very soon.

Were you guys able to find a fix for this? its making FTB:Interactions very frustrating to play. I have this identical crash, and I'm not sure how i would go about fixing it

Xaero is fixing it on their end. Because of how we handle rocket entity inventories interaction we can't really.


The Steel Curtain - NPC not registering item

I’ve found Andy the Blacksmith in the Bastion, but when I speak to him with the required item (Iron Supplies)  in my inventory he just gives his usual dialogue. I’ve even held the item in my hand while clicking on him. I don’t know if the quest or the item is bugged.

The NPC UUID was recently noticed to be misplaced and has been reuploaded, should be working fine now.


Update test-infra vendor

Picks up https://github.com/knative/test-infra/pull/115
Unblocks https://github.com/knative/build/pull/337

Please hold this PR, I'm doing the same thing plus two other updates to the build tests.

/hold

Oh okay. If you have a PR coming I'll just close mine. Sorry for the confusion.


Warnings in Python 3.8 regarding incompatibility

Describe the bug

Deprecation warnings due to invalid escape sequences.
Imporing ABC directly from collections was deprecated and will be removed in Python 3.10

Steps To Reproduce
Deprecation warnings
find . -iname '*py' | xargs -P4 -I{} python3.8 -Wall -m py_compile {}
./test/unit/test_postgres_adapter.py:194: DeprecationWarning: invalid escape sequence \
  options="-c search_path=test\ test")
./test/unit/test_query_headers.py:37: DeprecationWarning: invalid escape sequence \/
  self.assertTrue(re.match(f'^\/\*.*\*\/\n{self.query}$', sql))

Potential incompatible imports
rg -t py 'time.clock|base64.encodestring|base64.decodestring|etree.celementtree|collections\.(Awaitable|Coroutine|AsyncIterable|AsyncIterator|AsyncGenerator|Hashable|Iterable|Iterator|Generator|Reversible|Sized|Container|Callable|Collection|Set|MutableSet|Mapping|MutableMapping|MappingView|KeysView|ItemsView|ValuesView|Sequence|MutableSequence|ByteString)|asyncio\.coroutine'
core/dbt/utils.py
295:        if not isinstance(args, collections.Hashable):

System information
The operating system you're using: Linux
The output of python --version: 3.8

I will add a PR for this.

Thanks for opening this issue - a PR would be very welcomed!

Unfortunately, I will not be able to work on it for sometime. I will leave it to others. This should be an easy task for new contributors. Thanks.

I believe this was resolved by https://github.com/dbt-labs/dbt/pull/2357 here


Cant pip install mediapipe

I cant install mediapipe in Python
There is no such a package

https://pypi.org/project/mediapipe/

You can find it at https://pypi.org/project/mediapipe.

I having some error in "Ubuntu 18.04.1"
Creating a virtual environment name "env"
python3 -m venv env

source env/bin/activate

Installing mediapipe
(env) lamzing@lamzing-Lenovo-G50-70:~/Mediapipe_testing/Testing/8/gesture_recognition-main$ pip install mediapipe
Collecting mediapipe
  Could not find a version that satisfies the requirement mediapipe (from versions: )
No matching distribution found for mediapipe

@MaRauder111, what's your python version?

My python version was 2. I have upgrade my python.
Before
lamzing@lamzing-Lenovo-G50-70:~$ python --version
Python 2.7.0

Now
lamzing@lamzing-Lenovo-G50-70:~$ python --version
Python 3.7.9

Thank you @jiuqiant . I totally forget to check about the python version. My bad.

Also note that pip install will currently not work with versions >= 3.9

Also note that pip install will currently not work with versions >= 3.9

I am getting the same error as MaRauder111 on Ubuntu 20.04:
(env) ubuntu@ubuntu:~/mediapipe$ python --version
Python 3.8.5
(env) ubuntu@ubuntu:~/mediapipe$ pip install mediapipe
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
Anyone know a fix?

I am getting the same error as MaRauder111 on Ubuntu 20.04:
(env) ubuntu@ubuntu:~/mediapipe$ python --version Python 3.8.5 (env) ubuntu@ubuntu:~/mediapipe$ pip install mediapipe
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
Anyone know a fix?

I update my python to 3 and it work fine for me.

I am getting the same error as MaRauder111 on Ubuntu 20.04:
(env) ubuntu@ubuntu:~/mediapipe$ python --version Python 3.8.5 (env) ubuntu@ubuntu:~/mediapipe$ pip install mediapipe
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
Anyone know a fix?

I update my python to 3 and it work fine for me.

I tried that and got the following:
ubuntu@ubuntu:~$ python3 -m venv env
ubuntu@ubuntu:~$ source env/bin/activate
(env) ubuntu@ubuntu:~$ python --version
Python 3.8.5
(env) ubuntu@ubuntu:~$ pip install mediapipe
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
any ideas?

**I have python 3.8.3 version but I can't install mediapipe it's shows me Could not find a version that satisfies the requirement mediapipe

@mayank6940 I gat this, too, i have python 3.8.5

@gamersi  install python 3.7 version then you will not get any error

@gamersi  install python 3.7 version then you will not get any error

Ok I will try it later

@mayank6940 I am now using the 3.7.9 version with PIP 21.0.1, I deleted 3.8 and i still get the same error

Like this:

Hi - Same issue.
tried on python from 3.2 to 3.9 (The image is on 3.7)
Same as with anaconda...

Hi - Same issue.
tried on python from 3.2 to 3.9 (The image is on 3.7)
Same as with anaconda...

I still didn't find a solution - python makes problems everytime

If you get:
ERROR: Could not find a version that satisfies the requirement mediapipe
ERROR: No matching distribution found for mediapipe
when trying "pip install mediapie"
Try "py -m pip install mediapie" insted, worked for me!

Hey guys !! those of u who are not able to install mediapipe and it's showing error like this  "No matching distribution found for mediapipe" ;  install python 3.7.0 not 3.7.4 not 3.8  ,  Python 3.7.0  link:   https://www.python.org/downloads/release/python-370/
I had 3.7.4 but I was not able to install mediapipe , but I changed my path and installed 3.7.0 and now it's working just fine for me
Hope it helped , luck!! :)

I am trying pip install mediapipe but I am getting an error. ERROR: could not find a version that satisfies the requierement mediapipe. no matching distribution found for mediapipe.

I am trying pip install mediapipe but I am getting an error. ERROR: could not find a version that satisfies the requierement mediapipe. no matching distribution found for mediapipe.

Does https://github.com/google/mediapipe/blob/master/docs/getting_started/troubleshooting.md#python-pip-install-failure help?

I have python version 3.7.6 still it shows ERROR: could not find a version that satisfies the requierement mediapipe. no matching distribution found for mediapipe.

I have python version 3.7.6 still it shows ERROR: could not find a version that satisfies the requierement mediapipe. no matching distribution found for mediapipe.

What's your OS and have you checked your python 3.7.6 and pip are the 64-bit version?

Yes I downloaded the 64 bit version of python 3.7.6 and finally medipipe is installed. Thank you!

I am trying pip install mediapipe but I am getting an error. ERROR: could not find a version that satisfies the requirement mediapipe. no matching distribution found for mediapipe.

Does https://github.com/google/mediapipe/blob/master/docs/getting_started/troubleshooting.md#python-pip-install-failure help?

Thanks, I got to know that it needs python to be 64 bit

Hello guys, i'm having the same problem as others:
ERROR: Could not find a version that satisfies the requirement mediapie (from versions: none)
ERROR: No matching distribution found for mediapie
I have Python 3.8.5 running on a 64 bits System , i don't know what to do

Hey guys !! those of u who are not able to install mediapipe and it's showing error like this "No matching distribution found for mediapipe" ; install python 3.7.0 not 3.7.4 not 3.8 , Python 3.7.0 link: https://www.python.org/downloads/release/python-370/
I had 3.7.4 but I was not able to install mediapipe , but I changed my path and installed 3.7.0 and now it's working just fine for me
Hope it helped , luck!! :)

This exactly worked for me too. I downloaded python 3.7 and created a virtualenv with 3.7.
virtualenv venv --python=python3.7.0

Hello guys, i'm having the same problem as others:
ERROR: Could not find a version that satisfies the requirement mediapie (from versions: none)
ERROR: No matching distribution found for mediapie
I have Python 3.8.5 running on a 64 bits System , i don't know what to do

install python 3.7 because mediapipe only works on python 3.7...

Below worked successfully for me on Ubuntu 18.04:
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.9 python3.9-venv
python3.9 -m venv mp && source mp/bin/activate
pip install mediapipe
Collecting mediapipe
  Downloading mediapipe-<IP_ADDRESS>-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (32.2 MB)

for Ubuntu 18
you have to just upgrade your pip with the following command
python -m pip install --upgrade pip
pip install mediapipe

for Ubuntu 18
you have to just upgrade your pip with the following command
python -m pip install --upgrade pip
pip install mediapipe

Guys, python version does not matter too much. Check @adamanov comments. If you upgrade your pip version it should be fine. Thanks Adam

ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
Using Python 3.10 on windows 10
Command used : python -m pip install mediapipe
Anyone got a fix ?

the best practice I know is to :

Download python 3.7 (it can be in parallel to other python versions on the same machine)
create a virtual environment (several options - tutorial easy and available)
activate the venv and pip install on the said environment.
Good Luck!

so I can't download mediapipe in python 3.10

Help :(

Windows 11

Python 3.10 is not supported by Mediapipe yet. Please use Python 3.7 to 3.9.

Same problem :)

Help :(

Windows 11

Python 3.10 is not supported by Mediapipe yet. Please use Python 3.7 to 3.9.

Same problem :)

Tried python 3.7.9. Was able to install mediapipe., but numpy and cv2 went invalid and could not be used my previous codes.

I tried downgrading from v3.10 to v3.7 and it successfully installed.

Guys, just type enter this "pip install mediapipe==0.8.9" to bash or cmd.

Updated to python 3.8, can't download it even @edulayernet  solution, no worky.

Tried python 3.7.5 and 3.8.0, but pip install mediapipe doesn't work. Says no matching distributions found. Building from source also failed with the following message:
mediapipe/calculators/tensor/image_to_tensor_converter_opencv.cc: In member function 'virtual absl::lts_20210324::StatusOrmediapipe::Tensor mediapipe::{anonymous}::OpenCvProcessor::Convert(const mediapipe::Image&, const mediapipe::RotatedRect&, const mediapipe::Size&, float, float)':
mediapipe/calculators/tensor/image_to_tensor_converter_opencv.cc:106:12: error: could not convert 'tensor' from 'mediapipe::Tensor' to 'absl::lts_20210324::StatusOrmediapipe::Tensor'
return tensor;
^~~~~~
Target //mediapipe/modules/face_detection:face_detection_short_range_cpu failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 22.216s, Critical Path: 21.19s
INFO: 187 processes: 129 internal, 58 linux-sandbox.
FAILED: Build did NOT complete successfully

i use python 3.10.0
i cant install mediapipe, is there any answer for this?

I just realized I was using python 32bit, after I switched from Python 32bit to 63bit, Mediapipe should work from Python 7 to 9 64bit.

C:\Users\Alison>python --version
Python 3.10.0
C:\Users\Alison>pip install mediapipe
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
C:\Users\Alison>
same problem :( help

C:\Users\Alison>python --version Python 3.10.0
C:\Users\Alison>pip install mediapipe ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none) ERROR: No matching distribution found for mediapipe
C:\Users\Alison> same problem :( help

Use either Python 3.7 to 3.9, and make sure it's 64bit

Python 3.10 is now officially supported #2884 (comment)

it still doesn't work for me on python 3.10:

/home/nvidia/Pictures/Screenshot from 2021-12-28 18-46-53.png

If your processor is arm,if can not be downloaded, mediapipe only supports x86 and amd architecture!

thanks that helped a lot!

Darn, any possibility they add compatibility for ARM based systems? All M1 macbooks are out of the question :(

Darn, any possibility they add compatibility for ARM based systems? All M1 macbooks are out of the question :(

py -m pip install mediapie

Hey did not work for me.Please help

can't  work.

guys, try this:
pip3 install mediapipe --user

There is something wrong with the build process. pip install mediapipe works neither on intel mac nor on M1. I tried all the suggestions.

If you get: ERROR: Could not find a version that satisfies the requirement mediapipe ERROR: No matching distribution found for mediapipe when trying "pip install mediapie"
Try "py -m pip install mediapie" insted, worked for me on windows!

Thanks!
It worked!
For me "python3.8 -m pip install mediapipe==0.8.4"
You saved my time..!!

suggestions

Try install mediapipe-silicon, for m1 Mac user

suggestions

Try install mediapipe-silicon, for m1 Mac user
FYI, mediapipe only support 64bit for now, not 32bit Youtube video proof

This worked for me with an M1 MacAir, tysm

did you find any solution?

Thanks!
pip install mediapipe-silicon
This cmd works on my M1 MacBook

Thanks!
pip install mediapipe-silicon This cmd works on my M1 MacBook

yes it's installed but not perfect for my case.

Hey guys !! those of u who are not able to install mediapipe and it's showing error like this "No matching distribution found for mediapipe" ; install python 3.7.0 not 3.7.4 not 3.8 , Python 3.7.0 link: https://www.python.org/downloads/release/python-370/
I had 3.7.4 but I was not able to install mediapipe , but I changed my path and installed 3.7.0 and now it's working just fine for me Hope it helped , luck!! :)

This really help me sooo much!thx

Make sure you are using python 3.7; you can download it here
If you would still like to maintain multiple installations of python, follow this article

pip install mediapipe
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
same error .
plz help

No any one fixed this issues?

No any one fixed issues?
I'm used all type of command in my terminal but problem not fix.

No any one fixed issues?
I'm used all type of command in my terminal but problem not fix.

Still an issue

i've got the same issues, can't fix it. please assist me

Still

Hello, same issue

Python 3.11.2
pip 23.0

 Python 3.11.2 pip 23.0

only python versions 3.7-3.10 support mediapipe. 3.11 doesn't. So download a 3.10 version of python, that should work immediately

 Python 3.11.2 pip 23.0

only python versions 3.7-3.10 support mediapipe. 3.11 doesn't. So download a 3.10 version of python, that should work immediately

I read the whole string of comments to finally discover that I was supposed to use 3.10.

try this command
pip install mediapipe-rpi4

 Python 3.11.2 pip 23.0

only python versions 3.7-3.10 support mediapipe. 3.11 doesn't. So download a 3.10 version of python, that should work immediately

I read the whole string of comments to finally discover that I was supposed to use 3.10.

Works perfectly !!

Still does not work

it worked with version 3.10.7

With v 3.10.0 i was able to get it to work

this is weird I just make another environment with both 3.10.10 and 3.10.0 and still doesn't work.

With v 3.10.0 i was able to get it to work

it worked with version 3.10.7

Thank You @Suchir2004  It's Work Properly but it supported pip install mediapipe this Module

See @SivaRamana-H-V
When I am installing this module in old pc it give the same error but when I install this module using pycharm in my friend pc it installed easily and doesn't give any error. So I think this module require a updated version of python to install.

@mahesh021011 Yes bro I tried it too but not working...

this Python Package (Unofficial) is for RaspberryPi.
will this work for windows!!??

Use pip install ffmpeg python3 opencv
pip install mediapipe-rpi4

this Python Package (Unofficial) is for RaspberryPi.
will this work for windows!!??

Download the mediapipe file manually and then copy the  path to your cmd terminal. Then you'll find that you installed mediapipe. Works on windows 64 bits

Download the mediapipe file manually and then copy the path to your cmd terminal. Then you'll find that you installed mediapipe. Works on windows 64 bits

can you provide any screenshot of steps?

If you are using Windows, according to the Troubleshooting page :

after running pip install mediapipe usually indicates that there is no qualified MediaPipe Python for your system. Please note that MediaPipe Python PyPI officially supports the 64-bit version of Python 3.7 to 3.10 on the following OS:
x86_64 Linux
x86_64 macOS 10.15+
amd64 Windows
If the OS is currently supported and you still see this error, please make sure that both the Python and pip binary are for Python 3.7 to 3.10

I just installed 3.10 64-bit version and worked

I used python 3.9.7 and it worked 😍

I had version Python 3.11.x and was getting this error. Installed version 3.7.0 and it just started working. Thanks everyone!

@AXLShorts U GOD BRO!!!

I was working on a specific project that uses Mediapipe. However, as we know, the latest version of Python does not support Mediapipe. Therefore, if you have a project that uses Mediapipe, you should install Python version 3.9.13 or a lower version. I have other projects that run on the latest version of Python, which is 3.11.3. To solve this problem, I discovered that it's possible to have multiple versions of Python on the same operating system. I would like to express my gratitude to the person who helped me achieve this, Thank you Mr. Konstantin Lübeck
and I'm happy to share his video, which you can check out on YouTube:
https://lnkd.in/dZTwikQN

I had to install version 3.7.0 for it to work 😅

py -m pip install mediapie

still not working showing same thing ....

This is a detailed troubleshoot I did on a number of devices after first success. ( Your mileage may vary)
Editor: VS Code (Versions Varied)
Install Command: pip stall mediapipe
At first I had python 3.11 installed and faced this error when installing mediapipe.
To be sure I had a clean environment, I fully uninstalled python from the system. I am not much of a python dev so I know there could have been another way. Anyways, after that I installed 3.7.0 ran the command everything worked but I had other libraries that weren't supported by 3.7.0 so I tested a bunch of version after that about 5 to 10 upto version 3.10.0.
Every single version worked without any error. After 3.10.0 I started facing same issue.
Then I tested something else, you can have multiple python versions installed and even when your project is already open, just change your interpreter to any version between 3.7.0 to 3.10.0 and it will work.
Note: Everytime I changed interpreter, I had to download all other libraries again too. Your mileage may vary.
I am sorry but I can't test all the versions. I have a repository named "ASL" that uses mediapipe. I used that for testing. It's public. It's not a final project. It's a work in progress.

It works with python version 3.10.7 and not with 3.11.xx

Hi
I have Windows 11 Pro with Python 3.11.0 and pip 23.2.1.
When I run "pip install mediapipe-model-maker", I get the following error.

Kindly assist!
Thanks

Hi
I have Windows 11 Pro with Python 3.11.0 and pip 23.2.1. When I run "pip install mediapipe-model-maker", I get the following error.

Kindly assist!
Thanks

Try with python 3.10.0

For me it was an older macOS version. x86_64 macOS 10.15+ is required.

I cant install mediapipe in Python There is no such a package

ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
I solved the issue by installing pyton 3.10 version x64 installer from
https://www.python.org/ftp/python/3.10.0/python-3.10.0-amd64.exe
and installed the mediapipe using pip command .
I have finally successfully installed the mediaipe.

$ pip install mediapipe
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
$ python --version
Python 3.12.0
Fedora Linux 39 (Workstation Edition)

This does not work ,I have tried :

pip install mediapipe

python -m pip install mediapipe

pip install mediapipe-model-maker

PS: I also try to use a Venv
windows 11
Python 3.12.1
pip 23.3.1

It seem we needed to use the python versions below 3.10. I am not sure it it still solves the problem, but for me changing the version worked.

This does not work ,I have tried :

pip install mediapipe

python -m pip install mediapipe

pip install mediapipe-model-maker

PS: I also try to use a Venv windows 11 Python 3.12.1 pip 23.3.1

I am also facing the same problem what can I do

mediapipe only works on python 3.7 version.. use py 3.7 it will work surely
On Sat, 30 Dec 2023 at 1:17 PM, Divyansh723 @.***>
wrote:

This does not work ,I have tried :
pip install mediapipe
python -m pip install mediapipe
pip install mediapipe-model-maker
PS: I also try to use a Venv windows 11 Python 3.12.1 pip 23.3.1
I am also facing the same problem what can I do
—
Reply to this email directly, view it on GitHub
https://github.com/google/mediapipe/issues/1325#issuecomment-1872476491,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKVLGJWQ22VQNGERDT3L7V3YL7BJ7AVCNFSM4T7MLUK2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBXGI2DONRUHEYQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Check have you installed dlib in system this also cause trouble while installing mediapipe

I could install mediapipe (<IP_ADDRESS>).
I created fresh conda environment with Python version 3.7.16 and installed mediapipe (using pip install mediapipe).
With Python 3.12.1 it didn't work.
OS: Windows 11
I did not experiment with other Python or mediapipe versions as I am happy to work with current installation.
Hope it helps someone.

If you get: ERROR: Could not find a version that satisfies the requirement mediapipe ERROR: No matching distribution found for mediapipe when trying "pip install mediapie"
Try "py -m pip install mediapie" insted, worked for me on windows!

*mediapipe"

Hello @mahsank111 This issue thread is closed and not actively monitored by us. We would request you to open a new issue if you are facing problems with installation, with all necessary details  of OS, Python version, etc. as requested in MediaPipe issue template.
@shivakumardistproc Just a side note: MediaPipe is not supported yet on Python v3.12. We support 3.8, 3.9, 3.10 and 3.11.

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
Process returned with code 1

python version : 3.9.2
rpi arch : 64
bullseye

This does not work ,I have tried :

pip install mediapipe

python -m pip install mediapipe

pip install mediapipe-model-maker

PS: I also try to use a Venv windows 11 Python 3.12.1 pip 23.3.1

I am also facing the same problem what can I do

Try changing the version of python
I tried with python 3.8.10
and then try with python -m pip install mediapipe

I can't install mediapipe

First install python version 3.8 and then give it a try

First install python version 3.8 and then give it a try

Ok, I'll try that. Thank you very much.

"pip install mediapipe" --- Works with Python 3.10 in Windows 11


[BUILD]: Double / Infinite Compile

There are a couple of things that still double compile (or always compile):

Newlib, Libcxx and Libcxxabi double compile. Once the double compile has been done, it doesn't compile again. This should only compile one. Either there is an issue with the headers being over-written when they shouldn't be, or the NASM issue has resurfaced with this new build system (if NASM is not defined properly in CMake, it will cause a double compile)
The driver always compiles on every build.

If I make a change to the VMCS, I get a recompile on modules that link to the VMCS. It should relink, but it should not recompile.

I can also confirm that newlib compile every time you run make all until you run cmake a second time, which is clearly an issue. bfdriver compiles every time because make clean is being run.

Here's my thoughts after looking into the numerous behaviors noted above:

Newlib doesn't really seem to double compile, its just that newlib doesn't use CMake, so it has its own mechanism for checking what does/doesn't need to be re-built (which takes forever...). I've observed the same behavior at random times with binutils (which also doesn't use cmake). I think the best solution to these issues is to implement the build system dependency caching feature we've been talking about. That way, the build system can cache the source code and/or build artifacts (libc, libc++, etc) and not have to worry about building those things at all (after you've done it once). I can open an RFC for that with more details.

The libcxxabi double-compiling appears to be resulting from newlib. Again, I think that dependency caching would be the best solution here.

The driver double-compile is fixed by removing the make clean line from the driver_build.sh script. I'd realllly like to get rid of those driver scripts all together, but I think we should push that off for another day...

I can't reproduce the screenshot bug for the VMCS changes recompiling modules that link against it. Mine relinks without recompiling.

+1


receive a imcomplete message

I use golang implement the websocke server and reconnecting-websocket in browser;the server log print the server send the complete message to the browser, but the browser only recevie imcomplete message.

const ws = new ReconnectingWebSocket("ws://" + url, undefined, {debug: true});

    ws.onmessage = e => {
        if (typeof e.data === "string") {
            emitter(JSON.parse(e.data));
        } else {
            console.debug("[WebSocket] get data is not string, but", typeof e.data, "e:", e)
        }
    };

browser throw error of JSON.parse(), and the receive data is below:
{"type":"FETCH_ASSESSMENTS_SUCCESSED","payload":{"n

I guess this is a problem with your server.
Try to reproduce using the browser's WebSocket. reconnecting-websocket is just a thin layer over the native WebSocket.


Home Page Search

Add a Quick Search field to the Home page. Include a note below it that says "For advanced searches, visit the Search page."
This quick search field should post the search to the same URL that the field on the Search page does, just without any parameters.

closed by c6b12a5989bf9de25c0aaab3cd1ef427886d2d78


Custom page allocator for sqlite

In my quest to get memory under control, I'm experimenting with using a custom pager cache for sqlite connections.
All pages are allocated at the process startup, and the pool is shared among all the connections.
sqlite use of globals sucks.
~This doesn't work yet~

@sarna, do you think it's safe to assume a pager per connection? Therefore no need for synchronization when accessing the pager?

@MarinPostma no, multiple connections may share a BtShared object, which contains the pager:
sqlite3 has a table of databases: https://github.com/tursodatabase/libsql/blob/b01500237f2a1cd137681ef1d86edf482e848c29/libsql-sqlite3/src/sqliteInt.h#L1658
each database has a btree: https://github.com/tursodatabase/libsql/blob/b01500237f2a1cd137681ef1d86edf482e848c29/libsql-sqlite3/src/sqliteInt.h#L1427
there's a shared part of it: https://github.com/tursodatabase/libsql/blob/b01500237f2a1cd137681ef1d86edf482e848c29/libsql-sqlite3/src/btreeInt.h#L332-L347
and here's the pager: https://github.com/tursodatabase/libsql/blob/b01500237f2a1cd137681ef1d86edf482e848c29/libsql-sqlite3/src/btreeInt.h#L425-L426

uhh that sucks
ok I'll add a lock

Also depends on the access pattern, is it from our code or some callbacks from within SQLite? In the latter case we can often assume we already hold locks


DOC: Move many Epochs docstrings to docdict, and use them in BaseEpochs

Assuming it is plain copy paste and you checked rendering on ci artifact

Artifacts look good; ~only other change I did was I combined the docstrings of tmin, tmax and reject_tmin, reject_tmax, respectively.


flowtype packages tests #1

a few more @flow for tests

Codecov Report

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

@@           Coverage Diff           @@
##           master    #4130   +/-   ##
=======================================
  Coverage   60.37%   60.37%
=======================================
  Files         195      195
  Lines        6768     6768
  Branches        6        6
=======================================
  Hits         4086     4086
  Misses       2679     2679
  Partials        3        3

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 45b0ad7...d9a9489. Read the comment docs.


Moved favicon to assets

Resolves #415
(Hopefully - works locally)
Moved favicon to the assets folder so it hopefully makes it through the compile with the rest of the assets

Closing this as having the favicon appear was resolved my manually adding it to S3 root directory


Why does toReactComponent return class components?

Is there a reason for toReactComponent to return a class component instead of a function?
PureScript terms can’t start with an uppercase but React (at least its v16.4.1) treats <myPureScriptComponent /> as an HTML element and warns about its incorrect casing (it expects HTML elements names to be all lowercase), then complains about not recognizing the tag and doesn’t render anything.
This can be fixed by either renaming the component on import or rendering it with React.createElement instead of JSX syntax but returning a function instead of a class from toReactComponent would allow one to render myPureScriptComponent by calling it like a regular function (and could still be rendered with JSX syntax once renamed or React.createElement).
Also the class returned by toReactComponent silently doesn’t render anything when called like a function. If the component returned by toReactComponent must be a class could at least an error be thrown when its constructor is called without new (this can be inferred by checking if !(this instanceof Component))? Both React.createElement and JSX syntax properly instantiate class components so this would warn against class components incorrectly called like functions and not rendering anything.

It's because ReactComponent is specifically meant to refer to a class component: https://pursuit.purescript.org/packages/purescript-react-basic/8.0.1/docs/React.Basic#t:ReactComponent
If you want something to use as a function, you should use make: https://pursuit.purescript.org/packages/purescript-react-basic/8.0.1/docs/React.Basic#v:make
But yes, when you import a component from PureScript, you need to give it a new name to use it with JSX.

Oh, I thought ReactComponent was there to refer to components imported from JavaScript or components exported for use in JavaScript (because the JavaScript props might differ from the ones one would like to work with in PureScript (EffectFn2 a b Unit vs a -> b -> Effect Unit for instance)).

I think ReactComponent equally represents class and function components, but either way that means they should be used as React components. That means applying element (or JSX syntax in JS) and not simply assuming it's a function to pass "props" into and calling it. The react-basic-hooks does create function components under the type ReactComponent.
The original issue of upper/lowercase syntax of JSX isn't really relevant to react-basic or PureScript. When you import the component into JS you can rename it:
import { myPureScriptComponent as MyPureScriptComponent } from "..."

It's also worth noting that toReactComponent should have the type _ -> _ -> _ -> Effect (ReactComponent _). Same with createComponent. They're not referentially transparent according to React's tree diffing algorithms. Probably something we'll address in the future, but yeah, just worth noting as another difference from just using a function.

I agree components shouldn’t be used as functions but they currently fail silently when they are, hence my suggestion to throw an error when they’re not. I’m introducing PureScript into a legacy app so the interop is really important to me and I’d like to help my coworkers avoid those mistakes.
I didn’t realize I don’t really need toReactComponent though. Is there any drawback to rendering a props -> JSX defined in PureScript like a regular React component in JavaScript (with JSX syntax or React.createElement)? It appears to work and I can’t think of any reason it wouldn‘t.

It can work, you just need to make sure that function isn't getting rebuilt every time a render happens or it will unmount and rebuild the subtree.

Oh yes, didn’t thought of that. Thank you for your time 🙇
(Closing the issue since I got all I need to move forward.)


Works section

-Add about my works page

@Ugboaja-Uchechi I have corrected the changes for your review


CHEBI:4991 please update structure

Hi Adnan and Gareth,
As with other metal complexes (e.g. cobalt precorrins) the charge of the Fe iron in CHEBI:4991, iron(III) dicitrate, is wrong and should be 3-. Please correct it as I need the compound for a Rhea reaction.
Cheers,
Kristian

I have just noted that the formula has status deleted, so there is even more reason to update this entry