Error message for Invalid 'bounds' number in optimize.linprog looks weird sometimes.

I think error message for Invalid 'bounds' number in optimize.linprog looks weird sometimes.
Reproducing code example:
In this linear programming, bounds number should be 1 or 4.
from scipy.optimize import linprog
import numpy as np

c = np.array([-29.0, -45.0, 0.0, 0.0])
A_ub = np.array([[1.0, -1.0, -3.0, 0.0],
                 [-2.0, 3.0, 7.0, -3.0]])
b_ub = np.array([[5.0],
                 [-10.0]])
A_eq = np.array([[2.0, 8.0, 1.0, 0.0],
                 [4.0, 4.0, 0.0, 1.0]])
b_eq = np.array([[60.0],
                 [60.0]])
bounds = [(0, None)]
result = linprog(c, A_ub=A_ub, b_ub=b_ub, A_eq=A_eq, b_eq=b_eq, bounds = bounds)
# OK

from scipy.optimize import linprog
import numpy as np

c = np.array([-29.0, -45.0, 0.0, 0.0])
A_ub = np.array([[1.0, -1.0, -3.0, 0.0],
                 [-2.0, 3.0, 7.0, -3.0]])
b_ub = np.array([[5.0],
                 [-10.0]])
A_eq = np.array([[2.0, 8.0, 1.0, 0.0],
                 [4.0, 4.0, 0.0, 1.0]])
b_eq = np.array([[60.0],
                 [60.0]])
x0_bounds = (0, None)
x1_bounds = (0, None)
x2_bounds = (0, None)
x3_bounds = (0, None)
bounds = [x0_bounds, x1_bounds, x2_bounds, x3_bounds]
result = linprog(c, A_ub=A_ub, b_ub=b_ub, A_eq=A_eq, b_eq=b_eq, bounds = bounds)
# OK

If bounds number is 3, the error message make sense for me.
from scipy.optimize import linprog
import numpy as np

c = np.array([-29.0, -45.0, 0.0, 0.0])
A_ub = np.array([[1.0, -1.0, -3.0, 0.0],
                 [-2.0, 3.0, 7.0, -3.0]])
b_ub = np.array([[5.0],
                 [-10.0]])
A_eq = np.array([[2.0, 8.0, 1.0, 0.0],
                 [4.0, 4.0, 0.0, 1.0]])
b_eq = np.array([[60.0],
                 [60.0]])
x0_bounds = (0, None)
x1_bounds = (0, None)
x2_bounds = (0, None)
bounds = [x0_bounds, x1_bounds, x2_bounds]
result = linprog(c, A_ub=A_ub, b_ub=b_ub, A_eq=A_eq, b_eq=b_eq, bounds = bounds)
# ValueError: Invalid input for linprog: exactly one lower bound and
# one upper bound must be specified for each element of x

However, bounds number is 2, the error message looks weird for me.
from scipy.optimize import linprog
import numpy as np

c = np.array([-29.0, -45.0, 0.0, 0.0])
A_ub = np.array([[1.0, -1.0, -3.0, 0.0],
                 [-2.0, 3.0, 7.0, -3.0]])
b_ub = np.array([[5.0],
                 [-10.0]])
A_eq = np.array([[2.0, 8.0, 1.0, 0.0],
                 [4.0, 4.0, 0.0, 1.0]])
b_eq = np.array([[60.0],
                 [60.0]])
x0_bounds = (0, None)
x1_bounds = (0, None)
bounds = [x0_bounds, x1_bounds]
result = linprog(c, A_ub=A_ub, b_ub=b_ub, A_eq=A_eq, b_eq=b_eq, bounds = bounds)
# ValueError: The truth value of an array with more than one element is ambiguous.
# Use a.any() or a.all()

Scipy/Numpy/Python version information:
scipy: 1.4.1

On the current master, the error output is ValueError: Invalid input for linprog: unable to interpret bounds with this dimension tuple: (3, 2). for three bounds
and ValueError: Invalid input for linprog: unable to interpret bounds with this dimension tuple: (2, 2). for two bounds.
So I think, it's already fixed.

Thank you for checking. That's good. I close this.

Thanks for finding this @AtsushiSakai and for noticing it was fixed @ruslanye! I think @janvle's changes in gh-11605 must done it. (Thanks @janvle!)


Add auth config documentation

I'm trying to figure out how to configure the package, especially in the area of authenticating through ServiceAccount. I saw some the code in Kazan.Server on reading the kubecfg file. However, I'm not really sure where it's used, and the documentation isn't saying much about how to setup the auth component.
I'll keep looking around the repo but it would be really nice to have more info/example in the documentation or README.
I'm also happy to submit PR if you'd preferred.

Hey obmarg,
Thanks for the response. I got pull into another project last week but I'm getting back into this now. I in_cluster authentication is very much what I'm looking for. I must have missed that while looking through the documentation and source code.
Once I have a working code, I'll se if I can make it into an example for the README file. I think more example of Usage would be helpful.
Thank you,

Hey @mayppong - I've ended up adding some documentation around authentication in acaf78c.  Would you mind letting me know what you think?

Yes this is much more helpful. Thank you so much.

Thanks @mayppong - I'm going to close this issue, but feel free to re-open if you think there's more improvements to be made.


Fix conflict detection logic

Mention author
Fix comment log
Fix merge conflict detection (missed break), fixes #52

It's basically 3 PRs in one, review each commit differently


feat: Use electron's net module as http transport

Requires https://github.com/getsentry/raven-js/pull/1316
Fixes #73

Note this won't build until we merge the linked PR.

Gonna merge this now, Windows test verified locally.


Filamentphp doc search

Description
Upgrade to version 3.x of filament docs
Screencast
n/a
Checklist

[ x] I read the extension guidelines
[ x] I read the documentation about publishing
[ x] I ran npm run build and tested this distribution build in Raycast
[ x] I checked that files in the assets folder are used by the extension itself
[ x] I checked that assets used by the README are placed outside of the metadata folder

Also, there is a conflict you should solve 🙂

Thank you!
🎉🎉🎉


postgres / Dispatch DB credential handling

Describe the bug
Postgres credentials that contain a % results in CLI failure.
To Reproduce
Steps to reproduce the behavior:

Create a stock/example instance of dispatch
in .env make sure that that postgres password contains a % in it
build/install as usual
See error

Screenshots
This is a sample from a stock install with the password for postgres set to %%%dispatch%%%

