Create Table Template

Move table to template file. Given it is the same logic used, no need for duplicate, and we can keep themes consistent and semantic.

Reference: https://stackoverflow.com/questions/9840870/how-to-implement-erb-partials-in-a-non-rails-app

Looks good to me. I wouldn't mind experimenting with the tilt gem either at some point

Ya, it seems to follow a "rails like" pattern.


Is there a context menu function?

Hello, thanks for open this great project!! but It's sad that there's no undo function. Or maybe I couldn't find it.
If you right-click block on Blockly, you'll find a context menu. And you can use several functions. Like "Duplicate", "Add Comment" etc. UBlockly doesn't have this function?  (I saw the explanation "context menu" in "en.json")

Yes, the feature is not provided. Please notice that this project is not 100% from Google Blockly.

I see. Thank you for your response!


RHOAIENG-9803-Create a sample Git fetch pipeline in manifests

Description

A pipeline that does the same as the MLops pipeline but now with just the git fetch task as the fetch method. This change also removes the aiedge-e2e-pipeline from the kustomization file. So the files remains but the pipeline is not gonna get created.
How Has This Been Tested?

Tested the changes using the below commands
oc apply -k manifests/
oc create -f pipelines/tekton/aiedge-e2e/git-fetch-tensorflow-housing.pipelinerun.yaml

Merge criteria:

[x] The commits are squashed in a cohesive manner and have meaningful messages.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work

/retest

Prow will fail because the pipelines-test-openvino-tensorflow-housing.sh needs to be updated to use the new pipeline run. I don't think there should be any other breaking changes for that.
E2e-tests will also need to be updated

Thanks @jackdelahunt. I was just going through them. I referred to your PR for the change points. 👍🏻

Closing out this PR, I did some naming changing incorrectly and the gitlog is getting super complex to resolve. Will replace this with a new PR and same changes.


Increase compute budget limits in a test affected by new mem op cost

Hi @dmakarov, could you please provide a link to the CHANGELOG or other documentation regarding this new mem cost? I am struggling with upgrading solana version in my own program because now some endpoints run out of compute units, and I would like to understand what has changed.
Thank you!

The changes were introduces in this PR https://github.com/solana-labs/solana/pull/22101
We updated the amount of compute units memory operations syscalls consume. Since then
the base cost of mem op was reduced to 10.  If your program does a lot of data/array copying,
it can run over the compute budget limit, because memcpy, memmove, memcmp, memset operations cost more.


[BUG] Eventlist Detail Applicant's Profile link

Describe the bug
In the Eventlist Detail page, the applicants listed in the Applications table should be linked to their profile.
What Did You Want
In the Eventlist Detail page, I wanted to see the profile of the applicants to the service.
To Reproduce
Steps to reproduce the behavior:

Create an event with a user (creater).
Apply to this event with another user (applicant).
Login as admin and go to Admindashboard-Events.
Find the event with application and click to open detail.
See there is no hyperlink on the applicant's username.

Expected behavior
Applicant usernames should be linked to their own profile.
Result behavior
No hyperlink
Screenshots
Desktop (please complete the following information):

OS: Windows
Browser: Chrome
Version: -

Additional context

Bug is fixed and can be tested via bug/68_73_74_92_93_100


Add support for Python 3.10

With the exception of numba all of our dependencies now appear to be working with Python 3.10, and the tests are passing, so it seems like PUDL works with Python 3.10 now.  I think the biggest advantage for us at this point is the improvements that have been made to error messages, to make them more specific.
numba v0.55 (the next major release) is expected to support Python 3.10. This isn't a strict requirement for our code -- it just speeds some things up. It'll probably come out in a few weeks. For now I've commented numba out of the devtools/environment.yml file.
I've also disabled fast-fail in the GitHub Actions testing matrix so that if the tests fail for one version of Python, it'll still try and run them for all the rest.
Closes #1372

Looks good to me 👍


Doc 1358 fixed url

Duplicates the following PR into docs-release https://github.com/spatialos/UnrealGDK/pull/1514

@oblm is a bad person who has lead me down a bad path, please send help.


Export schema oracle

It is possible to make an export of the whole scheme in oracle?

No, it is not possible in current version.

It is expected to add in new versions?

Not it the near versions.
At the moment we support full database export only for MySQL (PostgreSQL support is planned in one of near versions).
As far as I know Oracle do not have system utility which exports table data in SQL format.
You can use standard DBeaver data export wizard (export to CSV, SQL, etc) but you can't export schema DDL.

Thanks for your reply!


refactor(rust): Change ockam tcp-connection create for --from  and --to

https://github.com/build-trust/ockam/issues/3147
Checks

[x] All commits in this Pull Request are signed and Verified by Github.
[x] All commits in this Pull Request follow the Ockam commit message convention.
[x] I accept the Ockam Community Code of Conduct.
[x] I have accepted the Ockam Contributor License Agreement by adding my Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate pull request to the build-trust/ockam-contributors repository.

@zzztimbo thank you for another great PR 🎉
The change look great.  If you reopen this PR we can land it.


Support to handle ServletException

There seems to be no way to handle ServletException caused by URI parsing failures. Main concern here is jetty is sending the stacktrace for exception, which can be a security concern.
Tried ExceptionMappers, but it's not working, as i think the exception is thrown from outside the application scope. Is there a way to handle these scenarios currently?
ex query from our application
HTTP/1.1 400 Bad Request
Server: nginx
Date: Thu, 06 May 2021 09:17:06 GMT
Content-Type: text/html;charset=iso-8859-1
Content-Length: 751
Connection: keep-alive
Cache-Control: must-revalidate,no-cache,no-store
Strict-Transport-Security: max-age=31536000; includeSubDomains

<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 400 Unable to parse URI query</title>

HTTP ERROR 400 Unable to parse URI query

URI:	/search/query

STATUS:	400

MESSAGE:	Unable to parse URI query

SERVLET:	jersey

CAUSED BY:	javax.servlet.ServletException: Filtered request failed.

CAUSED BY:	org.eclipse.jetty.http.BadMessageException: 400: Unable to parse URI query

CAUSED BY:	org.eclipse.jetty.util.Utf8Appendable$NotUtf8Exception: Not valid UTF8! byte Bf in state 0

Tried ExceptionMappers, but it's not working, as i think the exception is thrown from outside the application scope. Is there a way to handle these scenarios currently?

A JAX-RS exception mapper would only work if Jersey was properly involved but in this case the exception is already thrown in the URL handling of the Jetty web server.
You could try adding a Servlet Filter in front of HTTP endpoints: https://www.dropwizard.io/en/release-2.0.x/manual/core.html#servlet-filters
As an alternative you could try registering your own Jetty ErrorHandler:
https://www.eclipse.org/jetty/documentation/jetty-9/index.html#_custom_errorhandler_class

@joschi Thanks for the reply. Servlet Filter was of no help. But Error Handler seems to be good enough to handle this scenario.
This is good enough for me.
But on the other side should Exception StackTrace be passed on to the client?


Reuse video texture for mask mixing

MediaPipe Solution (you are using)
selfie segmentation
Programming language
Javascript
Are you willing to contribute it
None
Describe the feature and the current behaviour/state
Ability to apply a video texture from the same webgl context instead of reuploading a video texture. Like applying the mask texture.
Will this change the current API? How?
No response
Who will benefit with this feature?
No response
Please specify the use cases for this feature
WebGL mixing of video, mask and background image
Any Other info
I currently use this in my render to mix elements with a custom shader. However it might be more efficient to reapply the already added video texture in media pipe than reuploading a video frame. I already apply the mask texture from the segmentation result. And an image texture is already added to the program and doesnt need to be reuploaded. It's video that is being reuploaded a second time after being sent to mediapipe.
Ideally a premixed output using the calculator already available to do such things. Doesn't require post processing in webgl.
 gl.clearColor(1.0, 1.0, 1.0, 1.0);
        gl.useProgram(this.prog);
        gl.clear( gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT );
        gl.viewport(0, 0, video.videoWidth, video.videoHeight);

        const texture = results.confidenceMasks[0].getAsWebGLTexture();

        this.bindBuffers(gl, this.positionLocation, this.texCoordLocation);

        gl.activeTexture(gl.TEXTURE0);
        gl.bindTexture(gl.TEXTURE_2D, this.bgTexture);

        gl.activeTexture(gl.TEXTURE2);
        gl.bindTexture(gl.TEXTURE_2D, texture);
        gl.uniform1i(this.uniformLocations.mask, 2);

        gl.activeTexture(gl.TEXTURE1);
        gl.bindTexture(gl.TEXTURE_2D, this.videoTexture);
        gl.uniform1i(this.uniformLocations.frame, 1);

        gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGB, gl.RGB, gl.UNSIGNED_BYTE, video);
        gl.drawArrays(gl.TRIANGLE_FAN, 0, 4);

So ability to bind the already added video texture in the gl context of mediapipe like it's done with the mask
gl.bindTexture(gl.TEXTURE_2D, texture);

The processing is done on the same offscreen canvas context as mediapipe is using.

Hi @danrossi,
Could you kindly provide the detailed steps you are following from our documentation, or alternatively, share the standalone code with us? This will help us to reproduce the issue and gain a better understanding of it.
Thank you!!

I'll find a vanilla code. Its actually the webgl post render on the same context. Hence binding the mask texture. Would be good somehow to apply the video texture the same to not have to reupload a video frame. It's already efficient enough but trying to improve it further.

Hi @danrossi,
We apologize for any confusion. Could you please confirm whether you are utilizing our new Task API as outlined in the documentation, or if you are still using our legacy Selfi Segmentation from here? Please note that support for legacy solutions has been discontinued, and they are no longer maintained. Our current focus is on enhancing our new Task APIs, so new features will only be added to those.
Thank you!!

I was tied up with massive VR upgrades to fix issues with my Safari hacks and apple vision I am sorry. I have put up a working test file. requesting media device isnt possible in jsfiddle.
You can see this bit I have to reupload the video frame even from within the same context.  Hopefully rebinding the internal video texture on the offscreen canvas context from mediapipe is enough to render video to be mixed ? Im assuming its scaled down so can be rescaled ?
rendering in webgl is performing ok enough Ive done performance tests. Just that one last bit I am hoping for. Like applying the mask texture from mediapipe.
gl.activeTexture(gl.TEXTURE1)
    gl.bindTexture(gl.TEXTURE_2D, videoTexture)
    gl.uniform1i(frameTextureLocation, 1)

    gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, video);

https://electroteque.org/dev/mediapipe/
Example it working although I bundle it in, so haven't made an update for a while. I'll double check.
https://electroteque.org/plugins/videojs/rtcstreaming/demos/virtual-background/

Hi @danrossi,
I apologize for the delayed response. Could you please confirm if this issue has been resolved on your end, or if you still require assistance from us?
Thank you!!

