unable to verify the first certificate

⚠ Please verify that this question has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
Curl -v is able to verify the connection to my URL inside the container and outside. However I am still getting "unable to verify the first certificate" on my HTTPs monitors.
📝 Error Message(s) or Log
unable to verify the first certificate
🐻 Uptime-Kuma Version
1.23.11
💻 Operating System and Arch
Ubuntu
🌐 Browser
Chrome
🖥 Deployment Environment

Runtime:
Database:
Filesystem used to store the database on: LINODE
number of monitors:  21

Can you please elaborate on your issue? Is your certificate self signed? If so, you should mount your root ca certificate here:
volumes:

./certs/root_ca.crt:/etc/ssl/root_ca.crt:ro

It is a public site. With a DigiCert Root Cert. Curl -v does not return any
issues connecting within the container, but the HTTPS monitor fails.
On Sat, Mar 2, 2024 at 12:44 PM RedPine404 @.***> wrote:

Can you please elaborate on your issue? Is your certificate self signed?
If so, you should mount your root ca certificate here:
volumes:

./certs/root_ca.crt:/etc/ssl/root_ca.crt:ro

—
Reply to this email directly, view it on GitHub
https://github.com/louislam/uptime-kuma/issues/4544#issuecomment-1974875913,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXCR7OSVUZR77RNHMHZKRJLYWIM2PAVCNFSM6AAAAABEAQ6UFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZUHA3TKOJRGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Are you connecting through a proxy? There is an untrusted SSL certificate somewhere, but without extra information it is difficult to debug.
Please check the output of:
openssl s_client -showcerts -connect example.com:443
It is not recommended, however, there is the option to select Ignore TLS/SSL error for HTTPS websites under Advanced when you configure the monitor.

I am not connecting through a proxy. I can share the URL are these emails
back and forth being uploaded to the GitHub in a public form? I know of the
option to ignore TLS/SSL errors however I want to use this monitor to also
monitor the cert.
On Sat, Mar 2, 2024 at 8:00 PM RedPine404 @.***> wrote:

Are you connecting through a proxy? There is an untrusted SSL certificate
somewhere, but without extra information it is difficult to debug.
Please check the output of:
openssl s_client -showcerts -connect example.com:443
It is not recommended, however, there is the option to select Ignore
TLS/SSL error for HTTPS websites under Advanced when you configure the
monitor.
—
Reply to this email directly, view it on GitHub
https://github.com/louislam/uptime-kuma/issues/4544#issuecomment-1974978489,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXCR7OTVAQLCXWKZTZV7YIDYWJ733AVCNFSM6AAAAABEAQ6UFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZUHE3TQNBYHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

are these emails back and forth being uploaded to the GitHub in a public form?

Yes, see the link at the bottom of each email.
Could you click this link on the moniotrs dashboard and share the results?

It is not showing the full certificate chain when I click that button. And
it shows certificate chain "Invalid" it is a wildcard certificate for our
domain. Is there somewhere I can share more details privately? Discord?
On Sun, Mar 3, 2024 at 6:31 AM Frank Elsinga @.***>
wrote:

are these emails back and forth being uploaded to the GitHub in a public
form?
Yes, see the link at the bottom of each email.
Could you click this link on the moniotrs dashboard and share the results?
image.png (view on web)
https://github.com/louislam/uptime-kuma/assets/26258709/6f8f6c19-3fb0-4a5b-8552-51c0f5422098
—
Reply to this email directly, view it on GitHub
https://github.com/louislam/uptime-kuma/issues/4544#issuecomment-1975145291,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXCR7OSYL77WHFD7ZDAIHDTYWMJZXAVCNFSM6AAAAABEAQ6UFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZVGE2DKMRZGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

--

Your server is likely not providing the full certificate chain, and instead only providing the first certificate. Browsers are more error-tolerant and allow this to be considered as secure, presumably as long as they recognize the intermediate certificate.
Please check your server config to make sure you are using something like fullchain.pem.

I will need to verify with the server team responsible. Thank you!


Request Expression Matrix dialog counts projects without matrix-able data

For example: In Prod select "organ=pancreas" and 2 projects are shown, one with "matrix" files and one without. The Request Expression Matrix dialog shows a Projects count of 2 even though only 1 project has matrix-able files available. The dialog should show counts (projects, donors, specimens, estimated cells, files) only for projects with matrix-able files and give a warning such as "Only 2 out of the 5 selected projects contain analysis files suitable for input to the Expression Matrix service".
┆Issue Number: HCAB-341

Will be superseded by #435.


Added new question in general-cs-quiz.ts

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Closes #XXXXX

We already have a similar question in the quiz which provides a good explanation on how merge sort works so we are not going to merge this PR


README Macro inputs tables show required files that are not required

For example with the button examples, it lists many inputs as required but only a few are required.
This may be a wider problem, I imagine we'd want to automate this process as @36degrees has spoken about before.

Believe this is fixed with recent updates


Possibility to select between Roborock or Xiaomi App Cloud

There are 2 kinds of apps you could install:

The Roborock App including Camera support & other functionality
The Xiaomi Home App

Currently your tool only supports to get the Token from the Xiaomi Home App.
Maybe it is possible to change this so you can select what App (Cloud) is used.

Sorry, I just noticed this is already requested.
[https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/issues/182}
I hope this could be fixed, or please add a note to the tool and tell the users to use this app or it won't work. It took me a lot of effort trying to get the token with the "wrong" app.

I already add a comment to the readme, but this is not published yet


go/types: types.CheckExpr returns error when 'FuncType' ast.Expr has TypeParams

Go version
go1.22
Output of go env in your module/workspace:
GO111MODULE=''
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/gura/Library/Caches/go-build'
GOENV='/Users/gura/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/gura/go/pkg/mod'
GONOPROXY='*.uangel.com'
GONOSUMDB='*.uangel.com'
GOOS='darwin'
GOPATH='/Users/gura/go'
GOPRIVATE='*.uangel.com'
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/opt/homebrew/Cellar/go/1.22.0/libexec'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/opt/homebrew/Cellar/go/1.22.0/libexec/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.22.0'
GCCGO='gccgo'
AR='ar'
CC='cc'
CXX='c++'
CGO_ENABLED='1'
GOMOD='/Users/gura/git/fp/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/mr/dvhjg7zd4l125pln73bqyr400000gp/T/go-build857521387=/tmp/go-build -gno-record-gcc-switches -fno-common'

What did you do?
https://go.dev/play/p/ZPv6Er1H6K3
What did you see happen?
error 'undefined: A' is returned
What did you expect to see?
In Go version 1.21, there were no errors

cc @griesemer @findleyr

Hm, this does indeed look like a regression.
More compact reproducer (may be used a test case in fix): https://go.dev/play/p/XZWMNTkAOHo

