Traceback when model not found on disk

Describe the bug
I have models on my system that I'd already downloaded in /srv/models.... I didn't realize there were three model paths in the config.yaml to start so I got a traceback when i tried ilab serve and it couldn't find the model in the default model path.
Instead of tracing back, ideally we'd catch the error condition of the model not existing on disk and provide the user a nice human readable error message, something like:

We couldn't find the model to serve on disk. config.yaml indicates it should be located at models/merlinite-7b-lab-Q4_K_M.gguf - can you check to make sure this is correct? Update config.yaml with the correct location or run ilab download to get a model to use.

^ something like this. @kelbrown20 prolly has better ideas on phrasing.
Here's the traceback:
(venv) duffy@pandamonium:/srv/instructlab$ ilab serve
You are using an aliased command, this will be deprecated in a future release. Please consider using `ilab model serve` instead
INFO 2024-06-16 20:43:33,831 serve.py:51: serve Using model 'models/merlinite-7b-lab-Q4_K_M.gguf' with -1 gpu-layers and 4096 max context size.
ERROR 2024-06-16 20:43:33,852 llama_cpp:0: flush Traceback (most recent call last):
  File "/srv/instructlab/venv/lib64/python3.12/site-packages/instructlab/server.py", line 177, in server
    app = create_app(settings=settings)
ERROR 2024-06-16 20:43:33,852 llama_cpp:0: flush ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 2024-06-16 20:43:33,852 llama_cpp:0: flush File "/srv/instructlab/venv/lib64/python3.12/site-packages/llama_cpp/server/app.py", line 147, in create_app
    set_llama_proxy(model_settings=model_settings)
ERROR 2024-06-16 20:43:33,852 llama_cpp:0: flush File "/srv/instructlab/venv/lib64/python3.12/site-packages/llama_cpp/server/app.py", line 68, in set_llama_proxy
    _llama_proxy = LlamaProxy(models=model_settings)
