add new validation rule "enums"

Codecov Report
Patch coverage: 60.00% and project coverage change: +0.06 :tada:

Comparison is base (9bc9fc4) 78.91% compared to head (ed1007b) 78.97%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2690      +/-   ##
==========================================
+ Coverage   78.91%   78.97%   +0.06%
==========================================
  Files         631      632       +1
  Lines       51817    51974     +157
==========================================
+ Hits        40889    41045     +156
- Misses       8907     8909       +2
+ Partials     2021     2020       -1

Flag
Coverage Δ

go-1.15-386
78.88% <60.00%> (-0.04%)
:arrow_down:

go-1.15-amd64
78.87% <60.00%> (-0.05%)
:arrow_down:

go-1.16-386
78.90% <60.00%> (+<0.01%)
:arrow_up:

go-1.16-amd64
78.89% <60.00%> (-0.04%)
:arrow_down:

go-1.17-386
?

go-1.17-amd64
78.92% <60.00%> (-0.01%)
:arrow_down:

go-1.18-386
78.82% <60.00%> (-0.03%)
:arrow_down:

go-1.18-amd64
78.92% <60.00%> (+0.08%)
:arrow_up:

go-1.19-386
78.90% <60.00%> (+<0.01%)
:arrow_up:

go-1.19-amd64
78.99% <60.00%> (+0.08%)
:arrow_up:

go-1.20-386
78.86% <60.00%> (-0.02%)
:arrow_down:

go-1.20-amd64
78.95% <60.00%> (+0.09%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

util/gtag/gtag_enums.go
70.00% <50.00%> (-30.00%)
:arrow_down:

util/gvalid/internal/builtin/builtin_enums.go
61.53% <61.53%> (ø)

... and 2 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Auto Pass Props if User Controls 100% of Voting power

Hi @JakeHartnell
This should close #775

can you rebase on development? i think this PR is undoing some of the recent fixes

Hi @NoahSaso,
I think this was the previous PR that I closed and rebased my branch.
I don't see any commit behind my branch so not sure what I need to rebase.

hey @nickf12 i'm concerned about the tests being modified. instead of modifying tests, could you add new tests that specifically cover this feature? that way we can be 100% confident that this doesn't break anything.
also, @JakeHartnell @bekauz, i'm curious what you think about the following:

this currently results in a passed proposal with 0 votes cast. do you think this should auto-submit a yes vote? i'm leaning towards it should.
i'm a bit uncomfortable setting the status to Passed right away as i'm worried about forgotten hooks and future logic. IMO it'd be much safer and future-proof to leave the existing execute_propose code as-is and then call the execute_vote function at the end if the proposer has all voting power, which takes care of adding the ballot, updating the status, and firing the proposal status change and new vote hooks. if we take that route instead, there should probably be a special case added to update the proposal into passed manually when allow_revoting is enabled, since just casting a vote wouldn't be sufficient to pass the proposal.
this feature should be enabled by a config setting, like auto_pass_when_only_member_proposes.

first, this needs to be rebased again.
i also share @NoahSaso concerns about modifying the tests and bypassing the Open prop state. imho it would be a little weird seeing a proposal that passed without any votes.
if we do want this i think some things need to be considered:

what if revoting is enabled?
is it ok to potentially execute a prop before min_voting_period expires?
is the proposer_power == total_power check the right one or should we check the threshold as well?
what if veto is configured?

first, this needs to be rebased again.
i also share @NoahSaso concerns about modifying the tests and bypassing the Open prop state. imho it would be a little weird seeing a proposal that passed without any votes.
if we do want this i think some things need to be considered:

what if revoting is enabled?
is it ok to potentially execute a prop before min_voting_period expires?
is the proposer_power == total_power check the right one or should we check the threshold as well?
what if veto is configured?

yeah, great points. i forgot about veto and min_voting_period. which is kind of exactly my point, this feels like an idea that sounds nice in theory but is going to make things very complicated very quickly, to a concerning degree, and make future feature changes harder.
also, if we can solve something in the frontend without making a smart contract change, i'm going to make a generalization (which i.. generally.. avoid) and claim we should always implement it via the frontend. we can solve this by adding a vote message to the same transaction as the proposal creation message. technically if someone submitted a proposal the instant before, the vote could be cast to the wrong proposal, but that's very low probability and safer than implementing this in the smart contract IMO

i think adding an option to automatically cast a vote on proposal creation would make more sense.
proposals could be configured to allow atomic prop-then-vote. if that's the case, the proposer can choose to opt into it and cast their vote or remain neutral and just create a proposal.
this way we are just combining two actions that already exist, so no changes to the existing status flow should be needed.

i think adding an option to automatically cast a vote on proposal creation would make more sense.
proposals could be configured to allow atomic prop-then-vote. if that's the case, the proposer can choose to opt into it and cast their vote or remain neutral and just create a proposal.
this way we are just combining two actions that already exist, so no changes to the existing status flow should be needed.

i love this solution, brilliant. people have asked for this in the past.

proposals could be configured to allow atomic prop-then-vote

on a second thought, is this even needed? if for any reason a dao chose not want to enable this feature, the proposer could just create the prop and cast their vote on it anyways.

proposals could be configured to allow atomic prop-then-vote

on a second thought, is this even needed? if for any reason a dao chose not want to enable this feature, the proposer could just create the prop and cast their vote on it anyways.

oh yeah, i guess there's no need to implement a config option for this.. nice

hey, bump on this @nickf12, do you think you could change this to just add a parameter to propose so that the proposer to cast a vote on proposal creation?

closing in favor of #799


ReferenceError: THREE is not defined using React Three Fiber with Next.js

I am using react three fiber with Next.js. But when trying to import three-mesh-ui I get the following error. I am not sure what I am doing wrong. Any ideas?
I've installed
my dependencies
 "dependencies": {
    "@capacitor/android": "^4.4.0",
    "@capacitor/core": "^4.4.0",
    "@capacitor/ios": "^4.4.0",
    "@emotion/react": "^11.10.4",
    "@emotion/styled": "^11.10.4",
    "@mui/icons-material": "^5.10.9",
    "@mui/material": "^5.10.10",
    "@react-three/drei": "^9.40.0",
    "@react-three/fiber": "^8.8.10",
    "@react-three/xr": "^5.0.4",
    "express": "^4.18.2",
    "firebase": "^9.13.0",
    "firebaseui": "^6.0.1",
    "next": "12.3.1",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "socket.io": "^4.5.3",
    "socket.io-client": "^4.5.3",
    "three": "^0.145.0",
    "three-mesh-ui": "^6.5.2"
  },

Server Error
ReferenceError: THREE is not defined

This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
<unknown>
file:///Users/noahk/Documents/netzbros/WebXR-feature-xr-painter/node_modules/three-mesh-ui/build/three-mesh-ui.min.js (1:1267)
Object.<anonymous>
file:///Users/noahk/Documents/netzbros/WebXR-feature-xr-painter/node_modules/three-mesh-ui/build/three-mesh-ui.min.js (1:67023)
Module._compile
node:internal/modules/cjs/loader (1105:14)
Object.Module._extensions..js
node:internal/modules/cjs/loader (1159:10)
Module.load
node:internal/modules/cjs/loader (981:32)
Function.Module._load
node:internal/modules/cjs/loader (822:12)
Module.require
node:internal/modules/cjs/loader (1005:19)
require
node:internal/modules/cjs/helpers (102:18)
Object.three-mesh-ui
file:///Users/noahk/Documents/netzbros/WebXR-feature-xr-painter/.next/server/pages/test.js (72:18)
__webpack_require__
file:///Users/noahk/Documents/netzbros/WebXR-feature-xr-painter/.next/server/webpack-runtime.js (33:42)

Hi @proelf98,
Could you share a minimal reproductible repo ?

Here is a minimal rep:
https://github.com/proelf98/next-app-three-mesh-ui
hope this helps

Whereas I wasn't being able to solve the issue, I still manage to get some clues.
The issue seems to come from when the project tries to import the "js" version (global lib) of three-mesh-ui.
This version requires js version of three to be globally loaded first. https://github.com/felixmariotto/three-mesh-ui#js
When I've tried to force importing the module version of tree-mesh-ui I had errors about disallowing imports outside of modules.  You can check this issue to know how I tried it #213
Do you have any hints why this is happening ?

any update?


Task/airflow

Add support for apache-airflow.

Still working on the example airflow DAGs to showcase pyspark.

Still working on the example airflow DAGs to showcase pyspark.


Syft v0.23.0 update

Part of VulnDB support in grype includes a change in CPE generation from Syft. So i'm trying to update Syft. Updating the test output should pave the way for the next version bump as well.

Updated the branch to get the CI fixes in.

For the test failures, the code here: https://github.com/anchore/anchore-engine/commit/be20f3dd627bd91312075eb202c72877f78eb2dc may help with results sorting if that's the issue.

For the test failures, the code here: be20f3d may help with results sorting if that's the issue.

Turns out my test runner container was caching analysis manifests in a different directory from my local deployment and was updating to the wrong expected content as a result.


Add configuration file for personalized settings

Good day, i would like to suggest adding a configuration file so that users can personalize the settings they would like to use, as i for one would love to keep up with which characters i have talked to that day, but don't really want the full list of all of their likes and dislikes.

Apologies, i can't seem to find where and how to mark this as a suggestion / enhancement.


Add Emission model as extension

Fixes #37
Captures https://github.com/EarthSciML/GasChem.jl/issues/37

The tests on GitHub failed due to an issue with downloading the NEI2016 emission data. However, both the unit tests and the documentation ran successfully on a local environment.

Composing models · GasChem.jl.pdf

I created a fundamental base model for emissions Emission() in the /src/emission.jl. This approach was chosen because defining Emission() solely as an extension does not allow for its exportation and use, even after the extension was precompiled. It appears that extensions are better suited for modifying existing functions rather than introducing new ones. Similar situation found here:https://github.com/pebeto/julia_extensions_example

 Gov4Git notices
On Saturday, 16-Mar-24 18:30:10 UTC by Gov4Git dev
Notice uzucyb
Started managing this PR as Gov4Git proposal 43 with initial approval score of 0.000000.
This project is managed by Gov4Git, a decentralized governance system for collaborative git projects.
To participate in governance, install the Gov4Git desktop app.


how to import this library

I want to use this library , i used to import libraries in my application as .jar but this library not .jar so how to import it and use it ?

Use Maven and import it like shown here. Sorry, it's been a year. :sweat:


ssl wildcard certificate internal error dns challenge

Tried to create an ssl certificate with cloudflare dns challenge but I get a internal error.
internal error message on webgui
`Error: Command failed: /usr/sbin/nginx -t -g "error_log off;"
nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/npm-3/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/npm-3/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed
at ChildProcess.exithandler (node:child_process:397:12)
at ChildProcess.emit (node:events:390:28)
at maybeClose (node:internal/child_process:1064:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)`

nginx container log
[2/8/2022] [10:48:23 AM] [Express  ] › ⚠  warning   Command failed: /usr/sbin/nginx -t -g "error_log off;" nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/npm-3/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/npm-3/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file) nginx: configuration file /etc/nginx/nginx.conf test failed