This is actually working as intended; the fact that the code worked for 1.21 was a bug in 1.21 which was fixed by CL 544035.
Evaluating the function type expression in your code (line 16) requires that the type parameters (here A) are in scope. They are not in scope at the start of the function type, but certainly after the function type. You can make your example work by changing the position provided in line 16 to the end position (example). With that change, the example works and prints OK.
So not a release blocker and not a bug. Will close with a test case for future reference.


Regression: Minimize/maximize/close broken by 1.0.1 runtime update with customized title bar

Describe the bug
I am using Microsoft::UI::Xaml::Window with ExtendsContentIntoTitleBar
This works fine but is a bit awkward with the 1.0.0 libraries.
With 1.0.1 runtime - no rebuild - they visually act as expected (hover/click color changes), but they don't minimize/maximize/close the window.
Steps to reproduce the bug

Get a clean windows install with no Windows App runtime
manually install windows app runtime 1.0.0
install MSIX from https://github.com/fredemmott/OpenKneeboard/releases/tag/v0.2.1
test minimize/maximize/close in that app (openkneeboard). They work fine.
close openkneeboard
install windows app runtime 1.0.1 update
launch open kneeboard
minimize/maximize/close still have visual effects on hover/click (color changes) but no longer minimize/maximize/close the app

Expected behavior
Minimize/close/maximize buttons should minimize/maximize/close the window with 1.0.1 runtime as they did in 1.0.0.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.0
Windows app type

[ ] UWP
[X] Win32

Device form factor
Desktop
Windows version
Windows 10 (21H2): Build 19044
Additional context
No response

So, this is broken if I follow the instructions at https://docs.microsoft.com/en-us/windows/apps/windows-app-sdk/experimental-channel and https://docs.microsoft.com/en-us/windows/winui/api/microsoft.ui.xaml.window.settitlebar?view=winui-3.0
The 1.0.1 release notes at https://docs.microsoft.com/en-us/windows/apps/windows-app-sdk/stable-channel mention:

Additionally, for apps with custom title bars, we have made changes in this release (and fixed numerous issues) that include fixes to the glass window used for drag&drop operations. The recommendation is to use the default values and behaviors (give them a try!). If your title bar used margins so that the default caption buttons were interactive, we recommend visualizing your drag region by setting the background of your title bar to red and then adjusting the margins to extend the drag region to the caption controls.

It was not clear this was a breaking change, rather than an option; as a breaking change in a .z release, I would expect it to only affect applications built against the new version of the SDK

@bpulliam @pratikone please take a look

see if it is same issue as #6895 . Remove the right margin from titlebar element. it shifts the whole custom titlebar to left enough that caption buttons stop working.  working to get the docs updated

I tried that; it fixed the buttons, but it also shifted the overall layout a bunch; after around an hour, I hadn't found a way to get both the buttons to work, and to have the content in the correct position.
Regardless, I don't think having to change the code is an ok expectation/fix for compatibility with an automatically-installed .z update

yeah, we were fixing a few things. with new updates, it will ignore any margin (except for left margin). do try that out. I am closing this bug, if you continue to face any issue, feel free to open this up.


Initializer should be an option

Initializer should be an option.
Current:
new JsonApi('http://example.com', listOfMiddleware)
The issue with this is that the minute we want to pass in additional option, maybe a header, or enable or disable logging, it becomes a headache to manage, and any other calls of the initializer will need to be changed. Where as with an option, we can easily add a key.

I agree and was going to make the same suggestion.


Generate genotypes

Fixes #2

This can be merged once https://github.com/sgkit-dev/bio2zarr/issues/267 is fixed


Logic for migrating media between environments

Abandoning this issue, as requests for this feature have been silent for 2 years


Get Bone like SkinnedMeshRednerer.bones Order

I don't know how to read currect bone index. it is not order with shown Unity Hierarchy, not tree preorder, inorder, postorder.

Unity ModelAsset can get many data, so i use ModelAsset.


toolbar cannot be initialized correctly.

setcookie() is arrays will cause ‘Array to string conversion’ to be wrong.
toolbar cannot be initialized correctly.
Example, Home Controller add code:
setcookie("cookie[three]", "cookiethree"); setcookie("cookie[two]", "cookietwo"); setcookie("cookie[one]", "cookieone");

Well - cookies can’t atore arrays so I don’t think this is ever the case is it? A cookie can only store strings.

yes, arrays do not appear under standard conditions.
but. setcookie can be an array.
http://php.net/manual/en/function.setcookie.php
CI4 does not need to be processed?

Ah. You're absolutely right. I had forgotten that PHP converted that into an actual array when you grabbed it back. Good catch.

Very efficient.👍

@lonnieezell Very efficient.👍


Minor PanelModel config / splitter issues

We should show a splitter on a Panel with a model configured as resizable: true and collapsible: false.  Currently we draw it without the splitter but you can weirdly grab an invisible border to resize.
We should not create a header for that same resizable: true / collapsible: false Panel if it does not have a title, icon, or headerItems of its own.  Currently we do, and you weirdly need to set showHeaderCollapseButton: false to suppress.

Merged.  See #1135


Log the output in a format, that can be read by the sarif-vscode-extension

Summary
Hi, I am in the process of upgrading a project to .NET 6.0. I use the dotnet upgrade-assistant .
This assistant produces logs in the sarif-format. But they cannot be opened with this VSC-extension.

'c:...\AnalysisReport.sarif' was not loaded. Version '2.1.0' and schema 'http://json.schemastore.org/sarif-2.1.0' is not supported.

Is there a plan to support any sarif viewer?
Motivation and goals
I have to read the outcome of the analysis and talk with other developers about the results.

This is addressed in the PR https://github.com/dotnet/upgrade-assistant/pull/927 , we were using an older schema that did not work with VS Code extension. If you pick the version - 0.3.256001 - from the AzDO public feed - dotnet tool update -g upgrade-assistant --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json then you should get an updated SARIF schema version.

You can get a Web view using https://microsoft.github.io/sarif-web-component/, we are making changes to the SARIF log to increase readability in the Web view soon.

Thank you!


Implement percentile aggregation [databricks]

This implements percentile SQL function for both reduction and group by contexts.
Currently, only numeric types are supported --- ANSI internals are not.
Closes:

https://github.com/NVIDIA/spark-rapids/issues/6266

Depends on:

https://github.com/NVIDIA/spark-rapids-jni/pull/1416

build

I'm cool with that, but it would be good to understand why it is off.  If the GPU performs the same order of operations on the same floating point values, it will produce the same output value.  Therefore we must be doing something different, and it would be nice to understand what that is and why we can't fix it.

... it would be good to understand why it is off.

