Ceph RBD disk usage not implemented

I noticed that Ceph RBD disk usage was not implemented yet. Is this a case of "there was no time to implement this yet" or is there a structural reason this can't be implemented?
I would be interested in contributing support for it if there is no reason for not having it.

I can't think of a fundamental reason why it wouldn't work. Using the same pattern we're using for LVM should work just fine.
If you want to give it a shot, you need to populate GetVolumeUsage in lxd/storage/drivers/driver_ceph_volumes.go and I'd recommend basing this on the same function from lxd/storage/drivers/driver_lvm_volumes.go.

Thanks for the tips. This should work fine when the system is mounted however what would we do when it's not? Also how do you normally deal with things like snapshots when calculating the size of an image. We could use rbd du but that would also include the size of the derived snapshots.
~# rbd du --pool cluster custom_bcc-maran-5002
warning: fast-diff map is not enabled for custom_bcc-maran-5002. operation may be slow.
NAME                                        PROVISIONED USED
custom_bcc-maran-5002@snapshot_snappyshotty     9.3 GiB 1.3 GiB
custom_bcc-maran-5002                           9.3 GiB  16 MiB
<TOTAL>                                         9.3 GiB 1.3 GiB

How do you handle this for other storage drivers?

Using rbd du when not mounted should be fine. That's effectively what we do with LVM where we try to get it from the filesystem and if we can't, we go look at the thinpool usage.
We'd usually prefer to ignore the snapshots, though it always depends on how used is calculated.
If in your example above, used is only 16MB because of the previous snapshot owning the vast majority of the actual used space (so used is just delta since last snapshot), then we'd prefer to use the total I think.

Just to be clear though: this would mean that getting the volume size while the system is not mounted would result in a much larger volume than when it is mounted, especially if you have tons of snapshots. This won't be too much of an issue?

Correct, that's what we do for lvm so shouldn't be too much of a surprise

Just a small follow-up question while I try to make this work;
I'm trying to figure out where in the lxc tooling the size is suppose to show up. Is it correct it should show up automatically on lxc storage volume show ceph-dev custom/test-rbd if it is properly implemented? The REST API docs seems to suggest as much.

I believe so, yes, though only for custom volumes.

stgraber@castiana:~$ lxc storage volume create default blah size=5GB
Storage volume blah created
stgraber@castiana:~$ lxc storage volume show default blah
config:
  size: 5GB
description: ""
name: blah
type: custom
used_by: []
location: none

Ah but that's the configured size, not the actual current usage I want to add support for. How do I get the actual usage (GetVolumeUsage())?

GetVolumeUsage right now is only used for instances. So doing lxc info NAME on an instance.

$ lxc info
...
Resources:
  Processes: 24
  Disk usage:
    root: 774.84MB

So the code does seem to show it for the root disk now, however the custom disks that I attached are not showing up. Is that suppose to show up there?

nope

Just to confirm: There is no way currently to get the usage of custom storage volumes out of the system?

That's correct, yes. Other than attaching to a container and using df -h or something through exec :)

Yeah that's my current solution which is fine.
I do notice that when I stop the container it won't try to get the size of the root disk. So the code that's now in my else statement where it tries to get the usage from rbd du will never be ran. Is there some other way to see if that code is working ok?

lxc query /1.0/instances/NAME/state | jq .disk.root.usage
It's just the CLI not fetching the value, but the API exposes it.

Interestingly enough it seems to work but the usage when stopped is smaller then when it's running.
I guess this is because there is a parent image being used for the root disk and it's showing me the usage offset against the original image when the container is not running?

        "disk": {
                "root": {
                        "usage": 117440512
                }
        },

Which matches
NAME                      PROVISIONED USED
container_honest-seasnail     9.3 GiB 112 MiB