Do you want to load example data (WARNING: this will remove all existing database data) (y/N)?n
Running standard database migrations...
Creating dispatch_core_1 ... done
Creating dispatch_web_run ... done
/usr/local/lib/python3.8/site-packages/jose/backends/cryptography_backend.py:18: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes, int_to_bytes
Traceback (most recent call last):
File "/usr/local/bin/dispatch", line 8, in
sys.exit(entrypoint())
File "/usr/local/lib/python3.8/site-packages/dispatch/cli.py", line 636, in entrypoint
dispatch_cli()
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/dispatch/cli.py", line 372, in upgrade_database
alembic_command.stamp(alembic_cfg, "head")
File "/usr/local/lib/python3.8/site-packages/alembic/command.py", line 570, in stamp
script.run_env()
File "/usr/local/lib/python3.8/site-packages/alembic/script/base.py", line 481, in run_env
util.load_python_file(self.dir, "env.py")
File "/usr/local/lib/python3.8/site-packages/alembic/util/pyfiles.py", line 97, in load_python_file
module = load_module_py(module_id, path)
File "/usr/local/lib/python3.8/site-packages/alembic/util/compat.py", line 182, in load_module_py
spec.loader.exec_module(module)
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.8/site-packages/dispatch/alembic/env.py", line 18, in
config.set_main_option("sqlalchemy.url", str(SQLALCHEMY_DATABASE_URI))
File "/usr/local/lib/python3.8/site-packages/alembic/config.py", line 231, in set_main_option
self.set_section_option(self.config_ini_section, name, value)
File "/usr/local/lib/python3.8/site-packages/alembic/config.py", line 258, in set_section_option
self.file_config.set(section, name, value)
File "/usr/local/lib/python3.8/configparser.py", line 1201, in set
super().set(section, option, value)
File "/usr/local/lib/python3.8/configparser.py", line 894, in set
value = self._interpolation.before_set(self, section, option,
File "/usr/local/lib/python3.8/configparser.py", line 402, in before_set
raise ValueError("invalid interpolation syntax in %r at "
ValueError: invalid interpolation syntax in 'postgresql+psycopg2://dispatch:%%%dispatch%%%@postgres:5432/dispatch' at position 31
Cleaning up...

Additional context
I have not confirmed this behavior with other characters but I suspect this is a sanitization issues so it may apply to others.
Please let me know if you need any further details or examples.

Looks like Postgres accepts URL encoded strings: https://www.postgresql.org/docs/11/libpq-connect.html#id-<IP_ADDRESS>.3.6
That should be a pretty easy fix.

Good to hear. Thank you for the quick identification & response.
Brief housekeeping note I'll be switching future responses & reporting to come from @AlexaKelley. Same me, just unified account.

^ confirming that this is me.


KeyCloak better than Ory Hydra?

I hear from many sides that they all use https://www.keycloak.org/
Did you compare solutions? Should we switch?

Transferred issue to correct repo.

Keycloak (among other things) aggregates IAM protocols like OIDC and SAML. Since we support OIDC with Ory Hydra as the specific implementation, we are fully compatible with Keycloak. This was a consideration from the start. We do not use Keycloak directly to keep complexity down. For many scenarios, it is just overkill. Ory Hydra was chosen because it makes modifications to the internal authentication logic particularly easy.
That means that in addition to being standalone, the bridge can also be integrated into a Keycloak. That could make sense to connect to a system that only knows SAML 2.0 and not OIDC. Or it could make sense for a big organization that bundles all their IAM in their Keycloak instance.


Update cds-server.md with working examples

Instructions are missing env property from the chain and thus have no effect. This patch fixes the documentation from this part.

adding @johannes-vogel to review this PR


[1.7.0-alpha01] GraphicsLayer do not seems to like being drawn multiple times

Describe the bug
This morning I've be updating my Haze library to CMP 1.7.0-alpha01, which gives us access to the new GraphicsLayer APIs. My Android implementation already used RenderNode (which is basically the same), so I've moved that impl over to commonMain and now have a single implementation for all platforms.
It works as expected on Android, but on Skiko backed platforms it seems to have issues when you have multiple child layers drawing another layer. The first child layer is drawn fine, but others are not
I've also seen issues when a layer's position is outside the window bounds, the layer just doesn't draw anything.
Haze is a bit of a stress test for the graphics layers integration, so it might be worth investigating. The sample app is an easy way to see play around. https://github.com/chrisbanes/haze/pull/250
Affected platforms
Skiko-backed platforms (JVM, iOS, etc)
Versions

Libraries:

Compose Multiplatform version: 1.7.0-alpha01

Kotlin version: 2.0/0

Went a bit deeper into this today.
The way Haze works is by drawing the main content into a graphics layer (and keeping that around), and then creating more graphics layers for each blurred area. This works fine on Android, but on the Skiko platforms the layer stops drawing at certain positions. You can see the issue in the videos below.
https://github.com/JetBrains/compose-multiplatform/assets/227486/6fb2c3a9-4d52-43ed-beca-4f72f431e572
https://github.com/JetBrains/compose-multiplatform/assets/227486/347db3b1-15ce-44dc-a979-e8b18caa944e

Ok, I've worked out the trigger for this.
My current code updates the layer's topLeft property, to tell it where to draw. If I stop setting the topLeft, and instead use GraphicsLayer.translationX/Y (or a Canvas translate when drawing the graphics layer) it works fine.
My guess is that somewhere in PictureRecorder (or below) is coercing or rejecting the bounds if they become too far out of the size?

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

Fixed by https://github.com/JetBrains/compose-multiplatform-core/pull/1541


PNG conversion issue

the lib is failing everytime to run any operation on png image. A converted image always end up junked.
original [PNG]

converted [PNG]

code
var  lwipobj = require('lwip');
lwipobj.open(base_file_main_masked_png,function(err,baseimgobj){
	baseimgobj.batch().resize(300).writeFile(base_file_main+fileExt, function (err)
	{
		if (err)
			sails.log.debug("ERROR CREATING "+base_file_main+fileExt, err);
		else
			sails.log.debug("CREATED "+base_file_main+fileExt);
		callback(null);
	});
});

The above code is called inside an async.each

No response!!! as yet.
I realize the issue is if the PNG is bigger than some size (512KB??) The library fails completely.
Any solution? work around?

Maybe wait?
Or you can try fixing it and create a pull request. I believe the author is pretty busy right now, the more critical nodejs 4.0 bug has not fixed yet, give it time.

Yes thats a good option. Just want to be sure that actually is a issue and I am not doing something wrong.

Yeah, many stuff is broken. Looks like the author is away.

@shantanu77, @r1cebank I'll look into it as soon as I can.
In the meantime, if you encode the same image to jpeg what the result?

@shantanu77 Also please include more info about your setup.

No worries, thanks for keeping us updated.

Welcome Back Eyal! and thank you for responding.

there is no issue with async [each] processing the service work like charm. I created 5 different formats (re-sized versions) in parallel all were created fine.

the problem exists in PNG->JPG Conversion too
original PNG

[size 350kb]

converted jpg

[size 187KB]

there is no problem in converting a jpg to other formats.

ubuntu@test2015:~$ uname -a
Linux test2015.thirstt.com 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@test2015:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:        14.04
Codename:       trusty
ubuntu@test2015:~$ node --version
v0.12.7
installation data:
../src/lib/gif/quantize.c:132:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (NewColorMapSize < *ColorMapSize) {
^
../src/lib/gif/quantize.c:141:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < NewColorMapSize; i++) {
^
SOLINK_MODULE(target) Release/obj.target/lwip_encoder.node
COPY Release/lwip_encoder.node
CXX(target) Release/obj.target/lwip_image/src/image/init.o
CXX(target) Release/obj.target/lwip_image/src/image/image.o
CXX(target) Release/obj.target/lwip_image/src/image/resize_worker.o
CXX(target) Release/obj.target/lwip_image/src/image/rotate_worker.o
CXX(target) Release/obj.target/lwip_image/src/image/blur_worker.o
CXX(target) Release/obj.target/lwip_image/src/image/crop_worker.o
CXX(target) Release/obj.target/lwip_image/src/image/mirror_worker.o
CXX(target) Release/obj.target/lwip_image/src/image/pad_worker.o
CXX(target) Release/obj.target/lwip_image/src/image/sharpen_worker.o
CXX(target) Release/obj.target/lwip_image/src/image/hsla_worker.o
CXX(target) Release/obj.target/lwip_image/src/image/opacify_worker.o
CXX(target) Release/obj.target/lwip_image/src/image/paste_worker.o
CXX(target) Release/obj.target/lwip_image/src/image/setpixel_worker.o
SOLINK_MODULE(target) Release/obj.target/lwip_image.node
COPY Release/lwip_image.node
make: Leaving directory `/home/ubuntu/www/thirstt/node_modules/lwip/build'
npm WARN unmet dependency /home/ubuntu/www/thirstt/node_modules/sails/node_modules/waterline requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /home/ubuntu/www/thirstt/node_modules/bluebird,
npm WARN unmet dependency which is version 2.10.0
<EMAIL_ADDRESS>node_modules/lwip
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS>

No response as yet. EylAr. request you to kindly look into it.

@shantanu77 I can't reproduce the problem...

Please try again with the latest version of lwip (0.0.8).

Yes its fixed in 0.0.8 Version. Thank you Very much @EyalAr !
Much appreciated.


Improve backend code quality

Right now the Golang codebase for the backend is about 25000 SLOC mostly written by one person that has not worked in this project for a lot of time now.
There's a lot of tech debt: code duplication, commented code, non-idiomatic Go code, fixes and TODOs pending, three different database backends without much code reuse...
This PR is part of an effort to trying to make the codebase more accessible to newcomers and familiar to Golang developers. For now, I'm limiting this PR only to trivial fixes (mostly aesthetic) found by static analysis tools using golangci-lint...but there are A LOT of them, sorry :(
I've also set up a GitHub Action that runs golangci-lint with the custom configuration added to the repo to avoid regressing this fixes in the future.
I will submit further PRs (hopefully smaller) addressing more important issues like code duplication, dead code removal and stricter error checking even though there might be some of that in this one.

I really like this enhancement. I will start working to integrate the backend to the new frontend. This project need to be updated again. Thank you @pablojimpas.


added google translator

closes #130
https://github.com/user-attachments/assets/0873517d-9410-4a80-b746-de72dbe92d79
please review this pr @AkshitLakhera
Thanks!

@AkshitLakhera hey its been 2 days Can you please review and merge it

@sezallagwal  I am really sorry for inconvenience  caused as I was in hospital with my grandmother.

@sezallagwal  great job

@AkshitLakhera no worries at all. I hope your grandmother is doing better now.

@AkshitLakhera no worries at all. I hope your grandmother is doing better now.

She is fine now ,thank you for showing your concern.


Update prices to include PricePerUnit

There are a number of Structure in the SDK that still represent price as just an int.
These all need to be updated to be represented using PricePerUnit so the currency code can be captured.
To Do:

Assess changes to structs that are required and make changes to Go core
Update Thrift
Update all wrappers that utilise Thrift

Looking through the code, it looks like the core types already cope with price per unit, price and currency. @chackett Is that your understanding?

Looking at wrappers now


exploitdb: 2023-04-02 -> 2023-04-06

Diff: https://gitlab.com/exploit-database/exploitdb/-/compare/refs/tags/2023-04-02...2023-04-06
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.


Took forever to find live demo

I kept looking for commands like start or debug.  It would be nice if there was a button that started / stopped live demo.

Search for demo : https://alm-tools.gitbooks.io/alm/content/features/live-demo.html
Reason why its not start demo is start is fairly general. Want to rank demo to give this as the first result in command search :rose:
Why not debug  : We might eventually (who knows?) get actual debugger support (unlikely but still) :rose:


Fix typos and make minor improvements

resolve nearform/hub-draft-issues#346

I thought you were going to remove the custom install instructions from step 11.


Vulnerable to XSS attack

Using the following source:
<% source = '/foo"><script>alert("hacked")</script><' %>

Either of the following will result in an XSS attack:
<%= ix_image_tag source %>

<%= image_tag ix_image_url source %>

You can verify this by pasting the code into any Rails ERB template. The browser will show an alert dialog saying "hacked".
The source of the vulnerability is this line. html_safe is being called without verifying that the input is safe. Here's the documentation for html_safe.

Hey @balexand, thanks for the bug report. This is something we're aware of and are going to be tackling next week. It is effectively a symptom of some known encoding issues present in imgix/imgix-rails,  which is what generates the URLs for imgix-rails. I'll definitely keep you in the loop on this as it progresses on our end.

Alrighty, this is fixed up by #22, which I'll be pushing out in a new release soon.


sensor: tdk 42688 driver

Adds a driver for TDK InvenSense 42688 six axis IMU. Verified using the sensor shell sample app via:
sensor info
sensor get icm42688p@0
Collaborated on by Tom Burdick and Yuval Peress

Please add the sensor to tests/drivers/build_all/sensor to ensure it gets built in CI

Done

Please add the sensor to tests/drivers/build_all/sensor to ensure it gets built in CI

@MaureenHelm I tried this but ran into a few issues (see the second commit in this PR)

The test wasn't passing due to conflicting addresses (I fixed that)
The driver requires the SPI_SAM (@teburd can you confirm?) which can't be built for native_posix, so I can't seem to add it to this test without major refactoring.

Discussed with @teburd offline and there's no hard requirement for the SPI_SAM, CI should pass now


[BubFix] fix the npe bug when replaying the tablet consistency check data

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #6684
Problem Summary(Required) ：

Only check the OLAP table who is in NORMAL state. Because some tablets of the not NORMAL table may just a temporary presence in memory, if we check those tablets and log FinishConsistencyCheck to bdb, it will throw NullPointerException when replaying the log.

I strongly suggest adding a unit test case for this PR...

+1

I strongly suggest adding a unit test case for this PR...

I will try

sh starrocks_fe_unittest

I strongly suggest adding a unit test case for this PR...

done

[FE PR Coverage check]
:heart_eyes: pass : 2 / 2 (100.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/consistency/ConsistencyChecker.java
2
2
100.00%


Resolves #268

This PR resolves a minor issue in the README as documented in #268 if merged.
I tested this out on my own jekyll-asciidoc enabled site and encountered no build errors.

superseded by a66ffb57e43f6ec40c7662310d949b287a76d762


Add user impersonation example

Adding a user impersonation example
Test Plan
N/A

Checklist

[ ] Tests updated
[x] Docs updated

Screenshots
Check the demo section in the readme of the repo.

This is very cool! Thanks for building it!


Dev data cache

Completing many functions in data cache for this sprint.
Added auto-build multiselect (doesn't use static html anymore)
Added framework for getting data from a live HTML nodelist
Added passing data into multiselect through HTML data attribute with jquery
Added commenting on the data cache

Associated with Data cache #35  and Multiple multiselectors on one page- Data Cache Interface #32


Allow setting clock divisors on running state machines

The documentation of CLKDIV_RESTART contains the following sentence:
"Note also that CLKDIV_RESTART can be written to whilst the state machine is running, and this is useful to resynchronise clock dividers after the divisors (SMx_CLKDIV) have been changed on-the-fly."
This implies that it's allowed to change the value of CLKDIV on a running state machine.

Setting the clock div on the fly alone does not reset the phase (the counter).
If we are to move allow live change of the clock, I think we should have something in the doc warning that it may have unexpected side effects.

Related comment on the raspberry forum:
https://forums.raspberrypi.com/viewtopic.php?p=1989421&hilit=change+CLKDIV#p1989421


massive d day bug!

Issue Type: Bug
I just wanted to let you guys know of a serious threat to your program VScode. It only makes sense that the people using your application would notice bugs on the very tool they use to fix them!
If you click the settings gear, with the "Latest Updates" still window open and select "Color Theme" it will not display my Color Theme options until that "Latest Updates!" window is silenced...
Love you guys thanks for everything!
VS Code version: Code 1.43.1 (fe22a9645b44368865c0ba92e2fb881ff1afce94, 2020-03-18T07:01:20.184Z)
OS version: Windows_NT x64 10.0.18363

Looks like all webviews are affected. Can be reproduced if Markdown preview is active.
Version: 1.44.0-insider (user setup)
Commit: 708b019bb4e20f07cf89df9f1d943af3d38d7a70
Date: 2020-03-18T06:30:46.175Z

Duplicate of #75209


VIolation of SARIF specification par. 3.27.12.

Summary
github/codeql-action/upload-sarif violates SARIF specification par. 3.27.12.
Details
According to SARIF specification par. 3.27.12, a result object SHOULD contain a property named locations whose value is an array of zero or more location objects. At the same time, starting github/codeql-action/upload-sarif@v3 action on a sarif report that contain result object with empty locations property fails with the error Code Scanning could not process the submitted SARIF file: locationFromSarifResult: expected at least one location.
PoC
Having a report with result object with empty list locations property.
{
  "version": "2.1.0",
  "$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
  "runs": [
    {
      "tool" : {
        "driver": {
          "name": "PVS-Studio",
          "semanticVersion": "<IP_ADDRESS>",
          "informationUri": "https://pvs-studio.com",
          "rules": [
            {
              "id": "V010",
              "name": "RuleV010",
              "help": {
                "text": "https://pvs-studio.com/en/docs/warnings/v010/"
              },
              "helpUri": "https://pvs-studio.com/en/docs/warnings/v010/"
            }
          ],
          "results": [
            {
              "ruleId": "V010",
              "message": {
                "text": "Analysis of 'Utility' type projects is not supported in this tool. Use direct analyzer integration or compiler monitoring instead."
              },
              "level": "error",
              "locations": []
            }
          ]
        }
      }
    }
  ]
}

GitHub code scanning indeed only supports a subset of the SARIF standard. In particular a location is needed for many features that are core to the experience. For example for showing alert annotations directly in pull requests but also for features that are less obvious like the ability to determine whether an alert (result in SARIF terms) found in two different commits is the same or whether they are two different instances of the same rule.
While we do not support doing anything with results that lack a location we could silently ignore them instead of rejecting the whole sarif file with an error message. However, we think that that would probably be more confusing ("Why do I not see the uploaded results?") than the current behavior. A direct error makes it easier for SARIF producers that are working on integrating with code scanning to find out if we can actually do anything with what they give us.
We have some documentation around our SARIF support here: SARIF support for code scanning.
There is also a Microsoft SARIF validator that lets you enable the GitHub ingestion rules and check if we would accept a SARIF file.

As a side note: The example SARIF file you have given looks like it is trying to report an analysis failure in a result. If the tool invocation failed it would be better to report that in an invocation object in runs.invocations by setting executionSuccessful to false.  GitHub will then highlight the problem to the user on the tool status page and show the information from the exitCode and exitCodeDescription properties.

@cannist Hey! Thank you for the answer and the explanation. It seems like silently suppressing the error message may indeed lead to unexpected unpleasantries (as it usually does =) ).
Using an invocation object will not work in all scenarios, unfortunately. This empty locations feature seems to be really handy in our case. Is there any chance this behavior is going to change in future?

I'm sorry, we have no plans for changing this at the moment, as far as I am aware.
This could change if we observe customer demand but I'd be surprised. 🤷
@alonahlobina, as one of our product managers you would know better if there were considerations around supporting alerts without locations from the product side. Can you say something about this?

@cannist Could you advise if you support some other way to display this kind of informational message? invocations is not really an option for a subset of this kind of messages. Empty locations would be really handy for this purpose, but maybe there is some other way that I am missing?

I don't think there is an officially supported way, unfortunately. Currently the exitCodeDescription I mentioned is the only way. But I can see that it would not be an option for certain kinds of messages.
Just putting a made-up location into a result will probably also get it displayed as alert but essentially these kind of messages are not alerts and the experience might be confusing to users.
Conceptually, from the SARIF standard, I think these kind of messages should be put into toolExecutionNotifications (spec). We use a very limited part of that internally but the implementation is not ready to be used in general and I don't think it is on the near roadmap. 🙁


Add authorization rules

Hello 😃 Reviewer. 👋🏾

In this pull request, we did the following things :
Here is a concise list of tasks we have completed :-

[X] We have installed CanCanCan in our project and configured it to use the following roles:
[X] User: Users can create, edit, and delete their own posts and comments.
[X] Admin: Admins can create, edit, and delete any posts or comments.
[X] We have added a role column to the users table using a migration.
[X] We have implemented the post deleting functionality. We have added the "Delete" button to the view and made sure that only users with the "Admin" role can see it.
[X] We have implemented the comment deleting functionality. We have added the "Delete" button to the view and made sure that only users with the "Admin" role can see it.

Thanks @AnselemOdims for the professional review.


UnhandledPromiseRejectionWarning: Unhandled promise rejection.

Describe The Bug:
Seems to be a repeat of #5, I am not sure if this is a user configuration error or a bug. I have created and supplied the authorization details as instructed.
 UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1289)
(node:1637) UnhandledPromiseRejectionWarning: ReferenceError: nil is not defined
    at /homebridge/node_modules/homebridge-ambiclimate-platform/node_modules/node-ambiclimate/ambi-auth.js:135:9

To Reproduce:
Expected behavior:

Logs:
Show the Homebridge logs here, remove any sensitive information.

Plugin Config:
Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

Plugin Version:
Homebridge Version:
Node.js Version:
NPM Version:
Operating System:

Same here:
(node:677) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 145)

Cloud you try latest version and check whether it's fixed?

No change....


Objects

Alright, this is finally ready for another look. I think I addressed all your concerns from before, with one exception which merging GetTag and GetObject into a single request. I decided this might not be a great idea because it makes both lookups slower and makes both require requesting an object which doesn't exist. S3 seems to start responding a lot slower if you send too many requests for objects that don't exist so it seemed like it wasn't worth it.


DEVTOOLS is not defined

It was working earlier .. Any help on the below issue ?
ReferenceError: __DEVTOOLS__ is not defined
   at Object.createStore [as default] (/Users/z013mrq/react-redux-universal-hot-example/src/redux/create.js:10:25)
   at /Users/z013mrq/react-redux-universal-hot-example/src/server.js:64:17
   at Layer.handle [as handle_request] (/Users/z013mrq/react-redux-universal-hot-example/node_modules/express/lib/router/layer.js:95:5)
   at trim_prefix (/Users/z013mrq/react-redux-universal-hot-example/node_modules/express/lib/router/index.js:312:13)
   at /Users/z013mrq/react-redux-universal-hot-example/node_modules/express/lib/router/index.js:280:7
   at Function.process_params (/Users/z013mrq/react-redux-universal-hot-example/node_modules/express/lib/router/index.js:330:12)
   at next (/Users/z013mrq/react-redux-universal-hot-example/node_modules/express/lib/router/index.js:271:10)
   at SendStream.error (/Users/z013mrq/react-redux-universal-hot-example/node_modules/express/node_modules/serve-static/index.js:120:7)
   at SendStream.emit (events.js:107:17)
   at SendStream.error (/Users/z013mrq/react-redux-universal-hot-example/node_modules/express/node_modules/send/index.js:245:17)

That gets set here.

Thanks !! is there any reason you can think of, even after setting variable using new webpack.DefinePlugin, i am getting this error ?

Also i don't want API server up and running in your example. It looks like webpack development server is running on different port and server.js express is running on different port. I believe this is the reason, DEVTOOLS variables are not available for me as i am not creating any proxy .


Keep folder when setting dir_source_main_python

Currently, I am setting my build.py with the following
    project.set_property("dir_source_main_python", "main")
    project.set_property("dir_source_unittest_python", "tests")

However, when the target is generated, the dist does not actually containe the folder "main", is there a way to include this folder in the dist and not just the files under the directory of dir_source_main_python?

Hi, @hysoftwareeng
Looks like something extremely specific. Why do You not use default behavior of pybuilder by pyb --start-project with dir_source_main_python : src/main/python? And build any structures under it.
Thank You.

Thanks for the reply. We have a job that relies on the import structure of the packages to run. So when the distribution is deployed without the top folder, the module imports don't work properly.

Could You please provide more details about Your structures?
Because currently looks like that solution is just to use some additional level under src/main/python directory.
Like:
some_project
  └ src
    └ main
      └ python
        └ root_lvl
          ├ __init__.py
          └ pkg1
            └ __init__.py

@AlexeySanko thanks, was able to solve this issue with the default pybuilder structure with some tweaking in the code.


Use libddwaf builds

Re-use libddwaf builds, ensuring we use the same build as extensively tested upstream, with newer libc++, and shorter CI times.
Contributes to APPSEC-9858 by not depending on the Sqreen S3 bucket for libc++ builds.

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

Project coverage is 58.55%.  Consider uploading reports for the commit 5467d87 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #109   +/-   ##
=========================================
  Coverage     58.55%   58.55%
  Complexity      134      134
=========================================
  Files            34       34
  Lines          3458     3458
  Branches        780      780
=========================================
  Hits           2025     2025
  Misses          900      900
  Partials        533      533

Flag
Coverage Δ

helper
58.55% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


🧥 Make transfer ownership event emit old owner

Fixes https://github.com/paulrberg/prb-proxy/issues/28

The "create2" tests are failing because there are some hard-coded values in the test files that were generated using the previous bytecode. I will merge this as is, and fix the tests later.


Slider text fomatting

Slider text formatting not working

[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 😯
Slider indicator does not show text as expected, instead, it show only the number

Expected Behavior 🤔
In the above case, a °C should appear after the number shown inside the indicator
Steps to Reproduce 🕹
https://material-ui.com/components/slider/#discrete-sliders
https://next.material-ui.com/components/slider/#discrete-sliders
Context 🔦
I'm trying to display a very similar text to the one one in the example, it would be: NUMBER%

It seems that the API getAriaValueText hasn't been implemented in the v5
https://github.com/mui-org/material-ui/blob/5a5348b7ee7726b3a542b496935363ee6df5845f/packages/material-ui-unstyled/src/SliderUnstyled/SliderValueLabelUnstyled.js#L23-L49

@KyLoc20 you are probably looking for the valueLabelFormat property. The getAriaValueText is used for the aria-valuetext property. See https://codesandbox.io/s/discreteslider-material-demo-forked-jks7e?file=/demo.js

Thank you very much! Maybe it'd be nice to make these changes to the official documentation ;D


Update copyright

We should use copyright as follows in this repo:
/*
 * Copyright 2020 IBM Corporation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/kind doc

/assign


Go to definition behavior change request

Currently, using "Go to definition" with the MS Language Server will jump you to your import statement, likely at the top of your file, rather than jumping you into the class. I understand from a separate issue https://github.com/microsoft/python-language-server/issues/850 that this is the intended behavior. Below is a gif of it.

In my view, "Go to definition" means that you go to where the class is defined. Taking me to the top of the file and showing me the import statement doesn't seem nearly as widely used or necessary as jumping directly to where the class is implemented.
Imagine you were in the full version of Visual Studio coding in C#, "Go to definition" would take you to the definition of your class.
If we insist that we need a separate feature to navigate us to the import statement, it seems that we should make a separate button and keyboard shortcut called "Go to declaration", and leave the "Go to definition" function to be the same behavior as Jedi.

The LSP spec has both definition and declaration as of 3.14.0; perhaps we should implement both and have definition recurse until it hits the true assignment.

#494

this should be a bug, not the intended behaviour. Going by the name Go to definition should take to definition, not to the import.
And even if it is intended behaviour (then it should be called something else, IMO), it is not consistent,  like in below situations
constants.py
def a_simple_function():
    pass

run.py
from vscode_test import constants
from vscode_test.constants import a_simple_function
constants.a_simple_function()
a_simple_function()

Goto definition of constants.a_simple_function() takes to constants.py directly where as a_simple_function takes to import and then to definition
@jakebailey @MikhailArkhipov

Sure. 'Bug' is when something intended to work certain way, but it doesn't. If something is implemented certain way intentionally, with the appropriate test, and it works as designed, it is not technically a bug. Sure, it could be a wrong choice though :-)

@MikhailArkhipov  I don't know about language server implementation, but you also may to look at below issues together as it appears to me to originate from same design (if I am wrong, excuse me for making false noise)

#1174, here not all references are identified (directly imported symbols are only considered for reference, it is not considered as referenced if used as <module>.<symbol>. Sounds like same inconsistency I spoke about in my earlier comment)
import statements are listed as part of reference, though you can argue about this, jedi and other language server implementations (for other languages like java etc.,) doesn't list imports as reference. IMO, imports are not references.


Support guests to see continuous/live test results in the editor (NCrunch, Wallaby.js)

Product and Version: VS
OS Version: Windows
Live Share Extension Version: <IP_ADDRESS>639
Target Platform or Language: C#/NCrunch
In order to support mob programming with TDD it would be useful to display the ncrunch test coverage results (green/red/white dots) alongside the code being viewed by the guests. Currently there is no feedback around passing or failing tests for the guests.

@lockoncode Thanks for this suggestion! This definitely makes a lot of sense for pair/mob programming, and is a scenario we’d like to eventually support. There are other continuous/live testing extensions (e.g. Wallaby.js) that would have similar problems, so we can use this issue to track the general use case.
Out of curiosity: would the guests in your scenario also have NCrunch installed? Or would only the host have NCrunch?

This could also be a use case for providing an API / SDK re: #88
Although, that would require NCrunch people to use / deal with the API themselves...
Without having any knowledge about Visual Studio Extension development... I presume (probably not? 😃) that to allow this, Live Share would have some sort of hooks into the VS Extension SDK to allow replicating the state (SDK state) of the host, to replicate it to the guest(s) (hopefully that makes sense).
So basically, make sure that both host and guests have NCrunch / Wallaby.js ... I think trying to make it so only the host has the live testing extension could lead to all sorts of issues (re: Licensing of the extensions to say the least) 😃

@worzeel That is exactly right! #88 is meant to track the scenario of Live Share enabling arbitrary extensions to synchronize their own custom state. Continuous testing experiences would benefit from that capability, and is a scenario that I’d love to explore at some point.

Closing this issue, since it requires integration from other extensions, and therefore, isn't actionable by Live Share directly.


Comparision vs NextJs Commerce

Can't believe how much simpler this code is vs your NextJs Commerce! Great job. Might have to learn Svelte now to use this. NextJs Commerce is way too complex.

Next.js Commerce also has support for a lot of other features and commerce providers – part of the reason we made this one a bit more streamlined. Just depends on what you want 😄


neurosift cannot open ImageSegmentation object.

On this nwb file; https://gui-staging.dandiarchive.org/dandiset/214612/draft/files?location=sub-amarone&page=1
neurosift opens all the other objects in the file, but cannot display  /processing/ophys/ImageSegmentation
With HD5View, I compared the file with another nwb file; sub-491604967_ses-496908818-StimB_behavior+image+ophys
Both use a pixel_mask with a pixel_index. The data structure looks identical, however, the second file does show an image of a mask in neurosift.

Thanks for reporting that bug. It should be working now.

Well, I do see an image now, however, there should be 48 rois, but I only see one.

If I import the pixel_image with matnwb, it looks like this;

It seems that the dimensions are not the same.

@magland Thanks for your help. I've been able to solve this issue. Someone pointed me to the fact that the pixel_mask_index should be cumulative sums of a series of pixels_per_roi. It works now.


Detailed Terrain Disappears from Foreground

When zooming in, shadows or detailed terrain (not sure which one it is) disappears from foreground when showing Bing roads, OSM, or a layer that is not imagery.
These screen shots are from the Terrain Sandcastle example.
https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=Terrain.html&label=All
Image showing the detailed terrain.

Zoom in a very little bit, notice the detail disappears.

Some more examples

Hello @bbehling-trimble, I believe what you are seeing are changes in the level of detail of imagery tiles loaded in.  If you look at the Bing Maps Roads imagery using the EllipsoidTerrainProvider it has some mountainy looking shading:

I could not reproduce this with the Natrual Earth imagery which does not have the same shading effect in the imagery in that area.

@hpinkos I don't believe this should be closed.
I used the bing road view and osm map tiles with various terrain providers and can reproduce the issue.
What should be happening is the detail should disappear from the tiles in the background, not the foreground. Current behavior seems backwards.

@bbehling-trimble To further elaborate on what @hpinkos was saying, the problem is that Bing Roads has built-in shading for lower levels of detail, but does not have any shading at the higher levels.  When there is no shading, you have to have lighting enabled in order to see any definition.
Lighting disabled, terrain disabled, around Everest, slightly zoomed out:

Lighting disabled, terrain disabled, around Everest, zoomed in further:

So the above images are simply what the imagery looks like at different levels.
The problem you are seeing in a horizon view is that areas closer to the camera have higher level of detail tiles loaded (as they should), however for Bing Roads this means we end up with unshaded imagery.  This is a Bing data problem but the best way to mitigate it in Cesium is to enable lighting.
Unshaded high LOD tiles, with and without lighting.

I hope this helps understand the issue.

@mramato Thanks for reply, but really doesn't explain why an area in the foreground has the shading, while another area in the background, or even next to it at the same zoom level, does not have shading.
Like this screen shot. These areas are right next to other.

@bbehling-trimble Your arrows are pointing to two different tiles.  The "Shading" one is a zoom level 12 tile, while the "No Shading" one is a zoom level 13 tile (the level at which Bing stops shading).  Because Cesium is a 3D engine, zoom level is not constant across a view and areas further away from the camera use lower zoom levels.
I tried to recreate your view and added TileCoordinatesImageryProvider to the scene. Notice the shading/no shading happens at the boundary between higher zoom tiles and lower zoom tiles (The yellow line running down the mountain)

I'm not sure what you mean by tighter calculation, it's based on the amount of geometric error so we fetch the ideal tiles for a given view.  The crux of the problem here is that Bing Roads provides radically different tiles between levels 12 and 13.  If their data was consistent, you wouldn't notice the difference in shading.  I would suggest either turning on lighting in Cesium to mitigate the issue or switching to a different imagery provider.
Another option you can play with is the scene.globe.maximumScreenSpaceError setting, which will control the resolution of tiles being loaded.  The default is 2, lowering the value will cause more high resolution tiles to be requested, increasing the value will cause it to show lower resolution tiles for longer.  I'm not sure tweaking this value will have the affect you want though.
A final solution would be to tell Cesium to ignore all tiles greater than level 12, which would mean you permanently stay on the lower resolution tiles even when higher res data is available, but it will provide you consistent shading.  You can do that by passing the maximumTerrainLevel option with a value of 12 when constructing the layer.

@mramato I guess this discussion isn't so much a discussion about map services anymore, but about calculating zoom levels for tiles that appear to be directly next to other.
I compared behaviors between OSM and Map Box. OSM does not have shading. Mapbox has shading, but this issue doesn't happen.
So now, looking at the screen grab above, I think it's quite clear that there are tiles that appear to be neighboring tiles in the same zoom level. There even appears to be a line split right down the middle. So what I'm asking is, whatever algorithm calculates the zoom level, can't it be 'tightened' up so what we see above wouldn't occur?
Maybe I'm just having a difficult time to trying to explain the issue and a possible solution.

@bbehling-trimble I think cases like this are just inevitable since distance from tile is used as part of the metric from converting geometric error to screen space error. The unshaded area seems to be close enough that it is a different zoom level than its neighbors. These are the relevant areas in the code:
Screen space error calculation: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/QuadtreePrimitive.js#L694-L712
Distance computation: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/TileBoundingRegion.js#L249-L316
I'm not totally sure what would need to change to improve the results. Maybe a planar distance instead of a point-to-point distance, if I'm reading TileBoundingRegion correctly. But I sense that there will always be some sort of seam between the shaded and unshaded sections.
I checked out Mapbox and it seems like it has shaded tiles in all its zoom levels, so the problem isn't noticeable.


File does not exist on dbeaver startup, opens a jar file every time

Description
User install + graalvm jdk
Ever since updating to 24.2.5 and I start dbeaver I get this popup

And then after I press ok, it opens a file in the editor org.jkiss.dbeaver.launcher_<IP_ADDRESS>411171748.jar

DBeaver Version
Community Edition 24.2.5
Operating System
Windows 11 Enterprise
Database and driver
Oracle
Steps to reproduce

Open DBeaver
Error happens

Additional context
Only after updating to 24.2.5

Probably something about dbeaver.ini
When I download the newest "portable" version from git

When I look into the .ini I have from the user installation, for some reason there are spaces in front of -startup

The file does exist
And dbeaver generally works

Ok actually nevermind
I thought I removed the spaces in front of startup, but somehow it didnt save
When done properly the error disappeared
So I guess its all just because I opened the dbeaver.ini after install and win 11 notepad kept pressing Space as it sometimes does for me.
Nevermind, closing


[identity] Add WorkloadIdentityCredential

Packages impacted by this PR

[@azure/identity]

Issues associated with this PR
Describe the problem that is addressed by this PR
Adds WorkflowIdentityCredential to support Azure workload identity on Kubernetes.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.

Fixes https://github.com/Azure/azure-sdk-for-js/issues/23326


doc(autocomplete-filter): Update example to use Array.prototype.Inclu…

…es()
Was researching the Auto-complete feature to add it to a project and this little enhancement is more straightforward when dealing with more complex strings.
Current example can't filter strings with spaces. By using includes() it can filter full sentences or more complex string values.

I signed it! Or at least I fixed the issue of being on the wrong Google account


Query: Nav Expansion should generate flattened LeftJoin

Rather than GroupJoin-DefaultIfEmpty-SelectMany
Currently we run flattening visitor twice.

fixed in b28f9eeb06044fef37c656c61e9499ec7e21e7da


IBM Db2 ingestion

Affected module
Ingestion Framework
Describe the bug
When the DB2 Profiler Ingestion runs this error shows in the logs :
String data right truncation. SQLSTATE=22001 SQLCODE=-99999
I believe the columnNames parameter is too long, if I run the query in a Database Client, it will run fine with fewer characters in the parameter
To Reproduce
Create a IBM DB2 Connection, run the profiler ingestion.
Expected behavior
sqlalchemy.exc.DataError: (ibm_db_dbi.DataError) ibm_db_dbi::DataError: Statement Execute Failed: [IBM][CLI Driver] CLI0109E  String data right truncation. SQLSTATE=22001 SQLCODE=-99999
[SQL: /* {"app": "OpenMetadata", "version": "<IP_ADDRESS>"} /
SELECT count() AS "rowCount", CAST(? AS BIGINT) AS "columnCount", CAST(? AS VARCHAR) AS "columnNames"
FROM example_Schema.example_table FETCH FIRST 1 ROWS ONLY]
Version:

OS: Kubernetes
Python version:3.9
OpenMetadata version: 1.2.3
OpenMetadata Ingestion package version: 1.2.3

Additional context
Add any other context about the problem here.

Hello @elguero6 will take a look on the issue, you can track the progress here itself.
You can check the project part to see which release it will be a part of

@elguero6 how many columns does your table have? The columnNames parameter will be replaced by a string of all your column (comma separated). We might need to specify a greater VARCHAR  length.

Yea can be numerous, 20-50 column table


build script fails at the first build failure

This can never fully build all fonts...

I think this is irrelevant now we have split the source repos.


WARNING in ./~/xterm/dist/xterm.js Critical dependencies: 1:481-488 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.  @ ./~/xterm/dist/xterm.js 1:481-488

Receiving warning after upgrade to latest xterm version.
I used NPM to install xterm and webpack to build the client app.

This is expected since we compile and commit the assets to dist/. We do this so we can distribute with bower and also with npm without needing to install babel. It's probably best to just ignore the warning as then you may not be able to upgrade if we change our build system (like we're doing in v2.2.0).

@veeramarni as @Tyriar said the best thing you can do is ignore this warning.
Another alternative would be requiring xterm.js as a relative dependency in your webpack bundle and use the node_modules/xterm/src/xterm.js path.
I don't think that this will work out of the box though, since we migrated to building with TypeScript.
Closing this as there are not much that we can do to suppress this warning from our side.

In our projects, we have a src/ folder that has ES6 TypeScript.  We output to a lib/ directory that is ES5, and our main in package.json points to the index in that directory.  We ship the lib/ directory on npm, but keep only src/ in version control.  We also ship a separate dist/ directory that could be used for bower.   The package.json should point to node code, and bower.json to the dist code.
cf https://github.com/jupyterlab/services

In this way, consumers require xterm in a way that works best for their use case, without needing extra config or importing from node_modules.

@blink1073 dist/ will contain un-minified ES5, from 2.2.0 we now build with TypeScript which you obviously can't use in your build process. Unless I'm misunderstanding, I believe pointing main at dist/xterm.js is ideal for your use case.

Great, all I was looking for was for main in package.json to point to ES5 commonjs code, and pointing out how we do it ourselves.

As a workaround, I'm using noParse to prevent the warnings.
"noParse": ["node_modules/localforage/dist/localforage.js", "node_modules/xterm/dist/xterm.js"]

This should not be the case starting with 2.3.0, due to #398.


Lost all commands except get-forecast and get-accuracy-metrics

Hi,
I just download forecast-2019-05-15.normal.json and forecastquery-2019-05-15.normal.json and configured the models with
aws configure add-model --service-name forecast --service-model file://forecast-2019-05-15.normal.json
aws configure add-model --service-name forecast --service-model file://forecastquery-2019-05-15.normal.json

Since doing this, the only commands available are get-forecast and get-accuracy-metrics. If I try to run any of the previously available commands (e.g aws forecast list-recipes) I get the following error:
aws: error: argument operation: Invalid choice, valid choices are:

get-accuracy-metrics                     | get-forecast
help

Is this an intended change to the API? And if so, is there updated documentation on using get-forecast?

Must have made a mistake when configuring the files. Reinstalled and it is now working.


GetSmartContractState takes long time and can't return data because of max db row limitation.

The GetSmartContractState api call on the testnet staking contract takes very long time to respond. And also it can't process data because of database size limitation.
chetan_zilliqa_com@zq2-converter:~$ curl --request POST \
  --url http://localhost:4201/ \
  --header 'Content-Type: application/json' \
  --data '{
    "id": "1",
    "jsonrpc": "2.0",
    "method": "GetSmartContractState",
    "params": ["zil15tjx2l0gzzxaxucwk50stgw5smthhckl8qcqmf"]
}'|jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   262  100   122  100   140      2      2  0:01:10  0:00:48  0:00:22    33
{
  "jsonrpc": "2.0",
  "id": "1",
  "error": {
    "code": -32008,
    "message": "Response is too big",
    "data": "Exceeded max limit of 10485760"
  }
}

The maximum response size is limited by jsonrpsee to 10MiB. I'd like to argue that's more than reasonable but maybe we need to support this API for ZQ1 compatibility?

yeah because explorer fetches contract states for the display on their end. And I think many scilla apps use this API to know the contract state.


LE Audio: controller: Failed to send to sink ASE

In some of BAP/UCL/STR PTS test cases the IUT has to configure 1 SINK ASE to streaming state and send packets with random data. While testing Zephyr Host + Zephyr Controller setup some issue appear and only a first packet is received by controller of the PTS dongle. More over the packet has a random sequence number. Bluetooth Protocol Viewer logs:
zephyr_BAP_UCL_STR_BV_033_C.cfa.txt
I repeated tests for Zephyr Host + Packetcraft Controller setup and this works fine:
packetcraft_BAP_UCL_STR_BV_033_C.cfa.txt
Zephyr Host + Zephyr Controller setup:
In samples/bluetooth/hci_rpmsg, create bttester_hci_rpmsg_overlay.conf file with:
echo CONFIG_BT_CTLR_CONN_ISO_LOW_LATENCY_POLICY=y > bttester_hci_rpmsg_overlay.conf
(related issue #57088)
Build the controller with:
west build -b nrf5340dk_nrf5340_cpunet -- -DOVERLAY_CONFIG='nrf5340_cpunet_iso-bt_ll_sw_split.conf;bttester_hci_rpmsg_overlay.conf'
Flash the controller with:
west flash --recover
In zephyr/test/bluetooth/tester build the tester app:
west build -b nrf5340dk_nrf5340_cpuapp . -- -DOVERLAY_CONFIG='overlay-le-audio.conf
Flash the app with:
west flash
Zephyr Host + Packetcraft Controller setup:
Download the controller binary:
https://github.com/nrfconnect/sdk-nrf/blob/v2.3.0/applications/nrf5340_audio/bin/ble5-ctr-rpmsg_3330.hex
and flash with:
nrfjprog --program *.hex --chiperase --coprocessor CP_NETWORK -r
Download this overlay:
packetcraft-overlay-le-audio.txt
and in zephyr/test/bluetooth/tester build the tester app:
west build -b nrf5340dk_nrf5340_cpuapp . -- -DOVERLAY_CONFIG='packetcraft-overlay-le-audio.txt
Flash the app with:
west flash

@carlescufi can you assign please?

Maybe this could help a little #58432

Maybe this could help a little #58432

@mkasenberg Thank you debugging the issue using the samples.
I have added a new Kconfig to relax ISOAL in Zephyr Controller from being strict in dropping stale Tx ISO SDUs in this PR: https://github.com/zephyrproject-rtos/zephyr/pull/58717
Please add CONFIG_BT_CTLR_ISOAL_SN_STRICT=n, i.e.
echo CONFIG_BT_CTLR_ISOAL_SN_STRICT=n >> bttester_hci_rpmsg_overlay.conf
Do let me know if mitigates dropped SDUs...
Thank you in advance for testing

Works great! Thanks

Thank you.

Works great! Thanks

means, as in #58717 and the Kconfig option set to false fixes this github issue, right?

Yes, I just checkout to your PR #58717, have:
CONFIG_BT_CTLR_CONN_ISO_LOW_LATENCY_POLICY=y
CONFIG_BT_CTLR_ISOAL_SN_STRICT=n

in my bttester_hci_rpmsg_overlay.conf and the BAP/UCL/STR/BV-033-C test case passes without issues.

Reopening the issue, as using CONFIG_BT_CTLR_ISOAL_SN_STRICT=n is just masking the fact that the zephyr/test/bluetooth/tester is providing stale Packet Sequence Number for the Tx ISO Data.
@mkasenberg Please see this change in the sample in https://github.com/zephyrproject-rtos/zephyr/pull/58717 for better understanding, hope you can correct the tester so that the Controller is not provided with stale Sequence Number?

I see. In that case, it would be good to have in bap api a function that will return struct bt_iso_tx_info *, like this function (from iso.h) does:
int bt_iso_chan_get_tx_sync(const struct bt_iso_chan *chan, struct bt_iso_tx_info *info);
so you can be sure you have the correct sequence number in case the host clock gets out of sync with the controller clock.

Oh, I found out that I can use struct bt_iso_chan *bt_bap_stream_iso_chan_get(struct bt_bap_stream *stream) to get the bt_iso_chan*, so will try with that.

Good.
But, from BT Spec. v5.4, Vol. 4, Part E, section 7.8.96 LE Read ISO TX Sync command
This command is used to read the TX_Time_Stamp and Time_Offset of a
transmitted SDU identified by the Packet_Sequence_Number on a CIS or BIS
identified by the Connection_Handle parameter on the Central or Peripheral.

You will only get seq_num used in the last call to bt_bap_stream_send(), you still need to keep time since bt_bap_stream_send() call to determined elapsed SDU_intervals until the next bt_bap_stream_send() call, and add that to the seq_num.

@Thalley and @niag-Oticon   I am confused by the below in Spec.
BT Spec. v5.4, Vol. 4, Part G, Section 3.3 TIME STAMP FOR SDU
When an HCI ISO Data packet sent by the Host does not contain a Time_-
Stamp or the Time_Stamp value is not based on the Controller's clock, the
Controller should determine the CIS or BIS event to be used to transmit the
SDU contained in that packet based on the time of arrival of that packet.

Does this mean, the controller should not drop the SDU or it should drop the SDU based on Packet_Sequence_Number? i.e. we today do not adjust the payload_number because  isoal_tx_unframed_get_next_payload_number()  does not check ts_flag  in the HCI ISO Data Packet.

@Thalley and @niag-Oticon I am confused by the below in Spec.
BT Spec. v5.4, Vol. 4, Part G, Section 3.3 TIME STAMP FOR SDU
When an HCI ISO Data packet sent by the Host does not contain a Time_-
Stamp or the Time_Stamp value is not based on the Controller's clock, the
Controller should determine the CIS or BIS event to be used to transmit the
SDU contained in that packet based on the time of arrival of that packet.

Does this mean, the controller should not drop the SDU or it should drop the SDU based on Packet_Sequence_Number? i.e. we today do not adjust the payload_number because isoal_tx_unframed_get_next_payload_number() does not check ts_flag in the HCI ISO Data Packet.

I am not sure I follow: Why does the presence or absence of the timestamp affect how the packet sequence number is handled?

I would say that in implementing the ISO-AL I interpreted that as the controller has permission to decide which event to use to transmit the SDU based on the time of arrival, not that it must move the SDU to payloads that guarantees transmission.
But just so that we are clear, the ISO-AL does not drop anything. What it does is fragment an SDU into payload PDUs maintaining the stream alignment based on the PSN. If an SDU is delayed (especially with FT=1) then the payloads that the SDU is placed in might have expired or might be too close to expiry such that they are flushed. I would say that is the very nature of an ISO channel where if data is late beyond the configured leniency, it expires.

@Thalley and @niag-Oticon I am confused by the below in Spec.
BT Spec. v5.4, Vol. 4, Part G, Section 3.3 TIME STAMP FOR SDU
When an HCI ISO Data packet sent by the Host does not contain a Time_-
Stamp or the Time_Stamp value is not based on the Controller's clock, the
Controller should determine the CIS or BIS event to be used to transmit the
SDU contained in that packet based on the time of arrival of that packet.

Does this mean, the controller should not drop the SDU or it should drop the SDU based on Packet_Sequence_Number? i.e. we today do not adjust the payload_number because isoal_tx_unframed_get_next_payload_number() does not check ts_flag in the HCI ISO Data Packet.

I am not sure I follow: Why does the presence or absence of the timestamp affect how the packet sequence number is handled?

Because the spec tells "the Controller should determine the CIS or BIS event to be used to transmit the SDU contained in that packet based on the time of arrival of that packet".
Say, the time of arrival of the packet  to the Controller is before the BIG/CIG Event, then this packet is transmitted on-air. But a second packet to the Controller is just after the 2nd BIG/CIG event, and a third packet is just before the 3rd BIG event. The expected behavior on the receiving device would be to get the first packet, second is lost and third packet is received at their respective SDU intervals (and correct Packet_Sequence_Number s) .
If we were to have the second packet transmitted in the 3rd BIG/CIS event, then the receiving side will have audio playback skewed; imagine this is a phone call and we do not want delayed conversations (increasing latency due to skewing incrementally).
Another case, when using Packet_Sequence_Number, if the host is drifting, then the payload_count used to determine the PDU transmitted in the Controller would always be ahead of any received Packet_Sequence_Number; Controller will drop every ISO Data packet, considering it as stale. In such cases, it is responsibility of Host to use HCI_LE_Read_ISO_TX_Sync and synchronize the next Packet_Sequence_Number when sending new ISO Data packet.

I would say that is the very nature of an ISO channel where if data is late beyond the configured leniency, it expires.

I agree with this, and the current upstream implementation matches this.

I just observed that if the bt_bap_stream_send is called subsequently with sequence number equaled to 0, the controller will select the proper value of sequence number on its own. Hence sending works without CONFIG_BT_CTLR_ISOAL_SN_STRICT=n. Would be ok to use it in the tester for PTS tests with streaming for now?

I just observed that if the bt_bap_stream_send is called subsequently with sequence number equaled to 0, the controller will select the proper value of sequence number on its own. Hence sending works without CONFIG_BT_CTLR_ISOAL_SN_STRICT=n and additional timer for sequence number increasing, would be ok to use it like that in the tester for PTS tests with streaming for now?
If this is a valid behavior, maybe the description of seq_num parameter should be updated:
 * @param seq_num  Packet Sequence number. This value shall be incremented for each call to this
 *                 function and at least once per SDU interval for a specific channel.

Yes, I think we need to update that documentation. The Core Spec mandates that the PSN shall be updated per SDU interval, but that's all it says. Anything outside of that requirement is as of BT 5.4 implementation specific

I just observed that if the bt_bap_stream_send is called subsequently with sequence number equaled to 0, the controller will select the proper value of sequence number on its own. Hence sending works without CONFIG_BT_CTLR_ISOAL_SN_STRICT=n and additional timer for sequence number increasing, would be ok to use it like that in the tester for PTS tests with streaming for now?
If this is a valid behavior, maybe the description of seq_num parameter should be updated:
 * @param seq_num  Packet Sequence number. This value shall be incremented for each call to this
 *                 function and at least once per SDU interval for a specific channel.

That's an exploit that we left for Vendor Specific path where we didn't want to manage the sequence number according to the SDU interval and the hardware of the source generating the SDUs would guarantee SDUs being an interval apart and aligned to drifts in the transmission reference points.
If the packet sequence number does not change then the timestamps either provided by the source or included by the controller is used (based on the controller's clock) instead of the packet sequence number to decide the position of the SDU in the stream. It can certainly be used by an application, but it should not be considered specification compliant or used for qualification.
It is not exactly the equivalent of CONFIG_BT_CTLR_ISOAL_SN_STRICT=n since it will choose the nearest SDU synchronisation reference based on time elapsed between SDUs received, where as CONFIG_BT_CTLR_ISOAL_SN_STRICT=n is very likely to shift the SDU to payloads that will transmit. If the source generating the SDUs drifts, then there is still a possibility of fragmenting into payloads that are expired or close to expiry.

Lowering the priority of this gh issue, as there are multiple ways to unblock testing.

Make tester have seq num incremented per each SDU interval
Use CONFIG_BT_CTLR_ISOAL_SN_STRICT=n in the Zephyr Controller
Or use sequence number equaled to 0 for each ISO Data

Resolved by making the tester to increment the sequence number for each SDU interval as suggested.


[feature] Hoping that reduce and compensate methods in Saga can support RxJava Observable/CompleteableFuture/Kotlin suspend functions

Why you need it?
In Vertx or Spring Reacvice Database, reactive framework like RxJava or Reactor are wildly used. So hoping that Saga can support Reactive Programming
The expected result
When define a saga action, I can use the following syntex:
public interface InventoryAction {

    // RxJava
    Single<Boolean> reduce(String businessKey, int count);

    // Java CompleteableFuture
    CompleteableFuture<Boolean> compensateReduce(String businessKey);
}

or
interface InventoryAction {
  // Kotlin coroutine, which can be mapped into RxJava or Java CompleteableFuture so it is not the primary goal
  suspend fun reduce(val foo: String, val bar: Int): Boolean
}

Saga ServiceTask is invoke a spring bean method, you can proxy RxJava Observable/CompleteableFuture/Kotlin suspend functions as a bean method, and Saga StateMachine is running in event driven architecture,  just like the mechanism of RxJava.


Handle status 200 with configuration 2xx

Fix #325

Currently we store default actions for status handlers in dict. Dictionary is fine option for users, they can change default actions easily, because dictionary is readable and changing its values is straightforward, but this part should not be changed by user but by developers....
Next thing to be considered that actions will not be changed often...
So it is not necessary to store in dictionary and we can bind defaults to code directly instead...


Release 2024.1

This is based on #39 but a new PR since I can't push to the bot

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

#51, maybe? I don't know


[Feature] Add linting of CSS code

Relevant template
refarch-frontend, refarch-webcomponent
Problem description (optional)
Currently we only have ESLint for JavaScript code and Prettier for formatting in place. Since custom Vue SFCs can also include custom CSS code we should make sure this code gets linted as well.
Desired solution
There are different CSS linters available. A proper solution has to be selected and integrated into the templates.
Then the linting script should be extended to also run the CSS lint check.
Considered alternatives (optional)
No response
Additional context (optional)
No response
No duplicate

[X] I confirm that this issue is not a duplicate

Code of Conduct

[X] I agree to follow this project's Code of Conduct

It looks like the most suitable (and active) solution to lint CSS code is https://stylelint.io


Dialog Plugin pick_folder not implemented

Hello, I've been trying to open a folder selection dialog via the dialog plugin on Android.
The Folder selection works no problem on Desktop, but the compiler is unable to find the "pick_folder" method once i try to compile to android. "pick_file" on the other hand seems to work just fine.
Is there a reason "pick_folder" is not implemented for android?
tauri ="2.0.0-beta"
tauri-plugin-dialog = "2.0.0-beta"

I also encountered this problem, have you solved it?

+1 really would like this feature as well
I'm also curious as to why it was the only one not added yet

+1

Is anyone working on this?

I don't think so(


Module import not found

Describe the bug
I tried use your vim schema, and i have:
Error executing  function ColorMyPencils:
line   10:
E5108: Error executing lua [string "luaeval()"]:1: Vim(colorscheme):E185: Color schema 'gruvbox' not found
Error executing /home/baralho/.config/nvim/plugin/harpoon.vim:
line    1:
E5108: Error executing lua /home/baralho/.config/nvim/lua/theprimeagen/telescope.lua:1: module 'teles
cope.actions' not found:
no field package.preload['telescope.actions']
no file './telescope/actions.lua'
no file '/usr/share/luajit-2.1.0-beta3/telescope/actions.lua'
no file '/usr/local/share/lua/5.1/telescope/actions.lua'
no file '/usr/local/share/lua/5.1/telescope/actions/init.lua'
no file '/usr/share/lua/5.1/telescope/actions.lua'
no file '/usr/share/lua/5.1/telescope/actions/init.lua'
no file './telescope/actions.so'
no file '/usr/local/lib/lua/5.1/telescope/actions.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.1/telescope/actions.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './telescope.so'
no file '/usr/local/lib/lua/5.1/telescope.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.1/telescope.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
Error executing /home/baralho/.config/nvim/plugin/lsp.vim
line   27:
E5108: Error executing lua [string ":lua"]:1: module 'completion' not found:
no field package.preload['completion']
no file './completion.lua'
no file '/usr/share/luajit-2.1.0-beta3/completion.lua'
no file '/usr/local/share/lua/5.1/completion.lua'
no file '/usr/local/share/lua/5.1/completion/init.lua'
no file '/usr/share/lua/5.1/completion.lua'
no file '/usr/share/lua/5.1/completion/init.lua'
no file './completion.so'
no file '/usr/local/lib/lua/5.1/completion.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.1/completion.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
Error executing /home/baralho/.config/nvim/plugin/telescope.vim:
line    1:
E5108: Error executing lua [string ":lua"]:1: loop or previous error loading module 'theprimeagen'
To Reproduce
Steps to reproduce the behavior:

Cone the entiry project
Execute the install -> some file are corrupt, to solve this i copy the files from project
run nvim test.ts
See error

Expected behavior
Execute correct.
Screenshots
The screenshot is part in Portuguese:

Desktop (please complete the following information):

Ubuntu 18.04

facing the same issue

running the install script inside ~/.config/nvim fixed the issue

I don't know how to make it work too.


Can i get all added child position after swap and drag ?

Hi @justasm
it's a great work you have done, Thanks You.
I have added 4 ImageView in DragLinearLayout then after add setViewDraggable and also set setOnViewSwapListener in my App
My question is when i drag and swipe child view can i get Last Changed position  with tag?
Thanks.

Hello, I'm not sure I'm correct person to ask about this ;) I don't actively develop any longer in Android.

Hi @gelldur
Will u pls tell me to which person to tag for this issue
Thanks.

Hey, check out the included sample
https://github.com/justasm/DragLinearLayout/blob/2d4bcfab79ef17aa72a5c77cebf5456e8b521b87/sample/src/main/java/com/jmedeisis/example/draglinearlayout/NoteActivity.java#L48
You can keep track of the index / position / other data by setting a tag yourself in the OnViewSwapListener callback.


[Question]: How to download and use graphql/schema download

General info

[X] I checked the troubleshooting page for similar problems

What is your question?
Hey Hello. I have intergrated apollo graphql to my supabase project using  `val supabase = createSupabaseClient(
supabaseUrl = "https://id.supabase.co",
supabaseKey = "apikey"
) {
//...
install(GraphQL) {
    apolloConfiguration {
        // settings
    }
}

}`
I want to be able to use the schema from supabase so that I can be able to create queries from it. However I am unable to download the schema. I keep getting this error whenever I try to download

Cause: e: (unknown location): Invalid introspection schema '{"data": null, "errors": [{"message": "unexpected ': expected input should look like '{ "__schema": { "types": ...'

java.lang.Exception: Introspection response from https://myendpointurl.supabase.co/graphql/v1 can not be parsed

Iam very new to graphql and I don't know what to do from here and I have tried to look to see if I can find any online solution to no avail. Am I using the graphql in the wrong way? Do I need to perform any configuration or tweek any settings in the supabase dashboard? Must I  download the  schema to perform graphql queries? Iam so confused. Please any help will be greatly appreciated. Also, when I tried to run the endpoint in graphql sandbox, I got the response very well, meaning the endpoint is working correctly.
Here is also how I have configured the graphql in the build.gradle.kts file
`apollo {
service("service") {
packageName.set("src/main/graphql")
introspection {
endpointUrl.set("https://myendpointurl.supabase.co/graphql/v1")
headers.put("apikey", "myApiKey")
schemaFile.set(file("src/main/graphql/com/ngumi/app/schema.graphqls"))
}
}

}`
Relevant log output (optional)
Cause: e: (unknown location): Invalid introspection schema '{"data": null, "errors": [{"message": "unexpected ': expected input should look like '{ "__schema": { "types": ...'

Execution failed for task ':app:downloadServiceApolloSchemaFromIntrospection'.
> java.lang.Exception: Introspection response from https://myendpointUrl.supabase.co/graphql/v1 can not be parsed

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 1s
1 actionable task: 1 executed
Configuration cache entry reused.

Invalid introspection schema '{"data": null, "errors": [{"message": "unexpected '

Indicates a error response. Can you read the full response?

Invalid introspection schema '{"data": null, "errors": [{"message": "unexpected '

Indicates a error response. Can you read the full response?

Thanks for your help.
I managed to get the full response from the server using Invoke-WebRequest in PowerShell.
Here is the response:
{
    "errors": [
        {
            "message": "query parse error: Parse error at 1:787\nUnexpected `}[Punctuator]`\nExpected `end of input`\n"
        }
    ]
}

It seems like the server is throwing a parse error. It is telling me that there is an unexpected } character, at the end of the introspection query we are trying to use, can you please help me with it?

Thanks again for your support, I appreciate it.

Thank you.

Yea, I haven't seen this error, but I'm also not using GraphQL. This library only provides a pre-configured Apollo GraphQL Client, all other questions about usage problems are probably better asked in the Apollo GraphQL issues/discussions. Let me know if you fixed your issue!

Thank you. I have opened an issue there. Will let you know if I get a fix

@jan-tennert
They have confirmed the issue and have opened up a ticket in supabase about it. The workaround has helped me in the meantime.  Thank  you once again.

Thanks for reporting this.

This looks like an issue in Supabase. I've opened https://github.com/supabase/supabase/issues/31158.
In the meantime, you can:
execute the introspection query in Apollo Sandbox or Postman
copy the JSON result
paste it in your project in src/main/graphql/schema.json
convert it to SDL with ./gradlew convertApolloSchema --from src/main/graphql/schema.json --to src/main/graphql/schema.graphqls
delete schema.json


Not the right eyes.

I was trying to use Fresh Moves with my skin but I noticed the 2x3 eyes I had were different from what was on the wiki.
So, is there a way to allow support for 2x3 eyes like this?

not yet

aw man