Having this exact same issue right now

I'm also encountering this error and just came here searching for it. Have you found any way to create a wildcard cert from within the GUI?

I'm also encountering this error and just came here searching for it. Have you found any way to create a wildcard cert from within the GUI?

I deleted the volumes and reinstalled the nginx proxy. After that I was again able to create a cert.

I figured it out, this isn't a bug, it was (at least in my case) due to the Cloudflare "Credentials File Content" being malformed. I had accidentally formatted it as one line and thus it was just a single commented out line like this:
# Cloudflare API token dns_cloudflare_api_token =<PHONE_NUMBER>abcdef0123456789abcdef01234567
When it should look like this:
# Cloudflare API token
dns_cloudflare_api_token =<PHONE_NUMBER>abcdef0123456789abcdef01234567

or a single line like this:
dns_cloudflare_api_token =<PHONE_NUMBER>abcdef0123456789abcdef01234567

Wow... it's been exactly 2 years and the bug still exists!
How to reproduce:

New installation of NPM in a docker.
add a wildcard certificate (in my case go Daddy via DNS challenge)
add a proxy host with this created wildcard certificate. Everything works
add a second proxy host with the same certificate. Brings an error message in the UI

Not sure if access control might have anything to do with this.
stdout: [2/4/2024] [7:05:03 PM] [SSL      ] › ℹ  info      Completed SSL cert renew process stdout: [2/4/2024] [7:08:00 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -t -g "error_log off;" stdout: [2/4/2024] [7:08:00 PM] [Express  ] › ⚠  warning   nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/npm-3/fullchain.pem": BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/npm-3/fullchain.pem, r) error:10000080:BIO routines::no such file) stdout: nginx: configuration file /etc/nginx/nginx.conf test failed stdout:  stdout: [2/4/2024] [7:09:01 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -t -g "error_log off;" stdout: [2/4/2024] [7:09:01 PM] [Express  ] › ⚠  warning   nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/npm-3/fullchain.pem": BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/npm-3/fullchain.pem, r) error:10000080:BIO routines::no such file) stdout: nginx: configuration file /etc/nginx/nginx.conf test failed stdout:  stdout: [2/4/2024] [7:10:06 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -t -g "error_log off;" stdout: [2/4/2024] [7:10:06 PM] [Express  ] › ⚠  warning   nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/npm-3/fullchain.pem": BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/npm-3/fullchain.pem, r) error:10000080:BIO routines::no such file) stdout: nginx: configuration file /etc/nginx/nginx.conf test failed stdout:


PageFilterInput doesn't work

What I'm trying to achieve
use "search" filter on pages query (using latest version -master-)
Steps to reproduce the problem

use PageFilterInput "search" to filter results
It is ignored, all results are displayed

What I expected to happen
show only filtered results
Screenshots

System information
Operating system:

I'm testing that on master and it works, when having two pages in the system I can use this input to search pages. The search takes page title and content into account. Can you provide more details about your case and how to reproduce the error?

My bad, sorry


Error after close

Description
I get this error after closing Files.

I have only seen this error with Files.
Steps To Reproduce
I didnt find anything in common, other than closing Files, and it doesnt always happen. Maybe after using more, it does.
Requirements
How would I know what it takes to fix?
Files Version
2.4.69
Windows Version
Windows 10 22H2
Log file
Folder is empty.

folder is empty

There should be other files there besides for the log file, can you try to uninstall/reinstall the app?

Nope, it's empty. I installed yesterday using chocolatey since winget is not working. No point in reinstalling.

Chocolatey isn't supported by Files. Can you try reinstalling using the classic installer from https://files.community/download

No point in reinstalling

The app isn't installed correctly, and it seems that you're not using an official version of Files. Please let us know if this is still an issue in v2.4.70.

It was the same lastest version, supported or not.

@dougg0k the Choco version is very possibly modified or missing important components so we can't help. If this is still an issue in the official version, we can do our best to try to reproduce/fix the issue.


Refactor radians to degrees conversion function

Why this is cool:

utils
Caches 180 / Math.PI to avoid recalculating that per call


Emoji not showing!!!!!!

Hey Boy Hi, I am using RealTextView to support html rendered textview but the problem is the library doesnot showing support to GIF or any other image and neither it is rendering html properties, any help will be appreciatable, thanks.

The library supports what Android TextView supports. Thus html is limited to some tags and gif or other kind of image formats are not supported either. For this you may use other libraries.


Update grpc to new v1

This PR updates the underlying gRPC connection to use the latest protobuf files in preparation for the next release
In the process, it refactors the codebase file structure and gRPC generation scripts

Codecov Report
Attention: 101 lines in your changes are missing coverage. Please review.

Comparison is base (7528726) 94.75% compared to head (026f519) 94.12%.
Report is 29 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #574      +/-   ##
==========================================
- Coverage   94.75%   94.12%   -0.63%
==========================================
  Files          70       72       +2
  Lines        8492     8637     +145
==========================================
+ Hits         8047     8130      +83
- Misses        445      507      +62

Files
Coverage Δ

integration/test_batch.py
98.54% <100.00%> (+0.10%)
:arrow_up:

integration/test_cluster.py
100.00% <100.00%> (ø)

integration/test_crud.py
100.00% <100.00%> (ø)

integration/test_graphql.py
94.44% <100.00%> (+0.29%)
:arrow_up:

integration/test_schema.py
97.54% <100.00%> (+0.17%)
:arrow_up:

test/test_client.py
100.00% <100.00%> (ø)

test/test_embedded.py
97.77% <100.00%> (+0.21%)
:arrow_up:

weaviate/batch/requests.py
100.00% <ø> (ø)

weaviate/client.py
98.66% <100.00%> (ø)

weaviate/connect/authentication.py
96.15% <100.00%> (ø)

... and 9 more

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Automate rendering of sandbox examples

Seems easier to maintain. The only change is that examples are sorted alphabetically, which I don't necessarily think is a bad thing.
In the future, we could use subdirectories to create groups of examples.

Yeah I agree, that would be nice. Want to make an issue?


various hacks for paths on Windows

This is sufficient for bootstrapping s-p-m on Windows, although the long
term maintainable solution is to migrate towards Swift System.

CC: @egorzhdan

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

I still dislike this,, but this should hopefully unblock the work necessary to support Windows.  Discussed offline with @abertelrud and @neonichu about using this as a crutch for the time being to enable us to more rapidly support Windows.


Bug: multiple files upload endpoints are broken in the Swagger UI

Describe the bug
It's asking me to specify a list of strings in the request body instead of providing file upload button(s).
To Reproduce
@post(path="/handle_file_upload")
async def handle_file_upload(
    data: list[UploadFile] = Body(media_type=RequestEncodingType.MULTI_PART),
) -> str:
    return "success"

Interesting,  FWIW, I have multi-file working within the swagger interface with the following setup:
class UploadCreate(CamelizedBaseSchema):
    """Stores upload."""

    collections: list[UploadFile]

    @validator("collections", pre=True, allow_reuse=True)
    def parse_collections(cls, value: UploadFile | list[UploadFile]) -> list[UploadFile]:
        """Parses a list of Upload Files."""
        if isinstance(value, list):
            return value
        if isinstance(value, UploadFile):
            return [value]
        raise ValueError(value)
@post(
    name="collection_upload",
    path="/collections/upload",
    cache=False,
    tags=["Collections"],
    opt={"exclude_from_auth": True},
)
async def upload_file(
    data: schemas.UploadCreate = Body(media_type=RequestEncodingType.MULTI_PART),
) -> schemas.Upload:
    """Upload a file."""
    uploaded_files = await services.storage.collections.upload(files=data.collections)
    logger.info("Uploaded files to: %s", uploaded_files)

    return schemas.Upload(
        collections=uploaded_files,
        message="Assessment queued for processing",
    )

Note - CameilizedBaseSchema has allow_arbitrary_types enabled on the Pydantic config.

the list[UploadFile] vs UploadCreate appears to be the primary difference between your example and the above.

I don't know how much we should invest in this. @cofin - can you handle this please?

I tried cofins solution and it works if the route handler is linked directly. If I add it to a controller it doesn't work anymore.
Within a controller I get the following error:

{
"status_code": 500,
"detail": "TypeError("FileController.doesnt_work() got multiple values for argument 'data'")"
}
Here the code:

class UploadCreate(BaseModel):
    """Stores upload."""

    class Config:
        arbitrary_types_allowed = True

    file: UploadFile

    @validator("file", pre=True, allow_reuse=True)
    def parse_file(cls, value: UploadFile ) -> UploadFile:

        if isinstance(value, UploadFile):
            return value
        raise ValueError(value)

class FileController(Controller):
    path = "/file"

    @post()
    async def doesnt_work(
        data: UploadCreate = Body(media_type=RequestEncodingType.MULTI_PART),
    ) -> str:
        """Upload a file."""
        return "success"

@post()
async def works(
    data: UploadCreate = Body(media_type=RequestEncodingType.MULTI_PART),
) -> str:
    """Upload a file."""
    return "success"

app = Starlite(route_handlers=[FileController,works])

I've re-reviewed this one and I don't think there's a great way to implement a fix here.  This is due to an incompatibility between the OpenAPI 3.0 and 3.1 specifications. Currently, SwaggerUI only supports OpenAPI 3.0 specification.
Here's an example of an OpenAPI schema that works and one that doesn't for reference:
working:
{ "schema": {
                  "properties": {
                    "files": {
                      "items": {
                        "type": "string",
                        "format": "binary",
                        "contentMediaType": "application/octet-stream"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
}

not working:
{
                "schema": {
                  "items": {
                    "type": "string",
                    "format": "binary",
                    "contentMediaType": "application/octet-stream"
                  },
                  "type": "array"
                }
              }

Nesting all response schemas under an type of object isn't feasible, so for now, we should continue using the workaround above until Swagger implements OpenAPI 3.1
Since we have a work-around, I'm marking this one as closed.  When/If the the feature above is implemented, this should resolve itself.


{Profile} Fix: test_get_raw_token fails on non-UTC machine

Description
Inspired by https://github.com/Azure/azure-cli/pull/14718. Fix: test_get_raw_token fails on non-UTC machine.
When using az account get-access-token for managed identity, expiresOn will be converted from POSIX to datetime in local timezone. For example,<PHONE_NUMBER> is converted to

2020-06-30 06:14:41.000000 on a UTC machine
2020-06-30 14:14:41.000000 on a UTC+8 machine

The test test_get_raw_token fails is written for a UTC machine on DevOps and this test will fail on a non-UTC machine (such as UTC+8).
This PR patches fromtimestamp with utcfromtimestamp to force expiresOn to be converted to UTC to make the test pass on any machine.

Profile


Update slack-app-backend to 1.21.2

Updates com.slack.api:slack-app-backend from 1.18.0 to 1.21.2.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.slack.api", artifactId = "slack-app-backend" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #36.


CI builds/package an application

In our current workflow we package up our applications on a build server and deploy them at a later time, however I can't seem to find a way to do that with the new resource apps.
The Package target does not exist and Publish doesn't do anything. There is a target called SFAppPackageApplication but it can't be called on a single sfaproj (since it relies on the solution to find services and not ProjectReferences) nor on a solution since all projects do not have it.
is there a way to package an application like with the old model? if not I think this will be a blocker for alot of people who use CI

ok, thanks for the info :)


registerAvailableLanguageKeys and IE, not overwriting wildcard

I have to handle different kinds of browser languages on my application, and because of that I set my registerAvailableLanguageKeys()  as follows:

.registerAvailableLanguageKeys(['en', 'de'], {
                '\*': 'de',
                'en_\*': 'en',
                'de_\*': 'de'
            }

The sollution works fine for Chrome and FF (any browser which is en_* overwrites the wildcard as expected),  but Internet Explorer ( tested from 11 to 9) seems to take the first wildcard and ignore the rest, so opening from an english locale matches only the wildcard and ignores the rest of the map.
I need to have it this way since determinePreferredLanguage() doesn't seem to be working with IE. (https://github.com/angular-translate/angular-translate/issues/1094).
Any help is highly appreciated.

was just a matter of switching the wildcard position.


GOBBLIN-1112: Implement a new HttpMethodRetryHandler that allows retr…

…ying a HTTP method on transient network errors
Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-1112

Description

[x] Here are some details about my PR, including screenshots (if applicable):
We implement a new HTTP method retry handler that allows retrying on transient network errors such as UnknownHostException and NoRouteToHostException.

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:
Added unit tests in HttpClientFactoryTest and GobblinHttpMethodRetryHandlerTest classes.

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #2951 into master will decrease coverage by 0.92%.
The diff coverage is 41.93%.

@@             Coverage Diff              @@
##             master    #2951      +/-   ##
============================================
- Coverage     45.55%   44.62%   -0.93%
+ Complexity     9160     9004     -156
============================================
  Files          1937     1938       +1
  Lines         73364    73427      +63
  Branches       8100     8111      +11
============================================
- Hits          33420    32767     -653
- Misses        36847    37597     +750
+ Partials       3097     3063      -34

Impacted Files
Coverage Δ
Complexity Δ

...pache/gobblin/configuration/ConfigurationKeys.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

...gobblin/metrics/kafka/KafkaAvroSchemaRegistry.java
13.67% <0.00%> (-1.14%)
2.00 <0.00> (ø)

...kafka/schemareg/GobblinHttpMethodRetryHandler.java
46.15% <46.15%> (ø)
4.00 <4.00> (?)

...che/gobblin/kafka/schemareg/HttpClientFactory.java
65.00% <77.77%> (+28.63%)
2.00 <1.00> (+2.00)

...gobblin/runtime/mapreduce/GobblinOutputFormat.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-2.00%)

...askStateCollectorServiceHiveRegHandlerFactory.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-2.00%)

...re/filesystem/FsDatasetStateStoreEntryManager.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-3.00%)

...in/runtime/mapreduce/CustomizedProgresserBase.java
0.00% <0.00%> (-83.34%)
0.00% <0.00%> (-1.00%)

...rg/apache/gobblin/runtime/ZkDatasetStateStore.java
0.00% <0.00%> (-80.77%)
0.00% <0.00%> (-7.00%)

...lin/runtime/locks/LegacyJobLockFactoryManager.java
0.00% <0.00%> (-78.58%)
0.00% <0.00%> (-2.00%)

... and 51 more

Continue to review full report at Codecov.

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


No Auth Provider found for name "gcp"

kubedog rollout track pod my-pod
Unable to initialize kube: No Auth Provider found for name "gcp"

I think this was fixed in kubedog v0.2.0.

Yep, fixed in v0.2.0.


Proposal: Recommend server users use Ubuntu 16.04, for now

This is just for BigchainDB Server.
We use a variety of operating systems internally, but I think it would be best if we standardized on recommending one for our users, for now, and reflecting that choice throughout our documentation, installation scripts, etc.
In the future, we can explicitly support multiple operating systems, but for now Ubuntu 16.04 is probably sufficient, and if someone wants to use some other Ubuntu version or Linux distro, they can look at the Ubuntu 16.04 stuff and figure out what to do from that. (If they want to use Windows or macOS, we can tell them to use a virtual machine or Docker.)
Today, our docs and code have a mix of Ubuntu 14.04, 16.04 and Fedora stuff. I'd like to clean that up.
If we opt to Dockerize everything (for deployment), then it's fine to have just one OS inside the container, and the Docker machine / host can be running anything that works with Docker.
This is just a proposal that I'm putting out there for comment.

I think its a good a idea to go with only ubuntu 16.04

+1, docker is mainstream enough now that people who want to try running it on bare metal can do so at their own peril.

The systemd init scripts will only work on 16.04; 14.04 does not support systemd.
I would not suggest an Ubuntu Xenial docker base image. It has security vulnerabilities
The bigger the OS, the larger the attack surface and hence to trim down the attack surface, we can use a minimal host OS. And instead of trimming a hefty Ubuntu image, we can start with a host OS like CoreOS or Atomic or Snappy, and then decide on a docker base image with no vulnerabilities. I prefer alpine or busybox, but it varies from case to case.


match() throws an error if no matching validator is found. Fixes #64.

Hello 👋
Here is a breaking change to match(). I've implemented it as discussed in #64 and #63. Now match() will throw an error when no matching routes are found from OpenAPI schema. The error is an instance of ValidationError without the .data array.
To skip the error you can invoke match({ allowNoMatch: true }).
There was also a bug in the original tests for match. There was no matching path for /match/works-with-url-param in the OpenAPI schema. Thus match() did not invoke any validators and the test yielded a false negative. This was fixed by the first commit in this pull request.
Would this be ok to be published as 0.6.0? Feel free to edit anything as you wish. I'll be happy to help with this one further. Let me know if e.g. changes to ValidationError are not welcome.

Coverage remained the same at 100.0% when pulling ac071dfaa05782ee4fc81fff9b253f0780acdd3e on aautio:master into 71b4af06b3c96fa5b38d877c3f623986f17b5945 on Hilzu:master.

Hi Ari! Thanks for your PR.
To me this looks good. I wouldn't touch ValidationError for this feature. It's only meant for errors thrown when validating the incoming requests. You could replace it with just plain Error or create a new MatchError if you feel like it.

Ok super 👌
I've switched the ValidationError to Error and updated docs & tests appropriately. Changes were pushed a couple of minutes ago.

@Hilzu Can we help in any way to get this merged? Checks have failed due to:
Bad response: 422 {"message":"service_job_id (723838053) must be unique for Travis Jobs not supplying a Coveralls Repo Token","error":true}

Either COVERALLS_REPO_TOKEN has become a requirement, or this is an issue in Travis. Some confusing discussion in https://github.com/lemurheavy/coveralls-public/issues/1264.

Sorry this got stuck due to me looking into the Travis issue. I'm merging this in and replacing Travis with GitHub actions which should work nicer for open-source projects.


pub upgrade throws: The null object does not have a method 'updateTransformers'.

This issue was originally filed by @zoechi

pub upgrade throws: The null object does not have a method 'updateTransformers' on all of my projects where I tried it.
Dart VM version: 1.7.0-edge.40581 (Mon Sep 22 22:57:09 2014) on "linux_x64"
see also the attached file

Attachment:
pubupgrade.log (105.19 KB)

This issue has been moved to dart-lang/pub#1140.


Fixed error in hasMagic function

Fixed issue where empty pattern to hasMagic caused a TypeError.
Repro steps in node REPL:
> var glob = require('glob');
> glob.hasMagic('');
TypeError: Cannot read property 'length' of undefined
    at Function.glob.hasMagic (/........../node_modules/glob/glob.js:106:29)
    ...

Already fixed, looks like?

Just verified that this is indeed fixed. Thanks!


Rewrite the todolist example to remove the frees dependency

This is currently blocking us from upgrading the examples to Scala 2.13.
I had a look at it but it's non-trivial so I'll just make an issue for now. I was hoping we could just copy the necessary .scala files from the frees repo, but they have freestyle @tagless and @module macro annotations.

Assigned to @dmarticus


Made last header into H3

I'd made this change yesterday, but it doesn't seem to have saved.
Changed to H3 as it now relates to the amended H2 above.
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠

Amendment of cladding smart answer
TRELLO:
ZENDESK:
Not sure how this didn't save as I thought I'd already raised it yesterday.


not work correct search ip-address in

Gitea version (or commit ref): 176a604
Git version:
Operating system: Docker https://hub.docker.com/r/gitea/gitea/
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[x] No
[ ] Not relevant

Log gist:

Description
on https://try.gitea.io not work search code....
for string not work search and indexer
example 1)
...
interface gi1/0
{space}{space}{space}ip address <IP_ADDRESS> <IP_ADDRESS>
!
interface gi1/0
ip address <IP_ADDRESS> <IP_ADDRESS>
!
...
example 2)
...
<IP_ADDRESS>
{space}{space}<IP_ADDRESS>
...
example 1): not search <IP_ADDRESS> or  gi1/0 in document repo
example 1): not search <IP_ADDRESS>. search only <IP_ADDRESS> in document repo
Screenshots

