Difference in svg vs pdf output for multicolor rect border

Description
With 0.10.0, the following code contains a separation in pdf (which bothers me :D) but not in svg, is that something that can be fixed or is that a pdf limitation?
#set page(margin: (x : 15pt,y : 20pt))

#rect(
  width: 100%, height: 100%, radius: 6pt,
  stroke: (
    top : 7pt + gradient.linear(red,blue,angle : 0deg),
    right: 7pt + gradient.linear(blue, purple,blue, angle : 90deg)
  ))[
]

Reproduction URL
No response
Operating system
No response
Typst version

[X] I am using the latest version of Typst

Also the colors seem a bit different :thinking:

Nooooo, no more color bugs I am begging 😭

i think the thin line should be a reader problem. you may try other reader

I tried two readers and I stopped my investigation there, do we have an evidence of a reader handling it correctly?

one way to verify is to zoom the pdf. if the gap doesnt become larger as you zoom it, it should be only visible on screen.

It works fine in Acrobat for me. But not in Firefox and Chrome.

Also, unrelated but in the webapp this takes 9 seconds to compile on firefox :eyes:

in fact, there is no difference in svg and pdf. svg also has such thin line. it is just the background makes it less visible.

in fact, there is no difference(regards to the thin line, but not the color) in svg and pdf. svg also has such thin line. it is just the background makes it less visible.

Oh that is true! Should we maybe try to get rid of that thin line everywhere then?

Should we maybe try to get rid of that thin line everywhere then?

I feel like this is a rounding issue, so the question is whether it's on typst or pdf readers to deal with it.

in fact, there is no difference(regards to the thin line, but not the color) in svg and pdf. svg also has such thin line. it is just the background makes it less visible.

Oh that is true! Should we maybe try to get rid of that thin line everywhere then?

maybe no. see the link i posted above. it is the renderer produces this artifact

Possibly related? https://github.com/PgBiel/typst-tablex/issues/120

We are liable for writing files that work for our users, so I think we'll have to address it. Additionally, PDF readers move slowly.

This is known as conflation artifacts. In svg this can be workarounded by disabling antialias


[BUG] Unable to view cluster's YAML when logged in as a non-administrative user

Rancher Server Setup

Rancher version: v2.6-head https://github.com/rancher/rancher/commit/cd97f6fd1e894dd8677efa2fa87c57d7c7a68d54
Installation option (Docker install/Helm Chart): Docker

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Proxy/Cert Details:

Information about the Cluster

Kubernetes version:
Cluster Type (Local/Downstream):

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): Imported

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom) Project Member

If custom, define the set of permissions:

Describe the bug

There has been a regression found in v2.6-head https://github.com/rancher/rancher/commit/cd97f6fd1e894dd8677efa2fa87c57d7c7a68d54, pertaining to viewing a cluster's YAML. Specifically, only an administrative user is able to go to Cluster Management and view the YAML of the specified cluster. If you are any other user, including a standard user that is the Cluster Owner, you are redirected to the login page. When you attempt to log back in, you are once again redirected to login and this happens indefinitely.
I also tested creating a cluster as the standard user. This way, the standard user would be the Cluster Owner. HOWEVER, even when doing that, I couldn't view the YAML and I get redirected to the login page....
Only by logging into Rancher as an administrative user, are you then able to properly view the YAML of the cluster. This has been verified to NOT occur in v2.6.6, so this is a regression that needs to be addressed.
To Reproduce

On a separate client machine that did not install Rancher, provision an RKE2 cluster (I used v1.23.9+rke2r2).
Setup Rancher and navigate to the UI in a browser.
Create a standard user.
Navigate to Cluster Management and import the above provisioned RKE2 cluster.
Once provisioned, navigate to Cluster Explorer > cluster > Projects/Namespaces.
Create a project and add the standard user as a Member.
Log out and log back in as this standard user; verify you can see the cluster.
In Cluster Management, click the ellipses in the cluster's row and click View YAML; you will be redirected to the login screen.

Additionally, this also happens for Download YAML.

Result
You are looped in an indefinite cycle to login instead of being able to view the cluster's YAML.
Expected Result
I should be able to view the cluster's YAML without being redirected to the login screen.

Will need a backport to 2.5

We face the same issue when viewing or editing "cluster config" and even when trying to import the cluster from UI (https://github.com/rancher/rancher/issues/36946) since we restored rancher from a velero backup
We have seen this issue on v2.6.0, v2.6.3, v2.6.4 and even v2.6.6

Verified that this has been addressed on v2.6-head https://github.com/rancher/rancher/commit/9670628a4813d43a8410fe27c745c79a4b566c3a.
ENVIRONMENT DETAILS

Rancher Install: Docker
Rancher Version: v2.6-head https://github.com/rancher/rancher/commit/9670628a4813d43a8410fe27c745c79a4b566c3a
Browser: Chrome

TEST RESULT
PASS
VERIFICATION STEPS

On two separate client machines that did not install Rancher, provisioned an RKE2 cluster (v1.23.9+rke2r2) and an RKE1 cluster (v1.23.7).
Setup Rancher and navigate to the UI in a browser.
Created a standard user.
Navigated to Cluster Management and import the above provisioned RKE2 cluster.
Once provisioned, navigated to Cluster Explorer > cluster > Projects/Namespaces.
Created a project and added the standard user as a Member to both the RKE1 and RKE2 clusters.
Log out and logged back in as this standard user; verified that I see both clusters:

In Cluster Management, clicked the ellipses in the cluster's row and clicked View YAML; verified the standard user can view the cluster's YAML.
Clicked Download YAML; verified the standard user can download both of the cluster's YAML files:


Does not retain the decimal places as .0 float

Issue Description:
When using the lua cjson library to encode Lua tables containing floating-point numbers with decimal places, the output JSON does not retain the decimal places as expected.
Steps to Reproduce:
local table = {}
table["a"] = 80.00
local j = require "cjson.safe"
local json = j.encode(table)
ngx.say(json)

Expected Output:
The expected JSON output should retain the decimal places for floating-point numbers, for example:
{
    "a": 80.00
}

Actual Output:
The actual JSON output does not retain the decimal places, for example:
{
    "a": 80
}

I have tested this issue using the lua cjson library on openresty and confirmed the behavior described above.

This doesn't appear to be a problem, as there is no loss of accuracy.


Not an issue: Is there a discord for this?

As the title says, is there a discord for this. I currently only have the Quickstart rules.
When I get paid next I intent to start buying the PDF books(to begin with).
I am hoping to make compendiums for this. By no means am I suggesting piracy but, does anyone else
want to chip in so we have something equivilent to the D&D 5e SRD compendiums?
As stated above I'm not wanting to do anything that will be breaking licencing.

I think that this would be a copyright infringement.

Fair enough. I certainly dont want to do that.

I made the same mistake one time. Posted some summarized material to the
Modiphius forum trying to help other GMs. Was told, gently but firmly, that
this was a no-no!
On Thu, Feb 16, 2023 at 6:26 PM 00Muttley @.***> wrote:

Fair enough. I certainly dont want to do that.
—
Reply to this email directly, view it on GitHub
https://github.com/mkscho63/sta/issues/89#issuecomment-1433876965, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUFL7BHREDFGFZGWHZ5EPX3WX2ZSHANCNFSM6AAAAAAU2HIUXI
.
You are receiving this because you commented.Message ID:
@.***>

--
Doug Craven
www.yourdm.ca

Yeah I don't have much free time to add in things more than the few bug fixes I get around to. Originally this system was supposed to be overruled by an Official system coming from the original developer that Modiphius had an agreement with so after the initial release this was supposed to be deprecated. However we have had no word on the other system for some time and unfortunately don't have much communication on any other modules being allowed. There is a contact at Modiphius that pays attention to the Foundry Discord server and handles requests, my best suggestion would be to use whatever sway we have as consumers to encourage investment from Modiphius in more for Foundry. This could be something as small as staying active and positive on the Foundry and Modiphius discords, comments on reddit and forums, or emails (friendly worded, ofc) to Modiphius.
I know that's not the answer anyone wants to hear, but that's unfortunately the best we can do currently.


[event-hubs] cleanup rollup config

Fixes #4666
I was able to remove other shims as well since rhea has been updated to be more bundler friendly.

/azp run js - eventhubs-client - tests


Windows docker build of fhir server fails non-zero code: 127 #2007

Signed-off-by: Paul Bastide<EMAIL_ADDRESS>

I don't really have a good way to verify it, but it seems reasonable. LGTM.

I'd like Karen to test this on her system when it is merged.

Did the following on my Windows machine:

mvn clean install -f fhir-parent -DskipTests
docker build fhir-install -t ibmcom/ibm-fhir-server
docker run -p 9443:9443 -e BOOTSTRAP_DB=true -e FHIR_TRANSACTION_MANAGER_TIMEOUT=60s ibmcom/ibm-fhir-server

Once fhir server was up and running, confirmed derby database usage:

$healthcheck
PUT to create a Patient
GET to search on Patients


Webpack integration?

Are you aware of any integration of this lib into webpack? I'd really like to use literate programming but am wondering how to best integrate it into my build pipeline. Manually watching JS files feels a bit cumbersome and I think the best way would be to integrate the library with webpack in order to also generate/keep source maps. Unfortunately this is also my first project using webpack and I'm not sure how to best integrate it there...
Any ideas?

I would be interested in a webpack loader for literate javascript files as well. If I get around to writing one on my own, I'll be sure to send a pull request.


SAMZA-2610: Handle Metadata changes for AM HA orchestration

Description:
AM performs planning and job model generation for every incarnation. With AM-HA, the new job model or configuration may invalidate the containers from the previous attempt. In order to ensure correctness, we handle this by detecting these changes and restart all the containers in case of any changes to metadata (job model or configuration).
Note: We stack this PR with two other PRs #1449 & #1448 that are part of AM-HA feature work and hence the reviewers are requested to review the last commit 036c068.
Changes:

Detect changes in metadata by reading older metadata from coordinator stream and signal the CPM
As part of resource request & orchestration, ignore the containers that are already running from the previous attempt and proceed to release them if metadata changed.
Releasing the container will signal RM through AMRM client and RM will orchestrate killing the processing container. It is different from the normal StopStreamProcessor flow as the NMClient isn't the source of truth and doesn't have context about the containers spun in the previous attempts

Tests: In progress
API Changes: None
Upgrade Instructions: None
Usage Instructions: None

Will handle the merge conflicts once the other dependent PRs #1448 & #1449 are committed.


Add the ability to check whether a value exists

This could also include adding APIs for required and optional value to ensure a value is provided or ensure a value is not provided or allow it to be either. Something like
SARGS_REQUIRED_FLAG_VALUE()
SARGS_REQUIRED_FLAG_NOVALUE()
SARGS_REQUIRED_FLAG()
SARGS_OPTIONAL_FLAG_VALUE()
SARGS_OPTIONAL_FLAG_NOVALUE()
SARGS_OPTIONAL_FLAG()
SARGS_HAS_VALUE()

I totally forget what I was going for here, either way I think this was implemented in PR #17.


fix: make tests work better cross-platform

@pavelzw this has the potential to fix tests on Windows :) – I haven't tried myself, yet, though. I will also write a few end-to-end-tests that we can execute in CI.

