How to detect if running in a webworker?

Summary
I'm developing a very simple module that need access to either the Window or WorkerGlobalScope object depending on if it is running in a webworker or in the rendering thread.
Currently I haven't been able to figure it out, see below for what I have tried and why it doesn't work.
The reason I'm doing this is mainly because when I run my tests with GECKODRIVER it is running in the main thread but in my application I'm using a webworker.
Additional Details
This is my code, which dosen't work as expected.
use js_sys::global;
use log::trace;
use wasm_bindgen::JsCast;
use web_sys::{Window, WorkerGlobalScope};

impl CSPRNG {
    fn get_u128(&self) -> u128 {
        trace!("CSPRNG::get_u128");
        let mut bytes = [0; 16];
        let g = global();
        if WorkerGlobalScope::instanceof(&g) {
            if let Ok(scope) = g.dyn_into::<WorkerGlobalScope>() {
                scope
                    .crypto()
                    .expect("Crypto API not supported?")
                    .get_random_values_with_u8_array(&mut bytes[..])
                    .expect("Failed to obtain secure randomness");
            } else {
                panic!("failed conversion to WorkerGlobalScope");
            }
        } else if Window::instanceof(&g) {
            if let Ok(scope) = g.dyn_into::<Window>() {
                scope
                    .crypto()
                    .expect("Crypto API not supported?")
                    .get_random_values_with_u8_array(&mut bytes[..])
                    .expect("Failed to obtain secure randomness");
            } else {
                panic!("failed conversion to Window");
            }
        } else {
            panic!("Unsuported global type");
        }

        u128::from_be_bytes(bytes)
    }
}

When running with GECKODRIVER
console.log div contained:
    wasm-bindgen: imported JS function that was not marked as `catch` threw an error:
    WorkerGlobalScope is not defined

    Stack:
    init/imports.wbg.__wbg_instanceof_WorkerGlobalScope_93324c9f5660e5b4<@http://<IP_ADDRESS>:57750/wasm-bindgen-test:585:28
    logError/<@http://<IP_ADDRESS>:57750/wasm-bindgen-test:214:22
    web_sys::features::gen_WorkerGlobalScope::__wbg_generated_const_WorkerGlobalScope::<impl wasm_bindgen::cast::JsCast for web_sys::features::gen_WorkerGlobalScope::WorkerGlobalScope>::instanceof::h244fb6a2ad7e30cd@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[1060]:0x6fc0b
    <tiny_csprng::wasm32::CSPRNG as tiny_csprng::TinyPRNG>::get_u128::h8b676c7ec7cc1a4e@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[49]:0x126c3
    tiny_csprng::wasm32::test::get_a_random_value::hf04acc041de00098@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[563]:0x5de40
    core::ops::function::FnOnce::call_once::ha728f62e5aef6998@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[1942]:0x7f56f
    wasm_bindgen_test::__rt::Context::execute_sync::{{closure}}::hb7527fde4ab876a3@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[666]:0x62c30
    <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h51512de833fb91a2@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[628]:0x610d0
    <wasm_bindgen_test::__rt::TestFuture<F> as core::future::future::Future>::poll::{{closure}}::{{closure}}::h48ac108cd24bdf66@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[833]:0x6935e
    wasm_bindgen::convert::closures::invoke0_mut::h15117140ce631b6d@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[687]:0x63b0b
    __wbg_adapter_33@http://<IP_ADDRESS>:57750/wasm-bindgen-test:332:10
    cb0@http://<IP_ADDRESS>:57750/wasm-bindgen-test:488:28
    window.__wbg_test_invoke@http://<IP_ADDRESS>:57750/:37:38
    init/imports.wbg.__wbg_wbgtestinvoke_40963ed10b2b93d6<@http://<IP_ADDRESS>:57750/wasm-bindgen-test:493:30
    handleError/<@http://<IP_ADDRESS>:57750/wasm-bindgen-test:338:22
    wasm_bindgen_test::__rt::__wbg_test_invoke::h895bf8f3be895f05@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[342]:0x4f776
    <wasm_bindgen_test::__rt::TestFuture<F> as core::future::future::Future>::poll::{{closure}}::h64d913946b5019d0@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[723]:0x652b6
    scoped_tls::ScopedKey<T>::set::h8e0b39b0ee232b48@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[455]:0x57ade
    <wasm_bindgen_test::__rt::TestFuture<F> as core::future::future::Future>::poll::h5e6ad99cdbcba28d@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[111]:0x30766
    <wasm_bindgen_test::__rt::ExecuteTests as core::future::future::Future>::poll::h61ef56113a3600cf@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[57]:0x1a79a
    wasm_bindgen_test::__rt::Context::run::{{closure}}::h96c89f6e1b39c00c@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[232]:0x4498c
    <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h2cbe4e48de8d0528@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[482]:0x59571
    wasm_bindgen_futures::future_to_promise::{{closure}}::{{closure}}::hef8d06aea6caac7c@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[117]:0x31e0e
    <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::hfeeaadbe23eb316a@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[634]:0x61536
    wasm_bindgen_futures::task::singlethread::Task::run::haf3924a5ccdff81d@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[198]:0x403a9
    wasm_bindgen_futures::queue::QueueState::run_all::h8f257c8f713a39fb@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[250]:0x46b7a
    wasm_bindgen_futures::queue::Queue::new::{{closure}}::he00ae9c50479de2b@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[1115]:0x71250
    <dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h44430f1c3bd26b81@http://<IP_ADDRESS>:57750/wasm-bindgen-test_bg.wasm:wasm-function[540]:0x5cb66
    __wbg_adapter_20@http://<IP_ADDRESS>:57750/wasm-bindgen-test:236:10
    real@http://<IP_ADDRESS>:57750/wasm-bindgen-test:201:20

When running in webworker (in application)
The code above actually works, but let's say for instance that I reverse the order of the if-else statements above and try the conversion to Window first then I would expect the same error as above to be shown in the developer console. But that is not what happens, instead my application hangs silently.
Solution
If I could detect, at runtime, if I'm running in a webworker or not (perhaps by checking if WorkerGlobalScope is defined, somehow) then I could use that and avoid to trigger the faults above.

You need to use code like this. We plan to eventually make the above code public, so you can easily just import gloo and use it. But for now you can copy-paste it.

Thank you, I will try this approach.

For posterity, (in case it would help someone else with the same or similar problem) I ended up constructing the following macro:
use wasm_bindgen::prelude::*;
use wasm_bindgen::{JsCast, JsValue};
use web_sys::{Window, WorkerGlobalScope};

macro_rules! window_or_worker {
    ($w:ident => $block:stmt) => {
        #[wasm_bindgen]
        extern "C" {
            type Global;

            #[wasm_bindgen(method, getter, js_name = Window)]
            fn window(this: &Global) -> JsValue;

            #[wasm_bindgen(method, getter, js_name = WorkerGlobalScope)]
            fn worker(this: &Global) -> JsValue;
        }

        let global: Global = js_sys::global().unchecked_into();

        if !global.window().is_undefined() {
            let $w: Window = global.unchecked_into();
            $block
        } else if !global.worker().is_undefined() {
            let $w: WorkerGlobalScope = global.unchecked_into();
            $block
        } else {
            panic!("Only supported in a browser or web worker");
        }
    };
}

I used it like this:
fn get_u128(&self) -> u128 {
    let mut bytes = [0; 16];

    window_or_worker!(scope => {
        scope
            .crypto()
            .expect("Crypto API not supported?")
            .get_random_values_with_u8_array(&mut bytes[..])
            .expect("Failed to obtain secure randomness");
    });

    u128::from_be_bytes(bytes)
}

I would just like to add, as an aside, that it would have been nice to have the common functionalities of Window and WorkerGlobalScope extracted into a common trait. But I'm sure it has been discussed before.

@alex-caelus That code is inefficient. It is better to use the code I posted, since it is faster.
It also has a macro for generating methods:
impl_window_or_worker! {
    fn crypto() -> Result<Crypto, JsValue>;
}

fn get_u128(&self) -> u128 {
    let mut bytes = [0; 16];

    GLOBAL.with(|global| {
        global
            .crypto()
            .expect("Crypto API not supported?")
            .get_random_values_with_u8_array(&mut bytes[..])
            .expect("Failed to obtain secure randomness");
    });

    u128::from_be_bytes(bytes)
}

I would just like to add, as an aside, that it would have been nice to have the common functionalities of Window and WorkerGlobalScope extracted into a common trait. But I'm sure it has been discussed before.

Yes, it has been discussed a few times, and our plan is to add it into gloo.

Thank you for pointing it out! Yes, you are correct, I did not really consider it to be costly to run the code once per invocation compared to running it only once with thread_local!. Your linked code is ofc better.


⚠ Bofrost.lu has degraded performance

In 68fea1f, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1225 ms

Resolved: Bofrost.lu performance has improved in 095a253.


Remove CSS line break on em in p following highlights

This fixes #1910, but I'm not sure what this rule was created for so it may have caused an issue with something else. That said, we have a selector specifically for images so we can be sure that isn't the case.

The line I removed seems quite old, and doesn't have a particular purpose attributed to it, so I think it's safe to keep this change and be vigilant about things that may have broken.
Existing content that would be affected are special elements in the docs that need italics line-broken after them. Maybe things like code examples or code blocks. If any of these are broken, I can try adding a rule that more specifically targets those cases or adapt the source formatting to something more distinguishable from regular italics.

thanks @rogermparent !


Feature 345 summary in reports (part 2)

This PR switched from develop to community branch and continiue the #2156.
This PR will close the #345.

@Jeeppler
I little bit confused with switching to the new community branch. At this moment I closed previous PR and created this PR. In my fork the branch still points to the develop branch. And there are a lot of conflicts:

I really don't want to destroy my work and I would like to ask for more detailed explanation, what should I do next to resolve those conflicts.
Thanks

@zigfridus you can ignore the GitHub WebUI message, the message is nonsense. Your branch zigfridus:feature-345-summary-in-reports has only one conflict with the community branch: sechub-api-java/src/main/resources/reduced-openapi3.json and that is expected.
At the moment keep things how they are. @de-jcup will inform you about the next steps. However, keep in mind that we currently have Christmas/winter holidays and a response might take time.

@zigfridus one additional note: Do not press the button in the GitHub WebUI and do not sync with the develop branch of mercedes-benz/sechub:develop right now.

@Jeeppler
Thank you for your advice. Then I'm going to work on another issue.

@Jeeppler
As I see there is the same problem with reduced-openapi3.json as it was in #2781. Should I fix it as well?

@zigfridus no, you probably have to run/test the code a couple of times and as a result you will regenerate the reduced-openapi3.json a couple of times. Wait for @de-jcup and what he has to say.

@Jeeppler
Ok, thank you.

