[Good First Issues]: implement function "replace_between_delimiters" - 7 points

Motivation
Vanus Functions are a series of pre-built functions worked within Vanus transformer. By choosing a function, users can specify the way that events will be changed.
It will be a good start if you decide to contribute to Vanus codes.
Details
This function is used to replace the characters between two delimiters with user-specified text of an existing json element.
Description
Function name: replace_between_delimiters
Function description:
Replaces the characters between two delimiters with user-specified text.
Enter any character, including a space.
must have - startPattern - endPattern.
Example
For example, if delimiters are && and &&
{
    "specversion" : "1.0",
    "type" : "com.example.someevent",
    "source" : "/mycontext",
    "subject": null,
    "id" : "C234-1234-1234",
    "time" : "2018-04-05T17:31:00Z",
    "comexampleextension1" : "value",
    "comexampleothervalue" : 5,
    "datacontenttype" : "application/json",
    "data" : {
        "info : "this is &&jay ding&&",
        "appinfoB" : 123,
        "appinfoC" : true
    }
}

After the function "replace_between_delimiters":
"pipeline":[
    {"command":["replace_between_delimiters","$.data.appinfoA", "&&", "&&", "michael"]}
]

The transformed event should look like:
{
    "specversion" : "1.0",
    "type" : "com.example.someevent",
    "source" : "/mycontext",
    "subject": null,
    "id" : "C234-1234-1234",
    "time" : "2018-04-05T17:31:00Z",
    "comexampleextension1" : "value",
    "comexampleothervalue" : 5,
    "datacontenttype" : "application/json",
    "data" : {
        "info : "this is &&michael&&",
        "appinfoB" : 123,
        "appinfoC" : true
    }
}

How to implement

Fork the vanus repository.
Create a branch function-replace_between_delimiters
Create replace_between_delimiters.go under internal/primitive/transform/action/strings, and then implement the function.
Create replace_between_delimiters_test.go under internal/primitive/transform/action/strings for unit test.
Register your function in internal/primitive/transform/runtime/init.go.
Submit your PR

Contribution points
Each issue counts specific points based on its difficulty. Contributors earn the corresponding points if they solve that issue. Contribution points are used to describe the contributions contributors have made.  They can also be used to get rewards when there are community events.
This issue counts 5 points.
How to claim to solve the issue
If you want to implement this function, please leave a comment in this issue like:

I'd like to implement this function, please assign this issue to me.

Vanus community will assign the issue to you on time.

Please assign this to me, I'd love to work on this

@c0d33ngr how is it going?

It's going well, I'm using strings.Split(), I'll make PR soon


Updated - The browser tab will now display the workspace name in preview

Summary
Updated the browser title to display the workspace name while in preview.
Previously the tab only displayed as "Kaiju"

Thanks for contributing to Kaiju.
@cerner/kaiju

The pull request deployment build routes to the node server preview which should already have this functionality but is temporarily down.
To this test pull request it would need to be done locally to see the effects in the rails preview.


Vue 3 Support

Is your feature request related to a problem? Please describe.
Need Support for Vue 3, it's breaking
Describe the solution you'd like
Would like to see the support for Vue 3
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Currently getting the following error
index.js?ee98:146 Uncaught TypeError: __WEBPACK_IMPORTED_MODULE_0_vue___default.a is not a constructor
    at Object.eval (index.js?ee98:146)
    at __webpack_require__ (index.js?ee98:30)
    at Object.eval (index.js?ee98:240)
    at __webpack_require__ (index.js?ee98:30)
    at Object.eval (index.js?ee98:208)
    at __webpack_require__ (index.js?ee98:30)
    at Object.eval (index.js?ee98:154)
    at __webpack_require__ (index.js?ee98:30)
    at eval (index.js?ee98:76)
    at eval (index.js?ee98:79)

The project has been continued in a fork.
Related thread for more details: #198

@Glideh Thanks for sharing this


Bug related to changing to same view controller

Hi,
Thanks for the work! But, I noticed a bug. To replicate:

Click menu button
Select the same view controller option with the one you have now
Click again to menu button and it doesn't work.
Click again now it works but view is messed up.

Problem is with sender.tag use. I fixed it by checking iif (view.subviews.last?.restorationIdentifier == "SlideMenuView") insted of checking for sender's tag. That seemed cleaner and more generic to me and also fixed the problem.
Also I made slidemenuvc a property of BaseViewController so that it doesn't initialize every time.

@bymafmaf send a pull request


Assign storage policy to a VM and its disks (vSphere -> Select VM -> VM Policies -> Edit VM Storage Policies)

I could see support provided for create/update/delete storage policy. Similarly I need support for assigning a storage policy to a VM and its hard disks
vSphere -> Select VM -> VM Policies -> Edit VM Storage Policies
Please help me with it.

There's currently an open PR with code surrounding your question.
https://github.com/vmware/pyvmomi-community-samples/pull/571
Hope this helps!

https://github.com/vmware/pyvmomi-community-samples/pull/571 is merged. I'm closing the issue.


Fix anti-materiel typos

About the PR

This PR fixes the "anti-material" typo.
Materiel means military equipment, structures, and other hardware.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

No need for CL

@Emisse


@conda-forge-admin, please add user @joelvdavies

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @joelvdavies in conda-forge/muspinsim-feedstock#8.


Update tokenizers

Required especially after: https://github.com/openvinotoolkit/openvino_tokenizers/commit/0ac89d3283e59e0fe8cae422fd0a5007d972bd32
was merged.

Please, resolve conflicts

Duplicate of: https://github.com/openvinotoolkit/openvino.genai/pull/953


[BUG] {{ DlTable }} - {{ Scroll issue when adding new rows to the table }}

Describe the bug
We have a table that dynamically loads and inserts new rows as users scroll, activating the virtual scroll rendering. However, it appears that the insertion of new elements into the DOM causes the scroll position to shift upwards, occasionally making it difficult to access particular rows within the table.
https://github.com/dataloop-ai/components/assets/120374103/fe3c0bb0-8cf9-4fd8-bc8d-40d048e4fbd6

Issue is reproducible using Vue2, haven't tested with Vue3.

@advaa1234 can you provide please more details what specific we need to fix ? adding new elements inside table automatically will update scrollbar position, because table height overflow is updated based on new elements

@SorinOpt There are multiple issues here:

When new dynamic data is loaded we would like it so the table would not cause it to render a scroll animation instead stick in the same position. Meaning:

When data is loaded the scroll bar shrinks
Scroll bar does adjusts its position according to new data
The table will not trigger a scroll as its already on that position

I understand why the scroll occurs as you described adding new data to the table would trigger the virtual scroll to recalculate the correct position of the scrollbar. is there a way to calculate that and jump to it if the scroll bar did not change instead of animating it and scrolling?

When using the virtual scroll with expandable-rows it will cause weird scroll behavior as i believe the row height changes dynamically causing weird scrolling if the expanded data is too long.
Is there a way to change this behavior ? Having better calculation of row height ? we are experincing other issues with micro jumps in virtual scrolling i believe due to row-height not being assigned.

So from what I understand, in the video the user doesn't scroll upwards at all, instead the virtual scroll jumps up after rendering the new elements? If that's the case then I don't know how to reproduce it inside the component demos, seems like very unexpected behaviour, especially as it's not even instant, but animated.


Add php 8.4 to ci

Psalm disabled until it supports PHP8.4 https://github.com/vimeo/psalm/issues/11107

PHP-CS-Fixer remains in PHP 8.3 as it is still not fully compatible https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8300


Issue PIX-825 - Add validation to groups

Fixes PIX-825 #154

If NOT enabled, we shouldn't show the error message:

Also fixed the logic of showing errors as indicated in the previous PR

Items aren't validated when reloading the page, but I'll create a separate issue for that.

LGTM


Fix Spark 3.4 build

This PR moves the PartitionedFileUtils to a shim to handle the introduction of SparkPath and adds toString() when calling filePath on a PartitionedFile object
Signed-off-by: Raza Jafri<EMAIL_ADDRESS>

build

Similar with this: https://github.com/NVIDIA/spark-rapids/pull/7635

build

@jlowe can you PTAL once more?

build


Update _grid.scss

See https://github.com/getglad/inky/commit/25c4441db9d7d232071d331060107a75b74300b6
Partially resolves https://github.com/zurb/foundation-emails/issues/308
Happy to answer any questions

Thanks for the PR! How does adding the extra class solve the problem? Is the redundancy of the classes the solution? We'd love to understand this better!