Will test on my Windows system.

There is a last issue, I think we might want to use cmd /k /c <test.bat> ...

surprisingly only one of the snapshot test was broken when I tested locally.

Diff/patch for the snapshot fix
diff --git a/src/recipe/parser.rs b/src/recipe/parser.rs
index 5c43fb9..c301036 100644
--- a/src/recipe/parser.rs
+++ b/src/recipe/parser.rs
@@ -212,7 +212,10 @@ mod tests {
         let recipe = include_str!("../../examples/xtensor/recipe.yaml");
         let recipe = Recipe::from_yaml(recipe, SelectorConfig::default());
         assert!(recipe.is_ok());
+        #[cfg(target_os = "unix")]
         insta::assert_debug_snapshot!(recipe.unwrap());
+        #[cfg(target_os = "windows")]
+        insta::assert_debug_snapshot!("recipe_windows", recipe.unwrap());
     }

     #[test]
diff --git a/src/recipe/snapshots/rattler_build__recipe__parser__tests__recipe_windows.snap b/src/recipe/snapshots/rattler_build__recipe__parser__tests__recipe_windows.snap
new file mode 100644
index 0000000..da7d880
--- /dev/null
+++ b/src/recipe/snapshots/rattler_build__recipe__parser__tests__recipe_windows.snap
@@ -0,0 +1,336 @@
+---
+source: src/recipe/parser.rs
+assertion_line: 218
+expression: recipe.unwrap()
+---
+Recipe {
+    package: Package {
+        name: PackageName {
+            normalized: None,
+            source: "xtensor",
+        },
+        version: "0.24.6",
+    },
+    source: [
+        Url(
+            UrlSource {
+                url: Url {
+                    scheme: "https",
+                    cannot_be_a_base: false,
+                    username: "",
+                    password: None,
+                    host: Some(
+                        Domain(
+                            "github.com",
+                        ),
+                    ),
+                    port: None,
+                    path: "/xtensor-stack/xtensor/archive/0.24.6.tar.gz",
+                    query: None,
+                    fragment: None,
+                },
+                checksums: [
+                    Sha256(
+                        [
+                            248,
+                            114,
+                            89,
+                            181,
+                            26,
+                            171,
+                            175,
+                            221,
+                            17,
+                            131,
+                            148,
+                            119,
+                            71,
+                            237,
+                            255,
+                            244,
+                            207,
+                            247,
+                            93,
+                            85,
+                            55,
+                            83,
+                            52,
+                            242,
+                            232,
+                            28,
+                            238,
+                            109,
+                            198,
+                            142,
+                            246,
+                            85,
+                        ],
+                    ),
+                ],
+                file_name: None,
+                patches: [],
+                folder: None,
+            },
+        ),
+    ],
+    build: Build {
+        number: 0,
+        string: None,
+        skip: false,
+        script: [
+            "cmake -G \"NMake Makefiles\" -D BUILD_TESTS=OFF -D CMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% %SRC_DIR%\nnmake\nnmake install",
+        ],
+        script_env: ScriptEnv {
+            passthrough: [],
+            env: {},
+            secrets: [],
+        },
+        ignore_run_exports: [],
+        ignore_run_exports_from: [],
+        run_exports: RunExports {
+            noarch: [],
+            strong: [],
+            strong_constrains: [],
+            weak: [],
+            weak_constrains: [],
+        },
+        noarch: NoArchType(
+            None,
+        ),
+        entry_points: [],
+    },
+    requirements: Requirements {
+        build: [
+            Compiler(
+                Compiler {
+                    language: "cxx",
+                },
+            ),
+            Spec(
+                MatchSpec {
+                    name: Some(
+                        PackageName {
+                            normalized: None,
+                            source: "cmake",
+                        },
+                    ),
+                    version: None,
+                    build: None,
+                    build_number: None,
+                    file_name: None,
+                    channel: None,
+                    subdir: None,
+                    namespace: None,
+                    md5: None,
+                    sha256: None,
+                },
+            ),
+        ],
+        host: [
+            Spec(
+                MatchSpec {
+                    name: Some(
+                        PackageName {
+                            normalized: None,
+                            source: "xtl",
+                        },
+                    ),
+                    version: Some(
+                        Group(
+                            And,
+                            [
+                                Range(
+                                    GreaterEquals,
+                                    Version {
+                                        version: [[0], [0], [7]],
+                                        local: [],
+                                    },
+                                ),
+                                Range(
+                                    Less,
+                                    Version {
+                                        version: [[0], [0], [8]],
+                                        local: [],
+                                    },
+                                ),
+                            ],
+                        ),
+                    ),
+                    build: None,
+                    build_number: None,
+                    file_name: None,
+                    channel: None,
+                    subdir: None,
+                    namespace: None,
+                    md5: None,
+                    sha256: None,
+                },
+            ),
+        ],
+        run: [
+            Spec(
+                MatchSpec {
+                    name: Some(
+                        PackageName {
+                            normalized: None,
+                            source: "xtl",
+                        },
+                    ),
+                    version: Some(
+                        Group(
+                            And,
+                            [
+                                Range(
+                                    GreaterEquals,
+                                    Version {
+                                        version: [[0], [0], [7]],
+                                        local: [],
+                                    },
+                                ),
+                                Range(
+                                    Less,
+                                    Version {
+                                        version: [[0], [0], [8]],
+                                        local: [],
+                                    },
+                                ),
+                            ],
+                        ),
+                    ),
+                    build: None,
+                    build_number: None,
+                    file_name: None,
+                    channel: None,
+                    subdir: None,
+                    namespace: None,
+                    md5: None,
+                    sha256: None,
+                },
+            ),
+        ],
+        run_constrained: [
+            Spec(
+                MatchSpec {
+                    name: Some(
+                        PackageName {
+                            normalized: None,
+                            source: "xsimd",
+                        },
+                    ),
+                    version: Some(
+                        Group(
+                            And,
+                            [
+                                Range(
+                                    GreaterEquals,
+                                    Version {
+                                        version: [[0], [8], [0], [3]],
+                                        local: [],
+                                    },
+                                ),
+                                Range(
+                                    Less,
+                                    Version {
+                                        version: [[0], [10]],
+                                        local: [],
+                                    },
+                                ),
+                            ],
+                        ),
+                    ),
+                    build: None,
+                    build_number: None,
+                    file_name: None,
+                    channel: None,
+                    subdir: None,
+                    namespace: None,
+                    md5: None,
+                    sha256: None,
+                },
+            ),
+        ],
+    },
+    test: Test {
+        imports: [],
+        commands: [
+            "if not exist %LIBRARY_PREFIX%\\include\\xtensor\\xarray.hpp (exit 1)",
+            "if not exist %LIBRARY_PREFIX%\\share\\cmake\\xtensor\\xtensorConfig.cmake (exit 1)",
+            "if not exist %LIBRARY_PREFIX%\\share\\cmake\\xtensor\\xtensorConfigVersion.cmake (exit 1)",
+        ],
+        requires: [],
+        source_files: [],
+        files: [],
+    },
+    about: About {
+        homepage: Some(
+            Url {
+                scheme: "https",
+                cannot_be_a_base: false,
+                username: "",
+                password: None,
+                host: Some(
+                    Domain(
+                        "github.com",
+                    ),
+                ),
+                port: None,
+                path: "/xtensor-stack/xtensor",
+                query: None,
+                fragment: None,
+            },
+        ),
+        repository: Some(
+            Url {
+                scheme: "https",
+                cannot_be_a_base: false,
+                username: "",
+                password: None,
+                host: Some(
+                    Domain(
+                        "github.com",
+                    ),
+                ),
+                port: None,
+                path: "/xtensor-stack/xtensor",
+                query: None,
+                fragment: None,
+            },
+        ),
+        documentation: Some(
+            Url {
+                scheme: "https",
+                cannot_be_a_base: false,
+                username: "",
+                password: None,
+                host: Some(
+                    Domain(
+                        "xtensor.readthedocs.io",
+                    ),
+                ),
+                port: None,
+                path: "/",
+                query: None,
+                fragment: None,
+            },
+        ),
+        license: Some(
+            License {
+                original: "BSD-3-Clause",
+                expr: BSD-3-Clause,
+            },
+        ),
+        license_family: None,
+        license_files: [
+            "LICENSE",
+        ],
+        license_url: None,
+        summary: Some(
+            "The C++ tensor algebra library",
+        ),
+        description: Some(
+            "Multi dimensional arrays with broadcasting and lazy computing",
+        ),
+        prelink_message: None,
+    },
+    extra: (),
+}

I am not sure why this was breaking, specifically so will test around.

