Request for new release

I've been struggling with a problem that appears to have been fixed in #47 as I'm running v1.0.0 of the wordpress-rule-exclusions-plugin
When I update to the HEAD of master, it fixes the problem.
I'm running libapache2-mod-security2 2.9.3-1ubuntu0.1
I have CRS ver.4.6.0-dev
Editing the footer of a wordpress theme triggers HTTP header is restricted by policy (/x-http-method-override/) followed by a 5 more warnings

Matched Data: XSS data found within ARGS:content: \\x0a
\\x0a<div class=\\x22wp-block-group alignwide\\x22 style=\\x22padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--pres...
NoScript XSS InjectionChecker: HTML Injection
Node-Validator Deny List Keywords
Inbound Anomaly Score Exceeded (Total Score: 20)
Anomaly Scores: (Inbound Scores: blocking=20, detection=20, per_pl=20-0-0-0, threshold=5) - (Outbound Scores: blocking=0, detection=0, per_pl=0-0-0-0, threshold=4) - (SQLI=0, XSS=15, RFI=0, LFI=0, RCE=0, PHPI=0, HTTP=0, SESS=0, COMBINED_SCORE=20)

Would it be possible to cut a new release with these fixes (just so others don't struggle trying to figure out why wordpress won't work with modsecurity)?

@gene1wood I'll try to get a new release out in a few days #59, there have been a fair few amount of fixes since the release of this plugin.
For the false positive you reported, can you share the full log line? I can't fully see what's causing the false positive.

No problem. I can reproduce the problem by switching back to v1.0.0 of the wordpress-rule-exclusion-plugin
The apache2 error log shows this
[Thu Aug 29 15:25:32.712154 2024] [:error] [pid 504130] [client <IP_ADDRESS>:54678] [client <IP_ADDRESS>] ModSecurity: Warning. String match within "/content-encoding/ /proxy/ /lock-token/ /content-range/ /if/ /x-http-method-override/ /x-http-method/ /x-method-override/" at TX:header_name_920450_x-http-method-override. [file "/etc/modsecurity/crs/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "1193"] [id "920450"] [msg "HTTP header is restricted by policy (/x-http-method-override/)"] [data "Restricted header detected: /x-http-method-override/"] [severity "CRITICAL"] [ver "OWASP_CRS/4.6.0-dev"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "paranoia-level/1"] [tag "OWASP_CRS"] [tag "capec/1000/210/272"] [tag "PCI/12.1"] [hostname "wordpress.example.com"] [uri "/wp-json/wp/v2/template-parts/twentytwentyfour//footer"] [unique_id "ZtCS7HPxmzlwgfG1dzaoSQAAAAY"], referer: https://wordpress.example.com/wp-admin/site-editor.php?postId=twentytwentyfour%2F%2Ffooter&postType=wp_template_part&focusMode=true&canvas=edit
[Thu Aug 29 15:25:32.716798 2024] [:error] [pid 504130] [client <IP_ADDRESS>:54678] [client <IP_ADDRESS>] ModSecurity: Warning.  Pattern match "(?i)<[^0-9<>A-Z_a-z]*(?:[^\\\\s\\\\x0b\\"'<>]*:)?[^0-9<>A-Z_a-z]*[^0-9A-Z_a-z]*?(?:s[^0-9A-Z_a-z]*?(?:c[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?p[^0-9A-Z_a-z]*?t|t[^0-9A-Z_a-z]*?y[^0-9A-Z_a-z]*?l[^0-9A-Z_a-z]*?e|v[^0-9A-Z_a-z]*?g|e[^0-9A-Z_a-z]*?t[^0- ..." at ARGS:content. [file "/etc/modsecurity/crs/rules/REQUEST-941-APPLICATION-ATTACK-XSS.conf"] [line "219"] [id "941160"] [msg "NoScript XSS InjectionChecker: HTML Injection"] [data "Matched Data: \\x22align\\x22:\\x22wide\\x22,\\x22layout\\x22:{\\x22type\\x22:\\x22constrained\\x22}} -->\\x0a
\\x0a
\\x0a
\\x0a<div class=\\x22wp-block-group alignwide\\x22 style=\\x22padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--..."] [severity "CRITICAL"] [ver "OWASP_CRS/4.6.0-dev"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-xss"] [tag "xss-perf-disable"] [tag "paranoia-level/1"] [tag "OWASP_CRS"] [tag "capec/1000/152/242"] [hostname "wordpress.example.com"] [uri "/wp-json/wp/v2/template-parts/twentytwentyfour/footer"] [unique_id "ZtCS7HPxmzlwgfG1dzaoSQAAAAY"], referer: https://wordpress.example.com/wp-admin/site-editor.php?postId=twentytwentyfour%2F%2Ffooter&postType=wp_template_part&focusMode=true&canvas=edit
[Thu Aug 29 15:25:32.735627 2024] [:error] [pid 504130] [client <IP_ADDRESS>:54678] [client <IP_ADDRESS>] ModSecurity: Access denied with code 403 (phase 2). Operator GE matched 5 at TX:blocking_inbound_anomaly_score. [file "/etc/modsecurity/crs/rules/REQUEST-949-BLOCKING-EVALUATION.conf"] [line "233"] [id "949110"] [msg "Inbound Anomaly Score Exceeded (Total Score: 25)"] [ver "OWASP_CRS/4.6.0-dev"] [tag "anomaly-evaluation"] [tag "OWASP_CRS"] [hostname "wordpress.example.com"] [uri "/wp-json/wp/v2/template-parts/twentytwentyfour/footer"] [unique_id "ZtCS7HPxmzlwgfG1dzaoSQAAAAY"], referer: https://wordpress.example.com/wp-admin/site-editor.php?postId=twentytwentyfour%2F%2Ffooter&postType=wp_template_part&focusMode=true&canvas=edit
[Thu Aug 29 15:25:32.736104 2024] [:error] [pid 504130] [client <IP_ADDRESS>:54678] [client <IP_ADDRESS>] ModSecurity: Warning. Unconditional match in SecAction. [file "/etc/modsecurity/crs/rules/RESPONSE-980-CORRELATION.conf"] [line "98"] [id "980170"] [msg "Anomaly Scores: (Inbound Scores: blocking=25, detection=25, per_pl=25-0-0-0, threshold=5) - (Outbound Scores: blocking=0, detection=0, per_pl=0-0-0-0, threshold=4) - (SQLI=0, XSS=15, RFI=0, LFI=0, RCE=5, PHPI=0, HTTP=0, SESS=0, COMBINED_SCORE=25)"] [ver "OWASP_CRS/4.6.0-dev"] [tag "reporting"] [tag "OWASP_CRS"] [hostname "wordpress.example.com"] [uri "/wp-json/wp/v2/template-parts/twentytwentyfour/footer"] [unique_id "ZtCS7HPxmzlwgfG1dzaoSQAAAAY"], referer: https://wordpress.example.com/wp-admin/site-editor.php?postId=twentytwentyfour%2F%2Ffooter&postType=wp_template_part&focusMode=true&canvas=edit