The real improvement is in Inky (https://github.com/zurb/inky/pull/34) - realizing now that I didn't link directly to that PR.
The naming convention may not be the best/clearest, but I didn't want to submit a PR to Inky that could end up being a breaking change to folks' existing templates. So instead I created a second/similar element that would allow for the additional rows and avoid reusing element names.
This addition to the the grid file is just to keep the styles applied uniformly to both types of elements, so that a table with multiple rows inside of it acts like a table with only one row inside of it. If I get some time, I can upload a screen shot of my new component with and without the styles applied.


Upgrade to akka 2.6.6+ (with shaded protobuf 3.11)

Upgrade to an Akka with https://github.com/akka/akka/pull/29014. Test with native-image. Remove the protobuf 3.9 downgrade, overrides, and snapshots resolver. (see discussion)

Will be useful to test this before changes are merged into Akka and released.

Test locally published https://github.com/akka/akka/pull/29014 with these changes and native image building and tck all look fine.


Variables in Kotlin: Android Basics with Compose

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-variables?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-1-pathway-1%3F_gl%3D1*1inc3fm*_up*MQ..%26gclid%3DCj0KCQjw3ZayBhDRARIsAPWzx8pgRsgq9VzkWgzPLcntA4BjRYCHSc1rPyH5eQcFxvnDr2D1T6hUZ-4aAl9UEALw_wcB%26gclsrc%3Daw.ds%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-variables&_gl=1*1inc3fm*_up*MQ..&gclid=Cj0KCQjw3ZayBhDRARIsAPWzx8pgRsgq9VzkWgzPLcntA4BjRYCHSc1rPyH5eQcFxvnDr2D1T6hUZ-4aAl9UEALw_wcB&gclsrc=aw.ds#2
In which task and step of the codelab can this issue be found?
task 4 step 2 of the codelab.
Describe the problem
wherever it says "Note" or "Warning" some of the text is in different color;
which make it impossible to read.
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

Thank you for your help
On Fri, May 17, 2024, 11:19 AM John Shea @.***> wrote:

Hi @okmpatel https://github.com/okmpatel
Thank you for writing in regarding this issue.
Try turning off "Dark Mode" from the top menu bar.
This is a temporary fix until it is fixed properly.
The appropriate team has already been notified.
Hope you are enjoying the course.
Regards.
—
Reply to this email directly, view it on GitHub
https://github.com/google-developer-training/basic-android-kotlin-compose-birthday-card-app/issues/693#issuecomment-2117830769,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A36RSVENJH65UIH33J66OETZCYNZRAVCNFSM6AAAAABH3CSIIWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJXHAZTANZWHE
.
You are receiving this because you were mentioned.Message ID:
<google-developer-training/basic-android-kotlin-compose-birthday-card-app/issues/693/2117830769
@github.com>


Optimize Optimize implement the new query interface

Proposed changes

Optimize term query interface https://github.com/apache/doris-thirdparty/pull/113

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.65 seconds
stream load tsv:          538 seconds loaded<PHONE_NUMBER>9 Bytes, about 132 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.2 seconds inserted 10000000 Rows, about 342K ops/s
storage size:<PHONE_NUMBER>3 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.82 seconds
stream load tsv:          538 seconds loaded<PHONE_NUMBER>9 Bytes, about 132 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          29.3 seconds inserted 10000000 Rows, about 341K ops/s
storage size:<PHONE_NUMBER>6 Bytes

run P1

run p1


Expose ts source code

Hi,
Could you include src in the package so ts users can use that directly?
Thanks.

Thank you for your suggestion, I will add Ts support this week 😁

Appreciate the quick response!

After reading your question, I tested it today, I think I have added support for typescript types before.
Or did I understand what you mean wrong? 😂

The types are good. I was merely asking for including the src folder into the final package. So you don't have to include the separate types, and users can import from proper modules. Currently the pack is in either common js or amd packaging format, which is not ideal.

It's more about packaging really :)


Bash completion working properly with colons in tasks names.

For gh-14
using helpers added in http://anonscm.debian.org/cgit/bash-completion/bash-completion.git/commit/?id=42302658705e3545471f2f4e53c2f758355a2bcc

ping


Update getting-started.md

READ ME PLEASE!
TL;DR: Make sure to add your changes to versioned docs
Thanks for opening a PR!
The docs cover several versions of react-navigation, and in some cases there are several files (for version 1, version 2 and etc.) that all describe a single page of the docs (eg. "Getting Started").
Please make sure that the edit you're making in docs/file-you-edited.md is also included in the file for the correct version, eg. website/versioned_docs/version-3.x/file-you-edited.md for version 3. If such file doesn't exist, please create it. :+1:

Thanks for the PR. This is mentioned in the latest docs.

Ok great!  Cheers !


Product page shows duplicate topics

Example:
https://www.etesters.com/product/8E840F11-0069-1F4E-A02D-39AE20D8FA0D/
Optical Fiber shows twice.

Please explain how this is related to the development of imgscalr.

This issue was posted to a private repo, I have no idea how it also appears here.  I apologize for any inconvenience.


Add version to core

Many projects inspect the version of the inmanta-core package. A non-exhaustive list:

vscode-inmanta: inmantals.server and tests/test_smoke.py
pytest-inmanta-lsm: tests
pytest-inmanta: tests and inmanta/pytest-inmanta#396

Many Python packages use their root __init__.py to expose a __version__ name that contains the current version. Considering how often we need it, I think it would be best to introduce this in inmanta-core so we don't have to rely on pkg_resources.get_distribution for this.

[ ] add version
[ ] make sure it gets bumped correctly by bumpversion, release tool, merge tool, ...

Discussed in planning meeting: approved


STORY: Validate control technologies for hourly apportioned emissions

User Story
As a user I want to be able to enter valid filter criteria for control technologies so that I can see results
Dev Tasks

[x] Create an entity for control_code
[x] Ensure enums match entries in control_code
[x] Create a custom decorator to validate
[x] Add decorator to DTO

Acceptance Criteria
Given that a user has entered invalid filter criteria for control technologies
When the API endpoint is executed
Then the system displays the error message FV-3
Testing
Test Case: TC71
Tester: @davidkwartler

https://cvpcorp.testquality.com requirement R18. Do not remove or edit.

Submitted Pull Request:

Created an entity for control_code
Fixed formatting of control-technology enum
Created a custom decorator to validate control technologies (IsControlTechnology)
Added the custom decorator to DTO with custom message (FV-3)

Submitted Pull Request:

Created an entity for control_code
Fixed formatting of control-technology enum
Created a custom decorator to validate control technologies (IsControlTechnology)
Added the custom decorator to DTO with custom message (FV-3)

TC71 passed

TC71 passed


[DevTools] Firefox 79 updates

Story
As a web developer, I want to know how to use the latest Firefox Developer Tools, so that I can develop and debug apps and websites properly using the latest tools.
Acceptance criteria
The following bugs are dev-doc-complete, an entry to Firefox release notes is added, experimental features page is updated, and the content has been reviewed as needed.

[x] Switch to lazily turning a11y services on/off when using accessibility panel.

[ ] Style blocked network messages in Console

[ ] Consider 4XX and 5XX requests as Error and display them even if the Request/XHR filters are disabled

[ ] Merge Message panel with the response panel

[x] Add Back and Forward navigation

[ ] Support mobile swipe/drag gestures in RDM

Note: Bugs referenced for updating the What's New panel in Firefox 79: https://bugzilla.mozilla.org/showdependencytree.cgi?id=1646983&hide_resolved=0

@jmswisher please estimate this issue and indicate which task would be good for your yari test session.

Awaiting instructions for the Yari test, in order to know what would be a good task for it.

Split out the Debugger DDNs to make this a smaller US.

Item 1: Updated Accessing the Accessibility Inspector to include the information in the bug.

Item 5: Updated screenshot and text for Back and Forward buttons in Connecting to a remote device section.

Item 4: Updated screenshots and descriptions in Inspecting web sockets. Also deleted section for Messages tab, and merged its content into Response tab section of the Request Details article.

Item 6: Added mention of drag events under "Enable/Disable touch simulation" in the Controlling Responsive Design Mode section. Also, general copy-editing and clean-up of this article.

@jmswisher I added some thoughts on how to document inline error preview: https://bugzilla.mozilla.org/show_bug.cgi?id=1581708#c5

Adding https://bugzilla.mozilla.org/show_bug.cgi?id=1645748 which is also marked ddn for the Fx79 cycle.

Item 3: Added a paragraph about this to the Filtering by category section of Console Messages.

Item 2: Added blocked icon to the intro description of Console messages

Item 7: Updated the description about the Headers tab of the request details.

Looks all done to me. Thank you, Janet! :+1:


Artifact URLs for BC 15.2

Hi, one question.
We are currently using 15.2. The new artifacts are available from 15.4 and on.
How long old Images will be supported?
Thanks!

15.2 are available as onprem artifacts (-type onprem)
Are you saying that your online tenant is still on 15.2?
We will keep the existing images for quite some time, we are just not building new ones.

yes, you are right. with the option OnPrem can I see them all! Thanks!


MockFileSystem doesn't handle FileMode.Truncate as expected

Using System.IO.Abstractions.TestingHelpers <IP_ADDRESS>
FileStream.Create with FileMode.Truncate doesn't correctly truncate existing files. If the new content written to the file is smaller than the old content, the smaller content will overwrite the begining of the file, but then the old content will remain.
Example:
            using (var stream = fileSystem.FileStream.Create("c:\\t\\test", FileMode.Create, FileAccess.Write))
            {
                using (var writer = new StreamWriter(stream))
                {
                    writer.Write("test1234TEST5678");
                }
            }

            using (var stream = fileSystem.FileStream.Create("c:\\t\\test", FileMode.Truncate, FileAccess.Write))
            {
                using (var writer = new StreamWriter(stream))
                {
                    writer.Write("ab");
                }
            }

            fileSystem.File.ReadAllLines("c:\\t\\test").Should().Equal("ab");

If fileSystem = new FileSystem(), then the test passes.
But if fileSystem = new MockFileSystem(), then the test fails because the file contents is: abst1234TEST5678 (first 2 characters overwritten, followed by characters from the original file that shouldn't be there anymore)

I made a first attempt to fix this in #358, but I'm not familiar with Truncate mode so my concern is there are other behavior differences this naive, first implementation is missing.


Routing of effects as a graph

Some notes on implementing a future effect graph
See the pages 351-352. It has an example of using it for routing.
This need the effects buffer, mixer and the buses auxN.

a buffer serves to send its input to a designated destination bus

buffer_source names the input. It is set to 0 to indicate the buffer effect's input signal
buffer_destination names a bus (eg. auxN) where to add the source signal

a mixer serves to add signals from a pair of buses

source_1 typically 0, it indicates the mixer effect's input signal
source_2 a secondary bus to add in the signal (eg. auxN)

To implement this, we need to compute an order over all effects.
It's a dependency graph, and needs computation once after the sfz load.
The purpose is to compute the chains which produce auxN (buffer) prior to computing another effect that requires it (mixer).

Idea: introduce some additional I/O ports to the Sfizz plugin.
If we extend this model to designate inN / outN as buses mapped to extra plugin ports, we can have some abilities

to use Sfizz as an effect processor only (effect bus receives inN, writes outN)
to route distinct effect chains into distinct audio ports

One could imagine an example like the following, which routes signal unchanged into the 2nd stereo output.
<effect>
bus=fx2
fx2tomain=0
type=buffer
buffer_source=0
buffer_destination=out2

Maybe bus=out2 as a simplified way of writing?

So your suggesting the final example could be written using new opcodes:
<effect>
bus=out2

Yes, that would be the idea. This wouldn't have an equivalent simplified form for input though.
Implementation-wise, this would not make it a big difference.
This still sticks reasonably to the Cakewalk effect specification + the book addition.

Yeah I had something similar in mind in order to transparently handle both the multiple output cases and the effect inserts.


A little suggestion about naming the versions.

U can try the Semantic Versioning to name the versions. Reasons are all in the link.

I believe we are already using it. It's still in an early developing stage and we just published a couple of versions on npm. Thanks for the advice!


build: incorporate size budget into build

[ ] Define what threshold we want for budgets (per component?)
[ ] Define the process for adjustments to size budgets
[ ] Break build if component size budget is exceeded in CI

This has been demoted in priority. Closing for now. Possible revisit.


✨ Enable Traefik to use SSL when having Cloudflare as DNS Provider

This PR will enable Traefik to also support HTTPS when the Domain is managed by Cloudflare. If the Enviroment Variable is not set it will work on any other DNS Provider.
Updated Deployment.md also to clarify how to use it,

Please Close PR. Found some issues that wont Work in your Environment.


Licensing?

There's not a license file in this repo?  Suggest an opensource permissive license, such as MIT or FreeBSD.

notices LICENSE-APACHE and LICENSE-MIT *

I guess that applies to all the code in the repo?  Some projects have it in each source file.


sqlx says that the database returned an error on a query, but the query runs fine in the database

Bug Description
sqlx cannot compile basic queries like SELECT * FROM information_schema.tables for the streaming database Materialize. However, it can compile Materialize-specific syntax like CREATE CLUSTER ....
Specifically, sqlx complains with error returned from database: Expected SELECT, VALUES, or a subquery in the query body, found identifier "verbose". When I run the same query in the database, it returns the expected results.
I understand that Materialize does not completely implement Postgres and that sqlx can't claim to support Materialize, but this message makes me think that the error that sqlx shows is not accurate (since the database is happy with the query), and that it should at least be more specific.
Minimal Reproduction
Running Materialize locally with DATABASE_URL=postgres://materialize@localhost:6875/materialize in the .env file.
sqlx::query!("SELECT * FROM information_schema.tables")
    .execute(&dbpool)
    .await
    .unwrap();

Info

SQLx version: sqlx-cli 0.6.3
SQLx features enabled: sqlx = { version = "0.6", features = [ "offline", "postgres", "runtime-tokio-native-tls" ] }
Database server and version: Materialize (Postgres) v0.26.4
Operating system: Linux ip-172-31-24-188 5.19.0-1022-aws #23~22.04.1-Ubuntu SMP Fri Mar 17 15:38:24 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
rustc --version: rustc 1.68.0 (2c8cc3432 2023-03-06) (built from a source tarball)

From the Materialize team (https://materializecommunity.slack.com/archives/C015KDVS7EV/p1684354996310519?thread_ts=1684352200.283219&cid=C015KDVS7EV):

The fundamental issue here is that sqlx is doing an EXPLAIN VERBOSE at build-time to typecheck the query, and of course Materialize's EXPLAIN syntax differs from Postgres' (most notably, as highlighted in the error above, we don't support the VERBOSE flag)
See https://docs.rs/sqlx/latest/sqlx/macro.query.html#force-nullable for details:

In Postgres, we patch up this inference by analyzing EXPLAIN VERBOSE output (which is not well documented, is highly dependent on the query plan that Postgres generates, and may differ between releases) to find columns that are the result of left/right/full outer joins. This analysis errs on the side of producing false positives (marking columns nullable that are not in practice) but there are likely edge cases that it does not cover yet.

Turns out this is fixed by https://github.com/launchbadge/sqlx/pull/2282


Password revealed if migration step fails

Umzug version 3.2.1
If a migration step fails, the output log includes the password passed to the database connection in clear text. Here is an example of the outputted log for a failed step (using pino as log engine). The password appears at the keypath: reason.migration.sequelize.config
{
    "level": 50,
    "time":<PHONE_NUMBER>655,
    "pid": 26,
    "hostname": "495862716fb1",
    "name": "name",
    "promise": {},
    "reason": {
        "cause": {
            "name": "SequelizeDatabaseError",
            "original": {
              ...
            },
            "parameters": {},
            "parent": {
               ...
            },
            "sql": "..."
        },
        "jse_cause": {
            "name": "SequelizeDatabaseError",
            "original": {
             ...
            },
            "parameters": {},
            "parent": {
                ...
            },
            "sql": "..."
        },
        "migration": {
            "context": {
                "queryGenerator": {
                    "_dialect": {
                        "connectionManager": "[Object]",
                        "queryGenerator": "[Circular]",
                        "queryInterface": "[Circular]",
                        "sequelize": "[Object]"
                    },
                    "dialect": "postgres",
                    "options": {
                        "attributeBehavior": "throw",
                        "benchmark": false,
                        "databaseVersion": "9.6.23",
                        "define": {},
                        "dialect": "postgres",
                        "dialectModule": null,
                        "dialectModulePath": null,
                        "dialectOptions": "[Object]",
                        "hooks": {},
                        "host": "myhost",
                        "isolationLevel": null,
                        "logQueryParameters": false,
                        "logging": false,
                        "minifyAliases": false,
                        "native": false,
                        "omitNull": false,
                        "pool": "[Object]",
                        "port": "5432",
                        "protocol": "tcp",
                        "query": {},
                        "quoteIdentifiers": true,
                        "replication": false,
                        "retry": "[Object]",
                        "standardConformingStrings": true,
                        "sync": {},
                        "timezone": "+00:00",
                        "transactionType": "DEFERRED",
                        "typeValidation": false
                    },
                    "sequelize": {
                        "config": "[Object]",
                        "connectionManager": "[Object]",
                        "dialect": "[Object]",
                        "modelManager": "[Object]",
                        "models": "[Object]",
                        "options": "[Object]",
                        "queryInterface": "[Circular]"
                    }
                },
                "sequelize": {
                    "config": {
                        "database": "database",
                        "dialectModule": null,
                        "dialectModulePath": null,
                        "dialectOptions": "[Object]",
                        "host": "xxxxx",
                        "native": false,
                        "password": "shouldbescrambledorsomething",
                        "pool": "[Object]",
                        "port": "5432",
                        "protocol": "tcp",
                        "replication": false,
                        "username": "username"
                    },
                    "connectionManager": {
                        "config": "[Object]",
                        "dialect": "[Object]",
                        "dialectName": "postgres",
                        "enumOids": "[Object]",
                        "lib": "[Object]",
                        "nameOidMap": "[Object]",
                        "oidParserMap": {},
                        "pool": "[Object]",
                        "sequelize": "[Circular]",
                        "versionPromise": null
                    },
                    "dialect": {
                        "connectionManager": "[Object]",
                        "queryGenerator": "[Object]",
                        "queryInterface": "[Circular]",
                        "sequelize": "[Circular]"
                    },
                    "modelManager": {
                        "models": "[Array]",
                        "sequelize": "[Circular]"
                    },
                    "models": {},
                    "options": {
                        "attributeBehavior": "throw",
                        "benchmark": false,
                        "databaseVersion": "9.6.23",
                        "define": {},
                        "dialect": "postgres",
                        "dialectModule": null,
                        "dialectModulePath": null,
                        "dialectOptions": "[Object]",
                        "hooks": {},
                        "host": "myhost",
                        "isolationLevel": null,
                        "logQueryParameters": false,
                        "logging": false,
                        "minifyAliases": false,
                        "native": false,
                        "omitNull": false,
                        "pool": "[Object]",
                        "port": "5432",
                        "protocol": "tcp",
                        "query": {},
                        "quoteIdentifiers": true,
                        "replication": false,
                        "retry": "[Object]",
                        "standardConformingStrings": true,
                        "sync": {},
                        "timezone": "+00:00",
                        "transactionType": "DEFERRED",
                        "typeValidation": false
                    },
                    "queryInterface": "[Circular]"
                }
            },
            "direction": "up",
            "name": "migrationstep..."
        },
        "name": "MigrationError"
    },
    "msg": "Unhandled Rejection at: Promise"
}

IMO this should be filed with sequelize. Umzug is just logging the context that's passed to it. You can repro the same problem just by doing console.log(new Sequelize('db', 'username', 'shouldbescrambled', {dialect: 'sqlite', host: 'localhost'})).
If you have an idea of how umzug could prevent this without over-reaching into sequelize territory, let me know and I can reopen.

Ok, but this repo is part of the Sequelize org right? I reported it here since the issue appears when using Umzug...

Yes, by "overreaching into sequelize territory" I meant the sequelize library/repo itself. I agree with you it should be addressed, but I think the best place to change some code to address it is at https://github.com/sequelize/sequelize rather than here. So please do file an issue there!

The thing is that for situations like these Github offers the "transfer issue" functionality. That would show that you actually take ownership... it is after all a security issue that can have serious consequences.

I only have permissions on this repo so I don't think I can do that myself. @WikiRik may be able to. Although it would probably need to be completely reworded too, to simplify the repro to something more like https://github.com/sequelize/umzug/issues/599#issuecomment-1793292016

Will take a look at this. I can transfer issues, but I would normally recommend opening a new one since we use a different issue template on the sequelize repo. It's on my list either way


Conditionally require metadata on the JSON Schema Form

This PR accompanies #96 to ensure that all the required metadata is passed to DANDI for #86.
It allows you to define a function instead of a boolean as a value on the external required object, making those key/value pairs "conditionally" required.
It introduces a warning notification to distinguish conditional requirements from standard requirements.

Merging this into #96, would still merge #101 in first I believe


Enable Accounting by Default on SGE

Docs: http://docs.oracle.com/cd/E19957-01/820-0698/esqgq/index.html
This is how I enable:
   SGE_ROOT=/opt/sge SGE_SINGLE_LINE=1 /opt/sge/bin/lx-amd64/qconf -sconf > /tmp/global
   sed -i "s/reporting=false/reporting=true/g" /tmp/global
   sed -i "s/joblog=false/joblog=true/g" /tmp/global
   SGE_ROOT=/opt/sge /opt/sge/bin/lx-amd64/qconf -Mconf /tmp/global

Posted to: https://github.com/awslabs/cfncluster-cookbook/issues/15

Because we have announced that we will be deprecating SGE in the near-future (see: https://github.com/aws/aws-parallelcluster/wiki/Deprecation-of-SGE-and-Torque-in-ParallelCluster), we will not be performing additional feature development specific to SGE.
I am going to close this issue. If you would like to request a similar enhancement for one of our other supported schedulers (Slurm or AWS Batch), please feel free to create a new issue.


Fontlist fails

Hi,
im using tesseract 3.05.00dev on windows CMD, i was able to create .tif files and .box file when i run the command for a single font, yet when i try to create fontlist  an error is generated for every font, the error message is Font Arial failed with 7909 hits = 17.73% and there is an error message for every font with the same description, the command that i use is text2image --text=testtxt.txt --outputbase=eng --fonts_dir=C:\Tesseract\Tesseract-OCR3.03\test_fonts --find_fonts --min_coverage=1.0 --render_per_font=false --fontconfig_tmpdir=C:\Tesseract\Tesseract-OCR3.03 notice in the in the folder test_fonts there is only 5 fonts which all support English  and i changed the coverage but the error is the same even if the coverage is 17 the error is changed but still there is an error, i created a text file by notepad and saved it UTF8 but the case is the same, how can i solve this problem?
Thanks

HI,
I don't think there is a bug here. The right place to ask questions is our forum.


'placeholder' can't be found error on Chrome

I'm using angular#1.3.15, angular-ui-select#0.11.2. When using the html setup shown below on Chrome (also happens on Firefox), I'm getting the following error:
Error: [$compile:ctreq] Controller 'ngModel', required by directive 'placeholder', can't be found!
My html setup looks like:
    <ui-select ng-model="data.selectedSet"
                style="min-width: 100px;"
                title="Choose a person">
        <ui-select-match placeholder="Select a set in the list">
            {{$select.selected.set_name}}
        </ui-select-match>
        <ui-select-choices repeat="set in pzSets | filter: {name: $select.search}">

        </ui-select-choices>
    </ui-select>

Any help will be appreciated.

I figure out the issue. Seems like it is conflicting with another component 'angular-placeholder-tai'.


node_modules folder notfound

Did you run npm install inside the CoreUI project you selected?

I also don't quite understand how to get all node_modules quickly. The packages.json file does not specify the dependencies, so an npm install run only creates an empty node_modules directory.

gulp serve will build the rest of the project dependancies.

run npm install that should do the magic


Fix SocketCAN driver includes

bits/socket.h should never be included directly, and only sys/socket.h must be used (which is already included).
This change fixes build with musl libc.

Thank you for the contribution. I have tested without bits/socket.h and it works fine here.
On what platform are you using the musl libc?

You're welcome.
I am using it on a Xilinx Zynq running Linux built with a custom toolchain.


docs(security): added security.md file

Codecov Report

Merging #239 (7141893) into master (9633a01) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #239   +/-   ##
=======================================
  Coverage   62.40%   62.40%
=======================================
  Files          58       58
  Lines        2865     2865
  Branches      583      583
=======================================
  Hits         1788     1788
  Misses        942      942
  Partials      135      135

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9633a01...7141893. Read the comment docs.


if the game lags during dialogue the song vocals become crackly

Describe your bug here.
Upon first playing a story week with dialogue in it, the song vocals are messed up
HOW TO REPRODUCE:
open the game
immediately play a story week with dialogue
...
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build?


Fail when exporting all collections

When I run the program one collection at a time, it works.
But, when I run it with all collections exported trough Firebase and stored in GCP Storage in a folder under the name all_namespaces > all_kinds it fails.
I means the program run correctly, json files are created. But all json files are the same, all are equivalent to my first collection in Firebase.

I haven't tested it with multiple collections export. I will try and fix it when I get some time. In the meantime feel free to raise a PR if you manage to fix it first.

I'm trying to convert the firebase output-0 file to json
I used this code as u mentioned in the git
fs_to_json source/output-0 -d ~/Documents/firebase-export.json
but i'm getting this error.
Source directory does not exist.


Set route action handler from middleware

Can I set the route action handler (some controller and action or action class) from the middleware?

Yes, you can. You can do something like if the route was not determined:
use Interop\Container\ContainerInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Slim\Route;

class MidTest
{
    private $container;

    public function __construct(ContainerInterface $container)
    {
        $this->container = $container;
    }

    public function __invoke(
        ServerRequestInterface $requestInterface,
        ResponseInterface $response,
        callable $next
    ) {
        /** @var Route $route */
        $route = $this->container->get('router')->getNamedRoute('routeName');
        $route->setCallable('new callable here');

        return $next($requestInterface, $response);
    }
}

And set the route name like:
use \Slim\Http\Request;
use \Slim\Http\Response;

$app->add('\App\Middleware\MidTest');

$app->get('/', function (Request $request, Response $response, $args) {
    //something
})->setName('routeName');

If the route is determined, you can get the actual route from middleware with:
 /** @var Route $route */
$route = $request->getAttribute('route');
$route->setCallable('new callable here');

Looks like this is resolved; going to close.

Very well resolved. Thx! Please, tell me if creating a question in StackOverflow to document this would be nice.


Add support to allow ctor with sigs (java.lang.String,azkaban.utils.Props,azkaban.utils.Props,org.apache.log4j.Logger) in HadoopJavaJobRunnerMain

Some jobtypes require this additional signature.

@djaiswal83 what is ctor? Can you elaborate more on the motivation of this PR?

Thanks for the review.


Delay between pick and showImagePicker callback

Hi,
There is a 5 second delay between when I select an image to when the ImagePicker.showImagePicker callback is fired. Is this the expected behaviour?
If so, is there any way I can fire a method at the point the image is selected so that I can show a loading message?
Any help appreciated, thanks

You should set noData: true or lower the quality/maxWidth/maxHeight options to get better performance. The delay is due to sending a giant base64 encoded string over the React Native bridge.

Thank you! That helped allot

Hi! Now there are like 2 sec delay after picture selection. Can we have event "beforeSelect" just right after user click?

Seeing the same delay, roughly 2 seconds, even with:
mediaType: 'photo',
maxWidth: 800,
maxHeight: 600,
quality: 0.5,

Same issue


Question :　why  no update all plugins on new version !

I found  plugin directory ; some plugin update a big version (eg: 2.4.4 > 2.5.2 );
new version plugin should be repair minor error and provide effective ??
Thanks ;

The accompanying plugins are just examples. Real-world applications should have separate and template-independent package and asset management according to the language/framework you use. When done right, plugins will integrate seamlessly into AdminLTE's interface. Although it would be nice to have the latest plugin versions, practically that should make no difference as they will be overwritten anyway by your system. An exception to this is plugins that need special styles to blend right into the template. The power of AdminLTE is in fact in providing a professional and pleasing skeleton to house your application inside.

thankyou

Some plugins can't be upgraded without affecting the current styling used by AdminLTE. Other, on the other hand, are perfectly fine to upgrade. So, we need to be careful when upgrading to versions of plugins.
On that note, AdminLTE 3.0 will use bower to manage its dependencies. We will fully utilize the power of Bower.


Update the language to meet the changes of pre-commit 4.0.0

Motivation

https://github.com/pre-commit/pre-commit/releases/tag/v4.0.0
The python_venv is an alias of python and removed in pre-commit v4.0.0.

Close since duplicate with https://github.com/PyCQA/docformatter/pull/287


Layer switch

we request you to add vector data layer switch to help in switching different layers on and off

as we discussed, we can seperate Mapbox style for sewer network.

street (water)
street (sewer)
satellite (water)
satellite (sewer)
unvt (combined both water and sewer)

I fixed. I think now style is bit better. please check


Update card distribution to allow for multiple cards sent at once

Do all work for this task in a branch called issue-156
Allow multiple cards to be selected and sent at once to a target user

Improved functionality of the card sending features on Professor and Admin accounts

Can now select and send multiple cards per Submit submission
Enhanced the feedback of selecting cards

Card element itself is now the selectable element instead of the select button
Added additional visual element to selected cards

Card elements on these pages can alternatively be tab-focused and selected by enter key to work with testcafe tests more easily


improving the display of the total KP amount.

Removed the Overall row and instead merged it with the row of the current amount. If folded it will display the total amount and if you unfold the treenode it will display its Kp amount and in braces the total amount.
Also reduced the draws function signature as it seems to be cleaner to just pass the player reference. Also made it a template function to constexpr distinguish between the current and a linked account

Implemented as option within my new systems, thank you for the PR.


Update Wordpress to 6.1.1

The build fails. I think you have the wrong hash: https://github.com/TrafeX/docker-wordpress/actions/runs/4048264721/jobs/6979585725

I'll update the commit with an update to the README and the correct checksum

Thanks @maxdaniel98!


Add Au test for TSSslSecretXxx API functions.

wkaras ~/REPOS/TS/tests/gold_tests/tls/ssl
O$ openssl x509 -in 2050.crt -noout -text
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            2d:99:79:e8:6b:0f:26:f6:40:d6:93:d4:aa:f2:90:61:0b:b1:d7:75
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: C = XX, L = Default City, O = ABC, CN = abc.org
        Validity
            Not Before: Mar 29 19:28:33 2023 GMT
            Not After : Mar 22 19:28:33 2050 GMT
        Subject: C = XX, L = Default City, O = ABC, CN = abc.org
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                RSA Public-Key: (1024 bit)
                Modulus:
                    00:bf:9e:b0:9e:2a:2a:b7:bf:25:7e:ef:e6:4e:e1:
                    a8:d4:93:13:67:39:c7:96:91:da:c1:7e:ab:5f:cf:
                    c1:08:38:28:02:d7:6f:d6:ce:15:a5:23:c6:b0:b9:
                    8b:09:15:83:25:e6:2c:50:d3:eb:e5:16:3b:a3:4e:
                    c6:6f:a6:ff:6a:a9:6b:ad:1c:ee:a1:72:3d:82:13:
                    56:d8:af:4a:7b:41:5a:63:b2:e2:d4:02:d9:56:f3:
                    3e:96:3c:df:66:83:d0:60:55:a9:fb:ac:bf:bb:b8:
                    9e:3e:62:f1:01:69:97:d7:c6:47:17:2e:63:40:4b:
                    8c:a4:c1:6a:c7:21:37:95:f5
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            X509v3 Subject Key Identifier:
                1B:C0:BF:FE:62:75:E5:C2:A6:B6:FE:49:29:C9:F9:22:5F:11:FF:AE
            X509v3 Authority Key Identifier:
                keyid:1B:C0:BF:FE:62:75:E5:C2:A6:B6:FE:49:29:C9:F9:22:5F:11:FF:AE

            X509v3 Basic Constraints: critical
                CA:TRUE
    Signature Algorithm: sha256WithRSAEncryption
         ab:dd:86:24:78:8c:3b:7a:74:b9:c9:fb:93:fa:66:b7:b1:fd:
         13:0b:71:e9:36:e8:88:1e:47:5b:74:41:30:a4:83:fc:6c:10:
         43:61:0d:13:b7:9b:d8:80:e6:af:1e:24:18:29:ad:dc:3c:d9:
         da:e1:b8:c9:22:ca:da:b3:5c:38:53:4b:61:e9:1c:7e:65:bb:
         21:b8:d2:af:c8:4c:da:26:80:66:84:0c:30:73:e1:e9:73:95:
         2b:dc:a9:40:8d:c7:aa:d1:b1:67:f0:ed:0b:c2:fc:32:33:04:
         11:b7:08:9e:79:0a:0a:23:09:52:0c:ec:58:af:e4:c1:75:d6:
         9d:bc
wkaras ~/REPOS/TS/tests/gold_tests/tls/ssl
O$ openssl x509 -in 2060.crt -noout -text
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            01:33:fd:8a:78:a1:56:26:49:73:3c:1c:4b:6e:e3:eb:88:51:a2:09
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: C = XX, L = Default City, O = ABC, CN = abc.org
        Validity
            Not Before: Mar 29 19:29:15 2023 GMT
            Not After : Mar 19 19:29:15 2060 GMT
        Subject: C = XX, L = Default City, O = ABC, CN = abc.org
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                RSA Public-Key: (1024 bit)
                Modulus:
                    00:bf:9e:b0:9e:2a:2a:b7:bf:25:7e:ef:e6:4e:e1:
                    a8:d4:93:13:67:39:c7:96:91:da:c1:7e:ab:5f:cf:
                    c1:08:38:28:02:d7:6f:d6:ce:15:a5:23:c6:b0:b9:
                    8b:09:15:83:25:e6:2c:50:d3:eb:e5:16:3b:a3:4e:
                    c6:6f:a6:ff:6a:a9:6b:ad:1c:ee:a1:72:3d:82:13:
                    56:d8:af:4a:7b:41:5a:63:b2:e2:d4:02:d9:56:f3:
                    3e:96:3c:df:66:83:d0:60:55:a9:fb:ac:bf:bb:b8:
                    9e:3e:62:f1:01:69:97:d7:c6:47:17:2e:63:40:4b:
                    8c:a4:c1:6a:c7:21:37:95:f5
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            X509v3 Subject Key Identifier:
                1B:C0:BF:FE:62:75:E5:C2:A6:B6:FE:49:29:C9:F9:22:5F:11:FF:AE
            X509v3 Authority Key Identifier:
                keyid:1B:C0:BF:FE:62:75:E5:C2:A6:B6:FE:49:29:C9:F9:22:5F:11:FF:AE

            X509v3 Basic Constraints: critical
                CA:TRUE
    Signature Algorithm: sha256WithRSAEncryption
         51:c3:48:63:71:c7:ba:b5:11:52:7e:d3:26:e9:6e:a3:f0:6f:
         ac:fd:c7:a8:b2:cb:cb:e5:0a:97:18:92:58:9c:8b:ec:59:f8:
         a7:a1:a6:51:25:a1:72:a0:46:1d:80:79:0c:a1:99:2b:91:dc:
         bd:f6:8d:30:29:f5:e1:a9:6a:ae:0a:6d:9a:05:50:e3:ce:17:
         2a:66:0b:a9:bc:c4:f3:b4:db:e9:8d:9f:c7:a3:34:42:bd:45:
         36:83:bf:5a:a2:98:b8:40:ff:4e:7f:3d:e0:90:aa:9c:5c:a0:
         82:82:7f:10:e1:82:e8:61:1c:44:af:c9:c0:f0:c5:ac:ee:fd:
         58:80
wkaras ~/REPOS/TS/tests/gold_tests/tls/ssl
O$

[approve ci autest]

[approve ci fedora]

[approve ci centos]

[approve ci autest]

[approve ci autest]


Longbow.BootstrapBlazorUITemplate vs 2021 extension

Hi @ArgoZhang,
I tried to use the .visx estension in Visual Studio 2021 but it only works with 2019 which I no longer install.
Is it possible to update the extension or provide a way to get this working in VS2021 please
This is the extension I am trying to use
https://marketplace.visualstudio.com/items?itemName=Longbow.BootstrapBlazorUITemplate
I am also curious if this is using the latest bootstrap or still back on the previos bootstrap version

@pomeara hi. are you sure vs2021? I think that should be vs2022. you will find what you want at the following link
https://marketplace.visualstudio.com/items?itemName=Longbow.BootstrapBlazorUITemplate2022


[Python] Make it easier to run Python tests in CI

Problem
Not all tests requires a high level isolation/simulation using cirque.
Change overview
Update Python test scripts to make it possible to run it using a simple script.
Testing
CI updated

Fast tracking given this has had enough time for review.


Lathes have screen animations that are hidden by thier non-animated glow layer

Description

The proto/auto lathe animations also animate the little screens on their sprites, but you never see it in-game because the screen background glow is placed over it. This is likely an oversight made while porting them from ss13.
Screenshots

Currently the screens on all four lathes remain blank weather idle or while building.

The screen is supposed to animate while building but its always hidden by the non-animated unlit texture for each lathe.

ive been aware of this for ages but ive been too lazy  to go do it :P
guess ill do it now


Client side binding is not being escaped into server timezone

Something that I reckon when migrating from clickhouse-driver to clickhouse-connect that the datetime implementation is changed and hence the same query and paramenters yield different results. The difference is caused by the fact that clickhouse-driver replaces timezone instead of converting. Is this intended and can I have a list of breaking changes so that I didn't miss anything changes while migrating?
https://github.com/ClickHouse/clickhouse-connect/blob/0b1190942f1d13227f2d0f8f5cee9dbeefe2c0cb/clickhouse_connect/driver/query.py#L395
https://github.com/mymarilyn/clickhouse-driver/blob/db3dca27bd09a1966981f4c0b43835c117ebd1e1/clickhouse_driver/util/escape.py#L27C14-L27C14

Thanks for the report!
Defining the "correct" behavior with timezones is always tricky, but I think this is just a bug.  I'll release a fix.  (Of course, my recommendation is always to keep all datetime values and servers in UTC, and only convert to a local timezone when displaying to the user in a UI).
No other inconsistencies with clickhouse-driver have been reported, but that's a separate project and not maintained by ClickHouse Inc., so we have never validated that both drivers behave exactly the same.   That said, in general I think most things are handled the same, although it would not surprise me if there were some differences in Numpy/Pandas datatypes since those are quite convoluted.


WFLY-6327 NPE when handling request with fine-granularity and REPL cache settings

https://issues.jboss.org/browse/WFLY-6327

Linux Build 9592 outcome was FAILURE using a merge of 4fa6b851e4b5f63357c6b5732765000b48e22cec
Summary: Tests failed: 1 (1 new), passed: 3309, ignored: 194 Build time: 00:56:13
Failed tests
org.jboss.as.test.integration.messaging.mgmt.JMSQueueManagementTestCase.testMessageMovement: java.lang.AssertionError: expected:<2> but was:<0>
	at org.jboss.as.test.integration.messaging.mgmt.JMSQueueManagementTestCase.testMessageMovement(JMSQueueManagementTestCase.java:258)
------- Stdout: -------
 [0m02:45:35,435 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 6) AMQ221003: trying to deploy queue jms.queue.JMSQueueManagementTestCase1457574334193
 [0m02:45:35,440 INFO  [org.jboss.as.test.integration.common.jms.JMSOperationsProvider] (main) Operation successful for update = {
    "operation" => "add",
    "address" => [
        ("subsystem" => "messaging-activemq"),
        ("server" => "default"),
        ("jms-queue" => "JMSQueueManagementTestCase1457574334193")
    ],
    "entries" => ["java:jboss/exported/queue/JMSQueueManagementTestCase1457574334193"]
}
 [0m02:45:35,444 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 6) AMQ221003: trying to deploy queue jms.queue.JMSQueueManagementTestCaseother1457574334193
 [0m02:45:35,450 INFO  [org.jboss.as.test.integration.common.jms.JMSOperationsProvider] (main) Operation successful for update = {
    "operation" => "add",
    "address" => [
        ("subsystem" => "messaging-activemq"),
        ("server" => "default"),
        ("jms-queue" => "JMSQueueManagementTestCaseother1457574334193")
    ],
    "entries" => ["java:jboss/exported/queue/JMSQueueManagementTestCaseother1457574334193"]
}
02:45:35,561 INFO  [org.jboss.as.test.integration.common.jms.JMSOperationsProvider] (main) Operation successful for update = {
    "operation" => "remove",
    "address" => [
        ("subsystem" => "messaging-activemq"),
        ("server" => "default"),
        ("jms-queue" => "JMSQueueManagementTestCase1457574334193")
    ]
}
02:45:35,576 INFO  [org.jboss.as.test.integration.common.jms.JMSOperationsProvider] (main) Operation successful for update = {
    "operation" => "remove",
    "address" => [
        ("subsystem" => "messaging-activemq"),
        ("server" => "default"),
        ("jms-queue" => "JMSQueueManagementTestCaseother1457574334193")
    ]
}

Windows Build 4618 outcome was FAILURE using a merge of 4fa6b851e4b5f63357c6b5732765000b48e22cec
Summary: Tests failed: 1 (1 new), passed: 3297, ignored: 194 Build time: 01:02:48
Failed tests
org.jboss.as.test.clustering.cluster.web.passivation.FineSessionPassivationTestCase(SYNC-tcp).test: java.lang.AssertionError: response doesn't contain header 'result', all response headers = {name=Connection, value=keep-alive}, {name=X-Powered-By, value=Undertow/1}, {name=Set-Cookie, value=JSESSIONID=S9Ve5pWQfqoy2yi6RqeybvO0cnkYf9sfP7M2CHCG.node-0; path=/passivation}, {name=eodvKhuvmUy8WYv9T1i2xVHoaFx418vb8y3MGfGJ, value=PASSIVATION}, {name=Server, value=WildFly/10}, {name=Content-Length, value=0}, {name=jsessionid, value=S9Ve5pWQfqoy2yi6RqeybvO0cnkYf9sfP7M2CHCG}, {name=Date, value=Thu, 10 Mar 2016 02:11:26 GMT},
	at org.jboss.as.test.clustering.cluster.web.passivation.SessionPassivationTestCase.getRequiredHeaderValue(SessionPassivationTestCase.java:207)
	at org.jboss.as.test.clustering.cluster.web.passivation.SessionPassivationTestCase.test(SessionPassivationTestCase.java:153)
------- Stdout: -------
03:11:25,719 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Starting deployment=NONE, container=container-0
03:11:25,720 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Starting deployment=NONE, container=container-1
03:11:25,720 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Deploying deployment=deployment-0
03:11:25,730 INFO  [org.jboss.as.repository] (management-handler-thread - 3) WFLYDR0001: Content added at location C:\BuildAgent\work\a31d203e70e89f90\testsuite\integration\clustering\target\wildfly-SYNC-tcp-0\standalone\data\content\34\03a78a518b4ca8a7d7387b11e8879551e02196\content
03:11:25,732 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "passivation.war" (runtime-name: "passivation.war")
03:11:25,786 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 2) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
03:11:25,787 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 2) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
03:11:25,788 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 16) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
03:11:25,788 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 16) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
03:11:25,790 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 72) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
03:11:25,790 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 72) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
03:11:25,797 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 16) WFLYCLINF0002: Started passivation.war cache from web container
03:11:25,800 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 72) WFLYCLINF0002: Started routing cache from web container
03:11:25,821 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 72) WFLYUT0021: Registered web context: /passivation
03:11:25,836 INFO  [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0010: Deployed "passivation.war" (runtime-name : "passivation.war")
03:11:25,842 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Deploying deployment=deployment-1
03:11:25,854 INFO  [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0001: Content added at location C:\BuildAgent\work\a31d203e70e89f90\testsuite\integration\clustering\target\wildfly-SYNC-tcp-1\standalone\data\content\34\03a78a518b4ca8a7d7387b11e8879551e02196\content
03:11:25,856 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "passivation.war" (runtime-name: "passivation.war")
03:11:25,910 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 29) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
03:11:25,912 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 29) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
03:11:25,913 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 29) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
03:11:25,914 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 72) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
03:11:25,914 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 29) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
03:11:25,914 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 72) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
03:11:25,924 INFO  [org.infinispan.CLUSTER] (remote-thread--p12-t2) ISPN000310: Starting cluster-wide rebalance for cache routing, topology CacheTopology{id=1, rebalanceId=1, currentCH=DefaultConsistentHash{ns=80, owners = (1)[node-0: 80+0]}, pendingCH=DefaultConsistentHash{ns=80, owners = (2)[node-0: 40+40, node-1: 40+40]}, unionCH=null, actualMembers=[node-0, node-1]}
03:11:25,926 INFO  [org.infinispan.CLUSTER] (remote-thread--p12-t2) ISPN000310: Starting cluster-wide rebalance for cache passivation.war, topology CacheTopology{id=1, rebalanceId=1, currentCH=DefaultConsistentHash{ns=80, owners = (1)[node-0: 80+0]}, pendingCH=DefaultConsistentHash{ns=80, owners = (2)[node-0: 40+40, node-1: 40+40]}, unionCH=null, actualMembers=[node-0, node-1]}
03:11:25,946 INFO  [org.infinispan.CLUSTER] (remote-thread--p12-t1) ISPN000336: Finished cluster-wide rebalance for cache routing, topology id = 1
03:11:25,955 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 29) WFLYCLINF0002: Started routing cache from web container
03:11:25,956 INFO  [org.infinispan.CLUSTER] (remote-thread--p12-t2) ISPN000336: Finished cluster-wide rebalance for cache passivation.war, topology id = 1
03:11:25,962 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 72) WFLYCLINF0002: Started passivation.war cache from web container
03:11:25,976 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 29) WFLYUT0021: Registered web context: /passivation
03:11:25,992 INFO  [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0010: Deployed "passivation.war" (runtime-name : "passivation.war")
03:11:26,020 INFO  [stdout] (default task-34) http://[::1]:8080/passivation/listener?operation=set&name=a&value=1;jsessionid=eodvKhuvmUy8WYv9T1i2xVHoaFx418vb8y3MGfGJ

03:11:26,028 INFO  [stdout] (default task-36) http://[::1]:8080/passivation/listener?operation=set&name=a&value=2;jsessionid=Id2k2QEhEJJ85wjrnbcNn4-zSXJlD41n9npG0_FH

03:11:26,047 INFO  [stdout] (default task-30) http://[::1]:8080/passivation/listener?operation=get&name=a;jsessionid=eodvKhuvmUy8WYv9T1i2xVHoaFx418vb8y3MGfGJ

03:11:26,055 INFO  [stdout] (default task-38) http://[::1]:8080/passivation/listener?operation=get&name=a;jsessionid=S9Ve5pWQfqoy2yi6RqeybvO0cnkYf9sfP7M2CHCG

03:11:26,059 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Starting deployment=NONE, container=container-0
03:11:26,060 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Starting deployment=NONE, container=container-1
03:11:26,060 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Undeploying deployment=deployment-0
03:11:26,072 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 72) WFLYUT0022: Unregistered web context: /passivation
03:11:26,078 INFO  [org.infinispan.eviction.impl.PassivationManagerImpl] (ServerService Thread Pool -- 24) ISPN000029: Passivating all entries to disk
03:11:26,079 INFO  [org.infinispan.eviction.impl.PassivationManagerImpl] (ServerService Thread Pool -- 24) ISPN000030: Passivated 2 entries in 1 milliseconds
03:11:26,082 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 24) WFLYCLINF0003: Stopped passivation.war cache from web container