ERROR 2024-06-16 20:43:33,852 llama_cpp:0: flush ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 2024-06-16 20:43:33,852 llama_cpp:0: flush File "/srv/instructlab/venv/lib64/python3.12/site-packages/llama_cpp/server/model.py", line 31, in __init__
    self._current_model = self.load_llama_from_model_settings(
ERROR 2024-06-16 20:43:33,852 llama_cpp:0: flush ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 2024-06-16 20:43:33,853 llama_cpp:0: flush File "/srv/instructlab/venv/lib64/python3.12/site-packages/llama_cpp/server/model.py", line 217, in load_llama_from_model_settings
    _model = create_fn(
ERROR 2024-06-16 20:43:33,853 llama_cpp:0: flush ^^^^^^^^^^
ERROR 2024-06-16 20:43:33,853 llama_cpp:0: flush File "/srv/instructlab/venv/lib64/python3.12/site-packages/llama_cpp/llama.py", line 336, in __init__
    raise ValueError(f"Model path does not exist: {model_path}")
ERROR 2024-06-16 20:43:33,853 llama_cpp:0: flush ValueError: Model path does not exist: models/merlinite-7b-lab-Q4_K_M.gguf
ERROR 2024-06-16 20:43:33,853 llama_cpp:0: flush
ERROR 2024-06-16 20:43:33,853 llama_cpp:0: flush The above exception was the direct cause of the following exception:
ERROR 2024-06-16 20:43:33,853 llama_cpp:0: flush Traceback (most recent call last):
  File "/srv/instructlab/venv/lib64/python3.12/site-packages/instructlab/model/serve.py", line 58, in serve
    server(
ERROR 2024-06-16 20:43:33,853 llama_cpp:0: flush File "/srv/instructlab/venv/lib64/python3.12/site-packages/instructlab/server.py", line 190, in server
    raise ServerException(f"failed creating the server application: {exc}") from exc
ERROR 2024-06-16 20:43:33,853 llama_cpp:0: flush instructlab.server.ServerException: failed creating the server application: Model path does not exist: models/merlinite-7b-lab-Q4_K_M.gguf
ERROR 2024-06-16 20:43:33,853 llama_cpp:0: flush
ERROR 2024-06-16 20:43:33,853 llama_cpp:0: flush During handling of the above exception, another exception occurred:
ERROR 2024-06-16 20:43:33,853 llama_cpp:0: flush Traceback (most recent call last):
  File "/srv/instructlab/venv/bin/ilab", line 8, in <module>
    sys.exit(ilab())
ERROR 2024-06-16 20:43:33,853 llama_cpp:0: flush ^^^^^^
ERROR 2024-06-16 20:43:33,854 llama_cpp:0: flush File "/srv/instructlab/venv/lib64/python3.12/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
ERROR 2024-06-16 20:43:33,854 llama_cpp:0: flush ^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 2024-06-16 20:43:33,854 llama_cpp:0: flush File "/srv/instructlab/venv/lib64/python3.12/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
ERROR 2024-06-16 20:43:33,854 llama_cpp:0: flush ^^^^^^^^^^^^^^^^
ERROR 2024-06-16 20:43:33,854 llama_cpp:0: flush File "/srv/instructlab/venv/lib64/python3.12/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
ERROR 2024-06-16 20:43:33,854 llama_cpp:0: flush ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 2024-06-16 20:43:33,854 llama_cpp:0: flush File "/srv/instructlab/venv/lib64/python3.12/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
ERROR 2024-06-16 20:43:33,854 llama_cpp:0: flush ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 2024-06-16 20:43:33,854 llama_cpp:0: flush File "/srv/instructlab/venv/lib64/python3.12/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
ERROR 2024-06-16 20:43:33,854 llama_cpp:0: flush ^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 2024-06-16 20:43:33,854 llama_cpp:0: flush File "/srv/instructlab/venv/lib64/python3.12/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context(), *args, **kwargs)
ERROR 2024-06-16 20:43:33,855 llama_cpp:0: flush ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 2024-06-16 20:43:33,855 llama_cpp:0: flush File "/srv/instructlab/venv/lib64/python3.12/site-packages/instructlab/model/serve.py", line 69, in serve
    click.secho(f"Error creating server: {exc}", fg="red")
ERROR 2024-06-16 20:43:33,855 llama_cpp:0: flush File "/srv/instructlab/venv/lib64/python3.12/site-packages/click/termui.py", line 634, in secho
    return echo(message, file=file, nl=nl, err=err, color=color)
ERROR 2024-06-16 20:43:33,855 llama_cpp:0: flush ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 2024-06-16 20:43:33,855 llama_cpp:0: flush File "/srv/instructlab/venv/lib64/python3.12/site-packages/click/utils.py", line 318, in echo
    file.write(out)  # type: ignore
ERROR 2024-06-16 20:43:33,855 llama_cpp:0: flush ^^^^^^^^^^^^^^^
ERROR 2024-06-16 20:43:33,855 llama_cpp:0: flush File "/srv/instructlab/venv/lib64/python3.12/site-packages/click/_compat.py", line 99, in __getattr__
    return getattr(self._stream, name)
ERROR 2024-06-16 20:43:33,855 llama_cpp:0: flush ^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 2024-06-16 20:43:33,855 llama_cpp:0: flush AttributeError: 'str' object has no attribute 'write'
(venv) duffy@pandamonium:/srv/instructlab$

Device Info (please complete the following information):

Hardware Specs: Intel i9 with 128GB RAM + 2x3090 GPUs
OS Version: Fedora 39
Python Version: Python 3.12.2 is system default
InstructLab Version: 0.17.0

Hi there @mairin 👋  please have a look at the output I have provided at the PR and provide your review, you have some time for it.

@drpaneas of course I have time - that was a record time for me to experience from filing a bug to having a fix 😁 thank you so much for the PR! I took a lool and left some review comments. My main point was we support more than *.gguf format so I think that specificity can be dropped. @russellb 's comment on the logger I think is worth revisiting as well. Other than that this pooks great.
Do you have some time to make the requested changes? 😃?

ready for review again ;)

I think this issue is already solved by other commits.
(chudg1) [root@llm lab]# ilab serve --model-path models/abc.gguf --backend llama-cpp
You are using an aliased command, this will be deprecated in a future release. Please consider using `ilab model serve` instead
Failed to determine backend: Failed to determine whether the model is a GGUF format: [Errno 2] No such file or directory: 'models/abc.gguf'
(chudg1) [root@llm lab]# ls models/abc.gguf
ls: cat not access 'models/abc.gguf': No such file or directory
(chudg1) [root@llm lab]#

@mairin - is this still reproducible given the new ilab release?

Closing due to a lack of activity - feel free to reopen if this is still an issue with the latest ilab version


No subset types error after upgrading to standalone @nexus/schema

I was using an older version of nexus before and everything worked brilliantly. I just moved to the standalone @nexus/schema and started getting this error:
'{ type: "ERROR: No subset types are available. Please make sure that one of your GraphQL type is a subset of your t.model('<ModelName>')"; }'

When in fact, it used to work perfectly with the older version. Any idea why?

I am having this issue as well, @samrith-s  are you able to solve it?

@hyusetiawan Unfortunately (if I remember correctly), I just upgraded my entire server to use nexus instead and refactored stuff around. That seemed to fix it.

Hey folks, thanks for reporting this issue!
Would one of you have enough time to create a small reproduction so that it helps us fixing it quicker?
Thanks 🙏

@Weakky I ran into this issue when doing this tutorial - https://dev.to/prisma/complete-introduction-to-fullstack-type-safe-graphql-feat-next-js-nexus-prisma-c5
The code for that tutorial is here on @nexus/schema 17.0 - the latest is 19.1, so it at least happened sometime since then.  The error mentioned above does not exist on 17.0.


Unicode superscripts are not allowed

Currently Unicode subscripts are allowed, but Unicode superscripts are not. Unicode superscripts are very useful for math-heavy code. Haskell allows them and I've run into problems while porting over some Haskell.
I get:
10:11 error: unknown start of token: \u{b2}
pub σ²: f64,

In identifier or in string literal?

Superscripts are currently not allowed in identifiers.

Ideally please allow Lm from the second character on, like Haskell. https://ghc.haskell.org/trac/ghc/ticket/10196

closing in favor of https://github.com/rust-lang/rfcs/pull/2457.


CLN: remove unused doctest runners from .py files

I don't think they are used at the moment, so cleaning this up. Also, renaming tests/binascii_hex.txt to tests/test_binascii_hex.txt so it gets picked up by pytest.
BTW, with pytest shapely --doctest-modules we could actually run the doctests on CI (but that needs some fixes first, as they are some failures at the moment)

Coverage increased (+0.06%) to 83.124% when pulling 53bf5a7e9df47a459affd84d7596697341d00be6 on jorisvandenbossche:remove-doctest-runners into 0e1413ffff281c980ef711d29780cd6f170d8574 on Toblerity:master.


Command Line Arguments (Feature Request)

I wish to allow users to perform actions directly from the command line using arguments.

thank you @alarmant0


[zh] Sync cluster-administration/system-metrics.md

Update zh text:
content/zh-cn/docs/concepts/cluster-administration/system-metrics.md

/approve

/lgtm


feat: add outdated api

Signed-off-by: chenk<EMAIL_ADDRESS>Add k8s outdated api data source
Solve #231

duplicate to #233


[freexl] Build error

Host Environment

OS: Linux (Ubuntu 22.04.1 LTS)
Compiler: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0

To Reproduce
Steps to reproduce the behavior:
./vcpkg install gdal
Failure logs
Computing installation plan...
The following packages will be built and installed:
  * freexl[core]:x64-linux -> 1.0.6#1
    gdal[core,curl,default-features,expat,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,postgresql,qhull,recommended-features,sqlite3,webp,zstd]:x64-linux -> 3.6.2#2
  * geos[core]:x64-linux -> 3.11.1
  * giflib[core]:x64-linux -> 5.2.1#3
  * hdf5[core,cpp,szip,zlib]:x64-linux -> 1.12.2#6
  * json-c[core]:x64-linux -> 2022-06-26#2
  * lerc[core]:x64-linux -> 4.0#1
  * libgeotiff[core]:x64-linux -> 1.7.1#2
  * libkml[core]:x64-linux -> 1.3.0#11
  * libpng[core]:x64-linux -> 1.6.39
  * libpq[core,lz4,openssl,zlib]:x64-linux -> 14.4#3
  * libspatialite[core,freexl,geocallbacks]:x64-linux -> 5.0.1#9
  * libwebp[core,libwebpmux,nearlossless,simd]:x64-linux -> 1.3.0
  * libxml2[core]:x64-linux -> 2.10.3
  * lz4[core]:x64-linux -> 1.9.4#1
  * netcdf-c[core,dap,hdf5,nczarr,netcdf-4,platform-default-features]:x64-linux -> 4.8.1#2
  * openjpeg[core]:x64-linux -> 2.5.0
  * pcre2[core]:x64-linux -> 10.40#1
  * pkgconf[core]:x64-linux -> 1.8.0#5
  * proj[core,net,tiff]:x64-linux -> 9.1.1
  * qhull[core]:x64-linux -> 8.0.2#4
  * sqlite3[core,rtree,tool]:x64-linux -> 3.40.1#1
  * szip[core]:x64-linux -> 2.1.1#9
  * uriparser[core]:x64-linux -> 0.9.7
  * vcpkg-cmake-get-vars[core]:x64-linux -> 2022-12-16
  * vcpkg-pkgconfig-get-modules[core]:x64-linux -> 2022-02-10#1
  * vcpkg-tool-meson[core]:x64-linux -> 0.63
  * zstd[core]:x64-linux -> 1.5.2#3
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-linux...
Restored 6 package(s) from /home/crgnam/.cache/vcpkg/archives in 85.6 ms. Use --debug to see more details.
Installing 1/28 freexl:x64-linux...
Building freexl[core]:x64-linux...
-- Using cached freexl-1.0.6.tar.gz.
-- Cleaning sources at /home/crgnam/vcpkg/buildtrees/freexl/src/freexl-1-0b9ac2177e.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/crgnam/vcpkg/downloads/freexl-1.0.6.tar.gz
-- Applying patch fix-makefiles.patch
-- Applying patch fix-sources.patch
-- Applying patch fix-pc-file.patch
-- Using source at /home/crgnam/vcpkg/buildtrees/freexl/src/freexl-1-0b9ac2177e.clean
-- Getting CMake variables for x64-linux-dbg
-- Getting CMake variables for x64-linux-rel
-- Generating configure for x64-linux
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /usr/bin/autoreconf -vfi
    Working Directory: /home/crgnam/vcpkg/buildtrees/freexl/src/freexl-1-0b9ac2177e.clean/
    Error code: 2
    See logs for more information:
      /home/crgnam/vcpkg/buildtrees/freexl/autoconf-x64-linux-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:611 (vcpkg_execute_required_process)
  ports/freexl/portfile.cmake:18 (vcpkg_configure_make)
  scripts/ports.cmake:147 (include)

error: building freexl:x64-linux failed with: BUILD_FAILED
error: Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
    https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+freexl
You can submit a new issue at:
    https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[freexl]+Build+error
Include '[freexl] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
    vcpkg-tool version: 2023-01-24-8a88d63f241d391772fbde69af9cab96c3c64c75
    vcpkg-scripts version: 36fb23307 2023-02-10 (22 hours ago)

Per the instructions: "Attach every failure log file mentioned in the console output." I included the only log file mentioned in the console output (as far as I could tell).

Additional context
I have tried both the git pull and vcpkg update steps (both return "Already up to date" and "No packages need updating" respectively).  This occurs both with using vcpkg directly as well as in manifest mode.
autoconf-x64-linux-err.log

I just tried to run this same command (./vcpkg install gdal) on several systems:

MacOS 13.2: Same error
Windows 11 WSL (Ubuntu 20.04): INSTALLED WITHOUT ERROR

Note that in the case of the Ubuntu 22.04 (this original issue post) and the MacOS 13.2 case, an error was originally thrown stating:
CMake Error at scripts/cmake/vcpkg_configure_make.cmake:601 (message):
  freexl requires autoconf from the system package manager (example: "sudo
  apt-get install autoconf")
Call Stack (most recent call first):
  ports/freexl/portfile.cmake:18 (vcpkg_configure_make)
  scripts/ports.cmake:147 (include)

On the Ubuntu 22.04 platform I resolved that with sudo apt-get install autoconf while on MacOS I resolved it with brew install autoconf.  After running this install command for autoconf, the Build Error in the original issue occurred.
This seems related as it is still an issue with freexl (and also seems odd that it requires using the system package manager).
On the Windows 11 WSL Ubuntu 20.04 distro, no such error occurred and gdal installed without issue.
I'm wondering if perhaps I should try to fresh install of vcpkg on the problematic machines and try again.

You need a number of extra development packages from the system, not just for building freexl:
libtool, autoconf, automake, maybe more.
For convenience, you can try Ubuntu's packaging-dev, but this will add a lot more.

I can confirm that installing libtool, autoconf, and automake (sudo apt install libtool autoconf automake) solved this problem.


Consolidated documentation portal docs.itk.org

Description
This issue was created following discussion with @thewtex and @jadh4v.
It discusses the contents for a Sphinx-based website, published on the ReadTheDocs platform at
https://docs.itk.org
Associated markdown and configuration would be organized in the folder Documentation/docs

Expected information

Table of content:

About: Overview, Feature, License, Citing, History, Acknowledgments, Commercial Use ?, Contact US
Getting Started

Using Python
Using Jupyter: itkwidget, ...
Using Web Technology

Npm, Emscripten, WASM, WASI, ...

C++ and CMake
Using existing framework and applications

Learning: Examles, Tutorials, ...
Supported data formats
Available Integrations: Napari, Matlab, VTK,
Modules: List of ITK Modules including for each:

description & link to module specific README if any
icons linking to package specific documentation: Python, WASM, C++, ...

API: Doxygen, bindgen, ...
Developer`s Guide: These would include link to the ITK's Software Guide
Resources
Migrate old Wiki content:

Getting Started -
About - translate more up-to-date page itk.org/about to markdown -
FAQ - jhlegarreta
Mark Version control and releases wiki pages with {{ Historical }} -
Configuring and building -
Branches -
Doxygen Documentation -
ITKDoxygen on GitHub
Dashboard Setup
Developer statistics (new system?)
Plugin IO mechanisms -
Open Science -
Other Software -
MetaIO -

Work on example issues

Actual information

NA
Versions

NA
Additional Information

References:

https://docs.vtk.org
https://github.com/InsightSoftwareConsortium/ITKDoxygen

Related issues:

https://github.com/InsightSoftwareConsortium/ITK/issues/4300
https://github.com/InsightSoftwareConsortium/ITKDoxygen/issues/4

All shared links (e.g. SimpletITK, itk-wasm, etc.) should be put to a single document, and be included across all other Markdown files to ease maintenance.

Maybe we should already mark as deprecated those wiki pages that have been transferred and put a link to the new site so that

users become increasingly aware of the new doc site,
we void confusion,
we have a better picture of what is left, and
the community, including ourselves, has a clear evidence that the transition work is actually happening.


Dm Message

Send Message Allow Direct Messages

When a user creates a ticket, a message will be sent to the person's dm, if the person's dm is closed, a message will be sent inside the ticket and the person will be told to open their dm and get out of the disabled dm mode
Or he can't send chat until he opens his tail

Hey, thank you for your suggestion however I don't think I'll be adding it based on the following reasons:

If a user creates a ticket, they are seeking support and are aware they're making a ticket, they don't need a reminder in DMs.
The current ephemeral reply the bot sends them in the channel where they used the panel already has a button that will redirect them to the ticket, I think this should be enough.

I think it's better not to force your users to enable their DMs for a functionality like that, thus I won't be adding this.


Guide new users to add use super::*; to mod test

What does this PR try to resolve?
Currently, cargo init --lib produces examples for unit tests. However, new users will find that they are unable to use functions they defined above. This should resolve the confusion.
Fixes #10559
How should we test and review this PR?
This PR does not create new features. Test this PR using the already-existing tests.
Additional information
I didn't think this was a major change, so I did not open a RFC for it. Please let me know if I should have!

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ehuss (or someone else) soon.
Please see the contribution instructions for more information.

Thinking about this some more, I think adding something for users to uncomment only solves a symptom of the issue and not the issue itself. I think the main issue is the error message from rustc (which appears to be generated in this function). It might be a better idea (and a harder change), to update the error message to include use super::*;.
Something like:
error[E0425]: cannot find function `add_numbers` in this scope
 --> src/lib.rs:9:22
   |
9  |         let result = add_numbers(2, 2);
   |                      ^^^^^^^^^^^ not found in this scope
   |
help: consider importing one of these items
   |
LL | use super::*;
   |
LL | use crate::add_numbers;
   |

I mocked this from here
I think one of the maintainers may have more insight than I do on the route to go about this

@epage - followed your second suggestion, thought it was the clearest. Thank you!

@bors r+

:pushpin: Commit 754a5bfbaa9b5c677e0d96ca7edc17051bf311e1 has been approved by epage

:hourglass: Testing commit 754a5bfbaa9b5c677e0d96ca7edc17051bf311e1 with merge ca4edabb28fc96fdf2a1d56fe3851831ac166f8a...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing ca4edabb28fc96fdf2a1d56fe3851831ac166f8a to master...


New logo for Hero

Hello, I designed a logo for Hero . If you like it, I will give you this logo as a gift.

Thank you very much for spending the time designing a logo. Changing the logo will require a lot works replacing it through out the project and different documentation sites. Which is not something I would like to do at this time.


Tomnewton/build azure sdk

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

This has been upstreamed


Support normal JSON data view

do like other extensions do.
{
    "aaa": {
      "bbb": [ 1, 2, 3 ],
      "ccc": 34000
    }
}

+1, I copy/paste JSON out of the browser all the time.


Bye Psalm 👋

Q
A

Branch?
master

Bug fix?
no

New feature?
no

Related tickets
https://github.com/Sylius/Sylius/pull/15582

Thank you, @Rafikooo!


Visual Theme System: Public Files

Describe the feature you'd like
https://github.com/BookStackApp/BookStack/issues/3904
Describe the benefits this would bring to existing BookStack users

Can the goal of this request already be achieved via other means?

Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?
Not using yet, just scoping
Additional context

Implementation  Time : 3 Hours
Exploration Time : 2 Hours

Implementation Start

Discussion on weekly (7-10-2024)

right now file is store with filename only, the issue might be arise that two different person can upload file with same name then latest file will be override to previous file

solution : store file name with some random string or any hash value

Exploration:

till now we dont store custom file into database, if we move from local storage to any cloud storage then we have database store then it very convenient  to manage custom files

Discussion on (9-10-24)

discuss about why database is need
we create a migration for move from local storage to s3 and vice-versa
now onwards no need for database firstly try to apply custom added css file into project.
apply as other css do not affect rather than only in file css is update

we need to discuss about the issue in more depth


refactor: ensure RecordBatches from ParquetExec always have the _id f…

What does this PR do
Our FilterExec relies on the _id field, however, RecordBatches generated from a ParquetExec won't always contain this field, e.g., when this field is not SELECTed, the ParquetExec won't read the column, and thus disk I/O is saved, we get a more performant query.
Before this patch, our implementation will panic if the _id field is not present, this patch make it work by ensuring that the _id field is always included.

Please consider watching this repo to get notified when some changes are made

LGTM


Battery Level unknown

I have a device using zanzitto to publish the battery info, the device isn't often used resulting in a value 'unknown'.
HA constantly shows Tablet Battery (Unknown), is there a way to filter out the 'unknown' value from the notification message?

To prevent that device from being included in alerts, you can add it to your customize section like this:
homeassistant:
  customize:
    sensor.sensor_name_to_ignore_battery:
      battery_alert_disabled: true


[Feature] Add Support on Log Probability Value from Returned Response of Gemini Models.

Description of the feature request:
How about providing new support for retrieving the log probability of each predicted token by Google models like Gemini?
Something just like the same function illustrated in this OpenAI post: User Logprobs.
What problem are you trying to solve with this feature?
Getting the returned log prob of each generated token does help me (and other users maybe) to confirm the confidence of the model's prediction. Further, this feature can help users compute the perplexity of generated sentences to better understand the textual continuation quality.
Any other information you'd like to share?
No response

Any thoughts about it?

I also think it would be extremely helpful if the API could provide the top-k log probabilities of each predicted token.

Really need this as I found Gemini to be hallucinating quite abit on a RAG application.
Btw your title refers to claude and not gemini.
[Feature] Add Support on Log Probability Value from Returned Response of Claude Models

Really need this as I found Gemini to be hallucinating quite abit on a RAG application.
Btw your title refers to claude and not gemini. [Feature] Add Support on Log Probability Value from Returned Response of Claude Models

Thanks for reminding 🤗

Many hallucination detection approaches rely on log probability as a key feature. It's one of the most essential elements when building a serious product with a LLM.

This would be extremely helpful!

As all others previously mentioned, it would be great to somehow get access to the logsprobs in a similar fashion as OpenAI does so with the models. Based on that we could then e.g. calculate the perplexity score and various other evaluation metrics.

Yep, this would make it possible to use gemini in production

+1 - useful also for classification tasks.

+1

+1 it is critical. Chatgpt and other major models are now all supporting this feature.
please help!

+1 it is critical. Chatgpt and other major models are now all supporting this feature. please help!

Can you please specify what major models support this feature? Because I'm also in search for the alternatives. Now I don't see any other players supporting this except from OpenAI. No Anthropic, No Mistral...

b/361194489

I also think it would be extremely helpful if the API could provide the top-k log probabilities of each predicted token.

Yes, this would allow evaluating Gemini with threshold-free evaluation metrics. That would be excellent.

Google's Vertex-AI Just launched this, hopefully that means it's coming soon here.

Google's Vertex-AI Just launched this, hopefully that means it's coming soon here, but I don't have a timeline.

can you share a link?

Google's Vertex-AI Just launched this, hopefully that means it's coming soon here, but I don't have a timeline.

can you share a link?

They have added a field 'avgLogprobs' to the response documentation in https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#nodejs but I am unable to get a response with such field.

Yeah, this API is related, but separate from vertex. Hopefully this API will catch up soon.

This is fixed in the latest version:
code: https://github.com/google-gemini/generative-ai-python/pull/561
tutorial: https://github.com/google-gemini/cookbook/blob/main/quickstarts/New_in_002.ipynb

Just to make sure I get this right. The logprobs are averaged for the entire output, correct? No logprob at token level?

I recommend you open another issue to discuss this question =)


Bump DeFiCh/ain to v1.8.0

What kind of PR is this?:

/kind dependencies
What this PR does / why we need it:
Also, fixed https://github.com/DeFiCh/jellyfish/issues/294

@surangap is there an activation height for this?
If so, we need to add it here:
https://github.com/DeFiCh/jellyfish/blob/19fa41ed4c85b0ff6959ca29ee74d773f7257d88/packages/testcontainers/src/chains/reg_test_container/index.ts#L23


Update sensor.py

Exclude "unknown" values from statistics sensor, to avoid errors flooding log on offline devices
Checklist:

[x ] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[ x] There is no commented out code in this PR.
[ ] I have followed the [development checklist][dev-checklist]

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Hi @MatsNl,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!


ARDUCHIP_FRAMES not declared error when trying to compile VideoStream-example

ArduCAM_Shield_V2_Video_Streaming:142: error: 'ARDUCHIP_FRAMES' was not declared in this scope
Could you please tell me how should this be declared?

@joraldepat
Hi,
Do you download our new ArduCAM library? We don't define the ARDUCHIP_FRAMES on 2MP.
If you are using OV2640 camera, just commment out the   myCAM.write_reg(ARDUCHIP_FRAMES, 0x00);
We have do in the new library like this:
#if !(defined (OV2640_CAM)||defined (OV3640_CAM))
myCAM.set_bit(ARDUCHIP_TIM, VSYNC_LEVEL_MASK);
#endif
myCAM.clear_fifo_flag();
myCAM.write_reg(ARDUCHIP_FRAMES, 0x00);
Please download our new ArduCAM library.
https://github.com/ArduCAM/Arduino/blob/master/ArduCAM/examples/Shield_V2/ArduCAM_Shield_V2_Video_Streaming/ArduCAM_Shield_V2_Video_Streaming.ino
Let us know if you need more help.
Regards,
ArduCAM support team.

That did it!  Thank you!
On Thu, Apr 20, 2017 at 11:10 PM, supprot<EMAIL_ADDRESS>wrote:

@joraldepat https://github.com/joraldepat
Hi,
Do you download our new ArduCAM library? We don't define the
ARDUCHIP_FRAMES on 2MP.
If you are using OV2640 camera, just commment out the
myCAM.write_reg(ARDUCHIP_FRAMES, 0x00);
We have do in the new library like this:
#if !(defined (OV2640_CAM)||defined (OV3640_CAM))
myCAM.set_bit(ARDUCHIP_TIM, VSYNC_LEVEL_MASK);
#endif
myCAM.clear_fifo_flag();
myCAM.write_reg(ARDUCHIP_FRAMES, 0x00);
Please download our new ArduCAM library.
https://github.com/ArduCAM/Arduino/blob/master/ArduCAM/
examples/Shield_V2/ArduCAM_Shield_V2_Video_Streaming/
ArduCAM_Shield_V2_Video_Streaming.ino
Let us know if you need more help.
Regards,
ArduCAM support team.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ArduCAM/Arduino/issues/177#issuecomment-296086047,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aajgw91SGY7n0jYS7GB2tGXr6YH574B0ks5ryEhlgaJpZM4ND4XL
.


Fix validation of DNSRecords with DNS names starting with a wildcard

How to categorize this PR?
/area control-plane
/kind bug
What this PR does / why we need it:
Fixes the validation of DNSRecord resources with DNS names starting with a wildcard, e.g. *.ingress..... This bug would cause reconciling shoots with nginxIngress addon enabled to fail with a validation error if #4499 is merged and the UseDNSRecords feature gate is set to true.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:
NONE

/invite @vanjiii @timebertt

/lgtm


Implement KPI 3-3: Data generation

Implement KPI 3-3 according to https://github.com/wmo-im/wmdr/blob/issue42/kpi/3-3.adoc

@ferrighi  -- We may split these up. I'm starting with 1 to 14

Yes, I'll do the other half.

kpis 23, 24 and 25 are missing

Apparently codelist for samplingProcedure is missing. I found this closed issue: https://github.com/wmo-im/wmds/issues/111 where it was marked as "no longer relevant". Discussion moved to 6-02 sampling Treatment which was included in FT-2021-2

I created placeholders for 3-3-* and implemented up to 3-3-06: https://github.com/wmo-im/pywmdr/commit/96f0975efae8a6212365d8cb99d7931ed93888d2
Codelist SamplingTreatment (6-02) is not yet published at codes.wmo.int (was part of FT-2021-2). Temporarily, I copied the list from the issue.

I have finished the rest, they are part of the PR #14

3-3-11: diurnalBaseTime is not a property of ReportingType (wmdr1.0)


Issue with inheriting BasePartObject

Hi,
I try to define a BlockA by inheriting BasePartObject, and then define BlockB by inheriting from BlockA, in order to continuing to build parts in BlockB, but I encounter the following error:
ValueError                                Traceback (most recent call last)
Cell In[2], [line 21](vscode-notebook-cell:?execution_count=2&line=21)
     [18](vscode-notebook-cell:?execution_count=2&line=18)             extrude(amount=10)
     [19](vscode-notebook-cell:?execution_count=2&line=19)         BasePartObject.__init__(self, part=self.bp.part)
---> [21](vscode-notebook-cell:?execution_count=2&line=21) show(BlockB())

Cell In[2], [line 18](vscode-notebook-cell:?execution_count=2&line=18)
     [16](vscode-notebook-cell:?execution_count=2&line=16)     with BuildSketch(self.bp.faces() >> Axis.Z):
     [17](vscode-notebook-cell:?execution_count=2&line=17)         Circle(5)
---> [18](vscode-notebook-cell:?execution_count=2&line=18)     extrude(amount=10)
     [19](vscode-notebook-cell:?execution_count=2&line=19) BasePartObject.__init__(self, part=self.bp.part)

File [d:\conda\envs\build123d\Lib\site-packages\build123d\operations_part.py:103](file:///D:/conda/envs/build123d/Lib/site-packages/build123d/operations_part.py:103), in extrude(to_extrude, amount, dir, until, target, both, taper, clean, mode)
    [101](file:///D:/conda/envs/build123d/Lib/site-packages/build123d/operations_part.py:101)         context.pending_face_planes = []
    [102](file:///D:/conda/envs/build123d/Lib/site-packages/build123d/operations_part.py:102)     else:
--> [103](file:///D:/conda/envs/build123d/Lib/site-packages/build123d/operations_part.py:103)         raise ValueError("A face or sketch must be provided")
    [104](file:///D:/conda/envs/build123d/Lib/site-packages/build123d/operations_part.py:104) else:
    [105](file:///D:/conda/envs/build123d/Lib/site-packages/build123d/operations_part.py:105)     # Get the faces from the face or sketch
    [106](file:///D:/conda/envs/build123d/Lib/site-packages/build123d/operations_part.py:106)     to_extrude_faces = (
    [107](file:///D:/conda/envs/build123d/Lib/site-packages/build123d/operations_part.py:107)         [*to_extrude]
    [108](file:///D:/conda/envs/build123d/Lib/site-packages/build123d/operations_part.py:108)         if isinstance(to_extrude, (tuple, list, filter))
    [109](file:///D:/conda/envs/build123d/Lib/site-packages/build123d/operations_part.py:109)         else to_extrude.faces()
    [110](file:///D:/conda/envs/build123d/Lib/site-packages/build123d/operations_part.py:110)     )

ValueError: A face or sketch must be provided

It seems BuildSketch doesn't pending a face created by Circle(5) into a sketch,  have no idea about that.
Here is my code:
from build123d import *
from ocp_vscode import *
show_clear()

class BlockA(BasePartObject):
    def __init__(self):
        with BuildPart() as bp:
            Box(20,20,10)
        super().__init__(part=bp.part)
        self.bp = bp

class BlockB(BlockA):
    def __init__(self):
        super().__init__()
        with self.bp:
            with BuildSketch(self.bp.faces() >> Axis.Z):
                Circle(5)
            extrude(amount=10)
        BasePartObject.__init__(self, part=self.bp.part)

show(BlockB())

solved:
to_extrude must be explicitly specified when invoking extrude.
from build123d import *
from ocp_vscode import *
show_clear()

class BlockA(BasePartObject):
    def __init__(self):
        with BuildPart() as bp:
            Box(20,20,10)
        super().__init__(part=bp.part)
        self.bp = bp

class BlockB(BlockA):
    def __init__(self):
        super().__init__()
        with self.bp:
            with BuildSketch(self.faces() >> Axis.Z) as sk:
                Circle(5)
            extrude(to_extrude=sk.sketch, amount=10)
        BasePartObject.__init__(self, part=self.bp.part)

show(BlockB())

But don't know why Implicit Builder Instance Variable fails here.

You're trying to re-use a BuildPart instance created in BlockA in BlockB which is not supported.   However, the Part from BlockA can be added to BlockB like this:
class BlockB(BlockA):
    def __init__(self):
        super().__init__()
        print(f"{self.bp=}")
        with BuildPart() as blockb_builder:
            add(self.bp.part)
            with BuildSketch(blockb_builder.faces() >> Axis.Z):
                Circle(5)
            extrude(amount=10)
        BasePartObject.__init__(self, part=blockb_builder.part)

There is an open Issue to add this functionality to a Builder: https://github.com/gumyr/build123d/issues/108

@gumyr Thanks! #108 is realy helpful to me!


Fix quote flag

I have found that the quote flag does not work , var asQuote is always false. Here is my attempt of fixing it.

@turbaszek thanks for review. CI is happy now 🥳

Thanks @TobKed for contribution! 🚀


Miscellanous Python project clean-up

[x] https://github.com/hypothesis/cookiecutters/pull/74
[x] https://github.com/hypothesis/report/pull/65
[x] https://github.com/hypothesis/report/pull/68
[x] https://github.com/hypothesis/report/pull/70
[x] https://github.com/hypothesis/report/pull/71
[x] Fix up the DATABASE_URL as per the testing failure in: https://github.com/hypothesis/report/pull/72

https://github.com/hypothesis/report/pull/74

Done for now. If we spot more we can make another ticket.


AbstractDatabase methods shouldn't suppress any SQLException

We used to suppress SQLExceptions in various places, but we weren't very consistent about it. I think that's the wrong approach--they're runtime exceptions, so they're not expected to be thrown unless something has gone badly wrong or the framework is being used incorrectly. Better to throw the exception than silently continue in a weird state.
Let's instead allow all SQLExceptions to be thrown, which should make debugging significantly easier. The "try" methods can still catch them and return booleans, but I've also added "execSqlOrThrow" as a counterpart to tryExecSql.

LGTM


Noisy Mesh

Thanks for the incredible open-source project! I was running PIN-SLAM with the provided run_demo yaml file and the 100-frame KITTI from the download script, and got a quite noisy mesh. Meshes from the paper and video look really smooth, so I'm wondering what should I do to address this? Thanks.
My GPU is RTX 4080 if it helps.

Thanks for your interest in our project.
For the quick sanity check, the mesh you showed seems to be as expected.
To achieve a better mesh quality, you may add the following lines to run_demo.yaml config file:
continual:
  pool_capacity: 2e7
optimizer:
  iters: 40
  batch_size: 16384

This will let the mapper train for more iterations with a larger batch size, thus leading to better mesh quality.
During the visualization using the PIN-SLAM visualizer, you may press B to show the back face rendering, and press Ctrl + 9 to switch to the normal direction mesh color. The marching cubes voxel resolution by default is 30cm here. To have a finer reconstruction, you can either press [ to decrease the marching cubes resolution or define the desired resolution (for example 20 cm) in the config file by adding mc_res_m: 0.2 to the end of the config file under eval: category.
This is the mesh I got with the above settings:

You can get even better reconstruction quality by tuning the parameters in the sampler, mapping, tracking, neuralpoints, and loss class. For the sanity test, we simply use the default settings.
For better visualization, you may try Open3D offline visualizer for specific rendering settings of material, light, and shadows.
I hope this will help address your concerns.

Thank you for your response! I just have one more question. At the end of the run, how can I save the reconstructed mesh of the entire run? I add save_mesh: True at the end of eval in config, but it only save the mesh of the last frame.

From my perspective, when you turn on the visualizer, the mesh of the entire run will be saved by default. If it's not the case, you may press G to toggle on the global map visualization.
If you are running at a server without X service and cannot turn on the visualizer, you may inspect and save the reconstructed mesh after the SLAM process by:
python vis_pin_map.py ./experiments/xxxx_name_of_the_run 0.2 neural_points.ply  mesh_20cm.ply

Thank you for your help! I will close this issue now. Just want to share this beautiful reconstruction from one of the Waymo segment:


Create main.yml I’ve filed for unemployment I sent in all my document…

…ation and earnings they paid me once and right before the deadline for unemployment to stop pua unemployment they tried to say I didn’t send in my earnings I even appealed this decision cause it’s a lie can you please help me fight my case so I can get what is owed to me

@keisha400, Hi! I'm sorry if it wasn't clear from the README- this repository is not related to any government entity. I can't help you with unemployment. I just created some basic code that returns publicly available information about state legislatures. I was using it for a side project of my own, and thought it might be useful to others too.
I've added a disclaimer to my readme so that no one else makes this mistake. I wish you all the best!

@keisha400, Hi! I'm sorry if it wasn't clear from the README- this repository is not related to any government entity. I can't help you with unemployment. I just created some basic code that returns publicly available information about state legislatures. I was using it for a side project of my own, and thought it might be useful to others too.
I've added a disclaimer to my readme so that no one else makes this mistake. I wish you all the best!


Accessing score when running on custom baseline

Thanks for this great repo! Very good work!
I am trying to run on my own baseline but I don't think the output is being stored anywhere.
How can I access FAD scores once I run on my baseline ?
Options to store output into csv and also -inf and -indiv flags don't seem to work in the 'Example 3' case.
Thanks again!

Since the FAD / FAD∞ score between a baseline and an evaluation set is just a single number, it was printed to standard output.

However, since you brought this up, I just added an option to append these single-value results to an output CSV file. Now you can specify a CSV path as the last argument for non-individual FAD / FAD∞ as well.

Also, I just tested that --inf and --indiv flags both work under the Example 3 case as shown below. Please make sure you're using the command correctly with two dashes before the flag (i.e. --inf). I noticed that in your issues, you were using a single dash to specify the argument (i.e. -inf), which would be incorrect.


encountered an error when having a video call and sending a chat message

encountered an error when having a video call and sending a chat message to a group dialog and which the participants is in a video call also.

that error recieves in other users.
any help on these please.
thanks

Hi, @mikeangelsilva
I can't understand the problem. You should check "last_message". Usually the error occurs after trying to rewrite a const. Could check a stack trace? The error's stack trace should be in the screenshot's trimmed part.

Hi, @mikeangelsilva
I can't understand the problem. You should check "last_message". Usually the error occurs after trying to rewrite a const. Could check a stack trace? The error's stack trace should be in the screenshot's trimmed part.


merge from arlac77/npm-package-template-esm-only

package.json

chore(package): set template repo
chore(scripts): cover@#overwrite c8 -x 'tests/**/*' --temp-directory build/tmp ava && c8 report -r lcov -o build/coverage --temp-directory build/tmp
chore(package): add type from template

.travis.yml

chore(travis): (jobs.include)
chore(travis): add 13.1.0 (jobs.include.node_js)
chore(travis): (script)

.gitignore

chore(git): update .gitignore from template

.npmignore

chore(npm): update .npmignore from template

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Disabling transforming new lines into \n in console output

Old Chromium versions display new lines in console output, but new - not, they transform them into \n. So new versions are not usable to transform text with JS. Because it gives a mess with \n (all in 1 string) and other programs don't recognize \n as new line.

can your provide example(minimum piece of code and location to apply will be better)?
i checked it and piece of 25.2KB of text displayed with new lines, not with \n
probably you try to display escaped data?..
console output produced by
$.get(url, ..., (r) => console.log(r.comments), 'json');

I mean strings.
Paste this:
`b
k
l
v
r`

i understood what you meant - it's value preview and not value output, so any special characters will be displayed as escaped. simply output it instead of viewing
console.log()

Not only preview, after pressing "Enter", it is output. It wasn't so before (for example, Chrome 65). And it is not about console.log(), don't add it.

but would prefer to see it somewhere under console settings rather than as flag

Yeah, absolutely.  So to replace "\n" with new line instead of replacing new lines with "\n".

so any special characters will be displayed as escaped

Oh, yeah. The same for "		" (Tab), "", "" (there is a symbol). So there should be a function which replaces them.

so any special characters will be displayed as escaped

Oh, yeah. The same for "		" (Tab), "" ("\v", Github or Chromium changes it for some reason), "". So there should be a function which replaces them.

by saying preview i mean both: eager evaluation(preview of result in dimmed colors) and end value preview (after pressing Enter). console is not "an end output" it's a dev tool so human/pretty representation is not main target
this will result end value "preview" - displaying in such way so that you will be able to examine value details, for string it includes viewing special characters in escaped form
{
    let s = "line1\nline2\nline3";
    s;
}

since we talk about string, follow will result end value output - displaying it in the end form after evaluating(not to be confused with string representation)
undefined after is the preview of console.log(), that has no return value
{
    let s = "line1\nline2\nline3";
    console.log(s);
}

i suggested console.log() for you to output your data and not as an implementation way.

Console gives return values, it is not a preview, it is the result! You type input, and it gives output (result). For example, you give 5+7+6, and it gives 18, as output! But if it is an official terminology, you can show it and I will accept it.

i'm personally happy with it especially when need to transfer strings from console to code

But I need to transfer to other programs (what seems to be more common case). It is even not readable when all is 1 string with a lot of "\n". It was better without it.

Console gives return values, it is not a preview, it is the result! You type input, and it gives output (result). For example, you give 5+7+6, and it gives 18, as output! But if it is an official terminology, you can show it and I will accept it.

i'm personally happy with it especially when need to transfer strings from console to code

But I need to transfer to other programs (what seems to be a more common case). It is even not readable when all is 1 string with a lot of "\n". It was better without it.

Console gives return values, it is not a preview, it is the result! You type input, and it gives output (result). For example, you give 5+7+6, and it gives 18, as output! But if it is an official terminology, you can show it and I will accept it.

i'm personally happy with it especially when need to transfer strings from console to code

But I need to transfer to other programs (what seems to be a more common case). It is even not readable when all is 1 string with a lot of "\n". It was better without it.

btw - probably it should be addressed to chromium rather than to supermium?..

They disabled issues. And I don't have development accounts and necessary things to be able to contact them. And they probably listen only about bugs. It is a standard thing for Supermium - returning what was before. The Chromium developers seem to have a very bad attitude towards this.

But if it is an official terminology, you can show it and I will accept it.

if i could find something i would post it in the second message, but all i found is that about 11 years ago there was difference between Fox and Chrome, reported on their bugtracker plus few guides where such nuance is of course not described. So, yes it's my terminology, based on my understanding and tab name in the network category :grin:
console show value in an unambiguous and reproducible manner, end value in "underhood" form. imagine string like part_1\0part_2 - you even will not notice NULL char in end form (actually all after \0 will be dropped)

But I need to transfer to other programs

i'm not against option to toggle on the fly between the "preview"/"underhood" form and the end form
i'm against completely removing current behaviour.
And tbh i really not understand what is your problem with outputting result using console.log()? at least until option will not be implemented

They disabled issues. ... probably listen only about bugs

as i know chromium have their own separate issue tracker. And as example
As for supermium and returning ... yes and no - it's not removed thing it's changed and this is not UI or extra feature to simply revert it. but such option may be usefull not only for supermium users but and for chromium(e.g. for you once you change the browser on something other chromium-based)
@win32ss what do you think about this suggestion? possible, useful, useless, 4chromium, get me out of this :rofl:

If I can locate the change in behaviour, I'll add it as an option. But this is quite low-priority as the main priorities are some GDI changes and adding the tab/UA/UACH customizers.

Console gives return values, it is not a preview, it is the result! You type input, and it gives output (result). For example, you give 5+7+6, and it gives 18, as output! But if it is an official terminology, you can show it and I will accept it.

i'm personally happy with it especially when need to transfer strings from console to code

But I need to transfer to other programs (what seems to be a more common case). It is even not readable when all is 1 string with a lot of "\n". It was better without it.

btw - probably it should be addressed to chromium rather than to supermium?..

They disabled issues. And I don't have development accounts and necessary things to be able to contact them. And they probably listen only about bugs. It is a standard thing for Supermium - returning what was before. The Chromium developers seem to have a very bad attitude towards this.

You can right-click > Copy string contents. That will get you the normal (not escaped) version on your clipboard.

@teknixstuff
Thanks. But still - it would be good if it could be shown without "" in the console (if you want to see readable results or generally don't need escaped versions).

@teknixstuff
Thanks. But still: it would be good if it could be shown without "\" in the console - if you want to see readable results or generally don't need escaped versions. So it is still actual.


update to version 1.24

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Py3x problems identified downstream. Am taking opportunity to refactor some of the associated code base and will push a new point release once this is done.


Decide JSpecify's policy toward usages of @Inherited [working decision: document that we ignore it]

We have previously said that annotations are not inherited, but that conversation was about type annotations (#14).
Now, I think it's clear that our defaulting annotations will not be inherited, either: We wouldn't want for the @NullAware annotation on java.lang.Object to imply that every class has been annotated for nullness :)
Still, a user might define a custom declaration annotation, declare that it "implies" our defaulting annotation, and mark it with @Inherited. What do we do?
First, it's worth noting that at least one Java compiler API automatically returns such inherited annotations. See Element.getAnnotation(Class) and the definition of present (as distinct from directly present) that it uses. So, if what we want to do is "ignore @Inherited," we may need to take explicit action in the form of avoiding that specific API. (We might instead use getAnnotationMirrors() -- possibly a better choice, anyway, since it avoids loading Class objects.)
But maybe we'd want to respect @Inherited. After all, if we didn't, we may violate user expectations and/or the contract of @Inherited. However, it seems unlikely that any users actually mean for a defaulting annotation to be applied to subtypes. (See Object example above.) And the contract of @Inherited, if we squinted really hard, could be read as a statement about the behavior of Element.getAnnotation, not as a statement about the behavior of any particular consumer of annotations.
This thread is also as good a place as any to note that an @Inherited annotation is technically inherited only by classes that extend an annotated class -- not by classes/interfaces that implement/extend an annotated interface, nor by methods that override an annotated method. (This behavior is somewhat surprising and somewhat not-useful, so some tools have chosen to apply their own rules. Maybe this gives us additional cover for doing whatever we want....)
Hopefully this just never comes up. But I learned a bit about it, so I'm writing it down here.

Could we (for now) ban aliases for @NullMarked if they're @Inherited?

I like that. All we really have to do is state in the Implies javadoc not to use it together with @Inherited or to expect nothing good if you do.
It's a bummer that there is even one API that does respect this ill-thought-out annotation, but I say the bug is with that API......

As a working decision for the time being we will absolutely ignore @Inherited (except perhaps to speak to the fact that we absolutely ignore it and recommend users do the same).

Reclassifying as doc bug, because I don't think we ever did this.

Wait no, filed #493 instead

Current decision: Because we are not planing to support annotation implication in 1.0 (#35, #307), this issue is not relevant for 1.0.
Proposal for 1.0: Finalize the current decision. If you agree, please add a thumbs-up emoji (👍) to this comment. If you disagree, please add a thumbs-down emoji (👎) to this comment and briefly explain your disagreement. Please only add a thumbs-down if you feel you can make a strong case why this decision will be materially worse for users or tool providers than an alternative.


Add optional volume attach in generic flist deploy chatflow

Optional attaching of a volume when creating a container using the generic flist chatflow

Afaik it's totally possible to have a volume reservation in the same reservation as the container..
so there is no need for 2 seperate reservations and payments
But when attaching the volume to the container I need to provide a reservation id for the volume as shown here https://github.com/threefoldtech/jumpscaleX_threebot/pull/746/files#diff-e27990502904cf31b839b628ec93acc6R201. If I do them in one reservation I wont have the reservation id


Use HTML comments, not C comments

/cc @mtdowling

Beat you to it by a couple minutes :)
https://github.com/guzzle/guzzle_sphinx_theme/commit/d6e97bc5b920ca6730b0f331761be36d1a17ab7b


Fix internal links by updating config.toml

I went through the links and for the most part it is fine. I wanted to write things down before checking out how to actually edit stuff here.
• You can sign up here could lead to https://indico.neic.no/event/135/surveys/36 instead
• in https://coderefinery.github.io/2022-09-20-workshop/volunteer/ this link is not found https://coderefinery.github.io/manuals/helper-intro/ is not found

Thanks for identifying these! Are you planning to fix these links? No pressure to, only to be clear on who is working on it.

I could but I don't know correct alternative, sorry.

OK I will look and fix.


[$500] Expense - Console error on expense report and Go To Report button is not working in violation info

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

Version Number: 1.4.5-3
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Precondition:

User is an employee of a Collect workspace created from OD
The Collect workspace has People must categorize expenses toggled on

Log in as employee
Go to the workspace chat > + > Request money
Create a manual expense without selecting a category
Click on the expense preview to open expense report page
Click Go To Report in expense violation message

Expected Result:
In Step 4, no console error will appear
In Step 5, 'Go to report' button redirects user to the relevant site
Actual Result:
In Step 4, no console error shows up
In Step 5, 'Go to report' button is not responsive
Workaround:
Unknown
Platforms:

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

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/92665b01-3508-4f21-90f6-76a0508b1d95
logs.txt
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~016a06964dab9f6099
Upwork Job ID:<PHONE_NUMBER>656281088
Last Price Increase: 2023-11-29

I tried reproducing the bug. I went to OldDot, created a Workspace with the Collect plan, added a member as employee, enabled "People must categorize expenses." I'm not having this workspace show up in NewDot. Its #admin and #announce chatrooms appear but not the workspace itself.

Did I do something incorrectly?

@mkhutornyi Thanks! Could you share some context for why>

Ok, given that https://github.com/Expensify/App/issues/26614 was closed, I will also close this one!


chore: update docs style of grant modules

Summary
In this PR, I want to fix the styles of the terraform snowflake provider documentation to be the same format.
This PR only includes updates in grant modules:

use UPPERCASE for privilege (privilege = "select" => privilege = "SELECT")
use no abbr like database_name = "db" => database_name = "database" and warehouse_name = "wh" => warehouse_name = "warehouse" because some of them already use "database" in the examples.

Furthermore, changing the definitions with double quotations seems better as follows.
before
resource snowflake_warehouse_grant grant {
  warehouse_name = "wh"
  privilege      = "MODIFY"

  roles = [
    "role1",
  ]

  with_grant_option = false
}

after
resource "snowflake_warehouse_grant" "grant" {
  warehouse_name = "warehouse"
  privilege      = "MODIFY"

  roles = ["role1", "role2"]

  with_grant_option = false
}

I will open further pull requests for fixing documentation if this idea is good for this project.


Cannot download from nexus

https://artifactory5.exp.exactpro.com/artifactory/
is unavailable.

Hi, adrian-brown
artifactory5.exp.exactpro.com is an internal repository. Gradle skips unavailable repositories and tries to use others declared in the build script. Please write the command which you are using to build and attach the console output to this issue.

Is that a failure?
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'sailfish'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve org.jfrog.buildinfo:build-info-extractor-gradle:4.7.2.
     Required by:
         project :
      > Could not resolve org.jfrog.buildinfo:build-info-extractor-gradle:4.7.2.
         > Could not get resource 'http://artifactory5.exp.exactpro.com/artifactory/libs-snapshot/org/jfrog/buildinfo/build-info-extractor-gradle/4.7.2/build-info-extractor-gradle-4.7.2.pom'.
            > Could not HEAD 'http://artifactory5.exp.exactpro.com/artifactory/libs-snapshot/org/jfrog/buildinfo/build-info-extractor-gradle/4.7.2/build-info-extractor-gradle-4.7.2.pom'.
               > artifactory5.exp.exactpro.com
      > Could not resolve org.jfrog.buildinfo:build-info-extractor-gradle:4.7.2.
         > Could not get resource 'http://artifactory5.exp.exactpro.com/artifactory/libs-release/org/jfrog/buildinfo/build-info-extractor-gradle/4.7.2/build-info-extractor-gradle-4.7.2.pom'.
            > Could not HEAD 'http://artifactory5.exp.exactpro.com/artifactory/libs-release/org/jfrog/buildinfo/build-info-extractor-gradle/4.7.2/build-info-extractor-gradle-4.7.2.pom'.
               > artifactory5.exp.exactpro.com
      > Could not resolve org.jfrog.buildinfo:build-info-extractor-gradle:4.7.2.
         > Could not get resource 'https://jcenter.bintray.com/org/jfrog/buildinfo/build-info-extractor-gradle/4.7.2/build-info-extractor-gradle-4.7.2.pom'.
            > Could not HEAD 'https://jcenter.bintray.com/org/jfrog/buildinfo/build-info-extractor-gradle/4.7.2/build-info-extractor-gradle-4.7.2.pom'.
               > java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
   > Could not resolve com.bmuschko:gradle-tomcat-plugin:2.5.
     Required by:
         project :
      > Could not resolve com.bmuschko:gradle-tomcat-plugin:2.5.
         > Could not get resource 'http://artifactory5.exp.exactpro.com/artifactory/libs-snapshot/com/bmuschko/gradle-tomcat-plugin/2.5/gradle-tomcat-plugin-2.5.pom'.
            > Could not HEAD 'http://artifactory5.exp.exactpro.com/artifactory/libs-snapshot/com/bmuschko/gradle-tomcat-plugin/2.5/gradle-tomcat-plugin-2.5.pom'.
               > artifactory5.exp.exactpro.com
      > Could not resolve com.bmuschko:gradle-tomcat-plugin:2.5.
         > Could not get resource 'http://artifactory5.exp.exactpro.com/artifactory/libs-release/com/bmuschko/gradle-tomcat-plugin/2.5/gradle-tomcat-plugin-2.5.pom'.
            > Could not HEAD 'http://artifactory5.exp.exactpro.com/artifactory/libs-release/com/bmuschko/gradle-tomcat-plugin/2.5/gradle-tomcat-plugin-2.5.pom'.
               > artifactory5.exp.exactpro.com
      > Could not resolve com.bmuschko:gradle-tomcat-plugin:2.5.
         > Could not get resource 'https://jcenter.bintray.com/com/bmuschko/gradle-tomcat-plugin/2.5/gradle-tomcat-plugin-2.5.pom'.
            > Could not HEAD 'https://jcenter.bintray.com/com/bmuschko/gradle-tomcat-plugin/2.5/gradle-tomcat-plugin-2.5.pom'.
               > java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
   > Could not resolve com.github.onslip:gradle-one-jar:1.0.5.
     Required by:
         project :
      > Could not resolve com.github.onslip:gradle-one-jar:1.0.5.
         > Could not get resource 'http://artifactory5.exp.exactpro.com/artifactory/libs-snapshot/com/github/onslip/gradle-one-jar/1.0.5/gradle-one-jar-1.0.5.pom'.
            > Could not HEAD 'http://artifactory5.exp.exactpro.com/artifactory/libs-snapshot/com/github/onslip/gradle-one-jar/1.0.5/gradle-one-jar-1.0.5.pom'.
               > artifactory5.exp.exactpro.com
      > Could not resolve com.github.onslip:gradle-one-jar:1.0.5.
         > Could not get resource 'http://artifactory5.exp.exactpro.com/artifactory/libs-release/com/github/onslip/gradle-one-jar/1.0.5/gradle-one-jar-1.0.5.pom'.
            > Could not HEAD 'http://artifactory5.exp.exactpro.com/artifactory/libs-release/com/github/onslip/gradle-one-jar/1.0.5/gradle-one-jar-1.0.5.pom'.
               > artifactory5.exp.exactpro.com
      > Could not resolve com.github.onslip:gradle-one-jar:1.0.5.
         > Could not get resource 'https://jcenter.bintray.com/com/github/onslip/gradle-one-jar/1.0.5/gradle-one-jar-1.0.5.pom'.
            > Could not HEAD 'https://jcenter.bintray.com/com/github/onslip/gradle-one-jar/1.0.5/gradle-one-jar-1.0.5.pom'.
               > java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
   > Could not resolve me.champeau.gradle:jmh-gradle-plugin:0.2.0.
     Required by:
         project :
      > Could not resolve me.champeau.gradle:jmh-gradle-plugin:0.2.0.
         > Could not get resource 'http://artifactory5.exp.exactpro.com/artifactory/libs-snapshot/me/champeau/gradle/jmh-gradle-plugin/0.2.0/jmh-gradle-plugin-0.2.0.pom'.
            > Could not HEAD 'http://artifactory5.exp.exactpro.com/artifactory/libs-snapshot/me/champeau/gradle/jmh-gradle-plugin/0.2.0/jmh-gradle-plugin-0.2.0.pom'.
               > artifactory5.exp.exactpro.com
      > Could not resolve me.champeau.gradle:jmh-gradle-plugin:0.2.0.
         > Could not get resource 'http://artifactory5.exp.exactpro.com/artifactory/libs-release/me/champeau/gradle/jmh-gradle-plugin/0.2.0/jmh-gradle-plugin-0.2.0.pom'.
            > Could not HEAD 'http://artifactory5.exp.exactpro.com/artifactory/libs-release/me/champeau/gradle/jmh-gradle-plugin/0.2.0/jmh-gradle-plugin-0.2.0.pom'.
               > artifactory5.exp.exactpro.com
      > Could not resolve me.champeau.gradle:jmh-gradle-plugin:0.2.0.
         > Could not get resource 'https://jcenter.bintray.com/me/champeau/gradle/jmh-gradle-plugin/0.2.0/jmh-gradle-plugin-0.2.0.pom'.
            > Could not HEAD 'https://jcenter.bintray.com/me/champeau/gradle/jmh-gradle-plugin/0.2.0/jmh-gradle-plugin-0.2.0.pom'.
               > java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
   > Could not resolve com.exactpro.sailfish-gradle-plugin:sailfish-gradle-plugin:3.2.17.
     Required by:
         project :
      > Could not resolve com.exactpro.sailfish-gradle-plugin:sailfish-gradle-plugin:3.2.17.
         > Could not get resource 'http://artifactory5.exp.exactpro.com/artifactory/libs-snapshot/com/exactpro/sailfish-gradle-plugin/sailfish-gradle-plugin/3.2.17/sailfish-gradle-plugin-3.2.17.pom'.
            > Could not HEAD 'http://artifactory5.exp.exactpro.com/artifactory/libs-snapshot/com/exactpro/sailfish-gradle-plugin/sailfish-gradle-plugin/3.2.17/sailfish-gradle-plugin-3.2.17.pom'.
               > artifactory5.exp.exactpro.com
      > Could not resolve com.exactpro.sailfish-gradle-plugin:sailfish-gradle-plugin:3.2.17.
         > Could not get resource 'http://artifactory5.exp.exactpro.com/artifactory/libs-release/com/exactpro/sailfish-gradle-plugin/sailfish-gradle-plugin/3.2.17/sailfish-gradle-plugin-3.2.17.pom'.
            > Could not HEAD 'http://artifactory5.exp.exactpro.com/artifactory/libs-release/com/exactpro/sailfish-gradle-plugin/sailfish-gradle-plugin/3.2.17/sailfish-gradle-plugin-3.2.17.pom'.
               > artifactory5.exp.exactpro.com
      > Could not resolve com.exactpro.sailfish-gradle-plugin:sailfish-gradle-plugin:3.2.17.
         > Could not get resource 'https://jcenter.bintray.com/com/exactpro/sailfish-gradle-plugin/sailfish-gradle-plugin/3.2.17/sailfish-gradle-plugin-3.2.17.pom'.
            > Could not HEAD 'https://jcenter.bintray.com/com/exactpro/sailfish-gradle-plugin/sailfish-gradle-plugin/3.2.17/sailfish-gradle-plugin-3.2.17.pom'.
               > java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
   > Could not resolve javax.xml.bind:jaxb-api:2.2.11.
     Required by:
         project :
      > Could not resolve javax.xml.bind:jaxb-api:2.2.11.
         > Could not get resource 'http://artifactory5.exp.exactpro.com/artifactory/libs-snapshot/javax/xml/bind/jaxb-api/2.2.11/jaxb-api-2.2.11.pom'.
            > Could not HEAD 'http://artifactory5.exp.exactpro.com/artifactory/libs-snapshot/javax/xml/bind/jaxb-api/2.2.11/jaxb-api-2.2.11.pom'.
               > artifactory5.exp.exactpro.com
      > Could not resolve javax.xml.bind:jaxb-api:2.2.11.
         > Could not get resource 'http://artifactory5.exp.exactpro.com/artifactory/libs-release/javax/xml/bind/jaxb-api/2.2.11/jaxb-api-2.2.11.pom'.
            > Could not HEAD 'http://artifactory5.exp.exactpro.com/artifactory/libs-release/javax/xml/bind/jaxb-api/2.2.11/jaxb-api-2.2.11.pom'.
               > artifactory5.exp.exactpro.com
      > Could not resolve javax.xml.bind:jaxb-api:2.2.11.
         > Could not get resource 'https://jcenter.bintray.com/javax/xml/bind/jaxb-api/2.2.11/jaxb-api-2.2.11.pom'.
            > Could not HEAD 'https://jcenter.bintray.com/javax/xml/bind/jaxb-api/2.2.11/jaxb-api-2.2.11.pom'.
               > java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
   > Could not resolve com.github.ben-manes:gradle-versions-plugin:0.20.0.
     Required by:
         project :
      > Could not resolve com.github.ben-manes:gradle-versions-plugin:0.20.0.
         > Could not get resource 'http://artifactory5.exp.exactpro.com/artifactory/libs-snapshot/com/github/ben-manes/gradle-versions-plugin/0.20.0/gradle-versions-plugin-0.20.0.pom'.
            > Could not HEAD 'http://artifactory5.exp.exactpro.com/artifactory/libs-snapshot/com/github/ben-manes/gradle-versions-plugin/0.20.0/gradle-versions-plugin-0.20.0.pom'.
               > artifactory5.exp.exactpro.com
      > Could not resolve com.github.ben-manes:gradle-versions-plugin:0.20.0.
         > Could not get resource 'http://artifactory5.exp.exactpro.com/artifactory/libs-release/com/github/ben-manes/gradle-versions-plugin/0.20.0/gradle-versions-plugin-0.20.0.pom'.
            > Could not HEAD 'http://artifactory5.exp.exactpro.com/artifactory/libs-release/com/github/ben-manes/gradle-versions-plugin/0.20.0/gradle-versions-plugin-0.20.0.pom'.
               > artifactory5.exp.exactpro.com
      > Could not resolve com.github.ben-manes:gradle-versions-plugin:0.20.0.
         > Could not get resource 'https://jcenter.bintray.com/com/github/ben-manes/gradle-versions-plugin/0.20.0/gradle-versions-plugin-0.20.0.pom'.
            > Could not HEAD 'https://jcenter.bintray.com/com/github/ben-manes/gradle-versions-plugin/0.20.0/gradle-versions-plugin-0.20.0.pom'.
               > java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
   > Could not resolve com.bmuschko:gradle-cargo-plugin:2.4.
     Required by:
         project :
      > Could not resolve com.bmuschko:gradle-cargo-plugin:2.4.
         > Could not get resource 'http://artifactory5.exp.exactpro.com/artifactory/libs-snapshot/com/bmuschko/gradle-cargo-plugin/2.4/gradle-cargo-plugin-2.4.pom'.
            > Could not HEAD 'http://artifactory5.exp.exactpro.com/artifactory/libs-snapshot/com/bmuschko/gradle-cargo-plugin/2.4/gradle-cargo-plugin-2.4.pom'.
               > artifactory5.exp.exactpro.com
      > Could not resolve com.bmuschko:gradle-cargo-plugin:2.4.
         > Could not get resource 'http://artifactory5.exp.exactpro.com/artifactory/libs-release/com/bmuschko/gradle-cargo-plugin/2.4/gradle-cargo-plugin-2.4.pom'.
            > Could not HEAD 'http://artifactory5.exp.exactpro.com/artifactory/libs-release/com/bmuschko/gradle-cargo-plugin/2.4/gradle-cargo-plugin-2.4.pom'.
               > artifactory5.exp.exactpro.com
      > Could not resolve com.bmuschko:gradle-cargo-plugin:2.4.
         > Could not get resource 'https://jcenter.bintray.com/com/bmuschko/gradle-cargo-plugin/2.4/gradle-cargo-plugin-2.4.pom'.
            > Could not HEAD 'https://jcenter.bintray.com/com/bmuschko/gradle-cargo-plugin/2.4/gradle-cargo-plugin-2.4.pom'.
               > java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
   > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.21.
     Required by:
         project :
      > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.21.
         > Could not get resource 'http://artifactory5.exp.exactpro.com/artifactory/libs-snapshot/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.21/kotlin-gradle-plugin-1.3.21.pom'.
            > Could not HEAD 'http://artifactory5.exp.exactpro.com/artifactory/libs-snapshot/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.21/kotlin-gradle-plugin-1.3.21.pom'.
               > artifactory5.exp.exactpro.com
      > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.21.
         > Could not get resource 'http://artifactory5.exp.exactpro.com/artifactory/libs-release/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.21/kotlin-gradle-plugin-1.3.21.pom'.
            > Could not HEAD 'http://artifactory5.exp.exactpro.com/artifactory/libs-release/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.21/kotlin-gradle-plugin-1.3.21.pom'.
               > artifactory5.exp.exactpro.com
      > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.21.
         > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.21/kotlin-gradle-plugin-1.3.21.pom'.
            > Could not HEAD 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.21/kotlin-gradle-plugin-1.3.21.pom'.
               > java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the
```trustAnchors parameter must be non-empty

Hi @adrian-brown, as we can see there is an issue with connectivity to jcenter public repository as well.
Could you please try to open the following links directly https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.21/kotlin-gradle-plugin-1.3.21.pom
https://jcenter.bintray.com/me/champeau/gradle/jmh-gradle-plugin/0.2.0/jmh-gradle-plugin-0.2.0.pom

Hi @adrian-brown,
is the issue is still relevant or we can close it?


[FEATURE REQ] Support multi-tenancy at database level in Cosmos Spring library

Is your feature request related to a problem? Please describe.
Cosmos DB Spring library does not currently allow dynamic setting of database name, and must be hardcoded in config, to be used at initialisation.
Describe the solution you'd like
Ability to specify database name dynamically, similar to support for MongoDB in samples like this: https://github.com/tinmegali/spring-multi-tenant/blob/master/src/main/java/com/tinmegali/springdatamongodbmultitenant/config/data/MultiTenantMongoDbFactory.java
Describe alternatives you've considered
The only alternative is to use CosmosTemplate, which is verbose, and does not then allow for the use of Spring native Respository API.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Description Added
[X] Expected solution specified

All of the below is to make sure that customers can use spring data cosmos SDK as it is without needing to change template level code.
They should be able to use JPA repositories and use the SDK normally, with minimal changes through application.properties or through extending CosmosFactory.

Multi-Tenancy on Cosmos Db Account level - We dont support this. (We do support it but through multiple templates. - which requires customers to use templates and not repositories)
Database cost is zero - because throughput can be provisioned at just container level - confirm with Theo ??
Each tenant is a separate database ->
WMT -> User, Role, Address (Same containers because of same entity OR reusable entities - allows customer to just have 1 code for their multi-tenant application)
linkedIn -> User, Role, Address
BestBuy -> User, Role, Address
ComsosFactory -> 1:1 mapped to a database.
MultiTenantCosmosFactory -> 1:N mapping to databases.
This can be done by updating our templates to take in getDatabaseName() dynamically.

Multi-Tenancy on Database level -> (We might already support this) - We do support this. But this is not practical or realistic.
There is only 1 database. (This is something that MARS company is using -> They have around 80-120 containers - each container for a tenant)
Each tenant as a separate container -> ??
WMT entity - for WMT tenant -> WMT is the container here.
BestBuy entity - for BestBuy tenant -> BestBuy is the container here.
...
Each entity holds storage of json type (no structure) and customers use same container for holding multiple document types.
Because currently we have entity linked to Container Name, this is already hooked up in our templates.
With caveat, that one entity is mapped to a single and only single container.

Multi-Tenancy on Container level -> (Same entity types for each tenant, but seggregation is on container) - This we already support - might need testing.
There is only 1 database. (This is something that MARS company is using -> They have around 80-120 containers - each container for a tenant)
Each tenant has multiple entities as multiple containers.
WMT -> User, Role and Address -> Manifested as WMT-User, WMT-Role, WMT-Address containers.
BestBuy -> User, Role and Address -> Manifested as BestBuy-User, BestBuy-Role, BestBuy-Address containers.
...
Map a single Entity to multiple containers. ??? (We don't support this) - Also, I don't think spring-data supports this.
We do support - dynamic naming of containers through entity - using SpEL - spring expression language.
In this case, customer hosts multiple applications (per tenant) and specificy container names through SpEL.
Each application is dedicated to a tenant. For example, WMT application will only have WMT tenant data and traffic. Same for BestBuy, LinkedIn, etc.
All they need to do is use SPeL for dynamic container name per tenant based, and leverage the same code.
Deploy same application code, but with different application.properties

Multi-Tenancy on Data level -> (1 database, multiple containers, tenancy based on pk) - This we already support - might need testing. Might not even need testing.

This is already supported regardless.
There is only 1 database.
Each container is an entity - Role, Address, User, etc.
Each container has a partition key - based on tenant.
Role -> String type partition key (tenantPk) - values can be -> WMT, BestBuy, LinkedIn.

https://github.com/kushagraThapar/azure-sdk-for-java/pull/new/spring-data-cosmos-multi-tenancy-container-level


Slow Initial Page Load Time Despite Cache Clearing and Setting in Filament Demo

When attempting to clear and set the cache for the Filament demo on GitHub, there persists a significant delay in loading the initial page, taking over 40 seconds. Despite cache clearing and reconfiguration, the issue persists, impacting the user experience.
Steps to Reproduce:

Clone the Filament demo repository: git clone https://github.com/laravel-filament/demo.git filament-demo && cd filament-demo
Install dependencies: composer install --ignore-platform-req=ext-pcntl --ignore-platform-req=ext-posix
Copy the environment file: cp .env.example .env
Generate a Laravel application key: php artisan key:generate
Migrate the database: php artisan migrate
Seed the database: php artisan db:seed
Create a symbolic link to storage: php artisan storage:link
Clear and set the cache:php artisan o:c
php artisan view:cache
php artisan route:cache
php artisan icons:cache
php artisan filament:cache-components
php artisan event:cache
php artisan config:cache
php artisan optimize

Observation:
Despite the cache clearing and reconfiguration process, the initial page load time remains slow, taking over 40 seconds. Subsequent page loads show improved performance, indicating a potential caching issue during the initial load.
Video Recording: Link to Video
Seeking insights and suggestions to identify potential reasons for the slow initial page load time despite cache management efforts. Any assistance in troubleshooting and resolving this issue would be greatly appreciated.

Please don't open duplicate threads, thanks