and the modsecurity audit log shows this
--9e4e976f-A--
[29/Aug/2024:15:25:32 +0000] ZtCS7HPxmzlwgfG1dzaoSQAAAAY <IP_ADDRESS> 54678 <IP_ADDRESS> 443
--9e4e976f-B--
POST /wp-json/wp/v2/template-parts/twentytwentyfour//footer?_locale=user HTTP/1.1
Host: wordpress.example.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0
Accept: application/json, */*;q=0.1
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br, zstd
Referer: https://wordpress.example.com/wp-admin/site-editor.php?postId=twentytwentyfour%2F%2Ffooter&postType=wp_template_part&focusMode=true&canvas=edit
X-WP-Nonce: f62a19d55f
X-HTTP-Method-Override: PUT
Content-Type: application/json
Content-Length: 1857
Origin: https://wordpress.example.com
Connection: keep-alive
Cookie: __gads=ID=08e528c41accecee:T=1712177113:RT=1724622035:S=ALNI_MZSXVWBAv-yskd55n4joZXRqYGu5A; __gpi=UID=00_REDACTED_uA; __eoi=ID=26_REDACTED_Qi; __utma=31034925.2110713176.1716236684.1716236684.1716236684.1; __utmz=31034925.1716236684.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); wp-settings-time-1=1723845686; wp-settings-1=libraryContent%3Dbrowse; __utmc=31034925; wordpress_test_cookie=WP%20Cookie%20check; wordpress_sec_afe1883185e32a556ef5a2ddb58fb1f1=ge_REDACTED_b3c; wordpress_logged_in_afe1883185e32a556ef5a2ddb58fb1f1=ge_REDACTED_f6
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Priority: u=0

--9e4e976f-C--
{"id":"twentytwentyfour//footer","content":"\n
\n
\n
\n\n\n\n
\n
\n
Schedule a Ride
\n
\n\n\n\n
\n
\n
Text or Call (707<EMAIL_ADDRESS>
\n
\n
\n
\n
\n
\n"}
--9e4e976f-F--
HTTP/1.1 403 Forbidden
Content-Length: 298
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

--9e4e976f-E--
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<title>403 Forbidden</title>

Forbidden

You don't have permission to access this resource.

<address>Apache/2.4.41 (Ubuntu) Server at wordpress.example.com Port 443</address>

--9e4e976f-H--
Message: Warning. String match within "/content-encoding/ /proxy/ /lock-token/ /content-range/ /if/ /x-http-method-override/ /x-http-method/ /x-method-override/" at TX:header_name_920450_x-http-method-override. [file "/etc/modsecurity/crs/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "1193"] [id "920450"] [msg "HTTP header is restricted by policy (/x-http-method-override/)"] [data "Restricted header detected: /x-http-method-override/"] [severity "CRITICAL"] [ver "OWASP_CRS/4.6.0-dev"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "paranoia-level/1"] [tag "OWASP_CRS"] [tag "capec/1000/210/272"] [tag "PCI/12.1"]
Message: Warning. Pattern match "\\$(?:\\((?:.*|\\(.*\\))\\)|\\{.*\\}|\\[.*\\])|[<>]\\(.*\\)|/[0-9A-Z_a-z]*\\[!?.+\\]" at ARGS:content. [file "/etc/modsecurity/crs/rules/REQUEST-932-APPLICATION-ATTACK-RCE.conf"] [line "312"] [id "932130"] [msg "Remote Command Execution: Unix Shell Expression Found"] [data "Matched Data: >(707) found within ARGS:content:

 \x0a
\x0a<div class=\x22wp-block-group alignwide\x22 style=\x22padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--pres..."] [severity "CRITICAL"] [ver "OWASP_CRS/4.6.0-dev"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-xss"] [tag "xss-perf-disable"] [tag "paranoia-level/1"] [tag "OWASP_CRS"] [tag "capec/1000/152/242"]
Message: Warning. Pattern match "(?i)<[^0-9<>A-Z_a-z]*(?:[^\\s\\x0b\"'<>]*:)?[^0-9<>A-Z_a-z]*[^0-9A-Z_a-z]*?(?:s[^0-9A-Z_a-z]*?(?:c[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?p[^0-9A-Z_a-z]*?t|t[^0-9A-Z_a-z]*?y[^0-9A-Z_a-z]*?l[^0-9A-Z_a-z]*?e|v[^0-9A-Z_a-z]*?g|e[^0-9A-Z_a-z]*?t[^0- ..." at ARGS:content. [file "/etc/modsecurity/crs/rules/REQUEST-941-APPLICATION-ATTACK-XSS.conf"] [line "219"] [id "941160"] [msg "NoScript XSS InjectionChecker: HTML Injection"] [data "Matched Data: \x22align\x22:\x22wide\x22,\x22layout\x22:{\x22type\x22:\x22constrained\x22}} -->\x0a
\x0a
\x0a
\x0a<div class=\x22wp-block-group alignwide\x22 style=\x22padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--..."] [severity "CRITICAL"] [ver "OWASP_CRS/4.6.0-dev"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-xss"] [tag "xss-perf-disable"] [tag "paranoia-level/1"] [tag "OWASP_CRS"] [tag "capec/1000/152/242"]
Message: Access denied with code 403 (phase 2). Operator GE matched 5 at TX:blocking_inbound_anomaly_score. [file "/etc/modsecurity/crs/rules/REQUEST-949-BLOCKING-EVALUATION.conf"] [line "233"] [id "949110"] [msg "Inbound Anomaly Score Exceeded (Total Score: 25)"] [ver "OWASP_CRS/4.6.0-dev"] [tag "anomaly-evaluation"] [tag "OWASP_CRS"]
Message: Warning. Unconditional match in SecAction. [file "/etc/modsecurity/crs/rules/RESPONSE-980-CORRELATION.conf"] [line "98"] [id "980170"] [msg "Anomaly Scores: (Inbound Scores: blocking=25, detection=25, per_pl=25-0-0-0, threshold=5) - (Outbound Scores: blocking=0, detection=0, per_pl=0-0-0-0, threshold=4) - (SQLI=0, XSS=15, RFI=0, LFI=0, RCE=5, PHPI=0, HTTP=0, SESS=0, COMBINED_SCORE=25)"] [ver "OWASP_CRS/4.6.0-dev"] [tag "reporting"] [tag "OWASP_CRS"]
Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client <IP_ADDRESS>] ModSecurity: Warning. String match within "/content-encoding/ /proxy/ /lock-token/ /content-range/ /if/ /x-http-method-override/ /x-http-method/ /x-method-override/" at TX:header_name_920450_x-http-method-override. [file "/etc/modsecurity/crs/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "1193"] [id "920450"] [msg "HTTP header is restricted by policy (/x-http-method-override/)"] [data "Restricted header detected: /x-http-method-override/"] [severity "CRITICAL"] [ver "OWASP_CRS/4.6.0-dev"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "paranoia-level/1"] [tag "OWASP_CRS"] [tag "capec/1000/210/272"] [tag "PCI/12.1"] [hostname "wordpress.example.com"] [uri "/wp-json/wp/v2/template-parts/twentytwentyfour//footer"] [unique_id "ZtCS7HPxmzlwgfG1dzaoSQAAAAY"]
Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client <IP_ADDRESS>] ModSecurity: Warning.  Pattern match "(?i)<[^0-9<>A-Z_a-z]*(?:[^\\\\\\\\s\\\\\\\\x0b\\\\"'<>]*:)?[^0-9<>A-Z_a-z]*[^0-9A-Z_a-z]*?(?:s[^0-9A-Z_a-z]*?(?:c[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?p[^0-9A-Z_a-z]*?t|t[^0-9A-Z_a-z]*?y[^0-9A-Z_a-z]*?l[^0-9A-Z_a-z]*?e|v[^0-9A-Z_a-z]*?g|e[^0-9A-Z_a-z]*?t[^0- ..." at ARGS:content. [file "/etc/modsecurity/crs/rules/REQUEST-941-APPLICATION-ATTACK-XSS.conf"] [line "219"] [id "941160"] [msg "NoScript XSS InjectionChecker: HTML Injection"] [data "Matched Data: \\\\x22align\\\\x22:\\\\x22wide\\\\x22,\\\\x22layout\\\\x22:{\\\\x22type\\\\x22:\\\\x22constrained\\\\x22}} -->\\\\x0a
\\\\x0a
\\\\x0a
\\\\x0a<div class=\\\\x22wp-block-group alignwide\\\\x22 style=\\\\x22padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--..."] [severity "CRITICAL"] [ver "OWASP_CRS/4.6.0-dev"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-xss"] [tag "xss-perf-disable"] [tag "paranoia-level/1"] [tag "OWASP_CRS"] [tag "capec/1000/152/242"] [hostname "wordpress.example.com"] [uri "/wp-json/wp/v2/template-parts/twentytwentyfour/footer"] [unique_id "ZtCS7HPxmzlwgfG1dzaoSQAAAAY"]
Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client <IP_ADDRESS>] ModSecurity: Access denied with code 403 (phase 2). Operator GE matched 5 at TX:blocking_inbound_anomaly_score. [file "/etc/modsecurity/crs/rules/REQUEST-949-BLOCKING-EVALUATION.conf"] [line "233"] [id "949110"] [msg "Inbound Anomaly Score Exceeded (Total Score: 25)"] [ver "OWASP_CRS/4.6.0-dev"] [tag "anomaly-evaluation"] [tag "OWASP_CRS"] [hostname "wordpress.example.com"] [uri "/wp-json/wp/v2/template-parts/twentytwentyfour/footer"] [unique_id "ZtCS7HPxmzlwgfG1dzaoSQAAAAY"]
Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client <IP_ADDRESS>] ModSecurity: Warning. Unconditional match in SecAction. [file "/etc/modsecurity/crs/rules/RESPONSE-980-CORRELATION.conf"] [line "98"] [id "980170"] [msg "Anomaly Scores: (Inbound Scores: blocking=25, detection=25, per_pl=25-0-0-0, threshold=5) - (Outbound Scores: blocking=0, detection=0, per_pl=0-0-0-0, threshold=4) - (SQLI=0, XSS=15, RFI=0, LFI=0, RCE=5, PHPI=0, HTTP=0, SESS=0, COMBINED_SCORE=25)"] [ver "OWASP_CRS/4.6.0-dev"] [tag "reporting"] [tag "OWASP_CRS"] [hostname "wordpress.example.com"] [uri "/wp-json/wp/v2/template-parts/twentytwentyfour/footer"] [unique_id "ZtCS7HPxmzlwgfG1dzaoSQAAAAY"]
Action: Intercepted (phase 2)
Stopwatch:<PHONE_NUMBER>710973 30895 (- - -)
Stopwatch2:<PHONE_NUMBER>710973 30895; combined=23971, p1=2058, p2=21625, p3=0, p4=0, p5=287, sr=0, sw=1, l=0, gc=0
Response-Body-Transformed: Dechunked
Producer: ModSecurity for Apache/2.9.3 (http://www.modsecurity.org/); OWASP_CRS/4.6.0-dev.
Server: Apache/2.4.41 (Ubuntu)
Engine-Mode: "ENABLED"

--9e4e976f-Z--

@gene1wood

No problem. I can reproduce the problem by switching back to v1.0.0 of the wordpress-rule-exclusion-plugin

aah so this is already fixed, sorry I misunderstood you. Thank you for the logs anyways.

@gene1wood A new version of this plugin has been released: https://github.com/coreruleset/wordpress-rule-exclusions-plugin/releases/tag/v1.0.1


Android build failed, Failed to apply plugin 'kotlin-android'.

1: Task failed with an exception.

Where:
Build file<EMAIL_ADDRESS>line: 18

What went wrong:
A problem occurred evaluating project ':stripe_stripe-react-native'.

Failed to apply plugin 'kotlin-android'.
The current Gradle version 6.8 is not compatible with the Kotlin Gradle plugin. Please use Gradle 6.8.3 or newer, or the previous version of the Kotlin plugin.

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

how to solve this error?

Hi! Please fill out all of the information we ask for in the issue template, that way we can help you effectively
Some things I would check:

Check that the version of Stripe React Native is compatible with your version of React Native (as of v0.8.0, you must use RN 0.64 or above)
Check to see if you have the correct version of Gradle installed for that version of React Native

where is the template

It's pre-filled in the Github issue content when you create an issue

Hi! Please fill out all of the information we ask for in the issue template, that way we can help you effectively
Some things I would check:

Check that the version of Stripe React Native is compatible with your version of React Native (as of v0.8.0, you must use RN 0.64 or above)
Check to see if you have the correct version of Gradle installed for that version of React Native

which version of stripe react native should I use, my react native version is 0.64.2


Added validation for default host type in cluster creation

Changes:

Instead of the Default cmp host type value being assigned since it is a static value, assign the the next available host type in the list
DEFAULT_CMP_HOST_TYPE and DEFAULT_CMP_ARM_HOST_TYPE in settings.py
EbsComputeLo to m7a.xlarge
EbsComputeXLoArm to c7g.large
Added fallback logic for selecting next available host type
Added validation to cluster creation that will display an error if a user attempts to create a cluster with an unblessed hsot type (ie. Blessed Status = DECOMMISSIONING and/or Retired = True)

select first available host type

select none if not available

May you add screenshots for these scenarios:

DEFAULT_CMP_HOST_TYPE and DEFAULT_CMP_ARM_HOST_TYPE in settings.py
EbsComputeLo to m7a.xlarge
EbsComputeXLoArm to c7g.large
Can you add these host types to your local DB to ensure they are populating correctly.

Added fallback logic for selecting next available host type
May you retire the above hosts types to test that the next smallest available host type is selected

Using DEFAULT_CMP_HOST_TYPE


Exclude some reserved-name arguments from the task-arguments JSON Schema

Exclude some reserved-name arguments from the JSON Schema, before building the UI component:

input_paths
output_path
metadata
component

For the moment we can hard-code this list in a fractal-web env variable, but eventually we may get it from fractal-server (not yet implemented).

Note: "component" is not always present, while the other three properties are always there.

Ref https://github.com/fractal-analytics-platform/fractal-web/pull/151/commits/46c3897a86efa759bebea620f82d490e5a3f5e64

Closing.
Note
These argument names are currently hard-coded in fractal-web repo. We should later move to a more robust solution: at least an environment variable, or eventually a custom fractal-server endpoint exposing some configuration options (that could also be part of alive, in principle).


add accession_id in the hueristics

Many of our tables are now using accession_id or accession_number for unique ids.. We should add these terms to the heuristics and they should have higher priority than id.

@hongsudt Is this related to row name?

Yes. We might have to add some more heuristics to the row-name.
On Fri, Oct 28, 2016 at 11:39 AM, Aref Shafaei<EMAIL_ADDRESS>wrote:

@hongsudt https://github.com/hongsudt Is this related to row name?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/informatics-isi-edu/ermrestjs/issues/256#issuecomment-256996681,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZUDHeLD5UzoyCE0o8ZSreJv7cV-Ijoks5q4kF4gaJpZM4KjFNF
.[image: Web Bug from
https://github.com/notifications/beacon/AAZUDG5KXqluVHRH_42Wbwb7_DZ1oZvZks5q4kF4gaJpZM4KjFNF.gif]
{"api_version":"1.0","publisher":{"api_key":"
05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":
{"external_key":"github/informatics-isi-edu/ermrestjs"
,"title":"informatics-isi-edu/ermrestjs","subtitle":"GitHub
repository","main_image_url":"https://cloud.githubusercontent.com/assets/
143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","
avatar_image_url":"https://cloud.githubusercontent.com/
assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png
","action":{"name":"Open in GitHub","url":"https://github.
com/informatics-isi-edu/ermrestjs"}},"updates":{"
snippets":[{"icon":"PERSON","message":"@RFSH in #256: @hongsudt Is this
related to row name?"}],"action":{"name":"View Issue","url":"
https://github.com/informatics-isi-edu/ermrestjs/issues/256#
issuecomment-256996681"}}}

It is now working as expected on gpcr-dev. So I am closing this issue.


Facing issue in SMTP integration

I want to integrate email services into my OptScale server. To do this, I followed the Configration change  below, but I am facing some issues:
service_credentials:
aws:
access_key_id: accesskeyid
secret_access_key: secretaccesskey
azure:
client_id: clientid
tenant: tenant
secret: secret
subscription_id: subscriptionid
alibaba:
access_key_id: accesskeyid
secret_access_key: secretaccesskey
gcp:
credentials:
type: service_account
project_id: yourprojectid
private_key_id: yourprivatekeyid
private_key: |
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
client_email<EMAIL_ADDRESS>client_id: "111111111"
auth_uri: https://accounts.google.com/o/oauth2/auth
token_uri: https://oauth2.googleapis.com/token
auth_provider_x509_cert_url: https://www.googleapis.com/oauth2/v1/certs
client_x509_cert_url: >-
https://www.googleapis.com/robot/v1/metadata/x509/optscale-service-
credentials%40yourproject.iam.gserviceaccount.com
pricing_data:
  dataset_name: pricing_dataset
  table_name: cloud_pricing_export
project_id: yourprojectid

SMTP server and credentials used for sending emails
smtp:
server: email.com  # SMTP server address
email<EMAIL_ADDRESS>             # Sender email address
login: addhydohhgdgy                 # SMTP login username
port: 587                                     # Port for STARTTLS
password: DHUDVJFKOYEVJG  # SMTP password
protocol: TLS                               # Secure connection protocol
google_calendar_service:
access_key:
type: service_account
project_id: optscale
private_key_id: eeee000
private_key: |
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
client_email<EMAIL_ADDRESS>client_id: ""
auth_uri: https://accounts.google.com/o/oauth2/auth
token_uri: https://oauth2.googleapis.com/token
auth_provider_x509_cert_url: https://www.googleapis.com/oauth2/v1/certs
client_x509_cert_url<EMAIL_ADDRESS>encryption_key: fffffxdddeadb33f
auth:
google_oauth_client_id: ""
google_oauth_client_secret: ""
microsoft_oauth_client_id: ""
ngui:
env:
build_mode: ""
google_oauth_client_id: ""
microsoft_oauth_client_id: ""
google_map_api_key: ""
ganalytics_id: ""
hotjar_id: ""
elk:
env:
htpasswd_user: userforelk
htpasswd_pass: passwordforelk
grafana:
env:
htpasswd_user: userforgrafana
htpasswd_pass: passwordforgr
In this YAML file, I added my SMTP credentials, but I encountered the following error:
Error: failed to parse overlay/user_template.yml: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal string into Go value of type map[string]interface {}

Hi @girish-habile, looks like your user_template.yml can not be parsed. Please check that your user_template.yml follows YAML syntax. Pay special attention to spaces usage and try to use yaml validator to check that your yml file is not broken.


Remove linux_analyzer_dev

Remove the linux_analyzer_dev branch. Yes?

And is linux analyzer finish or not will be finish a linux analyzer? I think is interesting analyzer for linux and others as Mac, Android, etc; or if not one analyzer for each platform then one analyzer that work in more of one platform.

All of that will happen soon, but this branch is outdated and not relevent for those changes.

Yes, can be removed.


Style changes

Function reordering
Add licence
Import clean up

@chunter-cb very minor nit: I think spelling could be changed LICSENSE.md -> LICENSE.md. Also note that both LICENSE.md and LICENSE are keyword names that GitHub will integrate into the repo nicely: https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository#including-an-open-source-license-in-your-repository

@chunter-cb WDYT about renaming LISCENCE.md -> LICENSE.md in a new PR? Not a major concern, just wanted to point out I think there's still a typo


Feature Request: Update app.json regardless of Expo

The latest React Native for Android can not import package.json (see #25645).
The current release will update app.json if the project is expo, but won't update it for normal apps. It would be great if the detection would update app.json if version exists in it regardless of the expo flag. This would allow us to work around the react-native issue without requiring a third-party lib.

I'm not catching on with reference to that RN issue. Can you clarify how you're using RNV?

app.json is only updated for Expo apps, ejected or non-Expo apps get modified in native code
if you want to display the version number inside your app, you should use: https://github.com/APSL/react-native-version-number

that will work too, wasn't aware of that. but if the app.json were being updated instead of being ignored, wouldn't have to use another library at all.

I understand, but I think it would make RNV unpredictable if it was updating values in places it shouldn't.
app.json is only updated for Expo apps because that's the only place Expo apps read version info. If the app is ejected (or non-Expo), RNV will default back to updating native code because that's the only place the version info can be read inside the app.


Question about return value

Hi,
my comment does not describe an issue but rather raises a question about the functionality of this really excellent UserExtension.
Is it possible for the "RunExecutable"-module to collect the return value from a Python-script?
The Python script could look in the minimal example as follows:
import sys
retVal = 2022
sys.exit(retVal)

I would like to assign the value to a status variable in SimIo.
Still I am not so familiar with SimIo, I would have expected (as seen in the attached image) to be able to access the return value somehow, but how?
I am grateful for any hint.
Best regards
David

Hi david-dd.  Help me to better understand your requirement. You are interested in running a program to completion (synchronously), and then be able to get some data back into the Simio runtime (such as status in your example). Is this correct?

Hello batpox,
thanks for your quick reply.
Exactly, I would like to use Python to perform calculations and make decisions (syncron), for example to select a path or to (de)activate functions on servers. The results from Python I would like to receive in SimIo first and then I would like to use these results to influence the further progress within the simulation in Simio.

Hello,
I am interested in a solution like the one requested by @david-dd. Is there a way I could return the output of the python run into Simio?
Thank you!!

Sorry, guess I dropped this ball. But yes, a few options come to mind. If you run an executable synchronously and it generates, say, a file, then you should be able to read this file using other user-defined processes, such as "Read" to input this information into State variables. I have not done this, but it should work.

@batpox
Thank you for the speedy response!
I have actually been trying to do this. As you see in the attached snippet, I append the python output to a text file and then read it using a "Read" step in Simio. This works only for the first python execution and gets stuck after that. I am guessing that python and Simio accessing the same file at the same time seems to cause issues. I feel that the read(Simio)-write(python) processes are conflicting.
Would you be willing to try it out and see if you can find a better way of doing this? I greatly appreciate your help!!

Sure, I'll give it a go I'm thinking of using memory-mapped files for speed.


Add support for ';;' prefix in IDE mode

Issue
For Lisp developers the comment line starts with ; or ;;
Please add support for the ;; in the IDE mode.
Alternatively please provide a way to add custom prefix per file type (Common Lisp files use extensions .cl and .lisp)
aider 0.70.0
Version and model info
No response

Thanks for trying aider and filing this issue.
You can use any of the supported comment formats in any file. So just use // to speak to aider.


fix: use correct variable name in release buildspec

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Write optimizers

In PR #7 we didn't write optimizers like -

[ ] SGD
[ ] ADAM
we ought to fix this.

ping @somnat


Make current position available in FileWriter.

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I would like a way to track the file size of a parquet file I am writing, so I can split my dataset into chunks of roughly the same size. For more context, please see this issue in the downstream odbc2parquet crate: https://github.com/pacman82/odbc2parquet/issues/190
Describe the solution you'd like
Make the current stream position (i.e bytes currently written into the inner io::Write) available in the implementation of SerializedFileWriter or even through the FileWriter trait.
Describe alternatives you've considered
As a workaround I could create a wrapper of File which shares an Rc<usize> counter with the application logic.

Hello, since I opened this feature request parquet 15.0.0 has been released. Thanks to everybody involved in that effort! While breaking changes are of course a pain, I loved each and every one of them. The API got a lot cleaner and as a consequence so got my use of it. Keep up the good work!
While adapting to the breaking changes, I got the feeling that RowGroupMetadata::compressed_size maybe already does what I want. So you can feel free to close this issue. If I am not able to use it downstream to the satisfaction of my users, I'll just open a new one.
Cheers, Markus

Thank you for your feedback, and glad to hear the API is moving in a direction that you like :smile:
I think RowGroupMetadata::total_byte_size is probably what you're after, as this will tell you the size of the written row groups. I'm not sure there is an API that would give you access to this whilst writing a file though, but it should be fairly straightforward to add one. Will see what I can come up with

Hello @tustvold , thanks for your help here. Now I am a little bit confused. In order to implement https://github.com/pacman82/odbc2parquet/issues/190 (tl;dr I want to stop writing row groups as soon as the file size surpasses a user defined threshold, and start writing the next row group into a new file) should I add the compressed_size of the row groups or used the total_byte_size of the flushed groups? What would be the difference between the two? Shouldn't be hard to change on my end. If you do not advice otherwise, I'll run with the compressed_size and see if my users are happy about it.

Sorry for confusing things, compressed size is the correct thing to use. I think the crate might be writing the wrong thing for total_byte_size but that's a separate issue I'll file if/when I confirm it.

My test cases and users are happy both. See: https://github.com/pacman82/odbc2parquet/issues/190. So compressed_size has been indeed what I've been looking for. Closing this issue would be fine with me.


Why does the list of supported DNS servers not include this one from OpenNIC?

This dns server shows that it supports DNSCrypt but DNSCrypt's list of supported servers doesn't include this server with the name "2.dnscrypt-cert.gemma.zee.li". Does that mean I can't use this server when I specify the server name?

This server is not in the list because nobody ever submitted a pull request in order to have it included :)
You can add the entry yourself to the CSV file, or specify all the parameters in the command-line.


nixos-install fails with "No such file or directory"

Issue description
I'm installing a nixos system from my working and running nixos desktop (Thinkpad x220). After creating the partitions and filesystems, mounting to /mnt and /mnt/boot, editing the configuration I execute:
$ sudo nixos-install --root /mnt
building the configuration in /mnt/etc/nixos/configuration.nix...
copying channel...
installing the boot loader...
setting up /etc...
Copied "/nix/store/dzrd8yxh9r1bwisphg3z47dxrxlgskv1-systemd-237/lib/systemd/boot/efi/systemd-bootx64.efi" to "/boot/EFI/systemd/systemd-bootx64.efi".
Copied "/nix/store/dzrd8yxh9r1bwisphg3z47dxrxlgskv1-systemd-237/lib/systemd/boot/efi/systemd-bootx64.efi" to "/boot/EFI/BOOT/BOOTX64.EFI".
Failed to create EFI Boot variable entry: No such file or directory
Traceback (most recent call last):
  File "/nix/store/hkrdajjvfvzcwvknsvw2lhxacl0n6m6z-systemd-boot-builder.py", line 210, in <module>
    main()
  File "/nix/store/hkrdajjvfvzcwvknsvw2lhxacl0n6m6z-systemd-boot-builder.py", line 185, in main
    subprocess.check_call(["/nix/store/dzrd8yxh9r1bwisphg3z47dxrxlgskv1-systemd-237/bin/bootctl", "--path=/boot", "install"])
  File "/nix/store/lp7x6ziq5b2zihgad0i8a28xxvz5vnrr-python3-3.6.4/lib/python3.6/subprocess.py", line 291, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/nix/store/dzrd8yxh9r1bwisphg3z47dxrxlgskv1-systemd-237/bin/bootctl', '--path=/boot', 'install']' returned non-zero exit status 1.

Steps to reproduce
Not sure.
Technical details

system: "x86_64-linux"
host os: Linux 4.14.32, NixOS, 18.03.131953.cc95cbed4a2 (Impala)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.0
channels(root): "nixos-18.03.131953.cc95cbed4a2"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

After a quick look into bootctl sources (systemd), I'm taking a guess that your machine is booted in MBR/BIOS mode, not EFI.

kk

Perhaps ask upstream for better error message?

I found that I cannot even use the drive in my device, so I'm not interested in this issue anymore. I'm sorry.
But I guess we can leave this open for documentation purposes? Or close it... I don't know.

Maybe this is a dupe of https://github.com/NixOS/nixpkgs/issues/38477

Did you change boot.loader.efi.canTouchEfiVariables? I set this to true in my most recent install and it failed with your exact message, but setting it to false actually made it work. Once it had then installed and I rebooted into the machine I could set it back to true again and everything worked fine.

This happened to me when installing from an openSuse tumbleweed live disk.
The fix for me was ln -s /usr/etc/services /etc/services


Add KV Command: Remove Key/Value Pair from Namespace

As a Workers KV user, I should be able to remove a key/value pair from my KV namespace from Wrangler by typing
$ wrangler kv rm myNamespace myKey1

closed by #452


Nvd api key

PR Description
Fixed Issue(s)

Documentation

[ ] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[ ] I thought about adding a changelog entry, and added one if I deemed necessary.

Testing

[ ] I thought about testing these changes in a realistic/non-local environment.

Closing PR as not an issue at the moment.


Ability to select which protocols get displayed for git URLs

Whilst the plugin allows you to resort the access URLs (albeit on a repository by repository basis -I can't see how to configure a default ordering), it doesn't appear possible to disable\remove a URL entirely.
The use case in question would be where a firewall prevents ssh traffic so only the smartHTTP(s) URL will work for external users.

maybe this helps


Clang 5.0 Static Analyzer warnings

8 warnings generated by Clang 5.0 scan-build:
cpputest_clang_5_0_scan_build.zip
I suspect most need only to be suppressed, e.g.:

File:
tests/CppUTest/MemoryOperatorOverloadTest.cpp

Warning:
line 52, column 5

How to proceed?

Is it reasonable to expect no static analyzer warnings from cpputest?  Thank You!

Reasonable. And the analyzer is very right. However, it is testing exactly what it warns for, so I do not know how to remove the warning.

I guess most of these been fixed...

@vronchetti Double checked them. It is not reasonable to expect no static analyzer warnings as some of these warnings are there on purpose. E.g. a method that purposely crashes the application. The other ones seem all fixed. Closing this.


Apply action button styles to view file link

Merged, thanks. I think we should also have a "View URL" button to make it painfully obvious there's a way to get the URL. It comes up super often.


Sun, sky, and atmosphere implementation

Cesium for Unreal includes a CesiumSunSky actor that creates a convincing sky, with some adjustable parameters to aid with geospatial accuracy and lighting customization. We should discuss implementing a similar actor in Cesium for Unity.
Additional context on CesiumSunSky:

Much of Unreal's CesiumSunSky came from the Unreal Engine Sun Position Calculator plugin, so there was a smaller initial barrier to creating the actor. Our implementation was a modification of the Sun Position Calculator's SunSky actor.
The primary modifications to the SunSky actor were hooking it up to the Georeference so that the calculated sun angle changed with scene location. We also made some adjustments to the atmosphere settings to avoid visual artifacts.

Desired result
To implement a comparable feature in Unity, we would likely need:

A prefab GameObject to control sky settings. This could be drag-and-dropped into a scene, and even added to the Quick Add panel.

A sky controller script that adjusts lighting and shading as needed. It will need to be able to calculate a sun angle based on a given longitude and latitude, date, and time.
Available settings should include:

Time of day (float, 0-24)
Date (Day, month, year)
Longitude and Latitude (Set by georeference)
Consideration for Daylight Savings Time (This may be optional.)

The sky controller should contain a Directional Light gameobject, or be able to reference one from the scene.

A sky shader

The color of the sky must change depending on the time of day from the sky controller
The sky must fade to black as the camera moves away from earth.

Breakdown of current sky shader options in Unity
Available sky options differ between Unity's High Definition Render Pipeline (HDRP) and Universal Render Pipeline (URP). The HDRP options in terms of sky shading are generally suitable. On the shading side, our implementation would focus on URP, where the deficits are more obvious.

URP

Skybox material is set per-scene in the Lighting window (Window>Rendering>Lighting)
Several preset skybox shader options exist. The most realistic is the Procedural Skybox shader, which allows for a skybox split horizontally between a sky and a ground color. The sky color changes with the angle of the sun, and appears black when the sun is set.
The skybox is very obvious when viewing the earth from space - the background is the skybox's ground color, rather than black.

Sun angle for skybox calculations is determined by angle of the scene's primary Directional Light actor.
URP is optimized for many devices, including mobile - therefore a physically-accurate atmosphere calculation may be overkill. We can likely achieve suitable atmosphere visual effects through a custom sky shader.
A custom sky shader will be needed to handle the transition between earth and space.

HDRP

Sky material is set by
A suitable sky and atmosphere effect can be achieved with a Sky and Fog volume placed in the level. The Sky type should be set to Physically Based Sky.

This means we should not need a custom shader for HDRP.
The atmosphere suffers from spotty artifacts when viewing from space. As in Unreal, we may be able to resolve this by adjusting atmosphere settings based on view height.

Further considerations

For URP, because the skybox material is determined by a scene setting rather than an object in the scene, we might need functionality to assign the skybox material through the sky controller gameobject.
We likely would not want to name the sky implementation "CesiumSunSky", as the SunSky name came from Unreal plugin content. Perhaps "CesiumSkyController" instead.
Some research will need to be done to determine the best way to support both URP and HDRP

Good idea.
One more tip. Although the cesium-unity plugin has just started, I would like to keep the same frequency of updates as the unreality-Unity plugin, say once a month

This would be wonderful; I'm not sure if I grokked it all, but my impression is that if I switch to HDRP I'll get a skybox that looks more like the native Cesium one?  Would it still be black when near the earth surface?  I'm looking for a way to create a skybox that looks like daytime near the earth, but as altitude goes up, it fades to black/starry, and basically looks like the native Javascript Cesium.


[Subtask] Add Fileset support for fileset catalog

Describe the subtask
This issue tracks the work of implementing FilesetCatalog.
Parent issue
#1241

https://github.com/datastrato/gravitino/issues/1526 had been merged. I want to try contributing to this issue, could you assign it to me?

Hi @coolderli sorry I'm already working on this to meet 0.4.0 milestone.
We still have several undone issues in #1241 that I haven't created an issue, I think you can work on that if you'd like to, like:

Add server-side REST API support for fileset
Add Java client support for fileset
Add E2E integration test for fileset
Add Python Arrow FileSystem implementation for fileset.

@jerryshao Apology for my abruptness. I'd like to take a look at these issues. By the way, when will 0.4.0 be released? I found there are still a lot of issues on the 0.4.0 milestone.

Hi @coolderli the 0.4.0 version will be shipped out before Spring festival, but we can only merge parts of the functionality of this fileset catalog support, others will be shipped in 0.5.0.


Collect requirements for Proof-of-Inclusions

Talk with @alexsporn and @muXxer. 😄
Open questions:

Will all nodes provide verification functionality (i.e. store all the milestones)?
Is the file format finalized, or should we think about a more compact representation?

We will implement a binary format in addition to the JSON in #890.


remove requests dependency

Current usgs scripts require request library.
The calls are simple and can be replaced with urllib, a standard library in python.
See this part of the usgs.py file for an example.
import urllib
params = urllib.urlencode({'spam': 1, 'eggs': 2, 'bacon': 0})
f = urllib.urlopen("http://www.musi-cal.com/cgi-bin/query", params)
print f.read()

This task will also require use of the standard json library.

Requests library seems way faster than urllib (may be the json parser?). Sticking with this dependency for now.


Re-run comparison tool and update all presentation materials

Run the comparison tool and all the DAC information slides in presentation materials should be updated to reflect the final numbers.

@katherinedm-usds - note this is a 1.0 and ignore the "beta" folder


Fix HTML flagged by W3C validator

Closes #6386
Closes #6385

@woodruffw this is now ready for review - sorry, it's a big one!


Nothing appears in the WinAppdriver.exe console window when executing the window

I executed the calculator test but nothing appears in the console window when the tests are executed. Is it expected.

It will be a good idea to log the same to a file and also I observed that the execution is slow

You are right. Log is important.
I also notice the slow. I didn't implement the cache for search yet. actually WinUI cached by class/name and others

Thanks to report this issue. now the performance problem is fixed.
I added the cache, also changed the click action to invoke.

Thanks will test it and let you know

And verified that the logs are displayed on the console, but is there any log file that gets generated.

no. but easy for you if you are using powershell to tee the output to a file, also show output in console.
PS C:\repo\YWinAppDriver\src\WinAppDriver\bin\Debug\netcoreapp3.1> .\WinAppDriver.exe --urls http://<IP_ADDRESS>:4723 |tee -filepath test.out

I just add code to generate logs to Logs/WinAppDriver-{Date}.txt
Please pay attention that if you are running from VS, there is no logs. You can remove this restriction by
      if (env.IsDevelopment())
      {
        app.UseDeveloperExceptionPage();
      }
      else
      {
        loggerFactory.AddFile("Logs/WinAppDriver-{Date}.txt");
      }

Thanks will check that


EPSG coordinate system missing

I follow your example of using the coordinate system, but get the following error: "EPSG:4326" from authority "EPSG" found for object of type "EngineeringCRS".

@geoHeil Which example are you referring to? What are the source and target CRS you are using?

Both the same (EPSG:4326) as in https://github.com/DataSystemsLab/GeoSpark/blob/master/core/src/main/scala/org/datasyslab/geospark/showcase/ScalaExample.scala#L221 I thought as we were not using any CRS it would be better to specify the projection as this is possible now.

@geoHeil
This error is not made by GeoSpark. It seems Geotools doesn't allow the source CSR is same with the target CRS.
Any degree based coordinates must be in a CRS. If you don't know the CRS in your data or you can tolerate the errors, you don't have to use CRS. Just keep using the old SRDD constructors. Everything remains the same.

Ok, if data is WGS-84 you say it makes no sense to specify a projection as outlined above as this will not increase accuracy and apparently Geotools will not allow the same origin / destination.

@geoHeil You must know the target CRS before you transform the source CRS. No CRS is perfect so that you need to make the decision on your own. But obviously, meter-based target CRS will have better accuracy.
If your source data CRS is epsg:4326, you probably want to try to transform them to epsg:3857.
Please refer to: https://epsg.io/3857


Various .sass syntax highlight bugs [1.2]

Brackets: 1.2
OS: Elementary OS Freya
Notice: i fixed the CodeMirror sass.js bug with the "properties" typo
Hi,
I noticed a couple of syntax highlight bugs with .sass files. Here's a
screenshot of all the issues i encountered:

The bugs are commented. Let me know if you need further info!

So you are saying this is different than #10692? Does correct highlighting work in Brackets v1.1? If so, can you post a comparison screenshot? The SASS mode in CM underwent some major changes in the last CM version, and what you have here may be further regressions.

Haven't tried 1.1 (started writing .sass only very recently), but yes, based on the issue u posted i fixed the 1.2 issue today. This is different.

I can confirm the highlighting problems with sass files.
I'm using Brackets 1.2 Build 1.2.0-15697 on Windows 7 and 8.1
There is no difference in using Brackets with or without extensions.
It appears in every sass file.

It seems to me that CodeMirror gives some css classes we don't have styled.
Possibly relevant the comments of @peterflynn at https://github.com/codemirror/CodeMirror/pull/3116

The code in the screenshot:
$defined-bs-type: border-box !default
//declaration causing highlight bug...

//...here
=bs($bs-type: $defined-bs-type)
    -webkit-box-sizing: $bs-type
    -moz-box-sizing: $bs-type
    box-sizing: $bs-type

// @mixin substitution with = not highlighting
=button-links($button-base: darken($color11, 10%), $button-hover: darken($color11, 15%))
    border: 1px solid darken($color11, 16%)
    padding: .3em .6em
    //not writing zeros in numbers (0.6 -> .6) causes many highlight bugs...
    margin-left: .7em
    +border-radius(8px) // @include substitution with + not highlighting [2]
    +text-shadow(0 1px 2px $color11)
        color: lighten($color10, 50%)
    background-color: $button-base

    //
    //VERSUS
    //

$defined-bs-type: border-box !default
//declaration causing highlight bug...

//...also here
@mixin bs($bs-type: $defined-bs-type)
    //a space above, and bug happens below
    -webkit-box-sizing: $bs-type
    -moz-box-sizing: $bs-type
    box-sizing: $bs-type

// @mixin substitution with = not highlight
@mixin button-links($button-base: darken($color11, 10%), $button-hover: darken($color11, 15%))
    border: 1px solid darken($color11, 16%)
    padding: 0.3em 0.6em
    //see? numbers are ok now
    margin-left: 0.7em
    @include border-radius(8px)
    // @include substitution with + not highlighting
    @include text-shadow(0 1px 2px $color11)
    color: lighten($color10, 50%)
    background-color: $button-base

Thanks to #13116, in next release Sass syntax highlight should be better. (Not perfect...)


Fix panic if listContainers fails…

… and also share context accross API call, as this is how it's meant to be used (and it allows to skip some calls if cancel is called).
Fixes #442
/cc @samber @emilevauge
PS: this need a little bit of testing though :angel:
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>

@vdemeester entering light speed PR fixing

Ok it's green, at least I did not break anything easily detected :sweat_smile:
But still need some exercices :smile_cat:

@vdemeester doesn't seem risky to me.
LGTM :)

Sharing context seems good but i think it's not enough. What about doing the append(.....) in an else condition in listContainers() ?
for _, container := range containerList {
		containerInspected, err := dockerClient.ContainerInspect(ctx, container.ID)
		if err != nil {
			log.Warnf("Failed to inpsect container %s, error: %s", container.ID, err)
		} else {
			containersInspected = append(containersInspected, containerInspected)
		}
	}

@samber oh definitely, I thought it was in the else… I guess I needed a nap today :smiley:
I'll update :wink:

@samber OK to merge this one ?

yes ;-)


Slow Simulation Down After Engine.update()?

I have had success speeding up my simulation using Engine.update(engine) but I cannot figure out how to slow it down again after I speed it up. I've tried to create a copy of my original engine and replace the sped up one with original using Engine.merge(), but that deletes all of my event handlers for collisions making it worthless. As pointed out in issue #303 when you try to use the timeScale feature the physics engine breaks down, so I would prefer not to use it. If there is a good way to slow down time once it has been sped up with Engine.update(), or just skip forward in time I would love to know about it - I want people to be able to speed up my simulation but also slow it back down after some time has passed.

I'm not sure I follow what you mean, Engine.update(engine, delta) lets you control time as you need by changing delta?

Allow me to elaborate - using Engine.update(engine, delta) only seems to update the delta for one frame. Using setInterval() or something mentioned here will properly speed up the simulation, and each time this function is called the simulation will get faster and faster. My issue originally was figuring out how to reset these setInterval() calls - what I ended up doing was keeping all of the intervals in a list and then calling clearInterval on each interval in that list when I want to reset the speed. I can provide some code if that would help to explain better.

setInterval() schedules a repeating callback. If you call it multiple times, you are running many simultaneous, repeating callbacks. This will appear to speed up your engine because you are running it two or more times per frame!
I think that in your program, you need to call clearInterval() first to destroy the old callback before creating a new one.
https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setInterval

I figured out a solution that seems to work for me similar to this, I apologize for not mentioning it earlier. Every time a user wants to speed up the simulation setInterval() is called making the simulation appear to run faster with each interval id being stored in a list, and when they want to slow it back down again clearInterval() is called on each interval id in the list. I think clearing the interval each time would also work.


ValueError: Attempting to unscale FP16 gradients.

Here is the Google Colab link I used for fine-tuning :
https://colab.research.google.com/drive/1kiALBR1UarPobiftZmiHfwFyk7hTCDnV?usp=sharing
When I fine-tune the LLM-embed for tool retrieval using the command on Google Colab:

An error occurred:
04/30/2024 23:52:47 - INFO - faiss.loader - Loading faiss with AVX2 support.
04/30/2024 23:52:47 - INFO - faiss.loader - Could not load library with AVX2 support due to:
ModuleNotFoundError("No module named 'faiss.swigfaiss_avx2'")
04/30/2024 23:52:47 - INFO - faiss.loader - Loading faiss.
04/30/2024 23:52:47 - INFO - faiss.loader - Successfully loaded faiss.
2024-04-30 23:52:47.990022: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-04-30 23:52:47.990076: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-04-30 23:52:47.991470: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-04-30 23:52:49.207020: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
04/30/2024 23:52:49 - INFO - src.retrieval.modeling_dense - Loading tokenizer and model from BAAI/bge-base-en...
max_steps is given, it will override any value given in num_train_epochs
0% 0/2000 [00:00<?, ?it/s]Traceback (most recent call last):
File "/content/FlagEmbedding/FlagEmbedding/llm_embedder/run_dense.py", line 157, in
main()
File "/content/FlagEmbedding/FlagEmbedding/llm_embedder/run_dense.py", line 150, in main
trainer.train()
File "/usr/local/lib/python3.10/dist-packages/transformers/trainer.py", line 1859, in train
return inner_training_loop(
File "/usr/local/lib/python3.10/dist-packages/transformers/trainer.py", line 2249, in inner_training_loop
grad_norm = self.accelerator.clip_grad_norm(
File "/usr/local/lib/python3.10/dist-packages/accelerate/accelerator.py", line 2157, in clip_grad_norm
self.unscale_gradients()
File "/usr/local/lib/python3.10/dist-packages/accelerate/accelerator.py", line 2107, in unscale_gradients
self.scaler.unscale_(opt)
File "/usr/local/lib/python3.10/dist-packages/torch/cuda/amp/grad_scaler.py", line 336, in unscale_
optimizer_state["found_inf_per_device"] = self.unscale_grads(
File "/usr/local/lib/python3.10/dist-packages/torch/cuda/amp/grad_scaler.py", line 258, in unscale_grads
raise ValueError("Attempting to unscale FP16 gradients.")
ValueError: Attempting to unscale FP16 gradients.
0% 0/2000 [00:01<?, ?it/s]
[2024-04-30 23:53:01,805] torch.distributed.elastic.multiprocessing.api: [ERROR] failed (exitcode: 1) local_rank: 0 (pid: 5985) of binary: /usr/bin/python3
Traceback (most recent call last):
File "/usr/local/bin/torchrun", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/elastic/multiprocessing/errors/init.py", line 347, in wrapper
return f(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/run.py", line 812, in main
run(args)
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/run.py", line 803, in run
elastic_launch(
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launcher/api.py", line 135, in call
return launch_agent(self._config, self._entrypoint, list(args))
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launcher/api.py", line 268, in launch_agent
raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
/content/FlagEmbedding/FlagEmbedding/llm_embedder/run_dense.py FAILED
Failures:
<NO_OTHER_FAILURES>
Root Cause (first observed failure):
[0]:
time      : 2024-04-30_23:53:01
host      : f8adfa8a5d97
rank      : 0 (local_rank: 0)
exitcode  : 1 (pid: 5985)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html

Can anyone help me, thanks?

Hi, please try specify --dtype fp32 in the training script.

Hi, please try specify --dtype fp32 in the training script.

After fixing it, I got another error when evel during training

Here is the colab link containing my code:
https://colab.research.google.com/drive/1xSGDbO5TBXTnRb3v1OLDmJQTefJs1It-#scrollTo=b9ay5GriMiU4

Hi, please try specify --dtype fp32 in the training script.

After finetuning, I tested several cases. The positive samples scored around 0.9, while the negative samples scored around 0.84. I feel this is not acceptable, how can I widen this gap?
I fine-tuned for the retrieval task

Hi, this is the direct result of contrastive learning. It only guarantees the positives have higher scores than negatives, while not assuring that their gaps are large enough. You can try using some margin based loss to emphasize greater gaps between positives and negatives. However, the model may be harder to train given losses other than contrastive learning.


Allow User to Set Custom Boxart

Hello .
So really enjoying your frontend .  Amazing stuff .
UPDATED
I think you can allow user to use custom boxart by placing your folder thats in data/user in storage/android/data then more than likely we can drop files thier. I know that works with dig and other launchers .
I am having trouble getting the scrapper to work at all for art info gets fine.

So I see now where scrapper is trying to put files.
If this was in /android/com.........../boxart and video etc.
Then user can mainly put those boxart thier .

Examine more and more lol .
They way the scrapes setup will cause issues for importing imo.
..../Preview-media/1.png will be hard to translate.
I suggest using same paths as most for example
...../media/nes/boxart/super Mario 3.png
...../media/nes/cartart/super Mario 3.png
If you use the scraped names should work the same .
.

Currently working on it and to allow user to set custom preview medias path like SD card.

User can set custom boxart started from version 60 (1.1.34).

Awesome.
When you say folders won't follow game name what do you mean ? I don't understand .
In theory when scrapping super Mario bros 3 save to ....../nes/boxart/supermario3.png instead ..../1.png .
A LOT of users will not use with they can t import boxart . It will be very difficult to import if they are saved as 1, 2 , 3 , 4 etc .
We will have to remeber what order we added games in .

Because a file with same checksum or hash can has different filenames based on user's preferences or download sources. For example "mario bros" "mario bros." "mario bros(USA)"

Ok . Interesting
Heres  example in other launchers if my Mario bros is named Mario Bros USA and my boxart is also Mario Bros USA it works .
So search game name save image as game name . Again in theory

I see what you did with custom boxart.  On my tablet works good.  Android 10
I see its below android 11 I assume this is cause scoped storage .

That's not only about scope storage but also external storage permissions. Google limited such permission unless you submitted reports which still mostly rejected by google unless you really has good reasons. Google no longer treat file systems as API that can be directly manipulated. Each folder has its specific usage.


Revert "api get orders for the logged vendor and update status, and tests"

Reverts hdcola/etsifyapi#30

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.75%. Comparing base (5ad70dd) to head (632653c).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #32      +/-   ##
==========================================
- Coverage   89.31%   88.75%   -0.56%
==========================================
  Files          35       33       -2
  Lines         552      507      -45
  Branches       56       51       -5
==========================================
- Hits          493      450      -43
+ Misses         57       55       -2
  Partials        2        2

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


Update force.py for fixing an index bug of force_plot()

Hi Thanks for the awesome tool for ML explanation. I encountered a bug when plotting force plots and did a quick fix:
The index "i" is doubly used in the for loop of line 144, causing confusion in subsequent lines.
The bug was detected when I tried to force plot a shap matrix with 100 rows and 346 features. An IndexError popped up saying "345 is out of the range of 100". This was probably due to that "i" had been used to loop over all features, and been re-used to indexing instances.
I guess it would be a better to change the index variable of the for loop to avoid the issue.

Great catch! Thanks!


Should nsrbiz be added to Projects section?

This is really just about nsrbiz. I think it should be added, along with a link to the video.

Added in version 3 with f5eec72


Enabling Gyro seems to disable other gamepad inputs

On windows, in my project, it seems inconsistent, but either Gyro will work or Godot button/axis inputs will work, not both together

curious, what controller are you using?

Playstation 4

It happens to me too, having the PS4 controller

I've been meaning to debug this with a friend's dualshock 4, gyro is managed by SDL and buttons should be handled independently by Godot own input system this happens both over bluetooth and wired right?

Yes, but Godot's Input System is also based on SDL

For what that understand Godot only uses the SDL mapping database, input itself is handled separately (dinput or xinput not sure) there is no actual SDL code in Godot.
https://x.com/reduzio/status/1770037294486958413

Yes, use that

What causes the problem?

My theory, is that when the dualshock 4 is accessed from SDL and another input system at the same time it causes some kind of conflict ( haven't been able to get a hold on a ps4 controller to test)

Which is strange because they used to work together, if there is a bug in Godot's input system that conflicts?

Which is strange because they used to work together, if there is a bug in Godot's input system that conflicts?

so this issue is recent? the plugin used to fine for you at some point?

Yes

Yes

Sorry for having more question that answers, but do you have any clue of what could have changed? this project hasn't have mayor updates since i posted it, did you update your Godot, does it work again in previous versions? (minimum for this plugin should be 4.1)
any  info on this could help me pinpoint the issue

Well...I used Godot 4.2 (it worked before)

Well...I used Godot 4.2 (it worked before)

Maybe add C++ bindings for the Godot script API for Godot 4.2

Hello @SagaPDev, same problem here, absolutely unable to figure out a solution to make the inputs work at the same time as the gyro, I don't know if you've had any clue since then ? It would help a lot, we're making a student project and are kinda stuck on this (also can't seem to make it work with 4.2 and older versions of the gdextension). Honestly I'd be okay rolling the project back to an older version, but I can't find a setup that works, maybe @ThePhantomMask has info about exactly what worked for them ?)

@alvina-dr unfortunately i haven't been able to reproduce the issue still, I'm using 4.2 and the add-on should be compatible from then onward, I've been asking other users with dual-shock for for clues to the issue but for some it works fine
for clarification this seem to be happening on windows and with dualshock 4, right?

@SagaPDev I'm on windows and using joycons from the switch !
I've just discovered that part of the input were blocked by Steam being open (apparently there's some conflict with it ?). I had reached a point where even in a new clean projet the joycon inputs weren't working anymore... It's at least something, it might help someone, who knows.
And once that's out of the way, I can reference new controls in input actions using input detection (in the project with your gdextension in it), which I couldn't before. But then when I play it, the events from the joycon aren't printed. I'm printing using :
func _unhandled_input(event):
	print(event)

After that, when I go again to try and use input detection to reference new controls, it doesn't work, just like before in my first comment 🤔
I tried testing a few other things and found this :
Using PS4 dualshock, everything works well, I get both input and gyroscope (sadly I have to use joycons, we're making a project that needs to be accessible and joycons are a must have for us).
Using Xbox controller I only get inputs (I don't even know if there's a gyroscope, so it might be normal, but it was worth a try aha).

It still doesn't work for me

well thanks @alvina-dr, every bit of info helps, but now i'm even more confused as to why it is not working for some people, even while using the same device, i can't see a pattern.
Steam spawns a virtual game-pad to handle their input remapping suite, this often takes place as the 1st controller, so it might cause issues
If your actions in Godot Input Map are mapped to "all devices" it shouldn't cause problems as it will respond to any device connected, but if you're making a multiplayer game you would want to specify, it just a matter of being aware of what devices are the OS detecting
So, know that you mention Joycons, do they work for you in a clean project? i have a Switch-pro, but windows input system does not read them correctly (random inputs), Godot relies on the OS input system and on windows they're broken
not sure if this affects joy-cons as well
There is a talk about it here godotengine/godot#47874

@SagaPDev it's not exactly that, I don't have chaotic inputs, I just don't get any at all. Anyway, we have to complete the project by friday morning, so we decided to switch to Unity, it's a bit sad but we'll have to try again with godot on another project :/
Thanks for you help though !

It still doesn't work for me

could you send me and example project were the issue is present so i can take a look at it?

As soon as I have time, I will send you a simple project with the add-on

Same issue here. I'm using Godot 4.2.1 on Windows 11 with Switch Pro Controllers.

i haven't been able to recreate this specific issue but i found something similar
running a project that handles input via de input singleton in the process function:
func _process(_delta):
	if Input.is_action_just_pressed("jump"):
		***

will fail if a steam a input layout is in is active but empty
*this happes automatically when a steam game is minimized
*this would happen only with my pro-controller a dualshock 3 i have seems unaffected"
in projects using _unhandled_input function
func _unhandled_input(event):
	if event.is_action_pressed("jump"):
		***

the input will be read no matter the status of steam


webpack4 issues

Note: for support questions, please use one of these channels: Chat: AngularClass.slack or Twitter: @TipeIO

What is the current behavior?
the webpack4 branch can be made to build, when I shift to MiniCssExtractPlugin() from ExtractTextPlugin().  This works fairly well.
Basically:
I added:
 const MiniCssExtractPlugin = require('mini-css-extract-plugin');
 /**
   * Extract CSS files from .src/styles directory to external CSS file
   */
  {
    test: /\.css$/,
    use: [MiniCssExtractPlugin.loader, 'css-loader'],
    include: [helpers.root('src', 'styles')]
  },

  /**
   * Extract and compile SCSS files from .src/styles directory to external CSS file
   */
  {
    test: /\.scss$/,
    use: [MiniCssExtractPlugin.loader, 'css-loader', 'sass-loader'],
    include: [helpers.root('src', 'styles')]
  },

