Support for additional SignTool flags

Cake.Common.Tools.SignTool is currently missing support for several flags relating to certificate locations.
All of these should be optional, I'd propose the following additional properties are added to the SignToolSignSettings class:

signtool sign flag
Property Name
Type

/ac
AdditionalCertificatePath
string

/s
CertStoreName
string

/sm
UseMachineStore
bool

Additionally, the TimeStampUri property of SignToolSettings is currently mandatory due to the following code in SignToolSignRunner.cs:
if (settings.TimeStampUri == null)
{
	const string format = "{0}: Timestamp server URL is required but not specified.";
	var message = string.Format(CultureInfo.InvariantCulture, format, GetToolName());
	throw new CakeException(message);
}

Using a timestamp server should be completely optional as it significantly slows down the signing process and is often unnecessary for things such as internal release builds.
Also, it's worth noting that it's not possible to use ProcessArgumentBuilder's Append() or Prepend() methods to add any parameters to SignTool either, as Prepend() inserts them before the "sign" parameter of "signtool.exe sign", and Append() inserts them after the list of files to sign. Currently we're using reflection to insert into the private _tokens list within ProcessArgument which is obviously not ideal.

Fully agree, I added a PR for /sm argument


internal/external address

Right now there is a bit of code that figures out what the external addresses are and which are internal. This assumes rfc-1918 address space, which may be a stretch.
We probable need the make flags for this if the defaults don't suite you. A pod can then use these by inspecting the node object (I think that how you do it) and set some env vars which can then be used.
My use case: prom metrics should be exposed on the private port.

So. In k8s land you can not get the IP address of the node - this makes sense because why would a pod care. But systemk just uses the host networking and there you may care. I have the following use-case: I want to start coredns listening on the public interface (and or address), but the metrics should only be exported on the internal (or the other interface).
From within a Pod there is now easy way to get that other interface, you need to connect to the API, get the node object and jsonpath the stuff you need from there.
Another option is an init-container that does some ip addr dance, writes a file, which is then read by the other container and sets some env vars.
The option I'm pondering here is to have default environment variables that just hold this information: SYSTEMK_INTERNAL_IPV4 and the like. These would be set on startup and thus be available to all pods.
The latter begs a bigger question, how much of the spec can we possibly support and when (and why) do we need to deviate?

closed via #23


New extension throws uncaught exception when start debug

VSCode Version: 1.11.2
OS Version: Ubuntu 16.10 / Windows 10

When I create any extension, it drops debugger with errors. I tryed to disable all installed extensions during debugging, but it's not help.
Steps to Reproduce:

Generate new extension by yeoman genetator (typescript/javascript), no matter.
Start degug.

I tryed to disable all installed extensions during debugging, but it's not help.

The exception is from the tslint extension, make sure to uninstall this extension.

@egamma

I tryed to disable all installed extensions during debugging, but it's not help.
Uninstalling not help me too.

Hmm...
I try to delete TSLint again and it's work without errors.
Thank for fast answer! :cat:


upload file is very slow when the directory storage uploadfile  has more than 300000 files

upload file is very slow when the directory storage uploadfile  has more than 300000 files,
I want to custom a rule that how to storage file . but I can not find a interface about relation bewteen upload file and directory .
I think  class InternalFileRep and FileRepFactory should be replaceable

