HDDS-1151. Propagate the tracing id in ScmBlockLocationProtocol

The tracing propagation is not yet enabled for the ScmBlockLocationProtocol. We can't see the internal calls between OM and SCM. We need to propagate it at least for the allocateBlock call.
See: https://issues.apache.org/jira/browse/HDDS-1151

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
535
Docker mode activated.

_ Prechecks _

+1
@author
1
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

0
mvndep
79
Maven dependency ordering for branch

+1
mvninstall
1244
trunk passed

-1
compile
211
root in trunk failed.

+1
checkstyle
212
trunk passed

-1
mvnsite
20
server-scm in trunk failed.

-1
mvnsite
18
objectstore-service in trunk failed.

-1
mvnsite
16
ozone-manager in trunk failed.

+1
shadedclient
1076
branch has no errors when building and testing our client artifacts.

-1
findbugs
14
server-scm in trunk failed.

-1
findbugs
14
objectstore-service in trunk failed.

-1
findbugs
14
ozone-manager in trunk failed.

-1
javadoc
13
server-scm in trunk failed.

-1
javadoc
14
objectstore-service in trunk failed.

-1
javadoc
14
ozone-manager in trunk failed.

_ Patch Compile Tests _

0
mvndep
23
Maven dependency ordering for patch

-1
mvninstall
10
server-scm in the patch failed.

-1
mvninstall
11
objectstore-service in the patch failed.

-1
mvninstall
10
ozone-manager in the patch failed.

+1
compile
988
the patch passed

-1
cc
988
root generated 7 new + 2 unchanged - 0 fixed = 9 total (was 2)

-1
javac
988
root generated 660 new + 831 unchanged - 0 fixed = 1491 total (was 831)

+1
checkstyle
203
the patch passed

-1
mvnsite
23
server-scm in the patch failed.

-1
mvnsite
22
objectstore-service in the patch failed.

-1
mvnsite
19
ozone-manager in the patch failed.

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
711
patch has no errors when building and testing our client artifacts.

-1
findbugs
23
server-scm in the patch failed.

-1
findbugs
22
objectstore-service in the patch failed.

-1
findbugs
22
ozone-manager in the patch failed.

-1
javadoc
23
server-scm in the patch failed.

-1
javadoc
22
objectstore-service in the patch failed.

-1
javadoc
23
ozone-manager in the patch failed.

_ Other Tests _

-1
unit
86
common in the patch failed.

-1
unit
22
server-scm in the patch failed.

-1
unit
22
objectstore-service in the patch failed.

-1
unit
23
ozone-manager in the patch failed.

+1
asflicense
40
The patch does not generate ASF License warnings.

6161

Reason
Tests

Failed junit tests
hadoop.hdds.security.x509.certificate.client.TestDefaultCertificateClient

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/508

Optional Tests
dupname  asflicense  compile  javac  javadoc  mvninstall  mvnsite  unit  shadedclient  findbugs  checkstyle  cc

uname
Linux ad263b04c014 4.4.0-139-generic #165~14.04.1-Ubuntu SMP Wed Oct 31 10:55:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 6cec906

maven
version: Apache Maven 3.3.9

Default Java
1.8.0_191

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/branch-compile-root.txt

mvnsite
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/branch-mvnsite-hadoop-hdds_server-scm.txt

mvnsite
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/branch-mvnsite-hadoop-ozone_objectstore-service.txt

mvnsite
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/branch-mvnsite-hadoop-ozone_ozone-manager.txt

findbugs
v3.1.0-RC1

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/branch-findbugs-hadoop-hdds_server-scm.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/branch-findbugs-hadoop-ozone_objectstore-service.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/branch-findbugs-hadoop-ozone_ozone-manager.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/branch-javadoc-hadoop-hdds_server-scm.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/branch-javadoc-hadoop-ozone_objectstore-service.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/branch-javadoc-hadoop-ozone_ozone-manager.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/patch-mvninstall-hadoop-hdds_server-scm.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/patch-mvninstall-hadoop-ozone_objectstore-service.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/patch-mvninstall-hadoop-ozone_ozone-manager.txt

cc
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/diff-compile-cc-root.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/diff-compile-javac-root.txt

mvnsite
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/patch-mvnsite-hadoop-hdds_server-scm.txt

mvnsite
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/patch-mvnsite-hadoop-ozone_objectstore-service.txt

mvnsite
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/patch-mvnsite-hadoop-ozone_ozone-manager.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/patch-findbugs-hadoop-hdds_server-scm.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/patch-findbugs-hadoop-ozone_objectstore-service.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/patch-findbugs-hadoop-ozone_ozone-manager.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/patch-javadoc-hadoop-hdds_server-scm.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/patch-javadoc-hadoop-ozone_objectstore-service.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/patch-javadoc-hadoop-ozone_ozone-manager.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/patch-unit-hadoop-hdds_common.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/patch-unit-hadoop-hdds_server-scm.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/patch-unit-hadoop-ozone_objectstore-service.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/artifact/out/patch-unit-hadoop-ozone_ozone-manager.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/testReport/

Max. process+thread count
305 (vs. ulimit of 5500)

modules
C: hadoop-hdds/common hadoop-hdds/server-scm hadoop-ozone/objectstore-service hadoop-ozone/ozone-manager U: .

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-508/1/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.


Flutter crash on Android 8.1 on production app.

I have an app in production and a user reported that the app is stopping after the splash screen. I`ve told him to submit the crash to the developer console. The device the crash is experienced is Huawei Y7 2019 running android 8.1.0. The app is built with the latest flutter stable version.
I am attaching the crash and the flutter doctor output.

Logs
pid: 0, tid: 0 >>> com.gorki.mario.skyeystudio.worddio <<<

backtrace:
  #00  pc<PHONE_NUMBER>6ce3cc  /data/app/com.gorki.mario.skyeystudio.worddio-YTggxFqdZg85yE882ipILw==/lib/arm64/libflutter.so (offset 0x270000)
  #01  pc<PHONE_NUMBER>2b7be4  /data/app/com.gorki.mario.skyeystudio.worddio-YTggxFqdZg85yE882ipILw==/lib/arm64/libflutter.so (offset 0x270000)
  #02  pc<PHONE_NUMBER>2bf744  /data/app/com.gorki.mario.skyeystudio.worddio-YTggxFqdZg85yE882ipILw==/lib/arm64/libflutter.so (offset 0x270000)
  #03  pc<PHONE_NUMBER>290000  /data/app/com.gorki.mario.skyeystudio.worddio-YTggxFqdZg85yE882ipILw==/lib/arm64/libflutter.so (offset 0x270000)
  #04  pc<PHONE_NUMBER>2926ec  /data/app/com.gorki.mario.skyeystudio.worddio-YTggxFqdZg85yE882ipILw==/lib/arm64/libflutter.so (offset 0x270000)
  #05  pc<PHONE_NUMBER>016238  /system/lib64/libutils.so (android::Looper::pollInner(int)+816)
  #06  pc<PHONE_NUMBER>015e78  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+108)
  #07  pc<PHONE_NUMBER>011854  /system/lib64/libandroid.so (ALooper_pollOnce+92)
  #08  pc<PHONE_NUMBER>292808  /data/app/com.gorki.mario.skyeystudio.worddio-YTggxFqdZg85yE882ipILw==/lib/arm64/libflutter.so (offset 0x270000)
  #09  pc<PHONE_NUMBER>28f1d8  /data/app/com.gorki.mario.skyeystudio.worddio-YTggxFqdZg85yE882ipILw==/lib/arm64/libflutter.so (offset 0x270000)
  #10  pc<PHONE_NUMBER>291290  /data/app/com.gorki.mario.skyeystudio.worddio-YTggxFqdZg85yE882ipILw==/lib/arm64/libflutter.so (offset 0x270000)
  #11  pc<PHONE_NUMBER>077e9c  /system/lib64/libc.so (__pthread_start(void*)+36)
  #12  pc<PHONE_NUMBER>01f6c0  /system/lib64/libc.so (__start_thread+68)

[√] Flutter (Channel stable, v1.12.13+hotfix.5, on Microsoft Windows [Version 10.0.17763.1039], locale bg-BG)
    • Flutter version 1.12.13+hotfix.5 at C:\flutter
    • Framework revision 27321ebbad (10 weeks ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\SDK
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[!] IntelliJ IDEA Ultimate Edition (version 2019.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2019.1.1
    X Flutter plugin not installed; this adds Flutter specific functionality.
    • Dart plugin version 193.6494.35
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[!] VS Code, 64-bit edition (version 1.21.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    X Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (2 available)
    • Mi 9T                     • 45f666ee      • android-arm64 • Android 10 (API 29)
    • Android SDK built for x86 • emulator-5554 • android-x86   • Android 8.0.0 (API 26) (emulator)

! Doctor found issues in 2 categories.

Hi @mariogorki94
Could you please also provide flutter run --release --verbose running 8.1 device/emulator?
Thank you

@TahaTesser  i dont have physical device running 8.1 and the emulator don`t support release mode.

See https://github.com/flutter/flutter/wiki/Crashes for instructions on how to symbolicate engine crashes. Without this information we'll be unable to make progress

Hi @mariogorki94
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


Fix YaRN inverted scaling and add "rope.scaling.type" to GGUF