And I replaced new ExtractTextPlugin(....) with:
  new MiniCssExtractPlugin({
               filename: '[name]-[hash].css',
          chunkFilename: '[name]-[chunkhash].css'}),

I also updated all the packages to the latest versions - on 4-22.
I have a large project built around angular-starter, which works great with webpack 3.  But with webpack4, even with the changes above, I get killed late in the build
 `WARNING in<EMAIL_ADDRESS> System.import() is deprecated and will be removed soon. Use import() instead.
 For more info visit https://webpack.js.org/guides/code-splitting/
  @ ./src/environments/environment.ts 6570:15-36 2:0-47 4:0-14
  @ ./src/main.browser.ts

 WARNING in<EMAIL_ADDRESS> System.import() is deprecated and will be removed soon. Use import() instead.
 For more info visit https://webpack.js.org/guides/code-splitting/
 @ ./src/environments/environment.ts 6590:15-102 2:0-47 4:0-14
 @ ./src/main.browser.ts

 ERROR in ./node_modules/font-awesome-webpack/font-awesome.config.js (./node_modules/font-awesome-webpack/node_modules/css-loader!./node_modules/font-awesome-webpack/node_modules/less-loader!./node_modules/font-awesome-webpack/font-awesome-styles.loader.js!./node_modules/font-awesome-webpack/font-awesome.config.js)
 Module build failed: TypeError: Cannot read property 'lessLoader' of undefined
at Object.module.exports (/home/joel/workspace/Tracker3/node_modules/font-awesome-webpack/node_modules/less-loader/index.js:50:18)
  @ ./node_modules/font-awesome-webpack/node_modules/style-loader!./node_modules/font-awesome-webpack/node_modules/css-loader!./node_modules/font-awesome-webpack/node_modules/less-loader!./node_modules/font-awesome-webpack/font-awesome-styles.loader.js!./node_modules/font-awesome-webpack/font-awesome.config.js 4:14-154
  @ ./node_modules/font-awesome-webpack/index.js
  @ ./src/app/app.module.ts
  @ ./src/app/index.ts
  @ ./src/main.browser.ts
 Child html-webpack-plugin for "index.html":
 1 asset
Entrypoint undefined = index.html
[MFLM] ./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html 2.08 KiB {0} [built]
    factory:4095ms building:18ms = 4113ms
[YuTi] (webpack)/buildin/module.js 497 bytes {0} [built]
    [MFLM] 4113ms -> [LvDl] 169ms -> factory:9ms building:5ms = 4296ms
[yLpj] (webpack)/buildin/global.js 489 bytes {0} [built]
    [MFLM] 4113ms -> [LvDl] 169ms -> factory:9ms building:5ms = 4296ms
    + 1 hidden module

`
SO it seems that font-awesome is killing the build for webpack 4.  Any thoughts as to why this might be, would be very helpful.  I would like to experiment with some strategies to split chunks, but until I can get it running in production, it seems somewhat pointless.