Interesting issue :) This is already supported by using the initial configuration factory. The configuration factory is called on every request and you can return different configurations for different users/domains/whatever or return null to disable tusdotnet for the request.
Example:
app.UseTus(httpContext =>
{
    TusDiskStore store;

    if(SomeCondition)
    {
        store = new TusDiskStore(@"C:\tusfiles\");
    }
    else if(SomeOtherCondition)
    {
        store = new TusDiskStore(@"C:\someothertusfiles\");
    }
    else
    {
        // Disable tusdotnet for this request
        return null;
    }

    return new DefaultTusConfiguration
    {
        Store = store

        UrlPath = "/files",
        Events = new Events
        {
            OnFileCompleteAsync = async eventContext =>
            {
                ITusFile file = await eventContext.GetFileAsync();
                await DoSomeProcessing(file);
            }
        }
    }
});

I can solve this problem according your advice， but I think it is not a graceful method. I believe that we should have a interface for custom where upload file storage. I think we should enable  tusdotnet extensible. example  using Dependency injection

I think you are missing some key concepts of tusdotnet with that comment. The whole idea is that the configuration provided gives the functionality, i.e. you can customize where files are stored and even how they are stored by providing a different store (e.g. https://github.com/smatsson/TusAzureStore), you can customize access rights, expiration timeouts etc. There is nothing that prevents you from using IoC/DI to register your configuration or configuration builder. Also keep in mind that tusdotnet runs on platforms where DI is not natively supported or used (e.g. OWIN).
What exactly are you trying to achieve that you cannot with the above solution? It seems to me that all you'd like to do is change the path of where files are stored?

It seems to me that all you'd like to do is change the path of where files are stored?
Yes，
I see what you mean,Thank you very much for your reply.

I want to return different configurations for different FileId， but I cantnot do it by tusdotnet

Sure you can. The configuration factory is called on every request and you can do whatever you like to create the configuration. Example:
app.UseTus(httpContext =>
{
    var path = httpContext.Request.Path.Trim(new [] {'/'});

    if(path == 'files')
    {
        return CreateConfigurationUsedWhenNoFileIdHasBeenProvided();
    }
    else
    {
        var tmp = path.Split("/");
        var fileId = tmp[tmp.Length - 1];

        return CreateConfigurationForFileId(fileId);
    }
});

What's the use case for doing this? :)

Closing due to inactivity


Add ecMulG2 precompile

Description
This pull request introduces a precompile for efficiently computing scalar multiplication of a point on the D-type sextic twist of the BN254 curve over Fp2. The curve is defined by the equation:

$E' : y^2 = x^3 +<PHONE_NUMBER>1759354771024239261021720505790618469301721065564631296452457478373 +<PHONE_NUMBER>19991161246907387137283842545076965332900288569378510910307636690 u)$

The addition operation involves a point where each coordinate $(X, Y)$ is represented as elements of Fp2 and a sacalar $k$.
For example:
$A = ( X, Y)$
Where:
$X = (aX_0 + aX_1 * u)$
$Y = (aY_0 + aY_1 * u)$
The calldata expects input parameters:
$aX_0,aX_1,aY_0,aY_1,k$
And returns:
$cX_0,cX_1,cY_0,cY_1$
Test
First run the local node
make run-node

Once the node us up run:
make test PRECOMPILE=ecmul_g2

Some tests are failing for me, I've double checked cloning from zero and trying to run them,
maybe there are some files without commiting?
cd tests && \
cargo test ecmul_g2

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 36 filtered out; finished in 0.00s

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 196 filtered out; finished in 0.00s

running 10 tests
test ecmul_g2_p_times_two_is_2p ... FAILED
test ecmul_g2_p_infinity_times_0_is_infinity ... FAILED
test ecmul_g2_p_infinity_times_k_is_infinity ... FAILED
test ecmul_g2_p_times_one_is_p ... FAILED
test ecmul_g2_valid_1 ... FAILED
test ecmul_g2_invalid_p_not_in_curve ... ok
test ecmul_g2_p_times_zero_is_infinity ... FAILED
test ecmul_g2_valid_2 ... FAILED
test ecmul_g2_valid_3 ... FAILED
test ecmul_g2_coordinates_not_in_field ... ok

failures:

---- ecmul_g2_p_times_two_is_2p stdout ----
thread 'ecmul_g2_p_times_two_is_2p' panicked at tests/test_utils.rs:40:10:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- ecmul_g2_p_infinity_times_0_is_infinity stdout ----
thread 'ecmul_g2_p_infinity_times_0_is_infinity' panicked at tests/test_utils.rs:40:10:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- ecmul_g2_p_infinity_times_k_is_infinity stdout ----
thread 'ecmul_g2_p_infinity_times_k_is_infinity' panicked at tests/test_utils.rs:40:10:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- ecmul_g2_p_times_one_is_p stdout ----
thread 'ecmul_g2_p_times_one_is_p' panicked at tests/test_utils.rs:40:10:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- ecmul_g2_valid_1 stdout ----
thread 'ecmul_g2_valid_1' panicked at tests/test_utils.rs:40:10:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- ecmul_g2_p_times_zero_is_infinity stdout ----
thread 'ecmul_g2_p_times_zero_is_infinity' panicked at tests/test_utils.rs:40:10:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- ecmul_g2_valid_2 stdout ----
thread 'ecmul_g2_valid_2' panicked at tests/test_utils.rs:40:10:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- ecmul_g2_valid_3 stdout ----
thread 'ecmul_g2_valid_3' panicked at tests/test_utils.rs:40:10:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }

failures:
    ecmul_g2_p_infinity_times_0_is_infinity
    ecmul_g2_p_infinity_times_k_is_infinity
    ecmul_g2_p_times_one_is_p
    ecmul_g2_p_times_two_is_2p
    ecmul_g2_p_times_zero_is_infinity
    ecmul_g2_valid_1
    ecmul_g2_valid_2
    ecmul_g2_valid_3

test result: FAILED. 2 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s

Can we change this unwrap in the test_utils file:
fn write_line_to_report(used_gas: u32, report_to_write: &str) {
    let mut file = OpenOptions::new()
        .append(true)
        .open(report_to_write)
        .unwrap()
        ...
}

to something like:
fn write_line_to_report(used_gas: u32, report_to_write: &str) {
    let mut file = OpenOptions::new()
        .append(true)
        .open(report_to_write)
        .expect(&format!("Unable to write the gas report in {report_to_write:?}"));
        ...
}

Just to better indicate that the error happens in the gas reports generation and make it easier to understand.


fix: update vitepress theme dependency

:tada: This PR is included in version 8.0.0-beta.9 :tada:
The release is available on:

v8.0.0-beta.9
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 8.0.0 :tada:
The release is available on:

v8.0.0
GitHub release

Your semantic-release bot :package::rocket:


GitHub action for "Scorecard Analysis" still fails

The recently merged PR #71 succeeded to fix some of the actions that failed on master-branch builds before, but the scorecard still fails. I have never worked with it before, so would not tell heads from tails here ;)
https://github.com/thinksabin/DTrackAuditor/actions/runs/10981579809/job/30488787298
Note the comment from #71 still applies (so maybe locating and using release versions of the actions is the needed trick?):

In scorecard.yml I tentatively proposed to use the newer releases rather than older snapshots by commit ID, but ossf/sarif actions remain referenced by ID for now, not sure what to do with those at the moment. I do not know why commit hashes were used in the first place...

I think it is recommended to use the commit hashes. Generally its one of the best practice to use commit hashes. I will try to fix it as per your suggestion. thanks.

deleted the workflow and added it again. resolved for now. thanks.


-h and -v flags

-h should show help, which should also be shown if no input is given
-v should show the version

It could probably do without these actually.
Tracking the version is the package managers job and help can be in a man page.

It could probably do without these actually.
Tracking the version is the package managers job and help can be in a man page.

Man page added

Man page added


About the performance improvement compared with Tensorflow implementation

Hi, thank you for the implementation very much, it helps me a lot! BTW, I am really confused about the performance improvement comparing the PyTorch implementation with the original Tensorflow implementation. I would be very grateful if you could give me some guidance, thank you in advance！

What is your confusion? Could you elaborate your questions?

What is your confusion? Could you elaborate your questions?
This Pytorch implementation performs much better than the original Tensorflow implementation in MAE and other metrics, I am really confused about this.

https://github.com/chnsh/DCRNN_PyTorch/issues/3#issuecomment-655684405


Detecting ADS being closed in order to show a warning popup before closing the window

Question
How can we detect ADS close button getting clicked? Is there an event to track that?
Context
With respect to Database Migration Assessment for Oracle extension on ADS, when an assessment is in progress and customer tries to close ADS, we want to give them a popup.
Something like - 'Assessment is in progress. Do you want to close Azure Data Studio?'

@aasimkhan30 let me know if you need any help.

You could use a task for this - it will display a prompt when the user quits if it's still running asking if they want to quit.
https://github.com/microsoft/azuredatastudio/blob/5560b52df1651501623589e0ced226f083e57ab0/src/sql/workbench/services/tasks/common/tasksService.ts#L152

Our extension repo sits outside ADS, can I still use it? @Charles-Gagnon

Yes, tasks are part of the extensibility API (the code I linked was just showing where in code it does the popup. That isn't something you control directly except by having an actively running task)
See https://github.com/microsoft/azuredatastudio/blob/0fca085ca7c3f2b329d078f2222dd7b1cca387b1/extensions/sql-database-projects/src/models/deploy/deployService.ts#L138 for an example of starting a task


thread 'Inscription indexing runloop' panicked at 'index out of bounds'

Hi! I'm running ordhook v1.2.0 in a k8s cluster on AWS. I've successfully passed the on-chain data scraping the from a Bitcoin daemon but currently I've getting the following error:
{"msg":"Unable to find block #337489, will retry in 2.479s","level":"WARN","ts":"2023-12-15T16:30:03.450302565Z"}
{"msg":"Unable to find block #337489, will retry in 6.8s","level":"WARN","ts":"2023-12-15T16:30:05.929453541Z"}
{"msg":"Unable to find block #337489, will retry in 15.831s","level":"WARN","ts":"2023-12-15T16:30:12.729600261Z"}
{"msg":"Unable to find block #337489, will retry in 2.372s","level":"WARN","ts":"2023-12-15T16:30:28.577820567Z"}
{"msg":"Unable to find block #337489, will retry in 6.392s","level":"WARN","ts":"2023-12-15T16:30:30.949958675Z"}
{"msg":"Unable to find block #337489, will retry in 16.042s","level":"WARN","ts":"2023-12-15T16:30:37.342022251Z"}
{"msg":"Unable to find block #337489, will retry in 2.653s","level":"WARN","ts":"2023-12-15T16:30:53.391773419Z"}
{"msg":"Unable to find block #337489, will retry in 5.461s","level":"WARN","ts":"2023-12-15T16:30:56.044894169Z"}
{"msg":"Unable to find block #337489, will retry in 13.126s","level":"WARN","ts":"2023-12-15T16:31:01.506024575Z"}
{"msg":"Unable to find block #337489, will retry in 2.14s","level":"WARN","ts":"2023-12-15T16:31:14.639585865Z"}
{"msg":"Unable to find block #337489, will retry in 6.236s","level":"WARN","ts":"2023-12-15T16:31:16.779700143Z"}
{"msg":"Unable to find block #337489, will retry in 17.141s","level":"WARN","ts":"2023-12-15T16:31:23.015829111Z"}
{"msg":"Unable to compute inscription's Satoshi: block #337489 not in database","level":"ERRO","ts":"2023-12-15T16:31:40.15924017Z"}
{"msg":"Inscriptions data computation for block #775087 collected","level":"INFO","ts":"2023-12-15T16:31:40.159593944Z"}
{"msg":"Inscriptions data computation for block #775087 ended","level":"INFO","ts":"2023-12-15T16:31:40.159627221Z"}
{"msg":"Cleanup: threadpool deallocation started","level":"INFO","ts":"2023-12-15T16:31:40.159787852Z"}
{"msg":"Cleanup: threadpool deallocation ended","level":"INFO","ts":"2023-12-15T16:31:40.161352385Z"}
{"msg":"Inscription 41a183751841ef3b86b617a2fe3acaef41e6c7cc15122540b04df5ebc0b64a04i0 (#3079) detected on Satoshi<PHONE_NUMBER>836413 (block #775087, 1204 transfers)","level":"INFO","ts":"2023-12-15T16:31:40.171143788Z"}
{"msg":"Inscription 99d0776e89ab3cf130b60f9b81bea85d14e89449225d0e6027f8ad2e6810a505i0 (#3080) detected on Satoshi<PHONE_NUMBER>560085 (block #775087, 632 transfers)","level":"INFO","ts":"2023-12-15T16:31:40.171240211Z"}
{"msg":"Inscription 9925d3156f0dc99bbb4847351821d2a26ae4f6a4c4377972403803b4df8f4008i0 (#3081) detected on Satoshi<PHONE_NUMBER>09797 (block #775087, 692 transfers)","level":"INFO","ts":"2023-12-15T16:31:40.171295167Z"}
{"msg":"Inscription 61bf61ae9813dbcc6d7e8fbf7cd11c53bebf9a54f211a59ac759bee564145308i0 (#3082) detected on Satoshi<PHONE_NUMBER>978480 (block #775087, 786 transfers)","level":"INFO","ts":"2023-12-15T16:31:40.17141037Z"}
...
{"msg":"Inscription 09158c40974878b4ef4e9e53bc582fa29ae609bb0eb504b6e2145abc93e52fdei0 (#3287) detected on Satoshi<PHONE_NUMBER>123741 (block #775087, 417 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.534917044Z"}
{"msg":"Inscription 860d096b1c115d7e24786aa1a827261ec7f16a37ee3589ec41debfbc72cedadei0 (#3288) detected on Satoshi<PHONE_NUMBER>87885 (block #775087, 872 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.534953534Z"}
{"msg":"Inscription 1cd2563d3a92de6ced6293d02411eeb8603bf520771bde6397cff7a92b9c2cdfi0 (#3289) detected on Satoshi<PHONE_NUMBER>394567 (block #775087, 1315 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.53499789Z"}
{"msg":"Inscription 888ee3c648b81febfb663dbabae365932b99b6e3e6e0a52a8f37537ee3d28edfi0 (#3290) detected on Satoshi<PHONE_NUMBER>856920 (block #775087, 3502 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535028494Z"}
{"msg":"Inscription 038945c67d5322db281bed0c6163d713b471f290effb16313fc38c02caa58de0i0 (#3291) detected on Satoshi<PHONE_NUMBER>684115 (block #775087, 883 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535059486Z"}
{"msg":"Inscription c252d95f05550a77f913c342fa1372268e89e0334b1a8c969be3b590c0b6cae1i0 (#3292) detected on Satoshi<PHONE_NUMBER>05556 (block #775087, 2644 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535088073Z"}
{"msg":"Inscription 769f9a872d21cda73934f5a157b1959973126e02fe4175417068d8294e8155e5i0 (#3293) detected on Satoshi<PHONE_NUMBER>375636 (block #775087, 851 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535118421Z"}
{"msg":"Inscription c73737b0c94d378883e87c56c38ae36568313fd0b9b87baa83dbe03e57a8a8e6i0 (#3294) detected on Satoshi<PHONE_NUMBER>39553 (block #775087, 1575 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535147701Z"}
{"msg":"Inscription 0420e80c85733c93059a280c5949f6e5a154a1cf91baed4076891544309706e9i0 (#3295) detected on Satoshi<PHONE_NUMBER>205653 (block #775087, 775 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535178751Z"}
{"msg":"Inscription 3bec6ea7fb8d24d2ca8eedcd1a2bd4c0f20cdfb2f232fcfe1e18500f226993ebi0 (#3296) detected on Satoshi<PHONE_NUMBER>80556 (block #775087, 2599 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535209019Z"}
{"msg":"Inscription a1606f8d8b4cabf64fd462e1ba1a52ea3844ae28b78a1224c4ceb252f5eda7ebi0 (#3297) detected on Satoshi<PHONE_NUMBER>961308 (block #775087, 603 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.53524046Z"}
{"msg":"Inscription 2570fc49be547161d9263bd9aeaa0ee043aa6c315f8b7998e37ab298b94af9edi0 (#3298) detected on Satoshi<PHONE_NUMBER>881918 (block #775087, 900 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535269703Z"}
{"msg":"Inscription f7cd9c8a9b6bab3ccb072f68f3f821f95b0664377ad9b2238feb51ebcdcecfefi0 (#3299) detected on Satoshi<PHONE_NUMBER>391484 (block #775087, 1452 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535299665Z"}
{"msg":"Inscription 850fadd14256b3a8655cc0791dab8320e03b27e5ba153471676ae7af649a38f0i0 (#3300) detected on Satoshi<PHONE_NUMBER>904749 (block #775087, 451 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535329958Z"}
{"msg":"Inscription 8ada9bdfa060ce57fa76ab4530e1ee3d69976dc6530e982273bf010748bd5af2i0 (#3301) detected on Satoshi<PHONE_NUMBER>072077 (block #775087, 157 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535360105Z"}
{"msg":"Inscription 41ce4e544e33c13607cb1c3903c61baf7f39b439c34992bbeb3a7e8713a789f2i0 (#3302) detected on Satoshi<PHONE_NUMBER>45568 (block #775087, 695 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535391211Z"}
{"msg":"Inscription 1dafd434a84ccbfc0f2ff62e3137e1d89a2dc8cc1b4a2834a57bfdb86e491bf3i0 (#3303) detected on Satoshi<PHONE_NUMBER>39553 (block #775087, 1587 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535419691Z"}
{"msg":"Inscription f280cc01ecd95c455fb8905d4625d28923cef61c422aefd56ce44d419fb863f6i0 (#3304) detected on Satoshi<PHONE_NUMBER>235607 (block #775087, 784 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535450411Z"}
{"msg":"Inscription 215b8f12569f13249becc70849001845d5549ae43f788df50fa92b6e3022d5f8i0 (#3305) detected on Satoshi<PHONE_NUMBER>00981 (block #775087, 518 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.53548257Z"}
{"msg":"Inscription 7fa39918362ead5a7da765b8bb9ec8c84d3cef0e4800038fc9be180e5f11eaf9i0 (#3306) detected on Satoshi<PHONE_NUMBER>501891 (block #775087, 99 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535512785Z"}
{"msg":"Inscription 6fff04f9b9dcb9f5f052e8fad7f941aa9c9f4c4f210edaaf3e06849a050d06fai0 (#3307) detected on Satoshi<PHONE_NUMBER>894299 (block #775087, 740 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535543052Z"}
{"msg":"Inscription b7d76c64887b1ef6c801265d11033585373d087831f1a37ff93f2665b09f62fbi0 (#3308) detected on Satoshi<PHONE_NUMBER>678424 (block #775087, 1358 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535572105Z"}
{"msg":"Inscription 9030380e3075060a4b539dcdd79bb7ca5eeb771385235ebadccb36b2d7d5e4fci0 (#3309) detected on Satoshi<PHONE_NUMBER>879201 (block #775087, 2333 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535606273Z"}
{"msg":"Inscription 7b1bad4deac151db09cd73aa47c9025e0b4691603fd7055afebec236b41a53fdi0 (#3310) detected on Satoshi<PHONE_NUMBER>324855 (block #775087, 831 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535635616Z"}
{"msg":"Inscription 7ba07e9712fdec9967aafadec6a49c266898a80ed0d9b1158a150de9c657f6fdi0 (#3311) detected on Satoshi<PHONE_NUMBER>325636 (block #775087, 923 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.53566526Z"}
{"msg":"Inscription c47e9837ba0a4eb5701dc934e8dba14d963df8bebe4f47c4b7e4b6f762773bffi0 (#3312) detected on Satoshi<PHONE_NUMBER>781918 (block #775087, 890 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.53569359Z"}
{"msg":"Inscription 892648b9ea9c58663a906b6845dc8b42cf289eaf8e050d2dc497c0db670b741ci0 (#3313) detected on Satoshi<PHONE_NUMBER>497207 (block #775087, 78 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535723229Z"}
{"msg":"Inscription 62615d463afd164447dcae0ead77c4b7ad2d363498f366661ddaeef7f065c02bi0 (#3314) detected on Satoshi<PHONE_NUMBER>105363 (block #775087, 1710 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535754923Z"}
{"msg":"Inscription 2f52ce0d53bfbcf703ba8540265a521db85c6bf7cf7db1345dc5c3eb23295a7bi0 (#3315) detected on Satoshi<PHONE_NUMBER>994047 (block #775087, 173 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535786265Z"}
{"msg":"Inscription 6ea505f6077d1199a70b4dc9ae1c02ffd90689f7de38b4027ba00a6a380e8662i0 (#3316) detected on Satoshi<PHONE_NUMBER>637432 (block #775087, 399 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535817264Z"}
{"msg":"Inscription 06a59cdc38960aad232d548b5ff873c821fc43e2e37b015685c72c18111bc59ei0 (#3317) detected on Satoshi<PHONE_NUMBER>110751 (block #775087, 1213 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535846184Z"}
{"msg":"Inscription 832442d5b7647abf1f90e1492432bd35c6a34b414cbef8505136d685b51cad5bi0 (#3318) detected on Satoshi<PHONE_NUMBER>032863 (block #775087, 226 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.535906476Z"}
{"msg":"Inscription a473947ee7e7e061f4c40210bfa9458859449f78b81ac6b94c3eb1300ab5a9a9i0 (#3319) detected on Satoshi<PHONE_NUMBER>912863 (block #775087, 226 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.536785374Z"}
{"msg":"Inscription 832bba509f1bcfa3f9a22522caeea8d1d7722ba1607e6fbfa4458f79c96ba043i0 (#3320) detected on Satoshi<PHONE_NUMBER>952863 (block #775087, 226 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.536820345Z"}
{"msg":"Inscription 2bf79c79e318cebd20738cfd4142b6308a814424395c07168294b05e3be148eei0 (#3321) detected on Satoshi<PHONE_NUMBER>992863 (block #775087, 226 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.536847519Z"}
{"msg":"Inscription 847290d2d07bfc750c0eba8cf34372f945bec0f4d961eb90a081d845a7c28280i0 (#3322) detected on Satoshi<PHONE_NUMBER>072863 (block #775087, 226 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.536874406Z"}
{"msg":"Inscription a93d6a3f2eb393f3f4065be754457927533e1916164a0e6963c699f6a2e0088bi0 (#3323) detected on Satoshi<PHONE_NUMBER>112863 (block #775087, 226 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.536905265Z"}
{"msg":"Inscription da6f9ab97084de4c63fd8aaa336f1c970650cb91659f1edecd95ad957ea87282i0 (#3324) detected on Satoshi<PHONE_NUMBER>313878 (block #775087, 238 transfers)","level":"INFO","ts":"2023-12-15T15:15:38.536936347Z"}
thread 'Inscription indexing runloop' panicked at 'index out of bounds: the len is 1 but the index is 1', /src/components/ordhook-core/src/db/mod.rs:1284:24
stack backtrace:
   0:     0x5568981fba21 - std::backtrace_rs::backtrace::libunwind::trace::he648b5c8dd376705
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x5568981fba21 - std::backtrace_rs::backtrace::trace_unsynchronized::h5da3e203eef39e9f
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x5568981fba21 - std::sys_common::backtrace::_print_fmt::h8d28d3f20588ae4c
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x5568981fba21 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hd9a5b0c9c6b058c0
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x55689822981f - core::fmt::rt::Argument::fmt::h0afc04119f252b53
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/fmt/rt.rs:138:9
   5:     0x55689822981f - core::fmt::write::h50b1b3e73851a6fe
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/fmt/mod.rs:1094:21
   6:     0x5568981f77d7 - std::io::Write::write_fmt::h184eaf275e4484f0
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/io/mod.rs:1714:15
   7:     0x5568981fb835 - std::sys_common::backtrace::_print::hf58c3a5a25090e71
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x5568981fb835 - std::sys_common::backtrace::print::hb9cf0a7c7f077819
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x5568981fcfa3 - std::panicking::default_hook::{{closure}}::h066adb2e3f3e2c07
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:269:22
  10:     0x5568981fcd34 - std::panicking::default_hook::h277fa2776900ff14
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:288:9
  11:     0x5568981fd529 - std::panicking::rust_panic_with_hook::hceaf38da6d9db792
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:705:13
  12:     0x5568981fd427 - std::panicking::begin_panic_handler::{{closure}}::h2bce3ed2516af7df
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:597:13
  13:     0x5568981fbe86 - std::sys_common::backtrace::__rust_end_short_backtrace::h090f3faf8f98a395
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/sys_common/backtrace.rs:151:18
  14:     0x5568981fd172 - rust_begin_unwind
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:593:5
  15:     0x556897122893 - core::panicking::panic_fmt::h4ec8274704d163a3
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/panicking.rs:67:14
  16:     0x5568971229f2 - core::panicking::panic_bounds_check::h11601ba3567ad740
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/panicking.rs:162:5
  17:     0x55689728903a - ordhook::db::parse_satpoint_to_watch::h556b740a80b3d32d
  18:     0x5568972804c5 - ordhook::db::insert_inscription_in_locations::h52e4bc75ec8b9e8f
  19:     0x5568972808bf - ordhook::db::update_inscriptions_with_block::h39d4c3e70b7f9620
  20:     0x5568973d77be - ordhook::core::protocol::inscription_sequencing::augment_block_with_ordinals_inscriptions_data_and_write_to_db_tx::h226f91ae249cf186
  21:     0x55689724f8c9 - ordhook::core::pipeline::processors::inscription_indexing::process_block::hcd50acee2e3831f2
  22:     0x55689724eb90 - ordhook::core::pipeline::processors::inscription_indexing::process_blocks::h4dad5361c99abb2b
  23:     0x556897378c55 - std::sys_common::backtrace::__rust_begin_short_backtrace::h04c021a1bf03dd82
  24:     0x55689732c1b2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2af8557af88c8ed5
  25:     0x5568982002b5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc0b1022758ecac73
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/alloc/src/boxed.rs:1993:9
  26:     0x5568982002b5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h0c9654ebe7ad657e
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/alloc/src/boxed.rs:1993:9
  27:     0x5568982002b5 - std::sys::unix::thread::thread::new::thread_start::h04c8e9c7d83d3bd5
                               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/sys/unix/thread.rs:108:17
  28:     0x7ffbe4e59ea7 - start_thread
  29:     0x7ffbe4c2fa2f - clone
  30:                0x0 - <unknown>

My current config is:
[storage]
working_dir = "/opt/ordhook"

# The Http Api allows you to register / deregister
# dynamically predicates.
# Disable by default.
#
 [http_api]
 http_port = 20456
 database_uri = "xxx"

[network]
mode = "mainnet"
bitcoind_rpc_url = "xxx"
bitcoind_rpc_username = "xxx"
bitcoind_rpc_password = "xxx"
# Bitcoin block events can be received by Chainhook
# either through a Bitcoin node's ZeroMQ interface,
# or through the Stacks node. Zmq is being
# used by default:
bitcoind_zmq_url = "xxx"
# but stacks can also be used:
# stacks_node_rpc_url = "http://<IP_ADDRESS>:20443"

[limits]
max_number_of_bitcoin_predicates = 100
max_number_of_concurrent_bitcoin_scans = 100
max_number_of_processing_threads = 200
bitcoin_concurrent_http_requests_max = 16
max_caching_memory_size_mb = 32000

# Disable the following section if the state
# must be built locally
[bootstrap]
download_url = "https://archive.hiro.so/mainnet/ordhook/mainnet-ordhook-sqlite-latest"

[logs]
ordinals_internals = true
chainhook_internals = true

Hi @4ker-dep! Your indexer could have been miss saving some blocks during the first step (usually occurs when the process is being interrupted).
I'm in the process of testing this new branch, that includes a scan + auto-repair when the service is being started.

Hi @lgalabru ! Thanks for taking the notice of my issue. I assume work on fix/database-optims isn't finished since the PR is not merged yet but I was eager to run this version and check for results myself. Unfortunately my ordhook is failing with the logs visible below.
Normal tx: {"sequence":4294967295,"txid":"91a06c989d606b7cd160e7d5f3295682f92056bae9af8e48c710b4cc762da8ad","vout":24,"scriptSig":{"hex":""},"txinwitness":["304402207b60cce781c1d11a93b3dcab6b7d98703a6276046e24566e51eb3a08bed50f3b0220207d24a2974c16bf25733555ffdaebc5c6131941d9538e3e7b396de89b523fe001","021082a582b6ba356a1134c1e1a3b5efde99f698fad103b03a5ed2ab67db23a875"],"prevout":{"height":775086,"value":0.00369921}}
Normal tx: {"sequence":4294967295,"txid":"a2c59c4faf6a3e48e54222f9994aa80f03d78785612e95b7cd11488c0eaf2df3","vout":0,"scriptSig":{"hex":""},"txinwitness":["3044022077c66e459c1c30079515dec941a4b6b92994fa00c35a1ee752653e77ebf2790d02207785f861508ea753e71b8de7ed5f062798ae65e4c355fb12df6989ec2639540d01","028d616ae07b078357084eac9ff2b2b61b69b2aad4cf098427f2ed004ea48810e9"],"prevout":{"height":775086,"value":0.00402991}}
Normal tx: {"sequence":4294967295,"txid":"ea1b1a0753b5cbccc0937e8b9ca74864c7442a880904f7c586d73a1979019069","vout":0,"scriptSig":{"hex":"1600144b36be784d502693e067e747d8f0b5783d6e26ad"},"txinwitness":["304402202132901665df6a51d89cfc56ae86300626282f1caf4d191a04a865ad09d17fb802200729323d1cdd2d8ba4a3c2ec6901e210d29952d5bb8a6ed0293e290d240d0a6e01","03fa22e49023f3ef013006d1300c73c9d6e6673d09513c777437056de1eedaf109"],"prevout":{"height":775086,"value":0.00128711}}
Normal tx: {"sequence":4294967295,"txid":"aab9ee10c4f6cc2a8db9733c20c165db530d6e5db689c199802d0083f7de282f","vout":0,"scriptSig":{"hex":""},"txinwitness":["3044022061b651c5a004383bdf3d0cba7153a7685b07953412814bb3a395a3e4f0fb77d802205819031161b0aeb1c86da1a463fe605b852ae269a565c9e704371ff3fe302f6201","034fddde7afd30966b9a50b0696e3d44e52c718aca19605288f872da67113eb118"],"prevout":{"height":775086,"value":0.01389987}}
Normal tx: {"sequence":4294967295,"txid":"26e922300c31a0796b78ae4e86550ddebd52deb1ab47eb376ced3f640467b570","vout":0,"scriptSig":{"hex":""},"txinwitness":["3044022064f3db56fd10033718aa96d4c71c35bb48025d2ec5792f38f780c21696a2450a02207b6dcac9598d4a2e169528b9c56f79cc5cf027560bd037e3f3e439062e0b976901","028d590d17a3e757c482a6d11f59fe824342360e10d34fcb8c36c24d025526252f"],"prevout":{"height":775086,"value":0.00120735}}
Normal tx: {"sequence":4294967295,"txid":"10c7fe086aeac5dc7f98e3841e676dc81cc46c27bd70221dc23a0eb0d5dd98be","vout":3,"scriptSig":{"hex":""},"txinwitness":["304402207029d9b6561b7d43b464997fc2c669c5e0fed2d222f321a595405f8cc7cb34b802206188674ff2de917bc532fa1748a673b3169bd9cca7cc8b057c4cbcf7b71e17da01","027855b665dace9739dd8ad9a3031939c94dcea9626d5d5864cb4258b878893319"],"prevout":{"height":775086,"value":0.02499}}
Normal tx: {"sequence":4294967295,"txid":"f8addfb11b81a8fc039883d748f7d6224055d1dcd328e3322d8eb248677184fd","vout":28,"scriptSig":{"hex":""},"txinwitness":["","304402204d15de2904dfba9d70b1899fff92a15a3a353b018c66509da20e44d7f4ece2ab022072b0fed8b1a8dc3fed1b87e28560a34118fc114e012583efa2d561cb9394de8a01","304402202d39faddd4a52be72b111aab3d7ba90a6dce274d2e8b60edb44b1db32622dd7a0220398d585734abffc7403e402006b6dcf056973bab21a42edd5caef36fb001b37f01","522103eea443e3d0e5e50bf4ae3ae86b73e4492df673764048797bba31d55d22ece4d9210346143acfb8593064d1e9d2e29ace974c36b6ceb10ca636e2bd2bf417bb22376f52ae"],"prevout":{"height":775029,"value":0.00085415}}
Normal tx: {"sequence":4294967293,"txid":"2f7aa1f75833b4b0cd512c103cee664c54e5437d4285a7a44d6c06ca83342c02","vout":0,"scriptSig":{"hex":""},"txinwitness":["3044022063a51b6580def22a4778b0af1fffafe7f9483c97f2515a37880edd13a95f91ff02205c5e4597402fd5d790df6c60f054fadd44f855e2a60092cf79325fafc22250ae01","03c62b38281aab4f723f869c9c34083f241bfc0f4f0ea16ecde7db1d131447f7ba"],"prevout":{"height":775081,"value":0.29177402}}
Normal tx: {"sequence":4294967295,"txid":"2d55eac8af3308a02f4155fa793c3bd25c4f19aaf3618c9451d787a49184d84b","vout":0,"scriptSig":{"hex":""},"txinwitness":["9a789669e5d4e26cee2af70d0d071276a70993b4d44c4de11a875db7c2d4bc96f144394ff1f620f5e7b4f1883bffe274c7e78d053455eccdbe3f5151acbbb59001"],"prevout":{"height":775074,"value":0.00050332}}
Normal tx: {"sequence":4294967295,"txid":"e25b318f145ae6a6b9a2ec320ce7236782bedc497ca1f29b4d917bb8fd188528","vout":0,"scriptSig":{"hex":""},"txinwitness":["e4537394eef645b1d6e092e69654ad30f689918cc7e0c88e2a353dde568a832a3ce5b3698a612b45f8d8a793302ba15282c2fe1c3d902fcb298448b9624c876001"],"prevout":{"height":775074,"value":0.00049474}}
Normal tx: {"sequence":4294967295,"txid":"a246d57fa50a2630b5874b038d6d0b6b17aaf12e245cb04a75e12f109d1da1c4","vout":0,"scriptSig":{"hex":""},"txinwitness":["9cbcdd596f136113e853e8eddd2d1ea7840d48a49e5407584fe78abff7f9a3cc52e8ee803f034f5f55cb9c030669e3d5b799a27cd188f3c7e1fb593ed4cde5bd01"],"prevout":{"height":775074,"value":0.00006332}}
Normal tx: {"sequence":4294967295,"txid":"3ce7adcfbb85cd7597c0c27e5360053ca29acf56f25ad252eefbbaa963845b58","vout":0,"scriptSig":{"hex":""},"txinwitness":["7a19d7c70b01785081473dc63ac901b76f9f20b26fa17b521f5367dc2545ea8214299dc0028a8c49ca355f9632c85c8b36d3e721061a2e44ea269dbcae3f32ac01"],"prevout":{"height":774949,"value":8.58e-6}}
Normal tx: {"sequence":4294967295,"txid":"2330679c8c6c39cf638b22a4af631476a80950b54510c13bc4ed4beb41bd94e7","vout":0,"scriptSig":{"hex":""},"txinwitness":["fcdd49403654e5e79a591fc972eea997368b0b344cd2fa641213cc4a50a189aa3e42eaca3618310a59a8bc60e85030d80a3efc865bba70d2c3f872004f6839a801"],"prevout":{"height":775087,"value":0.00005317}}
Normal tx: {"sequence":2147483648,"txid":"7746547002c8c792fc46acab252707375d52e8db98429febe2eaf5004c70fd66","vout":0,"scriptSig":{"hex":""},"txinwitness":["3045022100a5ca9ad13c630bbd7e69292f8043e80a90bdc572f51049cb42237469534d9cb002201ec5d796a7355a2ee4c8e5870c479da072fbdac7763d3e47deb6aee1f9ce8a3301","028341332bd4ea53d37fce64f0b64eeba72a958d002a2379e27347b96b3df17ab4"],"prevout":{"height":775087,"value":0.00039322}}
Normal tx: {"sequence":2147483648,"txid":"5d8fe5fad25c8ff2c4f22fff80bcb164d45fbfb3febe6671c92189cac8d67abe","vout":1,"scriptSig":{"hex":""},"txinwitness":["304402206669b1f6e41e535f3ba98999956fa67d5e33fdae820d17eb32f81f141fee4fed02201eb85b073e918bdc9355c4a4b5686916092643966e440a9d5c4c6f00978978b801","0322177250812306558dce8482012523a01501f2fdcf457d6cc40008053a79d630"],"prevout":{"height":775083,"value":0.00219453}}
Dec 19 12:26:08.688 INFO Processing 2 blocks
Dec 19 12:26:08.690 INFO Inscriptions data computation for block #775087 started
Dec 19 12:26:08.696 INFO Number of inscriptions in block #775087 to process: 247 (L1 cache hits: 0, queue: [775088], L1 cache len: 0, L2 cache len: 0)
Dec 19 12:26:09.954 ERRO fatal: unable to retrieve tx ancestor 8a720f7d219f536b in block 775034 (satpoint 344a16e8735031dd692fd015ef7a12ecd5136680a4c75730c51f246dd2c1db6a:0)

@4ker-dep yeah this PR will require you to restart an index from scratch unfortunately.
I was able to test this PR locally successfully, it's been deployed to a cloud environnement - I'd like to see it running for a few days first, before merging.


Failing tests for python SDK on ppc64le.

What happened?
Facing test issues for Python SDK
tox -c tox.ini run -e py311
.pkg: _optional_hooks> python /usr/local/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta legacy
.pkg: get_requires_for_build_sdist> python /usr/local/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta legacy
.pkg: get_requires_for_build_wheel> python /usr/local/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta legacy
.pkg: prepare_metadata_for_build_wheel> python /usr/local/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta legacy
.pkg: build_sdist> python /usr/local/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta legacy
py311: install_package_deps> target/.tox/py311/bin/python /script/beam/sdks/python/target/.tox/py311/bin/pip install --retries 10 --pre 'cloudpickle~=2.2.1' 'crcmod<2.0,>=1.7' 'cryptography>=41.0.2' 'dill<0.3.2,>=<IP_ADDRESS>' 'fastavro<2,>=0.23.6' 'fasteners<1.0,>=0.3' 'freezegun>=0.3.12' grpcio==1.51.3 'hdfs<3.0.0,>=2.1.0' 'httplib2<0.23.0,>=0.8' 'hypothesis<=7.0.0,>5.0.0' 'joblib>=1.0.1' 'js2py<1,>=0.74' 'mock<6.0.0,>=1.0.1' 'numpy<1.25.0,>=1.14.3' 'objsize<0.7.0,>=0.6.1' 'orjson<4,>=3.9.7' 'packaging>=22.0' 'pandas!=1.5.0,!=1.5.1,<1.6,>=1.4.3; python_version >= "3.8"' 'pandas<2.0.0' 'parameterized<0.10.0,>=0.7.1' 'proto-plus<2,>=1.7.1' 'protobuf!=4.0.,!=4.21.,!=4.22.0,!=4.23.*,!=4.24.0,!=4.24.1,!=4.24.2,<4.25.0,>=3.20.3' 'psycopg2-binary<3.0.0,>=2.8.5' pyarrow==12.0.0 'pydot<2,>=1.2.0' 'pyhamcrest!=1.10.0,<3.0.0,>=1.9' 'pymongo<5.0.0,>=3.8.0' 'pytest-timeout<3,>=2.1.0' 'pytest-xdist<4,>=2.5.0' 'pytest<8.0,>=7.1.2' 'python-dateutil<3,>=2.8.0' 'pytz>=2018.3' 'pyyaml<7.0.0,>=3.12' 'regex>=2020.6.8' 'requests-mock<2.0,>=1.7' 'requests<3.0.0,>=2.24.0' 'scikit-learn>=0.20.0' 'sqlalchemy<2.0,>=1.3' 'tenacity<9,>=8.0.0' 'testcontainers[mysql]<4.0.0,>=3.0.3' 'typing-extensions>=3.7.0' 'zstandard<1,>=0.18.0'
py311: install_package> target/.tox/py311/bin/python /script/beam/sdks/python/target/.tox/py311/bin/pip install --retries 10 --pre --force-reinstall --no-deps /script/beam/sdks/python/target/.tox/.tmp/package/5/apache-beam-2.51.0.tar.gz
py311: commands_pre[0]> python --version
Python 3.11.2
py311: commands_pre[1]> pip --version
pip 23.2.1 from /script/beam/sdks/python/target/.tox/py311/lib/python3.11/site-packages/pip (python 3.11)
py311: commands_pre[2]> pip check
No broken requirements found.
py311: commands_pre[3]> bash /script/beam/sdks/python/scripts/run_tox_cleanup.sh
py311: commands[0]> python apache_beam/examples/complete/autocomplete_test.py
Traceback (most recent call last):
File "/script/beam/sdks/python/apache_beam/examples/complete/autocomplete_test.py", line 26, in
import apache_beam as beam
File "/script/beam/sdks/python/target/.tox/py311/lib/python3.11/site-packages/apache_beam/init.py", line 88, in
from apache_beam import io
File "/script/beam/sdks/python/target/.tox/py311/lib/python3.11/site-packages/apache_beam/io/init.py", line 28, in
from apache_beam.io.parquetio import *
File "/script/beam/sdks/python/target/.tox/py311/lib/python3.11/site-packages/apache_beam/io/parquetio.py", line 679, in
class _ParquetSink(filebasedsink.FileBasedSink):
File "/script/beam/sdks/python/target/.tox/py311/lib/python3.11/site-packages/apache_beam/io/parquetio.py", line 733, in _ParquetSink
def write_record(self, writer, table: pa.Table):
^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'Table'
py311: exit 1 (1.31 seconds) /script/beam/sdks/python> python apache_beam/examples/complete/autocomplete_test.py pid=102249
py311: commands_post[0]> bash /script/beam/sdks/python/scripts/run_tox_cleanup.sh
.pkg: _exit> python /usr/local/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta legacy
py311: FAIL code 1 (71.34=setup[68.06]+cmd[0.00,0.40,1.51,0.03,1.31,0.03] seconds)
evaluation failed :( (71.54 seconds)
Issue Failure
Failure: Test is continually failing
Issue Priority
Priority: 2 (backlog / disabled test but we think the product is healthy)
Issue Components

[X] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam YAML
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

The recent run of Python tests which includes the one mentioned above is passing - https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/7713/consoleFull. I don't see a failure in the recent runs too - https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/
Could this be a flake on your end? can you rerun the test again?


when HTTP404, only on_error occurs.

So I think this is maybe something that needs to change. Might well make sense for on_error to only be called for unhandled cases, but have the APIException subclasses result in the usual on_response behavior.


B.6.7.1100 - Field Multiple Choice Radio

Merge in the feature from v13.7.15

@MintooXavier

Completed.. Pushed to https://github.com/CCTC-team/redcap_rsvc/blob/MX_v13.1.37/Feature Tests/B/Online Designer/B.6.7.1100 - Field Radio.feature


pkg-dir on master is a devDependency, but should be dependency

pkg-dir is a dev dependency but is now used in src/core/resolve.js - I think it should be moved to dependencies?
was awaiting a release with the custom resolver and was trying out master...

😱  you're right!


ValueError: Tried to convert 'input' to a tensor and failed. Error: None values not supported.

I am trying to train the model on a custom dataset. The dataset is ~650 images of books with around ~15500 mask and bbox annotations. I followed all the steps except using data_crop.py for my dataset and I have a tfrecord file of size 23.6GB. I also converted my dataset using the converter in tensorflow object detection api, and the size of that is 760.5MB. When I run multi_gpu_train_r3det.py, I get the following error in the output. Can you help me out in what could be wrong?
/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:527: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:528: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:529: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:530: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:535: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
++--++--++--++--++--++--++--++--++--++--++--++--++--++--++--++--++--++--++--++--
/home/test/R3Det_Tensorflow
WARNING:tensorflow:From multi_gpu_train_r3det.py:128: get_or_create_global_step (from tensorflow.contrib.framework.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.get_or_create_global_step
WARNING:tensorflow:From /home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
tfrecord path is --> /home/test/R3Det_Tensorflow/data/tfrecord/book-spine_train*
WARNING:tensorflow:From ../data/io/read_tfrecord_multi_gpu.py:115: string_input_producer (from tensorflow.python.training.input) is deprecated and will be removed in a future version.
Instructions for updating:
Queue-based input pipelines have been replaced by `tf.data`. Use `tf.data.Dataset.from_tensor_slices(string_tensor).shuffle(tf.shape(input_tensor, out_type=tf.int64)[0]).repeat(num_epochs)`. If `shuffle=False`, omit the `.shuffle(...)`.
WARNING:tensorflow:From /home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/training/input.py:278: input_producer (from tensorflow.python.training.input) is deprecated and will be removed in a future version.
Instructions for updating:
Queue-based input pipelines have been replaced by `tf.data`. Use `tf.data.Dataset.from_tensor_slices(input_tensor).shuffle(tf.shape(input_tensor, out_type=tf.int64)[0]).repeat(num_epochs)`. If `shuffle=False`, omit the `.shuffle(...)`.
WARNING:tensorflow:From /home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/training/input.py:190: limit_epochs (from tensorflow.python.training.input) is deprecated and will be removed in a future version.
Instructions for updating:
Queue-based input pipelines have been replaced by `tf.data`. Use `tf.data.Dataset.from_tensors(tensor).repeat(num_epochs)`.
WARNING:tensorflow:From /home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/training/input.py:199: QueueRunner.__init__ (from tensorflow.python.training.queue_runner_impl) is deprecated and will be removed in a future version.
Instructions for updating:
To construct input pipelines, use the `tf.data` module.
WARNING:tensorflow:From /home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/training/input.py:199: add_queue_runner (from tensorflow.python.training.queue_runner_impl) is deprecated and will be removed in a future version.
Instructions for updating:
To construct input pipelines, use the `tf.data` module.
WARNING:tensorflow:From /home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/training/input.py:202: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.cast instead.
WARNING:tensorflow:From ../data/io/read_tfrecord_multi_gpu.py:22: TFRecordReader.__init__ (from tensorflow.python.ops.io_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Queue-based input pipelines have been replaced by `tf.data`. Use `tf.data.TFRecordDataset`.
WARNING:tensorflow:From ../data/io/image_preprocess_multi_gpu.py:175: py_func (from tensorflow.python.ops.script_ops) is deprecated and will be removed in a future version.
Instructions for updating:
tf.py_func is deprecated in TF V2. Instead, use
    tf.py_function, which takes a python function which manipulates tf eager
    tensors instead of numpy arrays. It's easy to convert a tf eager tensor to
    an ndarray (just call tensor.numpy()) but having access to eager tensors
    means `tf.py_function`s can use accelerators such as GPUs as well as
    being differentiable using a gradient tape.

WARNING:tensorflow:From ../data/io/read_tfrecord_multi_gpu.py:125: batch (from tensorflow.python.training.input) is deprecated and will be removed in a future version.
Instructions for updating:
Queue-based input pipelines have been replaced by `tf.data`. Use `tf.data.Dataset.batch(batch_size)` (or `padded_batch(...)` if `dynamic_pad=True`).
WARNING:tensorflow:From /home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/ops/math_ops.py:3066: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.cast instead.
/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/ops/gradients_impl.py:110: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
  "Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
Traceback (most recent call last):
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 511, in _apply_op_helper
    preferred_dtype=default_dtype)
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1175, in internal_convert_to_tensor
    ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/constant_op.py", line 304, in _constant_tensor_conversion_function
    return constant(v, dtype=dtype, name=name)
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/constant_op.py", line 245, in constant
    allow_broadcast=True)
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/constant_op.py", line 283, in _constant_impl
    allow_broadcast=allow_broadcast))
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/tensor_util.py", line 454, in make_tensor_proto
    raise ValueError("None values not supported.")
ValueError: None values not supported.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 525, in _apply_op_helper
    values, as_ref=input_arg.is_ref).dtype.name
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1175, in internal_convert_to_tensor
    ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/constant_op.py", line 304, in _constant_tensor_conversion_function
    return constant(v, dtype=dtype, name=name)
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/constant_op.py", line 245, in constant
    allow_broadcast=True)
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/constant_op.py", line 283, in _constant_impl
    allow_broadcast=allow_broadcast))
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/tensor_util.py", line 454, in make_tensor_proto
    raise ValueError("None values not supported.")