But when the container is running it's showing quite a bit more.
/var/lib/lxd/storage-pools/ceph-dev/containers/honest-seasnail/rootfs  9.2G  737M  8.0G   9% /`

Yeah, I think that's correct. The 112MB is the delta between the image it was created from and its current state. The 737MB is the used space in the container which includes the bits shared with the image.

Ok great, I think everything is working then. Will look at the code again with fresh eyes tomorrow and send a PR.

thanks!


0.10.x merge up into 0.11.x

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.763%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5102

Relevant Lines:
6091

💛  - Coveralls


DJANGO_API: takes awhile to get to the 2nd level subdirectory for a dandiset

To facilitate future support of large (in # of files, https://github.com/dandi/dandi-api/issues/78) dandisets I am in the midst of uploading a test dandiset with 1,000,000 assets . By now (running for probably 18 hours) uploaded only about 43k according to the summary of https://gui-beta-dandiarchive-org.netlify.app/#/dandiset/010000/draft .
An interesting behavior already showed up.

navigate: "View Data", "sub-1/" , "sub-1_ses-10_cell-1.z" -- everything (besides minor UI glitch https://github.com/dandi/dandiarchive/issues/599) is working nicely and not too slow
now if you click on "sub-1" in the breadcrumbs navigator then

it would take you many (I waited for 20) seconds: should be at least as fast as you went there originally (so not sure what holds it up)
meanwhile breadcrumbs path would show the target destination (sub-1) while the files listing pane would show old sub-directory content (while "spinning bar" is still spinning and some times getting stuck even) - make view a big confusing: IMHO should clear the pane (before repopulating with the new listing)

Just ran into https://github.com/open-telemetry/opentelemetry-python and wondered if it could come handy if issue boils down to dandi-api

Do you still have this 1e6 test dandiset? The best I can do at the moment is https://gui.dandiarchive.org/#/dandiset/000045/draft/files?location=, which only has ~6000 assets in it, but at least there's no significant lag in loading the file browser. (But it doesn't have a two-level hierarchy either.)

go to https://gui.dandiarchive.org/#/dandiset/000052
navigate down to https://gui.dandiarchive.org/#/dandiset/000052/draft/files?location=dataset%2Fsub-MGH_19-1_021520%2Fmicroscopy%2F
click on breadcrumbs to go one directory up

extra side effects discovered while trying to re-prepare the reproducing workflow here:

leaving that tab with deep down directory while it still is populating the download urls (hopefully would be fixed whenever that https://github.com/dandi/dandi-api/pull/312 is finished/used), and coming back to it - just gives me the white page

so what I think is happening is that web ui session is waiting for all download buttons to be populated, and doesn't redraw anything (if I go up, or just come back to the page in the tab) until "it is done getting all download buttons"
but also there is something funky about state -- going back and forth (via our "navigator") https://gui.dandiarchive.org/#/dandiset/000052/draft/files?location=dataset%2Fsub-MGH_19-1_021520%2Fmicroscopy%2F and the above https://gui.dandiarchive.org/#/dandiset/000052/draft/files?location=dataset%2Fsub-MGH_19-1_021520%2F -- some times it is fast to go up, some times start to take time

I looked closer at the problem and the slowness does indeed seem to be a result of the client waiting for all the download buttons to be populated as @yarikoptic said. To get those download links the client sends a request to the server for each of the files in the current directory, so when you have hundreds/thousands or more files in a directory it lags a lot.
It seems we need some way of limiting the displayed files so only a manageable number is shown at once. Is pagination an option here UI/UX-wise?

I would not mind to re-introduce pagination (I believe it was in place with an older web ui), but I guess it would be best if it was just interfacing pagination of the API.
So IMHO it would be better to finish up https://github.com/dandi/dandi-api/pull/312 .  Unfortunately "pagination" there would be just at the level of a "return" values serialization, and we would still need to go through all the assets to deduce all the directories (and as a side-effect their sizes).


Android Video reset to zero if we scroll the video or navigate

Bug

Platform
Which player are you experiencing the problem on:

Android

Environment info

Library version: 6.0.0 beta 0
Device:
All android
Steps To Reproduce

Videos are in Flatlist
I play one video.
scroll down and scroll back to that playing video, it will start playing from 0.
even when i pause the video and then scroll down and scroll back to that video, the same case appears.

Expected behaviour
When I scroll back to that video it should have playing continuesly.

Did you check if the Video component is unmounted?

@amm4ryous4f  Flatlist unmounts elements that are not in viewport. When Video component is unmounted it restarting video state. You can try set removeClippedSubviews to false but it will increase memory usage.
Support for Flatlist is planed in Roadmap

No update, let's close this issue


Code style improve.

Better comments
Better naming

Hi @zugzwang , I created this PR for solving your comments in https://github.com/fortanix/rust-mbedtls/pull/344


Chapter 3: Updating CI Pipeline

At the start of the book I opted to go with CircleCI for my CI pipeline, but as I have worked through Chapter 3 I have noticed that Github Actions are the only supported CI pipeline here. I have been able to kind of get a configuration file set up, but my tests are failing in CI
You'll see below that I am ending up with a database connection problem.
#!/bin/bash -eo pipefail
docker run --security-opt seccomp=unconfined -v "${PWD}:/volume" xd009642/tarpaulin cargo tarpaulin --ignore-tests
Unable to find image 'xd009642/tarpaulin:latest' locally
latest: Pulling from xd009642/tarpaulin

737482dd: Pulling fs layer
592d62aa: Pulling fs layer
6935197e: Pulling fs layer
026c6457: Pulling fs layer
136223c1: Pulling fs layer
4330ee83: Pulling fs layer
Digest: sha256:a102d220216aee254b97fd6be5e5000a82ec26aa9c744f9c46f5860abc22f1ab
Status: Downloaded newer image for xd009642/tarpaulin:latest
Jun 05 22:46:49.303  INFO cargo_tarpaulin::config: Creating config
Jun 05 22:48:06.969  INFO cargo_tarpaulin: Running Tarpaulin
Jun 05 22:48:06.969  INFO cargo_tarpaulin: Building project
Jun 05 22:48:06.969  INFO cargo_tarpaulin::cargo: Cleaning project
warning: unused manifest key: target.aarch64-apple-darwin.rustflags
   Compiling libc v0.2.144
   Compiling cfg-if v1.0.0
   ... COMPILATION
   ... STEPS LEFT
   ... OUT
   Compiling newsletter v0.1.0 (/volume)
error: Broken pipe (os error 32)
warning: build failed, waiting for other jobs to finish...
error: could not compile `newsletter` due to 2 previous errors
Jun 05 22:49:33.241 ERROR cargo_tarpaulin: Failed to compile tests!
error: error communicating with database: Cannot assign requested address (os error 99)
  --> tests/test_health_check.rs:47:17
   |
47 |     let saved = sqlx::query!("SELECT email, name from subscriptions")
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)

The corresponding test is listed here:
#[tokio::test]
async fn subscribe_returns_200_for_valid_form_submission() {
    // Arrange
    let address = spawn_app();
    let configuration = get_configuration().expect("Failed to read configuration");
    let connection_string = configuration.database.connection_string();
    let mut connection = PgConnection::connect(&connection_string)
        .await
        .expect("Failed to connect to Postgres.");
    let client = reqwest::Client::new();
    let encoded_body = "name=le%20guin&email=ursula_le_guin%40gmail.com";

    // Act
    let response = client
        .post(&format!("{}/subscriptions", &address))
        .header("Content-Type", "application/x-www-form-urlencoded")
        .body(encoded_body)
        .send()
        .await
        .expect("Failed to execute request.");

    // Assert
    assert_eq!(200, response.status().as_u16());

    let saved = sqlx::query!("SELECT email, name from subscriptions")
        .fetch_one(&mut connection)
        .await
        .expect("Failed to fetch saved subscription");

    assert_eq!(saved.email, "ursula_le_guin@gmail.com");
    assert_eq!(saved.name, "le guin");
}

I'm curious if the reason that the test is failing in CI is because i'm not actually filling the database with the data, so query!() is unable to make the request.
Any thoughts on what could be happening here?

Note that I have also tried with the Github Actions flow, but i'm still unable to connect:
running 3 tests
test health_check ... ok
test return_400_for_invalid_form_submission ... ok
test subscribe_returns_200_for_valid_form_submission ... FAILED

failures:

---- subscribe_returns_200_for_valid_form_submission stdout ----
thread 'subscribe_returns_200_for_valid_form_submission' panicked at 'Failed to connect to Postgres.: Database(PgDatabaseError { severity: Fatal, code: "28P01", message: "password authentication failed for user \"postgres\"", detail: None, hint: None, position: None, where: None, schema: None, table: None, column: None, data_type: None, constraint: None, file: Some("auth.c"), line: Some(335), routine: Some("auth_failed") })', tests/test_health_check.rs:31:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Can you share a link to your project, including the CI files.

After running around in circles for a while I decided to just adopt the Github Actions workflow from Chapter 3 so that I could move forward. Once I have some time this week i'll upload the CircleCI config again and ping you.
One of the big challenges I faced with CircleCI is that I couldn't figure out how to do port mapping. For my project I use port 5069 and map it to 5432 in the Postgres docker container. I have an active Postgres DB already running locally on 5432 so I needed to forward the traffic so that I could also run tests locally against the correct Postgres Container.
I found that with the GH Actions configuration I was able to do that quite easily given how it was made explicit in the file.


Not able to edit program after removing a terminal state

Actual Results
The system does not allow to edit program or edit/add a state after removing a terminal state.
Expected results
If the program is not in a terminal state, the system should allow to edit the program or the state.
Steps to reproduce
Login -> registration module -> search for a patient -> enroll on a new program with a non terminal state -> update the state to a terminal state. There will be no options to edit as expected. Now click on the green view button -> remove the terminal state -> close the modal window. Still can't edit the program although it's in non terminal state now.
Screenshot/Attachment (Optional)

 Program State Change Test Report 3.1.*


Track when users click buttons

It would be very useful to know, for example, the split between how many users are clicking the 'save and continue' button and how many are clicking the 'save and return to service overview'.
This commit adds code similar to the link tracking code to fire an event when any button is clicked.
By recording the text of the button and the URL of the page that the user is on we can filter the data to work out what's going on.

:+1: for the code changes. I'm surprised we can't track this through the normal page views sent, seeing as we're just trying to see the next page requested after each edit page.

This kind of dark art is why I have an ad-blocker.

Only track buttons on question pages
…slightly less dark.
This also removes the tracking of the URL in the label parameter (because the URLs will be broadly the same) and replaces it with the page title, as requested by Ash.

:+1:


Numerous logs coming from opentelemetry:http: superfluous response.WriteHeader call from go.opentelemetry.io

Steps to reproduce
I have been seeing these warnings in the UCP logs:

Observed behavior
One of the logs:
2024/11/03 14:06:52 http: superfluous response.WriteHeader call from go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/request.(*RespWriterWrapper).writeHeader (resp_writer_wrapper.go:78)
Desired behavior
Not seeing these warning messages
Workaround
No response
rad Version
RELEASE   VERSION   BICEP     COMMIT
0.38.0    v0.38.0   0.30.3    cf376db253a010c32a72ae38f9b967e84d4e92f9
Operating system
macOS Apple M1 Pro Sequoia 15.1
Additional context
Probably related: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/6053
Would you like to support us?

[ ] Yes, I would like to support you

AB#13573

Dear future contributor,
This may have been fixed by a dependabot PR.
Thanks.

I hope so. I investigated this too, and found that it's already been fixed upstream. The fix is in a dependency-of-a-dependency so we haven't picked it up yet.


minor fix for 16 channel mode

works ok on the bench with S.BUS1

Thanks! Cherry-picked in #1819.


The content here may need to be corrected

File "F:.........\optimal\algorithms\genalg.py", line 32, in
from optimal import gaoperators, optimize, common
File "F:..........\optimal\optimize.py", line 57
print 'Iteration: %s\nAvg Fitness: %s\nBest Fitness: %s' % (
^
SyntaxError: invalid syntax

Are you using Python 2?

It has been solved, thank you.

TypeError: 'map' object is not subscriptable in optimize.py


Failed to create virtualenv using RustPython

When I want to test alternate Python interpreters, I usually create a virtualenv using:
virtualenv .env -p ./path/to/python

virtualenv is installed system-wide through pipx.
Then I run the test suite of some projects I maintain to report incompatibilities (like I did with #3411). When I use this pattern with RustPython, I get an immediate error:
TypeError: 'NoneType' object is not callable

Can you currently get it working with interpreters other than CPython and PyPy?
The reason I'm asking is, after a quick glance, it seems like handling is done by certain Creator classes for which I only see implementations for CPython and PyPy (virtualenv/create/via_global_ref/builtin) and so I'd be interested to see how other implementations handle it.

CPython and PyPy/PyPy3 are the only interpreters I use every day. I have tried Pyston too, but I cannot remember if I had similar issues or not.

rustpython -m venv now works


HKG: compatibility fixes

@sshane I only checked the K5, so let's double check this, but it seems LKAS/LFA is standard on all. SCC isn't standard on the K5 though.

The default is SCC, but sounds good, I'll double check everything

This is a 17 Elantra, the owner's manual says "if equipped" by LKAS. Will try to find a better source for trims and availability.

Let's just do this incrementally as we find things out. Want to merge this for just the K5?


corrected spelling

Thanks for submitting a pull request! Please provide enough information so that others can review your pull request:
Summary
Fixed spelling of already
This PR fixes/implements the following bugs/features

Spelling change fix

Explain the motivation for making this change. What existing problem does the pull request solve?

Test plan (required)
Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots help greatly.

Closing issues

Fixes #

I have rejected the PR as it doesn't require a full PR to fix a single spelling mistake.


[Bug] Filtering does not take effect when range protection is enabled

Before you submit this issue, have you checked the following

[X] Is this really a problem?
[X] I have searched the Github Issues for similar issues, but did not find anything.

Affected packages and versions
0.2.5
Reproduction link
https://stackblitz.com/edit/github-hnthoz-ofclhp
Expected behavior
Filtering take effect even when range protection is enabled because it's not kind of modification
Actual behavior

System information
No response

Filter is also a collaborative operation that will affect table rendering, so it needs to be controlled by permissions.


Elaborate Casher's Readme

Following @igorwwwwwwwwwwwwwwwwwwww 's guidelines for the documentation they'd like in all of our Travis CI projects, I started documenting Casher. There are still a few more things I think we need to add but I wasn't sure about:
How to install it, how to build it locally, how to deploy: It is a script that is hosted on Github and called from a Github URL. Should I add that somewhere?
License: I'm not sure what license we have for this. And 🇩🇪 laws and such.

Oops, totally saw that we had an actual LICENSE file so I added that section to the readme as well. 👍

I think the document needs some restructuring.
I suggest explaining that casher has 3 operating commands (fetch, add, push) and explain briefly how they are used.
The function of travis-build, while important, is just feeding casher arguments it expects.

Thanks Hiro! I agree that it's a very rough draft--I wanted a starting point and to see if I could figure it out on my own. Appreciate the feedback and I will do some revisions on Tuesday when I get back. 😄

Tried to follow Casher's code and Casher's code alone to elaborate more on its purpose. I still left an "in the system" section because I think the interaction between Travis Build and Casher is important to document.

After talking with Hiro, I should add subsections for casher fetch (URL), casher add (dir) and casher push (cache-***.tar.gz). Explain it like a man page, describing what the arguments are and how it behaves. 👍

Bump!

Awwa merged! So flattered ;) I dare say the readme isn't quite finished yet but I'll open another PR at another time when I can do this part:

add subsections for casher fetch (URL), casher add (dir) and casher push (cache-***.tar.gz). Explain it like a man page, describing what the arguments are and how it behaves. 👍


Misaligned Viewed Button in the Review process [ Big Issue ]

Code of Conduct

[x] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
When  reviewing  files in the pull request, the Viewed  Toggle button is at the top, which is not in the
appropriate location..
it should be at the bottom of the viewed page so the viewer should not scroll back to the top in order to check the toggle button.
What part(s) of the article would you like to see updated?

This "Viewed" Button should be in the end of the file.
Additional information
No response

@XeroDays Thanks so much for opening an issue! However, here we maintain the GitHub Docs site and the documentation within. For this kind of issue, please leave your feedback here ✨
If there's something in the docs that need to be updated, let us know. Closing this now 💛

@cmwilson21  I am not sure where should i generate this issue? who maintian the Github core web app?

@XeroDays I think the best place would to be to leave feedback in the link above here. That's where feedback and suggestions are made.
Thanks again! ✨


Remove blue outline on search field

Commit bc0bb4e removes the blue border that's generated by mouseclicks, but not those from keyboard input. This lets us get the classy look without hurting accessibility. BUT, since the first input field gets focused on programmatically and not via mouse, it's still showing up there. Should we prevent that field from being selected on page load?


Missing package

Trying to use this with webpack but getting:
Module not found: Error: Cannot resolve module 'js-signals'
Should be added to package.json, and I guess it is just 'signals' nowadays.

Maybe better to use the dist version since this is such a large package. It works.


Update embassies and world locations

Part of https://trello.com/c/KJo6tZXo/58-5-update-whitehall-to-govukpublishingcomponents-v21x-with-compatibility-mode-on

Duplicate of #5076


Add rustls support

Adds the rustls feature, which will use rustls over native-tls, and is used by default.
native-tls is still available as a feature.

this would be nice!

i forgot how i was even doing this


[WIP] Debug default upload

Tracking issue

Why are the changes needed?

What changes were proposed in this pull request?

How was this patch tested?

Setup process
Screenshots
Check all the applicable boxes

[ ] I updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] All commits are signed-off.

Related PRs

Docs link

put some logs
new context for FilePathTransformer
Remote Execution:  @@@ should_upload:  True
@@@ source_path:  /Users/future-outlier/code/dev/flytekit/build/local_example.txt
@@@ headers:  {}
@@@ remote_path:  None
@@@ should_upload:  False
Running Execution on Remote.
[2024-10-31T15:00:06.788+0800] {__init__.py:14} INFO - Pandas backend loaded 2.2.3
[2024-10-31T15:00:06.790+0800] {__init__.py:25} INFO - Numpy backend loaded 1.26.4
[2024-10-31T15:00:06.791+0800] {__init__.py:35} INFO - Pyspark backend loaded 3.5.2
[2024-10-31T15:00:06.791+0800] {__init__.py:43} INFO - Python backend loaded
Image localhost:30000/flytekit:qoVyL3nOf90RZOClkyJXBA found. Skip building.
@@@ should_upload:  True
@@@ source_path:  /Users/future-outlier/code/dev/flytekit/build/local_example.txt
@@@ headers:  {}
@@@ remote_path:  None

use the default context
@@@ source_path:  /Users/future-outlier/code/dev/flytekit/build/local_example.txt
@@@ headers:  {}
@@@ remote_path:  None
@@@ should_upload:  True
@@@ source_path:  /var/folders/3z/bsm4cddd4q18b_jc_2b2my4h0000gn/T/flyte-9gwfsnx_/raw/ffb0da4c60019751dfa8fa14bf2e7156/local_example.txt
@@@ headers:  {}
@@@ remote_path:  None
Running Execution on Remote.
[2024-10-31T15:06:16.912+0800] {__init__.py:14} INFO - Pandas backend loaded 2.2.3
[2024-10-31T15:06:16.915+0800] {__init__.py:25} INFO - Numpy backend loaded 1.26.4
[2024-10-31T15:06:16.917+0800] {__init__.py:35} INFO - Pyspark backend loaded 3.5.2
[2024-10-31T15:06:16.917+0800] {__init__.py:43} INFO - Python backend loaded
Image localhost:30000/flytekit:qoVyL3nOf90RZOClkyJXBA found. Skip building.
@@@ should_upload:  True
@@@ source_path:  /Users/future-outlier/code/dev/flytekit/build/local_example.txt
@@@ headers:  {}
@@@ remote_path:  None

the context's file access's raw_output_fs and raw_output_prefix are wrong, not sure why

I’ve decided to prioritize the gate-feature and stop here.
The main issue is that if we don’t create a new context at the top of the context stack, the original context will set file_access properties, like raw_output_fs and raw_output_prefix, to use local storage.
However, if we create a new context, then file_access will set raw_output_fs and raw_output_prefix to use remote storage instead.
The most confused things for me is I don't know why the default context use local storage.

Also, just want to confirm, this is pre-existing behavior, right? As in, it reproes in released versions of flytekit.

Also, just want to confirm, this is pre-existing behavior, right? As in, it reproes in released versions of flytekit.

yes you are right, I will solve this today


ReplicaValidationForOpenConnectionsAndInitCache

This is the second PR for replica validation. Please reference the first one here: https://github.com/Azure/azure-sdk-for-java/pull/29767
Description
If customer calls cosmosAsyncContainer.openConnectionsAndInitCaches and opted in replicaValidation through COSMOS.REPLICA_ADDRESS_VALIDATION_ENABLED, then SDK will also do replica validation for replicas in Unknown status.  (After first PR, SDK will only do replica validation for replicas were in Unhealthy status.

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

/azp run java - cosmos - tests

/azp run java - cosmos - tests


Cards

https://app.zeplin.io/project/5e344ca7405a53a6ef303bc1/screen/5e4b29380cb31fa82743d819
Let's not include swipe actions for V1. Just plain cards

@agneszitte-nventive I updated description

@agneszitte-nventive let's add a sample of a card in a list, just to showcase it and see how it plays out with pressed states along with the ListViewItem. I'm afraid we might need to make a custom ListViewItem style?
Also for the expand section, we can keep it for a v2, we need to have it animate.

ElevatedView should be in our v1, it's working. Except for issue #50

@MatFillion

Ok I will next work on card in a list in the next PR.
For the expander I already add the animation part in the Card control (or maybe I did not understand your sentence)
For ElevatedView nothing was showing up when I tried the other day, but I will work on that also and understand why it was not showing up correctly.


Unable to enter new commands after using and entering many other commands

Apparently not to sure if this is a known issue but the application will hang and unable to enter any new commands. I will have to open a new tab to continue using the application or restarting it.

Yeah, I've experienced this too. Haven't had the time to debug it yet, it's difficult to reproduce. If you or anyone else finds a way to consistently reproduce this issue, please post the steps here.

I have this issue quite a lot. Mainly when building and running C++ programs using make.
The problem arises when repeatedly running "make" to build my project and then running the program which will output several hundred lines to the terminal.
If I had to guess, the brute force way of reproducing the issue is to write a simple program that outputs a large number of lines to the terminal, and then run that program many times.
When I encounter the issue I notice that It is a combination of running several commands and each command producing a large amount of output. Just doing one or the other seems to take much longer to reproduce the issue.
I am running on OSX 10.12.2 on a Early 2013 MacBook Pro with Black-Screen v0.2.93 for reference

I Just took a moment and replicated the error: I dont know how much help the info i can give you will be but here it is anyway. I ran my program that I am working on 24 times. Each time it output 362 lines of text. I recorded the session using the built-in dev tools. I took a quick screen grab of the Dev-Tools Results (I dont know how to save a log of the output) which I can provide upon request. (Github wont let me upload)

It happens a lot when I cd and ls which are every simple commands but I am not to sure what really triggers it. Very hard to debug.

If I had to take a guess, It would have something to do with the input and output buffers getting extremely large. I am not familiar with how the program works, but it may be worth looking into caching the output into a file when it reaches a certain size. This would free up q lot of the memory being used as well as provide a way to enable output logging if there isn't one already.
For comparison here is the output after running the my program only once:

Note how running just once only uses 23.9MB of heap and 916 Nodes as compared to 78.8MB of heap and 111836 Nodes after running 24 times. Those numbers seem to scale in a non linear fashion which to me would indicate a possible source of the issue possibly.

Does the issue always show up after exactly 24 commands? If so, it would be very useful to see your steps in reproducing.

Just ran two more trials, the first I ran without recording the info on the dev-tools and It took 20 runs of my program. I ran a second time while recording on the Dev-tools and It indeed did take exactly 24 runs of my program.

Thats interesting. The resident memory growing isn't particularly surprising, since we need to store all that output from your commands, but the bug always triggering after 24 executions is very interesting. If you run a different program (and/or change the program you are running to have shorter or longer output) does that affect the reproducibility?

Just tested, Ran 'ls' 26 times in a row before it failed. With arrpox 4 lines of output per run. So my guess would it doesn't directly correlate to the number of lines being printed as this is 100x less lines than my previous tests

I just pushed a new version that fixes several potential causes of the issue. Let me know if it is fixed for you.

how can I get a copy with the changes? which branch to download or other install instrcutions please?

On the releases page: https://github.com/vshatskyi/black-screen/releases

Does not seem to be fixed

Alright, my most recent PR should finally fix this. It removed some sketchy looking code that could assign the  "current" prompt at a bad time. Let me know if you still encounter this issue.


virtio-blk: Misaligned buffers may degrade performance

When using the guest drives with our custom hypervisor, we noticed that the guest sometimes provides buffer chain for data that is not a multiple of 512. Although this is not required by the virtio standard, it may require the backend driver to copy data via bounce buffers, when the underlying device supports only block-sized reads.
Examples of virtio requests descriptor chain obtained from the Windows host:
Received request (READ)
   Descriptor[0]: 16B  <- request head
   Descriptor[1]: 3952B  <- Data buffer 1. Size is not a multiple of 512
   Descriptor[2]: 2704B  <- Data buffer 2. Size is not a multiple of 512
   Descriptor[3]: 1B <- Status

Together data are 6656 bytes long (reading 13 blocks) therefore it conforms to the virtio standard.

Received request (READ)
   Descriptor[0]: 16B  <- request head
   Descriptor[1]: 448B  <- Data buffer 1. Size is not a multiple of 512
   Descriptor[2]: 64B  <- Data buffer 2. Size is not a multiple of 512
   Descriptor[3]: 1B <- Status

Together data are 512 bytes long (reading 1 block) therefore it conforms to the virtio standard.

It does not seem to be a bug, but it could eventually provide a performance benefit.
Version
The above described behavior was observed with released version 0.1.221

Reviewed


XF86ScreenSaver key not working

Hyprland Version
 System/Version info
Hyprland, built from branch makepkg at commit 589f758d947cb4e8b888d2da00076a9fb0a6d521  (CI/Nix: build with submodules).
Date: Sun May 5 19:00:39 2024
Tag: v0.40.0-8-g589f758d, commits: 4614

flags: (if any)

System Information:
System name: Linux
Node name: elite
Release: 6.8.7-arch1-2
Version: #1 SMP PREEMPT_DYNAMIC Fri, 19 Apr 2024 09:51:31 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation CometLake-H GT2 [UHD Graphics] [8086:9bc4] (rev 05) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU117M [GeForce GTX 1650 Ti Mobile] [10de:1f95] (rev a1) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

Bug or Regression?
Bug
Description
XF86ScreenSaver not working
wev output
[14:     wl_keyboard] key: serial: 21521; time: 7218986; key: 160; state: 1 (pressed)
                      sym: XF86ScreenSaver (269025069), utf8: ''
[14:     wl_keyboard] key: serial: 21522; time: 7218986; key: 160; state: 0 (released)
                      sym: XF86ScreenSaver (269025069), utf8: ''
[14:     wl_keyboard] keymap: format: 1 (xkb v1), size: 64754

How to reproduce
bind = ,XF86ScreenSaver, exec, hyprctl notify 5 2000 "rgb(22DA6E)" " i am working"
add this keybind in your config
Crash reports, logs, images, videos
No response

have you tried binding by code? lowercase?

Yes, the code is working!
But I'm pretty sure XF86ScreenSaver worked before. I commented out this keybind for some reason for a long time. I just uncommented this today. I don't know; I think something affected this keybind.

try this patch
patch.txt

try this patch patch.txt

yes now  XF86ScreenSaver is working but
some keys stoped working
eg :
$mainMod = SUPER

bind = $mainMod, RETURN, exec, foot
bind = $mainMod, SPACE, exec, ~/.config/rofi/bin/launcher

oops, try this
patch.txt

oops, try this patch.txt

yes its working now :smiley_cat:

this can be closed btw


Capture inserts in a join table from a Many to Many relationship.

Hi,
I'd like to know if theres some sort of $beforeInsert but for join tables.
Imagine i have three models User, Post and Likes. With likes being a join table for a many to many relationship between User and Post.
Now, if an User can only like once a post. I'd have to do an extra query to check if that user has liked that post before. Then create the new like.
The query I'm using to create the new like is:
const post = await Post.query().findById(postId)
await post.$relatedQuery("likes").relate(user.id)

Or I'd be helpful to have a Unique validation for m:n rows.
I'd appreciate your feedback.

The correct way to do that is to add a database constraint that only allows unique userId + postId pairs in Likes table. Doing it using a separate query will fail when there are concurrent operations running. But if you really want to use a $beforeInsert hook, you can add a $beforeInsert hook for Likes model and specify it in the relationMappings.join.through. You can also add a beforeInsert hook for the relationMappings.join.through object.
https://vincit.github.io/objection.js/api/types/#type-relationthrough

Here's how you'd add the composite constraint in the join table
https://github.com/tgriesser/knex/issues/32

Thanks for the reply.
I made a mistake in my post. There's no Like Model. It's just a table for the relationship.


Removed duplicate code and Passed all checks

Solution for  issue titled DRY up the codebase #1
Changes in src/calculator.js

I have removed all repeating lines and implemented that statement in _check() function.
Redirected all functions { add(), subtract(), multiply(), divide() } towards _check().

Before Changes

After Changes

Changes in src/calculator.test.js

Changed describe.skip() to describe() for just passing all tests.

Before Changes

After Changes

Thank you @dantharejabot
For Reviewing and Approving my PR .


[Bug] Wipe folder doesn't works.

I believe there is bug in styletts_to_ebook.py script. Which is
if is_folder_empty == False:

It should be like this
if is_folder_empty(output_audio_directory) is False:

Thanks

Is that fix I included in your merge you requested?

Merged your suggestion code!


net: when LookupIP is timed out, all duplicate lookups wait

It seems that if you have many goroutines that do lookups, they are tied to one routine that does the actual DNS resolve. If it succeeds, the answer is provided to everyone and all is happy.
When it times out, rather than releasing everyone, all the goroutines must also wait their time out too. It would make more sense to also release the other routines with the errTimeout immediately.

what if the timeout is only temporary network flake? do you want to have
one temporary failure
affect all the duplicate lookups?

It won't matter. The code says to forget that host lookup, so the current ones are stranded. Only new calls after the "Forget" will cause a new Lookup.

@minux I see what you are saying....
What is odd though is that my Stacks are showing a bunch of routines waiting for an answer from a lookup but no routine is doing the lookup. While it could be a timing issue, I don't think I was that lucky.
I also noticed that the c.dups in the return is racy since it isn't guarded by a lock.

Here is the stack showing all the routines stuck in a lookup with nothing actually doing a lookup.
The dial timeout is 1s.
https://gist.github.com/fraenkel/5222c65dac27f5bb3ebc

Which version of Go are you using?  The file names suggest you are using a version before Go 1.4.
I expect that this was fixed in Go 1.4 by the fix for issue #8602.

This is Go 1.3.  You are correct that it looks like with the Forget in there, this problem should go away.
But the c.dups on https://github.com/golang/go/blob/77595e462be07b8229f88cbdf947e320bfc7e639/src/net/singleflight.go#L62 seems racy.  Are we relying on all the locking done doCall to make it have a current value?

Will close this out since its fixed in Go 1.4 and beyond.

The reference to c.dups on line 62 is safe because it happens after doCall returns.  After doCall returns the entry has been removed from the g.m map, which means that it will never again be modified.  All modifications to the entry happen with the lock held, so the lock in doCall provides the necessary happens-before relation.


使用ubuntu22.04 install.sh esp-idfv4.4.2报错 (IDFGH-8408)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
4.4.2
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
No response
What is the expected behavior?
使用ubuntu22.04 install.sh esp-idfv4.4.2
What is the actual behavior?
无法install成功
Steps to reproduce.

Step
Step
Step
...
1、git v4.4.2分支
2、install

Build or installation Logs.
root@yd-virtual-machine:~/esp32s3/esp-idf# ../esp-gitee-tools/install.sh
Detecting Python interpreter
Checking "python" ...
Python 3.10.6
"python" has been detected
Installing ESP-IDF tools
Current system platform: linux-amd64
Traceback (most recent call last):
  File "/root/esp32s3/esp-idf/tools/idf_tools.py", line 1860, in <module>
    main(sys.argv[1:])
  File "/root/esp32s3/esp-idf/tools/idf_tools.py", line 1856, in main
    action_func(args)
  File "/root/esp32s3/esp-idf/tools/idf_tools.py", line 1423, in action_install
    targets = clean_targets(args.targets)
  File "/root/esp32s3/esp-idf/tools/idf_tools.py", line 1085, in clean_targets
    export_targets_to_idf_env_json(targets_from_tools_json)
  File "/root/esp32s3/esp-idf/tools/idf_tools.py", line 1053, in export_targets_to_idf_env_json
    targets = list(set(targets + get_user_defined_targets()))
  File "/root/esp32s3/esp-idf/tools/idf_tools.py", line 1099, in get_user_defined_targets
    if env == idf_env_json['idfSelectedId']:
KeyError: 'idfSelectedId'
root@yd-virtual-machine:~/esp32s3/esp-idf#

More Information.
No response

Duplicate of https://github.com/espressif/esp-idf/issues/9837
Fixed in v4.4 branch, 640f1c844b5cd935e809b0195df06f1639eb9979 .

Please follow the linked issue. You can find temporary workaround there.

我也遇到了这个问题 不知道怎么解决


Generate address instead of loading grid to get it

it seems that generating address requires loading some binaries from device using wasm which is async as loading grid


can we align starting point of circle main  label in same line

@VivekSharma-zymr  temporary work around can be increasing the circle size,  'circleSize={35}'

Is there another way to shift the circle a little below so as to align it against a label?

Hi,
I found a simple solution : add some negative marginTop on the title.
You can use the prop "titleStyle" :
<Timeline data={this.data} titleStyle={{marginTop:-10}} />
Adjust the margin to your need (and the size of the circles).


How do I validate multiple properties with the same rule, without showing multiple errors?

I have a RenewalViewModel, which is bound to controls that allow a user to set up a renewal for an investment. Investors have a level (basic, business, corporate, etc), and within each level, a monthly amount (£100, £200, etc). These two are bound to a SelectedLevelId and SelectedLevelAmountId properties on the view model. These two are bound to two dropdowns, with the amount dropdown taking its values according to the selected level. In other words, if they choose the basic level, the amounts dropdown gets populated with the amounts for that level. If you change it to business, the amounts dropdown gets repopulated accordingly.
The model also has a List<Shares>, which contains an entry for each share the investor currently has, ie one Share object for each company they have invested in, and the Share object has a Quantity property to say how many shares they have invested in that company.
Each investor has a maximum number of shares they can be allocated, based on the level amount they are on. So, one of the things I need to validate is that the total number of shares they are being allocated does not exceed the maximum they are allowed.
I have set up a validator for this as follows (irrelevant properties removed for clarity)...
    public RenewalViewModelValidator() {
      RuleFor(rvm => rvm.SelectedLevelId).Custom((_, ctx) => ValidateShares(ctx));
      RuleFor(rvm => rvm.SelectedLevelAmountId).Custom((_, ctx) => ValidateShares(ctx));
      RuleFor(rvm => rvm.Shares).Custom((_, ctx) => ValidateShares(ctx));
    }

    private static void ValidateShares(CustomContext ctx) {
      RenewalViewModel rvm = (RenewalViewModel)ctx.InstanceToValidate;
      int investorMaxShares = rvm.LevelAmounts.Single(la => la.Id == rvm.SelectedLevelAmountId).NumberOfShares;
      if (rvm.Shares.Sum(s => s.Quantity) > investorMaxShares) {
        ctx.AddFailure($"The max shares for this investor is {investorMaxShares}");
      }
      foreach (Share share in rvm.Shares) {
        int totalSharesInCompany = share.Quantity + rvm.OtherShares.Where(os => os.CompanyId == share.CompanyId).Sum(os => os.Quantity);
        if (totalSharesInCompany > rvm.MaxSharesPerCompany) {
          ctx.AddFailure($"A total of {totalSharesInCompany} shares is now allocated to {share.Company.FullName}, which is more than the maximum of {rvm.MaxSharesPerCompany}");
        }
      }
    }
  }

As you can see, I pulled out the code that checks the number of shares into a method, so when the level, level amount or any of the share quantities is changed, the validation is fired.
This basically works, but has two problems...

As the validation is triggered from three different properties, I get the validation error three times. I only want each error once.

If you change the level, then the amounts dropdown is repopulated, and the first value selected. The validation is fired for the level, but not for the amount, which can lead to incorrect validation messages. If you then change the amount, the validation fires for that, but not for the level, so you can end up with inconsistent validation messages.

It could be I'm just doing this the wrong way, in which case any advice would be appreciated. If not, is there a way to get all of the validation rules fired when any of these three properties change? That way at least the messages would be correct and consistent, although I'd still end up with duplicates.
Hope that all makes sense. Thanks for any help you can give.

I think you need to ask on stackoverflow with the FluentValidation tag


updated plugin install page

updated the plugin page to only focus on how to install the plugin on different operating systems and a quick overview of the plugin commands.
removed the declarative install section and also the examples section

I will make a separate PR for the declarative install methods to fall under the "Install" section (coming soon).

created one liners for installing the plugin on macos and windows (powershell).

I also made the install command clearer (longhand flags instead of shorthand flags)
made the tar command to only extract the executable from the tarball. previously it would extract the LICENSE and README.md
added kubectl-storageos version command to the one liners to verify that the install was successful and you can execute commands with the cli.

I have tested all of the commands to ensure that they work but it would be great if someone can also do a quick test on their workstations before merging the PR.

Should this be under reference, or operations?

Should this be under reference, or operations?

hmm, that is a good question - if we consider installing/getting the plugin as an operation then it makes sense to put it under the Operation section. If so, we should ensure that we add a redirect for the reference link.

@hubvu we can merge this first and move section when we are ready so we are not blocked?

@cannischan yep that sounds good to me, I agree that we can talk about moving content in the place later.


Review/test Cluster API

[x] listMember()
[x] addMember()
[x] removeMember()
[x] updateMember()

ClusterCLientTest tests the above and they work fine.


OAuth1 Authorize encoding issue

Description:
I am trying to get OAuth1 integrated to a third party but there is an issue where the oauth_token is rejected during the Authorize call whenever it has a + in it. eg. GET /OAuth/Authorize?viewmode=mobile&oauth_token=SyiIELHYmK2czfntI7hy+Gs7aqU=&fromSignIn=true HTTP/1.1
Looking at the RFC it says that
 2.  The values are then escaped using the [RFC3986] percent-encoding
       (%XX) mechanism as follows:

       *  Characters in the unreserved character set as defined by
          [RFC3986], Section 2.3 (ALPHA, DIGIT, "-", ".", "_", "~") MUST
          NOT be encoded.

       *  All other characters MUST be encoded.

       *  The two hexadecimal characters used to represent encoded
          characters MUST be uppercase.

OAuth1Swift.swift:99 shows how we encode when creating the Authorize url:
// 2. Authorize
if let token = credential.oauthToken.urlQueryEncoded {
...

urlQueryEncoded uses CharacterSet.urlQueryAllowed which does not encode + characters.
It seems to me that it should instead be using the urlEncoded seen in String+OAuthSwift.swift:19 in order to comply with the RFC specifications.
I have tested doing just that and the Authorize calls work great all of the time.
I haven't run into this issue before for numerous OAuth integrations so I am also wondering if it is just something different with the third-parties implementation?
OAuth Provider? (Twitter, Github, ..):
Private third party
OAuth Version:

[x] Version 1
[ ] Version 2

OS (Please fill the version) :

[x] iOS :
[ ] OSX :
[ ] TVOS :
[ ] WatchOS  :

Installation method:

[x] Carthage
[ ] CocoaPods
[ ] Manually

Library version:

[ ] head
[ ] v1.2.1
[ ] v1.2 (Swift 4.0)
[ ] v1.0.0
[ ] v0.6
[x] other: 1.1.1

Xcode version:

[x] 9.3 (Swift 4.1)

[ ] 9.0 (Swift 4.0)

[ ] 9.0 (Swift 3.2)

[ ] 8.x (Swift 3.x)

[ ] 8.0 (Swift 2.3)

[ ] 7.3.1

[ ] other: (Please fill in the version you are using.)

[ ] objective c

Thanks you for the detailed report
I think you are right regarding of the RFC.
I want to fix that, but I must test with some server (and difficult to know if they provide sometime token with this characters, so a banal unit test will never really test that)
...Sometimes server and client make mistake, that's why there is some configuration boolean in OAuthSwift to be compatible with some server.

I make an option on OAuthSwift1, useRFC3986ToEncodeToken to set to true to use urlEncoded
If It could help someone with one server


Manage SOs resource availability in VM creation and SO change dialog

Acceptance criteria:
The following rules should be applied to VM creation and to SO change dialog (VM sidebar)

Fixed Service offerings

Show Service offerings according to User's resources- disable those offerings that are not available for user
Add a tooltip for disabled SOs "Not enough CPU/RAM"

Custom Service offerings

In Custom SO dialog do not let user to change characteristics for more that are available (change numbers in inputs for maximum ones if user tries to put a bigger number)

Check sum of all - current offering + new offering < limit (CPU cores, RAM)

Connected feature ID: vm_creation_so, vm_SO_change

@qqcky please close this ticket after #932 will be closed. Check unit tests and conflicts.

resourceusage_accountdomain
For user account  switching between account and domain is available. Expected: available only for administrators

Requirements clarification needed. To discuss with PO.


 The existing methods for cloning tls.Configs in the NATS codebase do not copy this field. Indeed, it should be deferring to  conf.Clone() in Go 1.8+ environments.
Related issues:
https://github.com/golang/go/issues/19264
https://github.com/gorilla/websocket/issues/215

Yes, I added a note in the codebase that this was temporary until a Clone() function was exported. We will need to update go client and gnatsd for Go 1.8+.

I created a PR for this.


⚠ Bofrost.nl has degraded performance

In d86e4c4, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 911 ms

Resolved: Bofrost.nl performance has improved in 6b2e5e9.


docs: update README to align with the new project brand

Resolve #323

Codecov Report

Merging #343 (a13009f) into main (553b866) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #343   +/-   ##
=======================================
  Coverage   74.88%   74.88%
=======================================
  Files          23       23
  Lines        2210     2210
=======================================
  Hits         1655     1655
  Misses        437      437
  Partials      118      118

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

@FeynmanZhou Can you please sign the commit ?

@priteshbandi Thanks. I signed all commits. Now it is ready to be merged


gettext translations error

I'm having troubles to generate translations using your theme.
Using this https://www.sphinx-doc.org/en/master/usage/advanced/intl.html#id4
I have builded my project normally using this:
sphinx-build source build/html/en/dev -D language=en

When im running:
sphinx-build -b gettext source build/gettext/en/dev

Then error occurs:
Running Sphinx v7.3.7

Extension error (pydata_sphinx_theme.translator):
Handler <function setup_translators at 0x0000014FF4B231A0> for event 'builder-inited' threw an exception (exception: 'MessageCatalogBuilder' object has no attribute 'default_translator_class')

So I managed to skip that adding this to conf.py
from docutils import nodes

def setup(app):
    app.set_translator("docs", nodes.NodeVisitor)

After that it was almost good but now I'm getting this at the end of generation:
Extension error (pydata_sphinx_theme.pygments):
Handler <function overwrite_pygments_css at 0x0000026FE3A6EF20> for event 'build-finished' threw an exception (exception: [Errno 2] No such file or directory: 'D:\\Repository\\sphinx\\docs\\build\\gettext\\en\\dev\\_static\\pygments.css')

After 3h I gave up.
So my question is only, is this theme supports translations or I'm missing something in config?

Hey there 👋🏽
I am not sure I am following entirely, but are you trying to translate your project's documentation? As you have for example an English version, Spanish, Greek, and so on vs. Translation of the theme's components themselves?
If the former you might want to make sure the .po / locales path is properly set. Per the code snippets you shared I cannot see any direct references to your locales files/directories and / or wether the configuration needed in config.py is as expected

This does not seem an issue with the PyData Sphinx Theme itself as we have no configurations or components that would directly affect translation or internationalization.
This seems rather a misconfiguration of locale settings or .po files missing.
Could you check against the Sphinx translation link you shared that these are correctly set on your end and that the locale directory for translations exist in the correct location?

This command should create .pot files, it's a first step.
And it is problem with PyData Sphinx Theme. I've changed to Read the Docs Theme and command works fine.

Can you share the full tracelog for the command and not just the exception?

I have tried to reproduce the issue and not been able to do it with the development version neither the latest version on pypi. Could you try and generate a more minimal example? Or share which versions and extensions are you using?
What I have used is https://github.com/OriolAbril/sphinx-playground/tree/f23fa85415258396b603c66d82cc0d2dff5d4c55. It has a single page but uses this theme and I am able to generate the .pot files without problem. Maybe there is an incompatibility with another extension or some kind of version incompatibility, but it looks like simply using the theme doesn't result in this error

Ok I see my mistake. I'have added
extensions = [     "pydata_sphinx_theme", ]
If you add this to your code, then You can replicate an error.
I don't know why I kept adding it. Maybe because RTD Theme has it.
https://sphinx-rtd-theme.readthedocs.io/en/latest/installing.html
Without adding pydata_sphinx_theme to extensions it works fine.
Thanks


Add profane word to list

add a profane word to the profanities array.

Thanks for your contribution Lucas


Public pkg:angular with properly constrained dependencies

Just hit an issue with Stagehand due to pub upgrade getting a version of angular_compiler not compatible with angular_components.
This issue tracks publishing the package, not just the commit with the fix.

I can publish a +13 today. Will that help?

Yup!

I won't get to this this week. Should be trivial for anyone who wants to take a shot.

Ack
On Mon, May 21, 2018 at 10:55 AM Matan Lurey<EMAIL_ADDRESS>wrote:

I won't get to this this week. Should be trivial for anyone who wants to
take a shot.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/angular/issues/1325#issuecomment-390732129,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABCihxzGUNqGhnfjpXKXDHgLpYMQIndks5t0v-tgaJpZM4UDzac
.

@matanlurey – how quickly do you plan to publish?

Our build is red, so, when it is green, I guess.

Going to leave this open until the package is published – just for tracking

Fixed and published.


Issue 711 - Test fakes for compaction status store

Resolves #711

Closing as we've split out #728.


Add basemaps via cartoee

Description
geemap and cartoee are excellent for producing interactive maps and publication figures, respectively. Both can visualize gee datasets. However, cartoee currently lacks the capability of adding basemaps. I wonder if you can add this capability such that we may have the option to produce publication figures with some basemaps as background. This should be at least useful for: 1) preparing a map describing the study area; 2) helping visual inspection in some cases.

Good suggestion. This feature has been implemented. See notebook example
https://github.com/giswqs/geemap/blob/master/examples/notebooks/112_cartoee_basemap.ipynb


Make angular_damp of new Area nodes match the global default

Closes #26416

I will always prefer a higher default, as this ensures objects stop moving around and go frozen much sooner, improving performance.

So the global default should be changed then?

Is it possible to have these classes use the global value directly? Then it would be possible to change the global and class-specific defaults from one place .e.g project settings.

@reduz This is not about changing the default value, but fixing an inconsistency. It should be either 0.1 or 1.0 everywhere, but not a mix of both.

Thanks!


[$250] Track expense - Back button returns to expense report after submitting track expense

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

Version Number: 9.0.59-0
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Go to staging.new.expensify.com
2.Go to self DM.
Track a manual expense.
Go to expense report.
Tap on the header.
Tap Submit to someone.
Select any user and submit it.
Tap app back button.

Expected Result:
App will return to self DM because the expense is submitted and therefore should be removed from the navigation path when returning to the previous page (self DM).
Actual Result:
App returns to the track expense. It only returns to self DM on second tap on the back button.
Workaround:
Unknown
Platforms:

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

Screenshots/Videos
https://github.com/user-attachments/assets/c6030838-9e03-4ae3-b352-661a1ff48514

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021854844368006624450
Upwork Job ID:<PHONE_NUMBER>006624450
Last Price Increase: 2024-11-08

Issue OwnerCurrent Issue Owner: @eVoloshchak

This seems minor enough no to block deploy on (today is Friday, anyways). What do you think, @Julesssss?

I agree it's not major, but lets at least locate the regression first. Deploy won't be happening today so we have a bit of time.

@Gonals it sounds possibly related to this other issue

Whoever identifies the offending PR gets $50 and we can revert

@eVoloshchak quick C+ review of the proposal here? 😁

@twisterdotcom seeing as you're back and this wasn't daily, so I haven't contributed, going to unassign myself!

I believe we agreed to demote this in Slack, so doing so
@Gonals and @eVoloshchak can handle the review process

@daledah's proposal looks good to me!
The same bug happens when selecting "Categorize it" and "Share it with my accountant" due to the same root cause, should also be resolved by the fix, let's add the tests for these cases too
🎀👀🎀 C+ reviewed!

Starring @Gonals

How is this going @daledah?


Create a sql-plugin-api module

Create a new Maven module that houses our public classes (ShimLoader, SQLPlugin, providers, etc,.).
Existing sql-plugin module depends on the new module and no longer supports unshimmed classes (those must be in the new module)

Code in the new module must use ShimLoader to access any sql-plugin classes because they are parallel-world, but sql-plugin code can access the unshimmed classes.  This also has the advantage of making it much clearer in the source which classes are publicly advertised and which are hidden in parallel-world.
Originally posted by @jlowe in https://github.com/NVIDIA/spark-rapids/pull/6555#pullrequestreview-1107645274

As part of this issue, would we do away with unshimmed-common-from-spark311.txt? If so, I am wondering if this thread will be resolved https://github.com/NVIDIA/spark-rapids/pull/9113#discussion_r1305857766


Incompatible with Plutonium Energy 1.5.0

Has been reported to me here: https://github.com/JohnTheCoolingFan/PlutoniumEnergy/issues/90
I managed to reproduce with just this mod.

Thanks, I've merged it, and I'm gonna test briefly before pushing an update to factorio mods

Update is on mods now.


Mhk compiler errors

-Fixed compiler errors in mhk computer modules

@janinefreeman This can probably go in either patch 1 or patch 2. I tried to just cherry pick the changes from my ongoing ME development branches into patch but everything looks like it still works.


how to deal with sticky CSS?

It looks like screenshots are based on "scrolling the page", which doesn't work for pages with sticky and fixed CSS positioning, leading to hilariously wrong screenshots like this one:

Is there any way to tell the screenshooter to not scroll, but use the browser's built in "take a full page screenshot" function?

You might find this useful. https://docs.cypress.io/api/commands/screenshot#Full-page-captures-and-fixed-sticky-elements
An alternative I've found is to make the viewport height huge (like 5000px).

Having to manually alter the page in order to get a screenshot of what the page is supposed to look like kind of defeats the purpose =)
Chrome and FF both have "take a full page screenshot" functionality built in, is there a way to tap into that instead? e.g. in Chrome it's under dev tools -> [⋮] menu -> "run command" and then type screenshot; in FF there's a "take screenshot" icon that lets you pick "full page", both of which I would assume are actions that can be triggered by Cypress? (or... I hope? It would be weird if they didn't tap into those functions)

Ah, according to https://docs.cypress.io/api/cypress-api/screenshot-api#Arguments this is just a standard option. Cypress.Screenshot.defaults({ capture: fullPage' })` should be all you need.