Please tell us about your environment:

Ubuntu, latest node, npm, etc.   Intellij ide, Angular 5.2.x, Chrome

@JoelParke  how are you importing font-awesome

I should have mentioned that to get the above working, I needed to add '"less-loader": "^1.0.0",' to my package.json.
For font-awesome, I have:
"font-awesome": "^4.7.0",
"font-awesome-webpack": "0.0.5-beta.2",
When working for webpack 3, these are the same, but without less-loader, which is not needed.

@JoelParke Hey, Im also struggling with running angular-starter with webpack 4.
Could you please share your webpack config files and maybe your package.json file so I could see what I'm doing wrong? Thanks in advance.

Here are the changes etc...
For config/webpack.prod.js
Remove:
const ExtractTextPlugin = require('extract-text-webpack-plugin'); const HashedModuleIdsPlugin = require('webpack/lib/HashedModuleIdsPlugin')
and replace with:
const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const HashedModuleIdsPlugin = require('webpack/lib/HashedModuleIdsPlugin');
And,  change:
       /**
        * Extract CSS files from .src/styles directory to external CSS file
        */
       {
         test: /\.css$/,
         loader: ExtractTextPlugin.extract({
           fallback: 'style-loader',
           use: 'css-loader'
         }),
         include: [helpers.root('src', 'styles')]
       },

       /**
        * Extract and compile SCSS files from .src/styles directory to external CSS file
        */
       {
         test: /\.scss$/,
         loader: ExtractTextPlugin.extract({
           fallback: 'style-loader',
           use: 'css-loader!sass-loader'
         }),
         include: [helpers.root('src', 'styles')]
       },