ValueError: None values not supported.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "multi_gpu_train_r3det.py", line 375, in <module>
    train()
  File "multi_gpu_train_r3det.py", line 271, in train
    grads = sum_gradients(tower_grads)
  File "multi_gpu_train_r3det.py", line 81, in sum_gradients
    expanded_g = tf.expand_dims(g, 0)
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/util/dispatch.py", line 180, in wrapper
    return target(*args, **kwargs)
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
    return func(*args, **kwargs)
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/ops/array_ops.py", line 144, in expand_dims
    return expand_dims_v2(input, axis, name)
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/util/dispatch.py", line 180, in wrapper
    return target(*args, **kwargs)
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/ops/array_ops.py", line 194, in expand_dims_v2
    return gen_array_ops.expand_dims(input, axis, name)
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/ops/gen_array_ops.py", line 2285, in expand_dims
    "ExpandDims", input=input, dim=axis, name=name)
  File "/home/test/anaconda3/envs/tf-gpu-r3det/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 529, in _apply_op_helper
    (input_name, err))
ValueError: Tried to convert 'input' to a tensor and failed. Error: None values not supported.

Closing this issue as proper converting the dataset fixed the issue.


Add new firewall ports topic and xref from NSX-T instructions.

Please insert into the TOC schema for NST-T.

