"analysis.extraPaths" no longer working?

As of this morning neither Pyright nor BasedPyright can resolve packages in "analysis.extraPaths".
Everything was functional last night 😢
I have tried re-installing both as well as LSP and the troubleshoot server shows no issues.
I didn't see any update in sublime this morning so not sure what the issue could be?

so how do youbset it? what is its value? what is your working environment, directory strucute etc?

No errors that I can see.
The paths are set in the sublime-project and are hard coded to avoid relative pathing issues:
"settings":
{
    "LSP": {
        "LSP-basedpyright": {
            "settings": {
                "basedpyright.analysis.extraPaths": [
                    "D:/p4/tools/dcc_tools/ayon/stubs",
                    "D:/p4/tools/dcc_tools/ayon/ayon-core/.venv/Lib/site-packages",
                    "D:/p4/tools/dcc_tools/ayon/ayon-launcher/.venv/Lib/site-packages",
                    "D:/p4/tools/dcc_tools/ayon/ayon-version-control/.venv/Lib/site-packages",
                    "D:/p4/tools/dcc_tools/ayon/ayon-dependencies-tool/.venv/Lib/site-packages",
                    "D:/p4/tools/dcc_tools/ayon/ayon-backend",
                    "D:/p4/tools/dcc_tools/ayon/ayon-core/client",
                    "D:/p4/tools/dcc_tools/ayon/ayon-applications/client",
                    "D:/p4/tools/dcc_tools/ayon/ayon-version-control/client",
                ],
            },

            "enabled": true,
        },
        "LSP-pyright": {
            "settings": {
                "python.analysis.extraPaths": [
                    "D:/p4/tools/dcc_tools/ayon/stubs",
                    "D:/p4/tools/dcc_tools/ayon/ayon-core/.venv/Lib/site-packages",
                    "D:/p4/tools/dcc_tools/ayon/ayon-launcher/.venv/Lib/site-packages",
                    "D:/p4/tools/dcc_tools/ayon/ayon-version-control/.venv/Lib/site-packages",
                    "D:/p4/tools/dcc_tools/ayon/ayon-dependencies-tool/.venv/Lib/site-packages",
                    "D:/p4/tools/dcc_tools/ayon/ayon-backend",
                    "D:/p4/tools/dcc_tools/ayon/ayon-core/client",
                    "D:/p4/tools/dcc_tools/ayon/ayon-applications/client",
                    "D:/p4/tools/dcc_tools/ayon/ayon-version-control/client",
                ],
            },

            "enabled": false,
        },
        "LSP-ruff": {
            "initializationOptions": {
                "settings": {
                    "configuration": "D:/p4/tools/dcc_tools/ayon/ayon-core/pyproject.toml",
                    "organizeImports": false,
                },
            },
        },
    }
}

Output of troubleshooting:
Troubleshooting: LSP-basedpyright
Version

LSP: 2.2.0
Sublime Text: 4180

Server Test Run

exit code: 0
output

Server Configuration

command

[
  "${node_bin}",
  "${server_path}",
  "--stdio"
]

shell command

"C:\Users\Shea.Richardson\AppData\Local\Sublime Text\Package Storage\lsp_utils\node-runtime\18.18.1\node\node.exe" "C:\Users\Shea.Richardson\AppData\Local\Sublime Text\Package Storage\LSP-basedpyright\18.18.1\language-server\node_modules\basedpyright\langserver.index.js" --stdio

selector

source.python

priority_selector

source.python

init_options

{}

settings

{
  "basedpyright": {
    "analysis": {
      "autoImportCompletions": true,
      "autoSearchPaths": true,
      "diagnosticMode": "openFilesOnly",
      "diagnosticSeverityOverrides": {
        "reportDuplicateImport": "warning",
        "reportImplicitStringConcatenation": "warning",
        "reportMissingModuleSource": "none",
        "reportUnboundVariable": "warning",
        "reportUnusedClass": "information",
        "reportUnusedFunction": "information",
        "reportUnusedImport": "information",
        "reportUnusedVariable": "information"
      },
      "extraPaths": [
        "D:/p4/tools/dcc_tools/ayon/stubs",
        "D:/p4/tools/dcc_tools/ayon/ayon-core/.venv/Lib/site-packages",
        "D:/p4/tools/dcc_tools/ayon/ayon-launcher/.venv/Lib/site-packages",
        "D:/p4/tools/dcc_tools/ayon/ayon-version-control/.venv/Lib/site-packages",
        "D:/p4/tools/dcc_tools/ayon/ayon-dependencies-tool/.venv/Lib/site-packages",
        "D:/p4/tools/dcc_tools/ayon/ayon-backend",
        "D:/p4/tools/dcc_tools/ayon/ayon-core/client",
        "D:/p4/tools/dcc_tools/ayon/ayon-applications/client",
        "D:/p4/tools/dcc_tools/ayon/ayon-version-control/client"
      ],
      "logLevel": "Information",
      "stubPath": "./typings",
      "typeCheckingMode": "standard",
      "typeshedPaths": [],
      "useLibraryCodeForTypes": true
    },
    "dev_environment": "",
    "disableLanguageServices": false,
    "disableOrganizeImports": false
  },
  "python": {
    "pythonPath": "D:\\uuid\\Scripts\\python.exe",
    "venvPath": ""
  },
  "statusText": "{% set parts = [] %}{% if server_version %}{% do parts.append('v' + server_version) %}{% endif %}{% if venv %}{% do parts.append('venv: ' + venv.venv_prompt) %}{% do parts.append('py: ' + venv.python_version) %}{% do parts.append('by: ' + venv.finder_name) %}{% endif %}{{ parts|join('; ') }}",
  "venvStrategies": [
    "local_dot_venv",
    "env_var_conda_prefix",
    "env_var_virtual_env",
    "rye",
    "poetry",
    "pdm",
    "hatch",
    "pipenv",
    "pyenv",
    "any_subdirectory"
  ]
}

env

{
  "PATH": "C:\\Users\\Shea.Richardson\\AppData\\Local\\Sublime Text\\Package Storage\\lsp_utils\\node-runtime\\18.18.1\\node;"
}

Active view

File name

D:\p4\tools\dcc_tools\ayon\ayon.sublime-project

Settings

{
  "auto_complete_selector": "meta.tag, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc",
  "lsp_active": true,
  "syntax": "Packages/JSON/JSON.sublime-syntax"
}

base scope

source.json

Project / Workspace

folders

[
  "D:\\p4\\tools\\dcc_tools\\ayon"
]

is project: True
project data:

{
  "folders": [
    {
      "path": "D:/p4/tools/dcc_tools/ayon"
    }
  ],
  "settings": {
    "LSP": {
      "LSP-basedpyright": {
        "enabled": true,
        "settings": {
          "basedpyright.analysis.extraPaths": [
            "D:/p4/tools/dcc_tools/ayon/stubs",
            "D:/p4/tools/dcc_tools/ayon/ayon-core/.venv/Lib/site-packages",
            "D:/p4/tools/dcc_tools/ayon/ayon-launcher/.venv/Lib/site-packages",
            "D:/p4/tools/dcc_tools/ayon/ayon-version-control/.venv/Lib/site-packages",
            "D:/p4/tools/dcc_tools/ayon/ayon-dependencies-tool/.venv/Lib/site-packages",
            "D:/p4/tools/dcc_tools/ayon/ayon-backend",
            "D:/p4/tools/dcc_tools/ayon/ayon-core/client",
            "D:/p4/tools/dcc_tools/ayon/ayon-applications/client",
            "D:/p4/tools/dcc_tools/ayon/ayon-version-control/client"
          ]
        }
      },
      "LSP-pyright": {
        "enabled": false,
        "settings": {
          "python.analysis.extraPaths": [
            "D:/p4/tools/dcc_tools/ayon/stubs",
            "D:/p4/tools/dcc_tools/ayon/ayon-core/.venv/Lib/site-packages",
            "D:/p4/tools/dcc_tools/ayon/ayon-launcher/.venv/Lib/site-packages",
            "D:/p4/tools/dcc_tools/ayon/ayon-version-control/.venv/Lib/site-packages",
            "D:/p4/tools/dcc_tools/ayon/ayon-dependencies-tool/.venv/Lib/site-packages",
            "D:/p4/tools/dcc_tools/ayon/ayon-backend",
            "D:/p4/tools/dcc_tools/ayon/ayon-core/client",
            "D:/p4/tools/dcc_tools/ayon/ayon-applications/client",
            "D:/p4/tools/dcc_tools/ayon/ayon-version-control/client"
          ]
        }
      },
      "LSP-ruff": {
        "initializationOptions": {
          "settings": {
            "configuration": "D:/p4/tools/dcc_tools/ayon/ayon-core/pyproject.toml",
            "organizeImports": false
          }
        }
      }
    }
  }
}

LSP configuration
{
  "diagnostics_additional_delay_auto_complete_ms": 0,
  "diagnostics_delay_ms": 0,
  "diagnostics_gutter_marker": "dot",
  "diagnostics_highlight_style": {
    "error": "squiggly",
    "hint": "underline",
    "info": "underline",
    "warning": "squiggly"
  },
  "diagnostics_panel_include_severity_level": 4,
  "document_highlight_style": "underline",
  "inhibit_snippet_completions": false,
  "inhibit_word_completions": true,
  "log_debug": false,
  "log_max_size": 8192,
  "log_server": [],
  "lsp_code_actions_on_save": {
    "source.organizeImports": true
  },
  "lsp_format_on_save": false,
  "on_save_task_timeout_ms": 2000,
  "popup_max_characters_height": 1250,
  "popup_max_characters_width": 100,
  "semantic_highlighting": false,
  "show_code_actions": "annotation",
  "show_code_actions_in_hover": true,
  "show_code_lens": "annotation",
  "show_diagnostics_count_in_view_status": false,
  "show_diagnostics_in_view_status": true,
  "show_diagnostics_panel_on_save": 0,
  "show_diagnostics_severity_level": 4,
  "show_multiline_diagnostics_highlights": true,
  "show_references_in_quick_panel": false,
  "show_symbol_action_links": true,
  "show_view_status": true
}

System PATH

C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Windows\System32\OpenSSH\
C:\Program Files\dotnet\
C:\Program Files\Perforce\
C:\Program Files\Common Files\Autodesk Shared\
C:\Program Files\Docker\Docker\resources\bin
C:\Program Files\Git\cmd
C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\
C:\Program Files\PowerShell\7\
D:\p4\tools\dcc_tools\mg_tools_standalone\python.envs.poetry\bin\
D:\p4\tools\dcc_tools\mg_tools_standalone\python.envs.pyenv\pyenv-win\bin
D:\p4\tools\dcc_tools\mg_tools_standalone\python.envs.pyenv\pyenv-win\shims
C:\Program Files\WindowsApps\Microsoft.OutlookForWindows_1.2024.111.100_x64__8wekyb3d8bbwe
C:\Users\Shea.Richardson.dotnet\tools
C:\Users\Shea.Richardson\AppData\Local\Microsoft\WindowsApps
C:\Users\Shea.Richardson\AppData\Local\Programs\Microsoft VS Code\bin
C:\Program Files\CMake\bin