TO
        /**
         * Extract CSS files from .src/styles directory to external CSS file
         */
        {
          test: /\.css$/,
          use: [MiniCssExtractPlugin.loader, 'css-loader'],
          include: [helpers.root('src', 'styles')]
        },

        /**
         * Extract and compile SCSS files from .src/styles directory to external CSS file
         */
        {
          test: /\.scss$/,
          use: [MiniCssExtractPlugin.loader, 'css-loader', 'sass-loader'],
          include: [helpers.root('src', 'styles')]
        },

And Replace:
      /**
       * Plugin: ExtractTextPlugin
       * Description: Extracts imported CSS files into external stylesheet
       *
       * See: https://github.com/webpack/extract-text-webpack-plugin
       */
      new ExtractTextPlugin('[name].[contenthash].css'),

With:
      new MiniCssExtractPlugin({
                   filename: '[name]-[hash].css',
              chunkFilename: '[name]-[chunkhash].css'}),

And in UglifyJsPlugin() you can set
sourceMap: false
Which will speed up the builds tremendously.
I will attach my package.json, and yarn.lock.
NOTE: you can update all the packages, EXCEPT!  rxjs - as they have some breaking changes!
ALSO if you are using font-awsesome-webpack, please see the issue with webpack4 and fix earlier.
packages.tar.gz