hm, nope - after testing, that's still a very weird "scroll and tesselate", so I guess that won't get us actual real screenshots still =(

this seems to be a none issue now, closing


Use CodeMirror for the playground?

What's up?
Replacing Monaco for CodeMirror 6 would let us use the Lezer grammar that @vanillajonathan has done a lot of work on. The Monarch grammar that Monaco uses has some mistakes, and requires maintenance that we could avoid.
In addition, here are a couple of blog posts extolling the benefits of CodeMirror 6 over Monaco.

https://blog.replit.com/code-editors
https://about.sourcegraph.com/blog/migrating-monaco-codemirror

For completeness — this would be some non-trivial JS work, and isn't a top priority. But it would be a nice, self-contained contribution.

I now see that the playground uses its own syntax highlighting, I would have thought it would use the same one as in the vscode extension since they both use Monaco?

I had the same expectation! But they use different syntax highlighting approaches! 🤷

Reading the above mentioned blogs I am not sure those arguments apply much to our playground; their perceived problems with Monaco and advantages of CodeMirror doesn't apply much to us.
I think either Monaco or CodeMirror would be great for us, but I don't think it makes much of a difference which one we use.

Yes, I think you're 100% correct.
The main advantage in my mind was to use your syntax highlighting work.

I do think we should setup a demo of CodeMirror with our PRQL lezer grammar though.

Yes, my plan was to use this for a Jupyter Extension, which would be a great win for the project. (contributions welcome! Though it is a difficult ambiguous project...)
Ofc if it's easy to get a demo working with a plain CodeMirror 6 editor then that'd be a good test of the highlighting

While I haven't yet integrated Monaco anywhere, I can vouch for CodeMirror. It's well documented, incredibly extensible and Marijn is doing a phantastic job at maintaining it, quickly resolving issues on GitHub as well as answering questions on https://discuss.codemirror.net/. The project is a joy to use and interact with.
(Sidenote: I'm currently very busy with a project of my own ... I'm just keeping an occasional side-eye on the issues here.)

I created a PR (#3608) with a demo using CodeMirror with our Lezer grammar.


raised ImportError("cannot import name 'erf'",)

Environment:

NNI version:1.9(1.8)
NNI mode (local|remote|pai):
Client OS: ubuntu
Server OS (for remote mode only):
Python version: 3.6
PyTorch/TensorFlow version:
Is conda/virtualenv/venv used?:
Is running in Docker?:no

:~/automl$ nnictl create --config nni/examples/trials/mnist-tfv1/config.yml
INFO:  expand searchSpacePath: search_space.json to /home/automl/nni/examples/trials/mnist-tfv1/search_space.json
INFO:  expand codeDir: . to /home/automl/nni/examples/trials/mnist-tfv1/.
ERROR: Key 'tuner' error:
<nni_cmd.config_schema.AlgoSchema object at 0x7f9f173de4a8>.validate({'builtinTunerName': 'TPE', 'classArgs': {'optimize_mode': 'maximize'}}) raised ImportError("cannot import name 'erf'",)

It seems a little strange, we don't have dependent package named 'erf'. Can you show more information? You can find error message in ~/.local/nnictl/XXX/stderr. Or maybe reinstall NNI in a clean environment can solve this issue.

It seems a little strange, we don't have dependent package named 'erf'. Can you show more information? You can find error message in ~/.local/nnictl/XXX/stderr. Or maybe reinstall NNI in a clean environment can solve this issue.

Thx bro, I found the wrong place
Cause the scipy, the latest scipy hasn't scipy.special.erf T_T
I use the pip install scipy==1.4.1 and it worked. So hard to find where used the erf().

Thx bro, I found the wrong place
Cause the scipy, the latest scipy hasn't scipy.special.erf T_T
I use the pip install scipy==1.4.1 and it worked. So hard to find where used the erf().

Really thanks for your issue, we will check if we need to limit the version of scipy. I will close this issue and if there are any other problems, welcome to communicate anytime.

Really thanks for your issue, we will check if we need to limit the version of scipy. I will close this issue and if there are any other problems, welcome to communicate anytime.


what's the meaning "binlog must ROW format, but  now"

binlog must ROW format, but  now

It means that you must set row format for your binlog explicitly, but we don't find its set.
you can use SHOW GLOBAL VARIABLES LIKE "binlog_format" to see what 's the real format.

thx


Error when run test_train.sh

There are error message in console:
Loading data
Building model
Traceback (most recent call last):
File "../nematus/nmt.py", line 1208, in
train(**vars(args))
File "../nematus/nmt.py", line 795, in train
build_model(tparams, model_options)
File "../nematus/nmt.py", line 237, in build_model
x, ctx = build_encoder(tparams, options, trng, use_noise, x_mask, sampling=False)
File "../nematus/nmt.py", line 194, in build_encoder
profile=profile)
File "/Users/Mr.Wu/wup/nematus/nematus/layers.py", line 171, in gru_layer
strict=True)
File "/Users/Mr.Wu/anaconda/lib/python2.7/site-packages/theano/scan_module/scan.py", line 1041, in scan
scan_outs = local_op(*scan_inputs)
File "/Users/Mr.Wu/anaconda/lib/python2.7/site-packages/theano/gof/op.py", line 611, in call
node = self.make_node(*inputs, **kwargs)
File "/Users/Mr.Wu/anaconda/lib/python2.7/site-packages/theano/scan_module/scan_op.py", line 538, in make_node
inner_sitsot_out.type.dtype))
ValueError: When compiling the inner function of scan the following error has been encountered: The initial state (outputs_info in scan nomenclature) of variable IncSubtensor{Set;:int64:}.0 (argument number 3) has dtype float32, while the result of the inner function (fn) has dtype float64. This can happen if the inner function of scan results in an upcast or downcast.
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at<EMAIL_ADDRESS>You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True
My environment are：
Python 2.7.3
numpy 1.11.3
theano 0.8.2
Could you help me solve it ?thanks