It's a feature request. If I can grab the video texture already available like the mask texture it might be helpful. Is there a video texture created for the input source ? I apply a mix on the same offscreen canvas context used for mediapipe. Then copy that to the display canvas.  Right now I have to reupload the video frame to another texture for mixing.


PyCon India 2024 CFP announcement

Scheduled for 10th March 2024
Tasks

[x] Junction setup for 2024
[ ] Prepare a blog post  for CFP @Sc0rpi0n101
[ ] Prepare the content for the social media post, along with the picture   @Sc0rpi0n101
[ ] Social media announcement @WatchfulHitman
[ ] Mailing list announcement  @WatchfulHitman

Pre 4 PM

[x] Set up Junction for CFP 2024 @wavicles
[x] Verify the contents of Junction @anistark
[ ] Merge the blog post
[ ] Draft the social media announcement  @WatchfulHitman
[ ] Add a CFP button on the main website

Post 5 PM

[ ] Deploy the blog and the website @palnabarun
[ ] Send the social media announcements out  @WatchfulHitman
[ ] Announce on mailing list  @WatchfulHitman
[ ] Send to other Python Mailing lists (BangPypers, PythonPune, HydPy, PyDelhi, ChennaiPy, MumbaiPy) @WatchfulHitman

[x] Need to update this wiki page - https://github.com/pythonindia/junction/wiki/Speaker-best-practices

Please find the content for Twitter @WatchfulHitman
Drumroll, please! This year, the premier Python conference of India, PyCon India 2024, is coming to Bangalore! Join us for an unforgettable conference in the heart of India's tech hub! #PyConIndia #Python #Bangalore

Have you got a brilliant Python idea? Want to share it with the world? The PyCon India 2024 CFP is open. Submit your proposals by 31 May 2024 here: https://in.pycon.org/cfp/2024/proposals/. #PyConIndia #Python #CFP

here's the content for the mailing list:
Hi Everyone

We are thrilled to announce that PyCon India 2024 will take place in Bangalore[1]. We are now accepting your proposals through our Call for Proposals [2]. This is your chance to contribute to the event and share your insights with the Python community.

Here are some important details about the CFP:

- We've opened the CFP today, 10 Mar 2024.
- The last CFP submission date will be 31 May 2024.
- We will also have rehearsal talks to prepare speakers and content,
details of which will be discussed later and announced
accordingly.

If you've any doubts or thoughts regarding the above, please feel free to
respond here or reach out to any of us on [Zulip][3].

We have also announced the Call for Proposals on our social
media[4][5][6][7]. Please help us spread the word to get even more
amazing talks this year.

Once again, we look forward to all your support in making this year's PyCon India a grand success.

[1]: https://in.pycon.org/2024/
[2]: https://in.pycon.org/cfp/2024/proposals/
[3]: https://pyconindia.zulipchat.com/
[4]:
[5]:
[6]:
[7]:

I'm not entirely sure how to announce the logo in the mail, any suggestions for that?
Also, will be pushing the blog in a bit.

Thanks for the suggestion @iamaravindsekar. I've updated the email comment. Please check and see if this works.

I've added a PR for the blog: https://github.com/pythonindia/inpycon-blog/pull/440
Please review @anistark @wavicles

Hi Everyone,
We are thrilled to announce that PyCon India 2024 will take place in Bengaluru1. We are now accepting your proposals through our Call for Proposals 2. This is your chance to contribute to the event and share your insights with the Python community.
Here are some important details about the CFP:

We've opened the CFP today, 10 Mar 2024.
The last CFP submission date will be 31 May 2024.
We will also have rehearsal talks to prepare speakers and content,
details of which will be discussed later and announced
accordingly.

We would also like to thank you for voting for your favorite logos. We have finalized the logo. The logo this time revolves around a theme with cherry blossoms, which are famous in Bengaluru and have people's favorite monuments that represent Bengaluru.
If you've any doubts or thoughts regarding the above, please feel free to
respond here or reach out to any of us on Zulip.
We have also announced the Call for Proposals on our social
media46.To Learn more about the CFP8. Please help us spread the word to get even more
amazing talks this year.
Once again, we look forward to all your support in making this year's PyCon India a grand success.
Regards,
Akashnil Roy
On behalf of PyCon India 2024 Team
https://in.pycon.org/2024/
Here is the final content for mailing lists. Feedback are most welcome.

It's not "CFP today, 10 Mar" anymore.
Also, don't abbreviate anything on mail. Write full text, "March".


Fix test in bulk_create test

/retest

I am merging this as it is little change and we can have tests fixed.


[magnum] fixes adding any feature that depends on any other feature it will enable all the defaults

vcpkg install magnum[core,shaders] will install all the default features instead of just gl
Related to issue #11097

@NancyLi1013 done

/azp run

Feature windowlessglxapplication failed on Windows platform.
CMake Error at src/Magnum/Platform/CMakeLists.txt:515 (message):
  X11 library, required by some applications, was not found.  Set
  WITH_*X*APPLICATION to OFF to skip building them.

Hi @fran6co
Could you please resolve the conflicts?

@NancyLi1013 done about the conflicts, not sure about the other errors. This change shouldn't have caused that

@fran6co
Sorry for the late reply.

Feature windowlessglxapplication failed on x86-windows:
CMake Error at src/Magnum/Platform/CMakeLists.txt:515 (message):
  X11 library, required by some applications, was not found.  Set
  WITH_*X*APPLICATION to OFF to skip building them.

Features eglcontext, cglcontext , glxcontext , wglcontext ,glfwapplication  , Sdl2Application , windowlesseglapplication , windowlessglxapplication failed on x86-windows:
-- Could NOT find EGL (missing: EGL_LIBRARY EGL_INCLUDE_DIR)
CMake Error at src/Magnum/Platform/CMakeLists.txt:833 (message):
  EGL library, required by some contexts, was not found.  Set
  WITH_*APPLICATION and/or WITH_EGLCONTEXT to OFF to skip building them.

Do these problems have resolved?

@fran6co
Sorry for the late reply.

Feature windowlessglxapplication failed on x86-windows:
CMake Error at src/Magnum/Platform/CMakeLists.txt:515 (message):
  X11 library, required by some applications, was not found.  Set
  WITH_*X*APPLICATION to OFF to skip building them.

Features eglcontext, cglcontext , glxcontext , wglcontext ,glfwapplication  , Sdl2Application , windowlesseglapplication , windowlessglxapplication failed on x86-windows:
-- Could NOT find EGL (missing: EGL_LIBRARY EGL_INCLUDE_DIR)
CMake Error at src/Magnum/Platform/CMakeLists.txt:833 (message):
  EGL library, required by some contexts, was not found.  Set
  WITH_*APPLICATION and/or WITH_EGLCONTEXT to OFF to skip building them.

Do these problems have resolved?

Where do you see those errors? I can't reproduce them

When building features, I encountered these errors.
Can these features build successfully on your machine?

@fran6co
Could you please resolve the conflicts?

@fran6co
Is work still being done for this PR?

No, sorry. I don't have time to check it out

Thanks for your update. You can reopen this if you want to continue working for this PR.

When building features, I encountered these errors.
Can these features build successfully on your machine?

I got it to compile no problem on a Windows machine, x64 and x86 with vcpkg.exe install --recurse magnum[core,windowlessglxapplication] and the other features as well

Let's wait for the CI checks.

Cool, thanks @fran6co :)


python311Packages.asyncwhois: 1.0.7 -> 1.0.8