Hey, thanks for all the great work getting YaRN into llama.cpp! I was looking through the main PR and noticed that there's a subtle bug in how mscale is calculated. In our code scale is something like 16 -- in llama.cpp it's 0.065 (i.e. 1 / scale). The code deals with this correctly (swapping divides for multiplications, etc.) but the calculation of mscale wasn't accounting for this inversion. This fixes it up across the various implementations.
I also added in the code to persist "rope.scaling.type" into the GGUF in convert.py and fix loading it as a string.

Thanks so much for looking into this! I was a little disorganized while implementing this, and I clearly missed some things along the way. I'll have to look more carefully to make sure I didn't make any more subtle mistakes.


Empty  tags in --doctool class references

Godot version
3.3.4.stable.arch_linux
System information
Linux 5.4.148
Issue description
Generated class references with CLI option --doctool always outputs XML files with empty <description>, <brief_description> and <tutorials> tags. The documentation does not contain clear information on how to enable such descriptions in generated output.
Steps to reproduce
Run godot --doctool .
Minimal reproduction project
No response

You need to fill in those tags manually after generating the XML class reference. --doctool does not support reading comments from the C++ source code to embed them in the class reference.

Thanks for the clarification.


[CI] colcon-mixin for coverage-gcc wrongly specified in action-ros-ci

Describe the bug
The colcon-mixin-name option used to specify the coverage-gcc mixin in invoking action-ros-ci for ros-tooling-ci has been removed from said Github action in https://github.com/ros-tooling/action-ros-ci/pull/591, with colcon-defaults being suggested as the way to specify mixins instead.
As such, the coverage-gcc mixin doesn't actually get added.
To Reproduce
Look at any ros-tooling ci log. Here's a linked example: https://github.com/ros-controls/ros2_controllers/runs/5307042090?check_suite_focus=true#step:3:1
Expected behavior
The coverage-gcc mixin gets correctly added and that there are no warnings in CI logs.
Environment (please complete the following information):
Github actions environment specified for ros-tooling ci

OS: Ubuntu 20.04 LTS
Version galactic

Additional context
The problem can be fixed with the following patch to .github/workflows/ci.yml, and has been submitted in https://github.com/ros-controls/ros2_controllers/pull/306.
-          colcon-mixin-name: coverage-gcc
+          colcon-defaults: |
+            {
+              "build": {
+                "mixin": ["coverage-gcc"]
+              }
+            }

fixed with #317


quote should be nullable in MessageContentTextAnnotationsFileCitationObject

The quote property is marked as required, but the server doesn't include them in all the cases.
https://github.com/openai/openai-openapi/blob/893ba52242dbd5387a97b96444ee1c742cfce9bd/openapi.yaml#L11362-L11397
Example of response that doesn't include it:
{
  "id": "msg_Fn6zTxxx",
  "object": "thread.message",
  "created_at":<PHONE_NUMBER>,
  "assistant_id": "asst_K4iArkxxx",
  "thread_id": "thread_3N31Erp0eCVhAhKh5BdMk1aQ",
  "run_id": "run_icH57L9xxx",
  "status": "completed",
  "incomplete_details": null,
  "incomplete_at": null,
  "completed_at":<PHONE_NUMBER>,
  "role": "assistant",
  "content": [
    {
      "type": "text",
      "text": {
        "value": "...",
        "annotations": [
          {
            "type": "file_citation",
            "text": "【6:0†source】",
            "start_index": 1109,
            "end_index": 1121,
            "file_citation": {
              "file_id": "file-TrXXpxxx"
            }
          }
        ]
      }
    }
  ],
  "attachments": [],
  "metadata": {}
}

Jumping in here. We did a fair amount of work in v1 to get this rendering well, and it seems like the quote is no longer returned for any of the v2 endpoints. Some of the older models might still do it, but not the new ones.
There are a couple threads on the community server, including this one with response from OAI staff member that it's not supported but "we'll work on" it.
Not sure where else to track it, but this OpenAPI repo seems more appropriate than the python API one.
But yes, I can also imagine that this causes _strict_response_validation to fail on every call.

Apologies for the oversight here -- we just rolled out a fix to remove quote from the openapi spec and will roll out updated sdks shortly.

Apologies for the oversight here -- we just rolled out a fix to remove quote from the openapi spec and will roll out updated sdks shortly.

Not sure if this is the place to discuss this further, but having the quote available at the client level is going to be crucial for RAG validation. Removing it is a bad move.

@nknj Is team going to add quotes back?
It was really helpful in v1. I am working with legal documents, so having direct quotes would decrease the chance of assistant misinterpretation and errors.

Indeed, same issue

The 'quote' attribute is referenced in the OpenAI documentation:
https://platform.openai.com/docs/assistants/deep-dive/managing-threads-and-messages
If it has been removed, the documentation needs to be updated.

In current version, I seem to be experiencing the same issue. See:
https://github.com/openai/openai-python/issues/1498#issuecomment-2345692701


Indexing files without extensions

We have a large set of files that do not have file extensions such as .txt or .png or .pdf, but this information is available in the file metadata. Ambar reports the following in the log:
path/to/file ignoring. Rule: File should have extension
Is there a configuration or other method by which to enable a crawler to index these files?

The file command on linux provides detection of file types, which could then be used to determine what processing is necessary without relying on an extension. For example, running file ... | awk {'print $2 "_" $3'} gives something like:

ASCII_text
PDF_document
JPEG_image
gzip_compressed

Could this be a simple addition to where file type filters are currently in place? I think it would go a long way in the maturity of this product.


useragents: detecting Microsoft Edge as Chrome

Python ver. 2.7.9
Werkzeug ver. 0.11.2
(I am using this from Flask, ver. 0.10.1)
The current regex used in useragents.py does not seems to be covering Microsoft Edge's Edge/ section in the user-agent string. chrome is returned for the browser key as a result of this.
A few examples of this issue:

Lumia running Edge (mobile) on Windows Phone 10.0

User-agent: Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 640 XL LTE) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Mobile Safari/537.36 Edge/13.10586
Result: "browser": "chrome", "platform": "chromeos"

Windows 10 running Edge

User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10240
Result: "browser": "chrome", "platform": "windows"

Microsoft's MSDN has a page on some of its browser products' user-agent strings, which can be found here.
edit: fix wrong result pasted.

Just ran into this.

Microsoft Edge is still not listed as a detectable browser. Just got this user-agent string from Edge:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299


Support null safety

Any plans to update to null-safety? planing to use this package

Sure will upgrade to null safe version, Thanks!

Thanks!!!!

Hey! do you have any timeframe for this??

Hey! Any timeframe for the upgrade?

https://github.com/Amitpatil215/whatsapp_share/pull/5

Any plan to support this? still showing as not supported

Hi may I know is there any plan for this? still waiting for null safety version

Hello any update?

I think this package is dead

Please upgrade whatsapp_share package to 2.0.2
dependencies:
  whatsapp_share: ^2.0.2


安装报错

lector:releases-v1.0.2
Creating runnergo_engine_1 ...
Creating runnergo_mongo-db_1 ...
Creating runnergo_file-server_1 ... error
Creating runnergo_mysql-db_1    ...
Creating runnergo_web-ui_1      ...
Creating runnergo_zookeeper_1   ...
Creating runnergo_engine_1      ... error
ERROR: for runnergo_file-server_1  Cannot start service file-server: failed to c                                                                             reate shim task: OCI runtime create failed: runc create failed: unable to start                                                                              container process: error during container init: unable to apply apparmor profile                                                                             : apparmor failed to apply profile: write /proc/self/attr/apparmor/exec: no such                                                                              file or directory: unknown
ERROR: for runnergo_engine_1  Cannot start service engine: failed to create shim                                                                              task: OCI runtime create failed: runc create failed: unable to start container                                                                              process: error during container init: unable to apply apparmor profile: apparmor                                                                              failed to apply profile: write /proc/self/attr/apparmor/exec: no such file or d                                                                             Creating runnergo_redis-db_1    ... error
ERROR: for runnergo_redis-db_1  Cannot start service redis-db: failed to create                                                                              Creating runnergo_mysql-db_1    ... error
ner process: error during container init: unable to apply apparmor profile: appa                                                                             rmor failed to apply profile: write /proc/self/attr/apparmor/exec: no such file                                                                              or directory: unknown
ERROR: for runnergo_mysql-db_1  Cannot start service mysql-db: failed to create                                                                              shim task: OCI runtime create failed: runc create failed: unable to start contai                                                                             ner process: error during container init: unable to apply apparmor profile: appa                                                                             Creating runnergo_zookeeper_1   ... error
or directory: unknown
Creating runnergo_mongo-db_1    ... error
ERROR: for runnergo_zookeeper_1  Cannot start service zookeeper: failed to creat                                                                             e shim task: OCI runtime create failed: runc create failed: unable to start cont                                                                             ainer process: error during container init: unable to apply apparmor profile: ap                                                                             parmor failed to apply profile: write /proc/self/attr/apparmor/exec: no such fil                                                                             e or directory: unknown

另外 文档中 命令打错了
2.2.6 关闭RunnerGo
docker-compse stop