I think I might have part of an answer for that, but I am more than a little confused about exactly why it is happening, and if there is a bug in the NVIDIA compiler. I found a really small repro case that only has 3 values in it.
-17, 27, 87

If you calculate the 90th percentile (.9) The GPU is one bit off compared to the CPU.
-Row(p=75.0)
+Row(p=75.00000000000001)

So I started to pick it apart with printf/etc and everything looked good for the individual parts, but the final result didn't match. When I explicitly cast the values to a double before doing the computation and add in parentheses we get the same answer. Both of these should not impact the output. The order of operations should not change with adding the parentheses and the cast to a double should be done implicitly.  But it looks like it makes a difference with the compiler for some use cases some how. I'll put up a PR for it shortly once I finish testing that it is truly fixing all of the issues.

Nope that didn't fix it??? is static_cast different from (double) in the result it produces???? I have some more debugging to do.

I guess you're testing with the final evaluation step:
(higher - position) * toDoubleValue(lowerKey) + (position - lower) * toDoubleValue(higherKey)

The compiler may perform some sort of optimization with reordering the operation and casting here, so that may be the reason why we have a little different output?
static_cast<double>() is not the same as (double). The compiler knows what to do with static_cast and may optimize it at compile time.

For quick iteration, add this test in spark-rapids-jni Java test:
@Test
  void testHistogram() {
    try (
        ColumnVector values = ColumnVector.fromInts(-17, 27, 87);
        Scalar s = values.reduce(ReductionAggregation.histogram(), DType.LIST);
        ColumnVector his = ColumnVector.fromScalar(s, 1);
        ColumnVector out = Histogram.percentileFromHistogram(his, new double[]{0.9}, false)
    ) {
      TableDebug.get().debug("percentile", out);
    }
  }

Here is my patch that "fixes" the problem, but I don't like it at all.
diff --git a/src/main/cpp/src/histogram.cu b/src/main/cpp/src/histogram.cu
index 408b5f9..bd4cbd1 100644
--- a/src/main/cpp/src/histogram.cu
+++ b/src/main/cpp/src/histogram.cu
@@ -97,7 +97,12 @@ struct fill_percentile_fn {
       return;
     }