Closing for investigation


Support module at different addresses

You can imagine the same module being deployed at different addresses, for example when working with different networks. As it is now though, createEntryPayload uses the address from the ABI to build the function string (e.g. 0x123::my_module::my_function). It would be nice if createEntryPayload had support for providing a different address, e.g.:
    const data = createEntryPayload(CHESS_ABI, {
      moduleAddress: "0x321",
      function: "make_move",
      typeArguments: [],
      functionArguments: [gameAddress as any, source.x, source.y, target.x, target.y, chessJsPieceTypeToNumber(promotion)],
    });

@banool good point, will try to support that!

gm @SamuelQZQ I'd like to tackle this one. Idea is to build an ABI constructor.
async function buildABI(ABI=[], address="") : ABI;
If empty ABI, builds from address by fetching module data using RESTful API by using the client Node URL.
Substitutes ABI address by provided address.
Built ABI can be used as an argument in .useABI().
Let me know if you have another idea.

@0xPrimata I think add a address params for createEntryPayload, and directly override the address in createEntryPayload could also work.
This approach is used in Wagmi, see here: https://wagmi.sh/react/api/hooks/useReadContract#type-inference
It has a address param.
As for the buildABI solution you mentioned, I'm unsure if I understand it correctly. If buildABI fetches the ABI at runtime, the type system won't recognize the functions in the ABI through code parsing.