@zigfridus : Another option is to just copy reduced-openapi3.json from develop branch to your branch and the merge conflict problem is solved...

@de-jcup
Fixed merge problem with of your second option. Thank you.

@zigfridus : Thank you for your contribution (and your patience).

Unfortunately I merged all 62 commits into the community branch instead of doing this by one commit. I will handle this on final commit to develop branch.

Created final PR at https://github.com/mercedes-benz/sechub/pull/2873.
Contains all changes from @zigfridus - final merge to develop will be squashed.

@zigfridus thank you for your contribution.

@zigfridus thank you again for your valuable contribution. The summary allows security experts to so much faster understand what security issues are in the report. It is a real time saver. Thank you again for your good work 👍.


"Apply Modifiers" option only applies to main scene

Describe the bug
With the "Apply Modifiers" option selected, only objects in the current scene will have their modifiers applied, while objects in other scenes will not have any modifiers applied.
To Reproduce

Create two scenes: "Scene 1" and "Scene 2".
Create one object in each scene. Apply an obvious modifier to the object in Scene 2.
Switch to scene 1 and export.
Preview the GLTF file.

Expected behavior
Modifiers in all scenes are applied
Screenshots
N/A
.blend file/ .gltf
N/A
Version

OS: Windows 10
Blender Version: 2.92.0

Additional context
None

Looks like in gltf2_blender_gather_nodes.py __gather_mesh: the depsgraph in bpy.context.evaluated_depsgraph_get() is somewhat specific to the current scene, and objects outside of the scene won't have their modifiers applied in to_mesh. So arguably a blender bug.

same problem. and #1393 has not been merged

Fixed by 69746b2b31eeee080d5dfd3c74f1e02742795ed2


Cannot create room using createRoom API

I tried using createRoom API for this library, but I constantly getting this issue. I am pretty sure my instance locator and my key is fine since I manage to call another API successfully without any error.
[
     "body" => "{"error":"authentication/jwt/invalid","error_description":"Could not parse the token"}",
     "status" => 401,
]

Which version are you using? I just tested with the latest version (0.2.1) and it worked as expected.
If you're using 0.2.1 then please could you share one of JWTs that you're generating as part of the createRoom call? You can send it to me at<EMAIL_ADDRESS>

@hamchapman Sent it. Thanks!

Resolved in the email. My issue was, the user id I passed is an integer, but apparently it expects it to be a string. A better error message to reflect the real issues would be great.
Thanks @hamchapman

I have some issues in creating a user in pusher by API, not node SDK.
I'd like to know how to get token (Bearer ****I can't get this ***) to send request API.
Hope to get your quick response.
Regards


Migration Log

This is an auto-generated issue. The migration log is in the following comment(s).

Log Chunk 1
[2024-05-20T07:08:32Z] INFO -- Migration started by shubhajyoti-bagchi-groww from https://github.com/GrowwOld/ui-toolkit to Groww-OSS/ui-toolkit
[2024-05-20T07:08:32Z] INFO -- Migration ID: d62ebc01-b518-40c2-a972-6cc7b482afa6
[2024-05-20T07:08:32Z] INFO -- -----------------------------
[2024-05-20T07:08:32Z] INFO -- Git source migration started
[2024-05-20T07:13:13Z] INFO -- Git source migration completed
[2024-05-20T07:13:13Z] INFO -- -----------------------------
[2024-05-20T07:13:13Z] INFO -- Extraction started
[2024-05-20T07:13:28Z] INFO -- Extraction complete
[2024-05-20T07:13:28Z] INFO -- -----------------------------
[2024-05-20T07:13:28Z] INFO -- Transformation started
[2024-05-20T07:13:43Z] INFO -- Transformation complete
[2024-05-20T07:13:43Z] INFO -- -----------------------------
[2024-05-20T07:13:43Z] INFO -- Import started
[2024-05-20T07:13:43Z] WARN -- 'Allow Forking' setting could not be enabled for the repository because it is not enabled at the organization level.
[2024-05-20T07:13:44Z] WARN -- LoadProtectedBranchJob: Protected Branch for branch name develop could not be imported.
[2024-05-20T07:13:45Z] WARN -- LoadProtectedBranchJob: Protected Branch for branch name main could not be imported.
[2024-05-20T07:14:51Z] INFO -- Import complete
[2024-05-20T07:14:51Z] INFO -- -----------------------------
[2024-05-20T07:14:52Z] INFO -- Migration complete
[2024-05-20T07:14:52Z] INFO -- -----------------------------


Feature gate serving AWS S3 blobs from oci-proxy

Fixes #80
/cc @dims @ameukam
Arnaud, we need to modify the sandbox instance of oci-proxy and set SERVE_IMAGES_FROM_AWS to true

This may conflict with the purpose of https://github.com/kubernetes-sigs/oci-proxy/pull/82.
Let's get feedback from folx working the AWS part before we move forward with this.

I can switch the default to true instead of false and amend the environment variables for the prod deployment if the buckets aren't ready by then.

I can switch the default to true instead of false and amend the environment variables for the prod deployment if the buckets aren't ready by then.

In that case we should introduce this after we start serve from the S3 buckets. There is not specific value to introduce logic that already default the existing behavior.
/hold

@upodroid comments for 2 minor things left inline, PTAL

This can be merged now. Rebased with the changes from #87 and serving from AWS is automatically turned on.

@upodroid, thanks for your changes! It looks fine.
My only question is: since the blobs are now synced, are we still needing to feature gate the S3 buckets?
Ref: #82

Yes, it is useful for anyone looking to use archeio as an image proxy.
Also, if we ever have S3 issues, we have an easy way of turning it off in production.

@upodroid, sounds good to me!
/lgtm

/approve

/cancel hold

/hold cancel


cherry-pick: optimize the pv and pvc codes

What type of PR is this?
/kind cleanup
What does this PR do?

Which issue(s) does this PR fix?

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

/lgtm

/approve


[issue] Error on PacketInEvent

Whether the latest version has been tried

[X] I have updated TrChat to the latest version, and the issue is also reproduced.

Have you checked the Wiki

[X] I have checked the Wiki for this problem and determined that the problem exists.

与trchat无关，可能与jade模组交互有关
包含trchat只是因为trchat用到了发包监听功能


Meilisearch v1.3: when using attributesToSearchOn, accept all fields if searchableAttributes is ["*"]

Describe the bug
Currently, attributesToSearchOn only accepts the fields that have already been discovered in some documents. Meaning that if there is a field not present in a document, if it is added to attributesToSearchOn it will throw an error.
Nonetheless, attributesToSearchOn should accept all fields that are declared in searchableAttributes.
If searchableAttribute is ["title"] only title is accepted in attributesToSearchOn. Similarly, if searchableAttributes is ["*"], attributesToSearchOn should accept all fields.
To Reproduce
Steps to reproduce the behavior:

Create an index
Add documents
Do not edit any setting
search with attributesToSearchOn set to ["whatever field that does not exist"]
Error is thrown

Expected behavior
In case searchableAttributes is ["*"] all fields should be accepted in attributesToSearchOn. In the other case, keep current behavior.
Meilisearch version:
v1.3.0rc-0

Hello everyone 👋
We have released the first RC (release candidate) of Meilisearch containing this change!
You can test it by using

the release assets
the Meilisearch Docker image

docker run -it --rm -p 7700:7700 -v $(pwd)/meili_data:/meili_data getmeili/meilisearch:v1.3.0-rc.2

If you encounter any bugs, please report them here.
Thanks in advance for your help and your involvement in Meilisearch ❤
🎉 The official and stable release containing this change will be available on July 31st, 2023
⚠ RC (release candidates) are not recommended for production


Failed to load file (stonequarry.json) (1.18.2-rc4)

Mod Version
3.0.0
Game Version
1.18.2-rc4
OS
Windows
Play mode
Multiplayer
Problem
In a windows hosted dedicated server, it seems that one of Stone Quarry's json files will fail to load due to a failed conversion from an integer to an object.
Logs attached.
Logs
10.5.2023 14:25:12 [Error] [commonlib] Failed loading file (stonequarry.json), error Newtonsoft.Json.JsonSerializationException: Error converting value 512 to type 'CommonLib.Config.ConfigUtil+JsonConfigValue`1[System.Object]'. Path 'RubbleStorageMaxSize', line 33, position 29. ---> System.ArgumentException: Could not cast or convert from System.Int64 to CommonLib.Config.ConfigUtil+JsonConfigValue`1[System.Object].
   at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object value, Type initialType, Type targetType)
   at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object initialValue, CultureInfo culture, Type targetType)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
   --- End of inner exception stack trace ---
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Vintagestory.Common.APIBase.LoadModConfig[T](String filename) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Common\API\APIBase.cs:line 110
   at CommonLib.Utils.ModDataUtil.LoadOrCreateConfig[T](ICoreAPI api, String file, ILogger logger, T defaultConfig) in CommonLib/Utils/ModDataUtil.cs:line 16. Will initialize new one

Mods
CommonLib
StoneQuarry
QPTech

Screenshots
No response

Try deleting this config file (stonequarry.json from VintagestoryData/ModConfig). It may be corrupt/outdated

You're absolutely correct, it was corrupted it seems.


Dev: ImageMagick PHPUnit tests fail

convert: unable to read font `helvetica' @ error/annotate.c/RenderFreetype/1396.
convert: unable to read font `helvetica' @ error/annotate.c/RenderFreetype/1396.
convert: unable to read font `helvetica' @ error/annotate.c/RenderFreetype/1396.

There were 3 errors:

1) CodeIgniter\Images\ImageMagickHandlerTest::testText
CodeIgniter\Images\Exceptions\ImageException: Image processing failed. Please verify that your server supports the chosen protocol and that the path to your image library is correct.

/home/runner/work/CodeIgniter4/CodeIgniter4/system/Images/Handlers/ImageMagickHandler.php:212
/home/runner/work/CodeIgniter4/CodeIgniter4/system/Images/Handlers/ImageMagickHandler.php:408
/home/runner/work/CodeIgniter4/CodeIgniter4/system/Images/Handlers/BaseHandler.php:418
/home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Images/ImageMagickHandlerTest.php:300
phpvfscomposer:///home/runner/work/CodeIgniter4/CodeIgniter4/vendor/phpunit/phpunit/phpunit:106

2) CodeIgniter\Images\ImageMagickHandlerTest::testMoreText
CodeIgniter\Images\Exceptions\ImageException: Image processing failed. Please verify that your server supports the chosen protocol and that the path to your image library is correct.

/home/runner/work/CodeIgniter4/CodeIgniter4/system/Images/Handlers/ImageMagickHandler.php:212
/home/runner/work/CodeIgniter4/CodeIgniter4/system/Images/Handlers/ImageMagickHandler.php:408
/home/runner/work/CodeIgniter4/CodeIgniter4/system/Images/Handlers/BaseHandler.php:418
/home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Images/ImageMagickHandlerTest.php:308
phpvfscomposer:///home/runner/work/CodeIgniter4/CodeIgniter4/vendor/phpunit/phpunit/phpunit:106