Thanks @ericivorychambers!


Stack using linked list

Related Issue

Stack Using Linked List (Issue No. #352 )

Proposed Changes

I have uploaded the file which implements stack using linked list

Additional Info

In this program I have used a head as meta data structure for the Stack.
We can see the functions for creating stack , pushing an item into the stack, poping the item from the stack, getting the stack count, getting the stack top, checking the stack is empty etc.
The nodes used in the functions have been allocated using the dynamic memory allocation.
The program is designed in such a way that we can use it for any data type such as int, float, short, double etc. Because the program has used the void pointer in its all functions.
Just to demonstrate the concept we have used int data type in main function.

Checklist

[x] ✅ My code follows the code style of this project.
[x] 📝 My change requires a change to the README.
[x] 🎀 I have updated the README accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[x] 🌟 ed the repo

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Output Screenshots

Screenshot #1

|   | Image goes here     |

Hello, @Arun9739 i dont see the readme file with your code, kindly update the readme, and tag me will look at your code after readme.

@miraj0507 I have updated the Readme accordingly as per your guidelines. I haven't created new Readme.md.  I have just updated the existing stack folder Readme. where my cpp file goes.
Pleasae have a look.

@siddhi-244 @miraj0507 Please look at my pr

sir please merge my pr

@miraj0507 @Lakhankumawat please merge my pr


[feature request] Support to .ISO file type

Just like 7z:

If you need a managed .iso parser right now, you can use ours https://github.com/TASEmulators/BizHawk/tree/master/ExternalProjects/iso-parser

Also, .IMG is an image archive file similar to .ISO too


geoserver-rest not covering all the REST API

Hi, as you can see, a lot of API has yet to be added to geoserver-rest. I'm working on some for my personal project. I'd like to contribute by adding more APIs (example: To manage security, usergroups, roles, layer security etc.)
Could anyone let me know if I should add code grouped by functionality(i.e. code for user groups in one PR, code for roles in other PR etc.)?

Hi @theoway, First of all, thank you for your interest in contributing.
As you said, the best way is to PR code grouped by functionality.

Since user info is returned in XML format, I'm thinking of using this XML to python dict module, so that a python dict with user info can be returned. What do you say?? @iamtekson

I also checked the geoserver-rest core API and found that some of the requests have only the `XML response, not JSON. In that case, I think it is better to use this library. I think you can proceed with this library. I am okay with it.

@iamtekson I think we should close this issue and create a new one that has a tasklist of the remaining Geoserver REST API to be implemented. What do you say? Lemme know and I'll open up a new issue.. :)


add hbase rest

This PR propose a way to have a hbase rest.
It should be useful for knox integration.
However I had no other choice that duplicate the class RESTServer from HBase because of method visibility.
For the start method, I just copied the main method from RESTServer
Do you think there is a better way?
Regards,

Coverage decreased (-0.8%) to 87.371% when pulling c9f4afe1f0ce59f599f3b4341b339bcf3ec37d9c on jetoile:add-hbase-rest into 78c381b80dca4803c189007d3506c0d488844f57 on sakserv:master.

Coverage increased (+0.2%) to 88.377% when pulling 0383f8ee40a2285b46c94ed4e587212d37006cfd on jetoile:add-hbase-rest into 78c381b80dca4803c189007d3506c0d488844f57 on sakserv:master.

Thanks @jetoile for the awesome contribution! and thank you @Treydone for the review. @jetoile it seems there is one remaining comment to address from @Treydone. If you could address that, I'll get this merged today and will work to get a new release out this week.

Thx @sakserv for your reply.
I have an other question too. With @Treydone (who is a friend ;) ), we thought that it could be nice to integrate the rest gateway into hbase.
However, as some options are mandatory only for rest hbase, it could be bad.
But we could do that with something like:
hbaseLocalCluster = new HbaseLocalCluster.Builder()
                ...
                .activeRestGateway()
                    .setHbaseRestHost(propertyParser.getProperty(ConfigVars.HBASE_REST_HOST_KEY))
                    .setHbaseRestReadOnly(
                            Boolean.valueOf(propertyParser.getProperty(ConfigVars.HBASE_REST_READONLY_KEY)))
                    .setHbaseRestThreadMax(
                            Integer.valueOf(propertyParser.getProperty(ConfigVars.HBASE_REST_THREADMAX_KEY)))
                    .setHbaseRestThreadMin(
                            Integer.valueOf(propertyParser.getProperty(ConfigVars.HBASE_REST_THREADMIN_KEY)))
                    .build()
                .build();

What do you think?

@jetoile - seems like a good idea to me. I don't think we necessarily need a new Builder, but I'm not opposed to that pattern either. HbaseLocalCluster#validateObject is responsible for checking required args. If you leave these args out of that check, they will be treated as optional.

I just push an update with a other builder.
This PR resolve the comment @Treydone has done to me too.
Tell me what you think about.
If you want I can squash all the commits.
Regards,
Khanh

LGTM - once the CI run completes, I'll go ahead and merge this. Thanks again @jetoile and @Treydone!!

Coverage increased (+0.03%) to 88.173% when pulling f7b5d8fc4eb6b86f95a5763ac2701c76d8086e8a on jetoile:add-hbase-rest into 78c381b80dca4803c189007d3506c0d488844f57 on sakserv:master.

These changes have been included in 0.1.10 which was just released. Thanks again!


Display of days moving when moving with mouse over days

On the date picker, when you move over the different days, the position of the days within the container changes.

+1 I have the same issue
Did anyone find a solution?

The solution for me was, because of the border around the day is displayed when it has a different state (active, hover, focus dont remember which one).
I just deleted the border property - then it worked for me

Is the a PR?


Enable security features

I missed authorization from swagger web. We used to create endpoints that require Authorization header and it was not correctly attached to the request. I decided to add securitySchemes directly to the spec which allows to authorize for all requests and mark specific endpoints as ones that require authorization.
It looks as follows on the UI:

Oh great job ! Thanks a lot !

Released: https://pypi.org/project/aiohttp-pydantic/2.2.0/


bp demo command throws an exception.

Forgot about this.  I'm not even sure if it works - I don't test it in my day-to-day work.
Why have two ways of doing things? Each demo should be replaced by a project from projects.
Let me know if this is reasonable and I'll port the interesting parts and kill it.

No, we still need users to be able to see a demo easily.

So right now, bp demo doesn't work.  :-o :-D As I predicted!
What I'm going to do is to throw away most of the code and make it a wrapper over bp run.

demo-error.txt

Ah, yeah... as long as it can just call into those project files we included that's cool. However, note that those project files do not currently get installed or put in the dist archive. So that will need to be updated.


mmv: 2.5.1 -> 2.6

Description of changes

Supersedes #287711. Works for me:
$ echo 1 > 1.txt
$ echo 2 > 2.txt
$ ./result/bin/mmv -a "*.txt" "out.txt"
$ cat out.txt
1
2

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 291912 run on aarch64-darwin 1

1 package built:

mmv


Destination service does not watch for changes to ExternalName-type services

When adding support to the destination service for resolving ExternalName-type services in #490, I overlooked the need to update the subscriber if the external name is changed or the service is deleted. We need to add a service watch that does this, similar to what already exists for non-ExternalName-type services in endpoints.go.

After the code for doing DNS lookups in the controller Destination service was written, when testing it, we found the k8s documentation that said that ExternalName services are published in DNS as CNAME entries. That means that after #155 is fixed, we can probably treat ExternalName services just like other kinds of external services, and have the proxies do the DNS. The proxy's polling of DNS would allow it to automatically discover any changes of the sort that are indicated as being problematic here, AFAICT. Such a change would also result in our DNS logic having a very high fidelity with respect to node- and/or pod- specific DNS configuration. And it would eliminate the duplication of DNS logic.

The fix for this is reviewable in #764.

Resolved by #764.


workspace: rename penumbra-component to penumbra-app

Currently, the Penumbra code is poorly organized, as a result of us stumbling around trying to figure out the right way to organize our code.  As a result, we've ended up with pretty much everything in the penumbra-component crate. However, we now see a path to cut the gordian knot of internal dependencies, to be written up in a separate issue.
This commit does the first and most invasive step to unlock gradual refactoring over time: renaming the current penumbra-component crate to penumbra-app. This recasts the current crate as the top-level "application" crate, allowing us to gradually peel out functionality bit by bit.

Squashed in a rename on the include_str call in the integration tests, to get CI passing.

Thanks, squashed in a cargo fmt on top of that path fix


Modernize bundle

Update packages
Restructure to ES6 modules
Reformat to Standard style
Bundle with Webpack
Rip out Gulp
Make tests work hopefully

 Update momentjs-angular-module to modern structure/bundle system

 Crushing moment module bugs in announcement UI


headphones is broken it isn't accessible from the external ip.

I am able to curl it from http://localhost:8181/home locally on the box though.

I don't see this as a problem with the installation script; this is a pretty typical way to configure network related systems.. The idea of "most restrictive first" ensures that there's limited access until you've configured all the security options correctly.
There's a bit more information on this point here and here. Hope that helps a bit.. :)

well thats weird because sickbeard sabnzb and couchpotato all work out of the box and are accessible through external ips.

I'm not saying everybody follows this logic with their projects, but the issue and wiki page I linked you to show that the maintainers of Headphones do.
Maybe there's a way this script could prompt the user for whether or not to enable network access and modify it accordingly. I've never used Headphones before though, so I'm not familiar with it's configuration.
I'm at work at the moment though, so I don't have time to look at it right now.. Unless someone beats me to it, I'll see what I can come up with this evening.

That would be awesome! Thanks!

So, quick hack.. Turns out the config.ini file is only written to disk when settings are saved from within the interface, however they're done in a non-destructive way. :) Try this fork and see if that helps you.
@htpcBeginner, not sure if you want to include this in the main repo? Feel free to pull changes from my branch if you want, I'll leave that choice up to you.

Awesome will give it a shot!

If @ZaLiTHkA  fork doesn't work, try changing to the local IP of the server, ex <IP_ADDRESS>. Perhaps change the fork to identify the computers IP address?

Added a fix for this in dev branch.


Change the color + location of the "add bookmark" button

The current "add bookmark" button is the only green component, and its location makes it difficult to see at first use. Here's a suggestion:

Good idea 🚀
I think we can keep the button in the header, but we'll add another one close to the search bar like you're suggesting.
Also it could be nice to add a shortcut to open this "Add bookmark" modal (Ctrl + B ?)


Update yml files to build/sign the MSIX package in the release pipeline

This is a subtask of https://github.com/microsoft/PowerToys/issues/413

Building the package has been impemented.
Signing is not working yet.
Closing this in favor of https://github.com/microsoft/PowerToys/issues/1382


remove extra node in prop path

The original rework of the prop store was using a separate ZooKeeper node under the "original"  configuration node.  In ZooKeeper the structure looked like:
/accumulo/[instance id]/config/encoded_props  <-- system props
/accumulo/[instance id]/namespaces/[nid]/conf/encoded_props  <-- namespace props
/accumulo/[instance id]/tables/[tid]/conf/encoded_props  <-- table props

This removed that extra node an stores the configuration directly in the configuration node.  The structure now looks like:
/accumulo/[instance id]/config  <-- system props
/accumulo/[instance id]/namespaces/[nid]/conf  <-- namespace props
/accumulo/[instance id]/tables/[tid]/conf  <-- table props

This would fix #2690

Changing the node name so that they match would require additional changes that would include removing the legacy node.  It was easier now to keep the existing convention.  I would suggest a follow-on PR.  It is mainly going to be changes in the ConfigurationTransform code.
A higher priority right now should be working to trace down the concurrency issues with multiple property updates - once those are resolved, this could be revisited.

Changing the node name so that they match would require additional changes that would include removing the legacy node. It was easier now to keep the existing convention. I would suggest a follow-on PR. It is mainly going to be changes in the ConfigurationTransform code.
A higher priority right now should be working to trace down the concurrency issues with multiple property updates - once those are resolved, this could be revisited.

Tests pass with the latest in PR #2967, See my comment here: https://github.com/apache/accumulo/pull/2967#issuecomment-1271706513

This change doesn't make sense to me to merge in now as it seems too late to be making a change like this with the 2.1.0 release being imminent. I would think it would be better to wait until the next version for this change and at the same time we can also rename system scope to be consistent with the others.

Also if the reason to do it now would be that changing it later requires doing some upgrading/migration to the property store then that could just be part of the migration that needs to be done anyways if we rename the system level node from config to conf.

What's the status of this PR now? Is there anything else to do here or is it ready?

I have an update forthcoming that uses the same node name (config) instead of config for system and conf for namespace and tables - going through the final clean-up now.  Because of merges, the push will likely be a force push.

This now contains the changes needed to use config instead of conf as the configuration node name for tables and namespaces (system already used config)

LGTM now


Conditionally start using llvm::CallingConv::SwiftTail for async functions

This is conditional on UseAsyncLowering and in the future should also be
conditional on clangTargetInfo.isSwiftAsyncCCSupported() once that
support is merged.
Update tests to work either with swiftcc or swifttailcc.

@swift-ci Please clean test

Build failed
Swift Test Linux Platform
Git Sha - 4373bdd6d001f4772358fa87d9a8a7807384f823

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - b1a86f4f7e0dddb55e8b2d6a89b7ba1c8d8c48f4

Build failed
Swift Test Linux Platform
Git Sha - b1a86f4f7e0dddb55e8b2d6a89b7ba1c8d8c48f4

@swift-ci Please test


Dina bitmap font don't display specific size on Windows

Hello,
Font used : https://www.dcmembers.com/jibsen/download/61/
Goneovim is displaying the 10pt version of the Dina font when i set set guifont=Dina:h9 , here is the comparaison with gvim :

Everything is fine with the 8pt version :

@harg
Hi :)
it is because gvim and goneovim use different GUI frameworks, they handle fonts fundamentally differently.


feature request

what we can do is to display various information in graphical format using charts.
like distance coverd by devices for period of time can be shown in chart.

like wise we can display various events genrated by device base on chart which will make it more easy to understand.
also report can be base on charts.
what you guys think.

There are already charts in Traccar. Not like your example though.

i haven't seen any yet where i can find.

It's on GitHub and will be available with the next official release.

ok thanx for this information waiting for it.which information will be available in chart format in next release?

Initially there will be speed and distance information against time. In future it should be easy to add more options.


Make web stories plugin compatible with Block Directory

Feature Description
Block directory is coming to 5.5, we should do some discovery to see if make this plugin available in it.
Link: https://make.wordpress.org/meta/2019/05/08/block-plugins-and-the-block-directory/
Alternatives Considered

Additional Context

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

Related: #3300
Don't think we'd need to do anything for the block directory though, but curious to learn more.

There is a block plugin checker that we run our code against. https://wordpress.org/plugins/developers/block-plugin-validator/
Here is the output

I am not sure that we would want this to be in the block directory, as this plugin does more than just add a block.
I will create some some PRs to valid bugs the checker found.

After seeing that fatal error in your screenshot, and reading https://make.wordpress.org/plugins/2020/07/22/proposed-block-directory-guidelines/ it's pretty clear that this is not applicable to our plugin.
The block directory is for blocks that exist of a block.json file, some JavaScript and some CSS - nothing more. Our plugin does not fall into that category.


The products should be in proper alignment if there are multiple products in the compare list.

Bagisto Version: Master
Steps To reproduce--
1. Log in as a customer in the default theme.
2. Add multiple items into the compare
3. Click on compare option inside the profile section.
Expected result: The products should be in proper alignment if there are multiple products in the compare list.
Actual result:  There is no space between the products if there are multiple products in the compare list. Please find the screenshot Here

@jitendra-webkul
Now, this issue is fixed. so I am closing this issue.
And I have attached a screenshot Here, for future reference.


Lower body animations with new state machine

Upperbody animation are on loop right now

Task linked: CU-86byq9rm7 Player Movement


Remove rounded corners on input elements in Mobile WebKit

Spotted that Mobile WebKit gives input elements a border-radius - would the removal of this be within normalize's remit?
http://jsfiddle.net/iamkeir/FnN5u/

The below css works for me.
input {
-webkit-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: none;
box-shadow: none;
}

That code was already suggested and rejected for the above-stated reasons.

input buttons lose a lot of styles

Curious if anyone knows the specifics of what @necolas was talking about here, or knows of any other issues besides the radio buttons losing their border radius?
Considering a simple reset like this in one of my own projects and trying to figure out if there are unintended consequences I need to worry about:
input,
button,
select,
textarea {
  border-radius: 0;
}

[type="radio"] {
  border-radius: 50%;
}

What @necolas was getting at, I think, is that controlling form element appearance is an all-or-nothing project. You can set some color and font properties and be okay, but if you start touching style/layout now you’ve signed up for a lot of work — with risk.
You have to look at each form element in each browser on each OS, because those elements inherit/mimic styles from the OS. You get that for free, but if you mess around, at some point the browser will toggle off its attempt and let you have at it. (I think this is because something like a radio isn’t just styled up div but is a widget coming from the OS.) That means you have to re-specify every property from scratch and then do a thorough browser check.
For example, the code above that’s supposed to just change the border-radius causes Mac Firefox to drop additional parts of its default styling, so now I have to re-specify the borders I want. Maybe I would/should be doing that anyway, but that's why form element styling is all-or-nothing.

Also, I would say never apply CSS to the bare input element — those aren’t just text: they are buttons, sliders, date pickers, and more. There’s only like seven “text-like” inputs, so I always specify those directly (e.g. input[type="email"], input[type="number"], …, textarea)

[offtopic] for less specificity and CPU cycles I usually don't target the element name unless I need to -- so just [type="submit"], [type="text"], etc.


Making more clear how to contribute

Hi open source design. I am new to your community. I want to help in small ways but an unsure of best way. I looked at the contributing file but seems not yet done. I know got and github a little but dont know how you suggest developing your site with all the different repos

Yes! We definitely are looking at fixing that @LibreAnne. What kind of contributions would you like to make?

Ah. That is a file I started creating and did not finish, apologies :stuck_out_tongue_closed_eyes:  I started writing these command line scripts to make it easier to clone / update the only repos used for the public website. However, those scripts do take into account a user needing (or having already) forked all the repos to their own Github account, which is one of the steps needed for developing the website as I suggest we recommend to new users like @LibreAnne for instance.

Hi @LibreAnne . There are various ways to contribute, depends on what you want to do. You can:

make PRs for the website or other repos,
you can give feedback to the various issues we have open,
you can try to design something from our job board,
you can just come and chat on IRC,
you can help us define what this new contributors list should contain :)
etc.
We are still trying to figure things out ourselves.

I think this is covered by http://opensourcedesign.net/contribute/. WDYT @simonv3 ?

Yep, I think so! Though that page can be fleshed out.
A link to that is now also on the front page http://opensourcedesign.net/

I think this is important to note that a contributor didn't know how to get involved but a lot has changed since 2016/2017 so I'm closing :)


[Authorization Logic] User-Defined Macros

Problem
Add support for user-defined macros that can concisely represent larger authorization logic statements or collections of rules. The macro syntax should also support arguments. Here is a motivating example:
In order for an end user to give complete control over its data to another party like a third-party privacy policy group, the following verbose statement is needed:
"EndUser" says {
    // User allows PrivacyGroup to grant any other principal the right to perform any action with any data owned
    // by the user
    "PrivacyGroup" canSay PrincipalX may(anyActionX, anyTagX) :-
        isPrincipal(PrincipalX), isAction(anyActionX), isTag(anyTagX).
    // User allows PrivacyGroup to transform user's data into any other form
    "PrivacyGroup" canSay downgrades(pathX, anyTagX) :-
        isPath(pathX), isTag(anyTagX).
}

We'd like to pack this into a re-usable macro.
Proposed design
Macro definitions bind predicates of the form PRED_NAME(<ARGS>) (with the predicate syntax here) to lists of assertions (similar to the #saysMulti syntax here but without the principal SAYS part at the beginning).
Macros can then be invoked by referring to them in the position an assertion could normally take (within a saysAssertion).
As an example the following would give a macro definition for delegating any action and any transformation on just a particular tag:
#define trustsWithTag(PrincipalX, TagX) = {
    PrincipalX canSay PrincipalY may(anyActionX, TagX) :-
        isPrincipal(PrincipalX), isAction(anyActionX).
    // User allows PrivacyGroup to transform user's data into any other form
    PrincipalX canSay downgrades(pathX, TagX) :-
        isPath(pathX).

(where the definition on the RHS binds to the predicate on the LHS)
And the following would call it:
"EndUser" says {
    trustsWithTag("PrivacyGroup", "rawVideo").
}

which would expand into:
"EndUser" says {
    "PrivacyGroup" canSay PrincipalY may(anyActionX, "rawVideo") :-
        isPrincipal(PrincipalX), isAction(anyActionX).
    // User allows PrivacyGroup to transform user's data into any other form
    "PrivacyGroup" canSay downgrades(pathX, "rawVideo") :-
        isPath(pathX).
}

Some implementation details
To implement this, you'll need to:

Extend the syntax here to include these macros
Extend the AST here so that:

there are new nodes for giving macro definitions
macro definitions can appear in AstPrograms
macro invocations can appear in AstSaysAssertions (like assertions can currently)
-Write a compiler pass that expands the macro definitions and invocations.
The macro definitions should be used to create a mapping from macro names to macro bodies
Macro invocations appearing in AstSaysAssertions should be expanded by consulting the mapping of macro names to bodies. The arguments in the invocation should be substituted in the body.
Whenever an invocation is made and no definition with the same name and number of arguments is found, an error should be thrown.

An extension
Optionally, we can also support macro definitions where predicates can be bound to bodies that are facts (including nested canSays and the other syntax elements below facts), and allow these macro definitions to be invoked where facts can appear. Fact macros would be in addition to the assertion ones, and would depend on some of the changes to implement assertion macros.

cc: @bgogul @markww
Any thoughts on this feature overall or the syntax? The proposed syntax is similar to C-style macros except with an = between the definition of the macro and the predicate it is bound to. (I think the '=' might make it a bit easier to read). I'm not too particular about the syntax.

This seem like a non-trivial change to the parser? We should defer this to the new parser, even if we want to do this.
That said, can achieve the same result with additional datalog inference rules? Probably not, unless we are ok to expose says_ and says_canSay_ rules?


Missing indentation in lists

https://www.boost.io/releases/

The lists of new libraries and updated libraries, as well as the nested lists of updates for each library, are not indented, as they should. Notice that Beast release notes are displayed flat instead of multiple sublists. Here's the release notes from the old website, for comparison.

This is covered by #932

@joaquintides Could this be closed? Or waiting to be in production?

Yes, I'm closing this now Thanks for the heads up!


conhost SHIFT+INSERT

Once upon a time was IBM CUA: https://en.wikipedia.org/wiki/IBM_Common_User_Access
And we were granted:

The Cut command is ⇧ Shift+Del; Copy is Ctrl+Ins; Paste is ⇧ Shift+Ins

As with character streams (which TTY/PTY are) there is no selection and so editing capabilities (Readline-like app level abstraction is here usually), so Cut / Copy are our of the scope.
I used mouse selection even in Xterm / Mintty so no blame here.
But I enjoy SHIFT+INS very much. Popular virtual terminals send selection buffer to terminal stream input.
When I work with WSL I enabled "Use Ctrl+Shift+C/V as Copy / Paste" and again only the paste is able to work in WSL as selection meaningless without mouse (use you use tmux / screen magic).
But it is crazy key combination. Can we have Shift+Insert too for conhost.exe?
I don't even need new wt as a replacement for conhost + Shift+Ins for paste makes conhost equivalent to XTerm/Mintty! Though I have to admit that Shift+Ins works in Windows Terminal.
This article:
https://docs.microsoft.com/en-us/previous-versions/orphan-topics/ws.11/mt427362(v=ws.11)
describes that some capabilities are disabled if app set/doesn't set appropriate SetConsoleMode(). I'd like to have Shift+Ins working all the time, not only when I launch cmd.exe.

So https://docs.microsoft.com/en-us/previous-versions/orphan-topics/ws.11/mt427362(v=ws.11) explains why many capabilities are lost if oyu are not in processed input mode:

If a conflict occurs, you can typically control the behavior of the application's use of line input, processed input, and echo input modes with the SetConsoleMode() API. If you run in processed input mode, the shortcuts below apply, but in other modes, your application must handle them.

But still Right Mouse Click  and Ctrl+Shift+V can be enabled. I'd expect Shift+Ins be enabled too.

For my own notes: this is specifically a conhost discussion. Obviously, this problem is a lot easier to solve in the Windows Terminal, just add { "command": "paste", "keys": "shift+insert" } to your actions/keybindings.
The Ctrl+shift+v setting is a little different than the other keyboard shortcuts. That one we only recently introduced, in maybe 2018? So we added it as an explicit opt-in checkbox, meaning "I want ctrl+shift+v to always paste, regardless of mode". That was desirable especially because WSL was a raw input application, that couldn't be pasted into, because it was expected to be processing the keys on it's own.
If I'm reading this correctly, what you want is basically the same checkbox, but for shift+insert. Unfortunately, the conhost UX is very much in maintenance-only mode, and we're not about to make any changes to that. The best solution here would be just to use the Windows Terminal - it's keybindings are far more powerful than conhost ever was, and you can even configure it to look like the vintage console by disabling tabs in the titlebar (if you want).

Tnx for comments! I understand that conhost is in a maintenance mode. I only asked because there might be some unclear trick to make it works.
Shift+Ins was added as default to new WinTerm (there was an issue regarding this).
The problem that I start apps:

by Win+R and descriptive name: cmd / debian / alpine
by Win + search for cmd / powershell + Ctrl+Shift+Enter - for elevated shell

either way conhost is used and there is no way to configure alternative terminal:

https://github.com/microsoft/terminal/issues/492
https://github.com/microsoft/terminal/issues/1817 - unsupported with replacement of conhost by OpenConsole

As it was stated in #492 such integration would be no earlier than 2021Q1. Let's wait a year.

Hey I know it's three months later, but I thought I'd add: I usually launch the terminal with Win+R then wt. If you wanted to specify the program too, you could always do wt cmd, wt powershell, etc. That works today, a little sooner than defterm 😉

Hey I know it's three months later, but I thought I'd add: I usually launch the terminal with Win+R then wt. If you wanted to specify the program too, you could always do wt cmd, wt powershell, etc. That works today, a little sooner than defterm 😉

Yeah, wt debian works!
I learned recently that you can pass args to app when hit Win and type in the Start menu search. That means I can run wt powershell elevated with Ctrl+Shift+Enter!

Hey I know it's three months later

I developed muscle memory for Ctrl+Shift+C for this 3 months )) Still the experience is not pleasant when switch between WSL shells and Cygwin mintty...
Tnx for tip!

Yeah, wt debian works!
I learned recently that you can pass args to app when hit Win and type in the Start menu search. That means I can run wt powershell elevated with Ctrl+Shift+Enter!

Hey I know it's three months later

I developed muscle memory for Ctrl+Shift+C for this 3 months )) Still the experience is not pleasant when switch between WSL shells and Cygwin mintty...
Tnx for tip!


Not working with tab navigation on android

Hi,
I am using react-native-dnd alongside @react-navigation/material-top-tabs. I’ve encountered an issue where if multiple screens in the tab navigator contain draggable components from react-native-dnd, only one of the screens allows dragging.
It exhibits the same behavior in both Expo and bare projects.
This issue occurs only on Android. There are no problems on iOS or the web.
You can find MRE for this issue here: Snack - Tab DND.

Unfortunately I don't think there is anything we can do to fix it at this level. You might want to create a ticket on the react-native-gesture-handler repo since I guess the issue might be fixed there.


[2.8] fleet and snapshot restore tests

port of https://github.com/rancher/rancher/pull/47303 and its dependencies
note this change includes backports for https://github.com/rancher/rancher/pull/47008/commits and https://github.com/rancher/rancher/pull/47186/commits
see issue https://github.com/rancher/qa-tasks/issues/1544

there are some additional changes here compared to the main one. can you rebase it once?

@anupama2501 did you see this comment
note this change includes backports for https://github.com/rancher/rancher/pull/47008/commits and https://github.com/rancher/rancher/pull/47186/commits

see issue https://github.com/rancher/qa-tasks/issues/1544

this is why there are many other changes in this PR, it includes backports since the last release.


Howto get grafana 6.4

Is there a sensible way to achieve this? 6.4 has improvements around loki.

Yes, you can override the image being used with a flag, see here. The example operator deployment shows the usage of those flags: https://github.com/integr8ly/grafana-operator/blob/master/deploy/operator.yaml#L20

Closing this issue as there is a suggested solution. Feel free to reopen if there are problems with the override.


100% CPU by kswapd on recently provisioned machines

I am using docker-machine version 0.7.0, build a650a40.
On recently-provisioned machines, kswapd begins hogging 100% after some relatively short period of time (1-2 days).
If you're inclined to say: "provision with more RAM" please consider this:

The machines are, indeed, light, but this happens even if they sit idle.
After running echo 3 > /proc/sys/vm/drop_caches, the problem goes away and does not return.

I have provisioned with the default AMI that the above-mentioned docker-machine uses (Ubuntu 15.10).
I am posting to see whether anyone else has experienced this. Please post if you have.

Sounds like https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1518457 (i.e. not explicitly docker-machine's fault) which I also encountered a month or two ago on t2.micro Ubuntu 16.04 instances using docker but not docker-machine.  I "fixed" this by reverting to 15.10 at the time.
AFAIK Docker-machine only uses 16.04 in PR #3478 so presuming you're not running from that maybe Canonical back-ported the problem to 15.10 now...

Hey thanks @tyrken. Don't know how I missed this in Google—it's the second result. This must be it.
FWIW, this issue (in the link, and with the AMI used by docker-machine) pertains to Ubuntu 15.10. I wonder why the issue was resolved for you when you reverted to 15.10, since that's the version that seems to be problematic.
I also wonder why no one else is reporting this and why this is the default Ubuntu version that docker-machine uses.
I am new to docker-machine— I see that there is an --amazonec2-ami. Is there a set of "preferred" AMIs to use?

Also affected by this issue, also on 15.10.
Resolved by specifying a Debian 8 AMI.
When specifying a manual AMI, it's important to pick the right amazonec2-device-name to avoid the instances stopping on launch, as well as the amazonec2-ssh-user.  See also #2898, #1805.

I'm having this issue, how do I solve it?


Samsung VR Internet: uses polyfill, doesn't enter VR correctly

Testing on the Samsung Internet on Gear VR.
Vizor player loads. You can swipe using the Gear's touchpad and the camera rotates, which shows you this is using the Polyfill.
Enter VR button is present. Clicking it doesn't show the scene all around you, but actually renders the stereo view inside the browser plane.
Desired functionality: Clicking "Enter VR" should render the scene all around you so you can look around.


Do not overwrite prompt artifacts

Describe the bug
The current implementation of load_prompt_artifacts is very inefficient when there are multiple replicas of caikit.runtime running with shared volume mounts. As written, the prompt files will be copied over on every model load across all replicas, regardless of whether the files already exist in the destination.
Prompts themselves are immutable in TGIS, so we don't need to support the case where the source artifacts are an updated version of the previously copied artifacts. The simple solution, therefore is to simply not copy files when the target already exists.
The main error-case that would still need to be handled is fixing a corrupted file. If the target file is only a partial copy (e.g. a replica was killed in the middle of uploading a prompt file), a simple os.path.exists check will cause future attempts to re-copy to fail.

If the target file is only a partial copy

Given the history of liveness probes killing caikit pods, I'd expect watsonx to run into this case

Should some form of batching be done, with a recheck of which files needs to be copied in between each batch?
If there is a large amount of files to be copied and multiple pods are starting. There will be significant overlap in the queue of planned files to be copied between the pods. With s3fs like mounts file listing operations are expensive operation due to network latencies.
When the list of files to be copied is large (eg. > 50) working through the backlog using randomized batches, and updating the backlog (get new file listing) between batches could minimize the overlap.


Incompatibility with Gilded Netherite

This is either Gilded Netherite is incompatible with GeckoLib, GeckoLib is incompatible with Gilded or GeckoLib is borke
anyway I'll post this issue on both GeckoLib and Gilded Netherite to make sure that both developers are aware of this issue
https://paste.ee/p/6CzLB

scaldings/gilded-netherite-fabric#5

This will be fixed next update.

This will be fixed next update.

Thanks, I'll be waiting for it!

This should be fixed in the 3.0.1 update.


Parallelize/Refactor the populatePanel functions

Make the populate functions operate asynchronously, and abstract them a bit so they're less repetitive

This is a non-issue, as they are already async


set a []int type field example has a bug?

Describe the bug
type X struct {
  Numbers []int
}

how to set an example for X.Numbers correctly? I try example:"1" example:"[1]" both are wrong example.
If delete the example tag, example show int is unkown type...

hey,do you solve this problem now? I think I got the same problem as you.
type X struct {
  IDs []int64
}

then swag init, but I got Unknown  Type:int64

Try latest master
type X struct {
  Numbers []int `example:"1,2,3"`
}

please reopen it if there are any problems.


No module named setuptools

When I tried to install PySurfer by type sudo python setup.py install in the terminal, but got error saying
Traceback (most recent call last):
File "setup.py", line 10, in
from setuptools import setup
ImportError: No module named setuptools
Please let me know how to fix the error. Thank you very much.
Xin

You need to install setuptools first:
pip install setup tools