-    output[idx] = (higher - position) * lower_element + (position - lower) * higher_element;
+    auto lower_part = (higher - position) * lower_element;
+    auto higher_part = (position - lower) * higher_element;
+    output[idx] = lower_part + higher_part;
+    if (idx < 0) {
+      printf("%lf\n", lower_part);
+    }
   }

   fill_percentile_fn(cudf::size_type const *const offsets_, ElementIterator const sorted_input_,

I think we should keep it as is for now, and then go back and work with the compiler team to figure out what is happening.

@revans2 @jlowe Finally I can say that the reason here is due to the compiler optimizing the evaluation expression. The optimized one here is:
output[idx] = (higher - position) * lower_element + (position - lower) * higher_element;

If I separate them into multiple temporary variables then I can get identical output as the Spark CPU:
volatile double const tmp1 =
        (static_cast<double>(higher) - position) * static_cast<double>(lower_element);
    volatile double const tmp2 =
        (position - static_cast<double>(lower)) * static_cast<double>(higher_element);
    output[idx] = tmp1 + tmp2;

Notice the volatile qualifier here (this essentially prevents compiler optimization for the variables). That's why when @revans2 printed out the result then he got the same output as Spark CPU because the compiler cannot optimize out the related variables --- it has to keep them to print numbers to console.
Please let me know if you want me to patch spark-rapids-jni (code above). That should not block this PR.

Here is the test I did:
  @Test
  void testHistogram() {
    try (
        ColumnVector values = ColumnVector.fromDoubles(10.3, 4.04, 21.7, 18.6);
        Scalar s = values.reduce(ReductionAggregation.histogram(), DType.LIST);
        ColumnVector his = ColumnVector.fromScalar(s, 1);
        ColumnVector out = Histogram.percentileFromHistogram(his, new double[]{0.1}, false)
    ) {
      TableDebug.get().debug("percentile", out);
    }
    try (
        ColumnVector values = ColumnVector.fromInts(-17, 27, 87);
        Scalar s = values.reduce(ReductionAggregation.histogram(), DType.LIST);
        ColumnVector his = ColumnVector.fromScalar(s, 1);
        ColumnVector out = Histogram.percentileFromHistogram(his, new double[]{0.9}, false)
    ) {
      TableDebug.get().debug("percentile", out);
    }
    try (
        ColumnVector values = ColumnVector.fromInts(1, 2, 3, 4, 5, 6, 7, 8);
        Scalar s = values.reduce(ReductionAggregation.histogram(), DType.LIST);
        ColumnVector his = ColumnVector.fromScalar(s, 1);
        ColumnVector out = Histogram.percentileFromHistogram(his, new double[]{0.1}, false)
    ) {
      TableDebug.get().debug("percentile", out);
    }
  }

Spark CPU:
scala> val df = Seq(10.3, 4.04, 21.7, 18.6).toDF
df: org.apache.spark.sql.DataFrame = [value: double]

scala> df.selectExpr("percentile(value, 0.1)").show
+-----------------------------------------+
|percentile(value, CAST(0.1 AS DOUBLE), 1)|
+-----------------------------------------+
|                        5.918000000000001|
+-----------------------------------------+

scala> val df = Seq(-17, 27, 87).toDF
df: org.apache.spark.sql.DataFrame = [value: int]

scala> df.selectExpr("percentile(value, 0.9)").show
+-----------------------------------------+
|percentile(value, CAST(0.9 AS DOUBLE), 1)|
+-----------------------------------------+
|                                     75.0|
+-----------------------------------------+

scala> val df = Seq(1, 2, 3 ,4, 5, 6, 7, 8).toDF
df: org.apache.spark.sql.DataFrame = [value: int]

scala> df.selectExpr("percentile(value, 0.1)").show
+-----------------------------------------+
|percentile(value, CAST(0.1 AS DOUBLE), 1)|
+-----------------------------------------+
|                       1.7000000000000002|
+-----------------------------------------+

Our GPU (patched):
╰─ cat com.nvidia.spark.rapids.jni.DecimalUtilsTest-output.txt
GPU COLUMN percentile - NC: 0 DATA: DeviceMemoryBufferView{address=0x7f3b37001600, length=8, id=-1} VAL: null
COLUMN percentile - FLOAT64
0 5.918000000000001
GPU COLUMN percentile - NC: 0 DATA: DeviceMemoryBufferView{address=0x7f3b37001600, length=8, id=-1} VAL: null
COLUMN percentile - FLOAT64
0 75.0
GPU COLUMN percentile - NC: 0 DATA: DeviceMemoryBufferView{address=0x7f3b37001600, length=8, id=-1} VAL: null
COLUMN percentile - FLOAT64
0 1.7000000000000002

Note that we should not compare the output from Spark plugin as casting from double to string in the plugin also produces output with different round off.

I personally would like the patch so that we can remove the incompat.

build

Patch is up (https://github.com/NVIDIA/spark-rapids-jni/pull/1506). Will wait until tomorrow to remove .incompat.

Bringing the failed test mentioned in https://github.com/NVIDIA/spark-rapids-jni/pull/1506:
Consider this test:
data_gen = [('val', RepeatSeqGen(DoubleGen(), length=100))]
@approximate_float
@incompat
def test_exact_percentile_reduction_bobby():
    def doit(spark):
        df1 = gen_df(spark, data_gen, length=373)
        df1.coalesce(1).write.mode("overwrite").parquet("/home/nghiat/TMP/df.parquet")
        df = spark.read.parquet("/home/nghiat/TMP/df.parquet")

       # df = df1
        return df.selectExpr(
            'percentile(val, 0.1)')
    assert_gpu_and_cpu_are_equal_collect(
        doit
    )

The test always passed, with data generated, write to parquet, then read from parquet. When uncommenting # df = df1, the test failed.
Similarly, when testing with input read from just one parquet file, the test always passed:
def doit(spark):
        df = spark.read.parquet("/home/nghiat/TMP/df.parquet")
        return df.selectExpr(
            'percentile(val, 0.1)')

And this test also always passed (with any num value in repartition(num)):
def doit(spark):
        df = gen_df(spark, data_gen, length=373)
        return df.repartition(1).selectExpr(
            'percentile(val, 0.1)')

I put a printf in my JNI code to print the final percentile value. In both cases, my code always outputs the same value: -4.73948e+136.
So there seems to be a bug in shuffling or bug in Spark CPU?

I could step into Spark CPU code and compare the difference in the intermediate variables. Here is the difference in the histogram:
In the failed test (df.selectExpr):
42 = {Tuple2@14010} (-0.0,157)
43 = {Tuple2@14011} (0.0,161)
...
107 = {Tuple2@14178} (NaN,356)

In the passed test (df.repartition(1).selectExpr):
42 = {Tuple2@13724} (-0.0,158)
43 = {Tuple2@13725} (0.0,162)
...
107 = {Tuple2@13892} (NaN,357)

The input column has 16 null rows, leaving 357 rows non-nulls. So somehow, the failed test misses one negative zero, or one negative zero was treated as null.

build

I further escalated into a bug of pyspark (or plugin-related) that is totally independent of this PR. Here is how to reproduce:
from math import *
def test_exact_percentile_cpu():
    def doit(spark):
        data = [(1.779652973678931e+173,), (9.247723870123388e-295,), (5.891823952773268e+98,), (inf,), (1.9042708096454302e+195,), (-3.085825028509117e+74,), (-1.9569489404314425e+128,), (2.0738138203216883e+201,), (inf,), (2.5212410617263588e-282,), (-2.646144697462316e-35,), (-3.468683249247593e-196,), (nan,), (None,), (nan,), (1.822129180806602e-245,), (5.211702553315461e-259,), (-1.0,), (-5.682293414619055e+46,), (-4.585039307326895e+166,), (-5.936844510098297e-82,), (-5234708055733.116,),<PHONE_NUMBER>.053339,), (None,), (4.4501477170144023e-308,), (2.176024662699802e-210,), (-5.046677974902737e+132,), (-5.490780063080251e-09,), (1.703824427218836e-55,), (-1.1961155424160076e+102,), (1.4403274475565667e+41,), (None,), (5.4470705929955455e-86,), (5.120795466142678e-215,), (-9.01991342808203e+282,), (4.051866849943636e-254,), (-3588518231990.927,), (-1.8891559842111865e+63,), (3.4543959813437507e-304,), (-7.590734560275502e-63,), (9.376528689861087e+117,), (-2.1696969883753554e-292,), (7.227411393136537e+206,), (-2.428999624265911e-293,), (5.741383583382542e-14,), (-1.4882040107841963e+286,), (2.1973064836362255e-159,), (0.028096279323357867,), (8.475809563703283e-64,), (3.002803065141241e-139,), (-1.1041009815645263e+203,), (1.8461539468514548e-225,), (-5.620339412794757e-251,), (3.5103766991437114e-60,), (2.4925669515657655e+165,), (3.217759099462207e+108,), (-8.796717685143486e+203,), (2.037360925124577e+292,), (-6.542279108216022e+206,), (-7.951172614280046e-74,), (6.226527569272003e+152,), (-5.673977270111637e-84,), (-1.0186016078084965e-281,), (1.7976931348623157e+308,), (4.205809391029644e+137,), (-9.871721037428167e+119,), (None,), (-1.6663254121185628e-256,), (1.0075153091760986e-236,), (-0.0,), (0.0,), (1.7976931348623157e+308,), (4.3214483342777574e-117,), (-7.973642629411105e-89,), (-1.1028137694801181e-297,), (2.9000325280299273e-39,), (-1.077534929323113e-264,), (-1.1847952892216515e+137,), (nan,), (7.849390806334983e+226,), (-1.831402251805194e+65,), (-2.664533698035492e+203,), (-2.2385155698231885e+285,), (-2.3016388448634844e-155,), (-9.607772864590422e+217,), (3.437191836077251e+209,), (1.9846569552093057e-137,), (-3.010452936419635e-233,), (1.4309793775440402e-87,), (-2.9383643865423363e-103,), (-4.696878567317712e-162,), (8.391630779050713e-135,), (nan,), (-3.3885098786542755e-128,), (-4.5154178008513483e-122,), (nan,), (nan,), (2.187766760184779e+306,), (7.679268835670585e+223,), (6.3131466321042515e+153,), (1.779652973678931e+173,), (9.247723870123388e-295,), (5.891823952773268e+98,), (inf,), (1.9042708096454302e+195,), (-3.085825028509117e+74,), (-1.9569489404314425e+128,), (2.0738138203216883e+201,), (inf,), (2.5212410617263588e-282,), (-2.646144697462316e-35,), (-3.468683249247593e-196,), (nan,), (None,), (nan,), (1.822129180806602e-245,), (5.211702553315461e-259,), (-1.0,), (-5.682293414619055e+46,), (-4.585039307326895e+166,), (-5.936844510098297e-82,), (-5234708055733.116,),<PHONE_NUMBER>.053339,), (None,), (4.4501477170144023e-308,), (2.176024662699802e-210,), (-5.046677974902737e+132,), (-5.490780063080251e-09,), (1.703824427218836e-55,), (-1.1961155424160076e+102,), (1.4403274475565667e+41,), (None,), (5.4470705929955455e-86,), (5.120795466142678e-215,), (-9.01991342808203e+282,), (4.051866849943636e-254,), (-3588518231990.927,), (-1.8891559842111865e+63,), (3.4543959813437507e-304,), (-7.590734560275502e-63,), (9.376528689861087e+117,), (-2.1696969883753554e-292,), (7.227411393136537e+206,), (-2.428999624265911e-293,), (5.741383583382542e-14,), (-1.4882040107841963e+286,), (2.1973064836362255e-159,), (0.028096279323357867,), (8.475809563703283e-64,), (3.002803065141241e-139,), (-1.1041009815645263e+203,), (1.8461539468514548e-225,), (-5.620339412794757e-251,), (3.5103766991437114e-60,), (2.4925669515657655e+165,), (3.217759099462207e+108,), (-8.796717685143486e+203,), (2.037360925124577e+292,), (-6.542279108216022e+206,), (-7.951172614280046e-74,), (6.226527569272003e+152,), (-5.673977270111637e-84,), (-1.0186016078084965e-281,), (1.7976931348623157e+308,), (4.205809391029644e+137,), (-9.871721037428167e+119,), (None,), (-1.6663254121185628e-256,), (1.0075153091760986e-236,), (-0.0,), (0.0,), (1.7976931348623157e+308,), (4.3214483342777574e-117,), (-7.973642629411105e-89,), (-1.1028137694801181e-297,), (2.9000325280299273e-39,), (-1.077534929323113e-264,), (-1.1847952892216515e+137,), (nan,), (7.849390806334983e+226,), (-1.831402251805194e+65,), (-2.664533698035492e+203,), (-2.2385155698231885e+285,), (-2.3016388448634844e-155,), (-9.607772864590422e+217,), (3.437191836077251e+209,), (1.9846569552093057e-137,), (-3.010452936419635e-233,), (1.4309793775440402e-87,), (-2.9383643865423363e-103,), (-4.696878567317712e-162,), (8.391630779050713e-135,), (nan,), (-3.3885098786542755e-128,), (-4.5154178008513483e-122,), (nan,), (nan,), (2.187766760184779e+306,), (7.679268835670585e+223,), (6.3131466321042515e+153,), (1.779652973678931e+173,), (9.247723870123388e-295,), (5.891823952773268e+98,), (inf,), (1.9042708096454302e+195,), (-3.085825028509117e+74,), (-1.9569489404314425e+128,), (2.0738138203216883e+201,), (inf,), (2.5212410617263588e-282,), (-2.646144697462316e-35,), (-3.468683249247593e-196,), (nan,), (None,), (nan,), (1.822129180806602e-245,), (5.211702553315461e-259,), (-1.0,), (-5.682293414619055e+46,), (-4.585039307326895e+166,), (-5.936844510098297e-82,), (-5234708055733.116,),<PHONE_NUMBER>.053339,), (None,), (4.4501477170144023e-308,), (2.176024662699802e-210,), (-5.046677974902737e+132,), (-5.490780063080251e-09,), (1.703824427218836e-55,), (-1.1961155424160076e+102,), (1.4403274475565667e+41,), (None,), (5.4470705929955455e-86,), (5.120795466142678e-215,), (-9.01991342808203e+282,), (4.051866849943636e-254,), (-3588518231990.927,), (-1.8891559842111865e+63,), (3.4543959813437507e-304,), (-7.590734560275502e-63,), (9.376528689861087e+117,), (-2.1696969883753554e-292,), (7.227411393136537e+206,), (-2.428999624265911e-293,), (5.741383583382542e-14,), (-1.4882040107841963e+286,), (2.1973064836362255e-159,), (0.028096279323357867,), (8.475809563703283e-64,), (3.002803065141241e-139,), (-1.1041009815645263e+203,), (1.8461539468514548e-225,), (-5.620339412794757e-251,), (3.5103766991437114e-60,), (2.4925669515657655e+165,), (3.217759099462207e+108,), (-8.796717685143486e+203,), (2.037360925124577e+292,), (-6.542279108216022e+206,), (-7.951172614280046e-74,), (6.226527569272003e+152,), (-5.673977270111637e-84,), (-1.0186016078084965e-281,), (1.7976931348623157e+308,), (4.205809391029644e+137,), (-9.871721037428167e+119,), (None,), (-1.6663254121185628e-256,), (1.0075153091760986e-236,), (-0.0,), (0.0,), (1.7976931348623157e+308,), (4.3214483342777574e-117,), (-7.973642629411105e-89,), (-1.1028137694801181e-297,), (2.9000325280299273e-39,), (-1.077534929323113e-264,), (-1.1847952892216515e+137,), (nan,), (7.849390806334983e+226,), (-1.831402251805194e+65,), (-2.664533698035492e+203,), (-2.2385155698231885e+285,), (-2.3016388448634844e-155,), (-9.607772864590422e+217,), (3.437191836077251e+209,), (1.9846569552093057e-137,), (-3.010452936419635e-233,), (1.4309793775440402e-87,), (-2.9383643865423363e-103,), (-4.696878567317712e-162,), (8.391630779050713e-135,), (nan,), (-3.3885098786542755e-128,), (-4.5154178008513483e-122,), (nan,), (nan,), (2.187766760184779e+306,), (7.679268835670585e+223,), (6.3131466321042515e+153,), (1.779652973678931e+173,), (9.247723870123388e-295,), (5.891823952773268e+98,), (inf,), (1.9042708096454302e+195,), (-3.085825028509117e+74,), (-1.9569489404314425e+128,), (2.0738138203216883e+201,), (inf,), (2.5212410617263588e-282,), (-2.646144697462316e-35,), (-3.468683249247593e-196,), (nan,), (None,), (nan,), (1.822129180806602e-245,), (5.211702553315461e-259,), (-1.0,), (-5.682293414619055e+46,), (-4.585039307326895e+166,), (-5.936844510098297e-82,), (-5234708055733.116,),<PHONE_NUMBER>.053339,), (None,), (4.4501477170144023e-308,), (2.176024662699802e-210,), (-5.046677974902737e+132,), (-5.490780063080251e-09,), (1.703824427218836e-55,), (-1.1961155424160076e+102,), (1.4403274475565667e+41,), (None,), (5.4470705929955455e-86,), (5.120795466142678e-215,), (-9.01991342808203e+282,), (4.051866849943636e-254,), (-3588518231990.927,), (-1.8891559842111865e+63,), (3.4543959813437507e-304,), (-7.590734560275502e-63,), (9.376528689861087e+117,), (-2.1696969883753554e-292,), (7.227411393136537e+206,), (-2.428999624265911e-293,), (5.741383583382542e-14,), (-1.4882040107841963e+286,), (2.1973064836362255e-159,), (0.028096279323357867,), (8.475809563703283e-64,), (3.002803065141241e-139,), (-1.1041009815645263e+203,), (1.8461539468514548e-225,), (-5.620339412794757e-251,), (3.5103766991437114e-60,), (2.4925669515657655e+165,), (3.217759099462207e+108,), (-8.796717685143486e+203,), (2.037360925124577e+292,), (-6.542279108216022e+206,), (-7.951172614280046e-74,), (6.226527569272003e+152,), (-5.673977270111637e-84,), (-1.0186016078084965e-281,), (1.7976931348623157e+308,), (4.205809391029644e+137,), (-9.871721037428167e+119,), (None,), (-1.6663254121185628e-256,), (1.0075153091760986e-236,), (-0.0,), (0.0,), (1.7976931348623157e+308,), (4.3214483342777574e-117,)]

        df = spark.createDataFrame(SparkContext.getOrCreate().parallelize(data, numSlices=None), StructType([StructField('val',DoubleType(),True)]))
        print('null count: ' + str(df.filter(df.val.isNull()).count()))
        print('count: ' + str(df.count()))
        return df.selectExpr('percentile(val, 0.1)')

    with_cpu_session(
        lambda spark : doit(spark).show()
    )
    assert False, "stop here"