3) CodeIgniter\Images\ImageMagickHandlerTest::testImageCreation
CodeIgniter\Images\Exceptions\ImageException: Image processing failed. Please verify that your server supports the chosen protocol and that the path to your image library is correct.

/home/runner/work/CodeIgniter4/CodeIgniter4/system/Images/Handlers/ImageMagickHandler.php:212
/home/runner/work/CodeIgniter4/CodeIgniter4/system/Images/Handlers/ImageMagickHandler.php:408
/home/runner/work/CodeIgniter4/CodeIgniter4/system/Images/Handlers/BaseHandler.php:418
/home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Images/ImageMagickHandlerTest.php:322
phpvfscomposer:///home/runner/work/CodeIgniter4/CodeIgniter4/vendor/phpunit/phpunit/phpunit:106

https://github.com/codeigniter4/CodeIgniter4/actions/runs/4570658877/jobs/8068220103

If I remember correctly, these errors are caused by outdated installations of ImageMagick in the GHA pipeline. Or maybe outdated dependencies installed.


Option to output uv tool list into JSON format

Hello 🙂
I am using uv in robotic manners to manage some isolated installations. It's easy to use, fast, works out of the box. Again, thanks for this wonderful tool.
I am currently parsing uv tool list output with regular expressions:
❯ uv tool list
autoflake v2.3.1
- autoflake
black v24.10.0
- black
- blackd
isort v5.13.2
- isort
- isort-identify-imports
pyls v0.1.7
- pyls
...

For the context, uv pip list is able to output in a JSON format with uv pip list --format json :
❯ uv pip list --format json
Using Python 3.13.0 environment at: test
[{"name":"iniconfig","version":"2.0.0"},{"name":"packaging","version":"24.2"},{"name":"pluggy","version":"1.5.0"},{"name":"pytest","version":"8.3.4"}]

It would be great to have the same kind of output format if specified to uv tool list.
What do you think?
While uv did it for the pip subcommand in order to keep the same interface as the original pip, most probably this one would need some design first in order to ensure potential forward-compatibility.
So I created this issue first before submitting any pull-request. 🙂
Cheers!

Hi! Glad you like the tool :)
Loosely a duplicate of https://github.com/astral-sh/uv/issues/411 and https://github.com/astral-sh/uv/issues/3199
We're interested in JSON output formats, we just haven't added them throughout yet.

@zanieb interested in working in this ticket please assign

Hi! Glad you like the tool :)
Loosely a duplicate of https://github.com/astral-sh/uv/issues/411 and https://github.com/astral-sh/uv/issues/3199
We're interested in JSON output formats, we just haven't added them throughout yet.

Oh nice! So you're waiting for a global design, which will be also used for other subcommands.
Thanks!


applySchemaEnhancer should receive block props

It's useful to receive the block props, as that would allow "mixing in" external data, that doesn't belong to either formData or the schema.
https://github.com/plone/volto/blob/cf11e2ef4e3801559be92872e52afff46e990e23/src/helpers/Extensions/withBlockSchemaEnhancer.js#L260

can I work on this?

@yashnerkar Yes! Be aware that Volto follows the Plone developer requirements (you need to sign an agreement), see plone.org for details).
Also, https://github.com/plone/volto/issues/3250#issuecomment-1382736643

Yess!

@yashnerkar yes, correct.

sorry but I didnt get the proper Idea of how am I passing the props through the applySchemaEnhancer. Can you explain a bit?


Providing only species making up the functional groups in the "functional_groups.csv" file

Only the species making up the functional groups of the OSMOSE model should be provided in the "functional_groups.csv" file.
In other words, the "functional_groups.csv" file should not include all the extra species that were considered by the bridge between FishBase/SeaLifeBase and OSMOSE for trying to obtain parameter values for the functional groups.
Many thanks.

@agruss2 please verify expected behavior is now present by closing this issue.

@jhpoelen I just checked and I can confirm that this issue has been solved; many thanks.


Regex issue for people with clan tags/non-ascii characters

reported by reddit user whitefenix, non-ascii characters and clan tags are not handled correctly

existing code:
https://github.com/ChristopherIMeyers/ATZ-ReplayFlair/blob/master/funcs.py#L74
def stripOutClan(text):
  return re.search("(\[[A-z0-9]+\]<sp/>)?(.+)",text).group(2)

data breaking code:
http://eu.battle.net/sc2/en/profile/1436270/1/whitefenix/

fc174f25fc40f929f2fd79c9126efc0ae9162e36


Reference work on XF 4.5

Fixes #682

IndicatorView will be a PITA.
They change it from having a CarouselView property to CarouselView having a IndicatorView property, though the value is still stored in the IndicatorView instance.
It means we won't be able to clear the value easily, or even at all...

@TimLariviere
do you think we need to handle those methods OnChildRemoved

@SergejDK No, I don't think we need to. It's not a user-triggered event so it's not really useful in Fabulous.

Replaced by #709


TreeView: Return of Filters/Browser

The browsers were useful components but took up far too much screen real estate and were removed for the lighter TreeView interface, we need to replace the view components with smaller ones and adapt it the regular GTK approach.

honestly, banshee was the one player that i thought handled this the best..
that and gnome music approach was interesting, although a bit too pompous

also, i m the one that emailed you from<EMAIL_ADDRESS>:P

thought you might be - the browsers were useful, just a bit too big. Originally I had thoughts to integrate them with the search functionality as a one stop shop for that kind of thing.
The Album Browser is a case that I want to address differently - I'd like to be able to use it as a first class view with an option to drill down on the current selection.


Remove skip conditions for PySide2/6 over plugins menu tests and bump napari-plugin-manager minimum version (>=0.1.2)

References and relevant issues
Part of https://github.com/napari/napari-plugin-manager/issues/94
Follow up for https://github.com/napari/napari/pull/7138
Description

Remove skip conditions related with napari-plugin-manager and PySide issues
Bump minimum napari-plugin-manager version constraint to >=0.1.2 (need for a new napari-plugin-manager release)

You'll need to bump the constraints. Might be easier to do it by hand with search-replace than the bot.

