S3 endpoint should be 's3.amazonaws.com' error

Running a backup job using s3 as the store we got an error complaining about the s3 endpoint: Amazon S3 endpoint should be s3.amazonaws.com. 1st we tried with empty s3_host, later specifying s3.amazonaws.com, but both approaches failed.
Seems that at the minio connection, the plugin is adding the s3_port (even if it is not specified as part of the config). Minio then checks if this is a valid AWS URL, but as the host contains the port, minio does not recognize it as a valid AWS endpoint.
Full log:
UUID:       2d0f6d45-9d52-49f1-a13e-ac76d5797413
Owner:      ubuntu@
Type:       backup
Status:     failed

Started at: Wed, 01 Feb 2017 10:28:39 +0000
Stopped at: Wed, 01 Feb 2017 10:28:39 +0000

Job:        mysql-backups (d0de68c0-735f-4c0a-b345-3f92afb24a9e)

Log:        Validating environment...
            =========================
            SHIELD_OP ... found
            SHIELD_STORE_PLUGIN ... found
            SHIELD_STORE_ENDPOINT ... found
            SHIELD_TARGET_PLUGIN ... found
            SHIELD_TARGET_ENDPOINT ... found
            OK

            Validating TARGET plugin `mysql`...
            ===================================
            DEBUG> 'validate' action requested with options plugin.PluginOpts{Debug:false, Version:false, Action:"validate", Info:struct {}{}, Validate:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing backup target'\"" }{Endpoint:"{\"mysql_user\":\"root\",\"mysql_password\":\"<REDACTED>\",\"mysql_host\":\"<REDACTED>\",\"mysql_post\":\"3306\"}"}, Backup:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing backup target'\"" }{Endpoint:""}, Restore:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing backup target'\"" }{Endpoint:""}, Store:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing store endpoint'\"" }{Endpoint:""}, Retrieve:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing retrieve endpoint'\""; Key string "goptions:\"-k, --key, obligatory, description='Key of blob to retrieve from storage'\"" }{Endpoint:"", Key:""}, Purge:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing purge endpoint'\""; Key string "goptions:\"-k, --key, obligatory, description='Key of blob to purge from storage'\"" }{Endpoint:"", Key:""}}
            ✓ mysql_host          <REDACTED>
            ✓ mysql_port          using default port 3306
            ✓ mysql_user          root
            ✓ mysql_password      <REDACTED>
            ✓ mysql_read_replica  no read replica
            ✓ mysql_options  no options given - using defaults
            DEBUG> 'validate' action returned <nil>
            OK

            Validating STORE plugin `s3`...
            ===============================
            DEBUG> 'validate' action requested with options plugin.PluginOpts{Debug:false, Version:false, Action:"validate", Info:struct {}{}, Validate:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing backup target'\"" }{Endpoint:"{\"access_key_id\":\"<REDACTED>\",\"bucket\":\"epc-poc\",\"prefix\":\"backups\",\"secret_access_key\":\"<REDACTED>\",\"signature_version\":\"4\",\"s3_host\":\"s3.amazonaws.com\"}"}, Backup:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing backup target'\"" }{Endpoint:""}, Restore:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing backup target'\"" }{Endpoint:""}, Store:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing store endpoint'\"" }{Endpoint:""}, Retrieve:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing retrieve endpoint'\""; Key string "goptions:\"-k, --key, obligatory, description='Key of blob to retrieve from storage'\"" }{Endpoint:"", Key:""}, Purge:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing purge endpoint'\""; Key string "goptions:\"-k, --key, obligatory, description='Key of blob to purge from storage'\"" }{Endpoint:"", Key:""}}
            ✓ s3_host              s3.amazonaws.com
            ✓ access_key_id        <REDACTED>
            ✓ s3_port               443
            ✓ secret_access_key    <REDACTED>
            ✓ bucket               epc-poc
            ✓ prefix               backups
            ✓ signature_version    4
            ✓ socks5_proxy         (no proxy will be used)
            ✓ skip_ssl_validation  no, SSL WILL be validated
            DEBUG> 'validate' action returned <nil>
            OK

            Running backup task (using bzip2 compression)
            =============================================
            DEBUG> 'backup' action requested with options plugin.PluginOpts{Debug:false, Version:false, Action:"backup", Info:struct {}{}, Validate:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing backup target'\"" }{Endpoint:""}, Backup:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing backup target'\"" }{Endpoint:"{\"mysql_user\":\"root\",\"mysql_password\":\"<REDACTED>\",\"mysql_host\":\"<REDACTED>\",\"mysql_post\":\"3306\"}"}, Restore:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing backup target'\"" }{Endpoint:""}, Store:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing store endpoint'\"" }{Endpoint:""}, Retrieve:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing retrieve endpoint'\""; Key string "goptions:\"-k, --key, obligatory, description='Key of blob to retrieve from storage'\"" }{Endpoint:"", Key:""}, Purge:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing purge endpoint'\""; Key string "goptions:\"-k, --key, obligatory, description='Key of blob to purge from storage'\"" }{Endpoint:"", Key:""}}
            DEBUG> MYSQL_USER: 'root'
            DEBUG> MYSQL_PWD: '<REDACTED>'
            DEBUG> MYSQL_HOST: '<REDACTED>'
            DEBUG> MYSQL_PORT: '3306'
            DEBUG> MYSQL_READ_REPLICA: ''
            DEBUG> MYSQL_OPTIONS: ''
            DEBUG> MYSQL_DB: ''
            DEBUG> MYSQL_BIN_DIR: '/var/vcap/packages/shield-mysql/bin'
            DEBUG> Executing: `/var/vcap/packages/shield-mysql/bin/mysqldump  --all-databases -h <REDACTED> -P 3306 -u root`
            DEBUG> Executing '/var/vcap/packages/shield-mysql/bin/mysqldump' with arguments [--all-databases -h <REDACTED> -P 3306 -u root]
            DEBUG> 'store' action requested with options plugin.PluginOpts{Debug:false, Version:false, Action:"store", Info:struct {}{}, Validate:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing backup target'\"" }{Endpoint:""}, Backup:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing backup target'\"" }{Endpoint:""}, Restore:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing backup target'\"" }{Endpoint:""}, Store:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing store endpoint'\"" }{Endpoint:"{\"access_key_id\":\"<REDACTED>\",\"bucket\":\"epc-poc\",\"prefix\":\"backups\",\"secret_access_key\":\"<REDACTED>\",\"signature_version\":\"4\",\"s3_host\":\"s3.amazonaws.com\"}"}, Retrieve:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing retrieve endpoint'\""; Key string "goptions:\"-k, --key, obligatory, description='Key of blob to retrieve from storage'\"" }{Endpoint:"", Key:""}, Purge:struct { Endpoint string "goptions:\"-e, --endpoint, obligatory, description='JSON string representing purge endpoint'\""; Key string "goptions:\"-k, --key, obligatory, description='Key of blob to purge from storage'\"" }{Endpoint:"", Key:""}}
            DEBUG> 'store' action returned minio.ErrorResponse{XMLName:xml.Name{Space:"", Local:""}, Code:"InvalidArgument", Message:"Amazon S3 endpoint should be 's3.amazonaws.com'.", BucketName:"", Key:"", RequestID:"minio", HostID:"", AmzBucketRegion:""}
            Amazon S3 endpoint should be 's3.amazonaws.com'.
            DEBUG> 'backup' action returned <nil>

            EXITING 4
            TASK FAILED!!  shield worker 1 failed to execute the command against the remote agent <IP_ADDRESS>:5444 (Process exited with: 4. Reason was:  ())
            TASK FAILED!! No restore key detected in worker 1. Cowardly refusing to create an archive record

I was looking again into this issue and my interpretation of what's happening might be wrong. I'll try to reproduce it on my local environment and will report back if I discover anything else.


Error running cargo make

warning: dropping unsupported crate type cdylib for target x86_64-apple-ios

warning: 1 warning emitted

Finished dev [unoptimized + debuginfo] target(s) in 40.20s

[INFO  cargo_lipo::lipo] Creating universal library for scrap-ffi
[cargo-make][1] INFO - Running Task: post-ios
[cargo-make][1] ERROR - Error while running duckscript: Source: Unknown Line: 4 - No such file or directory (os error 2)
[cargo-make][1] WARN - Build Failed.
[cargo-make] ERROR - Error while executing command, exit code: 1
[cargo-make] WARN - Build Failed.

Do I've to install duckscript? It's not mentioned in the readme?

No, you don't have to install the duckscript it's bundled with Cargo-make
I guess it is an issue that  it can't find the file libscrap_ffi.a in /target/universal/debug/
Could you check that out?
Also, could you rebuild using these commands
$ cargo make ios
$ cargo make post-ios

and include the logs

There is libscrap_ffi.a in /target/universal/debug/
Logs:
flutterust $ cargo make ios
[cargo-make] INFO - cargo make 0.31.1
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: ios
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: workspace
[cargo-make][1] INFO - External file not found or is not a file, skipping.
[cargo-make][1] INFO - Project: adder-ffi
[cargo-make][1] INFO - Build File: Makefile.toml
[cargo-make][1] INFO - Task: ios
[cargo-make][1] INFO - Profile: development
[cargo-make][1] INFO - Running Task: ios
[cargo-make][1] INFO - Execute Command: "cargo" "lipo"
[INFO  cargo_lipo::meta] Will build universal library for ["adder-ffi", "scrap-ffi"]
[INFO  cargo_lipo::lipo] Building "adder-ffi" for "aarch64-apple-ios"
   Compiling adder-ffi v0.1.0 (/Users/ischuetz/dev/flutterust/native/adder-ffi)
warning: dropping unsupported crate type `cdylib` for target `aarch64-apple-ios`

warning: 1 warning emitted

    Finished dev [unoptimized + debuginfo] target(s) in 0.66s
[INFO  cargo_lipo::lipo] Building "adder-ffi" for "x86_64-apple-ios"
   Compiling adder-ffi v0.1.0 (/Users/ischuetz/dev/flutterust/native/adder-ffi)
warning: dropping unsupported crate type `cdylib` for target `x86_64-apple-ios`

warning: 1 warning emitted

    Finished dev [unoptimized + debuginfo] target(s) in 0.30s
[INFO  cargo_lipo::lipo] Creating universal library for adder-ffi
[INFO  cargo_lipo::lipo] Building "scrap-ffi" for "aarch64-apple-ios"
   Compiling scrap-ffi v0.1.0 (/Users/ischuetz/dev/flutterust/native/scrap-ffi)
warning: dropping unsupported crate type `cdylib` for target `aarch64-apple-ios`

warning: 1 warning emitted

    Finished dev [unoptimized + debuginfo] target(s) in 3.11s