The output by running integration test, 4 threads:
╰─ PYSP_TEST_spark_master="local[4]" ./integration_tests/run_pyspark_from_build.sh -k test_exact_percentile_cpu
...
----------------------------- Captured stdout call -----------------------------
null count: 16
count: 373
+---------------------------------------+
|percentile(val, CAST(0.1 AS DOUBLE), 1)|
+---------------------------------------+
|                   -5.92422878000700...|
+---------------------------------------+

If you run this query interactively, you will get the correct output:
>>> df.selectExpr('percentile(val, 0.1)').show()
+---------------------------------------+
|percentile(val, CAST(0.1 AS DOUBLE), 1)|
+---------------------------------------+
|                   -4.73948395756508...|
+---------------------------------------+

@ttnghia I don't know if this is a bug in pyspark or our tests. If an reduction task is scheduled with no data, then it will produce a default value that gets merged with the other tasks. We need to make sure 100% that the default value we return is not going to cause problems when this happens.

build

build

build

build

build

The markdown link failure is expected and I was able to understand why the partial databricks tests are being xfailed so I think this is good to go.


Fix replication specs

Remove the configurations table from the excludes and change the way the replication test suite handles transactional tests.
@Fryguy @gtanzillo @bdunne

:+1: LGTM

👍 LGTM