Hello,
make sure your theano variables are set correctly (as described in the
README file). Try setting floatX to float32:
THEANO_FLAGS=floatX=float32
best wishes,
Rico
On 24/12/16 03:59, wudapeng268 wrote:

There are error message in console:
Loading data
Building model
Traceback (most recent call last):
File "../nematus/nmt.py", line 1208, in
train(**vars(args))
File "../nematus/nmt.py", line 795, in train
build_model(tparams, model_options)
File "../nematus/nmt.py", line 237, in build_model
x, ctx = build_encoder(tparams, options, trng, use_noise, x_mask,
sampling=False)
File "../nematus/nmt.py", line 194, in build_encoder
profile=profile)
File "/Users/Mr.Wu/wup/nematus/nematus/layers.py", line 171, in gru_layer
strict=True)
File
"/Users/Mr.Wu/anaconda/lib/python2.7/site-packages/theano/scan_module/scan.py",
line 1041, in scan
scan_outs = local_op(*scan_inputs)
File
"/Users/Mr.Wu/anaconda/lib/python2.7/site-packages/theano/gof/op.py",
line 611, in call
node = self.make_node(*inputs, **kwargs)
File
"/Users/Mr.Wu/anaconda/lib/python2.7/site-packages/theano/scan_module/scan_op.py",
line 538, in make_node
inner_sitsot_out.type.dtype))
ValueError: When compiling the inner function of scan the following
error has been encountered: The initial state (|outputs_info| in scan
nomenclature) of variable IncSubtensor{Set;:int64:}.0 (argument number
3) has dtype float32, while the result of the inner function (|fn|)
has dtype float64. This can happen if the inner function of scan
results in an upcast or downcast.
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at<EMAIL_ADDRESS><EMAIL_ADDRESS>You can print a more detailed traceback right now with "%tb", or use
"%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True
My environment are：
Python 2.7.3
numpy 1.11.3
theano 0.8.2
Could you help me solve it ?thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rsennrich/nematus/issues/12, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYry0QaeLEQK6vT0oUcnsMAIqyxCyigks5rLIqbgaJpZM4LVJRZ.