[INFO  cargo_lipo::lipo] Building "scrap-ffi" for "x86_64-apple-ios"
   Compiling scrap-ffi v0.1.0 (/Users/ischuetz/dev/flutterust/native/scrap-ffi)
warning: dropping unsupported crate type `cdylib` for target `x86_64-apple-ios`

warning: 1 warning emitted

    Finished dev [unoptimized + debuginfo] target(s) in 1.76s
[INFO  cargo_lipo::lipo] Creating universal library for scrap-ffi
[cargo-make][1] INFO - Build Done in 6 seconds.
/Users/ischuetz/dev/flutterust
[cargo-make][1] INFO - External file not found or is not a file, skipping.
[cargo-make][1] INFO - Project: scrap-ffi
[cargo-make][1] INFO - Build File: Makefile.toml
[cargo-make][1] INFO - Task: ios
[cargo-make][1] INFO - Profile: development
[cargo-make][1] INFO - Running Task: ios
[cargo-make][1] INFO - Execute Command: "cargo" "lipo"
[INFO  cargo_lipo::meta] Will build universal library for ["adder-ffi", "scrap-ffi"]
[INFO  cargo_lipo::lipo] Building "adder-ffi" for "aarch64-apple-ios"
   Compiling adder-ffi v0.1.0 (/Users/ischuetz/dev/flutterust/native/adder-ffi)
warning: dropping unsupported crate type `cdylib` for target `aarch64-apple-ios`

warning: 1 warning emitted

    Finished dev [unoptimized + debuginfo] target(s) in 0.45s
[INFO  cargo_lipo::lipo] Building "adder-ffi" for "x86_64-apple-ios"
   Compiling adder-ffi v0.1.0 (/Users/ischuetz/dev/flutterust/native/adder-ffi)
warning: dropping unsupported crate type `cdylib` for target `x86_64-apple-ios`

warning: 1 warning emitted

    Finished dev [unoptimized + debuginfo] target(s) in 0.33s
[INFO  cargo_lipo::lipo] Creating universal library for adder-ffi
[INFO  cargo_lipo::lipo] Building "scrap-ffi" for "aarch64-apple-ios"
warning: dropping unsupported crate type `cdylib` for target `aarch64-apple-ios`

warning: 1 warning emitted

    Finished dev [unoptimized + debuginfo] target(s) in 0.10s
[INFO  cargo_lipo::lipo] Building "scrap-ffi" for "x86_64-apple-ios"
warning: dropping unsupported crate type `cdylib` for target `x86_64-apple-ios`

warning: 1 warning emitted

    Finished dev [unoptimized + debuginfo] target(s) in 0.10s
[INFO  cargo_lipo::lipo] Creating universal library for scrap-ffi
[cargo-make][1] INFO - Build Done in 1 seconds.
/Users/ischuetz/dev/flutterust
[cargo-make] INFO - Build Done in 8 seconds.
flutterust $ cargo make post-ios
[cargo-make] INFO - cargo make 0.31.1
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: post-ios
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: workspace
[cargo-make][1] INFO - External file not found or is not a file, skipping.
[cargo-make][1] INFO - Project: adder-ffi
[cargo-make][1] INFO - Build File: Makefile.toml
[cargo-make][1] INFO - Task: post-ios
[cargo-make][1] INFO - Profile: development
[cargo-make][1] INFO - Running Task: post-ios
[cargo-make][1] ERROR - Error while running duckscript: Source: Unknown Line: 4 - No such file or directory (os error 2)
[cargo-make][1] WARN - Build Failed.
[cargo-make] ERROR - Error while executing command, exit code: 1
[cargo-make] WARN - Build Failed.

The problematic line seems to be this one:
rm -f ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/packages/${CARGO_MAKE_CRATE_FS_NAME}/ios/Classes/binding.h

But I printed it with
echo ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/packages/${CARGO_MAKE_CRATE_FS_NAME}/ios/lib${CARGO_MAKE_CRATE_FS_NAME}.a

and the file does exist.  Running rm -f with the printed path also works.

I guess the problem is that at first Compile there is no Header file in the ios/Classes
I guess removing the rm -f  line with a cp command would work.
Could you make a PR please?


nginx reverse proxy opens "coder" user home directory instead of project directory

Description
When I run code-server by itself everything launches as expected, but when I add an nginx reverse proxy something strange happens.
Rather than opening the project dir when I navigate to my URL to launch code-server, it launches one level up in the home directory for the coder user instead (so I see the project dir in there as a sub-directory, along with a number of hidden files and folders too). Not sure if I've configured something incorrectly?
This is is what I'm working with:
docker-compose.yml:
version: "3"

services:
  codeserver:
    build:
      context: .
      dockerfile: Dockerfile
      args:
        GIT_EMAIL: ${GIT_EMAIL}
        GIT_NAME: ${GIT_NAME}
    image: codercom/code-server:latest
    container_name: codeserver
    restart: always
    volumes:
      - ${PROJECT_DIR}:/home/coder/project
volumes:
  codeserver:
    driver: local

docker-compose.prod.yml:
version: "3"

services:
  codeserver:
    environment:
      PASSWORD: ${PASSWORD}
      DOMAIN: ${DOMAIN}
    expose:
      - 8443
    command: --allow-http
  nginx:
    image: nginx:1.15-alpine
    container_name: nginx
    restart: always
    volumes:
      - ./config/nginx:/etc/nginx/conf.d
    ports:
      - "80:80"
    environment:
      DOMAIN: ${DOMAIN}
    command: >
      /bin/sh -c 'envsubst "$$DOMAIN" < /etc/nginx/conf.d/nginx.template > /etc/nginx/conf.d/default.conf &&
      nginx -g "daemon off;"'
    depends_on:
      - codeserver

nginx.template:
server {
    listen 80;
    listen [::]:80;
    server_name ${DOMAIN};

    location / {
       proxy_pass   http://codeserver:8443;
       proxy_set_header     Upgrade         $http_upgrade;
       proxy_set_header     Connection      upgrade;
       proxy_set_header     Accept-Encoding gzip;
    }
}

I'm not an nginx expert, so any insight would be appreciated!

I'm sorry this got left by the wayside but if you're still looking for an answer you might want to try the v2 Docker image. Unlike v1 by default it doesn't open any directory but you can pass it the directory to open or you can use a folder query parameter in the URL.

Closing as obsolete


Add resource narratives

HAPI FHIR auto generates narratives for only a few resources(ie Patient, Medication). Create templates or find others to use for the rest of the resources.
HAPI Narrative Generation


Endorsement

Coverage increased (+0.1%) to 85.532% when pulling 92c3b417a2413b670d12bb47b774f8a9f464cdca on endorsement into 74eaef73112ff97d8b22e27c8d36076ccf484eab on develop.

Coverage increased (+0.1%) to 85.532% when pulling 92c3b417a2413b670d12bb47b774f8a9f464cdca on endorsement into 74eaef73112ff97d8b22e27c8d36076ccf484eab on develop.


[loc][Query][vscode-azure-sphere-tools] Localizability of string: 0; "package.azure-sphere-tools.azurespheredbg.launch.setupCommands.description"

Hi,
please help localization team to answer question from translator.
In case translator is not sure about context/meaning/localizability of string we raise a question to Core team.
Could you help please? Thanks!**
Source:
One or more GDB commands to execute in order to setup the underlying debugger. Example: "setupCommands": [ { "text": "-enable-pretty-printing", "description": "Enable GDB pretty printing", "ignoreFailures": true }].
File:
Src\vscode-extensions\vscode-azure-sphere-tools.xlf
Query:
Should we localize "Enable GDB pretty printing"?

@PDostalek please provide the link to the document which you are following so that we can better assist.

@PDostalek Please help with the link of document on which above document feedback request is created.
Under this repository we want to make sure any issue is linked to a doc so we can help others that may be having the same issue.

Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.
In case your query is not related to document content, open a new forum thread in MSDN forum or Stack Overflow as it could be better place to get help on your scenario.
These forum community members could provide their expert guidance on your scenario based on their experience. Thanks.


Database locked

I've just installed Linkding for Docker with permanent storage, but I can create user, or login, I get the following error :
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 240, in _commit
return self.connection.commit()
sqlite3.OperationalError: database is locked

@mwolfaardt I would need to be able to reproduce this. Can you please provide the command that you used to start the Docker container? Also which which system are you running this on?

Closing due to inactivity.

I'm also seeing this. Not after launch but during import and through general use.
I see in siteroot/settings/base.py that there is mention of keeping aync tasks low (2) to reduce the chance of database locking. So it seems to have not been completely successful.
I read that this is a common Django+SQLite problem:
https://stackoverflow.com/questions/3172929/operationalerror-database-is-locked
Possible solution is to cursor.close() as soon as possible after each db query.
https://stackoverflow.com/a/53470179


Implemented function to find sub nodes from root node

As per title.

High-level question: does Poco XML not support xpath queries?

Don't know, and to be honest, I haven't used xpath queries before.
I just built upon implementations I did 5-6 years ago, and I haven't look for other solutions.

Thanks for the review @gavanderhoorn 👍


Maven registration missing?

I can't get maven to find this package- is it in a repository other than central?

Sorry just saw the issue now, didnt receive the notification somehow.
Nope we didnt push it to maven central. But it is available using
<repository>
    <id>datapublica-oss</id>
    <name>Data-Publica OpenSource repository</name>
    <url>http://nexus.data-publica.com/content/repositories/public/</url>
</repository>


New Form components

I included all the changes requested in https://trello.com/c/WNGdAWOk/73-convert-form-component
I tried to leave the main structure/naming as they were so there is less impact for the Curology site refactor
However, these component may still need to be refactored, I need your input on the current implementation. Just be aware the refactor for Curology may get more complex

@snags88 I am not happy with the current implementation either, I think I spent more time trying to migrate to Radiance without causing impact in PocketDerm than if I had to rewrite the Form components from the scratch.
Would you agree if I try to refactor and make it clean and elegant these Form components in Radiance according to Figma designs and only then after approved we can think on refactor in PocketDerm?
@youngmanalive fyi

@daigof so your plan is to get these Form components into Radiance, convert PocketDerm so we get that part over with. And then follow up with a refactor of these Form components?

@snags88 no, my plan is to get it right into radiance first. Publish a polished version. only then look at how we incorporate into Pocketderm

ah gotcha. I actually agree with that approach!

Definitely think this is a good opportunity to get a clean version into radiance and then implement into pocketderm later. @snags88 - I was thinking same thing on the dot notation like Form.Textarea, etc. @daigof nice work so far and solid game plan!

@snags88 Pending, your thoughts?:

Incorporate BulkError into Field directly so instead of errorMessage we just have a single error object: if you need 1 error then 1 obj with 1 field, if you need more, more field in error obj, etc. (remove errorMessage prop)
Update react-transition-group to latest version: HelperText is using v1 which is not compatible with latest (v2) need to rework it a little, also I am not fond on injecting GlobalStyles, will try to get rid of it

@daigof
It looks like theres an extra border or something being added to the bottom of this text area

Other than that, this looks good. So feel free to merge when that's fixed!

@snags88 this is ready for review again.

removed Bulk errors, included in the Field component as errors obj.
migrate react-transition lib to latest version
update docs and examples

@daigof can we change the color of the disabled label to purple30? just to further reinforce that it's disabled.


Bug: [Prod]View all incoming webhook payloads ->URL is being appended multiple times on edit configured icon click .improper handling of navigation events also when you switch between multiple ci trigger modal

📜 Description
[High][Prod]View all incoming webhook payloads ->URL is being appended multiple times on edit configured icon click .improper handling of navigation events also when you switch between multiple ci trigger modal
👟 Reproduction steps
[High][Prod]View all incoming webhook payloads ->URL is being appended multiple times on edit configured icon click .improper handling of navigation events also when you switch between multiple ci trigger modal
👍 Expected behavior
It should be handled
👎 Actual Behavior
Breaking
☸ Kubernetes version
azure
Cloud provider

azure

🌍 Browser
Chrome
🧱 Your Environment
test
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

AB#10222

Merged in https://github.com/devtron-labs/dashboard/pull/2070


Center searchHint

Is there a way to center searchHint? I tried the snippet below but it didn't work.
searchHint: Center(child: Text("Select one")),

Hello @franciscocpg ,
Thanks for your question.
I would have expected your solution to address your requirement.
I am not able to investigate right now. I will have to come back to you later on this. Sorry.

I had to wrap the Widget in an Expanded one to center the searchHint:
        searchHint: Expanded(child:Text("Select one",textAlign: TextAlign.center,)),

This also works:
        searchHint: Expanded(child: Center(child:Text("Select one",))),

Can you please confirm that it works for you?

Both solutions work fine for me.
Thank you.

Thank you for the confirmation!


Extension issue

Issue Type: Bug
Extension Name: python
Extension Version: 2020.11.371526539
OS Version: Windows_NT x64 10.0.14393
VSCode version: 1.52.0

:warning: We have written the needed data into your clipboard. Please paste! :warning:
{
	"messages": [],
	"activationTimes": {
		"codeLoadingTime": 250,
		"activateCallTime": 14,
		"activateResolvedTime": 10631,
		"activationReason": {
			"startup": false,
			"extensionId": {
				"value": "ms-python.vscode-pylance",
				"_lower": "ms-python.vscode-pylance"
			},
			"activationEvent": "onLanguage:python"
		}
	},
	"runtimeErrors": [
		{
			"name": "Error",
			"message": "request cancelled"
		},
		{
			"name": "Error",
			"message": "request cancelled"
		},
		{
			"name": "Error",
			"message": "request cancelled"
		},
		{
			"name": "Error",
			"message": "request cancelled"
		},
		{
			"name": "Error",
			"message": "request cancelled"
		},
		{
			"name": "Error",
			"message": "request cancelled"
		},
		{
			"name": "Error",
			"message": "request cancelled"
		},
		{
			"name": "Error",
			"message": "request cancelled"
		},
		{
			"name": "Error",
			"message": "request cancelled"
		}
	]
}

@honghuzi can you provide some info as to what is going wrong here? This seems to be an auto-generated issue, but I'm not sure what it's saying.

Please refer to the same issue #4237


fix: root payload types

Fixes https://github.com/the-codegen-project/cli/issues/126
Fixes https://github.com/the-codegen-project/cli/issues/117
Fixes parameters not working correctly

:tada: This PR is included in version 0.19.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Document the ignore function attribute.

This is very brief, without any usage or motivation. There's more
information in the 'Testing' section of the Rust Book.

This came up on irc this morning. r? @steveklabnik

Yup, this is great, thanks!


Does SD3 support image to image?

yeah

How to operate? I used Controlnet in image to image and the result was not ideal.

There's only a few initial SD3 controlnets (InstantX) available atm.


chore: rename internal dtype functions

What type of PR is this? (check all applicable)

[ ] 💾 Refactor
[ ] ✨ Feature
[ ] 🐛 Bug Fix
[ ] 🔧 Optimization
[ ] 📝 Documentation
[ ] ✅ Test
[ ] 🐳 Other

Related issues

Related issue #
Closes #

Checklist

[ ] Code follows style guide (ruff)
[ ] Tests added
[ ] Documented the changes

If you have comments or can explain your changes, please do so below.

That's a nice cleanup indeed! How come that namespaces are not covered now? Aren't we using them somewhere? Or maybe we initialize them directly in other methods without passing through __narwhals_namespace__

thanks!

Or maybe we initialize them directly in other methods without passing through narwhals_namespace

i've done this in a couple of other places, but I think Series.__narwhals_namespace__ is unreachable - might as well getrid of it for now then? can always add it back later if it helps somewhere

i've done this in a couple of other places

Thanks! I think it makes complete sense!

but I think Series.__narwhals_namespace__ is unreachable - might as well getrid of it for now then? can always add it back later if it helps somewhere

I am very indifferent if keeping with no cover or removing it 😂

thanks for your review!


TST: flake8 -> ruff

ruff is a drop-in replacement for just about all Python linters.
It's blazingly fast (not an overstatement), and supports far more rules than flake8.
This is a naive migration from flake8. More checks can be enabled as we see fit.
There is a github action for ruff. I didn't se the advantage of using it.

LGTM, very little room for controversy, so I'll merge :)


The navbar content is on extreme left

Content is on extreme left in hamburger menu (mobile view) Navbar content should be centered

Hello, I made the required changes and would like to make a pull request.

Hey Arsh, I don't have the authority to make a PR. I just saw an issue and informed it.

Ok I see, Thank you though

Hey, can I work on this?


Restrict config updates or deletion during remediations

Add a validating webhook which prevents

updates of the node selector
deletions of NHC resources
while they have ongoing remediation, in order to prevent dangling remediations.

ECOPROJECT-1060

/hold
we need to allow pausing...

/hold cancel

/retest

/lgtm


Formatting errors in the sample manifest.json