So ayon_core is in "D:/p4/tools/dcc_tools/ayon/ayon-core/client" but it cannot be resolved even though the path is in "extraPaths"

Oops. I thought it's pythonPath. We hardly change analysis.extraPaths.

Wrong repo for filing an issue? since you are using basedpyright.

Didn't see any "path" mentioned in the pyright changelog. My pylance still works well.

Wrong repo for filing an issue? since you are using basedpyright.

It is broken for both pyright and basedPyright and as based is a fork of pyright I figured made more sense here?
It is very strange - everything was fine last night before I shut down, this morning it is borked :(
Here is the pyright output:
Troubleshooting: LSP-pyright
Version

LSP: 2.2.0
Sublime Text: 4180

Server Test Run

exit code: 0
output

Server Configuration

command

[
  "${node_bin}",
  "${server_path}",
  "--stdio"
]

shell command

"C:\Users\Shea.Richardson\AppData\Local\Sublime Text\Package Storage\lsp_utils\node-runtime\18.18.1\node\node.exe" "C:\Users\Shea.Richardson\AppData\Local\Sublime Text\Package Storage\LSP-pyright\18.18.1\language-server\node_modules\pyright\langserver.index.js" --stdio

selector

source.python

priority_selector

source.python

init_options

{}

settings

{
  "pyright": {
    "dev_environment": "",
    "disableLanguageServices": false,
    "disableOrganizeImports": false
  },
  "python": {
    "analysis": {
      "autoImportCompletions": true,
      "autoSearchPaths": true,
      "diagnosticMode": "openFilesOnly",
      "diagnosticSeverityOverrides": {},
      "extraPaths": [
        "D:/p4/tools/dcc_tools/ayon/stubs",
        "D:/p4/tools/dcc_tools/ayon/ayon-core/.venv/Lib/site-packages",
        "D:/p4/tools/dcc_tools/ayon/ayon-launcher/.venv/Lib/site-packages",
        "D:/p4/tools/dcc_tools/ayon/ayon-version-control/.venv/Lib/site-packages",
        "D:/p4/tools/dcc_tools/ayon/ayon-dependencies-tool/.venv/Lib/site-packages",
        "D:/p4/tools/dcc_tools/ayon/ayon-backend",
        "D:/p4/tools/dcc_tools/ayon/ayon-core/client",
        "D:/p4/tools/dcc_tools/ayon/ayon-applications/client",
        "D:/p4/tools/dcc_tools/ayon/ayon-version-control/client"
      ],
      "logLevel": "Information",
      "stubPath": "./typings",
      "typeCheckingMode": "standard",
      "typeshedPaths": [],
      "useLibraryCodeForTypes": true
    },
    "pythonPath": "D:\\uuid\\Scripts\\python.exe",
    "venvPath": ""
  },
  "statusText": "{% set parts = [] %}{% if server_version %}{% do parts.append('v' + server_version) %}{% endif %}{% if venv %}{% do parts.append('venv: ' + venv.venv_prompt) %}{% do parts.append('py: ' + venv.python_version) %}{% do parts.append('by: ' + venv.finder_name) %}{% endif %}{{ parts|join('; ') }}",
  "venvStrategies": [
    "local_dot_venv",
    "env_var_conda_prefix",
    "env_var_virtual_env",
    "rye",
    "poetry",
    "pdm",
    "hatch",
    "pipenv",
    "pyenv",
    "any_subdirectory"
  ]
}

env

{
  "PATH": "C:\\Users\\Shea.Richardson\\AppData\\Local\\Sublime Text\\Package Storage\\lsp_utils\\node-runtime\\18.18.1\\node;"
}

Active view

File name

D:\p4\tools\dcc_tools\ayon\ayon-version-control\client\version_control\tools\workfiles\widgets\files_widget_workarea.py

Settings

{
  "auto_complete_selector": "meta.tag, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc",
  "lsp_active": true,
  "syntax": "Packages/Python/Python.sublime-syntax"
}

base scope

source.python

Project / Workspace

folders

[
  "D:\\p4\\tools\\dcc_tools\\ayon"
]

is project: True
project data:

{
  "folders": [
    {
      "path": "D:/p4/tools/dcc_tools/ayon"
    }
  ],
  "settings": {
    "LSP": {
      "LSP-basedpyright": {
        "enabled": true,
        "settings": {
          "basedpyright.analysis.extraPaths": [
            "D:/p4/tools/dcc_tools/ayon/stubs",
            "D:/p4/tools/dcc_tools/ayon/ayon-core/.venv/Lib/site-packages",
            "D:/p4/tools/dcc_tools/ayon/ayon-launcher/.venv/Lib/site-packages",
            "D:/p4/tools/dcc_tools/ayon/ayon-version-control/.venv/Lib/site-packages",
            "D:/p4/tools/dcc_tools/ayon/ayon-dependencies-tool/.venv/Lib/site-packages",
            "D:/p4/tools/dcc_tools/ayon/ayon-backend",
            "D:/p4/tools/dcc_tools/ayon/ayon-core/client",
            "D:/p4/tools/dcc_tools/ayon/ayon-applications/client",
            "D:/p4/tools/dcc_tools/ayon/ayon-version-control/client"
          ]
        }
      },
      "LSP-pyright": {
        "enabled": false,
        "settings": {
          "python.analysis.extraPaths": [
            "D:/p4/tools/dcc_tools/ayon/stubs",
            "D:/p4/tools/dcc_tools/ayon/ayon-core/.venv/Lib/site-packages",
            "D:/p4/tools/dcc_tools/ayon/ayon-launcher/.venv/Lib/site-packages",
            "D:/p4/tools/dcc_tools/ayon/ayon-version-control/.venv/Lib/site-packages",
            "D:/p4/tools/dcc_tools/ayon/ayon-dependencies-tool/.venv/Lib/site-packages",
            "D:/p4/tools/dcc_tools/ayon/ayon-backend",
            "D:/p4/tools/dcc_tools/ayon/ayon-core/client",
            "D:/p4/tools/dcc_tools/ayon/ayon-applications/client",
            "D:/p4/tools/dcc_tools/ayon/ayon-version-control/client"
          ]
        }
      },
      "LSP-ruff": {
        "initializationOptions": {
          "settings": {
            "configuration": "D:/p4/tools/dcc_tools/ayon/ayon-core/pyproject.toml",
            "organizeImports": false
          }
        }
      }
    }
  }
}

LSP configuration
{
  "diagnostics_additional_delay_auto_complete_ms": 0,
  "diagnostics_delay_ms": 0,
  "diagnostics_gutter_marker": "dot",
  "diagnostics_highlight_style": {
    "error": "squiggly",
    "hint": "underline",
    "info": "underline",
    "warning": "squiggly"
  },
  "diagnostics_panel_include_severity_level": 4,
  "document_highlight_style": "underline",
  "inhibit_snippet_completions": false,
  "inhibit_word_completions": true,
  "log_debug": false,
  "log_max_size": 8192,
  "log_server": [],
  "lsp_code_actions_on_save": {
    "source.organizeImports": true
  },
  "lsp_format_on_save": false,
  "on_save_task_timeout_ms": 2000,
  "popup_max_characters_height": 1250,
  "popup_max_characters_width": 100,
  "semantic_highlighting": false,
  "show_code_actions": "annotation",
  "show_code_actions_in_hover": true,
  "show_code_lens": "annotation",
  "show_diagnostics_count_in_view_status": false,
  "show_diagnostics_in_view_status": true,
  "show_diagnostics_panel_on_save": 0,
  "show_diagnostics_severity_level": 4,
  "show_multiline_diagnostics_highlights": true,
  "show_references_in_quick_panel": false,
  "show_symbol_action_links": true,
  "show_view_status": true
}

System PATH

C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Windows\System32\OpenSSH\
C:\Program Files\dotnet\
C:\Program Files\Perforce\
C:\Program Files\Common Files\Autodesk Shared\
C:\Program Files\Docker\Docker\resources\bin
C:\Program Files\Git\cmd
C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\
C:\Program Files\PowerShell\7\
D:\p4\tools\dcc_tools\mg_tools_standalone\python.envs.poetry\bin\
D:\p4\tools\dcc_tools\mg_tools_standalone\python.envs.pyenv\pyenv-win\bin
D:\p4\tools\dcc_tools\mg_tools_standalone\python.envs.pyenv\pyenv-win\shims
C:\Program Files\WindowsApps\Microsoft.OutlookForWindows_1.2024.111.100_x64__8wekyb3d8bbwe
C:\Users\Shea.Richardson.dotnet\tools
C:\Users\Shea.Richardson\AppData\Local\Microsoft\WindowsApps
C:\Users\Shea.Richardson\AppData\Local\Programs\Microsoft VS Code\bin
C:\Program Files\CMake\bin

Same issue:

Do you know how to revert to any LSP-pyright version you want to use? (i.e., that previous one)

oh no - had no idea that was possible. Is there a command or setting?

oh no - had no idea that was possible. Is there a command or setting?

Basically you just clone this repository so that it's put like
Packages/
├── LSP-pyright
│   ├── boot.py
│   ├── ...

ok - rolling back to 1.2.9 gets things working again:
https://github.com/sublimelsp/LSP-basedpyright/releases/tag/1.2.9

I haven't tried pyright - but I expect it will have the same thing

ok - rolling back to 1.2.9 gets things working again<EMAIL_ADDRESS>(release)

Can you try v1.2.10? The one you used when you creating this issue is probably v1.2.11.

Pyright v1.4.13 is borked
BasedPyright v1.2.10 is functional

my current best guess is that pyright 1.1.376 is broken because

LSP-pyright v1.4.13 uses pyright 1.1.376
LSP-basedpyright v1.2.11 uses basedpyright 1.16.0, which is based on pyright 1.1.376 as per its changelog

hmm... wait, no LSP-pyright pyright 1.1.375

ok - I am happy to pin to a version that is working for me and review in a few more releases to see if I can stick to latest again.
And if not will come back to try and debug further?
Thanks very much for you help @jfcherng <3

Hello - update on this issue.
I discovered the cause:
https://github.com/DetachHead/basedpyright/issues/513#issuecomment-2424243603
TLDR: Pyright updated to ignore all other settings if a pyrightconfig.json file is found, in my case I had an almost empty one in my project root to define the python version and my project settings had the all the other settings.
Migrating all the settings to pyrightconfig.json has resolved the problem.

closing - thanks again for the help <3


tabbed sheet spells link

The tabbed sheet should include a nav link for spells.

It does.    Your character has to have spells for the TAB to appear.

I stand corrected. It's the Full View that oddly lacks a nav link to Spells.

And that has been fixed in the V10 port!     Sorry, it will be another day or so before we can release.


load testing tags api - question

I have been running load tests roughly based on these Gatling tests.
I have a mixed load simulation in place where a mixed load is generated as follows:

1,000,000 unique metrics are published at a 30second step interval.  The number of unique dimension keys for these metrics is < 20, in other words they have a relatively low cardinality.
10 users query the/api/v1/tags endpoint to list dimension keys (server limit is 1000), at a random interval between 10s and 120s.

The machine I am running my atlas server on is an r3.2x large, and have 2 m3.xlarge instances generating the publish and query load respectively.
My initial results show that most of the publish requests succeed.  However, the tags keys listing consistently 503s (the server request-timeout is set to 10s).  From the JMX metrics, I see queues building up in the LocalDatabaseActor instance - could this be the reason for the latency that I am observing?
I have seen a different approach to fulfilling requests in the graph api, where an ImperativeRequestContext is used / actor per request model.  In the tags api, however, the ask pattern is used, with a timeout of 60 seconds.  If the queueing is indeed the reason for the latency, could it be because the default timeout of 60 seconds does not match the request timeout, causing the db actor mailbox to drain more slowly?
I am quite new to Atlas and am currently evaluating it - I would like to know if this is a reasonable scenario and if there is anything I can do to improve the results that I am seeing for listing metadata when the database is under heavy load from ingres.

I'm just getting back to the office and need to catch up on some things so it will probably be several days before I can look at this closely. Quickly skimming through your description it sounds reasonable. Performance can vary quite a bit depending on data characteristics. If you can publish your tests I can try to reproduce.

Thank you @brharrington, I would really appreciate your input - I am quite happy to wait until you have some free time to look into it.
I have published my load tests here:
https://github.com/davecromberge/atlas-load-test/tree/mixed-load
The idea with the repository is to add further simulations for wide cardinalities, churning metrics etc in order to determine safe operating limits for various load conditions.  Therefore I have inlined the test input parameters into each simulation, while the endpoint config applies globally and is in the application.conf.
Furthermore, reports of my previous runs can be found here.  In several of these runs, the cardinalities were very high and I worked my way down from here.
I am running Atlas with the following memory.conf and JVM settings:
  -XX:+PreserveFramePointer
  -Xss1024k
  -XX:MetaspaceSize=256m
  -XX:MaxMetaspaceSize=256m
  -XX:+UseG1GC
  -XX:StringTableSize=1000003
  -Xms52g
  -Xmx52g
  -XX:+HeapDumpOnOutOfMemoryError
  -verbosegc
  -verbose:sizes
  -XX:+DisableExplicitGC
  -XX:+PrintGCDetails
  -XX:+PrintGCDateStamps
  -Xloggc:/usr/share/iep-atlas/logs/gc.log

Finally, the version of Atlas that I am using is 1.6-SNAPSHOT configured to use Spectator to publish internal metrics to JMX.
I have been using YourKit profiler to try find potential bottlenecks in this code, but I suspect that latency could be a result of mailbox queues in the db actor, potentially due to misalignment of ask timeouts and request-timeouts as mentioned above.  If ask requests drained slower than requests arrive, this may lead to a backlog of messages to the LocalDatabaseActor.
Thank you again for your time.

Can no longer reproduce this issue.


MINIFI-125 Migrating the Bootstrap and Resources modules changes from NiFi 1.0 and 1.1

This does not include the changes for: variable registry and encrypted properties. Both are much bigger efforts that deserve their own ticket.
Also this does not include PR 1092 due to the issue found with it (NIFI-3112)

Reviewing

Starting from cygwin in Windows, not seeing log directory created even though the line looks right:
-Dorg.apache.nifi.minifi.bootstrap.config.log.dir=/cygdrive/c/Users/bryan/Documents/Github/nifi-minifi/minifi-assembly/target/minifi-0.1.0-SNAPSHOT-bin/minifi-0.1.0-SNAPSHOT/logs

Unable to start from cmd.exe with bat files (looks like relative path to minifi-env.bat not working):
C:\Users\bryan\Documents\Github\nifi-minifi\minifi-assembly\target\minifi-0.1.0-SNAPSHOT-bin\minifi-0.1.0-SNAPSHOT\bin>run-minifi.bat
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/Logger
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
        at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
        at java.lang.Class.getMethod0(Class.java:3018)
        at java.lang.Class.getMethod(Class.java:1784)
        at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: org.slf4j.Logger
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 7 more

C:\Users\bryan\Documents\Github\nifi-minifi\minifi-assembly\target\minifi-0.1.0-SNAPSHOT-bin\minifi-0.1.0-SNAPSHOT>bin\status-minifi.bat
'minifi-env.bat' is not recognized as an internal or external command,
operable program or batch file.
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/Logger
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
        at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
        at java.lang.Class.getMethod0(Class.java:3018)
        at java.lang.Class.getMethod(Class.java:1784)
        at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: org.slf4j.Logger
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 7 more

@brosander that last error is captured in this ticket: https://issues.apache.org/jira/browse/MINIFI-143

@brosander a patch is available for this in #61

@JPercivall I wanted to test windows functionality here as there are bat file changes in this pr as well.
Unfortunately merging #61 seems to have created a conflict in status-minifi.bat
It seems like a one line conflict that I resolved locally by taking apiri's change as it looks like it includes the fixes in this PR as well as the lib change.

Tested NiFi and it has similar issues with log directory using cygwin, I'll file a jira there and comment that the fix will need to be applied to MiNiFi as well.

Thanks @brosander! Sorry for not commenting on that before, I totally missed the cygwin part of your comment.
I did rebase to master and tested that the bat commands worked as expected.

@JPercivall I can't seem to run run-minifi.bat from a directory other than bin (I first tried from the root minifi dir).
If our normal usecase is that the user will double-click a bat file, this might be addressable in another Jira.

+1 Merging


fix spelling of attendees option

I signed it!

Coverage decreased (-0.07%) to 94.733% when pulling bd213e3140a4bdb7412888ccb79b1180e542ce90 on wireframe:patch-1 into 1f7cb2446a390c7237ce37005349f93208ebe775 on google:master.


Multiple orderBy

Selecting multiple sort options doesn't work.

It is transformed into

instead should be

(prisma allows multiple sort options)

any context on what this is for, is this the prisma-utils plugin?

yes, look this is what i am trying to do
`builder.prismaObject('Post', {
fields: (t) => ({
id: t.exposeID('id'),
title: t.exposeString('title'),
content: t.exposeString('content'),
createdAt: t.expose('createdAt', {
type: 'Date',
}),
votes: t.relation('votes', {}),
author: t.relation('author'),
comments: t.relation('comments'),
}),
});
const PostSort = builder.prismaOrderBy('Post', {
fields: {
createdAt: true,
title: true,
},
});
builder.queryField('posts', (t) =>
t.prismaField({
type: ['Post'],
args: {
offset: t.arg.int({
defaultValue: 0,
required: true,
}),
limit: t.arg.int({
defaultValue: 5,
required: true,
}),
filter: t.arg({
type: PostFilter,
}),
sort: t.arg({
type: PostSort,
}),
},
resolve: async (query, _parent, args, ctx) => {
const { offset, limit, filter, sort } = args;
		console.log('SORT', sort);

		const posts = await ctx.prisma.post.findMany({
			...query,
			skip: offset,
			take: limit,
			where: filter ?? undefined,
			orderBy: sort ?? undefined,
		});

		return posts;
	},
})

);
`
i have logged sort as you can see and it look like this
{ createdAt: 'asc', title: 'desc' }
but definetly should be this
[{ createdAt: 'asc' }, { title: 'desc' }]

sorting is order dependent, so we can't just take the multiple selections and flatten them into a list.  If you want to support multiple sorts, you should do it like: t.arg({ type: [PostSort] }) } and accept a list of sort objects (this matches what prisma does).
The sort type will eventually be updated to use @oneOf once that feature is properly supported by graphql-js

@fkozlicki https://github.com/hayes/pothos/issues/1016

going to leave this open until proper @oneOf support lands


Stub runner boot not working in windows

Describe the bug
Please provide details of the problem, including the version of Spring Cloud that you
are using.
If you run the stub runner boot application with a path that contains a windows file separator you get a URISyntaxException
Sample
If possible, please provide a test case or sample application that reproduces
the problem. This makes it much easier for us to diagnose the problem and to verify that
we have fixed it.
To reproduce download the dependency to your local maven repo:
/mvnw dependency:get -Dartifact=org.springframework.cloud:spring-cloud-contract-stub-runner-boot:3.0.4:jar

Run the stub runner with a windows file separator in the repository url:
java -jar ~/.m2/repository/org/springframework/cloud/spring-cloud-contract-stub-runner-boot/3.0.4/spring-cloud-contract-stub-runner-boot-3.0.4.jar --stubrunner.ids=com.example:demo --stubrunner.stubsMode=remote --stubrunner.cloud.stubbed.discovery.enabled=false --stubrunner.idsToServiceIds.demo=demo --stubrunner.generate-stubs=true --stubrunner.repositoryRoot="stubs://file:..\stubs"

Why do you need to use a file windows separator in the repository root? Also this gets mapped later to a Spring Resource where I guess you should be using the URL notation. Please read more about this here https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#resources


Type not found : java.javax.inject.Provider

I have the latest JRE installed, but Haxe can't find java.javax.inject.Provider
Here's my build.hxml
-cp src/
-dce full
-java-lib lib/android.jar
-java-lib lib/react-native-0.61.5.jar
-java bin/java/

Here's a full information about my Java installation:
Property settings:
    awt.toolkit = sun.lwawt.macosx.LWCToolkit
    file.encoding = UTF-8
    file.encoding.pkg = sun.io
    file.separator = /
    gopherProxySet = false
    java.awt.graphicsenv = sun.awt.CGraphicsEnvironment
    java.awt.printerjob = sun.lwawt.macosx.CPrinterJob
    java.class.path = .
    java.class.version = 52.0
    java.endorsed.dirs = /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/endorsed
    java.ext.dirs = /Volumes/Vibranium/Users/damilare/Library/Java/Extensions
        /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/ext
        /Library/Java/Extensions
        /Network/Library/Java/Extensions
        /System/Library/Java/Extensions
        /usr/lib/java
    java.home = /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
    java.io.tmpdir = /var/folders/v0/4jrc_n9j26v29_bdjkws5zhc0000gp/T/
    java.library.path = /Volumes/Vibranium/Users/damilare/Library/Java/Extensions
        /Library/Java/Extensions
        /Network/Library/Java/Extensions
        /System/Library/Java/Extensions
        /usr/lib/java
        .
    java.runtime.name = Java(TM) SE Runtime Environment
    java.runtime.version = 1.8.0_181-b13
    java.specification.name = Java Platform API Specification
    java.specification.vendor = Oracle Corporation
    java.specification.version = 1.8
    java.vendor = Oracle Corporation
    java.vendor.url = http://java.oracle.com/
    java.vendor.url.bug = http://bugreport.sun.com/bugreport/
    java.version = 1.8.0_181
    java.vm.info = mixed mode
    java.vm.name = Java HotSpot(TM) 64-Bit Server VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Oracle Corporation
    java.vm.specification.version = 1.8
    java.vm.vendor = Oracle Corporation
    java.vm.version = 25.181-b13
    line.separator = \n
    os.arch = x86_64
    os.name = Mac OS X
    os.version = 10.14.4
    path.separator = :
    sun.arch.data.model = 64
    sun.boot.class.path = /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/resources.jar
        /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/rt.jar
        /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/sunrsasign.jar
        /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/jsse.jar
        /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/jce.jar
        /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/charsets.jar
        /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/jfr.jar
        /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/classes
    sun.boot.library.path = /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib
    sun.cpu.endian = little
    sun.cpu.isalist =
    sun.io.unicode.encoding = UnicodeBig
    sun.java.launcher = SUN_STANDARD
    sun.jnu.encoding = UTF-8
    sun.management.compiler = HotSpot 64-Bit Tiered Compilers
    sun.os.patch.level = unknown
    user.country = NG
    user.dir = /Volumes/Vibranium/Workspace/Zenturi/project/Mandolin
    user.home = /Volumes/Vibranium/Users/damilare
    user.language = en
    user.name = damilare
    user.timezone =

java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

I think we don't have java.javax included in hxjava.
Try including javax jars manually with -java-lib

@RealyUniqueName what package is that in? I don't have the Jar

Found it here http://www.java2s.com/Code/Jar/j/Downloadjavaxinjectjar.htm
Thanks


Installing VSIX template for Mac

Azure Data Studio Version: latest

Steps to Reproduce:
Open an .ipynb file, starts to download dependencies. Then errors with "Installing Notebook dependencies: Installing Notebook dependencies failed with error: TypeError: pna.nextTick is not a function"

Closing as a duplicate of #3918 as it is the same issue. We'll track there and @corivera will prioritize this immediately.


Update Get-OwnerlessGroupPolicy.md

Chris please review and update

Docs Build status updates of commit d55c557:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Get-OwnerlessGroupPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 90f2044:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Get-OwnerlessGroupPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Removed pre-actions from eventing component reconciler for Kyma 1.24.X to 2.x.x

Removed following unnecessary pre-actions from eventing reconciler:

removeNatsOperatorStep
migrateEventTypePrefixConfigStep

Tested upgrade scenarios:

From 2.1.3 to main (in-progress)
From 2.1.2 to 2.1.3

Related issue(s):

https://github.com/kyma-project/kyma/issues/14021

/retest

/test all

/retest


graphql connection refused

First of all, thanks for putting this together.
I'm new to this stack and there's so many rabbit holes to go down, but this repo is exactly what I wanted.
Anyway, I've installed everything and I'm trying to run the example, but I'm running into this error.

Screenshot above for the human eye,
copied below for googling purposes...
Failed to load resource: net::ERR_CONNECTION_REFUSED
webpack:///./node_modules/zen-observable/lib/Observable.js?:63 Uncaught TypeError: Cannot read property 'map' of undefined
at onError (webpack:///./config/createApolloClient.js?:13)
at Object.error (webpack:///./node_modules/apollo-link-error/lib/bundle.esm.js?:37)
at notifySubscription (webpack:///./node_modules/zen-observable/lib/Observable.js?:134)
at onNotify (webpack:///./node_modules/zen-observable/lib/Observable.js?:165)
at SubscriptionObserver.error (webpack:///./node_modules/zen-observable/lib/Observable.js?:224)
at eval (webpack:///./node_modules/apollo-link-http/lib/bundle.esm.js?:92)
onError @ webpack:///./config/createApolloClient.js?:13
error @ webpack:///./node_modules/apollo-link-error/lib/bundle.esm.js?:37
notifySubscription @ webpack:///./node_modules/zen-observable/lib/Observable.js?:134
onNotify @ webpack:///./node_modules/zen-observable/lib/Observable.js?:165
error @ webpack:///./node_modules/zen-observable/lib/Observable.js?:224
(anonymous) @ webpack:///./node_modules/apollo-link-http/lib/bundle.esm.js?:92
webpack:///(webpack)-dev-server/client?:52 [WDS] Live Reloading enabled.

First of all, I am really glad to know this project may help you learn something new! =)
About your problme:
You are probably using "master" branch, and i didn't fix createApolloClient.js basic error handling yet. So what you are experiencing is a mix of two problems. The first one is that for some reason your server instance is not up or is rejecting the client request. The second one is happening because the server connection is not going through, so graphQLErrors doesn't exist and an error will occur as we are trying to map an undefined variable.
What i can suggest is:
1- Try using refactor/hooks branch for now.
2- Make sure your server instance is running. Check if this url works http://localhost:8080/graphql

I wasn't even running the server. Derp.
I thought npm run dev would fire everything up from the root, but I was mistaken.
Thanks again!

It actually should start everything, you sure it didn't? Wasn't it just an error?

Yeah, all that happened was the client spun up with a spinning wheel in the UI.
When I ran npm run dev in both the client and server folders everything worked.

I don't know what was going on, I've done a fresh install of this a few more times and it works just fine.


Can't publish - Could not recognize registry

Can't publish.
I think it is trying to publish to the wrong place.
'Could not recognize registry 'registry.hub.docker.com/xxxxxxxx'
//I get this
Publish has encountered an error.
Build failed. Check the Output window for more details.
A diagnostic log has been written to the following location:
"C:\Users\oneei\AppData\Local\Temp\tmp535B.tmp"
//and this
C:\Users\oneei\source\repos\ReactWithASP\ReactWithASP.Server\obj\Release\net8.0\linux-x64\PubTmp\Out
C:\Program Files\dotnet\sdk\8.0.200\Containers\build\Microsoft.NET.Build.Containers.targets(112,5): Error CONTAINER2012: Could not recognize registry 'registry.hub.docker.com/xxxxxxxx'.
3>Build failed. Check the Output window for more details.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: e768b602-cd33-99b5-f15a-e510b5144cf8
Version Independent ID: aa3332f0-f192-b9e2-dad1-4d81aa1cc194
Content: Deploy an ASP.NET Core web app to Docker Hub - Visual Studio (Windows)
Content Source: docs/containers/deploy-docker-hub.md
Service: visual-studio-windows
Sub-service: container-tools
GitHub Login: @ghogen
Microsoft Alias: ghogen

@Pefam -- please consider these resources:

Ask a question or find an answer on the Microsoft Q&A page for Visual Studio.
Stack Overflow
Reddit


Updates README.md and PLAYERS.md

Added Contributing Section to README.md
Updated PLAYERS.md

This was already assigned as discussed in #18  and have been tackled in #26. Unfortunately I have to close this PR as you were not assigned to it.


Enhance the way to get dubbo version

What is the purpose of the change
Enhance the way to get dubbo version, Issue #11559
Brief changelog
Verifying this change

Checklist

[Y] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

PTAL  @AlbumenJ

PTAL  @AlbumenJ

Codecov Report

Merging #11574 (d15657b) into 3.2 (551ff4a) will decrease coverage by 1.32%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.2   #11574      +/-   ##
============================================
- Coverage     68.71%   67.39%   -1.32%
+ Complexity      341        2     -339
============================================
  Files          3073     1508    -1565
  Lines        146713    62698   -84015
  Branches      24445     9189   -15256
============================================
- Hits         100814    42256   -58558
+ Misses        36851    16285   -20566
+ Partials       9048     4157    -4891

Impacted Files
Coverage Δ

...e/dubbo/remoting/transport/netty/NettyChannel.java
47.72% <0.00%> (-9.10%)
:arrow_down:

...ting/exchange/support/header/HeartbeatHandler.java
59.52% <0.00%> (-7.15%)
:arrow_down:

...oting/transport/netty4/NettyConnectionHandler.java
53.19% <0.00%> (-6.39%)
:arrow_down:

...rg/apache/dubbo/rpc/protocol/dubbo/DubboCodec.java
72.35% <0.00%> (-4.88%)
:arrow_down:

...c/main/java/org/apache/dubbo/rpc/RpcException.java
80.64% <0.00%> (-3.23%)
:arrow_down:

...moting/transport/netty4/NettyConnectionClient.java
75.48% <0.00%> (-2.59%)
:arrow_down:

...a/org/apache/dubbo/monitor/dubbo/DubboMonitor.java
88.09% <0.00%> (-2.39%)
:arrow_down:

.../remoting/transport/netty4/NettyClientHandler.java
80.95% <0.00%> (-2.39%)
:arrow_down:

...ache/dubbo/rpc/protocol/AbstractProxyProtocol.java
52.00% <0.00%> (-2.00%)
:arrow_down:

...src/main/java/org/apache/dubbo/common/Version.java
72.32% <0.00%> (-1.21%)
:arrow_down:

... and 1575 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


XSS using data-url when doing SSR

Describe the bug
It is possible to inject a script tag in data-url in the svelte-data script tag.
E.g. if we have the search term in the query params https://www.google.com/search?q=Svelte we can create a malicious term that inject a script tag while SSR.
Happens on Firefox, Brave and Chrome, but Safari seems to protect against my POC, however it should be possible to circumvent it in other scenarios.
Reproduction
Minimal example
term.js
export const term = '/asdf?search="></script>

Supersearch

Deployed POC using query params
POC Deployed: https://debug-app.vkrae.workers.dev/?search="></script>


Klt improvements

Better ID tracking using frame count

Could you check it Yosh-san? @syohex
If it's ok, could you please merge it into master?
Thanks


Talk Proposal: Grammar of Graphics and Functional Programming

Grammar of Graphics and Functional Programming in Data Visualisation”
Abstract
Sometimes libraries with charts are not enough - they lack customisation or don’t support that one chart type you would like to render. You can always create a custom graph and I’d like to show the audience basics and tips on how to create such custom data visualisations.
Grammar of Graphics gives us a great framework and mental model for creating charts. We can learn how to encode data on screen using marks, scales and channels. All these abstractions could be implemented easily using UI components and functions.
The presentation would be targeted at data visualisation novices and I would use React for examples on slides, but these techniques are applicable to all common, component-based frameworks - I used this approach in React and Angular with great success.
The Audience will learn about Grammar of Graphics and obtain tools to create great custom visualisations. It will enable them to create impactful charts when common libraries won’t suffice.
About me
I’m a frontend developer who has worked with data visualisations for 5 years
and I've been a web developer for 8 years. Currently, I work for Allegro as the main maintainer of data exploration tool turnilo: github.com/allegro/turnilo
Details
It will be my first talk in English. My previous talks in polish are here with slides and few with recordings. The talk will take 20-25 minutes.

Hey @adrianmroz, thanks for submitting! We have your proposal down 🍬 We're looking over all of them in the next couple of days, so we'll let you know either way later this week 😊

Quick additional question: Where are you currently based?

Poznań, Poland.

Good evening and greetings to Poznań, love that city and have been multiple times :)
We received way more proposals for our little special meetup than we have slots to fill and picking talks has been super hard. Unfortunately your talk didn't quite make it, but we have some 10 minute slots to fill, would you be able to give that talk in 10 minutes? We'll have a second round of voting for those asap.
Or, since Poznań isn't that far away from Berlin, would you be able to travel to Berlin for one of the regular meetup dates?

Hi! Topic is quite obscure and I don't think I can fit it in 10 minutes for general audience to enjoy. If it's not against the rules I could give my different talk about lit-html and its internals.
But I would be happy to give dataviz talk on different date. Trip to Berlin is always a pleasure.

Hey @adrianmroz! We'd also love to see your dataviz talk at some point. If it's alright with you, I can move this issue to our website repo and put you on our list for the regular meetup? Then you can let us know when you'd like to pop by Berlin 💃

Sure! Please give me some dates to pick from. If it’s on weekday I need to run this by my company so could take some time :)


[HOLD #14676][$1000] Chat - Emojis in bold and italic style appear smaller in size

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to URL https://staging.new.expensify.com/
Login with any account
Go to any chat
Write some emojis in bold and italic style

Expected Result:
Emojis in bold and italic style appear in same size
Actual Result:
Emojis in bold and italic style appear smaller in size
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

https://user-images.githubusercontent.com/93399543/221019030-0136f649-a06b-41d8-ac76-a303f1b51e37.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01581ef3f6d9cefd64
Upwork Job ID:<PHONE_NUMBER>793573888
Last Price Increase: 2023-02-27

Triggered auto assignment to @bfitzexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Job added to Upwork: https://www.upwork.com/jobs/~01581ef3f6d9cefd64

Triggered auto assignment to @trjExpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak (External)

Triggered auto assignment to @arosiclair (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

Errr.. @bfitzexpensify why did this add me as well?

Not sure @trjExpensify but I can handle

There is an issue that will show the emoji larger based on the text. I already asked here whether it will also handle the emojis inside a markdown.

Some additional notes on current behavior:

🌻 on its own line appears large
*🌻* on its own line appears normal text size
_🌻_ on its own line appears normal text size, slanted
foo: 🌻 appears normal size
A plain emoji 🌻. A bold emoji: *🌻*. An italic emoji: _🌻_ -- all appear the same size; the last is slanted

📣 @jamesarosen! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.

Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

Please re-state the problem that we are trying to solve in this issue.
Chat - Emojis in bold and italic style appear smaller in size

What is the root cause of that problem?
When sending emojis with the italic or bold format, it will add HTML tags to
selected emojis, so it will show as small in size.

What changes do you think we should make in order to solve the problem?
We need to add font size to HTML tags for bold and italic in below mentioned file:
https://github.com/Expensify/App/blob/main/src/pages/home/report/ReportActionItemFragment.js#L113

Chat emojis in bold and italic style appear smaller in size.
I think this issue is not stated correctly. it should be Chat emojis appear larger in size, emojis in bold and italic style appear in right size.

What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

📣 @mazr422! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.

Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@arosiclair @eVoloshchak @bfitzexpensify
I believe this issue should be closed or placed on hold because there's another issue with solution when emojis shouldn't be bold or italic #14676

@arosiclair @eVoloshchak @bfitzexpensify I believe this issue should be closed or placed on hold because there's another issue with a solution where emojis shouldn't be bold or italic #14676

Agreed. Bolding/italicizing emoji's is the first problem to solve. Let's hold on that issue and then re-test to see if sizing is still a problem afterwards

Cool, agreed. I've subscribed to https://github.com/Expensify/App/issues/14676 and switched this to weekly. Once https://github.com/Expensify/App/issues/14676 is resolved, will check back in here.

Still on hold

Still on hold

Still held

Still on hold

Still on hold

Maybe someday

https://github.com/Expensify/App/issues/14676 is also on hold and monthly, so going to change this to the same priority

Still held

This is still held on #14676 which is held on https://github.com/facebook/hermes/pull/968. It looks like that PR may be completed soon and included in v0.73 of hermes.

Same as before

Still held

Still held

Looks like we are now held on https://github.com/Expensify/App/pull/31558

Still held on https://github.com/Expensify/App/pull/31558

It looks like #31558 is merged so this is should be unblocked now 😮. Tbh I have no idea where this issue stands at this point. I think we need to re-test according to my old comment:

Agreed. Bolding/italicizing emoji's is the first problem to solve. Let's hold on that issue and then re-test to see if sizing is still a problem afterwards

@eVoloshchak do you mind doing that?

Yeah, I can no longer bold or italicize emojis at all either on prod or staging, so the issue here doesn't exist either. I think we're good to close this out.


Update 39 Datastore OverAllocation.ps1

Added datastore filtering.

Thanks! Next time, just bump the version number as well :)

Certainly.  It was such a small change it didn't seem to be worth a version
bump, but now I'm realizing one of the vCheck utilities depends on that.
On Tue, Feb 24, 2015 at 8:23 PM, Sneddo<EMAIL_ADDRESS>wrote:

Thanks! Next time, just bump the version number as well :)
—
Reply to this email directly or view it on GitHub
https://github.com/alanrenouf/vCheck-vSphere/pull/338#issuecomment-75887597
.


Long initialization time

For even one simple test pytest-splinter takes up to 40 seconds. I don't remember this being the case, it only took something like 10 seconds to start the driver before. Is anyone else seeing this?

can you please make 2 tests with or without pytest-splinter to compare the times?

I saw that it was actually happening because I have pytest-bdd installed, even if not using it apparently. I will reopen it on pytest-bdd when I have the time.

pytest-bdd parses all the feature files on import time, once
if you have them a lot then it's logical
but im sure there's a room for optimisation
On 19 May 2015 at 04:33, Leonardo Santagada<EMAIL_ADDRESS>wrote:

I saw that it was actually happening because I have pytest-bdd installed,
even if not using it apparently. I will reopen it on pytest-bdd when I have
the time.
—
Reply to this email directly or view it on GitHub
https://github.com/pytest-dev/pytest-splinter/issues/27#issuecomment-103306472
.

--
Anatoly Bubenkov


Build error

Hey !
Trying to build Caddy with the tailscale module on RPi 4 (RPi OS Bullseye, up-to-date), with xcaddy downloaded from apt. Caddy worked previously by installing it with apt.
I just exec xcaddy build master --with github.com/tailscale/caddy-tailscale, but it fails also when compiling vanilla (xcaddy build and it's the same error)
Here are the logs :
2023/06/13 09:33:38 [INFO] Temporary folder: /tmp/buildenv_2023-06-13-0933.839310816
2023/06/13 09:33:38 [INFO] Writing main module: /tmp/buildenv_2023-06-13-0933.839310816/main.go
package main
import (
        caddycmd "github.com/caddyserver/caddy/v2/cmd"
        // plug in Caddy modules here
        _ "github.com/caddyserver/caddy/v2/modules/standard"
        _ "github.com/tailscale/caddy-tailscale"
)
func main() {
        caddycmd.Main()
}
2023/06/13 09:33:38 [INFO] Initializing Go module
2023/06/13 09:33:38 [INFO] exec (timeout=-2562047h47m16.854775808s): /usr/bin/go mod init caddy
go: creating new go.mod: module caddy
2023/06/13 09:33:38 [INFO] Pinning versions
2023/06/13 09:33:38 [INFO] exec (timeout=-2562047h47m16.854775808s): /usr/bin/go get -d -v github.com/caddyserver/caddy/v2@master
go: github.com/caddyserver/caddy/v2 master => v2.7.0-beta.1.0.20230612153522-2ddb7171440c
2023/06/13 09:33:44 [INFO] exec (timeout=-2562047h47m16.854775808s): /usr/bin/go get -d -v github.com/tailscale/caddy-tailscale github.com/caddyserver/caddy/v2@master
go: github.com/tailscale/caddy-tailscale upgrade => v0.0.0-20230226043552-57178f8d1cb2
2023/06/13 09:33:48 [INFO] exec (timeout=-2562047h47m16.854775808s): /usr/bin/go get -d -v
2023/06/13 09:33:51 [INFO] Build environment ready
2023/06/13 09:33:51 [INFO] Building Caddy
2023/06/13 09:33:51 [INFO] exec (timeout=-2562047h47m16.854775808s): /usr/bin/go mod tidy -e
flag provided but not defined: -e
usage: go mod tidy [-v]
Run 'go help mod tidy' for details.
2023/06/13 09:33:51 [INFO] Cleaning up temporary folder: /tmp/buildenv_2023-06-13-0933.839310816
2023/06/13 09:33:51 [FATAL] exit status 2

Make sure you're using the latest Go version.

I think I am, apt update says all packages are up-to-date, and I have golang installed with apt.

Distros usually ship old versions of Go. Make sure you have at least Go 1.20. You may need to install it manually (essentially just download and unzip it).

Yep, surely an old go version.

I have go 1.15, you were right. I'll try when I have the time (tomorrow I think).

Haha, it broke again 😂
Here are the logs :
pi@john:~/temp $ xcaddy
2023/06/15 18:26:01 [INFO] Temporary folder: /tmp/buildenv_2023-06-15-1826.22055553
2023/06/15 18:26:01 [INFO] Writing main module: /tmp/buildenv_2023-06-15-1826.22055553/main.go
package main

import (
        caddycmd "github.com/caddyserver/caddy/v2/cmd"

        // plug in Caddy modules here
        _ "github.com/caddyserver/caddy/v2/modules/standard"
        _ "caddy"
)

func main() {
        caddycmd.Main()
}
2023/06/15 18:26:01 [INFO] Initializing Go module
2023/06/15 18:26:01 [INFO] exec (timeout=-2562047h47m16.854775808s): /usr/local/go/bin/go mod init caddy
go: creating new go.mod: module caddy
go: to add module requirements and sums:
        go mod tidy
2023/06/15 18:26:01 [INFO] Replace caddy => /home/pi/temp
2023/06/15 18:26:01 [INFO] exec (timeout=-2562047h47m16.854775808s): /usr/local/go/bin/go mod edit -replace caddy=/home/pi/temp
2023/06/15 18:26:01 [INFO] Pinning versions
2023/06/15 18:26:01 [INFO] exec (timeout=-2562047h47m16.854775808s): /usr/local/go/bin/go get -d -v github.com/caddyserver/caddy/v2
go: downloading github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38
go: added github.com/beorn7/perks v1.0.1
go: added github.com/caddyserver/caddy/v2 v2.6.4
go: added github.com/caddyserver/certmagic v0.17.2
go: added github.com/cespare/xxhash/v2 v2.1.2
go: added github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0
go: added github.com/golang/mock v1.6.0
go: added github.com/golang/protobuf v1.5.2
go: added github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38
go: added github.com/google/uuid v1.3.0
go: added github.com/klauspost/cpuid/v2 v2.2.3
go: added github.com/libdns/libdns v0.2.1
go: added github.com/matttproud/golang_protobuf_extensions v1.0.1
go: added github.com/mholt/acmez v1.1.0
go: added github.com/miekg/dns v1.1.50
go: added github.com/onsi/ginkgo/v2 v2.2.0
go: added github.com/prometheus/client_golang v1.14.0
go: added github.com/prometheus/client_model v0.3.0
go: added github.com/prometheus/common v0.37.0
go: added github.com/prometheus/procfs v0.8.0
go: added github.com/quic-go/qpack v0.4.0
go: added github.com/quic-go/qtls-go1-18 v0.2.0
go: added github.com/quic-go/qtls-go1-19 v0.2.0
go: added github.com/quic-go/qtls-go1-20 v0.1.0
go: added github.com/quic-go/quic-go v0.32.0
go: added go.uber.org/atomic v1.9.0
go: added go.uber.org/multierr v1.6.0
go: added go.uber.org/zap v1.24.0
go: added golang.org/x/crypto v0.5.0
go: added golang.org/x/exp v0.0.0-20221205204356-47842c84f3db
go: added golang.org/x/mod v0.6.0
go: added golang.org/x/net v0.7.0
go: added golang.org/x/sys v0.5.0
go: added golang.org/x/term v0.5.0
go: added golang.org/x/text v0.7.0
go: added golang.org/x/tools v0.2.0
go: added google.golang.org/protobuf v1.28.1
2023/06/15 18:26:12 [INFO] exec (timeout=-2562047h47m16.854775808s): /usr/local/go/bin/go get -d -v
2023/06/15 18:26:25 [INFO] Build environment ready
2023/06/15 18:26:25 [INFO] Building Caddy
2023/06/15 18:26:25 [INFO] exec (timeout=-2562047h47m16.854775808s): /usr/local/go/bin/go mod tidy -e
go: downloading github.com/stretchr/testify v1.8.1
go: downloading go.uber.org/goleak v1.1.12
go: downloading github.com/smallstep/assert v0.0.0-20200723003110-82e2b9b3b262
go: downloading github.com/onsi/gomega v1.20.1
go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
go: downloading github.com/benbjohnson/clock v1.1.0
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/alecthomas/assert/v2 v2.2.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/kr/pretty v0.3.1
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/alecthomas/repr v0.2.0
go: downloading github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1
go: downloading github.com/aws/aws-sdk-go v1.44.185
go: downloading cloud.google.com/go/kms v1.8.0
go: downloading github.com/googleapis/gax-go/v2 v2.7.0
go: downloading google.golang.org/api v0.108.0
go: downloading github.com/cockroachdb/apd v1.1.0
go: downloading cloud.google.com/go v0.107.0
go: downloading github.com/gofrs/uuid v4.0.0+incompatible
go: downloading github.com/hexops/gotextdiff v1.0.3
go: downloading github.com/go-stack/stack v1.8.0
go: downloading github.com/kr/text v0.1.0
go: downloading github.com/rogpeppe/go-internal v1.9.0
go: downloading github.com/chzyer/logex v1.1.10
go: downloading github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65
go: downloading github.com/lib/pq v1.10.2
go: downloading cloud.google.com/go/iam v0.8.0
go: downloading github.com/spaolacci/murmur3 v1.1.0
go: downloading github.com/OneOfOne/xxhash v1.2.2
go: downloading golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783
go: downloading go.opencensus.io v0.24.0
go: downloading cloud.google.com/go/compute/metadata v0.2.3
go: downloading google.golang.org/appengine v1.6.7
go: downloading cloud.google.com/go/compute v1.14.0
go: downloading github.com/googleapis/enterprise-certificate-proxy v0.2.1
2023/06/15 18:27:00 [INFO] exec (timeout=-2562047h47m16.854775808s): /usr/local/go/bin/go build -o /home/pi/temp/caddy -ldflags -w -s -trimpath
package caddy
        imports caddy: import cycle not allowed
2023/06/15 18:27:00 [INFO] Cleaning up temporary folder: /tmp/buildenv_2023-06-15-1826.22055553
2023/06/15 18:27:00 [ERROR] exit status 1

pi@john:~/temp $ go version
go version go1.20.5 linux/arm64

Same error without module caddy-tailscale.

You're not supposed to run xcaddy with no arguments unless you're trying to build a development build of a plugin you're working on which is in your PWD. You need to use xcaddy build --with ...

Yes, I realised this too late. It's actually all right, it built without errors without the caddy-tailscale module, but with it it throws an error, so I'll just post an issue there and not forget to read the doc 😅


API docs not working

Trying to add API docs as in C2S2 project, but getting error
/home/runner/work/c2p/c2p/src/cp2 is not a directory.

The #4 should fix it.

@ielis
There is still a weird path error:
https://github.com/monarch-initiative/c2p/actions/runs/5909648087/job/16030450122
Building the src/c2p documentation
/home/runner/work/c2p/c2p/src/cp2 is not a directory.

Hi, yeah, computer is always right.. :blush: cp2 != c2p.
I also fixed some other bugs and the docs are now online at
https://monarch-initiative.github.io/c2p/stable

I also loose when I pick fights with compilers or interpreters -- touch audience.
thanks & sorry for the mixup


Docker support

See issue #60
When accepting this MR, you should build the docker image and upload it to WeebDev/lolisafe on docker hub using: docker build -t WeebDev/lolisafe && docker push WeebDev/lolisafe

This should probably use the alpine package and install things like imagemagicks and ffmpeg too.

Agreed, don't have the time today, will update the MR tomorrow :)


Doctrine Populator: Don't clean entity manager

Summary
I have 2 entitys. They have a ManyToOne relationship. When I seed the DB I get an error, that the entity manager thinks there are non-persisted entities.
Versions

Version

PHP
7.4.5

fzaninotto/faker
1.9.1

Self-enclosed code snippet for reproduction
$generator = \Faker\Factory::create('de_DE');
$populator = new Populator($generator, self::entityManger());
$populator->addEntity(AccountType::class, 2);
$populator->addEntity(AccountClass::class, 10);
$inserted = $populator->execute();

Expected output
2 AccountTypes are persisted and 10 AccountClasses with relationships of AccountType

Actual output
1) MtTestCase::testSeeder
Doctrine\ORM\ORMInvalidArgumentException: Multiple non-persisted new entities were found through the given association graph:

 * A new entity was found through the relationship 'App\AccountClass\AccountClass#accountType' that was not configured to cascade persist operations for entity: App\AccountType\AccountType@00000000615169460000000030020730. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(..,cascade={"persist"}). If you cannot find out which entity causes the problem implement 'App\AccountType\AccountType#__toString()' to get a clue.

Explanation
In Doctrine\Populator::execute() Line 105 the entity manager is cleaned after each entity class. That means, the populator persists AccountType and that works. But now it cleans the entity manager before creating and persisting AccountClasses. The Populator uses the before inserted AccountTypes correctly, but the entity manage does not know them and thinks they are not persisted.
Our Doctrine Relationship is not set up to cascade:persist, hence Doctrine does not persist (again) the AccountType objects and the error is thrown.
If I comment line 105 everything works fine.
Does anyone know a workaround? Or may I start a PR to handle the cleaning differntly. For example with a flag to clean after everything is persisted.

I just found this commit https://github.com/fzaninotto/Faker/commit/5337ce5261b393937bd7aaebb21020159756a152 related to https://github.com/fzaninotto/Faker/issues/1862. This should fix my issue, when a new version is available. Hence I close this issue.


Tests: refactor cleanup

What does this PR do?
Fixes # (issue).
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

moved default hparams to Model class as suggested by @awaelchli


onStoppedNotification and onUnhandledError shouldn't be allowed to flip synchronous via provider delegates

We currently allow the TestScheduler (or anyone who wants to fiddle with the delegate for timeoutProvider) to allow config.onUnhandledError and config.onStoppedNotification to synchronously dispatch. The problem with that is if either of those throw while synchronous, it will unwind the stack and cause all sorts of crazy stuff. The provider delegates are meant primarily so that TestScheduler can synchronously control what is going on with observable emissions. onUnhandledError and onStoppedNotification are firmly outside of that lifecycle and should always be dispatched in their own call stack to prevent issues.

This is also a prerequisite for getting to where we can cleanly publish @rxjs/observable.


Should HTTPExceptions subclass Response?

Came across the following comment in the docs about Werkzeug's exceptions:

Because of Python 2.4 compatibility those do not extend from the response objects but only from the python exception class.

Further back, the comment used to read "Python 2.3/2.4 compatibility".
I'm trying to find what this compatibility was. Was it that 2.3 introduced a new requirement going forward? Or that a requirement was lifted but we needed to remain compatible with 2.4 at the time? We haven't supported 2.4 in ages, and are dropping 2 completely at this point, so I'm at least removing this comment.
Would there be any benefit to making HTTPException a subclass of Response at this point? Maybe someone can try it out and see what happens.

The compatibility issue may be this change.
I'd actually much prefer the opposite to occur i.e. that exceptions aren't capable of being WSGI responses. This is a pain in an ASGI sense as the WSGI response is not relevant.

Going to close this. We might do something about it while extracting behavior to sansio, but I don't think we need to keep this specific issue open.


using json param for post data

Post data for check_account request can be passed without dumping the post_body using the json.dumps, for that using the json parameter in post request.

Thanks for the PR, looks great!


Not all events I am logging end up in GA.

My game logs about 10-15 events per 20 seconds. It seems like only a few of them actually end up in the web interface of analytics.
What could be the reason for that?

It's very random really. Sometimes it trackes 20 events per game. Sometimes it only tracks one.
I tried to set the gameObject to "DoNotDestroyOnLoad" since I am reloading the scene it is attacked to with every game.
I also tried to DispatchHits before the reload of the scene.
Without success. Please help :)

There are some limits to how many can be logged in a certain time frame. See the following doc for more details.  I'm not sure you are hitting this as it be logging a message when you are throttled so it would be obvious.
https://developers.google.com/analytics/devguides/collection/analyticsjs/limits-quotas
Is this happening on Android?  Do you see the events showing up in logcat?

It was seems that I was having the same problem. But then I realise that there seems to be some delays before data get shown in the Analytics Interface.
( In my case i went for a lunch before continue debugging then only to see that now a lot of stats are showing up in the analytics interface  *15 minutes for around )


Data protection api warning

Running app in container leads to warning:
Using an in-memory repository. Keys will not be persisted to storage.
Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.
No XML encryptor configured. Key {...} may be persisted to storage in unencrypted form.

Also antiforgery:
An exception was thrown while deserializing the token.
Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be decrypted.
System.Security.Cryptography.CryptographicException: The key {...} was not found in the key ring. For more information go to https://aka.ms/aspnet/dataprotectionwarning


#[serde(skip)] in tuple enum variants silently ignored

#[macro_use]
extern crate serde_derive; // 1.0.78
extern crate serde; // 1.0.78

struct S;

#[derive(Serialize)]
enum E {
    V(#[serde(skip)] S),
}

error[E0277]: the trait bound `S: serde::Serialize` is not satisfied
 --> src/lib.rs:7:10
  |
7 | #[derive(Serialize)]
  |          ^^^^^^^^^ the trait `serde::Serialize` is not implemented for `S`
  |
  = note: required by `serde::Serializer::serialize_newtype_variant`

error: aborting due to previous error

Playground
The attribute should either work (thus serializing like enum E { V() } or give an error/warning that it has no meaning in this position.

Just ran into this today. Changing the variant into
enum E {
   V { #[serde(skip)] v: S }
}

makes it work as expected. I think should just work instead of an error. This is likely a bug.

This also applies to tuple structs (e.g. struct Ignore(#[serde(skip)] Foo);).

Might be related to why #[serde(default)] is also ignored: https://github.com/serde-rs/serde/issues/1418.


HelpHow to get the results of word embeddings

#
help
Description
Hi，I have trained the transformer model，
PROBLEM=translate_ende_wmt32k
MODEL=transformer
HPARAMS=transformer_base_single_gpu
But I want to get the word embedding result. Can you tell me how to get the result of word embedding(word to vector)?
Thank you!

…

TensorFlow and tensor2tensor versions
TensorFlow-gpu==1.4.0 t2t==1.5.4

…

In case of bug report: Steps to reproduce the problem

…

In case of bug report: Error log

…

Hello,Can anyone help me?

The embeddings are stored in the checkpoint.

Thank you very much!@martinpopel
I will look at the checkpoint.

@xiangdouou Does that hint solves the issue? If that is the case, please close that issue :)

May I know what word embedding can be got?


Add a link to "there is not css4"

http://www.xanthir.com/b4Ko0

:+1:

+1.
CSS3 as a term already confuses new developer's understanding of the language. Mentioning CSS4+ will only add more confusion.
Mention of non-existent language specs should be removed and cssnext should reference which level of individual modules it supports. As an example, filter is only level 1.


Newly created items do not get stored in GSI

Summary:
Using dynamoose in a serverless application, where the dynamodb table is created using serverless.yml, creating a new item in the database does not allow me to query this item via the hashkey of a GSI. Dynamodb in AWS console shows 0 items in my GSI, however I'm aware that its possible that they only refresh that value every 6 hours. My query still does not return the expected record.
Code sample:
Model
dynamoose.setDefaults({
  prefix: process.env.TABLE_PREFIX,
  create: false,
  update: false,
});

const User = dynamoose.model('user', {
  id: {
    type: String,
    hashKey: true,
  },
  name: {
    type: String,
  },
  email: {
    type: String,
    index: {
      global: true,
      name: 'Auth',
      project: true
    }
  },
  password: {
    type: String
  },
});

Serverless.yml Table Creation
UserTable:
      Type: AWS::DynamoDB::Table
      Properties:
        TableName: ${self:custom.userTableName}
        AttributeDefinitions:
          - AttributeName: id
            AttributeType: S
          - AttributeName: email
            AttributeType: S
        KeySchema:
          - AttributeName: id
            KeyType: HASH
        GlobalSecondaryIndexes:
          - IndexName: Auth
            KeySchema:
              - AttributeName: email
                KeyType: HASH
            Projection:
              ProjectionType: ALL
        BillingMode: PAY_PER_REQUEST

Query
const email =<EMAIL_ADDRESS>let user = await User.query('email').eq(email);

Current output and behavior:
Query returns only {}
Expected output and behavior:
Query should return my created user record with the email provided.
Environment:
Operating System: Ubuntu linux locally (AWS Lambda)
Operating System Version: 18.04 locally (AWS Lambda)
Node.js version (node -v):  12.6.0 locally (Lambda running with 10.x)
NPM version: (npm -v): 6.9.0
Dynamoose version: 1.10.0
Dynamoose Plugins:

Dynamoose Plugins:

[ ] Yes, I believe that one or multiple 3rd party Dynamoose plugins are effecting this issue
[ ] No, I believe this issue is independent of any 3rd party Dynamoose plugins I'm using
[ ] Unknown, I'm unsure if Dynamoose plugins are effecting this issue
[X] I am not using any Dynamoose plugins

Other information (if applicable):
Marked as bug and question as surely I'm doing something incorrectly, but just incase there is a bug. Is it possible this ORM is not meant to be used in serverless? Also documentation on the website seems outdated.
Type (select 1):

[X] Bug report
[ ] Feature suggestion
[X] Question
[ ] Other suggestion
[ ] Something not listed here

Other:

[X] I have read through the Dynamoose documentation before posting this issue
[X] I have searched through the GitHub issues (including closed issues) and pull requests to ensure this issue has not already been raised before
[X] I have searched the internet and Stack Overflow to ensure this issue hasn't been raised or answered before
[X] I have tested the code provided and am confident it doesn't work as intended
[X] I have ensured that all of my plugins that I'm using with Dynamoose are listed above
[X] I have filled out all fields above
[X] I am running the latest version of Dynamoose

Looks like i managed to solve it, with a little more playing I found that the query function does not yet work with promises, and after using a callback method I received an error that my IAMRoleStatements were not correct to be able to access the index also. Fixing these issues now returns my expected item.
I'll just add that adding promises to all functions will be ideal in the near term. Best!

So looks like query does not correctly throw an error when used without callbacks? Probably worth re-opening as a bug report.

@ablankenship10 In your example, you're neglecting to call .exec() on your query. I wouldn't expect any data to be returned until you've done that.


Store created JournalEntry and Items in compendiums

Provide options to specify compendiums in which created Items or JournalEntries should be stored.
Maybe with an additional option to specify that the current compendium contents should be erased.
A simple text box in which the UUID of the destination compendium can be added (if left blank, then created items will be placed in the sidebar).
Actors and Scenes will remain as always being created in the Sidebar.
See https://forums.wolflair.com/showpost.php?p=303671&postcount=199

Implemented in 2.11.0


Invalid Operation Exception when trying to export Workshop Map as GLTF/GLB.

Describe the bug
When trying to export community work shop map "surf_boreas.vmap_c" this error occurs. It does not occur when exporting Community map surf_beginner.vmap_c.  It does export to a vmap correctly.
Relevant log output or exception with stacktrace
[20:47:25.569] Extracting surf_boreas.vmap_c to "surf_boreas.glb"
[20:47:25.591] System.AggregateException: One or more errors occurred. (Sequence contains no matching element)
 ---> System.InvalidOperationException: Sequence contains no matching element
   at System.Linq.ThrowHelper.ThrowNoMatchException()
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at ValveResourceFormat.IO.GltfModelExporter.Export(Resource resource, String targetPath, CancellationToken cancellationToken) in D:\a\ValveResourceFormat\ValveResourceFormat\ValveResourceFormat\IO\GltfModelExporter.cs:line 131
   at GUI.Forms.ExtractProgressForm.ExtractFile(Resource resource, String inFilePath, String outFilePath, Boolean flatSubfiles) in D:\a\ValveResourceFormat\ValveResourceFormat\GUI\Forms\ExtractProgressForm.cs:line 343
   at GUI.Types.Exporter.ExportFile.<>c__DisplayClass1_1.<<ExtractFileFromStream>b__1>d.MoveNext() in D:\a\ValveResourceFormat\ValveResourceFormat\GUI\Types\Exporter\ExportFile.cs:line 98
   --- End of inner exception stack trace ---

What game does this happen in
Counter Strike 2
Reference file in a Source 2 game
"SteamLibrary\steamapps\workshop\content\730\3133346713\3133346713.vpk"
Expected behavior
Expected behaviour is to have the map exported as GLB.
What version of VRF are you using? On what platform?
v8.1.3204 on Windows 11 64bit


Adding package dependency trace to uv export

I have a project I'm developing with uv. I use uv lock to lock my dependency versions for my app, and uv sync --frozen to install my development and test environments.
The framework I use to deploy my app uses a requirements.txt file to install the application's dependencies.
Previously I used uv pip compile to generate the requirements.txt file, but I figured since I already have the uv.lock file, I can save the extra resolution step and just use uv export --frozen. And it works perfectly!
However, there is one small thing - the uv pip compile output is more verbose and adds comments under each package to show its dependency trace. Conversely, uv export does not, and only shows the package versions (like pip freeze).
Here is an example for the pyproject.toml
[project]
name = "test-uv-export"
version = "0.0.dev0"
requires-python = ">=3.10"
dependencies = [
    "pandas",
    "numpy",
]

This is how the output of uv pip compile pyproject.toml looks:
# This file was autogenerated by uv via the following command:
#    uv pip compile pyproject.toml
numpy==2.1.1
    # via
    #   test-uv-export (pyproject.toml)
    #   pandas
pandas==2.2.3
    # via test-uv-export (pyproject.toml)
python-dateutil==2.9.0.post0
    # via pandas
pytz==2024.2
    # via pandas
six==1.16.0
    # via python-dateutil
tzdata==2024.2
    # via pandas

And this is the output from uv export --frozen --no-hashes (after having previous ran uv lock):
# This file was autogenerated by uv via the following command:
#    uv export --frozen --no-hashes
numpy==2.1.1
pandas==2.2.3
python-dateutil==2.9.0.post0
pytz==2024.2
six==1.16.0
tzdata==2024.2

Is it possible to add the same dependency trace comments for the uv export output?
This is not a real issue when the consumer of the requirements.txt file is an automated system, but I found the uv pip compile output can be helpful when trying to debug the root cause of deployment failures due to unsuccessful dependency installations.
Of course this is not a very pressing issue, since you can always trace the origin of a dependency through the uv.lock file, but I thought since the information is already there when uv export generates its output, then maybe it can be done without much effort. Or maybe even this option already exists I just couldn't find how to enable it...

You might want to use uv tree to debug your dependency install failures instead?

Cool, thanks!
That still means I have to log into the environment that failed and run the command there to debug, instead of just looking up the requirements.txt file from the output. In my team we have a handful of developers working on many projects, so sometimes the person debugging a failure doesn't have the project cloned and set up with a working environment when starting to debug, so pulling the failed version to get the current uv.lock file and then running uv tree can take a while longer (especially for the less experienced folks).
The alternative of just looking at the build log and seeing which package failed, and then looking where that package came from in the requirements.txt file (from GitHub or the CI logs/artifacts), is still simpler I think. But I understand this might be a very niche use-case...
I should also note that in certain cases we don't even keep the uv.lock file, for example when exporting requirements.txt with --resolution lowest to test that our app works with the lowest versions of our dependencies. It is done ad-hoc by the CI and we don't keep the uv.lock file for that resolution because we don't want it to override the on with the default --resolution highest.
Anyway, this is certainly not a big deal, just want to share this idea.


about to start service

Hi:
i want to ask that when i use "build/env/bin/supervisor" the command to start hue service,
and if i want to stop hue service, i use ctrl+c to stop, it will display error like:
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib64/python2.6/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/usr/lib64/python2.6/logging/init.py", line 1517, in shutdown
h.close()
File "/usr/lib64/python2.6/logging/init.py", line 716, in close
_releaseLock()
File "/usr/lib64/python2.6/logging/init.py", line 208, in _releaseLock
_lock.release()
File "/usr/lib64/python2.6/threading.py", line 142, in release
self.__block.release()
KeyboardInterrupt
and sometime it can not stop the service
so i want to ask that if there are other start command and stop command
thanks~~~

AFAIK there is no start/stop scripts, so just starting like you do and killing the process if no clean way to terminate. Packages script usually try to clean stop then -9 stop processes

I try to use kill -9 to stop supervisor, however I found that the supervisor will restart another thread after a while. In other word, I cannot use kill -9 to stop hue. And when I read hue manual, it said that we can use /etc/init.d/hue stop to stop. But I don't find hue under init.d directory.

You need to kill supervisor itself, not the Hue server (as supervisor makes sure the Hue process is always there).
Manual probably talks about the packaged version of Hue, will remove references to init.d


Cannot load keyring keyring.backends.SecretService.Keyring

Describe the bug
I did install and maestral auth link successfully on NixOS 22.11.
When I call maestral start I get this error message:
Cannot load keyring keyring.backends.SecretService.Keyring. Please relink Maestral to get a new access token.

Maestral does not start nor sync files.
To Reproduce
nix-env -iA nixos.maestral
maestral auth link
maestral start

Expected behaviour
No error.
System:

Maestral version: 1.5.1
OS: NixOS 22.11 (x86_64-linux)
Python version: 3.9.6
Desktop environment: --
PyQt version (for Linux GUI): --

Additional context
It's strange, on a different laptop also with NixOS 22.11 it works.
Can anyone reproduce or provide an idea to get it running? @peterhoeg

See https://github.com/samschott/maestral/issues/734. I'm guessing that some impurity on your system picks up whatever package is needed for secretservice support.
Please don't use nix-env - manage the system through =configuration.nix= to ensure reproducibility.

Does that mean that this issue also has to be fixed downstream in the NixOS repo?
Actually, I also put maestral in configuration.nix. When I start a new shell, the correct version should be picked. But still the same issue. nixos-rebuild switch --upgrade didn't help.

There are 2 things at play here:

maestral doesn’t specify all the dependencies in requirements.txt since some are optional.
maestral is able on one of your machines to unlock the wallet, but not the other.

The first one is by choice/design and why we add in dbus-python downstream.
The second one can be due to multiple factors. I’m guessing it’s one of the following:
a. Either there is an impurity somewhere in maestral that makes it pick up python dependencies from some other, global location where you happen to have installed it manually through pip or similar, or
b. The working device is not using the kwallet SecretService interface but instead the “normal” kwallet dbus interface which we do support on NixOS (see https://github.com/NixOS/nixpkgs/pull/194165)

Thank you. I just checked the maestral.ini on the machine where it works. It uses keyrings.alt.file.PlaintextKeyring. While SecretService on the other machine does not work.
I tried to reproduce. Now, both machines use SecretService and fail to start. I tested auth link and start in an SSH session as well as in the Gnome desktop.
Both machines now give the same error.
I found the documentation on keyrings but it looks like it's always automatically chosen. @samschott can I force a certain key storage method?

Maybe the SecretStorage is also an optional dependency (it's not in requirements.txt). Maybe that should also be added downstream in nix? I never did something like that before.

can I force a certain key storage method?

Sure, https://github.com/samschott/maestral/issues/734

can I force a certain key storage method?
Sure, <#734>

OK, thanks. I thought the ini file is ignored because it's also deleted on unlink and created on link but I haven't tested it. Maestral also falls back to plain text storage if auth link is called in an SSH session but only if the user was not already logged in in the Gnome desktop.

Since you're on nixos - I handle the maestral config file with home manager
so it definitely uses it.

Closing because the reason probably was that I confused my NixOS version. I thought I was on 22.11 but it was 21.11.
Thanks everybody for trying to help!


Suggestion: Fix the grammar and provide Translations.

The grammar is a bit messy.  If you'd like to help or provide translations, please comment.

I would like to help!

This will get moved to the new GUI version


Tabs navigation in list page does not reset the page query parameter.

Package
filament/filament
Package Version
v3.0.19
Laravel Version
10.18.0
Livewire Version
v3.0.0-beta.7
PHP Version
8.2.8
Problem description
keeping the page number will lead to certain pages/tabs display empty tables.
Expected behavior
page should reset to 1
Steps to reproduce

Navigate to https://demo.filamentphp.com/shop/orders
Use pagination to navigate to page 100
Click any tab like "cancelled"
watch the page query param and empty table

Reproduction repository
https://github.com/filamentphp/demo
Relevant log output
No response

Maybe in filament/filament/src/Resources/Pages/ListRecords.php we add something like code below ?,  I'm not sure what paginators exactly do, but I tested it and indeed it resets the page number when navigating through tabs with "page" query is set
 public function updated($property, $value)
    {
        if ($property === 'activeTab') {
            $this->paginators['page'] = null; //or 1
        }
    }


static wifi_country_t wifi_country = EU is not a valid any more

in wifiscan.cpp line 45 ff
static wifi_country_t wifi_country = {"EU", 1,
WIFI_CHANNEL_MAX, 100,
WIFI_COUNTRY_POLICY_MANUAL};
you use EU as a country code.  If you do not change this to eg "DE" or use "EU" in setup, the check in line 105
ESP_ERROR_CHECK(
esp_wifi_set_country(&wifi_country));  // set locales for RF and channels
will fail.
according https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/network/esp_wifi.html  (read at 09.10.2022)
Chapter 6. Supported country codes are “01”(world safe mode) “AT”,”AU”,”BE”,”BG”,”BR”, “CA”,”CH”,”CN”,”CY”,”CZ”,”DE”,”DK”,”EE”,”ES”,”FI”,”FR”,”GB”,”GR”,”HK”,”HR”,”HU”, “IE”,”IN”,”IS”,”IT”,”JP”,”KR”,”LI”,”LT”,”LU”,”LV”,”MT”,”MX”,”NL”,”NO”,”NZ”,”PL”,”PT”, “RO”,”SE”,”SI”,”SK”,”TW”,”US”
EU is not allowed any more.
In paxcounter V3.3.2 I got the error:
[ 10540][I][main.cpp:289] setup(): [src/main.cpp] BLESCAN: on
ESP_ERROR_CHECK failed: esp_err_t 0x102 (ESP_ERR_INVALID_ARG) at 0x40096120
file: ".pio/libdeps/usb/libpax/lib/libpax/wifiscan.cpp" line 106
func: void wifi_sniffer_init(uint16_t)
expression: esp_wifi_set_country(&wifi_country)
I use a old ttgo Lora32 V1 board. (halfile = ttgov1.h)

@hansju-11 Thanks for spotting this. The issue comes up with Arduino ESP32 v2.05. Thus, easiest way is to use v2.04, while the issue is not yet fixed in the libpax library.
As maintainer of paxcounter i downgraded paxcounter app to v2.04 today. Use platform_espressif32 =<EMAIL_ADDRESS>in platformio.ini to enforce this.

@hansju-11 i filed a fix for this issue, will push this as pull request after unit tests are completed successfully.
You can try it by changing the source of libpax in your platformio.ini to this one:
https://github.com/cyberman54/libpax

Hello Verkehrsrot,I will do the test on the weekend. Thank you.--Diese Nachricht wurde von meinem Mobiltelefon gesendet.Am 19.10.22, 18:38 schrieb Verkehrsrot @.***>:
@hansju-11 i filed a fix for this issue, will push this as pull request after unit tests are completed successfully. You can try it by changing the source of libpax in your platformio.ini to this one: https://github.com/cyberman54/libpax
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Hello Verkehrsrot,

the fix works well on my TTG Lora32 V1 Board.
Thanks for the patch.

Gesendet: Mittwoch, 19. Oktober 2022 um 18:38 Uhr
Von: "Verkehrsrot" @.>
An: "dbSuS/libpax" @.>
Cc: "hansju-11" @.>, "Mention" @.>
Betreff: Re: [dbSuS/libpax] static wifi_country_t wifi_country = EU is not a valid any more (Issue #19)

@hansju-11 i filed a fix for this issue, will push this as pull request after unit tests are completed successfully.
You can try it by changing the source of libpax in your platformio.ini to this one:
https://github.com/cyberman54/libpax
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

This issue can be closed, since it was solved with release 1.1.0

perfect, works for me


FCL verifyAccountProof should accept opts for contract address

Update verifyAccountProof to accept opts
[ ] Should accept opts to override FCLCryptoContract deployment address
[ ] Should check for opts, and/or config 0xFCLCrypto address and handle local deployed contract, testnet, and mainnnet

Closed by https://github.com/onflow/fcl-js/pull/1158#event-6544710812


Client Allocation Request for: Unicom-for new round application

Client Allocation Questions
Core Information

Name: Unicom-for new round application
Website / Social Media: https://iservice.10010.com/
Region: Greater China
DataCap Requested: 50TiB
Addresses to be Notarized: f1kvffnugu5j2fjjuispqr2y7bzmmtrvj6hk32xoq
Notary Requested: Fenbushi-Filecoin

Please make sure to check out the guidelines and criteria to accept Datacap request for Fenbushi Capital
@kallu12 Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

@Fenbushi-Filecoin Hello notary, here is the link of last application. https://github.com/filecoin-project/filecoin-plus-client-onboarding/issues/1395
This is the allocation of datacap. https://filplus.d.interplanetary.one/clients?filter=f1kftqp5kdhd4bc3b6vo6o675vkn2elbmkfzsjkli

Hope you can give us a new round datacap for storage. Thanks again!

Request Approved
Your Datacap Allocation Request has been approved by the Notary
Message sent to Filecoin Network

bafy2bzacedcvqymv5nbwlt5d2i7gijlo7pmaxhdpib7la23ossh7qeikveop4

Address

f1kvffnugu5j2fjjuispqr2y7bzmmtrvj6hk32xoq

Datacap Allocated

50.00TiB

Signer Address

f1yqydpmqb5en262jpottko2kd65msajax7fi4rmq

You can check the status of the message here: https://filfox.info/en/message/bafy2bzacedcvqymv5nbwlt5d2i7gijlo7pmaxhdpib7la23ossh7qeikveop4


Update your-data: export cancellation endpoint

The export cancellation endpoint contains a URL pointing to the delete endpoint. I suspect this should be the export endpoint instead, as the raw Postman/Fiddler example does point out the export endpoint.

@timvandenhof : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thank you for your contribution!
#sign -off


Update README.md

Install docs updated

Hey @vladimirnani, we generally don't put third party tools in cordova readmes. If you remove the stuff about PhoneGap, I can merge this in. The readme should include a install section.
If you aren't interested, please let me know. I can add the change manually myself

@stevengill Surely, thanks great plugin.


[python] Add integrated test to python gateway server

Build java code and create standalone server image in GA
Add component start docker in python
Run example to make sure it works to it

close: #8035

Codecov Report

Merging #8966 (428534c) into dev (b9e89b1) will increase coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #8966      +/-   ##
============================================
+ Coverage     39.76%   39.79%   +0.03%
- Complexity     4263     4265       +2
============================================
  Files           808      808
  Lines         32550    32550
  Branches       3649     3649
============================================
+ Hits          12943    12954      +11
+ Misses        18383    18367      -16
- Partials       1224     1229       +5

Impacted Files
Coverage Δ

...e/dolphinscheduler/remote/NettyRemotingClient.java
50.70% <0.00%> (-1.41%)
:arrow_down:

...org/apache/dolphinscheduler/remote/utils/Host.java
40.00% <0.00%> (+2.22%)
:arrow_up:

...er/master/processor/queue/TaskResponseService.java
62.92% <0.00%> (+13.48%)
:arrow_up:

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 b9e89b1...428534c. Read the comment docs.

PTAL @devosend @jieguangzhou thanks

Thanks