can ent support for go build tags

I use remote and local databases to manage my data.
Some of these data sheets are the same, some are different.
If ent can support go's build tags, so I can directly compile the client and server through the build tags

[X ] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

If I add a tag used ent init, the generated code should be commented accordingly.
//+build tags
package xxx
....

Motivation 🔦

I want to manage both local and remote data tables, but now I don't know how to do it.

Hey @godcong 😃
Build tags are not support atm, but I'm pretty sure we can support this. Can you elaborate more on your use case? Are we talking about build-tags on the schema package or on the generated assets?

We are used a distributed system
Our architecture is that the server and the client use the same set of codes
But the server will be marked in the node
Sometimes the client will request some data from the server
type Information struct {
  //xxx
}

//only server has this table
type NodeInformation struct{
  ClientID int
  InformationID int
  //xxx
}

Information are both in server and client
NodeInformation was only created on the server
The server manages the Information that the client can obtain
NodeInformation needs to be managed separately on the server, but these tables do not need to be created on the client
I hope there is a way to distinguish between server and client
Not necessarily go build tag, but I think go build tag can solve my current problem very well

now, i had other ways to resolved this.

The issue was resolved with https://github.com/ent/ent/pull/2801.
Thanks for suggesting this, @godcong.


List view: Add a section to add a footer in the table

In the file located at resources/views/modules/default/list/main.blade.php, it would be great to add a new section @yield('datatable-columns-footer') after </tbody>.
This could be used to add total rows for example.

Done!


Add triple quote support for Java syntax highlighting

Fixes https://github.com/redhat-developer/vscode-java/issues/2896
Before:

After:

@microsoft-github-policy-service agree company="Red Hat"

Note : The reason this change is being proposed directly in the generated java.tmLanguage.json is because the repository containing the original resource, https://github.com/atom/language-java/blob/master/grammars/java.cson, is now read-only since December 2022. The "information_for_contributors" may need to be updated also.

Our path forward for the java grammar would then be to find a new repo to pull from, or to do as we have done with the CSS grammar and create a new repo ourselves. The issue for finding a new repo is here: https://github.com/microsoft/vscode/issues/167913

@hopehadfield would you consider owning the Java grammar over in https://github.com/redhat-developer/vscode-java? VS Code would then pull the grammar in once per release or when we know there's a bugfix we need to pick up.

That sounds good. I'll create the grammar in https://github.com/redhat-developer/vscode-java with the triple quote support and link it here once it's merged.

@hopehadfield that's great news. Will you be able to license the grammar as MIT to make it easy for us to consume?

@alexr00 great. You can find the grammar with the changes outlined in this PR at https://github.com/redhat-developer/vscode-java/blob/master/language-support/java/java.tmLanguage.json. Please let me know if there's anything else outstanding, otherwise I can close this

@hopehadfield awesome! Two comments:

The file still has the information_for_contributors and version pointing to the atom repo, which you may want to update.
Is there somewhere in the repo that indicates that the grammar file specifically is still MIT licensed?

@alexr00 the above PR addresses both comments. information_for_contributors was updated and now reflects that the grammar file is MIT licensed.

Thanks @hopehadfield! We're adopting the new grammar here: https://github.com/microsoft/vscode/pull/188361
I will forward issues that user file about the grammar to  https://github.com/redhat-developer/vscode-java and will generally pull in updates once per month.


various aesthetic fixes

@Houski Got some conflicts to resolve

@Houski Got some conflicts to resolve

Sorry, just saw this now. I believe everything is fixed!


PnP PowerShell May 2018 Release

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/docs-conceptual/sharepoint-pnp/sharepoint-pnp-cmdlets.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPField.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPListItem.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPNavigationNode.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPSiteCollectionAppCatalog.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Apply-PnPProvisioningTemplate.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Approve-PnPTenantServicePrincipalPermissionRequest.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Connect-PnPOnline.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Deny-PnPTenantServicePrincipalPermissionRequest.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Disable-PnPPowerShellTelemetry.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Disable-PnPTenantServicePrincipal.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Enable-PnPPowerShellTelemetry.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Enable-PnPTenantServicePrincipal.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Get-PnPAccessToken.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Get-PnPGroup.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Get-PnPInPlaceRecordsManagement.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Get-PnPListInformationRightsManagement.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Get-PnPNavigationNode.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Get-PnPPowerShellTelemetryEnabled.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Get-PnPStorageEntity.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Get-PnPTenantServicePrincipal.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Get-PnPTenantServicePrincipalPermissionGrants.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Get-PnPTenantServicePrincipalPermissionRequests.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/New-PnPAzureCertificate.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Remove-PnPStorageEntity.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Revoke-PnPTenantServicePrincipalPermission.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Set-PnPClientSideWebPart.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Set-PnPInPlaceRecordsManagement.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Set-PnPList.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Set-PnPListInformationRightsManagement.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Set-PnPListItem.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Set-PnPStorageEntity.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Set-PnPTenant.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Set-PnPTenantSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-pnp/Set-PnPWebTheme.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

thx Erwin, slightly delayed on my side, but better late than never.


Fix RIAK-2169, error with counter 'dropped_vnode_requests' -- was inc [JIRA: RIAK-2203]

…orrectly named dropped_vnode_requests_total, which is the stats projection

I can see the change and it looks ok, but why do you say dropped_vnode_requests_total is incorrect and dropped_vnode_requests is correct, where is this specified/decided?

What I mean is that the original stat when added was called dropped_vnode_requests_total https://github.com/basho/riak_core/commit/d1979e16f0531374508d76ce56e763b0f9db852d so why the name change?

@russelldb "dropped_vnode_requests" is the original metric here: https://github.com/basho/riak_core/blob/9251173dd9fb3213137d2e0b56f7ac680c3404a2/src/riak_core_vnode_proxy.erl#L275 -- what we eventually would want to do is change it to also show the rate (gauge) of dropped_vnode_requests

How to test? Just run curl the riak/stats endpoint?
What is the before patch/after patch state expected outcome?

Yeah - The existing behaviour when you curled stats, and looked at dropped_vnode_requests_total was it would always show 0. Now, if you run riak_core_stat:update(dropped_vnode_requests), and curl it, it increments.

create jira issue

[~drohrer]Can you review or assign someone to merge the PR?
[posted via JIRA by Seema Jethani]

Hi Seema,
Thanks for using the new functionality "create jira issue".  Just a heads
up.....I looked into the one you created and it had the problem Kota
mentioned where JIRA bot is changing the name of the story.  I will go in
and fix it. I forwarded this one and the initial issue to Derek so we can
figure out what needs to happen.  We don't want the name to get changed as
it should match the initial PR.
Patti
On Wed, Sep 23, 2015 at 2:47 PM, Basho JIRA bot<EMAIL_ADDRESS>wrote:

[~drohrer]Can you review or assign someone to merge the PR?
[posted via JIRA by Seema Jethani]
—
Reply to this email directly or view it on GitHub
https://github.com/basho/riak_core/pull/781#issuecomment-142739845.

--
Patricia Brewer
Skype: pbrewer77
Sr Program Manager
Basho Technologies, Reno

Unit tests and verify_riak_stats all pass.

:+1: cc1fd72

@javajolt did you check the output as described by Sargun above? Riak Test always passed.

@russelldb Yes, I checked the stat is now properly getting updated
 "dropped_vnode_requests_total" : 2,

@borshop retry

2.0.8 PR: https://github.com/basho/riak_core/pull/894
[posted via JIRA by Brian Sparrow]


Severe error message.

I keep getting this error when running any ares commands on a new installation of webos-tools/cli. I installed it on a Windows 11 machine via npm install -g @webos-tools/cli.

I have the latest version installed and have reinstalled multiple times. npm update does not fix anything either.

@TehDomic
Currently, ARES-CLI ] is recommended use Nodejs version from v14.15.1 to v16.20.2, as I checked this error will display from Nodejs v21. Please refer  https://nodejs.org/api/deprecations.html#DEP0040 for more detail.
Thank you!

Temporary Solutation
@TehDomic They are right. Here in this screenshot I have tried both Node v21 and Node v16. The warning no longer exists with Node v16. You can use nvm (Node Version Manager) to manage and swich among multiple version of Node.
Permanent Solution
Dear Developers/Contributers and @nhamkthd I hope there may be some bigger reason/issue to not support the latest version of internally used packages and latest node version.
I understand there are only a few developers who develop for WebOS, but supporting the latest version matters.
I hope you will support latest version soon.
Thanks
Abhishek Kumar


IUO adjustments (NFC)

These types are not supposed to be optional in the context.  Remove the
optionality.  This allows building on Windows.

@swift-ci please smoke test


fix setTimeout memory leak

setInterval should be cleared manually, but setTimeout should be cleared automatically.
My pull request fixes leak problem.
Reproduce:
class LeakObject {
    private var timeout:UInt;

    public function new() {
        timeout = openfl.Lib.setTimeout(leak, 1000);
    }

    private function leak():Void
    {
        //If clearTimeout not work, a memory leak occurs.
        //openfl.Lib.clearTimeout(timeout);
        trace("LeakObject never released from memory!");
    }
}

Maybe just call __timers.remove(id) instead of clearTimeout(id). Not a big deal, but clearTimeout() also calls timer.stop(), which is redundant.

Maybe just call __timers.remove(id) instead of clearTimeout(id). Not a big deal, but clearTimeout() also calls timer.stop(), which is redundant.

Yes, you are right

Maybe just call __timers.remove(id) instead of clearTimeout(id). Not a big deal, but clearTimeout() also calls timer.stop(), which is redundant.

Thanks i fixed

Can you move __timers.remove(id) before the call to Reflect.callMethod()? While it's probably unlikely to happen, the called method could have side effects that modify __timers. Best to be safe.
After that change, I'll be happy to merge.


verify if the application is buildable

Updated test step of the yaml to verify if the application can be built. This is needed to check the OSS build.

Love it @marko-gacesa


Can't pack dotnet 8 (in gcp and locally)