Minikube pod keeps restarting

What steps did you take and what happened:
I am following the documentation from Serverless Installation Guide. In the end of the documentation, I add my model with the below command as mentioned on First InferenceService
kubectl apply -f /home/ak/kedro/food-classification/kserve.yaml.
Then repeatedly my food-classification pod restarts
I can see below error on my pod
/root/.mlflow/envs/mlflow-9dea9e041ebc23fe4f4e839c8054a9f4ccf72e6c/lib/python3.10/site-packages/starlette_exporter/middleware.py:97: FutureWarning: group_paths and filter_unhandled_paths will change defaults from False to True in the next release. See https://github.com/stephenhillier/starlette_exporter/issues/79 for more info
  warnings.warn(
2024-09-06 11:30:43,835 [mlserver.parallel] DEBUG - Starting response processing loop...
2024-09-06 11:30:44,040 [mlserver.rest] INFO - HTTP server running on http://<IP_ADDRESS>:8080
INFO:     Started server process [47]
INFO:     Waiting for application startup.
2024-09-06 11:30:47,139 [mlserver.metrics] INFO - Metrics server running on http://<IP_ADDRESS>:8082
2024-09-06 11:30:47,140 [mlserver.metrics] INFO - Prometheus scraping endpoint can be accessed on http://<IP_ADDRESS>:8082/metrics
INFO:     Started server process [47]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
2024-09-06 11:31:40,935 [mlserver.grpc] INFO - gRPC server running on http://<IP_ADDRESS>:8081
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:8080 (Press CTRL+C to quit)
INFO:     Uvicorn running on http://<IP_ADDRESS>:8082 (Press CTRL+C to quit)
2024/09/06 11:33:03 INFO mlflow.models.container: Got sigterm signal, exiting.

My all pods are as below
cert-manager           cert-manager-5798486f6b-vp974                                     1/1     Running            0              41m
cert-manager           cert-manager-cainjector-7666685ff5-vw9sq                          1/1     Running            0              41m
cert-manager           cert-manager-webhook-5f594df789-gckwq                             1/1     Running            0              41m
istio-system           istio-ingressgateway-76ffd45584-rnfqr                             1/1     Running            0              43m
istio-system           istiod-85f56b5c65-79xjb                                           1/1     Running            0              43m
knative-serving        activator-58db57894b-xzb55                                        1/1     Running            0              44m
knative-serving        autoscaler-76f95fff78-cnkqd                                       1/1     Running            0              44m
knative-serving        controller-7dd875844b-zw8xd                                       1/1     Running            0              44m
knative-serving        net-istio-controller-57486f879-qqdd7                              1/1     Running            0              43m
knative-serving        net-istio-webhook-7ccdbcb557-25wbj                                1/1     Running            0              43m
knative-serving        webhook-d8674645d-dvjfr                                           1/1     Running            0              44m
kserve                 food-classification-predictor-00001-deployment-5668c455cf-gm4jr   0/2     CrashLoopBackOff   6 (5m6s ago)   29m
kserve                 kserve-controller-manager-c47cbb7c6-jspwz                         2/2     Running            0              32m
kube-system            coredns-76f75df574-jgknz                                          1/1     Running            0              47m
kube-system            etcd-minikube                                                     1/1     Running            0              47m
kube-system            kube-apiserver-minikube                                           1/1     Running            0              47m
kube-system            kube-controller-manager-minikube                                  1/1     Running            0              47m
kube-system            kube-proxy-z5gj4                                                  1/1     Running            0              47m
kube-system            kube-scheduler-minikube                                           1/1     Running            0              47m
kube-system            storage-provisioner                                               1/1     Running            1 (46m ago)    47m
kubernetes-dashboard   dashboard-metrics-scraper-7fd5cb4ddc-nkxtq                        1/1     Running            0              29m
kubernetes-dashboard   kubernetes-dashboard-8694d4445c-w8gsb                             1/1     Running            0              29m

Description of my pod is as below
Events:
  Type     Reason                    Age                  From                Message
  ----     ------                    ----                 ----                -------
  Warning  InferenceServiceNotReady  6m19s (x5 over 25m)  v1beta1Controllers  InferenceService [food-classification] is no longer Ready
  Warning  UpdateFailed              6m18s (x5 over 30m)  v1beta1Controllers  Failed to update status for InferenceService "food-classification": Operation cannot be fulfilled on inferenceservices.serving.kserve.io "food-classification": the object has been modified; please apply your changes to the latest version and try again
  Warning  InternalError             6m18s (x5 over 30m)  v1beta1Controllers  fails to update InferenceService status: Operation cannot be fulfilled on inferenceservices.serving.kserve.io "food-classification": the object has been modified; please apply your changes to the latest version and try again
  Normal   InferenceServiceReady     6m18s (x6 over 26m)  v1beta1Controllers  InferenceService [food-classification] is Ready

What did you expect to happen:
I expected to run properly all pods
What's the InferenceService yaml:
apiVersion: "serving.kserve.io/v1beta1"
kind: "InferenceService"
metadata:
  name: "food-classification"
  namespace: "kserve"
spec:
  predictor:
    containers:
      - name: "food-classification"
        image: "serdarakyolamplia/food-classification"
        ports:
          - containerPort: 8080
            protocol: TCP
        env:
          - name: PROTOCOL
            value: "v2"

mlflow version: 2.16.0
KServe version: 0.13
Kubernetes version: 1.29.4
Istio version: 1.21
Knative version: 1.13.1
Environment:

Istio Version: 1.21
Knative Version: 1.13.1
KServe Version: 0.13.1
Kubeflow version:
Cloud Environment:[k8s_istio/istio_dex/gcp_basic_auth/gcp_iap/aws/aws_cognito/ibm]
Minikube/Kind version: 1.33.1 / 0.24.0
Kubernetes version: (use kubectl version): 1.29.3
OS (e.g. from /etc/os-release): Pop!_OS 22.04 LTS

Hi,
2024/09/06 11:33:03 INFO mlflow.models.container: Got sigterm signal, exiting.

looks like OOMK is killing the model pod, did you try to increase the memory of your Minikube instance?

Hi @spolti, yes I have tried. I was using 6GB memory, then I increased to 12GB. Although I had the same problem. On the other hand, I realised that if I wait about 1 day and start all process from scratch, everything works fine. When I delete everything with minikube delete --all --purge command and restart my PC and start the minikube again, I have the same problem.


arm: ld: place .bss at the end

This is to avoid the binary padding caused by placing sections after the .bss noload gap, which causes the binary to be unnecessarily large. By placing the noload .bss at the end, we do not have to include it in the binary.
Signed-off-by: Théophile Ranquet<EMAIL_ADDRESS>

@microbuilder can you take a look at this or reassign?

@ibirnbaum @bbolen Can you please take a look?

@microbuilder can you take a look at this or reassign?

Sorry, was waiting for feedback on comment from Stephanos, and fell off my radar since it wasn't tagged for 3.3.

@MaureenHelm @stephanosio Can this wait until after the 3.3 release? Trying to sort out a workable solution to the TF-M release blocker issue.

Yes, this is not for 3.3.

As it happens, without remembering the existence of this PR, I ran into the same issue a few days ago after being generous with several heap settings and discovering that the resulting .bin image was unreasonably large. I'll cross-check with my modifications later today at the office, I think the padding issue wasn't just limited to .bss, but also to .noinit. It should also be checked if __data_region_end is somehow relevant for the MMU setup, as with the proposed change, the .bss section is now within the area marked with _image_ram_end / _end / z_mapped_end, but beyond whatever is supposed to be indicated with __data_region_end.

@yroeht Have time to reply to the feedback from @ibirnbaum ?

@povergoing Assigning this to you, hoping that you and @SgrrZhf can address this as part of #60031 since the current PR has gone unresponsive.

@microbuilder @povergoing As this is a relatively small and quick fix, I'd suggest that I open a separate PR later tonight which replaces this one. We can easily merge this change before tackling 'the big one'.

@povergoing Assigning this to you, hoping that you and @SgrrZhf can address this as part of #60031 since the current PR has gone unresponsive.

Sure, and I saw that @ibirnbaum has already raised a fix for this.

@microbuilder @povergoing As this is a relatively small and quick fix, I'd suggest that I open a separate PR later tonight which replaces this one. We can easily merge this change before tackling 'the big one'.

Agreed, really appreciate it.


Testing the 300W-LP model using AFLW2000-3D data set

-m test -p alignment -a /home/database/alignment/faces/landmarks/aflw2000/aflw2000_ann_original.txt --alignment opal23_headpose --database 300wlp --gpu 0 --rotation-mode euler --target-dist 1.6
MAE: 3.267257041061924
 > [yaw, pitch roll]: [2.77214107 4.25700197 2.77262808]
GE: 5.288789100801323
Confusion matrix:
[[  7   0   0   0   0   0   0   0   0   0   0   0   0]
 [  8  73  11   0   0   0   0   0   0   0   0   0   0]
 [  0  11  78   8   0   0   0   0   0   0   0   0   0]
 [  0   0  13  72  10   0   0   0   0   0   0   0   0]
 [  0   0   0   6 119  11   0   0   0   0   0   0   0]
 [  0   0   0   1  29 268  29   1   0   0   0   0   0]
 [  0   0   0   0   2  31 501  20   0   0   0   0   0]
 [  0   0   0   0   0   0  19 206  23   0   0   0   0]
 [  0   0   0   0   0   0   1   8 114  22   0   0   0]
 [  0   0   0   0   0   0   0   0   4  61  13   1   0]
 [  0   0   0   0   0   0   0   0   0   4  78  19   1]
 [  0   0   0   0   0   0   0   0   0   0   7  59  11]
 [  0   0   0   0   0   0   0   0   0   0   0   2   7]]
Accuracy (accurate class): 83.443%
Accuracy (adjacent class): 99.644%

Aligning the coordinates system of 300W-LP and AFLW2000-3D
MAE: 3.2583890566759286
[yaw, pitch roll]: [2.76167293 4.24114342 2.77235081]
GE: 5.277059978774396
Confusion matrix:
[[  7   0   0   0   0   0   0   0   0   0   0   0   0]
 [ 10  70  12   0   0   0   0   0   0   0   0   0   0]
 [  0  11  78   8   0   0   0   0   0   0   0   0   0]
 [  0   0  13  72  10   0   0   0   0   0   0   0   0]
 [  0   0   0   5 120  11   0   0   0   0   0   0   0]
 [  0   0   0   1  31 269  26   1   0   0   0   0   0]
 [  0   0   0   0   2  33 501  18   0   0   0   0   0]
 [  0   0   0   0   0   0  21 205  22   0   0   0   0]
 [  0   0   0   0   0   0   1   8 114  22   0   0   0]
 [  0   0   0   0   0   0   0   0   4  61  13   1   0]
 [  0   0   0   0   0   0   0   0   0   4  79  18   1]
 [  0   0   0   0   0   0   0   0   0   0   7  59  11]
 [  0   0   0   0   0   0   0   0   0   0   0   2   7]]
Accuracy (accurate class): 83.393%
Accuracy (adjacent class): 99.644%

-m test -p alignment -a /home/database/alignment/faces/landmarks/aflw2000/aflw2000_ann_original.txt --alignment opal23_headpose --database 300wlp --gpu 0 --rotation-mode 6d --target-dist 1.6
MAE: 3.50542770504606
 > [yaw, pitch roll]: [2.8585643  4.61332377 3.04439505]
GE: 5.368295973715439
Confusion matrix:
[[  7   0   0   0   0   0   0   0   0   0   0   0   0]
 [ 10  73   9   0   0   0   0   0   0   0   0   0   0]
 [  0  10  80   7   0   0   0   0   0   0   0   0   0]
 [  0   0  12  71  12   0   0   0   0   0   0   0   0]
 [  0   0   0   8 115  12   1   0   0   0   0   0   0]
 [  0   0   0   2  26 273  27   0   0   0   0   0   0]
 [  0   0   0   0   2  31 494  26   0   1   0   0   0]
 [  0   0   0   0   0   0  23 201  24   0   0   0   0]
 [  0   0   0   0   0   0   0   9 115  21   0   0   0]
 [  0   0   0   0   0   0   0   0   3  63  12   1   0]
 [  0   0   0   0   0   0   0   0   0   4  75  22   1]
 [  0   0   0   0   0   0   0   0   0   0   7  52  18]
 [  0   0   0   0   0   0   0   0   0   0   0   2   7]]
Accuracy (accurate class): 82.580%
Accuracy (adjacent class): 99.594%

Aligning the coordinates system of 300W-LP and AFLW2000-3D
MAE: 3.4857596196291447
[yaw, pitch roll]: [2.84092048 4.57667258 3.0396858 ]
GE: 5.34302057702222
Confusion matrix:
[[  7   0   0   0   0   0   0   0   0   0   0   0   0]
 [ 10  73   9   0   0   0   0   0   0   0   0   0   0]
 [  0  11  79   7   0   0   0   0   0   0   0   0   0]
 [  0   0  12  71  12   0   0   0   0   0   0   0   0]
 [  0   0   0   9 114  12   1   0   0   0   0   0   0]
 [  0   0   0   2  28 273  25   0   0   0   0   0   0]
 [  0   0   0   0   2  34 495  22   0   1   0   0   0]
 [  0   0   0   0   0   0  26 200  22   0   0   0   0]
 [  0   0   0   0   0   0   0  11 114  20   0   0   0]
 [  0   0   0   0   0   0   0   0   3  64  11   1   0]
 [  0   0   0   0   0   0   0   0   0   5  74  22   1]
 [  0   0   0   0   0   0   0   0   0   0   7  53  17]
 [  0   0   0   0   0   0   0   0   0   0   0   2   7]]
Accuracy (accurate class): 82.478%
Accuracy (adjacent class): 99.594%

Hi, I cannot re-implement the reported accuracy.
In your code, it only validate the samples whose euler > 30, but it only produced 1k2 results. I disable it and check all 2k images, but it got the following results.
euler:
Unaligned results:
MAE (yaw, pitch, roll): [2.83487763 4.74104348 3.48378056]
MAE: 3.6865672239635026
GE: 5.586621169737391

Aligned results:
MAE (yaw, pitch, roll): [2.82705708 4.72703233 3.48666836]
MAE: 3.6802525920083458
GE: 5.577667747021331
End of opal23_headpose_aflw2000

6d:
Unaligned results:
MAE (yaw, pitch, roll): [2.96150071 5.02131896 3.55884321]
MAE: 3.847220958642037
GE: 5.594395704059422

Aligned results:
MAE (yaw, pitch, roll): [2.94308067 4.98499542 3.55119863]
MAE: 3.8264249050355343
GE: 5.571842981417794
End of opal23_headpose_aflw2000

Do you need to update the latest model?


Can't Copy and Paste from Variable explorer

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[x] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[x] Reset preferences with spyder --reset
[x] Reinstalled the latest version of Anaconda
[x] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
Can't copy and paste from Variable explorer
What steps reproduce the problem?

Create a file with simple code, as follows

 foo = ["Test1", "Test2"]

Save and run the file
Open variable explorer then double click in the list's values
Select any value then right click on it
Choose Copy
Right click in the background of the new window, then choose Paste

What is the expected output? What do you see instead?
The expected output should be the copied item to be pasted. But an errors occurs and nothing happens.
Paste Traceback/Error Below (if applicable)

  File "/usr/lib/python3.7/site-packages/spyder/widgets/variableexplorer/collectionseditor.py", line 1163, in paste
    self.import_from_string(cliptext, title=_("Import from clipboard"))
  File "/usr/lib/python3.7/site-packages/spyder/widgets/variableexplorer/collectionseditor.py", line 1150, in import_from_string
    blacklist=list(data.keys())))