problem not fix.
search ip in gitea no work.

this is a bug

"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions." - problem not fix.
solutions developed not given.
no reason to close.
search does not work is a mistake.

found another solution


BUG: Improved accuracy of scipy.stats.truncexpon

Fixes the bug related on #4035

@helderc Here is a rebased branch: https://github.com/ev-br/scipy/compare/pr/4050
What I did I only,

squashed your commits into one using git rebase -i, then rebased on master using git fetch upstream && git rebase upstream/master.
removed the remains of nbinom fixes which were already merged.
removed tabs --- python as a language is not very forgiving for mixing tabs and spaces, so best configure your editor to insert four spaces for a tab.
Notice the reference to the original github issue in the comment and the commit message. They do not have to be exactly these; it's just an illustration of what they could be.

As a result, there is a test from gh-4035. Which fails at the moment, because the rest of the suggestion in gh-4035 is not implemented yet. It might be the easiest for you to start a new branch off master, manually add a test from https://github.com/ev-br/scipy/compare/pr/4050, then finish up the implementation of the truncexpon, so that tests pass for you locally, and finally force-push that new bright and shiny new branch here.

Continued in gh-4425, so closing this one.


To setup Travis,Coveralls,Codacy

To be closed after testing

Changes Unknown when pulling 7c58f6e3c33974033521839e687346db8e63df13 on Travis into ** on master**.