There are several typos/formatting conversion errors, including in parameter names, in the sample manifest.json; also it would be a good chance update to the current schema (https://developer.microsoft.com/en-us/json-schemas/teams/v1.9/MicrosoftTeams.schema.json).

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

ID: 611ed1ac-09a9-3491-7fa8-d282b4558fbe
Version Independent ID: b5a1dba5-beab-7188-fe18-0a045814dde0
Content: Create a Teams 'Intranet Portal app' from a SharePoint Online site or page - Microsoft Teams
Content Source: Teams/teams-standalone-static-tabs-using-spo-sites.md
Service: msteams
GitHub Login: @cichur
Microsoft Alias: heidip

Thank you for submitting feedback and contributing to the docs. We are currently investigating this.


Remove unused project model fields

Fixes #4866

@humitos
Please review.

https://github.com/rtfd/readthedocs.org/blob/3bfec170bdfb63e0f06b9bcd8300cb19e5981b75/readthedocs/projects/forms.py#L218-L219
https://github.com/rtfd/readthedocs.org/blob/3bfec170bdfb63e0f06b9bcd8300cb19e5981b75/readthedocs/projects/views/private.py#L129-L129
https://github.com/rtfd/readthedocs.org/blob/3bfec170bdfb63e0f06b9bcd8300cb19e5981b75/readthedocs/projects/models.py#L751-L766
And more related code that uses the functions/methods above ^

@dojutsu-user seems safe to remove

@stsewd
There's a job error in Travis.
Is it related to this PR?

@stsewd
Can you please review it again?

@agjohnson why did you mark it as "Work in progress"? It seems that it's ready to be merged.

I have edited and renamed the migrations file.


Fedora copr?

Could you add Fedora copr?

@arun54321 The Thorium portable .zips work well for other distros. I've tested it on Arch, Gentoo, Fedora, and CentOS.
I don't really use fedora, so I don't know what the COPR is but google search shows it is kind of like the AUR in arch. I dont know how I would go about adding it to there.
I'm already building alot for linux, windows, and windows avx2, as well as making personal builds, so having to also build RPM packages is alot of work considering that the portable zips work fine, you just have to modify/copy the .desktop files to wherever you want to put Thorium, which is more work than the seamless desktop integration of installing a .deb/.rpm/.pkg, but once you do it, then you just have to unpack future updates wherever you put Thorium.
Sorry if this isn't the answer you were wanting. Perhaps when I get a faster machine and/or more people to build (@midzer midzer makes the macos/tigerlake releases and @gz83 very recently started making windows avx2 releases since my haswell board died), then I would consider also packing it in an .rpm for distros that use that packaging manager.


Jvm with 1 5 30

Any plans to merge this in to enable JS IR support for this library?

Any updates...?

@nbransby I see you're tagged as a reviewer for this PR. Is there any estimate on when this could be reviewed, or is it recommended to fork and build ourselves?


Correct OnlyBinary, add Verbose

OnlyBinary defined as boolean - proper options are strings e.g. ':all:'
Added a Verbose option to aid debugging (didn't help much tho - got the same output)
Note - we could do with a way to see the command being issued to make it easier to spot mistakes and/or try locally
Capture of the output from pip is also desirable - my phone says nothing but my ChromeBook is much more helpful

I didn't find the -v option in PIP v22.2.2 docs. Which docs are you using?

It's a general option so listed under https://pip.pypa.io/en/stable/cli/pip/
The report switch was just added as well in 22 to this page (another PR)

It's a general option so listed under https://pip.pypa.io/en/stable/cli/pip/
The report switch was just added as well in 22 to this page (another PR)

Ah, right. It is not an installation option. We should take extra care to that options specifically.
Let's extend the PIP refs to work properly with general options, instead of placing it in the PIP install defs.
You can open a new requirement issue and I will put some work along it.

Yep - that's a better solution


vite-node sourcemap changes not reflected after HMR

Describe the bug
I am using vite-node directly and while sourcemaps appear to be generated correctly, and error line numbers are correct for an initial execution, after HMR and clearing the module from the cache, line numbers are no longer correct. While the file is being updated and the new code is executing, it seems like the original sourcemap is somehow sticking around?
Is there another method that must be called to make sure the new sourcemap is respected?
Reproduction
https://stackblitz.com/~/github.com/dmno-dev/vite-node-sourcemap-issue
System Info
System:
    OS: macOS 13.6.7
    CPU: (12) arm64 Apple M2 Max
    Memory: 3.00 GB / 96.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.1 - ~/Library/Caches/fnm_multishells/32938_1728091914366/bin/node
    Yarn: 1.22.22 - ~/Library/Caches/fnm_multishells/32938_1728091914366/bin/yarn
    npm: 10.2.4 - ~/Library/Caches/fnm_multishells/32938_1728091914366/bin/npm
    pnpm: 9.6.0 - ~/Library/Caches/fnm_multishells/32938_1728091914366/bin/pnpm
    bun: 1.1.21 - /opt/homebrew/bin/bun
  Browsers:
    Chrome: 129.0.6668.90
    Safari: 16.6
  npmPackages:
    vite: ^5.4.8 => 5.4.8

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Can you reproduce the same with vite-node cli watch mode?

I wasn't sure about your custom handleHotUpdate, but I can reproduce with vite-node --watch https://github.com/hi-ogawa/reproductions/tree/main/vitest-6642-vite-node-watch-error-stack and I assume it's the same issue.

Nice! At least it's consistent. I also noticed that adding a log on the getSourceMap function, it only gets called once.
this seems to be the related PR
Perhaps @sheremet-va has an idea of what's going on?


minhook crash

injecting with blackbone mmap

probably you're trying to hook function at the wrong address, this have nothing to do with base itself

didnt change any hooks and didnt add new, all hooks def

hooks and didnt add new, all hooks def

either:

fix ur horrible manual mapper
load the debug library via lla, like ur supposed to do

yw


[Wiki] out of date licence information on the FAQ page

The "Can I use SharpZipLib in my commercial application?" section of the FAQ wiki page still states that the source code is GPLed, which is incorrect at this point, so I assume it should be updated?

Good point. Didn't even realize w had a FAQ :/

I can't say that i've payed much attention before, was just browsing and noticed the out of date text.
It also mentions a HTML help file - does the project still have one of those?

From the "sidelines" of our other projects in this org - in AvalonEdit we are using Sandcastle HFB (only because it was there already, not because I would choose it for a new project). I cannot remember what was used way back in SharpZipLib, but I think it was directly from the doc xml without any other additional sources.

@christophwille this sounds like the discussion about using a 3rd-party encryption library? Or is it related to the FAQ?

I was referring to building the help file.

Right, sorry. We do build docfx documentation in HTML format, but it's not distributed with the package. Perhaps we should just remove that question to avoid confusion? I updated the "commercial use" answer at least.

Right, it's not distributed with the package but online at https://icsharpcode.github.io/SharpZipLib/help/api/index.html - maybe link that there instead.

Yeah. Done!
Also changed some references to #Zip and made the questions into headers for easier scanning through

Gents, thanks for getting the licensing concerns taken care of.  I have wanted to use this library for years and now I am happy to see that I can.  Cheers.


Enable test scope and update flyway-sbt as AutoPlugin

AutoPlugin feature increases the minimal sbt version to 0.13.5

Great stuff.
Is it possible to get this into 3.2

@cdedie Can you fix the conflicts so this can be merged in the next few days?

Merged. Thanks!


SwaggerUIBundle is not defined

Your swag version
github.com/swaggo/files v0.0.0-20210815190702-a29dd2bc99b2 // indirect
github.com/swaggo/gin-swagger v1.3.3 // indirect
github.com/swaggo/swag v1.7.6 // indirect
Your go version
github.com/gin-gonic/gin v1.7.7
go 1.16

Please open the issue on gin-swagger issue tracker.


twister: runner: add extra_args supporting platform and soc and simulation

twister: runner: add extra_args supporting platform and soc
like extra_confs, add extr_args filterable by
soc::<extra_args> or
platfrom:: <extra_args>
which will only apply to given platform or arch

@aaronemassey , @asemjonovs , @gchwier , @golowanow , @nashif , @PerMac  please help to review

@LukaszMrugala seems there is a bug in black box test see below
https://github.com/zephyrproject-rtos/zephyr/actions/runs/11259077731/job/31331471101?pr=79263#step:9:95
'{"gcovr/format_version": "0.10", "files": []}' = <function dumps at 0x7f357f36aca0>({'files': [], 'gcovr/format_version': '0.10'})

the compare fails due to the hash sequence is not match but the content is the same

@LukaszMrugala seems there is a bug in black box test
the compare fails due to the hash sequence is not match but the content is the same

@hakehuang - the fix should be in #79578


stroke-opacity at group-level is discarded

See https://github.com/RazrFalcon/resvg/issues/608

Fixed with update to recent usvg


Query SubnetUri

Scenario/Intent
Trying to gather facts for available networks in oneview - Synergy
Environment Details
Latest from releases
Steps to Reproduce
tasks:

name: "Gather facts about all Ethernet Networks for {{ inventory_hostname }}"
oneview_ethernet_network_facts:
register: l_network_facts

debug: var=l_network_facts

Expected Result
I was looking for IPv4 Subnet ranges defined for example MGMT network.
Actual Result
a subnet URI is returned
like
"subnetUri": "/rest/id-pools/ipv4/subnets/f1815bd9-139a-431e-afe0-10394d5bb950"
and I cannot see modules/options to query that URI using oneview-ansible

Hello @hmadabhu , indeed.
I've checked the ethernet_networks api and it only returns the subnetUri as mentioned.
The resource to be queried using that URI is not yet covered by the ansible module, it is however in the list of 'future' implementations.
Is the lack of this resource blocking you for some reason? If so, we may try to bump up its priority.
Also, we do accept code contributions if you wish to speed up the process.

Yes, this was requested by one of the Customer in UK.


Multiple protographs

Original author: iainsproat (June 17, 2010 11:35:16)
Gridworks should support multiple protographs.  This would allow flexibility in reconciliation (e.g. protographs for external reconciliation services in addition to Freebase). If issue #75 is implemented it would also allow flexibility in uploading and exporting (e.g. ability to export to different XML or json schemas).
It would also assist in the problem identified in issue #76. (changes to a combined protograph/columngroup model required for reconciliation purposes would affect exporting and vice versa).
Original issue: http://code.google.com/p/google-refine/issues/detail?id=77

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

This was solved by f5fc44e24e8e5398b1de3cac4f41f2feb70b7924:
https://github.com/OpenRefine/OpenRefine/commit/f5fc44e24e8e5398b1de3cac4f41f2feb70b7924#diff-a6c9ecf8444bfcf85e906bbe5961faeaR48


Input group RTL support temporary fix

I know that RTL support will come later - from @cvrebert's comment:

There isn't one, but don't worry, given the number of times folks have asked for RTL, we won't soon forget about it. But we're not going to delay v4.0.0 for this. RTL will probably land in a later minor release (e.g. v4.2.0).

However, I had an task to make bootstrap RTL and had some issue with input groups - I just added dir="rtl" to the parent element and the result is:

Where you can see that the styles are messed up.
So, I've created a fix - it's not something special but it does the work. The CSS snippet:
[dir="rtl"] .input-group-addon:not(:last-child){
  border-right: 1px solid rgba(0,0,0,.15);
  border-left: 0;
}

[dir="rtl"] .input-group .form-control:not(:last-child),
[dir="rtl"] .input-group-addon:not(:last-child),
[dir="rtl"] .input-group-btn:not(:first-child)>.btn-group:not(:last-child)>.btn,
[dir="rtl"] .input-group-btn:not(:first-child)>.btn:not(:last-child):not(.dropdown-toggle),
[dir="rtl"] .input-group-btn:not(:last-child)>.btn,
[dir="rtl"] .input-group-btn:not(:last-child)>.btn-group>.btn,
[dir="rtl"] .input-group-btn:not(:last-child)>.dropdown-toggle{
  border-bottom-right-radius: .25rem;
  border-top-right-radius: .25rem;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

[dir="rtl"] .input-group .form-control:not(:first-child),
[dir="rtl"] .input-group-addon:not(:first-child),
[dir="rtl"] .input-group-btn:not(:first-child)>.btn,
[dir="rtl"] .input-group-btn:not(:first-child)>.btn-group>.btn,
[dir="rtl"] .input-group-btn:not(:first-child)>.dropdown-toggle,
[dir="rtl"] .input-group-btn:not(:last-child)>.btn-group:not(:first-child)>.btn,
[dir="rtl"] .input-group-btn:not(:last-child)>.btn:not(:first-child){
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: .25rem;
  border-top-left-radius: .25rem;
}

[dir="rtl"] .form-control + .input-group-addon:not(:first-child){
  border-left: 1px solid rgba(0,0,0,.15);
  border-right: 0;
}

[dir="rtl"] .input-group .form-control:not(:first-child):not(:last-child),
[dir="rtl"] .input-group .input-group-addon:not(:first-child):not(:last-child){
  border-radius: 0;
}

Preview:

Here's the full JSBin
Hope that it'll help someone with the same issue.
P.S. Love the new bootstrap - flexbox rules :) cheers

Thanks for sharing! I'll close this out for now, but we'll come back to this whenever we get around to RTL :).

Hi,
You can use this patch for full RTL compatibility for both Bootstrap 3.3.7 and 4.0.0-alpha.6
If you have any pre designed theme, You can use this path to make your template RTL very easy
Good luck


[AutoRelease] t2-media-2023-01-12-16048(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/3649
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=1012
BuildTargetingString
azure-mgmt-media
Skip.CreateApiReview
true

issue link:https://github.com/Azure/sdk-release-request/issues/3649


docs: format doc fixed #804

Codecov Report

Merging #808 (c4942da) into dev (a084b39) will decrease coverage by 0.17%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev     #808      +/-   ##
==========================================
- Coverage   95.33%   95.15%   -0.18%
==========================================
  Files         249      249
  Lines        5679     5681       +2
  Branches     1049     1050       +1
==========================================
- Hits         5414     5406       -8
- Misses        265      275      +10

Impacted Files
Coverage Δ

packages/varlet-ui/src/form/Form.vue
67.64% <0.00%> (-16.73%)
:arrow_down:

...kages/varlet-ui/src/collapse-item/CollapseItem.vue
90.90% <0.00%> (-7.28%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Fixes issue #59

I was not sure the meaning behind limiting attr copying to just a few attributes. Removed them all. If there was a reason I could re-write it pull all data attributes and some other known ones

Thanks @jrock2004!  I was trying to remember why we limited the attributes to begin with, and I think I figured it out: in many situations, we're copying attributes from an <input> element to a <select> element or vice versa.
Perhaps instead of a whitelist, we can maintain blacklists in each direction (select->input, input->select)?

Would that be something that a user would have to pass in themselves? Or do we just create such list? If so any ideas on what to blacklist?

Probably something we should provide. Users can override this attribute copy method if they want to anyway.
I'm looking at the spec for the select and input elements on MDN.
You can check my math, but it looks like the limitations are only in one direction.  Any valid attribute on a <select> element can be copied to an <input> element without any issues, but there are tons of attributes on <input> elements that are irrelevant to <select> elements.
I'm also wondering whether or not it's wise to copy event handler attributes (like onload, onclick, etc).
Some research:
Attribute blacklist for input-to-select transition
Basically a list of attributes that are unique to input elements.

type
accept
accesskey
mozactionhint
autocapitalize
autocomplete
autocorrect
capture
checked
formaction
formenctype
formmethod
formnovalidate
formtarget
height
incremental
inputmode
list
max
maxlength
min
minlength
pattern
placeholder
readonly
results
selectionDirection
spellcheck
src
step
usemap
value
webkitdirectory
width
x-moz-errormessage

Attribute blacklist for select-to-input transition
I could not find any attributes that <select> elements have that <input> elements do not have.
Attributes that are definitely shared

All global attributes
autofocus
disabled
form
multiple
name
required
size


Handle special characters in TraceProxyRequestHelper

@Qerny Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@Qerny Thank you for signing the Contributor License Agreement!

Do you still support version 2.1.4? Can i create pull request for this branch, or do I need to use more recent branches?

@spencergibb Can you help me, please?

We support 2.2.x and main. Closing in favour of gh-3995.


Which credentials?

Which credentials do I need to enter when adding the integration? The credentials of my petWalk account or my Home Assistant user or something else entirely?

You need to enter your Petwalk credentials.


[android] Enforce http(s) only on BLE beacons discovered.

This commit uses the same URLUtil.isNetworkUrl() logic as the rest of the application to ensure that only http and https prefixed UriBeacons are listed in the nearby list, per the discussion in issue https://github.com/google/physical-web/issues/445.
This check replaces the null/empty check, because isNetworkUtil() does that for us also.

Thanks!


Breaks if not browser environment

Unable to use the latest version 7.0.0 in a non browser environment (eg: Server Side Rendering), used to work without any issues in previous versions.
Logs:
[nodemon] starting `babel-node src/index.js`
/node_modules/dnd-core/lib/DragDropManagerImpl.js:11
    var reduxDevTools = window && window.__REDUX_DEVTOOLS_EXTENSION__;
                        ^

ReferenceError: window is not defined
    at makeStoreInstance (/node_modules/dnd-core/lib/DragDropManagerImpl.js:11:25)

This has been fixed in 7.0.1


Cannot find module 'ionic-app-lib'

Hello everybody,
I've installed ionic@beta, everything was ok. When I try to write ionic in the bash I get the following error:
Caught exception:
Error: Cannot find module 'ionic-app-lib'
at Function.Module._resolveFilename (module.js:440:15)
at Function.Module._load (module.js:388:25)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object. (D:\Users\AdrianAMadaras\AppData\Roaming\npm\node_modules\ionic\lib\cli.js:4:19)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
Mind letting us know? https://github.com/driftyco/ionic-cli/issues
My System: Windows 7 x64
Pls help!!!

I've managed to fix this problem by completely uninstalling NODE js and reinstalling everything. Didn't know what caused the problem.


tutorial Iterator interface broken

using NonlinearSolve
f(u, p) = u .* u .- 2.0
u0 = (1.0, 2.0) # brackets
probB = NonlinearProblem(f, u0)
solver = init(probB, Falsi()) # Can iterate the solver object

Solved with 1.0.


[OTHER] Update COC Mail

Hey
This PR Closes #83
Please approve and merge this. Thanks!

Thanks for your contribution!


wal: Imagemagick couldn't generate a palette.

Hey. My wal isn't able to create new color schemes anymore.
imagemagick version imagemagick-<IP_ADDRESS>-1
wal -v  wal 2.0.5
wal -i Pictures/wall
[I] image: Using image /home/friday13/Pictures/wall/wallhaven-617664.jpg.
[I] colors: Generating a colorscheme.
[I] colors: Using wal backend.
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 16
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 17
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 18
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 19
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 20
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 21
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 22
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 23
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 24
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 25
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 26
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 27
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 28
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 29
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 30
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 31
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 32
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 33
[W] wal: Imagemagick couldn't generate a palette.
[W] wal: Trying a larger palette size 34
[E] wal: Imagemagick couldn't generate a suitable palette.

Does this happen with every image?  Can you upload a few here?

https://alpha.wallhaven.cc/wallpaper/634345

Is that a yes or a no to the first question?

not all

Try all of the other backends and if it still doesn't work try a wallpaper with more colors.


[Swift] Consider moving to Bazel module system

On Bazel 0.18 module maps are now supported by default and are working quite nicely with rules_swift. In earlier Bazel releases, we were required to create custom module maps, and propagate them through headers. This isn't ideal for several reasons.

This document has good information about the current shortcomings, and a proposal to address such shortcomings: https://docs.google.com/document/d/1v9DeNdPbQoGdemvH2hC3l2YSgk57uDkSzA7pwHNCbEM/edit#


SQLiteException: no such table: maps_١ (code 1)

Hello,
we get Exceptions from couchbase for some users. It looks that's just Arabic/Persian users generate this crash.
compile 'com.couchbase.lite:couchbase-lite-android:1.2.1'
compile 'com.couchbase.lite:couchbase-lite-android-forestdb:1.2.1'

You can see, there is some special character on end of: maps_١
Caused by com.couchbase.lite.internal.database.sqlite.exception.SQLiteException: no such table: maps_١ (code 1): , while compiling: SELECT key, value, docid, revs.sequence FROM 'maps_١', revs, docs WHERE 1 AND revs.sequence = 'maps_١'.sequence AND docs.doc_id = revs.doc_id ORDER BY key, docid LIMIT ? OFFSET ?
       at com.couchbase.lite.internal.database.sqlite.SQLiteConnection.nativePrepareStatement(SQLiteConnection.java)
       at com.couchbase.lite.internal.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:713)
       at com.couchbase.lite.internal.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:426)
       at com.couchbase.lite.internal.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:595)
       at com.couchbase.lite.internal.database.sqlite.SQLiteProgram.(SQLiteProgram.java:64)
       at com.couchbase.lite.internal.database.sqlite.SQLiteQuery.(SQLiteQuery.java:37)
       at com.couchbase.lite.internal.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:48)
       at com.couchbase.lite.internal.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1295)
       at com.couchbase.lite.internal.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1234)
       at com.couchbase.lite.storage.SQLiteStorageEngineBase.rawQuery(SQLiteStorageEngineBase.java:172)
       at com.couchbase.lite.store.SQLiteViewStore.runQuery(SQLiteViewStore.java:1012)
       at com.couchbase.lite.store.SQLiteViewStore.regularQuery(SQLiteViewStore.java:625)
       at com.couchbase.lite.View.query(View.java:358)
       at com.couchbase.lite.Database.queryViewNamed(Database.java:2073)
       at com.couchbase.lite.Query.run(Query.java:433)