AttributeError: 'list' object has no attribute 'keys'

Versions

Spyder version: 3.3.1
Python version: Python 3.7.1 64bits
Qt version: Qt 5.9.3
PyQt version: PyQt5 5.9.2
Operating System name/version: Arch Linux 4.18.16-arch1-1-ARCH

Dependencies

IPython >=4.0     :  6.5.0 (OK)
cython >=0.21     :  None (NOK)
jedi >=0.9.0      :  0.13.1 (OK)
matplotlib >=2.0.0:  None (NOK)
nbconvert >=4.0   :  5.4.0 (OK)
numpy >=1.7       :  None (NOK)
pandas >=0.13.1   :  None (NOK)
psutil >=0.3      :  5.4.7 (OK)
pycodestyle >=2.3 :  2.4.0 (OK)
pyflakes >=0.6.0  :  2.0.0 (OK)
pygments >=2.0    :  2.2.0 (OK)
pylint >=0.25     :  2.1.1 (OK)
qtconsole >=4.2.0 :  4.4.1 (OK)
rope >=0.9.4      :  0.11.0 (OK)
sphinx >=0.6.6    :  1.8.0 (OK)
sympy >=0.7.3     :  None (NOK)

Thanks for reporting. We'll take a look at this problem in a future release.

This was fixed in our 3.3.2 version.

