Classify upstream examples (categories, sub-categories, etc.)

Is your feature request related to a problem? Please describe.
Breakdown and classify current upstream examples. It is hard to navigate to hera documentation and mostly the examples section.
Describe the solution you'd like
A directory tree per category. Here is a draft proposal:

K8s/Ressource related
Workflow Lifecycle
Workflow management
Branching & Logical flow
Parallelism / Loops
Arguments Artifacts
Arguments Parameters
Config-related

A quick first pass gives me something like this:
K8s/Ressource related

K8S Patch Json Workflow
K8S Resource Log Selector
K8S Set Owner Reference
Node Selector
Pod Spec Patch Wf Tmpl
Init Container
Sidecar
Sidecar Dind
Sidecar Nginx
Volumes Emptydir
Volumes Existing
Volumes Pvc

Workflow template-related

Cluster Workflow Template Cluster Wftmpl Dag
Cluster Workflow Template Mixed Cluster Namespaced Wftmpl Steps
Cluster Workflow Template Workflow Template Ref
Cluster Workflow Template Workflow Template Ref With Entrypoint Arg Passing
Ci Workflowtemplate
Workflow Event Binding Event Consumer Workflowtemplate
Workflow Of Workflows
Workflow Template Dag
Workflow Template Hello World
Workflow Template Retry With Steps
Workflow Template Steps
Workflow Template Workflow Archive Logs
Workflow Template Workflow Template Ref
Workflow Template Workflow Template Ref With Entrypoint Arg Passing
Template On Exit

Workflow Lifecycle

Life Cycle Hooks Tmpl Level
Life Cycle Hooks Wf Level
Container Set Template Graph Workflow
Container Set Template Outputs Result Workflow
Container Set Template Workspace Workflow
Template On Exit

Workflow management

Archive Location
Cron Workflow
Synchronization Mutex Tmpl Level Legacy
Synchronization Tmpl Level Legacy
Synchronization Wf Level Legacy
Custom Metrics
Dag Custom Metrics

Branching & Logical flow

Dag Conditional Parameters
Coinflip
Coinflip Recursive
Conditional Artifacts
Forever
Continue On Fail
Retry Backoff
Retry Container
Retry Script
Suspend Template
Suspend Template Outputs
Exit Handler Step Level
Exit Handler With Artifacts
Steps
Steps Inline Workflow

Parallelism / Loops

Parallelism-related:
Parallelism Limit
Parallelism Nested
Parallelism Nested Dag
Parallelism Template Limit
Loops
Loops Arbitrary Sequential Steps
Loops Maps
Loops Param Result

Arguments Artifacts

Arguments Artifacts
Artifact Disable Archive
Artifact Gc Workflow
Artifact Passing
Artifact Passing Subpath
Artifact Path Placeholders
Artifact Repository Ref
Artifactory Artifact
Hdfs Artifact
Input Artifact Azure
Input Artifact Gcs
Input Artifact Git
Input Artifact Http
Input Artifact Oss
Input Artifact Raw
Input Artifact S3
Key Only Artifact
Output Artifact Azure
Output Artifact Gcs
Output Artifact S3
Output Parameter
Webhdfs Input Output Artifacts

Arguments Parameters

Arguments Parameters
Arguments Parameters From Configmap

Config

Global Parameters
Global Parameters From Configmap Referenced As Local Variable

Some are missing, others needs to be reviewed and classified correctly but here few thought on this:

An example could be linked to differents categories (e.g: "Dag Conditional Parameters" tied to both "DAG" and "Parameters")
If the tree structure is not relevant, sub categories could be defined

Best regards,
Sam

Hey @sam2x, thanks for the detailed suggestion, that's really helpful to see how you would classify the examples 🙏 I broadly agree with the categories and layout - I think just minus the "example linked to different categories" as examples should have a clear aim to demonstrate a single feature, maybe two.
We haven't put much effort into organising the upstream examples as they don't make the best use of Hera, so I'll also relay this suggestion to the upstream Argo Workflows repo, which would make it easier for us to copy down. We copy the https://github.com/argoproj/argo-workflows/tree/main/examples folder when generating the upstream examples, so for the Hera docs site, we'd need to add a mapping of the examples.


Update publish-operator-docker-image.yml for arm support

Description: v1.5.0 of .NET instrumentation added support for arm. Need to update the docker image build workflow to also build docker images for both amd and arm.

@jvoravong, I am closing this PR. Feel free to reopen when you have a plan to start working on this.


Feature/join by code approvals

Description
Fixes #1675
Notes (out of scope, known isues, hints for reviewing code, ...)  (optional)
...
Test cases

[auto-generated message] E2E test report on: https://algorea-static.s3.eu-central-1.amazonaws.com/branch/feature/join-by-code-approvals/playwright-report/index.html

[auto-generated message] E2E test report on: https://algorea-static.s3.eu-central-1.amazonaws.com/branch/feature/join-by-code-approvals/playwright-report/index.html

[auto-generated message] E2E test report on: https://algorea-static.s3.eu-central-1.amazonaws.com/branch/feature/join-by-code-approvals/playwright-report/index.html

For this kind of PR where it is useful I fully test the feature and the tests are not trivial, I think it would make sense to give ,in the PR description, a bit of a test scenario (at the least the way to make to the modal) (without covering all scenarios)

[auto-generated message] E2E test report on: https://algorea-static.s3.eu-central-1.amazonaws.com/branch/feature/join-by-code-approvals/playwright-report/index.html


cosign verify does not honor --rekor-url

Description
Summary:
I'm testing a local setup for signing docker images using a local rekor server, a local docker registry, and cosign generated keys but when verifying, it seems to not use the local rekor server as the transaction log.
Setup:

local rekor-server, using this docker-compose file.
local docker registry using the official image.
cosign version 2.2.1

NOTE: Code and log blocks below are snippets, containing only the relevant information to the suspected bug.
Actions:

Generate key pair using: cosign generate-key-pair
Push docker image to local registry: docker push localhost:5000/image:tag
Sign image using private key:

cosign sign --key cosign.key -y --rekor-url=http://localhost:3000 localhost:5000/image:tag
tlog entry created with index: 0
Pushing signature to: localhost:5000/image

Verify that there's a log entry in the local rekor server:

curl http://localhost:3000/api/v1/log/entries?logIndex=0

Verify image using public key

cosign verify --key cosign.pub --rekor-url=http://localhost:3000 localhost:5000/image:tag

When verifying, it outputs the following error message:
Error: no matching signatures: error verifying bundle: verifying bundle: rekor log public key not found for payload
main.go:69: error during command execution: no matching signatures: error verifying bundle: verifying bundle: rekor log public key not found for payload

So this was frustrating because even adding --verbose, it only adds debug information when getting data from the docker registry but not when connecting to the rekor server.
Anyways, I did additional tests and tried using the public rekor server.
cosign sign --key cosign.key localhost:5000/image:tag
tlog entry created with index: 56860445
Pushing signature to: localhost:5000/image