http://crashes.to/s/fa605cc8295

I can reproduce it on Nexus 5 with language: فارسی

Hi @mtrakal,
I set Android emulator's Language setting to Persian. However, I could not reproduce the problem just changing the Language setting. Could you please explain how did you test this?
Note to Self:
Persian character ١ means 1 for English. It seems following line of code generate this. getViewID()  returned 1, but it seems 1 automatically translated to ١.
_mapTableName = String.format("%d", getViewID());

Hi @mtrakal,
I could not reproduce this issue. If you have time, could you please verify the fix with the build http://files.couchbase.com/maven2/com/couchbase/lite/couchbase-lite-android/0.0.0-735/ ?

Hi @hideki,
thanks. It's fixed! :) :+1:
Test scenario:

I run app in English/Czech which create valid maps_1 table
kill app
change lang to Persian
try to start app. It crash on invalid table.

Got the almost same problem in another place /_revs_diff. Not sure, that name is from couchDB or our app yet. But FYI.
۵ is number 5 (as google translator said)
06-08 11:20:20.592 7599-21100/com.myapp D/com.myapp/Application.java:241: CBLReplicationExecutor-https://myapp.com/bb-06007556-814d-4ffd-ad4e-9de6c34d2cf7/-push-87d88 ReplicationStartedEvent{}
06-08 11:20:21.406 7599-21151/com.myapp W/RemoteRequest: RemoteRequest{POST, https://myapp.com/bb-06007556-814d-4ffd-ad4e-9de6c34d2cf7/_revs_diff}: Got error status: ۵۰۰ for https://myapp.com/bb-06007556-814d-4ffd-ad4e-9de6c34d2cf7/_revs_diff. Reason: Internal Server Error
06-08 11:20:23.319 7599-21188/com.myapp W/ChangeTracker: ChangeTracker{https://myapp.com/bb-06007556-814d-4ffd-ad4e-9de6c34d2cf7/, OneShot, @a9516dc}: Change tracker got error ۵۰۰
06-08 11:20:23.319 7599-21101/com.myapp W/Sync: Change tracker stopped during continuous replication

Hi @mtrakal,
Thank you for verifying the fix and also another report.
From the log message you provided, at least error codes are translated to Persian. But I am not sure this error could be caused by CBL Android or something else. If you can, please check CouchDB log file.
I filed new ticket for error code translated issue for log message.
https://github.com/couchbase/couchbase-lite-java-core/issues/1260

As CBL uses String.format(...) in many places, any  codes that calls String.format(...) could make variety of problems.

By using Genymotion Emulator, I could reproduce the issue of maps_١

Hi @mtrakal,
I also fixed all potential problems that could cause Persian language issue. Could you please test latest build from master branch?
http://files.couchbase.com/maven2/com/couchbase/lite/couchbase-lite-android/0.0.0-738/
Thanks!

Everything looks work like a charm in our app with 0.0.0-738 version :). Sync, new revisions, ... :+1:
I tried to switch between langs Persian/English and still stable and without errors in logcat. Looks really great
Thanks :)

Hi @mtrakal,
Thank you very much for verifying the fix and all your contributions to the product.


#163967 css aliases

Issue #163967: [css] Custom aliases in CSS file resolution
In conjunction with Pull Request # : vscode-css-languageservice
Functionality
Main functionality is in the aforementioned pull request. The changes in this pull request allow the user to specify the alias settings that are to be consumed by the css-language-service to allow for ctrl-click file link navigation for aliased imports within CSS and SCSS files.
Changes
Package.json:
Added an 'alias.path' object, for both css and scss, that allows a user to specify an alias and an associated path. Object has pattern constraints to ensure correct syntax and mirroring the behaviour of alias settings in a tsconfig.json file (under 'compiler.paths').
Package.nls.json:
Added the associated tool tip descriptions to guide the user on using the settings.

@microsoft-github-policy-service agree

Since https://github.com/microsoft/vscode-css-languageservice/pull/368 is merged, are there any blockers for merging this?


Add DrawerLayout.DrawerListener callbacks