Reuse terminal operations ordering

Fixes #64865

@dbaeumer in case you're curious.

@alexr00 nice work tracking this down.


Possibility to add several submissions to the leaderboard

Participants should be able to put several submissions on the leaderboard. For the COMETH project, I will submit several reference dataset and I want them to appear on the leaderboard (with meaningful names, see issue #538)
I thought a temporary solution would be to create as many user accounts as reference datasets, however, as creation of a new user account requires a unique email adress identifier, it is not an option.

This problem is almost done being worked on. Updates can be found at PR #542. Let me know if you have any questions.

Dear @Logan-Ruf,
I am not sure to understand how multiple submissions are now working. Is the functionality implemented yet?
Thank you!
Magali

Yes, it is! Here's a little guide on how to change the settings on www.codabench.org in case someone else also has this question.
In the competition edit page, go to the leaderboard tab and edit the leaderboard.

Next, change the submission rule to Add and Delete Multiple and save the leaderboard.

Now save the competition.

Now you should be able to add multiple submissions to the leaderboard. You can also remove a submission from the leaderboard by pressing the green checkmark.

Wonderful :)
Thanks @Logan-Ruf


How to update current UserStatus

I'm building an Android client using the prebuilt Java version of TdLib. Is there a way of setting the current user status to online/offline?
What I need to do is to set the UserStatus to online when the user opens the app and then offline when he leaves.
I didn't find any Function that does this.
Thanks!

You need to use TdApi.SetOption method with the option "online". See https://core.telegram.org/tdlib/options for the list of other useful options.


id.txt is missing in vatex folder

Hello, thanks for very clear instructions of execution of code, but when I downloaded vatex folder, there is no id.txt file inside Featuredata/i3d_kinectics folder. Can you please provide the id.txt file for vatex dataset?

id.txt is present in the folder provided in google drive.


PixmapPacker.updateTextureAtlas can return prematurely

If many pixmaps are packed into a PixmapPacker and then updateTextureAtlas is called, the code can return prematurely.
public synchronized void updateTextureAtlas (TextureAtlas atlas, TextureFilter minFilter, TextureFilter magFilter,
	boolean useMipMaps) {
	for (Page page : pages) {
		if (page.texture == null) {
			...
		} else {
			if (page.addedRects.size > 0) {
				...
				return;
			}
		}
	}
}

The return statement at the end of the code snippet above (line 386 in the current version of the file) will cause the method to return if there exists a page with a texture and added rects, even if subsequent pages in the pages array have not yet been processed.
This can be reproduced by adding a single Pixmap to the packer, calling updateTextureAtlas() to pack that one image, adding another Pixmap that fits on the same page, and then adding enough additional Pixmaps (or one very large Pixmap) that causes the packer to overflow to a new page.  When updateTextureAtlas is called again, the first page completes its packing, but the second page does not.

Thanks, fixed!


Rotor speed measuring

Compute rotor speed using three digital hall sensor signals.

[ ] Write function for computing speed based on hall sensores
[ ] Measure speed using microphone
[ ] Find out physical angle between hall sensored

Info about speed measuring .


Add Fine-Tuning endpoints

Hello, is there a way to "fine-tune" or "train" any of the models that I can use with this plugin, using new data?
I found the official Open-AI fine-tuning tutorial, should I just follow that? Would there be any extra steps? Thank you.

I have not added fine tuning endpoints, as I didn't think they were really relevant to Unity specifically since it's for training models.
Pull requests are welcome.

Thank you for your quick response. I apologize because I am a complete beginner with this API and plugin. Even though you have not added "fine tuning endpoints" yet, would it still be possible to train a model with fine tuning externally, and then use that fine-tuned model in Unity? And if so, what would the steps be for that? Or is that not possible yet without major changes to this plugin?

would it still be possible to train a model with fine tuning externally, and then use that fine-tuned model in Unity?

Yes that is correct


Update the homepage to show routes available

The homepage needs to be rewritten to make it clear what routes are accessible to people using the web page. Some links to the routes available as well as a brief explanation would be perfect, will require defining a new custom route for /.

Closed in PR #86


Petri infodumps

I was really tired yesterday so the entire branch became one big change and uh, whatever.
Take a look.