This was fixed in our 3.3.2 version.

Fixed? I don't think so. in 64 bit I still have this embarrassing problem...


New transform functions: power, exponential

Now we have two transform functions -  scale and log.
I would like to have some more:

exponential:  alpha^series, alpha is constant  argument, default is E
power: series^alpha, where alpha is constant argument
sigmoid:  1/(1 + exp(-series))
logit: log(1 / (1 - series))
add: series + alpha, where alpha is constant  argument

Hi @avorozhtsov ,
power is already there - https://graphite.readthedocs.io/en/latest/functions.html#graphite.render.functions.pow
add can be done with sumSeries(series, constantLine(constant)).
Same for exponential - powSeries(constantLine(constant), series).
Rest are quite easy to implement, e.g. using pow() source as reference.

@avorozhtsov any chance you could test https://github.com/graphite-project/graphite-web/pull/2466

@avorozhtsov Could you please test #2466 ?

It works, thanks

#2466 merged to master


[Subtask] Support transforms expression

Describe the subtask
We can get transforms expression code from https://github.com/apache/gravitino/pull/5646/commits/c3d8271ee3992a1d09590440af85faf4cdb48ef3
Parent issue
#5198

Can I work on this issue?

This work is blocked by the implementation for partitions in python client.

@xunliu @SophieTech88 This issue should also implement public class Column at api/src/main/java/org/apache/gravitino/rel/Column.java


