2 Questions: How to Build? Another files have a Trojan?

1 - I don't know how to 'BUILD' the file from your GitHub to test through it.
2 - When I tried to download the same application from a YouTube video, it was a HEAVY Trojan that infected my PC, and some moments later I found out that the channel owner was also infected with the Trojan and he posted the video not on his own accord. (The owner of the channel was a Brazilian kid, didn't even speak English. But the video was in English...)

Someone modified this to add a trojan. What did you lose? Also change passwords immidiately and redownload windows from a usb installed from another pc.

is this safe to use ? @Arda0801

My antivirus says this one is the safe one to use but I would still be very careful

is this safe to use ? @Arda0801


Prepping for v12.2.0 Release

v12.2.0 should be the final release of the Homestead v12.x series using Ubuntu 20.04.

Remove global composer packages causing install issues
Add client_body to nginx configuration

Thanks @svpernova09 for your continued work on this project!

Same, big thank you!


chore: Regenerate interal OpenAPI clients

Hi👋, please prefix this PR's title with:

[ ] breaking-change: if you have introduced modification that necessitates immediate adjustments by this SDK's users to their applications, clients, or integrations to avert disruptions to existing features or functionalities.
[x] feat:, fix:, refactor:, docs:, or chore:.

Summary

Regenerate internal OpenAPI clients to be in sync with current production API
Detail and impact of the change

Added

Added from_updated_at filter to ListNFTsByAccountAddress
Added account_address filter to ListOwnersByContractAddress
Added amount field to Sale Activity return type for sales involving ERC1155 tokens
Added amount to CreateMintRequest and ListMintRequest to support minting on ERC1155 colllections

Changed

SeaportCreateListingMetadata only accepts a single sell item instead of an array

Deprecated

getLinkedAddresses in passport package is marked is now deprecated

Checked with passport team and the changes to SeaportCreateListingMetadata are not problematic, the passport sdk actually already uses the new version. The team doesn't expect any users to use the ts sdk for this functionality.


Readme: fix name of the chewy’s sequel plugin

Thanks

BTW, when are you going to release 0.9.0?

I'm going to definitely, but not sure when, in the near future probably


Add pip command to install Python dependencies

Link the issue(s) this pull request is related to.
Related discussion can be found on the dev mailing list thread linked here.
Summarize your change.
Add command for OpenCue Python dependency installation on Ubuntu (and other Debian-based distros) via pip.
Existing documentation setup instructions via PyCharm IDE, which can result in some dependencies not being setup correctly.

@n-jay This PR is marked as a draft, is it ready for review? Just checking.

yes @bcipriano, it's ready for review.
sent a draft assuming its standard protocol as per contributor instructions doc.

@bcipriano something else I noticed in the doc were 2 redundant pip commands: https://github.com/AcademySoftwareFoundation/opencue.io/blob/df4cfa26b63c60dc1af2ab57a58100399c4974b3/content/contributing/opencue/Getting started/getting-started-linux.md?plain=1#L265
https://github.com/AcademySoftwareFoundation/opencue.io/blob/df4cfa26b63c60dc1af2ab57a58100399c4974b3/content/contributing/opencue/Getting started/getting-started-linux.md?plain=1#L285
They're present in the mac version as well.
These are used after the pip install -r is run when the 2 dependencies have already been set up.
It's a super minor detail so it would be convenient if we can address it in this same PR instead of creating a fresh one.

Agreed, you can go ahead and remove those redundant installs in this PR.

@bcipriano done


MNIST-Keras issue

Hi,
I run this command for MNIST-keras for the node 1 and it occurs this issue, what should I do to solve this?

From the error, it looks like the SL container is not able to reach the License Sever...

Hope you are running this on the same node where you have started the License Server ?

Try running a 'docker ps | grep swarm' and ensure all the swarm learning containers are running.  We should see 2 of these containers:
$ docker ps | grep swarm
27d3d2c4b93c   hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/spire-server:0.3.0   "/spire/bin/launcher"    4 minutes ago   Up 4 minutes                            node-spire
2c7666156e08   hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/apls:0.3.0           "/opt/autopass/Autop…"   2 weeks ago     Up 2 weeks     <IP_ADDRESS>:5814->5814/tcp   optimistic_booth

If above is fine, then check if you have set all 4 environment variables (including  the APLS_IP is set correctly to the IP address of the machine running the License Server) in the terminal were you are running ?

and then run the 'run-sl' script again.

This is what I got. Is this correct?
I would like to ask do i need to set up HPE AutoPass License Server Client Users? Like in Pool Management?
Thanks.

Yes, that's sounds fine and all the required containers are running.   Nothing needs to be done manually for license server clients (like SN, SL).
Can you confirm on point 1 & 2 from my prev. response ?

Hope you are running run-sl script on the same node where you have started the License Server ?
Is all the 4 env variables are set ?  If yes, give the o/p of the "echo" of the 4 variables ?

Also, what system are you running this ?  OS version ?

Hello, I have fixed the problem and I close it.


Console reporting (and spamming) "non errors"

Godot version:
3.1.1
OS/device including version:
Windows 10
Issue description:
Console reports various kinds of error, but they are not really errors, neither warnings, they are only situations usually handled by scripts themselves.
Steps to reproduce:
execute the project and look at console output
MRPerrors.zip
Minimal reproduction project:

E 0:00:00:0643   Condition ' !metadata.has(p_name) ' is true. returned: Variant()
     core/object.cpp:1061 @ get_meta()
 Node2D.gd:11 @ _ready()

You need to call has_meta before get_meta if the meta key does not exist :)

E 0:00:00:0645   Node not found: test
     scene/main/node.cpp:1396 @ get_node()
 Node2D.gd:14 @ _ready()

You can use has_node if you are not sure if that node exists, but this is the correct error cause I'm looking in the scene tree, and the node test is not there.

I know about "has_something", but those functions return values already consistent.
for example
var some_node=null
if x.has_node(y):
    some_node=x.get_node(y)

and

var some_node=null
some_node=x.get_node(y)

are the same, except the second example report error in console

E 0:00:00:0643   Condition ' !metadata.has(p_name) ' is true. returned: Variant()
core/object.cpp:1061 @ get_meta()
Node2D.gd:11 @ _ready()

You need to call has_meta before get_meta if the meta key does not exist :). Or, make sure to set the meta by using set_meta.

E 0:00:00:0645   Node not found: test
scene/main/node.cpp:1396 @ get_node()
Node2D.gd:14 @ _ready()

You can use has_node if you are not sure if that node exists, but this is the correct error cause I'm looking at the scene tree, and the node test is not there.

they are only situations usually handled by scripts themselves.

Scripts can generate errors though, I'm confused :S

Think about using "has_node" each time you use "get_node": it is cumbersome.

get_node() will print an error message if the node doesn't exist. To avoid this, use get_node_or_null() (but do understand the implications of failing silently first).

get_node():

Fetches a node. The NodePath can be either a relative path (from the current node) or an absolute path (in the scene tree) to a node. If the path does not exist, a null instance is returned and attempts to access it will result in an "Attempt to call  on a null instance." error.

get_node_or_null()

Similar to get_node(), but does not raise an error if path does not point to a valid Node.

@burstina, you might be looking for get_node_or_null (as Calinou stated)

get_node_or_null()

I didn't know that kind of function, this function was just too specific to remember for me, but I'll do.

failing silently makes debugging more difficult.

absolutely right, and not failing makes developing more time spending, but I hope it'd be good for stability and porting.
Usually you tend to stick to things and logics striving toward what you are already used to: only other peole can help to see better path!
ty


Added usage/token counter

Added a usage counter to record tokens used to facilitate cost calculation.

Thanks! This is a good feature to have. It looks like this might only work when calling the chat models in your PR right now, mind extended to make sure regular models are also tracked?

just noticed this PR.. opened a duplicate PR just now which addresses some problems, adds documentation and test.. #141


OPSEXP-1908 Enable appVersion bump from uber manifest

Ref: OPSEXP-1908
Requires https://github.com/Alfresco/alfresco-updatecli/pull/8

Is there any reason why we're having 7.4.N as a matrix key here?

we want to track latest GA which is 7.4 - so it's good as it is now


Feature Request

Feature Suggestion
do hummingbot provide instant or cancel placing order function.
if not, please add this feature.
Impact
accurate control for order management
Additional context
No response

Yes, hummingbot supports placing and cancel order function
you could see list of the docs/ exchanges supported here:
https://hummingbot.org/docs/

Yes, hummingbot supports placing and cancel order function you could see list of the docs/ exchanges supported here: https://hummingbot.org/docs/

I mean Instant or cancel (IOC) function, I saw MARKET, LIMIT, LIMIT_MAKER, but not IOC


last line of code truncated on windows

on windows on chrome 42.0.2311.135m and 40.0.2214.115m (at least), the very bottom of the last line of code is truncated and not visible.  this is especially bad for underscores, which appear as spaces.

i suspect this was introduced with https://github.com/twosigma/beaker-notebook/commit/299d42e7789e132ee37bd25c206fc4c84a8306bc

on it :white_check_mark:

fixed by https://github.com/twosigma/beaker-notebook/pull/1578


[BUG]: Error statements when starting Registry with authentication and elastic search disabled

What is the bug related to?
Registry Core
What went wrong?
When the registry is started without authentication and elastic search is disabled, it throws errors in the logs. These errors give the wrong impression that the registry service isn't started. These should not be shown when starting the registry.
What did you expect to see?
Logs should not have errors in stacktrace when starting without Auth and ES.
Additional Context
No response
Relevant logs/output (if any)
No response

Yesterday i have searched for the querry statement, read about that. But I need some clarifications about that for that I have sent msg to holash and Prasana but its not happened on today. @srprasanna need your help to understand the issue

@srprasanna @Renuka-S I have check the docker compose file , stopped the es service and and in application.yml file I have make keycloak authentication enabled=false and elastic_search_enabled=false
whenever I run the registry logs in terminal there is some exception and error about es even es is not available, but when I tried to check with local there was no errors regarding es,I have not understood exactly what should I do for this issue. I have discussed with holash but not got exact way. @srprasanna please help me in this.

As per the dicussion with Sreejith my understanding:
When we set the following settings
disabled es from docker comploe.yml file
make keycloak_authentication =false
providerName:NativeSearchService
Elasticsearch_enabled=false
ElasticSerach_auth_enabled=false in application.yml file
when we run the project on local and hit the api  - http://localhost:8081/health  it gives exception
Caused by: java.lang.IllegalArgumentException: Username may not be null
so I need to find that why this exception is occur

Today i have tried to solve IllegalArgumentException. in ElasticServiceImpl class I have add the condition that  If Elasticsearch is disabled, the method createClient will return early without performing any Elasticsearch-related operations. but after adding that condition NullPointerException is occurring , trying to solve that