cflinuxfs3 stack deprecated

SAP BTP has deprecated cflinuxfs3 stack:  https://blogs.sap.com/2023/02/16/deprecation-of-cloud-foundry-stack-cflinuxfs3-and-migration-to-cflinuxfs4/
Support for cflinuxfs4 is needed.  Overriding the stack employed with the cf push -s cflinuxfs4 fails due to pinned dependencies not available in the new stack.

I see there is already a pull request addressing this.  Sorry about that!

Closing

Yes, feel free to try it out already and test it. Integration tests are failing on the MR but that has to do with the testing framework not playing along with newer versions.

Closing, since it was addressed with the release of cf-mendix-buildpack 5.0.0 (https://github.com/mendix/cf-mendix-buildpack/pull/639)


Bump Dependencies #5991647402

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/5991647402

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Adding some features to our website

Registered our app with Django
Created model classes for our app
Created database migrations
Added test data
Created a view for displaying our data
Automated migrations in Vagrant
Allowed the users to post

After running 'vagrant up' the application can be accessed at:

http://<IP_ADDRESS>:8000/

The user can post a new message.
The user can view old posts that are saved in the DB.
Note: In this large commit there were 4 files modified and
1 New folder with 11 files.

Registered our app with Django
Created model classes for our app
Created database migrations
Added test data
Created a view for displaying our data
Automated migrations in Vagrant
Allowed the users to post

After running 'vagrant up' the application can be accessed at:

http://<IP_ADDRESS>:8000/

The user can post a new message.
The user can view old posts that are saved in the DB.
Note: In this large commit there were 4 files modified and
1 New folder with 11 files.

Check 1

check

Registered our app with Django
check

#6 check


Docs update

Updated User Guide and API Reference.
Some minor typos.

Would you please rebase on current master and push --force to your branch? I prefer not to have an unnecessary merge commit.
Also, the current state of master is a bit messy so I might have to work a little bit on #190 and #178 to have a clean build again, so I might ask you for another rebase.

Done

Please rebase again, I fixed the failures in master in #192.


readme improvment

also, this is dry-run of getting changes into org's repo;
will commit directly to main branch and do later pull request,
rather than "create new branch for this commit and start pull request" option;

I'm going to do "merge pull request" instead of "squash and merge" to see whether a fast-forward-compliant pull request causes an extra merge commit.


[WIP] try add color

Signed-off-by: xhe<EMAIL_ADDRESS>

Close. Jenkins can not apply the script trick very well.


Secure handling requests with both content-length and transfer-encoding

As per https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-messaging-17#section-6.3:
3.    If a message is received with both a Transfer-Encoding and a
       Content-Length header field, the Transfer-Encoding overrides the
       Content-Length.  Such a message might indicate an attempt to
       perform request smuggling (Section 11.2) or response splitting
       (Section 11.1) and ought to be handled as an error.  An
       intermediary that chooses to forward the message MUST first
       remove the received Content-Length field and process the
       Transfer-Encoding (as described below) prior to forwarding the
       message downstream.

Note also nginx since 1.21.1 rejects such requests:
Changes with nginx 1.21.1                                        06 Jul 2021
....
    *) Change: now nginx always returns an error if both "Content-Length"
       and "Transfer-Encoding" header lines are present in the request.

For security reasons it seems advisable to reject such requests with an error response and then close the connection.
We may delay such change for a while for backward-compatibility.

Done. Closing, thanks!


Update functions/Get-DbaSpn.ps1

Type of Change