Let's try to merge this before the GPR because they touch some of the same files.


Universal Back and Forward Allowlist (or DenyList)

OS
No response
LinearMouse
No response
Is your feature request related to a problem?
I'd like to have a option to AllowLIst or DenyList the apps that supports this feature.
Nowadays, only apps listed in this fixed variable are supported and any changes or new software need a code change.
Describe the solution you'd like
A new UI to insert the AllowList to be used in shouldHandleEvent
Describe alternatives you've considered
No response
Additional context
No response

try this
https://gofile.io/d/yMHabA
select the desired compiler in the installer


feat(DockView): add new dockview component

Add a new dockview component
close #3532

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: Vision-Zhang:white_check_mark: ArgoZhang:x: zhaijunlei955You have signed the CLA already but the status is still pending? Let us recheck it.


New package: SRCWA v0.1.1

Registering package: SRCWA
Repository: https://github.com/jonschlipf/SRCWA.jl
Created by: @jonschlipf
Version: v0.1.1
Commit: f5179c7de53b4d7847d103d8c190fe83e568f9a5
Reviewed by: @jonschlipf
Reference: https://github.com/jonschlipf/SRCWA.jl/issues/1

Please ignore/delete this in favor of the 0.1.0 request.


boards: arm: nrf52840dongle_nrf52840: Enable console by default

Enables UART output for samples that do not enable CONFIG_CONSOLE in their config file.
Fixes: https://github.com/zephyrproject-rtos/zephyr/issues/63603

Have you tried this fix with samples/bluetooth/hci_usb ?

Have you tried this fix with samples/bluetooth/hci_usb ?

Yes, I've flashed this sample onto the board with Zephyr from this branch, and I can confirm that the sample behavior remains unchanged (the dongle shows up as a USB adapter in blueman, is able to find devices)
The sample explicitly sets CONFIG_CONSOLE=n, and this has higher priority over the board default value, resulting in # CONFIG_CONSOLE is not set in the zephyr/.config


[Docs] Added ruby-build plugin steps for proper rbenv installation

Notes for Reviewers
This PR fixes #12230
Signed commits

[x] Yes, I signed my commits.

🚀 Preview for commit d86c55203e7a8a2a721b115758a5681973ec854d at: https://66fecbcc05f377d8bff5cda6--meshery-docs-preview.netlify.app

@omgupta-iitk thanks for your work, I will close this PR since there was already someone assigned for this issue.


Linkify wraps images in  making them unusable