Hello! I am new here on GitHub.
First, your library is awesome!
But I have one suggestion: How about offering us the callbacks of the DrawerLayout? I have to close the keyboard in my app, when the NavigationDrawer is expanded. But I have not found 'setDrawerListener(...)' or anything like that.
So, please add a method like that which simply only calls setDrawerListener(listenerFromArgument) on your DrawerLayout.
Thank you!

Thanks!
As you know, I am new here. Do I have to close this issue now or after the next release (which will hopefully come soon 😃)?

well, please wait up to the next release, and if your problem is solved (and you don't find any bug) then you can close the issue :)

Commit is six hours ago. When does it push to Maven Central?

I forgot to release on maven central the new version, sorry...
I have released it now, please wait about two hours and it will be online

Works perfectly! Thanks.


Convert project to typescript and implement test

Hello!
I'm thrilled to contribute to this project and enhance my Git skills while helping out. After reviewing the project, I had an idea to add TypeScript support. TypeScript brings type safety, which can catch bugs early in development and make the code more reliable. Additionally, I plan to add tests to cover various edge cases and ensure the project's robustness.
I would be more than happy to work on these features if they align with your project's goals. Please let me know your thoughts, and I'm here to assist you in any way I can. 😊

would love this

Sorry, for late response, I was bussy with my exams.
So, I am very excited to work on this, I ma starting the work from today and will open PR as soon as possible.
But, this is my first time collaborating on a project, so may need some guidance throughout the process, So, I expect support from your side.
Thank you :)

There's one thing i would like to ask.
While looking and testing the conversion functions like, HSVtoHSL or HexToHSB etc.. are returning array of floats instead of integers, For example:
console.log(HSVtoHSL([ 44, 99, 99 ])); // Should return [ 44, 98, 50 ] but returns [ 44, 98.02, 49.995 ],
So i was wondering if this is intended feature, or I should fix it to return array of integers instead of array of floats

I don't know if this behaviour is intended or not but i found that:
If you do: console.log(randomColor(hue: 'monochrome', count: 3)) you get range error my guess is beacuse hueRange for monochrome is set to null when populating the dictionary by the function loadColorBounds, correct me if I am wrong...
This can be easily fixed by setting hueRange for monochrome, I just don't know what range is for monochrome colors, according to me hue is same for monochrome colors... Again correct me if I am wrong
also if this is intended feature, we should implement check that, if hue is provided as monochrome, then we should not accept the count variable, I can add this check, just let me know which one isintended feature i will update according to that

I noticed that, the file published on npm is different then the file avaliabl in this repo, and due to this I was scratching me head for eternity, I was wndering why its not working in the cloned repo but works in test project where I installed the npm package ;_;
Please update github repo ASAP...

@blobitty Just asking... are you the owner of this repo or moderator or friend of the owner, like i found that, there are already type for this package and owner has not reviewed any issues/ PRs these days... So, is my effort worth, I will still continue the conversion even if its not worth it because I will learn a lot and I will still open the PR incase owner decides to accept it in future or whatever...


Unreachable after stopping and restarting homebridge

Hi,
I've installed homebridge on a Mac mini (OS X 10.10.4) and I'm using the EVE App on my iPhone 6 (iOS 8.4). It works fine, however after restarting homebridge EVE shows the message "unreachable".
In order to reactivate the communication I've to restart (power off/on) my iPhone.
For testing I just defined a simple Dummy.js Accessory.

Hello - most of HomeBridge is based on HAP-NodeJS - could you try the out-of-the-box Code.js or BridgedCore.js examples from that repository and see if the same problem occurs?

Hi,
Thank you for the quick replay.
I tried the BridgedCore.js example with the HAP-NodeJS server and actually I've got the same issue.
I will report it to the HAP-NodeJS author.

https://github.com/KhaosT/HAP-NodeJS/issues/108


Filters on lists

This type of filters

(This screenshot is from https://github.com/zofe/rapyd-laravel)
The code to do this on rapyd
$filter->add('name', 'Name', 'text');

$filter->add('featured','Featured', 'select')
    ->options([null => 'Enabled', 1 => 'Enabled: Yes', 0 => 'Enabled: No']);

$filter->add('state','State', 'select')->options(
    Item::getStates()
);
$filter->add('created_at','Created', 'daterange')
    ->format('m/d/Y', 'en');

$filter->add('brand.name', 'Brand', 'select')
    ->options(
        Brands::getBrands()
    );

$filter->add('user.id', 'User ID', 'text')->clause('where')->operator('=');

What would be the best way to implement something like this on backpack?
Are there plans to do something similar?

This is a feature that's in development/planning
However if you add your own UI code into the template, you can utilise the "addClause()" method described here -> https://laravel-backpack.readme.io/docs/crud-full-api#usage-level-2-often
an example could be -> https://github.com/Laravel-Backpack/CRUD/issues/83

Hi @Alexgmin ,
There's no one-line way to do it right now. It's a know feature request and one of the 2 core features that are urgent (multi-language CRUDs, filters). I like how it's done in rapyd, thank you, we should take a closer look before we implement it ourselves and learn from it.
For now, you can "fake" the filter functionality by adding new buttons on top of the form (next to the Add button). You can do that by adding buttons that, instead of being actual buttons, will be dropdowns or inputs.
So something like this should work:

public function setup()
{
  // add a button whose HTML is in a view placed at resources\views\vendor\backpack\crud\buttons
  $this->crud->addButtonFromView('top', 'featured_filter', 'featured_filter', 'end');

  if (Input::get('featured_filter')) {
    $this->crud->addClause(Input::get('featured_filter'));
  }
}

resources/views/vendor/backpack/crud/buttons/featured_filter.blade.php:
<select name="featured_filter">
  <option value="featured">Featured</option>
  <option value="not_featured">Not Featured</option>
  <option value="">Whatever</option>
</select>

<script>
jQuery(document).ready(function($) {
		$("select[name=featured_filter]").change(function() {
                     window.location.href = "{{ url($crud->route) }}?featured_filter="+$(this).val();
                 });
	});
</script>

Please note I haven't tested the code above, it's more like pseudocode :-)

Yeah, that should work for now. Thanks, @tabacitu . Backpack is awesome, btw, we love it.

I think we could implement something very similar to how fields, buttons and columns work: filter types, each in their own blade file in /src/resources/views/filters/. That would help in terms of familiarity and extensibility.
$this->crud->addFilter([
  'name' => 'featured',
  'type' => 'dropdown',
  'values' => [
               'featured' => 'Featured',
               'not_featured' => 'Not featured',
               '' => 'Whatever',
              ],
], function($value) {
  if ($value != '') {
    $this->crud->addClause($value);
  }
});

The filters would come with some pre-built logic (probably) and you can pass a closure as an optional second parameter to overwrite it with your own.

What WOULD be very useful, and I hope it's ok if I hijack this thread for it, would be to make a list of all possible filter types. So that we know if this implementation is ok. //TODO

Also, I think we should allow some flexibility to where those filters show up. Just like you can add buttons in different stacks, we might create special stacks for filters (or create more stacks for both buttons and filters).
I think useful places where we could add filters would be:

Thoughts?

just my 2cents.. what about having a separate new row at the top after the title and before the actual table row?
something like this:

@mpixelz yep, that could be an option too. So 4 stacks should do:

header
top_right
center
left
right

@tabacitu I vaguely remember you saying you're working on this? is that still the case?

Yup. WIll be done by Nov 17th, the latest. Currently my thinking is to have these field types:

Currently my thinking is to first develop these most important filter types:

select
select2
date
daterange
formula

The general syntax would be:
$this->crud->addFilter($options, $values, $filter_logic);

I'll be releasing the select and select2 in about two weeks, and their syntax should be something like this:
$this->crud->addFilter([ // select from enum column values
          'name' => 'published',
          'type' => 'select',
          'label'=> 'Published'
        ],
        function() {
            return App\Models\Article::getPossibleEnumValues('published');
        }
        // , function($value) {} // optional filter logic overwrite; by default it makes sure that {name} == $value
        );

$this->crud->addFilter([ // select_from_array
          'name' => 'featured',
          'type' => 'select_from_array',
        ], [ // values
           'featured' => 'Featured',
           'not_featured' => 'Not featured',
           '' => 'Whatever',
          ]
        // , function($value) {} // optional filter logic overwrite; by default it makes sure that {name} == $value
        });

$this->crud->addFilter([ // select_from_array
          'name' => 'featured',
          'type' => 'select_from_array',
        ], function() {
            // get all Users and create an associative array with ['id' => 'name']
            return App\Models\User::all()->keyBy('id')->pluck('name');
        }
        // , function($value) {} // optional filter logic overwrite; by default it makes sure that {name} == $value
        });

This would eliminate the need for a bunch of filter types for different purposes. What we'll do instead is give a number of examples, to match most common uses:

enum
select_from_array
select_from_model
select_from_ajax

What do you guys think?

Not sure if this is simplifying it too much, but could we utilise model scopes? for the actual filtering? maybe just define a scope, then internally handle the rest?
what would the select from ajax do? would it not be better to just do that by default?
additionally I've found https://github.com/dangrossman/bootstrap-daterangepicker to be good plugin for date ranges, specifically the "last 30 days" etc type fields.
but apart from that all happy here :)

Yup, you could move the filtering logic entirely into scopes with something like this:
$this->crud->addFilter([ // select from enum column values
          'name' => 'published',
          'type' => 'select',
          'label'=> 'Published'
        ],
        function() {
            return App\Models\Article::getPossibleEnumValues('published');
        },
        function($value) {
            if ($value != '') {
              $this->crud->addClause($value); // adds the name of the variable as a scope
            }
        }
        );

Oooor... we could use the third parameter as either a closure or string. If you pass a closure, it will run the closure. If you pass a string, it will run a pre-defined operation. We could use these strings (similar to the PHP comparison operators):

"==" -  db_value == selected_value [this would be the default]
">" - db_value > selected_value
">="
"<"
"<="
"<>"
"!="
"like" -> db_value like %selected_value%
"scope" - add the value as a scope
anything else?

Not 100% sure this is achievable though.
Definitely agree to dangrossman's daterangepicker. It's awesome.
The select_from_ajax would load the select2 values with ajax. For when you have 1mil users and you want to filter the ones with the first_name==Owen. We can't do them all like this, because it would be too inconvenient to insert a filter then. In order to have an ajax filter you need to:

add the filter (similar syntax, but you also give out the route to the ajax results)
add a route (ex: /product/ajax-names)
create a method ( ex: ProductCrudController@ajaxNames)

Guys,
I've been working on filters and I'm really happy with the progress. The syntax is very similar to the above: very powerful and it's very easily customizable. The prototype is ready on a feature branch (only select and select2 right now) and I'm pretty sure you'll love it.
I am, however, struggling with one interface dilemma and I'd like a second opinion. To recap, there are 4 places ("stacks") where you can place filters: top, right, bottom, left. I expect the most used to be "top" and "right", because that's where it makes most sense.
Here's how they all look:

I like how "right" and "left" look. But I'm not very happy with "top" and "bottom". I've also tried it this way, it looks cleaner, but it seems they take up too much space, if the label and select are on separate rows:

I've also thought about having them in a drawer menu (hidden, click "Filters" and a drawer opens up from the right), but it's a two-click process instead of a one-click process and that might be annoying. Plus, it opens up the issue of letting the user know somehow that some filters are applied.
Any ideas/suggestions? Do you think it's ok to leave "top" like that?
Thanks a lot. Cheers!

I like AngelList's top filters for their jobs search (https://angel.co/jobs):

User always knows which filters are applied. Even with a lot of filters selected they don't take up too much space.
There is also an option to save filters. Most filters have option to include or exclude values.
Drop-downs for filters are optimized based on their values:

Just an idea since you asked :-)  Your design works too. Maybe for top/bottom the filters could be included in the same box as the table. Maybe below the top buttons.

@properius ... you rule, man. I can't thank you enough.
I really really like the AngelList filters, but I dismissed them at first. I thought it would make it far too difficult for developers to customize and make their own filters. But I played around for a few hours just to make sure and... I think I ended up with something excellent.
So the only thing that would make it very very difficult to implement in Backpack is the "tag" system - every filter gets added as a tag in that input. It would make it a nightmare to handle when building custom filters, which I imagine will happen a lot. Customization is a very important feature of Backpack. And it's also the one thing that makes the filtering a little bit confusing there: you activate the filter from one spot but then deactivate it from another spot.
BUT. I played around with different ways to show the "active filters" and I really think you'll like my solution. So without further ado, I present to you... (drums rolling): the bootstrap navbar.

I know, right?! It was literally in front of our eyes this whole time. I found it might be a perfect solution for our filters interface. I'm still testing its reliability, but right now I am very very happy with this solution and I wanted to show you some screenshots. Click to open them full-size for a closer-to-reality experience.

Here's what I think are the PROs and CONs of using the navbar vs using the filters above:

PROs
CONs

prettier
-

collapsed on mobile by default
-

eliminates the need for multiple stacks (top, left, bottom, right)
-

they fit nicely in the perfect spot for filters: right above the datatable
-

are both very visible AND out-of-the-way
-

active filters are easy to spot using the "active" state
-

allows for very simple filters, using Eloquent scopes (Trashed, Published, etc)
-

allows for very complex filters with no added space, because the actual filter will be inside a dropdown (think x > y OR z >= t )
-

will still look good with 20+ filters, on multiple rows
-

coding a custom dropdown (filter) should be very familiar to developers, since it's just a bootstrap navbar
coding a custom filter WILL have more complicated JS than before and will be pretty different from custom fields

| on the JS side, it will be kind of hacky to place values on <li> elements or <input type="hidden"> inside these elements

As you might notice, I am very very biased towards switching to this new system. If you see something against it (or an even better solution), please speak now. It will be very very difficult to change it after we launch it. Also, feedback please (of course).
And @properius , thanks again :-)
Cheers!

You didn't left us something to say.
This is just awesome....

I'm done implementing the most important filters and will be launching the feature soon. Any feedback on the filter docs? https://laravel-backpack.readme.io/v3.0/docs/filters#section-filter-types
Cheers!

Done, launched! Use it and abuse it :-)

Thanks for filters feature! What about date-range filters?


[2.x] Replace Webpatser UUID with Ramsey UUID

Laravel uses "ramsey/uuid": "^3.7", package. I think it would be better to use it too and not add extra dependency.

I was thinking the same, but haven't had time to look into what's different or why this one was chosen.

Regarding the UUID, Eloquent has a UUID record type when creating tables.
It can be used instead of a string.
For example:
$table->string('tenant_id', 36);

can be replaced by
$table->uuid('tenant_id');

And
$table->string('id', 36)->primary();

can be replaced by
$table->uuid('id', 36)->primary();

I believe it is a little more readable.

@robmachado Like I said in another thread, the ID doesn't have to be a uuid. Uuids are just what the package uses as a fallback (when no ID is explicitly set) by default.
I guess the docs should be more clear on the custom ID schemes support.

Very well my friend has now become much clearer to me. Again thank you so much for your great work. :+1:

@robmachado here is a PR #142 and detailed explanation from @stancl

Tks, i now see that :+1:


performance issues with the FW

Hi,
Observing significant degradation in performance moving from dev machine to production: for example, same 6 HTML pages, when rendered to PDF moved from 2 seconds on 4 core dev machine on win10 to 10 seconds on 8 core win 2019 production server.
Using Puppeteer sharp ver 2.0.4.
Any suggestions for improvements?
Much obliged, Yaki

No clue


[Bridge] How to remove a UIView via a bridge method?

I have a view controller with two views (Banner Ad and React View). I would like to be able to remove the banner ad view from within the react native code calling a bridged method of some sort.
Could someone steer me in the right direction on how to do this?

Hi @the4dpatrick - this is the type of question better suited for StackOverflow or IRC - if you don't have any luck there, feel free to open an issue.


Check if regex boundary is needed

Description of Problem:
Currently, we are adding a \b (boundary) to every regex for the RegexFeaturizer and RegexEntityExtractor. In https://github.com/RasaHQ/rasa/issues/7091 a user mentioned that this is not working for non-whitespace tokenizable language, such as Chinese.
The question is, do we actually need to add the boundary at all? (See slack thread for reference.)
Overview of the Solution:
Figure out why the boundary was added in the first place and check if it is still needed. If not, remove it from the code.

related to https://github.com/RasaHQ/rasa/issues/7421


fixed broken exit code settings during panic recovery

What type of PR is this?
/kind bug
What this PR does / why we need it:
Set the valid return code after recovering from a panic under the setup handlers so that the test suite is marked as failed instead of being wrongly marked as successful.
Which issue(s) this PR fixes:
Fixes #328
Special notes for your reviewer:
NA
Does this PR introduce a user-facing change?
NONE

Additional documentation e.g., Usage docs, etc.:
NONE

/retest

/cc @vladimirvivien

Thanks @harshanarayana for this simple but valuable contribution.
/lgtm


python3 errors on iteritems()

With recent changes landed in jaeger-python-client python3 is now almost supported for django_opentracing.
I only had to modify one line (and remove erroneous commas from the Readme settings.py example) to get it to work.
My environment is
GCE kubernetes engine or docker-compose
pip install django_opentracing jaeger-client
jaeger.version=Python-3.7.1
django_opentracing/_version.py
{
"full-revisionid": "21b48cd0998ffdc3f1284341beb2a9606fd8f30e",
"version": "0.1.18"
}
For docker-compose environment I add this snippet to settings.py
import django_opentracing
from jaeger_client import Config
import logging
log_level = logging.DEBUG
logging.getLogger('').handlers = []
logging.basicConfig(format='%(asctime)s %(message)s', level=log_level)

config = Config(
    config={ # usually read from some yaml config
        'sampler': {
            'type': 'const',
            'param': 1,
        },
        'logging': True,
        # docker compose containers see jaeger all-in-one as <parent_folder>_jaeger_1
        'local_agent': {'reporting_host': 'core_jaeger_1'},
    },
    service_name='web-app',
)

tracer = config.initialize_tracer()

# OpenTracing settings

# if not included, defaults to False
# has to come before OPENTRACING_TRACER setting because python...
OPENTRACING_TRACE_ALL = True

# defaults to []
# only valid if OPENTRACING_TRACE_ALL == True
OPENTRACING_TRACED_ATTRIBUTES = ['arg1', 'arg2',]

# Callable that returns an `opentracing.Tracer` implementation.
OPENTRACING_TRACER_CALLABLE = 'opentracing.Tracer'

# Parameters for the callable (Depending on the tracer implementation chosen)
OPENTRACING_TRACER_PARAMETERS = {
'example-parameter-host': 'collector',
}

OPENTRACING_TRACER = django_opentracing.DjangoTracer(tracer)`

I get the following error:
    web-app_1  |   File "/opt/conda/lib/python3.6/site-packages/django_opentracing/middleware.py",   line 36, in process_view     web-app_1  |     self._tracer._apply_tracing(request, view_func, traced_attributes)     web-app_1  |   File "/opt/conda/lib/python3.6/site-packages/django_opentracing/tracer.py", line 67, in _apply_tracing     web-app_1  |     for k,v in request.META.iteritems():     web-app_1  | AttributeError: 'dict' object has no attribute 'iteritems'
exec into the django (web_app_1) container.  Modify "/opt/conda/lib/python3.6/site-packages/django_opentracing/tracer.py", line 67  iteritems() -> items()`
Ctrl + C, docker-compose up to restart
Then I get
   web-app_1  |   File "/opt/conda/lib/python3.6/site-packages/django_opentracing/tracer.py", line 89, in _apply_tracing     web-app_1  |     if hasattr(request, attr):     web-app_1  | TypeError: hasattr(): attribute name must be string
This is due to following the Readme.md too closely.  The readme snippet for django settings.py has trailing commas for several items which causes the hasattr() errors.  Remove the commas and everything worked.
I'm guessing my config settings (maybe OPENTRACING_TRACE_ALL = True) caused the iteritems() error to be exposed.
I will submit a pr with the fix

Closing as #25 fixed this. Feel free to re-open if you think this is still an issue ;)

The fixes in #25 were merged into master but #38 was merged into the v1.0.0 branch. So one branch has Python 3 and Django 1.x support. While the v1.0.0 only supports Python 2 and Django 2.x. But since Django 2.x only works on Python 3, there's no branch that supports Django 2

Hey @crccheck
Recently support for Django 2 was added through #38 (although the name of the PR is wrong, as it should read 'Django 2' instead of 'Python 2').

to clarify, #38 was merged into branch v1.0.0, which doesn't support Python 3, a prerequisite for Django 2. So while Django 2 version support was added, it's impossible to run the code because that branch only works on Python 2.

Hey @crccheck
v1.0.0 does support Python 3 - I've also released a small update (django_opentracing==0.1.20) that removes the Django2 limitation. Feel free to try it out ;)
(Will also be merging and releasing the 1.0.0 version, which will introduce breaking changes and support for OT 2.0.0)


python312Packages.jh2: init at 5.0.4

HTTP/2 State-Machine based protocol implementation
https://github.com/jawah/h2

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 359996

x86_64-linux

:white_check_mark: 4 packages built:

python311Packages.jh2
python311Packages.jh2.dist
python312Packages.jh2
python312Packages.jh2.dist


Create Code for All lightning talk

This talk should be a 5-7 minute long pre-recorded video. Our submission is in #53.

I suggest we record this in Streamyard. I think we can mostly reuse the presentation from Wikimania but should probably coordinate a bit better who says what and present ourselves a bit in the beginning.