PR Raised and shared link with holash, sharing PR link here https://github.com/Sunbird-RC/sunbird-rc-core/pull/244/files

recorded video of output -link -https://drive.google.com/file/d/1m2vR-J7mwbM06N8B_zYbFeGDOrerGTQe/view

Closing due to duplicate issue https://github.com/Sunbird-RC/community/issues/802


Error fetching Seasons

Issue description
Just upgraded to 1.9.2, but was the same on 1.9.1. Added new tv show, an "internal Server error occurred" message appears.
Season 1 and Season 4 weren't fetched. Many errors are displayed in the (JS) Console (see attachment)
1596786926556.log
Steps to Reproduce

Set the TheMovieDB API language to it-IT
Add the show "Dr. House - Medical Division"
Fetch all Seasons

Expected Behaviour
Every Seasons should be fetched
Actual Behaviour
Season 1 and 4 are not fetched
Environment Information

Operating System: Debian GNU/Linux 9
Streama version: 1.9.2
Custom streama build, describe customizations or provide link to fork (If Applicable): TODO
Container Version (If Applicable): TODO

I have reason to think the the main issue is the plot text too big to be stored in the database field.
Adding manually the seasons and the episodes, i noticed that some episodes won't save until I short the plot text.


[Regression] - Tasks launched in WSL are not finding right environment

VS Code Version: Version: 1.57.0-insider (system setup)
OS Version: Windows 10

Steps to Reproduce:

Clone https://github.com/boa-dev/boa
Load project into WSL
Run the "Cargo Run" task

Expected
It should build and execute
Happening
Its showing.
> Executing task: cargo run --bin boa ./tests/js/test.js <

The terminal process failed to launch: Path to shell executable "cargo" does not exist.

Even though the executable "cargo" is in my path. This didn't used to happen.
Gif
This shows the task does not find cargo. But running the same command manually in the terminal works.

This could be related to the intergrated-terminal work that @Tyriar is doing but im unsure

/duplicate https://github.com/microsoft/vscode/issues/123072
Fix coming soon


feat: adopt inclusive language - main default branch

Favor inclusive language in the codebase per this RFC.

@joeyAghion The build error from Circle is a bit misleading. This project was never setup to run on Circle CI and still has its Travis CI config. I suppose the next time we need to make a change to the gem we can devote some time to switch it over to Circle.

Oh, OK. So we've swapped one non-working CI for another. It's a fair trade.


Small typo fix

This is an awesome tailwind plugin, everything just works and it looks amazing!
Here's a typo I saw on the landing page :)

@LehuyH thanks


reorganise codebase a bit

This started out with me working on #4051 and immediately wanting to move packages/kit/src/hooks.js to packages/kit/src/hooks/sequence.js so that we could have a sequence.spec.js alongside it, but not wanting to do that because it would make src even more raggedy than it currently is.
As of this PR, the contents of src look like this...
src/routes/
├ core/     # the dev/build logic
├ exports/  # stuff exposed as the `@sveltejs/kit` package
├ runtime/  # code that runs when people use a SvelteKit app
├ utils/    # self-explanatory
└ cli.js    # self-explanatory

...which I think makes more sense than src/vite, src/node etc. There's definitely more that could be done here (the runtime directory in particular has become a bit chaotic), but sorting out the top level feels like a good start, and would make me feel calmer when I'm working in the codebase.
No changeset because this change should be invisible to users. I used git mv to preserve history and minimise the chance of merge conflicts.