This created a tlog entry with index in the thousands (which makes sense because it's the public server). And verifying works.
cosign verify --key cosign.pub localhost:5000/image:tag

Verification for localhost:5000/image:tag --
The following checks were performed on each of these signatures:
  - The cosign claims were validated
  - Existence of the claims in the transparency log was verified offline
  - The signatures were verified against the specified public key

But when trying to verify again but this time using the local server (--rekor-url=http://localhost:3000), verification passed but I noticed that it was using the public rekor server because the response used a logindex that was for the public server. Other things I noticed. When passing in a nonexistent address for the rekor URL (ie --rekor-url=http://nonexistent:1234 for cosign sign, there is an error saying that it can't connect to the server. But for cosign verify, there are no errors. This led me to believe that perhaps the --rekor-url config is not being used during verification or something else is happening under the hood.
cosign sign pointing to a nonexistent server address (expecting connection errors)
❯ cosign sign --key cosign.key --rekor-url=httpasdf://localhost:3000 localhost:5000/image:tag
Error: signing [localhost:5000/image:tag]: recursively signing: signing digest: Post "httpasdf://localhost:3000/api/v1/log/entries": POST httpasdf://localhost:3000/api/v1/log/entries giving up after 1 attempt(s): Post "httpasdf://localhost:3000/api/v1/log/entries": unsupported protocol scheme "httpasdf"
main.go:74: error during command execution: signing [localhost:5000/image:tag]: recursively signing: signing digest: Post "httpasdf://localhost:3000/api/v1/log/entries": POST httpasdf://localhost:3000/api/v1/log/entries giving up after 1 attempt(s): Post "httpasdf://localhost:3000/api/v1/log/entries": unsupported protocol scheme "httpasdf"

cosign verify pointing to a nonexistent server address (expecting connection errors but none raised)
❯ cosign verify --key cosign.pub --rekor-url=httpasdf://localhost:3000 localhost:5000/image:tag
Error: no matching signatures: error verifying bundle: verifying bundle: rekor log public key not found for payload
 error verifying bundle: verifying bundle: rekor log public key not found for payload
main.go:69: error during command execution: no matching signatures: error verifying bundle: verifying bundle: rekor log public key not found for payload
 error verifying bundle: verifying bundle: rekor log public key not found for payload

Is this a bug for the verify command or am I doing something wrong when verification?
Version
Installed using homebrew
❯ cosign version

GitVersion:    2.2.1
GitCommit:     12cbf9ea177d22bbf5cf028bcb4712b5f174ebc6
GitTreeState:  "clean"
BuildDate:     2023-11-07T12:39:46Z
GoVersion:     go1.21.3
Compiler:      gc
Platform:      darwin/arm64

Hey @adrielldagasuan, if you use the --insecure-ignore-tlog=true flag, it means you're telling cosign to use a local Rekor server that's not secure (using http). Cosign will automatically(or implicity) recognize this insecure local server, so you don't have to specifically(or explicity) mention the Rekor URL for insecure connections.
The command will be like:
cosign verify --key cosign.pub --insecure-ignore-tlog=true  localhost:5000/image:tag│ | jq

Ahh let me try this. Probably something I missed in the docs. I have used the --insecure-ignore-tlog=true flag before but didn't for local URLs this has to be specified explicitly.

@viveksahu26 I don't see --insecure-ignore-tlog as a valid flag in my version of cosign. Is it the same as --tlog-upload=false?

Hey, sorry for the delayed response. What you're running into is not that the rekor-url flag is being ignored, it's that Cosign can't find a public key to verify Rekor responses. See this section of code if you're interested.
Cosign is preconfigured to trust our public root of trust, which is distributed through The Update Framework. If you want to use a private instance of Rekor or Fulcio, you need to also configure Cosign with the public key of the log or the root certificate of the CA respectively. Given you're just using keys, I'll just note how to do this for the log.
You either need to set up your own TUF repository, and configure Cosign to use it with cosign initialize (blog post which contains some details on how to), or you can set SIGSTORE_REKOR_PUBLIC_KEY to the file path with the log's key, which you can access with curl localhost:3000/api/v1/log/publicKey

Ahhhh. Thanks for this @haydentherapper ! Now I understood. I thought it was that the public key (used to sign the image) wasn't found in the manifest or something. Never thought it was the public key of the tlog. Setting the env variable worked!


ext: reverting of custom session interface

removes changes added to distinguish oauth requests.
(after https://github.com/inveniosoftware/invenio-accounts/pull/236, cd723ce2e3dffc8f799dc86e1d070c1ef53f3849 is not needed.)
Signed-off-by: Dinos Kousidis<EMAIL_ADDRESS>

If possible, to rebase and skip cd723ce2e3dffc8f799dc86e1d070c1ef53f3849 I think it'd be better.


[Traefik Plugin Catalog] Plugin Analyzer has detected a problem.

The plugin was not imported into Traefik Plugin Catalog.
Cause:
the import "github.com/michelleN/request-id" must be related to the module name "request-id"

Traefik Plugin Analyzer will restart when you will close this issue.
If you believe there is a problem with the Analyzer or this issue is the result of a false positive, please contact us.

updated package names


[5.6] Give preference to sqlsrv driver over dblib when sqlsrv driver exists.

As commented on [#24492] this small change will help solve most compatibility issues on different environments when Sql Server is used.
The official Sql Server driver is now available for all major vendor platforms, this will help developers have the same experience using sql server with laravel/php on Windows and Unix based OSs.
If for some reason the sqlsrv driver is not installed it will fallback to dblib, otherwise a RuntimeException will be thrown.

This would be a breaking change on 5.6 to start preferring another DB driver.


UpdateTime in Spanner Writing is Slightly in the Future

Describe the bug
This is found in rpc recordBlobRequests.  The UpdateTime in the spanner writing operation is slightly after the database current time, thus this writing fails. The clock of the server is not strictly consistent with the database.
It happened 6 times within 1 minute and recovered.
Steps to reproduce
Run stress test and there is a chance to reproduce.
Component(s) affected
Duchy
Version
v0.5.7-rc4
Environment
QA env
Additional context
Error message example:
Cannot write timestamps in the future 2024-08-09T10:19:56.098900141Z > 2024-08-09T10:19:56.098625Z (current time) because the allow_commit_timestamp column option is set to true for column Computations.UpdateTime, or for a corresponding shared key column in this table's interleaved table hierarchy.

global computation id example: BOxRTMtdgo8

The Spanner error is just an indication of a broader bug: update time is not monotonically increasing. More specifically, the following pattern should be possible:

List all resources updated since time X
Record the latest seen update time from (1) as Y
List all resources updated since time Y

The result of (3) must not miss any resources, and Y >= X must hold.


Completion of error handling

Would you like to add more error handling for return values from functions like the following?

malloc ⇒ gdi_init
pthread_create ⇒ main

I have added error handling in main. All code in libfree_rdp is the original library, and as such has not really been changed (with the exception of gleeda fixing some ffmpeg compatibility issues).

Thanks for your small source code improvement.
How do you think about to update also the bundled software?


Suggestion for organizing the a lot of LOC yaml file

Right now I implement a system with GCP workflow but I have some problem about how to organizing the yaml file which have a lot of LOC. However, in some platform fix this problem by using multiple file such as gitlab CICD that you can import another yaml file into the another one.
Does anyone have any suggestion ?

Hi!
Thanks for your question! A solution to your problem is described in this blog post written by a colleague of mine.
In short, while Workflows only supports a single workflow definition file, if you use Terraform to manage your workflows you can use a combination of its join function and templatefile function to combine multiple definition files.
All of the yaml files do end up getting merged and deployed as a single yaml to workflows, but it does simplify the management of the subworkflows that you might have.

@rogerthatdev
Thank you for your advice
What about in the dev environment? from your suggestion it is about a production, but in the dev environment is a huge problem that we need to merge all file to test run, so it became chunky.


Makefile

Maybe make makefile better in the future

Testing slack GitHub bot with a comment.

Definitely – there seems to be two popular options to use in the toolchain. One of them is ocamlbuild but i forget what the other one is.
We should consult kevin on this. @cerrno can you see what note hstag does?

corebuild is what kevin suggested

Pushing branch with changes solving this soon


500 Peer Not Authorized

Seems like I need to import some certificate into somewhere...???
Try to log in via github. URl's are correct on Github side. When accessing URL:
I get:
Error 500
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:371)
at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:390)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:562)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
at org.jenkinsci.plugins.GithubSecurityRealm.doFinishLogin(GithubSecurityRealm.java:278)
Interestingly, if I change the github address to Http:// instead of https:// I get a different error.

just going to throw it out there that I'm having the same issue ... I even compiled http://code.google.com/p/java-use-examples/source/browse/trunk/src/com/aw/ad/util/InstallCert.java and imported the certificates from github

I am seeing this issue as well

FYI to everyone on this issue. I added -Djavax.net.debug=ssl to my jenkins startup and saw that the jdk was claiming that githubs certs were not signed by a valid CA. (which is obviously bogus)
Upon further investigation I saw that the box I was deploying on was running openjdk and not the sun jdk. I'm guessing the trust certs shipped with the version of openjdk I was using are out of date.
I installed the sun jdk and ran there and all works as it should. This is almost certainly an issue with your jdk installation.

is there a way to import a correct cert into open java?

If there is I haven't found it ... I needed to import the github certs just to get jenkins to work at all with github and did that some time ago ... The InstallCert program did that well.  I can appreciate that "your running the wrong software" is a great answer to a problem, but it's completely not useful here.

Right - I'm just saying that however olay build of openJDK 1.6 was
configured it didn't recognize the CA that signed githubs certificate as
being valid - which is obviously wrong.
I didn't look at it any further as I have no problem running the sun JDK
and it fixed the problem.
I meant my note just to indicate that this isn't a bug with the plugin at
all - but rather a config issue with the JDK.
On Saturday, January 14, 2012, Kevin Bridges <
<EMAIL_ADDRESS>wrote:

If there is I haven't found it ... I needed to import the github certs
just to get jenkins to work at all with github and did that some time ago
... The InstallCert program did that well.  I can appreciate that "your
running the wrong software" is a great answer to a problem, but it's
completely not useful here.

Reply to this email directly or view it on GitHub:

https://github.com/mocleiri/github-oauth-plugin/issues/11#issuecomment-3493595

Thanks for investigating this issue.
Because it is not fixable by the plugin itself I am closing this issue.


nixos/filesystems: condition mount-pstore.service on unmounted /sys/fs/pstore (once more)

backport of #123902.

@symphorien Here we go.

The manual https://nixos.org/manual/nixpkgs/stable/#submitting-changes-stable-release-branches requests that you cherry-pick with -x for traceability.

Thanks! The whole merge parent thing had me a bit tripped up.

thanks!


[R-package] remove unnecessary comments

This PR proposes removing some comments in the R package that I think are unnecessary.
There are a lot of things like this in the R code:
    # return ret
    return(ret)

Comments like this don't add any understanding of the code, but they do make it slightly harder to read and possibly lead to false positives when using git grep or similar tools to search through the codebase for things.

@jameslamb
Could you please fix some typos from #2912 in this PR as well?
I believe it is not "loss" but "metric" or "evaluation function".
https://github.com/microsoft/LightGBM/blob/d4325c5a4428b120d8611b6cba9b821f3a5f3b12/R-package/R/lgb.cv.R#L121
structture, higher_bettter
https://github.com/microsoft/LightGBM/blob/d4325c5a4428b120d8611b6cba9b821f3a5f3b12/R-package/R/lgb.cv.R#L595
Same as above for loss
https://github.com/microsoft/LightGBM/blob/d4325c5a4428b120d8611b6cba9b821f3a5f3b12/R-package/R/lgb.train.R#L98
Maybe
assign(x = ACCUMULATOR_NAME, value = 0.0, envir = .GlobalEnv)

?
https://github.com/microsoft/LightGBM/blob/d4325c5a4428b120d8611b6cba9b821f3a5f3b12/R-package/tests/testthat/test_basic.R#L15-L16

@StrikerRUS sure, I agree with all those! Just pushed them: https://github.com/microsoft/LightGBM/pull/3356/commits/727fe46e45e8af3bf8a3abad7ddbcfc807299bcd

@jameslamb Thank you!


consider deleting metab_funs

it's essentially redundant with the defaults in the type argument to mm_valid_names. is that enough? seems like just one more piece of complexity, unless it's getting used somewhere important. It's currently present in model_types.Rmd, nowhere else

yeah, i'm gonna delete this. just wrote a more useful function, metab_inputs, inspired by this one but quite different in function


Merge release into master after release

Merge release into master to prevent merge conflicts during automatic merges

@bot-gradle test and merge

OK, I've already triggered a build for you.

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.

OK, I've already triggered a build for you.


Hide "Contents" on pages with multiple TOC trees

If a document has more than one TOC tree directive and no other headings on the page, an empty "Contents" section is rendered in the sidebar. Adjusting the hide-toc logic to check if all entries in the TOC tree are all local TOC tree entries.

Do you have an example documentation set for me to try before/after on?
(if you could post screenshots, even better)

Do you have an example documentation set for me to try before/after on?

This documentation with this render (if that helps).


ethereum: fix GETH_ETH_CALL_ERRORS_ENV

Previously if GETH_ETH_CALL_ERRORS_ENV is not set, then any error returned from eth_call would be considered deterministic. This is because calling split on an empty string returns [""], not [] (playground), and all strings contain "". This affects release 0.24 and can cause subgraph failures on subgraphs using contract calls, and most severely incorrect data on subgraphs using try_ calls, which would return a reverted result when it fact it was a spurious error.
This did not affect the hosted service because it has GETH_ETH_CALL_ERRORS_ENV set to "out of gas".

Would split_terminator fix the issue?
    let foo: Vec<_> = String::new()
        .split_terminator(';')
        .map(ToOwned::to_owned)
        .collect();

    // Prints `[]`
    println!("{:?}", foo);

    let abc: Vec<_> = "A;B;C"
        .split_terminator(';')
        .map(ToOwned::to_owned)
        .collect();

    // Prints `["A", "B", "C"] `
    println!("{:?}", abc);

@vrmiguel that would work better, good to know. This is all very confusing, so I've settled for just explicitly filtering out empty strings.


Build Failed after upgrade to 1.7.8

Hi.
After upgrade my application to version 1.7.8 a retrive tha follow error:
Compiler message:
file:///C:/Users/claudinei/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-0.4.2/lib/cached_network_image.dart:199:38: Error: The argument type 'void Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
 - 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart' ('file:///C:/Users/claudinei/flutter/flutter/packages/flutter/lib/src/painting/image_stream.dart').
 - 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart' ('file:///C:/Users/claudinei/flutter/flutter/packages/flutter/lib/src/painting/image_stream.dart').
Try changing the type of the parameter, or casting the argument to 'ImageStreamListener'.
      oldImageStream?.removeListener(_handleImageChanged);
                                     ^
file:///C:/Users/claudinei/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-0.4.2/lib/cached_network_image.dart:200:32: Error: The argument type 'void Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
 - 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart' ('file:///C:/Users/claudinei/flutter/flutter/packages/flutter/lib/src/painting/image_stream.dart').
 - 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart' ('file:///C:/Users/claudinei/flutter/flutter/packages/flutter/lib/src/painting/image_stream.dart').
Try changing the type of the parameter, or casting the argument to 'ImageStreamListener'.
      _imageStream.addListener(_handleImageChanged);
                               ^
file:///C:/Users/claudinei/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-0.4.2/lib/cached_network_image.dart:210:34: Error: The argument type 'void Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
 - 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart' ('file:///C:/Users/claudinei/flutter/flutter/packages/flutter/lib/src/painting/image_stream.dart').
 - 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart' ('file:///C:/Users/claudinei/flutter/flutter/packages/flutter/lib/src/painting/image_stream.dart').
Try changing the type of the parameter, or casting the argument to 'ImageStreamListener'.
    _imageStream?.removeListener(_handleImageChanged);
                                 ^
file:///C:/Users/claudinei/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-0.4.2/lib/cached_network_image.dart:464:31: Error: The argument type 'Null Function(StringBuffer)' can't be assigned to the parameter type 'Iterable<DiagnosticsNode> Function()'.
 - 'StringBuffer' is from 'dart:core'.
 - 'Iterable' is from 'dart:core'.
 - 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('file:///C:/Users/claudinei/flutter/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
Try changing the type of the parameter, or casting the argument to 'Iterable<DiagnosticsNode> Function()'.
        informationCollector: (StringBuffer information) {
                              ^
Compiler failed on C:\Users\claudinei\projetos\risa_shop\lib\main.dart

FAILURE: Build failed with an exception.

* Where:
Script 'C:\Users\claudinei\flutter\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 665

* What went wrong:
Execution failed for task ':app:compileflutterBuildDebugArm'.
> Process 'command 'C:\Users\claudinei\flutter\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 19s
Finished with error: Gradle task assembleDebug failed with exit code 1

My flutter Doctor:
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.7.8+hotfix.4, on Microsoft Windows [versÃ£o 10.0.17134.885], locale pt-BR)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.0-rc1)
[√] Android Studio (version 3.4)
[√] VS Code (version 1.36.1)
[√] Connected device (1 available)

• No issues found!

try
flutter clean

same problem

I just worked through this tutorial:
https://dragosholban.com/2019/02/16/building-a-puzzle-game-using-flutter/#comment-1354

and got the same error.
Other sources recommend to recast the lib file in questsion (https://github.com/flutter/flutter/issues/33827), but this can't be a durable solution, right?
Can the Flutter team provide a solution, please?

I found that the problem was the simple_slider: ^ 0.0.1 plugin that was abandoned, and replaced it with a more current one, did the migration and the build was successful.


Error 404

I have tried to download the stocks symbol and the currency but i am getting this error. It seems that the url adresss change.
Traceback (most recent call last):
File "C:\Users\myname\AppData\Local\Programs\Python\Python35\Scripts\YahooTickerDownloader.py", line 161, in
main()
File "C:\Users\myname\AppData\Local\Programs\Python\Python35\Scripts\YahooTickerDownloader.py", line 111, in main
downloadEverything(downloader, tickerType, args.insecure, args.sleep, args.pandantic)
File "C:\Users\myname\AppData\Local\Programs\Python\Python35\Scripts\YahooTickerDownloader.py", line 50, in downloadEverything
symbols = downloader.nextRequest(insecure, pandantic)
File "c:\users\myname\appdata\local\programs\python\python35\lib\site-packages\ytd\SymbolDownloader.py", line 113, in nextRequest
html = self._fetchHtml(insecure)
File "c:\users\myname\appdata\local\programs\python\python35\lib\site-packages\ytd\SymbolDownloader.py", line 56, in _fetchHtml
resp.raise_for_status()
File "c:\users\myname\appdata\local\programs\python\python35\lib\site-packages\requests\models.py", line 909, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://finance.yahoo.com/lookup/C?m=ALL&s=a&t=C&bypass=true&b=0

I have confirmed this.

I don't see a way to move to next page in the new Yahoo user interface. I guess this is the end for this web scraper. It was a fun project while it lasted.

You can get old collected data here: https://bennyjacobs.nl/market/
Please leave a comment if anyone finds another data source.

It is not over yet. I just found https://finance.yahoo.com/lookup/stocks?s=a&b=0 This will do nicely.


OioServerChannel Default Max Messages Per Read Too High

Motivation:
A few implementations of OioServerChannel have a default max messages per read set to 16. We should set the default to 1 to prevent blocking on a read before setting a socket that has just been accepted.
Modifications:

OioSctpServerChannel and OioServerSocketChannel metadata changed to use the default (1) max messages per read

Result:
Oio based servers will complete accepting a socket before potentially blocking waiting to accept other sockets.

@normanmaurer - FYI

@Scottmitch ship it mate :)

Cherry-picked 4.1 (8ba4b63)
I need to hear your British accent impersonation when you are state side :smile:


Add -d to alpine and slim, echo DOCKER_CONFIG

Another try to debug push issue

Close and reopen for build


fix: correct implementation of doubleClick action

There is no wd.doubleClick method, there is doubleclick
It does not accept the button
The original code acts on incorrect element

/cc @j0tunn

/ok


Attributes "type" and "properties" optional

Thanks @hasbridge for your excellent JSON-schema validator.  In browsing the spec at tools.ietf.org/html/draft-zyp-json-schema-03, the last paragraph of section 5 says all attributes are optional, which would include "type" and "properties".  I have updated php-json-schema as well as the unit tests to reflect this.  Pull if you'd like.  :-)  Thanks.

Thanks, merged :)