Just tested my use case with https://github.com/prefix-dev/rattler-build/pull/292/commits/b4f2eb3742e83876648dbb37e2d00b8e05dff903
it works 🤩

I tested with the test that should fail and it did weird things to my terminal though :D


responce => response

What is this PR for?
A few sentences describing the overall goals of the pull request's commits.
First time? Check out the contributing guide - https://zeppelin.apache.org/contribution/contributions.html
What type of PR is it?
[Bug Fix | Improvement | Feature | Documentation | Hot Fix | Refactoring]
Todos

[ ] - Task

What is the Jira issue?

Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/
Put link here, and add [ZEPPELIN-Jira number] in PR title, eg. [ZEPPELIN-533]

How should this be tested?
Outline the steps to test the PR here.
Screenshots (if appropriate)
Questions:

Does the licenses files need update?
Is there breaking changes for older versions?
Does this needs documentation?

responce => response

responce is error.
response is correct

I think you'd better push another commit in #1544. I think that would be better process to handle issue. Can you do that?


Document reliance on internals

This library appears to significantly depend on React internals which aren't bound by semver.
I think it would be fair to add a notice that by taking it on as a dependency, you're making every React upgrade risky, and at some point might not be able to upgrade at all.

As of 0.19.0 we've deprecated usage of internals and we will remove it completely in the next version.
Thanks for your feedback @gaearon!


Plots and visualizations

This issue has a list of plots and visualizations that should be implemented.

[x] Figure 1. Displacement of diffusing element -> #9
[x] Figure 2. Histogram of displacement of diffusing element -> #9
[x] Figure 3. Displacement per element  -> #9
[x] Figure 4. Density of diffusing element (3D) -> #63
[x] Figure 5. Jumps between sites (3D) -> #61
[x] Figure 6. Jumps vs distance -> #48
[x] Figure 7. Histogram of vibrational amplitudes with fitted Gaussian -> #11
[x] Figure 8. Occurance vs frequency -> #11
[x] Figure 9. Histogram of jumps vs time -> #61
[x] Figure 10. Number of cooperative jumps per jump-type combination -> #61
[x] Jumps movie -> #70

