Adjustable precision for legend

Description
Would it be possible to add an option to adjust the precision of custom values presented in chart legends. I have a subchart with a custom line and the legend precision is fixed with 2 decimal places. When working with ATR values, depending on the symbol they will show as 0.00. ohlcv could also benefit from this depending on symbol.
Suggestion,
legend(visible: bool, ohlc: bool, percent: bool, precision: int,  lines: bool, color: COLOR, font_size: int, font_family: str, text: str, color_based_on_candle: bool)
Apologies if this is already implemented and i missed it in the docs.
Thanks and keep up the great work you are doing!
Code example
No response
Method of implementation
No response

The chart.precision method will change the price scale precision as well as the legend's precision. Is this what you're after?

@louisnw01
Currently, chart.precision only adjusts the price precision for the chart, not for the legend prices. To address this, I propose adding a configurable legendPrecision option to allow users to control the precision for legend values as well.
Changes:

In abstract.py:
Update the legend method signature to include legendPrecision as a parameter:
legend(self, visible: bool = False, ohlc: bool = True, percent: bool = True, lines: bool = True,
       color: str = 'rgb(191, 195, 203)', font_size: int = 11, font_family: str = 'Monaco',
       text: str = '', color_based_on_candle: bool = False, legendPrecision: int = 4):

Below, modify the script to include legendPrecision:
self.run_script(f'''
    {l_id}.div.style.display = 'flex'
    {l_id}.ohlcEnabled = {jbool(ohlc)}
    {l_id}.percentEnabled = {jbool(percent)}
    {l_id}.linesEnabled = {jbool(lines)}
    {l_id}.legendPrecision = {legendPrecision}
    {l_id}.colorBasedOnCandle = {jbool(color_based_on_candle)}
    {l_id}.div.style.color = '{color}'
    {l_id}.color = '{color}'
    {l_id}.div.style.fontSize = '{font_size}px'
    {l_id}.div.style.fontFamily = '{font_family}'
    {l_id}.text.innerText = '{text}'
 @''')

In js/bundle.js:
For each OHLC column, replace references to this.handler.precision with this.legendPrecision:
{this.legendItemFormat(s.open, this.legendPrecision)}

Example Usage:
chart.legend(visible=True, color_based_on_candle=True, percent=True, legendPrecision=6)

These changes would allow for finer control over the display precision of legend values, ensuring consistency with chart configurations.


[Feature]: Show/hide value in text input password

What problem does this feature solve?
It's impossible see the value in text input password
What does the proposed API look like?
A decorator for text input password, works like the eye icon to show/hide the password when clicked.

I would like to work on this feature. Just wanted to confirm whether I could use other libraries to implement the feature.

I would like to work on this feature. Just wanted to confirm whether I could use other libraries to implement the feature.

I suppose that it is not unnecessary, this function is enough with the use of the same icon and some validations when the text entry is of the password type.


⚠ Jenkins Plugins Artifactory has degraded performance

In d1f1f6e, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1185 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 0e6e9cc after 1 hour, 2 minutes.


Load amazon dataset

Hi,
I was going through amazon_us_reviews dataset and found that example API usage given on website is different from the API usage while loading dataset.
Eg. what API usage is on the website
from datasets import load_dataset
dataset = load_dataset("amazon_us_reviews")

How it is when I tried (the error generated does point me to the right direction though)
from datasets import load_dataset
dataset = load_dataset("amazon_us_reviews", 'Books_v1_00')

Also, there is some issue with formatting as it's not showing bullet list in description with new line. Can I work on it?

Thanks for reporting !
We plan to show information about the different configs of the datasets on the website, with the corresponding load_dataset calls.
Also I think the bullet points formatting has been fixed


Bug: Texture not rendered properly above Renderer

I noticed, there's no option to display both a Renderer and a casual Kivy widget, let's say Label (1.9.2 master):
FloatLayout (root)
|
|---Renderer
|
|---Label (above)

Was it possible before?
Edit: Apparently only rendering "side-by-side" is possible now (e.g. BoxLayout with Renderer and Label), because I noticed an exception when rendering one widget through another:
Exception IndexError:
    'list index out of range' in 'kivy.graphics.instructions.RenderContext.set_texture' ignored

If I try a e.g. Button, obviously as the exception states, I expected a crippled texture, which disappears when on_release (or basically any touch event) is dispatched - probably Kivy thing, though.

The remaining content (image from atlas), however, is rendered properly.

Example:
from kivy.app import App
from kivy.clock import Clock
from kivy.uix.label import Label
from kivy.uix.button import Button
from kivy.uix.textinput import TextInput
from kivy.uix.gridlayout import GridLayout
from kivy.uix.floatlayout import FloatLayout

from kivy3 import Renderer, Scene, PerspectiveCamera, Mesh, Material
from kivy3.extras.geometries import BoxGeometry

class My3D(App):
    def _adjust_aspect(self, *args):
        rsize = self.renderer.size
        aspect = rsize[0] / float(rsize[1])
        self.renderer.camera.aspect = aspect

    def rotate_cube(self, *dt):
        self.cube.rotation.y += 1

    def build(self):
        layout = FloatLayout()

        self.renderer = Renderer()
        scene = Scene()

        cube_geo = BoxGeometry(1, 1, 1)
        cube_mat = Material()
        self.cube = Mesh(geometry=cube_geo, material=cube_mat)
        self.cube.pos.z = -5

        self.camera = PerspectiveCamera(fov=75, aspect=0, near=1, far=10)
        scene.add(self.cube)
        self.renderer.render(scene, self.camera)

        self.renderer.bind(size=self._adjust_aspect)

        layout.add_widget(self.renderer)

        _lay = GridLayout(
            rows=1,
            size_hint=(0.2, 0.1),
            pos_hint={'center': (0.5, 0.5)}
        )
        _lay.add_widget(Button(text='button', color=(1, 0, 0)))
        _lay.add_widget(TextInput(
            text='tinput',
            background_normal='',
            background_active=''
        ))
        layout.add_widget(_lay)

        Clock.schedule_interval(self.rotate_cube, .01)
        return layout
My3D().run()

I noticed anything that doesn't use the Label or the basics that are in the Label is just ok when put on top of the 3D content, therefore either something in the Label is broken or there's something in Renderer colliding. It's kind of funny, because TextInput uses the core stuff from Label.
Anyway, this is just a plain guess. I don't have a clue what's wrong with it.

The issue was about me using color with rgb, although it needs rgba to work correctly.


Simplify Implementation using NSBlockOperation

Hi Ash -
I stumbled across your example code today. I thought I'd drop you a line to share a (IMHO) much cleaner way of accomplishing the same task with much less code. Instead of building up these change dictionaries and iterating across them, you can use NSBlockOperation to build an aggregate operation containing all changes and then execute them all at once. Since new iOS developers may well come across your blog post, code sample, and example project, I thought you might want to revise your approach. Check it out:
- (void)controllerWillChangeContent:(NSFetchedResultsController *)controller
{
    self.blockOperation = [NSBlockOperation new];
}

- (void)controller:(NSFetchedResultsController *)controller didChangeObject:(id)anObject atIndexPath:(NSIndexPath *)indexPath forChangeType:(NSFetchedResultsChangeType)type newIndexPath:(NSIndexPath *)newIndexPath
{
    __weak UICollectionView *collectionView = self.collectionView;
    switch (type) {
        case NSFetchedResultsChangeInsert: {
            [self.blockOperation addExecutionBlock:^{
                [collectionView insertSections:[NSIndexSet indexSetWithIndex:newIndexPath.section] ];
            }];
            break;
        }

        case NSFetchedResultsChangeDelete: {
            [self.blockOperation addExecutionBlock:^{
                [collectionView deleteSections:[NSIndexSet indexSetWithIndex:indexPath.section]];
            }];
            break;
        }

        case NSFetchedResultsChangeUpdate: {
            [self.blockOperation addExecutionBlock:^{
                [collectionView reloadSections:[NSIndexSet indexSetWithIndex:indexPath.section]];
            }];
            break;
        }

        case NSFetchedResultsChangeMove: {
            [self.blockOperation addExecutionBlock:^{
                [collectionView moveSection:indexPath.section toSection:newIndexPath.section];
            }];
            break;
        }

        default:
            break;
    }
}

- (void)controllerDidChangeContent:(NSFetchedResultsController *)controller
{
    [self.collectionView performBatchUpdates:^{
        [self.blockOperation start];
    } completion:^(BOOL finished) {
        // Do whatever
    }];
}

I know i'm late, but i've had problems with this code, because it either doesn't execute the blocks on the correct thread, or, when dispatching them to the main thread, executes them in the wrong order, resulting in the annoying "number of items after the update must be equal to number of items before them update +/-" errors.
I've managed to fix it by simply using an array of blocks instead of block operations:
@interface DCCouponCenterCollectionFetchedResultsControllerDelegate ()

@property (nonatomic, strong) NSMutableArray<dispatch_block_t> *blocks;

@end

- (void)controllerWillChangeContent:(NSFetchedResultsController *)controller {
    self.blocks = [NSMutableArray array];
}

- (void)controller:(NSFetchedResultsController *)controller didChangeSection:(id <NSFetchedResultsSectionInfo>)sectionInfo atIndex:(NSUInteger)sectionIndex forChangeType:(NSFetchedResultsChangeType)type {
    __weak UICollectionView *collectionView = self.collectionView;
    switch (type) {
        case NSFetchedResultsChangeInsert: {
            [self.blocks addObject:^{
                [collectionView insertSections:[NSIndexSet indexSetWithIndex:sectionIndex]];
            }];
            break;
        }
        case NSFetchedResultsChangeDelete: {
            [self.blocks addObject:^{
                [collectionView deleteSections:[NSIndexSet indexSetWithIndex:sectionIndex]];
            }];
            break;
        }
        case NSFetchedResultsChangeMove:
            break;
        case NSFetchedResultsChangeUpdate:
            [self.blocks addObject:^{
                [collectionView reloadSections:[NSIndexSet indexSetWithIndex:sectionIndex]];
            }];
            break;
    }
}

- (void)controller:(NSFetchedResultsController *)controller didChangeObject:(id)anObject atIndexPath:(NSIndexPath *)indexPath forChangeType:(NSFetchedResultsChangeType)type newIndexPath:(NSIndexPath *)newIndexPath {
    __weak UICollectionView *collectionView = self.collectionView;
    switch (type) {
        case NSFetchedResultsChangeInsert: {
            [self.blocks addObject:^{
                [collectionView insertItemsAtIndexPaths:@[newIndexPath]];
            }];
            break;
        }
        case NSFetchedResultsChangeDelete: {
            [self.blocks addObject:^{
                [collectionView deleteItemsAtIndexPaths:@[indexPath]];
            }];
            break;
        }
        case NSFetchedResultsChangeMove: {
            [self.blocks addObject:^{
                [collectionView moveItemAtIndexPath:indexPath toIndexPath:indexPath];
            }];
            break;
        }
        case NSFetchedResultsChangeUpdate: {
            [self.blocks addObject:^{
                [collectionView reloadItemsAtIndexPaths:@[indexPath]];
            }];
            break;
        }
        default:
            break;
    }
}