lector:releases-v1.0.2 Creating runnergo_engine_1 ... Creating runnergo_mongo-db_1 ... Creating runnergo_file-server_1 ... error Creating runnergo_mysql-db_1 ... Creating runnergo_web-ui_1 ... Creating runnergo_zookeeper_1 ... Creating runnergo_engine_1 ... error
ERROR: for runnergo_file-server_1 Cannot start service file-server: failed to c reate shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: unable to apply apparmor profile : apparmor failed to apply profile: write /proc/self/attr/apparmor/exec: no such file or directory: unknown
ERROR: for runnergo_engine_1 Cannot start service engine: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: unable to apply apparmor profile: apparmor failed to apply profile: write /proc/self/attr/apparmor/exec: no such file or d Creating runnergo_redis-db_1 ... error
ERROR: for runnergo_redis-db_1 Cannot start service redis-db: failed to create Creating runnergo_mysql-db_1 ... error ner process: error during container init: unable to apply apparmor profile: appa rmor failed to apply profile: write /proc/self/attr/apparmor/exec: no such file or directory: unknown
ERROR: for runnergo_mysql-db_1 Cannot start service mysql-db: failed to create shim task: OCI runtime create failed: runc create failed: unable to start contai ner process: error during container init: unable to apply apparmor profile: appa Creating runnergo_zookeeper_1 ... error or directory: unknown Creating runnergo_mongo-db_1 ... error ERROR: for runnergo_zookeeper_1 Cannot start service zookeeper: failed to creat e shim task: OCI runtime create failed: runc create failed: unable to start cont ainer process: error during container init: unable to apply apparmor profile: ap parmor failed to apply profile: write /proc/self/attr/apparmor/exec: no such fil e or directory: unknown

这个已经解决，现在所有启动都正常，后端api 好像访问不了
http://ip/management/api/v1/auth/user_register

请加我微信，13383088061


Add pipeline for publishing Windows x64 binaries

The pipeline looks like its publishing Windows x86 binaries only - we should add 64-bit binaries too.

This is working, but now we're only publishing Windows 64-bit binaries. Opening another issue to track.


Incorrect script generation with large number of fields (parquet)