RDF (#57)

[x] Figure 11. 48h Density vs Distance -> #66
[x] Figure 12. Transition 48h -> #66
[x] Figure 13. Transition 48h-48h -> #66

After #14 we have access to all the data in the sim_data.mat file.
Next is to find some way to load the sites.mat file and work through the connected plots.

All plots have been implemented! 🎉🎉


Sorting not working anymore

Using version 2.20
Config file:
browser qutebrowser
color listnormal color5 default
color listfocus color0 color1
color listfocus_unread color0 color1
color info color0 color6 underline
auto-reload yes%

Steps to reproduce the issue:

Enter to a feed list.

Press G or g for sorting and select any sorting method.

Sorting doesn't occur.

I think the problem may be realted to new translations, at least for the spanish language. Before this problem, sorting options were displayed in english, now they are in spanish and ask for different characters, but none of them seem to work.

It looks like the Spanish translation is missing one of the sort options ((r)andom).
https://github.com/newsboat/newsboat/blob/34294027b3c887e4d491cf2f2ecf42e2fb7ad04e/po/es.po#L960-L975
When the option string in the translated language is not equal to the original length (len('dtfalgr') == 7 ≠ 6 == len('ftmaeg')), the original key characters are used.
If you want, you can check this by using one of the letters shown in the English strings.
https://github.com/newsboat/newsboat/blob/34294027b3c887e4d491cf2f2ecf42e2fb7ad04e/src/itemlistformaction.cpp#L686-L694

Thanks for the report, @kixune21, and thanks to @dennisschagt for the triage! I've submitted a pull request that fixes this, #1029, and I'll release 2.20.1 right after merging it.


request feature bypass proxy

Hii
If possible please add bypass domain list when use proxy feature for easy to use.
Thanks

i mean , feature like this original args
args: [
'--proxy-server=socks4://<IP_ADDRESS>:5678',
'--proxy-bypass-list=.google.com, .bing.com'
],
or like this
proxy: {
bypass: ".azenv.net",
server: "socks4://<IP_ADDRESS>:5678",
},

No, this is not imlemented.

Why ?
I think most of premium fingerprint users like me, bypass is very important


Compiled shaders as embedded resources

I just discovered the ToolkitFxc build action in the toolkit to compile shaders to bytecode as part of the MSBuild build process, and it helps a lot.
However, it just creates a bytecode file in the output directory, which is usually not the end target for the shader. In my case, I want to add all shaders as embedded resources in the assembly so that it is self-contained.
It is fairly easy to accomplish what I want by appending the following to the .csproj file (with the caveat that it still creates the files in the output dir, and the following would also add other Toolkit* build action output):
<Target Name="AfterCompileShaders" AfterTargets="TkListContentAndCompileTarget">
  <ItemGroup>
    <!--List Of fxo compiled file-->
    <EmbeddedResource Include="@(TkContent)"/>
  </ItemGroup>
</Target>

I think it would make a great addition to SharpDX if this was built into the toolkit, at it seems (at least to me) to be a quite common and good pattern (shaders is code, code goes into the assembly).

Thanks. Unfortunately, as it was announced for the 3.0 milestone, the Toolkit is no longer supported or maintained.

Thanks @rickardp for your snippet. I've modified it to prevent copying files to the output folder.
  <!-- Embed SharpDX.Toolkit resources into an assembly and remove them from the contents to prevent copying to output directory -->
  <Target Name="AfterCompileShaders" AfterTargets="TkListContentAndCompileTarget">
    <ItemGroup>
      <EmbeddedResource Include="@(TkContent)">
        <CopyToOutputDirectory>Do not copy</CopyToOutputDirectory>
      </EmbeddedResource>
      <Content Remove="@(TkContent)"/>
    </ItemGroup>
  </Target>


docs: Improve readme with new sections and minor fixes

Added a header, table of contents, related projects, and in-browser parser section
Changed order and naming of some sections
Miscellaneous minor changes throughout

Codecov Report

Merging #832 (0b1eade) into master (28e11b7) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #832      +/-   ##
==========================================
+ Coverage   92.28%   92.29%   +0.01%
==========================================
  Files          66       66
  Lines        5104     5113       +9
==========================================
+ Hits         4710     4719       +9
  Misses        232      232
  Partials      162      162

Codecov Report

Merging #832 (0b1eade) into master (28e11b7) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #832      +/-   ##
==========================================
+ Coverage   92.28%   92.29%   +0.01%
==========================================
  Files          66       66
  Lines        5104     5113       +9
==========================================
+ Hits         4710     4719       +9
  Misses        232      232
  Partials      162      162


Unexpected None values generated with xml xpaths

What Happens?
At the time of executing this instruction the dataframe data can contain None values, typically it happens when using xml and xpath. This step will transform the None objects into "None" strings, resulting later on in triples built from those None strings, while one would expect missing data to not cause any creation of triples. Adding None to the na_values config is not a satisfying workaround since users might not want to have all their actual "None" strings in the data always cast to na_values. A proper fix might be adding data = data.dropna(axis=0, how="any", subset=list(references)) before the map. Or, if the map is not necessary (as the # TODO: can this be removed? suggests), removing it would also likely fix the bug.
To Reproduce
Basically parsing xml with some xpath that sometimes have text value, sometimes not, will generate None value. I unfortunately don't have time to craft a proper reproducer at the moment, I hope the description I provide can help highlighting the issue. Will come back at it once possible.
Environment (please complete the following information):

OS: linux
Python version: 3.12
Morph-KGC version: 2.8.0

I think the first solution you suggest solves the issue, could you contribute a PR?


fix: normalises data for GetUnstructuredObjects to UTF-8 with LF endings

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I don't think adding a linter without fixing the issues with it is a good choice... We just added the linter and adding // nolint everywhere?
From what I see we should either fix those warning as a different commit here only (preferred)
or put adding the linter in the backlog

I don't think adding a linter without fixing the issues with it is a good choice... We just added the linter and adding // nolint everywhere?
From what I see we should either fix those warning as a different commit here only (preferred)
or put adding the linter in the backlog

The addition of the linter improves the codebase in a forward looking way. I'm happy to make an issue for a //nolint cleanup but I don't see why adding explicit markings to previously unsurfaced issues would degrade the codebase, and the benefit of the addition for forward looking code is large.

I don't think adding a linter without fixing the issues with it is a good choice... We just added the linter and adding // nolint everywhere?
From what I see we should either fix those warning as a different commit here only (preferred)
or put adding the linter in the backlog

The addition of the linter improves the codebase in a forward looking way. I'm happy to make an issue for a //nolint cleanup but I don't see why adding explicit markings to previously unsurfaced issues would degrade the codebase, and the benefit of the addition for forward looking code is large.

I would say at least we should take care of the staticcheck errors

The addition of the linter improves the codebase in a forward looking way. I'm happy to make an issue for a //nolint cleanup but I don't see why adding explicit markings to previously unsurfaced issues would degrade the codebase, and the benefit of the addition for forward looking code is large.

Adding a linter was not a requirement for this PR, if you choose to add a linter, part of that is fixing all the linting issues
and not making more work for others.

The addition of the linter improves the codebase in a forward looking way. I'm happy to make an issue for a //nolint cleanup but I don't see why adding explicit markings to previously unsurfaced issues would degrade the codebase, and the benefit of the addition for forward looking code is large.

Adding a linter was not a requirement for this PR, if you choose to add a linter, part of that is fixing all the linting issues
and not making more work for others.

I don't understand how surfacing issues is making work for others. The codebase remains in an identical state – issue are now marked. No issue that wasn't previously present is now present – only two things have changed:

we know about them; and
future code must comply.


Amoro Roadmap 2023

Welcome to the Amoro Project's 2023 roadmap issue!
This is where we'll be sharing our plans for the year ahead, as well as any updates or changes that arise along the way. Our hope is that this issue will provide transparency into our development process and help keep our community informed and engaged.
We encourage all members of the community to follow this issue to stay up-to-date on the Amoro Project's progress throughout the year. If you have any questions, feedback, or ideas related to the roadmap or the project in general, please don't hesitate to share them in the comments below. We value your input and look forward to working together to make the Amoro Project the best it can be in 2023 and beyond.
Priority 1

[ ] #1061
[ ] #1354
[ ] #1269
[ ] #1917

Priority 2

Closed as we have entered the year 2024.


Add support for the Arduino IDE beta build?

In addition to the hourly build, there is now a beta build. The purpose is to promote testing of experimental features before they are merged into the master branch (which is what the hourly build is built from).
It's not clear whether the beta build is around for the long term or if it's primarily intended for testing arduino-preprocessor and will not be used after that is merged.

According to https://github.com/arduino/Arduino/issues/6736#issuecomment-374138913 the Beta branch system is only temporary and thus is not worth formally incorporating it into the script.


Unable to acquire subscription lock after upgrading to Redisson 3.23.1

When we upgraded Redisson from version 3.23.0 to 3.23.1 our application started crashing with this error message:
Unable to acquire subscription lock after 33000ms. Try to increase 'timeout', 'subscriptionsPerConnection', 'subscriptionConnectionPoolSize' parameters.

Our application uses the default values for timeout, subscriptionsPerConnection and subscriptionConnectionPoolSize. Furthermore, we have verified that these values are not changed between versions 3.23.0 and 3.23.1
Our application uses Redisson Local Cache for Map.
Expected behavior
Our application should run without "Unable to acquire subscription lock" errors.
Actual behavior
The application crashes with "Unable to acquire subscription lock" error after a few seconds of execution.
Steps to reproduce or test case
Upgrade Redisson from version 3.23.0 to 3.23.1 and use Local Cache for Map, after a while some "Unable to acquire subscription lock" errors should appear.
Redis version
6.2.6
Redisson version
3.23.1
Redisson configuration

Replicated servers
3 nodes
readMode: MASTER_SLAVE
timeout: 3000
subscriptionConnectionPoolSize: 50
subscriptionsPerConnection: 5

fixed in 3.23.3


Downloading attachments does not handle Binary references

It looks like the current attachment downloading code assumes the url of a DocumentReference attachment points at raw data. The spec seems to allow for that not to be the case.
Binary URLs
From https://www.hl7.org/fhir/datatypes.html#Attachment:
If the URL is a relative reference, it is interpreted in the same way as a resource reference (https://www.hl7.org/fhir/references.html#references)
And we often see that be a Binary reference. For example, Epic usually gives "url": "Binary/xxxxxxx".
And then you presumably request the URL, get {"contentType": "xxx", "data": "xxx"}, then do the real data extraction.
Absolute URLs
The spec does seem to imply that a full absolute URL will just point at raw data. But it appears that Cerner will give a full URL like https://fhir-ehr.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Binary/XR-198381926 as seen in their docs.
So looks like even if you are given a full URL, you have to see if it starts with the base URL first, then do the extra Binary handling.
Non-Binary URLs
I dunno what you do with a relative FHIR URL that isn't a Binary, but something like Patient. Presumably that doesn't happen for DocumentReference.
Caveat
I've not done much real world testing. Just spec reading and hearing from folks that have access to Epic. I have access to a Cerner sandbox, but it errors out when I try to export DocumentReference. So... :shrug:

It looks like a way to work around this is by using an Accept: header. Though that isn't required in an Attachment...
https://www.hl7.org/fhir/binary.html:
When the read request has some other type in the Accept header, then the content should be returned with the content type stated in the resource in the Content-Type header. E.g. if the content type in the resource is "application/pdf", then the content should be returned as a PDF directly. The _summary parameter does not apply in this case.

OK I was able to test against Cerner's open sandbox. For a text/plain Binary object:

no Accept header: error
application/json+fhir Accept header: Binary object
text/plain Accept header: actual content

You can test yourself using:
curl https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Binary/R-203509304 -H 'Accept: application/json+fhir'; echo

I haven't tested the above commit yet but I assume it fixed this issue. Will close.


2D image preview in dynamic plots fix

The imgage was incorrectly summed against one axis causing it to squash to 1D.
Fixes #225

Might be useful to add a test as this one for model 'b' now that we have 2D implemented? https://github.com/alan-turing-institute/affinity-vae/blob/4c73db3fc0f3cec645da0a9cf2ea016b7f68d0cf/tests/test_train_eval_pipeline.py#L139

@crangelsmith did you mean in reference to the #227 PR? This PR only changes the dynamic data display in vis.py.
But yes, agree, I'll get on it now!

Ok, I've just pushed the change with the passing test in the other PR!


2.0.2 fails to run with missing/failed jwt import

Describe the problem
After upgrading to 2.0.2 using pip3, I get this when I try to run tconnectsync:

Traceback (most recent call last):
File "/home/tsync/.local/bin/tconnectsync", line 5, in
from tconnectsync import main
File "/home/tsync/.local/lib/python3.9/site-packages/tconnectsync/init.py", line 8, in
from .api import TConnectApi
File "/home/tsync/.local/lib/python3.9/site-packages/tconnectsync/api/init.py", line 7, in
from .tandemsource import TandemSourceApi
File "/home/tsync/.local/lib/python3.9/site-packages/tconnectsync/api/tandemsource.py", line 9, in
import jwt
ModuleNotFoundError: No module named 'jwt'

To Reproduce
Steps to reproduce the behavior:

/usr/bin/pip3 install --upgrade --user tconnectsync
~/.local/bin/tconnectsync --features BASAL BOLUS PUMP_EVENTS PROFILES

Expected behavior
tconnectsync to do its normal run and update NightScout.
Setup details

Operating system: Rocky Linux 9.4
tconnectsync version (from --version): 2.0.2 (but --version doesn't run, same error as above)
On what platform are you using the t:connect mobile app? iOS
What version are you using of the t:connect mobile app? latest

Additional context
I was on 1.0.0 previously and it worked/ran as expected. Updated to 2.0.2 this morning, and the above issue presented.

Rolling back with:
/usr/bin/pip3 install --user --force-reinstall "tconnectsync==1.0.0"
worked, and re-upgrading again broke it again, so it seems fairly repeatable.

What python version are you using? @t1diotac
This might be a side effect of the latest version of pyjwt only supporting >= python 3.8. I bumped a bunch of package versions in tconnectsync v2 and soft-dropped support for python 3.7 because more and more packages are no longer supporting it now that it's 6 years old.

Try to run /usr/bin/pip3 install pyjwt==2.8.0 which is the latest version supporting python3.7 and see if that fixes it for you (https://github.com/jpadilla/pyjwt/releases/tag/2.8.0)

@t1diotac
Ok this should be fixed now:
$ docker run --rm -it python:3.7 /bin/bash
root@77ff5625aa9e:/# pip install tconnectsync==2.0.6
root@77ff5625aa9e:/# tconnectsync --help
usage: tconnectsync [-h] [--version] [--pretend] [-v]
                    [--start-date START_DATE] [--end-date END_DATE]
                    [--days DAYS] [--auto-update] [--check-login]
                    [--features {BASAL,BOLUS,IOB,PUMP_EVENTS,PUMP_EVENTS_BASAL_SUSPENSION,PROFILES,CGM,CGM_ALERTS} [{BASAL,BOLUS,IOB,PUMP_EVENTS,PUMP_EVENTS_BASAL_SUSPENSION,PROFILES,CGM,CGM_ALERTS} ...]]
                    [--tandem-source]

Syncs bolus, basal, and IOB data from Tandem Diabetes t:connect to Nightscout.

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  --pretend             Pretend mode: do not upload any data to Nightscout.
  -v, --verbose         Verbose mode: show extra logging details
  --start-date START_DATE
                        The oldest date to process data from. Must be
                        specified with --end-date.
  --end-date END_DATE   The newest date to process data until (inclusive).
                        Must be specified with --start-date.
  --days DAYS           The number of days of t:connect data to read in.
                        Cannot be used with --from-date and --until-date.
  --auto-update         If set, continuously checks for updates from t:connect
                        and syncs with Nightscout.
  --check-login         If set, checks that the provided t:connect credentials
                        can be used to log in.
  --features {BASAL,BOLUS,IOB,PUMP_EVENTS,PUMP_EVENTS_BASAL_SUSPENSION,PROFILES,CGM,CGM_ALERTS} [{BASAL,BOLUS,IOB,PUMP_EVENTS,PUMP_EVENTS_BASAL_SUSPENSION,PROFILES,CGM,CGM_ALERTS} ...]
                        Specifies what data should be synchronized between
                        tconnect and Nightscout.
  --tandem-source       FOR TESTING: Use Tandem Source

Version 2.0.6

Fixed!! Thank you!

What python version are you using? @t1diotac
This might be a side effect of the latest version of pyjwt only supporting >= python 3.8. I bumped a bunch of package versions in tconnectsync v2 and soft-dropped support for python 3.7 because more and more packages are no longer supporting it now that it's 6 years old.

For what it's worth, I'm running Python 3.9


KeyError: 'GET_INVENTORY' (full backpack/inventory?)

Expected Behavior
Keep running (by deleting items himself I think, but I'm not sure)
Actual Behavior
Crashing.
To temp fix it you have to open the actual Pokemon Go app and delete an item
Steps to Reproduce
Not sure, probably when backpack fills up, I tried deleting a loto of stuff and it seems to be more stable (for now)
Trace:
Traceback (most recent call last):
  File "pokecli.py", line 220, in <module>
    main()
  File "pokecli.py", line 206, in main
    bot.start()
  File "/Users/myMacUser/Documents/Projects/PokemonGo-Bot/pokemongo_bot/__init__.py", line 31, in start
    self._setup_api()
  File "/Users/myMacUser/Documents/Projects/PokemonGo-Bot/pokemongo_bot/__init__.py", line 159, in _setup_api
    balls_stock = self.pokeball_inventory()
  File "/Users/myMacUser/Documents/Projects/PokemonGo-Bot/pokemongo_bot/__init__.py", line 234, in pokeball_inventory
    inventory_dict = inventory_req['responses']['GET_INVENTORY'][
KeyError: 'GET_INVENTORY'

Other Information
OS: Mac El Capitan 10.11.6 (15G31)

Python: 2.7.12
Pip: 8.1.2
Virtualenv: 15.0.2

Git Commit: ec2b7add95da6bc580035d8d4c472c1d41e439a6 (ec2b7add95da6bc580035d8d4c472c1d41e439a6)

Duplicated #1491

Solved by: https://github.com/PokemonGoF/PokemonGo-Bot/pull/1499


Add missing space to ConnectionError text

Add missing space to ConnectionError text when BoM Analytics Services is missing.

I don't know why github actions is showing one check as cancelled. I'm going to merge anyway and see what happens for the push trigger on main.


apacheconf syntax highlighting did not work on GitHub Pages

Context ref: https://github.com/techie-joe/library/blob/d810a46bd7d1a3f5d1fe0e539f4fb068a787d53c/markdown/index.md?plain=1#L42
Issue
apacheconf syntax highlighting did work on GitHub but not on GitHub Pages.
Replicate
I try to use it on code block at this page : https://github.com/techie-joe/library/blob/main/htaccess/index.md
<IfModule mod_rewrite.c>

# Turn on engine
RewriteEngine On

# This rule return 404 on all request for forbidden directory
RewriteCond %{REQUEST_URI} ^/forbidden/ [NC]
RewriteRule ^ - [R=404,L]

</IfModule>

Suggestion
Use text as a substitute.

done. see explaination in Syntax highlighting for code blocks

closed this issue


doctor: guard against nil Xcode.version

[X] Have you followed the guidelines in our Contributing document?
[X] Have you checked to ensure there aren't other open Pull Requests for the same change?
[X] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

MacOS::Xcode.version may be nil (when neither Xcode nor CLT are installed), so guard against that where it may happen in brew doctor.
Fixes Homebrew/legacy-homebrew#50671
This doesn't address the related issue that MacOS::Xcode.version is a string, not a Version, so doing < or >= comparisons sorts lexicographically, and may give the wrong answer for the semantics of version strings.

This doesn't address the related issue that MacOS::Xcode.version is a string, not a Version, so doing < or >= comparisons sorts lexicographically, and may give the wrong answer for the semantics of version strings.

Actually, this isn't even an issue at the moment, because this function is guaranteed to return a string that has only single-digit version components, so lexicographic and version number comparison should yield identical results. (Our current MacOS::Xcode.version will simply fail once there's an Xcode 10.)

...so lexicographic and version number comparison should yield identical results

Excellent. This is guaranteed simply because no existing Xcode release has had a major, minor, or patch version component larger than 9, right?

This is guaranteed simply because no existing Xcode release has had a major, minor, or patch version component larger than 9, right?

And because the regular expression we use to extract the Xcode version number doesn't allow for multi-digit version components, probably because this hasn't been necessary yet. 😀

Cool.
I'm kind of itching to change MacOS::Xcode.version to use a Version object, and give Version a representation for "N/A" to eliminate this whole nil check. But it's not a pressing need, so... maybe some day.


Consider merging k8s object labels

Area(s)
area:k8s
Is your change request related to a problem? Please describe.
At the moment the k8s semantic conventions define the k8s.pod.label.* and k8s.pod.annotation.* attributes: https://github.com/open-telemetry/semantic-conventions/blob/v1.26.0/model/registry/k8s.yaml#L74-L85
This implies that if we want to add the labels for additions for other kind of objects we need to define the k8s.node.label.*, k8s.deployment.label.* etc.
However, I wonder if this distinction really make sense and if we should instead have unified k8s.label.* and k8s.annotation.* attributes to cover for all.
On a k8s environment we can search for all types of objects using the same label. For example:
> kubectl get pod,ds,clusterrole,serviceaccount,cm,clusterrolebinding -l app.kubernetes.io/name=opentelemetry-collector

NAME                                     READY   STATUS    RESTARTS   AGE
pod/otel-collector-agent-f8glh   1/1     Running   0          3m42s
pod/otel-collector-agent-r5zcf   1/1     Running   0          3m42s
pod/otel-collector-agent-xx5b6   1/1     Running   0          3m42s

NAME                                          DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
daemonset.apps/otel-collector-agent   3         3         3       3            3           <none>          3m42s

NAME                                                                 CREATED AT
clusterrole.rbac.authorization.k8s.io/otel-collector-agent   2024-07-12T08:11:21Z

NAME                                          SECRETS   AGE
serviceaccount/otel-collector-agent   0         3m48s

NAME                                     DATA   AGE
configmap/otel-collector-agent   1      3m45s

NAME                                                                        ROLE                                       AGE
clusterrolebinding.rbac.authorization.k8s.io/otel-collector-agent   ClusterRole/otel-collector-agent   3m47s

So an equivalent query to a backend should provide similar experience without the need to scope the search for each of the different resource types.
The only drawback I see here is that there is potentially a case to be made where for a signal we would to like to enrich with both the Pod's labels and the Node's label, for example, but those have different values for the same keys. This would result into conflict/overlap so the question of which is the one that should be used occurs. However, I'm not sure if having sth like this is a good practice from k8s ops perspective 🤔.
Describe the solution you'd like
The purpose of the issue is to clarify if k8s labels/annotation should be scoped under each specific resource.
@open-telemetry/semconv-k8s-approvers I would love to hear your thoughts on this.
Describe alternatives you've considered
No response
Additional context
Related to https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/27909
No response

I prefer the existing k8s.<object>.label.* convention. As you point out, the unified approach introduces the potential for conflicts, but it also loses information that is important.
For example, suppose you want to filter metrics based on whether it comes from a pod in a particular k8s service.  K8s services use label selectors on the pod object, so I would want to be able to filter on k8s.pod.label.foo, as k8s.label.foo could include metrics from pods which are not actually part of the service.

I agree with @dashpole.  In addition, the existing namespaces does not restrict searching for more than one object type with a particular label since you could use an OR clause to find multiple.

It seems we are ok with what we have today. Closing this issue.


Implementation of baseVertex support

Fixes https://github.com/playcanvas/engine/issues/6751
Added support primitive baseVertex for WebGPU and Batching.
I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

Is there an alternative of base vertex but for the WebGL to ensure parity between renderers?

Is there an alternative of base vertex but for the WebGL to ensure parity between renderers?

There is no cheap alternative for WebGL2. Only if you change the array of indices directly, via Mesh.setIndices

The real solution is for WebGL to support WEBGL_draw_instanced_base_vertex_base_instance on more devices. Till then this is a WebGPU feature (as compute shaders for example)

LOL. 0.2% support.
https://web3dsurvey.com/webgl2/extensions/WEBGL_draw_instanced_base_vertex_base_instance

LOL. 0.2% support.
https://web3dsurvey.com/webgl2/extensions/WEBGL_draw_instanced_base_vertex_base_instance

that is slightly less (-0.04%) than a month ago.
I don't get it. WebGPU supports it, meaning my mac book pro supports it. Some browsers support it on WebGL .. I assume that's not Chrome then?
Searching online, Chrome supports it behind a flag .. when they enable it, this will go to 50%


Add arrests label

Chose somewhat relevant emoji, but mostly because it's bright red and should stand out on all devices: https://emojipedia.org/police-car-light/
Couldn't quite decide if noun should be arrest or arrests. Went with arrest.

Closes #4

Any particular reason this was closed rather than merged?

I force overwrote the branch here to remove sensitive info, which ended up closing all open PRs...I'll add this in soon!


Automate Putting dylibs to .app directory

this pr uses dylibbundler to automate the task of putting the dylibs required by the dotto binary into the .app directory.
this allows us to use more dependencies without needing to update the package_macosx script.

all of a sudden SDL_Error.h is not found, nice


contrib/header_keeper: a cog in the toolchains to generate FFI wrapper for C-like languages

This is needed by @Tagachi for the Objective-C wrapper.
Once again, everything is in the doc:
Filters preprocessed C-like header files to remove included files
This tool is used in the process of parsing header files to extract
information on the declared services (the functions and structures).
This information is then used to generate bindings for Nit code
to access these services.
The C preprocessor extends macros, inline files marked with #include,
and more. This tool acts after the C preprocessor, in a way to keep
everything but the included files. It searches for line pragmas
to identify the source of each line. The result is printed to stdout.
Typical usage on the output of gcc -E (it would be the same with clang):
gcc -E /usr/include/SDL/SDL_image.h | header_keeper SDL_image.h > preprocessed_header.h

This module can also be used as a library. The main service is the method header_keeper.

+1

1

1

+1

+1

Reroll to fix receiver of oef.


[core] Missing GLSL 120 shader for shaders_basic_lighting example

Please, before submitting a new issue verify and check:

[Y] I tested it on latest raylib version from master branch
[Y] I checked there is no similar issue already reported
[Y] My code has no errors or misuse of raylib

Issue description
The basic_lighting example doesn't work on RPi OS Desktop (it launches but the cube in the center is white).
Environment
OpenGL 2.1 on RPIOS BullsEye running on RPI 0 2W.
Issue Screenshot

Code Example
You need to change GLSL_VERSION to 1.2 in /examples/shaders/shaders_basic_lighting.c
#if defined(PLATFORM_DESKTOP)
    #define GLSL_VERSION            120    // This is normally 330

Then you just need to run make with the PLATFORM_DESKTOP and GRAPHICS_API_OPENGL_21 flags on and run the basic lighting example.

@Trithilon Please, could you move this improvement to a separate PR to avoid mixing issues?

@Trithilon Please, could you move this improvement to a separate PR to avoid mixing issues?

@raysan5  : Silly question, how do I decouple/undo my commit c006ff6 from pr #2649 ? I am unable to find an option to do that.

@Trithilon you probably have to force push it out of existence
git reset --soft HEAD~1
git push -f

I think that implementing the changes in separate branches and PR each one individually should also work.

@Trithilon Feel free to send a PR only with this change.


Add a draft proposal

Checking list:

[ ] Allow setting time zone given ${TIMEZONE} on start
[ ] Allow setting password given ${SUDO_PASSWORD_HASH} on start (once only)
[ ] Allow loading public keys for SSH given ${PUBLIC_KEY_DIR} on start
[ ] Automatically start SSH service on start
[ ] Support magic_pause

/tmp/__magic_exit_1
/tmp/__magic_exit_0

Checking list:

[ ] Allow setting time zone given ${TIMEZONE} on start
[ ] Allow setting password given ${SUDO_PASSWORD_HASH} on start (once only)
[ ] Allow loading public keys for SSH given ${PUBLIC_KEY_DIR} on start
[ ] Automatically start SSH service on start
[ ] Support magic_pause

/tmp/__magic_exit_1
/tmp/__magic_exit_0

Checking list:

[ ] Allow setting time zone given ${TIMEZONE} on start
[ ] Allow setting password given ${SUDO_PASSWORD_HASH} on start (once only)
[ ] Allow loading public keys for SSH given ${PUBLIC_KEY_DIR} on start
[ ] Automatically start SSH service on start
[ ] Support magic_pause

/tmp/__magic_exit_1
/tmp/__magic_exit_0


‼ Note that Ultradom was originally Picodom ‼

I saw a note that Picodom was renamed to Patchdom but not that it was then renamed to ultradom, was confused by "Ultradom" reference in https://github.com/hyperapp/hyperapp/issues/632#issuecomment-370461629. A note in README.md would be nice, I think.

I also had hard time to follow, glad to find my way back to this repo :D


Better arg parsing and support one package at a time

refactor main code to take one parameter at a time
add tests
Make writing the report and json optional

closes #6 #5


📦 Release

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
<EMAIL_ADDRESS>Major Changes

all: Simplifying our package names from @baloise/design-system-* to @baloise/ds-* ( #1344)
Please check out the more detailed Upgrade Guide to v16.

Old Package Name

New Package Name

@baloise/design-system-components
→
@baloise/ds-core

@baloise/design-system-components-angular
→
@baloise/ds-angular-module

@baloise/design-system-components-angular/standalone
→
@baloise/ds-angular

@baloise/design-system-components-angular/legacy
→
@baloise/ds-angular-legacy

@baloise/design-system-components-react
→
@baloise/ds-react

@baloise/design-system-components-vue
→
@baloise/ds-vue

@baloise/design-system-components-table
→
@baloise/ds-table

@baloise/design-system-cli
→
@baloise/ds-devkit

@baloise/design-system-\*
→
@baloise/ds-\*

css: The CSS package is marked as deprecated. Upgrade to @baloise/ds-styles. ( #1344)
Please check out the more detailed Upgrade Guide to v16.

button: properties topRounded and bottomRounded has been removed, due to not match the design criteria. ( #1344)

navigation: has been removed and replaced with bal-nav to improve performance and SEO. ( #1344)

Minor Changes

styles: standardize the design tokens, facilitating their export to platforms such as Figma and others. With the introduction of these new design tokens, we can automatically generate CSS utility classes. ( #1344)
Please check out the more detailed Upgrade Guide to v16.

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

:rocket: Welcome to Baloise ChatOps based GitOps Bot :tada:
- If you want to enable preview environments for this PullRequest, comment with `/preview`.
- If you want to disable the preview environment for this PR, comment with `/undeploy`.
- If you need help or want to see the docs, comment with `/help`.

Make sure to refresh this page after submitting a command.
Preview environments can be redeployed automatically if you enable the webhook for updates to the source branch. :new:

Have fun building awesome apps! :hammer:  :whale2:  :truck:  :ship:


[MPLUGIN-529] Add new report goal 'report-no-fork' which will not invoke process-classes

Forward patch of #310 to 4.x

@michael-o The build failure appeared to be because the IT used on 3.x was using javadoc tags instead of annotations. Would you like to have the 3.x test be updated as well?

@michael-o The build failure appeared to be because the IT used on 3.x was using javadoc tags instead of annotations. Would you like to have the 3.x test be updated as well?

Yes, please.

@mattnelson I would be worthwhile to backport he annotations patch to the 3.x branch as well.

I have discovered a few more cleanups required prior this can be merged. Please stay put.


Flag --incompatible_config_setting_private_default_visibility will break Kythe in a future Bazel release

Incompatible flag --incompatible_config_setting_private_default_visibility will be enabled by default in a future Bazel release [1], thus breaking Kythe.
The flag is documented here: https://github.com/bazelbuild/bazel/issues/12933.
Please check the following CI builds for build and test results:

Ubuntu 20.04 LTS (OpenJDK 11, gcc 9.4.0)

Never heard of incompatible flags before? We have documentation that explains everything.
If you have any questions, please file an issue in https://github.com/bazelbuild/continuous-integration.
[1] The target release hasn't been determined yet. Our tool will update the issue title once the flag flip has been scheduled.

It looks like this is a problem with the Go rules:
(01:15:45) ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/226b49198bc606791e41a1a39aa77815/external/io_bazel_rules_go/BUILD.bazel:106:10: in go_config rule @io_bazel_rules_go//:go_config: target '@io_bazel_rules_go//go/private:stamp' is not visible from target '@io_bazel_rules_go//:go_config'. Check the visibility declaration of the former target if you think the dependency is legitimate

I can't reproduce this with just the flag, does it require a version of Bazel newer than 5.3.2?

Ah, nevermind, needed --incompatible_enforce_config_setting_visibility as well.


(2) MdisPlugin: implement meta data accessors

Block by:
none
Implement the following methods and related member variables in MdisPlugin:

[ ] getPluginName(): see CSM TRD Section 5.6
[ ] getManufacturer(): see CSM TRD Section <IP_ADDRESS>; consult with @thareUSGS and @jlaura
[ ] getReleaseDate(): ISO 8601 yyymmdd
[ ] getCsmVersion(): CURRENT_CSM_VERSION (csm.h)
[ ] getNumModels(): Can be 1 for now, eventually 2 for NA c and WAC?
[ ] getModelName()
[ ] getModelFamily()
[ ] getModelVersion()

Most of these are going to be hard coded for now


Create client boilerplate -3-

Frontend client boilerplate should be created.
Requirements

React should be used for frontend
Redux and immutable should be used.
Config should be imported from environment file
Eslint should be used

https://github.com/ardaogulcan-ci/tweetboard-client/tree/feauture/boilerplate


Specifying which axis to plot

In the case where the figure has multiple subplots, it would be great to have a setaxis option which specifies exactly which axis to plot onto by parsing in a pyplot axis object. You may also want to consider the fact that one may not want the current axis to change just because a splot command was used, in this case it would be best to only temporarily change the axis for the scope of the function . Each plot function could then set the current axis with a call similar to:
if (setaxis != None):
    curaxis = plt.gca() # gets the current axis
    plt.sca(setaxis) # sets the axis to the one specified

make plots

if (setaxis != None):
    plt.sca(curaxis) # return to the previous current axis

Thanks for the suggestion. This is implemented now on 0.2.3.


Vagrant: use-external PostgreSQL broken

Expected Result
use-external builds a valid external PostgreSQL vagrant box.
Actual Result
I was trying to provision an external PostgreSQL server with use-external.
Two issues:

The defined repository is pointing to the PGDG repository's xenial-pgdg suite. The defined Vagrant box is using bento/ubuntu-18.04 (a.k.a. bionic). Defined here: https://github.com/chef/chef-server/blob/13e5c1f17c7b08abdbc710142616643c43192fe2/dev/scripts/provision-postgres.sh#L1
Packages won't install since the defined package names do not exist:E: Unable to locate package postgresql-13.3
E: Couldn't find any package by glob 'postgresql-13.3'
E: Couldn't find any package by regex 'postgresql-13.3'

From: https://github.com/chef/chef-server/blob/13e5c1f17c7b08abdbc710142616643c43192fe2/dev/scripts/provision-postgres.sh#L5

This looks to have been closed with #2844 and #2932


chore: add a docker-compose.yml to make running opencast easier

Add a docker-compose.yml that runs the indexer and opencast
You should be able to run opencast by providing env values and running docker-compose up
Might require publishing an image of the lazy indexer to the docker registry

Putting 100 USDC reward on this one!
Add your wallet address with the PR and on merge, message me at https://warpcast.com/dalechyn.eth.

https://github.com/stephancill/opencast/pull/41

fixed by #41


Ability to Edit Concurrency as well as Time Duration for Tests

Want to be able to adjust the default time of each concurrent process run from 30 seconds to anytime, as well as statically set the amount of concurrent processes that will run at one time.
Is this possible by adjusting the files? Or is the init_bench binary precompiled already if installed via pip?

Nevermind, this can be edited.
For others curious, to edit the concurrency, edit the NUM_CONCURRENCY variable in the following file
/home//.local/lib/python3.11/site-packages/vectordb_bench/init.py
To edit seconds the test is run for, edit the duration variable in the init function.
/home/labuser/.local/lib/python3.11/site-packages/vectordb_bench/backend/runner/mp_runner.py

@anrahman4
Nice sharing~
We will support more flexible configuration settings in the future!


Multilanguage caption not change

I am using SaaS spanish sandbox environment.
I am using this environment with the US English language and performing copy document in the sales order where i get the proper caption in Type of Document field.
When I change the language to the spanish the caption of the Type of Document is still remain in Us instead of spanish.
What is the solution for this problem? Is this a bug?

Hi @SandipDomadiya,
Please tell us the version you are running.
I'm guessing that you are using the translationFile feature, if so try use "es-ES_tradnl" in your target language instead of "es-ES".

I am using spanish online sandbox
Versión: Plataforma 14.0.29530.32718 + aplicación 32618 (ES Dynamics NAV 14.0)

Also,We have tried with "es-ES_tradnl" instead of "es-ES" but it won't work.

Latest Versión: Plataforma 14.0.29530.33686 + aplicación 32618 (ES Dynamics NAV 14.0)
but still this issue.
can you please update.

@SandipDomadiya we believe this issue has been resolved in the Wave 2 2019 release. Could you please confirm?

Hi @SandipDomadiya could you please attach the code sample/project demonstrating the issue? It would help us to get a repro.


Added "General" errors. Returns 0 on success.

see https://github.com/Lexikos/AutoHotkey_L-Docs/pull/123#issuecomment-132432265


refactor(es6) upgrade JsonpTemplatePlugin to ES6 class

What kind of change does this PR introduce?
refactor, ES5 => ES6
Did you add tests for your changes?
All existing tests pass
If relevant, link to documentation update:
N/A
Summary
upgrade JsonpTemplatePlugin to ES6
Does this PR introduce a breaking change?
N/A
Other information

S

Please sign the CLA

Thanks


Added Roslyn CSharp code formatting options to omnisharp.json.

Addresses Issue #31

@DustinCampbell thoughts?
Looks valuable to me.

Hey @bstockus: Are you OK with matching value case-insensitively?

That makes sense to me.  I will add a commit with those changes to this PR.

LGTM


RFC0015 and RFC0016: task -> PUBs

The acronym PUB (for Primitive Unified Blocs) was suggested as an alternative name to task in RFCs 0015 and 0016.

LGTM! Also, seems like 0017 needs renaming too.

LGTM! Also, seems like 0017 needs renaming too.

added in 4da600dbe96784f48209b522e6b5d79fd6864be8


docs: write a guide for the markdown sync

WIP

Not crazy at all. I’ll wait for @tmastrom’s scalar check PR, though. That’ll be the foundation for more magic :)


[Dashboard] Show online friends list

Change this card to incorporate this change

This card should a show currently online friends list with a green dot on side

You're required to make a React component for this task

@meet59patel I would like to work on this issue.

@meet59patel Also, can we have 3 columns namely, Photo, Name and Status(Online/Offline with green dot)? This can make it more readable, and independent of the image background, in case we think of adopting the way the status is shown in social media applications

@Aniruddhmuley2001 that's a good idea.


Add Android platform

Do some research on how the proximity sensor works on Android devices and add the platform code.

Added some time ago thanks to damulkan and gniezen.


Query execution

We have written the needed data into your clipboard because it was too large to send. Please paste.

What is the issue you are having?


PHP Mailer No Longer Support For PHP 8+

Please Make Hustal With Lastest PHPMailer,PHP 8 No Longer Supported
If Using PHP 8+ You Will Get Some Error When Using Project-Hustal

Ok I will try it

I am currently taking a look into this issue. I will see if PHP 8.0 can be used in Project-Hustal.

Too tired to work on it for tonight, will have to work on it another time tomorrow.


Reflect API changes from Kaia v1.0.1

https://github.com/kaiachain/kaia/pull/33
TBU (kaia_gasPrice, eth_gasPrice, kaia_maxPriorityFeePerGas, eth_maxPriorityFeePerGas) changes

api: Message signing RPCs are EIP-191 compliant

Please replace the RPC descriptions. I want the (...This prevents misuse...) paragraph removed because the EIP explains the rationale. I also want the (...Steps to test...) paragraph removed because it describes regular Ethereum API behavior which we don't have to explain.

klay_sign, kaia_sign, eth_sign, personal_signThe method calculates an [EIP-191](https://eips.ethereum.org/EIPS/eip-191) signature: sign(keccak256("\x19Ethereum Signed Message:\n" + len(message) + message)))

**NOTE**: In versions earlier than Kaia v1.0.1, the method calculates an [KIP-97](https://kips.kaia.io/KIPs/kip-97) signature: sign(keccak256("\x19Klaytn Signed Message:\n" + len(message) + message)))

The personal_ecRecover and kaia_recoverFromMessage methods can verify the signature.

personal_ecRecover
No change
klay_recoverFromMessage, kaia_recoverFromMessageThis method recovers or verifies an ECDSA signature signed by a private key associated with the given address.

The signature has to be signed by the private key that constitutes the account, e.g. "natural" private key of a Legacy account, one of the keys of a WeightedMultisig account.

Both [EIP-191](https://eips.ethereum.org/EIPS/eip-191) and [KIP-97](https://kips.kaia.io/KIPs/kip-97) signatures are accepted.

klay_signTransaction, kaia_signTransaction, klay_signTransactionAsFeePayer, kaia_signTransactionAsFeePayer, eth_signTransaction
Remove the paragraph: ...will be failed to baobab/cypress... Step 3: Unlock the account for using in signing

2. Gas price recommending RPCs
Please update the RPC descriptions.

klay_gasPriceAt, kaia_gasPriceAt
Remove the API. It's deleted since v1.11.0 https://github.com/klaytn/klaytn/releases/tag/v1.11.0
klay_gasPrice, kaia_gasPrice, eth_gasPrice

DescriptionReturns a recommended gasPrice for a new transaction.

- Before Magma, returns the fixed UnitPrice
- After Magma, returns the twice of next baseFee (2*baseFee)
- After Kaia, returns slightly buffered baseFee plus recommended tip (BaseFee * (1.10 or 1.15) + eth_maxPriorityFeePerGas)

ResultRecommended gas price in kei

klay_maxPriorityFeePerGas, kaia_maxPriorityFeePerGas, eth_maxPriorityFeePerGas

DescriptionReturns a recommended maxPriorityFeePerGas for a new transaction.

- Before Magma, returns the fixed UnitPrice
- After Magma, returns zero
- After Kaia, returns zero if network is uncongested (i.e. next baseFee at its lower bound), otherwise 60% percentile effective tip from previous 20 blocks (under default setting)

ResultRecommended maxPriorityFeePerGas in kei


Compatibility issue with Laravel 5.0

Recently I installed riari/laravel-forum:~3.0 package into my Laravel 5.0 project, but gave me errors  at end of installation in php artisan clear-compiled : Class Illuminate\Contracts\Auth\Access\Gate does not exist and Script php artisan clear-compiled handling the post-update-cmd event returned with an error.
when i installed the package v-3.0 into laravel 5.1, and package v-2.4.9  to laravel 5.0, it worked.
I searched but i couldn't find the solution for it, and i still need  riari/laravel-forum:~3.0 for my project in laravel 5.0.

but how about v-2.4.9, is it works perfectly for laravel 5.0?

Yes, 2.X doesn't use Authorization.

Thank you very much


Remove Helpin' Red from LEARNING.md

Helpin' Red's certificate expired 543 days ago so I'd like to remove it to be safe and substitute in Red By Example. It's unfortunate because Helpin' Red is a good resource otherwise. Thoughts?

I think that is a good idea. You could also link to the wayback machine for when you trusted it.

Yeah, I worded that poorly, but I didn’t want to spook the student by sending them to a site where the browser may warn them not to enter. I’d like to keep the link so we can wait a little while . If the cert is fixed, we can keep the link and still add Red by Example.

I like @kotp 's idea of giving a link to archive.org: http://web.archive.org/web/20220116214527/https://helpin.red/

Also, would be nice to have some meaningful commit message, with reason of such change.

Sounds good. I'll update this early next week.

The certificate for https://helpin.red/ has been renewed so I'm going to close the PR.


Ae stuffs

I added default classes/races/spells/monsters each has their own page with the appropriate API call to the dnd api, need to do some more but its a good baseline.
added navbar with a spot for the logo. Defaults will be a drop down to view default 5e info


Multiple problems with VoiceOver on iOS not using the correct locale.

Voice Over usage hints
When VoiceOver is active you tap once on buttons etc. to select them and then double-tap to activate them. If you feel lost, engage Siri and say "VoiceOver" and you can tap the switch and then double tap to disable. In my experience saying "VoiceOver" to bring up that setting works regardless of the activated system language.
If your device does not have a home button, to swipe from bottom while VocieOver is activated you have to long press at the bottom of your screen until you hear a sound, then swipe up until it gives a second sound, then release your finger.
Steps to Reproduce

flutter create bug_locale
replace lib/main.dart with code sample
Build in Xcode and run on an physical device. Continue to next step when the app has started on your device.
Go to iOS home screen => settings => language and change language to Italian. (or any other language that is not en-US, en-UK or Danish)
Use Siri and say "Voice Over". It will surface the setting to enable VoiceOver. Tap to enable it.
Use app switcher to go to bug_locale.
Swipe down with two fingers. This is the command to VoiceOver to read the contents of the screen.

Expected results:
I expect that the screen reader is using the corresponding voice for the different texts. See the list below of expected voices of each text:

"Hello World" - UK English voice
UK Text (no override)" - UK English voice
"UK Text (using override)" - UK English voice
"American text" - US English voice
"Dansk text" - Danish voice
"Localizations.override på dansk." - Danish voice

Actual results:

Wrong: "Hello World" is spoken with Italian voice
Wrong: "UK Text (no override)" is spoken with Italian voice
Correct: "UK Text (using override)" is spoken with UK English voice
Correct: "American text" is spoken with US English voice
Correct: "Dansk text" is spoken with Danish voice
Wrong: "Localizations.override på dansk." is spoken with Italian voice.

Turn on audio:
https://user-images.githubusercontent.com/4630670/155397154-a4392d82-6e33-44d9-b7c6-56e20b736e23.mp4
Problems:

The locale set in MaterialApp is not communicated to VoiceOver. So any text that doesn't have an explicit override uses system voice (Italian in the reproduction case).
Localizations.override to set the locale of a sub tree does not affect VoiceOver.

Related issues

https://github.com/flutter/flutter/issues/98948
https://github.com/flutter/flutter/issues/98835

References

BBC-article with implementation tips

Code sample - lib/main.dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      supportedLocales: const [
        Locale('en', 'UK'),
      ],
      locale: const Locale('en', 'UK'),
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Hello World!'), // should be voiced with UK Engilsh voice (app default)
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text('Regular text without locale override. Should use UK voice.'), // should be vocied with UK English vocie (app default)
            Container(height: 20.0),
            const Text.rich(
              TextSpan(children: [
                TextSpan(text: 'UK text (no override). '), // should be vocied with UK English vocie (app default)
                TextSpan(text: 'UK text (using override). ', locale: Locale('en', 'UK')), // should be voiced with UK English vocie
                TextSpan(text: 'American text. ', locale: Locale('en', 'US')), // should be voiced with US English voice
                TextSpan(text: 'Dansk text. ', locale: Locale('da', 'DK')), // should be voiced with Danish vocie
              ]),
            ),
            Container(height: 20.0),
            Localizations.override(context: context,
              locale: const Locale('da', 'DK'),
              child: const Text('Localizations.override på dansk.'), // should be voiced with Danish voice
            ),
          ],
        ),
      ),
    );
  }
}

Logs

Unfortunately I don't have flutter doctor -v as I lend a mac to build this and do not have access to the mac right now. But it was stable channel obtained via git ca 18:00 UTC 2022-02-23. Thus it should be 2.10.2.

I acknowledge that problem point 1 and 2 ideally maybe should have had separate issues. However I only have sparse access to a mac and it takes some time to reproduce this so I combined them in the same issue.

Reproducible on stable and master.
In my testing, the device language was set to French.

code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      supportedLocales: const [
        Locale('en', 'UK'),
      ],
      locale: const Locale('en', 'UK'),
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Hello World!'), // should be voiced with UK Engilsh voice (app default)
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text('Regular text without locale override. Should use UK voice.'), // should be vocied with UK English vocie (app default)
            Container(height: 20.0),
            const Text.rich(
              TextSpan(children: [
                TextSpan(text: 'UK text (no override). '), // should be vocied with UK English vocie (app default)
                TextSpan(text: 'UK text (using override). ', locale: Locale('en', 'UK')), // should be voiced with UK English vocie
                TextSpan(text: 'American text. ', locale: Locale('en', 'US')), // should be voiced with US English voice
                TextSpan(text: 'Dansk text. ', locale: Locale('da', 'DK')), // should be voiced with Danish vocie
              ]),
            ),
            Container(height: 20.0),
            Localizations.override(context: context,
              locale: const Locale('da', 'DK'),
              child: const Text('Localizations.override på dansk.'), // should be voiced with Danish voice
            ),
          ],
        ),
      ),
    );
  }
}

video
https://user-images.githubusercontent.com/88313112/155939227-049e7490-b393-407d-bbc1-cc82001a686e.MOV

flutter doctor -v
[✓] Flutter (Channel stable, 2.10.2, on macOS 12.2 21D49 darwin-arm, locale en-GB)
    • Flutter version 2.10.2 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (9 days ago), 2022-02-18 19:33:08 -0600
    • Engine revision a83ed0e5e3
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:351:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1426:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1861:10)
      #15     runZonedGuarded (dart:async/zone.dart:1849:12)
      #16     runZoned (dart:async/zone.dart:1780:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:205:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:309:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:48)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1320:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