When using Linkify, it wraps images in  which makes them invalid.
In the demo, this is clearly shown by doing ![](https://cdn.ceru.tech/sponsus/1729788214794915840/1745970052907274240.png). The image tag is linkify'ed which makes it invalid and render as <img src="[image_url](image_url)"/>

That's not a bug. It searches url-like ranges and it's only your responsibility how to use those. Linkifier works with plain text and does not know enything about more high-level formatting.


How to get radiance, location, mask and other files?

Where to get these files?:
radiance_file
obs_file
loc_file
glt_file
output_base
--state_subs
--loglevel
--logfile

For the target template:
https://github.com/emit-sds/emit-ghg/blob/0a13107150353bf7f37256a9806b43953fb53bf4/target_generation.py#L137-L160
I find them here.

The irr_file is here.

Hello teacher, could you provide a copy of the test data? I would like to run this program. Thank you, teacher

and how to get loc and glt files


Grids don't stretch properly in pages inside a TabViewItem

Describe the bug
Grids don't stretch when navigating to a page from a Frame contained in a TabViewItem.
This behavior differs from pages that are not inside a TabView.
(See animated GIF below).
Steps to reproduce the bug

Add an empty TabView to a page
Create another page and add a grid with <RowDefinition Height="*"/>
Navigate to this new page from an existing tab or add a new tab:

            TabViewItem newItem = new TabViewItem();
            newItem.Header = "New tab";
            newItem.IconSource = new Microsoft.UI.Xaml.Controls.SymbolIconSource() { Symbol = Symbol.Home };
            Frame frame = new Frame();
            frame.Navigate(typeof(SamplePage1));
            newItem.Content = frame;
            TabView1.TabItems.Add(newItem);

Expected behavior
Grid should fill all available space as in windows and pages that are not inside a TabView.
Screenshots

Version Info
NuGet package version: both
[Microsoft.UI.Xaml 2.7.0]
and
[WinUI 3 - Windows App SDK 0.8: 0.8.3]

Windows app type:

UWP
Win32

Yes
Yes

Windows version
Saw the problem?

Insider Build (xxxxx)

May 2021 Update (19043)
Yes

October 2020 Update (19042)

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

Additional context

@chingucoding and @beervoley know whats going on here?

Could it be that there is a VerticalAlignment="Stretch" missing on the TabView causing this? The default TabViewStyle has it set to Top which seems coherent with what we are seeing here. We could change the default value but I am not sure if this is worth it or if it might break more than it would solve.

Thanks for your answer, the problem was caused by VerticalAlignment.
I had no idea it was set to Top by default since the TabView seems to automatically extend across the page.


Do you mind if I continue to develop this project

This is a commendable and fantastic idea. I'm a huge fan of the Portal series. Would you mind if I continued developing this project? I plan to submit my subsequent developments here, acknowledging your original idea and providing a link to your GitHub repository. I eagerly await your response.

Greetings, I'm glad for the interest in my idea, I have plans to rework the code part of the game to add mechanics etc, but have not gotten around to it yet. You are free to modify and use my work, I would be happy to see what you get out of it.


Email verification on sign up

Looks like this in the new accounts system - can we edit text emailed?

Joe to provide copy to customise the signup verification email

Sent text!


[buy from project pool] Make pages accessible

Description
With this PR https://github.com/KlimaDAO/klimadao/pull/1191the main work on "buy from project pool" is done.
You can access the pages here:

BCT (default) https://carbonmark.com/projects/VCS-191-2008/purchase/pools/bct
NCT https://carbonmark.com/projects/VCS-981-2014/purchase/pools/nct

Still, the link from a project pool "Buy now" is still pointing to the main KlimaDao App.
TODOs

[ ] Is the price calculation from the API correct? See https://github.com/KlimaDAO/klimadao/issues/1156
[ ] Double check the fee calculation again
[ ] link the button "buy now" to the correct page

As far as I can think, we can link the buttons together and address the pricing in a follow up-- unless you think something is blocking that I'm forgetting @ladytrekker


yay and paru are tooooooo slow,they can never ever been proxied

i use the http_proxy and the proxychains(with WSL clash) they can never ever been proxied but curl can instead.
i don't know if someone else have the same issue, but i do need a favor.
it's the proxychains.conf file
...
# this might not work and/or cause crashes.
# proxy_dns
...

[ProxyList]
# add proxy here ...
# meanwile
# defaults set to "tor"
http    <IP_ADDRESS> 7890
socks5  <IP_ADDRESS> 7890
#https   <IP_ADDRESS> 7890

this is the export commend
 https_proxy=http://<IP_ADDRESS>:7890

how about using VPNHotspot on your phone and share it to your PC


Avoid rewriting homomorphic mapped types with homomorphic instantiations

fixes #53109
I'm not 100% sure of this change but I can't find why a non-aliased mapped type would have to be rewritten. The PR that introduced this rewriting also mentions explicitly that it's about "inlined mapped types" (PR here) so I think that the ones that are already inline can be just left as-is.

@typescript-bot test this
@typescript-bot run dt
@typescript-bot test top100
@typescript-bot perf test this


Modified GitHub link.py

Trac ticket number

ticket-XXXXX
Branch description
Provide a concise overview of the issue or rationale behind the proposed changes.
Checklist

[ ] This PR targets the main branch.
[ ] The commit message is written in past tense, mentions the ticket number, and ends with a period.
[ ] I have checked the "Has patch" ticket flag in the Trac system.
[ ] I have added or updated relevant tests.
[ ] I have added or updated relevant docs, including release notes if applicable.
[ ] I have attached screenshots in both light and dark modes for any UI changes.

TBH, I'm not sure what do you want to achieve, logger is unnecessary here.


[CP Stag] Only use tab animation when in tab navigator

Details

Deploy blocker. Replace Receipt crashes because the Receipt Selector is not within the tab navigator because we open it up from the three dots in the modal.
Fixed Issues

$ https://github.com/Expensify/App/issues/27903
Tests

[x] Verify that no errors appear in the JS console

Offline tests

Same as QA steps, should work offline
QA Steps

Launch App
Request money via Scan option
Tap the report preview
Tap the request preview
Tap the receipt image
When the modal opens, tap the three dot menu at the top
Select replace
Verify it does not crash and lets you select a new image

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos
change only applies to mobile native

Web

Uploading Screen Recording 2023-33309-22 at 6.50.33 PM.mov…

Mobile Web - Chrome

Mobile Web - Safari

Uploading Simulator Screen Recording - iPhone 14 (16.1) - 2023-09-22 at 18.56.19.mp4…

Desktop

Uploading Screen Recording 34232023-09-22 at 7.08.17 PM.mov…

iOS

https://github.com/Expensify/App/assets/12980971/410ed901-e98a-4e2b-982d-dfc89fa01e26

Android

@eVoloshchak My Android emulator camera won't load. Any way you could test this for me?

Done for all except android. Still having trouble with chrome and native there. Let me know if you have better luck

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.72-11 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 1.3.72-11 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to staging by https://github.com/thienlnam in version: 1.3.74-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.74-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Issue with okteto deployment Syntax error volumes should be 'local_path:remote_path' or 'remote_path'

What happened?
a sample Django app should be deployed on okteto cloud when issuing
okteto deploy --build --wait
What should've happened instead?
okteto deploy --build --wait
x  Syntax error volumes should be 'local_path:remote_path' or 'remote_path'
Additional details
I followed a sample Python Flask deploy and works fine
https://www.okteto.com/docs/samples/python/
But using cookiecutter-django app
and
okteto deploy --build --wait
x  Syntax error volumes should be 'local_path:remote_path' or 'remote_path'
okteto.yml
build:
  django:
    image: sample_cookiecutter_11_july_2022_local_django
    context: .
deploy:
  compose: production.yml

Host system configuration:

Version of cookiecutter CLI (get it with cookiecutter --version): Cookiecutter 1.7.3

OS name and version: Mac 12.5, Python 3.9.9
On Linux, run
lsb_release -a 2> /dev/null || cat /etc/redhat-release 2> /dev/null || cat /etc/*-release 2> /dev/null || cat /etc/issue 2> /dev/null

On MacOs, run
sw_vers
ProductName:    macOS
ProductVersion: 12.5
BuildVersion:   21G72

On Windows, via CMD, run
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"

# Insert here the OS name and version

Python version, run python3 -V: 3.9.9

Docker version (if using Docker), run docker --version: Docker version 20.10.17, build 100c701

docker-compose version (if using Docker), run docker-compose --version: Docker Compose version v2.7.0

...

Options selected and/or replay file:
On Linux and MacOS: cat ${HOME}/.cookiecutter_replay/cookiecutter-django.json
(Please, take care to remove sensitive information)# Insert here the replay file content

Logs:

$ cookiecutter https://github.com/cookiecutter/cookiecutter-django
project_name [Project Name]: ...

My guess would be due to the :Z declaration in the volumes. But why do you think this repository is compatible with Okteto and this is a bug?


Support babel 7

Possibly checking the babel version in the project (cwd) and using babel-register or @babel/register depending on the version.
Relevant parts of the code:
https://github.com/diegohaz/singel/blob/86d9fe65e0df14fab8bab144dfa0a88dae7bb371/src/cli.js#L29
https://github.com/diegohaz/singel/blob/86d9fe65e0df14fab8bab144dfa0a88dae7bb371/package.json#L46

@diegohaz do you want to keep support for babel 6?
Here an PR for babel 7 https://github.com/diegohaz/singel/pull/28


Updated CI workflows to avoid race conditions on PRs with concurrency label

Context:
Currently there exists a race condition within the CI due to misconfiguration of the concurrency label.
This PR updates the affected workflows to fix the concurrency labels.
Description of the Change:
${{ github.event }} is not a string, but rather an object, when you have that in the concurrency label you get:
# Label
group: my-workflow-${{ github.event }}-${{ github.ref }}

# Renders as
group: my-workflow-[object Object]-refs/heads/my-branch

This was causing workflows that had pull_request and workflow_call triggers to overstep on each other's runtime as they both rendered with the same concurrency label.
This PR changes the attribute to use the correct string name event_name.
# Label
group: my-workflow-${{ github.event_name }}-${{ github.ref }}

# Renders as
group: my-workflow-pull_request-refs/heads/my-branch

Benefits:
Race conditions averted. No random job cancellations especially when PR needs wheels built.
Possible Drawbacks:
None.
Related GitHub Issues:
None. sc-66955

LGTM, but do we want to target the RC branch?

Probably best to have it in the default branch first. I'll open a subsequent PR to the rc branch

@maliasadi @vincentmr
Re-requesting a review as I've had to address an additional issue within the PR.
Scipy was being installed to the python venv on the self-hosted runner, but the build was using the system Python (and thus could not find the installed scipy). This was causing sporradic failures and bugs.
The solution was to export Python_ROOT_DIR and Python3_ROOT_DIR to hint cmake's find_package to use the correct venv python installation for workflows running on aws instances.