Diff: https://github.com/pogzyb/asyncwhois/compare/refs/tags/v1.0.7...v1.0.8
Changelog: https://github.com/pogzyb/asyncwhois/releases/tag/v1.0.8
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.11 Release Notes (or backporting 23.05 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.

Result of nixpkgs-review pr 260828 run on x86_64-linux 1

4 packages built:

python310Packages.asyncwhois
python310Packages.asyncwhois.dist
python311Packages.asyncwhois
python311Packages.asyncwhois.dist


Question: how difficult is to modify this theme for videos instead of photos?

[!WARNING]
This project is currently not being actively maintained.
Please do not create new issues on GitHub.


Segmentation fault (core dumped)

>>> from segmentation_models_pytorch import utils
Segmentation fault (core dumped)

Getting segmentation fault, I have enough memory.
I have tried this for different versions of pytorch
torch                        2.2.1+cu121
torchaudio                   2.2.1+rocm5.7
torchvision                  0.17.1+cu121

And
torch                        2.2.2
torchaudio                   2.2.2
torchvision                  0.17.2

But none work. Cuda version is as follows:
nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Wed_Nov_22_10:17:15_PST_2023
Cuda compilation tools, release 12.3, V12.3.107
Build cuda_12.3.r12.3/compiler.33567101_0```

But surprisingly in another system of colleague's the library is working fine.
The only change is in cuda version.
nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Mon_Apr__3_17:16:06_PDT_2023
Cuda compilation tools, release 12.1, V12.1.105
Build cuda_12.1.r12.1/compiler.32688072_0

And the libraries are of same set torch==2.2.1+cu121
python version is also different, mine is Python 3.11.0rc1.

Hi @Hrushikesh-github,
Thats error is common for some mismatch of cuda/cudnn/torch/torchvision versions and is not related to the library itself. Please consider debugging the environment package versions.

I used a docker image and that worked well. Initially I thought it was an error from library as other torch code was working expected but looks like it is indeed a compatibility issue.

Thank you for the update!


Implemented multi-browser functionality Shout of the Phillip for the …

…win yeet yeet.
These updates will allow for file uploading in multiple browsers.

Phenomenal


Can I use the code to recurrent the performance reported in paper?

Hi!
I am really interested in your paper and this repo.
I have trained the MaskflowNet_s using FlyingChairs dataset with the code provided in this
repo. However, the epe on mpi-sintel clean and final is 2.999 and 4.399. There is quite a gap between the reported epe 2.88 and 4.25.
So, here is my question,  Is the code provided in this repo is that you used for experiment during writing the paper?  Can I use the code to recurrent the performance reported in paper without further modify? The performance reported in this paper is the best checkpoint or the final checkpoint?
Thanks!

Hi lelelexxx, thanks again for your interest!
Yes, we believe the code provided can be used to replicate the results in the paper. The performance reported in this paper is on the last checkpoint.
The result 2.88,4.25 was obtained at the very early time among our experiments, so the code may have minor changes then. More importantly, as mentioned in PWC-Net, when training on Flying Chairs dataset, the performance suffers a huge variance of as large as 0.3, so you might want to rerun it a few more times.
Hope this solves your problem.


Add a new page to confirm link-check fails

The link-checker should fail for this page, because the "View Source"
link on the page will point to the URL of this page on the main branch
of this github repository, and the file doesn't exist in the main branch
yet.

this PR was raised to confirm the link-check would fail, which it did


SQL DDL error InvalidColumnNameException["_foo" conflicts with system column pattern]

CrateDB version
Nightly
CrateDB setup information
Docker standard.
Problem description
SQL DDL definitions using column names with leading underscore characters fail.
CREATE TABLE testdrive ("_foo" INT);

InvalidColumnNameException["_foo" conflicts with system column pattern]

Surprisingly, it works when appending a numeric character, or when using uppercase letters.
CREATE TABLE testdrive ("_foo2" INT);

CREATE TABLE testdrive2 ("_FOO" INT);

CREATE OK, 1 row affected (0.265 sec)

Both statements work on PostgreSQL.
Steps to Reproduce
See above.
Actual Result
Fails.
Expected Result
Works.

Not sure if we want to change this pattern validation for column names...

Background
Meltano maintains a few columns to keep track of record metadata. An example schema is displayed below.

Docs: https://sdk.meltano.com/en/latest/implementation/record_metadata.html
Code: https://github.com/meltano/sdk/blob/v0.34.0/singer_sdk/sinks/core.py#L235-L319

Example DDL
CREATE TABLE IF NOT EXISTS "melty"."test_carts" (
   "id" BIGINT NOT NULL,
   "fruits" ARRAY(OBJECT(DYNAMIC)),
   "_sdc_extracted_at" TIMESTAMP WITHOUT TIME ZONE,
   "_sdc_received_at" TIMESTAMP WITHOUT TIME ZONE,
   "_sdc_batched_at" TIMESTAMP WITHOUT TIME ZONE,
   "_sdc_deleted_at" TIMESTAMP WITHOUT TIME ZONE,
   "_sdc_sequence" BIGINT,
   "_sdc_table_version" BIGINT,
   "_sdc_sync_started_at" BIGINT,
   PRIMARY KEY ("id")
)

Thoughts
It would be so sweet if that would not need a workaround on the dialect level, but it is not a blocker, because a workaround can be made. However, it would be more standards-compliant, and while I see CrateDB reserves _id already, and maybe others, we can see on behalf of this example is that it is harsh to block the whole namespace.

All right. I used double underscores __ as a table prefix now, to designate "private/hidden" tables, see sinks.py#L40-L50.


Problem with scipy.optimize.root_scalar not found

A user sent me an email about the following bug:

I downloaded the code and tried to run it. Unfortunately I am facing the
following error : "ImportError: cannot import name 'root_scalar". I have
attached a screen-shot below. I am not so proficient in Python but
Stackoverflow tells me this is due to circular imports. Do you know how
I can get past this and run the code successfully? Thanks.

I had the same issue a few months ago.
The missing function is from scipy.optimize, see
https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.root_scalar.html#scipy.optimize.root_scalar
The solution is to update your python packages to the most recent versions.
I don't know if you are using a virtual environment or not (see
https://the-hitchhikers-guide-to-packaging.readthedocs.io/en/latest/virtualenv.html
or
https://smpybandits.github.io/How_to_run_the_code.html#in-a-virtualenv),
but if you are then run the following in the virtual env
You can probably run
$ pip install --upgrade scipy

and it will upgrade the scipy package to >=1.3 version
Let me know if this fixes your problem.

I had the same issue. The solution you proposed works fine.

Great!


Put commit hash in --version output?

Hi,
would it be a lot of work to put the commit hash into the output of the --version string? That would be an easy way for me to see if I have an up to date version installed.
Thanks! :)

The lua-language-server.exe is just a LuaVM, it cannot handle --version.
How did you install this extension?

Display commit hash should be implemented by the client is relatively simple, the server temporarily only provides displaying the version number


[FIX] compatibility of website_sale_available with website_sale_options

Hi @yelizariev . This PR fix and error raised when you install website_sale_available together with website_sale_options.
Thanks!

Thanks!
El vie., 26 de agosto de 2016 2:30, Ivan Yelizariev <
<EMAIL_ADDRESS>escribió:

Merged #92 https://github.com/it-projects-llc/website-addons/pull/92.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/it-projects-llc/website-addons/pull/92#event-768448617,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC4H0LzKZU8dIXm5UQ0bTYDAJIdUEjbHks5qjnoCgaJpZM4JtN5w
.


best accuracy: 0.000 after train 200000 steps

My dataset is image contain 14 number characters (for example). I config my opt like below:
character:<PHONE_NUMBER>-
sensitive: False
PAD: True
data_filtering_off: False
Transformation: TPS
FeatureExtraction: ResNet
SequenceModeling: BiLSTM
Prediction: Attn
num_fiducial: 20
input_channel: 3
output_channel: 512
hidden_size: 256
num_gpu: 1
num_class: 13

but when i train 200.000 step, the accuracy still 0%.

@tienduchoang
How about the train loss curve?

I actually got the same result after 100000 steps?

Hello,
Can you upload your opt.txt file?
I recommend checking 2 parts.

If you use adam optimizer with --adam option, you should use lower learning rate, such as --lr 0.001.
data filtering part in here.
If your validation image has the character which is not in opt.character (in this case<PHONE_NUMBER>-), the image would be filtered.

Best


fix: [Demo apps] Infinite rendering loop in TableOfContents

🐛 Bug Report
OnAfterRenderAsync (in TableOfContents.razor.cs) calls QueryDom() which in its turn loads anchors and calls StateHasChanged() - rendering starts again.
💻 Repro or Code Sample
FluentUI.Demo.Client/FluentUI.Demo.Server in examples.
Browser's tab with https://www.fluentui-blazor.net/ consumes ~20% of CPU on my PC even if there's no any interaction (clicks/scroll)
🤔 Expected Behavior
Re-rendering doesn't happen all the time
😯 Current Behavior
TableOfContents keeps re-rendering without any reason.
💁 Possible Solution
Looks like QueryDom() should call StateHasChanged() only if anchors have changed e.g.:
    private async Task QueryDom()
    {
        var foundAnchors = await _jsModule.InvokeAsync<Anchor[]?>("queryDomForTocEntries");

        if (AnchorsEqual(_anchors, foundAnchors))
        {
            return;
        }

        _anchors = foundAnchors;
        StateHasChanged();
    }

    private bool AnchorsEqual(Anchor[]? firstSet, Anchor[]? secondSet)
    {
        return (firstSet ?? Array.Empty<Anchor>())
            .SequenceEqual(secondSet ?? Array.Empty<Anchor>());
    }

Anchor record needs Equal implemented because of child anchors:
        public virtual bool Equals(Anchor? other)
        {
            if (other is null) return false;

            if (Level != other.Level ||
                Text != other.Text ||
                Href != other.Href ||
                (Anchors?.Length ?? 0) != (other.Anchors?.Length ?? 0))
            {
                return false;
            }

            if (Anchors is not null &&
                Anchors.Length > 0)
            {
                for (var i = 0; i < Anchors.Length; i++)
                {
                    if (!Anchors[i].Equals(other.Anchors![i]))
                    {
                        return false;
                    }
                }
            }

            return true;
        }

🔦 Context

🌍 Your Environment

OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
.NET and FAST Version [e.g. 1.8.0]

@andreisaperski locally your solution works on Server but not on Client. Have you tested on Client? Is it working for you there?

Yes, I see that it works in a sense that it is nor running continuously. But it is also not showing the actual table of contents after reading the markdown file. And that is what we want it to do.

Could you please point me to a page where it doesn't work. i checked markdown-based pages What's new?/Project setup/Code setup/Design tokens  and ToC there matched with pages' structure.  Also check that these pages raise OnRefreshTableOfContents, DemoMainLayout handles it and calls TableOfContents.Refresh() which in its turn calls QueryDom()

For me it goes wrong on every page that loads Markdown to display contents, ie DesignTokens and CodeSetup


[FSDE-936] DevOpsGCR Setup when

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Playpen/job/ChiGCR/job/ChiGCR/job/PR-12/38/. :white_check_mark:


[12.1] ISPN-14342 & ISPN-14343

https://issues.redhat.com/browse/ISPN-14342

merged! thanks @tristantarrant !


v1.9.8

Elements Default PR Template
In general, make sure you have: (check the boxes to acknowledge you've followed this template)

[ ] Read CONTRIBUTING.md

Other Available PR Templates:

Release: https://github.com/stoplightio/elements/compare?template=release.md

[ ] Read the release section of CONTRIBUTING.md

I merged in the changes already, but had failed to update the version for release. This is the PR with the actual changes in it: https://github.com/stoplightio/elements/pull/2332


I couldn't upload files with AzureStorageAdapter.

Please read the following instructions carefully.
Check out https://github.com/ParsePlatform/parse-server/issues/1271 for an ideal bug report.
The closer your issue report is to that one, the more likely we are to be able to help, and the more likely we will be to fix the issue quickly!
Many members of the community use Stack Overflow and Server Fault to ask questions.
Read through the existing questions or ask your own!

Stack Overflow: http://stackoverflow.com/questions/tagged/parse.com
Server Fault: https://serverfault.com/tags/parse

For database migration help, please file a bug report at https://parse.com/help#report
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!

[ ] You've met the prerequisites: https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide#prerequisites.

[ ] You're running the latest version of Parse Server: https://github.com/ParsePlatform/parse-server/releases

[ ] You've searched through existing issues: https://github.com/ParsePlatform/Parse-Server/issues?utf8=✓&q=is%3Aissue Chances are that your issue has been reported or resolved before.

[ ] You have filled out every section below. Issues without sufficient information are more likely to be closed.

--
Issue Description
Everytimes failed when uploading image files. Just return this ; 'bad json response"
Steps to reproduce
Please include a detailed list of steps that reproduce the issue. Include curl commands when applicable.

Set file adapter to index.js with AzureStorageAdapter.
Setting storage account and container for parse server.
Restart wep app service.
upload files with Parse-Dashboard or Android client.

Expected Results
Upload image(s) completely.
Actual Outcome
Please see these images.
Environment Setup

Server

parse-server version: 2.2.10
Operating System:     Microsoft Azure Web App Service.
Hardware:             Microsoft Azure Web App Service.
Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): Microsoft Azure Web App Service.

Database

MongoDB version: 3.0.11
Storage engine:  Microsoft Azure VM A2 Plan (Open Logic 6.7)
Hardware:        Microsoft Azure VM A2 Plan (Open Logic 6.7)
Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): Microsoft Azure VM

Logs/Trace
You can turn on additional logging by configuring VERBOSE=1 in your environment.

Please open on the azure storage adapter repository

Already opened issue.


Is there any possibility to customize scrollToBottom button?

Is there any possibility to customize scrollToBottom button? For example, changing the text message or counting of the unread new messages. Is it possible to configure this button in some ways except redefining styles?

That's a good suggestion. We have another similar suggestions from internal team as well.
Let me sum it up:

[P0] Save/restore scroll position
[P1] Styling of new message button
[P1] Configurable stickiness, currently is 0 pixels

That means, when the scroll view is 0 pixel from the bottom, it is consider sticky and will auto-scroll

[P2] Scroll certain activity in the view
[P3] Programmatically set which activity is the last being viewed

Today, when the user scroll to the bottom, we remember the ID of the last activity as "last viewed activity"
Tomorrow, this ID can be set through a programming interface manually, overriding the automatic behavior

@corinagum @compulim Are there any news on your side?


circleci

currently, circleci only ensures nuts dependencies are all there, while pm2 fails starting nuts.
process restarts, as the repository we're referring to is currently private.
once we'ld have open-sourced it, we should make sure nuts starts properly.

let's forget about this: nuts should be dropped from peerio-backend instead.


mark injected scripts as defer & mark as safe

mark as defer to prevent blocking page parsing
mark as safe to prevent auto escaping, otherwise auto escape must be turned off to use this.

Coverage decreased (-1.4%) to 95.39% when pulling 8469b71cefe419b2359c296d779f24fd2820246f on bumfo:patch-1 into 3758cae67ed15f38641fb51a71ca9ed85af78345 on MounirMesselmeni:master.

Coverage decreased (-1.4%) to 95.39% when pulling 8469b71cefe419b2359c296d779f24fd2820246f on bumfo:patch-1 into 3758cae67ed15f38641fb51a71ca9ed85af78345 on MounirMesselmeni:master.

Coverage decreased (-1.4%) to 95.39% when pulling 8469b71cefe419b2359c296d779f24fd2820246f on bumfo:patch-1 into 3758cae67ed15f38641fb51a71ca9ed85af78345 on MounirMesselmeni:master.

oops this approach breaks the hljs.initHighlightingOnLoad(); line as well. finding solution...


Release V3: update releases to use semantic-release

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

Project coverage is 81.48%. Comparing base (f26aa09) to head (b5c6333).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #130   +/-   ##
=======================================
  Coverage   81.48%   81.48%
=======================================
  Files          50       50
  Lines        1842     1842
  Branches      344      344
=======================================
  Hits         1501     1501
  Misses        341      341

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


Update quickcheck to 0.7

Hey, thanks for the pull request.
Could you explain why you feel this change is needed?

In Fedora we try to package only latest version so this would help us with packaging efforts. Debian does the same.
Is there any reason to hold it on old version?

No, I just generally prefer to be lazy and update dependencies as-needed rather than doing it whenever there's a new version available.
Marged. Thanks!


TMs being destroyed

Y'know how when you right-click a pokemon with a tm, but later choose not to teach the move?
As it turns out, some people have been asking around about their TMs being removed when they try precisely that.
Members include "Imagine" (Kirikoz), and I believe someone else, but couldn't find them...

This is a pixelmon issue and should be reported to them.

Oops, misread Ras' message, sorry.


Enhancement: Forcing exception during new MetadataTriggerHandler().run()

Hello Mitch,
First of all thank you for the great job on the framework, it's great.
I'm working on migrating to the framework for a while and almost succeeded with the migration, the only last thing left.
We are trying to add some logic in the trigger, tracking the errors in our logger, something like this:
 try{
        new MetadataTriggerHandler().run();
    }catch(Exception e){
        SObjectTriggerUtils.logAndThrowError(e);
    } finally{
        TA_TriggerActionContext.clearContext('Account');
    }
And unit testing of catch clause is the headache. I wonder, will you product benefit from an enhancement in TriggerBase allowing force-fail an execution? We can do that in our version since it is unlocked, by probably you will consider the change.
For example:
public inherited sharing virtual class TriggerBase {
     private static Boolean forceFailExecution = false;
    .
    .
    .
     public void run() {
          if (Test.isRunningTest && forceFailExecution){
              //throw some exception
          }
      }
    .
    .
    .
   public static void forceFailExecution(Boolean forceFailExecution) {
        this.forcefailExecution = forceFailexecution;
   }
}
So in tests it could be used like TriggerBase.forceFailExectuion(true)
Sure, code only for illustration purposes, to pass the idea for consideration.
Thank you in advance for the answer,
Best regards,
Dima

Hello @DmitriyBereza,
That is not necessary for any of the core functionality of the framework, so it's unlikely to be included in a new version of the package.
I would also question why you are performing a top level catch like you demonstrated.
Catch blocks should be very focused in scope - they should really catch a specific exception type on a specific line.
What you're proposing above is analogous to:
public static void main(String[] args) {
  try {
    new Program.run();
  } catch (Exception e) {
    logger.atSevere().withCause(e).log("Something went wrong...");
  }
}

This code is handling every possible error in the whole program in one top level statement - I would recommend against doing something like that.

Well, I guess our approaches are different then, thank you for your answer!


ADD MBEI "SURGUT TECHNOLOGICAL SCHOOL"

@luchok503 I am sorry, this is the domain of the city administration, not the school. Please send an email to<EMAIL_ADDRESS>and describe in the email who exactly needs the free licenses and what for.
I have to close this request.


DIALServer: Use Handler implementation only in master mode

In slave mode, if the setting of url data to the application fails, it try it using the POST. But Currently in slave mode, we are registering the application handlers and all the url/data setting request to the app goes through the application handlers, and in slave mode the app instance will be always null and this sequence will never execute properly.

https://jenkins.code.rdkcentral.com/job/github-triggered/1336/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/1338/ started


Add a clientside sound notifying the player when it's their turn.

Useful if they aren't  paying attention or have the game alt tabbed.

Closed by: a7965e02fcf4568dce3de6be498b3fc57ffc002f

Also, for clarification, this won't really do a whole lot for players who have the game window unfocused.
That relies on what they have snd_mute_losefocus set to.


Istio service entry causing http: server gave HTTP response to HTTPS client

Bug Description
I have implemented the following on my kube cluster
https://istio.io/latest/docs/tasks/traffic-management/egress/egress-gateway-tls-origination/
i have all http traffic redirected to my egress gateway everything works fine.
However i have one service which needs to make a api call on https to a host which is defined as a service entry, the service entry is needed because its needs for other  service to making http calls through the egress gateway
using the example on the web
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
name: cnn
spec:
hosts:

edition.cnn.com
ports:
number: 80
name: http
protocol: HTTP
number: 443
name: https
protocol: HTTPS

the service that needs to call http://edition.cnn.com is sent to my egressgateway and fowarded on as https request.
The service that makes a call to https://edition.cnn.com directly fails with  server gave HTTP response to HTTPS client
If i remove the entry the service that makes the http call starts failing but the service which makes the https call works.
i have even tried to add workload selector to the service entry to the egress gateway that ended with neither working.
I tried to remove the http declaration but still no success
Version
client version: 1.9.1
control plane version: 1.16.1
data plane version: 1.16.1 (197 proxies)

Client Version: v1.24.0
Kustomize Version: v4.5.4
Server Version: v1.24.8-gke.2000

Additional Information
No response

I suspect it's because of double encryption
Could you try adding
workloadSelector:
  matchLabels:
    app: istio-egressgateway

in the originate-tls-for-edition-cnn-com DR?

What is the use case for the HTTPS client?  The HTTP client wants calls sent through egress gateway - but does the HTTPS client want calls also going through egress gateway?  You will probably have to modify the VirutalService for the mesh gateway to define how you want the HTTPS traffic handled by the client's sidecar.  It currently only defines traffic HTTP traffic capture for the edition host:
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: direct-cnn-through-egress-gateway
spec:
  hosts:
  - edition.cnn.com
  gateways:
  - istio-egressgateway
  - mesh
  http:
  - match:
    - gateways:
      - mesh
      port: 80
    route:
    - destination:
        host: istio-egressgateway.istio-system.svc.cluster.local
        subset: cnn
        port:
          number: 80
      weight: 100
  - match:
    - gateways:
      - istio-egressgateway
      port: 80
    route:
    - destination:
        host: edition.cnn.com
        port:
          number: 443
      weight: 100

And if you do want to send HTTPS traffic for edition, you will also need to modify the Gateway resource since it is expecting only ISTIO_MUTUAL on its inbound port
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: istio-egressgateway
spec:
  selector:
    istio: egressgateway
  servers:
  - port:
      number: 80
      name: https-port-for-tls-origination
      protocol: HTTPS
    hosts:
    - edition.cnn.com
    tls:
      mode: ISTIO_MUTUAL

You can also check the access logs on the client sidecar to see who and where it is sending the HTTPS traffic

The service that makes a call to https://edition.cnn.com/ directly fails with server gave HTTP response to HTTPS client

Are you sure the client gets HTTP?
In my env I think it's because of double encryption Could you try adding
workloadSelector:
  matchLabels:
    app: istio-egressgateway

in the originate-tls-for-edition-cnn-com DR?

This worked thank you, is this because i had mtls turned on within my mesh ?

The DestinationRule was telling all traffic to edition.cnn.com on port 443 to wrap all traffic in a new TLS session:
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: originate-tls-for-edition-cnn-com
spec:
  host: edition.cnn.com
  trafficPolicy:
    loadBalancer:
      simple: ROUND_ROBIN
    portLevelSettings:
    - port:
        number: 443
      tls:
        mode: SIMPLE # initiates HTTPS for connections to edition.cnn.com

DestinationRule's apply to client envoy proxies, so by adding the workloadSelector, it ensures only the egress gateway configures traffic with TLS context, and that the client sidecar will not perform any additional TLS operations

@GregHanson and @dddddai thank you so much for a solution and explaination.
Would it be worthwhile adding that workload selector to the docs of the example ?


Items removed from afArrayField leave null entries in document passed to formToDoc

Hello, I found that afArrayField leaves "null" entries in the document's arrays passed to formToDoc after adding, then removing entries, as illustrated by the following example. I did not find a description of this behaviour in the docs and it did just bite me by causing an exception.
var peopleSchema = new SimpleSchema({
    name: { type: String }
});

var businessSchema = new SimpleSchema({
    people: { type: [peopleSchema] }
});

var businesses = new Mongo.Collection("businesses");
businesses.attachSchema(businessSchema);

// ... place a simple quickForm which inserts into "businesses" in the HTML

AutoForm.addHooks(["businessEditSchema"], {
    formToDoc: function (form) {
        console.log(form);
        return form;
    }
});

Fill in the person's name. doc.people is reported as [{name: "Test"}], all good
Hit the remove-button. doc.people is reported as [null]
Add the person back. doc.people is [null,{name: "Test"}]

I think I caused this bug when I moved the compactArrays call here. Will fix

Running against the same problem, but I am also ending up with the following:
[
    0: "this.0",
    1: null,
    2: {myObject}

]

Not only ending up with null, but the this.0 string should be object 0;

Fixed in 5.1.0. In order to fix this, I had to create a formToModifier hook. That will be called instead of formToDoc for "update" and "method-update" forms, and it's passed a modifier.


Go fails to compile the trufflehog project on i386 and armv7 without any specific error messages

Go version
go1.21 FreeBSD
Output of go env in your module/workspace:
n/a - I have no access to the system where builds are failing

What did you do?
Build the project github.com/trufflesecurity/trufflehog/v3 version 3.63.8
The FreeBSD package builder actually builds the package from the FreeBSD port security/trufflehog.
What did you see happen?
The build fails on these architectures:

i386 log
armv7 log

What did you expect to see?
n/a

vendor/github.com/couchbase/gocb/v2/search/internal.go:31:62: cannot use math.MaxUint32 (untyped int constant<PHONE_NUMBER>) as int value in argument to fmt.Errorf (overflows)

That seems like a problem in couchbase/gocb, it does not compile on 32-bit platforms. You should probably open a bug with them.


install: Simplify echo sequence

The shell built-in "echo" preserves newlines by default, so there is no need to issue a new echo command for every new line in a formatted text. This version is not only faster, but easier and less error prone to edit as well.

That looks way better. Thanks!


Update SARS-CoV-2 primer schemes with V4

Could you update the SARS-CoV-2/nCoV-2019 schemes to include V4?
https://github.com/artic-network/artic-ncov2019/tree/master/primer_schemes/nCoV-2019/V4
Many thanks,
Sara

Sorry Sara, what do you mean exactly?

Hi Nick, so I've installed artic from source via fieldbioinformatics repo (as opposed to artic-ncov-2019, not sure if that makes a difference). schemes_manifest.json contains V1-3, but not V4.
Here's my output from artic-tools get_scheme nCoV-2019 --schemeVersion 4
[10:19:48] [artic-tools::get_scheme] starting primer scheme downloader
[10:19:48] [artic-tools::get_scheme]    requested scheme:       nCoV-2019
[10:19:48] [artic-tools::get_scheme]    requested version:      4
[10:19:48] [artic-tools::get_scheme] fetching manifest file
[10:19:48] [artic-tools::get_scheme]    ARTIC manifest URL:     https://raw.githubusercontent.com/artic-network/primer-schemes/master/schemes_manifest.json
[10:19:48] [artic-tools::get_scheme]    ARTIC repository DOI:   10.5281/zenodo.4004423
[10:19:48] [artic-tools::get_scheme] finding primer scheme
[10:19:48] [artic-tools::get_scheme]    found requested scheme: sars-cov-2 (using alias nCoV-2019)
[10:19:48] [artic-tools::get_scheme]    requested version not found (v4), using latest version instead (v3)
[10:19:48] [artic-tools::get_scheme] downloading primer scheme
[10:19:48] [artic-tools::get_scheme]    saving primers to:      nCoV-2019.v3.primer.bed
[10:19:48] [artic-tools::get_scheme]    saving reference to:    nCoV-2019.v3.reference.fasta
[10:19:48] [artic-tools::get_scheme] comparing checksums
[10:19:48] [artic-tools::get_scheme]    sha256 for primers:     6e98d7d5d1c6edac8ef0bac70d698e0828ae42bafe8f3bda0a6257d00ce414b5
[10:19:48] [artic-tools::get_scheme]    sha256 for reference:   b09a4a3d6824dc4a9f3a17d480f3335f73cb1507897f6dad0de871e8f00d8637

Ah OK! Yes, needs adding to the scheme.json file - will sort.

Thanks!


IndexError('list index out of range')

Hi. I already tried updating the app and tried to reset it twice but it still gives me this error.
Sorry for using mediafire. I don't know why I can't upload files
Logs:

https://www.mediafire.com/file/o08q4w6omfjzhsx/app.log/file
https://www.mediafire.com/file/v9uenblzc8w0dzm/appoutput.log/file
https://www.mediafire.com/file/gfnwb67zt7pv7tx/bro.log/file
https://www.mediafire.com/file/zwbm9akitujdw8d/core.log/file
https://www.mediafire.com/file/9ls1413hw3ez3x5/delconfig.log/file
https://www.mediafire.com/file/op4fyicybi45765/deleteexit.log/file
https://www.mediafire.com/file/rnpmpnmxjerr9a8/delppsettings.log/file
https://www.mediafire.com/file/8mobgnfhz0lkvrc/delsettings.log/file
https://www.mediafire.com/file/03zc43266bmwl3f/runosu.log/file

im  having the same issue. Please fix.

It's working now but I have to change skin which is annoying

I believe the Index error is due to custom skin issue, for the time being use the default skin and it should work.

the default skin didnt even help at all, same error

After doing some manipulation, I realized that this error I get on replays that have not been completed (Player made a mistake)


Adding delete_index_if_exists method

Relates to https://github.com/meilisearch/integration-guides/issues/107

Thank you so much to both of you!!
bors merge


Allow Makefile to be modified by Makefile.local if present

This way we can modify any of the makefile commands or add extra without having to touch the
Volto core file.

@ichim-david if it's not present it does not complain? If so, I'd add also ../../Makefile.local, for make it work with the projectless setups.

@ichim-david if it's not present it does not complain? If so, I'd add also ../../../Makefile.local, for make it work with the projectless setups.

@sneridagh yes it doesn't complain if it's not present, I've tested the make with and without the file and it works as usual.
There is a warning locally but this is correct as I am overriding the setup command with my own and it just tells me about it.
Makefile.local:2: warning: overriding commands for target setup' Makefile:101: warning: ignoring old commands for target setup'


[FSDE-4115] Fix sorting in data table complex example

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-164/1/. :white_check_mark:

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-164/2/. :white_check_mark:

You can check this PRs instance in https://f1eb4d0dabccf14ef1ea3d64629884e1262ef2a3-chi-pr.enterprise.ctl.io

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-164/3/. :white_check_mark:

You can check this PRs instance in https://325939a5dc7ba72def3a7e8a6b7688ce49dd68cc-chi-pr.enterprise.ctl.io

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-164/4/. :white_check_mark:

You can check this PRs instance in https://e0cc81c4b403f8c91638031fc804acb3fc694c10-chi-pr.enterprise.ctl.io

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-164/5/. :white_check_mark:

You can check this PRs instance in https://f0a2457f277a62cd05c70ef9c9043012d4398925-chi-pr.enterprise.ctl.io

The portal ux team has asked if we can update the default config for the complex portal table example to sort by name and set the direction to ascending

Thanks matt! However when i tried it i found a bug when using default ascending or descending sort on a column with nested content, so it may be better to implement this behavior in another future PR.

@evansito sounds good. Thanks!

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-164/6/. :white_check_mark:

You can check this PRs instance in https://37820880fb6be1ba0aead47af30e4ff65a86540c-chi-pr.enterprise.ctl.io

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-164/7/. :white_check_mark:

You can check this PRs instance in https://50d02a42923685342e4bef1f3e53723f53632c51-chi-pr.enterprise.ctl.io


Update repositories.toml

ℹ Repository information
The repository has:

[X] At least three issues with the good first issue label.
[X] Detailed setup instructions for the project.
[X] CONTRIBUTING.md
[X] Actively maintained.

Am I allowed to add my own project onto here? :)

@sanket-deepsource Am I allowed to add my own project onto here? :)

Absolutely, as long as it meets the requirements specified in the PR template. I see that you've missed the comma after your entry, making the TOML invalid. Can you please fix that?

Okie Dokie- Added the comma!


See Hierarchical View

User Story:
I want to Visualize datasets in hierarchical view component
so I can Navigate datasets as if I was using the system's file explorer
This issue is split into three cards:

Creating the component on the left side bar, the hierarchical view.
https://github.com/MetaCell/sds-viewer/issues/44

Creating the UI for the dataset loader.
https://github.com/MetaCell/sds-viewer/issues/43

Extracting the dataset  items to display in this component
https://github.com/MetaCell/sds-viewer/issues/9

Once all 3 steps are done , the component will need to be populated with the data from step 3.

Closing this card, task handled by issue #66


support ParameterExpression and StringLiteral in extract function

This way it is compatible to postgresql and ORMs that support extract in
some form should work out of the box.
Merry Christmas!

lgtm. merry christmas and happy holi days :-)


Undefined is not an object (evaluating 'PropTypes.oneOf')

I am getting this error as soon as I install this module on my project.
Rebuild the project and the problem still persists.
Error occurs at

PanController.js:9

the file needs to be updated, the import statements changed in later versions.
for the error you mentioned you can change require statements to:
import React, { PropTypes } from 'react'
import {
  View,
  Animated,
  PanResponder,
} from 'react-native'

P.S : you can also use require instead of import.


fix: gql websocket link 0.3.4

This change updates the gql_websocket_link  to version from 0.3.1 to 0.3.4
fix: #84

Closing in favor of #95

Thank you @MichalNemec for doing a great job here.


[Admin cabinet] Inappropriate name of the employee's last name field in "Edit employee data"

Environment:
Windows 10 Pro (Version 22H2) / Chrome version110.0.5481.177
Reproducible:
always,
Build found:
03/03/2023
Preconditions:

Site https://www.testgreencity.ga/GreenCityClient/#/ubs should be opened

User should be logged in as an UBS Admin

Employee should be created.

"Employees" page should be opened.

Steps to reproduce:
Click on 3 dots in the right side of employee
Click  on "Edit employee data" tab
Actual result:
Field name is “Surname”
Expected result:
The name of the field should be "Last name"

Please fix this issue on PROD also


(PUP-7371) Fix bug with missing undef in type mismatch description

The mismatch describer "forgot" that a type was optional when describing
it and in some cases simply dropped that type out of the description.
This commit ensures that the optional status is remembered and reported.
The commit also improves the type generalization of the Variant type
with respect to Undef and Optional so that a type that contains
either one becomes an Optional type that contains neither.
A side effect from fixing the above was that some tests needed to be
adjusted.

CLA signed by all contributors.


Functions worker configuration for Kubernetes runtime always uses TLS for adminUrl even when TLS is not enabled.

This is hard-coded here: https://github.com/datastax/kaap/blob/b7857177f4cf9258c164ed3f86b6372c23d289db/operator/src/main/java/com/datastax/oss/kaap/controllers/function/FunctionsWorkerResourcesFactory.java#L301-L302
This results in any functions booted using the Kubernetes runtime to error because of attempting to establish a TLS handshake with a plaintext server.
You can work around this by defining the following in the pulsarcluster resource:
spec:
  functionsWorker:
    config:
      functionRuntimeFactoryConfigs:
        jobNamespace: default
        percentMemoryPadding: 10
        pulsarAdminUrl: http://pulsar-function.default.svc.cluster.local:6750/
        pulsarDockerImageName: apachepulsar/pulsar:3.3.1
        pulsarRootDir: /pulsar
        pulsarServiceUrl: pulsar://pulsar-broker.default.svc.cluster.local:6650/
        submittingInsidePod: true

Note the overridden pulsarAdminUrl.

Dupe of #156


fix: Update unique_table_ownership constraint to allow owner per type

This PR addresses a limitation of the Data Table Ownership type feature, which was previously added in #1170.  That PR added a type column to support multiple types of owners per table.  However, the unique constraint between data_table_id and uid prevents any user from having multiple types of ownership.
This PR adds a new database migration that updates the constraint to include the type column.

Thanks @baumandm for fixing it!


receivedRedirectUri parsing error

Hi,
When I'm trying to enable oAuth in our plaid flow, I am consistently seeing this error no matter whether I pass in raw or encoded urls. This happened after link-token has been successfully fetched and before client side plaid.open() trigger, and the request url is https://sandbox.plaid.com/link/client/get.
const plaidConfig = {
    clientName: metadata.get('appName'),
    env: config.get('env') === 'production'
      ? 'production'
      : 'sandbox',
    language,
    onExit,
    onSuccess,
    product: ['auth'],
    receivedRedirectUri: encodeURIComponent(global.window.location.href),
    // receivedRedirectUri: encodeURI(global.window.location.href),
    // receivedRedirectUri: global.window.location.href,
    token: linktoken,
  };
const plaid = usePlaid(plaidConfig);

plaid api version: 2020-09-14
react-plaid-link version: 3.2.1
environment: sandbox.
link-token: configured with redirect_uri properly set on the server side.
receivedRedirectUri:  same as redirect_uri when generating link-token, and set in plaid dashboard, http://localhost:3000/appname/eplata/orgname/eplata/wallet/banks/link/plaid

The error msg is telling me to 'URI escape' the string, I'm not sure why it still doesn't like it after wrapping it in encodeURIComponent

hi @thierry1129 it looks like you may not be be capturing the query string properly, which contains the required oauth_state_id parameter. Are you doing a client-side redirect or something else that is discarding the query string?
If you create a link_token with https://example.com/foo/bar as the redirect_uri, Plaid should send your users back to https://example.com/foo/bar?oauth_state_id=bf54ed8f-ceea-4bcb-a0ca-2afa3fd5ee35 for example. You need to pass this full URI including the query string in the received_redirect_uri and in your screenshots it appears you are not doing that. Does that help at all?

hey @skylarmb Thanks for the explanation! Yeah i was confused about the receivedRedirectUri param and I think I got it now. Closing


Changes for Issue #1: Quick code review

_disp_dict, _DictObj renamed
.gitignore updated to add standards
all added to init.py
requires.txt removed
fixed errors spotted by ruff
rewrote tests in pytest
all tests pass

Thanks Peter. I've resolved these issues as part of #4


jsmpeg.player.pause() not working properly

Hi, I am currently using this library for displaying the rtsp stream that is sent by node.js server with node-rtsp-stream.
What I want to do is keep displaying the video stream on the canvas by using jsmpeg player, and pause/restart when the user press the button.
Since this library contains the pause(), stop(), and start() methods, I was trying to use those methods for implementing the functionalities.
However, for some reason pause() and stop() method never works on my code..
`var client;
var canvas;
var rtsp_player;
function init_rtsp_video_canvas() {
client = new WebSocket('ws://localhost:9999');
canvas = document.querySelector('canvas');
rtsp_player = new jsmpeg(client, {canvas: canvas, loop: true, autoplay: true});
}
function pause_rtsp_client() {
rtsp_player.pause();
}
function play_rtsp_client() {
rtsp_player.play();
}
`
Am I missing something or doing some stupid mistake?

.pause(), .stop() and .play() only work for static video files, not for streaming. I should probably mention this in the readme.
It's also debatable how theses should work. Sure .stop() should disconnect the WebSocket and when .play() is called reconnect again.
But what does .pause() do? Does it keep the WebSocket connection open and accumulate all incoming video data in a big buffer? How big is this buffer allowed to get? What happens when I call .play() again? Should it automatically "catch up" to realtime again? If not, we would probably need to have a function that does allow this - i.e. allow seeking in streaming video. This is big can of worms...
So, if you just want to en-/deable the video stream, the best solution right now would be to .destroy() the player when you want to stop it and create a new one, when you want to start again.
I'll look into supporting .stop() and .play() for WebSockets when I can find some more time!

Ah, nice. Thanks for the reply!
Yeh, I thought maybe the play() and stop() method would not work for streaming.
And please let me know if you actually make play() and stop() working for the video stream!


Create channel from FD from parent of JVM

Motivation
Some process managers, most importantly systemd, support passing an opened socket as a file descriptor to services which they can inherit and listen on. This allows the process to run without superuser privileges or the CAP_NET_BIND_SERVICE capability while still being able to listen on ports < 1024.
Another advantage is that this allows the service manager to create the socket and start listening without starting the service directly. This can be advantageous for ad-hoc services (like SSH) where the server must not always run resulting in saving resources (especially memory).
This is very similar to System.inheritedChannel but the socket is (in the case of systemd) usually passed as FD 3.
More resources
Introduction to the concept by systemd
Man page of systemd about the listefd interface

I am happy to review a PR

I have not yet worked with Netty directly (I am seeking to implement this for eventual support in Quarkus and subsequently in Keycloak) so I might need a bit of guidance.
If I understand correctly I am able to create a FileDescriptor from an Integer. Should I then create a SocketWritableByteChannel?
Or in general: What should be the target interface/class I should aim to create for best interoperability and what is the best way to get there?

Is this primarily for server channels, or normal channels, or could it be used for either?

What is the difference between the two? It is a replacement for creating a TCP/UDP/Unix listening socket manuelly

Server channels listen for new connections with accept(2), and produce child channels. Other channels read and write data to the socket.

So is my idea to somehow create a SocketWritableByteChannel from a fd the correct route or is there another way this has to be done?


use $GITHUB_WORKSPACE/opt as a preferred fallback to $HOME/opt

one our runners, we blow away $GITHUB_WORKSPACE per design, but removing $HOME unilaterally would definitely break stuff. Mitigated via https://github.com/teaxyz/infuser/commit/2da33b314bbf7539211e5ae9a617a2cf4ebb94df

0.10.0 deploying


Update - New toggle components

Hi,
I added two toggle components, material and macOS style.
You can check out the demo here.
Thank you!

Looks good @GlintonLiao! Thanks for these.

Have a look and make sure I haven't broken anything from your work 😅

Looks good to me! Thank you~

Awesome, I'll get this pushed up! Amazing work @GlintonLiao they're a great addition 🥳


Doesn't work with new Django AppConfig feature

Since Django 1.7 we can optionally add AppConfig subclass path to INSTALLED_APPS, like:
INSTALLED_APPS = [
    'my_core.apps.CoreAppConfig',
    # ...
]

Docs on that:
https://docs.djangoproject.com/en/1.8/ref/applications/

Hi, thanks for the report this is fixed with #55 and was just released as part of the 0.10.0 release: https://pypi.python.org/pypi/django-autofixture/0.10.0

That is great! Thank you! :)


Can't import from desktop export

i tried all three export options
export account tree to csv
export account transactions to csv
export accounts
the first two create a csv file, no surprise there
the last creates an xml file automatically appended with the ".gnucash" extension.
the gnucash file is an uncompressed xml file
The android app doesnt show these at all in the 3rd party file browser is invokes to open the files.  This make me think its looking for something other than .csv or .gnucash
desktop version 2.6.5
android version 1.5.5

You need to export your accounts to XML for them to be imported into GnuCash. Import from CSV is not supported. Or you can just import from your GnuCash XML file.
Some of the file manages behave differently, I would recommend trying with the OI File Manager (available from the Play Store and their website.


Fix vendor comments in 29 casks

Another portion of fixes for https://github.com/caskroom/homebrew-cask/issues/19450. Feel free to merge, if everything seems ok.

All good.


LLCMapper: overwrites passed axes

if ax is None:
fig, ax = plt.subplots(figsize=(12, 6))
field = pyresample.kd_tree.resample_nearest(self.orig_grid, da.values,
self.new_grid,
radius_of_influence=100000,
fill_value=None)
vmax = plt_kwargs.pop('vmax', field.max())
vmin = plt_kwargs.pop('vmin', field.min())
m = plt.axes(projection=projection)
The line that returns "m" overwrites the passed axis "ax" in the previously given line. This prevents plotting in multiple subplots. You can fix this by moving m inside the if statement. With this fix, the user must specify the geoaxes object m.

Hi @jk3652, thanks for using xgcm. Could you describe a bit more what you are trying to achieve with this code? It seems that your code is related to plotting issues, which might not be directly related to xgcm.
Cheers

I believe this comment refers to the ECCOv4 example from the documentation:
https://xgcm.readthedocs.io/en/latest/example_eccov4.html
It's a bug in the plotting code. Not part of xgcm, but still our problem, since it's in our docs.


Allow the ApiVersion of the Ingress to be specified

When using ArgoCD to apply the helm chart to clusters > k8 1.22 the wrong ingress type is being rendered extensions/v1beta1 is being used rather than 'networking.k8s.io/v1'
This happens because under the hood ArgoCD runs helm template and applies the resulting yaml to the cluster.   Currently Argo does not pass --validate when doing the helm template which means the .Capabilities.APIVersions.has calls don't work  see https://github.com/helm/helm/issues/10760 and https://github.com/argoproj/argo-cd/issues/3640
This PR allows the APIVersion to be overridden in the values
We are currently  working around this by turning off the Ingress in the chart and creating our own
I will also do A PR backporting this fix to the 6.5 branch as that is currently what we are running

will be fixed as part of #700


S3 Clean-up

Ticket

Purpose
Clean-up a bit
Changes

remove superfluous  lines

Side effects

QA Notes

Deployment Notes

coverage: 89.016% (+0.02%) from 89.001% when pulling 0d3e2d3f625b3bdc4cef3fbb72f66e307d03bf63 on Johnetordoff:use-colon-s3 into d53d032a32b9945263790b33b1e8c4a3e235a27a on CenterForOpenScience:feature/s3-improvements.

PR was closed but changes were included in https://github.com/CenterForOpenScience/waterbutler/pull/408


fix: remove unnecessary Option from get_output return

get_output always return Some, so there is no reason to use an Option there

Codecov Report

Merging #511 (90526e5) into main (b933ae4) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main     #511   +/-   ##
=======================================
  Coverage   91.97%   91.97%
=======================================
  Files          47       47
  Lines        3152     3152
=======================================
  Hits         2899     2899
  Misses        253      253

Impacted Files
Coverage Δ

src/vm/runners/cairo_runner.rs
94.63% <0.00%> (ø)

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


is-fixed-first-column issue

The first cell of the first column is overlapped by the first column when scrolling vertically and by the first row when scrolling horizontally

HI, @lunu5
Sorry, I am checked scrolling horizontally and it's working good, so I don't know what's problem, can you capture a screen for me?
Thx :)

The first image is when no scrolling

The second image is when scrolling vertically

The third image is when scrolling horizontally

The last one is both

@lunu5 , thanks for your captures.
I saw your header's first-column not show. Are you customize stylesheet to fixed the header on scrolling vertically? (ex. position: fixed or absolute?)
Maybe that is the reason why, don't adjust header's position, it will be affect to this feature.

@lunu5 , I am try to add new option for fixed table header to solve this problem, so please wait.

Hi, @lunu5 , I add max-height prop to set table's height and fixed the bug, thanks for your issue 👍
Here an example , please check it!

Thanks for your support


UI-the userName or xpanseUser filled 'name' is not a unique value that can distinguish users

The user xpanse-admin-2 and user xpanse-admin has same name 'xpanse admin', when I login in with 'xpanse-admin-2', I can query the data of the user  'xpanse-admin', we should use the unique value of field 'preferred_username' or 'sub' to  distinguish users

In the Zitadel, user can modify the 'preferred_username', so we must use 'sub' as id to fill 'userName' and 'xpanseUser' in calling APIs.

@baixinsui yes, you are right. We must use the 'sub' field in the token to get the unique ID.
We must handle this as part of the #623 user story where we want to remove the 'xpanse username' field everywhere.
I will add this point there as well.  It should be good to store only Id in our DB too. This is more secure as this would us from storing any user related information in DB.
and as part of the same userstory (or we can split), UI will not send any username any more in the request.

This is based on #623, I will take it for debugging between UI and API.


Update MyWeight

#1007

cc @diogot

Sorry, I was out for a few days.
The screens are slightly different now, I can open a PR to update them and a few other info.
Thanks!


CI: build site in Hugo, bring warnings to the PR as comment

If warnings are yielded on hugo build, they will be commented in the PR.
Preview:

If errors are found, they will fail the validate job.

Wish this could use the regular build process.
Unfortunately that runs on Circle CI, but maybe one could still access and parse the hugo build output from there?

Wish this could use the regular build process.
Unfortunately that runs on Circle CI, but maybe one could still access and parse the hugo build output from there?

Nut sure. But it would be a lot more complicated that way.

nice


unsupported jsonb error caused on migration with django-sql-explorer>=5.1

The error occurs because the django-sql-explorer is trying to use the unsupported jsonb data type in django-redshift-backend during migration.
 - django-sql-explorer==5.0.2
 + django-sql-explorer==5.1.1
(venv) @shimizukawa ➜ /workspaces/django-redshift-backend/examples/dj-sql-explorer (152-dj51) $ python manage.py migrate
(0.196)
            SELECT c.relname,
            CASE WHEN c.relkind IN ('m', 'v') THEN 'v' ELSE 't' END
            FROM pg_catalog.pg_class c
            LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
            WHERE c.relkind IN ('f', 'm', 'p', 'r', 'v')
                AND n.nspname NOT IN ('pg_catalog', 'pg_toast')
                AND pg_catalog.pg_table_is_visible(c.oid)
        ; args=None; alias=default
(0.162) SELECT "django_migrations"."id", "django_migrations"."app", "django_migrations"."name", "django_migrations"."applied" FROM "django_migrations"; args=(); alias=default
(0.168)
            SELECT c.relname,
            CASE WHEN c.relkind IN ('m', 'v') THEN 'v' ELSE 't' END
            FROM pg_catalog.pg_class c
            LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
            WHERE c.relkind IN ('f', 'm', 'p', 'r', 'v')
                AND n.nspname NOT IN ('pg_catalog', 'pg_toast')
                AND pg_catalog.pg_table_is_visible(c.oid)
        ; args=None; alias=default
(0.161) SELECT "django_migrations"."id", "django_migrations"."app", "django_migrations"."name", "django_migrations"."applied" FROM "django_migrations"; args=(); alias=default
Operations to perform:
  Apply all migrations: admin, auth, contenttypes, explorer, sessions, testapp
Running migrations:
(0.168)
            SELECT c.relname,
            CASE WHEN c.relkind IN ('m', 'v') THEN 'v' ELSE 't' END
            FROM pg_catalog.pg_class c
            LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
            WHERE c.relkind IN ('f', 'm', 'p', 'r', 'v')
                AND n.nspname NOT IN ('pg_catalog', 'pg_toast')
                AND pg_catalog.pg_table_is_visible(c.oid)
        ; args=None; alias=default
  Applying explorer.0020_databaseconnection_extras_and_more...ALTER TABLE "explorer_databaseconnection" ADD COLUMN "extras" jsonb NULL; (params [])
(0.162) ALTER TABLE "explorer_databaseconnection" ADD COLUMN "extras" jsonb NULL; args=[]; alias=default
Traceback (most recent call last):
  File "/workspaces/django-redshift-backend/django_redshift_backend/_vendor/django40/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)
psycopg2.errors.UndefinedObject: type "jsonb" does not exist

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/workspaces/django-redshift-backend/examples/dj-sql-explorer/manage.py", line 22, in <module>
    main()
  File "/workspaces/django-redshift-backend/examples/dj-sql-explorer/manage.py", line 18, in main
    execute_from_command_line(sys.argv)
  File "/workspaces/django-redshift-backend/examples/dj-sql-explorer/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/workspaces/django-redshift-backend/examples/dj-sql-explorer/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/workspaces/django-redshift-backend/examples/dj-sql-explorer/venv/lib/python3.10/site-packages/django/core/management/base.py", line 413, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/workspaces/django-redshift-backend/examples/dj-sql-explorer/venv/lib/python3.10/site-packages/django/core/management/base.py", line 459, in execute
    output = self.handle(*args, **options)
  File "/workspaces/django-redshift-backend/examples/dj-sql-explorer/venv/lib/python3.10/site-packages/django/core/management/base.py", line 107, in wrapper
    res = handle_func(*args, **kwargs)
  File "/workspaces/django-redshift-backend/examples/dj-sql-explorer/venv/lib/python3.10/site-packages/django/core/management/commands/migrate.py", line 357, in handle
    post_migrate_state = executor.migrate(
  File "/workspaces/django-redshift-backend/examples/dj-sql-explorer/venv/lib/python3.10/site-packages/django/db/migrations/executor.py", line 135, in migrate
    state = self._migrate_all_forwards(
  File "/workspaces/django-redshift-backend/examples/dj-sql-explorer/venv/lib/python3.10/site-packages/django/db/migrations/executor.py", line 167, in _migrate_all_forwards
    state = self.apply_migration(
  File "/workspaces/django-redshift-backend/examples/dj-sql-explorer/venv/lib/python3.10/site-packages/django/db/migrations/executor.py", line 255, in apply_migration
    state = migration.apply(state, schema_editor)
  File "/workspaces/django-redshift-backend/examples/dj-sql-explorer/venv/lib/python3.10/site-packages/django/db/migrations/migration.py", line 132, in apply
    operation.database_forwards(
  File "/workspaces/django-redshift-backend/examples/dj-sql-explorer/venv/lib/python3.10/site-packages/django/db/migrations/operations/fields.py", line 110, in database_forwards
    schema_editor.add_field(
  File "/workspaces/django-redshift-backend/django_redshift_backend/base.py", line 392, in add_field
    self.execute(sql, params)
  File "/workspaces/django-redshift-backend/django_redshift_backend/_vendor/django40/db/backends/base/schema.py", line 192, in execute
    cursor.execute(sql, params)
  File "/workspaces/django-redshift-backend/django_redshift_backend/_vendor/django40/db/backends/utils.py", line 102, in execute
    return super().execute(sql, params)
  File "/workspaces/django-redshift-backend/django_redshift_backend/_vendor/django40/db/backends/utils.py", line 67, in execute
    return self._execute_with_wrappers(
  File "/workspaces/django-redshift-backend/django_redshift_backend/_vendor/django40/db/backends/utils.py", line 80, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/workspaces/django-redshift-backend/django_redshift_backend/_vendor/django40/db/backends/utils.py", line 84, in _execute
    with self.db.wrap_database_errors:
  File "/workspaces/django-redshift-backend/examples/dj-sql-explorer/venv/lib/python3.10/site-packages/django/db/utils.py", line 91, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/workspaces/django-redshift-backend/django_redshift_backend/_vendor/django40/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: type "jsonb" does not exist

This output indicates an error that occurred during the attempt to update the Django SQL Explorer and perform database migrations. Below are the key points explained:
1. Version Update:
 - django-sql-explorer==5.0.2
 + django-sql-explorer==5.1.1

The Django SQL Explorer has been updated from version 5.0.2 to 5.1.1.
2. Migration Execution:
The command python manage.py migrate is executed to attempt to update the database.
3. Specific Migration:
Applying explorer.0020_databaseconnection_extras_and_more...

This migration is trying to add a new column named extras to the explorer_databaseconnection table.
4. Error Occurrence:
psycopg2.errors.UndefinedObject: type "jsonb" does not exist

This error indicates that the database does not recognize the jsonb data type.
5. Specific SQL Command:
ALTER TABLE "explorer_databaseconnection" ADD COLUMN "extras" jsonb NULL;

This SQL command is failing.
6. Detailed Error:
django.db.utils.ProgrammingError: type "jsonb" does not exist

This indicates that the database you are using (likely Redshift) does not support the jsonb data type.
The main cause of this error is that the new version of Django SQL Explorer is attempting to use the jsonb type, but the database you are using (Redshift) does not support this type. Redshift differs from standard PostgreSQL in that it does not support some advanced data types (in this case, jsonb).
Possible Solutions:

Continue using the older version of Django SQL Explorer.
Customize this migration to use a data type compatible with Redshift (e.g., text).
Report the compatibility issue to the developers of Django SQL Explorer and suggest alternatives.

The choice of which solution to pursue will depend on the requirements and constraints of your project.

It was commented in issue #12 that Redshift does not support the json type.
Official documents also mention JSON type in:

JSON functions - Amazon Redshift
Data type differences between Amazon Redshift and supported PostgreSQL and MySQL databases - Amazon Redshift

For this reason, I will make a fix specifying has_native_json_field = False.


MiKo_3109 should not report for XUnit

In xunit, Assert.Equal(1, 2) cannot be enhanced by an error message.

Maybe we should also point out that xunit does not seem to be the right choice of test framework here at all as refuse to implement or discuss about the feature (see https://github.com/xunit/xunit/issues/350)


Add state bucket replication

Add state bucket replication
closes #3

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


fix: kernel tests ci

What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area CI
Does this PR require a change in the driver versions?
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/hold

/milestone 0.14.0

/unhold

/cc @leogr @Andreagit97

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Error 409 Conflict - DomainNameAlreadyInUse- when using custom domain name

Describe the bug
After creating a PA environment with custom domain name when you run TF for the next time it show some changes
`
# module.pa_env.powerplatform_environment.main will be updated in-place
~ resource "powerplatform_environment" "main" {
  ~ billing_policy_id    = null -> (known after apply)
  ~ cadence              = "Frequent" -> (known after apply)
  ~ dataverse            = {
      ~ administration_mode_enabled  = false -> (known after apply)
      ~ background_operation_enabled = true -> (known after apply)
      + linked_app_id                = (known after apply)
      + linked_app_type              = (known after apply)
      + linked_app_url               = (known after apply)
      ~ security_group_id            = "00000000-0000-0000-0000-000000000000" -> "0000000-0000-0000-0000-000000000000"
      ~ unique_name                  = "***********************" -> (known after apply)
      ~ url                          = "https://xxxyyy.crm4.dynamics.com/" -> (known after apply)
      ~ version                      = "9.2.24095.200" -> (known after apply)
        # (4 unchanged attributes hidden)
    }
  ~ description          = null -> (known after apply)
  ~ environment_group_id = null -> (known after apply)
    id                   = "**************************"
    # (4 unchanged attributes hidden)
}`

and when you press yes it throws 409 Conflict error:
Unexpected HTTP status code. Expected: [200], received: [409] 409 Conflict | {"error":{"code":"DomainNameAlreadyInUse","message":"The specified domain name with a value of 'xxxyyy' is already in use. Please select a different value. If a domain name was recently      │ changed, the previous domain name will not be available for use for up to 24 hours after the change.","detailUrlType":"NotSpecified"}}
Sample Terraform Code
terraform {
  required_providers {
    powerplatform = {
      source  = "microsoft/power-platform"
    }

    azurerm = {
      source                = "hashicorp/azurerm"
      configuration_aliases = [azurerm.dtmates]
    }
  }
  required_version = ">= 1.3.2"
}

provider "powerplatform" {
  use_cli = true
}

locals {
  project_code = "xxx"
  env_type     = "yyy"
  location     = "northeurope"
}

resource "azuread_group" "pa_env_security_group" {
  display_name     = "AGM-PA-${upper(local.project_code)}${upper(local.env_type)}-Environment Access"
  security_enabled = true
}

resource "powerplatform_environment" "main" {
  display_name     = "${upper(local.project_code)}${upper(local.env_type)}"
  location = var.location
  environment_type = "Sandbox"

  dataverse = {
    language_code     = 1033 #English https://learn.microsoft.com/en-us/openspecs/office_standards/ms-oe376/6c085406-a698-4e12-9d4d-c3b0ee3dbc4a
    currency_code     = "ALL"
    domain            = "${lower(local.project_code)}${lower(local.env_type)}"
    security_group_id = "0000000-0000-0000-0000-000000000000"

  }

}

Expected behavior
It should do nothing or just implement the changes.
System Information
Windows Server 2022 Datacenter AE, 21H2, build. 20348.2762
Terraform v1.9.8 on windows_amd64

provider registry.terraform.io/hashicorp/azuread v2.47.0
provider registry.terraform.io/hashicorp/azurerm v3.97.1
provider registry.terraform.io/hashicorp/null v3.2.3
provider registry.terraform.io/hashicorp/random v3.6.3
provider registry.terraform.io/microsoft/power-platform v3.1.0

Additional context
This is my first try with the provider. As there is no such bug I believe (not tried) it may work correctly with default environmet url. I have many environments so I use names/urls defined by myself.
Contribution
NO

Thanks for reporting @Fiury00. This was already spotted few days ago in this discussion and fixed in this PR. Will be in next release.


support namespaced tsx

Add support for namespaced tsx as per jsx specification.
This is not a breaking change. All tests are green, I added an additional test for good measure.
The change is pretty simple, but it ends up being quite big due to the sheer amount of similar regexes:
A namespaced tag or attribute is defined by an identifier (namespace), followed by a colon, followed by another identifier (name), which gives us this addition:
///
(?: #start optional group
  ([_$a-zA-Z][-$\w.]*) #namespace
  (?<!\.|-) #prevent illegal end of namespace identifier
  : #colon
)? #end optional group
///

✓


[WIP] RYA-109 Add Spark Support

Spark GraphX Support - WIP

Something is screwy with Jesse's commit that you pulled in.  The commit you have has hash 	1855213 and the one in the apache/develop branch has 01489ef.  This needs to be fixed before we can pull in your PR, and it's probably easier to fix now rather than later.  Let me know if you need any assistance with this and I can walk you through it.


Message Broker

Decide which message broker we should use for queuing the votes: RabbitMQ, Redis or others?

i never used an message broker, why would we use it?, if its to basic, i can search.... not a problem

I think we need In order to process multiple requests, normalize the data and implement pub/sub.
Not sure how much we need to use its cache, but if we need, Redis also would be a nice option.
As I’m not a backend developer, I would not rely only on this comment 😁

pub/sub so it uses mqtt protocol?

I think a messaging broker for this project can sweat like a cannon to kill an ant, I think a simple socket tool can solve it, but if I were to use a broker I would use RabbitMQ.

Not sure why do you think a socket is important here, maybe I’m missing something.
We need to dispatch messages if we want to work with multiple services without reading and writing in a database.

I've never worked with RabbitMQ or Redis with MsgBroker, but the kafka docs from python are very clean and don't have much effort to work with it. I've used the kafka-python lib.

If you decide to go with FastAPI there is an example here: https://iwpnd.pw/articles/2020-03/apache-kafka-fastapi-geostream

@lucasmontano dá uma olha no https://dramatiq.io/ ou no https://python-rq.org/

As @rochacbruno suggested we're going with PythonRQ with Redis


updated the contributing link of readme

Changed contributing link in the readme (not coc)

We're actually going to be standardizing on the README in a different way. Thank you for your work on this. I hope you'll contribute to other parts of the code-base


⚡ Curator.validate() is too slow

Here is a simple example:
df = pd.DataFrame(
    {"CD8A": [1, 2, 3], "CD4": [3, 4, 5], "CD14": [5, 6, 7], "perturbation": ["DMSO", "IFNG", "DMSO"], "cell_type_by_expert": ["B cell", "T cell", "T cell"], "cell_type_by_model": ["B cell", "T cell", "T cell"]},
    index=["sample1", "sample2", "sample3"],
)
adata1 = ad.AnnData(
    df[["CD8A", "CD4", "CD14"]], obs=df[["perturbation", "cell_type_by_expert", "cell_type_by_model"]]
)
curator = ln.Curator.from_anndata(adata1, var_index=bt.Gene.symbol, categoricals={"perturbation": ln.ULabel.name, "cell_type_by_expert": bt.CellType.name,  "cell_type_by_model": bt.CellType.name}, organism="human")
curator.validate()

If you run this code against laminlabs/lamindata from Munich it'll run about 15 seconds and output:
! indexing datasets with gene symbols can be problematic: https://docs.lamin.ai/faq/symbol-mapping
✓ 'var_index' is validated against Gene.symbol
✓ 'perturbation' is validated against ULabel.name
✓ 'cell_type_by_expert' is validated against CellType.name
✓ 'cell_type_by_model' is validated against CellType.name

Why is it sooooo slow? This is such a mini dataset.

Thanks for linking this. I had missed that issue.

This is slow because of inspect, and inspect is slow because it's trying to load the public Gene ontology when you have non-validated values:

But my logging indicates that everything was validated:
! indexing datasets with gene symbols can be problematic: https://docs.lamin.ai/faq/symbol-mapping
✓ 'var_index' is validated against Gene.symbol
✓ 'perturbation' is validated against ULabel.name
✓ 'cell_type_by_expert' is validated against CellType.name
✓ 'cell_type_by_model' is validated against CellType.name

You can reproduce this on laminlabs/lamindata.

Now 8s in this PR: https://github.com/laminlabs/lamindb/pull/2186
still improving...


nginx.conf need the gzip，but not set success

Info:

Docker version ($ docker --version):  18.09.0
System info (Mac, PC, Linux):  centos 7.1

Issue:

nginx.conf default gzip on; but it is't useful,  and i think its config file is not enough, so i change the laradock/nginx/nginx.conf with following config,
       gzip on;
       #gzip_disable "msie6";
	gzip_min_length 1k;
        gzip_buffers 4 16k;
        gzip_comp_level 6;
        gzip_types text/plain application/x-javascript text/css application/xml application/javascript text/javascript application/x-httpd-php image/jpeg image/gif image/png;
        gzip_vary off;
        gzip_disable "MSIE [1-6]\.";

but its still don't work. but this codes are copy from another nginx.conf it's in use. so i am in bad.

you should run sudo docker-compose up -d nginx
Dockerfile will copy nginx.conf to container
Why they haven't configured gzip by default until now


[S] Add BC Parks bootstrap theme

This ticket is to create the look and feel for the parks data register.
When user logs in through #24 they will see the usual header, footer, logo, colors, and fonts of the bc parks apps.
Acceptance Criteria:

bootstrap theme is updated to use latest/correct BC Gov colours (talk to Harry)
latest version of gov bootstrap with bc parks theme is added to project

Notes:

https://github.com/digitalspace/bcparks-bootstrap-theme
relates to front end view of this in #24

Blocked by https://github.com/bcgov/parks-data-register/issues/35

moving to done as look and feel with bootstrap is up


Enable integrating with an existing MinIO instead of deploying your own every time

Context
Charmed MLFlow deploys its own MinIO to store its data, but it is often the case that MinIO is already available, for example, when integrating with Charmed Kubeflow that also deploys MinIO.
What needs to get done
TBD
Definition of Done
It should be possible to deploy Charmed MLFlow and integrate with an existing pre-deployed MinIO (e.g. done as part of deployed Charmed Kubeflow), and documentation / tutorial for doing that should be available.

Thanks for the issue @motjuste!
My understanding is that the recommendation is to expect users to deploy a standalone MinIO with MLflow, even with Kubeflow. So because of this I wouldn't put this information on the tutorial but might have a dedicated how-to, but let's also hear @afgambin's opinion.
On the technical side though, aside from relating mlflow-server to Kubeflow's MinIO I expect another need for configuration (MLflow should already be related to resource-dispatcher, so a PodDefault will be created by with the credentials of Kubeflow's MinIO)


replace full lodash package with lodash.clonedeep and typeof checks

I've just realised I saw you present at LNUG last month.
Great talk by the way, definitely one of the best I've seen!

Thanks! That's a great compliment as it was my first ever talk - did we chat about your struggle with promises afterwards by any chance?

Is everything okay with this PR is is there anything you would like done differently or that has been missed?

Thanks!