I tried to pack your reference dotnet-project (https://github.com/GoogleCloudPlatform/buildpack-samples/tree/master/sample-dotnet) by documentation and received the error:
[builder] ERROR: failed to build: exit status 1
ERROR: failed to build: executing lifecycle: failed with status code: 51
I checked the Go and Java-gradle versions, and they were built successfully.
Also, I tried to publish my own dotnet app to Cloud Run and received the same messages.
Bellow full verbose
e.peshkov@epeshkov-MacBook-Pro sample-dotnet % pack build --builder=gcr.io/buildpacks/builder sample-dotnet --verbose
Builder gcr.io/buildpacks/builder is untrusted
As a result, the phases of the lifecycle which require root access will be run in separate trusted ephemeral containers.
For more information, see https://medium.com/buildpacks/faster-more-secure-builds-with-pack-0-11-0-4d0c633ca619
Pulling image gcr.io/buildpacks/builder:latest
latest: Pulling from buildpacks/builder
Digest: sha256:f2a01bf2d0502af2175f3af0a4d16a558d8cb056980ec39469559b013775654a
Status: Image is up to date for gcr.io/buildpacks/builder:latest
CheckReadAccess succeeded for the run image gcr.io/buildpacks/google-22/run
Selected run image gcr.io/buildpacks/google-22/run
Pulling image gcr.io/buildpacks/google-22/run with platform linux/amd64
latest: Pulling from buildpacks/google-22/run
Digest: sha256:f64ca5a9c953581fd780dc9df6f5fd13677fa2fc7602d7a4316c50bd774ad7cb
Status: Image is up to date for gcr.io/buildpacks/google-22/run:latest
Pulling image buildpacksio/lifecycle:0.17.7 with platform linux/amd64
0.17.7: Pulling from buildpacksio/lifecycle
Digest: sha256:42e2ea1eec79c769a4c301cbb3536890d8d3860effde4034d8c6fc57f93f9587
Status: Image is up to date for buildpacksio/lifecycle:0.17.7
Creating ephemeral lifecycle from buildpacksio/lifecycle:0.17.7 with uid 1000 and gid 1000. With workspace dir
Selecting ephemeral lifecycle image pack.local/lifecycle/746f737a66646b617276:latest for build
Using build cache volume pack-cache-library_sample-dotnet_latest-1115be1eff1b.build
Created ephemeral bridge network pack.local-network-7171646b706875746a6b with ID 85336d1bc8a30942c3dc4efc1abbe559af6798cae49463abf184ac19d5159efc
===> ANALYZING
Running the analyzer on OS linux from image pack.local/lifecycle/746f737a66646b617276:latest with:
Container Settings:
Args: /cnb/lifecycle/analyzer -log-level debug -daemon -run /layers/run.toml -run-image gcr.io/buildpacks/google-22/run -launch-cache /launch-cache sample-dotnet
System Envs: CNB_USER_ID=1000 CNB_GROUP_ID=1000 CNB_PLATFORM_API=0.12
Image: pack.local/lifecycle/746f737a66646b617276:latest
User: root
Labels: map[author:pack]
Host Settings:
Binds: /var/run/docker.sock:/var/run/docker.sock pack-cache-library_sample-dotnet_latest-1115be1eff1b.launch:/launch-cache pack-layers-fxonqqhacq:/layers pack-app-qgtlwrxnrw:/workspace
Network Mode: pack.local-network-7171646b706875746a6b
[analyzer] Starting analyzer...
[analyzer] Parsing inputs...
[analyzer] Ensuring privileges...
[analyzer] Executing command...
[analyzer] Timer: Analyzer started at 2024-08-18T20:52:48Z
[analyzer] Image with name "sample-dotnet" not found
[analyzer] Found image with identifier "857ec7818c92f1d8317c35ba4d3bb366e2a2c42b2f13e93dbd2ba3930542657d"
[analyzer] Timer: Analyzer ran for 436.375µs and ended at 2024-08-18T20:52:48Z
[analyzer] Run image info in analyzed metadata is:
[analyzer] {"Reference":"857ec7818c92f1d8317c35ba4d3bb366e2a2c42b2f13e93dbd2ba3930542657d","Image":"gcr.io/buildpacks/google-22/run","Extend":false,"target":{"os":"linux","arch":"amd64"}}
===> DETECTING
Running the detector on OS linux from image gcr.io/buildpacks/builder:latest with:
Container Settings:
Args: /cnb/lifecycle/detector -app /workspace -log-level debug
System Envs: CNB_PLATFORM_API=0.12
Image: gcr.io/buildpacks/builder:latest
User:
Labels: map[author:pack]
Host Settings:
Binds: pack-layers-fxonqqhacq:/layers pack-app-qgtlwrxnrw:/workspace
Network Mode: pack.local-network-7171646b706875746a6b
[detector] Starting detector...
[detector] Parsing inputs...
[detector] Ensuring privileges...
[detector] Executing command...
[detector] Timer: Detector started at 2024-08-18T20:52:48Z
[detector] ======== Output<EMAIL_ADDRESS>========
[detector] Opting in: found project files: ./helloworld.csproj
[detector] ======== Output<EMAIL_ADDRESS>========
[detector] Opting out: GOOGLE_FUNCTION_TARGET not set
[detector] ======== Output<EMAIL_ADDRESS>========
[detector] Opting in: found project files: ./helloworld.csproj
[detector] ======== Output<EMAIL_ADDRESS>========
[detector] Opting in: found project files: ./helloworld.csproj
[detector] ======== Output<EMAIL_ADDRESS>========
[detector] Opting out: GOOGLE_ENTRYPOINT not set, no valid entrypoint in app.yaml and Procfile not found
[detector] ======== Output<EMAIL_ADDRESS>========
[detector] Opting in: always enabled
[detector] ======== Results ========
[detector] pass<EMAIL_ADDRESS>[detector] skip<EMAIL_ADDRESS>[detector] pass<EMAIL_ADDRESS>[detector] pass<EMAIL_ADDRESS>[detector] skip<EMAIL_ADDRESS>[detector] pass<EMAIL_ADDRESS>[detector] Resolving plan... (try #1)
[detector] 4 of 6 buildpacks participating
[detector] google.dotnet.sdk        0.9.1
[detector] google.dotnet.publish    0.9.0
[detector] google.dotnet.runtime    0.9.1
[detector] google.utils.label-image 0.0.2
[detector] Timer: Detector ran for 67.283167ms and ended at 2024-08-18T20:52:48Z
===> RESTORING
Running the restorer on OS linux from image pack.local/lifecycle/746f737a66646b617276:latest with:
Container Settings:
Args: /cnb/lifecycle/restorer -cache-dir /cache -daemon -log-level debug
System Envs: CNB_USER_ID=1000 CNB_GROUP_ID=1000 CNB_PLATFORM_API=0.12
Image: pack.local/lifecycle/746f737a66646b617276:latest
User: root
Labels: map[author:pack]
Host Settings:
Binds: pack-cache-library_sample-dotnet_latest-1115be1eff1b.build:/cache /var/run/docker.sock:/var/run/docker.sock pack-layers-fxonqqhacq:/layers pack-app-qgtlwrxnrw:/workspace
Network Mode: pack.local-network-7171646b706875746a6b
[restorer] Starting restorer...
[restorer] Parsing inputs...
[restorer] Ensuring privileges...
[restorer] Executing command...
[restorer] Timer: Restorer started at 2024-08-18T20:52:49Z
[restorer] Restoring Layer Metadata
[restorer] Reading buildpack directory: /layers/google.dotnet.sdk
[restorer] Reading buildpack directory: /layers/google.dotnet.publish
[restorer] Reading buildpack directory: /layers/google.dotnet.runtime
[restorer] Reading buildpack directory: /layers/google.utils.label-image
[restorer] Reading Buildpack Layers directory /layers
[restorer] Reading buildpack directory: /layers/google.dotnet.sdk
[restorer] Reading Buildpack Layers directory /layers
[restorer] Reading buildpack directory: /layers/google.dotnet.publish
[restorer] Reading Buildpack Layers directory /layers
[restorer] Reading buildpack directory: /layers/google.dotnet.runtime
[restorer] Reading Buildpack Layers directory /layers
[restorer] Reading buildpack directory: /layers/google.utils.label-image
[restorer] Timer: Restorer ran for 1.05325ms and ended at 2024-08-18T20:52:49Z
===> BUILDING
Running the builder on OS linux from image gcr.io/buildpacks/builder:latest with:
Container Settings:
Args: /cnb/lifecycle/builder -app /workspace -log-level debug
System Envs: CNB_PLATFORM_API=0.12
Image: gcr.io/buildpacks/builder:latest
User:
Labels: map[author:pack]
Host Settings:
Binds: pack-layers-fxonqqhacq:/layers pack-app-qgtlwrxnrw:/workspace
Network Mode: pack.local-network-7171646b706875746a6b
[builder] Starting builder...
[builder] Parsing inputs...
[builder] Ensuring privileges...
[builder] Executing command...
[builder] Timer: Builder started at 2024-08-18T20:52:49Z
[builder] Running build for buildpack<EMAIL_ADDRESS>[builder] Looking up buildpack
[builder] Finding plan
[builder] Creating plan directory
[builder] Preparing paths
[builder] Running build command
[builder] === .NET - Sdk<EMAIL_ADDRESS>===
[builder] Looking for global.json in /workspace
[builder] Using latest stable .NET Core SDK version
[builder] 2024/08/18 20:52:49 [DEBUG] GET https://dl.google.com/runtimes/ubuntu2204/dotnetsdk/version.json
[builder] ***** CACHE MISS: "dotnetsdk"
[builder] Installing .NET SDK v8.0.401.
[builder] 2024/08/18 20:52:49 [DEBUG] GET https://dl.google.com/runtimes/ubuntu2204/dotnetsdk/dotnetsdk-8.0.401.tar.gz
[builder] Processing layers
[builder] Updating environment
[builder] Reading output files
[builder] Updating buildpack processes
[builder] Updating process list
[builder] Finished running build for buildpack<EMAIL_ADDRESS>[builder] Running build for buildpack<EMAIL_ADDRESS>[builder] Looking up buildpack
[builder] Finding plan
[builder] Creating plan directory
[builder] Preparing paths
[builder] Running build command
[builder] === .NET - Publish<EMAIL_ADDRESS>===
[builder] Installing application dependencies.
[builder] ***** CACHE MISS: "packages"
[builder] ***** CACHE MISS: "prod dependencies"
[builder] --------------------------------------------------------------------------------
[builder] Running "dotnet restore --packages /layers/google.dotnet.publish/packages ./helloworld.csproj (DOTNET_CLI_TELEMETRY_OPTOUT=true)"
[builder]
[builder] Welcome to .NET 8.0!
[builder] ---------------------
[builder] SDK Version: 8.0.401
[builder]
[builder] ----------------
[builder] Installed an ASP.NET Core HTTPS development certificate.
[builder] To trust the certificate, view the instructions: https://aka.ms/dotnet-https-linux
[builder]
[builder] ----------------
[builder] Write your first app: https://aka.ms/dotnet-hello-world
[builder] Find out what's new: https://aka.ms/dotnet-whats-new
[builder] Explore documentation: https://aka.ms/dotnet-docs
[builder] Report issues and find source on GitHub: https://github.com/dotnet/core
[builder] Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
[builder] --------------------------------------------------------------------------------------
[builder] Done "dotnet restore --packages /layers/google.dotnet.publish/pack..." (1.089642542s)
[builder] --------------------------------------------------------------------------------
[builder] failed to build: (error ID: ce40b84e):
[builder] Welcome to .NET 8.0!
[builder] ---------------------
[builder] SDK Version: 8.0.401
[builder]
[builder] ----------------
[builder] Installed an ASP.NET Core HTTPS development certificate.
[builder] To trust the certificate, view the instructions: https://aka.ms/dotnet-https-linux
[builder]
[builder] ----------------
[builder] Write your first app: https://aka.ms/dotnet-hello-world
[builder] Find out what's new: https://aka.ms/dotnet-whats-new
[builder] Explore documentation: https://aka.ms/dotnet-docs
[builder] Report issues and find source on GitHub: https://github.com/dotnet/core
[builder] Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
[builder] --------------------------------------------------------------------------------------
[builder] --------------------------------------------------------------------------------
[builder] Sorry your project couldn't be built.
[builder] Our documentation explains ways to configure Buildpacks to better recognise your project:
[builder]  -> https://cloud.google.com/docs/buildpacks/overview
[builder] If you think you've found an issue, please report it:
[builder]  -> https://github.com/GoogleCloudPlatform/buildpacks/issues/new
[builder] --------------------------------------------------------------------------------
[builder] Timer: Builder ran for 12.588935673s and ended at 2024-08-18T20:53:01Z
[builder] ERROR: failed to build: exit status 1
ERROR: failed to build: executing lifecycle: failed with status code: 51

@jama22 you wrote the sample years ago. It is still working?

I'm unable to reproduce this. I also deployed via gcloud run deploy --source .


Selecting multiple values adds concatenated values to drop down

Description of the problem
When selecting multiple values in the drop down, value saves correctly to backing field - but when we come back into the work item the multi select drop down has a new item which is the combined value.
For example, first time:

When we go back into the item the drop down looks like this:

Field configuration
Backing Field:

Picklist (string)
Allow users to enter their own values (CHECKED)

Control Extension

Allow users to enter their own value (NOT CHECKED) <- but doesn't work either way.

Workaround

Using a label as a backing field and putting the selection values in the "Choose values for the control." field works. But it would be nicer if we could use a Picklist as the backing field

We have set this up multiple times before and not had an issue - so I'm pretty sure we aren't configuring anything wrong.
Version
We are using Azure DevOps - Control Version 2.2.35
❤ BTW, thanks for providing the control, appreciate your work!

Thanks for reporting.

I have the same issue - has anybody figured out why this is happening or attempted to address it?


No Option to Disable Photo Watermarks

The photo watermark is a really unnecessary feature and we can't even disable it. Could you please make it optional to use watermark feature in new versions of PH7CMS?

You don't think that your user would like to be protected from getting their picture harvested on your website ?

No. You should take a look at Facebook, Tagged, DateinAsia and many other social media and dating websites. Think like pros. This is not a school project.

FYI - Facebook does tag picture using EXIF. You just don't see it ;-)
Also, I don't think no one would invest as many hours in a "school project" and as you say, if you consider this a "school project" then maybe you should contribute too as a team work instead on taking only the benefit of others work.

and what is your contribution here? Killing questions?

Hey @kevinbkk
Good question! This feature should be added soon :)
Don't forget to become a patreon, today :) https://www.patreon.com/bePatron?u=3534366

Thanks mate for fixing it. About your business plan I would suggest you to build mobile app based on your script and I'll be the first one to purchase it. You can easily sell the mobile app for $79. But keep the desktop version free. It's the best business plan I can think about your script.

There's already a Android version.
https://github.com/pH7Software/Social-Dating-Android-App

@kevinbkk I understand! If you want to help me having more time developing a React mobile app or so, that would be very grateful from you to become a Patreon from today. The sooner, the sooner it will be delivered.

@polynamaude I think Kevin doesn't want a webview app, but a real one...


[docs] #96: Add a topic about permissions

@Arjentix could you please review this new tutorial chapter about permissions?

Please, add a note, that permissions system will be rewritten soon (I think we will start this at autumn).

There will be no predefined tokens in Iroha 2. All tokens will be defined by users with Register instruction
There will be no predefined validators. All of them will be rewritten as WASM smart contracts. Probably they will be distributed with Iroha 2. Probably in another repository. We don't know now

Ok, I'll add this note.
Predefined tokens are used in the LTS version, right? We are adding versioning to the tutorial, so we need to make sure that at least for the LTS version we have permissions documented.

@Arjentix I've addressed your comments, please review

Predefined tokens are used in the LTS version, right? We are adding versioning to the tutorial, so we need to make sure that at least for the LTS version we have permissions documented.

Yes, they are used in LTS


Comment modal for Edit Request

When creating an edit request, users should be able to provide a reasoning to why they want to edit the request. This will make it easier for the admins to understand the reasons behind the change. This goes both ways, when admins want to reject a request, and users should know why their request got rejected.
Dod
Create a comment modal that pops up upon creating/rejecting an edit request that gets passed to the emails. The comment modal should look like the Figma mock up
https://www.figma.com/file/llP34TwOrBUjUGey9PUu6c/Platform-Registry?type=design&node-id=821-31889&mode=design

The Comment Modal is showing up on Rejection. After leaving a comment it is shown in the Rejection Email:
Private Zenhub Image


WebPushHeadersShape only allows positive-integer, but need non-empty-string

Describe the issue you are experiencing
We use CloudMessaging to send pushnotifications in our project.
The type of the parameter 'TTL' in the WebPushHeadersShape (WebPushConfig.php) has changed from string to positive-int.
But if we send the web push with TTL as a positive-int, the web push does not work anymore:
Invalid value at 'message.webpush.headers[0].value' (TYPE_STRING)
So we have to cast it to a string before sending it. But PHPStan complains about this:
Parameter #1 $config of static method Kreait\Firebase\Messaging\WebPushConfig::fromArray() expects array{headers?: array{TTL?: int<1, max>, Urgency?: 'high'|'low'|'normal'|'very-low'}, data?: array<non-empty-string,
non-empty-string>, notification?: array{title: non-empty-string, options?: array{dir?: 'auto'|'ltr'|'rtl', lang?: string, badge?: non-empty-string, body?: non-empty-string, tag?: non-empty-string, icon?: non-empty-string,
image?: non-empty-string, data?: mixed, ...}}, fcm_options?: array{link?: non-empty-string, analytics_label?: non-empty-string}}, array{headers: array{TTL: numeric-string}} given.
Can you fix this, so we can use a string value for the TTL again, without adding exceptions to the PHPStan baseline?
Thanks!
Installed packages
adbario/php-dot-notation           3.1.1                 PHP dot notation access to arrays
aws/aws-crt-php                    v1.0.2                AWS Common Runtime for PHP
aws/aws-sdk-php                    3.229.2               AWS SDK for PHP - Use Amazon Web Services in your PHP project
beberlei/assert                    v3.3.2                Thin assertion library for input validation in business models.
beberlei/doctrineextensions        v1.3.0                A set of extensions to Doctrine 2 that add support for additional query functions available in MySQL, Oracle, PostgreSQL and SQLite.
behat/gherkin                      v4.9.0                Gherkin DSL parser for PHP
beste/clock                        2.1.0                 A collection of Clock implementations
beste/json                         1.0.0                 A simple JSON helper to decode and encode JSON
bolivir/laravel-doctrine-sanctum   v1.1.1                Laravel doctrine integration for the official laravel-sanctum package
brianium/paratest                  v6.5.1                Parallel testing for PHP
brick/math                         0.9.3                 Arbitrary-precision arithmetic library
bugsnag/bugsnag                    v3.28.0               Official Bugsnag notifier for PHP applications.
bugsnag/bugsnag-laravel            v2.24.0               Official Bugsnag notifier for Laravel applications.
bugsnag/bugsnag-psr-logger         v2.0.0                Official Bugsnag PHP PSR Logger.
cbschuld/browser.php               v1.9.6                A PHP Class to detect a user's Browser.  This encapsulation provides a breakdown of the browser and the version of the browser using the browser's user-agent string.  Thi...
cloudstek/scim-filter-parser       v3.0.0                Parser for the SCIM (IETF RFC 7644, System for Cross-domain Identity Management) filter syntax.
codeception/codeception            5.0.0-RC5             BDD-style testing framework
codeception/lib-asserts            2.0.0                 Assertion methods used by Codeception core and Asserts module
codeception/lib-innerbrowser       3.1.1                 Parent library for all Codeception framework modules and PhpBrowser
codeception/lib-web                1.0.0                 Library containing files used by module-webdriver and lib-innerbrowser or module-phpbrowser
codeception/lib-xml                1.0.0                 Files used by module-rest and module-soap
codeception/module-asserts         3.0.0                 Codeception module containing various assertions
codeception/module-laravel         dev-codecept5 34e261a Codeception module for Laravel framework
codeception/module-rest            3.1.0                 REST module for Codeception
codeception/stub                   4.0.2                 Flexible Stub wrapper for PHPUnit's Mock Builder
composer/ca-bundle                 1.3.2                 Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.
composer/pcre                      3.0.0                 PCRE wrapping library that offers type-safe preg_* replacements.
composer/semver                    3.3.1                 Semver library that offers utilities, version constraint parsing and validation.
composer/xdebug-handler            3.0.3                 Restarts a process without Xdebug.
dflydev/dot-access-data            v3.0.1                Given a deep data structure, access data by dot notation.
doctrine/annotations               1.13.2                Docblock Annotations Parser
doctrine/cache                     1.13.0                PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and others.
doctrine/collections               1.6.8                 PHP Doctrine Collections library that adds additional functionality on top of PHP arrays.
doctrine/common                    3.3.0                 PHP Doctrine Common project is a library that provides additional functionality that other Doctrine projects depend on such as better reflection support, proxies and much...
doctrine/data-fixtures             1.5.3                 Data Fixtures for all Doctrine Object Managers
doctrine/dbal                      2.13.9                Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.
doctrine/deprecations              v0.5.3                A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.
doctrine/event-manager             1.1.1                 The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.
doctrine/inflector                 2.0.4                 PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.
doctrine/instantiator              1.4.1                 A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer                     1.2.3                 PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
doctrine/migrations                3.4.2                 PHP Doctrine Migrations project offer additional functionality on top of the database abstraction layer (DBAL) for versioning your database schema and easily deploying ch...
doctrine/orm                       2.12.3                Object-Relational-Mapper for PHP
doctrine/persistence               2.5.3                 The Doctrine Persistence project is a set of shared interfaces and functionality that the different Doctrine object mappers share.
dragonmantank/cron-expression      v3.3.1                CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
drjdr/laravel-chunk-upload         1.6.1                 Service for chunked upload with several js providers
egulias/email-validator            3.2.1                 A library for validating emails against several RFCs
evenement/evenement                v3.0.1                Événement is a very simple event dispatching library for PHP
ezyang/htmlpurifier                v4.13.0               Standards compliant HTML filter written in PHP
facade/ignition-contracts          1.0.2                 Solution contracts for Ignition
fakerphp/faker                     v1.19.0               Faker is a PHP library that generates fake data for you.
fig/http-message-util              1.1.5                 Utility classes and constants for use with PSR-7 (psr/http-message)
filp/whoops                        2.14.5                php error handling for cool kids
firebase/php-jwt                   v6.2.0                A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.
friendsofphp/php-cs-fixer          v3.8.0                A tool to automatically fix PHP code style
friendsofphp/proxy-manager-lts     v1.0.7                Adding support for a wider range of PHP versions to ocramius/proxy-manager
fruitcake/php-cors                 v1.2.0                Cross-origin resource sharing library for the Symfony HttpFoundation
google/auth                        v1.21.1               Google Auth Library for PHP
google/cloud-core                  v1.46.1               Google Cloud PHP shared dependency, providing functionality useful to all components.
google/cloud-storage               v1.27.1               Cloud Storage Client for PHP
google/crc32                       v0.1.0                Various CRC32 implementations
graham-campbell/result-type        v1.0.4                An Implementation Of The Result Type
guzzlehttp/guzzle                  7.4.5                 Guzzle is a PHP HTTP client library
guzzlehttp/promises                1.5.1                 Guzzle promises library
guzzlehttp/psr7                    2.4.0                 PSR-7 message implementation that also provides common utility methods
hamcrest/hamcrest-php              v2.0.1                This is the PHP port of Hamcrest Matchers
intervention/image                 2.7.2                 Image handling and manipulation library with support for Laravel integration
jean85/pretty-package-versions     2.0.5                 A library to get pretty versions strings of installed dependencies
jms/metadata                       2.6.1                 Class/method/property metadata management in PHP
jms/serializer                     3.17.1                Library for (de-)serializing data of any complexity; supports XML, JSON, and YAML.
justinrainbow/json-schema          5.2.11                A library to validate a json schema.
kreait/firebase-php                6.6.0                 Firebase Admin SDK
kreait/firebase-tokens             3.0.2                 A library to work with Firebase tokens
laminas/laminas-code               4.5.1                 Extensions to the PHP Reflection API, static code scanning, and code generation
laravel-doctrine/extensions        1.x-dev 84941b4       Doctrine extensions for Doctrine 2 and Laravel
laravel-doctrine/migrations        v3.0.2                Doctrine Migrations for Laravel
laravel-doctrine/orm               1.8.1                 A Doctrine ORM bridge for Laravel 5
laravel/framework                  v9.19.0               The Laravel Framework.
laravel/helpers                    v1.5.0                Provides backwards compatibility for helpers in the latest Laravel release.
laravel/horizon                    v5.9.8                Dashboard and code-driven configuration for Laravel queues.
laravel/sanctum                    v2.14.2               Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.
laravel/serializable-closure       v1.2.0                Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.
laravel/tinker                     v2.7.2                Powerful REPL for the Laravel framework.
lcobucci/clock                     2.2.0                 Yet another clock abstraction
lcobucci/jwt                       4.1.5                 A simple library to work with JSON Web Token and JSON Web Signature
league/commonmark                  2.3.3                 Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)
league/config                      v1.1.1                Define configuration arrays with strict schemas and access values with dot notation
league/csv                         9.8.0                 CSV data manipulation made easy in PHP
league/flysystem                   3.1.0                 File storage abstraction for PHP
league/flysystem-aws-s3-v3         3.0.22                AWS S3 filesystem adapter for Flysystem.
league/mime-type-detection         1.11.0                Mime-type detection for Flysystem
messagebird/php-rest-api           v1.20.0               MessageBird REST API client for PHP
mews/purifier                      3.3.7                 Laravel 5/6/7 HtmlPurifier Package
mockery/mockery                    1.5.0                 Mockery is a simple yet flexible PHP mock object framework
monolog/monolog                    2.7.0                 Sends your logs to files, sockets, inboxes, databases and various web services
mtdowling/jmespath.php             2.6.1                 Declaratively specify how to extract elements from a JSON document
myclabs/deep-copy                  1.11.0                Create deep copies (clones) of your objects
neomerx/json-api                   v4.0.1                Framework agnostic JSON API (jsonapi.org) implementation
nesbot/carbon                      2.59.0                An API extension for DateTime that supports 281 different languages.
nette/schema                       v1.2.2                📐 Nette Schema: validating data structures against a given Schema.
nette/tokenizer                    v3.1.1                Nette Tokenizer
nette/utils                        v3.2.7                🛠  Nette Utils: lightweight utilities for string & ar ray manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.
nikic/php-parser                   v4.14.0               A PHP parser written in PHP
nunomaduro/collision               v6.2.1                Cli error handling for console/command-line PHP applications.
nunomaduro/larastan                v2.1.11               Larastan - Discover bugs in your code without running it. A phpstan/phpstan wrapper for Laravel
phar-io/manifest                   2.0.3                 Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version                    3.2.1                 Library for handling version information and constraints
php-cs-fixer/diff                  v2.0.2                sebastian/diff v3 backport support for PHP 5.6+
php-ffmpeg/php-ffmpeg              v1.0.1                FFMpeg PHP, an Object Oriented library to communicate with AVconv / ffmpeg
phpdocumentor/reflection-common    2.2.0                 Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/reflection-docblock  5.3.0                 With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.
phpdocumentor/type-resolver        1.6.1                 A PSR-5 based resolver of Class names, Types and Structural Element Names
phpmyadmin/sql-parser              5.5.0                 A validating SQL lexer and parser with a focus on MySQL dialect.
phpoption/phpoption                1.8.1                 Option Type for PHP
phpspec/prophecy                   v1.15.0               Highly opinionated mocking framework for PHP 5.3+
phpstan/phpdoc-parser              1.2.0                 PHPDoc parser with support for nullable, intersection and generic types
phpstan/phpstan                    1.7.15                PHPStan - PHP Static Analysis Tool
phpstan/phpstan-beberlei-assert    1.0.1                 PHPStan beberlei/assert extension
phpstan/phpstan-doctrine           1.3.9                 Doctrine extensions for PHPStan
phpunit/php-code-coverage          9.2.15                Library that provides collection, processing, and rendering functionality for PHP code coverage information.
phpunit/php-file-iterator          3.0.6                 FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-invoker                3.1.1                 Invoke callables with a timeout
phpunit/php-text-template          2.0.4                 Simple template engine.
phpunit/php-timer                  5.0.3                 Utility class for timing
phpunit/phpunit                    9.5.21                The PHP Unit Testing framework.
psr/cache                          3.0.0                 Common interface for caching libraries
psr/container                      2.0.2                 Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher               1.0.0                 Standard interfaces for event handling.
psr/http-client                    1.0.1                 Common interface for HTTP clients
psr/http-factory                   1.0.1                 Common interfaces for PSR-7 HTTP message factories
psr/http-message                   1.0.1                 Common interface for HTTP messages
psr/log                            3.0.0                 Common interface for logging libraries
psr/simple-cache                   3.0.0                 Common interfaces for simple caching
psy/psysh                          v0.11.6               An interactive shell for modern PHP.
ey/collection/tree/1.2.2           3.0.3                 A polyfill for getallheaders.
ramsey/collection                  1.2.2                 A PHP library for representing and manipulating collections.
ramsey/uuid                        4.3.1                 A PHP library for generating and working with universally unique identifiers (UUIDs).
rector/rector                      0.13.5                Instant Upgrade and Automated Refactoring of any PHP code
riverline/multipart-parser         2.0.9                 One class library to parse multipart content with encoding and charset support.
rize/uri-template                  0.3.4                 PHP URI Template (RFC 6570) supports both expansion & extraction
sebastian/cli-parser               1.0.1                 Library for parsing CLI options
sebastian/code-unit                1.0.8                 Collection of value objects that represent the PHP code units
sebastian/code-unit-reverse-lookup 2.0.3                 Looks up which function or method a line of code belongs to
sebastian/comparator               4.0.6                 Provides the functionality to compare PHP values for equality
sebastian/complexity               2.0.2                 Library for calculating the complexity of PHP code units
sebastian/diff                     4.0.4                 Diff implementation
sebastian/environment              5.1.4                 Provides functionality to handle HHVM/PHP environments
sebastian/exporter                 4.0.4                 Provides the functionality to export PHP variables for visualization
sebastian/global-state             5.0.5                 Snapshotting of global state
sebastian/lines-of-code            1.0.3                 Library for counting the lines of code in PHP source code
sebastian/object-enumerator        4.0.4                 Traverses array structures and object graphs to enumerate all referenced objects
sebastian/object-reflector         2.0.4                 Allows reflection of object attributes, including inherited and non-public ones
sebastian/recursion-context        4.0.4                 Provides functionality to recursively process PHP variables
sebastian/resource-operations      3.0.3                 Provides a list of PHP built-in functions that operate on resources
sebastian/type                     3.0.0                 Collection of value objects that represent the types of the PHP type system
sebastian/version                  3.0.2                 Library that helps with managing the version number of Git-hosted PHP projects
softcreatr/jsonpath                0.8.0                 JSONPath implementation for parsing, searching and flattening arrays
spatie/backtrace                   1.2.1                 A better backtrace
spatie/flare-client-php            1.2.0                 Send PHP errors to Flare
spatie/ignition                    1.3.1                 A beautiful error page for PHP applications.
spatie/laravel-ignition            1.3.1                 A beautiful error page for Laravel applications.
spatie/temporary-directory         2.1.0                 Easily create, use and destroy temporary directories
stella-maris/clock                 0.1.4                 A pre-release of the proposed PSR-20 Clock-Interface
symfony/browser-kit                v6.0.3                Simulates the behavior of a web browser, allowing you to make requests, click on links and submit forms programmatically
symfony/cache                      v6.0.6                Provides an extended PSR-6, PSR-16 (and tags) implementation
symfony/cache-contracts            v3.1.1                Generic abstractions related to caching
symfony/console                    v6.1.2                Eases the creation of beautiful and testable command line interfaces
symfony/css-selector               v6.1.0                Converts CSS selectors to XPath expressions
symfony/deprecation-contracts      v3.1.1                A generic function and convention to trigger deprecation notices
symfony/dom-crawler                v6.0.6                Eases DOM navigation for HTML and XML documents
symfony/error-handler              v6.1.0                Provides tools to manage errors and ease debugging PHP code
symfony/event-dispatcher           v6.1.0                Provides tools that allow your application components to communicate with each other by dispatching events and listening to them
symfony/event-dispatcher-contracts v3.1.1                Generic abstractions related to dispatching event
symfony/filesystem                 v6.0.6                Provides basic utilities for the filesystem
symfony/finder                     v6.1.0                Finds files and directories via an intuitive fluent interface
symfony/http-foundation            v6.1.2                Defines an object-oriented layer for the HTTP specification
symfony/http-kernel                v6.1.2                Provides a structured process for converting a Request into a Response
symfony/mailer                     v6.1.2                Helps sending emails
symfony/mime                       v6.1.1                Allows manipulating MIME messages
symfony/options-resolver           v6.0.3                Provides an improved replacement for the array_replace PHP function
symfony/polyfill-ctype             v1.26.0               Symfony polyfill for ctype functions
symfony/polyfill-intl-grapheme     v1.26.0               Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-idn          v1.26.0               Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
symfony/polyfill-intl-normalizer   v1.26.0               Symfony polyfill for intl's Normalizer class and related functions
symfony/polyfill-mbstring          v1.26.0               Symfony polyfill for the Mbstring extension
symfony/polyfill-php72             v1.26.0               Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
symfony/polyfill-php80             v1.26.0               Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions
symfony/polyfill-php81             v1.26.0               Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions
symfony/process                    v6.1.0                Executes commands in sub-processes
symfony/routing                    v6.1.1                Maps an HTTP request to a set of configuration variables
symfony/serializer                 v6.1.2                Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.
symfony/service-contracts          v3.1.1                Generic abstractions related to writing services
symfony/stopwatch                  v6.0.5                Provides a way to profile code
symfony/string                     v6.1.2                Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way
symfony/translation                v6.1.0                Provides tools to internationalize your application
symfony/translation-contracts      v3.1.1                Generic abstractions related to translation
symfony/var-dumper                 v6.1.0                Provides mechanisms for walking through any arbitrary PHP variable
symfony/var-exporter               v6.0.6                Allows exporting any serializable PHP data structure to plain PHP code
symfony/yaml                       v6.1.2                Loads and dumps YAML files
theseer/tokenizer                  1.2.1                 A small library for converting tokenized PHP source code into XML and potentially other formats
tijsverkoyen/css-to-inline-styles  2.2.4                 CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.
vlucas/phpdotenv                   v5.4.1                Loads environment variables from .env to getenv(), $_ENV and $_SERVER automagically.
voku/portable-ascii                2.0.1                 Portable ASCII library - performance optimized (ascii) string functions for php.
webmozart/assert                   1.11.0                Assertions to validate method input/output with nice error messages.
PHP version and extensions
composer                   2.3.8     Composer package
composer-plugin-api        2.3.0     The Composer Plugin API
composer-runtime-api       2.2.2     The Composer Runtime API
ext-bcmath                 8.1.7     The bcmath PHP extension
ext-calendar               8.1.7     The calendar PHP extension
ext-ctype                  8.1.7     The ctype PHP extension
ext-curl                   8.1.7     The curl PHP extension
ext-date                   8.1.7     The date PHP extension
ext-dom                    20031129  The dom PHP extension
ext-exif                   8.1.7     The exif PHP extension
ext-ffi                    8.1.7     The FFI PHP extension
ext-fileinfo               8.1.7     The fileinfo PHP extension
ext-filter                 8.1.7     The filter PHP extension
ext-ftp                    8.1.7     The ftp PHP extension
ext-gd                     8.1.7     The gd PHP extension
ext-gettext                8.1.7     The gettext PHP extension
ext-hash                   8.1.7     The hash PHP extension
ext-iconv                  8.1.7     The iconv PHP extension
ext-igbinary               3.2.6     The igbinary PHP extension
ext-imagick                0         The imagick PHP extension (actual version: @PACKAGE_VERSION@)
ext-intl                   8.1.7     The intl PHP extension
ext-json                   8.1.7     The json PHP extension
ext-libxml                 8.1.7     The libxml PHP extension
ext-mbstring               8.1.7     The mbstring PHP extension
ext-memcached              3.2.0     The memcached PHP extension
ext-msgpack                2.2.0RC1  The msgpack PHP extension
ext-mysqli                 8.1.7     The mysqli PHP extension
ext-mysqlnd                0         The mysqlnd PHP extension (actual version: mysqlnd 8.1.7)
ext-openssl                8.1.7     The openssl PHP extension
ext-pcntl                  8.1.7     The pcntl PHP extension
ext-pcre                   8.1.7     The pcre PHP extension
ext-pdo                    8.1.7     The PDO PHP extension
ext-pdo_mysql              8.1.7     The pdo_mysql PHP extension
ext-pdo_pgsql              8.1.7     The pdo_pgsql PHP extension
ext-pdo_sqlite             8.1.7     The pdo_sqlite PHP extension
ext-pgsql                  8.1.7     The pgsql PHP extension
ext-phar                   8.1.7     The Phar PHP extension
ext-posix                  8.1.7     The posix PHP extension
ext-readline               8.1.7     The readline PHP extension
ext-redis                  5.3.7     The redis PHP extension
ext-reflection             8.1.7     The Reflection PHP extension
ext-session                8.1.7     The session PHP extension
ext-shmop                  8.1.7     The shmop PHP extension
ext-simplexml              8.1.7     The SimpleXML PHP extension
ext-sockets                8.1.7     The sockets PHP extension
ext-sodium                 8.1.7     The sodium PHP extension
ext-spl                    8.1.7     The SPL PHP extension
ext-sqlite3                8.1.7     The sqlite3 PHP extension
ext-sysvmsg                8.1.7     The sysvmsg PHP extension
ext-sysvsem                8.1.7     The sysvsem PHP extension
ext-sysvshm                8.1.7     The sysvshm PHP extension
ext-tokenizer              8.1.7     The tokenizer PHP extension
ext-xml                    8.1.7     The xml PHP extension
ext-xmlreader              8.1.7     The xmlreader PHP extension
ext-xmlwriter              8.1.7     The xmlwriter PHP extension
ext-xsl                    8.1.7     The xsl PHP extension
ext-zend-opcache           8.1.7     The Zend OPcache PHP extension
ext-zip                    1.19.5    The zip PHP extension
ext-zlib                   8.1.7     The zlib PHP extension
lib-curl                   7.68.0    The curl library
lib-curl-libssh            0.9.3     curl libssh version
lib-curl-openssl           <IP_ADDRESS>   curl OpenSSL version (<IP_ADDRESS>)
lib-curl-zlib              1.2.11    curl zlib version
lib-date-timelib           2021.12   date timelib version
lib-date-zoneinfo          0         zoneinfo ("Olson") database for date
lib-fileinfo-libmagic      540       fileinfo libmagic version
lib-gd                     2.3.0     The gd library
lib-iconv                  2.31      The iconv library
lib-icu                    66.1      The ICU unicode and globalization support library
lib-icu-cldr               36.1      ICU CLDR project version
lib-icu-unicode            13.0.0    ICU unicode version
lib-imagick-imagemagick    <IP_ADDRESS> The imagick-imagemagick library
lib-libsodium              1.0.18    The libsodium library
lib-libxml                 2.9.14    libxml library version
lib-libxslt                1.1.34    The libxslt library
lib-libxslt-libxml         2.9.10    libxml version libxslt is compiled against
lib-mbstring-libmbfl       1.3.2     mbstring libmbfl version
lib-mbstring-oniguruma     6.9.4     mbstring oniguruma version
lib-memcached-libmemcached 1.0.18    libmemcached version
lib-openssl                <IP_ADDRESS>   OpenSSL 1.1.1f  31 Mar 2020
lib-pcre                   10.39     The pcre library
lib-pcre-unicode           14.0.0    PCRE Unicode version support
lib-pdo_pgsql-libpq        12.9      libpq for pdo_pgsql
lib-pdo_sqlite-sqlite      3.31.1    The pdo_sqlite-sqlite library
lib-sqlite3-sqlite         3.31.1    The sqlite3-sqlite library
lib-zip-libzip             1.7.3     The zip-libzip library
lib-zlib                   1.2.11    The zlib library
php                        8.1.7     The PHP interpreter
php-64bit                  8.1.7     The PHP interpreter, 64bit
php-ipv6                   8.1.7     The PHP interpreter, with IPv6 support
On which operating system(s) does the issue occur?