Considering the time limit, what about something like the following?

What is Wikidata
Get data from Wikidata (civic tech examples WDQS+short links)
Govdirectory (what/how)
Learn more (links Wikidata/Govdirectory)

The talk has been recorded and submitted. The presentation used is available at https://bit.ly/wikidatacivictech


WIP #2496 Application Process. Update to use new Stages

What's included?
Closes #2496
Who should test?
✅ Product owner
✅ Developers
How to test?
Check application process works as expected for exercises with v1 Processing and v2 Processing (v2 introduces new Stages)
Risk - how likely is this to impact other areas?
🟠 Medium risk - this does change code that is shared with other areas
PREVIEW:DEVELOP
can be OFF, DEVELOP or STAGING

We might need to update APPLICATION_STEPS in src/helpers/exerciseHelper.js.

Good spot.  👍
Sorted.


kai2 tsuan1-an3 siat4-ting7

Coverage decreased (-42.4%) to 52.043% when pulling ac22f4f9d0174446eaeeb3934eb96de0aa6c728b on siu1_tsuan1-an3 into 0a3ec4681b501e18a2e621c697be4a54c0d26409 on master.

Coverage decreased (-42.4%) to 52.043% when pulling ac22f4f9d0174446eaeeb3934eb96de0aa6c728b on siu1_tsuan1-an3 into 0a3ec4681b501e18a2e621c697be4a54c0d26409 on master.

Coverage remained the same at 94.471% when pulling ac22f4f9d0174446eaeeb3934eb96de0aa6c728b on siu1_tsuan1-an3 into 0a3ec4681b501e18a2e621c697be4a54c0d26409 on master.

Coverage remained the same at 94.471% when pulling ac22f4f9d0174446eaeeb3934eb96de0aa6c728b on siu1_tsuan1-an3 into 0a3ec4681b501e18a2e621c697be4a54c0d26409 on master.

Coverage decreased (-0.2%) to 94.233% when pulling b22caf01ede1603affd16c7892085a0c7c5cbbd2 on siu1_tsuan1-an3 into 0a3ec4681b501e18a2e621c697be4a54c0d26409 on master.

Coverage increased (+0.4%) to 94.86% when pulling fddf06a0ab775c479bec4102a06161de18e552c2 on siu1_tsuan1-an3 into 0a3ec4681b501e18a2e621c697be4a54c0d26409 on master.


Accelerate CVE DB update: parallelize fetching last modification timestamps

Proposed solution for issue #661.
On my machine/internet connection the speedup for DB update was ~10 secs. It dropped from 11 secs to 1 sec.

There is still one integration test failing: NvdCveUpdaterIntegrationTest.testUpdatesNeeded:56 » NullPointer
Sadly running the integration tests requires some tweaks on my machine. I will hopefully fix it this evening. Have to stop for now.

I fixed the failing integration test. And I finally figured out how to properly run the integration tests locally ... :-)


Non-main GPUs not updating rendering.

I have a multiple GPU setting with 3 GPUs.
Only the monitors attached to the first GPU update what is rendering (the mouse excepted).   Switching ttys and back corrects the rending just once.  (If I open a window in one of the non-main GPU monitors nothing happens; switching ttys and back I see the new window but no new changes are applied until I switch ttys again.)
Regardless of the version of Sway:
commit 4e89a2 is the last commit that works.
commit eb44d1 does not work (this commit reverts 1280b4)
commit 1280b4 also does not work but eb44d1 reverts it.
Using script to catch the terminal output I get:
Script started on 2018-10-23 20:03:49+00:00
[jonathan@j-dtop-arch ~]$ sway
i3status: trying to auto-detect output_format setting
i3status: auto-detected "i3bar"
2018-10-23 20:03:52 - ^[[1;31m[backend/drm/legacy.c:21] DVI-D-3: Failed to page flip: No such file or directory^[[0m
2018-10-23 20:03:52 - ^[[1;31m[backend/drm/legacy.c:21] DVI-I-1: Failed to page flip: No such file or directory^[[0m
Exiting due to signal.
[jonathan@j-dtop-arch ~]$ exit
exit

Script done on 2018-10-23 20:04:03+00:00

Duplicate of 1328


Using kebab-case for security scope is not easily machine readable

Problem description
In the Security Implementation it suggests using kebab-case for the scope.
The provided example explore-content-modules-users-read is not easily machine readable.
Expected action
Ideally, a developer would be able to use the .split('-') operation on the scope and get three strings in return.  One for each of the three elements.  <API_name>--.  Since the elements are also kebab-case, the split command would return 5 strings from the split operation.  And then would need to have logic that would know what the expected API name and resource name are.
If there was one api named explore and another named explore-modules, the code would need to be aware of this and couldn't use a shared library for parsing the the permissions.
Using snake case or camel case for the three elements and kebab-case for combining the elements would resolve this.
Additional context
To date, all of the APIs have a single name, so identifying the API name or updating the mechanism the the API name shouldn't impact any current APIs.
It's also unclear if a multi word api name should be kebab-case or another format.  Section 4.1 seems to hint that it should be kebab-case.

URI with lowercase and hyphens. URIs must be "human readable" to facilitate identification of the offered resources. Lowercase words and hyphenation (kebab-case) help achieve this best practice. For example: /customer-segments

These may not be items that there is agreement to change, but at the very least it would be appreciated to make the documentation explicit on these topics.

@RandyLevensalor For the device location API, @jlurien proposed to use format api_name:[resource:]action for scope in security scheme (use of : as separator). Is it something working for you and that we can propose for all APIs?
There is also an open issue on same topic in Number verify (https://github.com/camaraproject/NumberVerification/issues/49)

We are preparing a proposal for common guidelines around scopes naming and security/securitySchemes specification. We'll open a new issue for this.

New issue created: https://github.com/camaraproject/Commonalities/issues/53


Translate state to "pending" for reindexing known only to config serv…

…er at the time
@freva

@ldalves FYI.


Prevent "undefined" as the only error message in your log when something is wrong with your css

Prevent "undefined" as the only error message in your log when something is wrong with your css

Thank you!


Import Wallet - Extended Keys

Task Description
The import wallet functionality isn't working properly with extended keys(xpub/xpriv). Seems to be working perfectly with mnemonic.
Also, when imported using seed and xpriv, it shouldn't just be a watch-only wallet.
Sub-text for the Import Wallet scanner to be improved.

Verified this issue on keeper app v 1.1.11(297)


Column with header missmatch exception

Hi, is there any way to somehow make the code not break if the column missmatch with header exception is thrown after we invoke reader.MoveNext()? Or to set some parameters when reader is initialized  to maybe ignore the columns that have null values, something like that.
Also if we ignore the exception and continue, iterator doesn't go to next row and never exits the loop with reader.MoveNext(), it just keeps repeating the same row over and over again, only incrementing the ID value.

Currently Sep does not support if rows do not match header. Perhaps you can give details on the data you have and how you expect this to be working (which columns match which header column and so on) if it was supported (no promises). And yes, when exception occurs you cannot simply ignore it.

Any updates on this question?

I'm working on a new release with a rewrite of some internals which should then make it possible to disable the ColCount check. No promises, but will probably take a few weeks to finish.

It seems that error is thrown when the column has no value(empty) entered inside it, because i get this exception: "nietras.SeparatedValues.SepThrow.InvalidDataException_ColCountMismatch(Int32 colCount, Int32 rowIndex, String row, Int32 expectedColCount, String firstRow)" and message "Found 24 column(s) on row 70", and there should have been 31 columns.

@momcina08 I have published https://www.nuget.org/packages/Sep/0.2.0-preview.1 which is a preview with a new option DisableColCountCheck, set this to true and you should no longer get this exception. You then have to handle this case manually by checking col counts yourself. This also makes Sep about 25% faster at the low level parsing. Let me know how it works.

Are those colums which are "missing" now going to have empty or null values?

No, they just can't be accessed. There is no way to know which column is
missing or not.
On Tue, Jul 18, 2023, 14:54 momcina08 @.***> wrote:

Are those colums which are "missing" now going to have empty or null
values?
—
Reply to this email directly, view it on GitHub
https://github.com/nietras/Sep/issues/10#issuecomment-1640160165, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACSMN36A6K5P5UBAAC4S7FDXQ2BQLANCNFSM6AAAAAAZFIPV54
.
You are receiving this because you commented.Message ID:
@.***>

Please upgrade to 0.2.0-preview.3 https://www.nuget.org/packages/Sep/0.2.0-preview.3 as there was a left-over Debugger.Break in preview.1. This should be the last preview before proper 0.2.0 that should follow without code changes.


Missing tasks in the repo

There are only 4 formal language tasks in your repo: parity, modular_arithmetic, even pairs, cycle_navigation, i.e. only regular languages.
Where are the others, context sensitive, deterministic context free languages?
They seem to be missing from the repo.

Hello, we tried to solve the issue.
This is what we did:
Added two new files for context-sensitive and deterministic context-free language tasks. Updated generate.py to include these new tasks in the available functions.
You can review changes in this commit: https://github.com/mark-addams001881/NX-AI-xlstm-65/commit/4cbab2acca7359850d18a7e6945035c7f4629a43.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

Latta AI seeks to solve problems in open source projects as part of its mission to support developers around the world. Learn more about our mission at https://latta.ai/ourmission . If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.


I would like to add a flutter covid tracker

Is your feature request related to a problem? Please describe.
no
Describe the solution you'd like
Flutter app with an external api
Describe alternatives you've considered
Additional context

I would like to contribute


i18n(zh-cn): Update testing.mdx

Description (required)
Update testing.mdx

Related issues & labels (optional)

#7859

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

zh-cn
guides/testing.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


pre-compile hardcoded JSON schemas

Use standalone validation code for hardcoded JSON Schemas to speed up startup time (especially for CLI).

CLI test listing all formats is very slow, should get faster by solving this issue.

Using pre-compiled code seems to be not faster, at least if only used for validation of configuration. Bottleneck is somewhere loading and application of Ajv, so the compiled code should be cached as well.


add Blender

Blender is the free and open-source 3D creation suite. It supports the entirety of the 3D pipeline—modelling, rigging, animation, simulation, rendering, compositing and motion tracking, video editing and 2D animation pipeline.
https://www.blender.org/
Microsoft Reviewers: Open in CodeFlow

It seems that there is some time limit when then package needs to be downloaded during validation.
Error occurred during installer copy from https://download.blender.org/release/Blender2.82/blender-2.82a-windows64.msi.
Operation could not be completed within the specified time.


BUG: Properties('uniform-sampling') is deprecated

This property was dropped sometime recently, this patch removes that
property.
Related post:
https://github.com/qiime2/q2-feature-table/issues/108#issuecomment-316460800

Thanks! I didn't like that property too...