Let me know how it goes.  I have enabled the compression, but I noticed that if I delete the existing files, then index.html cannot be found, and I it unclear to me how much the compression saves on loading.
I would be curious what your experience is.
Thanks,

Let me know how it goes.  I have enabled the compression, but I noticed that if I delete the existing files, then index.html cannot be found, and I it unclear to me how much the compression saves on loading.
I would be curious what your experience is.
Thanks,

@JoelParke Thanks a lot mate! Tried it out and it seems to be working well. Also thanks for the sourceMap tip ;)

We have no problems whatsoever with font-awesome and Webpack 4 with latest versions of plugins... I supposed the issues described here were fixed, so no need for workarounds anymore. Closing this one.

I am getting this:  ```
`WARNING in<EMAIL_ADDRESS>System.import() is deprecated and will be removed soon. Use import() instead.
For more info visit https://webpack.js.org/guides/code-splitting/
@ ./src/environments/environment.ts 6570:15-36 2:0-47 4:0-14
@ ./src/main.browser.ts
I tried to ignore the error with a stats: {} configuration but it still spills out all over. It is telling the truth, that files does contain System.import even in the latest Angular 6.0.9. I wish we could force webpack to use the other module formats. Can we?

I believe you can safely ignore it. This is something that Angular team will have to handle eventually.