[X] Linux
[ ] MacOS
[ ] Windows

Steps to reproduce the issue.

...

use Kreait\Firebase\Exception\FirebaseException;
use Kreait\Firebase\Exception\MessagingException;
use Kreait\Firebase\Factory;
use Kreait\Firebase\Messaging;
use Kreait\Firebase\Messaging\AndroidConfig;
use Kreait\Firebase\Messaging\ApnsConfig;
use Kreait\Firebase\Messaging\CloudMessage;
use Kreait\Firebase\Messaging\MessageData;
use Kreait\Firebase\Messaging\Notification;
use Kreait\Firebase\Messaging\WebPushConfig;

    /**
     * @param array<string, string> $additionalData
     * @param array<string>         $tokens
     * @param positive-int          $ttl
     *
     * @throws FirebaseException
     * @throws MessagingException
     */
    private function sendBulkPushNotification(
        Messaging $messaging,
        Notification $notification,
        array $additionalData,
        array $tokens,
        int $ttl
    ): Messaging\MulticastSendReport {
        $androidConfig = AndroidConfig::fromArray([
            'ttl' => $ttl,
            'notification' => [
                'click_action' => 'FCM_PLUGIN_ACTIVITY',
            ],
        ]);

        $expirationDate = time() + $ttl;
        $apnsConfig = ApnsConfig::fromArray([
            'headers' => [
                'apns-expiration' => (string) $expirationDate,
            ],
        ]);

        $webPushConfig = WebPushConfig::fromArray([
            'headers' => [
                'TTL' => $ttl,
            ],
        ]);

        $message = CloudMessage::new()->withData(MessageData::fromArray($additionalData))
            ->withAndroidConfig($androidConfig)
            ->withApnsConfig($apnsConfig)
            ->withWebPushConfig($webPushConfig)
            ->withNotification($notification);

        return $messaging->sendMulticast($message, $tokens);
    }