disable zoom by scroll. set sane max zoom.

Add more info under map.

attempt to address #179

I kind of think these descriptions should go above the map instead of beneath it. What do you think?

thats fine. i was just wanting to get the map as much up the screen as possible.

yeah let's just try this for now.

+1


Add YAML directories for YAML linter

related PR: #79
We need to add YAML directories for YAML linter after the YAML directories have been determined.
https://github.com/envoyproxy/gateway/pull/79/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R21

Hello World.

https://github.com/envoyproxy/gateway/tree/main/tools/yamllint created, I think it can be closed.

@daixiang0 We need to add YAML directories as args for YAML linter in Makefile:
https://github.com/envoyproxy/gateway/blob/main/Makefile.targets.mk#L58
This issue can be closed after the YAML directories have been determined and the directories args has been added into Makefile.

Oh, I misunderstand the dir for.

@lianghao208 the current yaml dirs are:
https://github.com/envoyproxy/gateway/tree/main/internal/provider/kubernetes/config
https://github.com/envoyproxy/gateway/tree/main/internal/provider/testdata/in
https://github.com/envoyproxy/gateway/tree/main/internal/envoygateway/config/testdata/decoder/in
https://github.com/envoyproxy/gateway/tree/main/internal/gatewayapi/testdata
Are you able to submit a PR to update the yaml linter?

@lianghao208 the current yaml dirs are:
https://github.com/envoyproxy/gateway/tree/main/internal/provider/kubernetes/config https://github.com/envoyproxy/gateway/tree/main/internal/provider/testdata/in https://github.com/envoyproxy/gateway/tree/main/internal/envoygateway/config/testdata/decoder/in https://github.com/envoyproxy/gateway/tree/main/internal/gatewayapi/testdata
Are you able to submit a PR to update the yaml linter?

Sure, I am working on it, thanks for the reminder.


Update pools.ts to add 20USDC/80BREWSKI

to weighted allowlist
Description
Please include a summary of the change and if relevant which issue is fixed. Please also include relevant motivation and context.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Dependency changes
[ ] Code refactor / cleanup
[ ] Documentation or wording changes
[ ] Other

How should this be tested?
Please provide instructions so we can test. Please also list any relevant details for your test configuration.

[ ] Test A
[ ] Test B

Visual context
Please provide any relevant visual context for UI changes or additions. This could be static screenshots or a loom screencast.
Checklist:

[ ] I have performed a self-review of my own code
[ ] I have requested at least 1 review (If the PR is significant enough, use best judgement here)
[ ] I have commented my code where relevant, particularly in hard-to-understand areas
[ ] If package-lock.json has changes, it was intentional.
[ ] The base of this PR is master if hotfix, develop if not

Close in favour of https://github.com/balancer/frontend-v2/pull/3494


Are both 'views' and 'templates' directory necessary?

The 'views' and 'templates directories serve nearly the same function, and may confuse developers having both in the same project. I.e. most or all of the meteor boilerplate projects choose either views or templates, but not both. What is the purpose of having both directories, and how might it be beneficial to provide only one?

I still don't understand what did you mean templates and views. Do you mean like views/somethings/index.js and views/something/index.html?

I was just confused by having both folders.

oh you mean templates folders and views folder. maybe we can simply rename it using "theme". :)
but don't forget also renaming the header, footer, etc thing inside those folder with prefix theme not template

Alright. Thanks for your response. It is probably alright how things are currently, as I was just confused.

btw I am also confused sometime, it was reasonable. and change it will be good to I thing. Just look at the reference famous framework like RAILS, django, n Laravel and simply following their naming convention.


Log download broken

Describe the issue
When I use Download at https://frank2example.frankframework.org/iaf/gui/#/logging for frank2example.log a new tab opens which shows the following:

Instead of a new tab being opened the file should be downloaded.
Additional Environment

Browser: Chrome and Firefox

Download button used to open a new tab to the file-viewer api endpoint where the browser would request with the right Accept header. For some reason this doesn't happen anymore because it requests everything as 'text/html'.
Maybe let angular download it and decide the right content type based on file extension defined at the end of the filename, this will probably cause issues for big files.


Add paper wallet to example

@vincenthz , just pushed the Paper Wallet support to the example too. You might want to check it out.

@NicolasDP please let's discuss on slack

@vincenthz Let's not merge PRs without peer reviews.

@darko-mijic js-example is for us to test the crypto APIs. I saw it in action and reviewed it, so pretty happy to merge this.


Can i increase and decrease thumb icon size not container size ?

When i want to increase or decrease it size only increased container size.
Any props for icon ?

thanks @tieniber .


mitre/typo analysis error: unspecified error from plugin

If I run hipcheck on  https://github.com/coreybutler/nvm-windows, I get a message:
_> Errored

               ? mitre/typo analysis error: unspecified error from plugin_

I ran this on my Windows 11 desktop on main.

Note, I get the same behavior with running on this repo:
.\target\debug\hc check  --policy config/Hipcheck.kdl https://github.com/coreybutler/fenix

The error reporting here needs to be better, but this is an expected error. Typosquatting analysis currently only supports NPM packages. It looks like the repo in question here is a Go codebase.