Mast: Watch (?-i:54686869c2b73e4e0d07a2feef1e2471)(?#apnews)

Mast requests the watch of the watch_keyword (?-i:54686869c2b73e4e0d07a2feef1e2471)(?#apnews). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

(?-i:54686869c2b73e4e0d07a2feef1e2471)(?#apnews) has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by NobodyNada in Charcoal HQ


Roll Engine from d1d848e8421e to c538f40d3610 (26 revisions)

https://github.com/flutter/engine/compare/d1d848e8421e...c538f40d3610
2020-09-09<EMAIL_ADDRESS>Roll Dart SDK from a2c9cae4dcd8 to ffbfa2000435 (1 revision) (flutter/engine#21031)
2020-09-09<EMAIL_ADDRESS>Roll Skia from 04b9443274cf to b8ae7fa12aa0 (1 revision) (flutter/engine#21030)
2020-09-08<EMAIL_ADDRESS>Update web lerpDouble to match C++ behaviour (flutter/engine#21010)
2020-09-08<EMAIL_ADDRESS>Roll Skia from cf1a4f50121f to 04b9443274cf (2 revisions) (flutter/engine#21028)
2020-09-08<EMAIL_ADDRESS>Roll Dart SDK from 33b6c95936e0 to a2c9cae4dcd8 (1 revision) (flutter/engine#21027)
2020-09-08<EMAIL_ADDRESS>Android 30r3 (flutter/engine#21025)
2020-09-08<EMAIL_ADDRESS>Roll Skia from c0d3495e1ee2 to cf1a4f50121f (6 revisions) (flutter/engine#21026)
2020-09-08<EMAIL_ADDRESS>Avoid crashing and display error if the process cannot be prepared for JIT mode Dart VM. (flutter/engine#20980)
2020-09-08<EMAIL_ADDRESS>Roll Skia from cd54c8385c31 to c0d3495e1ee2 (12 revisions) (flutter/engine#21024)
2020-09-08<EMAIL_ADDRESS>Roll Dart SDK from b88c06c314f4 to 33b6c95936e0 (2 revisions) (flutter/engine#21023)
2020-09-08<EMAIL_ADDRESS>Roll Skia from 611a52108b01 to cd54c8385c31 (2 revisions) (flutter/engine#21021)
2020-09-08<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from tUwahggJ8... to TyNHQXzNU... (flutter/engine#21019)
2020-09-08<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from Ta3F40BV6... to coVjRTWSf... (flutter/engine#21018)
2020-09-08<EMAIL_ADDRESS>Tweak the mdns error message (flutter/engine#20991)
2020-09-07<EMAIL_ADDRESS>Roll Dart SDK from f745f9447ddf to b88c06c314f4 (1 revision) (flutter/engine#21016)
2020-09-07<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from gfAt63Ezd... to Ta3F40BV6... (flutter/engine#21015)
2020-09-07<EMAIL_ADDRESS>Roll Dart SDK from e59935669cb0 to f745f9447ddf (1 revision) (flutter/engine#21014)
2020-09-07<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from 9pfHLZEFU... to tUwahggJ8... (flutter/engine#21013)
2020-09-07<EMAIL_ADDRESS>Enable lazy-async-stacks by-default in all modes (Take 3) (flutter/engine#20895)
2020-09-07<EMAIL_ADDRESS>Roll Skia from d0fe7d37d678 to 611a52108b01 (2 revisions) (flutter/engine#21012)
2020-09-07<EMAIL_ADDRESS>Roll Skia from a73a84f9b8e3 to d0fe7d37d678 (1 revision) (flutter/engine#21011)
2020-09-07<EMAIL_ADDRESS>Roll Dart SDK from f3a9ca88b664 to e59935669cb0 (1 revision) (flutter/engine#21008)
2020-09-07<EMAIL_ADDRESS>Roll Skia from d91cd6b5ee2b to a73a84f9b8e3 (1 revision) (flutter/engine#21007)
2020-09-06<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from sih5f60Gt... to 9pfHLZEFU... (flutter/engine#21006)
2020-09-06<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from A0PKwETay... to gfAt63Ezd... (flutter/engine#21005)
2020-09-04<EMAIL_ADDRESS>Roll Skia from 6763a713f957 to d91cd6b5ee2b (3 revisions) (flutter/engine#20989)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from A0PKwETaylAF to coVjRTWSffbI
fuchsia/sdk/core/mac-amd64 from sih5f60Gt1RX to TyNHQXzNUUtO
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


Don't show action bar for replyto squeak shown in "make reply" dialog

https://github.com/yzernik/squeaknode/pull/960


[PLAT-147] Add create checkout session request

feat: implement create checkout session
chore: include specs
chore: update readme

Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] This change is in scope for PCI
[ ] This requires approval from UX
[ ] This requires approval from Marketing

Links
https://justifi-ai.atlassian.net/browse/PLAT-147
Steps for Testing/QA
Checkout branch, run the Gem's console pointing to staging:
API_STAGING_BASE_URL=https://api.xyz bin/console

Setup the SDK using a platform's credentials:
Justifi.setup(client_id: "", client_secret: "", environment: "staging")

Following the docs: https://developer.justifi.ai/#operation/CreateCheckoutSession

[ ] Create a checkout session Justifi::CheckoutSession.create(..)

(tips in the readme: https://github.com/justifi-tech/justifi-ruby/blob/66224b8576e3ae2bd5d661a8eac54dc17fe82ac7/README.md#create-a-checkout-session)

In order to get the hosted checkout session to actually work after creating it through the gem, I had to use the url #{hosted_checkout_url}/r/#{checkout_session_id}
Do we need to update that in the readme?
# use the session id to access your hosted checkout page at:
hosted_checkout_url = "https://hosted-checkout.justifi.ai/r/#{session.data.checkout_session_id}"


Initializing Statement from JSON does not auto init its id

Initializing Statement from JSON does not auto init its id even if the id is present in the JSON object.
Example:
StringOfJSON json = new StringOfJSON(payload); // contains id inside
Statement statement = new Statement(json);

UUID id = statement.getId(); // null

Correct me if I am wrong but I would expect to set the Id automatically whenever it is present in the JSON and fill in null only if it is missing.

I've not looked to reproduce it directly, but you are correct the behavior should be that the id is populated. Not sure when I'll get to it, if you can find the fix and submit a PR with a unit test that'd certainly speed up the process.

I made a pull request #49 to solve this bug.

@okabe-is thanks, merged. @Smedzlatko please test if you get a chance, I'll be cutting a release with this fix soon.


Add documentation for the permissions command

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/299
Originally created by @iroussos on 2019-01-18 09:16:12

Add documentation for the meltano permissions grant command:

Document the variable options available.
Document the spec file format
Document the order of execution
Provide examples
Document the env variables that must be set for connecting to Postgres and Snowflake.

View 11 previous comments from the original issue on GitLab


Test failures on CentOS / Fedora (seccomp)

From slack;

Integration tests are broken on master :disappointed:
https://jenkins.dockerproject.org/view/Docker/job/Docker Master/
seems like its centos/devmapper
something about seccomp

https://jenkins.dockerproject.org/view/Docker/job/Docker Master/4262/label=centos && devicemapper/console
Given that we currently don't support seccomp on these platforms, this may be a setting during build (is seccomp enabled for the build, but shouldn't be?
/cc @tiborvass @jfrazelle I created this to keep track / for input

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

I can check it out tomorrow

Thanks Jess!

oh i know what it is, that kernel is not compiled for userns
On Wed, Mar 2, 2016 at 4:44 PM, Gordon<EMAIL_ADDRESS>wrote:

If you are reporting a new issue, make sure that we do not have any
duplicates already open. You can ensure this by searching the issue list
for this repository. If there is a duplicate, please close your issue and
add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to
include the BUG REPORT INFORMATION shown below. If you fail to provide this
information within 7 days, we cannot debug your issue and will close it. We
will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues
.
You don't have to include this information if this is a feature request
(This is an automated, informational response)
BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/20888#issuecomment-191511961.

--
Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC  511E 18F3 685C 0022 BFF3
pgp.mit.edu http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3

and the test involves that
On Wed, Mar 2, 2016 at 4:48 PM, Jessica Frazelle<EMAIL_ADDRESS>wrote:

oh i know what it is, that kernel is not compiled for userns
On Wed, Mar 2, 2016 at 4:44 PM, Gordon<EMAIL_ADDRESS>wrote:

If you are reporting a new issue, make sure that we do not have any
duplicates already open. You can ensure this by searching the issue list
for this repository. If there is a duplicate, please close your issue and
add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to
include the BUG REPORT INFORMATION shown below. If you fail to provide this
information within 7 days, we cannot debug your issue and will close it. We
will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues
.
You don't have to include this information if this is a feature request
(This is an automated, informational response)
BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/20888#issuecomment-191511961.

--
Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC  511E 18F3 685C 0022 BFF3
pgp.mit.edu
http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3

--
Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC  511E 18F3 685C 0022 BFF3
pgp.mit.edu http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3

easy fix
On Wed, Mar 2, 2016 at 4:48 PM, Jessica Frazelle<EMAIL_ADDRESS>wrote:

and the test involves that
On Wed, Mar 2, 2016 at 4:48 PM, Jessica Frazelle<EMAIL_ADDRESS>wrote:

oh i know what it is, that kernel is not compiled for userns
On Wed, Mar 2, 2016 at 4:44 PM, Gordon<EMAIL_ADDRESS>wrote:

If you are reporting a new issue, make sure that we do not have any
duplicates already open. You can ensure this by searching the issue list
for this repository. If there is a duplicate, please close your issue and
add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description
to include the BUG REPORT INFORMATION shown below. If you fail to provide
this information within 7 days, we cannot debug your issue and will close
it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues
.
You don't have to include this information if this is a feature request
(This is an automated, informational response)
BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/20888#issuecomment-191511961.

--
Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC  511E 18F3 685C 0022 BFF3
pgp.mit.edu
http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3

--
Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC  511E 18F3 685C 0022 BFF3
pgp.mit.edu
http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3

--
Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC  511E 18F3 685C 0022 BFF3
pgp.mit.edu http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3


Migrate localization tooling to Lunaria

Description (required)
This PR moves from using our old i18n Tracker to use Lunaria instead.
A few notes:

I'll add "Translations that need reviews" as a follow-up.
I am seeing some subtle color differences from the variables I copied from the current i18n Tracker, but I am not sure why.

Preview it here:
https://astro-docs-seven.vercel.app/
Related issues & labels (optional)

Closes #
Suggested label:

The dictionary files (docsearch.ts, nav.ts, and ui.ts) are currently listed first, but in the preview are listed last. Do we have control over that? I guess that showing them first gives those special files a bit more visibility.

Currently, there's no feature to sort the index. Internally we first index the generic content and then the dictionaries, that's why it's shown at the end.

The table legend is lacking some spacing between the items:

Yeah, that's a very recent issue since I've moved from my own rendering system to using @lit-labs/ssr, it seems it doesn't accept HTML entities, which was what we were using for that spacing. This legend is generated from a string to allow i18n ('{missing_emoji} {missing_word} {outdated_emoji} {outdated_word} {done_emoji} {done_word}'), so there are a few limitations in how we can fix this and I still haven't found a solution.

Currently, there's no feature to sort the index. Internally we first index the generic content and then the dictionaries, that's why it's shown at the end.

Interesting. Any particular reason it does that instead of respecting the order in which the files are defined in the config file?

This legend is generated from a string to allow i18n ('{missing_emoji} {missing_word} {outdated_emoji} {outdated_word} {done_emoji} {done_word}'), so there are a few limitations in how we can fix this

Can’t you wrap each of the emoji–word pairs in a <span> and display: flex; gap: 1rem the parent element?


Mint bird from LIFF

I implemented the following to make it possible to mint Birds as NFTs from the Flutter Bird App.
flutter_bird_image_server

Implement flutter_bird_image_server

A bird image is generated based on the received tokenID.
The same data url will always be returned for the same tokenId.
Currently, the hosting is on Vercel, and there are restrictions on using the file system. Therefore, the generated image is not saved on the server, but the data URL is included in the response and returned.
The image size of bird is around 10KB at most, so it does not put a large load on the system.

flutter_bird_image_server/create_birds/create_data.js and the generate_image and generate_metadata files it calls use the files that were already in the original repository. Only the parts related to fs have been deleted.

https://github.com/Tonnanto/flutter-bird/tree/master/flutter_bird_skins/scripts

mint_full_onchain_bird/mint_random_skin.js is a script for manually minting bird and will not be called when minting from the flutter app.

flutter_bird_app

Implement mint button on flutter app

I added a button to mint bird on flutter.
This receives the data url from the image_server and calls mint and appendUri of the FlutterBirdsSkins contract.

_createAndUploadUri

https://github.com/Finschia/flutter-bird/compare/master...Finschia:flutter-bird:mint-bird-from-liff?expand=1#diff-21f69922bf92a0ace86a77db5c1db6d4c9f67f3ea7adf9b3a8ca96e96ab264feR116
The image is retrieved from the server using the tokenId as a key, and the contract's appendUri is executed.
Currently, the game operator executes appendUri using a private key. This specification is merely a PoC to verify whether tx can be executed in a format different from mint, and is not meaningful.

mintRandomSkin

https://github.com/Finschia/flutter-bird/compare/master...Finschia:flutter-bird:mint-bird-from-liff?expand=1#diff-21f69922bf92a0ace86a77db5c1db6d4c9f67f3ea7adf9b3a8ca96e96ab264feR35
Users will use 1 KLAY to mint an NFT.

flutter_bird_skins

Implement appendUri

The image data url is set to the tokenURI of the NFT.
This allows you to retrieve the image data by simply querying the contract's tokenURI.
The image is not stored anywhere on the file server and exists entirely on-chain.
Therefore, we no longer use IPFS.

lib contracts

The contracts in flutter_bird_skins/lib use already implemented contracts around storage.

LIFF URL

You can try out mint with the LIFF below.

https://liff.line.me/2005806035-kp4pmzW2

I can't connect to metamask, why does it take me to the app store with the app downloaded if it is a universal link?
https://github.com/user-attachments/assets/b1fc8d52-4572-4bda-b662-9e8b7f3acf54

I can't connect to metamask, why does it take me to the app store with the app downloaded if it is a universal link?
RPReplay_Final1721871875.mp4

I don't have iOS so I can't test it thoroughly. I look into it.

I want ask a question.
When I tried https://liff.line.me/2005806035-kp4pmzW2 with metamask, it requires me signature two times. But it doesn't appear in current LIFF application.

I want ask a question. When I tried https://liff.line.me/2005806035-kp4pmzW2 with metamask, it requires me signature two times. But it doesn't appear in current LIFF application.

When do you mean "two signatures"? When I tried it, it appeared once each on connect and mint. In the case of mint, if you manually navigate to metamask, the signature popup will appear.

@Mdaiki0730 PTAL comments.
And the problem of opening the app store without starting metamask may be due to a problem with the device or metamask settings. Therefore, as a result of the meeting, we decided to deal with it separately from this PR.


Percent slider for testing ${intensity.percent} from Configuration page

Requesting the addition of a percentage slider for testing the ${intensity.percent} portion of the On URL from the Configuration page of the ha-bridge.  It can work in conjunction with the 'Test ON' button, and have a 100% default.

Cool idea, especially now that more items have those included,

The Harmony activities and buttons would obviously not need the slider.  Not a Vera user myself, but I'm sure there are scenes and activities for the Vera that would not require the slider as well.
I'm also leaning towards requesting an "Operation" page as a PC/tablet/phone web interface, this would give the bridge a second role, behind just configuration and connection.  An all-in-one control interface.

I'm not sure I want to get into building a control page yet for this as then I get the bridge into the HA GUI arena. I'll put in the test selector for intensity though.


prevent TestResults.xml collision of parallel test runs on windows

I put TestResults.xml for each test under directory test-results/UUID, so that parallel test runs don't crash trying to write the same TestResults.xml file (which is problematic on windows).

Asan failure is unrelated, otherwise this is green.


Tree components overhaul in v1.3 broke some stuff

Notice the color and the spacing in these examples

Thanks for the heads up. I tested the beta ahead of the most recent release and thought I had gotten things working with the new tree in my last update, but I guess not completely. 😔 I’ll take another pass today and reply when fixed!On May 26, 2023, at 5:37 AM, kerbless @.***> wrote:
Notice the color and the spacing in these examples
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Closing this one for now, but if you're still having this issue toss me a reply or reopen. Thanks! <3


Exporting a dashboard or task causes the page to crash with the error "cannot read property 'item' of undefined"

Attempting to export a dashboard from the dashboards index page, or a task from the tasks page, will cause the page to crash with the following error message:

Possible related to this section of the code in DashboardExportOverlay:
const mstp = (state: AppState): StateProps => ({
  dashboardTemplate: state.templates.exportTemplate.item,
  status: state.templates.exportTemplate.status,
  orgID: state.templates.exportTemplate.orgID,
})