Error message/Stack trace
Invalid value at 'message.webpush.headers[0].value' (TYPE_STRING), 259200
Additional information
No response

Ah, this looks similar to the other TTL issue, thanks for reporting. I don't know yet when I can get to it, but feel free to create a PR by copying and adapting dd941a7b53b237c4b9835c11c0a199f9748882a8 😇


[Bug] Issue Loading Functional Subclassing Models

System information.

Have I written custom code (as opposed to using a stock example script provided in Keras): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): MacOS
TensorFlow installed from (source or binary): 2.11
TensorFlow version (use command below): 2.11
Python version: 3.9

Describe the problem.
When creating custom models with custom layers, to avoid passing custom_objects, we can use @keras.utils.register_keras_serializable() to register custom objects to the global object dictionary. This doesn't seem to work on Functional Subclassing models when loading/deserializing. For example:
tf_model = lib.model()
tf_model.save('effnet.h5')

tf.keras.utils.get_registered_object('lib_name>EfficientNetV2') #lib_name.yadda.EfficientNetV2

get_registered_object() returns a class correctly. When inspecting the custom objects:
tf.keras.utils.get_custom_objects()

{'Custom>Adadelta': keras.optimizers.optimizer_experimental.adadelta.Adadelta,
 'Custom>Adafactor': keras.optimizers.optimizer_experimental.adafactor.Adafactor,
 'Custom>Adagrad': keras.optimizers.optimizer_experimental.adagrad.Adagrad,
 'Custom>Adam': keras.optimizers.optimizer_experimental.adam.Adam,
 'Custom>Adamax': keras.optimizers.optimizer_experimental.adamax.Adamax,
 'Custom>AdamW': keras.optimizers.optimizer_experimental.adamw.AdamW,
 'Custom>Ftrl': keras.optimizers.optimizer_experimental.ftrl.Ftrl,
 'Custom>Nadam': keras.optimizers.optimizer_experimental.nadam.Nadam,
 'Custom>RMSprop': keras.optimizers.optimizer_experimental.rmsprop.RMSprop,
 'Custom>SGD': keras.optimizers.optimizer_experimental.sgd.SGD,
 'Custom>SharpnessAwareMinimization': keras.models.sharpness_aware_minimization.SharpnessAwareMinimization,
 'lib_name>EfficientNetV2': lib_name.yadda.EfficientNetV2 <-- Custom class is present and registered

But, when loading:
model = tf.keras.models.load_model('effnet.h5')

An error is thrown:
ValueError: Unknown layer: 'EfficientNetV2`. Please ensure you are using a `keras.utils.custom_object_scope` and that this object is included in the scope. See https://www.tensorflow.org/guide/keras/save_and_serialize#registering_the_custom_object for details.

It works when I pass a custom object:
model = tf.keras.models.load_model('effnet.h5'. custom_objects={'EfficientNetV2': EfficientNetV2})

But this shouldn't be required when an object is registered to be serialized. Am I using the API wrong?
Contributing.

Do you want to contribute a PR? (yes/no): no
If yes, please read this page for instructions
Briefly describe your candidate solution(if contributing): /

Standalone code to reproduce the issue.
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
Source code / logs.
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

@DavidLandup0
In order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. Thank you!


SideCondition.definedTerms: check if AC terms are always defined before caching them

In SideCondition.definedTerms we keep a set of terms we assume to be defined during execution. See assumeDefined and isDefined.
For AC structures, we build a minimal set of AC collections from which the definedness of any sub-collection can be inferred. In practice, people have noticed that we keep very large numbers of concrete ACs in memory for this purpose, and this should be avoided.
We can fix this by adding two checks:

If the initial collection is always defined, do not generate the minimal set.
After generating the minimal set, we should remove the ones which we know are always defined.

Unit tests should be modified/added accordingly.

The KEVM proof port team observed this issue while looking at tests/specs/mcd/cat-file-addr-pass-rough-spec.k. Turn on any DebugAttemptEquation log (I had it on for a specific equation of #hashedLocation, but I don't think that should matter). After the initial simplification, you will be able to observe the large number of 2-element sets in the Assumed to be defined section.

From the KEVM Proof port team, we have a suspicion that this might be the root cause of #2761, but that's just a thought. Everett thinks we may have been underestimating the impact this one has on the evm proofs.


Migrate marketplaceordering to testProxy (Do not merge)

TestProxy

/azp run

/azp run [python - marketplaceordering - ci,python - marketplaceordering - ci (Build Test windows2019_38)]

/azp run python - marketplaceordering - ci (Build Test windows2019_38)

/azp run python - marketplaceordering - ci


Update README.md

👋 Request from @colindembovsky for deployment received using deploy to test :rocket:


update travis.yml file and rename tests

Travis CI is properly configured and is working. I changed tests a little bit just to be able to test Travis.
Test files' names must be in *_test.py or test_*.py format. That's important for pytest.

CI build is failing but its due to the test. I was working in correcting the UTs. I am almost done. I will merge your PR, and push my tests. You can then continue to check if the travis.yml is correct.
Can you also look to whether use nose or pytest? I am using nose to test my UTs in local.
If you are using nose, the script command will be:
nosetests --with-coverage --cover-package pirant
And requirement will be nose library.


RISC-V RVV Bad execution of riscv rvv vss instruction

Describe the bug
RVV vsseg2e32 instruction doesn't work properly.
Affects version
Found in commit 3896673ddc943cdf2157651d090920da466bc6a7 (develop)
Date:   Sat Nov 18
To Reproduce
The reproducer is in https://github.com/vmskv/gem5/tree/vmskv/bad_interleave_reproducer
The steps to reproduce are in
README_assembler.txt
or in
README_intrinsics.txt
Expected behavior
Instruction should interleave the elements of input vectors
expected:
           inps/out
rez : i = 0 : 1 5
rez : i = 1 : 2 1
rez : i = 2 : 3 6
rez : i = 3 : 4 2
rez : i = 4 : 5 7
rez : i = 5 : 6 3
rez : i = 6 : 7 8
rez : i = 7 : 8 4

but returns 0s
rez : i = 0 : 1 0
rez : i = 1 : 2 0
rez : i = 2 : 3 0
rez : i = 3 : 4 0
rez : i = 4 : 5 0
rez : i = 5 : 6 0
rez : i = 6 : 7 0
rez : i = 7 : 8 0

Host Operating System
Ubuntu 20.04
Guest ISA
RISC-V.

Thanks for pointing this out. From what I see In the gem5 VSStride macro-op template (https://github.com/gem5/gem5/blob/3896673ddc943cdf2157651d090920da466bc6a7/src/arch/riscv/isa/templates/vector_mem.isa#L1014-L1048) and the corresponding generated ISA code (build/RISCV/arch/riscv/generated/exec-ns.cc.inc), the VSS (vector strided-store) macro instructions do not take into account NFIELDS; so I don't think the segmented VsStride instructions with NFIELDS != 0 are supported.

Hi,
I guess this is expected, since as far as I am aware unit-stride segmented loads/stores are not implemented yet. Their encoding only differ from vle/vse in NFIELDS, which is not currently checked in the decoder. Because of that, they are probably being interpreted as vle/vse ones (which makes sense with the results you are getting, only first field is right).
I am currently working on the implementation of these instructions (https://github.com/gem5/gem5/issues/382). While I expect to have them soon, it is still work in progress.
-Ivan

Hi @ivanfv, could you please let us know if this issue should be closed or if there is a real bug? Thank you.

Hi @ivanaamit, yes, I think this issue should be closed since vector segmented store instructions were added with PR https://github.com/gem5/gem5/pull/913


Overlay Ad

Hi,
Please advise how to correctly implement "midrroll" and "overlay" ads.
As far as I understand to show "overlay" ads, I need manually resize the ads container and before show midroll resize it back to the original size. Or don't use plugin and create one more ad containers.
Is it correct approach? or there is more friendly way?
By "overlay" I mean something like this:

Regards,
Sergey

Hi,
The easiest way to do this is to have a VMAP response that has your overlay ads and midrolls in it. Then the SDK will handle all of the details of displaying the ads.

hi,
It not works like expected. How to do it manually? in other words, how to get "OverlayAdContainer"(width, height and manager/handlers)?
thanks.

The videojs-ima plugin isn't designed to make manual ad requests for a single content video. For multiple ads, it's recommended to use VMAP. What's the issue you're having with the VMAP?

Don't you just specify overlays in DFP?

What's the issue you're having with the VMAP?
few technical issue(like ad is loaded, but not played), but the most important that it is shows lower cpm if compare with direct call.

Don't you just specify overlays in DFP?
yes, but sometime it show full-area overlay. Currently issue solved by override requestAds for overlay request to not ask the linear ad.
and issue left with autoPlayAdBreaks, if it's enabled then non-linear ads are not shown... just fire a ready event... but if changed  autoPlayAdBreaks to false and call playAdBreak then it shows...

Do I have this right?
An overlay non-linear is a display ad floating over content (like YouTube).
And overlay linear is a display ad floating over a background obstructing content (not like YouTube).

yes, linear ads shows during a break(if no bugs :) ) in video content, non-linear - during video playback.

Sorry, I'm still not sure what errors you're seeing. Do you have a test page I can take a look at and see if I can replicate the issue?

@ypavlotsky We've defined the "breatype=nonlinear" in our VMAP XML and also setup overlay ads, but we still see linear overlay ads serving instead of non-linear ad, like this: https://prnt.sc/k6gd6e
Can you suggest what can be done here to ensure it returns only non-linear overlay ads.
I've also found this support doc that mentions that overlay ads are not yet supported for VMAP which makes it more confusing.

I would double-check the serving configuration to make sure the individual non-linear ads are correctly set up as overlays. Unfortunately, I can't help you debug your serving configuration, but I'd suggest going to the DFP help forums.

Sure, I've checked the setup already. Just to confirm, can the linear ads serve even if the 'breaktype=nonlinear' is set in the VMAP XML?

I believe so, at least according to my testing, it seems so.

@priyankasinghr I often see linear ads and in-stream on our pre-roll call set to nonlinear.

Hi @priyankasinghr and @onix-sergey ,
It looks as though your issues were resolved so I will be closing this issue, but please reopen it if that is not the case.


Added new open mic announcement and templates for others to add their posts

it is described in the title

I've also added categories page and open-mic page, accessible from baseurl/open-mic

solves #7, #21 and #22

solved #7, #21 and #22


PIM-5120: Do not hydrate all JobExecution of a JobInstance during a the creation of a JobExecution

This is a merge of 0.3 in 0..4

Q
A

Specs
-

Behats
-

Blue CI
running

Changelog updated
Y

Review and 2 GTM

Micro Demo (PO)
-

Migration script
-

Tech Doc
-

ok, GTM

GTM


missing encoding meta data for report file

the reports file was view incorrectly in browser.My Computer default encoding is GBK,not ASCII or UTF-8    .
When I try to add a node of  "<meta charset='utf-8'> into "index.html",the problem solved.
pls modify "src/main/resources/header  " and add the same node.
thx to distributors!

Why not propose a pull-request?


feat(chromium): roll Chromium to r590951

https://github.com/kblok/puppeteer/commit/a582acd682812bda2863e25196b7c3f6cedac2e1#diff-b9cfc7f2cdf78a7f4b91a753d10865a2

We have https://github.com/kblok/puppeteer-sharp/issues/666 @Meir017


DNS lookup fails after a number of hours

hokapoka.com on 5 Jan 2012 at 9:32:
What steps will reproduce the problem?
1. Create a simple Google plus consumer that receives updates via a time.Ticker
every 5 mins.

2. Request the ActivitiesService.List() with any valid G+ profile id and
"public" for the collection

3. Run the service for 6+ hours

What is the expected output? What do you see instead?

I expect the service to continue to run until I stop the process, however the
consumer will work for roughly 6 hours flawlessly and then the consumer fails
with an error message :

"Get
https://www.googleapis.com/plus/v1/people/<USER_ID>/activities/public?alt=json:
dial tcp accounts.google.com:443: lookup accounts.google.com: no such host"

If I restart the process and the sequence repeats, that's to say it's able to
retrive the Activity stream again and after about 6+ hours it fails with the
same error message.

What version of the product are you using? On what operating system?

I'm using the current release branch of go with the latest version of the
google-api-go-client.

This is currently on a OSx Lion x64 machine.

Please provide any additional information below.

I have checked the API usage on here :
https://code.google.com/apis/console/b/0/ and it's never reached even 50% of
allowed quota so it's not that the service is blocking the connection because
of that.

This behaviour has been consistant for the past 2 weeks.

<EMAIL_ADDRESS>on 9 Jul 2012 at 4:43:
The Google-API-Go-Client project doesn't do any of its own DNS lookups, so any
bug you're encountering is elsewhere.

Status changed to Invalid.


Remove unused nodes from SyntaxTreeDeserializer.nodeLookupTable

At the moment we keep a reference to all nodes in the nodeLookupTable of SyntaxTreeDeserializer. The memory usage of SyntaxTreeDeserializer always grows over time. After this PR we will remove nodes from nodeLookupTable that will never be used for incremental deserialisation.
Implements rdar://43516167

https://ci.swift.org/job/swift-PR-osx/7340/
https://ci.swift.org/job/swift-PR-Linux/7383/

@ahoppen Just to clarify: Even with this changes, nodeLookupTable itself is still indefinitely glowing, right? This change only frees the "value" of the entries.

Yes, that's true.
It only now occurred to me that maybe every RawSyntax node should have a weak reference to its SyntaxTreeDeserializer. That way it can remove itself from the nodeLookupTable once it gets destroyed. What do you think?

I don't think that is a good idea. RawSyntax should not know how itself is managed.
A simple question is: why not just recreating the table?
   private func deserializeByteTree(_ data: Data) throws -> RawSyntax {
     var userInfo: [ByteTreeUserInfoKey: Any] = [:]
     var newLookupTable: [SyntaxNodeId: RawSyntax] = [:]
     userInfo[.rawSyntaxDecodedCallback] = { (node: RawSyntax) -> Void in
       newLookupTable[node.id] = node
     }

     /* ... actual deserializing work .. */

     self.lookupTable = newLookupTable
   }

Because if a node gets reused, we won't visit its children that way. And we definitely don't want to do that because it would get us back to O(n) incremental parsing.

Ah, I understand, thanks. Let me think for a while...

I'm still reviewing this. Please hold on merging.

I was also worrying about the ever increasing size of nodeLookupTable and couldn't figure out an efficient way to clear it up. I think these dangling weak pointers should not be a problem in practice, but could you add some comments there explaining the effect?

Included in #11. Closing


[BUG] SQL requests doesn't work with otel-v1-apm-span-* indexes

Tried to use SQL to requests otel-v1-apm-span-* indexes created by Data-Prepper from OTEL source, but even simple request select * from otel-v1-apm-span-000001 returns Otel-v1-apm-span-000001: [IllegalStateException] There was internal problem at backend, this query is not runnable
Problem is not described in https://opensearch.org/docs/latest/search-plugins/sql/troubleshoot/, so this is bug in docs at least or maybe elsewhere, right? Btw, are any requirements for index exists to support SQL requests?

Hi, the reason is that SQL/PPL did not support date_nanos data type. This will be supported in the coming release (1.3) as #360 is merged.

Closing as the PR is already merged.


Breaks any build process w/ UglifyJS because main export is not ES2015

Most developers exclude node_modules packages from their build process (typescript or es6).  Therefore if you provide an ES6 module, that ES6 is getting injected straight into the bundle as is and won't work in many browsers. It also breaks many build processes that utilize Uglify JS to minify because uglify requires ES5 code.
Typically, packages transpile to a lib folder that contains es5 code or package as an ES5 UMD module.

Installed using
npm install<EMAIL_ADDRESS>

I am also having this issue. The common way of supporting Typescript is to provide a typings (.d.ts) file alongside compiled JavaScript. I've had to relax the settings on my typescript compilation due to this project not adhering to the same Typescript standards. And now UglifyJs is erroring out on code from this package.
Installed using
 npm install<EMAIL_ADDRESS>

The problem is not only with UglifyJS, But with CRA and Angular, too. - #69
Actually I built my app, and fixed this for me.
You can go to node_modules/api-ai-javascript/es6 and compile all files using Babel - https://babeljs.io/repl
If someone want to build app I can help. But hopefully the Dialogflow team will fix this for everyone.

@radi-cho Can you please tell how exactly you complied the files , I am also having the same issue with CRA and Dialogflow team hasn't fixed it yet as there is V2 now.

@athJ You can simply copy-paste the code to the babel repl and then overwrite the files in es6. Or you can use babel cli following these instructions: https://babeljs.io/docs/en/babel-cli

@radi-cho  Thanks but I figured it out a while I posted that comment.What I actually did was make a copy of the module outside node_modules and then I complied the whole directory directly into the module folder inside node_modules using "-d" argument.


Strange Serial prints when using DateTime library

The sketch below should simply echo whatever is sent over the serial connection. However, if you create a DateTime object before the Serial.print it echos bogus data. It looks like it might be a memory overflow or something? In the code where I originally noticed the problem, it would print random segments of previous prints, variable values, etc. (Weird, I know!) To make the code work as intended, comment out the lines relating to the DateTime object.
I tried using a different constructor as well, but that didn't help.
#include <RTClib.h>

//Accumulates the incoming serial data
char incoming[101] = {0};

void setup() {
  Serial.begin(9600);

  //Comment out these lines to make the code function properly
  //--------------------------------------------------------------
  DateTime compiledOn(F(__DATE__), F(__TIME__));
  char buffer[] = "MMM DD, YYYY hh:mm";
  Serial.println(compiledOn.toString(buffer));
  //--------------------------------------------------------------
}

void loop() {
  if (Serial.available()) {

    char newByte = Serial.read();

    if (newByte == '\n') { //termination character
      Serial.println(incoming); //print the accumulated data

      //Clear the string
      for (uint8_t i = 0; i < 100; i++) {
        incoming[i] = 0;
      }
    }
    else { //newByte not '\n'
      strcat(incoming, &newByte); //accumulate the incoming data
    }
  }
}

Arduino board:  Arduino Uno

Arduino IDE version: 1.8.12

RTClib version: 1.4.1

Steps to reproduce:

Upload above sketch to Arduino
Send anything to the Arduino over Serial
Arduino should echo what you sent, but will reply with bogus data
Comment out the indicated lines and upload again
Sketch should now echo data properly

Please feel free to suggest any ideas you have - I'm stumped!

This is wrong:
strcat(incoming, &newByte);

strcat() expects both arguments to be NUL-terminated strings, which is not the case of &newByte. You have what is known in C++ as “undefined behavior”, which means that anything can happen, including the kind of behavior you are experiencing.
This issue should be closed as invalid. This issue tracker is intended for reporting bugs in the library. The Arduino forum and arduino.stackexchange would be better places for discussing a problem like this one.

strcat() expects both arguments to be NUL-terminated strings, which is not the case of &newByte. You have what is known in C++ as “undefined behavior”, which means that anything can happen, including the kind of behavior you are experiencing.

Yes, you're right. I'm sorry for wasting your time. I don't know how I overlooked that!

This issue should be closed as invalid. This issue tracker is intended for reporting bugs in the library. The Arduino forum and arduino.stackexchange would be better places for discussing a problem like this one.

My bad. I thought I had enough evidence to indicate a library issue. Sorry again, and thanks for your help.


very simple aql,slow query,took 47s

arangodb version 3.5.3,I have more than 290 thousand documents,when I execute a very simple query aql,it tooks 47s or even more time.I have created all indexs,Why is it so slow？
this is my aql :
[8bcee] slow query: 'for t in ocr_task filter t.agentId == "ocrAgent3" and t.processing == 1 and t.hasFail != 1 return t', took: 47.356403 s

I have already added agentId and processing,it doesn't work! But how to use combined indexes.

With the arangosh, you can use the command db.ocr_task.ensureIndex({ type: "hash", fields: ["agentId", "processing"] });. When using the web interface, you can enter agentId,processing` into the index' fields attribute when creating the index.

I added these two at first.
No use at all

Ok, so can you confirm you have that combined index in place?
The execution plan above shows there is a single-attribute index used for the query.
If there are only few documents with the processing attribute set to a value of 1, the combined index may still help.
Can you check if that combined index (one index covering both attributes agentId and processing) is present? It would be interesting to see the query profile for the query when this index is in place, plus some estimations about the data distribution (how many documents are there with that combination of agentId and processing values as queried).
Thanks!

Thank you very much!  This problem is solved.I have another question,if I have two documents to query，the aql is “for t in ocr_task filter t.hasDone == 1 for b in ocr_batch filter b._key == t.batchId and b.userKey == "657446338" collect with count into length return length”,how can I make it fast?

I have another database.there id a document with 2.9 million pieces of data,when I execute the aql "for c in ChinaRoots_gImages filter c._key == "1054747628" update c with {hasDone:1,processing:0,postTime:DATE_NOW(),status:1} in ChinaRoots_gImages OPTIONS { exclusive: true }",it tooks more than 110s

the query execution plan for this query is:
Query String (175 chars, cacheable: false):
for c in ChinaRoots_gImages filter c._key == "1054747628" update c with
{hasDone:1,processing:0,postTime:DATE_NOW(),status:1} in ChinaRoots_gImages OPTIONS { exclusive:
true }
Execution plan:
Id   NodeType          Calls   Items   Runtime [s]   Comment
1   SingletonNode         1       1       0.00000   * ROOT
5   CalculationNode       1       1       0.00002     - LET #5 = { "hasDone" : 1, "processing" : 0, "postTime" :<PHONE_NUMBER>463, "status" : 1 }   /* json expression /   / const assignment /
7   IndexNode             1       1       0.00005     - FOR c IN ChinaRoots_gImages   / primary index scan, index only, projections: _key */
6   UpdateNode            1       1       0.00019       - UPDATE c WITH #5 IN ChinaRoots_gImages
Indexes used:
By   Name      Type      Collection           Unique   Sparse   Selectivity   Fields       Ranges
7   primary   primary   ChinaRoots_gImages   true     false       100.00 %   [ _key ]   (c._key == "1054747628")
6   primary   primary   ChinaRoots_gImages   true     false       100.00 %   [ _key ]   c
Optimization rules applied:
Id   RuleName
1   move-calculations-up
2   remove-data-modification-out-variables
3   use-indexes
4   remove-filter-covered-by-index
5   remove-unnecessary-calculations-2
6   patch-update-statements
7   reduce-extraction-to-projection
Write query options:
Option                   Value
ignoreErrors             false
waitForSync              false
nullMeansRemove          false
mergeObjects             true
ignoreDocumentNotFound   false
readCompleteInput        false
useIsRestore             false
consultAqlWriteFilter    false
exclusive                true
overwrite                false
ignoreRevs               true
Query Statistics:
Writes Exec   Writes Ign   Scan Full   Scan Index   Filtered   Exec Time [s]
1            0           0            1          0        85.56753
Query Profile:
Query Stage           Duration [s]
initializing               0.00000
parsing                    0.00007
optimizing ast             0.00002
loading collections       85.56599
instantiating plan         0.00005
optimizing plan            0.00030
executing                  0.00090
finalizing                 0.00019

Re https://github.com/arangodb/arangodb/issues/10898#issuecomment-582708556:
First of all, the query can be simplified to
UPDATE { _key: "1054747628" }
WITH {hasDone:1,processing:0,postTime:DATE_NOW(),status:1}
IN ChinaRoots_gImages
OPTIONS { exclusive: true }

(i.e. removing the FOR loop entirely) because it is a single-document primary key update and the update does not refer to any existing values in the to-be-updated document.
However, that will not help overly much, as a single document lookup and update are expected to be fast anyway.
The main problem with this query is thus likely the OPTIONS { exclusive: true } used. That will make the query wait for any other write operation on the same collection to finish before it starts. I suggest going without this in general and only use that option in case you really need uninterrupted modifications of multiple documents in the same collection. If you remove the option from this query, it should be faster, provided that there aren't any other queries on the same collection that also use OPTIONS { exclusive: true } and that temporarily lock out all other write operations.

Re https://github.com/arangodb/arangodb/issues/10898#issuecomment-582698699:
for t in ocr_task filter t.hasDone == 1
for b in ocr_batch filter b._key == t.batchId and b.userKey == "657446338"
collect with count into length
return length

I can't tell how to make this fast because I have no idea what indexes exist here and how many documents the underlying collections contain. It would be good to post the query's profile or execution plan in this Github issue to get at least some idea about the number of documents plus index usage.
The main thing here is probably to have an index on the hasDone attribute in ocr_task (or even a combined index on hasDone and batchId). If it exists, I expect it to be used for the first FOR loop, and I would expect the primary index on _key to be used for the second. But right now I can't tell if my assumptions are correct. Can you post the profile output of that query here?
Thanks!

Query String (389 chars, cacheable: false):
//for c in ocr_batch
//        filter c.hasDone != 1 and c.hasFail != 1
//        return c
//        let remanCount = c.taskCount-c.finishCount
//        collect AGGREGATE remainNum = SUM(remanCount)
//        return remainNum
for t in ocr_task filter t.hasDone == 1
for b in ocr_batch filter b._key == t.batchId and b.userKey == "657446338"
collect with count into length
return length
Execution plan:
Id   NodeType        Calls    Items   Runtime [s]   Comment
1   SingletonNode       1        1       0.00000   * ROOT
11   IndexNode         303   302683     136.70162     - FOR t IN ocr_task   /* hash index scan, projections: batchId /
10   IndexNode           1       16       2.25124       - FOR b IN ocr_batch   / primary index scan, projections: userKey /    FILTER (b.userKey == "657446338")   / early pruning /
8   CollectNode         1        1       0.00203         - COLLECT  WITH COUNT INTO length   / count */
9   ReturnNode          1        1       0.00001         - RETURN length
Indexes used:
By   Name            Type      Collection   Unique   Sparse   Selectivity   Fields          Ranges
11   idx_648119924   hash      ocr_task     false    false         0.00 %   [ hasDone ]   (t.hasDone == 1)
10   primary         primary   ocr_batch    true     false       100.00 %   [ _key ]      (b._key == "672864747")
Optimization rules applied:
Id   RuleName
1   use-indexes
2   remove-filter-covered-by-index
3   remove-unnecessary-calculations-2
4   reduce-extraction-to-projection
5   move-filters-into-enumerate
Query Statistics:
Writes Exec   Writes Ign   Scan Full   Scan Index   Filtered   Exec Time [s]
0            0           0       302699          0       139.20209
Query Profile:
Query Stage           Duration [s]
initializing               0.00000
parsing                    0.00011
optimizing ast             0.00002
loading collections        0.00001
instantiating plan         0.08230
optimizing plan            0.00034
executing                138.95795
finalizing                 0.16134

The bottleneck in this query seems to be the
11 IndexNode 303 302683 136.70162 - FOR t IN ocr_task /* hash index scan, projections: batchId /

It will find all matching documents in ocr_task using the index on hasDone. There seem to be 302,683 such documents. For each of those, it will need to look up the documents and extract the batchId attribute from them. If these documents are huge, these extra document lookups and extraction of batchId may take the longest here.
In order to avoid the extra document data lookup, it is possible to include the batchId in the index that contains hasDone, so that both attributes are covered.
What happens if you replace the existing index on batchId with a combined index on hasDone and batchId?

Hi @caozku,
Did you have a chance to read jsteemann's latest reply?
Could you please try to replace the existing index on batchId with a combined index on hasDone and batchId and share the profile output of the modified query?

Hi @caozku,
Since we have not heard back from you recently, I am closing this issue for now.
Feel free to reopen this ticket if needed.


[Feature]: Auto-update docs when a new release is cut

What problem or use case are you trying to solve?
Currently our docs show an old version number (0.3.1) as recommended to be installed, despite the fact that a newer version is available (0.4.1).
Describe the UX of the solution you'd like
It would be nice if this number was auto-updated with the most recent version tag on github.

can we just replace the tag with the latest? 🤔

okay, let me submit a PR.

@rbren i saw you deleted the latest tag from the containers/build.sh. what is the reason?

latest is never a good idea 😄 it tends to be whatever was last pushed to the repo--including dev branches.
@Sparkier suggested a release tag, which is better--then at least we're saying "we've done a bit of QA on this, and it's ready for end users". There's also a main tag, for users who want the bleeding edge.
But I much prefer having semver here. E.g. we are about to release 0.5.0, which requires changes to the docker run command. If we were just cutting it as release, we'd break people's existing docker run commands, with zero notice.
I realize it's a pain to have to update the docs every time we cut a new version, but there's actually a good reason for it--it prevents breaking changes from leaking out unintentionally. It's a perpetual problem with widely-used software 😄
The best middleground here is to release all semver tags. So when we git tag 0.5.0, it will release three tags:

0.5.0
0.5
0

And then when we git tag 0.5.1, it will create a new 0.5.1 tag, and overwrite the 0.5 and 0 tags.
The docs in my PR for the 0.5.0 update will reference 0.5, so that we can release patch changes without having to go back to the docs. If we make a breaking change, we'll release 0.6, and update the docs accordingly.
Hopefully that makes sense 😄 this is a problem I've dealt with extensively in other projects

This makes sense!

I do think it'd be neat for the git tag workflow to open up a PR with the required docs changes!

The docs https://github.com/OpenDevin/OpenDevin/pull/1523 will reference 0.5, so that we can release patch changes without having to go back to the docs. If we make a breaking change, we'll release 0.6, and update the docs accordingly.

Some suggestions about our version release. I always follow this rule: https://semver.org/

Closing as unplanned due to complexity.


mingw build is broken

Hi
i failed building bgfx with mingw , can you check ?
note i successfully built bgfx many times before , it's the only time i get this error

What version of MinGW you're using?

7.3 , grab it from here : https://sourceforge.net/projects/mingw-w64/files/Toolchains targetting Win32/Personal Builds/mingw-builds/7.3.0/threads-posix/sjlj/

this is the command line used to generate project files :
..\bx\tools\bin\windows\genie --with-examples --with-32bit-compiler --with-shared-lib --os=windows --gcc=mingw-gcc gmake