@SamuelQZQ can this be closed by #113 or not?

Could you clarify here / in the docs how you can provide the module address?

Magic!! Love to see it.


Update slack badge on openebs/readme.md with users count

Update the slack badge at README.md, to include user information.
The badge can be changed to : https://openebsslacksignup.herokuapp.com/badge.svg
The link can still remain as : https://openebsslacksignup.herokuapp.com/

Can this badge source serve badges with the flat square style? I think that it might look with the other ones. What do you think?

It would good .. to have all the badges support the same style. The slack bagde is being rendered by https://github.com/rauchg/slackin
I am not sure, if it support the flat square style.

I took a look and they don't support it. The font used on the badge is different as well.

https://github.com/rauchg/slackin/pull/103

Seems it's completly broken.(See: #604)

@kmova should i update slack badge with 1/821 users ?.
help please @utkarshmani1997 .


ModuleNotFoundError: No module named 'sahi.model'

I tried running the 'inference.ipynb' file. I made sure the 2 model files were properly downloaded and were in this path: 'utils/models/logo_model'. I ran all the cells and finally ran this cell:
from utils.logodetect import logodetection

model = logodetection()

I ran into this error:
ModuleNotFoundError                       Traceback (most recent call last)
 in
      1 ## Initialise the logodetection model, checkpoints already provided
