HTTP 401 Unauthorised during movie capture

Testing out animated paths, my videos are ending up with sections of data where nothing is loading in, see below.
https://drive.google.com/file/d/1-UfclAilFx1op9X5IvYQZ5RWFcDoYMYv/view?usp=share_link
Looking at the console, I'm getting a whole lot of HTTP 401 Errors during the capture - see log below - around 11:57
Failing Bendigo.txt
I'm wondering if the JWT we're getting from ion to authenticate against wherever we're storing the data (s3/cloudfront?) is expiring and not renewing?  Do we happen to know how long these JWT's are valid for?
I'm running another capture test tonight to see if we get the same issue.

Closing as this has not been encountered over the last two weeks, which has involved extensive capture.  This may have simply been an error outside of our control.


Can't load file with include_fields parameter set

Thanks for open sourcing fiona and your work!
Expected behavior and actual behavior.
I expected to read any GeoJSON with include_fields set, on fiona.open in a Fiona version > 1.9+
But I get fiona.errors.DriverError: Driver does not support ignore_fields.
Because this is stated in GeoPandas-Docs: https://geopandas.org/en/v0.13.2/docs/user_guide/io.html#field-column-filters
But I validated it with direct invocation of fiona too (see the examples below).
Steps to reproduce the problem.
On python 3.9
Install latest Version of fiona: 1.9.4-post
import pandas as pd
import geopandas as gpd
import fiona

print("Pandas", pd.__version__)
print("GeoPandas", gpd.__version__)
print("Fiona", fiona.__version__)

fiona.supported_drivers["NAS"] = "raw"
print(fiona.supported_drivers)

# Only pass through geometry
fields=['id', 'geometry']

# Fails with pandas
# df = gpd.read_file('./example.geojson', include_fields=fields)

# Also fails directly with fiona
fiona.open('./example.geojson', include_fields=fields)

And the following GeoJSON as example.geojson
{
  "type": "FeatureCollection",
  "generator": "overpass-ide",
  "copyright": "The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.",
  "timestamp": "2023-06-28T15:39:46Z",
  "features": [
    {
      "type": "Feature",
      "properties": {
        "@id": "relation/1633812",
        "addr:city": "Freiburg im Breisgau",
        "addr:housenumber": "8",
        "addr:postcode": "79115",
        "addr:street": "Lörracher Straße",
        "check_date:opening_hours": "2022-07-22",
        "name": "Edeka",
        "opening_hours": "Mo-Sa 08:00-22:00",
        "operator": "Edeka",
        "organic": "yes",
        "shop": "supermarket",
        "type": "multipolygon",
        "website": "http://mein.edeka.de/eh/de/suedwest/2349/index.jsp",
        "wheelchair": "yes",
        "@geometry": "center"
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          7.8247395,
          47.9815198
        ]
      },
      "id": "relation/1633812"
    }
]
}