[ ] Bug fix (non-breaking change, fixes #)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] Nunit test is included
[X] Documentation
[ ] Build system

Purpose

Update example to reflect current parameter names.

heavenly, all of these! thank you 🤗

💯 x 💯 = 💯 💯


preload flag

Currently we are sending packets and receiving them in different threads independently. We don't wait for a reply when sending packets.  It seems like ping has a preload flag that is specified as:

-l preload
If preload is specified, ping sends that many packets not waiting for reply. Only the super-user may select preload more than 3.

It appears that ping actually waits for replies (with a timeout) before sending new packets.
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=0 ttl=52 time=141.915 ms
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=52 time=133.290 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=52 time=130.603 ms
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5
Request timeout for icmp_seq 6
Request timeout for icmp_seq 7
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=52 time=5743.657 ms
64 bytes from <IP_ADDRESS>: icmp_seq=4 ttl=52 time=4743.495 ms
64 bytes from <IP_ADDRESS>: icmp_seq=5 ttl=52 time=3751.588 ms
64 bytes from <IP_ADDRESS>: icmp_seq=6 ttl=52 time=2941.200 ms
64 bytes from <IP_ADDRESS>: icmp_seq=7 ttl=52 time=1963.536 ms
64 bytes from <IP_ADDRESS>: icmp_seq=8 ttl=52 time=980.919 ms
64 bytes from <IP_ADDRESS>: icmp_seq=9 ttl=52 time=96.294 ms
64 bytes from <IP_ADDRESS>: icmp_seq=10 ttl=52 time=1006.177 ms
64 bytes from <IP_ADDRESS>: icmp_seq=11 ttl=52 time=610.718 ms

For flags like -f flood, we do not wait at all and it therefore makes sense to keep the thread architecture.

@SlavGradev what do you think a good architecture for this is? We want to send a packet, wait for a response (timeout after a RTT or wait interval) if the flood option is not provided.


remove l2 oracle storage key from request struct

Removes the L2 Oracle Storage Key field from the cross chain request struct. This is because this can be directly hardcoded as a constant in the Prover libraries. The l1Oracle field was left in the struct in case multiple chains use the same rollup contract layout (i.e. OP Stack chains can be verified with the same mechanisms but will use different rollup contracts on L1)

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1


Add an updated version of ChangingElectricField.py

I updated one of Grant's scenes (div_curl.py) from an older version of manim and thought it might be a useful example scene to show how to deal with the removal of CONFIG & digest_args.
I might be doing something silly - I apologize beforehand if this isn't supposed to go here
Motivation
This additional example scene will give users an example of how to deal with the removal of CONFIG & digest_args, since many of the existing tutorials make extensive use of both of those now-removed features.
Overview / Explanation for Changes
All of the uses of CONFIG & digest_args have been replaced with  super() and super().__init__()
Oneline Summary of Changes

Replaced CONFIGs with keyword arguments and digest_args with `super().init()'

Acknowledgements

[x] I have read the Contributing Guidelines

Reviewer Checklist

[ ] Newly added functions/classes are either private or have a docstring
[ ] Newly added functions/classes have tests added and (optional) examples in the docs
[ ] Newly added documentation builds, looks correctly formatted, and adds no additional build warnings
[ ] The oneline summary has been included in the wiki

Thanks for your contribution.
I just had a look where the code comes from, and I found it here:
https://github.com/3b1b/videos/blob/24a2001c6b591c2d272cc3c6f8b872ac3a6b8c22/_2018/div_curl.py
Having a look at the readme from 3b1b states:

Note, while the library Manim itself is open source under and MIT license, the contents of this project are intended only to be used for 3Blue1Brown videos themselves.
Copyright © 2020 3Blue1Brown

"Intended only to be used for 3Blue1Brown videos" makes it clear, that this code is not MIT licence and we can not use it.

Gotcha! Sorry about that, I hadn't considered the license.

Nevertheless, thank you for your idea.
I think this is still great code, and maybe 3Blue1Brown would allow us to use some functions/scenes that he made when it is not to copy his videos, but instead to develop new videos based on this initial code to start.


Customised read-only/display mode

Are you requesting a feature, reporting a bug or ask a question?
Are you requesting a feature/ ask a question
What is the current behavior?
read-only/display mode provides same layout as a survey question form
What is the expected behavior?
I am wondering if I could customise this read-only/display mode, so only display question with answer both inside a div/html, rather than answer in disabled textarea/input/radiogroup
How would you reproduce the current behavior (if this is a bug)?
http://surveyjs.org/examples/react/survey-displaymode.html
Please find it in SurveyJs library

surveyjs platform (angular or react or jquery or knockout or vue): react
surveyjs version:  0.12.16

@xiuzhen1103 I was thinking about this feature. However, what happens, if a user doesn't response on a question? Let's say you have 10 questions on the page, only 2 has been answered. Should you show only these two questions? What question index should be 1 and 2 or preserved their indexes, for example: 3 and 9. In both cases it would look strange, IMHO.
Thank you,
Andrew

Hi Andrew,
The purpose of disabled/read-only is for rendering saved information from database and display it to the page.  From UI perspective, survey form should different from history(or for printing purpose) in order to reviewing and maintaining.
If 10 questions, it do not matter if only two has answered, user's has knowledge to mark question as required force to answer it. If you worry about index, you can hide the question number. IMHO
Thank you
Xiuzhen

@xiuzhen1103 You may simple go throw the JSON data and display it as one page.
Probably we will make as a feature. However, it is pretty easy to do on your side. One loop throw all data, label and data, without indexes. It does not make a lot of sense to divide it by pages, because you may have empty pages - all questions are unanswered.
Thank you,
Andrew

@xiuzhen1103 It has been implemented. Here is the example
Thank you,
Andrew


ESP8266 problem

<EMAIL_ADDRESS>version doesn't work with ESP8266
fatal error: avr/interrupt.h: No such file or directory

Please, provide the detailed steps to reproduce the error.
There are nine example sketches bundled with the library. All of them have been successfully compiled for ESP8266 by the automated test script.

Before update to 1.4.2 all was ok.
After I cant compile sketch (fatal error: avr/interrupt.h: No such file or directory in USI_TWI_Master.cpp)  .
I use PLATFORMIO.

Try removing the last line from RTClib/library.properties:
diff --git a/library.properties b/library.properties
index 44a50c4..97b70be 100644
--- a/library.properties
+++ b/library.properties
@@ -7,4 +7,3 @@ paragraph=A fork of Jeelab's fantastic RTC library
 category=Timing
 url=https://github.com/adafruit/RTClib
 architectures=*
-depends=TinyWireM, OneWire

Alternatively, try this version: it's just 1.4.2 that line removed.
Tell us if it fixes the issue for you. If that's the case, I'll submit a pull request.

@ivankravets hihi - taggin you to see another example that platform-unique dependencies cause compilation issues. tinywirem is referenced here:
https://github.com/adafruit/RTClib/blob/a40bfbc148f24eceabfe5712b03ba430ca0649ac/RTClib.cpp#L45

Hi @ladyada, thanks for tagging me. Yes, yes, this is a known issue. There are a few solutions:

Using library.json and set build.libLDFMode to chain+. However, I remember that you would like to have only library.properties in a repository. See solution 2
Update LDF mode per PlatformIO project as described here https://docs.platformio.org/en/latest/projectconf/section_env_library.html#lib-ldf-mode

We have some ideas about how to improve our Library Dependency Finder but it will need some efforts. The current LDF behavior is to follow your declarations. It allows PlatformIO Core to build project crazy fast.

Try removing the last line from RTClib/library.properties:
diff --git a/library.properties b/library.properties
index 44a50c4..97b70be 100644
--- a/library.properties
+++ b/library.properties
@@ -7,4 +7,3 @@ paragraph=A fork of Jeelab's fantastic RTC library
 category=Timing
 url=https://github.com/adafruit/RTClib
 architectures=*
-depends=TinyWireM, OneWire

Alternatively, try this version: it's just 1.4.2 that line removed.
Tell us if it fixes the issue for you. If that's the case, I'll submit a pull request.

It doesnt work

@Lightwell-bg does it work if you add to platformio.ini
[env]
lib_ldf_mode = chain+

lib_ldf_mode = chain+

Sorry, and it doesnt work
^
.pio\libdeps\d1_mini\TinyWireM_ID797\USI_TWI_Master.cpp:22:27: fatal error: avr/interrupt.h: No such file or directory
#include <avr/interrupt.h>

@valeros, please help

Hi @Lightwell-bg ! The error is caused by a misleading dependency specified in library.properties  (TinyWireM is not supposed to work with esp8266). The best solution is to add the following lines to your platformio.ini:
[env:myenv]
framework = arduino
platform = espressif8266
board = ...

# explicitly ignore TinyWireM
lib_ignore =
    TinyWireM
# Resolve hidden dependencies under ifdef
lib_ldf_mode = deep+

Hi @valeros
Thank you, it's work.

Isn't there a better way to solve this issue?
Using lib_ignore in our platform.ini file feels dirty.

Hey @ladyada ,
Would you like to have library.json which resolves these conflicts? We will explain in manifest when to use particular dependencies. You don't need to maintain it later, just increment "version" field (the same what you do for library.properties)

hihi @ivankravets  - as other library developers such as @paulstoffregen have mentioned, folks usually forget or neglect to update both on the libs they maintain. https://github.com/adafruit/DHT-sensor-library/pull/118#issuecomment-457876625
as more libraries add dependencies, some of which are for specific platforms, we recommend only compiling code that is referenced/included in the projects.

@ivankravets, If I understood correctly, we cannot express a conditional library dependency using library.properties but we can in a library.json file? If so, can you provide an example of this?
Maybe we can automatically generate a library.properties from the library.json file? that way we only need to maintain one of them?

@ivankravets - Please consider the long term impact of solving problems by suggesting edits to a global config file or installing a specially modified copy of a library to solve a specific problem.
One of the commonly reoccurring tech support problems we see with the Arduino IDE is a user installed a modified copy of a library months or years ago, to fix some specific problem they were having at the time.  Often they were just following a suggestion someone gave them on a forum, without any idea of why installing a modified copy fixed their immediate issue.  They're just happy to be able to move past a compile error and get their project working.
Then months or years later, they buy a different board for a new project.  The user has long since forgotten about the prior problem.  Even at the time, they didn't really understand they were installing a custom copy or making a global chance.... they just followed advice from a forum message and it solved their problem.  But later it causes new problems when they use a different board.  Those new problems are MUCH HARDER for anyone on forums to help diagnose, because now the user is running with a modified platform or customized copies of libraries, which they do not even know.  How can those of us who answer tech questions on forums solve problems for these users.  We don't know they have modified files.  They don't know they have modified files.
Please, I beg of you, consider the long-term consequence of giving this sort of help where you direct people to modify their config files or install edited copies of libraries.  Those changes will persist on their computer and later are likely cause much harder tech support problems.
Please consider this tech support scenario in the design of your software.  Years ago I contributed code to the Arduino IDE which prints the full pathnames when 2+ libraries have the same header and the IDE had to choose 1 of them.  That code came as a result of answering many of these difficult tech support questions, where we had to guess that the user didn't have the original libraries installed.

As you design PlatformIO, please keep in mind your "users" are not only the people running your software, but also those of us who they will ask for help when things go wrong.
For another example of code I contributed to Arduino, when code fails to compile in Arduino this "Copy error messages" button appears.

This Arduino contribution was inspired by a 60+ message thread where we repeated begged a user to show us the Arduino IDE's error messages.  This button is meant to give users a gentle suggestion to copy the actual error messages when they ask for help on forums.  Since this button went into Arduino's software, we've had much high success solving user problems on forums, because some of them use it to put the errors into their question, and others who don't get the visual hint are more able to do so when we ask them to show the errors.
I'm taking the time to write these messages because in recent months I am starting to see many more people using PlatformIO instead of Arduino.  But I'm also not so happy trying to help those users.  When they don't show the errors, when their software might be set up in different ways, helping people is much harder.
Please, think of this as you continue to develop PlatformIO.  I and many others who answer forum questions are not direct users, but we do try to help everyone solve technical problems.  The more you do in PlatformIO to encourage users to better ask questions on forums, and the more consistent the software setup is (or more visually apparent any customizations are when errors happen) the better we can help your users to get their projects working.

I've just fixed this issue https://github.com/platformio/platformio-core/issues/3607
@rgl , Lightwell-bg , and others. Could you upgrade PIO Core to the latest development version via pio upgrade --dev command and remove lib_ignore option from platformio.ini file. Does it work now?

But I'm also not so happy trying to help those users.

So, you are happy to help Arduino's users who do not use your hardware and do not happy to help your (not ours) customers who bought your hardware and program it with PlatformIO which is free and open source. What is the reason?
Every day thousands of developers use PlatformIO to program their Teensy boards. Why you don't count these happy users? The rate of users who had some issues is very very small. Next time please forward them to https://community.platformio.org/ and our awesome community will help.

in recent months I am starting to see many more people using PlatformIO instead of Arduino.

We don't do any promotions and would be happy if you put information about PlatformIO on your website and give people a chance to have a choice.
There is 1,000,000 unique installations just for VSCode+PlatformIO (we support 10+ other IDEs/editors):

https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide

Also, there are the answers why they move away from Arduino and other vendor IDEs (everyday fresh and successfully stories):

https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide&ssr=false#review-details

PlatformIO is THE ONLY neutral and independent ecosystem for embedded development today. We encourage everyone to join our small revolution and give true freedom for embedded developers and businesses.
P.S: The more resistant is to PlatformIO, the more people use it (law of nature).

What is the reason?

Maybe you didn't understand?  When we get PlatformIO users with problems, usually they give us almost zero info.  Sometimes they do not even say they are using PlatformIO.
Worst of all, the way you are advising your users to fix problems in this thread and others I have seen is with configuration changes.  Did you not read any of the words I wrote about how these sorts of changes (hacked copies of libraries, global config changes) persist on people's computers and later cause trouble?
Lack of info from users who ask for help and so much uncertainty about what they really have installed on their computer does not make me feel good about helping PlatformIO users.

Maybe you didn't understand? When we get PlatformIO users with problems, usually they give us almost zero info. Sometimes they do not even say they are using PlatformIO.

What do you propose now? To kill me because users do not report details? If there is an issue with a build process, they see the reason in the console. We don't hide errors from them. You try to build your picture about PlatformIO on some users who contacted you and didn't provide "information" which you wanted to see "in the first post". Please look widely...

fix problems in this thread and others I have seen is with configuration changes.

Do you mean this is bad that PlatformIO allows developers to have full control over the build process where they can pass their own build flags, remove existing, control dependencies, and do other professional things? This is how PlatformIO differs from Arduino. There is no INO (which makes trouble for people who would like to do native C/C++ programming) or 1 sketch - there is a project. Developers use PlatformIO for PROJECTS, not for the 1-file sketches.
We don't ask people to change the configuration of a LIBRARY or LIBRARY SOURCE code. We ask them to configure PlatformIO LDF behavior in their platformio.ini project configuration file. Please re-read whole my posts. You were not so attentive. The discussion was about this https://docs.platformio.org/en/latest/projectconf/index.html
Please take a look at what people do with PlatformIO and after that, all questions about "why they don't use Arduino" will be closed. They technically can't use Arduino due to its concept and 1-sketch limitation. It's good for children or for beginners. This is why we also recommend them Arduino. PlatformIO is not a replacement for the Arduino, it's a continuation of your work if you can't live with "notepad" and 1 sketch where you don't have any control.

https://github.com/MarlinFirmware/Marlin/blob/2.0.x/platformio.ini
https://github.com/esphome/esphome/blob/dev/platformio.ini
https://github.com/xoseperez/espurna/blob/dev/code/platformio.ini

Did you not read any of the words I wrote about how these sorts of changes (hacked copies of libraries, global config changes) persist on people's computers and later cause trouble?

I saw that. This is not a truthful accusation. It's very bad that people do not remember the past. The same recently did your friend @mbanzi. You can read this thread https://twitter.com/mbanzi/status/1257980326808338434
What do I mean here?

"hacked copies of libraries" - this was Arduino workflow. They forced people to use the ZIP archive of libraries.
Arduino forced people to manage libraries on a machine as ZIP archive where they modify them directly
Arduino gave them only ONE way to install libraries - from sources, ZIP archives, or via manual copying.
As a result, we had a ton of the same cloned, modified, and copied libraries on the internet.

Library Management Solution
PlatformIO was THE FIRST project in an embedded world which proposed dependency management solutions based on Semantic Versioning and using packages from the REGISTRY. That was the reason why we created the first registry for the embedded community.
It was 2014 and it's very bad when people don't remember history. What is worse, YOU were the part of that discussion where we wanted to improve Arduino IDE as well. If you don't remember, Google remembers that:

https://groups.google.com/a/arduino.cc/g/developers/c/xCDjekcQW4k/discussion?pli=1
https://github.com/PaulStoffregen/OctoWS2811/pull/2

Again, it was 2014. Later, we will see some attempts from Arduino.cc to replicate the same as what we did in 2017. The same we will see with Arduino CLI which replicates PlatformIO in 2019, and now we see Arduino IDE Pro which replicates PlatformIO for VSCode. The only problem here that there is a gap with 2-3 years for this replication...
We are so proud that other companies follow our vision and we are glad to help them with PlatofmrIO adoption as much as we can. The community will benefit from that.
Conclusion

I don't want to discuss these accusations without arguments.
If you want to have answers from me, please provide links/examples where I can get details about what is going wrong with  users who contact you
Please do not treat PlatformIO as "Ivan". There is the PlatformIO Team and other people who work on PlatformIO and you need to respect it. If you have something personal, it's better to contact<EMAIL_ADDRESS>
Finally, we love the critic when it is "sober" and has arguments. It helps us to make PlatformIO better and better. You can't make a product where 100% of people will be satisfied with it. The same with PlatformIO. We have our own philosophy, unique vision and there is an army from developers who love so much what we do.
Arduino is a VERY VERY small puzzle in our ecosystem. We support 20+ other frameworks/SDKs/RTOS, such as FreeRTOS, Zephyr RTOS, Arm Mbed, STM32Cube, etc. We support the Arduino framework to help people with migration into the professional instruments which I mentioned before when their products go into production. All of us understand that Arduino != Professional/Production. This is where we play a significant role and reduce barriers when project requirements change and you need more advanced tools. PlatformIO saves time to market costs here.
Have a great weekend!

This has moved well beyond the scope of the original issue and is not the place to argue about the merits of one tool vs another. Please take it to a more appropriate forum.

FYI, I've hidden the heated conversation as off-topic. It's not helpful.


Order of columns in delete-statement need to be in primary-key-order

I like the possibility to use google cloud spanner via jdbc for reading and writing! a lot!
The thing I ran into is that in delete-statements I need to specify the primary-key-columns of the query in spanner-key-order and this is not done by the spring-repository.
So I end up getting errors that the data-types do not match because the order does not match.
Do you see any possibility that the driver orders the columns in the deletes where-clause in spanner-key-order automatically ?
This would be a great benefit also when the driver is used in a query tool so that also humans doing sql-queries do not have to mind the key-order.

Fixed in 0.15 by fetching the primary key of the table from the database metadata. This does however mean that there is an extra query needed once for getting the PK information from the database when a delete-srtatement is issued. The result is then cached to avoid subsequent metadata queries.


Initial version

Hello,
I have created this Swift implementation and I would be very happy if you would include it. I based the implementation on the Python and partly on the Java version. I have adapted the Python version for the README.md. I hope that this is okay.
Best regards
Clemens

Hi @macmoonshine,
Thank you for the Swift implementation.

PR merged
I invited you to manage the repo (feel free to push changes as you see fit)
Website has been updated

From my end, looks like a few things could be adjusted:

The tests are not complete (eg: Encoding test has a lot more functions in the spec)
You can update the dependencies url in the README to the official one
The initial version should be 0.1.0, most versions are currently pre-production
Looks like Github Actions could be added

Let me know if you have any questions.

Hey Ivan,
hope you’re doing well. Thanks for the quick reply. I have adapted your suggestions, but I had to skipp some tests for the constructor, because I have usaed assertions instead of exceptions and they are not really unit-testable.
Best regards
Clemens

Am 12.11.2023 um 01:23 schrieb Ivan Akimov @.***>:
Hi @macmoonshine,
Thank you for the Swift implementation.
• PR merged
• I invited you to manage the repo (feel free to push changes as you see fit)
• Website has been updated
From my end, looks like a few things could be adjusted:
• The tests are not complete (eg: Encoding test has a lot more functions in the spec)
• You can update the dependencies url in the README to the official one
• The initial version should be 0.1.0, most versions are currently pre-production
• Looks like Github Actions could be added
Let me know if you have any questions.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


Broken export of "Stundenblatt"

PHP 8.0 with latest Todoyu-PHP8.x
The export of "Stundenblatt" is broken:

clicking "Export" yields the error
99f1c69e0c :: 2024-03-15 16:04:47 - L:3 - U:admin [ext/contact/model/TodoyuContactPerson.class.php:452] :: PHP ERROR: [2] Undefined array key 0

Thanks for the report, Can you confirm you are using the latest version?

Hi, I downloaded the version on 19.01.2024 from the Code -> Download ZIP functionality of github which points to https://github.com/e-dimensionz/Todoyu-PHP8.x/archive/refs/heads/master.zip
That should be the latests one, right? If not, could you please point me to a newer version?

Hi. The PHP7.x version is the most stable. This is a W.I.P.
As I stated in the README message linking to this repository  The code in this repository is unstable and a Work in progress. The majority of the libraries in use are deprecated or gone from the internet entirely.
We are in the process of an enormous rewrite. The only stable one currently is the PHP7.x one.
`!!! IMPORTANT RE: PHP 8 Support! The new repo is here
THE CODE IS UNSTABLE AND NOT READY FOR USE YET!
We are getting there. We use this software as well so we are desperate to getting it live. Any help would speed up progress`
I am updating the README on this repo as well


Add vim-numbertoggle

This PR adds this plugin: https://search.nixos.org/packages?channel=24.05&show=vimPlugins.vim-numbertoggle&from=0&size=50&sort=relevance&type=packages&query=numbertoggle.

Please ignore it. I did something wrong. I will open a new PR.


Re-Write in Rust

Since Rust is the objectively best language, I highly recommend that you re-write the project in it. In fact, I demand (for the sake of me and my fellow rustaceans) a Rust re-write. Benefits include:

No one will bother asking you to re-write it in Rust
All of the above

Personally I believe this change is in your best interest. I look forward to when this suggestion gets accepted. :slightly_smiling_face:
PS: This is an extremely serious request, please don't mistake it for satire

Given the current state of the project, there are a few points of consideration that have to be taken into account. These points are as shown below.
Performance
The planned release of the CommandAPI version 2.0 is designed with performance in mind. By preparing to support multiple versions of Minecraft, it was imperative that removing reflection in order to greatly improve performance was required. With an implementation of the CommandAPI that uses the Rust programming language, in order to interact with the Java based servers that the CommandAPI is designed to run on (primarily, Spigot and other Bukkit-based servers), use of system calls would be required in order to interact with compiled Rust code. This would normally be implemented using some form of the Java Native Interface (JNI), which is known for being very performance heavy and having lots of overhead.
The CommandAPI works by "injecting" lots of code into vanilla Minecraft's server at runtime, prior to and after vanilla commands have been registered. This procedure is already very intensive as is and it is crucial that the CommandAPI is as efficient as possible for the startup of a server where the CommandAPI's primary function takes place. Therefore, the use of JNI calls with its additional performance impact makes it unsuitable to use system calls.
Building environment
In order to make the CommandAPI accessible for all developers that may want to create a pull request or add new features, it must be easy for developers to build the CommandAPI. Currently, due to the planned release of version 2.0, the build requirements for the CommandAPI are already very high due to legal reasons, and thus are not very straight forward as it is currently. (Currently, for each version of Minecraft that the CommandAPI supports, a developer has to build a copy of the Minecraft server.jar in order to compile the CommandAPI). In addition, the maven dependency manager is used to help build the entire project (despite having additional build requirements), which makes building the project straight forward once the required dependencies are provided.
Adding support for the Rust programming language would make such a feat of a simple-to-build environment near impossible - requiring a custom build script would be a necessity. The CommandAPI aims to be suitable for developers on all operating systems and since Rust compiles down to a system-level file (i.e. an executable which is system dependent), this is unsuitable for the developers that use the CommandAPI.
A lightweight API
The CommandAPI is designed to be as lightweight as possible. It does not shade other projects into itself and assumes that the requirements for execution are present (which they normally are for a Minecraft server running on version 1.13.2 or above). In order to create an implementation of the CommandAPI that is compatible with Rust by using the JNI, the JNI crate would be a necessity and would be required in order to execute the code in Rust.
Interacting with the Bukkit API
The CommandAPI, like any plugin, requires interaction with the Bukkit API in order to register commands, create and read config files in the correct directory and retrieve the name of CraftBukkit's current package which is loaded in the JVM at runtime. Since Java is the language that the Bukkit API is written in, it makes sense to use Java to interact with the Bukkit API, as opposed to creating a wrapper for the Bukkit API in Rust which would create additional overhead.
If it were possible to create a system where a developer can write Rust code as an implementation for a command, since the CommandAPI does not calculate and store the parsed results in order for optimization (The removal of reflection greatly improves performance, so storing parsed results may not be necessary), the overhead can cause delays and instability with the running of the server if many commands are executed in quick succession (especially due to the implementation of Minecraft's command blocks which can execute a sequence of commands in a single tick).

Considering that the CommandAPI is an API for developers to use on servers which primarily are powered by Java, and the reasons stated above, I do not believe that it would be a good idea to implement the CommandAPI in the Rust programming language.


Multiselect of formly when accessed  using ViewChild, its not accessible

**I have come across a requirement in which onClick in popup modal area I am explicitly opening back the  multi-select dropdown, in an angular way I was able to achieve this but it's not working perfectly when I am using the  viewchild in the same way, demo with the examples as follows: **
Steps:

Open the multi select dropdown
Click on a logo, pop up modal will popup
Click on the area of the popup
Expected output: the multi-select dropdown should remain open

Screenshot of expected behavior: (Dropdown should remain open)

Angular way:(Working fine) click her for Stackblitz demo
Formly way:(Not working as expected) click here for Stackblitz demo

@aitboudad  you support required, thanks !

Its done, I was defining the viewchild in wrong place, I added back in FormlyMultiSelect


[requires.io] dependency update on master branch

This change is

Current coverage is 100.00%

Merging #38 into master will not affect coverage as of 5ca13b8

@@            master     #38   diff @@
======================================
  Files            7       7
  Stmts          263     263
  Branches        23      23
  Methods          0
======================================
  Hit            263     263
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 5ca13b8

Powered by Codecov. Updated on successful CI builds.

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


facts don't catch exceptions that were outside of an => expression

We've had a few test failures recently that have resulted in exception traces, but none of the usual Midje failure messages. That makes it a bit hard to know which fact the error was in.
For example:
(fact "you never see this message" (/ 1 0))

results in a stack trace in your terminal, but you never see the "you never see this message" message. That makes it a little bit harder to read.
This is important for us because we do a bit of preparation in a let form before the actual assertions. And if there are any errors in the let block, you never see which form the error was in...
(fact "blah" (let [something (get-something)] something => nil?))

@pokle I am also a bit annoyed with that. Did you find a workaround?

@vincentbernat Sorry I don't know of a workaround.

If fixing this, don't forget to note the (now-closed) #336


Adding .stickler.yml configuration file

As requested, I've generated an initial configuration file for Stickler CI. After merging this pull request, I will start reviewing pull requests in this repository. See the documentation for information on how to customize this configuration file.

@bjlittle Why did you close this without merging? Do we want stickler-ci on this repo?


new extract_input for trunk angles

@adrien-berchet , stop with this useless comit lint, we'll squash everything to merge anyway

Yeah I am changing this to lint only the PR titles (because these titles are used as commit messages on the main branch), not the commit inside PRs.

Ok, I removed from this one, we'll rebase once you merge this commitlint update


Errors whilst attempting to upgrade to angular 9

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
√ Getting NativeScript components versions information...
√ Component nativescript has 6.7.6 version and is up to date.
√ Component tns-core-modules has 6.5.8 version and is up to date.
√ Component @nativescript/core has 6.5.8 version and is up to date.
√ Component tns-android has 6.5.1 version and is up to date.

Package.json
{
    "nativescript": {
        "id": "AppName",
        "tns-android": {
            "version": "6.5.1"
        }
    },
    "description": "NativeScript Application",
    "license": "SEE LICENSE IN <your-license-filename>",
    "repository": "<fill-your-repository-here>",
    "scripts": {
        "lint": "tslint \"src/**/*.ts\"",
        "ngcc": "ngcc --properties es2015 module main --first-only",
        "postinstall": "npm run ngcc"
    },
    "dependencies": {
        "@angular/animations": "~9.1.0",
        "@angular/common": "~9.1.0",
        "@angular/compiler": "~9.1.0",
        "@angular/compiler-cli": "~9.1.0",
        "@angular/core": "~9.1.0",
        "@angular/forms": "~9.1.0",
        "@angular/platform-browser": "~9.1.0",
        "@angular/platform-browser-dynamic": "~9.1.0",
        "@angular/router": "~9.1.0",
        "@danvick/ngx-translate-nativescript-loader": "^2.0.0",
        "@nativescript/angular": "^9.0.0",
        "@nativescript/core": "~6.5.0",
        "@nativescript/theme": "^2.3.2",
        "@ngx-translate/core": "^11.0.1",
        "@ngx-translate/http-loader": "^4.0.0",
        "@nstudio/nativescript-cardview": "^1.0.0",
        "@nstudio/nativescript-loading-indicator": "^3.0.3",
        "@nstudio/nativescript-pulltorefresh": "^1.1.1",
        "nativescript": "^6.7.6",
        "nativescript-angular": "^8.21.0",
        "nativescript-barcodescanner": "^3.4.2",
        "nativescript-carousel": "^6.1.1",
        "nativescript-feedback": "^1.4.0",
        "nativescript-material-button": "^3.2.8",
        "nativescript-material-textfield": "^3.2.8",
        "nativescript-plugin-firebase": "^10.5.2",
        "nativescript-purchase": "^2.0.13",
        "nativescript-ui-autocomplete": "^6.0.1",
        "nativescript-ui-listview": "^8.0.1",
        "nativescript-ui-sidedrawer": "^8.0.0",
        "reflect-metadata": "~0.1.12",
        "rxjs": "~6.5.5",
        "tns-core-modules": "^6.5.8",
        "typescript": "~3.8.3",
        "zone.js": "^0.10.3"
    },
    "devDependencies": {
        "@angular/compiler-cli": "~9.1.0",
        "@ngtools/webpack": "~9.1.0",
        "nativescript-dev-webpack": "~1.5.0",
        "typescript": "~3.8.3",
        "codelyzer": "~4.5.0",
        "node-sass": "^4.7.1",
        "tslint": "~5.19.0"
    },
    "gitHead": "a6fec076a20f898feabb4466a2c411158c18a100",
    "readme": "NativeScript Application"
}

Describe the bug
When running tns run android --env.aot I get a lot of errors complaining about the internal nativescript-angular modules, a subset of the errors are below

ERROR in node_modules/nativescript-angular/node_modules/@nativescript/angular/router/router.module.d.ts:13:22 - error NG6002: Appears in the NgModule.imports of LoginRoutingModule, but could not be resolved to an NgModule class.

This likely means that the library (nativescript-angular/router) which declares NativeScriptRouterModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

13 export declare class NativeScriptRouterModule {
                        ~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/nativescript-angular/node_modules/@nativescript/angular/router/router.module.d.ts:13:22 - error NG6003: Appears in the NgModule.exports of LoginRoutingModule, but could not be resolved to an NgModule, Component, Directive, or Pipe class.

This likely means that the library (nativescript-angular/router) which declares NativeScriptRouterModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

13 export declare class NativeScriptRouterModule {
                        ~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/nativescript-material-textfield/angular/index.d.ts:3:22 - error NG6003: Appears in the NgModule.exports of SharedModule, but could not be resolved to an NgModule, Component, Directive, or Pipe class.

This likely means that the library (nativescript-material-textfield/angular) which declares NativeScriptMaterialTextFieldModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

To Reproduce
Run tns run android --env.aot
Sample project
Currently a private repo, can provide if needed.
Additional context
I have also run a npm install, removed and re-added the android application.
This application also was working fine before following the Angular 9 upgrade instructions: https://github.com/NativeScript/nativescript-angular/wiki/Updating-and-developing-for-@nativescript-angular-v9-with-Ivy-or-without#problem-2

#https://github.com/NativeScript/nativescript-angular/issues/2174

Just read through that, the actual issue from that thread seems quite different to what I am experiencing

For nativescript-angular Error you can change to new npm package @nativescript/angular": "~9.0.0
Anyway you need to play with ngcc.congif.js until vendor packages will be exported the right way
  packages: {
    '@nativescript/angular': {
      entryPoints: {
        '.': {
          override: {
            main: './index.js',
            typings: './index.d.ts',
          },
          ignoreMissingDependencies: true,
        },
      },
      ignorableDeepImportMatchers: [/zone.js\//, /tns-core-modules\//, /@nativescript\/core\//],
    },
    'nativescript-datetimepicker': {
      entryPoints: {
        '.': {
          override: {
            main: './index.js',
            typings: './index.d.ts',
          },
          ignoreMissingDependencies: true,
        },
        angular: {
          override: {
            main: './index.js',
            typings: './index.d.ts',
          },
          ignoreMissingDependencies: true,
        },
      },
      ignorableDeepImportMatchers: [
        /tns-core-modules\//,
        /@nativescript\/core\//,
        /@nativescript\/angular\//,
      ],
    },
    'nativescript-ui-sidedrawer': {
      entryPoints: {
        '.': {
          override: {
            main: './ui-sidedrawer.common.js',
            typings: './index.d.ts',
          },
          ignoreMissingDependencies: true,
        },
        angular: {
          override: {
            main: './side-drawer-directives.js',
            typings: './side-drawer-directives.d.ts',
          },
          ignoreMissingDependencies: true,
        },
      },
      ignorableDeepImportMatchers: [
        /tns-core-modules\//,
        /@nativescript\/core\//,
        /@nativescript\/angular\//,
      ],
    },
    'nativescript-material-bottomnavigationbar': {
      entryPoints: {
        angular: {
          override: {
            main: './index.js',
            typings: './index.d.ts',
          },
          ignoreMissingDependencies: true,
        },
      },
      ignorableDeepImportMatchers: [
        /tns-core-modules\//,
        /@nativescript\/core\//,
        /@nativescript\/angular\//,
      ],
    },
  },
};

You can take a look at the first block refered to nativescript/angular, this reference should remove your error.
References to nativescript-angular into your code must be changed.
For nativescript-material-textfield the process follows the same pattern.
Greetings

@tidusjar Also be careful with mix-matched dependencies - I see in your posted package.json you have this in there  "nativescript-angular": "^8.21.0", alongside @nativescript/angular ~9.0.0 - You only need the ladder and should remove nativescript-angular entirely.


Revert "Empty table and empty graph"

Reverts ImperialCollegeLondon/paricia#237

The page will display an empty table and graph when the validation page is first loaded.


onShow for sideNav

Hi!
Wondering if there is a way to launch a function on show for the sideNav.
If no, are you planning to add it?
Thanks!

note that you can probably attach an on animation/transition end do catch it. pseudo code :
elems.addClass(anim/transitionClass).on(anim/transitionEndEventName, function() {//do something}

Hi,
yeah I was planning to do that but I can't figured out the name of the animEndEventName.
Do you know where I can found it?
Thanks!

You could use a MutationObserver however it is not supported on IE <11

Pretty interesting the MutationObserver! I didn't know about it.
I put a MutationObserver on attribute of the slideOut like this
  var observer = new MutationObserver(function(mutations) {
    mutations.forEach(function(mutation) {
      var target = $(mutation.target);
      //Do something
    });
  });
  var target = document.querySelector('#slide-out');
  observer.observe(target, {attributes: true});

It's working well meaning that the changes are observed but the slideOut effect is adding the class "velocity-animating" and changing the left css attribute. So what I did it's to check for the presence of the class "velocity-animating" meaning that the animation is on going and waiting for this class to disappear. Like that:
if(target.attr("class").indexOf("velocity-animating")<0){
   Materialize.showStaggeredList('#slide-out');
}

My problem now, is that at the end of the animation the left position is updated two times to 0 and the class "velocity-animating" is no longer present. So my callback is fired twice...
I am stuck here... :(
Any help please...

Finally, the simplest way is to add onComplete velocity option to sideNav.js directly. Then I can call the sideNav plugin with onShow and onHide...
I don't think it's code in a good way, so I can't make a Pull Request...

There are currently no callbacks for the sidenav


Create React component to display sorted list of contributors

Basically, we need to send an HTTP request to https://api.github.com/repos/9mbs/calendar-widgets/contributors and use that data to create an unordered list via a new React component. We'll display that component in the contributors.mdx page so visitors can see all the awesome folks who've contributed to this project.
Requirements

[x] Create a React component in the workspaces/docs directory that will display a sorted list of contributors for this repo
[ ] Styles should be consistent with the Docusaurus theme of the website
[x] Add the component to a new document  in the workspaces/docs directory titled contributors.mdx
[x] The list of contributors should be sorted by number of commits, from greatest to least.
[x] For each contributor, their GitHub username should be included and wrapped in a link that redirects to their GitHub profile.
[ ] The component should be viewable at the following URL: https://calendar-widgets.com/contributors
[x] The component should not throw any errors or warnings

Mocks:

Hi @Ankan-cyber yeah this mock represents a redesign that I wanted to implement, but am having a hard time finding the time for. If you'd like to implement just the primary component that lists the contributors, we could add this page to display that.

An alternative option here that might be easier, would be to add something like https://allcontributors.org/. We could go for something like this as well


Compile Android error: package android.support.v4.content does not exist

Issue Type

[x] Bug Report
[ ] Feature Request
[ ] Support Question

Description
Ionic v. 5.4.16, Angular 9 and<EMAIL_ADDRESS>conflict with plugin cordova-plugin-fingerprint-aio wich enables android.useAndroidX=true.
SDK android-30 or android-29 don't contain the package android.support.v4.content does not exist
Plugin cordova-plugin-androidx-adapter does not any effect.
Information
Command or Code
ionic cordova remove android
ionic cordova add android
ionic cordova build android
ionic cordova compile android <-- error here
CameraLauncher.java:42: error: package android.support.v4.content does not exist
import android.support.v4.content.FileProvider;
FileProvider.java:21: error: package android.support.v4.content does not exist
public class FileProvider extends android.support.v4.content.FileProvider {}
CameraLauncher.java:296: error: cannot find symbol
this.imageUri = FileProvider.getUriForFile(cordova.getActivity(),
CameraLauncher.java:823: error: cannot find symbol
Uri tmpFile = FileProvider.getUriForFile(cordova.getActivity(),
Environment, Platform, Device
Android 11 (30 API level);
Version information
Ionic v. 5.4.16
Gradle 6.5
Android Studio 4.x and WebStorm 2017.3
"cordova-android": "^9.0.0",
"cordova-plugin-androidx-adapter": "1.1.3",
"cordova-plugin-camera": "5.0.1",
"cordova-plugin-device": "2.0.2",
"cordova-plugin-file": "6.0.2",
"cordova-plugin-file-transfer": "1.7.1",
"cordova-plugin-fingerprint-aio": "4.0.1",
"cordova-plugin-inappbrowser": "4.0.0",
"cordova-plugin-ionic-keyboard": "2.2.0",
"cordova-plugin-ionic-webview": "5.0.0",
"cordova-plugin-splashscreen": "5.0.2",
"cordova-plugin-statusbar": "2.4.2",
"cordova-plugin-whitelist": "1.3.3",
Checklist

[x] I searched for already existing GitHub issues about this
[x] I updated all Cordova tooling to their most recent version
[x] I included all the necessary information above

Overall discussion in regards to AndroidX is at apache/cordova#69

Overall discussion in regards to AndroidX is at apache/cordova#69

See also apache/cordova-android#841 and the discussion on YT: youtube.com/watch?v=oarY6ZYj-CU, if interested.

See also apache/cordova-android#841 and the discussion on YT: youtube.com/watch?v=oarY6ZYj-CU, if interested.

use this
ionic cordova plugin add  cordova-androidx-build

@timbru31 Agree that overall discussion is at apache/cordova#69, but what is best practice for users of this plugin at this point?

The latest release of this plugin is compatible with the latest release of cordova-android platform.


Unable to receive the json responce to the source

Description:
I am trying to connect to the github api through a siddhi app using the bellow code,
@app:name("SiddhiAppGitHub2")
@app:description("Description of the plan")
@sink(type='http-request' , publisher.url='https://api.github.com/repos/wso2/product-sp/releases', method='GET', sink.id='releases_data', @Map(type='json'))
define stream GitReleaseInputStream(state string);
@source(type='http-response' , sink.id='release_data', http.status.code='200', @Map(type='json', @attributes(state='$.assets.[0].state')))
define stream GitReleaseCatchInputStream(state string);
@sink(type='log')
define stream GitReleaseOutputStream(state string);
from GitReleaseCatchInputStream
select state
insert into GitReleaseOutputStream;
But I am not getting a response. Bellow is the response I received when I requested through "Postman"

moved to
https://github.com/wso2-extensions/siddhi-io-http/issues/80#issue-363445629


Fix usage of errno in POSIX semaphore error handling

Previous commit 98ae0186e93 changed the err variable to errno, which is not the return value we are looking for.
Fixes #11118.

This is the proper fix. Please read the whole file to see how errno is being used to initialize it correctly for outer consumers. It is never used as an internal status.

Ok, I see what's going on. I misread the pthread_cond_timedwait spec. It actually does return the errno or 0.
http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_cond_timedwait.html
This means the lockstep implementation is wrong and needs to be changed as well.

Please hold off with merging this because I think it might cause output or errors for the lockstep implementation. I'll fix the lockstep API and then include this fix.

Please also note that errno is a GLOBAL variable and a leftover from the very, very early days of single-thread operating systems. You should never use the variable directly in a modern implementation because of that.

In addition, all POSIX.1c functions avoid using errno and, instead, return the error number directly as the function return value, with a return value of zero indicating that no error was detected. This strategy is, in fact, being followed on a POSIX-wide basis for all new functions.

http://pubs.opengroup.org/onlinepubs/009695399/functions/errno.html
http://www.unix.org/whitepapers/reentrant.html

Right, makes perfect sense.
So this will need to change :smile::
https://github.com/PX4/Firmware/blob/065f97e87ba76664b8db8b7a35507e3ecf2afec7/platforms/posix/src/lockstep_scheduler/src/lockstep_scheduler.cpp#L82-L85

Ah, now I get it. The confusion came from the API of sem_timedwait which uses errno.
http://pubs.opengroup.org/onlinepubs/9699919799/functions/sem_timedwait.html

@LorenzMeier I've added commits to change the API of the lockstep scheduler, and also to set errno of sem_timedwait. I think this is correct now. I'd appreciate a review.