- (void)controllerDidChangeContent:(NSFetchedResultsController *)controller {
    [self.collectionView performBatchUpdates:^{
        for (dispatch_block_t block in self.blocks) {
            block();
        }
    } completion:nil];
}

Not sure how i would implement moving sections yet, because the section update only provides one index.


Add waterfall chart

Description

The Waterfall chart is part of two categories: Flow and Part-to-whole. I created a reusable function(waterfall_factory) to generate the page content for both sides.
The Waterfall chart has its own go.Waterfall in Plotly, so I treated it as a custom_chart.
I also added custom data from Plotly: https://plotly.com/python/waterfall-charts/
[Question]: Should I include the arguments "name," "orientation," "text," and "connector" for future purposes?

Screenshot

Notice

[x ] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorized to submit this contribution on behalf of the original creator(s) or their licensees.
I certify that the use of this contribution as authorized by the Apache 2.0 license does not violate the intellectual property rights of anyone else.
I have not referenced individuals, products or companies in any commits, directly or indirectly.
I have not added data or restricted code in any commits, directly or indirectly.

I could not fix the test on the Checks for Vizro / checks-vizro-core (pull_request) 🥲

Hey @sammitako I was running into the same issue, but looks like that is usually because the changelog file isn't updated. Did you try running hatch run changelog:add in codespaces? I was told that should automatically create a changelog file that you can push to your PR!

Thank you very much for your contribution @sammitako!! This looks really excellent.
I have some very minor comments and suggestion left in the PR but I'm approving already on the assumption they will be done 🙌
@huong-li-nguyen would like your thoughts on some of the comments too when you are back and will need a second approval 🙏

[Question]: Should I include the arguments "name," "orientation," "text," and "connector" for future purposes?

I like it exactly how you have it. Let's keep it simple for now, and we can always add more arguments in the future if we need to. I think the arguments you chose to expose already are perfect.

@antonymilne Hi Antony, thank you for the suggestions and comments! I committed your updates, and left the last one for @huong-li-nguyen.

Thank you @huong-li-nguyen for merging the branch :) It was so fun to work on this issue with you and Antony.


Parachain runtime upgrade performance issue

Run paruchain upgrade test and open Polkadot JS (1 polkadot validator + 1 kagome validator)
Look at Network -> Parachains page :

Time of upgrade
Included/backed values

Actual result:

Time of upgrade too long ( expected time + ~2 min)
Included/backed values not the same as number of produced blocks(relay chain). Sometimes values stop increasing
After upgrade Included/backed values stop increasing ~ 2-3 min (it's too long)

======TESTS=======
Zombienet setup:
https://github.com/soramitsu/kagome/pull/1634/files#diff-29dda111f13468f3182d4fc8b98a1cb49dc25da85d7873d3972debaf1b27fa6d
How run upgrade runtime test with zombienet:

Build test-parachain(Cumulus (https://github.com/paritytech/cumulus)) and add to bins folder
cargo build --release --locked --bin test-parachain
Add files to zombienet folder
*https://github.com/paritytech/cumulus/blob/master/zombienet/tests/0004-runtime_upgrade.zndsl TEST
*https://github.com/paritytech/cumulus/blob/master/zombienet/tests/0004-runtime_upgrade.toml CONFIG
*https://github.com/paritytech/cumulus/blob/master/zombienet/tests/runtime_upgrade.js JS with runtime version upgrade check

*target/release/wbuild/cumulus-test-runtime/wasm_binary_spec_version_incremented.rs.compact.compressed.wasm  WASM (will be in target folder after build test-parachain)
Update path to file in 0004-runtime_upgrade.zndsl
FROM
charlie: parachain 2000 perform upgrade with /tmp/wasm_binary_spec_version_incremented.rs.compact.compressed.wasm within 200 seconds
TO
charlie: parachain 2000 perform upgrade with ./wasm_binary_spec_version_incremented.rs.compact.compressed.wasm within 200 seconds

Replace 1 polkadot validator by 1 kagome
CONFIG:
Add to Bob->
command = "kagome"
prometheus_prefix = "kagome"

===========
Dummy upgrade with zombienet:
https://github.com/soramitsu/kagome/pull/1634/files#diff-ca0d68aa8b75fb76a0035c30c604bd1c8ab17f0fd2bf37ca55ce9020edcb4b3b
https://github.com/soramitsu/kagome/pull/1634/files#diff-7cff7a47069a20f1e6bd89add5bac43b14104d43d2dd78fba29e7b750ba7374a

Fixed


Responsive and Adaptive User Interfaces and Apps

I'm submitting a ...

[x] feature request

Responsive and Adaptive User Interfaces and Apps

Resolved in https://github.com/RommelTJ/rn-guess-number/pull/6


What is the AMP Project?

People more-or-less understand AMP the effort and what it's attempting to do.
However, as an entity, it's not clear what the scope of the effort controlled by this governance model is.
So, more crispness around the goals of the project will help people understand what it is and what to expect from it.
E.g., what are AMP's goals? Will the project be producing software, specifications, or both? Will it ever be "done"?

Hi @mnot; this is a good question. :)
From a more technical perspective, The AMP Project encompasses the contents of a GitHub organization which includes software, documentation, the project’s marketing website, and specifications, including those that define expectations for the AMP ecosystem, and design docs.
For a slightly more philosophical take, I generally point people toward's AMP's vision and mission.
@tobie we've talked a bit about this in the past; do you have anything else you'd add here?

There are a few extra assets worth considering once we move the project to a foundation:

any trademarks, original designs, etc.
the ampproject.org domain name.
the associated CDN which hosts the JS files.

In his review @triblondon made the following comment which seems strongly related to this issue:

Define what AMP 'is', legally: Define the legal status of AMP. In the blog post accompanying this governance model, it says "Additionally, we’re exploring moving AMP to a foundation in the future". So currently, decisions made 'by AMP' are expressing the will of what entity? And when it does move to a foundation, of course it is equally important to document that structure.

is it an explicit goal for the specifications that the AMP project produces to be standardised by an external body?

With AMP joining the OpenJS Foundation I expect there will be more crispness over what "AMP" is, since it has to be clear what is actually moving (as discussed in the OpenJS Foundation onboarding checklist).


Check for dead symlinks, relink valid formulae

Use the --repair flag to check for dead symlinks
and relink all valid formulae across taps.

@gabebw your thoughts?

:+1:


double request

When I go to next page I see 2 similar requests
https://www.dropbox.com/s/cw070i7tlpg3byi/Untitled.jpg?dl=0
Each time data requested twice.

Stupid. Had unobtrusive-ajax.js included twice


MergeCommit violation should ignore SubjectLength rule

If a commit has a MergeCommit violation, skip the SubjectLength rule.
MergeCommit: A remote merge commit was found
  0a672b3:1:1: Merge branch 'develop' of github.com/org/repo into develop
    |
  1 | Merge branch 'develop' of github.com/org/repo into develop
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Rebase on the remote branch, rather than merging the remote branch into the local branch

SubjectLength: The subject of `58` characters wide is too long
  0a672b3:1:51: Merge branch 'develop' of github.com/org/repo into develop
    |
  1 | Merge branch 'develop' of github.com/org/repo into develop
    |

Will be fixed in the next release 1625c50d5f5ae866e60a893430fd33935f62b557


Execute Lua by Native Library

Description

Execute Lua files by the native-written dynamic library (in Rust)
Call ScriptLib function by JNI between the native dynamic library and sorapointa-core

Pros

Easy for development

Cons

JNI layer may affect the performance

Edit: We currently use JNI instead of WebSocket


ROX-12233: e2e tests on image component resolver

Description
A detailed explanation of the changes in your PR.
Feel free to remove this section if it is overkill for your PR, and the title of your PR is sufficiently descriptive.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added

rebase and re-request review once CI is fixed

/retest


fix(ChangeStream): hasNext/next should work after resume

Description
NODE-2548
What changed?

introduced getCursor method to provide fresh cursor after resuming from an error
refactored next/hasNext to use getCursor
refactored processNewChange

simplified to only support callbacks thanks to maybePromise work
extracted recreateCursor to reduce duplication in waitForTopology / createChangeStreamCursor logic

renamed createChangeStreamCursor to createCursor
refactored ChangeStream.close to use maybePromise
added new Change Stream Resume Error Tests
fixed broken mid-close tests

~Are there any files to ignore?~

I pulled a bunch of changes from this PR that weren't relevant into #2343. I'll open a new PR to replace this one with just the relevant changes, once that one is merged.

Superseded by #2360.


FW update on Aeotec Multisensor 6

Hi,
I've tried to update FW on Aeotec Multisensor 6. Aeotec support gave me instructions how to make update via Zwave JS UI, but update fails after few % of progress. Version of Zwave JS UI is 8.13.0, controller in 3m away from sensor. Update was also very slow. Any ideas what could be the problem?
Log:
2023-04-08T10:46:02.461Z - firmware update progress
Arg 0:
88
Arg 1:
6554
Arg 2:
└─currentFile: 1
└─totalFiles: 1
└─sentFragments: 88
└─totalFragments: 6554
└─progress: 1.34
2023-04-08T10:46:32.472Z - firmware update finished
Arg 0:
-1
Arg 1:
Arg 2:
└─success: false
└─status: -1
└─reInterview: false

I can't make out anything specific, but a few observations:
A couple of nodes' signal is really close to the background noise level. Others have very good, even others are communicating using the absolutely lowest speed possible. If you haven't already, put your stick on a USB extension.
Node 21 is using Security S0. This means every message requires a nonce request by the sender, a response to that from the destination, then the actual message will be sent. The update fails due to the device not responding to the nonce request when the driver sends a packet. Probably got lost, but the device retransmits its request for the firmware fragment using the same encryption state as before, which the driver won't accept.
We generally don't recommend using S0 for devices that don't need it, especially not chatty ones like multisensors. If the USB extension doesn't help, I guess your best bet is to exclude the device, and re-include it without encryption.

If firmware update process is device driven then there is probably not much that can be done.
So the procedure goes something like this. Driver initiates firmware update and than device starts requesting the fragments by numbers and driver send the fragment data as response to those messages. Each of those messages (fragment request from device to driver and fragment data from driver to device) is actually a 3 packet process - nonce request, nonce response and actual message/data/command.
If I understood right, the problem is that driver could not decrypt re-transmitted fragment response as nonce has already expired as such message has already been decrypted for the first time. As specs forbid accepting message with previous nonce, the problem is probably on the device side as it re-transmitted fragment request without re-transmitting the new nonce request. Could driver detect that and try to re-transmit fragment data together with new nonce request/response?
My suggestion is based on very little knowledge of ZWave specs, I don't even know if message decryption is done by controller itself (behind Serial API) or is it done by software (Zwave JS).

Thanks for detailed explanation what is going on. I think your suggestion might work, of course no guaranties, probably also depends on device's retry mechanism implementation.
You said specs forbids decrypting message with expired nonce. As I understand here is not what this proposal is about. You'll still discard the re-transmitted fragment X request from device, but since ZWave-JS state machine is in the loop for sending fragment X, I don't see any specs violation. ZWave-JS should simply re-transmit NonceGet in case NonceReport is not received.
If there is a dilemma, whether discarded message was actually request for fragment X or X+1 and device doesn't know which fragment just got, there must be a mechanism to prevent sending same fragment twice. Or if it might breaks anything other, what about keeping track of previous (encrypted) messages for each device, together with nonce (what you already obviously do)? So when Zwave JS get's encrypted message with expired nonce it could compare it with previous. In case previous encrypted message is the same as current one, that could be only the info for state machine to initiate retry - so as you don't really decrypt and/or "use" the re-transmitted message with expired nonce, that is might not be spec violation...I known, it's a thin ice...
Again, here are just my suggestions and could be quite wrong as don't know how ZWave JS works in details.

ZWave-JS should simply re-transmit NonceGet in case NonceReport is not received.

That's what I meant.


Fix GitHub actions

After the merge request for version 2.0.0, the GitHub actions throw errors. These have to be fixed.

Fixed by setting JDK version to 17


Catch slack errors whilst updating the headline post

We're seeing errors whilst the new tool tries to update old Slack posts.  This doesn't fix that, but it will allow the tool to continue working, and for changes made through the UI to complete successfully.

Linting failed - can you run ./autoformat on it? 🙏


🎉 4.1.2

ℹ About this release

Version: 4.1.2
Type: patch
Last Release: 4.1.1 (7/30/2024, 7:25:41 PM) [?]
Commits to merge: 9 [?]

📦 Dependencies

Update semantic-release from ^24.0.0 to ^24.1.0

📦 Development Dependencies

Update @eslint/js from ^9.7.0 to ^9.9.0
Update @sebbo2002/semantic-release-docker from ^4.0.2 to ^4.0.3
Update eslint from ^9.3.0 to ^9.8.0

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


Kills my left curly bracket

While using this tool i can't use the "{" from my Keyboard.
I'm using VS2013 Professional on Windows 7 SP1 Ultimate (english)
and german Keyborad layout.
After disable VSBooksmarks every thing allright.
But with it i have that Problem.
please Review that

Fixed. This bug was really specific to german keyboard layout.
Just update VSBookmarks in Visual Studio's "Extensions and updates" or build from sources (main branch).
Thank you for your bug report.
Have a nice day.


Sync faq

The FAQ in the README.md and index.html is not in sync. Both should have all the questions

Can I work on this?

@zedd-08 👍

ohh man! I already did it... Sorry mate @zedd-08

Well looks like it's done good job :)


Error: Cannot find module 'uuid/v4'

Describe the bug
Error:

System
Browser version: Chrome 87.0.4280.88
Node.js version: v10.23.0
NPM or Yarn version: npm 6.14.9
Operating system:
Actual behavior
[0] [nodemon] 2.0.6
[0] [nodemon] to restart at any time, enter rs
[0] [nodemon] watching path(s): .
[0] [nodemon] watching extensions: js,mjs,json
[0] [nodemon] starting node index.js
[0] /root/network/api/utils/cloudinary.js:1
[0] Error: Cannot find module 'uuid/v4'
[0] Require stack:
[0] - /root/network/api/utils/cloudinary.js
[0] - /root/network/api/resolvers/user.js
[0] - /root/network/api/resolvers/index.js
[0] - /root/network/api/server.js
[0] - /root/network/api/index.js
[0]     at new MODULE_NOT_FOUND (/root/my-network/api/node_modules/esm/esm.js:1)
[0]     at wu (/root/my-network/api/node_modules/esm/esm.js:1)
[0]     at Eu (/root/my-network/api/node_modules/esm/esm.js:1)
[0]     at ku (/root/my-network/api/node_modules/esm/esm.js:1)
[0]     at Proxy. (/root/my-network/api/node_modules/esm/esm.js:1)
[0]     at Object. (/root/my-network/api/node_modules/esm/esm.js:1)
[0]     at Tu (/root/my-network/api/node_modules/esm/esm.js:1)
[0]     at Mu (/root/my-network/api/node_modules/esm/esm.js:1)
[0]     at Object.import (/root/my-network/api/node_modules/esm/esm.js:1)
[0]     at Object. (/root/my-network/api/utils/cloudinary.js:1)
[0] [nodemon] app crashed - waiting for file changes before starting...
[1] ℹ ｢wds｣: Project is running at http://<IP_ADDRESS>/
[1] ℹ ｢wds｣: webpack output is served from
[1] ℹ ｢wds｣: Content not from webpack is served from /root/network/frontend/public
[1] ℹ ｢wds｣: 404s will fallback to /
[1] Starting the development server...
[1]
[1] Compiled successfully!

Update import statement of uuid in cloudinary.js. use import { v4 as uuid } from 'uuid';


joined_rooms: allow to call new API endpoint

Requires and corresponds to this ruma-client-api PR: https://github.com/ruma/ruma-client-api/pull/34

Implemented in https://github.com/ruma/ruma-client/commit/a66830de7aacf584676d79e86056e9ff88f0a575


wslstorestorage.blob.core.windows.net is unreachable

Windows Build Number
20H2 (build 19042.1052)
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
N/A
Distro Version
Ubuntu 18.04
Other Software
No response
Repro Steps

Go to https://wslstorestorage.blob.core.windows.net/wslblob/Ubuntu_1804.2019.522.0_x64.appx (or https://aka.ms/wsl-ubuntu-1804)
Try to save as file
Wait until download is completed

Alternatively, try to download from the commandline or install through the windows store
Expected Behavior
Download (or installation) completes in a reasonable amount of time (My internet connection is 300Mbit/s, but I'd at the very least expect 0.5Mbit/s
Actual Behavior
Download happens at 5KB/s and often fails, requiring the download to restart, resulting in being unable to download (or install) Ubuntu 18.04 for WSL
Same happens for Ubuntu 20.04.
I also found https://wsldownload.azureedge.net/CanonicalGroupLimited.Ubuntu18.04onWindows_1804.2018.817.0_x64__79rhkp1fndgsc.Appx
This does download slightly faster at 50KB/s, but that is still WAY below modern standards.
Diagnostic Logs
No response


Enable the visual regression tests for error pages

For now we only ran these tests in the development environment. Now that the error page styling reached a certain level of maturity, enabling these automated tests on Travis builds, should yield good feedback. As these tests are rather fragile, and would have caused many false positives during the development of the error pages styling.
https://www.pivotaltracker.com/story/show/165743005

Hi, @epinxteren I would like your input on our (now broken) visual regression tests. Our setup consists of Jest with Puppeteer test (using Chrome & Selenium). And we use the americanexpress jest-puppeteer snapshot tool in order to compare actual pixels.
The tests aim to create snapshots of different EB error pages. They are found on top of the https://github.com/OpenConext/OpenConext-engineblock/blob/feature/enable-visual-regression-tests/theme/material/javascripts/tests/visual-regression/error-page/ErrorPage.test.js test. We then further set up the test, creating a page for each error page and putting other stuff into the test sets.
The problem we currently run into is that the page instance that is set on each 'set'. Is not an actual Puppeteer page instance, but remains undefined. Possibly because the timeout time is reached or some other async related issue...
Do you see what's wrong with our current setup? And more importantly, do you see a way we could improve this test setup. Hopefully making it less fragile.
Additional information
Original PR: https://github.com/OpenConext/OpenConext-engineblock/pull/687
The vis-reg tests can be run using the ant ant js-visual-regression-tests and ant ant js-visual-regression-tests-update-snapshots build targets.

The visual regression tests are now failing on differences between the snapshots generated locally, versus the ones created on Travis.
@pablothedude do you have ideas on how we can fix this without too much effort? I'm starting to feel more like keeping these tests as a dev machine only test tool. As this might significantly decrease the robustness of the tests.

@MKodde I suggest we wait, if we could use docker for the tests this shouldn't be a problem at all.


feat: Add generic typing for queues

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.11 :tada:

Comparison is base (0664462) 85.90% compared to head (782f975) 86.01%.

:exclamation: Current head 782f975 differs from pull request most recent head 2be86a1. Consider uploading reports for the commit 2be86a1 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #174      +/-   ##
===========================================
+ Coverage    85.90%   86.01%   +0.11%
===========================================
  Files           83       84       +1
  Lines         1518     1530      +12
  Branches       207      209       +2
===========================================
+ Hits          1304     1316      +12
+ Misses         214      208       -6
- Partials         0        6       +6

Impacted Files
Coverage Δ

src/faas/v0/handler.ts
100.00% <ø> (ø)

src/resources/topic.ts
86.95% <ø> (ø)

src/api/events/v0/events.ts
98.30% <100.00%> (+0.02%)
:arrow_up:

src/api/queues/v0/queues.ts
96.29% <100.00%> (-0.05%)
:arrow_down:

src/resources/queue.ts
78.94% <100.00%> (ø)

src/types.ts
100.00% <100.00%> (ø)

... and 4 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


RasPi:Loading DroneAPI module initially reports failure but then loads module

Regarding: http://python.dronekit.io/examples/running_examples.html
Using RasPi
Although I followed the direction and Git Cloned the DroneAPI code (git clone http://github.com/diydrones/droneapi-python.git) and changed directory to the example folder (cd droneapi-python/example/small_demo) and successfully started MAVproxy, I still got a missing file error when I entered: "module load droneapi.module.api"
HOLD> Received 374 parameters
module load droneapi.module.api
HOLD> Traceback (most recent call last):
File "/usr/local/bin/mavproxy.py", line 260, in load_module
m = import_package(modpath)
File "/usr/local/bin/mavproxy.py", line 390, in import_package
mod = import(name)
ImportError: No module named mavproxy_droneapi.module.api
Traceback (most recent call last):
File "/usr/local/bin/mavproxy.py", line 260, in load_module
m = import_package(modpath)
File "/usr/local/bin/mavproxy.py", line 390, in import_package
mod = import(name)
ImportError: No module named droneapi.module.api

@zlite The instructions changed over time, and now state "To run the examples you will need to set up DroneKit as described in Getting Started. Once you have the source code, examples are started as described in the Getting Started section Running an app/example."
So is this working if you follow the instructions in Getting Started?

Same problem here,
Connect tcp:<IP_ADDRESS>:5762 source_system=255
Logging to mav.tlog
Running script C:\Users\Pascal\AppData\Local\MAVProxy\mavinit.scr
-> set moddebug 2
-> module load graph
Loaded module graph
-> module load console
Loaded module console
Traceback (most recent call last):
File "D:\A\WinPython-64bit-<IP_ADDRESS>\python-2.7.6.amd64\Scripts\mavproxy.py", line 264, in load_module
m = import_package(modpath)
File "D:\A\WinPython-64bit-<IP_ADDRESS>\python-2.7.6.amd64\Scripts\mavproxy.py", line 394, in import_package
mod = import(name)
ImportError: No module named mavproxy_droneapi.module.api
DroneAPI loaded
Loaded module droneapi.module.api
MAV>

It is irritating, but I don't consider "urgent" because as you will note the library is actually loaded. I'll modify the issue title appropriately and try to debug next week.

I'm getting the same result after doing the Getting Started setup twice (and a friend did it once on a different computer and got the same result), so the api start commands don't work us.
What are these modules and where is it looking for them?

@kcarring - So if you're on mavproxy prompt and you enter module load droneapi.module.api what do you see?
If you look at the console log above the module is being loaded in the end, so I want to confirm you have different symptoms.

Mine are similar to zlite's symptoms:
STABILIZE> module load droneapi.module.api
Traceback :
File "", line 265, in load_module
File "", line 395, in import_package
ImportError: No module named mavproxy_droneapi.module.api
Traceback :
File "", line 265, in load_module
File "", line 395, in import_package
ImportError: No module named droneapi.module.api
Failed to load module: No module named droneapi.module.api.
Then it suggests 'set moddebug 3'...when I do that I get the exact same result.

@kcarring Well, that means what it says - the module can't be loaded. That usually means it isn't in a path where it can be found by MAVProxy.
Can you post your whole build log in a gist for review - first this:
sudo apt-get install python-pip python-dev python-numpy python-opencv python-serial python-pyparsing python-wxgtk2.8

Then this:
sudo pip install droneapi upgrade

I'm using Cygwin on Windows. Do you mean the mav.tlog file?
When I installed, I started the WinPython Command Prompt as Admin and typed:
pip uninstall python-dateutil
pip install droneapi
When I try to type pip install droneapi upgrade
it says that it can't find any upgrade downloads/distributions...
Is the droneapi.module.api a file somewhere?

@kcarring
Please confirm:

you are using a SITL vehicle running on Windows in Cygwin
you are connecting to this on the same machine using a WinPython command prompt?

Is the droneapi.module.api a file somewhere?

It is a set of files that should have been installed when you did
sudo pip install droneapi

If you do pip list is the droneapi component shown?
Right now I am trying to write an updated guide that uses a dronekit windows installer. Might be best of to wait until the end of the day and I can attach a link to the docs - you could use that instead?

Yes I was able to get the SITL setup and compiled on a Windows machine in Cygwin using:
make sitl -j4
I'm not sure what you mean on  the 2nd question. I start SITL from Cygwin via:
sim_vehicle.sh -j4 --map
The 3 windows come up, the map shows the drone and I can type commands and watch the simulated drone move.
When I type pip list (in WinPython) it does show droneapi (1.4.2)
Thanks much! I'll wait for the new windows installer.

@kcarring Great, I'm working on the new docs now. YOu can track from #164.
Setting up DK has two parts - setting up the vehicle (if simulated), and setting up dronekit to talk to it. My second question above was confirming that you're using WinPython for the DroneKit environment. This is important, because you could, for example, decide that you'll not bother with setting up a separate dronekit environment, but run from the mavproxy terminal set up with Cygwin/SITL. THis is possible and reasonable if you're only testing in SITL.

@kcarring Please see modified getting started in #268 using the windows installer.
Installation is much simpler on windows. The downside is that behaviour is slightly different for making the connection (done after starting MAVProxy) and for running examples (you need to specify the full path to examples because you don't have the ability to start MAVProxy within a specific directory.
Feedback on this welcome.

I got it to work! Thank you! (But  when I type another command into the MAVProxy window the output from the previous command disappears. Also the output of the vehicle_state.py occasionally seems to overwrite parts of itself.)
Here's what I did to get it working though:
Installed a new MAVProxy and dronekit-windows via running:
http://firmware.diydrones.com/Tools/MAVProxy/MAVProxySetup-latest.exe
and
https://s3.amazonaws.com/dronekit-installers/windows/dronekit-windows-latest.exe
Then I proceeded as before starting everything from Cygwin in the ardupilot/ArduCopter directory that has my built ArduCopter.elf where I typed:
sim_vehicle.sh -j4 –map
Then (I had already copied the example .py files into the ardupilot/ArduCopter directory) in the mavproxy.exe window I typed:
module load droneapi.module.api
api start vehicle_state.py
(On the module load I did get the same error that Serveurperso had, but the api start command now works for me.)

@kcarring Glad you got it working. I hope to update the SITL instructions so you will no longer need cygwin either. That will remove some confusion, because the standard Windows instructions mean that you end up with multiple consoles and mavproxy windows floating around.

I'm going to close this issue, as we are no longer using MAVProxy.


README.md links don't work from pkgdown

In the pkgdown site (https://waldronlab.io/curatedMetagenomicAnalyses/index.html) The following links from the README.md file lead to waldronlab.io/ etc when they should lead to github.com/waldronlab/curatedMetagenomicAnalyses, and give "no content found" messages as a result:
Analyses
R Vignettes

Create datasets for machine learning
Exploration of the liver cirrhosis dataset
Meta-analysis of age-related microbial species using cMD3
Meta-analysis of sex-related microbial species using cMD3
NUI Galway Metagenomics Workshop

Python Notebooks

Sex-related differences in the human microbiome using cMD3 and Python3

Supplementary Materials

Installing Python dependencies in Linux (Python notebook)

The issue is that they work from github.com, but not from https://waldronlab.io/curatedMetagenomicAnalyses/index.html.  The easiest fix I can think of is just to put full paths in the README.md file, but maybe there is another fix?

I think this is the correct approach – I can't think of another myself anyway. I made some updates to the links which can be committed directly from the pull request and then we'll merge #38.

Closed by merging #38 (677f1be).


[SelectField] Keyboard Focus reset on re-render

New issue for #6038, as I forgot to update it.
When navigating through a SelectField with a keyboard, if the component re-renders, the focus is lost and reset to the first item or the current value.
Reproducible example:
https://www.webpackbin.com/bins/-KjCHRlJ-gqSarrOIvcp
Likely related to #783. Not clear if related to #6080.

If you use keyboard navigation on the demo page:

focus works for DropDownMenu component - http://www.material-ui.com/#/components/dropdown-menu
focus doesn't work for SelectField component - http://www.material-ui.com/#/components/select-field

any thoughts?


Suspense Fallback failing to render / appear on screen

Describe the bug
Hi team,
This is WRT to Suspense's fallback property which doesn't seem to resolve at all in this use case.  Show seems much easier to use that Suspense - I think SolidJS Suspense needs more use case examples as the only ones that worked for me were with lazily loaded components.
Your Example Website or App
https://playground.solidjs.com/anonymous/66efe535-fec0-47a9-a195-07490d3bc279
Steps to Reproduce the Bug or Issue
Fallback component:
const FallbackComponent = () => {
	console.log(`Fallback Component...`)
	return (<Box>

Loading...

				<Button>Hello World!</Button>
	</Box>)

}

App Component:
export default function App() {
	const [data, setData] = createSignal<Data[]>();
	const LazyFor = lazy(async () => {
		getData()
			.then((res) => {
				setData(res);
				console.log(res);
			})
		return {
			default: () => (<For each={data()}>{(record, index) => {
				return (
<ChevronRight/>{record.name}
)
			}}</For>)
		}
	})
	return (<Box>
		<Typography>
			<Suspense fallback={<FallbackComponent />}>
				<LazyFor />
			</Suspense>
		</Typography>
	</Box>)
}```

### Expected behavior

As a user, I expected to see a paragraph that says "loading..." and a Hello World button.  What I got as a user was a blank screen that was updated with my component when the promise resolves.

### Screenshots or Videos

a

### Platform

- OS: [Debian Linux]
- Browser: [Chrome]
- Version: [110.0.5481.178 ]

### Additional context

_No response_

Is suspense only for lazily loaded components?  Should I be using Show in this fashion instead?  I can't seem to get the fallback component to render.  I can see in the console the component is, in fact, invoked - but I can't see it rendered on the page.
https://playground.solidjs.com/anonymous/8ddb6442-0922-4036-a4ea-cdca6eb186c7
import { render } from "solid-js/web"
import { ParentProps, For, Show, createSignal } from "solid-js";
import { source, Data } from "./tab1"

function getData(timeout: number = 1000) {
    return new Promise<Data[]>((resolve, reject) => {
        setTimeout(() => {
            resolve(source);
        }, timeout)
    })
}

function FallbackComponent() {
	console.log("FallbackComponent invoked");
	return (<>

Loading...

	</>)
}

function ForComponent(props: ParentProps<{each: Data[]}>) {
	return <For each={props.each}>{(item) => {
		return
{item.name}

	}}</For>
}

export default function App() {
	const [data, setData] = createSignal<Data[]>();

	getData()
	.then(res => {
		setData(res);
	})

	return (<>
		<Show when={data()} fallback={<FallbackComponent/>}>
			<ForComponent each={data() as Data[]}/>
		</Show>
	</>)
}

render(() => <App />, document.getElementById("app")!);

Generally you need to use createResource which lazy uses under the hood. After removing the SUID stuff that wasn't working in the playground I could see the problem was the lazy component resolved immediately hence no fallback. awaiting the data request works: https://playground.solidjs.com/anonymous/916a925b-968d-41e0-a8a2-b7fa3530edba
That being said I'd probably do this instead:
function App() {
  const [data] = createResource<Data[]>(() => getData());
  return (

      <Suspense fallback={<FallbackComponent />}>
        <For each={data()}>
          {(record, index) => {
            return
{record.name}
;
          }}
        </For>
      </Suspense>

  );
}

Full example: https://playground.solidjs.com/anonymous/0056f3d9-1b5e-4580-a6cb-8eb1dd5ac58b


Build Vagrant box with Packer and install Docker

Not excited that this base image is managed in yet another repo, but hopefully I never have to think about this.


Dates in query parameters are converted with toISOString rather than toJSON (typescript)

I was updated from <IP_ADDRESS> to <IP_ADDRESS> and found that dates in query parameters are currently converted with toISOString rather than toJSON
Before:
 url_ += "from=" + encodeURIComponent(from ? "" + from.toJSON() : "") + "&";
After
 url_ += "from=" + encodeURIComponent(from ? "" + from.toISOString() : "") + "&";
Could you revert such behavior or should I update my code?

Also, when using "dateTimeType": "Luxon", from version 13.15.5 to 13.16.1, it switches from toJSON() to toString().
It would be really nice to be able to select which function to use.


Validation of XML Schema files and Examples

I have just downloaded the .xsd files and example .gml files from GitHub, put them to one folder, modified the xsd file path to the local, changed cityGMLBase.xsd to CityGML.xsd, and validated them by both FZKViewer and VS Code with XML extension.
However, validation was failure with many errors.
Maybe both .xsd and example files are not updated?
And is there any problem in your environment to use same name space http://www.opengis.net/citygml/3.0 both for core.xsd and CityGML.xsd?
In my environment, I should rename all http://www.opengis.net/citygml/3.0 to http://www.opengis.net/citygml/core/3.0 for core.xsd while using http://www.opengis.net/citygml/3.0 for CityGML.xsd.
Please let me know if you already have discussions to solve this issue.
Thanks!

The error is in the schemaLocation references in the test data sets. They still reference cityGMLBase.xsd instead of core.xsd.
The name of the file cityGMLBase.xsd was changed to core.xsd some time ago, see issue #52.
The file CityGML.xsd is a base profile, i.e., the union of all CityGML modules. This profile exists in CityGML 2.0 (see chapter 7.2 in the specification) and was also created for CityGML 3.0.
We should mention this in the specification as well!
For validating the test data sets you will either use the profile file or the individual xsd files.
I validated all test data sets against the latest release, but I used FME and the CityGML.xsd file for validation. Thus, FME did not read the schemaLocation references and that's why I unfortunately did not update the paths in the test data sets.
I will do that.

Thanks! It is intersting to know the difference of tool's behavior!
One validation error by FZKViewer and VS Code for importing CityGML.xsd was as follows:
TargetNamespace.1: Expecting namespace 'http://www.opengis.net/citygml/3.0', but the target namespace of the schema document is 'http://www.opengis.net/citygml/profiles/base/3.0'.xml(TargetNamespace.1)
It also looks like namespace collision of http://www.opengis.net/citygml/3.0 in CityGML.xsd and core.xsd.
The easiest way to avoid it would be to allign xmlns and targetnamespace such as follows:
CityGML.xsd: xmlns="http://www.opengis.net/citygml/3.0" targetNamespace="http://www.opengis.net/citygml/3.0"
core.xsd: xmlns:core="http://www.opengis.net/citygml/core/3.0" targetNamespace="http://www.opengis.net/citygml/core/3.0"
SInce it is in such last-minute, I really would like to know workaround and include its example to the Annex of Encoding specification!

@nob140, I just tested XML validation with the CityGML.xsd base profile and one of the example datasets. All works fine. Note that CityGML.xsd defines its own target namespace http://www.opengis.net/citygml/profiles/base/3.0. You must declare this namespace and use it as reference in the xsi:schemaLocation attribute.
For example:
<CityModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://www.opengis.net/citygml/profiles/base/3.0 Schema/CityGML.xsd"
 xmlns:base="http://www.opengis.net/citygml/profiles/base/3.0"
 [...more namespace declarations required for the dataset...]
 >

Please download my example here and check whether it works with your tools.
Changing the target namespace of CityGML.xsd is not required, and I cannot recommend re-using the namespace of core.xsd.

I am very happy to know that the problem is only in the example dataset side!
Let's modify the examples later.
Thanks!

I just updated the schemaLocation in the test data sets.

@clausnagel I have tested your example data and summarized the results.
All errors of VS Code was resolved by using modified sample data successfully!
But unfortunately, FZKViewer detected 204 errors and I could not resolved so far.
@TatjanaKutzner Thanks for updating the exammples! Validation results are same, OK for VS Code, failure for FZKViewer.
I would report to KIT...


Status for virtual nodes should be VIRTUAL

This can indicate virtual nodes, and when creating one with the + bubble at the bottom, the VIRTUAL status should be prefilled and unchangeable.

Status is successfully disabled once the node is created, but at the time the node is being created, I can still choose for DOWN or other statuses.
Please disable the box as well when clicking the plus bubble.

So actually the field status is a never editable field?


Slight variations on date formats used in OSF /v2/ API

At least 4 slightly different date formats are used in the OSF API v2, making it harder to parse the dates consistently.  Some examples:
Node:
https://api.osf.io/v2/nodes/6n2re/:
"date_modified": "2016-05-20T20:40:32.206000"
Different node:
https://api.osf.io/v2/nodes/bygau/
"date_modified": "2016-05-23T14:40:15"
File:
https://api.osf.io/v2/files/573f742a594d9001f37be1ee/
"last_touched": "2016-05-20T20:39:26.704000",
"date_modified": "2016-04-15T12:05:01Z",
"date_created": "2016-04-15T12:05:01Z",
Different File:
https://api.osf.io/v2/files/5730aa679ad5a101e8877f18/
"date_modified": "2016-05-10T19:37:49.150Z",
"date_created": "2016-05-09T15:19:03.322Z",
It would be useful if the exact same date format was used for all. Thanks!

It is worth noting that many of the above examples do not have timezone information, when in fact they are UTC.  Some timestamp libraries, when encountering timestamps with no timezone, will interpret them as being in local timezone.

This is fixed via https://github.com/CenterForOpenScience/osf.io/pull/6508 - use the API versioning to set the version to 2.2 and you will have normalized timestamps. Note that upgrading your API version will have other effects. See https://osf.io/y9jdt/wiki/Changelog/ for details.


CDS-57169 HTTP step cert support

https://harness.atlassian.net/browse/CDS-57169
Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[x ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

https://harness.atlassian.net/browse/CDS-57169

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


Update Polarion ID for grafana-dev test case

Signed-off-by: quchangl-github<EMAIL_ADDRESS>used to fix the issue open-cluster-management/acm-qe#372

/assign @morvencao


Errors with importing fiftyone as fo

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Window 7
Python version (python --version): python--3.7.0
FiftyOne version (fiftyone --version):
FiftyOne installed from (pip or source):

Commands to reproduce
import fiftyone as fo
# commands here
D:\Lamondima\venv\Scripts\python.exe D:/Lamondima/main.py
Subprocess ['D:\\Lamondima\\venv\\lib\\site-packages\\fiftyone\\db\\bin\\mongod.exe', '--dbpath', 'C:\\Users\\hoan\\.fiftyone\\var\\lib\\mongo', '--logpath', 'C:\\Users\\hoan\\.fiftyone\\var\\lib\\mongo\\log\\mongo.log', '--port', '0'] exited with error -1073741511:
Traceback (most recent call last):
  File "D:/Lamondima/main.py", line 1, in <module>
    import fiftyone as fo
  File "D:\Lamondima\venv\lib\site-packages\fiftyone\__init__.py", line 25, in <module>
    from fiftyone.__public__ import *
  File "D:\Lamondima\venv\lib\site-packages\fiftyone\__public__.py", line 15, in <module>
    _foo.establish_db_conn(config)
  File "D:\Lamondima\venv\lib\site-packages\fiftyone\core\odm\database.py", line 200, in establish_db_conn
    port = _db_service.port
  File "D:\Lamondima\venv\lib\site-packages\fiftyone\core\service.py", line 276, in port
    return self._wait_for_child_port()
  File "D:\Lamondima\venv\lib\site-packages\fiftyone\core\service.py", line 170, in _wait_for_child_port
    return find_port()
  File "D:\Lamondima\venv\lib\site-packages\retrying.py", line 56, in wrapped_f
    return Retrying(*dargs, **dkw).call(f, *args, **kw)
  File "D:\Lamondima\venv\lib\site-packages\retrying.py", line 257, in call
    return attempt.get(self._wrap_exception)
  File "D:\Lamondima\venv\lib\site-packages\retrying.py", line 301, in get
    six.reraise(self.value[0], self.value[1], self.value[2])
  File "D:\Lamondima\venv\lib\site-packages\six.py", line 719, in reraise
    raise value
  File "D:\Lamondima\venv\lib\site-packages\retrying.py", line 251, in call
    attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
  File "D:\Lamondima\venv\lib\site-packages\fiftyone\core\service.py", line 158, in find_port
    recursive=True
  File "D:\Lamondima\venv\lib\site-packages\psutil\__init__.py", line 277, in wrapper
    raise NoSuchProcess(self.pid, self._name, msg=msg)
psutil.NoSuchProcess: process no longer exists (pid=2428)

Process finished with exit code 1

### Describe the problem
I am currently using pycharm 2021 3.3 with python version 3.7.0. When I install fiftyone package, it says "the package has successfully been installed", but when I import it in my project, It cannot be excecuted with these problems. I tried to install Microsoft Visual C++ Redistributable 2015, using all types of method including uninstalling the applications and Pycharm, but none of them worked, I am realy desperate right now=(((. Please help me.
### Other info/logs
*Please contact me ASAP=((((. I will be very grateful

Hi @Caulac2006
The MongoDB binary provided by fiftyone is failing to start for some reason.  Running the executable in path\to\fiftyone\db\  manually will show more information.
But I definitely recommend configuring your own MongoDB connection as an alternative. One benefit is much faster import times of fiftyone.

Hi @benjaminpkane
I did run the mongod.exe file in my folder, but it said ‘the procedure entry point BCryptHash not found in the dynamic link bcrypt.dll’. I clicked properties the mongod.exe and it is currently version 5.0.4, while I am using window7, how can I use the older version of it that can be compatible.

FiftyOne supports MongoDB versions >=4.4. But it may be given your version of Windows, you'll have to set that up manually. I'm not sure if what versions of Windows MongoDB has support for, though.


Serbian language

There are to many variations, tryed to cover them all. Will see in the future if this goes well.
Marko

Thanks!
I'm afraid I can't accept the patch as is: there are a few issues that will need to be fixed.

There's a global leak on the variable starting_word. Please make sure it is scoped locally.
There's a global leak on the variable c. Please make sure it is scoped locally.
Allowing the global variable mscope scares me, since globals are dangerous and it greatly obfuscates what is occurring. Is it possible to replace it with judicious use of this? If not, can you explain the issue that it is trying to fix? Perhaps I can help you work around needing it!

global variable "mscope" removed, now passing through function "this".
added as local variable "c" and "starting_word"
That "mscope" used before as global var to inspect inside functions for some conditions. Now removed.

Phew! I took some time to clean up your code—looks like Slovak is an exceedingly complicated language!
Thanks for the contribution, this should go live in the API later this week.

By "clean up" you mean...?
Serbian it is complicated, not Slovak :)
thanks

Yikes, sorry about that. I meant Serbian :)
By "clean up", I am referring to this diff: https://github.com/darkskyapp/forecast-io-translations/commit/f59229eda7d2472bf40cbbb70b6064188e996cbf
There was a lot of dead code, broken branches, unnecessary checks, and idempotent functions. By trimming those down, the code will be easier to maintain and run faster on our servers!

This is now live in the API.
Be advised that the correct language code for Serbian is "sr", which is what the API (and the latest version of this module) uses.

Excellent! Thanks for the info.


pull request for e2e test at 01/27/2017 12:15:17

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


The field decimals should be a u32 from Algorand's documentation.

Describe the bug
According to the Algorand docs AssetParams::decimals should be a u32.
It's a pretty minor thing, and not necessarily a bug.

Let's comply with the docs then!

this issue has been solved already no?

@Niceural  Actually no, we are still using u64.


Support the ability to alter table...rename a column

As a data modeler, I need to rename a column.  I would like to use the snowflake_table resource to support this action
From pure-DDL perspective, it would like this:
alter table mydb.myschema.mytbl rename column col1  to column1;
to be supported with a ne property called OLD_NAME in the nested schema for column (as such):
resource "snowflake_table" "my_tbl" {
  name     = "MYTBL"
  database = "MYDB"
  schema   = "MYSCHEMA"
  column   {
            name = "COLUMN1"
            old_name = "COL1"
            type = "STRING"
  }
  comment  = "test table"

  depends_on = [snowflake_schema.schema]
}

This would be a great feature. Plus, the ability to change data type would be great too.

I would like to see this feature released any time soon!

I would love this functionality too. I imagine the issue is maintaining the column id across each iteration. ie, if you change the name, right now TF is going to treat it like a drop and add. However, if the column had on id field, you could change attributes of it without losing the relationship.
The problem with this is that you'd now have a TF field to create with each column that is only valuable occassionally.
`resource "snowflake_table" "my_tbl" {
name     = "MYTBL"
database = "MYDB"
schema   = "MYSCHEMA"
column   {
id = "column_1_id"
name = "COLUMN1"
type = "STRING"
}
comment  = "test table"
depends_on = [snowflake_schema.schema]
}Or maybe we pass in a column resource instead of the current structure? Something like:resource "snowflake_table" "my_tbl" {
name     = "MYTBL"
database = "MYDB"
schema   = "MYSCHEMA"
resource "snowflake_column" "column1"   {
name = "COLUMN1"
type = "STRING"
}
comment  = "test table"
depends_on = [snowflake_schema.schema]
}`
I'm not sure if the option above is syntactically possible in TF, but something along either line would be very helpful.

I would love to have this feature. I am new to Go language but I would be happy to collaborate with anyone to implement this feature.

I am also experiencing issues with this. To add a little more color, the problem extends beyond not being able to alter a column in place, as trying to rename a column can also cause unintended changes to other columns that are not being modified.
For instance, let a resource be created as follows:
resource snowflake_table test_test {
  database            = "MY_DATABASE"
  schema              = "MY_SCHEMA"
  name                = "TEST_1"
  column {
      name = "ABC"
      type = "VARCHAR(16777216)"
  }
  column {
      name = "EFG"
      type = "VARCHAR(16777216)"
  }
}

Now let column ABC be renamed to HIJ:
resource snowflake_table test_test {
  database            = "MY_DATABASE"
  schema              = "MY_SCHEMA"
  name                = "TEST_1"
  column {
      name = "HIJ"
      type = "VARCHAR(16777216)"
  }
  column {
      name = "EFG"
      type = "VARCHAR(16777216)"
  }
}

Terraform will drop ABC and add a column named HIJ, but the next time a terraform plan/terraform apply are run, Terraform will think EFG needs to be renamed to HIJ and that HIJ needs to be renamed to EFG, so ultimately column EFG will end up getting deleted and recreated as well.
I like @mddataminr's suggestions, particularly the first one. Similar to @sagar-raythatha I don't have Go experience but would be contribute in any way I can.

I would like to see this feature added.  If you have a table with a single column and then try to rename the column, terraform apply will fail with an error because it attempts to drop the column which is not allowed when it is the only column in the table.

schema evolution strategy would be highly appreciated

I noticed similar behaviour like @elikschultz describe.
I have table definition with sth like
  column {
    name     = "aaa"
    type     = "VARCHAR"
    nullable = false
  }
  column {
    name     = "bbb"
    type     = "VARCHAR"
    nullable = false
  }
  column {
    name     = "ccc"
    type     = "VARCHAR"
    nullable = false
  }

and after each plan I see
      ~ column {
          ~ name     = "aaa" -> "ccc"

        }
      ~ column {
            name     = "bbb"

        }
      ~ column {
          ~ name     = "ccc" -> "aaa"
        }

Please add this feature, would be extremely helpful!

1; please add this feature -- it would be really helpful! We've run into similar problems described in this thread.

+1, having the same issue as @jandanecki. Btw, @jandanecki how are you handling this issue in your terraform code, I have a lot of tables and this behavior overwhelms the output of my terraform plan/apply. Would be glad for any suggestions, thanks!

Bringing this thread back to attention—can this be resolved quickly? We're facing numerous issues due to the lack of this capability.

Hey @reachoutbud. We are aware this is still a valid problem and it is on our roadmap: https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/ROADMAP.md#support-object-renaming-properly.

@sfc-gh-asawicki
Could you let me know when it will be available on any specific date?

@reachoutbud we do not have any specific date that we can share at the moment.

Hi all 👋
Recently, we've done more in-depth research on a few topics; one of them was ignoring the list item's order after creation and handling individual list item updates. When applied to the table columns, it should solve most (if not all) of the issues. A more detailed summary of the research should be posted (and announced in the discussions) soon, so stay tuned. The fix for table columns should be adjusted with the overall table refactor for v1 (that is marked as an essential object).


Invoker: batch register accesses for GRPC API

This is unfortunately not possible with how Cadence currently works.


[move-prover] Eliminate redundant moves/copies in stackless bytecode

The stackless bytecode transformation currently introduces a lot of redundant temporaries and locals during stack elimination. These may make the work for the prover slightly harder, but more importantly, making the debugging experience worse, because we can only show values of user variables to the user, not temporaries introduced by the the stackless transformations. There are some hacky workarounds for this in the bytecode_translator but they aren't complete.
Instead we should use the dataflow analysis framework and define a "reaching definition" analysis (https://en.wikipedia.org/wiki/Reaching_definition) to rewrite the stackless bytcode after it has been created into a more compact and efficient form.

@emmazzz

PS. It's more standard in CC to do this as a separate transformation on three-address code instead of folding it into the stackless code generation or consumption.


citations to footnotes

some citations are not really citations (i.e. references to a concept instead of a specific authoritative source, or the idea is only mentioned and not actually used) and would therefore be more appropriate to make into footnotes with links
In particular there are the the different transaction structures listed in the intro as being possible:

payjoin - currently only a stub citation because there's multiple accounts but no specific authoritative one. probably bitcoin wiki is best since it collects the various resources
cashshuffle - we only refer to the specific transaction structure as being possible w/ wabisabi, but never refer to the details
sharedcoin - same as cashshuffle, but not even clear where it's best documented so there's not even a stub citation

(opened as an issue so that we don't forget, putting it off for now since we're working on the text itself)

should also cite Danake (https://lightweight.money) since it's got many similarities


feat: add xlswriter 1.5.6 release

update xlswriter with release 1.5.6

:tada: This issue has been resolved in version 1.344.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Gilad/try fix

This change is

Codecov Report
Attention: Patch coverage is 0% with 110 lines in your changes are missing coverage. Please review.

Project coverage is 38.96%. Comparing base (27b550e) to head (d33f4b9).

Files
Patch %
Lines

crates/gateway/src/utils.rs
0.00%
70 Missing :warning:

...ates/gateway/src/stateful_transaction_validator.rs
0.00%
39 Missing :warning:

crates/gateway/src/errors.rs
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #83       +/-   ##
===========================================
- Coverage   54.54%   38.96%   -15.59%
===========================================
  Files          11       12        +1
  Lines         275      385      +110
  Branches      275      385      +110
===========================================
  Hits          150      150
- Misses        123      233      +110
  Partials        2        2

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


propTypes need to fix

Thanks you made this checkbox, but still have some problems in v1.0.3. It will get a warning if you use like "rightTextStyle={styles.checkboxRightTextStyle}".I think the proptypes is not current.
There are my suggests:
1. "leftTextStyle: View.propTypes.style" change to "leftTextStyle: Text.propTypes.style"
2. "rightTextView: React.PropTypes.string" change to "rightTextView: React.PropTypes.element"
3. "rightTextStyle: View.propTypes.style" change to "rightTextStyle: Text.propTypes.style"
I hope you can fix it.
Thank you.

@idiot111 Can you create a pull request?


Cache qa-assets directory on CI

Issue:
Everytime a build run, the CI will clone https://github.com/bitcoin-core/qa-assets which is a very large Dataset: 10Go
Fix
Cache directory ci/scratch/qa-assets
Expected Result
Decrease the build time
Result
Decrease the build time by 33%

@rnicoll @patricklodder

I'm testing this currently

First run completed successfully, running a second time to check cache impact.

Second run locally passes. Reviewed the scripts and conscious we may need to find a way to clear the cache manually later, but for now looks good.


Add support for PENN PT and UD GF

With mapping, users should be able to enter either FrameNet either PENN and UG

For UD, see: http://universaldependencies.org/u/dep/index.html
For PENN, see: https://catalog.ldc.upenn.edu/docs/LDC99T42/prsguid1.pdf

UD
PT
GF

nsubj
Poss, NP, AJP, AVP
Ext

obj
Poss, NP, AJP, AVP
Obj

iobj
Poss, NP, AJP, AVP
Dep

csubj
Sfin, Sinterrog, Swhether, Sing, Srel, Sto, Sforto, Sbrst, Sub
Ext

ccomp
Sfin, Sinterrog, Swhether, Sing, Srel, Sto, Sforto, Sbrst, Sub
Obj

xcomp
Sfin, Sinterrog, Swhether, Sing, Srel, Sto, Sforto, Sbrst, Sub
Dep


GroupMilestone Model missing

Hi,
with #390 the GroupsMilestones routes was added for the issue #389 but not the associated model.
Currently the Milestone model is bound to the project but in certain context we need these milestones to be bound to the group.
Given that I need this for a project I can make the PR and submit to your approval if you're ok with that.

Feel free to PR this

Thanks :)


fix(no_stopping_area): skip drawing a stop line in the case where the detected stop lines are goals

Description
Related PR: https://github.com/autowarefoundation/autoware.universe/pull/6517
Related Issue: https://github.com/autowarefoundation/autoware.universe/issues/7081
Related JIRA Tickets: https://tier4.atlassian.net/browse/RT1-6419, https://tier4.atlassian.net/browse/RT1-5039
In the previous PR https://github.com/autowarefoundation/autoware.universe/pull/6517, I changed source code in the no stopping area module as a temporal solution
to the problem reported and it resulted in the wrong implementation of the module as pointed out in the issue https://github.com/autowarefoundation/autoware.universe/issues/7081.
For the current PR, I reverted the change of pull/6517 and gave another solution to the original problem.
Detail of the change to solve the problem of PR https://github.com/autowarefoundation/autoware.universe/pull/6517.
I consulted with @kosuke55 san and gave another solution to the problem of not being able to
enter into the no stopping area when the goal is right behind the no stopping areas.
In checkStopLinesInNoStoppingArea of  scene_no_stopping_area_module.cpp,
I inserted the lines of checking if the stop line detected is near 1m of goal or not.
If the first stop line detected inside the predicted path is near goal, then the no stopping area after this change
skips its own process and does not draw a stop line before the no stopping area.
Tests performed
I confirmed the bug reported in JIRA Ticket https://tier4.atlassian.net/browse/RT1-5039 is resolved, using current version of Autoware.
2024/06/11 https://evaluation.tier4.jp/evaluation/reports/0f925436-b286-5c9d-b72d-6977817653c7/?project_id=prd_jt
Effects on system behavior
Before this change and after the change in https://github.com/autowarefoundation/autoware.universe/pull/6517,
No stopping area module had not distinguished the two cases of stop lines and stuck vehicles beyond the no stopping area,
and also had not took into account the module margin parameters, stop_line_margin, stop_margin and stuck_vehicle_front_margin.
After this change, the module handles the three cases of goals, stop lines other than goals, and stuck vehicles beyond the no stopping area. These behavior for the latter two cases other than goals is compatible with the current documentation for the no stopping area module.
Interface changes
No Interface changed with this PR.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

sorry to be late. I'm checking with tier4 internal scenario tests.
2024/06/11 https://evaluation.tier4.jp/evaluation/reports/0f925436-b286-5c9d-b72d-6977817653c7/?project_id=prd_jt

2024/06/13 https://evaluation.tier4.jp/evaluation/reports/ec205ca1-d9a8-5684-9fc2-c03041fa45fa/?project_id=prd_jt

https://evaluation.tier4.jp/evaluation/oidc/auth/cb/?code=ory_ac_j1iHna8do4GgdvcRbydEebRyTMQAfJQDJddpJ4mt22I.EWv7zP5FOfJxDfz7RC6jCTHc3KkaLyphrzUBWAogEEM&scope=openid+profile+email+offline_access&state=f9f8cdd63ad344ee9642405dc3965132


Client - Highlight changed filters in filter form

It difficult to understand what are the new changes in the filter form if it has some filter previously applied. We should highlight the form that are in a changed state.
This is could be useful due the fact a filter is not applied until a user click on the apply button.
In the current state is not possible to understand if the selection in the ui has been applied or not.
Filter form without highlight:

Expected something similar to:

not needed anymore because apply button has been removed


Decouple object model from storage format

defoe/alto|books|fmp/archive.py each define Archive though Archive is not part of the data model (books/pages) but part of how the data is bundled. It should be possible, for example, to run queries over ALTO-compliant books that are not in a ZIP files too. Complementarily, it should be possible to run queries over British Library Newspapers which are in ZIP files.

In Papers Past New Zealand newspapers data set, each issue is spread across multiple XML files and the results are at the article level. To reconstruct issues would require parsing multiple XML documents and reconstructing each issue from its articles, using newspaper names and publication dates/times as the linking criteria. This would be helped with more understanding of how these XML documents were accessed from the PP NZ API (i.e. what queries were run over that API) but it would be non-trivial I suspect.
The challenge arising from this data set is similar to that for LWM and the Find My Past newspapers ALTO subset too. In that case, articles are spread across multiple XML files, each representing a page of a specific issue of a newspaper. While the notion of issue is present, an article may span multiple XML documents and an XML document may have multiple articles.
There seems to be the need for two layers:

One that reflects how the data is physically stored e.g. ZIP files, XML files.
One that exposes this in terms of a document's structure e.g. books/chapters or issues/articles

This may then make #10 a bit easier.


Create more layout samples, simplify edition

Create a global library file to clean up all the .js
Comment code
Create documentation for editing layouts
Check for errors such as undefined variables, etc
Idea: have the js search for specific classes and check if the element exists to add text into it. Example: jQuery search for ".p1-name" so user can put this anywhere in the html (or not) and it will just work. Do this for all exported variables, maybe in an automatic way using key names from json

For new samples:

Showcase Japanese kana to romaji
Showcase animated alternating text (show player name, then twitter, then go back to name...)
Showcase alternating logos
Have a versus/head to head layout
Try to pull data from other sources using smashgg id, if possible. PowerRankings has support for that

Maybe if the starting animation uses classes like ".fadein" ".scrollDown" (and if there's support for mixing animations using gsap) it could be possible to make it reeeeeally easy for the end user.
Example:


Added #1645 remove minumum interval value

Description
This will change the minimum interval value from 20 to 1 second. However, the user will be warned if they reduce the minimum interval below 20 seconds that performance may suffer
Fixes #1645
Type of change
Please delete any options that are not relevant.

User interface (UI)

Checklist

[x] My code follows the style guidelines of this project
[x] I ran ESLint and other linters for modified files
[x] I have performed a self-review of my own code and tested it
[x] I have commented my code, particularly in hard-to-understand areas
(including JSDoc for methods)
[x] My changes generate no new warnings

Please fix ESLint warnings

Oops, sorry about that. I saw that the test had passed and didn't think to check the output. I wonder if it might be an idea to fail the test on warnings as well as errors. This would be a good spot if github had another result type for warnings.

@louislam is there a reason this has not yet been merged? This is something that's preventing deployment for a couple sites for us.

Hello, I have downloaded version 1.17.1 for docker, but when in the type of monitor that is ping, I set the heartbeat interval value to 1 second, it does not let me advance but asks me for at least 20 seconds.
As I read this feature was added, but in ping it does not allow me.
Could it be that this added does not contemplate the ping in 1 second?
Greetings

This has not yet been merged and as such is not present in this release

I may prefer making this harder to be set. Maybe we can add a env var UPTIME_KUMA_DISABLE_INTERVAL_LIMIT. If user set it to true, they can set a small interval.

Why? There will just be tutorials about how to do it and everyone will do it anyway.

I think I have to agree with @ylluminate. Adding an env var would I think over complicate setting a smaller value. I don't really know what adding another environment variable would accomplish here other than making it harder to set. Whilst making it harder to set could prevent a user setting the value too low and then encountering performance issues, I think that the warning also serves the same purpose without adding extra complexity.

It is because setting it to very low likely causes issues such as random timeout, very high cpu usage, very high database usage and the database locking issue. Uptime Kuma also is not designed for that purpose.
If it is too easy for users to use this feature. They will likely forget your warning message. Then they will just create a bug report here and think Uptime Kuma is unstable.
So I want this to be a hidden feature.

In this case, it would be important that this feature is activated in the graphical environment and that when doing so, a large warning appears indicating the possible consequences.  And the way to disable it manually in case of failures is documented.  You can even set as experimental function.

I just tested it with 1 second, it was so unstable and my Uptime Kuma was under heavy loading and slow response.
So that why I want it to to harder be set or invisible to normal users.
Using env var is just a suggestion. Other methods could be considered.

In this case, it would be important that this feature is activated in the graphical environment and that when doing so, a large warning appears indicating the possible consequences. And the way to disable it manually in case of failures is documented. You can even set as experimental function.

It is also a possible way, just like chrome://flags/.

I see where you are comming from. I certainly think it should be a graphical option over an environment variable. Perhaps if the user sets the value to below 20, they have to click through a prompt when saving to reinforce the message that this is a possibly unstable feature.

I see where you are comming from. I certainly think it should be a graphical option over an environment variable. Perhaps if the user sets the value to below 20, they have to click through a prompt when saving to reinforce the message that this is a possibly unstable feature.

Yes, it would be a good, very visual way of warning the user about the change they are going to make.

I have now added a confirmation dialog for when the use sets the interval to below 20.
Technical description from commit message:

A prompt has been added to confirm with the user that they wish to
reduce the interval value to possibly unstable values. A random (pseudo
random) code is generated which they must input in order to confirm
their descision. Failiure to confirm their descision will result in an
error when saving.
As not to annoy the user too much, the promt is only required when it is
detected that the interval value has been changed.

Screenshot

This PR should now be ready for review.

@louislam Could you take another look at this. The user now has to confirm the change by inputing a random code. I think this should provide a good balance between allowing users to reduce the interval below 20 seconds and ensuring that users understand that it could lead to instability.

Please, @louislam, merge this amazing pull request

Fixed the merge conflicts + updated util.ts to match new min/max settings

Hi, I would like to try out this PR but I'm struggling to build a docker container. Could you describe high level (details are welcome but I'll try to figure it out) how I should go about this?
What I tried:

build an image using the docker/dockerfile (I kept only build_healthcheck, build and release in the file). But when I try to run a container from the image I get this error message: Cannot find 'dist/index.html', did you install correctly
build an image from my own docker file where I start from louislam/uptime-kuma:1 and replaced the app/src directory with the one from this PR. I can run a container from this image but still the UI won't allow me to set anything below 20 seconds.

Thanks!

You should be able to use the pre built docker image for this PR by following these instructions in the wiki
https://github.com/louislam/uptime-kuma/wiki/Test-Pull-Requests

Any news on this hitting Master?

@louislam Is the new system of making the user enter a code to confirm that they want to reduce the minimum interval value OK? I think that this provides a good balance between allowing users to set the interval lower if they want whilst showing that this is not supported.

I think it will be likely running into issue after a period of time with low interval. I think the performance issue is caused by the bad implementation of uptime calculation.
I hope I can fix it first (#2750) before this pr.

Hello.  Looks like #2750 might be getting fixed with 1.23?  Will the under 20 seconds feature be released with that also by chance?
Thanks.

Loking at https://github.com/louislam/uptime-kuma/milestone/34, I think those would be a lot of changes.
@Computroniks
Could you Rebase your PR on https://github.com/louislam/uptime-kuma/pull/2750?
This would allow for checking if This change needs to wait for the changes proposed in https://github.com/louislam/uptime-kuma/issues/3286

@Computroniks
Could you add the following to the Readme:
Resolves #1015

Could you add the following to the Readme: Resolves #1015

Yep, just done that. Sorry for taking a while to respond, I have been working on other projects for work and school which have taken up all of my free time. I will rebase off #2750 later today probably and get this PR ready again.

No worries, this would ship in 2.0 anyway at the earliest, given that some of the performance fixes will not materialsie until then.
i just had another look at #2750
=> Currently this is an empty template
=> Rebasing really does not change anything
=> We are going to have to wait until the performance issue is resolved (a few performance improvements have gone into 1.23. Could you rebase on that release and check if the fixes in master already were okay for ~100 monitors?)

If this gets added, could you also add something, that prevents Uptime-Kuma to load always every single ping, even if the chart is set to one week, because first, this is way too much to load, which causes big performance issues for both client- and server-side.

For understanding, i set my ping delay to 20 seconds, and this system is up for 1.5 days and my browser almost crashes, when i load the one week chart.

The new Chart implementation in #4264 will not be loading individual pings anymore.


Setting Menu

Acceptable Criteria:

[x] Implement interface to configure language for LLMs

[ ] Search engine control (choose Google, Bing, DuckDuckGo, etc)

[x]  Select Backend

[x]  Configuration options from other langchain plugins (whatever langchain lets you adjust - do this under an "Advanced settings" tab/section) This would accomplish https://github.com/ttt246/RisingBrain/issues/24

Search engines:
Google
Bing
Brave
DuckDuckGo
Qwant
Startpage
Ecosia

We will manage the search engine and browsing in brain backend.


Consider Dropping Support for Node.js 0.10, 0.12

The Node.js LTS schedule lists support for Node.js versions. https://github.com/nodejs/LTS/
Note that:

Support for 0.10 ends this month (October 2016)
Support for 0.12 is ending December 2016

I propose that bookshelf also drop support for these versions going forward as other libraries and dependencies will certainly be doing the same. ESLint is an example that readily comes to mind.

With ESLint v3.0.0, we are dropping support for Node.js versions prior to 4.

Hi @MarkHerhold
NodeJS 0.10 and 0.12 support will get dropped for bookshelf next minor (v0.11) version.
Already discussed issue. Closing.
https://github.com/tgriesser/bookshelf/pull/1398#issuecomment-250213228


Clarification Question: Removal from Radarr and 'prevent movie from being added to Radarr by lists'

Question.
When I manually delete a movie from Radarr, I get the option

(Add list exclusion) Prevent movie from being added to Radarr by lists
(Delet movie file) Delete the movie file and movie folder.

With this script, can I also set have the (add list exclusion) option? So that the movie is not immediately redownloaed when its part of a Radarr list?

Hi! This makes alot of sense. I never added it because my workflow doesn't rely around radarr lists, so I overlooked it. I'll add the option to exclude on deletion and let you know

This is avaiable in v0.0.16, give it a try! Check the PR for details on how to enable it.


Roll Flutter Engine from 03de8a41995b to 687c6502a014 (1 revision)

https://github.com/flutter/engine/compare/03de8a41995b...687c6502a014
2023-10-28<EMAIL_ADDRESS>Roll Skia from 64f13d5be3f7 to 71449db76bef (1 revision) (flutter/engine#47413)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Fixed #33334 -- Alphabetized form and model fields in reference docs.

Resolving the documentation issue#33334.

@shivamdurgbuns Thanks :+1: Please alphabetize also GenericIPAddressField in docs/ref/models/fields.txt, see comment.

@felixxm I have alphabetized the GenericIPAddressField also.

@shivamdurgbuns Thanks :+1: Welcome aboard :boat:

Thanks :smile: , Lets contribute more :+1:

@felixxm I think I did closed and reopened the pulled. newbie mistake, could you please help me out here

@shivamdurgbuns Don't worry, we just have to wait for CI again.


Parameter 'if-no-files-found' has no effect

The parameter if-no-files-found has no effect, because there will be always a tarball.
The tarball content needs to be checked to emulate the behavior of if-no-files-found.

This has been implemented and tested on dev branch.


Suggestion: Publish original text of jgex_ag_231.txt

I would like to finetune an LLM to automatically parse problem statements. With 300 examples I think it should be possible. If you publish the original statements I could try it and see how far I can get. My end goal is to build a simple web app that ingests natural language statements and outputs the geometry drawing solution. The first step is, of course, the parsing. So I would be very thankful if you published the original statements.

Note that the translation is not very easy. It seems like you have to rewrite the conditions to eliminate all the constraints in favour of construction. E.g., you cannot write "Let AB=CD" for existing points A, B, C, D. For AlphaGeometry, you must convert it to something like "Let D be a point such that AB=CD".

Yes, I understand is not a trivial task. But having that set of examples and finetuning GPT-4 with chain of thought and some very detailed system instructions could work. The data is crucial to make it work, although it is not the only part to make it work. You need to add all the little nuances as context, and all the definitions as context too.

https://artofproblemsolving.com/wiki/index.php/2000_IMO_Problems/Problem_1
Two circles $G_1$ and $G_2$ intersect at two points $M$ and $N$. Let $AB$ be the line tangent to these circles at $A$ and $B$, respectively, so that $M$ lies closer to $AB$ than $N$. Let $CD$ be the line parallel to $AB$ and passing through the point $M$, with $C$ on $G_1$ and $D$ on $G_2$. Lines $AC$ and $BD$ meet at $E$; lines $AN$ and $CD$ meet at $P$; lines $BN$ and $CD$ meet at $Q$. Show that $EP=EQ$.
translated_imo_2000_p1
a b = segment a b; g1 = on_tline g1 a a b; g2 = on_tline g2 b b a; m = on_circle m g1 a, on_circle m g2 b; n = on_circle n g1 a, on_circle n g2 b; c = on_pline c m a b, on_circle c g1 a; d = on_pline d m a b, on_circle d g2 b; e = on_line e a c, on_line e b d; p = on_line p a n, on_line p c d; q = on_line q b n, on_line q c d ? cong e p e q

I would like to finetune an LLM to automatically parse problem statements. With 300 examples I think it should be possible. If you publish the original statements I could try it and see how far I can get. My end goal is to build a simple web app that ingests natural language statements and outputs the geometry drawing solution. The first step is, of course, the parsing. So I would be very thankful if you published the original statements.

May be you can find some of them here http://www.mmrc.iss.ac.cn/~xgao/paper/book-area.pdf


chore(deps): update to Crossplane runtime 1.14.1, upjet 1.1.0

Description of your changes

Fixes #
I have:

[ ] Read and followed Crossplane's contribution process.
[ ] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

My local build environment has 1.21. This may have led to the go.mod files including toolgen which is a 1.21 flag. I attempted to update the CI and Makefile to go 1.21 and then ran into linting and build errors on this line:
# github.com/crossplane-contrib/provider-jet-equinix/internal/controller/providerconfig
Error: internal/controller/providerconfig/config.go:45:12: source.Kind (value of type func(cache "sigs.k8s.io/controller-runtime/pkg/cache".Cache, object client.Object) source.SyncingSource) is not a type

I think the next step would be to revert to 1.19 to match upstream and regenerate go.mod using a 1.19 format

go<EMAIL_ADDRESS>requires<EMAIL_ADDRESS>but 1.19 is requested 💫

Attempted to copy some enhancements over from provider-aws, which is already adapted to go 1.21, but there are many more features that would need to be copied over.
https://github.com/crossplane/upjet-provider-template/issues/36

Largely covered by #52


aws: metaphor ghcr package access set to internal but required public to pull from cluster

Which version of kubefirst are you using?
2.2.9
Which cloud provider?
AWS
Which installation type?
CLI
Which distributed Git provider?
GitHub
What is the issue?
After installing kubefirst to aws, I had to make the metaphor ghcr package, which was appropriately set to internal, public in order for the cluster to be able to pull the image to complete the dev/stage/prod metaphor deployments. Indeed, setting the ghcr metaphor package to public immediately resolved the image pull failure/backoff.
Code of Conduct

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

Thanks for the report @cameronraysmith, we will look into that.

This seemed to be confounded with presence/absence of repo/package:tag vs repo:tag alone so I'll close this for now and reopen if that's proved wrong.


Blah blah blah

Signed-off-by: Sakari Ailus<EMAIL_ADDRESS>

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Sakari Ailus seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Add encoding utf-8 from the form

Add encoding utf-8 from the form.

instead

#new = request.POST.get('task', '').strip()
add
new = request.POST.getunicode('task', '')


ttkbootstrap demo has errors (According to python 3.131)

Desktop (please complete the following information):
ttkbootstrap Version 1.10.1
OS: Windows
Describe the bug
When I try to run the Demo file py -m ttkbootstrap, it says that there are code errors.
I've tried running the command in pwsh (Official, not the windows pwsh). I've also tried it on command line but it keeps saying that there is an error in the code.
The reason I didn't try >>> python -m ttkbootstrap is because this command runs in python 3.9.13 (instead of 3.13.1)
To Reproduce
Go to pwsh
Type in "py -m ttkbootstrap"
See error
Expected behavior
I expect it to show the demo project

Image Source
Screenshots

Additional context
Powershell version: 7.4.6

ttkbootstrap.zip
Here is the Demo file

Also, I was using VSCode with python extensions

Nvm fixed. Replace CUBIC with BICUBIC (line 856)


add pacman-based recommended packages

Adds a list of recommended packages for pacman-based GNU/Linux distros, mainly Arch Linux based distros

besides this PR I would like to know if Arch Linux based distros could have a note inside the Linux Expected support, as a rolling release distro it should support the required toolchains, but I am not sure if an Expected support is desired for vcpkg

Thank you for the contribution!

besides this PR I would like to know if Arch Linux based distros could have a note inside the Linux Expected support, as a rolling release distro it should support the required toolchains, but I am not sure if an Expected support is desired for vcpkg

Can you clarify what you mean?

it would be something like mentioning in the Linux section of supported hosts anything Arch based should be able to be supported, however Arch Linux is rolling release based, so I am not sure if this would present any issue.
I think it could be mentioned in the category of Community support.
probably something like:

Rolling release distros. as long they provide support to the required list of toolchain packages and proven maintenance of them any rolling distribution should be able to build from source as long the required platform is in the mentioned above. however the current packages could break due to the distribution nature and any errors need to be also present in the oficial support to be considered as such.