Note: Following the discovery of still having issues related with PySide2 compatibility that need to be addressed over napari-plugin-manager (https://github.com/napari/napari-plugin-manager/issues/106), probably this PR should wait for a napari-plugin-manager 0.1.3 release and update the constraint to that version? 🤔


Remove top level await

This fixes #10 and replaces the current setup with an async function that initializes the WASM and returns the three EC functions as properties of an object.

@roninjin10 Does this address your concerns from #10?  I've re-written the exports along the lines of what we did for kzg-wasm.

This is perfect! Thanks for this.
Seeing the related ethereumjs pr and the breaking change here doesn't look too bad

Hmm, something strange going on here when I try to merge. 🤔
Also, advice from https://stackoverflow.com/questions/53712930/how-to-fix-this-in-git-this-branch-is-out-of-date-with-the-base-branch is not working.
Will eventually try to re-submit the PR.

Replaced by #12


Fail to install v1.0.0 ENOENT: no such file or directory

cd MY_PROJECT
npm install git@github.com:Samurais/superscript.git#v1.0.0

Expected Behavior
It should install v1.0.0 successfully.
Current Behavior
$ npm install
npm WARN<EMAIL_ADDRESS>No repository field.
npm ERR! Darwin 16.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.9.1
npm ERR! npm  v4.0.2
npm ERR! path philly-logic/node_modules/superscript/lib/bin/cleanup.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod 'philly-logic/node_modules/superscript/lib/bin/cleanup.js'
npm ERR! enoent ENOENT: no such file or directory, chmod 'philly-logic/node_modules/superscript/lib/bin/cleanup.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR!     chatbot-mvp/philly-logic/npm-debug.log

Possible Solution
It is not a ss issue, it seems to be npm fail to create folders with version number.
Steps to Reproduce (for bugs)

create empty project

mkdir foo
cd foo
npm init

Install ss

npm install git@github.com:Samurais/superscript.git#v1.0.0

If installing ss by default version,
npm install git@github.com:Samurais/superscript.git

The work is done, but it just installs v0.12.0.
Context
Try the latest version.
Your Environment

Version used:
Environment name and version (e.g. PHP 5.4 on nginx 1.9.1):
Server type and version:
Operating System and version: Mac OSX
Link to your project:

Get a workaround, use this module as submodule.
[submodule "myproj/superscript"]
        path = myproj/superscript
        url = git@github.com:Samurais/superscript.git
        branch = v1.0.0

It looks like npm install git@github.com:Samurais/superscript.git#v1.0.0 should now work with your permission change on the cleanup file, no need to use submodules.


How to play single player on the web client

Can some one help me play single player on the web client

Duplicate of https://github.com/PrismarineJS/prismarine-web-client/issues/47


Deletes the folder you specify for highlights if it already exists

This is not cool:
https://github.com/atfzl/obsidian-apple-books-plugin/blob/36aad0fb0660a51032f758a03469caf9835e4885/main.ts#L186
This silently deleted my existing folder full of Kindle highlights and additional notes, without warning.
I don't think this plugin should assume it is the only thing using that folder!

Fixed in #4


README: Example

An example would help illustrate the capabilities of the tool.

The README now links to an example.


Hook up the built-in ALPN in Java 9

Cause Platform.java is fun!

If there is no day to day urgency for this (3.4 timeframe), I'm happy to pick this up.  Close to my heart and I'm looking to contribute to the project.

@yschimke I’m pretty fussy about how these sorts of things are integrated. Usually it’s whatever keeps the behavior most-automatic for the end user, with us eating the complexity in Platform.java. If you’re up for that, sure, please send a PR.

That sounds fair.  Let's see how a PR goes.  Can we say I'm used to your rejections in PRs by now?
Thanks

PR is here https://github.com/square/okhttp/pull/2494

One question, should this be also setting SNIHostName on SSLParameters as well for SNI support?

Yes, doing SNI also would be great. For a separate follow up PR though please.

I need to confirm this with tests but I believe SNI is already working as is, so the PR will be stating this in the docs and some test evidence that its the case.

I think everything in here was resolved, correct?

AFAIK

Thanks!


add initialize --base=cpp-istio

adds a --base flag for wasme initcommand so we can create istio 1.4-compatible filters

this PR also includes a doc for deploy/undeploy to istio, as well as some fixes for the undeploy istio command


Upgrade GitHub Actions to Node 16

Should be closed in favor of https://github.com/jhipster/generator-jhipster-ionic/pull/612


1.2 add classnotes

Codecov Report

Merging #44 (88a249d) into master (436f5d1) will decrease coverage by 1.16%.
The diff coverage is 5.35%.

@@             Coverage Diff              @@
##             master      #44      +/-   ##
============================================
- Coverage     52.05%   50.89%   -1.17%
  Complexity      436      436
============================================
  Files           100      102       +2
  Lines          1967     2014      +47
  Branches        217      223       +6
============================================
+ Hits           1024     1025       +1
- Misses          899      945      +46
  Partials         44       44

Impacted Files
Coverage Δ

...edu/address/logic/commands/RemarkClassCommand.java
0.00% <0.00%> (ø)

...va/seedu/address/logic/commands/RemarkCommand.java
100.00% <ø> (ø)

...du/address/logic/parser/AddClassCommandParser.java
0.00% <0.00%> (ø)

.../seedu/address/logic/parser/AddressBookParser.java
70.83% <0.00%> (-3.08%)
:arrow_down:

...ain/java/seedu/address/logic/parser/CliSyntax.java
91.66% <ø> (ø)

...address/logic/parser/RemarkClassCommandParser.java
0.00% <0.00%> (ø)

...eedu/address/logic/parser/RemarkCommandParser.java
100.00% <ø> (ø)

.../java/seedu/address/model/util/SampleDataUtil.java
46.15% <ø> (ø)

...java/seedu/address/storage/JsonAdaptedTuition.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/PersonCard.java
0.00% <0.00%> (ø)

... and 3 more

Continue to review full report at Codecov.

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


MediaQuery.of(context).orientation incorrect value

I am using OrientationBuilder widget Inside a stateful widget. Inside that builder function, I check whether the screen is in portrait mode or landscape mode.
bool isInPortraitMode = MediaQuery.of(context).orientation == Orientation.portrait;
I ran my app in debug mode and rotated my device many times to check the boolean value and found that sometimes even if the device is in landscape mode it says its in portrait mode.

I can confirm this bug is present on the stable 1.2.1 version of the Flutter framework. Until this bug is fixed, my recommendation is to use the MediaQuery.of(context).orientation variable, instead of using the orientation parameter from the OrientationBuilder widget. Using the full request command always yield a correct value.

Hi, just want to check if this is still a problem for you.

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


help info missing for "check" --- bladebit_cuda help check

The help dialog is missing for "bladebit_cuda help check" command
[root@PhysicalR640 ~]#
[root@PhysicalR640 ~]# ./bladebit_cuda_3.1.0 --version
3.1.0-dev
[root@PhysicalR640 ~]#
[root@PhysicalR640 ~]#
[root@PhysicalR640 ~]# ./bladebit_cuda_3.1.0 help check
[root@PhysicalR640 ~]#
If anyone know the command structure i would like to use this feature and check a few plots.

There indeed is no help output setup yet. You can see the parameters it supports here for the time being (with not description of them). Note that the --device parameter has only been fixed in develop, I believe. So you would have to build from there to use that one.

that worked for me... thanks.
i used this command.
./bladebit_cuda check -n 30 /mnt/ChiaPlots/Chia0-0/plot-xxxxxxxxxxxxxx.plot


Performance optimization for git push

Agit returned result should be from ProcReceive hook but not PostReceive hook. Then for all non-agit pull requests, it will not check the pull requests for every pushing refs/pull/%d/head.

No test?

No test?

The original tests for agit have covered most of them except the returned link.

No test?

The original tests for agit have covered most of them except the returned link.

What tests cove the logic of hook_post_receive.go:L193 ?

No test?

The original tests for agit have covered most of them except the returned link.

What tests cover the logic of hook_post_receive.go:L193 ?

Test added.

I was unable to create a backport for 1.21. @lunny, please send one manually. :tea:
go run ./contrib/backport 30104
...  // fix git conflicts if any
go run ./contrib/backport --continue


Track location when app is closed.

Is it possible to track location even after the app is completely closed ?

@khandelwalriya It is not at the moment, sorry.


Display statistics for all pages, categories, etc

Done in https://github.com/pokatomnik/MrakopediaReader2/pull/82


GSE136719 - Single-cell analysis reveals dynamic changes of neural cells in developing human spinal cord

Project short name:
Zhang2021HumanSpinal
Primary Wrangler:
Secondary Wrangler:

Link to Ingest

https://contribute.data.humancellatlas.org/projects/detail?uuid=9288329e-0a0a-42f3-a7b7-61fa9cfb0600&tab=project

Associated files

Google Drive:

Published study links

Paper:
https://doi.org/10.15252/embr.202152728

Accessioned data: GSE136719

Key Events

[ ] Convert published metadata to HCA spreadsheet
[ ] Manually curate dataset to meet HCA metadata standard
[ ] Collect any matrix and cell-type annotation files
[ ] Upload sheet to validate metadata
[ ] Check linking using ingest graph validator
[ ] Transfer raw files to ingest to validate data files
[ ] Ask the Secondary Wrangler for an end-to-end review of the project. Ask the Expertise Wrangler to review specific tabs if needed
[ ] Submit dataset to Production
[ ] Complete the Export SOP
[ ] Convert project data to SCEA format following the SCEA conversion SOP if appropriate

Paper needs to be requested to the library services

Emailed the authors to ask about getting the linkings between the sample IDs and the unique donors. This info is not available via the publication or GEO accession.

Closing for lack of response form contributor and no linking available


Feature Request - Date Picker

Hi,
Thanks for an awesome library. I was wondering if you were planning on implementing a DatePicker component any time soon?

Thanks for your kind words.
It has already been implemented.
You need to install Material-UI pickers https://material-ui-pickers.dev/getting-started/installation
You can also check this example: https://github.com/gerhat/material-ui-formik-components/blob/master/example/src/SimpleFormExample.jsx

Thank you for your reply. I can see date time picker is implemented but not
date only without time..
On Wed., 6 Nov. 2019, 11:59 pm Gerasimos<EMAIL_ADDRESS>wrote:

Thanks for your kind words.
It has already been implemented.
You need to install Material-UI pickers
https://material-ui-pickers.dev/getting-started/installation
You can also check this example:
https://github.com/gerhat/material-ui-formik-components/blob/master/example/src/SimpleFormExample.jsx
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gerhat/material-ui-formik-components/issues/19?email_source=notifications&email_token=AAOT4CVLA2JXONH6RHQI6ODQSK5RLA5CNFSM4JJUK35KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDGOEMQ#issuecomment-550298162,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOT4CVW6RFRAKHZ2ZPIW73QSK5RLANCNFSM4JJUK35A
.

Totally right. I will implement it.

Thanks very much!
On Thu., 7 Nov. 2019, 12:19 am Gerasimos<EMAIL_ADDRESS>wrote:

Totally right. I will implement it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gerhat/material-ui-formik-components/issues/19?email_source=notifications&email_token=AAOT4CQJWTDLY6BUPEAPFW3QSK77TA5CNFSM4JJUK35KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDGP4VY#issuecomment-550305367,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOT4CRADOUUORKGS2KGAGTQSK77TANCNFSM4JJUK35A
.

@owlyowl can you please check v0.5.1 ? Thanks.


Filter data based on year

I am trying to get the data using comcrawl for year 2019 - 2020 using client = IndexClient(['2019-04', '2020-45']). Looks like it is giving the data only for 2019-04 & 2020-45. Is there a way to filter data year wise? Do I have to write all the index as parameter for all the years needed?

Hey, great question!
This is not documented, but you could use the internal function the package uses to get all available indexes and filter the list to your needs:
import re
from comcrawl.utils import fetch_available_indexes
from comcrawl import IndexClient

indexes = [index for index in fetch_available_indexes() if re.match("2019|2020", index)]

client = IndexClient(indexes)

Thanks Michael. Much appreciated

Hi Michael,
I had been looking for historical data for chocolates from websites like
bigbasket and Amazon. However, when I select data for 2019-2020, I get very
few records for say 'cadbury' brand. (as few as 25 records for the
entire brand not even product wise). Are all the historical records not
maintained well in commoncrawl? I tried similar for Amazon for 'Hershey'
brand, still no luck
Below is my attempt in getting the data. Can you please help if possible if
anything is getting wrong in my understanding?
from comcrawl import IndexClient
import pandas as pd
from bs4 import BeautifulSoup
import re
from comcrawl.utils import fetch_available_indexes
indexes = [index for index in fetch_available_indexes() if
re.match("2019|2020", index)]
client = IndexClient(indexes)
client.search('https://www.bigbasket.com/pd/*', threads=2)
client.results
client.results = [res for res in client.results if res['status'] == '200']
client.results
ecom_df = pd.DataFrame(client.results)
sorted_results_df = ecom_df.sort_values(by="timestamp")
filtered_results_df = (sorted_results_df.drop_duplicates("urlkey",
keep="last"))
chocolate_df =
filtered_results_df[filtered_results_df['url'].str.contains("cadbury")]
client.results = chocolate_df.to_dict("records")
client.download()
c_df = pd.DataFrame(client.results)
c_df.to_csv('chocolate_df.csv', index=False)
Regards,
Prachi
On Wed, Nov 11, 2020 at 5:07 PM Michael Harms<EMAIL_ADDRESS>wrote:

Hey, great question!
This is not documented, but you could use the internal function the
package uses to get all available indexes and filter the list to your needs:
import refrom comcrawl.utils import fetch_available_indexesfrom comcrawl import IndexClient
indexes = [index for index in fetch_available_indexes() if re.match("2019|2020", index)]
client = IndexClient(indexes)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/michaelharms/comcrawl/issues/34#issuecomment-725373947,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFQBTCOPNDZ4IHDZG6Y7D2TSPJZOFANCNFSM4TRZ3RFA
.


Address GHSA-xr7r-f8xq-vfvv

https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv

youki 0.3.1 does not leak any useful file descriptors into the runc init-equivalent process (so this attack is not exploitable as far as we can tell) however this appears to be pure luck. youki does leak a directory file descriptor from the host mount namespace, but it just so happens that the directory is the rootfs of the container (which then gets pivot_root'd into and so ends up as a in-root path thanks to chroot_fs_refs). In addition, no care is taken to make sure all non-stdio files are O_CLOEXEC and there is no check after chdir(2) to ensure the working directory is inside the container. If a file descriptor happened to be leaked in the future, this could be exploitable. In addition, any file descriptors passed to youki are not closed until the container process is executed, meaning that easily-overlooked programming errors by users of youki can lead to these attacks becoming exploitable.

This PR has already been approved by @jprendes @rumpl @yihuaf in private repository.

Codecov Report

Merging #2663 (6c9f997) into main (04f8f2d) will decrease coverage by 0.10%.
Report is 4 commits behind head on main.
The diff coverage is 0.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2663      +/-   ##
==========================================
- Coverage   65.50%   65.41%   -0.10%
==========================================
  Files         133      133
  Lines       16916    16942      +26
==========================================
+ Hits        11081    11082       +1
- Misses       5835     5860      +25


Macros ignore return key

If I press the return key in insert mode while recording a macro, the return key action is not performed when executing the macro. Since splitting lines is a frequent task when editing code, fixing this bug would make the macro functionality significantly more useful.

Same for other movement keys (j and k for example).


Add dialogue window when sending transaction to own expired address.

Please add dialogue window when sending transaction to own expired address.
Similar to this:

seriously, guys - don't we have enough dialog boxes in our UX already to take the example from? @kaminskyelina

checked


config: add X as Code collection

What problem does this PR solve?
Add an X as Code collection to OSS Insight.
The relationship between X as Code and Configuration management tools is the following:

The X as Code is a subset of Configuration Management.
X as Code uses declarative API to interact with X. X such as the Infrastructure, Application, Database, etc.

@yufeiminds
Can these two be combined into one https://github.com/pingcap/ossinsight/blob/main/etl/meta/collections/10053.configuration-management-tools.yml


Enable backups

Signed-off-by: Salvatore Mazzarino<EMAIL_ADDRESS>This gives the possibility to create enable automatic backups.
Could I also backport this change to a release before TF 0.12? So codebase that has not been migrated to TF would support this.
Thank you

/codefresh run test

/codefresh run test

@aknysh make sense I'll do it

@aknysh Fixed

/codefresh run test

/codefresh run test

sorry @aknysh. Fixed README.

/codefresh run test

@aknysh would it be possible to backport this change to a release prior of TF 0.12?

for TF 0.11, open a PR against 0.11/master branch
https://github.com/cloudposse/terraform-aws-elasticache-redis/tree/0.11/master

Perfect. Thank you. I'm going to do it.


Enable repo wiki so we can document errors/warnings

Like the Shellcheck wiki: https://github.com/koalaman/shellcheck/wiki/SC1090

Interesting. So is the idea that each rule would link to the wiki page, rather than directly to the rule source in docs?

Rules are documented in the generated file https://github.com/awslabs/cfn-python-lint/blob/master/docs/rules.md and linked to from the "Rules" section of the README.md.
I like this because the documentation is right there as part of the source package.  Are there benefits to breaking this out into a wiki?

Context for request: I'd like to add some extra documentation for certain rules.
For example E2507's current documentation is "See if there elements inside an IAM policy are correct". Not helpful! I received an error message from this check that I was using Version: 2008-10-17. But there was no explanation why this was a problem. It's also not clear from the linked AWS documentation.
I would like cfn-lint rules to be documented with a rationale and exceptions section, as per the shellcheck wiki.
If the choice is to put this in-repo as markdown documents, that's fine too. I don't like the current file because it's not possible to link to a specific rule.

Rule documentation could/should be improved. If Wiki is the way to go: Don't know.
For some the rules that have no clear "original" of the documentation there already is some documentation: https://github.com/awslabs/cfn-python-lint/blob/master/docs/cfn-resource-specification.md
In the general rules documentation that's generated (https://github.com/awslabs/cfn-python-lint/blob/master/docs/rules.md) is also a link to the source
The URL that's connected to the Rule is available, just not outputted everywhere (Formatters)

Following up on this, individual rule IDs can be linked in the rule documentation like so:
https://github.com/aws-cloudformation/cfn-python-lint/blob/master/docs/rules.md#E1001


misc: config update on async mnist example

Description
The config for async mnist example is updated so that the broker format is identical across other examples. It basically allows switching between local mqtt broker and local metaserver.
Type of Change

[ ] Bug Fix
[ ] New Feature
[ ] Breaking Change
[ ] Refactor
[ ] Documentation
[x] Other (please describe)

Checklist

[ ] I have read the contributing guidelines
[ ] Existing issues have been referenced (where applicable)
[ ] I have verified this change is not present in other open pull requests
[ ] Functionality is documented
[ ] All code style checks pass
[ ] New code contribution is covered by automated tests
[ ] All new and existing tests pass

Codecov Report

Merging #364 (84718f2) into main (8332efd) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #364   +/-   ##
=======================================
  Coverage   14.39%   14.39%
=======================================
  Files          48       48
  Lines        2771     2771
=======================================
  Hits          399      399
  Misses       2354     2354
  Partials       18       18

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


KeyError:'dongle_id' - simulation UI is stuck in loading spinner 'registering device'

Describe the bug
After starting the OpenPilot docker with the provided script start_openpilot_docker.sh in openpilot/tools/sim, the UI window opens but I am stuck in the loading screen 'registering device'.
Tried it with different commits over the last few days and also on a different device/different OS.
This happens with or without being connected to the internet, I don't know if this is important.
However, it is possible to connect to CARLA and see the log output of the steering/break data, just the simulation is not visible as the UI is stuck in the spinner.
How to reproduce or log data
I just simply started the docker with the script and then OpenPilot gets stuck in the loading screen.
After closing the window of OpenPilot and pushing CTRL+C in the terminal, I entered exit there to exit out of the root user. Then I got this error message:
getting pilotauth
failed to authenticate
Traceback (most recent call last):
File "/openpilot/selfdrive/registration.py", line 72, in register
dongle_id = dongleauth["dongle_id"]
KeyError: 'dongle_id'
Expected behavior
Normally, the loading spinner should hide after a short amount of time and the POV of the car in the CARLA simulation and a part of the comma device should be visible.
Operating system: Ubuntu 18.04.5 LTS and also Ubuntu 20

This should be fixed with https://github.com/commaai/openpilot/pull/20770


Provide better OmniSci icons

This is in regards to https://github.com/dbeaver/dbeaver/pull/7972#issuecomment-591486569
Provide different icons for smaller OmniSci logo for better legibility

👍


Populate QueryStatistics wallTime using QueryStats elapsedTime

Noticed that QueryStatistics wallTime was populated using queryStats.getTotalScheduledTime() instead of queryStats.getElapsedTime(). This PR is to correct that.

Spoke with @raghavsethi offline

Merged as 7cc7b51a86d0935afddf199073cd942728671b30, thanks!


Security vulnerability with jackson

There is a deserialization security vulnerability in the jackson-databind version you are using.
See Jackson Deserializer security vulnerability issue 1599
Fixed in <IP_ADDRESS>

We have employed a similar mitigation https://github.com/redisson/redisson/blob/master/redisson/src/main/java/org/redisson/codec/DefenceModule.java

Seems good to me, thanks.


QMAL panel has wrong title when opened from MAL page

The Panel QMAL that opens from the MAL page can be wrong at times.
Sometimes it's right, and sometimes it's totally wrong.

This problem occurs because the content script sends the anime title to the panel. The panel then searches the MAL api using that title. The MAL API doesn't accept ids, and so, it's impossible to get pinpoint information on a specific anime.
Take the anime "K" for example. Since it's only one letter, when "Open in QMAL" is clicked, it loads the first result with the search K, which could be literally anything.
This could be solved by using the FoxInFlame web scraper when opening from the MAL page, but I'm not sure how stable it's going to be, considering the scraper is only hosted on a free hoster and how the MAL page can change at any time..


LibWeb: Scroll page and nav history with keyboard

This patch implements basic keyboard functionality for page scrolling and history traversal.

This looks like it would break the ability for JavaScript to detect arrow key presses?

This looks like it would break the ability for JavaScript to detect arrow key presses?

I tested with the JavaScript snippet below, which appears to be working:
<script>
document.onkeydown = function(e) {
    switch (e.keyCode) {
    case 37:
        alert('Left arrow key pressed');
        break;
    case 38:
        alert('Up arrow key pressed');
        break;
    case 39:
        alert('Right arrow key pressed');
        break;
    case 40:
        alert('Down arrow key pressed');
        break;
    }
}
</script>

And what about the keypress event?

And what about the keypress event?

My understanding is the keypress event is not fired for these keys, as they do not produce a character value. I tested with Firefox and Chrome, and the result was the same as Ladybird.

However, the space key does produce a character value, so I have removed it from this PR as to not interfere with keypress events.

I'm not 100% confident that there isn't some flaw in this approach, but since it's such a nice QoL upgrade let's just do it anyway for now.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support for Confluence labels

I'm not sure if this is not added as a feature or is simply missing in the documentation, but I think it would be great to allow to specify inside the .md itself the labels to be used in the Confluence page.

You are right, we don't have this feature for now. As far as I understand, it's quite a new feature for Confluence.


clean up css styles

PR Checklist
Please check all that apply to this PR using "x":

[x] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
[x] I have checked that this PR does not introduce a breaking change
[ ] This PR introduces breaking changes and I have provided a detailed explanation below

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[x] Code style update (formatting)
[x] Refactoring (no functional changes)
[ ] Documentation changes
[ ] Other - Please describe:

Fixes

Fixed toolbar icon buttons tooltip text selector
Deleted unused css styles

Issue Number: #140

@ydegtyar Nice, thanks :v:


'Open links' button duplicating requests

If the user converts links multiple times, event listeners will be added each time these links are converted but not removed. This will create duplicate open link requests and can cause many tabs to open.
The bug is caused by the convert() function in preparer.js
To fix it, when the user clicks the 'Reset' button, the event listeners for valid-open and invalid-open buttons need to be removed.  However, we need to convert adding the event listeners from anonymous functions to normal functions.

Fixed with commit db0d26203d6ff5cff54bcf9d45b4340bcf77d636.


chr X warning

I think the warning "This means that the site is covered in fewer than 80% of the individuals in ExAC, which may indicate a low-quality site." is not account for male/female status in AC.
example variant with the warning
rational for why I think that filter isn't accounting for male/female:
Number of individuals in ExAC
33,644 - male
27,062 - female
60,706 – total
So, there should be 87,768 alleles for an X chr SNP not in the PAR.
For the 80% individuals cutoff we can have the two extremes:
48,564 individuals – 33,644 males = 14,920 females -> 63,484 alleles as a cutoff for 80% individuals (if all the 20% fails are female)
48,564 individuals – 27,062 females = 21,502 males -> 75,626 alleles as a cutoff for 80% individuals (if all the 20% fails are male)

PAR coordinates for GRCh37.p13 in case it helps when adjusting filter.
Name | Chr | Start | Stop
PAR#1 | X | 60,001 | 2,699,520
PAR#2 | X | 154,931,044 | 155,260,560
PAR#1 | Y | 10,001 | 2,649,520
PAR#2 | Y | 59,034,050 | 59,363,566


Style/mui register

Description
Styled the login and register components using material ui input fields
Fixes # (issue)
Type of change
Style
Please delete options that are not relevant.

[x] Style

How Has This Been Tested?

[x] Existing tests are passing.

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

Looks good to me! Lots of good work here. Great job, Joe.


Drawer won't close sometimes

Describe the bug
It's hard to replicate. Anytime i use the drawer and i close hit close, it tries closing but it then hangs half way. I won't be able to click on any content behind it. The only way forward is to restart the application. I hope to keep updating these issue once i discovery it again.

@ehinolakingsley  please provide a demo project

@ghost1372 I will

@ghost1372 It happens mostly when application losses focus at the point of about to open or about to close.

I can not reproduce your problem, please attach a sample project so we can check it.

@NaBian
can we close this issue after https://github.com/HandyOrg/HandyControl/commit/d37ab735eaafe3c5f98656036358a7b0d0fbb165 ?

It should be solved


WIP: pushState based routing

This is a PR for https://github.com/portainer/portainer/issues/791 that enables pushState based routing.
Currently have to set <base href="/"> in order for it to work properly, which means that it will break when Portainer is reverse proxied behind a virtual directory.
I've marked this PR as WIP till a solution can be figured out for this.

Agree, marked as pending until a solution is found.

@deviantony What are your thoughts on adding a command line flag to indicate the base href?
E.g portainer --baseHref=/portainer and it would default to /.  We'd need to run index.html through html/template and inject the baseHref.
In truth I think this makes it more complex than necessary. Also the current routing works fine.
I'll keep working on finding an Angular solution. Will update PR as I progress through

@adrianfalleiro I'd like to avoid adding more and more flags to the CLI. IMO there is already too many flags in the CLI.
Anyway, I also do not see the point of having a flag for the base href and as you said it makes it more complex than necessary.

@adrianfalleiro any update on this?

Is anyone working on this? I could finish this.

@farodin91 I believe that no one is working on this although it's definitely not in our priority list.


NEAR BOS component support, and switch to nearblocks for getting data

Work in progress
Here's a video from the playwright test runner, when running as a BOS component:
https://github.com/arizas/near-account-report/assets/9760441/cfdeb6c2-8e35-4266-b715-173a650ea8cc
resolves #12 and #14

@stianforland the file https://github.com/arizas/near-account-report/blob/3e876aeca0e1ee6de1c608dc93e342131ee4ead1/bos_components/account_report.jsx contains the latest version that can be deployed to BOS


Fix in gfxrecon.py script for virtual swapchain

CI gfxreconstruct build queued with queue ID 19493.

CI gfxreconstruct build # 1864 running.

gfxrecon.py script was failing to replay captures with the following:
$ adb shell logcat -c; ./android/scripts/gfxrecon.py replay --use-captured-swapchain-indices /storage/emulated/0/Download/gfxrecon_capture_20220824T095019.gfxr; adb shell logcat &> logcat.txt
Traceback (most recent call last):
  File "./android/scripts/gfxrecon.py", line 188, in <module>
    Replay(command.args)
  File "./android/scripts/gfxrecon.py", line 164, in Replay
    extras = MakeExtrasString(args)
  File "./android/scripts/gfxrecon.py", line 138, in MakeExtrasString
    if args.virtual_swapchain:
AttributeError: 'Namespace' object has no attribute 'virtual_swapchain'

This patch seems to address the issue

CI gfxreconstruct build # 1864 passed.


Regex in dotmarketing-config.properties file being mangled by templating process

This value is being modified during the templating process:
##Static Push Bucket Name Restrictions
STATIC_PUSH_BUCKET_NAME_REGEX=[,!:;&?$\\\\*\\/\\[\\]=\\|#_@\\(\\)<>\\s\\+"]+

Result is that static push to s3 fails because the regex statement is not valid
Logs from attempted push:
13:26:43.787  INFO  publishing.PublisherAPIImpl - Start of Bundler: c
13:26:43.831  INFO  publishing.PublisherAPIImpl - End of Bundler: c
13:26:43.831  INFO  publishing.PublisherAPIImpl - Start of Bundler: FileAssetBundler
13:26:43.832  INFO  bundlers.FileAssetBundler - +structuretype:4 +(path:/quest-logo.svg ) +(conhost:48190c8c-42c4-46af-8d1a-0cd5db894797  )
13:26:43.870  ERROR staticpublishing.AWSS3Publisher - Unclosed character class near index 26
[,!:;&?$\*/[]=|#_@()<>s+"]+
                          ^
java.util.regex.PatternSyntaxException: Unclosed character class near index 26
[,!:;&?$\*/[]=|#_@()<>s+"]+
                          ^
    at java.util.regex.Pattern.error(Pattern.java:1957) ~[?:1.8.0_212]
    at java.util.regex.Pattern.clazz(Pattern.java:2550) ~[?:1.8.0_212]
    at java.util.regex.Pattern.sequence(Pattern.java:2065) ~[?:1.8.0_212]
    at java.util.regex.Pattern.expr(Pattern.java:1998) ~[?:1.8.0_212]
    at java.util.regex.Pattern.compile(Pattern.java:1698) ~[?:1.8.0_212]
    at java.util.regex.Pattern.<init>(Pattern.java:1351) ~[?:1.8.0_212]
    at java.util.regex.Pattern.compile(Pattern.java:1028) ~[?:1.8.0_212]
    at java.lang.String.replaceAll(String.java:2223) ~[?:1.8.0_212]
    at com.dotcms.enterprise.publishing.staticpublishing.AWSS3Publisher.a(SourceFile:453) ~[ee-5.1.5.jar:?]
    at com.dotcms.enterprise.publishing.staticpublishing.AWSS3Publisher.a(SourceFile

You can comment out the property as the default is now set in code.

Verified fix in openshiftchanges branch


Shift + Alt + F changes are different for typescript

I have used this shortcut last few months for the same files and today when I tried to format same files they changed so much ( there are examples) I want same settings as before, how can I change them?

VSCode Version: 1.17.1
OS Version: Win 10; version 1703

Steps to Reproduce:

Open typescript file (Angular 4).
Click shift + Alt + F
Change ' with " everywhere (in imports, in strings). After that my tslint says: " should be ' .
Change (x) => to x =>  in all arrow functions.

import { Observable } from 'rxjs/Observable'; import { EventEmitter } from '@angular/core';
to
import { Observable } from "rxjs/Observable"; import { EventEmitter } from "@angular/core";
 (res) => {  to  res => {
Reproduces without extensions: Yes

Are you sure this is not coming from an extension? The formatting changes you describe are not supported by the builtin ts formatter. Please try disabling all extensions to check this

I disabled all installed extensions.

Did you reload vscode after disabling them? After doing this, you should no longer see tslint warnings or errors in your code

After restart everything looks like befoce except deleting nel line in the end of the file. (Maybe this is from any extention).
Thanks

Yes, please try to identify which extension is causing this issue and report any issues against them
Closing as caused by extension

I found the extension - Prettier - JavaScript formatter. It is part of Angular Essentials and it's added in version 0.3.0 (2017-10-18).
It's impossible to Disable only it and I disabled Angular Essentials and abled all other sub-extensions of Angular Essentials.
If you know how to able Angular Essentials and disable only Prettier I will be happy to hear.  (Or maybe to change settings of Prettier)


Pytest cannot be run without forked

BUG REPORT
High Level Description
By the problems that ULTRA team were having, pytest has stability issues running tests without forked. Tests with forked take a much longer time to run. This is due to issues with having multiple SMARTS instances.
SMARTS version
SMARTS branch: ultra-gb-record-density-data
2611ccc21f95ee6791d5efe443f7a48f388f6489
Previous associated issues
https://github.com/huawei-noah/SMARTS/issues/719
https://github.com/huawei-noah/SMARTS/issues/597
https://github.com/huawei-noah/SMARTS/issues/184
Steps to reproduce the bug
Run the CI on the 2611ccc21f95ee6791d5efe443f7a48f388f6489 commit
Use branch listed here: https://github.com/huawei-noah/SMARTS/pull/745
Resulting and expected behaviour
:display:x11display(fatal) thrown when all tests should pass.
Error logs and screenshots
https://github.com/huawei-noah/SMARTS/pull/730/
https://github.com/huawei-noah/SMARTS/runs/2279454801
System information

Operating system & Environment [Please note if using Docker]:
Github CI: Linux 18.04 Docker
Number of system cores available
2
Python version [Please note if using Jupyter]
3.7
Python packages [e.g. from pip freeze]
n/a
SUMO version
n/a
Date when bug occurred
2021/04/07

Impact [If known]
CI is much slower due to having to run forked.

With PR #747, I was just able to run make test without --forked on my local laptop (although I had to hack -n 3 to prevent overload!).  All tests passed.
@Gamenot do you think we should remove --forked from the test rule in the Makefile?  Or just do that for CI?  (The -n issue is still annoying when running locally.)

I suspect the problems may when running two tests that use Ray side-by-side.  For example, (after reordering the tests), I got a segmentation fault (in test_multi_instance_example()) when test_rllib_hiway_env() (from  ./env/tests/test_rllib_hiway_env.py) was being executed at the same time as test_multi_instance_example() (from ./tests/tests_examples.py), both of which have calls to ray.init().


2Gbps instead of 2 G

"Number of branches is limited to 1000 connections per hub/region and a total of 2 G in the hub. The exception is West Central US, which has a total of 20 Gbps. We will be rolling 20 Gbps out to other regions in the future."
In this quote we probably should use 2Gbps instead of 2 G.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 316afee6-13d5-4b73-5224-073b35e69737
Version Independent ID: be1f6b3f-e7c1-0775-8e38-1e5044f96baa
Content: Azure Virtual WAN Overview
Content Source: articles/virtual-wan/virtual-wan-about.md
Service: virtual-wan
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@SychevIgor Thank you for your feedback . We will investigate and update further.

@SychevIgor Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

I've updated and am waiting for this to publish. The specs have changed for this, so you'll notice it's 20 Gbps for all regions, not just a few.

#please-close


feat: [securesourcemanager] new module for securesourcemanager

python3.9 generation/new_client/new-client.py generate \
  --api_shortname=securesourcemanager \
  --proto-path=google/cloud/securesourcemanager \
  --name-pretty="Secure Source Manager API" \
  --product-docs="https://cloud.google.com/secure-source-manager/docs/overview" \
  --api-description="Regionally deployed, single-tenant managed source code repository hosted on
    Google Cloud."

See b/305053862 on when to release this library.


Low performance (fps) in perfect conditions

There were several issues regarding xrdp performance (#1600, #386), but none of the recommendations and workarounds helped me.
I'm testing xrdp in a perfect network conditions and can't get good performance.

Xrdp session seems to be capped to 25 FPS, thus feels sluggish.
Xvnc session provides 60 fps, but it is unstable, it has a frame drops (lags) every several seconds. This is especially visible when dragging windows. Also, Xvnc session has tearing.

Server configuration: Debian 11 with xrdp 0.9.15-1 (xorgxrdp 0.2.15-1) in a VM, openbox session.
Client 1 configuration: Fedora 34 over virtual VM network (~localhost) with freerdp 2.3.2 (manually recompiled with h264 support)
Client 2 configuration: Windows 10 with Wi-Fi connection
xrdp in xorgxrdp mode, freerdp as a client
Graphics output is capped to 25 fps. For some reason, it also introduces significant load to server's CPU (60-120%), even if just dragging window.
Enabling /gfx:avc420 reduces CPU load a bit but does not help fps.
https://user-images.githubusercontent.com/3054729/131251096-5cf3b880-fd42-47f1-8c84-2ca30288b0d3.mp4
xrdp in xvnc mode, tigervnc as a server, freerdp as a client
Noticeable tearing, especially in doom. Strange lags when dragging windows.
https://user-images.githubusercontent.com/3054729/131251176-46ec3810-e5a6-4958-a151-f92e2c3c4ebe.mp4
tigervnc
Steady 60 fps (this video is not very smooth due to screen recording), no lags, very light CPU load (10-20%).
https://user-images.githubusercontent.com/3054729/131251219-914d9438-d4aa-4c12-89d3-97f61f47365b.mp4
How to achieve better results with xorgxrdp in terms of fps? Is it possible to eliminate tearing with xvnc? Is it possible to reduce CPU load?
I've tried to change many options is xrdp.ini, neither helped the performance.

Thanks for the detailed report. It helps a lot.

Client 1 configuration: Fedora 34 over virtual VM network (~localhost) with freerdp 2.3.2 (manually recompiled with h264 support)
Enabling /gfx:avc420 reduces CPU load a bit but does not help fps.

BTW, xrdp doesn't support h264 yet. Same with GFX.  RFX is the best codec supported by xrdp so far.
So, enabling H264/GFX takes no effect.

HI @ValdikSS ,
For the improvements you need GFX I think.  We have some GFX branches where h264 is working but not main xrdp develop branch yet.
I think when you used /gfx:avc420, it was falling back to RLE compression which  might reduce cpu.
The 25 fps is a define in xorgxrdp.  Frames have 40ms between them.  Planning to move this to an environment variable in the future.

The 25 fps is a define in xorgxrdp

is this in the context you were responding (GFX) or it does apply generally?
what can happen if we recompile after changing the hardcoded value from 40ms to 10ms? can we do this safely, is the program behaviour the same or something else will be affected?
what was the original reason for this value, was it chosen high enough to prevent high cpu usage?

@Seas0  I've patched it and it still couldn't reach 60 FPS. testufo.com showed that the frame rate was 60 FPS, YouTube webpages got 60 FPS data, but on my Windows RDP client, it never looked like 60 FPS.

@Seas0  I've patched it and it still couldn't reach 60 FPS. testufo.com showed that the frame rate was 60 FPS, YouTube webpages got 60 FPS data, but on my Windows RDP client, it never looked like 60 FPS.

There is definitely some issues like VSync and/or fresh blocking lurking around, but unfortunately I am NOT familiar enough with Linux/X11 graphic stack, so I can't pinpoint the problem right now, especially without any Log/extra info.
With this patch applied on my settings I suspect the real FPS is around 40~50 on my iPad with occasional frame-dropping.

It was performant enough (using GPU-accelerated xrdp) to render 60 FPS and they were in a local network under the same home router. It might be a limitation imposed by the protocol (RDP) itself.. Not sure though.
I've found this MSDN documentation:

Note
Additionally, not all remote display protocols support a frame rate that is greater than 30 FPS. For example, Remote Desktop Protocol (RDP) limits the frame rate to 30 FPS.

It was performant enough (using GPU-accelerated xrdp) to render 60 FPS and they were in a local network under the same home router. It might be a limitation imposed by the protocol (RDP) itself.. Not sure though.
I've found this MSDN documentation:

Note
Additionally, not all remote display protocols support a frame rate that is greater than 30 FPS. For example, Remote Desktop Protocol (RDP) limits the frame rate to 30 FPS.

Hmm, seems a possible reason. Would investigate if I can spare some time.

It was performant enough (using GPU-accelerated xrdp) to render 60 FPS and they were in a local network under the same home router. It might be a limitation imposed by the protocol (RDP) itself.. Not sure though.
I've found this MSDN documentation:

Note
Additionally, not all remote display protocols support a frame rate that is greater than 30 FPS. For example, Remote Desktop Protocol (RDP) limits the frame rate to 30 FPS.

Also could you try to lower the color depth to 16 or 15 bits?


"true" default options can override user settings

How to reproduce:

Go into options
See that "Auto-expand websites" is checked
Uncheck
Refresh page
Go into options

What should happen: auto-expand websites should still be unchecked
What actually happens: auto-expand websites is checked again
It's due to this change where it will only set the user option if it is truthy, and so if the default is truthy and the user's option is falsy, it will use the default.
We should have an undefined check instead.

Sorry, another bug of mine 😅

We should have an undefined check instead.

Shouldn't we have checked one of these instead?


[BUG] Readme walkthrough broken

Environment
$ ng version
Angular CLI: 14.2.6
Node: 19.0.0 (Unsupported)
Package Manager: npm 8.19.2
OS: linux x64

Angular: 14.2.7
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1402.6
@angular-devkit/build-angular   14.2.6
@angular-devkit/core            14.2.6
@angular-devkit/schematics      14.2.6
@angular/cli                    14.2.6
@schematics/angular             14.2.6
rxjs                            7.5.7
typescript                      4.7.4

Steps to Reproduce

ng new testProject (with routing and css)
cd testProject
npm install --save @formio/angular formiojs (from the readme)

Observed behavior
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@angular/common
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>|| ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0" from<EMAIL_ADDRESS>npm ERR! node_modules/@formio/angular
npm ERR!   @formio/angular@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/user/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/user/.npm/_logs/2022-10-25T22_24_12_640Z-debug-0.log

2022-10-25T22_24_12_640Z-debug-0.log

I was able to solve this by replacing the string ^14.1.0 with 14.2.7 and then setting the version for ng-packagr to 14.2.2.

I ended up using primefaces instead. There were so many different quirks that I kept running into and then I found a guide on Angular.io for making dynamic forms, which worked a lot better.

We're currently addressing a backlog of GitHub issues, and as part of this effort, some inactive issues may be marked as closed. This isn't a dismissal, but a step toward more efficient tracking.
If you feel the issue is still relevant, please re-open and we'll ensure it gets the attention it deserves. Your understanding is appreciated as we work to enhance our open-source responsiveness.


[UI]: The name of the wallet does not fit

Describe the bug
The name of the MyTonWallet does not fit in the interface, although it is not long.
To Reproduce
Steps to reproduce the behavior:

Go to https://dns.ton.org or other site with TonConnect UI
Click on 'Connect wallet'
See cutted 'MyTonW...'

Expected behavior
The name is displayed in full.
Screenshots

Any desktop OS
Any browser

Fixed in @tonconnect/ui 2.0.0-beta.0


Add Dataset.delete_{version,edition,distribution}

Add new methods Dataset.delete_version, Dataset.delete_edition, and Dataset.delete_distribution for deleting dataset versions, editions, and distributions respectively.

Avhenger av https://github.com/oslokommune/okdata-metadata-api/pull/88.


Avoid bump on every menor release

https://github.com/dependabot/fetch-metadata/releases/tag/v2
Avoid

#101,
#131,
#130

Thanks!


Fix meta playbooks

Additional comments
After recent jupyter refactor, meta playbooks had not been updated.
Also, meta/all was missing livy jmx exporter config
Agreements

[x] I hereby declare this contribution to be licensed under the Apache License Version 2.0, January 2004.
[x] I hereby agree to grant TOSIT a copyright license to use my contributions.

Do we need to fix also the playbooks/meta/all_per_service.yml for jupyter.yml ?

#193 fix it.


Add locale gazetteer settings

Add gazetteer settings to country to provide locale lookup array from data sources before fallback to Google / Mapbox API.
Locale records should go into select array.

This is now enabled.


fix: Can't click on anything if I close linear editor by clicking on canvas.

Fixes for problems 1 and 3 stated in this issue: #8401
Before:
https://github.com/user-attachments/assets/74c43987-95f6-4817-a97c-92d2bbc8fed8
After:
https://github.com/user-attachments/assets/9c31c450-f4ac-401b-8c25-d1a596e262d4
Problem 2.:
I've tried fixing problem 2 in two ways.

Don't set selectedLinearElement to null (this is my preferred way)
Also set selectedElementIds to {} (selectedElementIds: makeNextSelectedElementIds({}, appState))

In either case I had around 30 failing tests and I'm not sure how to fix that...

I found one more bug:
Screen.Recording.2024-08-21.at.16.19.19.mov
If you delete a point from a two point linearElement the whole element gets deleted, but then the app freezes completely (editingLinearElement isn't set to null for some reason, not sure why this freezes everything)
The fix for this is very simple. In actionDeleteSelected there was an off-by-one error...
This newest commit actually fixes all 3 of the problems I stated in my issue, thanks to this observation from Márk:)

hey. The behavior to allow just one point in the editor is intentional so as to allow to delete all points one by one. One reason is to keep the behavior consistent (deleting one point shouldn't delete both remaining points), and so that you can delete 2nd last point, and then create a new one with option/alt-click or cmd/ctrl-d.
The bug you're showing has something to do with the sharp arrow type (with round it doesn't reproduce). Unclear what's going on, but could suggest some deeper problem so hack-fixing it by changing how the point deletion behavior works might not be a good idea regardless.
I can check later what's going on.

hey. The behavior to allow just one point in the editor is intentional so as to allow to delete all points one by one. One reason is to keep the behavior consistent (deleting one point shouldn't delete both remaining points), and so that you can delete 2nd last point, and then create a new one with option/alt-click or cmd/ctrl-d.
The bug you're showing has something to do with the sharp arrow type (with round it doesn't reproduce). Unclear what's going on, but could suggest some deeper problem so hack-fixing it by changing how the point deletion behavior works might not be a good idea regardless.

Thanks for the reply!
Sorry, I didn't know that having a linear element with only one point was intended behavior, but this also means we really do have to use actionFinalize over simply setting editingLinearElement: null (actionFinalize deletes the linear element if only one point is left) and possibly handle the elbow arrows separately.
I'll also try looking into this newer bug I found to see why it's happening.


Telegram bridge non working with telegram NSFW channels

Describe the bug
Telegram bridge non working if the public channel is flagged by telegram as NSFW
To Reproduce
Try to generate the feed for a NSFW public channel (ie. Brazz_life)
Expected behavior
I expect the RSS feed to be generated. The bridge generate a blank feed instead. Using other tools it works (ie: hXXXttps://tg.i-c-a.su/rss/Brazz_life).
I suspect it is just because of the NSFW nature of the channel because with any other kind of channel it works properly.

I just tried and there is no preview option for it, I assume thats the problem.
Since the telegram bridge uses the preview option, I doubt that this can be fixed.
pinging @VerifiedJoseph

@Bockiii is correct. The channel has no preview so this bridge can't display it.
tg.i-c-a.su can fetch the channel because its using TelegramRSS and TelegramApiServer to interact directly with Telegram's API.

I'm gonna close this then because its not possible to fix this.


Could you add the supabase table schema to the README?

This is my first time implementing payments with all of these technologies and this repo is helping me out A LOT.
It would go even faster if I could see the schemas for all your supabase tables at a glance. It seems like many of them are complete copies of the Stripe objects, but as a new Stripe user I don't really know what those should look like. I'm particularly interested in how you are mapping stripe customers to supabase users.
Thanks for this great resource!

@AWaselnuk did you see https://github.com/vercel/nextjs-subscription-payments/blob/main/schema.sql ?


get timezones out of db and app

See rationale here for naive UTC timestamps:
http://lucumr.pocoo.org/2011/7/15/eppur-si-muove/

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Closing in light of our decision to shut down Gratipay.
Thank you all for a great run, and I'm sorry it didn't work out! 😞  💃


YAML tag organization

Removed move-to-content yml and merged it with organize-notes.yml. organize-notes.yml should now organize the notes via folders after the upload to the Website folder via YAML tags (book, article), then copy it straight to the content folder directly


Font Issue

[x] Once we change the font and font size of the page and save it, then on reopening the same page again the font and font size of the dictionary words are changed back to the default font properties. The font properties should be the same for the entire page.

QTextCharFormat were overridden and the bug is resolved 4c37ea2ede5bf64bb86a7c8098666b6a1e958673


Add smaller Java 11 runtime images.

This adds two images

11 A full Java 11 JRE which compresses the JVM with zip (--compress=2 flag to jlink as opposed to the Debian default of --compress=0). This will reduce startup time a little. I don't know if this is a good idea, throwing it out as a strawman's proposal. If we have 11-slim, I'm leaning towards not doing it since that can be what people use for the smallest images.

Around 133MB
Reference: https://stackoverflow.com/questions/55715624/what-does-the-jlink-option-compress-do

11-slim A slim Java 11 JRE that only contains a minimum set of modules. Confirmed this works with elasticsearch, don't see any reason it wouldn't work with zipkin-aws and zipkin-gcp as they use Armeria too. I think most other libraries won't work since I believe I've stripped out the JDK DNS resolver, that and java.xml would probably have the largest impact on increasing coverage of supported modules if we were interested in adding some bytes.

Around 73MB (would be ~50MB if java.beans didn't bring in swing / awt :( )
Standard gcr.io/distroless/java:11-debug 196MB (confirmed my Dockerfile with --compress=0 is around this size)

@adriancole I think this repo is missing the organization teams (don't have edit access to request reviews)
/cc @shakuzen who initially proposed jlink for small images

access fixed

When we first discussed using jlink for a normal image, we were hesitant since we don't know what modules might be used by someone's custom layering - for example it's easy to imagine a site has a custom storage module implemented using Java 11 http/2 client which is in its own module. So I was thinking we would provide two images for consumption, the normal one with a full zipkin / JRE / full support for layered plugins and a slim one with slim zipkin / JRE / no support for custom plugins.
Do you think it's ok to strip down the JRE for the standard distribution too?

we don't support custom servers. The only layering we support are our own, so really unconcerned with custom layering, especially in our own images.

Ah in that case, agree it's probably better to keep to just one image. For now changed the module list of the 11 Dockerfile to add DNS. SQL + DNS are ~3MB probably worth keeping if all the servers run with it.

Verified that 11/Dockerfile is able to run zipin-server against elasticsearch, cassandra, mysql (used ServerIntegratedBenchmark. As the size difference between 11/Dockerfile and 11-slim/Dockerfile is only about 3MB, I removed -slim since it doesn't help enough to maintain two images.
Remaining questions

Whether to use --compress=0 or --compress=2. --compress=0 results in 100MB image while --compress=2 is about 73MB. But --compress=0 should have faster startup time, which is something we are currently optimizing for

Whether we should create a new GitHub repository. This one has -full in it's name, but this Dockerfile isn't full

as much as I care about size.. lets go uncompressed if starts faster. we are beaten more over fast than size

Ok - in that case I think we can either merge this or create a new repo for it. What do you think?

I think you understand my opinion on your last q @anuraaga  :D


Minor version bump v0.2.0

@clukas1, I have seen the release tag you made yesterday. Unfortunately the version in the pom.xlm was not adjusted accordingly, which will lead to conflicts wth the maven artifact and docker image to be published.
Therefore i deleted the tag.
I would propose the following steps to release versions:

Checkout a new branch release/vX.X.X
Set version number in pom.xml and prepare other documentation if needed
Create pull request
Upon merge of pull request, create a new release using the GitHub web interface and name it public-transit-service X.X.X, which then triggers the correct GitHub action for maven release and docker publish.

What do you think? @clukas1 @Brunner246

If you are OK with this procedure, I would add it to the project documentation page.


Why is building moq so difficult?

Currently working on a project where team members don't want to rely on NuGet to grab the package. I'm trying to use the build.cmd batch file in the master branch, but I've run into two issues (one of which I solved). But frankly, this is frustrating.
Are you guys willing to move away from your build tool so that I may open a pull request and fix this? It's very inconvenient to download the master branch, to then discover we have to grab your Common folder from your other repo, and then discover that the master branch is not the correct commit for Common, and then still not be able to build because of -RequiresConsent flag.
If there is room for this improvement, I can work on this for you and open a pull request. There really needs to be a simpler way to be able to build Moq.

You just need to make sure you git submodule update --init. Having submodules that you need to init is pretty straightforward and common.
If you're using TortoiseGit, it's just a checkbox in the checkout.


Import lithammer/fuzzysearch instead of renstrom/fuzzysearch

Currently, slack-term imports renstrom/fuzzysearch, but this repository seems to have moved to lithammer/fuzzysearch.
This PR updates the import and also uses a newer version (v1.0.2 instead v1.0.1).
The vendor directory has also been updated.

By the way, this is to fix some problems I encountered while trying to build the repository.
I would get errors like this:
go: github.com/erroneousboat/slack-term/components imports
	github.com/renstrom/fuzzysearch/fuzzy<EMAIL_ADDRESS>parsing go.mod:
	module declares its path as: github.com/lithammer/fuzzysearch
	        but was required as: github.com/renstrom/fuzzysearch


update dependencies and make the necessary changes to work with new APIs

This PR updates all the dependencies to their latest versions and applies fixes where the upgrade breaks things.

thank you


How to build smaller part builds? Build tool available?

Is there a tool or howto about build smaller cash? I don't know pacco. Or is there a web interface to enable / disable parts and methods and generate a custom build?

@pwFoo here there's some more info, basically you'll have to:

Install pacco: npm i -g pacco
Update the content of pacco.json, excluding some files or folders, as done here
Run npm run build:deploy

Unfortunately I still have to properly document pacco.


Memos & Addresses for multipayments

Multipayments can have several memos and addresses. At the moment, ywallet only shows the first one.

0f6890c


Unable to resolve module ReactElementType

Description
Having an error while trying to run the project on ios or android.

Error message:
(node:12029) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1366): UnableToResolveError: Unable to resolve module ReactElementType from /Users/alexandrkompaniets/web/age/walletclient/node_modules/react-native/Libraries/Renderer/src/renderers/shared/ReactDebugTool.js: Module does not exist in the module map or in these directories:
/Users/alexandrkompaniets/web/age/walletclient/node_modules/react-native/node_modules
,  /Users/alexandrkompaniets/web/age/walletclient/node_modules
This might be related to https://github.com/facebook/react-native/issues/4968
To resolve try the following:

Clear watchman watches: watchman watch-del-all.
Delete the node_modules folder: rm -rf node_modules && npm install.
Reset packager cache: rm -fr $TMPDIR/react-* or npm start -- --reset-cache.

I ran the following commands
watchman watch-del-all
rm -rf ./node_modules
yarn cache clean
rm -rf $TMPDIR/react-*
yarn install
npm start -- --reset-cache

But it didn't help. Also, I tried to create a new project and copied src files, but still the same result.
package.json:
"react": "^15.4.1",
"react-native": "^0.39.2",

I'm getting the same error whenever I try to install and import any new modules

Try this:

Click "Reset content and settings..." in the simulator's drop down menu and confirm
Close the simulator after it reloads
Close the terminal window running the watchman
Run the following commands within terminal inside of your project's directory:

watchman watch-del-all
rm -rf ./node_modules
npm cache clean
yarn cache clean
rm -rf $TMPDIR/react-*
yarn install
npm cache clean
yarn cache clean
yarn add uuid

Rebuild the project inside of Xcode and be sure to make any suggested modifications prior to running the app.

Unfortunately, this solution didn't help. Looks like we facing different problems. In your case, you trying to make explicit import of the module which exists in node_modules while in my case ReactElementType is the file inside node_modules/react/lib and ReactDebugTool trying to import it directly import type { ReactElement } from 'ReactElementType';, like it laying in node_modules so seems there some kind of syntax sugar that allows such implicit imports and it doesn't work.
Also ReactElementType.js is empty without any flowtype definitions so it becomes totally unclear.

After long searches, I found that problem was in my .babelrc, more precisely - in flow-react-proptypes plugin, without it, everything works fine.
Breaking config:
{
  "passPerPreset": true,
  "presets": [
    {
      "plugins": [
        "./build/babelRelayPlugin",
      ]
    },
    "react-native"
  ],
  "plugins": ["flow-react-proptypes"]
}

Working config:
{
  "passPerPreset": true,
  "presets": [
    {
      "plugins": [
        "./build/babelRelayPlugin",
      ]
    },
    "react-native"
  ]
}


Full Stack Vue Example.

This is an example on how users can use vue.js with the graphql-yoga package.

@schickling thanks for merging the other repo, check this too 😃


Soft layer breaker: Terminal should not be mentioned in SimpleFindWidget

Spotted while exploring https://github.com/microsoft/vscode/issues/156179
https://github.com/microsoft/vscode/blob/eaa648574d2a61140221a5e0dd3eea56ae11e60e/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.ts#L83-L85

/duplicate #154158

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Python file launch in File Explorer does not open Visual Studio 2022

This issue has been moved from a ticket on Developer Community.

This worked in 2019. If you launch a Python file from FileExplorer, Visual Studio launches, but doesn't open the file.
Your screen recorder doesn't work, so I attached a 45 second video.

Original Comments
Feedback Bot on 11/22/2021, 00:13 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Original Solutions
(no solutions)

Can repro this in VS2022, without python workflow installed. Need to test with workflow installed.

@bschnurr said he fixed something very similar a while back. Bill can you include details here please?

Last fix was 16.0 specific. probably needs updating. https://github.com/microsoft/PTVS/pull/5957