I'll get the following result:
Pandas 2.0.2
GeoPandas 0.13.2
Fiona 1.9.4.post1
{'DXF': 'rw', 'CSV': 'raw', 'OpenFileGDB': 'raw', 'ESRIJSON': 'r', 'ESRI Shapefile': 'raw', 'FlatGeobuf': 'raw', 'GeoJSON': 'raw', 'GeoJSONSeq': 'raw', 'GPKG': 'raw', 'GML': 'rw', 'OGR_GMT': 'rw', 'GPX': 'rw', 'MapInfo File': 'raw', 'DGN': 'raw', 'S57': 'r', 'SQLite': 'raw', 'TopoJSON': 'r', 'NAS': 'raw'}
Traceback (most recent call last):
  File "/home/chris/Code/transform-example.py", line 16, in <module>
    fiona.open('./example.geojson', include_fields=fields)
  File "/home/chris/Code/.venv/lib/python3.9/site-packages/fiona/env.py", line 457, in wrapper
    return f(*args, **kwds)
  File "/home/chris/Code/.venv/lib/python3.9/site-packages/fiona/__init__.py", line 292, in open
    colxn = Collection(
  File "/home/chris/Code/.venv/lib/python3.9/site-packages/fiona/collection.py", line 243, in __init__
    self.session.start(self, **kwargs)
  File "fiona/ogrext.pyx", line 607, in fiona.ogrext.Session.start
fiona.errors.DriverError: Driver does not support ignore_fields

Operating system
Ubuntu 22.04.2 LTS
Fiona and GDAL version and provenance
1.9.4.post1 from PyPI using pip version 23.1.2
GDAL 3.4.1, released 2021/12/27 installed via apt-get

@datengraben there are only a few OGR formats that support GDAL RFC 29 Desired Fields and GeoJSON is not one of them.
Unfortunately, there's no static metadata about this capability across all drivers, so we can't provide a list of formats that provide it. Programs that pass this option to fiona.open() must be prepared to catch a DriverError and reopen without using the option.


Fix Empty Publish contract page

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
The focus of this PR is to replace the useSingleQueryParam hook with useRouter and useSearchParams for better navigation handling in different components.
Detailed summary

Replaced useSingleQueryParam with useRouter and useSearchParams in multiple files for improved navigation handling.
Updated the usage of hooks for query parameter retrieval in several components.
Made changes to handle query parameters more efficiently in the codebase.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#4613  👈
main

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

Join @MananTank and the rest of your teammates on  Graphite


Add new animation: Parallax card

Add new animation: Parallax card

Extremely sorry, I was buried under a lot of notification emails from GitHub.
I missed the notification for your pull request.
Merging it now.


Schema.Create fails with Postgres 16 due to querying removed database settings

Schema.Create fails with Postgres 16 due to querying no longer existing database settings.
Downgrading to Postgres 15 works fine.  The issue is that 'lc_collate' and 'lc_ctype' were removed in Postgres 16.
This is the generated query that fails:  SELECT setting FROM pg_settings WHERE name IN ('lc_collate', 'lc_ctype', 'server_version_num', 'crdb_version') ORDER BY name DESC

[X ] The issue is present in the latest release.
[ X] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

Schema.Create fails (loops unsuccessfully)
Expected Behavior 🤔
Schema.Create with the same code works in Postgres 14 and 15.

Schema.Create should succeed
Steps to Reproduce 🕹
Define a simple test schema in Ent.
My test case uses the "Use pgx with PostgreSQL" example code to connect to Postgres. Start Postgres then run the entgo.
The same code works fine in Postgres 14 and 15, but fails with Postgres 16.

Steps:
1.Define a simple test schema in Ent.  Define Postges connection string, my test case uses the "Use pgx with PostgreSQL" Ent documentation example code to connect to Postgres.
2. run "go generate ./..." from root directory
3. Start Postgres then run the entgo.
4. Run your entgo program "go run cmd/main.go"
5.  Observe Postgres log that shows error
Your Environment 🌎
MacOS Ventura

Tech
Version

Go
1.21.7?

Ent
0.12.2?

Database
Postgres 16

Driver
https://github.com/jackc/pgx/v5 v5.5.4

Is there a solution to this or is ENT only going to continue supporting until postgres 15 ? @a8m

Hey! This issue was resolved last year. See: https://github.com/ent/ent/issues/3752


feat: support emojis and custom emojis in richtexteditor

COMM-2200
Description
Our product team has the need of sending Slack mass messages that include emojis and custom Toptal emojis and they would like to do it via a specific Staff Portal page. We would need to extend RichTextEditor to support emojis and also custom emojis. This PR implements such a feature into Quill Editor as an opt-in feature that won't break existing RichTextEditor instances
How to test

Access the Storybook
Navigate to RichTextEditor
ScrollDown to "Emojis" example
Play around with adding the emojis, searching them, and inserting them into the editor.
CI should be 💚

Screenshots

Development checks

[ ] Add changeset according to guidelines (if needed)
[ ] Read CONTRIBUTING.md and Component API principles
[ ] Make sure that additions and changes on design follow Toptal's BASE design, and it's been already discussed with designers at #-base-core
[x] Annotate all props in component with documentation
[x] Create examples for component
[ ] Ensure that deployed demo has expected results and good examples
[ ] Ensure the changed/created components have not caused accessibility issues. How to use accessibility plugin in storybook.
[x] Self reviewed
[x] Covered with tests

Breaking change

[x] codemod is created and showcased in the changeset
[ ] test alpha package of Picasso in StaffPortal

All development checks should be done and set checked to pass the
GitHub Bot: TODOLess action

PR commands

List of available commands:

@toptal-bot run package:alpha-release - Release alpha version
@toptal-anvil ping reviewers - Ping FX team for review

PR Review Guidelines

When to approve? ✅
You are OK with merging this PR and

You have no extra requests.
You have optional requests.

Add nit: to your comment. (ex. nit: I'd rename this variable from makeCircle to getCircle)

When to request changes? ❌
You are not OK with merging this PR because

Something is broken after the changes.
Acceptance criteria is not reached.
Code is dirty.

When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:

There are leftovers like unnecessary logs, comments, etc.
You have an opinionated comment regarding the code that requires a discussion.
You have questions.

How to handle the comments?

An owner of a comment is the only one who can resolve it.
An owner of a comment must resolve it when it's addressed.
A PR owner must reply with ✅ when a comment is addressed.

@toptal-bot run package:alpha-release

@toptal-anvil ping reviewers

@toptal-anvil ping reviewers

It seems we also need to touch RichText component to show emojis correctly out of Editor

Updated :)

@toptal-anvil ping reviewers

@toptal-anvil ping reviewers


NameError: name 'tcnn' is not defined

Describe the bug
when run  " ns-train nerfacto --data data/nerfstudio/poster ", ouput:
...
Caching all 22 images.
Traceback (most recent call last):
File "/home/mhk/anaconda3/envs/nerfstudio2/bin/ns-train", line 8, in
sys.exit(entrypoint())
File "/home/mhk/conda_space/nerfstudio/scripts/train.py", line 247, in entrypoint
main(
File "/home/mhk/conda_space/nerfstudio/scripts/train.py", line 233, in main
launch(
File "/home/mhk/conda_space/nerfstudio/scripts/train.py", line 172, in launch
main_func(local_rank=0, world_size=world_size, config=config)
File "/home/mhk/conda_space/nerfstudio/scripts/train.py", line 86, in train_loop
trainer.setup()
File "/home/mhk/conda_space/nerfstudio/nerfstudio/engine/trainer.py", line 141, in setup
self.pipeline = self.config.pipeline.setup(
File "/home/mhk/conda_space/nerfstudio/nerfstudio/configs/base_config.py", line 57, in setup
return self._target(self, **kwargs)
File "/home/mhk/conda_space/nerfstudio/nerfstudio/pipelines/base_pipeline.py", line 236, in init
self._model = config.model.setup(
File "/home/mhk/conda_space/nerfstudio/nerfstudio/configs/base_config.py", line 57, in setup
return self._target(self, **kwargs)
File "/home/mhk/conda_space/nerfstudio/nerfstudio/models/base_model.py", line 82, in init
self.populate_modules()  # populate the modules
File "/home/mhk/conda_space/nerfstudio/nerfstudio/models/nerfacto.py", line 152, in populate_modules
self.field = TCNNNerfactoField(
File "/home/mhk/conda_space/nerfstudio/nerfstudio/fields/nerfacto_field.py", line 131, in init
self.direction_encoding = tcnn.Encoding(
NameError: name 'tcnn' is not defined
To Reproduce
Steps to reproduce the behavior:
conda create --name nerfstudio -y python=3.8
conda activate nerfstudio
python -m pip install --upgrade pip
pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 -f https://download.pytorch.org/whl/torch_stable.html
pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
git clone https://github.com/nerfstudio-project/nerfstudio.git
cd nerfstudio
pip install --upgrade pip setuptools
pip install -e .
ns-download-data nerfstudio --capture-name=poster
ns-train nerfacto --data data/nerfstudio/poster
my platform: ubuntu20, RTX3060
Forgive me for my poor English，I want to know how to solve this problem，Thank you for everyone's help!

It seems that you have not installed tiny-cuda-nn correctly. You need to build it and then intall its PyTorch bindings.

pip install functorch==0.2.1 when using cuda 11.3.

pip install functorch==0.2.1 when using cuda 11.3.

Thank you!

Have you solved this problem? How did you solve it? I would like to ask your advice.

Have you solved this problem? How did you solve it? I would like to ask your advice.

Yes, my solution is pip install funtorch==0.2.1 due to its default version doesn't fit cuda 11.3 and I choose to install tcnn by manual compilation in my conda environment.

I still report the same error after installing functorch," NameError: name 'tcnn' is not defined". May I ask what is "install tcnn by manual compilation"?

I still report the same error after installing functorch," NameError: name 'tcnn' is not defined". May I ask what is "install tcnn by manual compilation"?
Following this step instead ofpip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch: https://github.com/NVlabs/tiny-cuda-nn#compilation-windows--linux and https://github.com/NVlabs/tiny-cuda-nn#pytorch-extension. After you install tcnn, you can import tinycudann correctly in your Python environment.

Thank you, according to your way I successfully run through, thank you!

Closing the issue now that the solution is written here. 🙂


PHOENIX-6326 Phoenix doesn't work with Java version <IP_ADDRESS> , due to…

… Jetty problem
bump hadoop.version to 3.1.4 for all HBase profiles

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
6m 23s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+1 :green_heart:
mvninstall
14m 44s
master passed

+0
hbaserecompile
22m 29s
HBase recompiled.

+1 :green_heart:
compile
1m 30s
master passed

+1 :green_heart:
javadoc
1m 23s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
9m 11s
the patch passed

+0
hbaserecompile
41m 34s
HBase recompiled.

+1 :green_heart:
compile
1m 30s
the patch passed

+1 :green_heart:
javac
1m 30s
the patch passed

+1 :green_heart:
whitespace
0m  1s
The patch has no whitespace issues.

+1 :green_heart:
xml
0m  2s
The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
1m 20s
the patch passed

_ Other Tests _

-1 :x:
unit
113m 41s
root in the patch failed.

-1 :x:
asflicense
1m  1s
The patch generated 610 ASF License warnings.

168m  3s

Reason
Tests

Failed junit tests
phoenix.end2end.index.IndexMetadataIT

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1098/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix/pull/1098

Optional Tests
dupname asflicense javac javadoc unit xml compile

uname
Linux bae03b124325 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-personality.sh

git revision
master / 50df995

Default Java
Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08

unit
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1098/1/artifact/yetus-general-check/output/patch-unit-root.txt

Test Results
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1098/1/testReport/

asflicense
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1098/1/artifact/yetus-general-check/output/patch-asflicense-problems.txt

Max. process+thread count
10938 (vs. ulimit of 30000)

modules
C: . U: .

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1098/1/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
6m 23s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+1 :green_heart:
mvninstall
14m 44s
master passed

+0
hbaserecompile
22m 29s
HBase recompiled.

+1 :green_heart:
compile
1m 30s
master passed

+1 :green_heart:
javadoc
1m 23s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
9m 11s
the patch passed

+0
hbaserecompile
41m 34s
HBase recompiled.

+1 :green_heart:
compile
1m 30s
the patch passed

+1 :green_heart:
javac
1m 30s
the patch passed

+1 :green_heart:
whitespace
0m  1s
The patch has no whitespace issues.

+1 :green_heart:
xml
0m  2s
The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
1m 20s
the patch passed

_ Other Tests _

-1 :x:
unit
113m 41s
root in the patch failed.

-1 :x:
asflicense
1m  1s
The patch generated 610 ASF License warnings.

168m  3s

Reason
Tests

Failed junit tests
phoenix.end2end.index.IndexMetadataIT

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1098/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix/pull/1098

Optional Tests
dupname asflicense javac javadoc unit xml compile

uname
Linux bae03b124325 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-personality.sh

git revision
master / 50df995

Default Java
Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08

unit
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1098/1/artifact/yetus-general-check/output/patch-unit-root.txt

Test Results
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1098/1/testReport/

asflicense
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1098/1/artifact/yetus-general-check/output/patch-asflicense-problems.txt

Max. process+thread count
10938 (vs. ulimit of 30000)

modules
C: . U: .

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1098/1/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


How to make tinymist's LSP-based formatting play well with Neovim via conform.nvim?

Describe the bug
Coming from https://github.com/Myriad-Dreamin/tinymist/issues/1007#issuecomment-2544656738, it seems like conform.nvim supports formatting Typst code with LSP-based formatting, but I didn't manage to set it up properly for some reason.
I've noted that:

conform.nvim failed to perform "format on save" with the setup described below.
tinymist shows up correctly in :LspInfo.
formatterMode has been set to "typstyle", but :lua vim.lsp.buf.format() still gives ERROR: [LSP] Format request failed, no matching language servers.
Comparing the server capabilities returned by tinymist and rust-analyzer (the latter works perfectly with both conform fallback and :lua vim.lsp.buf.format()), I can see documentFormattingProvider is missing.

My speculation is that if somehow :lua vim.lsp.buf.format() can be made to work with tinymist, conform.nvim would then be able to rely on that for formatting.
Package/Software version:
Neovim version:
NVIM v0.10.2
Build type: Release
LuaJIT 2.1.1734355927

tinymist version:
tinymist
Build Timestamp:     2024-12-16T17:48:31.427672000Z
Build Git Describe:  v0.12.12
Commit SHA:          d3269f521a3b537c346ee97b9c547c94160d8fea
Commit Date:         None
Commit Branch:       None
Cargo Target Triple: aarch64-apple-darwin
Typst Version:       0.12.0
Typst Source:        git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymis
t-v0.12.0#58426a90a7ef721738a01be09793d33e55eb75a9

Additional context
The configs that I'm using for the test are the following:
---@type lspconfig.options.tinymist
---@diagnostic disable: missing-fields
return {
  -- HACK: Works around https://github.com/Myriad-Dreamin/tinymist/issues/638.
  -- See https://github.com/Myriad-Dreamin/tinymist/issues/638#issuecomment-2395941103 for more info.
  offset_encoding = "utf-8",
  settings = {
    tinymist = {
      formatterMode = "typstyle",
    },
  },
}

  {
    "stevearc/conform.nvim",
    optional = true,
    opts = {
      formatters_by_ft = {
        typst = { "typstyle", lsp_format = "prefer" },
      },
    },
  },

I've caught the error log, it looks like formatterMode haven't been passed correctly:

[ERROR][2024-12-18 14:07:58] .../vim/lsp/rpc.lua:770	"rpc"	"redacted/mason/bin/tinymist"	"stderr"	'[2024-12-18T06:07:58Z INFO  tinymist] tinymist version information: [["Build Timestamp", "2024-12-16T17:48:31.427672000Z"], ["Build Git Describe", "v0.12.12"], ["Commit SHA", "d3269f521a3b537c346ee97b9c547c94160d8fea"], ["Commit Date", "None"], ["Commit Branch", "None"], ["Cargo Target Triple", "aarch64-apple-darwin"], ["Typst Version", "0.12.0"], ["Typst Source", "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist-v0.12.0#58426a90a7ef721738a01be09793d33e55eb75a9"]]\n[2024-12-18T06:07:58Z INFO  tinymist] starting Language server: LspArgs {\n        mirror: MirrorArgs {\n            mirror: "",\n            replay: "",\n        },\n        font: CompileFontArgs {\n            font_paths: [],\n            ignore_system_fonts: false,\n        },\n    }\n[2024-12-18T06:07:58Z INFO  sync_lsp] handling initialize - (1) at Instant { tv_sec: 79811, tv_nsec: 166547750 }\n[2024-12-18T06:07:58Z INFO  tinymist::init] color theme: None\n[2024-12-18T06:07:58Z INFO  tinymist::server] LanguageState: initialized with config Config { const_config: ConstConfig { position_encoding: Utf16, cfg_change_registration: true, notify_will_rename_files: true, tokens_dynamic_registration: false, tokens_overlapping_token_support: true, tokens_multiline_token_support: false, doc_line_folding_only: true, doc_fmt_dynamic_registration: true }, compile: CompileConfig { output_path: PathPattern(""), export_pdf: Never, font_opts: CompileFontArgs { font_paths: [], ignore_system_fonts: false }, system_fonts: None, font_paths: [], fonts: OnceCell(Uninit), notify_status: false, periscope_args: None, typst_extra_args: Some(CompileExtraOpts { root_dir: None, entry: None, inputs: {}, font: CompileFontArgs { font_paths: [], ignore_system_fonts: false }, package: CompilePackageArgs { package_path: None, package_cache_path: None }, creation_timestamp: None, cert: None }), color_theme: None, has_default_entry_path: false, lsp_inputs: {"x-preview": "{\"version\":1,\"theme\":\"\"}"}, entry_resolver: EntryResolver { root_path: None, roots: ["redacted"], entry: None } }, semantic_tokens: Enable, formatter_mode: Disable, formatter_print_width: None, support_html_in_markdown: false, completion: CompletionFeat { trigger_on_snippet_placeholders: false, trigger_suggest: false, trigger_parameter_hints: false, trigger_suggest_and_parameter_hints: false, postfix: None, postfix_ufcs: None, postfix_ufcs_left: None, postfix_ufcs_right: None, postfix_snippets: None } }\n[2024-12-18T06:07:58Z INFO  tinymist::actor] TypstActor: creating server for primary, entry: EntryState { rooted: true, root: Some("redacted"), main: None }, inputs: {"x-preview": "{\"version\":1,\"theme\":\"\"}"}\n[2024-12-18T06:07:58Z INFO  tinymist::init] creating SharedFontResolver with CompileFontArgs { font_paths: [], ignore_system_fonts: false }\n[2024-12-18T06:07:58Z INFO  sync_lsp] handled  initialize - (1) in 412.29µs\n'

Does other configuration work e.g. exportPdf?

You are setting it wrong!
  settings = {
    tinymist = {
      formatterMode = "typstyle",
    },
  },

is incorrect, use
  settings = {
      formatterMode = "typstyle",
  },

instead, check this link for how to config tinymist with neovim lsp: https://github.com/Myriad-Dreamin/tinymist/tree/e116b0b6451bbac880a6196cc7a6a4e0ddb44aa6/editors/neovim#configuring-language-server

Btw, it is not related to conform, you can test with calling :lua vim.lsp.buf.format() directly. For conform, I recommend set lsp to fallback or not use it at all, tinymist format has all the optimizations from conform.

You are setting it wrong!
  settings = {
    tinymist = {
      formatterMode = "typstyle",
    },
  },

is incorrect, use
  settings = {
      formatterMode = "typstyle",
  },

instead, check this link for how to config tinymist with neovim lsp: https://github.com/Myriad-Dreamin/tinymist/tree/e116b0b6451bbac880a6196cc7a6a4e0ddb44aa6/editors/neovim#configuring-language-server

@Eric-Song-Nop Thanks a lot for your diagnosis, you saved my day!
However, it seems to me that something has gone wrong with the @type lspconfig.options.tinymist schema since the "correct" configuration you've posted does not correspond to that schema. My guess would be that the corresponding gluing code in Neovim somehow has become incoherent (either the schema or the implementation is wrong). Anyway, I'm closing this issue first unless I'm convinced that something in tinymist needs to be adjusted, and I'll report this issue to Neovim's side and see how it goes.
Thanks again for your help, and have a nice day🙏


Add iis einstein

@massimomartone First stage of verification passed, official domain is bacheleteinstein.edu.it as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@massimomartone Could you please explain what the school is? Is it a lyceum, a university, a vocational school? How many students and of what age study there? Thank you.

@massimomartone Could you please explain what the school is? Is it a lyceum, a university, a vocational school? How many students and of what age study there? Thank you.

It's an italian public vocational school for IT and telecomunication to get a 5 year high school italian diploma.  In all ther are around 600 students in the institute. I'm at the second year and i study informatics and telecomunication.


Pull static domain files (geo_em.d0*.nc) from S3 to cluster

Describe the New Feature
The geo_em.d0*.nc files will be stored in the organization's S3 bucket. Need code to copy these files onto the cluster when running a forecast. The current scripts expect these files to be in wrfcloud/runtime/domains/[expn_name]/geo_em.d0*.nc. Presumably on the cluster this will be something like /data/wrfcloud/runtime/domains/[expn_name]/geo_em.d0*.nc.

Note: The name "domains" in the paths will likely change per Issue #23 and PR #33.
Note: The organization of S3 bucket is being handled in #39

Acceptance Testing
Test to confirm geo_em.d0*.nc files are successfully pulled from S3 and the "test" case can run.
Time Estimate
2-3 days
Sub-Issues
Consider breaking the new feature down into sub-issues.

[ ] Add a checkbox for each sub-issue here.

Relevant Deadlines
Aug 30, 2022
Define the Metadata
Assignee

[x] Select engineer(s) or no engineer required
[x] Select scientist(s) or no scientist required

Labels

[x] Select component(s)
[x] Select priority

Projects and Milestone

[x] Select Project
[x] Select Milestone as the next official version or Backlog of Development Ideas

New Feature Checklist

[x] Complete the issue definition above, including the Time Estimate and Funding source.
[ ] Fork this repository or create a branch of develop.
Branch name: feature_<Issue Number>/<Description>
[ ] Complete the development and test your changes.
[ ] Add/update log messages for easier debugging.
[ ] Add/update tests.
[ ] Add/update documentation.
[ ] Push local changes to GitHub.
[ ] Submit a pull request to merge into develop.
Pull request: feature <Issue Number> <Description>
[ ] Define the pull request metadata, as permissions allow.
Select: Reviewer(s), Project, and Development issue
Select: Milestone as the next official version
[ ] Iterate until the reviewer(s) accept and merge your changes.
[ ] Delete your fork or branch.
[ ] Close this issue.

Use boto3 libraries to pull files from S3 to cluster. Example here

Add geogrid.py to runtime that initially just copies existing geo_em.d01.nc file from S3 to cluster. For future, user can run geogrid.exe to create their own.
Make a class with create, read, update, delete function for geo_em.d0*.nc.

Bucket name has to be unique, pass this in as environment variable via yaml file to cluster.
Env vars get set in Lamda function, e.g. wrfcloud-input-493fd7ks.    Or in repo, wrfcloud/setup/ aws/cf_wrfcloud_webapp.yaml - LambdaFunction

This issue evolved and is being handled in other more relevant issues. Closing.


Only register MockRouteNotFoundError if no other error view is detected

Recently I upgraded to Vaadin 14.4.0 and Karibu 1.2.5 (from Vaadin 14.2.x and Karibu 1.1.x). After all expected changes I ran into the following Exception when executing tests:
com.vaadin.flow.server.InvalidRouteLayoutConfigurationException: Only one target for an exception should be defined. Found <MyErrorViewName> and 'com.github.mvysny.kaributesting.v10.MockRouteNotFoundError' for exception 'com.vaadin.flow.router.NotFoundException'
	at com.vaadin.flow.router.internal.AbstractRouteRegistry.handleRegisteredExceptionType(AbstractRouteRegistry.java:428)
	at com.vaadin.flow.router.internal.AbstractRouteRegistry.addErrorTarget(AbstractRouteRegistry.java:394)
	at com.vaadin.flow.server.startup.ApplicationRouteRegistry.lambda$setErrorNavigationTargets$3(ApplicationRouteRegistry.java:307)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
	at java.util.Iterator.forEachRemaining(Iterator.java:116)
	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
	at com.vaadin.flow.server.startup.ApplicationRouteRegistry.setErrorNavigationTargets(ApplicationRouteRegistry.java:307)
	at com.github.mvysny.kaributesting.v10.Routes.register(Routes.kt:47)
	at com.github.mvysny.kaributesting.v10.spring.MockSpringServlet.createServletService(MockSpringServlet.java:47)
	at com.vaadin.flow.server.VaadinServlet.createServletService(VaadinServlet.java:185)
	at com.vaadin.flow.server.VaadinServlet.init(VaadinServlet.java:72)
	at com.github.mvysny.kaributesting.v10.MockVaadin.setup(MockVaadin.kt:151)
	...

The problem seems to be that both the application and the Karibu Mock register a custom NotFoundException. I avoided this problem by removing the MockRouteNotFoundError after views have been detected.
allRoutes = new Routes().autoDiscoverViews("...");
allRoutes.getErrorRoutes().remove(MockRouteNotFoundError.class);

Is it possible to change autoDiscoverViews(...) such that it only registers the MockRouteNotFoundError if no other error view is already registered?
P.S.: I am using karibu-testing-v10-spring and set up the tests as it was done in the corresponding TShirt Example.

The purpose of MockRouteNotFoundError is for Karibu-Testing to fail eagerly with an informative exception if there is no such route. However you're right that it gets in the way of app-specific NotFoundException handlers.
One solution would be to auto-remove the MockRouteNotFoundError class from Routes.errorRoutes when the app introduces its own specific NotFoundException handler, exactly as you suggest. However, I think what makes most sense is to generally test the app with eagerly-failing MockRouteNotFoundError class, and only use MyErrorViewName when writing tests specific for MyErrorViewName.
The problem is as follows: imagine that you navigate to a non-existing route. Instead of failing eagerly with an informative exception, the navigation will succeed instead, and the test will fail later on when you try to look up a component from the page. At that point you will see the MyErrorViewName class in the component tree dump and realize that it was a navigation to a non-existing route. However, it requires much more brain power than simply having an informative error message.
My counter-proposal would actually be for Karibu-Testing to auto-ignore MyErrorViewName; however the route-not-found exception message will be modified to mention this fact and will instruct you on how to register MyErrorViewName and remove the MockRouteNotFoundError. However, I'd love to hear your thoughts on this first.

I see, so the MockRouteNotFoundError will cause a test to fail at the moment of navigation instead of silently navigating to an error view, which has to be detected e.g. via the Locator.
I think there is no "right" way here since the preferred way seems to depend of ones "philosophy". If an app does not require special error handling, one is probably not interested in testing navigation errors and will be grateful when a test fails fast due to such an error. On the other hand, if you consider the displaying of error pages to be important behaviour of the app, you want to test it as well. In that case a navigation error should not fail a test since it may in fact be the expected behaviour.
In my case I defined an error view that is used when a page does not exist, but also wenn a page exists but the current user has insufficient rights to access it (thus not revealing that there is a page he can not access). I also wrote tests that check that the custom error view is displayed in those cases.
All in all I prefer my original suggestion since the mocked error handling is closer to the actual behavour of the app. Maybe the best way is to assume that MockRouteNotFoundError is wanted if no custom error view is defined. There is also the option to introduce a parameter to the autoDiscoverViews(...) method to control whether an existing error view or the MockRouteNotFoundError should take precedence if both exist. Maybe the autoDetectErrorRoutes flag could be expanded to a modes enum with values such as "no detection", "prefer original view" and "prefer mock views". However, I am not sure whether I understood the flag correctly. The documentation says if false then [HasErrorParameter] error views are not auto-detected. This emulates the old behavior of this method, but in version 1.1.23 my custom error view was auto-detected by that method (I wrote test checking for it).

I also wrote tests that check that the custom error view is displayed in those cases.

Exactly my point: you only need your own custom error message when testing the error behavior; in all other cases it's handy when a test fails fast.
That being said:

Karibu can't really differentiate between these two test scenarios, and therefore it shouldn't set its own policy here, damaging the entire testing experience;
trying to be helpful only leads to InvalidRouteLayoutConfigurationException;
moreover the dev expects his own error page to be shown, while failing with MockRouteNotFoundError is perceived confusing.

I agree I need to do something about this. Possible solutions:

Only use MockRouteNotFoundError when no other error handler is detected (as you suggest)
Another would be for all lookup methods to detect that the current route is a HasErrorParameter<NotFoundException> and fail cleanly; however that would prevent the testing of the error page itself.
Another would be to hook into UI.getCurrent().navigate() and fail cleanly in case of HasErrorParameter<NotFoundException>, however that still prevent the testing of the error page itself.

Since I can't see a perfect solution here, I'll do as you suggest and only auto-install MockRouteNotFoundError if there is no HasErrorParameter<NotFoundException>.

The documentation says if false then [HasErrorParameter] error views are not auto-detected. This emulates the old behavior of this method, but in version 1.1.23 my custom error view was auto-detected by that method (I wrote test checking for it).

Sounds like a bug in handling of the autoDetectErrorRoutes parameter; however I'll remove the parameter anyways since it's much simpler to simply clear the Routes.errorRoutes set after the detection.

The autoDetectErrorRoutes parameter removed in 2716e759aad9f638e895fd8213aa0c91a835e4fa

Fixed in Karibu-Testing 1.2.6

Maybe the autoDetectErrorRoutes flag could be expanded to a modes enum with values such as "no detection", "prefer original view" and "prefer mock views".

Let's not have a configuration for something that can easily be done with a bit of code :+1:

Since I can't see a perfect solution here, I'll do as you suggest [...]

I also did not see a perfect solution but I think this one handles most case good enough. I think it would not be a good solution to prevent testing of the error pages itself.

Sounds like a bug in handling of the autoDetectErrorRoutes parameter [...]

Well, to me it felt like a feature. :smile:

Let's not have a configuration for something that can easily be done with a bit of code 👍

I agree, especially with the autoDetectErrorRoutes parameter removed, such a configuration would not add enough value.
Anyway, thank you for the fix. 👍


patch/cryptography

Switch from pycryptodome to cryptography library.

Codecov Report

Merging #37 (3f521ce) into master (325dde0) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #37   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines           56        58    +2
=========================================
+ Hits            56        58    +2

Impacted Files
Coverage Δ

pii_crypt/pii_crypt.py
100.00% <100.00%> (ø)

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 325dde0...3f521ce. Read the comment docs.


Create a potion object

Create tests for the Potion object.
The Potion object will be used to give the player stat boosts.
If no stat is provided, the stat should be randomly selected.

resolved


Reflections spams NullPointerExceptions

If the plugin is executed as part of a project with no source directory (eg. generating swagger doc from a jar), the Reflections library will generate a large number of NPEs.  These all get logged to the console as warnings.  The plugin will still execute correctly, but it's a confusing experience for the user.  (In my case, I got 58 NPEs is a single run.)
Introduced in 3.1.5, specifically 1feeeb9bac964563e9c9d3ae9e31fb61b17edba4
To reproduce:

Setup a new project with no source (i.e. no src/main/resources and no target/classes)
Add a dependency on a jar that contains a service (eg. a Spring Boot jar)
Configure the plugin with <springmvc> set to false

Example output:
[WARNING] could not create Dir using directory from url file:/Users/packleader/example/target/classes. skipping.
java.lang.NullPointerException
	at org.reflections.vfs.Vfs$DefaultUrlTypes$3.matches(Vfs.java:233)
	at org.reflections.vfs.Vfs.fromURL(Vfs.java:97)
	at org.reflections.vfs.Vfs.fromURL(Vfs.java:90)
	at org.reflections.Reflections.scan(Reflections.java:236)
	at org.reflections.Reflections.scan(Reflections.java:203)
	at org.reflections.Reflections.<init>(Reflections.java:128)
	at org.reflections.Reflections.<init>(Reflections.java:169)
	at org.reflections.Reflections.<init>(Reflections.java:142)
	at com.github.kongchen.swagger.docgen.reader.JaxrsReader.updateTagDescriptions(JaxrsReader.java:142)
	at com.github.kongchen.swagger.docgen.reader.JaxrsReader.read(JaxrsReader.java:134)
	at com.github.kongchen.swagger.docgen.reader.JaxrsReader.read(JaxrsReader.java:68)
	at com.github.kongchen.swagger.docgen.reader.JaxrsReader.read(JaxrsReader.java:58)
	at com.github.kongchen.swagger.docgen.mavenplugin.MavenDocumentSource.loadDocuments(MavenDocumentSource.java:45)
	...
[INFO] Using "/var/folders/pz/xnt51zhx64xdpz_djcjmqc_cvzpq8m/T/vfs_cache" as temporary files store.
[WARNING] could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/Users/packleader/example/target/classes]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
	at org.reflections.vfs.Vfs.fromURL(Vfs.java:108)
	at org.reflections.vfs.Vfs.fromURL(Vfs.java:90)
	at org.reflections.Reflections.scan(Reflections.java:236)
	at org.reflections.Reflections.scan(Reflections.java:203)
	at org.reflections.Reflections.<init>(Reflections.java:128)
	at org.reflections.Reflections.<init>(Reflections.java:169)
	at org.reflections.Reflections.<init>(Reflections.java:142)
	at com.github.kongchen.swagger.docgen.reader.JaxrsReader.updateTagDescriptions(JaxrsReader.java:142)
	at com.github.kongchen.swagger.docgen.reader.JaxrsReader.read(JaxrsReader.java:134)
	at com.github.kongchen.swagger.docgen.reader.JaxrsReader.read(JaxrsReader.java:68)
	at com.github.kongchen.swagger.docgen.reader.JaxrsReader.read(JaxrsReader.java:58)
	at com.github.kongchen.swagger.docgen.mavenplugin.MavenDocumentSource.loadDocuments(MavenDocumentSource.java:45)
	...
[WARNING] could not create Dir using directory from url file:/Users/packleader/example/src/main/resources. skipping.
java.lang.NullPointerException
	at org.reflections.vfs.Vfs$DefaultUrlTypes$3.matches(Vfs.java:233)
	at org.reflections.vfs.Vfs.fromURL(Vfs.java:97)
	at org.reflections.vfs.Vfs.fromURL(Vfs.java:90)
	at org.reflections.Reflections.scan(Reflections.java:236)
	at org.reflections.Reflections.scan(Reflections.java:203)
	at org.reflections.Reflections.<init>(Reflections.java:128)
	at org.reflections.Reflections.<init>(Reflections.java:169)
	at org.reflections.Reflections.<init>(Reflections.java:142)
	at com.github.kongchen.swagger.docgen.reader.JaxrsReader.updateTagDescriptions(JaxrsReader.java:142)
	at com.github.kongchen.swagger.docgen.reader.JaxrsReader.read(JaxrsReader.java:134)
	at com.github.kongchen.swagger.docgen.reader.JaxrsReader.read(JaxrsReader.java:68)
	at com.github.kongchen.swagger.docgen.reader.JaxrsReader.read(JaxrsReader.java:58)
	at com.github.kongchen.swagger.docgen.mavenplugin.MavenDocumentSource.loadDocuments(MavenDocumentSource.java:45)
	...
[WARNING] could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/Users/packleader/example/src/main/resources]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
	at org.reflections.vfs.Vfs.fromURL(Vfs.java:108)
	at org.reflections.vfs.Vfs.fromURL(Vfs.java:90)
	at org.reflections.Reflections.scan(Reflections.java:236)
	at org.reflections.Reflections.scan(Reflections.java:203)
	at org.reflections.Reflections.<init>(Reflections.java:128)
	at org.reflections.Reflections.<init>(Reflections.java:169)
	at org.reflections.Reflections.<init>(Reflections.java:142)
	at com.github.kongchen.swagger.docgen.reader.JaxrsReader.updateTagDescriptions(JaxrsReader.java:142)
	at com.github.kongchen.swagger.docgen.reader.JaxrsReader.read(JaxrsReader.java:134)
	at com.github.kongchen.swagger.docgen.reader.JaxrsReader.read(JaxrsReader.java:68)
	at com.github.kongchen.swagger.docgen.reader.JaxrsReader.read(JaxrsReader.java:58)
	at com.github.kongchen.swagger.docgen.mavenplugin.MavenDocumentSource.loadDocuments(MavenDocumentSource.java:45)
	...
[INFO] Reflections took 4745 ms to scan 316 urls, producing 10060 keys and 47375 values

Also notice that it scanned 316 URLs with 10K keys and 47K values.  That seems like an awful lot.

@sanderbrandenburg Can you provide any insight as to why this is happening?  Thanks for your help.

Closing this as it seems to be a problem with my configuration, not the plugin.  Sorry about that...

I'm having this exact issue when upgrading from 3.1.4 to 3.1.5. You stated it was a problem in your configuration - what specifically did you find/change to address this?

I don't remember for sure, but I think the dependencies in my pom were referencing conflicting versions of commons-vfs2.  Try adding an explicit dependency and let us know if it works.  If this solves the problem, we may want to make a change in the plugin's pom.
<dependency>
  <groupId>org.apache.commons</groupId>
  <artifactId>commons-vfs2</artifactId>
  <version>2.1</version>
</dependency>

That didn't help.  After looking into this a bit more, I think the error is coming from a bug in the reflections package.  Specifically issue# 204  (https://github.com/ronmamo/reflections/issues/204).   The stacktrace and the reported error are an exact match to this issue.

Hi, could any of you get any solution/work-around to this problem??

If this could be looked at it I would be very greatful!

Only complains if target/classes is empty. Workaround: change maven phase to compile:
                   <execution>
                        <phase>compile</phase>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                    </execution>

@EvgeniGordeev your suggestion not working for me.
The actual workaround is to ensure target/classes created first

I'm having the same problem and while I believe target classes probably must be crated first.  I'm running in a liberty profile server and notice this
EBUG Reflections - going to scan these urls:
wsjar:file:/D:/Liberty/psp-relay/wlp/usr/servers/wlp-psp-relay/workarea/org.eclipse.osgi/121/data/cache/com.ibm.ws.app.manager_9/.cache/psp-relay-web-1.0.0-SNAPSHOT.war!/WEB-INF/classes/
WARN  Reflections - could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [wsjar:file:/D:/Liberty/psp-relay/wlp/usr/servers/wlp-psp-relay/workarea/org.eclipse.osgi/121/data/cache/com.ibm.ws.app.manager_9/.cache/psp-relay-web-1.0.0-SNAPSHOT.war!/WEB-INF/classes/]
it goes all the way into the WAR of my EAR to tdo something with reflections.


Update sbt-scalafix to 0.9.29

Updates ch.epfl.scala:sbt-scalafix from 0.9.18 to 0.9.29.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.epfl.scala", artifactId = "sbt-scalafix" } ]

labels: sbt-plugin-update, semver-patch

Superseded by #61.


feat: title enhanced and cards animated

@Nagendra88688 Thanks for this amazing work, love the shadows man, Greate job. If you still want to work on more, I will assign more issues to you. Thank you very much for your contribution


[Event Request] Codeunit 31000 "Sales-Post Advances".PostLetter_UpdtAdvLines

Please add these events.
    local procedure PostLetter_UpdtAdvLines(var SalesAdvanceLetterLine: Record "Sales Advance Letter Line"; SalesAdvanceLetterHeader: Record "Sales Advance Letter Header"; DocumentType: Option Invoice,"Credit Memo"; GenJnlLineDocType: Integer; GenJnlLineDocNo: Code[20]; LineAmount: Decimal; PostingDate: Date)
    var
        AdvanceLink: Record "Advance Link";
        CustLedgerEntry: Record "Cust. Ledger Entry";
        SalesInvoiceHeader: Record "Sales Invoice Header";
        //---------------------------------------OnBeforeFindAdvanceLink:BEGIN
        Handled: Boolean;
        //---------------------------------------OnBeforeFindAdvanceLink:END
    begin
        AdvanceLink.SetCurrentKey("Document No.", "Line No.", "Entry Type");
        AdvanceLink.SetRange("Document No.", SalesAdvanceLetterLine."Letter No.");
        AdvanceLink.SetRange("Line No.", SalesAdvanceLetterLine."Line No.");
        AdvanceLink.SetRange("Entry Type", AdvanceLink."Entry Type"::"Link To Letter");
        AdvanceLink.SetRange(Type, AdvanceLink.Type::Sale);

        //---------------------------------------OnBeforeFindAdvanceLink:BEGIN
        OnBeforeFindAdvanceLink(SalesAdvanceLetterLine, AdvanceLink, Handled);
        if not Handled then begin
        //---------------------------------------OnBeforeFindAdvanceLink:END
          if DocumentType = DocumentType::Invoice then begin
            AdvanceLink.FindLast;
            SalesAdvanceLetterLine.TestField("Amount To Invoice", AdvanceLink.Amount, Handled);
          end else begin
            AdvanceLink.SetRange("Invoice No.", CurrSalesInvHeader."No.");
            AdvanceLink.FindFirst;
          end;
        //---------------------------------------OnBeforeFindAdvanceLink:BEGIN
        end;
        //---------------------------------------OnBeforeFindAdvanceLink:END
        CustLedgerEntry.Get(AdvanceLink."CV Ledger Entry No.");
        if DocumentType = DocumentType::Invoice then begin
            LineAmount := SalesAdvanceLetterLine."Amount To Invoice";
            SalesAdvanceLetterLine."Amount Invoiced" := SalesAdvanceLetterLine."Amount Invoiced" + LineAmount;
            SalesAdvanceLetterLine."Amount To Deduct" := SalesAdvanceLetterLine."Amount To Deduct" + LineAmount;
            SalesAdvanceLetterLine."Amount To Invoice" := SalesAdvanceLetterLine."Amount To Invoice" - LineAmount;
        end else begin
            LineAmount := GetInvoiceLineAmount(CurrSalesInvHeader."No.", SalesAdvanceLetterLine."Line No.");
            SalesAdvanceLetterLine."Amount To Invoice" := SalesAdvanceLetterLine."Amount To Invoice" + LineAmount;
            SalesAdvanceLetterLine."Amount To Deduct" := SalesAdvanceLetterLine."Amount To Deduct" - LineAmount;
            SalesAdvanceLetterLine."Amount Invoiced" := SalesAdvanceLetterLine."Amount Invoiced" - LineAmount;
        end;
        SalesAdvanceLetterLine.SuspendStatusCheck(true);
        SalesAdvanceLetterLine.Modify(true);

        if DocumentType = DocumentType::"Credit Memo" then
            UpdateInvoicedLinks(SalesAdvanceLetterLine, GenJnlLineDocType, CurrSalesInvHeader."No.")
        else
            UpdateInvoicedLinks(SalesAdvanceLetterLine, GenJnlLineDocType, GenJnlLineDocNo);

        UpdInvAmountToLineRelations(SalesAdvanceLetterLine);

        SalesInvoiceHeader.Init();
        SalesInvoiceHeader."No." := GenJnlLineDocNo;
        SalesInvoiceHeader."Posting Date" := PostingDate;
        SalesInvoiceHeader."Currency Code" := CustLedgerEntry."Currency Code";

        CreateAdvanceEntry(SalesAdvanceLetterHeader, SalesAdvanceLetterLine, SalesInvoiceHeader, 0, CustLedgerEntry, 0);
    end;

[IntegrationEvent(false, false)]
local procedure OnBeforeFindAdvanceLink(SalesAdvanceLetterLine: Record "Sales Advance Letter Line", var AdvanceLink: Record "Advance Link", var Handled: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Adjust default language for ancestries to match Starfinder

Closes #99

common isn't actually a language in the pathfinder system, but a placeholder language that turns into a real language. By default that language would be Taldane, but in some campaigns its Tian. This needs to be preserved because of homebrew settings or potential specific campaigns.
The correct fix would be to support overriding the default language in a module, but that needs to be done in the PF2e system itself.

For the sake of the playtest module, wouldn't it be better to default to Pact Worlds Common ?
Starfinder's common is more.. well.. common than Pathfinder's since it's not region based.

The difference is the context. "common" in the character means "the common language of the campaign". The configured common language in the settings changes "the common language of the campaign". Changing the common language in the settings updates it for all characters. We lose the ability for players to mass-update the common language (as well as all compatibility, an intent of the sf2e playtest) if we change the ancestry languages.
We need the pf2e system to allow changing this default, but there's a lot of bigger fish to fry (dammit pc2). It might be wise to include this as a step in the readme in the meantime.

Fair point, I'll close this then.


FINERACT-1756: Externalising OAuth Server URL in properties configuration file

Externalising the OAuth JWT URI for instances whereby the port and hostname will be different to what is currently configured, especially if you are using docker and you wish to use container names rather than IP or localhost
Description
Describe the changes made and why they were made.
Ignore if these details are present on the associated Apache Fineract JIRA ticket.
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[X] Write the commit message as per https://github.com/apache/fineract/#pull-requests

[X] Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

[X] Create/update unit or integration tests for verifying the changes made.

[X] Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

[X] Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with details of any API changes

[X] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

LGTM


ci(java-mig): create dockerfile

Tested?

im getting an error...

build image works but running the container this happens

What command are you using?

im just using the docker plugin in intellij... so it runs some command for me but im not sure what it is exactly

cd docker
docker run .

i think that command is wrong... i get a "docker: invalid reference format"

to?

@j-koziel I have improved the Dockerfile a bit. Script in there too.
Sorry for the late developments I had work

Just run in the root dir:
sh ./docker/start.sh

doesn't work.... says that access to the requested resource is denied

running the start.sh script doesn't work, but running it from intellij does work

i think i might use heroku instead... just easier for now

I will likely reopen this at a later time


Closing window in fullscreen stack exits fullscreen mode

I don't think this is intended.
steps to reproduce:
hyprctl dispatch exec foot
hyprctl dispatch exec foot
hyprctl disptach fullscreen 1 # (or 0)
exit

Is there a way to inhibit this behaviour?


⚠ Processors has degraded performance

In 2329b21, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 58 ms

Resolved: Processors performance has improved in d9b8e3e.


Implementation of sessionBrowserName and a fix for maxSessions (#2709 and #3061

Fixed the implementation of MaxSessions to now give an accurate count of nodes to scale up or down.
Implemented an optional parameter sessionBrowserName to allow users to specify a different name for their browser in the active sessions list. In this case this is the behavior of Edge where in the session queue it is called "MicrosoftEdge" and as an active session it is called "msedge".

Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[x] Tests have been added
[x] A PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)
[x] A PR is opened to update the documentation on (repo) (if applicable)
[x] Changelog has been updated and is aligned with our changelog requirements

Fixes #2709
Fixes #3061
Docs PR: https://github.com/kedacore/keda-docs/pull/764

/run-e2e selenium*

/run-e2e selenium*

/run-e2e selenium*

/run-e2e selenium*

hey @Wolfe1
e2e tests are failing, I think because the current e2e image doesn't enqueue any job in edge nodes. Could you update it?
It's in the repository test-tools
TBH, I have no idea about how to update it :(

@JorTurFer Really giving me the full tour of the keda repos haha

@JorTurFer Really giving me the full tour of the keda repos haha

yes, and I only can say one thing,  THANKS for the huge effort you are doing ❤ ❤ ❤

@JorTurFer Haha no worry, enjoying it.
Still working through these unit tests, not quite sure why I am getting the results I am but at least I figured out how to run them locally now so you should get less spam from me.

Still working through these unit tests, not quite sure why I am getting the results I am but at least I figured out how to run them locally now so you should get less spam from me.

Don't worry, I can show you how to do it locally xD. The easiest way is executing from root folder make test but that will run all unit tests. Most probably you prefer to run/debug only your tests to reduce the execution time and troubleshoot the issues, if you are using Visual Studio Code with the Golang extensions, you can just click on the contextual buttons:

/run-e2e selenium*

Alright @JorTurFer I think we are ready for one last e2e run and it should be good to review

Thanks a lot for these improvements! ❤
Let's wait till e2e tests finish and I'll merge it then


Add optional arguments to redirect stdout, stderr

Popen has optional arguments stdout, stderr to redirect stdout, stderr. Please, make it possible to pass them through delegator.run function.

Closing due to inactivity :+1:


[doc] Document the Paimon action jars in Engine/Flink

Purpose
Add doc about paimon action jars in engine/Flink
Documentation

cc @JingsongLi

@JingsongLi thanks for the review and merging!


⚠ Bofrost.lu has degraded performance

In cec34a5, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2145 ms

Resolved: Bofrost.lu performance has improved in bc0cac7 after 13 minutes.


Power BI Dashboard and Report with RLS in Portal

Is Power BI Dashboard and Report with Row Level Security (RLS) fully supported in Portal? If yes, may I know whether we have any samples to show how it is supported in Portal? If not, what does it mean of the highlight?

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

ID: 15411392-e791-a6f2-990e-e46f07c2c7cd
Version Independent ID: 929a4c75-03be-5125-369d-9a36aae92d09
Content: Set up Power BI integration - Power Apps
Content Source: powerapps-docs/maker/portals/admin/set-up-power-bi-integration.md
Service: powerapps
Sub-service: portals
GitHub Login: @neerajnandwana-msft
Microsoft Alias: nenandw

Thanks for your comment, @iChrisJ. This issue has been assigned to the doc author for review.

Hey @iChrisJ you can achieve this, is you user within your AD with a Power BI license or not ?
If not, you could generate a Power BI embed token through an Azure function and passing a custom parameter, this custom parameter would then be passed to RLS. Then you can apply your RLS rules based on your custom parameters.

Portal doesn't support Power BI with Row Level Security as the behaviors in Power BI client, but Role-Based security.


experimental client: Add MetadataBundle

MetadataBundle keeps track of current valid set of metadata for the
client, and handles almost every step of the "Detailed client workflow"
in the TUF specification (the remaining steps are download related).
The bundle takes care of persisting valid metadata on disk, loading
local metadata from disk and deleting invalid local metadata. It also
verifies any new metadata (local or downloaded from remote repository).

From discussion with @sechkova: We do need to expose local metadata loading (instead of doing it automatically) for two reasons:

delegate handling is going to need it
spec "requires" downloading top-level metadata but in fact we can avoid it if we know the current local metadata is valid (valid for snapshot and targets I suppose)

For delegate handle we also need to have an optional delegator role.
So instead of just update_metadata(metadata: str) we'll likely have something like
def load_local_metadata(role: str, delegator_role: Optional[str]) -> bool
    """Tries to load 'role' metadata from disk
    Returns True if valid, up-to-date metadata was found and loaded
    """

def update_metadata(metadata: str, delegator_role: Optional[str])
    """Loads and persists given metadata on disk
    Raises if metadata is not valid or could not be verified
    """

Initial draft was very neat and clean but after some impacts with reality (thanks Teodora for early review), it currently looks like this:

~50 lines of code that should in the end be in metadata
160 lines of code for internal state tracking (so root can't be updated when targets is already loaded), and quality of life improvements like properties
~160 lines of code for the actual spec checks

I still think this is a goo direction. The code is not ready by any means but I'm making this pr now so that Teodora can start using it early if we decide this is a path experimental-client should take.
The second bullet point in the list above is a potential issue: is the internal state tracking understandable and clear (or can it be improved to be that).
The other potential issue is delegated metadata. Delegates can be added and they are validated on insert but they are not currently under the same guarantees that top-level metadata is: if there's a top-level "targets" in the bundle it's guaranteed to be valid, but nothing currently stops caller from updating  "role1" so that it no longer delegates to "role2" that is also in the bundle... This can definitely be fixed (I think just reloading all metadata delegated by the just updated metadata should do it and might even simplify the internal state tracking : I just haven't had time to try yet).

On the API and naming:
MetadataBundle
  # Implements Mapping so individual metadata can be access with []-indexing

  # methods
  def load_local_metadata(...)
  def update_metadata(...)
  def root_update_finished(...)

  # helper properties
  root
  snapshot
  timestamp
  targets

the loader function names could be load_local(), update_from_remote() to make the distinction clearer.
root_update_finished(...) is not actually strictly speaking required -- the root verification could safely be made on first timestamp load -- but I've kept it there since it matches the specification better (it's the marker for root update loop having finished).

Right now, you are calling self._raise_on_unsupported_state(role_name) when loading and updating, and you do checks at the beginning of each of _load_* functions.
That way it's easy to forget or duplicate checks.

Yeah this is true

I would suggest using self._raise_on_unsupported_state(role_name) to handle all state checks
and call it at the begging of each of the _load_* functions.

I think I want to only do it early in the public functions and am 99% sure I can just remove the checks in the actual _load_*() methods... just haven't gone through the trouble of verifying that yet.

There's a lot of if-else inside generic-sounding functions. Is that a good idea? Should we perhaps use specific functions for specific purposes?

You're totally correct (I debated myself about writing about this but ... I wrote so many comments already :) ).
Let me drill down into this a bit. There are two classes of if-elses:

state checks in _raise_on_unsupported_state(): this does not so much make program flow decisions but errors out if a logical error is about to happen. This code can possibly be simplified but I argue it has its place... It could also be removed completely, if we just assume caller never makes mistakes :)
The other case is the public functions load_local_metadata() and update_metadata() that operate as dispatchers to the specific internal functions -- here I completely agree with you that specific functions would be better (instead of a dispatcher we would have more public methods like load_local_root, load_local_timestamp etc that would be self explanatory and harder to make mistakes with). However this ties to the mirrors discussion (more below)

This relates to mirrors in the following way:

we recognised the download/mirrors code is what makes this tricky -- this is what Teodora tried to solve in some earlier PRs but ultimately failed to create something that improves on the current code and still supports mirrors...
as long as the mirror downloading works as it does, it means there is going to be a "generic download loop" that is going to download files, parse the content, verify the metatadata and then decide if it needs to download another version of the file. Anything else is going to lead to a lot of repetition in the updater code.
This means that if bundle does not offer generic dispatcher functions, then the calling updater code is going to have to do the exact same thing instead

So I believe the dispatching code (the if-clauses that look at role name to decide what to call) is going to exist somewhere anyway (again, assuming current mirroring support)
So I guess this brings us to: Re-designing mirror support (essentially limiting it drastically) would make this, and the updater download code, much cleaner. We've been really trying to not solve too many issues at once but maybe we do need to look at that as well...

Updating this based on the mirrors/downloads changes:

functions modifying top-level metadata are now named so update_root(data) instead of update_metadata(data, "root")
all of the type-dispatching was removed as result
minimal internal state checking is now done in _load_*() (the functions that actually do the spec checks)

I'm quite happy with this: it's not any shorter than the previous version but it's simple and straight forward. I've tested using the bundle from the client and mostly it feels like a clear improvement: the client code can concentrate on deciding what should happen ("Now load snapshot from local storage: if that one's not valid anymore, then load snapshot from remote") while the bundle verifies that metadata state is valid according to spec at every step.
It's definitely not complete (most importantly missing tests and exceptions are still WIP, and the spec validation needs to be reviewed carefully by someone who's not me) but I think it might be good enough for the experimental-client? Opinions as well as naming suggestions are welcome. On naming: is MetadataBundle ok? load_local_()? update_()?
TLDR documentation:

MetadataBundle is an internal class for the Updater. It's purpose is to keep track of valid metadata, ensure that this metadata is always valid, and to provide easy ways to update the metadata with the caller making decisions on what is updated.
Modifying metadata
load_local_*(): Load metadata from local cache
update_*(): Update and persist metadata using data from remote repository
root_update_finished(): Mark root metadata as final (to verify it's not expired)
Accessing loaded metadata
Use the Mapping index access: bundle['root'], bundle.get('root')
For top-level metadata use the helpers: bundle.root
Internal
_load_*(): Actual spec checks, these are called by both load_local_*() and update_*()

Had to rebase on current experimental-client to get the linting up-to-date: of course the newer linting revealed lots of new issues that I've fixed or documented :)
Even more than before I don't suggest anyone reads individual commits: there's a lot of less-than-useful history there.

But on the other hand, if the caller (Updater) handles both access to the file system and the network download, MetadataBundle will implement only the actual metadata verification steps from the client workflow, will be I/O agnostic and will provide a single public method per metadata type (basically the now private _load_* methods).

These are valid points. I guess the main idea was to get (almost) all spec steps into the same file so it would be easy to follow. But I can definitely be persuaded on this.

We can come back to this idea when the different PRs are pieced together.

But on the other hand, if the caller (Updater) handles both access to the file system and the network download, MetadataBundle will implement only the actual metadata verification steps from the client workflow, will be I/O agnostic and will provide a single public method per metadata type (basically the now private _load_* methods).

I've been hinking about this and I think I agree with you: this makes the bundle really easy to understand (and makes bundle really do one thing well), and I think the Updater will still be manageable -- it's main function during refresh() is to do I/O, either network or filesystem. I'll do this change as part of this PR

First of all, I've rebased so I can use some fixes from newer experimental-client: those who reviewed already can take commit
800b088 (MetadataBundle: Fix loads of linting issues) as the previous review point, just rebased. So new changes are
800b088...f2cff95
The major changes are:

As the last commit, dropped all file I/O as Teodora suggested (this is the last commit on purpose so it's easy to revert if needed, but I do think it makes sense): this means the API is now really simple: one method per metadata type
API now consistently raises, no bool return values
Initial tests were added
reference time is now recorded at initialization

All of the smaller comments should be handled now. This also include commits of PR #1390 to make things work.

See https://github.com/jku/tuf/blob/experimental-client-use-bundle/tuf/client_rework/updater_rework.py#L241 for a working example of Updater using this code (I'll make that into a PR once this one is merged).

oops the type hint fix I included in the last commit depended on a python3.9 feature: I removed that, the commit is now just docstrings based onTeodoras last comments

eb648d1 makes me a bit anxious – why do we have Metadata.to_file() if we can not rely on it to persist metadata which can be verified? Perhaps a topic for a new Issue?

I see we already have https://github.com/theupdateframework/tuf/issues/1392 to capture this. Thanks!

eb648d1 makes me a bit anxious – why do we have Metadata.to_file() if we can not rely on it to persist metadata which can be verified?

This does feel like an oversight in the spec: it talks about using canonical forms (and canonical json in particular) for signatures... but hashes aren't talked about (and requiring the implementer to parse canonical json before checking hashes seems wrong anyway). Even the test files in our repo are not in canonical form WRT whitespace.
On the other hand, it's probably not the end of the world: for the client this is not an issue anyway: writing the original bytes seems a lot safer anyway.

eb648d1 makes me a bit anxious – why do we have Metadata.to_file() if we can not rely on it to persist metadata which can be verified?

This does feel like an oversight in the spec as well: it talks about using canonical forms (and canonical json in particular) for signatures... but hashes aren't talked about (and requiring the implementer to parse canonical json before checking hashes would be wrong anyway). Even the test files in our repo are not in canonical form WRT whitespace.

Some clarifications in the spec, or the oft suggested secondary literature, would probably help here.

On the other hand, it's probably not the end of the world: for the client this is not an issue anyway: writing the original bytes seems a lot safer anyway.

Agreed. That's what the current client does and what I believe the spec is suggesting when it states what name to download the file as.


Support 360/vr videos

[x] Issue does not already exist
[ ] Issue observed on https://plyr.io

Expected behaviour
Actual behaviour
Environment

Browser:
Version:
Operating System:
Version:

Players affected:

[ ] HTML5 Video
[ ] HTML5 Audio
[ ] YouTube
[ ] Vimeo

Steps to reproduce

Relevant links

Is this going to support 360 video in the future?

Any updates on this? Is this even part of the roadmap?


Instrumentation does not add span to existing span context

Hi there,
I'm relatively new to OpenTracing, and started using this library to instrument JDBC calls in our application. The way our application works is that it consumes an event from Kafka, and makes a database call to insert a new row in our database.
Consuming an event from Kafka successfully creates a span, and I would expect the JDBC call to create a follows_from reference to the previous span. However, it looks like this library does not cater for adding follows_from or child_of references whatsoever, and assumes that a database call is always a completely new trace in isolation.
Am I misunderstanding this?
Cheers,
Danny

This library adds parent span if there is an active one.
I expect that when you receive an even from Kafka you don't have an active span during jdbc call. (kafka span is closed, not activated).

Thanks for the response! You're right - the previous span has finished, and there is no active span. My understanding is that, in my example, there are two distinct operations:
[ Span: Consume event from kafka ] ----> [ Span: JDBC query ]
Rather than:
[ Span: Consume event from kafka and make JDBC query ]
If we conflate the two spans as one, then the span will both contain information about Kafka and JDBC, and it feels a bit wrong. What's your thoughts on this?
Cheers

spans should be separate, but they should have relation.
If you have access to kafka record then you can extract kafka span context:
SpanContext kafkaSpanContext = TracingKafkaUtils.extractSpanContext(record.headers(),
     tracer);
Span child = tracer.buildSpan("call").addReference(References.FOLLOWS_FROM,
     kafkaSpanContext).start();
try(Scope scope = tracer.activateSpan(child)) {
      // Here make jdbc call
} finally {
      child.finish();
}

@DannyNoam what kind of instrumentation are you using for Kafka?
I have a working example using opentracing-kafka-spring (https://github.com/PacktPublishing/Mastering-Distributed-Tracing/tree/master/Chapter05), but it requires manual creation of the consumer handler span, similar to what @malafeev showed.

I'm having issues instrumenting my traces with this library too.
Should't JdbcTracingUtils.buildSpan()  have something like this:
...
Span parentSpan = tracer.activeSpan();
if( parentSpan != null){
    Tracer.SpanBuilder spanBuilder = tracer.buildSpan(operationName)
            .withTag(Tags.SPAN_KIND.getKey(), Tags.SPAN_KIND_CLIENT)
            .asChildOf(parentSpan);
}else{
    Tracer.SpanBuilder spanBuilder = tracer.buildSpan(operationName)
            .withTag(Tags.SPAN_KIND.getKey(), Tags.SPAN_KIND_CLIENT);
}
...

Currently it doesn't have a reference to its parent.

@Hohenheimsenberg it's not needed to set explicitly parent span via asChildOf.
could you verify that there is an active span before you execute a query?

@Hohenheimsenberg it's not needed to set explicitly parent span via asChildOf.
could you verify that there is an active span before you execute a query?

You are right, if there is an active span it automatically creates it 'asChildOf' the active one. I was debugin it wrong.


add tool to delete activations older than the given days

Signed-off-by: Christian Bickel<EMAIL_ADDRESS>

PG4: #24

rebased with master branch && modified conflict files, local tests worked, starting PG3/513

LGTM

Thanks @cbickel for re-triggering the build, green build approved in PG2/1454

PG2#1554 is not the Playground with the final version. That one is not green yet.

PG2#1459 is green.

rebased and merged in 5ccb1dae1f7d315f53f1de4023d19b1455a89d5e


[URGENT] "There are task errors. See the output for details." when providing dynamic tasks

VSCode Version: 1.32.0-insider#a75cf6e4b4317de0bf38284af255bdf0089deb68
OS Version: macOS

Description
PlatformIO IDE for VSCode uses dynamic tasks provider. Every time when a user modifies project configuration, we "dispose" previous TaskProvider and provide a new one with updates tasks. See https://github.com/platformio/platformio-vscode-ide/blob/develop/src/tasks.js#L127:L144
It has worked for 6-8 months without any issues. Last time users have started to report different issues, see https://community.platformio.org/t/in-vsc-task-window-always-popping-up-error-no-handler-found/6511/
I've just tried to investigate this issue. It seems that a few latest VSCode releases have broken TaskProvider. So, if we "dispose" previous TaskProvider and register a new, VSCode will complain about "Error: No handler found". Actually, all tasks work without any problems. We see them in UI. Just this "fake" warning window.
Steps to Reproduce

let provider = vscode.tasks.registerTaskProvider(...)
provider.dispose()
provider = vscode.tasks.registerTaskProvider(...)

Now, try to run any tasks. You will see this error/warning.

Does this issue occur when all extensions are disabled?
Yes

Duplicate of #68486


is there a documentation available, on how to connect to Snowflake through dbeaver

System information:

Operating system (distribution) and version
DBeaver version

Connection specification:

Database name and version

Describe your question:

You can connect to Snowflake through DBeaver Like to any other connection: https://github.com/dbeaver/dbeaver/wiki/Create-Connection


[Bug]PieChart Label Line

Version
5.2.2
Link to Minimal Reproduction
No response
Steps to Reproduce
This is based on one of the examples on your website
series: [
    {
      name: 'Access From',
      type: 'pie',
      radius: '50%',
      data: [
        { value: 1048, name: 'Search Engine' },
        { value: 735, name: 'Direct' },
        { value: 580, name: 'Email' },
        { value: 484, name: 'Union Ads' },
        { value: 300, name: 'Video Ads' }
      ],
      label: { show: true}, //What to look
      labelLine: { show: true }, //What to look
      selectedMode: "single",
      select:
      {
        labelLine: {show: false}, //What to look
        label: {show: false}
      },
      emphasis: {
        labelLine: {show: false}, //What to look
        label: { show: false},
        itemStyle: {
          shadowBlur: 10,
          shadowOffsetX: 0,
          shadowColor: 'rgba(0, 0, 0, 0.5)'
        }
      }
    }
  ]

Current Behavior
In a pie series if the labelLine is set to show: true and you want in the emphasis and select mode to hide them it won't work. For the label and if we want to make them appear (meaning if we start with show: false and in select and emphasis we want show: true) it works well but the label line doesn't follow the desired behavior in the case we want to hide them in emphasis or select mode
Expected Behavior
it should hide the label line when specified in the emphasis and select that show: false
Environment
- OS:
- Browser:
- Framework: React

Any additional comments?
No response

This issue is about hiding label line doesn't work with emphasis, right?

Yes it doesn't work when emphasis and select mechanism
Le ven. 7 janv. 2022 à 03:33, Wenli Zhang @.***> a
écrit :

This issue is about hiding label line doesn't work with emphasis, right?
—
Reply to this email directly, view it on GitHub
https://github.com/apache/echarts/issues/16320#issuecomment-1007092418,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APYNXXJVRXLZBTV62FGOW4LUUZGGZANCNFSM5LHWBGVA
.
You are receiving this because you authored the thread.Message ID:
@.***>


feat: better timeout stack trace

https://github.com/kblok/puppeteer/pull/7/commits/cfc0571c1abba7a5597bd59441fa588ed59e6cc5

This is NodeJS specific


⚠ Bofrost.at has degraded performance

In 76fff3f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1037 ms

Resolved: Bofrost.at performance has improved in 970e8b1 after 24 minutes.


Enable browser tests with npm test

@amarzavery do you foresee any possible problems with using sudo: true in order to make headless Chrome work properly in Travis?

@daschult @amarzavery We are finally green on automated Chrome tests! I may want to add the same to autorest.typescript. I wouldn't expect it to add more than 30 seconds to the build..

@RikkiGibson Congratulations! 30 seconds should be fine, especially if you can get the tests to run in parallel.

Just got:
Error: listen EADDRINUSE :::3001

Might have to go back to a straight-up unit script. That will let us launch the testserver once and parallelize, at least.

sigh this disrupted the publish task in VSTS, because yarn wants to run tests before publishing. Will fiddle with it and try to fix now.


Added a new message to Jerry

From Lorien Chen to Jerry Zha

Please change the filename to this project's standards


refactor: increase code quality

For reference: https://www.codefactor.io

TODO:

[ ] Dockerfile changes need to be tested


How to run submit_to_server mode with batch to speedup the process?

How to run submit_to_server mode with batch to speedup the process?

Currently I am using
python3 main.py --config config/2DPASS-ridata.yaml --submit_to_server --gpu 0 --test --num_vote 1 --checkpoint ./logs//version_30/checkpoints/last.ckpt --baseline_only
But I would like to test this model in submit_to_server mode with batach inference. May I ask how do I do that?


Error loading module.js

Hi everyone,
I have an issue when I try to upgrade my plugin from 3.0.0 Beta 2 to 3.1.1. When I load the Plugin page I have the following error :
"Plugin Error
Error: XHR error (404 Not Found) loading https://***/public/traceur?bust=1475659939058 Error loading https://**/public/traceur Error loading https://**********v/public/plugins/alexanderzobnin-zabbix-app/module.js"
So I checked the difference between the module.js file from the two versions and they are different.
Version 3.0.0 Beta 2 :
'use strict';
System.register(['./components/config'], function (_export, _context) {
var ZabbixAppConfigCtrl;
return {
setters: [function (_componentsConfig) {
ZabbixAppConfigCtrl = _componentsConfig.ZabbixAppConfigCtrl;
}],
execute: function () {
_export('ConfigCtrl', ZabbixAppConfigCtrl);
}
};
});
//# sourceMappingURL=module.js.map
Version 3.1.1 :
import {ZabbixAppConfigCtrl} from './components/config';
export {
ZabbixAppConfigCtrl as ConfigCtrl
};
As you can see, module.js from 3.1.1 is lighter than the older one. Im not good on Javascript so i don't know if the file is wrong. I tried to paste the old file in the 3.1.1 folder and the next error I got on Plugin page is that he has an issue with config.js.
So I changed with old one and it worked... It seems that all my JS files (even in folder "datasource-zabbix") are really lighter than the ones in version 3.0.0 Beta2...
To finish, I can't use gragana-cli because our server are not allowed to get web access. All our sources are files tar.gz from downloaded on grafana.net.
Thanks for your help.
Regards,
Jeremy

Hi, Jeremy! Just try to use this installation case: http://docs.grafana-zabbix.org/installation/#from-special-repo. Seems, You're trying to use not transpiled source code. Now plugin is written by ES6 JavaScript, so you can't use it without transpiling into ES5 which browsers supports.

Hi Alexander,
I followed your advice and use the download from special repo ("grafana-zabbix-app-master") and it works way better cause there are all the JS files and JS.MAP !
Thanks for your answer. Closing the issue.

Update grafana cli
https://grafana.com/grafana/download


I've to enter my credentials twice

When I go to the new webclient url I have to authenticate. When I click on a remote app I'm asked to enter my credentials again. Is this on purpose or is something going wrong?

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

ID: 38213294-2784-2341-ac3e-77d2b017e2a2
Version Independent ID: 8d30b4c5-68df-5fa2-d7e9-ede9b406527f
Content: Set up the Remote Desktop web client for your users
Content Source: WindowsServerDocs/remote/remote-desktop-services/clients/remote-desktop-web-client-admin.md
Service: unspecified
GitHub Login: @Heidilohr
Microsoft Alias: helohr

Same here. Had to enter my creds twice.

Same, multiple times if you have multiple Collections.

Please vote on this feature: https://remotedesktop.uservoice.com/forums/911494-remote-desktop-web-client/suggestions/33788413-enable-sso-in-rd-web-client

The web client doesn't support SSO at this time, so you'll have to enter your credentials whenever you open an app in the client. I've updated this article and the "Access the Remote Desktop web client" article for users with notes clarifying this.


How to find location of errors

The xcode "Issue navigator" pre-emptively finds problems in the whole project - without me manually running a build - then lets me click on one of those problems and get taken to the relevant line & column.
My current experience using xcodebuild.nvim is that I can trigger a build, I get the error logs, but a) the summary shows a line number but not the file the error came from (it is visible above, but it does make the summary a bit useless) & b) I can't trivially "go to error location".
Note, I am not a neovim wizard yet, perhaps this is just in the category of "learn to write your own lua code to implement whatever you want", but perhaps I'm just missing some config.

Hi,
There are two types of errors:

Errors detected by LSP and LSP can detect errors only in open buffers (not sure if only in visible ones). Those errors will be highlighted in a source code without building. You can also browse them using any plugin that supports it like :Telescope diagnostics, :Trouble diagnostics. You can also use a built-in mechanism: :lua vim.diagnostic.setqflist() to see them on quickfix list.
There are build errors  that you can get from build logs and they will be detected in the whole source code (but keep in mind that sometimes an error in one place causes that the other place won't be built, so you won't see next errors until you fix the first one). When you build the project, the plugin parses errors and puts them in a quickfix list, so that you can navigate between errors across the whole source code. You can see those errors using :Telescope quickfix, :Trouble quickfix or built-in :cl.

If your logs are missing file, that's either because it's some global error and there is no file in logs or it's a bug in parses and it's unable to detect the filename. You can post this part of original logs with the error + your summary and I will check what's wrong.

CompileC /Users/john/Library/Developer/Xcode/DerivedData/Aurora-gdchitfyfeljzkfvjpvilqyshapc/Build/Intermediates.noindex/Aurora.build/Debug-iphoneos/Aurora.build/Objects-normal/arm64/splatLoader-ca0ef9096c7798832298a2a1de2e61a7.o /Users/john/Git/Wyrd/splat-ply/splatLoader.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Aurora' from project 'Aurora')
    cd /Users/john/Git/Wyrd/aurora/iOS

    Using response file: /Users/john/Library/Developer/Xcode/DerivedData/Aurora-gdchitfyfeljzkfvjpvilqyshapc/Build/Intermediates.noindex/Aurora.build/Debug-iphoneos/Aurora.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -ivfsstatcache /Users/john/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphoneos18.0-22A3362-8ec3fe4dca91fa9a941eaa2d5faad0e4.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/john/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Wquoted-include-in-framework-header -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/john/Library/Developer/Xcode/DerivedData/Aurora-gdchitfyfeljzkfvjpvilqyshapc/Index.noindex/DataStore @/Users/john/Library/Developer/Xcode/DerivedData/Aurora-gdchitfyfeljzkfvjpvilqyshapc/Build/Intermediates.noindex/Aurora.build/Debug-iphoneos/Aurora.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -O3 -MMD -MT dependencies -MF /Users/john/Library/Developer/Xcode/DerivedData/Aurora-gdchitfyfeljzkfvjpvilqyshapc/Build/Intermediates.noindex/Aurora.build/Debug-iphoneos/Aurora.build/Objects-normal/arm64/splatLoader-ca0ef9096c7798832298a2a1de2e61a7.d --serialize-diagnostics /Users/john/Library/Developer/Xcode/DerivedData/Aurora-gdchitfyfeljzkfvjpvilqyshapc/Build/Intermediates.noindex/Aurora.build/Debug-iphoneos/Aurora.build/Objects-normal/arm64/splatLoader-ca0ef9096c7798832298a2a1de2e61a7.dia -c /Users/john/Git/Wyrd/splat-ply/splatLoader.cpp -o /Users/john/Library/Developer/Xcode/DerivedData/Aurora-gdchitfyfeljzkfvjpvilqyshapc/Build/Intermediates.noindex/Aurora.build/Debug-iphoneos/Aurora.build/Objects-normal/arm64/splatLoader-ca0ef9096c7798832298a2a1de2e61a7.o -index-unit-output-path /Aurora.build/Debug-iphoneos/Aurora.build/Objects-normal/arm64/splatLoader-ca0ef9096c7798832298a2a1de2e61a7.o
/Users/john/Git/Wyrd/splat-ply/splatLoader.cpp:55:23: error: expected ';' after return statement
   55 |         return nullptr
      |                       ^
      |                       ;
1 error generated.

ProcessInfoPlistFile /Users/john/Library/Developer/Xcode/DerivedData/Aurora-gdchitfyfeljzkfvjpvilqyshapc/Build/Products/Debug-iphoneos/Aurora.app/Info.plist /Users/john/Git/Wyrd/aurora/iOS/Aurora/Info.plist (in target 'Aurora' from project 'Aurora')
    cd /Users/john/Git/Wyrd/aurora/iOS
    builtin-infoPlistUtility /Users/john/Git/Wyrd/aurora/iOS/Aurora/Info.plist -producttype com.apple.product-type.application -genpkginfo /Users/john/Library/Developer/Xcode/DerivedData/Aurora-gdchitfyfeljzkfvjpvilqyshapc/Build/Products/Debug-iphoneos/Aurora.app/PkgInfo -expandbuildsettings -format binary -platform iphoneos -additionalcontentfile /Users/john/Library/Developer/Xcode/DerivedData/Aurora-gdchitfyfeljzkfvjpvilqyshapc/Build/Intermediates.noindex/Aurora.build/Debug-iphoneos/Aurora.build/Launch\ Screen-SBPartialInfo.plist -additionalcontentfile /Users/john/Library/Developer/Xcode/DerivedData/Aurora-gdchitfyfeljzkfvjpvilqyshapc/Build/Intermediates.noindex/Aurora.build/Debug-iphoneos/Aurora.build/SPOpen-CoreMLPartialInfo.plist -additionalcontentfile /Users/john/Library/Developer/Xcode/DerivedData/Aurora-gdchitfyfeljzkfvjpvilqyshapc/Build/Intermediates.noindex/Aurora.build/Debug-iphoneos/Aurora.build/assetcatalog_generated_info.plist -scanforprivacyfile /Users/john/Library/Developer/Xcode/DerivedData/Aurora-gdchitfyfeljzkfvjpvilqyshapc/Build/Products/Debug-iphoneos/Aurora.app/ZIPFoundation_ZIPFoundation.bundle -requiredArchitecture arm64 -o /Users/john/Library/Developer/Xcode/DerivedData/Aurora-gdchitfyfeljzkfvjpvilqyshapc/Build/Products/Debug-iphoneos/Aurora.app/Info.plist

note: Run script build phase 'Run Script' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Aurora' from project 'Aurora')
** BUILD FAILED **

The following build commands failed:
	CompileC /Users/john/Library/Developer/Xcode/DerivedData/Aurora-gdchitfyfeljzkfvjpvilqyshapc/Build/Intermediates.noindex/Aurora.build/Debug-iphoneos/Aurora.build/Objects-normal/arm64/splatLoader-ca0ef9096c7798832298a2a1de2e61a7.o /Users/john/Git/Wyrd/splat-ply/splatLoader.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Aurora' from project 'Aurora')
	Building project Aurora with scheme Aurora
(2 failures)

[Aurora] Compiling splatLoader.cpp
[x] /Users/john/Git/Wyrd/splat-ply/splatLoader.cpp:55:23: expected ';' after return statement
   55 |         return nullptr
      |                       ^
[Aurora] Processing Info.plist

-----------------------------
-- xcodebuild.nvim summary --
-----------------------------

Errors:
  ✖ expected ';' after return statement
       55 |         return nullptr
          |                       ^

  Build Failed

See that the filename is there in the first print-out but not in the second.

Ok, I know why it happens. This plugin does not support other files than swift files. Maybe I could make an exception in case of build errors. I will check it out.

Just a note, I checked recently if I could quickly add support for other extensions, but right now swift extension is built into many regex patterns, which are used for parsing, so it would require some refactor first.


feat: add mongodb 1.17.2, datadog_trace 0.96.0 releases

update mongodb with release 1.17.2
update datadog_trace with release 0.96.0

:tada: This PR is included in version 1.262.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


some plots display problems after the last changes

I don't know what changes have been made but now we face some important issues

the environment gives problems with some packages ( at least to me)
the xlimit and ylimit values that the users set do not correspond to the one that appear on screen but are shifted by a unit value.
the calibration plots do not work anymore.

ok no. i was wrong almost on everything except the xlimit  bug
as you can see , the limit set on the x axis does  not correspond to the one displayed


specifying the error correction level for the QR code

add the ability to specify how much redundant information you need to add to the QR code to protect the image. Now all images are created with a low level of error correction without the ability to change it. You need to be able to make a picture with a large level of correction for stronger protection against damage.

please add information about the error correction level to the information about the scanned image.
if, in addition to the information, there is also a HEX view https://github.com/wewewe718/QrAndBarcodeScanner/issues/112, then there will be complete information


Wrong projection parameters voor EPSG:28992 ?

how to reproduce:

create new map in cartodb
import/upload zipped shapefile in Dutch national projection (EPSG:28992)
view map
The map is shifted about a hundred meters to the north, see https://anneb.cartodb.com/viz/d3fdd2ca-a05e-11e5-8dc2-0ef24382571b/map
(In QGIS, the same shapefile fits exactly to openstreetmap)

This may be a well known problem which seems to originate in an old version of the proj4 library epsg definitions file. From the cartodb source-code, to me it looks like ogr2ogr is used to import the shapefile. Maybe this ogr2ogr does not use the correct projection parameter file?
The correct EPSG:28992 proj4/epsg parameters:
<28992> +proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +towgs84=565.417,50.3319,465.552,-0.398957,0.343988,-1.8774,4.0725 +units=m +no_defs  <>
equivalent postgis EPSG:28992 projection parameters:
INSERT INTO "spatial_ref_sys" ("srid","auth_name","auth_srid","srtext","proj4text") VALUES (28992,'EPSG',28992,'PROJCS["Amersfoort / RD New",GEOGCS["Amersfoort",DATUM["Amersfoort",SPHEROID["Bessel 1841",6377397.155,299.1528128,AUTHORITY["EPSG","7004"]],TOWGS84[565.4171,50.3319,465.5524,-0.398957388243134,0.343987817378283,-1.87740163998045,4.0725],AUTHORITY["EPSG","6289"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4289"]],PROJECTION["Oblique_Stereographic"],PARAMETER["latitude_of_origin",52.15616055555555],PARAMETER["central_meridian",5.38763888888889],PARAMETER["scale_factor",0.9999079],PARAMETER["false_easting",155000],PARAMETER["false_northing",463000],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["X",EAST],AXIS["Y",NORTH],AUTHORITY["EPSG","28992"]]','+proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +towgs84=565.4171,50.3319,465.5524,-0.398957388243134,0.343987817378283,-1.87740163998045,4.0725 +units=m +no_defs ');

Tried epsg3875, resulted in huge offset to the north.
Tried epsg4326, resulted in exact fit
apparently importing projected shapefiles does not work well