[✓] VS Code (version 1.64.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.34.0

[✓] Connected device (3 available)
    • M2007J20CG (mobile) • 5dd3be00 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)     • macos    • darwin-arm64   • macOS 12.2 21D49 darwin-arm
    • Chrome (web)        • chrome   • web-javascript • Google Chrome 98.0.4758.109

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.11.0-0.0.pre.697, on macOS 12.2 21D49 darwin-arm, locale en-GB)
    • Flutter version 2.11.0-0.0.pre.697 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fc2a0847fb (67 minutes ago), 2022-02-28 01:01:17 -0500
    • Engine revision 05d1b5a66b
    • Dart version 2.17.0 (build 2.17.0-150.0.dev)
    • DevTools version 2.11.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] IntelliJ IDEA Community Edition (version 2021.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin version 213.5744.122

[✓] VS Code (version 1.64.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.34.0

[✓] Connected device (3 available)
    • M2007J20CG (mobile) • 5dd3be00 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)     • macos    • darwin-arm64   • macOS 12.2 21D49 darwin-arm
    • Chrome (web)        • chrome   • web-javascript • Google Chrome 98.0.4758.109

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

/cc @chunhtai

This is WAI
The MaterialApp.locale is for text localization, such as  CupertinoLocalizations and MaterialLocalizations, when you want to display different text based on different locale. It is different from the TextSpan.locale which will override the voiceover locale when it read the text. TextSpan.locale is used when you are sure that text span should be pronounced in a certain language regardless of the voiceover locale user is running on.

Thank you for the attention.
I find it a bit confusing that locale attribute does different things on different widget. Made a proposal on how to document current facilities in the docs.
I do think that MaterialApp.locale and also Localizations.override should be propagated to assistive tech, but I understand that is technically a feature request to be made.


esp_wifi_scan_start() not performing an ACTIVE scan

The esp32 data sheet specifies:
"Passive or active scanning, as well as the P2P discovery procedure are performed autonomously when initiated by appropriate commands"
However, when testing the esp_wifi_scan_start() API, we observe that a scan of a single channel takes a constant amount of time (200 msec), and a scan of all 11 channels takes 2.2 seconds - which hints the API is performing passive scanning.
An active scan should take 2 orders of magnitude less time (if implemented according to common practices, with appropriate minCT and maxCT durations).
Please update the API to perform active-only Wifi scan. I'd be happy to provide further information or contribute here, please let me know.
Thanks

Active scanning is the most thorough mechanism used to find APs because it actively sends out 802.11 probes across all channels to find an AP. It requires the client to dwell on a particular channel for a set length of time, roughly 10 to 20 milliseconds (ms) depending on the vendor, waiting for the probe response.

Seems like one order of magnitude.  Do all APs respond to null probes?

The active scan algorithm actually uses two timeouts (minCT, maxCT) to reduce the average dwell time, so on average I'd expect it to take less than 10-20 msec per channel.  It would be good to allow these timeouts to be configured by an API to the low level WIFI driver. Regardless... 1 order of magnitude is also critical for some applications.
AFAIK, APs do respond to null probes, it is mandated by the 802.11 specification. Actually, unique-SSID (not null) probes are discouraged by many for security reasons.

Yes I agree that there should be an option for either passive or active (probe based) scan and configurable channel timing windows.  I was reading a paper that said on an active network a probe request latency can be >10ms ~30% of the time.  So user will have to make some choices.

@ry111 The job is on going now.

@TimXia Do we have updated wifi_scan_config_t definition to use new features from https://github.com/espressif/esp32-wifi-lib/commit/b440aba0a53c60446f24ccb58d7dab5023ff9494 ?

@negativekelvin Not yet. The job has been done, but we haven't done enough test on it. We will push it to github immediately after test it over.

Thanks for the work on this, I look forward to this being rolled out.
In the mean time, is an API available to get an event for AP broadcasts so I can do my own passive scan without blocking?

@TimXia Hello, does the recent functionality of choice of passive/active scan could be technically included in the esp8266 API ?

Maybe in the next version.

@TimXia Thank for your quick response, do you know when it could be implemented in the API esp8266 ?

Sorry I haven't gotten the schedule.

Hi Dake01, Here is an example of passive scan on ESP8266

Hi ry111, can we close this issue?

hi can anyone answer this?
can esp 8266 hear my smartphone without being connected to the wifi but with the wifi enabled, and forget  to put it in ap mode  (hotspot)


Improve string extraction from pointer

See https://stackoverflow.com/a/38002085.

Also fixed issue with cases were less data than expected was read.


Optimize AdaptiveServerSelection for replicaGroup based routing

When AdaptiveServerSelector is used with replicaGroupInstanceSelector, it fetches the ranking of all available servers. If a broker is routing to multiple server tenants, we will be unnecessarily fetching the ranking for a lot more servers than required. Note that fetching server rankings also involves waiting for a read lock to fetch the stats.
In this PR, we first determine the candidate set of servers to which a query could be potentially routed. The ranking is performed only for servers in this candidate set.

Codecov Report

Merging #9803 (b7e27a9) into master (58c1dc9) will decrease coverage by 47.31%.
The diff coverage is 69.49%.

@@              Coverage Diff              @@
##             master    #9803       +/-   ##
=============================================
- Coverage     63.05%   15.73%   -47.32%
+ Complexity     5235      175     -5060
=============================================
  Files          1942     1908       -34
  Lines        104467   102617     -1850
  Branches      15833    15608      -225
=============================================
- Hits          65871    16149    -49722
- Misses        33707    85273    +51566
+ Partials       4889     1195     -3694

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
?

unittests2
15.73% <69.49%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...instanceselector/ReplicaGroupInstanceSelector.java
35.00% <0.00%> (+2.34%)
:arrow_up:

...routing/adaptiveserverselector/HybridSelector.java
94.59% <85.71%> (+94.59%)
:arrow_up:

...outing/adaptiveserverselector/LatencySelector.java
94.59% <85.71%> (+94.59%)
:arrow_up:

...adaptiveserverselector/NumInFlightReqSelector.java
95.23% <85.71%> (+95.23%)
:arrow_up:

...query/runtime/operator/MailboxReceiveOperator.java
80.32% <100.00%> (+1.38%)
:arrow_up:

...src/main/java/org/apache/pinot/sql/FilterKind.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ain/java/org/apache/pinot/core/data/table/Key.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...in/java/org/apache/pinot/spi/utils/BytesUtils.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...n/java/org/apache/pinot/core/data/table/Table.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../java/org/apache/pinot/core/data/table/Record.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 1677 more

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


Add Mozambique holidays

Pull Request Test Coverage Report for Build 947

53 of 53 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 940:
0.0%

Covered Lines:
9319

Relevant Lines:
9319

💛  - Coveralls

Great job, thank you very much! 👍

Great job, thank you very much! 👍