This seems pretty good overall.
The contributing guide would need to be updated.
It feels a little weird to me that core doesn't contain the most important code paths. Should it be called build or something?
(the directory tree in the description gave me a chuckle. I think someone's been typing src/routes a few too many times :smile:)

The $env thing is a red herring. We should probably make it less noisy. It's actually #6306

The distinction between core and runtime is roughly this: runtime is the stuff that runs through Vite during dev and is included in the app once it's built, core is the stuff that runs in Node and only during dev/build time. It definitely wouldn't make sense for sync to be in runtime, for example.


Error during composer installation having to do with 'Tightenco\Collect\Support\Debug\Dumper'

I'm at the installation phase still. After running composer require percipioglobal/craft-notifications I'm getting the error [ErrorException] Class 'Tightenco\Collect\Support\Debug\Dumper' not found in my terminal.

Unrelated

@brimby What was it? I've got the same issue and I have no idea why this is happening!!


ejected config shouldn't depend on @angular/cli package

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request

Versions.

@angular/cli: 1.2.1 (e)
node: 6.10.2
os: darwin x64
@angular/common: 4.3.0
@angular/compiler: 4.3.0
@angular/core: 4.3.0
@angular/forms: 4.3.0
@angular/http: 4.3.0
@angular/platform-browser: 4.3.0
@angular/platform-browser-dynamic: 4.3.0
@angular/router: 4.3.0
@angular/cli: 1.2.1
@angular/compiler-cli: 4.3.0
Repro steps.

The log given by the failure.

Desired functionality.

Mention any other details that might be useful.

Use ng eject; remove @angular/cli from package.json. Code will not build due to dependency in ejected webpack.config.js:
const { GlobCopyWebpackPlugin, BaseHrefWebpackPlugin } = require('@angular/cli/plugins/webpack');

I think an ejected config should be independent from the @angular/cli project; I'd like to get rid of the 25+ MB in my node_modules folder that it brings (most of which is the duplicate typescript compiler).

Those plugins are published as part of the CLI and we really don't intend on publishing them outside. The license is pretty permissive though, so feel free to use their code yourself. You can also just remove them.

I can certainly subsume those plugins into my project.
However, If I want to remove the @angular/cli package from my ejected config, how do I deal with
(in karma.conf.js):
    frameworks: ['jasmine', '@angular/cli'],

and
    preprocessors: {
      './src/test.ts': ['@angular/cli']
    },

It's not clear to me how to replace these without having the @angular/cli as an explicit dependency.

That bit is unfortunately much, much more complicated. Our current Karma plugin is very custom. Best advice I can give you is to try and replace it with https://github.com/webpack-contrib/karma-webpack.

@filipesilva I have been trying for several hours to decouple my angular starter from the .angular-cli.json and have been unsuccessful. I think it would be very valuable to have a sample project that has been ejected and no longer requires the .angular-cli.json otherwise I think it is very confusing to maintain the project since some configurations need only be updated in webpack while others need to be made in .angular-cli.json. I would think that the whole point of ejecting is to decouple the two.


helm charts: ability for spire server to use different upstream authorities

# UpstreamAuthority "disk": Uses a CA loaded from disk to sign SPIRE server
    # intermediate certificates.
    UpstreamAuthority "disk" {
        plugin_data {
            # key_file_path: Path to the "upstream" CA key file. Key files must
            # contain a single PEM encoded key. The supported key types are EC
            # (ASN.1 or PKCS8 encoded) or RSA (PKCS1 or PKCS8 encoded).
            key_file_path = "./conf/server/dummy_upstream_ca.key"

            # cert_file_path: If SPIRE is using a self-signed CA, cert_file_path
            # should specify the path to a single PEM encoded certificate
            # representing the upstream CA certificate. If not self-signed,
            # cert_file_path should specify the path to a file that must contain
            # one or more certificates necessary to establish a valid certificate
            # chain up the root certificates defined in bundle_file_path.
            cert_file_path = "./conf/server/dummy_upstream_ca.crt"

            # bundle_file_path: If SPIRE is using a self-signed CA, bundle_file_path
            # can be left unset. If not self-signed, then bundle_file_path should
            # be the path to a file that must contain one or more certificates
            # representing the upstream root certificates and the file at
            # cert_file_path contains one or more certificates necessary to chain up
            # the root certificates in bundle_file_path (where the first
            # certificate in cert_file_path is the upstream CA certificate).
            # bundle_file_path = ""
        }
    }

    # UpstreamAuthority "aws_pca": Uses a Private Certificate Authority from
    # AWS Certificate Manager to sign SPIRE server intermediate certificates.
    # UpstreamAuthority "aws_pca" {
    #     plugin_data {
    #         # region: AWS Region to use.
    #         # region = ""

    #         # certificate_authority_arn: ARN of the "upstream" CA certificate.
    #         # certificate_authority_arn = ""

    #         # ca_signing_template_arn (Optional): ARN of the signing template
    #         # to use for the server's CA. Defaults to a signing template for
    #         # end-entity certificates only.
    #         # ca_signing_template_arn = ""

    #         # signing_algorithm (Optional): Signing algorithm to use for the
    #         # server's CA. Defaults to the CA's default.
    #         # signing_algorithm = ""

    #         # assume_role_arn (Optional): ARN of an IAM role to assume.
    #         # assume_role_arn = ""

    #         # endpoint (Optional): Endpoint as hostname or fully-qualified
    #         # URI that overrides the default endpoint.
    #         # endpoint = ""
    #     }
    # }

    # UpstreamAuthority "awssecret": Uses a CA loaded from AWS SecretsManager
    # to sign SPIRE server intermediate certificates.
    # UpstreamAuthority "awssecret" {
    #     plugin_data {
    #         # region: AWS Region that the AWS Secrets Manager is running in.
    #         # region = ""

    #         # cert_file_arn: ARN of the "upstream" CA certificate.
    #         # cert_file_arn = ""

    #         # key_file_arn: ARN of the "upstream" CA key file.
    #         # key_file_arn = ""

    #         # access_key_id: AWS access key ID.
    #         # access_key_id = ""

    #         # secret_access_key: AWS secret access key.
    #         # secret_access_key = ""

    #         # secret_token: AWS secret token.
    #         # secret_token = ""

    #         # assume_role_arn: ARN of role to assume.
    #         # assume_role_arn = ""
    #     }
    # }

    # UpstreamAuthority "gcp_cas": Uses a Certificate Authority Service of
    # Google Cloud Platform to sign SPIRE server intermediate certificates.
    # UpstreamAuthority "gcp_cas" {
    #     plugin_data {
    #         root_cert_spec {
    #             # All fields are required
    #             # Project name + region name is used to retrieve a set of CAs
    #             project_name = ""
    #             region_name = ""
    #             # label key + label value is used to filter and select a subset of CAs
    #             label_key = ""
    #             label_value = ""
    #         }
    #     }
    # }

    # UpstreamAuthority "vault": Uses a PKI Secret Engine from HashiCorp Vault
    # to sign SPIRE server intermediate certificates.
    # UpstreamAuthority "vault" {
    #     plugin_data {
    #         # vault_addr: The URL of the Vault server.
    #         # Default: ${VAULT_ADDR}.
    #         # vault_addr = ""

    #         # namespace: Name of the Vault namespace.
    #         # Default: ${VAULT_NAMESPACE}.
    #         # namespace = ""

    #         # pki_mount_point: Name of the mount point where PKI secret engine is mounted.
    #         # Default: pki.
    #         # pki_mount_point = ""

    #         # ca_cert_path: Path to a CA certificate file used to verify
    #         # the Vault server certificate. Only PEM format is supported.
    #         # Default: ${VAULT_CACERT}.
    #         # ca_cert_path = ""

    #         # insecure_skip_verify: If true, vault client accepts any server certificates.
    #         # Default: false.
    #         # insecure_skip_verify = false

    #         # cert_auth: Configuration for the Client Certificate authentication method.
    #         # cert_auth {
    #             # cert_auth_mount_point: Name of the mount point
    #             # where TLS certificate auth method is mounted. Default: cert.
    #             # cert_auth_mount_point = ""

    #             # cert_auth_role_name: Name of the Vault role
    #             # If given, the plugin authenticates against only the named role.
    #             # Default to trying all roles.
    #             # cert_auth_role_name = ""

    #             # client_cert_path: Path to a client certificate file.
    #             # Only PEM format is supported. Default: ${VAULT_CLIENT_CERT}.
    #             # client_cert_path = ""

    #             # client_key_path: Path to a client private key file.
    #             # Only PEM format is supported. Default: ${VAULT_CLIENT_KEY}.
    #             # client_key_path  = ""
    #         # }

    #         # token_auth: Configuration for the Token authentication method.
    #         # token_auth {
    #             # token: Token string to set into "X-Vault-Token" header.
    #             # Default: ${VAULT_TOKEN}.
    #             # token = ""
    #         # }

    #         # approle_auth: Configuration for the AppRole authentication method.
    #         # approle_auth {
    #             # approle_auth_mount_point: Name of the mount point
    #             # where the AppRole auth method is mounted. Default: approle.
    #             # approle_auth_mount_point = ""

    #             # approle_id: An identifier of AppRole. Default: ${VAULT_APPROLE_ID}.
    #             # approle_id = ""

    #             # approle_secret_id: A credential of AppRole. Default: ${VAULT_APPROLE_SECRET_ID}.
    #             # approle_secret_id = ""
    #         # }

    #         # k8s_auth: Configuration for the Kubernetes authentication method.
    #         # k8s_auth {
    #             # k8s_auth_mount_point: Name of the mount point
    #             # where the Kubernetes auth method is mounted. Default: kubernetes.
    #             # k8s_auth_mount_point = ""

    #             # k8s_auth_role_name: Name of the Vault role. The plugin authenticates against the named role
    #             # k8s_auth_role_name = ""

    #             # token_path: Path to the Kubernetes Service Account Token to use authentication with the Vault
    #             # Default: /var/run/secrets/kubernetes.io/serviceaccount/token
    #             # token_path = ""
    #         # }
    #     }
    # }

    # UpstreamAuthority "spire": Uses an upstream SPIRE server in the same
    # trust domain to obtain intermediate signing certificates for SPIRE server.
    # UpstreamAuthority "spire" {
    #     plugin_data {
    #         # server_address: IP address or DNS name of the upstream SPIRE server
    #         # in the same trust domain.
    #         # server_address = ""

    #         # server_port: Port number of the upstream SPIRE server in the same
    #         # trust domain.
    #         # server_port = ""

    #         # workload_api_socket: Path to the SPIRE Agent API socket (Unix only).
    #         # workload_api_socket = ""

    #         # experimental: The experimental options that are subject to change or removal.
    #         # experimental {
    #              # workload_api_named_pipe_name: Pipe name of the SPIRE Agent API named pipe (Windows only).
    #              # workload_api_named_pipe_name = ""
    #         # }
    # }

    # UpstreamAuthority "cert-manager": Uses cert-manager in a target
    # Kubernetes cluster to sign SPIRE server intermediate certificates.
    # UpstreamAuthority "cert-manager" {
    #     plugin_data {
    #         # kube_config_file: Filepath to a kubeconfig to access the Kubernetes cluster. Empty path will attempt to use an in-cluster config.
    #         kube_config_file = "/etc/kubernetes/kubeconfig.yaml"

    #         # issuer_name: The issuer name to reference when creating CertificateRequests
    #         issuer_name = "spire-ca"
    #         # issuer_kind: The issuer kind to reference when creating CertificateRequests. Defaults to "Issuer" when empty.
    #         issuer_kind = "Issuer"
    #         # issuer_group: The issuer group to reference when creating CertificateRequests. Defaults to "cert-manager.io" when empty.
    #         issuer_group = "cert-manager.io"
    #         # namespace: The namespace to create CertificateRequests.
    #         namespace = "sandbox"
    #     }
    # }

Also from docs:
Configure AWS Secrets Manager
The SPIRE Server can be configured to load CA credentials from Amazon Web Services Secrets Manager, using them to generate intermediate signing certificates for the server’s signing authority.
This strategy can be managed by enabling and configuring the awssecret UpstreamAuthority plugin for the SPIRE Server.
Configure AWS Certificate Manager
The SPIRE Server can be configured to load CA credentials from Amazon Web Services Certificate Manager Private Certificate Authority (PCA) them to generate intermediate signing certificates for the server’s signing authority.
This strategy can be managed by enabling and configuring the aws_pca UpstreamAuthority plugin for the SPIRE Server.
Configure another SPIRE installation
The SPIRE Server can be configured to load CA credentials from the Workload API of another SPIFFE implementation such as SPIRE. This enables a technique called “Nested SPIRE” that, as a compliment to HA deployments, allows independent SPIRE Servers to issue identities against a single trust domain.
A full treatment for Nested SPIRE is beyond the scope of this guide. However this strategy can be managed by enabling and configuring the spire UpstreamAuthority plugin for the SPIRE Server.


Update instructions for merging the Helm chart PR

Update the release-process  to include instructions on how to merge the Helm chart PR at the end of a release.
xref: https://github.com/jetstack/cert-manager/issues/3934

I went to review this and then thought it's probably best to wait until we cut the beta release tomorrow, which we could do using this PR as a guide?

We discovered that the PR created by cmrel does pass verification tests run by GitHub Action in the jetstack-charts repo.
So I've published another fix awaiting review in https://github.com/jetstack/jetstack-charts/pull/34

The PR created by cmrel should now be fully automated.
All the GitHub Actions should pass without any manual intervention.
All that is required is for the releaser to go and approve and merge the PR, as described in this documentation update.
PTAL.


Support for Google's 'place_id' param

Enable you to get a result via a specific place ID

Thanks for this! Just a couple of things. Because it's specific to one API, can we:

change the parameter name to :google_place_id?
put the documentation in the Google section of the readme?

Done


generic user passthrough

Is there a way in SG2 to default to a user if no match is found? Ideally I'm trying to get nginx to pass a google SSO authorization head through and would like to have a generic filter group.

We will provide a ProxyAuthentication Backend for this with the next release (similar to that in SG 1). There will be also a anonymous authentication in the next release, the one or other should fit.


pt_br.lang

Full Translation to Portuguese-Brazil
Tradução Completa para Português-Brasil

Thanks, I'll keep updating. Mainly the orthography that isn't that good atm.


copy edit pass 01

All edits look good to me, no requested changes.  Thank you for the submission.


Medium paywall

Hi,
Is the medium paywall for your posts is intended or accidental?

Best, Dmytro

@lessw2020
Hi ,Your work is great ,thank you，but I have a question.
rangerLars is great ranger(https://github.com/mgrankin/over9000) ，
but your experiment  is ranger by default, so I don't know why.
so ranger +gc is the best? then use lr= flat_and_anneal ?

@lessw2020
hi,
SimpleSelfAttention  and senet  (resnet +se),
Which is more effective? Have you done any experiments


Add support for passing the libctx to the config loader

The self tests for the fips module are triggered on startup and they need to know the
core's libctx in order to function correctly. As the provider can be autoloaded via configuration
it then needs to propagate the callers libctx down to the provider via the config load.
Note that OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG, ..) is still called, but will only load the default configuration if the OPENSSL_CONF environment variable is set.

Checklist

[x] documentation is added or updated
[x] tests are added or updated

travis failure is a timeout.

@richsalz I think you are working on getting some fips tests running - so maybe this is useful?

I am reviewing run_tests and friends so that everything can be run with one or more providers.  The plan is to ".include" a FIPS module

Note that CIFuzz found a bug in this branch request:
https://github.com/openssl/openssl/runs/511776434?check_suite_focus=true
It did not report report it because it is in dry_run mode. I will submit a PR to change OpenSSL out of dry_run mode to assure that bugs like this are reported.

Note that CIFuzz found a bug in this branch request(under the run_fuzzers tab):

It looks to me like this issue is not related to this PR, but maybe pre-existing.

This pull request is ready to merge

Thanks. Merged to master.


TH16 temperature and humidity status unavailable

Hi, I integrated sonoff and initially everything worked fine for the TH16 device. After a restart of HA the staus of the two sensors are unavailble. The switch part however is working just fine. I can turn it on and off in the HA overview. So the connection to the device seems to be okay. In ewLink the state of the sensors indicates the correct values for temp and humidity so there is no HW issue.
Any idea what can be wrong?
Regards

Please enable debug mode (readme) and send logs

Issue is solved. thx


Use new endpoints and protos

@richardhuaaa do you remember what this ticket represents?

This is the client change to set up a new API client against the new endpoints, and wrapping into the new protos

This is kinda a prerequisite for #150 and represents the internals of the libxmtp library. See https://github.com/xmtp/libxmtp/pull/1062


Add additional files to .npmignore

The src folder is actually needed by the sourcemaps.

You can see in the changelog for version 1.6.9, I actually removed the src from npmignore after putting it there.
If you inspect the source maps you'll find they reference the original source files in the src folder.

Once you remove the src folder from your PR it should be good to go.

The changes recommended by this PR have been implemented in 1.7.1.

btw, in general it can also be like this (exclude everything first and then include only needed stuff)
/*

!/dist/
!/LICENSE
!/package.json
!/README.md


Grafana query for chaos mesh gives error.api.bad_request: token is empty

I have installed chaos-mesh in my GKE cluster using helm chart.
As per https://github.com/chaos-mesh/datasource, I have been able to add Chaos Mesh Data Source but when I try to query data in Grafana using it I receive the error as below

I think it might be related to user credentials who has access via Google OAuth to Chaos Mesh. How do I control this using API requests sent by Grafana to Chaos Mesh to retrieve data ?

Hi, Any update on this ?

Any updates or do we have a solution to this? I am also stuck on the same.

I am also seeing the same issue. Is there anyone who successfully use this?

Just add the Custom HTTP Header Authorization and values Chaos-mesh ServiceAccount generated token as Bearer.

Header: Authorization
Value : Bearer <ServiceAccount Token>

Hi, guys. I realized that this part of the documentation is missing. I'll update the related docs about adding the token to perform requests when deploying Chaos Mesh with dashboard.securityMode=true.

Added. https://github.com/chaos-mesh/datasource#authentication


Added solarized colorschemes to dribbblish

Hi, I have added solarized dark and solarized light to the dribbblish theme :).

I really appreciate your contributions and I hope more will come.
But all 3 color schemes text are a bit difficult to read to me, text color just sinks in background. Moreover, main foreground and secondary foreground are the same color, is it kinda boring?
Main background and secondary background (sidebar) don't significantly contrast like other schemes. Ashes looks really similar to Dracula. Overall, I guess ton sur ton styles of classic IDE color schemes don't fit with this theme at all and not what I'm expecting it to look like.
Hope you guys understand.

Hi, thank you for the explanation, ashes was a mistake to be honest yesterday I was half asleep and hadn't realized that I pushed on the master instead of a branch it shouldn't have been inside this pull request sorry.
They are similar to Dracula as a concept because I have reused the same base16 color positioning logic so they result kinda boring but safe.
They can be made "less boring" toying a little with the accent colors for example, I will have another look this evening to see if I can add more personality to the themes and generate a good starting template for base16 colorschemes.

Ok @khanhas I have overhauled the themes in my local, this is how they are now; I also played around a little with base16 and I came up with a good starting template to port other colorschemes, I tried it with colorschemes requested by friends and coworkers and the result isn't bad.
If you are ok with the reworked themes I will update this pull request with them, if you have other feedbacks or suggestions just say it ;).


Add WebAssembly for ASR

You can find three huggingface spaces for real-time speech recognition with WebAssembly:
English only
https://huggingface.co/spaces/k2-fsa/web-assembly-asr-sherpa-onnx-en
English + Chinese (Zipformer)
https://huggingface.co/spaces/k2-fsa/web-assembly-asr-sherpa-onnx-zh-en
English + Chinese (Paraformer)
https://huggingface.co/spaces/k2-fsa/web-assembly-asr-sherpa-onnx-zh-en-paraformer

If you cannot access huggingface, you can try the following mirrors hosted in China:

English only: https://modelscope.cn/studios/k2-fsa/web-assembly-asr-sherpa-onnx-en/summary
English + Chinese (Zipformer): https://modelscope.cn/studios/k2-fsa/web-assembly-asr-sherpa-onnx-zh-en/summary
English + Chinese (Paraformer): https://modelscope.cn/studios/k2-fsa/web-assembly-asr-sherpa-onnx-zh-en-paraformer/summary


fix LinePosition fields for multiline CreateMergeRequestDiscussion API call

Hi,
I am trying to use this module to create multiline comments on merge request but API calls ends with error
{message: 400 Bad request - Note {:position=>["must be a valid json schema"]}}

The problem is that LinePosition contains fields OldLine and NewLine which are not defined in documentation for merge request comments. I added omitempty so that it can be used while keeping backward compatibility.

@johnybx I think this is a better solution (#1824) as we should use option structs for requests instead or reusing the response types. This should prevent the kind of issues you mentioned and are also in line with the rest of the package.
Can you test/verify if this works as expected?

sure, I tested it and it works as expected :+1: . Thanks.

Cool, thanks for testing!


Problems with setting up lua server in latest docker image

I pulled the latest opennmt/opennmt:latest docker image and tries to set up a service as in the documentation. With the fresh image, luarocks will throw the following errors:
Warning: Failed searching manifest: Failed fetching manifest for https://raw.githubusercontent.com/torch/rocks/master - Failed downloading https://raw.githubusercontent.com/torch/rocks/master/manifest - /root/.cache/luarocks/https___raw.githubusercontent.com_torch_rocks_master/manifest
Warning: Failed searching manifest: Failed fetching manifest for https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master - Failed downloading https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest - /root/.cache/luarocks/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/manifest

Error: No results matching query were found.

This is because the latest image is very basic and misses several tools for installing xavante, which can be fixed by:
apt-get update
apt-get install -y wget unzip gcc

Maybe you can add them into the image?

I pushed a new image containing the restserver-xavante rock. Would that be enough for you?
We are trying to keep the Docker image slim.

@guillaumekln Thank you!
Yeah I understand you want to keep it slim. I can build image locally too, and I greatly appreciate your help!


Write retained messages to pulsar topic

Fixes  #924
Motivation
This fixes the issue of retain messages never making it to the destination pulsar topic. The issue seems to originate from the fact that adding a retain message seemed to completely evade the writeToPulsarTopic method, which effectively breaks retained MQTT messages from ever getting sent through as expected.
Modifications
All retained messages are now also written into their respective pulsar topics per the expected behavior, which should now mimic every other MQTT broker's behavior.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is already covered by existing tests, such as (please describe tests).
This change added tests and can be verified as follows:

Run MoP
Subscribe to topic
Publish retained message, should see message on subscription
Unsubscribe and resubscribe and you should see the retained message

Documentation
Check the box below.
Need to update docs?

[ ] doc-required
(If you need help on updating docs, create a doc issue)

[x] no-need-doc
This implements the implied and expected behavior for an existing feature.

[ ] doc
(If this PR contains doc changes)

We're running this patch successfully in our staging environment.

I'm not sure why there was a failure, or if it's even related to this change. Input on the issue would be much appreciate.

Bump. This is a pretty major bug in the retain mechanism, and it'd be nice to get this into the next release.

Seems the failing action is failing on other PRs as well. Is this action currently broken?

Sorry for the late response, we're in reviewing.

@Technoboy- Thank you, I just want to make sure this issue gets some attention, as this bug was a major issue for us and it would be nice to get this in a release so we don't have to maintain a fork. We're running this patched onto the 2.10 release currently and it's working as expected, I tested against 2.11 as well with the expected results.

@Technoboy- can you speak to what the intended behavior of the written code was? I'm wondering if it was expected that retain should only reach the system topic and not the destination pulsar topic. I'm currently working through a similar problem on the LWT mechanism. Doesn't seem to publish out to Pulsar, and only seems to publish LWT messages out to active MQTT subscriptions, but not Pulsar. Was it intended that certain MQTT features not interact with the pulsar topic?

@Technoboy- Thank you, I just want to make sure this issue gets some attention, as this bug was a major issue for us and it would be nice to get this in a release so we don't have to maintain a fork. We're running this patched onto the 2.10 release currently and it's working as expected, I tested against 2.11 as well with the expected results.

Yes, good, I'm fixing the test. There is one test failed, we need to ensure all the tests are passed.

@Technoboy- can you speak to what the intended behavior of the written code was? I'm wondering if it was expected that retain should only reach the system topic and not the destination pulsar topic. I'm currently working through a similar problem on the LWT mechanism. Doesn't seem to publish out to Pulsar, and only seems to publish LWT messages out to active MQTT subscriptions, but not Pulsar. Was it intended that certain MQTT features not interact with the pulsar topic? Either way this behavior is inconsistent with what you'd see with other MQTT brokers, and does not function as described by the MQTT 3.1.1 spec. I believe it's useful to have retain and LWT message reach the destination Pulsar topic, as I assume most would expect such behavior.

Agree with you. Only need to fix the test.

@Technoboy- Thank you, I just want to make sure this issue gets some attention, as this bug was a major issue for us and it would be nice to get this in a release so we don't have to maintain a fork. We're running this patched onto the 2.10 release currently and it's working as expected, I tested against 2.11 as well with the expected results.

Thanks for fixing this.


Extracting Neural Network Parameters

Is there a way to extract the neural network parameters from the traineddata?
I would like to recreate a tensorflow version of the model with the trained weights.
Kind Regards.

Please see
https://github.com/tesseract-ocr/tesseract/wiki/Data-Files-in-tessdata_fast#version-string--40000alpha--network-specification-for-tessdata_fast
On Thu, Dec 12, 2019, 20:07 nscotto<EMAIL_ADDRESS>wrote:

Is there a way to extract the neural network parameters from the
traineddata?
I would like to recreate a tensorflow version of the model with the
trained weights.
Kind Regards.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Shreeshrii/tess4training/issues/8?email_source=notifications&email_token=ABG37I3XTHGG5IRT5WDVKETQYJEBXA5CNFSM4JZ7Q72KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IACHLNA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABG37IZQV5S4DPTXCYLKEH3QYJEBXANCNFSM4JZ7Q72A
.

Thank you.
I meant the trained weights, not only the specification.


Getting Started

So now you've installed, what next?
Create an application
Create infrastructure
Create a pipeline (really, just a ref to pipelines guide)
Run a pipeline (maybe? This isn't in the pipelines guide)

Additional:

Rewrite /guides/index.md to provide a fuller overview
Add content to /guides/user/index/ to provide a listing of the various guides

#1018


RPi Pico support?

Those are some really cheap microcontrollers, and are easy to come by. I think having support for those would be quite cool.

I agree, and I'm trying to port the code to it now. I literally have not tested this code and am not an Arduino or PS1 security guru by any means, but I figure I might as well give it a shot.
https://github.com/VoxelTek/PicoNee

Good initiative, here I will keep the code for attiny and attmega.
Tell me when the code will be functional I will put a link.
Le ven. 28 avr. 2023 à 01:06, VoxelTek @.***> a écrit :

I agree, and I'm trying to port the code to it now. I literally have not
tested this code and am not an Arduino or PS1 security guru by any means,
but I figure I might as well give it a shot.
https://github.com/VoxelTek/PicoNee
—
Reply to this email directly, view it on GitHub
https://github.com/kalymos/PsNee/issues/40#issuecomment-1526706038, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDOKBGKLER3PDTPPWWAGPLXDL3WVANCNFSM6AAAAAAUJWXMDA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi!
I compiled the code and show this errors;
In file included from C:\Users\thesp\AppData\Local\Arduino15\packages\Seeeduino\hardware\rp2040\2.7.2\variants\SEEED_XIAO_RP2040/pinmode_arduino.h:30:0,
from C:\Users\thesp\AppData\Local\Arduino15\packages\Seeeduino\hardware\rp2040\2.7.2\cores\arduino/Arduino.h:26,
from C:\Users\thesp\AppData\Local\Temp\arduino\sketches\05397FCBE827B03C5F7D492FE9E31C1C\sketch\sketch_jun14a.ino.cpp:1:
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino: In function 'void inject_SCEX(char)':
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:103:24: error: 'PINB' was not declared in this scope
#define GATEWFCKPORT PINB   // MCU port for the gate input (used for WFCK)
^
C:\Users\thesp\AppData\Local\Arduino15\packages\Seeeduino\hardware\rp2040\2.7.2\cores\arduino/api/Common.h:67:32: note: in definition of macro 'bitClear'
#define bitClear(value, bit) ((value) &= ~(1UL << (bit)))
^~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:174:16: note: in expansion of macro 'GATEWFCKPORT'
bitClear(GATEWFCKPORT, DATABIT); // data low
^~~~~~~~~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:103:24: note: suggested alternative: 'SING'
#define GATEWFCKPORT PINB   // MCU port for the gate input (used for WFCK)
^
C:\Users\thesp\AppData\Local\Arduino15\packages\Seeeduino\hardware\rp2040\2.7.2\cores\arduino/api/Common.h:67:32: note: in definition of macro 'bitClear'
#define bitClear(value, bit) ((value) &= ~(1UL << (bit)))
^~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:174:16: note: in expansion of macro 'GATEWFCKPORT'
bitClear(GATEWFCKPORT, DATABIT); // data low
^~~~~~~~~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:103:24: error: 'PINB' was not declared in this scope
#define GATEWFCKPORT PINB   // MCU port for the gate input (used for WFCK)
^
C:\Users\thesp\AppData\Local\Arduino15\packages\Seeeduino\hardware\rp2040\2.7.2\cores\arduino/api/Common.h:65:32: note: in definition of macro 'bitRead'
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
^~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:183:38: note: in expansion of macro 'GATEWFCKPORT'
bool wfck_sample = bitRead(GATEWFCKPORT, GATEWFCKBIT);
^~~~~~~~~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:103:24: note: suggested alternative: 'SING'
#define GATEWFCKPORT PINB   // MCU port for the gate input (used for WFCK)
^
C:\Users\thesp\AppData\Local\Arduino15\packages\Seeeduino\hardware\rp2040\2.7.2\cores\arduino/api/Common.h:65:32: note: in definition of macro 'bitRead'
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
^~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:183:38: note: in expansion of macro 'GATEWFCKPORT'
bool wfck_sample = bitRead(GATEWFCKPORT, GATEWFCKBIT);
^~~~~~~~~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:104:20: error: 'PORTB' was not declared in this scope
#define DATAPORT PORTB      // MCU port for the gate input (used for WFCK)
^
C:\Users\thesp\AppData\Local\Arduino15\packages\Seeeduino\hardware\rp2040\2.7.2\cores\arduino/api/Common.h:66:30: note: in definition of macro 'bitSet'
#define bitSet(value, bit) ((value) |= (1UL << (bit)))
^~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:184:11: note: in expansion of macro 'bitWrite'
bitWrite(DATAPORT, DATABIT, wfck_sample); // output wfck signal on data pin
^~~~~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:184:20: note: in expansion of macro 'DATAPORT'
bitWrite(DATAPORT, DATABIT, wfck_sample); // output wfck signal on data pin
^~~~~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:103:24: error: 'PINB' was not declared in this scope
#define GATEWFCKPORT PINB   // MCU port for the gate input (used for WFCK)
^
C:\Users\thesp\AppData\Local\Arduino15\packages\Seeeduino\hardware\rp2040\2.7.2\cores\arduino/api/Common.h:67:32: note: in definition of macro 'bitClear'
#define bitClear(value, bit) ((value) &= ~(1UL << (bit)))
^~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:196:12: note: in expansion of macro 'GATEWFCKPORT'
bitClear(GATEWFCKPORT, DATABIT); // pull data low
^~~~~~~~~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:103:24: note: suggested alternative: 'SING'
#define GATEWFCKPORT PINB   // MCU port for the gate input (used for WFCK)
^
C:\Users\thesp\AppData\Local\Arduino15\packages\Seeeduino\hardware\rp2040\2.7.2\cores\arduino/api/Common.h:67:32: note: in definition of macro 'bitClear'
#define bitClear(value, bit) ((value) &= ~(1UL << (bit)))
^~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:196:12: note: in expansion of macro 'GATEWFCKPORT'
bitClear(GATEWFCKPORT, DATABIT); // pull data low
^~~~~~~~~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino: In function 'void setup()':
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:296:3: error: 'ADCSRA' was not declared in this scope
ADCSRA = ADCSRA & B01111111;
^~~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:296:3: note: suggested alternative: 'ADC0'
ADCSRA = ADCSRA & B01111111;
^~~~~~
ADC0
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:298:3: error: 'ACSR' was not declared in this scope
ACSR = B10000000;
^~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:300:3: error: 'DIDR0' was not declared in this scope
DIDR0 = DIDR0 | B00111111;
^~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:300:3: note: suggested alternative: 'DIR'
DIDR0 = DIDR0 | B00111111;
^~~~~
DIR
In file included from C:\Users\thesp\AppData\Local\Arduino15\packages\Seeeduino\hardware\rp2040\2.7.2\variants\SEEED_XIAO_RP2040/pinmode_arduino.h:30:0,
from C:\Users\thesp\AppData\Local\Arduino15\packages\Seeeduino\hardware\rp2040\2.7.2\cores\arduino/Arduino.h:26,
from C:\Users\thesp\AppData\Local\Temp\arduino\sketches\05397FCBE827B03C5F7D492FE9E31C1C\sketch\sketch_jun14a.ino.cpp:1:
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino: In function 'void loop()':
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:100:20: error: 'PIND' was not declared in this scope
#define SUBQPORT PIND       // 1MCU port for the 2 SUBQ sampling inputs
^
C:\Users\thesp\AppData\Local\Arduino15\packages\Seeeduino\hardware\rp2040\2.7.2\cores\arduino/api/Common.h:65:32: note: in definition of macro 'bitRead'
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
^~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:326:20: note: in expansion of macro 'SUBQPORT'
while (bitRead(SUBQPORT, SQCKBIT) == 1) {
^~~~~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:100:20: note: suggested alternative: 'PIN_D5'
#define SUBQPORT PIND       // 1MCU port for the 2 SUBQ sampling inputs
^
C:\Users\thesp\AppData\Local\Arduino15\packages\Seeeduino\hardware\rp2040\2.7.2\cores\arduino/api/Common.h:65:32: note: in definition of macro 'bitRead'
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
^~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:326:20: note: in expansion of macro 'SUBQPORT'
while (bitRead(SUBQPORT, SQCKBIT) == 1) {
^~~~~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:100:20: error: 'PIND' was not declared in this scope
#define SUBQPORT PIND       // 1MCU port for the 2 SUBQ sampling inputs
^
C:\Users\thesp\AppData\Local\Arduino15\packages\Seeeduino\hardware\rp2040\2.7.2\cores\arduino/api/Common.h:65:32: note: in definition of macro 'bitRead'
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
^~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:339:21: note: in expansion of macro 'SUBQPORT'
while ((bitRead(SUBQPORT, SQCKBIT)) == 0);
^~~~~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:100:20: note: suggested alternative: 'PIN_D5'
#define SUBQPORT PIND       // 1MCU port for the 2 SUBQ sampling inputs
^
C:\Users\thesp\AppData\Local\Arduino15\packages\Seeeduino\hardware\rp2040\2.7.2\cores\arduino/api/Common.h:65:32: note: in definition of macro 'bitRead'
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
^~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:339:21: note: in expansion of macro 'SUBQPORT'
while ((bitRead(SUBQPORT, SQCKBIT)) == 0);
^~~~~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:100:20: error: 'PIND' was not declared in this scope
#define SUBQPORT PIND       // 1MCU port for the 2 SUBQ sampling inputs
^
C:\Users\thesp\AppData\Local\Arduino15\packages\Seeeduino\hardware\rp2040\2.7.2\cores\arduino/api/Common.h:65:32: note: in definition of macro 'bitRead'
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
^~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:341:22: note: in expansion of macro 'SUBQPORT'
sample = bitRead(SUBQPORT, SUBQBIT);
^~~~~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:100:20: note: suggested alternative: 'PIN_D5'
#define SUBQPORT PIND       // 1MCU port for the 2 SUBQ sampling inputs
^
C:\Users\thesp\AppData\Local\Arduino15\packages\Seeeduino\hardware\rp2040\2.7.2\cores\arduino/api/Common.h:65:32: note: in definition of macro 'bitRead'
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
^~~~~
C:\Users\thesp\Desktop\mods\psone hard-softmod\Mod cambio Bios\PsNee-7.01\PsNee-7.01\test\sketch_jun14a\sketch_jun14a.ino:341:22: note: in expansion of macro 'SUBQPORT'
sample = bitRead(SUBQPORT, SUBQBIT);
^~~~~~~~
exit status 1
Compilation error: 'PINB' was not declared in this scope

Is there any update on the ported pi version? I have a bunch of Picos and RP2040 Zeros that I could use with it.

Nothing yet. I think that is a forgiven project.

Unfortunately, I didn't have the necessary hardware in order to test my code and such. I was unable to even get the original PSNee working, and as such testing and debugging my code is somewhat out of my reach.
Apologies to everyone involved, feel free to take over the project if you'd like to help continue my work.

No worries, I did try to also compile kalymos's version of PicoNee and noticed some defines were apart of some sort of port manipulation being used, and because we try to compile for rp2040 boards, the code for them doesnt include this I assume, thats why it errors on PINB, PORTB, etc.
I'm no coder, but this is as far as I could get with figuring out why it doesnt like to compile.


 WTF
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' in /home/admin/web/xterium.space/public_html/includes/classes/Database.class.php:36 Stack trace: #0 /home/admin/web/xterium.space/public_html/includes/classes/Database.class.php(36): PDO->__construct('mysql:host=loca...', 'DBUSER WAS HERE', 'PASS WAS HERE') #1 /home/admin/web/xterium.space/public_html/includes/classes/Database.class.php(16): Database->__construct() #2 /home/admin/web/xterium.space/public_html/includes/classes/Config.class.php(89): Database::get() #3 /home/admin/web/xterium.space/public_html/includes/classes/Config.class.php(66): Config::generateInstances() #4 /home/admin/web/xterium.space/public_html/includes/GeneralFunctions.php(658): Config::get() #5 [internal function]: exceptionHandler(Object(PDOException)) #6 {main} thrown in /home/admin/web/xterium.space/public_html/includes/classes/Database.class.php on line 36

That error means the game couldn't connect to the mysql server running on the machine hosting your sever. If it's godady they are doing some maintenance from what I was told.
 WTF
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' in /home/admin/web/xterium.space/public_html/includes/classes/Database.class.php:36 Stack trace: #0 /home/admin/web/xterium.space/public_html/includes/classes/Database.class.php(36): PDO->__construct('mysql:host=loca...', 'DBUSER WAS HERE', 'PASS WAS HERE') #1 /home/admin/web/xterium.space/public_html/includes/classes/Database.class.php(16): Database->__construct() #2 /home/admin/web/xterium.space/public_html/includes/classes/Config.class.php(89): Database::get() #3 /home/admin/web/xterium.space/public_html/includes/classes/Config.class.php(66): Config::generateInstances() #4 /home/admin/web/xterium.space/public_html/includes/GeneralFunctions.php(658): Config::get() #5 [internal function]: exceptionHandler(Object(PDOException)) #6 {main} thrown in /home/admin/web/xterium.space/public_html/includes/classes/Database.class.php on line 36
—
Reply to this email directly or view it on GitHub.

The problem is that the stackstrace leaks some credentials...

Thats not a problem, i dont use Goddaddy, but i dont allow to show my password and username of my database, else all users could login and change values like darkmatter, antimatter, delete accounts

Normally, nothing is affected. because the database should not open to the internet. Also you should always use another password for you database.
But its still a problem

Ahh. I thought he was referring to the db connection error.
Date: Sat, 27 Feb 2016 10:55:26 -0800
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [2Moons] HARD BUG FIX THIS ASAP 111 (#144)
Normally, nothing is affected. because the database should not open to the internet. Also you should always use another password for you database.
But its still a problem
—
Reply to this email directly or view it on GitHub.

:) added a htaccess htpassw before accesing phpmyadmin url so i dont care anymore for this problem, pass can be showen they will not be able to do something with it

In my opinion, its still a problem.


Only add Origin param if query will navigate to Duck Player

Task/Issue URL: https://app.asana.com/0/1202552961248957/1208628973892718/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#5197  👈
develop

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

Join @CrisBarreiro and the rest of your teammates on  Graphite


Include macro: Synchronous XMLHttpRequest on the main thread is deprecated

Tried code in issue 150 but browser does not load md anymore for the Remark. (I added JS alert in macro and md showed in the popup, so macro is working). Console is warning only:
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.

Any ideas how to get things work again?

The most recent release, 0.14.0, fixes this issue. Did you try that one?


explicit cast

Cast j into int. It is used as an index in a list. Not sure it can be Tensor.

@patricklabatut Any comments?

@patricklabatut Any comments?

If these explicit casts are introduced because of a typing warning, I would ignore it and rather disable the warning for the offending line: the code explicitly requests a scalar output (size=(1,)) and indexing a tensor / array with another one is a perfectly valid operation.


core-instrinctics, to core::mem::discriminant, but via the unsafe() mechanism

obiwan-[projects/trentonio/minerva-voucher](2.6.6) mcr 10683 %cargo build
   Compiling minerva-voucher v0.8.10 (/ssw/projects/trentonio/minerva-voucher)
warning: the feature `core_intrinsics` is internal to the compiler or standard library
   --> src/lib.rs:175:12
    |
175 | #![feature(core_intrinsics)]
    |            ^^^^^^^^^^^^^^^
    |
    = note: using it is strongly discouraged
    = note: `#[warn(internal_features)]` on by default

while reading: https://doc.rust-lang.org/core/mem/fn.discriminant.html
I tried to replace like:
        core::intrinsics::discriminant_value(self)

with:
core::mem::discriminant(self)

but that returns a Discriminant, and I don't think that is helpful.
Reading further down, there is the unsafe() call, which this patch switches to.
Maybe that's a regression, and your opinion is sought.

I tried to replace like: core::intrinsics::discriminant_value(self) with core::mem::discriminant(self) but that returns a Discriminant, and I don't think that is helpful.

I agree.  (related - https://users.rust-lang.org/t/enum-crimes-getting-the-discriminant/88103/10)

Reading further down, there is the unsafe() call, which this patch switches to.

Since each enum here already "opted-in to having a primitive representation" (#[repr(u64)] for enum Sid, #[repr(u8)] for enum Yang, #[repr(u8)] for enum Attr), I think we can just use the accessing technique described in that section like your patch does.


Added Project Section

Related Issue

#484
Description

This Project is designed as a part of the Coding Club initiative organized by the MCA Department of Galgotias College of Engineering and Technology. This Project involves creating a responsive design for the club. This Project has 3 contributors Narayan Dwivedi(Lead), Mayank Shukla, and Shivam Rai as a member of a team.
Screenshots

you have added wrong issue number please add a valid one @narayan2111

you have added wrong issue number please add a valid one @narayan2111

I'm confused with the issue number. It would be great if you could tell me the issue number I'm working on.
Thank you so much in advance sir.

We regret to inform you that we are closing the pull request you submitted as it does not include an issue number and appears to be a case of spam. Kindly ensure to check our guidelines and procedures for creating pull requests in the future.
Thank you for your understanding.

We regret to inform you that we are closing the pull request you submitted as it does not include an issue number and appears to be a case of spam. Kindly ensure to check our guidelines and procedures for creating pull requests in the future.
Thank you for your understanding.

I would be highly obliged to you sir for your kind response and, kindly look into this matter once again and do the needful help.
I hope you would understand sir.


Is there usage guide?

The main question is how to use your project to generate forms from xsd?

I'm also looking for that


Help Authoring Updates.

Closes #7442 - Load help object from help.yaml
Closes #7588 - Script to convert help.py to help.yaml / with test
Closes #7582 - Use version field
Closes #7443 - Unit tests added
Closes #7612 - Unit tests validate positional arguments can be added.
Todo:

Will need to manually verify #7585.
Compatibility with extensions. We will need to update extensions azhelpgen and update conversion script to work for extensions as well.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

@williexu  and I have verified that interactive runs and generates help even with the update.

Seems like the "pr" CI is passing but not the "push" CI.  I imagine there is a push CI because this branch is on the main repo and not my own fork.
Should we merge? @tjprescott @marstr

Rebase your branch off the latest in dev and it should be okay.

@tjprescott, I believe I already did, I will do so again.

@adewaleo looks like you need to rebase and fix some conflicts. Also, please update the help authoring doc. Then this should be ready to merge.


User is undefined

https://github.com/AzureADSamples/WebAPI-Nodejs/blob/master/node-server/server.js#L372
User.findOrCreate

I'm guessing User should be a Mongoose model, but it is not defined.

Actually I use in memory cache for this. It's left as an exercise to the reader to implement that storage in mongodb.


Webpack 5 production build takes ~20% more time than in webpack 4

Bug report
What is the current behavior?
Production build in webpack 5 takes approximatly 20% more time to complete than in webpack 4. Turn minimization off via optimization.minimize makes webpack 5 actually faster then webpack 4.
Providing result of 10 build runs by webpack 4 and by webpack 5:
webpack 4: 6.135080679988861 seconds
webpack 5: 7.854557122190793 seconds

If the current behavior is a bug, please provide the steps to reproduce.
Repo for reproducing https://github.com/SkReD/webpack5-performance-issue
What is the expected behavior?
Build time is bigger about 0 - 5% maximum. Should be possible to configure optimization for reducing build time to webpack 4 values.
Other relevant information:
webpack version:  5.38.1
Node.js version: 16.3.0 (--cpu-profile fails on current LTS)
Operating System: windows 10 x64
Additional tools:
Providing logs of last runs from bench run
webpack 4 profile logs
main-process.cpuprofile

child-process.cpuprofile

webpack 5 profile logs
main-process.cpuprofile

child-process.cpuprofile

Yes, because webpack have more abilities and more checks to prevent problems in code, also it is output more optimized code, please use this issue https://github.com/webpack/webpack/issues/12102 to report about perf problems, no need duplicate, otherwise we will have a lot of same issues and it will be more difficult to help.
You can use { cache: { type: 'fllesystem' } } to create persistent cache.

Turn minimization off via optimization.minimize makes webpack 5 actually faster then webpack 4.

Because you have new version of terser and supports more features, like classes, fields, nullish coalescing, big int and etc and they require more time.
Feel free to repost your information here https://github.com/webpack/webpack/issues/12102, maybe @fabiosantoscode can help here and look on perf regression in terser v5

Made a repost but think that thread there is too bloat with different situations and we can use performance tag to track those issues.
Cache is not an option for fresh CI builds and cross branch building particulary (or at least its too hard to setup properly).
Old terser gives relatively the same results @alexander-akait. It can be easilly checked with provided repo, so problem is in webpack i think.

@SkReD if you disable minimize only terser plugin will be disable (but plugins API is simple), also please try different Node.js version, maybe regression on Node.js side

Old terser gives relatively the same results @alexander-akait.

How you check it?

webpack v4 uses terser-webpack-plugin v1, not v4 https://github.com/webpack/webpack/blob/v4.46.0/package.json#L28

try different Node.js version, maybe regression on Node.js side
Initially problem rised at 14.13.1 also stays at 12.8.2, 14.17.0 and 16.3.0. 16.3.0 used just for perf logs.

How you check it?
Change version here and run bench https://github.com/SkReD/webpack5-performance-issue/blob/master/webpack5/package.json#L6

webpack v4 uses terser-webpack-plugin v1, not v4 https://github.com/webpack/webpack/blob/v4.46.0/package.json#L28
terser-webpack-plugin installed directly in repo and included in webpack.config.js https://github.com/SkReD/webpack5-performance-issue/blob/master/webpack4/package.json#L6

@SkReD You should use terser-webpack-plugin v1, because webpack v4 uses v1

I dont understand why? terser-webpack-plugin v4 is modern and supports webpack 4. Why should i use so old version? Whats the point?

I dont understand why. terser-webpack-plugin v4 is modern and supports webpack 4. Why should i use so old version? What's the point?

You check webpack v4 and webpack v5 perf, but webpack v4 uses terser-weback-plugin v1 by default
Also try to disable parallels (i.e. parallels)

terser-webpack-plugin is manually installed in optimization.minimizer section of config
  optimization: {
    minimizer: [new TerserPlugin()],
    ...
  }

is it not enough to fully replace terser-webpack-plugin@^1 in webpack?

Based on how your import terser-webpack-plugin

https://github.com/SkReD/webpack5-performance-issue/blob/master/webpack.config.js#L39
const TerserPlugin = require(`${process.cwd()}/node_modules/terser-webpack-plugin`);

Also try to disable parallels (i.e. parallels)
Disabling parallel didn't help

@SkReD I will look at repos in near future


updated pretty printer stack trace to use error

Pretty Printer:
When passing a stack trace to Log.d it obeys the errorMethodCount instead of the methodCount when cutting the size of the stack trace.
This is not ideal because I might just want to pass in an arbitrary stack trace without making it error.
Solution:
Make the stack trace sliced via either the methodCount or errorMethodCount depending on whether the error is defined (not null)

This seems like a good idea to me.


Dedicated error estimate in structure function

Fixes #180

Closes #180
What did I do?

Introduced estimate_err argument; when it is true the errors are estimated via bootstraping

do 100 repetitions by default

Renamed _equally_weight_lightcurves function to _bootstrap function

Changed behavior depending _equally_weight_lightcurves argument

if self _equally_weight_lightcurves = True then go and take [min(self._difference_values_per_lightcurve)] on (https://github.com/lincc-frameworks/tape/blob/f96366996b53fb465c45ea350217097636bebd82/src/tape/analysis/structure_function/base_calculator.py#L47C87-L47C87) from each lightcurve
if self _equally_weight_lightcurves = False then select all of the differences avaliable

Modified test results


[LIGHTNODE] Redesign the Paloma Home Page to Show the activity Nest

Show activity of the network.

@taariq What network activity will we show here? I want to start with this ticket

Closing as complete.


feat: Create test file for current python file

While testing a python project using pytest it would be handy for a feature to create test file for the current active python file.

What do you mean by "create a test file"? As in simply create an empty file? Or are you after even more scaffolding?
We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision.

@brettcannon It would better if we get a pop up list of what test methods would be created and we can select which we want to create!

Thanks for the suggestion! We talked about it with the team and we have unfortunately decided we will not be moving forward with this idea. We think there isn't an enough widespread need for this to warrant the maintenance cost for the feature.


Error node modules

Hello
First of all thanks for your work on spotify-web-api-node.
I'm coming to you because I have a problem with this module.
I install the package via the npm -S i spotify-web-api-node command.
Once installed the package appears well in the nodes_modules.
When importing the module I have an error:
var SpotifyWebApi = require(spotify-web-api-js)
ReferenceError: spotify is not defined
Do you have any idea where this problem might have come from? Because as
much as I tried to install
 "spotify":"^0.3.0",
 "spotify-api": "0.0.0",
 "spotify-web-api-node":"^3.1.1"

I don't see a solution.
Thank you

That is not this package's problem.
You added spotify and spotify-api as dependencies and seems like these do not exist

Closing the ticket since the issue is not related with this library.


fix: twitter address parsing

Describe the changes you have made in this PR
Fixes #2773
Test here:
https://twitter.com/_reneaaron

Closing as it's a real edge case, won't fix for now.


fix translate errors

fix translate errors in Description, replace "дата" with "date" in Instructions

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for opening this pull request.
This is a standard message notifying you that we’ve reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.


Models

User

[x]  uses bcrypt
[x]  password: don't allow null, bcrypt
[x] email: don't allow null, verify email
[x] username: don't allow null
[x] id: Int, autoincrement
[x] linked to Post one to many

Post

[x] title: dont allow null, char limit
[x] content
[x] linked to user for the username one to many
[x] created on
[x] linked to comment one to many

Comment

[x] content
[x] linked to user for username
[x] created on
[x] linked to post one to many

Models are set up Post, User and Comment. havent been tested

Models have been tested and are functional


Terragrunt run-all show fails with "Failed to load plugin schemas"

There is a strange behaviour (which looks like a bug), when terragrunt run-all show is trying to build the plan from the plan-file.
It's better to describe it on an example.
Let's assume we have a directory with multiple sub-directories inside, each one of them has terragrunt.hcl file.
ec2-instance/
  terragrunt.hcl
s3-bucket/
  terragrunt.hcl

But there, for the terragrunt.hcl in ec2-instance, we have a dependency block to s3-bucket.
After we will run terragrunt run-all plan -out /tmp/aws/myplan.tfpl , it will split the resources to 2 groups
Group 1
- Module /tmp/aws/s3-bucket

Group 2
- Module /tmp/aws/ec2-instance

Then it will download the required providers, and store them into each sub-directory.
s3-bucket/.terragrunt-cache/.../.terraform/providers/aws

ec2-instance/.terragrunt-cache/.../.terraform/providers/aws
ec2-instance/.terragrunt-cache/.../.terraform/providers/tls

In the result we will get the terragrunt plan output in the file myplan.tfpl.
Then we will run terragrunt run-all show /tmp/aws/myplan.tfpl to see the plan result.
But it's failing unexpectedly with the error
╷
│ Error: Failed to load plugin schemas
│
│ Error while loading schemas for plugin components: Failed to obtain
│ provider schema: Could not load the schema for provider
│ registry.terraform.io/hashicorp/tls: failed to instantiate provider
│ "registry.terraform.io/hashicorp/tls" to obtain schema: unavailable
│ provider "registry.terraform.io/hashicorp/tls"..
╵
ERRO[0003] Terraform invocation failed in /tmp/aws/s3-bucket/.terragrunt-cache/LwR31ubKpGoz7AFuBPWxzPDAqL0/m7CKj5XpzJpoBHG2ClWcVRqe5Qk/my-s3  prefix=[/tmp/aws/s3-bucket]
ERRO[0003] Module /tmp/aws/s3-bucket has finished with an error: 1 error occurred:
	* [/tmp/aws/s3-bucket/.terragrunt-cache/LwR31ubKpGoz7AFuBPWxzPDAqL0/m7CKj5XpzJpoBHG2ClWcVRqe5Qk/my-s3] exit status 1
  prefix=[/tmp/aws/s3-bucket]

And here is the strange thing: hashicorp/tls provider is not required for the using s3-module, while it is required for the ec2-instance-module, which is in the 2nd group.
It seems like the plan is including all required providers and to read that by terragrunt show, it will read the whole plan file but, first, from the 1st group directory, and then - from the 2nd. Due of the 1st group directory does not contain the tls-provider, which is not required there, terragrunt returns error.
The expected behavior here is that the command terragrunt run-all show returns the output properly.
Versions

Terragrunt version: v0.48.0
Terraform version: v1.5.2
Environment details: MacOS Ventura (13.4.1), Apple M1 Pro

Hello,
can be attached example code/repository where this issue occurs?

I need some time to prepare the code (the currently using I cannot share by some reasons).

Take a look please - I have prepared the example code in this repo https://github.com/svg1007/for-github-terragrunt-show

Hello,
on the shared repository and following commands from the readme, I get same error
I noticed that is used run-all and the absolute path to plan file which usually leads to errors
I wold say to use relative path to plan files, bellow commands run fine:
terragrunt run-all plan -out plan.tfplan --terragrunt-non-interactive
terragrunt run-all show plan.tfplan --terragrunt-non-interactive

oh, I didn't know about that problem with run-all to be honest.
This workaround works!

@denis256 , you mentioned that the absolute path to plan usually leads to errors... Is there an issue for that?

I've noticed the same strange behavior when run-all show  fails usually every other launch with the following error.
Removing this step from the GitLab pipeline has fixed the issue:
    - terragrunt run-all plan -out=${TG_ROOT}/plan.cache
    - terragrunt run-all show ${TG_ROOT}/plan.cache

╷
│ Error: Failed to load plugin schemas
│
│ Error while loading schemas for plugin components: Failed to obtain
│ provider schema: Could not load the schema for provider
│ registry.terraform.io/hashicorp/random: failed to instantiate provider
│ "registry.terraform.io/hashicorp/random" to obtain schema: unavailable
│ provider "registry.terraform.io/hashicorp/random"..
╵

I'm having the same issue when using the absolute path to the plan, is there any fix?

Hm, if set absolute path, then different terraform instances will try to write in the same plan file... not sure if the result plan will be useful when it has changes from different directories


Dev:

Should I said improvement to consider or a new feature to help on.
I am building an installer for my web app.
I try creating a database using the forge
$this->forge->createDatabase('the_db_name', true);

first this demand me to connect to the database when I know I havng create the database
Please can it be possible to connect to the host without the database.
After the database creation it can be connect to.
I don't want to use php native code which only teach how to do this with mysql. that me is not going to work if my client db is not mysql.
Please can this be implement into the core code.
I have tried my best to see what I can do touch the source core code but not working.
I will be happy if this can be implement or is there any best way t do this with codeigniter

Hi @ChibuezeAgwuDennis
I assume you already configured database name in config and then you run forge. Because forge can connect to databse without creation it.
I believe what you need to do is set two database connections. One without any database specified and second with specified. When you run forge for the first time you want to use connection without databse specified, after that you will use default with datbase already specified... Something like this:
`	/**
* The default database connection.
*
* @var array
*/
public $default = [
'DSN'      => '',
'hostname' => 'localhost',
'username' => 'root',
'password' => '',
'database' => 'my_database',
'DBDriver' => 'MySQLi',
'DBPrefix' => '',
'pConnect' => false,
'DBDebug'  => (ENVIRONMENT !== 'production'),
'charset'  => 'utf8',
'DBCollat' => 'utf8_general_ci',
'swapPre'  => '',
'encrypt'  => false,
'compress' => false,
'strictOn' => false,
'failover' => [],
'port'     => 3306,
];
/**
 * The database connection without database specification.
 *
 * @var array
 */
public $db_root = [
	'DSN'      => '',
	'hostname' => 'localhost',
	'username' => 'root',
	'password' => '',
	'database' => '',
	'DBDriver' => 'MySQLi',
	'DBPrefix' => '',
	'pConnect' => false,
	'DBDebug'  => (ENVIRONMENT !== 'production'),
	'charset'  => 'utf8',
	'DBCollat' => 'utf8_general_ci',
	'swapPre'  => '',
	'encrypt'  => false,
	'compress' => false,
	'strictOn' => false,
	'failover' => [],
	'port'     => 3306,
];`

Then I woud run in some controller database creation part and then run Migrations for default connection, since I am not sure if you can choose which database connection to use (but I can be wrong) :)

Feature and support requests should be raised on the forums (https://forum.codeigniter.com/forum-28.html).
GitHub issues are for bug reports and already-discussed feature requests.


Upload & Finish Product Vision Statement

We need to upload and submit the product vision statement.

Successfully uploaded Product vision statement in docs/productvision.md

Closing!


Exception json.decoder.JSONDecodeError with empty payload

Describe the bug:
It seems that ElasticAPM causes an exception if the payload in the body is empty:
Exception in thread eapm conf updater:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
  File "/home/hidio/git/api/env/lib/python3.7/site-packages/elasticapm/utils/threading.py", line 79, in run
    rval = self._function(*self._args, **self._kwargs)
  File "/home/hidio/git/api/env/lib/python3.7/site-packages/elasticapm/conf/__init__.py", line 402, in update_config
    new_version, new_config, next_run = transport.get_config(agent.config.config_version, keys)
  File "/home/hidio/git/api/env/lib/python3.7/site-packages/elasticapm/transport/http.py", line 135, in get_config
    return response.headers.get("Etag"), json_encoder.loads(body.decode("utf-8")), max_age
  File "/home/hidio/git/api/env/lib/python3.7/site-packages/elasticapm/utils/json_encoder.py", line 67, in loads
    return json.loads(value, object_hook=better_decoder)
  File "/usr/local/lib/python3.7/json/__init__.py", line 361, in loads
    return cls(**kw).decode(s)
  File "/usr/local/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

To Reproduce

Not sure where the payload actually comes from but if you make it empty (b'') this will cause the issue.

Expected behavior:
Do not run json_encoder.loads() on an empty body and continue successfully without raising an exception.
Environment (please complete the following information)

OS: CentOS 7
Python version: 3.7.4
Framework and version: Flask
APM Server version: 7.3.0
Agent version: 5.1.0

Additional context
An easy fix would be to check if the body is empty and either skip it completely, or continue parsing a valid JSON string instead:
return response.headers.get("Etag"), json_encoder.loads(body.decode("utf-8") or "{}"), max_age

@trancee great catch, thanks for the detailed bug report! I'll get a fix out ASAP!

@trancee would it be possible to figure out what the response code from the APM Server was when this happened? Theoretically, the APM Server shouldn't return empty responses for anything other than 304 status codes, which we handle explicitly in the code.
I'll still add graceful handling for an empty response, but it might be that there's also a bug in APM Server in play here.

@trancee would it be possible to figure out what the response code from the APM Server was when this happened? Theoretically, the APM Server shouldn't return empty responses for anything other than 304 status codes, which we handle explicitly in the code.

Sorry for the late response, but just for completeness I got the status code 202 in that case. Maybe it helps.

This is now released in v5.1.1

I'm getting this issue with elastic-apm==5.10.0.

OS: Fedora 32
Python version: 3.8.6
Framework and version: FastAPI==0.61.2 & Uvicorn==0.12.2
APM Server version: 7.10
Agent version: 5.10.0

The error is basically the same,
Exception in thread eapm conf updater:
Traceback (most recent call last):
  File "/usr/lib64/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/local/lib64/python3.8/site-packages/elasticapm/utils/threading.py", line 80, in run
    rval = self._function(*self._args, **self._kwargs)
  File "/usr/local/lib64/python3.8/site-packages/elasticapm/conf/__init__.py", line 684, in update_config
    new_version, new_config, next_run = self.transport.get_config(self.config_version, keys)
  File "/usr/local/lib64/python3.8/site-packages/elasticapm/transport/http.py", line 159, in get_config
    return response.headers.get("Etag"), json_encoder.loads(body.decode("utf-8")), max_age
  File "/usr/local/lib64/python3.8/site-packages/elasticapm/utils/json_encoder.py", line 67, in loads
    return json.loads(value, object_hook=better_decoder)
  File "/usr/lib64/python3.8/json/__init__.py", line 370, in loads
    return cls(**kw).decode(s)
  File "/usr/lib64/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python3.8/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I'm initializing ElasticAPM as,
import uvicorn
from fastapi import FastAPI
from elasticapm.contrib.starlette import make_apm_client, ElasticAPM

apm = make_apm_client({
    "SERVICE_NAME": "xxx",
    "SERVER_URL": "xxx,
    "SERVER_TIMEOUT": "xxx",
    "SECRET_TOKEN": "xxx",
    "DEBUG": True
})

app = FastAPI()

app.add_middleware(ElasticAPM, client=apm)

Not sure what's causing it but only happens when Uvicorn is starting workers for the first time.
Thanks!

@JBauto I opened https://github.com/elastic/apm-agent-python/pull/979 to address this. In addition to catching the JSONDecodeError, we also log the response we got from APM Server. Would you mind trying to install this in a development/staging environment and checking what the log message says exactly? You can install the code from the PR like so:
pip install "git+https://github.com/elastic/apm-agent-python.git@refs/pull/979/merge"

Commented here.


bug: padding not working

in the new version of tailwind css when i apply padding along x-direction (px-8) of an input field it flows out of it parent container also border-b-2 does not work anymore untill i apply border-solid. Thanks in advance

Hey guys, I'm not shure if @ishuacharis is refering to this problem that I'm also facing
https://jsfiddle.net/hfnwsaeg/1/
As you can see in the fiddle, the image is affected by the padding (pr-24) but the input doesn't. Is something wrong in my html/utility-clases? Or is a bug?

@jago86 It's just css. The input's default width is based on its size attribute (20 by default). I'm actually not sure what's the exact math behind it, but the idea is that the size tells for a text input how many characters it should be able to display, but it's not a linear scale or at least in chrome.
You can define the width for the input to contain it in the parent, like w-full or even max-w-full.


use new deleteable flag on bundles to give better info on delete

This adds popups on catalog-item deletion (bundle and locations; no delete for type, though some support is in here for that) which:

advise if you are are deleting a non-deleteable bundle, that the deletion is temporary
if you are deleting a type from a bundle (only a location supported through UI at present), it advises whether the bundle will also be deleted, and if not it gives you the option to review it and delete it instead
advises that if you have deployments using the type bad things can happen

For example:
location in dedicated single-location bundle

and location in larger bundle:

and user bundle:

and system bundle:

Depends on https://github.com/apache/brooklyn-server/pull/1259


fix: void func had return, flutter displayed Error msg, fixed by removing return

Feature summary
QA checklist

[ ] Read state (state & power state)
[ ] Read primary battery SOC
[ ] Read primary battery cycles
[ ] Read secondary battery SOC
[ ] Read secondary battery cycles
[ ] Read seat closed
[ ] Read handlebar
[ ] Read AUX SOC
[ ] Read CBB SOC
[ ] Read CBB charging state
[ ] Update ping
[ ] SOCs are cached (after app restart)
[ ] Commands can be sent (locking & hibernation)

Well noticed! This is due to a recent change in https://github.com/chipweinberger/flutter_blue_plus, and should be fixed in version 1.2.4.


Entity Flowmaps Report - Adjust cross-Application Flowmap calls

For downstream tiers called from another Application, add a new column to indicate which Application they come from and change the name of the calling Entity from Application to the Tier
This should connect Sankey and Force Graph/Network Graph visualizations for cross-application calls better

I think I have it fixed by creating a call chain that connects two flowmaps

Fixed in 4df81fd6ccd6055a5e242dc558f52bc136c1c7b2 and available in https://github.com/Appdynamics/AppDynamics.DEXTER/releases/tag/<IP_ADDRESS>


check-fstab-mounts.rb gets confused about swap and UUIDs

I have this line in /etc/fstab:
UUID=f63ec6bf-adb7-4684-8528-7c126cebf167 swap                    swap    defaults        0 0

This causes the check script to fail:
# ./check-fstab-mounts.rb
Check failed to run: No such file or directory - /etc/sensu/community/plugins/system/UUID=f63ec6bf-adb7-4684-8528-7c126cebf167, ["./check-fstab-mounts.rb:61:in `realpath'", "./check-fstab-mounts.rb:61:in `realpath'", "./check-fstab-mounts.rb:61:in `block (2 levels) in check_mounts'", "./check-fstab-mounts.rb:61:in `select'", "./check-fstab-mounts.rb:61:in `block in check_mounts'", "./check-fstab-mounts.rb:52:in `each'", "./check-fstab-mounts.rb:52:in `check_mounts'", "./check-fstab-mounts.rb:67:in `run'", "/usr/lib64/ruby/gems/1.9.1/gems/sensu-plugin-1.2.0/lib/sensu-plugin/cli.rb:56:in `block in <class:CLI>'"]

Apparently, it does not know about the UUID syntax at all.
It would be great if there was a way to exclude file system types (opposite of -t), to exclude swap but check all other file system types.

This repo is old. Can you try https://github.com/sensu-plugins/sensu-plugins-disk-checks?


i18n Support

[ ]  Bug report
[X] Feature request
[ ] Documentation issue or request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Support request => Please do not submit support request here

Currently there are no i18n support yet. Also, many components use Chinese directly. That would be unfriendly to others who are not Chinese.
As far as I am concerned, we should remove "fixed Chinese string" in components, such as #386 and other more. The better way is using pipe to translate those strings to languages that user need, which is i18n.

See Ant React Doc


Data Generation takes too long

On a dataset of 2000 images, it takes about 160 seconds to generate the image size and colors for each image. It'd be nice if this could be a lot faster.

When scrolling to the gallery, this can also jitter from time to time. From what I can see now, this is due to the size of some images. Generating smaller versions of them (with quick compression / loading algorithms) might be worth it to speed this up.


Config files for flexible/{mailgun,mailjet}.

Created a pull request just to test on travis-ci.org.

LGTM

LGTM (once tests pass)


⚠ Diverse AirCon & Mechanical has degraded performance

In 557b2b4, Diverse AirCon & Mechanical (https://diverseaircon.com.au) experienced degraded performance:

HTTP code: 200
Response time: 8411 ms

Resolved: Diverse AirCon & Mechanical performance has improved in bce01fb.


CLOUDSTACK-8765: fix vm migration failure due to different dev name on KVM

LGTM, tested deployment of 2 KVM hypervisors on CentOS 7 and could live migrate without issues.

@ustcweizhou interesting find and fix, we should also merge this on 4.5; LGTM.


Illegal memory access error when running main.lua

I am trying to run this LSTM using the code from this repo.
Running ./th lstm/main.lua
[pavels@jones-6 pavels]$ warning: fbcunn not found. Falling back to cunn
Using 1-th gpu
Loading /local/pavels/lstm_zaremba/data/ptb.train.txt, size of data = 598835
Loading /local/pavels/lstm_zaremba/data/ptb.valid.txt, size of data = 54291
Loading /local/pavels/lstm_zaremba/data/ptb.test.txt, size of data = 53432
Network parameters:
{
  max_grad_norm : 5
  seq_length : 20
  batch_size : 20
  lr : 1
  max_max_epoch : 13
  rnn_size : 200
  init_weight : 0.1
  decay : 2
  dropout : 0
  layers : 2
  vocab_size : 10000
  max_epoch : 4
}
Creating a RNN LSTM network.
Starting training.
epoch = 0.007, train perp. = 0.000, wps = 3693, dw:norm() = 4.650, lr = 1.000, since beginning = 0 mins.
THCudaCheck FAIL file=/local/pavels/torch/extra/cutorch/init.c line=230 error=77 : an illegal memory access was encountered
/local/pavels/torch/install/bin/luajit: cuda runtime error (77) : an illegal memory access was encountered at /local/pavels/torch/extra/cutorch/lib/THC/generic/THCStorage.c:147
^C

This happens on the fresh torch installation. I tried using different training data but the same error gets triggered.

Ok, I figured it out. This is due to hardcoding vocab_size: 10000.
This lstm was written to work with pentreebank corpus and obviously fails whenever vocab_size > 10000. Recalculating vocab_size during corpus conversion solves the issue.