Hi,
one of my datasets has close to 700 fields, however the write-script function only generates a smaller number. This is due to the Clojure behaviour of print and str function which depends on *print-length*.
When working with the REPL you typically have a (set! *print-length* 100) in your .lein/profiles.clj
This causes long sequences (and infinite lazy sequences) to only print the first 100 items.
Clojure print functions (and str) obey to this setting. So for example the following code will generate a incorrect output:
  (require '[pigpen.pig])
  (require '[pigpen.core :as pig])
  (require '[pigpen.parquet :as pqt])
  (require '[clojure.string :as str])

  (spit "/tmp/test.tsv"
        (->> (range 1 701) (map str) (str/join "\t") (repeat 10) (str/join "\n") (#(str % "\n"))))

  (defn schema700 []
    (apply pqt/message "big-schema"
           (doall
            (for [i (range 700)]
              (pqt/binary (str "value" (inc i)))))))

  (defn copy-to-parquet
    [input output]
    (->> (pig/load-tsv input)
         (pqt/store-parquet
          output
          (schema700))))

  (copy-to-parquet "/tmp/test.tsv" "/tmp/test.pq")

  (set! *print-length* 100)

  (pigpen.pig/write-script
   "my-script.pig"
   (copy-to-parquet "/tmp/test.tsv" "/tmp/test.pq"))

now the output script will look like:
DEFINE udf34778 pigpen.PigPenFn('(clojure.core/require (quote [pigpen.runtime]) (quote [pigpen.extensions.core]))','(clojure.core/comp (pigpen.runtime/process->bind (pigpen.runtime/pre-process :pig :native)) (pigpen.runtime/map->bind (clojure.core/fn [s] (if s (pigpen.extensions.core/structured-split s "\\t")))) (pigpen.runtime/keyword-field-selector->bind [:value1 :value2 :value3 :value4 :value5 :value6 :value7 :value8 :value9 :value10 :value11 :value12 :value13 :value14 :value15 :value16 :value17 :value18 :value19 :value20 :value21 :value22 :value23 :value24 :value25 :value26 :value27 :value28 :value29 :value30 :value31 :value32 :value33 :value34 :value35 :value36 :value37 :value38 :value39 :value40 :value41 :value42 :value43 :value44 :value45 :value46 :value47 :value48 :value49 :value50 :value51 :value52 :value53 :value54 :value55 :value56 :value57 :value58 :value59 :value60 :value61 :value62 :value63 :value64 :value65 :value66 :value67 :value68 :value69 :value70 :value71 :value72 :value73 :value74 :value75 :value76 :value77 :value78 :value79 :value80 :value81 :value82 :value83 :value84 :value85 :value86 :value87 :value88 :value89 :value90 :value91 :value92 :value93 :value94 :value95 :value96 :value97 :value98 :value99 :value100 ...]) (pigpen.runtime/process->bind (pigpen.runtime/post-process :pig :native)))');

Go at the end of the above line and notice the ... after :value100.
So only the first 100 values were printed.
Now a workaround for this issue is to wrap the write-script in a binding like:
(binding [*print-length* false]
    (pigpen.pig/write-script
     "my-script.pig"
     (copy-to-parquet "/tmp/test.tsv" "/tmp/test.pq")))

But I feel this should be handled by the generate-script directly.
Additionally you might want to check the *print-level* as well.
[1] - https://clojuredocs.org/clojure.core/print-length
[2] - https://clojuredocs.org/clojure.core/print-level

That's an interesting one - I haven't used those settings before. It sounds like the default behavior is ok (no limits), but if you have them set then it's not explicitly unsetting them before script generation.
It should be relatively straightforward to explicitly bind them to false for script generation. Let me take a quick stab at that.

yes, you are right. By default are set nil but anyone who is using the REPL do develop on Clojure has these set in the profiles.clj to avoid to hang the REPL on a infinite sequence.
As mentioned as well the workaround of the binding form works well
(binding [*print-length* false]
    (write-script .....))

But it would be better that the generate-script does it internally,
so that people who have large number of fields won't stumble across the same issue.

Released in v0.3.3

Tested, it works. many thanks for the quick response.


Added possibility to print what is in the state vector (true by default)

A new argument is added to the SingleArcSimulator, named printStateData. By default set to True, this argument control whether to prints or not the propagated state data.
This print takes the form of the following:
State vector contains:
Vector entries, Vector contents
[0:6], translational state of body Lunar CubeSat A
[6:12], translational state of body Lunar CubeSat B
[12], body mass state of body Lunar CubeSat A
[13], body mass state of body Lunar CubeSat B

Thanks for implementing this, as you have already rightly noted: this will be very useful addition :) See below a few minor comments:

Could you move the implementation of the printing to a separate function? Having this directly in the class constructor is not necessary I think. You can just put the function directly before the class definition, and have any variables you need from the constructor directly as inputs
I would prefer we swap the printing of dependent variables and states in the constructor. I agree that having the states first would, normally, be best. But, doing it like this will break backwards-compatibility. Although not a hard requirement, swapping the input arguments would still be preferable, in my opinion.

Thanks for the suggestions. I have implemented and pushed both of them.
Do I have your green light to merge this to develop?

Do I have your green light to merge this to develop?

Absolutely!


Twitch stream no video

There seems to be an issue with only twitch streams on the player, the audio plays but the video gets stuck on the countdown from the start at 1. I tested a youtube stream and it worked fine.
I love the player and hope you still support it! Thanks

This is an issue with some part of how VRC uses AVPro internally which triggers the audio bug. I'm guessing some piece of their code for the audio source handling toggles the audio sources at some point which breaks AVPro audio. I will be adding a resync button to work around this issue in 1.0


Include models from PyKEEN

There are several KGE models implemented in https://github.com/smartDataAnalytics/PyKEEN from @mali-git that cover translational distance models (e.g., TransE, TransH, TransR, TransD, UM, SE) and semantic matching models (e.g., RESCAL, DistMult, ERMLP, ConvE) that weren't mentioned in the README of this repo. I'm also aware that some, but not all, of these models have been made available through the packages that you've already integrated.
PyKEEN was developed with specific focus on reusability, so I hope that we can either make a PR to include a wrapper to make it work the same way as your models, or you might become interested and make use of it.

Thanks. I like your ideas of integrating them. Since currently we are mainly focusing on revising the manuscript and adding more datasets and experiments, perhaps we can begin this task later. Feel free to email me if you want to discuss with me privately:).


Getting error while loading dummy observations

~/inaturalist/tools$ r load_dummy_observations.rb
/home/lastplotdev/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/runner.rb:62:in `<top (required)>': undefined local variable or method `load_dummy_observations' for main:Object (NameError)
	from /home/lastplotdev/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/runner.rb:62:in `eval'
	from /home/lastplotdev/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/runner.rb:62:in `<top (required)>'
	from /home/lastplotdev/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:123:in `require'
	from /home/lastplotdev/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:123:in `require_command!'
	from /home/lastplotdev/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:90:in `runner'
	from /home/lastplotdev/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
	from /home/lastplotdev/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands.rb:17:in `<top (required)>'
	from bin/rails:4:in `require'
	from bin/rails:4:in `<main>'

Please help me to solve it.

You want rails r tools/load_dummr_observations.rb from the root of the rails repo.

I also tried this, but getting error..
lastplotdev@lastplotdev:~/inaturalist$ rails r tools/load_dummy_observations.rb
tools/load_dummy_observations.rb:21:in `block in <top (required)>': undefined method `active?' for nil:NilClass (NoMethodError)
Did you mean?  acts_like?
	from tools/load_dummy_observations.rb:17:in `times'
	from tools/load_dummy_observations.rb:17:in `<top (required)>'
	from /home/lastplotdev/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/runner.rb:60:in `load'
	from /home/lastplotdev/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/runner.rb:60:in `<top (required)>'
	from /home/lastplotdev/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:123:in `require'
	from /home/lastplotdev/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:123:in `require_command!'
	from /home/lastplotdev/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:90:in `runner'
	from /home/lastplotdev/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
	from /home/lastplotdev/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands.rb:17:in `<top (required)>'
	from bin/rails:4:in `require'
	from bin/rails:4:in `<main>'

You need to have at least one user in the database for the script to work. I'll add a warning to the script, but that script is really just a convenience tool. You'll probably learn more about how the code works by just poking around and making data manually.


Flakes experiment (NixOS module ver)

Different from https://github.com/rycee/home-manager/pull/903 since that seems to be aiming for the general solution, this is specifically for NixOS.
Untested, but builds fine.

Broke it somehow, going to try to get a stable flake before reopening.


fix(Risc-V toolchain): don't hardcode absolute path in /opt

The installation path of riscv32-unknown-elf-gcc is distro-specific. For example in mine it's in the standard /usr/bin, instead of non-standard /opt/riscv/bin/

The standard way to make binary available regardless of physical location (local, opt, /usr/bin)  is to add them to $PATH, which I assume any installer is doing.

you also gotta change here https://github.com/taikoxyz/raiko/blob/18bbfc93cffdeb5ff66b5f18103481b37619aa80/script/install.sh#L21
if you want to make it distro-specific :)

For now this PR is paused, I think we need to review the install script maybe we need one for users and one for Docker. The current one assumes Docker and root permissions.
See https://github.com/taikoxyz/raiko/issues/299


docs: moving docs to 11ty

Updating documentation site to 11ty.
Changing the documentation site from Hugo to 11ty. Once this PR is merged, we'll be moving from https://patternfly.github.io/patternfly-elements/ to https://patternflyelements.org.
Preview

https://thirsty-cray-f3810c.netlify.app/
Components
Storybook
Existing Demo Page Example

What has changed and why
The new site is simpler and smaller than the Hugo site we had previously. The new version of the site is built almost entirely with PatternFly Elements.
Once this PR has been merged, we'll need to update the build script on Netlify.
Merging
Please squash when merging and ensure your commit message uses conventional commit formatting.
Be sure to share your updates with the<EMAIL_ADDRESS>mailing list!

@kylebuch8 This is so awesome!  Can't wait.
This link: https://thirsty-cray-f3810c.netlify.app/docs/, shows an empty page.  I got the URL from the footer.  Should that redirect to https://thirsty-cray-f3810c.netlify.app/get-started/?

Can you also check .github/labeler.yml to update any paths needed for the doc labeling?

Can you also check .github/labeler.yml to update any paths needed for the doc labeling?

bump


Ensure threshold and period_minutes are integers

This handles cases where those keys are set as strings
even though we expect integers.
Fixes #100

Why just checking for thresholds? If we enforce type for the other fields I think we should enforce it for thresholds.

@ndcampbell We could absolutely do it. The primary type of the majority of the fields are strings, not int.
Temporarily we could move forward with this, however, we'd have to find a "better" way to ensure the types match. One thing I bumped into recently was: http://docs.python-cerberus.org/en/stable/. This look interesting and could be useful to validate type's sent.

This looks good to me. Thanks for the PR.


Make decisions about data formats

We've inherited the "spec" tuple used by the getopt library. Map support was introduced fairly recently, and then more recently than that, records support.
Recommendations:

[ ] Only use the "spec" tuple when making calls to getopt -- everything prior to that should use the internal format
[ ] Upon getting a result back from getopt, immediately convert to internal format

Not sure about internal format recommendation. I'm leaning toward map, but records are sometime easier to use. They are definitely better for documenting structured data (name, default, and data type). It may be that all inputs to public functions accept both. And maybe results can be provided in both, per passed option. If maps end up being the "official" internal format, then a clean set of functions should be defined for converting to and from the various data structures ("types"). Once this part of the plan starts to solidify, I'll update the recommendations check list.

Old comment in description:

Not sure about internal format recommendation. I'm leaning toward map, but records are sometime easier to use. They are definitely better for documenting structured data (name, default, and data type). It may be that all inputs to public functions accept both. And maybe results can be provided in both, per passed option. If maps end up being the "official" internal format, then a clean set of functions should be defined for converting to and from the various data structures ("types"). Once this part of the plan starts to solidify, I'll update the recommendations check list.

The decision's been made: records will be used internally for better docs, easier treatment of defaults, etc.


Localized description

In my opinion, the function PasswordRule.descriptor(for: rules) will return a string for users. So how do I get a localized description about rules.

Hi @talisk. PasswordRule.descriptor(for: rules) returns a string suitable for passing to the UITextInputPasswordRules initializer or as a passwordrules attribute in HTML. You can find the proposed specification of this string here. This string isn't intended for display to end users, and can't be localized.


Relax the ISA string order checking for -march

Changes:
2021/08/16: Remove order constraint between single-letter and multi-letter, also add 2 more NOTE.

It's corresponding for https://github.com/riscv/riscv-toolchain-conventions/issues/11 ,

It should also be specified that the tools always emit the extensions in canonical order.

Changes:

Remove order constraint between single-letter
Add 2 NOTE

ELF attribute must be canonical order
Cross tool argument strongly recommend passed in canonical order, e.g. GCC invoke gnu assembler and LLVM with gnu assembler.

Changes:

Remove rule 2
Add one more rule for disambiguate version separator and 'p' ext.
Add note for single letter ext. with version

Hi @kito-cheng
Would you mind to update the status or progress when available?

GCC patch has bee merged into trunk :)

I think this is ready to land.

Ohhh, we made it before 2024 lunar new year 🎉


Check read() for consistency

Revisit the read functionality of the various Refinery classes and make sure they behave in a consistent manner. Make a decision when elements are included as None and when they are skipped. A general idea could be that data that is added via a selection input is added whereas if it depends on the VASP setup it is set to None.

Somewhat related, and writing here to make sure it is documented so I can take a look later: there is an issue with if not self._raw_data.cell.scale.is_none(): line in sturcture.py again. The issue is still the is_none() not applying to a numpy array where VaspData is expected.


Error applying a template to a Sub site with a ListInstance containing a Custom Content Type

If you are applying a template to a Site that is not the RootSite, and the template has a ListInstance with a Custom Content Type, and that Content Type was added only in the RootSite, the CT will not be applied to the list, and also, if you are adding a View to the list using any field of the custom CT, code will raise an error.
This is because the CreateList function in the ObjectListInstance.cs is calling:
var tempCT = web.GetContentTypeById(ctBinding.ContentTypeId);
and by default, that function is looking for the ContentType in the web.ContentTypes.
The solution is just change the calling to that function as:
var tempCT = web.GetContentTypeById(ctBinding.ContentTypeId, searchInSiteHierarchy: true);
Perhaps would be better if by default, the function set the 2nd param to True.
I'm trying to configure the environment and do a Pull request for that change (as I'd like to contribute if I find more issues).

Added Pull Request #166 fixing this issue.


Allow hats in custom mappings

This allows definition of hat mappings, which generally require multiple values, in ds4drv config.
Example:
ABS_HAT0X = dpad_left,dpad_right
ABS_HAT0Y = dpad_up,dpad_down

Awesomee


feat(feature_branch): Private Kernel Circuit

Please provide a paragraph or two giving a summary of the change, including relevant motivation and context.
Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

[ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
[ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
[ ] Every change is related to the PR description.
[ ] I have linked this pull request to relevant issues (if any exist).

Benchmark results
Metrics with a significant change:

circuit_simulation_time_in_ms (private-kernel-init): 643 (+1246%)
note_history_trial_decrypting_time_in_ms (10): 206 (+36%)
l2_block_public_tx_process_time_in_ms (128): 41,318 (-20%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit db3fa62e and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
223,008
868,100
3,448,832

l1_rollup_execution_gas
842,095
3,595,208
22,204,201

l2_block_processing_time_in_ms
1,012 (-1%)
3,924
15,268 (-1%)

note_successful_decrypting_time_in_ms
331 (-2%)
1,044
3,954

note_trial_decrypting_time_in_ms
33.0 (-15%)
107 (-1%)
137

l2_block_building_time_in_ms
9,023 (+2%)
36,406 (+2%)
148,555 (-5%)

l2_block_rollup_simulation_time_in_ms
6,680 (+2%)
27,020 (+3%)
106,651 (+2%)

l2_block_public_tx_process_time_in_ms
2,303
9,262
:warning: 41,318 (-20%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
11,381 (-6%)
21,923

note_history_successful_decrypting_time_in_ms
2,339 (-9%)
4,624 (-4%)

note_history_trial_decrypting_time_in_ms
122 (-1%)
:warning: 206 (+36%)

node_database_size_in_bytes
1,663,075
1,199,989

pxe_database_size_in_bytes
27,188
54,187

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
:warning: 643 (+1246%)
61,697
18,905

private-kernel-ordering
21.4 (-11%)
24,297
8,089

base-rollup
848 (-1%)
639,797
811

root-rollup
39.9 (+5%)
4,072
1,097

private-kernel-inner
38.3 (-13%)
81,568
18,905

public-kernel-private-input
47.2 (-1%)
41,455
18,841

public-kernel-non-first-iteration
28.5 (-10%)
41,497
18,841

merge-rollup
0.906 (+12%)
2,592
873

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
8,723
27,508


Ensure Java opts are set somewhere for daemon run

Need MEDIA_DRIVER_JAVA_OPTS to run in -server mode, and peer with -server + G1GC. I don't know if the environment variables for these are set anywhere by default - though it's probably a job of the orchestration system that you're using, in which case it probably just needs to be documented better.

Would it be sufficient to default them in the launch scripts if they are not explicitly set? Documentation around this does need to be improved.


rsyslogd: set SO_TIMESTAMP failed on '/dev/log': Invalid argument [v8.16.0]

This bug-tracker is monitored by developers and other technical types.  We like detail!  So please use this form and tell us, concisely but precisely, what's up.  Please fill out ALL THE FIELDS!
If you have a feature request, please post to the UserVoice.
If this is a console issue (a problem with layout, rendering, colors, etc.), please post to the console issue tracker.
Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues.  Instead, send dumps/traces to<EMAIL_ADDRESS>referencing the GitHub bug number. Ideally, please configure your machine to capture minidumps, repro the issue, and send the minidump from "C:\Windows\minidump".

Your Windows build number:  (Type ver at a Windows Command Prompt)
Microsoft Windows [Version 10.0.16299.248]

What you're doing and what's happening:  (Copy&paste specific commands and their output, or include screen shots)
I am looking at /var/log/syslog after restarting rsyslog distribution obtained in WSL by running
sudo apt-get rsyslog

When this software starts up the following error is written to /var/log/syslog:
Feb 19 20:00:31 LAPTOP-xxxxxxxx rsyslogd: set SO_TIMESTAMP failed on '/dev/log': Invalid argument [v8.16.0]

What's wrong / what should be happening instead:
This error should not appear unless syslog is not properly configured which evidently it is not.

Strace of the failing command, if applicable:  (If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here)
The Strace is not feasible ,the command sequence is:
sudo -i
service rsyslog restart
tail -f /var/log/syslog

See our contributing instructions for assistance.

#534


Ensure LF on checkouts and in editors

This will ensure our repo is always checked out with LF line endings which should help Windows users who have line ending normalization enabled.
Additionally, added the LF preference to .editorconfig.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@43f7b97). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #9259   +/-   ##
=========================================
  Coverage          ?   41.04%
=========================================
  Files             ?      556
  Lines             ?    72535
  Branches          ?        0
=========================================
  Hits              ?    29773
  Misses            ?    39019
  Partials          ?     3743

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 43f7b97...da10f2a. Read the comment docs.

I've had many problems in the past changing .gitattributes EOL mid-project. For automatic conversions like this, a careful configuration of all file extensions might be needed. I can't claim I'm an expert because the only way I could find to fix those problems was using brute force. 😆 My problems were not evident on the first few commits but after them.

I've had good experience so far with that setting. It should mostly be transparent. It does apply to both checkin and checkout, which is nice.


libs/utils/test: Stop Android services while running workloads

Note that if you manually stopped services before running the LISA tests, this will re-start them after running the workload. We could modify this to actually look at the services that are running before we run stop to determine if we should re-start, but I don't want to add that complexity unless it's definitely necessary.

OK I pushed a new version, this version is in Excecutor instead of LisaTest. There is an option in the test conf, i.e. you can set test_conf["confs"][i]["pause_android_services"] = False to prevent pausing services for a particular test. That means you can easily run a workload both with and without services paused.
This is sorely lacking documentation.. but looking around I've realised that LisaTest/Executor/TestEnv/target_conf/test_conf(a.k.a tests_conf) could do with a big documentation effort of which https://github.com/ARM-software/lisa/pull/219 is the first part, so I'm going to leave that documentation out for the moment and come back to it.

Pushed a new version that uses a target conf flag.. not sure if that's what you meant?

Pushed a new version that uses the cgroups freezer. We may want to wait until https://github.com/ARM-software/devlib/pull/76 is merged in devlib before merging this.

That's a way better solution and much more portable :+1:
Agree we should wait for ARM-software/devlib#76 as well as give another run of tests on different platforms... before merging it we should also cross-check the energy-model building flow

Dependencies (+ this fix) are merged but having issues getting this to work on Google Pixel

Alrighty, rebased with the logging biz and included necessary excludes for Pixel to work. Github is showing the commits in the wrong order, log actually looks like:
498cb07 tests/eas/acceptance: Use freeze_userspace flag
4c5ba74 executor: Add flag to freeze userspace while running experiments
b6c6840 submodules: Update devlib

Rebased and addressed comments.

Not sure if it's my github visualization... but it seems to me that two of the three comments (first and last) have not been addressed. Is that a push error or intentional... I'm ok to merge also as it is, the missing comments was not major concerns ;-)


NimBLE build errors (IDFGH-2891)

Module or chip used: ESP32-WROOM-32
IDF version: v4.2-dev-701-g0ae960f2fe92
Build System: CMake
Compiler version: xtensa-esp32-elf-gcc (crosstool-NG esp-2019r2) 8.2.0
Operating System: Linux
Power Supply: USB
There are some build issues with NimBLE Options:

If unchecked BT_NIMBLE_NVS_PERSIST, I got below build error:

In file included from /home/axel/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_sm.c:51:
/home/axel/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/../store/config/src/ble_store_config_priv.h:54:19: error: static declaration of 'ble_store_persist_peer_records' follows non-static declaration
static inline int ble_store_persist_peer_records(void)      { return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/axel/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_sm.c:50:
/home/axel/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_resolv_priv.h:41:5: note: previous declaration of 'ble_store_persist_peer_records' was here
int ble_store_persist_peer_records(void);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[660/1077] Building CXX object esp-idf/asio/CMakeFiles/__idf_asio.dir/asio/asio/src/asio.cpp.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

If unchecked BT_NIMBLE_SM_LEGACY, I got below build error:

/home/axel/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/bt/libbt.a(ble_hs_resolv.c.obj):(.literal.ble_hs_resolv_gen_priv_addr+0x4): undefined reference to ble_sm_alg_encrypt' /home/axel/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/bt/libbt.a(ble_hs_resolv.c.obj): in function ble_hs_resolv_gen_priv_addr':
/home/axel/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_resolv.c:377: undefined reference to ble_sm_alg_encrypt' /home/axel/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/bt/libbt.a(ble_hs_resolv.c.obj): in function ble_hs_resolv_rpa':
/home/axel/esp/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_resolv.c:685: undefined reference to `ble_sm_alg_encrypt'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

@AxelLin Thanks for reporting this issue! We will look into it and update.

@AxelLin Thanks for reporting, we have a fix which is now under internal reviewing, will update once it is available on GitHub. Thanks.

Fixed by 38fc24291418b6aa204090451c82bdba78c0ba66


Introducing Helix Routing Table Provider to track state of replicas

RoutingTableProvider based on current state is introduced to track
state of replicas in cluster.
Add IdealState listener to build partition to resource map during
initialization.
Support getting replicas in required state from specified datacenter.
This can be leveraged by router when choosing eligible replica to send
PUT/GET/DELETE request.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@b441934). Click here to learn what that means.
The diff coverage is 89.81%.

@@            Coverage Diff            @@
##             master    #1290   +/-   ##
=========================================
  Coverage          ?   72.21%
  Complexity        ?     6313
=========================================
  Files             ?      457
  Lines             ?    36270
  Branches          ?     4590
=========================================
  Hits              ?    26191
  Misses            ?     8876
  Partials          ?     1203

Impacted Files
Coverage Δ
Complexity Δ

...va/com.github.ambry.clustermap/AmbryPartition.java
78.04% <100%> (ø)
17 <2> (?)

...java/com.github.ambry/clustermap/ReplicaState.java
100% <100%> (ø)
1 <1> (?)

...b.ambry.clustermap/HelixClusterManagerMetrics.java
98.87% <100%> (ø)
19 <0> (?)

...ub.ambry.clustermap/AmbryStateModelDefinition.java
95% <100%> (ø)
2 <0> (?)

...ub.ambry.clustermap/HelixBootstrapUpgradeUtil.java
88.63% <100%> (ø)
116 <0> (?)

...in/java/com.github.ambry.clustermap/Partition.java
75.26% <22.22%> (ø)
27 <1> (?)

...m.github.ambry.clustermap/HelixClusterManager.java
88.75% <94.66%> (ø)
51 <6> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b441934...5e14885. Read the comment docs.


Add unbase64 and base64 Spark function

The Spark function unbase64 is the same as the Presto function from_base64. Similarly, the Spark function base64 is the same as to_base64 in Presto. This PR registers the Presto functions in SparkSQL.

https://spark.apache.org/docs/latest/api/sql/index.html#unbase64
https://spark.apache.org/docs/latest/api/sql/index.html#base64
https://prestodb.github.io/docs/current/functions/binary.html

@PHILO-HE Could you please review? This PR is from our discussion in https://github.com/apache/incubator-gluten/pull/5242

It seems base64 is not implemented and also similar. Do you consider adding them together?

@PHILO-HE @konjac I have addressed the review comments. Please review.

(please ignore my tagging/untagging - just testing something unrelated)

Hello @PHILO-HE @konjac @Yohahaha, could you please review the changes? Thank you.

Hi @sujithjay, I note for unbase64, possible differences between velox & spark are listed here: https://github.com/apache/incubator-gluten/pull/5242#discussion_r1559509415. Do you have any comment on that?


TooManyRequestsError doc questions (doubts)

Hello. I apologize for creating this ticket. It is not a bug but a question about using the tool.
I'm reading the doc, I even read the code a lot. However, I have doubts about the example in the documentation. After all, where is this "TooManyRequestsError" class? Was this just an example of how we should work around when a timeout occurs on the consumer?
If yes, then should I consider doing something like
try {
 // something
} catch (e: Error | any) {
    if (error.name === 'KafkaJSNumberOfRetriesExceeded') {
        consumer.pause([{ topic, partitions: [partition] }])
        setTimeout(() => {
            consumer.resume([{
                topic,
                partitions: [partition],
                ...consumerOptions
            }])
        }, 5000)
    }
}

Doc example
consumer.run({
    partitionsConsumedConcurrently: 3, // Default: 1
    eachMessage: async ({ topic, partition, message }) => {
      // This will be called up to 3 times concurrently
        try {
            await sendToDependency(message)
        } catch (e) {
            if (e instanceof TooManyRequestsError) {
                consumer.pause([{ topic, partitions: [partition] }])
                // Other partitions will keep fetching and processing, until if / when
                // they also get throttled
                setTimeout(() => {
                    consumer.resume([{ topic, partitions: [partition] }])
                    // Other partitions that are paused will continue to be paused
                }, e.retryAfter * 1000)
            }

            throw e
        }
    },
})

Thanks

Thanks for posting the question @guilherme90 , I also have the same question going by the docs.
My work has this use-case and hoping someone could provide the right direction here.

I believe the TooManyRequestsError is st that your service raises when it can't keep up with the workload. Name is just an example. Also, I'd be careful with re-throwing the error, as it counts towards the max retries, eventually causing the consumer to crash.


False positive TransactionScope.Dispose() isn't supported on Linux, MacOSX, Windows

It must be supported on at least one :)
Runs fine on windows/linux.

@jimcarley, @dmetzgar, @qizhanMS
Hi, could you as owners of System.Transactions help us identify the cases below where the APIs are actually throwing PNSE? I suspect that some throw PNSE depending on the state and/or value of parameters, but some may be complete false positives (i.e.: they never throw PNSE).
Thanks,

DocId
--
M:System.Transactions.Transaction.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
M:System.Transactions.TransactionAbortedException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
M:System.Transactions.TransactionException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
M:System.Transactions.TransactionInDoubtException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
M:System.Transactions.TransactionInterop.GetDtcTransaction(System.Transactions.Transaction)
M:System.Transactions.TransactionInterop.GetExportCookie(System.Transactions.Transaction,System.Byte[])
M:System.Transactions.TransactionInterop.GetTransactionFromDtcTransaction(System.Transactions.IDtcTransaction)
M:System.Transactions.TransactionInterop.GetTransactionFromExportCookie(System.Byte[])
M:System.Transactions.TransactionInterop.GetTransactionFromTransmitterPropagationToken(System.Byte[])
M:System.Transactions.TransactionInterop.GetTransmitterPropagationToken(System.Transactions.Transaction)
M:System.Transactions.TransactionInterop.GetWhereabouts
M:System.Transactions.TransactionManager.RecoveryComplete(System.Guid)
M:System.Transactions.TransactionManager.Reenlist(System.Guid,System.Byte[],System.Transactions.IEnlistmentNotification)
M:System.Transactions.TransactionManagerCommunicationException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
M:System.Transactions.TransactionPromotionException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
M:System.Transactions.TransactionScope.Dispose

All of the TransactionInterop methods are related to transaction promotion and distributed transactions that are not supported, so those are valid scenarios for PNSE.
TransactionManager.RecoveryComplete and TransactionManager.Reenlist are suspicious. There may be situations where they would throw PNSE, but I need to dig deeper.
For the *Exception(SerializationInfo) constructors, my first reaction is that these are false positives. But because they are serialization related, they might throw PNSE. I need to dig into this one, too.
TransactionScope.Dispose - I really think this is a false positive. But, there is a fair amount of code in that method which makes other calls. This could be a false positive because there is a call tree that leads to something that can throw PNSE. But I don't think there is a code path from TransactionScope.Dispose that leads to throwing PNSE. l need to dig into it to be sure.

Thanks for the quick reply Jim.
These were automatically detected by our scanner that look for code throwing PNSE until a certain depth from the entry points above. The tool checks if the PNSE is in a possible code branch from the entry points. In order to help evaluate the false positives we also log the corresponding method where the PNSE is throw. These may help when digging into specific entry points. I will grab that info and add it below.

That would be very helpful. Thanks.

Sorry for the delay (preemption :smile:). The table below has all the ones in which the site of the exception is not the method itself, notice the change in namespace since some methods have the same name.

DocId
Site

M:System.Transactions.TransactionInterop.GetDtcTransaction(System.Transactions.Transaction)
M:System.Transactions.Distributed.DistributedTransaction.GetDtcTransaction

M:System.Transactions.TransactionInterop.GetExportCookie(System.Transactions.Transaction,System.Byte[])
M:System.Transactions.Distributed.DistributedTransaction.GetExportCookie(System.Byte[])

M:System.Transactions.TransactionInterop.GetTransactionFromDtcTransaction(System.Transactions.IDtcTransaction)
M:System.Transactions.Distributed.DistributedTransactionManager.GetTransactionFromDtcTransaction(System.Transactions.IDtcTransaction)

M:System.Transactions.TransactionInterop.GetTransactionFromExportCookie(System.Byte[])
M:System.Transactions.Distributed.DistributedTransactionManager.GetTransactionFromExportCookie(System.Byte[],System.Guid)

M:System.Transactions.TransactionInterop.GetTransactionFromTransmitterPropagationToken(System.Byte[])
M:System.Transactions.Distributed.DistributedTransactionManager.GetDistributedTransactionFromTransmitterPropagationToken(System.Byte[])

M:System.Transactions.TransactionInterop.GetTransmitterPropagationToken(System.Transactions.Transaction)
M:System.Transactions.Distributed.DistributedTransaction.GetTransmitterPropagationToken

M:System.Transactions.TransactionInterop.GetWhereabouts
M:System.Transactions.Distributed.DistributedTransactionManager.GetWhereabouts

M:System.Transactions.TransactionManager.RecoveryComplete(System.Guid)
M:System.Transactions.Distributed.DistributedTransactionManager.ResourceManagerRecoveryComplete(System.Guid)

M:System.Transactions.TransactionManager.Reenlist(System.Guid,System.Byte[],System.Transactions.IEnlistmentNotification)
M:System.Transactions.Distributed.DistributedTransactionManager.ReenlistTransaction(System.Guid,System.Byte[],System.Transactions.RecoveringInternalEnlistment)

M:System.Transactions.TransactionScope.Dispose
M:System.Transactions.EnterpriseServices.ThrowNotSupported

Thanks. This saved me a lot of time.
As I said earlier, all of the TransactionInterop calls will throw PNSE. That I am sure of.
For TransactionManager.RecoveryComplete and TransactionManager.Reenlist, those code paths would only execute if you ever connected to a distributed transaction manager, but that currently won't happen. So those two are really false positives because distributed transactions are not allowed and thus you would never connect to a distributed transaction manager.
For TransactionScope.Dispose, the code path that would lead to calling into EnterpriseServices.ThrowNotSupported won't execute, so that is a false positive. That code path would only happen if the creation of the TransactionScope successfully used EnterpriseServicesInteropOption, but that is disallowed at the outset. So Dispose won't throw PNSE.
Unfortunately, I don't see the "Site" for the *Exception(SerializationInfo) issues. Do you have those?

The tool lists then as the same but actually what is going on is that they go to the base type constructor with the same signature. I am suspecting that this was something throwing PNSE at time of 2.0 but now it is not anymore. @danmosemsft may know something about the history of these PNSE related to serialization. Meanwhile I will look at the 2.0 sources to try to confirm.

Actually the serialization ones were throwing PNSE but with commit e3f74deb999571d3f34a6b2b8011caebcf06dbfc they were fixed in master, however, they are still present on release/2.0.0. Example

Okay. That sort of explains it. Transaction serialization is not supported in core. But actually I don't think that precludes TransactionException and its derived classes from being serializable. So that commit was actually a good thing.
Bottom line - there were a few false positives in your list - TransactionScope.Dispose, TransactionManager.Reenlist, and TransactionManager.RecoveryComplete.


Audit tests using nock .isDone

Assert that the .isDone response is being checked or replace with .done
https://github.com/nock/nock#isdone

The nock scope in this test is not being called and can be removed
https://github.com/interledger/rafiki/blob/c8d42f60386d1c5a0e387c4e8bd30d6f74846f41/packages/auth/src/signature/middleware.test.ts#L338


Add additional metrics to language server

Adds the following metrics to the language server:

Runtime of the three core LSPTask phases (preprocess, index, and run) tagged by LSP method.
Runtime of LSPLoop::sendCountersToStatsd
Runtime of LSPDangerousTypecheckerTask::runSpecial (which is used for slow path, initialization, etc).
last_diagnostic_latency, which is meant to capture the latency between making an edit and receiving all errors for that edit.
lsp.messages.canceled is now parameterized by the method of the message.

Fixes the following metrics:

Does not credit calls to LSPTypechecker::retypecheck as a fast path typecheck. Prevents code actions from artificially inflating the % of edits that take fast/slow path.
Tags SorbetWorkspaceEdit latency with the path the edit took.

Removes the following metrics:

lsp.messages.received, as it basically mirrors the processed metric now.

Motivation

Improving metrics for the language server.
Test plan

N/A

Ah, I didn't see those. I'll look into them now.

I had to add null checks for latencyTimer.


Better Active state checking

I've added the ability to store the route name that is passed to the item and a corresponding getter method, so that you can check in the ActiveStateChecker if the current matched route is the one for the route.
Personally I'm using named routes a lot and when I create my sidebars I add the items using named routes, but the check for active state is failing when I have query parameters attached to the page - like for sorting or filtering data and the item in the sidebar is not set as active.
Also I guess this is a better way to check, rather than trying to partially match the current url. :)

please accept this pull request. This makes things easier!

I know this is long ago, but can you provide an example of how you use it?

I know this is long ago, but can you provide an example of how you use it?

On the Item class, instead of calling url(), you call the route() method. The other way to do it currently is to use ->url(route('...')), but it's not that clean and what I liked about this package was the API and expressive way of use.
`
class AppSidebar implements SidebarExtender
{
/**
* @param Menu $menu
*
* @return Menu
*/
public function extendWith(Menu $menu)
{
$menu->group('Dashboard', function(Group $group) {
        $group->item('Users', function(Item $item) {
            $item->icon('fa fa-users');
            $item->route('users.index');
        });

    return $menu;
}

}
`

And on the Travis build failing, it seems to be issue on their end, maybe a change of the config for the project would fix this - https://travis-ci.community/t/php-5-4-and-5-5-archives-missing/3723/4


add tzdata

[x] I have thoroughly tested my contribution.
[x] The code changes are reflected in the documentation README.md.

Add

use env TZ  to set timezone

docker run --rm --env TZ=Asia/Shanghai  emqttd:[version]

@wuxingzhong
Sorry for the late reply.
Could you help to rebase on latest emqx-30 branch ?

@wuxingzhong , rebase to  emqx30 branch, not tag v2.3.4

I've  created a new pr


Cypress e2e PF6 fixes

https://issues.redhat.com/browse/RHOAIENG-16583
Description
This PR Contains the fixes needed in order to make the e2e Cypress run properly.
How Has This Been Tested?
...job/cypress/job/dashboard-tests/120:

The Test that it's failing is due to RHOAIENG-16609
Test Impact
Just the e2e has been reviewed
Request review criteria:
I'm open to review and critics. Please be gentle.
Self checklist (all need to be checked):a

[x] The developer has manually tested the changes and verified that the changes work
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

Another test is also failing - clusterStorage.cy.ts Can that also be checked please?

Another test is also failing - clusterStorage.cy.ts Can that also be checked please?

This test is failing because there's a bug: RHOAIENG-16609

This test is failing because there's a bug: RHOAIENG-16609

Thanks for reporting this bug that was found via Cypress E2E!
Until we add a common annotation for "known bugs", please add to the relevant E2E test that failed due to this bug a message like cy.STEP("Product Bug: RHOAIENG-16609")

/approved


Base icon covering first few generatePointsCircle() marker

[x] I'm reporting a bug, not asking for help
[x] I'm sure this is a Leaflet.MarkerCluster code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
[x] I've searched through the issues to make sure it's not yet reported

What behaviour I'm expecting and which behaviour I'm seeing
Hovering over the first few points generated by the spider circle, the on-hover popup text is blocked by the default faded cluster icon.
As others have mentioned, you can bypass this by extending the distance of the legs to 2x multiplier, but we would like to keep the distance set at 1.
Are there any ways around this? (without touching the source code)
Minimal example reproducing the issue
The image below is set to 1.5x distance:

If you move the mouse slightly passed the icon, the popup text appears.
Thanks.

Hi,
Which version of Leaflet.markercluster plugin are you using?
This issue is supposed to be fixed with PR https://github.com/Leaflet/Leaflet.markercluster/pull/846, shipped since v1.3.0.
With this version, no spiderfyDistanceMultiplier specified and with default Circle Marker radius of 10px, the first marker is not clickable on its right half, but its centre and left half are normally clickable.
Live example: https://plnkr.co/edit/Ldq4XiJa7UdnGWw9cUYN?p=preview
(you can uncomment the spiderfyDistanceMultiplier option to see the difference with your screenshot)

Ah, sorry about that, should have looked a little harder through previous issues.
Looks like the package.json semver blocked the update:
"leaflet.markercluster": "~1.2.0",
Thank you for the help


Blog not updated for Months

Hiya
Can you please indicate a roadmap for Middleman - the Blog is a massive part of the ecosystem of this product, but it has not been updated for months, and there are many outstanding issues and pull requests.
Would be nice to give the users / community an update on this.
Appreciate everyones efforts with Middleman, but if its no longer being looked after then I need to do due diligence on looking at other products also.
Ian

Message from Thomas
https://github.com/middleman/middleman/issues/1883#issuecomment-278090878

+1
I am experimenting with Middleman for my next project and so far prefer it over other platforms but since I am building a blog project the lack of activity here is getting me like super down man.


storage: avoid leaking FlowController channel in tests

What problem does this PR solve?
Issue Number: close #11218
What is changed and how it works?
This PR changes tx in FlowController to use an Option. The related code is not in critical paths, so no worries about performance regressions.
Check List
Tests

Existing tests.

Release note
None.

/merge


disable=import-error in .pylintrc seems to be ignored

Am I thinking wrong? Perhaps it's not possible to ignore errors like [pylint] E0401:Unable to import 'django.contrib.sites.shortcuts' using .pylintrc? Everything else I put in the disable= sections seems to be working.
Environment data
VS Code version:  1.20.1
Python Extension version:  2018.1 (01 Feb 2018)
Python Version:   2.7, 3.6
OS and version:    Windows 10 Home 1709 16299.248
Actual behavior
Unable to import errors are shown, even though the following is set in .pylintrc
[MESSAGES CONTROL]
disable=import-error
Expected  behavior
Errors should be ignored
Steps to reproduce:

Develop locally, server on Virtualbox without remotr debugging, therefore I need to ignore the imports

Logs
Output from Python output panel
1,0,error,E0401:Unable to import 'django.db.models'
2,0,error,E0401:Unable to import 'django.conf'
3,0,error,E0401:Unable to import 'django.contrib.auth.models'
etc.

Output from Console window (Help->Developer Tools menu)

Thank you!

See https://github.com/Microsoft/vscode-python/issues/788
You can set pyLintUseMinimalCheckers to false as a workaround

You can set pyLintUseMinimalCheckers to false as a workaround
See #788
Thanks

Thank you! It drove me crazy!


ui/title-bar-buttons: The window titlebar buttons disappear.

Lapce Version
Nightly - e416688
System information
Fedora 36
Describe the bug
Window buttons disappear when the windows are resized into smaller window, and when maximized the minimized button disappears.
Additional information

Lapce screenshot

Fixed by #1562

Fixed by #1562

okay, thanks @panekj. I'll close this now.


[Tutorial] Add PyTorch Histology interactive API tutorial

New long-living-entities-based tutorial for Histology dataset

Model and data loading is taken from the torch_cnn_histology workspace.

Removed CLI-based tutorial for Histology dataset

Jenkins please retry a build


Update dependencies

Github was complaining about dependency vulnerabilities, and when I pulled the code I found that I could not even build it anymore.
I don't know if this code is worth such efforts, but it was fun to make it build again.
I updated things enough to make it work with Gulp 4 and pushed new release code.
You can play my version here and compare to yours if you are dedicated enough to test the results:
http://chrisl8.github.io/ICTjam1/release/index.html
One thing I wasn't sure about was why the default build process put everything in the dist folder, when the obvious location of the built code on Github was release, so I changed the destination in the build config to make it consistent. This may or may not have been what you had in mind, but it works for me.
There are other deprecated libraries and config things, but this PR is enough to make Github stop flagging vulnerabilities and to make it possible to build the code with the current Node LTS release.

Cool, this thing is just as anoying as I remember lol


Show toast for errors

Overview
Shows toast for errors triggered by user actions (e.g. the "Accept" button) on the project screen screen as well as for failed API resource requests throughout the application (e.g. a 502 downloading the region configs, which will leave the "District" dropdown empty).
Checklist

[x] Description of PR is in an appropriate section of CHANGELOG.md and grouped with similar changes, if possible

Demo
Failure to save project changes:

Failure to download project data (e.g. /geojson endpoint returns a 502):

Failure to download region configs:

Notes
@tgilcrest Note the different message used for failures when loading the page "Something went wrong, please refresh the page".
We'd probably prefer to not leave the page in a potentially broken state and instead redirect to a dedicated error page like Github's https://github.com/503.html , but this was easy to do while I was working on this feature and seemed like a good bandaid for now.
Testing Instructions

scripts/update
Loading the a page after the webpack server was up but while the Nest server was still coming up was a reliable way for me to test resources failing to load.
I simply turned off my server or used the Network tab to switch to "Offline" to test error handling for the "Accept" button

Closes #188

Awesome, glad we can catch these errors now.
A couple of questions:

Does the message disappear when you click "Accept" again and the request succeeds? (In the other case, I assume it disappears when you refresh the page)
Do these messages have any animation or do they just appear on the screen?

One request:

Could you make the notification wide enough so the "refresh the page" message doesn't break onto 2 lines?

A couple of questions:

Does the message disappear when you click "Accept" again and the request succeeds? (In the other case, I assume it disappears when you refresh the page)
Do these messages have any animation or do they just appear on the screen?

No, the messages dissapear after a short timeout, or when you click the "x" button. There is a fade in/out animation.

Could you make the notification wide enough so the "refresh the page" message doesn't break onto 2 lines?

:+1: will do

No, the messages dissapear after a short timeout, or when you click the "x" button. There is a fade in/out animation.
What happens in the unlikely event that they get two of these in a row? Is it clear that the error occurred again rather than the notification hasn't timed out yet? Could we make it so the notification is removed when you hit "Accept" again, if it's easy? If it's not really easy then we can just leave it as is.


Display total Org users and total Org plans statistics on the Usage s…

Fixes # 1760.
Changes proposed in this PR:

Added functionality to display the Org User and plans totals.

Updated code and moved from inline-styling to using css.

@briri Updated code as suggested and forced pushed. So previous commit no longer present.

looks good @johnpinto1. Thanks!


Feature/raygun

I don't want to merge this PR until I know for sure that we get a free license since we are open source.

nice. Looks cool

any word?

No response yet about it.
On Monday, March 30, 2015, Bobby Hubbard<EMAIL_ADDRESS>wrote:

any word?
—
Reply to this email directly or view it on GitHub
https://github.com/NetworkActionGroup/nagadmin/pull/23#issuecomment-87896341
.

--
Concentrate on the solution, not the problem.


Support for task variables

My use case is pretty straight forward (I think). I generate an image version dynamically and export it as a task variable.
- powershell:  ##vso[task.setvariable variable=image_version]$ImageVersion
- task: replacetokens@6
  inputs:
    sources: 'values.pkrvars.hcl'
    additionalVariables: 'image_version: $(image_version)'
    logLevel: 'debug'

Is something like this possible? Or am I not reading the docs right?

Hi @qetza,
That was indeed the issue and for reference your library will indeed also look at the task variables for token subsitution!
Thank you very much for you support!


Add xcodePath configuration for run-ios command

Summary:
React Native is currently hardcoding the iOS application path to build/Build/Products, which I believe is applicable if you have an Xcode Workspace, but a react-native init {ProjectName} will not.  The default application path for Xcode Projects is build/Products as of version 8.  I believe this is the cause for a lot of programmers believing the recent React Native release does not work.  Here are some reference cases:
7308
1040
so1
so2
Currently the only way to resolve this issue:
Setup Xcode to match React Native's hard coded values.
Select: File > Workspace Settings, Advanced, Custom, and enter build/Build/Products

This PR changes the default application path to build/Products and allows programmers to set a configurable xcodePath from the command line.
react-native run-ios --xcodePath 'build/Products'
This also updates the documentation:
Troubleshooting
RunningOnSimulatorIOS

Hi, I keep getting this error ":CFBundleIdentifier , Does Not Exist".
The versions I use :
react-native-cli: 2.0.1
react-native: 0.40.0
npm 4.0.5
node v7.4.0
Mac OS 10.10.5
Xcode 7.2.1
WebStorm 2016.3.2
So  I proceeded with different solutions:

killing all the processes using port 8081 and resetting the port number

verifying that this Bundle already exist in my info.plist

changing the debug mode

Using this solution mentioned in this issue

But none of this solutions worked for me .So, I changed my project in the same way as Xcode suggested me to (I know it's not the perfect solution for me and ) and attached is a picture explaining it more.
I know that this is temporary solution and I'm afraid that it will cause me some problems in the future , as I'm still a beginner and it's my first time using react-native to create iOS apps.
So, does anyone have any idea or possible solution .. Thanks

@haifaGh You need to change the path of your app file to match Facebook's CLI path.
Setup Xcode to match React Native's hard coded values.
Select: File > Workspace Settings, Advanced, Custom, and enter build/Build/Products
See image above.

@charlle thank you for your help .. I tried that but it didn't solve the problem :(

@haifaGh you changed the Products path in your photo to build/Build/Products?

Thank you.. I already solved my problem by updating the Mac Os version to 10.12.3 and the Xcode to 8.2.1 .. everything runs perfectly now :)

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with Canny! Check out its new home: https://react-native.canny.io/feature-requests/p/add-xcodepath-configuration-for-run-ios-command

Looks reasonable to me.
@charlle Could you please resolve conflicts?

I am still getting this issue. I am surprised to see its such a old issue and yet not fixed.
$ node -v
v9.5.0
$ npm -v
5.6.0
$ react-native -v
react-native-cli: 2.0.1
react-native: 0.51.0

Got the pathname problem resulting in ":CFBundleIdentifier, does not exist" too after addressing the initial Analyze errors with @mhorowitz's workaround in #14423. The mismatch of paths build/Products vs build/Build/Products was pretty clear based on the PListBuddy command.
I used @charlie's suggestion to change the paths except I did it in the Project Settings... rather than Workspace Settings.
That didn't seem to work at first, but eventually got further when I switched between react-native run-ios --configuration Release vs Debug. It also continued getting further once I set the build location back to "Xcode default" so maybe something gets sticky in the settings when upgrading Xcode over the years and it needs to be reset.
Now hitting this error:
An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=1):
This app could not be installed at this time.
Underlying error (domain=MIInstallerErrorDomain, code=4):
	Failed to chmod /Users/jdonald/Library/Developer/CoreSimulator/Devices/36A27A71-C0E8-40D7-A644-C0930E56B109/data/Library/Caches/com.apple.containermanagerd/Bundle/Application/4AB34A7F-CE56-4029-921E-5E7686888568/AppName.app/$(EXECUTABLE_NAME) : No such file or directory
Launching org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)

(because that long garbage path doesn't appear to exist)
Maybe someone can tell me if there already exists a ticket for that one before I file a new one, but this is already three levels deep for a user simply trying to get run-ios to work.
node v9.10.1
npm 5.6.0
react-native-cli: 2.0.1
react-native: 0.55.1
Xcode 9.3

rather than trying to resolve this issue with a pull request, a documentation guide exaplaining how react native handles it's under the hood paths which collide with native projects, seems to be particularly an issue if your react native project is not a workspace. Maybe all react native projects should be workspaces and that should be recommended in  or  on the website

Thank you so much. It finally worked.

@osmanyz it worked how?


endpoints: Migrate to typed_endpoint.

Migrate tornado/views.py, user_settings.py,
events_register.py and zilencer/views.py to typed_endpoint.
Remove unused validators and unused openapi tests.

Merged, thanks @kennethnrk!


Zendesk Connector on Control Center

[In progress]

FIGMA RESOURCES:
https://www.figma.com/file/lbSul9kFAsqJct69KAWr9b/Enable%2FDisable-Component-Flows?node-id=317%3A92


Implement visit_JoinedStr

test case:
a = 10
print(f"{a}")

Duplicate of https://github.com/adsharma/py2many/issues/74


feat: Change types from ethers types to alloy types in cheatcodes

This is a draft PR for the issue #606
It seems like BlockId enum is no longer supported in alloy types. https://github.com/primitivefinance/arbiter/blob/c6ea6ab526afc1d9e349a501d2213d2b2d34115f/arbiter-core/src/environment/cheatcodes.rs#L28C9-L28C9
So what should be the approach here? Should I create a enum that wrappes both BlockHash and BlockNumber or do something else for that?

lgtm too.
Tests failing is not your problem. That's ours. I'll merge this now.
Good work @quidproquoo


Use Proxy only for retrieving urls path

Checklist

[x ] I'm reporting a feature request
[x ] I've verified that I'm running youtube-dl version 2021.06.06
[x ] I've searched the bugtracker for similar feature requests including closed ones

Description

Hello,
it will be cool, when youtube-dl can only use the proxys for retrieving the url path. An option like this: --proxy-only-urls or so.
This feature will be primarly for youtube.
thx

There is already a --geo-verification-proxy option that specifies a proxy to be used by certain extractors for operations that are known to be geo-blocked.
If what you want is always to download the media link directly after running the extraction via the proxy, a way of doing that exists already:

configure yt-dl to use your proxy with --proxy ...;
use --external_downloader ... (say with ffmpeg);
don't specify a proxy for the external downloader (you may have to unset some environment variable);
go.

Perhaps we should allow yt-dl to be its own external downloader.

Hello @dirkf ,
its a very good tip, thx. It's functioned.
The geo-blocker-proxy is unfotunaly only for retrieve urls when its's geo-blocked-url. I have the problem that the isp-youtube-proxy is very slow, why my isp-youtube-proxy only cache first downloaded videos and i must retry a few time for getting high speed. Thats why is use --proxy when i use mpv<->youtube-dl and the given url has much more speed and mpv don't use a proxy. Here in my country most isp slow down youtube:).
At this moment, when i want to download and not only viewing with mpv, i use your solution.
thx


[Table] table-wrapper overridable inline styles

The wrapper element of Table could only be styled with css classes. Now they can be styled inline as well.

@subjectix With other components, we use the style property for the root element. Here it's not the case.
(before your PR).
Anyway, thanks.

Yeah I noticed it while I was trying to add min-height to the table. I only named it wrapperStyle for the sake of consistency with the css class name.


Authentication support

Add authentication schemes support for simplified authentication

[ ] Basic Auth
[ ] JWT Bearer Token

https://httpie.io/docs#authentication
https://github.com/teracyhq/httpie-jwt-auth

# Basic auth
http -a uid:pwd :5000/api/vaules

# JWT
http -A jwt -a <token> :5000/api/values

# JWT
http -A jwt -a <token> :5000/api/values