Implement Saved Commands

Main purposes of change:

There are number of feature requests to add way to save custom commands
I believe there were feature requests to allow users send only some commands

Implemented:

Added boolean user/server field "Limit Commands" means "Limit sending only Saved Commands". If it is true:

user can not edit/link/unlink Saved Commands
user can not send not Saved Commands
user can send already linked to him and to device Saved Commands

Added description field to Command model to get some human readable name
Added CommandsManager extending ExtendedObjectManager
Moved commands related things from DeviceManager to CommandsManager

fix #3470
More comments in code

Done renaming and some cleanup

Sorry, I'm going to add one change...
I need rethink getSupportedCommands function, it will save one API request if we return only sms commands if device offline and both (data and sms) if device is online

Hope now everything is done.

Merged, thanks.

Can you please also update swagger documentation.


Beacon Study Operation Report

Generating Beacon Return Report
Beacons are soon returning and we need to develop something that would create a report about their overall behavior during the study as well as how they are hold-up against post-calibration.
Looks like the ideal choice would be to create two reports, this issue concerns itself with the first:
Beacon Operation During Study
Taking the data available from the study period, we should look at the following:

plot the time series/heatmaps for the various environmental variables
identify negative values
identify extreme values
determine the percent completeness for the dataset for each of the sensors

The points above should all be explored, but some extra features to consider:

drift detection - is there an easy way to do this?
temperature comparison between sensors

Mot functionality has been included. Need to include:

[ ] heatmap (function completed in visualize)
[ ] temperature comparison

Created the reports in the reports dir


Preserve information needed for repro when ptxas segfaults

Summary:
Currently when ptxas segfaults, Triton prints a message asking the user to confirm the crash by running ptxas the_bad_input.ptx. However:

the exact repro command is not shown to the user
the bad .ptx file is not preserved

This PR preserves the bad .ptx file and prints the exact repro command. This makes it possible to actually repro the segfault and report the bug upstream.
Before:
$ python test.py
...
RuntimeError: Please run `ptxas /tmp/tmpzt0bfsko.ptx` to confirm that this is a bug in `ptxas`

Necessary files are not preserved:
$ ptxas /tmp/tmpzt0bfsko.ptx
ptxas fatal   : Input file '/tmp/tmpzt0bfsko.ptx' could not be opened
ptxas fatal   : Ptx assembly aborted due to errors

After:
$ python test.py
...
RuntimeError: `ptxas` raised SIGSEGV
`ptxas` stderr:

Repro command: /data/users/embg/triton/python/triton/backends/nvidia/bin/ptxas -lineinfo -v --gpu-name=sm_90a /tmp/tmpzt0bfsko.ptx -o /tmp/tmpzt0bfsko.ptx.o 2> /tmp/tmpukzluqfn.log

Necessary files are preserved:
$ ls -l /tmp/tmpzt0bfsko.ptx
-rw------- 1 embg users 8054 Jul 29 09:55 /tmp/tmpzt0bfsko.ptx

Now we can repro the segfault and report upstream to nvidia:
$ /data/users/embg/triton/python/triton/backends/nvidia/bin/ptxas -lineinfo -v --gpu-name=sm_90a /tmp/tmpzt0bfsko.ptx -o /tmp/tmpzt0bfsko.ptx.o 2> /tmp/tmpukzluqfn.log
Segmentation fault (core dumped)

Checklist:

[x] I am not making a trivial change, such as fixing a typo in a comment.

[x] I have written a PR description following these
rules.

[x] I have run pre-commit run --from-ref origin/main --to-ref HEAD.

Select one of the following.

[x] This PR does not need a test because: "hopefully nvidia fixes the ptx segfault, which would break our test!"

Select one of the following.

[x] I have not added any lit tests.

Rebased and addressed comments from @htyu


nom run ios报错