----> 2 from utils.logodetect import logodetection
      3
      4 model = logodetection()

[/mnt/HDD/Pronisi/LOGO/temp/LOGOS/utils/logodetect.py](https://file+.vscode-resource.vscode-cdn.net/mnt/HDD/Pronisi/LOGO/temp/LOGOS/utils/logodetect.py) in
      1 from unittest import result
      2 import torch
----> 3 from icevision.all import *
      4 import pandas as pd
      5 from icevision.models.checkpoint import model_from_checkpoint

[~/miniconda3/envs/logo/lib/python3.7/site-packages/icevision/__init__.py](https://file+.vscode-resource.vscode-cdn.net/mnt/HDD/Pronisi/LOGO/temp/~/miniconda3/envs/logo/lib/python3.7/site-packages/icevision/__init__.py) in
      5 from icevision.data import *
      6 from icevision import backbones
----> 7 from icevision import models
      8 from icevision.metrics import *
      9 from icevision.visualize import *

[~/miniconda3/envs/logo/lib/python3.7/site-packages/icevision/models/__init__.py](https://file+.vscode-resource.vscode-cdn.net/mnt/HDD/Pronisi/LOGO/temp/~/miniconda3/envs/logo/lib/python3.7/site-packages/icevision/models/__init__.py) in
     30
     31 if SoftDependencies.sahi:
---> 32     from icevision.models import inference_sahi

[~/miniconda3/envs/logo/lib/python3.7/site-packages/icevision/models/inference_sahi.py](https://file+.vscode-resource.vscode-cdn.net/mnt/HDD/Pronisi/LOGO/temp/~/miniconda3/envs/logo/lib/python3.7/site-packages/icevision/models/inference_sahi.py) in
     12
     13
---> 14 from sahi.model import DetectionModel
     15 from sahi.prediction import ObjectPrediction
     16 from sahi.predict import get_sliced_prediction as sahi_get_sliced_prediction

ModuleNotFoundError: No module named 'sahi.model'

I verified the ice vision version I have is the same one mentioned in the readme. Request you to help me out with this issue.

I tried running the 'inference.ipynb' file. I made sure the 2 model files were properly downloaded and were in this path: 'utils/models/logo_model'. I ran all the cells and finally ran this cell:
from utils.logodetect import logodetection

model = logodetection()

I ran into this error:
ModuleNotFoundError                       Traceback (most recent call last)
 in
      1 ## Initialise the logodetection model, checkpoints already provided
----> 2 from utils.logodetect import logodetection
      3
      4 model = logodetection()

[/mnt/HDD/Pronisi/LOGO/temp/LOGOS/utils/logodetect.py](https://file+.vscode-resource.vscode-cdn.net/mnt/HDD/Pronisi/LOGO/temp/LOGOS/utils/logodetect.py) in
      1 from unittest import result
      2 import torch
----> 3 from icevision.all import *
      4 import pandas as pd
      5 from icevision.models.checkpoint import model_from_checkpoint

[~/miniconda3/envs/logo/lib/python3.7/site-packages/icevision/__init__.py](https://file+.vscode-resource.vscode-cdn.net/mnt/HDD/Pronisi/LOGO/temp/~/miniconda3/envs/logo/lib/python3.7/site-packages/icevision/__init__.py) in
      5 from icevision.data import *
      6 from icevision import backbones
----> 7 from icevision import models
      8 from icevision.metrics import *
      9 from icevision.visualize import *

[~/miniconda3/envs/logo/lib/python3.7/site-packages/icevision/models/__init__.py](https://file+.vscode-resource.vscode-cdn.net/mnt/HDD/Pronisi/LOGO/temp/~/miniconda3/envs/logo/lib/python3.7/site-packages/icevision/models/__init__.py) in
     30
     31 if SoftDependencies.sahi:
---> 32     from icevision.models import inference_sahi

[~/miniconda3/envs/logo/lib/python3.7/site-packages/icevision/models/inference_sahi.py](https://file+.vscode-resource.vscode-cdn.net/mnt/HDD/Pronisi/LOGO/temp/~/miniconda3/envs/logo/lib/python3.7/site-packages/icevision/models/inference_sahi.py) in
     12
     13
---> 14 from sahi.model import DetectionModel
     15 from sahi.prediction import ObjectPrediction
     16 from sahi.predict import get_sliced_prediction as sahi_get_sliced_prediction

ModuleNotFoundError: No module named 'sahi.model'

I verified the ice vision version I have is the same one mentioned in the readme. Request you to help me out with this issue.

Using older version of sahi could resolve your problem.
pip install sahi==0.9.4


Add "point towards" zones

Add a feature to the path editor to allow the creation of zones along the path that will force the robot to point towards a given point on the field. The user should be able to select whether the robot should point towards or away from the field position. This should be pretty free from a generation standpoint, as the rotation target of each path point within the zone can be set based on the field position. This functionality could probably be added to constraint zones for simplicity.

Super nice, I think that instead of towards/away, allowing a "towards" offset is the best option. (E.g., shooter and "forward" of robot are 90 degrees apart.)

Would love this feature to be built into the GUI and the follower code.  A further advancement on this would be to have an optional targeting offset feature to allow for shooting on the run ability.  The GUI would need to know the horizontal velocity of the shooter as an input for the targeting zone.  Then when the trajectory follower is in this zone it could calculate the air time for the shot based on the calculated distance from target point.  From this time and the robots current velocity it would know how far the robot is going to travel while the shot is in the air. Which means that you could calculate how far behind the target you need to aim so that the shot would go in while shooting on the run.
Thinking about this, the horizontal shooting velocity to target would probably change with how the shooter changes it angle and or its roller RPM at different distances to target, so it might be better to have the ability to supply a holonomic heading correction supplier to the trajectory follower for use in these zones.
Then while ever the robot is in the "Track to Target Zone" it is constantly polling the "heading correction supplier" for targeting offsets. If no offset supplier was given during the construction of the path follower object, then the holonomic heading to track would simply be the heading to the target from the robots current position.  If a supplier was there to give an offset, then this would be added/subtracted from the calculated heading to target value.
Then teams could write what ever code they wish to calculate the offset required to land a shot on the run based on the robot velocity/ heading information available outside of the path planner follower code.  While all this could be achieved outside of path planner following by ignoring the holonomic rotational values generated from the trajectory follower and writing your own holonomic heading control loop outside of Path Planner, it would be a much nicer solution if the holonomic heading was always controlled inside the trajectory follower at all times so that there was always a smooth transition when going in and out of a "target tracking zone".
This made sense in my head when I wrote it, but I just re-read this post and I'm sorry if it doesn't make sense to you . Food for thought anyway.
I look forward to seeing this enhancement.

I think something like that is pretty game-specific, as it is pretty much only useful for a shooting game. Plus, if you can calculate what offset you would need to shoot at, you could calculate the actual robot rotation you need to shoot at and then just use the already existing rotation target override functionality. This would probably be a more accurate/robot solution over primarily targeting an angle that may not be the correct shooting angle depending on path following error/speed. etc.

I think something like that is pretty game-specific

True, but lets face it, grabbing game elements and "shooting" them to a known position in auto to either score them or capture/ claim them is just about in every FRC game now.
When you are talking about "rotational target override" is this the GUI feature you are referring to, or is there a way to supply rotational target overrides from code outside of path planner at runtime for the trajectory follower to use instead of the values generated from the path?
If its is the former case, you can only specify a fixed rotational target at a single point.  This rotation target angle won't change as you drive past the target.  And you would need to "recalculate" the angle if a path or speed adjustment was made in the GUI.
If it is the later case and this feature already exists, then that's perfect.  We just need to learn how to use that feature.
Having said all that, I still think the feature to holonomically track to field point from inside path planners follower while in certain zones would be a great feature to have, with or without the ability to supply external corrections at runtime.
Cheers

I did some searching and to answer my own question, its the later.
https://pathplanner.dev/pplib-override-target-rotation.html
Even with sample code.
Only thing I could wish for now is the ability to know when you are inside or outside a targeting Zone so that you know when to return a Rotation2D to track the target or return Null when you want pathplanner to calculate it from the path.
I suppose we could use marker commands to set or unset a drive subsystem boolean member variable to do that.
Do you ever think PP will have the ability to take an optional X and Y correction supplier.  Then you could adjust for those last minute lineup issues.  NB: I think I might have requested this before in a previous issue ticket.
Here is an idea: Having two marker commands to turn auto targeting on and then back off later could be replaced with a command that only runs while the robot is in a Zone.  The logic would be to launch the command when the robot reaches the start of the zone and then cancel the command when the robot leaves the zone. The commands init function could turn on autotargeting, and the commands end method could turn off auto targeting.  You could call it a named command zone. Just another idea.

You’re essentially describing some of the functionality planned for adding the ability to use markers as triggers in #676
You could used a trigger based marker to easily set the rotation override method, or use a zone as you describe. The trigger would flip to true when entering the zone and false when leaving, and you could bind different commands to those conditions.

When you are referring to a trigger, is that like how a joystick button is a "trigger" and this trigger could be bound to something.
Like
https://docs.wpilib.org/en/stable/docs/software/commandbased/binding-commands-to-triggers.html#arbitrary-triggers

Yes


customize the get_payload function

please, how can I customise the get_payload function?

here is the solution that I did for the moment:
I added this JWT_DECODE_HANDLER setting to GRAPHQL_JWT:
    GRAPHQL_JWT = {
        'JWT_DECODE_HANDLER': 'path_to_your_customized_jwt_decode',
    }

than here is my customized_jwt_decode function:
def customized_jwt_decode(token, context=None):
    try:
        payload = jwt_decode(token, context)
    except YourExceptionHere:
        # that ever you wanna do
    return payload

Hi @aymaneMx ,
Take a look the documentation, you can use the JWT_PAYLOAD_HANDLER setting:
from graphql_jwt.utils import jwt_payload

def my_jwt_payload(user, context):
    payload = jwt_payload(user, context)
    payload['foo'] = '...'
    return payload

GRAPHQL_JWT = {
    'JWT_PAYLOAD_HANDLER': my_jwt_payload,
}

I close the issue, if you have any questions please let me know.


Script to enable copy code button on all code snippets

The copy button here is enabled on hover
The styling might not be great, might need work
The copy button doesn't look good when the top line in the code snippet is long, it is displayed on top of the code

@afolson and @cwjames19 can you look at this when you get a chance, i added support for this but needs some clean up work.

@ajay-gov I ran into the same issue with this snippet. I was working on adding these styles to the Tailwind config but that also didn't look great. I was working on making this a bar that appears above the snippet so that we can add things like a title, buttons like this, or links to github if that works for y'all.

@ajay-gov I ran into the same issue with this snippet. I was working on adding these styles to the Tailwind config but that also didn't look great. I was working on making this a bar that appears above the snippet so that we can add things like a title, buttons like this, or links to github if that works for y'all.

Forgot to mention, there is commented out code in the copy-code.js that adds the copy button at the bottom instead of inside the code block. It will be easy to move that above the code block too. You can comment it out and try locaclly.
I am ok with either solution, would much rather have that feature even if it looks wonky in some cases

This looks good for now and fixes the one line code snippet issue. I think it's fine to merge as-is 🎉

@ajay-gov do you have an example of what this would ideally look like? I can make some changes but a reference point would be useful.

Before I merge this, lmk what you think. We can always do something more involved with a top bar another time @afolson but this still simple and decent looking i think.
https://github.com/swimos/swimos-docs/assets/14270205/84809090-5b9b-4828-a847-bb9892de226e

@cwjames19 Looks great!

Before I merge this, lmk what you think. We can always do something more involved with a top bar another time @afolson but this still simple and decent looking i think.
Screen.Recording.2024-03-13.at.12.55.14.PM.mov

Looks great, thanks!


Implemented ucf101 dataset

Notably, this skips the "making the dataloader efficient" stage and just loads it all directly into ram. You need a computer with lots of memory to cache all the data :)"

accidentally merged to the wrong branch