h.mm:688
Details:  unable to write dependency graph: Permission denied
Object:
Method:   +loadOrCreateInBuildDirectory:withTargetBuildContext:withBasePath:
Thread:   <NSThread: 0x7fe9cfb1ceb0>{number = 11, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
** BUILD FAILED **
The following build commands failed:
ProcessProductPackaging "" build/Build/Intermediates.noindex/WeexDemo.build/Debug-iphonesimulator/WeexDemo.build/WeexDemo.app.xcent
(1 failure)
2018-02-27 00:05:13.874 xcodebuild[2271:63119] couldn't read dependency graph from '/Users/Codeliu/Desktop/WeexTest/listlist/platforms/ios/build/Build/Intermediates.noindex/WeexDemo.build/Debug-iphonesimulator/WeexDemo.build/dgph': Permission denied
2018-02-27 00:05:13.874 xcodebuild[2271:63119] unable to create temporary file at /Users/Codeliu/Desktop/WeexTest/listlist/platforms/ios/build/Build/Intermediates.noindex/WeexDemo.build/Debug-iphonesimulator/WeexDemo.build/dgph-2e3Xr6gG: Permission denied
2018-02-27 00:05:13.875 xcodebuild[2271:63119]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-13756/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/BuildSystem/DependencyGraph/XCDependencyGraph.mm:688
Details:  unable to write dependency graph: Permission denied
Object:
Method:   +loadOrCreateInBuildDirectory:withTargetBuildContext:withBasePath:
Thread:   <NSThread: 0x7fe9cfb1ceb0>{number = 11, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
00:05:13 : Error:Error: Command failed: xcodebuild -workspace WeexDemo.xcworkspace -schemeWeexDemo -configuration Debug -destination id=E6ACC17B-74BE-4B13-A341-916AE58EB49B -sdk iphonesimulator -derivedDataPath build clean build
2018-02-27 00:04:54.545 xcodebuild[2271:63076] [MT] PluginLoading: Required plug-in compatibility UUID B395D63E-9166-4CD6-9287-6889D507AD6A for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/ZLXCodeLine.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2018-02-27 00:04:54.546 xcodebuild[2271:63076] [MT] PluginLoading: Required plug-in compatibility UUID B395D63E-9166-4CD6-9287-6889D507AD6A for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XFunnyEditor.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2018-02-27 00:04:54.546 xcodebuild[2271:63076] [MT] PluginLoading: Required plug-in compatibility UUID B395D63E-9166-4CD6-9287-6889D507AD6A for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/VVDocumenter-Xcode.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2018-02-27 00:04:54.546 xcodebuild[2271:63076] [MT] PluginLoading: Required plug-in compatibility UUID B395D63E-9166-4CD6-9287-6889D507AD6A for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/CocoaPods.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2018-02-27 00:04:54.547 xcodebuild[2271:63076] [MT] PluginLoading: Required plug-in compatibility UUID B395D63E-9166-4CD6-9287-6889D507AD6A for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/ActivatePowerMode.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2018-02-27 00:04:55.719 xcodebuild[2271:63119] couldn't read dependency graph from '/Users/Codeliu/Desktop/WeexTest/listlist/platforms/ios/build/Build/Intermediates.noindex/WeexDemo.build/Debug-iphonesimulator/WeexDemo.build/dgph': Permission denied
2018-02-27 00:04:55.719 xcodebuild[2271:63119] unable to create temporary file at /Users/Codeliu/Desktop/WeexTest/listlist/platforms/ios/build/Build/Intermediates.noindex/WeexDemo.build/Debug-iphonesimulator/WeexDemo.build/dgph-jbh6JtKC: Permission denied
2018-02-27 00:04:55.720 xcodebuild[2271:63119]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-13756/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/BuildSystem/DependencyGraph/XCDependencyGraph.mm:688
Details:  unable to write dependency graph: Permission denied
Object:
Method:   +loadOrCreateInBuildDirectory:withTargetBuildContext:withBasePath:
Thread:   <NSThread: 0x7fe9cfb1ceb0>{number = 11, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
** CLEAN FAILED **
The following build commands failed:
Clean.Remove clean build/Build/Intermediates.noindex/WeexDemo.build/Debug-iphonesimulator/WeexDemo.build
(1 failure)
2018-02-27 00:04:56.187 xcodebuild[2271:63119] couldn't read dependency graph from '/Users/Codeliu/Desktop/WeexTest/listlist/platforms/ios/build/Build/Intermediates.noindex/WeexDemo.build/Debug-iphonesimulator/WeexDemo.build/dgph': Permission denied
2018-02-27 00:04:56.187 xcodebuild[2271:63119] unable to create temporary file at /Users/Codeliu/Desktop/WeexTest/listlist/platforms/ios/build/Build/Intermediates.noindex/WeexDemo.build/Debug-iphonesimulator/WeexDemo.build/dgph-SC21dVY7: Permission denied
2018-02-27 00:04:56.187 xcodebuild[2271:63119]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-13756/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/BuildSystem/DependencyGraph/XCDependencyGraph.mm:688
Details:  unable to write dependency graph: Permission denied
Object:
Method:   +loadOrCreateInBuildDirectory:withTargetBuildContext:withBasePath:
Thread:   <NSThread: 0x7fe9cfb1ceb0>{number = 11, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2018-02-27 00:04:56.361 xcodebuild[2271:63119] couldn't read dependency graph from '/Users/Codeliu/Desktop/WeexTest/listlist/platforms/ios/build/Build/Intermediates.noindex/WeexDemo.build/Debug-iphonesimulator/WeexDemo.build/dgph': Permission denied
2018-02-27 00:04:56.361 xcodebuild[2271:63119] unable to create temporary file at /Users/Codeliu/Desktop/WeexTest/listlist/platforms/ios/build/Build/Intermediates.noindex/WeexDemo.build/Debug-iphonesimulator/WeexDemo.build/dgph-m9I1OA9S: Permission denied
2018-02-27 00:04:56.361 xcodebuild[2271:63119]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-13756/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/BuildSystem/DependencyGraph/XCDependencyGraph.mm:688
Details:  unable to write dependency graph: Permission denied
Object:
Method:   +loadOrCreateInBuildDirectory:withTargetBuildContext:withBasePath:
Thread:   <NSThread: 0x7fe9cfb1ceb0>{number = 11, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
** BUILD FAILED **
The following build commands failed:
ProcessProductPackaging "" build/Build/Intermediates.noindex/WeexDemo.build/Debug-iphonesimulator/WeexDemo.build/WeexDemo.app.xcent
(1 failure)
2018-02-27 00:05:13.874 xcodebuild[2271:63119] couldn't read dependency graph from '/Users/Codeliu/Desktop/WeexTest/listlist/platforms/ios/build/Build/Intermediates.noindex/WeexDemo.build/Debug-iphonesimulator/WeexDemo.build/dgph': Permission denied
2018-02-27 00:05:13.874 xcodebuild[2271:63119] unable to create temporary file at /Users/Codeliu/Desktop/WeexTest/listlist/platforms/ios/build/Build/Intermediates.noindex/WeexDemo.build/Debug-iphonesimulator/WeexDemo.build/dgph-2e3Xr6gG: Permission denied
2018-02-27 00:05:13.875 xcodebuild[2271:63119]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-13756/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/BuildSystem/DependencyGraph/XCDependencyGraph.mm:688
Details:  unable to write dependency graph: Permission denied
Object:
Method:   +loadOrCreateInBuildDirectory:withTargetBuildContext:withBasePath:
Thread:   <NSThread: 0x7fe9cfb1ceb0>{number = 11, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
at checkExecSyncError (child_process.js:601:13)
at Object.execSync (child_process.js:641:13)
at _buildOnSimulator (/Users/Codeliu/.xtoolkit/node_modules/weexpack/lib/run/ios.js:328:18)
at /Users/Codeliu/.xtoolkit/node_modules/weexpack/lib/run/ios.js:300:7
at new Promise (<anonymous>)
at buildApp (/Users/Codeliu/.xtoolkit/node_modules/weexpack/lib/run/ios.js:289:10)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)

@codeliu6572 do you have the env of cocopod?

yes, i am sure

@codeliu6572 you may not have the permission to read dependency graph and I need more information about your error.

@erha19
bogon:tabbarpro Codeliu$ sudo weex platform add ios
Password:
┌──────────────────────────────────────────────┐
│                                              │
│                                              │
│   Update available 1.1.1 → 1.1.5             │
│   Run weex update<EMAIL_ADDRESS>to update   │
│                                              │
│                                              │
└──────────────────────────────────────────────┘
19:16:56 : Adding ios<EMAIL_ADDRESS>...
19:16:56 : Success!
bogon:tabbarpro Codeliu$ sudo weex run ios
┌──────────────────────────────────────────────┐
│                                              │
│                                              │
│   Update available 1.1.1 → 1.1.5             │
│   Run weex update<EMAIL_ADDRESS>to update   │
│                                              │
│                                              │
└──────────────────────────────────────────────┘
19:17:04 : npm run build

<EMAIL_ADDRESS>build /Users/Codeliu/Desktop/weex练习/简易项目/tabbarpro
webpack --env.NODE_ENV=common

Hash: 8386ed961d46f7e1665eab708bb87ce2c50a1e60
Version: webpack 3.11.0
Child
Hash: 8386ed961d46f7e1665e
Time: 7005ms
Asset     Size  Chunks                    Chunk Names
index.web.js   620 kB       0  [emitted]  [big]  index
components/setting.web.js   620 kB       1  [emitted]  [big]  components/setting
components/mycenter.web.js   620 kB       2  [emitted]  [big]  components/mycenter
components/list.web.js   620 kB       3  [emitted]  [big]  components/list
components/home.web.js   620 kB       4  [emitted]  [big]  components/home
components/aboutus.web.js   620 kB       5  [emitted]  [big]  components/aboutus
vendor.web.js  13.5 kB       6  [emitted]         vendor
[0] (webpack)/buildin/global.js 509 bytes {0} {1} {2} {3} {4} {5} [built]
[40] ./.temp/index.js 448 bytes {0} [built]
[41] ./src/index.vue 1.76 kB {0} [built]
[42] ./node_modules/vue-style-loader!./node_modules/css-loader!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-12abeac9","scoped":false,"hasInlineConfig":false}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./src/index.vue 1.55 kB {0} [built]
[43] ./node_modules/css-loader!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-12abeac9","scoped":false,"hasInlineConfig":false}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./src/index.vue 187 bytes {0} [built]
[44] ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/index.vue 120 bytes {0} [built]
[45] ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-12abeac9","hasScoped":false}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/index.vue 333 bytes {0} [built]
[46] multi ./node_modules/phantom-limb/index.js 28 bytes {6} [built]
+ 40 hidden modules
Child
Hash: ab708bb87ce2c50a1e60
Time: 2560ms
Asset     Size  Chunks             Chunk Names
index.js  4.42 kB       0  [emitted]  index
components/setting.js  4.43 kB       1  [emitted]  components/setting
components/mycenter.js  4.43 kB       2  [emitted]  components/mycenter
components/list.js  4.49 kB       3  [emitted]  components/list
components/home.js  4.45 kB       4  [emitted]  components/home
components/aboutus.js  4.41 kB       5  [emitted]  components/aboutus
[20] ./src/index.vue?entry=true 1.83 kB {0} [built]
[21] ./node_modules/weex-vue-loader/lib/style-loader.js!./node_modules/weex-vue-loader/lib/style-rewriter.js?id=data-v-2964abc9!./node_modules/weex-vue-loader/lib/selector.js?type=styles&index=0!./src/index.vue 19 bytes {0} [built]
[22] ./node_modules/weex-vue-loader/lib/script-loader.js!./node_modules/babel-loader/lib!./node_modules/weex-vue-loader/lib/selector.js?type=script&index=0!./src/index.vue 120 bytes {0} [built]
[23] ./node_modules/weex-vue-loader/lib/template-compiler.js?id=data-v-2964abc9!./node_modules/weex-vue-loader/lib/selector.js?type=template&index=0!./src/index.vue 183 bytes {0} [built]
+ 20 hidden modules
19:17:12 : Move JSbundle to dist
19:17:12 : start iOS app
============Build Config============
AppName      : WeexApp
Version      : 0.1
BuildVersion : 0.1.0
AppId        : com.alibaba.weex
WeexBundle   : index.js
Ws           : ws://<IP_ADDRESS>:8080
CodeSign     :
Profile      :
19:17:12 : If you want to change build config.please modify ios.config.json
19:17:12 : pod update
19:17:12 : Hot Reload socket: ws://<IP_ADDRESS>:8080
? Choose one of the following devices (Use arrow keys)
? Choose one of the following devices iPhone 8 ios: 11.2
19:17:23 : Buiding project...
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock build/Build/Intermediates.noindex/WeexDemo.build/Debug-iphonesimulator/
WeexDemo.build/Script-CD3187D7C603AFBFADBBAE7F.sh
(1 failure)
19:17:24 : Error:Error: Command failed: xcodebuild -workspace WeexDemo.xcworkspace -scheme WeexDemo -configuration Debug -destination id=15CCC22B-5292-4708-B32B-BA5FB842CFFC -sdk iphonesimulator -derivedDataPath build clean build
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock build/Build/Intermediates.noindex/WeexDemo.build/Debug-iphonesimulator/WeexDemo.build/Script-CD3187D7C603AFBFADBBAE7F.sh
(1 failure)
at checkExecSyncError (child_process.js:601:13)
at Object.execSync (child_process.js:641:13)
at _buildOnSimulator (/Users/Codeliu/.xtoolkit/node_modules/weexpack/lib/run/ios.js:328:18)
at /Users/Codeliu/.xtoolkit/node_modules/weexpack/lib/run/ios.js:300:7
at new Promise (<anonymous>)
at buildApp (/Users/Codeliu/.xtoolkit/node_modules/weexpack/lib/run/ios.js:289:10)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)

that is all

@codeliu6572 open WeexDemo.xcodeproj on your Xcode and select the project Build Phases, remove [CP] Check Pods Manifest.lock config of your project, then run it again.

I can run project by myself before, but can't run by weex.Thank you for your answer, i can run project by weex now.


CodeMirror: input not syncing from editor back to browser

Introduction
I just started using GhostText, and I really like the fact that I can finally use my Vim (:heart:) within Firefox (with extensions, even! :tada:)
In fact, I'm writing this very text using GhostText :smiley:
For my work I have to work in ServiceNow, which uses CodeMirror fields for code input.
Sadly, this does not work as expected.
Linking GhostText to my editor seems to work just fine, and the contents of the field are visible and transferred to my editor.
But changes I make from within my editor are not synced back to the browser. However, changes I make in the browser are synced to my editor.
This is also the case when I tried the example editors on the CodeMirror homepage (e.g. simple scrollbars example).
Since I saw CodeMirror mentioned on the Add-On page, I assumed it was already fully supported, hence this bugreport.
I would really like to use this to develop :blush:
Technical details

Firefox 57.0.1 (64-bit) on ubuntu
GhostText <IP_ADDRESS>0
Vim-Ghost commit: 24db47c
Neovim: NVIM v0.2.3-dev (via nvim ppa)

I'm getting the following errors in my console:

If you want anything else, please ask, I'd by happy to supply it if I can.

The CodeMirror plugin has some bugs but it works for me in Sublime Text (+Firefox or Chrome). Can you try using Sublime Text to exclude any issues specific to the vim extension?

The CodeMirror plugin has some bugs but it works for me in Sublime Text (+Firefox or Chrome). Can you try using Sublime Text to exclude any issues specific to the vim extension?

I just tried it with sublime text, and the same thing happened; the changes only go one way. (browser->editor, not vice versa)

Probably you're just clicking the button too many times and that's buggy at the moment. Load the page, click the button and select the field, once.

I restarted the browser and made sure it was the only tab open. Then I started sublime text and clicked the button once. I then clicked the field I wanted to edit, and the same thing happened as before :-/ .
Sublime text works fine here on github, as did neovim; so I think it's probably not the vim extension.

I see you're doing a rewrite.
Am I correct in assuming that will eventually fix the issue?
Anything I can do to help?

Yeah the issue should be gone, however I realized that it doesn’t work on HTTPS sites because chrome thinks it’s mixed content (it shouldn’t) and the chromium bug has been inactive.
I have to write a big chunk of code to move the connection to background.js because of this. Super annoying. Plus holidays means this will get postponed for a while.
If you want to help you can adopt an editor extension, some of them are buggy.

I'm not sure how much I can help, but at the very least I could help you test it. :-)

Is this the reason why GhostText doesn't work on https://build.opensuse.org/ (e.g., take a look at this page)?

Can you test the new version? It hasn't been published to the stores yet: https://github.com/GhostText/GhostText/issues/172

@fregante Sorry, I switched to firenvim already and I don’t think I am looking back.


Proxy on LAN doesn't work

Hello,
I've setup a test VM running Ubuntu Server 19.10 (had trouble with installing Docker on Ubuntu 20.04...) by following the instructions at https://nginxproxymanager.com/setup/. Keep in mind this is a vanilla setup, I've changed nothing in the config files.
For the life of me I can't seem to be able to proxy to any other server on a different local IP. Everything is going through my LAN; nothing is coming or going to the Internet so it's not a DNS issue.
Here's the network info:

DMZ - <IP_ADDRESS>/24
LAN - <IP_ADDRESS>/24
Firewall rules are OK for HTTP / HTTPS trafic between DMZ and LAN. For testing purposed I've allowed any trafic from/to <IP_ADDRESS> and <IP_ADDRESS>
NPM-VM (<IP_ADDRESS>)
Bookstack-VM (<IP_ADDRESS>)
DNS entry on my local DNS server for wiki.domain.com points to <IP_ADDRESS>(NPM-VM)

So on Nginx Proxy Manager I do the following :

Add proxy host
Domain Names = wiki.domain.com
Scheme = http ; Foward hostname / IP = <IP_ADDRESS> ; Foward Port = 80
Save, entry is enabled and Online

When I test it in a browser I get ERR_CONNECTION_TIMED_OUT so obviously nothing gets to the target VM.
I've checked my logs on my firewall and there's no trafic going from <IP_ADDRESS> to <IP_ADDRESS>. It's like Nginx Proxy Manager is not even trying to send data over to <IP_ADDRESS>
I've logged in the VM using SSH to do a ping test and it works fine. I've tried it in the docker container as well and trafic gets trough.
I really don't know what it could be so I was hoping you could help me with that
Thank you

Presumably unless your docker container is set up to use the host network, it’ll be isolated from your LAN? I thought that’s how dockers internal network works.

Are you able to get the default page when visiting <IP_ADDRESS>? If not, this has to be an issue with exposing NPM to the network. If you do, check this directory inside the docker container: /data/logs/ and in there are a few files named proxy_host-x.log. Look into these files to check whether the requests were received by nginx.
But as this issue is fairly old and there hasn't been any activity lately I will close this for now.


Update for V2+ functions

Really needs to be updated for V2+ functions

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

ID: 0849e19e-7d1a-07e4-1f37-05fa6f05adde
Version Independent ID: 14d5ae77-cdd3-48d7-5948-005c30aeff8a
Content: OpenAPI metadata in Azure Functions
Content Source: articles/azure-functions/functions-api-definition.md
Service: azure-functions
GitHub Login: @alexkarcher-msft
Microsoft Alias: alkarche

Hi @steveculshaw Thanks for your feedback. We will review and update as appropriate.

@steveculshaw OpenAPI 2.0 (formerly Swagger) metadata support in Azure Functions is a preview feature. The OpenAPI preview feature is only available today in the 1.x runtime.

@steveculshaw For now will proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Install Jupyterlab Extensions

Context
ResearchDelight should showcase JupyterLab Extensions that might be useful for our communities.
Recently, Navteca has release some new extensions that we should test out:

BExplorer
Pasarela

Proposal

[ ] Confirm or write documentation on how to add a new JupyterLab extensions to a hub
[ ] Review BXplorer as a potential extension
[ ] Review Pararela as a potential extension

We could publish that JupyterLab extension 'review' with some context on which situations we would recommend using (in addition to decided whether to include it in the researchdelight-image
Updates and actions
No response

I don't have plans to explore these extensions.


simplify tests

Simplify tests.py so we can run all tests in tests/ like with:
python -m unittest discover tests/
Currently errors out on globals. Also replacing rawinput methods with os.getenv so it plays well with automated test environments.

Good idea, I've mixed the two approaches. It will first check the environment variables before asking for the username/password. That way it can be easily automated and also easily ran by anyone.

Cool, I remixed the two approaches so it works for travis https://github.com/tariqdaouda/pyArango/pull/30

Cool!


tutorial never occurs, missing files...

In the following article, a step-by-step procedure called "Using GCC with MinGW", there seems to be an error... perhaps an update on VSCode or a slight misstep caused this. I am new to compiled languages and C++, trying to compile my first hello world code. After creating directories in Command Prompt, VSCode launches but there is no tutorial that starts and the 3 files that are supposed to be created, tasks.json, launch.json, and c_cpp_properties.json are not created.
I really just want to be able to use VS Code and run C++ while compiling in bash but it seems like a near impossible task. If someone could help me do EXACTLY THAT, I would be more grateful than a live turkey after Thanksgiving. Below is the link to the article:
https://code.visualstudio.com/docs/cpp/config-mingw

Hi, in the article described the following:
As you go through the tutorial, you will se three files created in a .vscode folder in the workspace:
- tasks.json (build instructions)
- launch.json (debugger settings)
- c_cpp_properties.json (compiler path and IntelliSense settings)

These 3 files will not be created immediately upon opening them with vscode.
task.json file will be created here https://code.visualstudio.com/docs/cpp/config-mingw#_run-helloworldcpp in step 4
launch.json here https://code.visualstudio.com/docs/cpp/config-mingw#_customize-debugging-with-launchjson
and c_cpp_properties.json https://code.visualstudio.com/docs/cpp/config-mingw#_cc-configurations

I have done the following steps to make it more visual, I hope it will help you in learning C++ using VSCode
After workspace open

After f5 (first debug run)

After C/C++:Edit configuration executions (JSON) execution

And after Add Debug Configuration click

I did it on linux with g++, but on windows and mingw the result should be the same if you set the mingw PATH environment variable correctly

Thanks @imblowfish, if you still have issues @WilliamEJBaldwin you may need to file an issue on the c++ extension repo


Remove the HTTP boundary in the in-process DynamoDB

We had an unnecessary HTTP client and server in each call to DynamoDB. This didn't add
any value to our tests!

BEFORE

AFTER

I believe removing the proxy server caused ConditionalCheckFailedException to become DynamoDBLocalServiceException


Add basic support for VMware vCloud Director

Purpose or Intent
Add basic support for VMware vCloud Director cloud provider as discussed with @sergio-ocon and @agrare. This is the first pull request in the series. I've tried to the line count as low as possible.

forked fog and created fog-vcloud-director gem (could not add fog as a dependency)
basic cloud provider structure (implemented as pluggable provider - gem)
UI support for adding/editing new provider
inventory parsing (only VMs)

Links

https://github.com/xlab-si/fog-vcloud-director

Steps for Testing/QA
/

Should this be a separate provider or the "Cloud" half of the Vmware provider.  When I think "provider" I think of one "installation".  For example, in OpenStack, you have the overcloud and undercloud, but together they represent two halfs of one installation.  Being separate managers you don't need both (i.e. you can have just the cloud part without the infra part), but when you have both they are together.  Does VCD fall into that category as well?

@bancek Please rebase and push again

@bancek This PR is doing too many things.  Suggest you break it up into the following PRs:

Just enough code to CRUD a ManageIQ::Providers::Vmware::CloudManager from Rails Console
Just enough code to do EmsRefresh for ManageIQ::Providers::Vmware::CloudManager from Rails Console
Just enough code to start appropriate workers from Rails Console
REST API integration for above
UI integration to CRUD a ManageIQ::Providers::Vmware::CloudManager
UI integration to EmsRefresh a ManageIQ::Providers::Vmware::CloudManager

Doing it in these smaller discrete steps will help focus each PR thus keeping it small and moving it through review process quicker.
/cc @agrare

@chessbyte https://github.com/ManageIQ/manageiq/pull/9810


[REQ] add a (GH-compliant) license file

Hi there, 1st of all thanks for this awesome work !
Since we've 'doxed' it in our HyMPS project (under AUDIO section \ Libraries page \ Codecs), can you please add a GH-compliant license file for it ?
As you know, expliciting licensing terms is extremely important to let anyone better/faster understand how to reuse/adapt/modify sources (and not only) in other open projects and vice-versa.
Although it may sounds like a minor aspect, license file omission obviously causes an inconsistent generation of the relative badge too:

(badge-generator URL: https://badgen.net/github/license/Hakan-Abbas/HALAC-High-Availability-Lossless-Audio-Compression)
You can easily set a standardized one through the GH's license wizard tool.
Last but not least, let us know how we could improve - in your opinion - our categorizations and links to resources in order to favor collaboration between developers (and therefore evolution) of listed projects.
Hope that helps/inspires !

Thank you very much for your nice comment and suggestion.
I set the license type.

Works, thanks !


Gemini Flash 1.5 in multimodal vendor

Hi, guys
Currently the vendor of multimodal only support gpt-4o ,gpt-4o-mini and Claude sonnet 3.5. Is it possible to support Gemini Flash 1.5 and others?
I found in some cases the Gemini Flash is better than gpt4 and Claude sonnet 3.5 for OCR the PDFs.

Hi!
Will have a look.

Hi!
Will have a look.

Thank you very much!


Add validation to token input field

Is your feature request related to a problem? Please describe.
Add validation to token input field. Now if there is a space after a color token it is not rendering in Figma
Describe the solution you'd like
An error validation that will check if there is a space after the color token to alert the user.

Closing this as this is solved by https://github.com/six7/figma-tokens/issues/432


[TextInput Android] Text truncated on start when text longer than TextInput size

Description
Trying to use the Android TextInput component, but the text gets cut off in start when text is longer than the component size.
 required state
 actual state
Is there way I can get the text rendered from start or set the cursor at beginning. And only set the cursor to end when this component is focussed or selected ?

This issue looks like a question that would be best asked on StackOverflow.
StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only.
Will close this as this is really a question that should be asked on StackOverflow.


Docs failing

Docs are failing in #2529 with sphinx version 7.3.5. This sphinx change results in this issue, due to the functions we use in the sphinx gallery conf

This is actually a great change! It will let us fix local build times being high using sphinx-autobuild etc...

See: https://github.com/sphinx-gallery/sphinx-gallery/issues/1286
A


chart editor crashed while saving chart. i am in pain.

Describe your bug here.
tried saving a chart and psych crashed :(
Command Prompt/Terminal logs (if existing)
editors/ChartingState.hx (line 2950)
editors/ChartingState.hx (line 2931)
editors/ChartingState.hx (line 416)
flixel/ui/FlxButton.hx (line 521)
flixel/ui/FlxButton.hx (line 507)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)

Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

> Crash Handler written by: sqirra-rng

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no. this is a precompiled build.

Fixed right now


[d3d8] Implement monotonic state block tokens

Would need feedback from @AlpyneDreams .
The idea is to get rid of reinterpret casts and stick with what native does, namely a monotonically increasing counter that is passed back as the token whenever new state blocks are created. Tests have shown there's no token reuse, not even between device resets.
I also don't think we should worry about the address space being exhausted, because I did some quick math and if let's say a game creates 8 state blocks per frame @ 60 fps, it will take about 100+ days to overflow a DWORD. That's "let's not worry about it" territory in my book... but I can in theory implement a check to see if a token is already taken before allocating it.

I've tested ~140 d3d8 games with this PR and everything checks out. I've only seen one obscure game (FireStarter), at times, passing a state block token to apply a previously deleted state block, which is why I added the validations. Native drivers on Windows XP don't do any validations and would outright crash in this situation.

Finalized now, hopefully. Thanks for all the nudging in the right directions.

Looks good to me. I don't have permission to merge so one of the maintainers will have to do that.


how does it perform compared to ffmpeg-python ?

Hi,
I am wondering how does it perform compared to ffmpeg-python ?
https://github.com/kkroening/ffmpeg-python

Hi, Lintel is different from ffmpeg-python because Lintel directly links to the libav libraries, whereas ffmpeg-python pipes commands to FFmpeg through stdio. I found that piping through stdio caused performance issues with too much parallelism (threads or processes).

Hi, Lintel is different from ffmpeg-python because Lintel directly links to the libav libraries, whereas ffmpeg-python pipes commands to FFmpeg through stdio. I found that piping through stdio caused performance issues with too much parallelism (threads or processes).

Thanks, I see.
Here is another question. If I install OpenCV library with FFmpeg support, I can use videocapture to read videos. How does it perform compared to Lintel?

I think Lintel would definitely be no slower than OpenCV, and there might be some overhead (due to all the OO) in OpenCV that makes Lintel a bit faster. But I doubt it, they are probably the same speed because they are doing the same thing (calling libav APIs). I think OpenCV only supports an ancient version of FFmpeg, and doesn't use the send/receive_frame API, last time I checked.

I would certainly welcome any profiling to compare the two :).


I want a mobile app

Hello
Is it possible to convert the wallet to an  mobile application?
Android and iPhone
Arabic language support
Thanks

@dinarpay if you're looking for a mobile wallet to manage your Celo assets, I recommend Valora


Uncaught SyntaxError: Unexpected token u

[Enter steps to reproduce below:]

...
...

Atom Version: 0.210.0
System: Ubuntu 15.04
Thrown From: hidpi package, v0.6.0
Stack Trace
Uncaught SyntaxError: Unexpected token u
At file:///opt/atom/resources/app.asar/static/index.html#%7B%22locationsToOpen%22%3A%5B%7B%22pathToOpen%22%3A%22%2Fhome%2Fpeayala%2Fscansafe%2Fauthentication-service%22%7D%5D%2C%22bootstrapScript%22%3A%22%2Fopt%2Fatom%2Fresources%2Fapp.asar%2Fsrc%2Fwindow-bootstrap.js%22%2C%22resourcePath%22%3A%22%2Fopt%2Fatom%2Fresources%2Fapp.asar%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22includeDeprecatedAPIs%22%3Afalse%2C%22appVersion%22%3A%220.210.0%22%2C%22initialPaths%22%3A%5B%22%2Fhome%2Fpeayala%2Fscansafe%2Fauthentication-service%22%5D%7D:1

SyntaxError: Unexpected token u
    at Object.parse (native)
    at Hidpi.update (/home/peayala/.atom/packages/hidpi/lib/hidpi.coffee:85:32)

Commands
     -0:18 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-atom-dark-syntax.theme-seti-ui)

Config
{
  "core": {
    "themes": [
      "seti-ui",
      "atom-dark-syntax"
    ],
    "disabledPackages": [
      "hidpi"
    ],
    "autoHideMenuBar": true
  },
  "hidpi": {}
}

Installed Packages
# User
angularjs, v0.3.0
git-tab-status, v1.9.2
jshint, v1.3.7
language-diff, v0.3.0
open-recent, v2.2.4
seti-ui, v0.7.1
travis-ci-status, v0.15.1

# Dev
No dev packages

I am not sure what to make of this error.  According to your config, the atom-hidpi package is disabled.   Additionally, it says you are running atom-hidpi v0.6.0 and the error occurred on line 85 of hidpi.coffee, however in v0.6.0 hidpi.coffee only contains 79 lines.  Can you provide some context for this error?

This seems like it should be fixed by a4521cf0f44de8684be10103a0acf3a17b09bafe.  Let me know if you are still having problems.

It worked just fine this time!


feat: update merge_sort.ts

use JavaScript ES6 syntax
use let, const instead of var
make it more "clean", I supposed

Sorry about the unconsidered 😅
I just saw the original JavaScript's implement and converted it to TypeScript version.
https://the-algorithms.com/algorithm/merge-sort?lang=javascript
It truly comes at the cost of efficiency as you mentioned.

BTW, I also have another version of quickSort.
Does it make sense?
function quickSort(array: number[]): number[] {
  if (array.length <= 1) return array.slice()

  const pivot = array[0]
  const lesser: number[] = []
  const greater: number[] = []

  for (let i = 1; i < array.length; i++) {
    if (array[i] < pivot) lesser.push(array[i])
    else greater.push(array[i])
  }

  return quickSort(lesser).concat(pivot).concat(quickSort(greater))
}

const arr = [3.14, 5, -2, 1, 10]
console.log(quickSort(arr))
// [ -2, 1, 3.14, 5, 10 ]

After rewriting, I finally got your point! I updated merge_sort.ts again ~
And here is not "out of place" version of quick_sort, but it is very similar to the in-place version already. 😁
function quickSort(array: number[], left: number = 0, right: number = array.length - 1) {
  if (left >= right) return
  const index = partition(array, left, right)
  quickSort(array, left, index - 1)
  quickSort(array, index + 1, right)
}

function partition(array: number[], left: number, right: number) {
  const pValue = array[right]
  let pIndex = left
  for (let i = left; i < right; i++) {
    if (array[i] < pValue) {
      const temp = array[i]
      array[i] = array[pIndex]
      array[pIndex] = temp
      pIndex++
    }
  }
  const temp = array[right]
  array[right] = array[pIndex]
  array[pIndex] = temp
  return pIndex
}

const arr = [3.14, 5, -2, 1, 10]
quickSort(arr)
console.log(arr)
// [ -2, 1, 3.14, 5, 10 ]

Sure!, I converted the naming of quick sort 😁


  It possible that it is not suitable to be included for an introduction?

I found useful to read that chapter as a practical application example at the end of the introductory tutorial. In future you could consider to replace it with "parsing with pest".

Yes - important that things are correct as they are now.
In future, maybe the chapter would be simply called 'Parsing' and then show some approaches.


IPluginManager not found (does not compile)

In GitSourceControlProvider.cpp I had to change the include for "IPluginManager.h" to Interfaces/IPluginManager.h, in order to compile in 4.24 (2.15-beta).
I tried to make a PR, however there's no .uproject to generate the .sln files. Maybe you're supposed to be able to do that with the .uplugin file?

This has already been fixed with ef9b0d9676f23499136e8cdb1b06cc115e9437db


Encryption in transit

I was wondering if there is any form of encryption in flight between AWS Secrets Manager and the k8s secret?
If not, is it correct that the secrets travel in plain text?

The connection external-secret -> AWS Secrets Manager is encrypted and also the external-secret -> Kubernetes API Server. Both use https


Handle Access is denied error on Windows from not running as Administrator

I'm trying to handle the windows error from MediaControls::new that it panics when the program isn't run as Administrator, but I don't see how to convert the error to a WindowsError, only from.
I also can't seem to use error-stack IntoReport on souvlaki errors like other errors, they don't implement std::error::Error.
The Administrator requirement may be from using the existing HWND created by the terminal when opening my program, because I don't spawn a window myself.
#[cfg(not(target_os = "windows"))]
let hwnd = None;

#[cfg(target_os = "windows")]
let hwnd = {
    use windows::Win32::System::Console::GetConsoleWindow;

    let console_window = unsafe { GetConsoleWindow() };
    let hwnd = console_window.0 as *mut c_void;
    Some(hwnd)
};

let platform_config = PlatformConfig {
    dbus_name: "VRC_OSC",
    display_name: "VRC-OSC",
    hwnd,
};

let controls = match MediaControls::new(platform_config) {
    Ok(controls) => controls,
    Err(error) => {
        // I can see the error code when printing but I can't access it
        println!("{:?}", error);
        panic!("{error:?}")
    }
};

EDIT: I can't seem to set_playback for sources other than my own with set_metadata, is it possible to do this?

As for the std::error::Error problem, I opened #32. Let me check the other.

I can't replicate the error. Access denied still pops up when I ran the code as administrator. Have you managed to get it working?

You have to run the compiled .exe directly, not through a terminal or editor, that allowed for using the HWND without access denied


Terminal high CPU usage with latest release

Description:
I have installed latest nchat and have noticed that iTerm while running nchat is constantly using 34% of the CPU.
How to reproduce it:
Install latest release.
Environment:

Version: 3.39
OS / distro: macOS 13.1

Thanks for reporting the bug! I hadn't noticed it before in my testing, but I can see it now too.
This degrade was probably introduced with commit 0f8ebd4 - will look into how to fix it.

No problem, it fixed another bug I had, but was lazy to report. There were text garbage left overs when you change contacts, I think this was caused by emojies, but maybe I am wrong.

This commit also messed up with non latin keyboard layouts, while typing on cyrillic, the caret moves far away from the actual place of text insertion.

This commit also messed up with non latin keyboard layouts, while typing on cyrillic, the caret moves far away from the actual place of text insertion.

Thanks for highlighting. I've reported a separate issue for this (see link above).

This should be fixed now in above commit. Please let me know if you still encounter any issues.


Update deprecated calls

clonemedium, showmediuminfo are now deprecated. clonehd, showhdinfo should be used.

Correct me if I'm wrong, but I think it's the opposite. clonehd is still supported due to older VirtualBox versions: http://www.virtualbox.org/manual/ch08.html#vboxmanage-clonevdi
I think it'd be nicer if there was a version checking, Apparently clonemedium and etc were all added on VB 5.x

@chaws

I think it'd be nicer if there was a version checking

Pls check this issue I just opened.

Many thanks for the PR. I've accepted the PR @EmersonPrado made, which addresses this in a backwards-compatible way by adding version checking. Will close this but please let me know if you have still see problems.


Why not more object oriented?

I noticed a lot of methods are used like this:
fast_paths::a_method(&graph, a, b, ...)
Whereas a more OO method call would look like this:
graph.a_method(a, b, ...)
Is there any reason the first is used so often? I would like to send in a PR to move over to the second way, but want to make sure it would be accepted.

Can you give an example for such a method?

For instance, old:
// prepare the graph for fast shortest path calculations. note that you have to do this again if you want to change the
// graph topology or any of the edge weights
let fast_graph = fast_paths::prepare(&input_graph);

// calculate the shortest path between nodes with ID 8 and 6
let shortest_path = fast_paths::calc_path(&fast_graph, 8, 6);

New:
let fast_graph = input_graph.prepare_fast_graph();

let shortest_path = fast_graph.calc_path(8, 6);

let fast_graph = input_graph.prepare_fast_graph();

That makes little sense to me. The input graph is just a data structure and has nothing to do with the fast graph preparation or at least I see no reason to couple the input graph to the fast graph preparation like this.

let shortest_path = fast_graph.calc_path(8, 6);

This might be reasonable, but what about the usage pattern with PathCalculator? The calc_path calculator really belongs to the PathCalculator class, why should it be available via fast_graph as well?
I don't know I do not see a big improvement in changing these the way you propose. But maybe you can explain a bit how this would help or make things easier for your use case? And maybe have a second look at lib.rs. These fast_paths::xyz functions are really just high level util functions that use the underlying classes of this crate. Maybe you can just use the library classes directly?

Changing the prepare_fast_graph method to be an instance method of input_graph does not make it coupled. It is already coupled because it requires taking in input_graph. Rather, it makes this coupling more obvious, and thus easier to read.
The PathCalculator should ideally be redone as well. The fast_graph is passed in both when the calculator is created, and also when the path is calculated. Imo it would make a lot more sense for it to only be passed in once. It also makes it harder for the programmer to make a mistake - what if they pass one fast_graph in when creating the calculator, and pass in a different fast_graph when calculating the path?

Changing the prepare_fast_graph method to be an instance method of input_graph does not make it coupled. It is already coupled because it requires taking in input_graph. Rather, it makes this coupling more obvious, and thus easier to read.

Hm, prepare_fast_graph() is already coupled to the input graph yes, but not the other way around. Its just a data structure and it does not depend on its users or client code. Imagine there was more code related to input graph. Maybe there would be some routines to do some pre-processing of the graph, or some code to store it on disk, serialize it etc. With this logic input graph would have all these methods: input_graph.pre_process, input_graph.save_to_disk etc. So everything would be coupled to it. It would be like attaching all kinds of methods to Vec just because you can do many things with a Vec.

The fast_graph is passed in both when the calculator is created, and also when the path is calculated.

The path calculator constructor only takes an integer input (the number of nodes of the graph). But its true that the number of nodes passed into the constructor must match the actual number of nodes of the fast graph used in calc_paths later on. This is not ideal, yes. But this brings up the question who "owns" the fast graph instance and since there are typically multiple path calculator instances (e.g. one per thread) I did not think path calculator should own the fast graph. Or would you keep just some kind of reference to the fast graph (passed via the constructor)? I think I tried this briefly but felt like adding the complexity of lifetimes and borrowing objects was not worth it.


Raise timeout for runLocally to 300 seconds

Similar to other locations this is now also raised to 5 minutes.

Q
A

Bug fix?
Yes

New feature?
No

BC breaks?
No

Deprecations?
No

Fixed tickets
N/A

Does it really needed?

What about creating global config for setting local timeout?

@elfet It is necessary for all commands within recipes which do not provide a configuration option for the timeout argument of runLocally(). We've discovered that e.g. rsync does this, however not all locations do, e.g. local:vendors.
That's the background and the fact that the timeout was already raised to 300 seconds for the Local server (592e132).

Ok, what about config option for that?

@elfet Yes, I'll probably add PRs for recipes to add config options. Thanks for merging. :-)


 But is there an icon of this plugin? I mean for the toolbar? Because Stable.Art has.

Thank you for bringing it to my attention.
I've fixed it and will repackage it in .ccx file in v1.2.6

Thank you for bringing it to my attention. I've fixed it and will repackage it in .ccx file in v1.2.6

You're welcome. You're as fast as light. I'm looking forward to 1.2.6


Add cli command to clean up local data store

Addresses: https://github.com/Netflix/metaflow/issues/41
Simplistic implementation (for now) to clean up and reset your local data store. Adds a CLI command to achieve this. When invoked this will look for and delete the data store file.

Assigning to Ravi for review and merging.

Could you please move this to a named branch (say 'fix-issue-41') so I can do some testing before I can leave comments.
We have put quite a lot of time into the polish on the CLI UX, so I definitely have comments to ensure the indentation and the color scheme are in check.

@seeravikiran External contributors can't create branches in this repo (for obvious reasons). You can directly clone from the commit hash - bcae819d6e54c74cb5961f4f4e95fa8eecaf1602

Perhaps it would be useful to consider rm -rf /path/to-datastore as a reasonable solution for deleting a local datastore. The layer of indirection in this PR might not be worth the complexity it's adding.

alright, if we want to leave this capability as rm -rf /path/to-datastore, I can close the PR. @savingoyal @seeravikiran

I think more broadly, we should disallow creation of the datastore in arbitrary locations. Perhaps default it to ~/.metaflow/local/datastore or something.  This may be easy to add to the platform, what do you folks think?

This is definitely an additional level of indirection but it is a minor change that may make things easier. I'll check with @seeravikiran if he is OK with the new flow (with confirmation and what not) and we can either merge this or leave it as rm -rf as others have suggested.

I vote for closing this PR and just allowing users to use the rm -rf /path/to/datastore. Sorry for the delayed response.

Closing since the consensus seems to just do rm -rf.


google translate element added

Fixes #120
Description
Added a google translate feature for easy user understanding
Type of PR

[ ] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)

Checklist:

[x] I have performed a self-review of my code
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Additional context:
GSSoC'24

Please review my pull request @SiddharthBahuguna


feat: base styles

For a clear view on the implemented styles, reviewers might want to have a look at https://github.com/hlxsites/danaher-ls-aem/tree/3474334e4d1e9e895794e1d28835074704dd0b22/styles
Fix #5
URL for testing:

https://feat-global-base-styling--danaher-ls-aem--hlxsites.hlx.page/

One more aspect: I see original uses tailwind "max-w-7xl" as max with for all major elements on the site, with "mx-auto" to keep it centered. We have it centered already but should go with "max-width: 80rem;" as well for our divs inside the sections


cosmosdb release

https://github.com/Azure/sdk-release-request/issues/4189

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-arm-cosmosdb


Formatter Settings UI shows strange default

open settings UI, enter Formatter to the search test
it appears that theres a default formatter

-> Should show 'None'
Setting a global formatter is rarely useful. Maybe the description should also say: To define a formatter for a language, use the "[languageId]": { } syntax.

I can push a workaround, e.g have a special enum value that signals undefined (enumDescriptions: ['None', ...], enums: [ undefined, ...]) but given the default value is already declared as undefined it could also be the settings UI.

Not sure that I can get to a pretty fix, when using undefined/None the drop down shows this...

related/dupe issue https://github.com/Microsoft/vscode/issues/71941

wt., 9 kwi 2019, 11:55 użytkownik Johannes Rieken<EMAIL_ADDRESS>napisał:

I can push a workaround, e.g have a special enum value that signals
undefined (enumDescriptions: ['None', ...], enums: [ undefined, ...]) but
given the default value is already declared as undefined it could also be
the settings UI.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/71987#issuecomment-481184529,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Almcl3KJTcIZnb7nkq8LybdFc_pDmQWPks5vfGOOgaJpZM4ckEBN
.

Nothing because nothing is configured

*Nothing should mean some nice UX saying 'no value' or alike

The GUI tries to reflect the JSON whenever possible, so if you have a value set to undefined or null, it will show undefined or null.
This setting needs the type to be correct, as it is you get a warning in JSON if you set it to null. Then it also needs null/undefined listed as a value in the enum.
I assume this is what you did to get your screenshot, and that's what I would recommend, I can send a PR if you want or you can take what you have.

@jrieken this can be closed, right?

yeah.

This now shows a default of null

That's correct, that's the default value.


.NET 4.5.x support

Is there a plan to support .NET 4.5.x with the SignalR ASP.NET Core packages?
I noticed the latest NuGet package (1.0.0-preview1-23543) available in the dev-ci feed targets .NET standard 1.3 only (which I am pretty sure means .NET 4.6 at a minimum).   I understand that this is under active development and expect things to be in flux (obviously, since I am pulling from a dev-ci feed).  But I am curious if this is the expectation going forward.  I would normally simply upgrade my application to 4.6.x and go on with my day, but doing so causes other problems (specifically around OIDC authentication).
Thanks

Is there a plan to support .NET 4.5.x with the SignalR ASP.NET Core packages?

No. Especially not on the server side. On the client, we might need to be a little more lenient but we're going to start with picking the lowest netstandard that matches the API we need and go from there.
.NET 4.6 will likely be the minimum going forward for ASP.NET Core as most of our server side components require at least netstandard 1.3.
Also .NET <= 4.5.1 is out of support.

That is understandable.  I will focus on figuring out why OIDC breaks when I upgrade to 4.6.x.
Thanks for the quick response.

I second adding version that supports .NET 4.6
With this version, we could use SignalR Core on Unity3D


fix: resolve ecosystem image URL using thirdweb storage

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR enhances the Layout component in the layout.tsx file by improving the way the ecosystem image URL is resolved using resolveScheme, ensuring proper handling of the image source.
Detailed summary

Added import for resolveScheme from thirdweb/storage.
Added import for client from ../../../lib/client.
Updated the src attribute of the <img> tag to use resolveScheme({ uri: ecosystem.imageUrl, client }) instead of directly using ecosystem.imageUrl.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#5120  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @joaquim-verges and the rest of your teammates on  Graphite


SYSTEM_ALERT_WINDOW

hi.
please add support for SYSTEM_ALERT_WINDOW

According to official docs of SYSTEM_ALERT_WINDOW we shouldn't ask for it instead we should redirect user to appropriate settings screen though intent.

Note: If the app targets API level 23 or higher, the app user must explicitly grant this permission to the app through a permission management screen. The app requests the user's approval by sending an intent with action Settings.ACTION_MANAGE_OVERLAY_PERMISSION

I am closing this for now as this is not supposed to be in library. Please open a new issue if you think i'm wrong here.


Unable to extract OpenGraph title

Checklist

[x ] I'm reporting a broken site support
[ x] I've verified that I'm running youtube-dl version 2<IP_ADDRESS>
[x ] I've checked that all provided URLs are alive and playable in a browser
[x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x ] I've searched the bugtracker for similar issues including closed ones

Verbose log

$ youtube-dl --verbose https://www.facebook.com/katusha.demidova/videos/10157480958142014/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.facebook.com/katusha.demidova/videos/10157480958142014/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.8.3 (CPython) - Linux-5.7.5-arch1-1-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.2.3, ffprobe 4.2.3, rtmpdump 2.4
[debug] Proxy map: {}
[facebook]<PHONE_NUMBER>8142014: Downloading webpage
[facebook]<PHONE_NUMBER>8142014: Downloading webpage
[facebook]<PHONE_NUMBER>8142014: Downloading webpage
WARNING: unable to extract OpenGraph title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract og:image; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://video-frx5-1.xx.fbcdn.net/v/t42.1790-29/10000000_1113222402384494_3982190267981305731_n.mp4?_nc_cat=109&_nc_sid=5aebc0&efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfbGl2ZV9tZF9mcmFnXzJfdmlkZW8ifQ==&_nc_ohc=DjOv4UDcn18AX88QmKj&_nc_ht=video-frx5-1.xx&oh=0538f73bba44973e6feab23343a26ecb&oe=5EF35263'
[download] Destination: Facebook video #10157480958142014-10157480958142014.f267111777844929v.mp4
[download] 100% of 165.10MiB in 00:37
[debug] Invoking downloader on 'https://video-frx5-1.xx.fbcdn.net/v/t42.1790-29/10000000_2665739150420311_6132792364747588973_n.mp4?_nc_cat=110&_nc_sid=5aebc0&efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfbGl2ZV9tZF9mcmFnXzJfYXVkaW8ifQ==&_nc_ohc=N--eFnrO_gUAX8NSBNx&_nc_ht=video-frx5-1.xx&oh=b990cf6db00aec958c196bba9c7322b8&oe=5EF35B6B'
[download] Destination: Facebook video #10157480958142014-10157480958142014.f714552495997051a.m4a
[download] 100% of 21.89MiB in 00:05
[ffmpeg] Merging formats into "Facebook video #10157480958142014-10157480958142014.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Facebook video #10157480958142014-10157480958142014.f267111777844929v.mp4' -i 'file:Facebook video #10157480958142014-10157480958142014.f714552495997051a.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:Facebook video #10157480958142014-10157480958142014.temp.mp4'
Deleting original file Facebook video #10157480958142014-10157480958142014.f267111777844929v.mp4 (pass -k to keep)
Deleting original file Facebook video #10157480958142014-10157480958142014.f714552495997051a.m4a (pass -k to keep)

Description

I was downloading a Facebook video - from a user and in a format that has worked perfectly for the past few months until this morning when the command asked me to report the issue here for being unable to extract the OpenGraph title and og:image

Same here, having the same issue.


Added to AUR

Made a package for this on Archlinux AUR: https://aur.archlinux.org/packages/cstore_fdw/

hello @msmans
thanks for making this package.  Do you need an action on our side ?

no — not at all, feel free to close this

thanks again,  closing then.


Added dependency to make the suggested use of 'rimraf' in the npm scripts to work

Thanks for the PR @gustavjorlov


GADAppOpenAd fullScreenContentDelegate don't trigger events

Hello,
I'm trying to implement App open ads using Google Admob example with test ads and latest SPM version (11.7.0) and iOS 17.5.1 and 17.2.1.
My issue is that fullScreenContentDelegate isn't calling adDidDismissFullScreenContent  after ad is dismissed. Also no error is received.
The only callback method called is adWillPresentFullScreenContent when ad is starting to show.
Could you please check?
Thanks.

Hi @skeduino, for us to properly triage this can you create a new thread in the AdMob Developers Forum? From there we can begin the troubleshooting process. Closing this out - thanks!


Update Renovate Configuration

no issue

switch scheduling to early monday mornings

Coverage remained the same at 70.626% when pulling ef1c64e846ae735a27563939b7c360f89a542530 on kevinansfield:update-renovate-configuration into 1c1445520028d17a3bffa997b0ade935f7ec27ff on TryGhost:master.


Command lookup-prefix not found

I'm installing phpbrew under Ubuntu 15.10. When I try to set the lookup prefix with the command phpbrew lookup-prefix ubuntu I get the following response:
phpbrew lookup-prefix ubuntu
Did you mean 'self-update'? [Y/n]

When I run phpbrew without arguments, I can't find the lookup-prefix among the available commands. Is it not required anymore? Or has it been replaced for another command?

You didnt load the bash file, you need it to run phpbrew
Please check the document
Cristian Álvarez Belaustegui<EMAIL_ADDRESS>於 2016年1月17日 星期日寫道：

I'm installing phpbrew under Ubuntu 15.10. When I try to set the lookup
prefix with the command phpbrew lookup-prefix ubuntu I get the following
response:
phpbrew lookup-prefix ubuntu
Did you mean 'self-update'? [Y/n]
When I run phpbrew without arguments, I can't find the lookup-prefix
among the available commands. Is it not required anymore? Or has it been
replaced for another command?
—
Reply to this email directly or view it on GitHub
https://github.com/phpbrew/phpbrew/issues/659.

You are 100% right, my bad.
I didn't have the line [[ -e ~/.phpbrew/bashrc ]] && source ~/.phpbrew/bashrc in my .bashrc. It is now solved.


Fix behavior when reusing a mark

Force the mark to point to the new dir, replacing the old one.
Fixes the unexpected behavior reported on #7195.

Can I suggest another flag? #7205

Can I suggest another flag? #7205

You are right, I didn't notice that :+1:


Revert "Remove the assumption that a node's name == its hostname"

Revert "Remove the assumption that a node's name == its hostname" due to the compatibility issues reported by https://github.com/rancher/local-path-provisioner/issues/454 and https://github.com/rancher/local-path-provisioner/issues/451

Just catching up with this; email's been going into a black hole.
I think the issue revolves around the k8s scheduler itself - looks to me like the PRs to fix the assumptions there were not completed.


Ruby interface should have more documents

https://github.com/benchmark-driver/benchmark-driver/issues/67#issuecomment-570807255

I think we should maintain that in --help. If people want a better document, they should file a pull request to improve README or help.