rawdata/ is described in text but not part of the schema

Inspired by

https://github.com/bids-standard/bids-specification/pull/1734

with some relevant prior discussion found in

https://github.com/bids-standard/bids-specification/issues/1009

apparently only the text talks about rawdata/ while src/schema does not have references beyond mentioning in the tests (@TheChymera could you clarify on either it is specific to rawdata/ there or could be another path):
❯ git grep rawdata
src/CHANGES.md:-   \[FIX] typo in "rawdata" example [#1045](https://github.com/bids-standard/bids-specification/pull/1045) ([sappelhoff](https://github.com/sappelhoff))
src/common-principles.md:            "rawdata": {
src/common-principles.md:`rawdata`, **only the `rawdata` subdirectory** needs to be a BIDS-compliant
src/common-principles.md:`derivatives`, or `rawdata` directory names.
src/common-principles.md:  "SourceDatasets": [ {"URL": "../../rawdata/"} ]
tools/schemacode/bidsschematools/tests/data/expected_bids_validator_xs_write.log:   * `/home/chymera/.data2/datalad/000026/rawdata/sub-EXC022/anat/sub-EXC022_ses-MRI_flip-1_VFA.nii.gz
tools/schemacode/bidsschematools/tests/test_validator.py:        "rawdata/sub-EXC022/anat/sub-EXC022_ses-MRI_flip-1_VFA.nii.gz"
tools/schemacode/bidsschematools/tests/test_validator.py:        "rawdata/sub-EXC022/anat/sub-EXC022_ses-MRI_flip-1_VFA.nii.gz"
tools/schemacode/bidsschematools/validator.py:        bids_paths = '~/.data2/datalad/000026/rawdata'

IMHO we should fix src/schema to "specify/allow" for rawdata/ in BIDS derivative datasets (not in raw)

I see: You want sourcedata/ to be actual pre-BIDS and rawdata/ to be a BIDS dataset inside a BIDS-derivative dataset.
This feels like an unnecessary complication. sourcedata/ and derivatives/ are always relative to the current dataset and mark a boundary. That feels like enough, and specifying some directories that serve the same purpose for different dataset types does not sound fun to try to express in schema and implement in a validator.
Also, in practice, many derivatives may have multiple "sources", such as the raw dataset and some preprocessing, e.g.,
ds000001-fmriprep/  # BIDS Derivative
    sourcedata/
        ds000001/  # BIDS
        freesurfer/  # Neither BIDS nor BIDS derivative, but still an input to my derivative

If we change sourcedata/ds000001 to rawdata/ what should we do with sourcedata/freesurfer?

I see: You want sourcedata/ to be actual pre-BIDS and rawdata/ to be a BIDS dataset inside a BIDS-derivative dataset

not really -- I am just trying to ensure that schema matches the text we have.  We should fix one or another.  If not in BIDS 1.0, we should likely remove rawdata/ in BIDS 2.0.
I am with you generally that sourcedata/ should be enough and preferable for the reasons you stated. FWIW

rawdata/ in spec text was added as long ago as of ebe69efd30a83f17970a3638fc23387d28402e5a .
among openneuro datasets there is one with some rawdata/ ;) https://github.com/OpenNeuroDatasets/ds003563

So you want to remove text saying that you can place a raw BIDS dataset next to its source and derivatives, instead of nested? I don't understand why this example is a problem.

I want standard to not use in examples arbitrary folder names on the top level which are not described by the standard.  So I think we either

dissolve rawdata/ (in bids 2.0? 1.0?)
standardize it (add to allowed top level folders, possibly restricting  for a derivative or "study" level dataset, #1739)  -- this issue.

Otherwise that example is a "bad example" to be in a standard. We should not give examples with arbitrary folders being populated with anything, unless we allow for that (e.g. as subfolders of code/, sourcedata/ etc) .

I haven't looked much into subdirectories, since I think it's really bad to have them nested, and always try to keep them separate. Why not just have independent datasets which reference their parents in the dataset_description.json file. It seems so much simpler, and would also solve the many-to-many correspondence between raw and derivatives.

@TheChymera thanks, but could you clarify on either it is specific to rawdata/ there or could be another path in the test?

@yarikoptic not sure I understand the question, but are you asking whether that's a random string for which “rawdata” just happens to be the value? If so, yes:
[deco]~/src/bids-specification/tools/schemacode ❱ git rev-parse HEAD
6d13c807c7c8d594a35d302d9aa6cff7c802f054
[deco]~/src/bids-specification/tools/schemacode ❱ pytest bidsschematools/tests/test_validator.py
=========================================================== test session starts ============================================================
platform linux -- Python 3.11.8, pytest-7.4.4, pluggy-1.4.0
rootdir: /home/chymera/src/bids-specification/tools/schemacode
configfile: pyproject.toml
plugins: mock-3.12.0, pyfakefs-5.3.5, rerunfailures-14.0, anyio-4.2.0, pkgcore-0.12.24
collected 20 items

bidsschematools/tests/test_validator.py ....................                                                                         [100%]

============================================================ 20 passed in 4.34s ============================================================
[deco]~/src/bids-specification/tools/schemacode ❱ ag rawdata -l0 | xargs -0 sed -i -e "s/rawdata/tralaladata/g"
[deco]~/src/bids-specification/tools/schemacode ❱ pytest bidsschematools/tests/test_validator.py
=========================================================== test session starts ============================================================
platform linux -- Python 3.11.8, pytest-7.4.4, pluggy-1.4.0
rootdir: /home/chymera/src/bids-specification/tools/schemacode
configfile: pyproject.toml
plugins: mock-3.12.0, pyfakefs-5.3.5, rerunfailures-14.0, anyio-4.2.0, pkgcore-0.12.24
collected 20 items

bidsschematools/tests/test_validator.py ....................                                                                         [100%]

============================================================ 20 passed in 5.20s ============================================================
[deco]~/src/bids-specification/tools/schemacode ❱ git --no-pager diff
diff --git a/tools/schemacode/bidsschematools/tests/data/expected_bids_validator_xs_write.log b/tools/schemacode/bidsschematools/tests/data/expected_bids_validator_xs_write.log
index 4d410c3c..a8533d90 100644
--- a/tools/schemacode/bidsschematools/tests/data/expected_bids_validator_xs_write.log
+++ b/tools/schemacode/bidsschematools/tests/data/expected_bids_validator_xs_write.log
@@ -3,5 +3,5 @@ SUMMARY:
 0 out of 1 files were successfully validated, using the following regular expressions:
 	- `.*?/sub-(?P<subject>[0-9a-zA-Z]+)/(|ses-(?P<session>[0-9a-zA-Z]+)/)anat/sub-(?P=subject)(|_ses-(?P=session))(|_acq-(?P<acquisition>[0-9a-zA-Z]+))(|_ce-(?P<ceagent>[0-9a-zA-Z]+))(|_rec-(?P<reconstruction>[0-9a-zA-Z]+))(|_run-(?P<run>[0-9a-zA-Z]+))(|_part-(?P<part>(mag|phase|real|imag)))_(T1w|T2w|PDw|T2starw|FLAIR|inplaneT1|inplaneT2|PDT2|angio|T2star)\.(nii.gz|nii|json)$`
 The following files were not matched by any regex schema entry:
-	* `/home/chymera/.data2/datalad/000026/rawdata/sub-EXC022/anat/sub-EXC022_ses-MRI_flip-1_VFA.nii.gz
+	* `/home/chymera/.data2/datalad/000026/tralaladata/sub-EXC022/anat/sub-EXC022_ses-MRI_flip-1_VFA.nii.gz
 The following mandatory regex schema entries did not match any files:
diff --git a/tools/schemacode/bidsschematools/tests/test_validator.py b/tools/schemacode/bidsschematools/tests/test_validator.py
index fd808fb7..37ae0423 100644
--- a/tools/schemacode/bidsschematools/tests/test_validator.py
+++ b/tools/schemacode/bidsschematools/tests/test_validator.py
@@ -64,11 +64,11 @@ def test_write_report(tmp_path):
     ]
     validation_result["path_tracking"] = [
         "/home/chymera/.data2/datalad/000026/"
-        "rawdata/sub-EXC022/anat/sub-EXC022_ses-MRI_flip-1_VFA.nii.gz"
+        "tralaladata/sub-EXC022/anat/sub-EXC022_ses-MRI_flip-1_VFA.nii.gz"
     ]
     validation_result["path_listing"] = [
         "/home/chymera/.data2/datalad/000026/"
-        "rawdata/sub-EXC022/anat/sub-EXC022_ses-MRI_flip-1_VFA.nii.gz"
+        "tralaladata/sub-EXC022/anat/sub-EXC022_ses-MRI_flip-1_VFA.nii.gz"
     ]

     report_path = tmp_path / "output_bids_validator_xs_write.log"
diff --git a/tools/schemacode/bidsschematools/validator.py b/tools/schemacode/bidsschematools/validator.py
index 34621a8c..5a73bca3 100644
--- a/tools/schemacode/bidsschematools/validator.py
+++ b/tools/schemacode/bidsschematools/validator.py
@@ -594,7 +594,7 @@ def validate_bids(
     ::

         from bidsschematools import validator
-        bids_paths = '~/.data2/datalad/000026/rawdata'
+        bids_paths = '~/.data2/datalad/000026/tralaladata'
         validator.validate_bids(bids_paths)

     Notes

If so, yes:

"yes" as "it was a random choice and could be anything else", correct?
Then we should also fix the test if we decide that rawdata is part of the specification/legit.


instrument memory allocations

Is your feature request related to a problem? Please describe.
There are some code paths in Mercury that will allocate extra memory if needed (for example, to satisfy a request size that exceeds eager message limits).  Some of these are automatic, so it would be helpful for performance debugging to see how often it happens.
Describe the solution you'd like
Add a counter to the diag output.
Describe alternatives you've considered
Additional context
There is also possibly an issue on some platforms with the allocation unit being too big (in some cases it is determine based on system page size), but that's a more subtle problem.  For now just instrumentation would be helpful.

This was added in 2.2.0


Pandas eval overriding python eval

The way you are importing "from pandas import *" in https://github.com/NervanaSystems/coach/blob/master/logger.py#L17
is causing pandas eval to be imported and overrides python eval.
Since the environment initialization is using "from logger import *" as well:
https://github.com/NervanaSystems/coach/blob/master/environments/__init__.py#L17
When I run eval(env_type)(tuning_parameters) in:
https://github.com/NervanaSystems/coach/blob/master/environments/__init__.py#L31
It gives me the following error:
Traceback (most recent call last):
File "coach.py", line 271, in
env_instance = create_environment(tuning_parameters)
File "../coach/environments/init.py", line 32, in create_environment
env = eval(env_type)(tuning_parameters)
File "/anaconda3/lib/python3.6/site-packages/pandas/core/computation/eval.py", line 296, in eval
ret = eng_inst.evaluate()
File "/anaconda3/lib/python3.6/site-packages/pandas/core/computation/engines.py", line 76, in evaluate
res = self._evaluate()
File "/anaconda3/lib/python3.6/site-packages/pandas/core/computation/engines.py", line 123, in _evaluate
return ne.evaluate(s, local_dict=scope, truediv=truediv)
File "/anaconda3/lib/python3.6/site-packages/numexpr/necompiler.py", line 807, in evaluate
zip(names, arguments)]
File "/anaconda3/lib/python3.6/site-packages/numexpr/necompiler.py", line 806, in
signature = [(name, getType(arg)) for (name, arg) in
File "/anaconda3/lib/python3.6/site-packages/numexpr/necompiler.py", line 704, in getType
raise ValueError("unknown type %s" % a.dtype.name)
ValueError: unknown type object
Because this the default example does not work: python coach.py -p CartPole_DQN

Fix:
import pandas as pd
...
...
variable_name = pd.DataFrame()

Thanks @bbalaji-ucsd.
This was indeed a major potential source for bugs.
Pandas eval function is not used anymore in the new version of coach.


Grayscale conversion

When image arrays are loaded in the dataset the default OpenCV color format BGR is reversed to RGB. When images are converted to grayscale for feature extraction the conversion code COLOR_BGR2GRAY is used.
The OpenCV docs state that "In case of a transformation to-from RGB color space, the order of the channels should be specified explicitly (RGB or BGR)". Since the grayscale conversion uses different weights for the color channels the correct conversion code should be COLOR_RGB2GRAY.
This affects the feature extraction and in the end the final reconstruction.
References:

cvtColor
imread

You're right @oscarlorentzon, nice find!

I've introduced the bug when not using grayscale=True anymore in detect_features. I'm going to remove that option so that images are always loaded in RGB to reduce possible confusions.

Seems like a good idea. Thanks btw!

All thanks to you!


EN 15804+A2, chapter 7.1, k), SVHC declaration

Implementation status:

[x] schema
[x] examples
[ ] reviewed & approved internally
[ ] documentation
[ ] validation rules

I raise this change request because...
-- [ ] the ILCD+EPD format lacks compliance with regualtions.
-- [X] the ILCD+EPD format lacks conformaty with standards.
-- [ ] the ILCD+EPD format needs to be improved regarding existing format or master data elements.
-- [ ] there is another problem or use case I´m trying to address.
Problem description
EN 15804+A2, chapter 7.1, k), SVHC declaration:
"the declaration of material content of the product shall list as a minimum substances contained in the product that are listed in the “Candidate List of Substances of Very High Concern for authorisation” when their content exceeds the limits for registration with the European Chemicals Agency"
Solution description
Guess not covered at all at the moment
Relevance or added value
high relevance

We propose to link the latest version of the candidate list: https://echa.europa.eu/candidate-list-table
The minimum reporting requirements we suggest are:

CAS number
Name of the substance (in accordance with "Candidate List of substances of very high concern for Authorisation")
amount of the substance (m.% of declared unit)

--> ready for implementation

@domain experts: please review and approve

we came to the conclusion that proposal is fine, but one thing is missing. that is the general statement if the products contains SVHC´s above threshold (yes/no). because for most products, they will not contain anything. these should be identifyable easily. this should be within the content declaration.

I´d need to have more explanation, e.g. what "weightPerc" is, etc.
Think we should align this one with the regulation itself. Do we have an expert in the network who is capable of assessing e.g. completeness of information?

I´d need to have more explanation, e.g. what "weightPerc" is, etc.

The example above is based on how the current content declaration is implemented in v1.2. The suggestion is to add the SVHC declaration by means of
<epd24:SVHC present="true"/>

as well as prefixing the value of the hazardCode attribute of a substance with SVHC:, like in this example:
epd2:hazardCode="SVHC;H360D;H372"

in order to mark a substance entry as an SVHC.

I`d like to argue against the
<epd24:SVHC present="true"/>

Element.
Assuming that SVHCs are disclosed as substances, it is redundant (bad).
As a developer, I don't need it.
I can easily derive whether a dataset contains SVHCs.
In fact, the 'SVHC' part in
epd2:hazardCode="SVHC;H360D;H372"

is machine-readable.
What I really don't want, as a developer, is having to work with inconsistent datasets.
(And people will ask us to.)
Also different pieces of software will end up producing -- by sound logic -- different or inconsistent results.
So let's drop the flag.
It is a property of a substance, let's model it as exactly that.
PS:
Even as a random person looking at the XML, I don't need the flag to find out whether there are substances with the hazard code 'SVHC'.
I simply CTRL + F it and see whether any occurrences are within a hazard code tag of a substance.
For devs it's even easier.

@RobertSpang @szwerenz @EmilieBrisson
I'd like to verify the assumption:

SVHCs can expected to be disclosed as substances

What are your thoughts on this?

@RobertSpang @szwerenz @EmilieBrisson
Alright, another attempt:
You said

we came to the conclusion that proposal is fine, but one thing is missing. that is the general statement if the products contains SVHC´s above threshold (yes/no). because for most products, they will not contain anything. these should be identifyable easily.

I don't understand that.
Would you please explain to me what you mean?
What is missing?
Why?
(No SVHCs is identifyable: There are none.)

@1aun : currently substances are not listed in EPDs at all. We can also expect, that this will not happen in the near future (even though people might have the possibility). This is why we need a field to identify if the product contains SVHC´s above threshold (yes/no). If that´s not clear, then please set up a meeting, so that we don´t loose more time. Thanks.

Alright, so then we can't avoid it :/
We'll leave the flag in.
Thanks for the explanation!


ADO task for go-sqlcmd execution

examples here: https://github.com/microsoft/azure-pipelines-tasks
current sqlcmd task: https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/SqlAzureDacpacDeploymentV1

Once we have pushed sqlcmd to the various package managers, how much value does a native ADO task add compared to just running a script that installs it?

This might be better served as a discussion thread right now - but I have seen instances where a task template assists in making using a command line tool easier. It's not about installing go-sqlcmd but running it on queries/files.


PCmaster installing problem

can you give us some demo data and the lastest PCmaster-Packages, or some installing helping advice?

Thank you for your issue!
You can download the compressed package through https://pan.baidu.com/s/1qwpAcdd4NALRgTtTtMnnuw?pwd=wkwr.
In the compressed package, there is an example data.
You can refer to https://github.com/bioinplant/PCmaster/blob/main/PCmaster_anno/PCmaster_anno_0_guide_1_mainly_in_Chinese.docx for installation.
We have test the installation on CentOs and Ubuntu.
If you can provide more details about the problems you have met, maybe we can help you.

感谢答疑，目前由于集群出了故障，现在win设备测试，之前按照requirement.txt安装的时候报错了，按照报错语句进行安装还是不行。
At 2023-07-03 18:41:47, "shlin0415" @.***> wrote:
Thank you for your issue!
You can download the compressed package through https://pan.baidu.com/s/1qwpAcdd4NALRgTtTtMnnuw?pwd=wkwr.
In the compressed package, there is an example data.
You can refer to https://github.com/bioinplant/PCmaster/blob/main/PCmaster_anno/PCmaster_anno_0_guide_1_mainly_in_Chinese.docx for installation.
We have test the installation on CentOs and Ubuntu.
If you can provide more details about the problems you have met, maybe we can help you.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

尊敬的老师，
      您好！
      感谢反馈，目前PCmaster_anno还未在windows端测试，可能会有一些兼容性问题。
      PCmaster_anno还有许多需要完善的地方，在windows上的测试可能会有所延后。
      如果需要使用它的话，可能还是在linux上进行比较好。
      感谢您的来信。
芒罗
@.***

------------------ 原始邮件 ------------------
发件人:                                                                                "bioinplant/PCmaster"                                                                                @.>;
发送时间: 2023年7月4日(星期二) 上午9:44
@.>;
<EMAIL_ADDRESS>主题: Re: [bioinplant/PCmaster] PCmaster installing problem (Issue #1)
感谢答疑，目前由于集群出了故障，现在win设备测试，之前按照requirement.txt安装的时候报错了，按照报错语句进行安装还是不行。
At 2023-07-03 18:41:47, "shlin0415" @.***> wrote:
Thank you for your issue!
You can download the compressed package through https://pan.baidu.com/s/1qwpAcdd4NALRgTtTtMnnuw?pwd=wkwr.
In the compressed package, there is an example data.
You can refer to https://github.com/bioinplant/PCmaster/blob/main/PCmaster_anno/PCmaster_anno_0_guide_1_mainly_in_Chinese.docx for installation.
We have test the installation on CentOs and Ubuntu.
If you can provide more details about the problems you have met, maybe we can help you.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>

Thank you for your feedback. At present, PCmaster_anno has not been tested on windows, so there may be some compatibility problems.
PCmaster_anno still needs to be improved, and the test on windows may be delayed.
If you need to use it, it may be better to do it on linux.

Now PCmaster_anno has been tested both on linux and windows. You can try the installation in README.md and use PCmaster_anno taking ipynbs in 'Tmp_tutorial' as references.


Simplify instance name generation

Set instance name within the constructor. As a fully cosmetic thing, instance
name generation should not complicate view logic too much.

At the moment the names must be unique, it is not just a cosmetic thing. PVC could be changed, but that requires non-trivial changes. Now there is no state on disk for a PVC cluster, all state management is baked into naming.

That's true and unfortunate, but from now one maybe also change PVCDriver to use UUIDs instead of names.

That could be done. However, that needs also some changes, because the OpenStack instance name ends up as the host name (and that is a no-no from user perspective). I think we would need an ansible task in PVC to set the hostname manually and a mechanism to feed that to PVC.

yes, started already porting drivers.provisioning.OpenStackDriver to use services.OpenStackService and will take this into account


Added humidity for Honeywell US thermostats

Description:
Added the current_humidity property for Honeywell US thermostats that have a humidity sensor.
**Related issue (if applicable):
**Pull request in home-assistant.github.io with documentation (if applicable):
Example entry for configuration.yaml (if applicable):
Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Hi @ericgla,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!


${file} - must be the current opened file, but points to the name of output pane

Issue Type: Bug
I have a launch configuration that uses predefined variable ${file}. I suppose ${file} must point to the file in the active edit window, but if the cursor is in the output pane, the variable ${file} points to the name of output pane when I press 'F5'.
configuration in launch.json to test:
{
            "name": "(Windows) Launch",
            "type": "cppvsdbg",
            "request": "launch",
            "program": "cmd",
            "args": ["/c","echo", "${file}"],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "environment": [],
            "externalConsole": false
}

VS Code version: Code 1.44.1 (a9f8623ec050e5f0b44cc8ce8204a1455884749f, 2020-04-11T01:48:12.622Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz (4 x 2195)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.88GB (1.66GB free)

Process Argv
--folder-uri file:///c%3A/work/vms_ide/vms-ide

Screen Reader
no

VM
50%

Extensions (10)

Extension
Author (truncated)
Version

Kotlin
mat
1.7.1

vscode-antlr4
mik
2.2.3

csharp
ms-
1.21.17

python
ms-
2020.3.71659

cpptools
ms-
0.27.0

platformio-ide
pla
1.10.0

scala
sca
0.3.9

rst-vscode
tht
3.0.1

sort-lines
Tyr
1.9.0

hex-ascii-converter
yrp
0.0.1

So $file should resolve to the editor and not to the output (which is also an editor).
I think this overall makes sense and forwarding to @alexr00 as this is variable-resolving.

@jrieken it looks like ExtHostDocumentsAndEditors will return non-code editors as the activeEditor.
https://github.com/microsoft/vscode/blob/958a942f5ddd56b62e62f75777096276a547f779/src/vs/workbench/api/common/extHostDebugService.ts#L994-L1000
Is there a way to get just the active user editor (as apposed to things that the user doesn't think of as editors)?

@alexr00 I think we were always behaving like that.
When you do the resolving can you use the editorService, or you have to go to the exHost one?
Since the editorService has the activeEditor
Not sure if there is something on the exHost side for the same behavior

@isidorn the ExtHostDebugService is only resolve these variables in the extension host, and not going to the renderer. If debug can go to the renderer for this resolving then that would fix this too, since I couldn't reproduce with tasks (which resolves in the renderer).

fyi @weinand

I'll take care of this.

One problem is that the activeEditor notion of the editorService differs between VS Code and the extension host. In VS Code activeEditor is always a "real" editor even if an output pane is active, whereas in the extension host activeEditor can be anything that uses an editor as an implementation detail, this includes output panes.

Had to disable this fix because it broke the WSL remote scenario.


[WordPress timezone] What is it? AND did anything change in WP?

@rstjames,
Today, we have encountered issues with the posting of content via the blog.
I need to know what timezone is being used and if not using PDT, please set it to that timezone. Thanks!

Also, I have a question about wordpress. Did anything was changed on how we review & publish blogs?
It seems that after a blog is published, there is no way to edit the published post. This we want to revert to old version. Making duplicates and having to redo the work is not scalable.

@amyou
can view the timezone in general settings.

As for editing blog post. Nothing has changed. It should be able to edit. WIth our more info or example I can not give a better explanation or solution

@rstjames please lets change it to PDT.

@aeiras May I ask why? Will we inform people that it is not PDT? Don't see how this fixes anything when a lot of the people are in Europe/ all over the world

For now, let’s change it. It is based where the reviewers are located, in this case the 2 more actives are in the USA.
Bias reason— currently I am the one publishing 95% of the content, when publishing  or scheduling it  becomes problematic due to time zone. Thanks!

We need to put the blog review in our routine. I plan to review and publish blogs. Thank you @aeiras for doing the majority of publishes! Can't we set time zone to either UTC or GMT? It is weird to set to some arbitrary timezone though.
My 2cents.

@aeiras I agree to keep it a neutral time like UTC. This makes sense for everyone all around the world.

First, it is wonderful to hear that you plan to help review and publish more incoming content @Emily-Jiang, YEAYY! :)
If that is the case, yes, lets keep UTC - Coordinated Universal time

I have added the UTC time to the blog guidelines
Please @rstjames confirm by closing this ticket that time is adjusted to match this exchange. Thanks!

@aeiras It was not adjusted from the original UTC +0


Non selectable table updates

When row selection is not on we would like to be able to allow text selection:

Disable the active state when clicking on a row
Investigate the need to remove hover state as well (ask Spectrum)
Enable text selection might also be needed

Investigate how to not disable text selection because of usePress. Is it possible to remove/disable usePress so that it does not interfere with text selection on Tables without selection enabled.

In progress work saved in https://github.com/adobe/react-spectrum/tree/issue_1706. Crux of the text selection issue is a preventDefault on mouse down in useSelectableCollection that fixes a bug where the scroll bar will jump when clicking on it. Couple fixes attempted including blurring the collection on click to avoid this issue but all have complications with other parts of the code (Virtualizer's onBlur).


Library to visualize annotations/predictions

Hello,
I am wondering which library of software you used to visualize your annotations - specifically the colored edges on the 3D models.
Thank you very much in advance.

Hi @manuelknott ,
There is a viewer script included in this repo (e.g., bash ./scripts/human_seg/view.sh ).
These days I am using polyscope, which is fast and can plot per-edge colors.
-Rana


Translations: injected text should be translatable

We are generating and injecting some HTML code on the page. How are we going to make that text translatable?

https://guillaumepotier.github.io/gettext.js/
https://www.i18next.com/
http://messageformat.github.io/Jed/

Making strings translated isn't a big jump, there is tooling here that we're not yet using.
The problem here is a bit deeper though, and the larger issue will be in using the translations. We really should give the user a localized response from the API, based on the reader's browser language or documentation translation language, and we need this JS to come to the same conclusion about the language to use for translated strings.

We really should give the user a localized response from the API, based on the reader's browser language or documentation translation language

We are not returning strings to be read by the user from the API. These strings are in Javascript code now.

Yup, understood. I'm mentioning the API response in addition to this because it's related.
This library has some native translated strings only used in this library (ie "Loading"), but we will also end up with strings translated through the backend response as we fill out the API data structure more (ie "Pull request 1234"), and there will be some strings that could come from the backend if we wanted (ie "This documentation is for an outdated version latest").
How JS translations are recommended in the Django world is to gettext translate the JavaScript sources, but then the Django application serves a dedicated view/URL that responds with the localized strings (JavaScriptCatalog). This guide shows everything working together:
https://localizely.com/blog/django-i18n-tutorial/
I'm not using this pattern on the dashboard yet, but it's feeling like a better pattern the more I avoid it.
I'm not sure how applicable this particular pattern is to this library yet though. I'm not suggesting it for native strings to this library though.

It's not a target for this initial pass at this work, but the next step here would be outputting gettext catalogs for this library. We can decide how to use the catalogs later, but likely will need them either way.

I was going to bring this up this week. This repo could be a good fit if we want to try using Crowdin to push translation management to GitHub. Translation volume is low and it's new.
On the tooling front, I just want to ensure that the translation tools/packages we use here are the same we use on the dashboard, so we don't have differing tech. The dashboard is not doing any translation in JS yet and pushing all of this to Django and templates instead, which is not great.
But the JS tech is largely not great here either. Most solutions just request or import localized strings from a separate JS or JSON file.
We can visit the API localization later. It's less of an issue, though there are strings in there we'll have to do something with:

https://github.com/readthedocs/addons/blob/2dfab0c84f6cd0ec6e055466fd6ae5bd8d24d1a1/public/_/readthedocs-addons.json#L132
https://github.com/readthedocs/addons/blob/2dfab0c84f6cd0ec6e055466fd6ae5bd8d24d1a1/public/_/readthedocs-addons.json#L149


GNOME - Add button to show/hide groups

Making groups list scrollable creates some UI problems that are not easy to fix, so instead I added show/hide button as was suggested by @brunnogama. Closes #140

LGTM! What do you think about adding an option to the configuration, similar to SortFirstToLast, that remembers whether the user has the groups hidden or not?

If a user has only one account, ability to remember groups visibility is useful. But if a user has multiple accounts and want to hide groups only in some of them, remembering groups visibility would be irritating. So we either keep it as it is, or add an option in settings to let users enable remembering groups visibility (and it will be disabled by default).


fix: Add instance profile permissions to karpenter policy

fixes #433

Just tested your branch on my side, works as expected! Thanks.

This PR is included in version 5.32.0 :tada:


Added terraform_script_update_test

Pull request from dev to main branch...

Thank you for contributing. Will merge the pull request :)


Suggest correct casing if the entered unit doesn't exist

As a first time user, figuring out what this calls its data types is unintuitive
>>> 1mb to bytes
error: while type checking
  ┌─ <input:17>:1:2
  │
1 │ 1mb to bytes
  │  ^^ unknown identifier

same with 1kb and 1KB, both unrecognised. I eventually figured out that the correct units are 1MB (1mB is millibyte, 1Mb is an error) and 1kB (1KB is an error, as is 1Kb).
I think if you enter 1mb the most useful thing to do is either to just correct it for you and tell you it did that, or at the very least, tell me what i probably meant. Just showing an error is... unhelpful. I don't know if this applies to other units too, the data units are just the only ones I've spotted so far.

Normally there are suggestions for these type of error.  For example:
>>> 1 niles
error: while type checking
  ┌─ <input:219>:1:3
  │
1 │ 1 niles
  │   ^^^^^ unknown identifier
  │
  = Did you mean 'miles'?

But the suggestion code is skipped for short identifiers (I think because there are so many 1 and 2 letter identifiers that standard edit-distance metrics don't work well here).
However in this case, I think we can do something like check to see if there's an identifier that only differs in case and make suggestions based on that

Thank you for the feedback. Duplicate of https://github.com/sharkdp/numbat/issues/103?

But the suggestion code is skipped for short identifiers (I think because there are so many 1 and 2 letter identifiers that standard edit-distance metrics don't work well here).
However in this case, I think we can do something like check to see if there's an identifier that only differs in case and make suggestions based on that

:+1:


Rush Example

Include an example on the rush page.
Say your order arrives in lab on a Wednesday and you request a 2 business day rush this means your order will be completed and in your hands by the second full business day since your film arrived — Friday!
If your film arrives in lab on a Wednesday and you request a 3 business day rush this means your order will be completed and uploaded  by the third full business day since your film arrived — the following Monday!

working on this

edited + pushed


fix: add a fallback if error fails to serialize (fix #654)

Fixes #654
Not a clean solution.
If someone knows how to make it serialize error properly - that would be a better solution.

I think this is a good guard for the moment. Users getting this message should send bug reports to their deps to support error serialization


Error starting TensorFlow in python

Issue type
Build/Install
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.13.0
Custom code
Yes
OS platform and distribution
Linux Ubuntu 20.04
Mobile device
No response
Python version
3.8.10
Bazel version

GCC/compiler version
9.4.0
CUDA/cuDNN version
CUDA 12.0 / cuDNN 8.9.4
GPU model and memory
GEFORCE RTX 2080 SUPER
Current behavior?
I don't understand why the error occurs..please help me...
Standalone code to reproduce the issue
$ python3
Python 3.8.10 (default, May 26 2023, 14:05:08)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorrt
>>> import tensorflow
2023-08-25 11:11:47.521702: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2023-08-25 11:11:47.546940: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2023-08-25 11:11:47.547250: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.

Relevant log output
$ nvidia-smi
Fri Aug 25 11:15:19 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.125.06   Driver Version: 525.125.06   CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0  On |                  N/A |
|  0%   46C    P8    15W / 250W |    366MiB /  8192MiB |     25%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A       924      G   /usr/lib/xorg/Xorg                 35MiB |
|    0   N/A  N/A      1649      G   /usr/lib/xorg/Xorg                130MiB |
|    0   N/A  N/A      1790      G   /usr/bin/gnome-shell               36MiB |
|    0   N/A  N/A      2098      G   /usr/lib/firefox/firefox          152MiB |
+-----------------------------------------------------------------------------+

$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243

$ pip show tensorflow
Name: tensorflow
Version: 2.13.0
Summary: TensorFlow is an open source machine learning framework for everyone.
Home-page: https://www.tensorflow.org/
Author: Google Inc.
Author-email<EMAIL_ADDRESS>License: Apache 2.0
Location: /home/chemistry/.local/lib/python3.8/site-packages
Requires: libclang, six, absl-py, opt-einsum, typing-extensions, astunparse, tensorboard, packaging, tensorflow-estimator, keras, protobuf, h5py, termcolor, numpy, gast, google-pasta, tensorflow-io-gcs-filesystem, setuptools, grpcio, flatbuffers, wrapt
Required-by:

$ pip show tensorrt
Name: tensorrt
Version: 8.6.1
Summary: A high performance deep learning inference library
Home-page: https://developer.nvidia.com/tensorrt
Author: NVIDIA Corporation
Author-email: None
License: Proprietary
Location: /home/chemistry/.local/lib/python3.8/site-packages
Requires:
Required-by:

$ cat /usr/include/cudnn_version.h | grep CUDNN_MAJOR -A 2
#define CUDNN_MAJOR 8
#define CUDNN_MINOR 9
#define CUDNN_PATCHLEVEL 4
--
#define CUDNN_VERSION (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)

/* cannot use constexpr here since this is a C-only file */

@Boban223,

2023-08-25 11:11:47.521702: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2023-08-25 11:11:47.546940: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2023-08-25 11:11:47.547250: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.

The provided above details contain only the information(I) while installing the tensorflow. It doesn't provide any errors. Also the tensorflow v2.13 is compatible with compiler-Clang 16.0.0, Bazel - 5.3.0, CUDA - 8.6, cuDNN - 11.8.
https://www.tensorflow.org/install/source#gpu
Thank you!

@tilakrayal , I think the question asked by @Boban223 is why the logs stating no drivers detected though nvidia-smi shows driver version 525.125.06 installed.
@Boban223 , I think you need to visit step no.4 for GPU setup in pip instruction guide here. Not sure may be CUDA toolkit seems missing?

@Boban223,
The tensorflow v2.13 is compatible with compiler-Clang 16.0.0, Bazel - 5.3.0, CUDA - 8.6, cuDNN - 11.8.
https://www.tensorflow.org/install/source#gpu
Also please follow the steps provided in this official docuement for the GPU setup.
https://www.tensorflow.org/install/pip#step-by-step_instructions
Thank you!

@Boban223 Did you solve it? I have the same issue.

@Boban223, @Crispy13,
I guess you missed following the steps which are mentioned in official documentation https://www.tensorflow.org/install/pip#step-by-step_instructions for setting up the GPU.
CUDNN_PATH=$(dirname $(python -c "import nvidia.cudnn;print(nvidia.cudnn.__file__)"))
export LD_LIBRARY_PATH=$CUDNN_PATH/lib:$CONDA_PREFIX/lib/:$LD_LIBRARY_PATH

I tried to follow the documentation instructions and was able to detect the GPU.
(tf2.13) tilak-gpu@tilak-ubuntu20:~$ nvidia-smi
Thu Nov 09 04:56:15 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.85.12    Driver Version: 525.85.12    CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Tesla T4            Off  | 00000000:00:05.0 Off |                    0 |
| N/A   71C    P0    31W /  70W |      2MiB / 15360MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   1  Tesla T4            Off  | 00000000:00:06.0 Off |                    0 |
| N/A   67C    P0    28W /  70W |      2MiB / 15360MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   2  Tesla T4            Off  | 00000000:00:07.0 Off |                    0 |
| N/A   69C    P0    30W /  70W |      2MiB / 15360MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   3  Tesla T4            Off  | 00000000:00:08.0 Off |                    0 |
| N/A   72C    P0    31W /  70W |      2MiB / 15360MiB |      7%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

(tf2.13) tilak_gpu@tilak-ubuntu20:~$ python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
2023-09-04 04:54:14.005166: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9498] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2023-09-04 04:54:14.005226: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2023-09-04 04:54:14.005283: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-09-04 04:54:14.014421: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-09-04 04:54:14.824009: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
The TensorFlow Distributions library has moved to TensorFlow Probability (https://github.com/tensorflow/probability). You should update all references to use `tfp.distributions` instead of `tf.distributions`.
[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU'), PhysicalDevice(name='/physical_device:GPU:1', device_type='GPU'), PhysicalDevice(name='/physical_device:GPU:2', device_type='GPU'), PhysicalDevice(name='/physical_device:GPU:3', device_type='GPU')]

@tilakrayal, where did you find that step? https://www.tensorflow.org/install/pip#step-by-step_instructions does not currently show that.

The GPU setup steps are mentioned in official documentation
https://www.tensorflow.org/install/pip#step-by-step_instructions for setting up the GPU.
Thank you!

The GPU setup steps are mentioned in official documentation
https://www.tensorflow.org/install/pip#step-by-step_instructions for setting up the GPU. Thank you!

Hi, I have not seen the details that you said like "CUDNN_PATH=$(dirname $(python -c "import nvidia.cudnn;print(nvidia.cudnn.file)"))
export LD_LIBRARY_PATH=$CUDNN_PATH/lib:$CONDA_PREFIX/lib/:$LD_LIBRARY_PATH"
where show that?


Rename vault_start_pause to vault_start_pause_seconds

vault_start_pause isn't defined anywhere, use vault_start_pause_seconds
instead.
Related to https://github.com/ansible-community/ansible-vault/pull/238

Nice catch! 🪰


Auto Power cut circuit for Router UPS

Linked to #53
To prevent fully drain the UPS, after closing hour. We need to disconnect power from router after a certain time to prevent fully drained.
Need to have detection of AC power

@MoshiurSarder -> PCB
@sajib71 -> Firmware


[tests-only][full-ci]adding scenerio for mount unmount feature in group share

Test scenario when one member of the group mounts/unmounts share of the group.
Part of https://github.com/owncloud/ocis/issues/8486

@S-Panta  could you write
sync enable for mount &&
sync disable for unmount?
If there are many changes to be done in this pull request, it would be possible to address them in a separate pull request . It's up to you

I think it's good to refactor the wording in next PR @nabim777


Google Sign In Web renderButton is interactable through ModalBarriers

What package does this bug report belong to?
google_sign_in
What target platforms are you seeing this bug on?

Yes
Dependency versions
pubspec.lock
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
  async:
    dependency: transitive
    description:
      name: async
      sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "2.11.0"
  boolean_selector:
    dependency: transitive
    description:
      name: boolean_selector
      sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "2.1.1"
  characters:
    dependency: transitive
    description:
      name: characters
      sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "1.3.0"
  clock:
    dependency: transitive
    description:
      name: clock
      sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "1.1.1"
  collection:
    dependency: transitive
    description:
      name: collection
      sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "1.18.0"
  fake_async:
    dependency: transitive
    description:
      name: fake_async
      sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "1.3.1"
  flutter:
    dependency: "direct main"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_test:
    dependency: "direct dev"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_web_plugins:
    dependency: transitive
    description: flutter
    source: sdk
    version: "0.0.0"
  google_identity_services_web:
    dependency: transitive
    description:
      name: google_identity_services_web
      sha256: "9482364c9f8b7bd36902572ebc3a7c2b5c8ee57a9c93e6eb5099c1a9ec5265d8"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "0.3.1+1"
  google_sign_in:
    dependency: "direct main"
    description:
      name: google_sign_in
      sha256: "0b8787cb9c1a68ad398e8010e8c8766bfa33556d2ab97c439fb4137756d7308f"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "6.2.1"
  google_sign_in_android:
    dependency: transitive
    description:
      name: google_sign_in_android
      sha256: bfd42c81c30c6faba16e0f62968d5505a87504aaa672b3155ee931461abb0a49
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "6.1.21"
  google_sign_in_ios:
    dependency: transitive
    description:
      name: google_sign_in_ios
      sha256: a7d653803468d30b82ceb47ea00fe86d23c56e63eb2e5c2248bb68e9df203217
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "5.7.4"
  google_sign_in_platform_interface:
    dependency: transitive
    description:
      name: google_sign_in_platform_interface
      sha256: "1f6e5787d7a120cc0359ddf315c92309069171306242e181c09472d1b00a2971"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "2.4.5"
  google_sign_in_web:
    dependency: "direct main"
    description:
      name: google_sign_in_web
      sha256: fc0f14ed45ea616a6cfb4d1c7534c2221b7092cc4f29a709f0c3053cc3e821bd
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "0.12.4"
  http:
    dependency: transitive
    description:
      name: http
      sha256: "761a297c042deedc1ffbb156d6e2af13886bb305c2a343a4d972504cd67dd938"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "1.2.1"
  http_parser:
    dependency: transitive
    description:
      name: http_parser
      sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "4.0.2"
  leak_tracker:
    dependency: transitive
    description:
      name: leak_tracker
      sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "10.0.0"
  leak_tracker_flutter_testing:
    dependency: transitive
    description:
      name: leak_tracker_flutter_testing
      sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "2.0.1"
  leak_tracker_testing:
    dependency: transitive
    description:
      name: leak_tracker_testing
      sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "2.0.1"
  matcher:
    dependency: transitive
    description:
      name: matcher
      sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "0.12.16+1"
  material_color_utilities:
    dependency: transitive
    description:
      name: material_color_utilities
      sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "0.8.0"
  meta:
    dependency: transitive
    description:
      name: meta
      sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "1.11.0"
  path:
    dependency: transitive
    description:
      name: path
      sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "1.9.0"
  plugin_platform_interface:
    dependency: transitive
    description:
      name: plugin_platform_interface
      sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "2.1.8"
  sky_engine:
    dependency: transitive
    description: flutter
    source: sdk
    version: "0.0.99"
  source_span:
    dependency: transitive
    description:
      name: source_span
      sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "1.10.0"
  stack_trace:
    dependency: transitive
    description:
      name: stack_trace
      sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "1.11.1"
  stream_channel:
    dependency: transitive
    description:
      name: stream_channel
      sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "2.1.2"
  string_scanner:
    dependency: transitive
    description:
      name: string_scanner
      sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "1.2.0"
  term_glyph:
    dependency: transitive
    description:
      name: term_glyph
      sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "1.2.1"
  test_api:
    dependency: transitive
    description:
      name: test_api
      sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "0.6.1"
  typed_data:
    dependency: transitive
    description:
      name: typed_data
      sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "1.3.2"
  vector_math:
    dependency: transitive
    description:
      name: vector_math
      sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "2.1.4"
  vm_service:
    dependency: transitive
    description:
      name: vm_service
      sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "13.0.0"
  web:
    dependency: transitive
    description:
      name: web
      sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27"
      url: "https://tps-art.topcon.com/artifactory/api/pub/ttl-dart-pub/"
    source: hosted
    version: "0.5.1"
sdks:
  dart: ">=3.3.0 <4.0.0"
  flutter: ">=3.19.0"

Steps to reproduce
Run the code below in flutter web press the floating action button to display a dialog.
You can press the google_sign_in_web renderButton through this.
I came across this when trying to show my sign up Dialog.fullscreen over the top of the page with this button on and accidentally pressed the button.
Expected results
The dialog showed by the button should block taps to the renderButton underneath it.
This applies more generally to any modal barrier placed in front of it.
It also appears an IgnorePointer will not prevent taps being ignored.
Actual results
The render button can be pressed 'through' the dialog.
Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:google_sign_in_platform_interface/google_sign_in_platform_interface.dart' show GoogleSignInPlatform;
import 'package:google_sign_in_web/google_sign_in_web.dart';
import 'package:google_sign_in_web/web_only.dart';

void main() async {
  final plugin = GoogleSignInPlatform.instance as GoogleSignInPlugin;
  await plugin.init(clientId: 'example.com');
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp();

  @override
  Widget build(BuildContext context) => const MaterialApp(home: MyHomePage());
}

class MyHomePage extends StatelessWidget {
  const MyHomePage();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(),
        body: Center(child: renderButton()),
        floatingActionButton: FloatingActionButton(
          onPressed: () => showDialog(
            context: context,
            builder: (_) => const AlertDialog(
              title: Text('Dialog'),
              content: Text("Hello!"),
            ),
          ),
        ));
  }
}

Screenshots or Videos

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/7754101/0bee8bdc-8c26-459a-96b8-0a8ce83a6dfd

Logs
No response
Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.19.1, on Microsoft Windows [Version 10.0.22631.3007], locale en-GB)
    • Flutter version 3.19.1 on channel stable at C:\tools\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision abb292a07e (3 weeks ago), 2024-02-20 14:35:05 -0800
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\lbound\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.1)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.9.34616.47
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2023.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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 17.0.7+0-b2043.56-10550314)

[√] VS Code, 64-bit edition (version 1.87.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.50.0

[√] Connected device (4 available)
    • SM T220 (mobile)  • R9JT107SYXX • android-arm64  • Android 14 (API 34)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version 10.0.22631.3007]
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 121.0.6167.86
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 122.0.2365.80

[√] Network resources
    • All expected network resources are available.

• No issues found!

@LeoBound
I think the issue isn't specific to google_sign_in package but with underlying platform-views which are being used by flutter packages. Hence, I think the issue is same as https://github.com/flutter/flutter/issues/14720 in which you can follow-up for further updates. You can share your findings in it for better tracking.
Closing this as a duplicate. If you disagree, write in comments and i'll reopen it.

Hi @darshankawar
Thanks for the quick response.
I have a couple of questions about this and the aforementioned issue.
#14720 seems to only mention iOS and shows native views on top of the flutter canvas letting touch events 'leak through' (I may be misunderstanding this, and I'm not familiar with the terminology)?
The issue I'm having pertains to flutter widgets covering native UI, I'm not too familiar about how this and flutter dialogs are implemented so this may be the same as #14720? It may be worth noting that the behaviour I have with showDialog above doesn't occur when you push a MaterialPageRoute with Navigator.push.
Is there an alternative to this button - it is recommended by google_sign_in_web when migrating to the latest version. It's a bit surprising to me that we have to use a platform button to show the Google sign in popup on web (or is there a way around this).
Thanks

@LeoBound
Can you try to make use of https://pub.dev/packages/pointer_interceptor and see if it helps in your case ?

@darshankawar Doesn't work unfortunately (behaviour is the same as without it). I think this is because I have a HtmlElementView on top of flutter, whereas that package seems to be for flutter on top of HtmlElementViews.

Wrapping the Dialog in PointerInterceptor seems to fix it, although it does also prevent the Dialog from being barrierDismissible.
I think this is a good enough solution for me for now 🙂


Bug Report: singRIGHT / LEFT positions changing for one slight frame

Please check for duplicates or similar issues, as well performing simple troubleshooting steps (such as deleting the YoshiCrafter29 folder from AppData) before submitting an issue.
If you're using an older version of the engine, check if the bug haven't been already fixed
PS : the "everything goes black while changing state in developer mode bug" is not a bug, it's been designed this way to refresh all bitmaps between states to allow easier modding.
Which target are you using?

[x] Windows
[ ] Mac
[ ] Linux

What version of the engine are you using (Bottom left of the screen in main menu) ?
2.3.2
Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.
Basically, if a character is selected as a player, if the spritesheet is the wrong way flipped, singLEFT and singRIGHT for one slight frame, goes to another position.
Please describe your issue. Provide extensive detail and images if possible.
Characters spritesheet (example)

Character in-game:

Yeah this is a issue me and a friend have also been having. Please address if there's a solution to this.

That may just be a problem with the spritesheet and/or the xml file.


WIP: Host Plans

Implement: https://github.com/opencollective/opencollective/issues/2662

Rebased on top of master.

Rebased.

Rebased again.


CartPage and CheckoutPage records are created multiple times

Unless I set the 'create_default_pages' option for both page types to false, both records will be re-created on each /dev/build.
It seams self::get()->exists() in CheckoutPage and CartPage, returning false even if the specific page already exists.
I installed SilverStripe via the "silverstripe/recipe-cms": "4.2.1@stable", recipe.

@marcokernler You don't happen to subclass those pages in your project do you?

hi @wilr, nope - no subclassing. This happened after a fresh installation...

i remember i got the same problem, i put
SilverShop\Page\CheckoutPage:
  create_default_pages: false

in my config.yml file


Maintainer

add doc and @aoiroaoino

:+1:
Should we maintain a changelog?
On every functionality PR maybe?

before 1.0, I use to put release note in https://github.com/julien-truffaut/Monocle/tree/master/note
for 1.2.0-M1, I put the changelog on the incomplete website http://julien-truffaut.github.io/Monocle//release_note.html
I don't know what is best but I quite like that changelog appears on the website.


Feature/371 non ascii filename

Closes #371

Coverage increased (+0.03%) to 88.682% when pulling 710637fcd701e27829a2db393073c682251a65ae on feature/371-non-ascii-filename into 501b48d276881933f5f8248bf5748979468dc871 on master.


docs: add nav

Pull Request Test Coverage Report for Build 57

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

Totals

Change from base Build 55:
0.0%

Covered Lines:
191

Relevant Lines:
191

💛  - Coveralls


[Feature]: outputFile support for listTests option

🚀 Feature Proposal
Right now, the --listTests option will just write the list of tests to the console. My proposal is to use the --outputFile option along with the --listTests option to write the output to the file.
Motivation
We wanted to use the list of tests in the custom sequencers. This feature will help to store the list in the file so that the sequencers can access it.
Note that this is just my usecase. There may be different use cases as well.
Example
Pass --outputFile=test-lists.json along with --listTests
yarn test --listTests --json --outputFile=test-lists.json
Pitch
The listTests option is a core feature of Jest and would be great if it support --outputFile as well

Raised Pull Request here -> https://github.com/jestjs/jest/pull/14944

https://github.com/jestjs/jest/releases/tag/v30.0.0-alpha.4


Bug with Flutter flavours when using multiple dimensions

Steps to Reproduce

Run $ flutter create flutter_bug
Update the files as follows:

android/app/build.gradle
...
android {
    ...
    flavorDimensions "tenant", "environment"
    productFlavors {
        app1 {
            dimension "tenant"
            applicationId "uk.co.myapplication.app1"
        }

        app2 {
            dimension "tenant"
            applicationId "uk.co.myapplication.app2"
        }

        local {
            dimension "environment"
            resValue "string", "app_name", "Local"
        }

        staging {
            dimension "environment"
            resValue "string", "app_name", "Staging"
        }
    }
}
...

Next run the following commands:
$ flutter clean
$ flutter run --flavor="appLocal"

Expected results: The app to run without error on your device.
Actual results:
I get the following error:
[        ] BUILD SUCCESSFUL in 22s
[        ] 30 actionable tasks: 29 executed, 1 up-to-date
[ +363 ms] Running Gradle task 'assembleApp1LocalDebug'... (completed in 23.1s)
[   +9 ms] "flutter run" took 23,950ms.
Gradle build failed to produce an .apk file. It's likely that this file was generated under C:\Users\yahya\Documents\sandbox\flutter_bug\build, but the tool couldn't find it.

The bug seems to be here:
https://github.com/flutter/flutter/blob/c1112d3f7ea8452ea0069407de588987894def09/packages/flutter_tools/lib/src/android/gradle.dart#L98
It seems that it's looking for the file: build/app/outputs/app1Local/debug/app-app1Local-debug.apk.
However, the file that was actually created is: build/app/outputs/app1Local/debug/app-app1-local-debug.apk.
A fix will be much appreciated 👍

Logs
[        ] BUILD SUCCESSFUL in 22s
[        ] 30 actionable tasks: 29 executed, 1 up-to-date
[ +363 ms] Running Gradle task 'assembleApp1LocalDebug'... (completed in 23.1s)
[   +9 ms] "flutter run" took 23,950ms.
Gradle build failed to produce an .apk file. It's likely that this file was generated under C:\Users\yahya\Documents\sandbox\flutter_bug\build, but the tool couldn't find it.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      _exitWithExpectedFileNotFound (package:flutter_tools/src/android/gradle.dart:827:3)
#2      findApkFiles (package:flutter_tools/src/android/gradle.dart:765:5)
#3      buildGradleApp (package:flutter_tools/src/android/gradle.dart:451:35)
<asynchronous suspension>
#4      _AndroidBuilderImpl.buildApk (package:flutter_tools/src/android/android_builder.dart:97:13)
#5      AndroidDevice.startApp (package:flutter_tools/src/android/android_device.dart:522:28)
<asynchronous suspension>
#6      FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:450:54)
#7      _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64)
#8      _rootRunUnary (dart:async/zone.dart:1134:38)
#9      _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#10     _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#11     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#12     Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#13     Future._completeWithValue (dart:async/future_impl.dart:524:5)
#14     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:32:15)
#15     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:290:13)
#16     ApplicationPackageFactory.getPackageForPlatform (package:flutter_tools/src/application_package.dart)
#17     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64)
#18     _rootRunUnary (dart:async/zone.dart:1134:38)
#19     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#20     _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#21     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#22     Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#23     Future._completeWithValue (dart:async/future_impl.dart:524:5)
#24     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:32:15)
#25     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:290:13)
#26     AndroidApk.fromAndroidProject (package:flutter_tools/src/application_package.dart)
#27     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64)
#28     _rootRunUnary (dart:async/zone.dart:1134:38)
#29     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#30     _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#31     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#32     Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#33     Future._completeWithValue (dart:async/future_impl.dart:524:5)
#34     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:554:7)
#35     _rootRun (dart:async/zone.dart:1126:13)
#36     _CustomZone.run (dart:async/zone.dart:1023:19)
#37     _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#38     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
#39     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#40     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#41     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#42     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:175:5)

Analyzing flutter_bug...
No issues found! (ran in 3.6s)

[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18363.720], locale en-GB)
    • Flutter version 1.12.13+hotfix.8 at C:\Users\yahya\flutter
    • Framework revision 0b8abb4724 (5 weeks ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\yahya\AppData\Local\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_SDK_ROOT = C:\Users\yahya\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code (version 1.36.1)
    • VS Code at C:\Users\yahya\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.2.0

[√] Connected device (1 available)
    • COR L29 • XTX7N18A15000054 • android-arm64 • Android 9 (API 28)

• No issues found!

I don't know of a good way to figure out what gradle is going to name the output file. We've currently tried (as you linked above) to guess based on the user inputs. In general that isn't good enough.
We could implement some functionality like 1) try to find the APK 2) fall back to the closest matching APK. That has the risk of choosing bad outputs though.

Perhaps we can send the flavour differently like, by separating each dimension using a comma:
$ flutter run --flavor="app1,local"
This will tell the flutter to look for the flavour "app1Local" and that the APK file name will be "app-app1-local-debug.apk.
To the best of my knowledge iOS does not have a concept of multiple flavour dimensions, so for iOS it could just look for "app1Local".

That seems like a reasonable idea. I suppose we could also allow flavor to be a multi option, so:
flutter run --flavor='app1Local'

Looks for app-app1Local.apk, while
flutter run --flavor=app1 --flavor=local

Looks for app-app1-local.apk.
WDUT?

Breadcrumbs for myself, maybe we can figure this out in the gradle plugin:
        project.android.applicationVariants.all { variant ->
            def foo = variant.getProductFlavors().collect { flavor ->
                flavor.getName()
            }.join('-')
            println(project.archivesBaseName + '-' + foo + '.apk')
        }

prints
app-app2-staging.apk
app-app2-staging.apk
app-app2-staging.apk
app-app2-local.apk
app-app2-local.apk
app-app2-local.apk
app-app1-staging.apk
app-app1-staging.apk
app-app1-staging.apk
app-app1-local.apk
app-app1-local.apk
app-app1-local.apk

This is my solution.
android {
    applicationVariants.all { variant ->
        // flutter 不支持多 dimension
        // https://github.com/flutter/flutter/issues/52905
        variant.assemble.doLast {
            def apkFile = variant.outputs.first().outputFile as File
            System.out.println("apk file: ${apkFile.path}")
            def flavorNames = variant.productFlavors.collect{flavor -> flavor.name}.toList()
            System.out.println("flavorNames: ${flavorNames.join('-')}")
            def targetApkFile = new File(apkFile.parentFile.path, "app-${flavorNames.withIndex().collect{flavorName, index -> index == 0 ? flavorName : flavorName.capitalize()}.join('')}-${variant.buildType.name}.apk")
            System.out.println("target apk file: ${targetApkFile.path}")
            exec {
                commandLine 'bash', '-lc', "cp ${apkFile.path} ${targetApkFile.path}"
            }
        }
    }
}

This is my solution.
android {
    applicationVariants.all { variant ->
        // flutter 多 dimension 支持有 bug
        // https://github.com/flutter/flutter/issues/52905
        variant.assemble.doLast {
            def apkFile = variant.outputs.first().outputFile as File
            System.out.println("apk file: ${apkFile.path}")
            def flavorNames = variant.productFlavors.collect{flavor -> flavor.name}.toList()
            System.out.println("flavorNames: ${flavorNames.join('-')}")
            def targetApkFile = new File(apkFile.parentFile.path, "app-${flavorNames.withIndex().collect{flavorName, index -> index == 0 ? flavorName : flavorName.capitalize()}.join('')}-${variant.buildType.name}.apk")
            System.out.println("target apk file: ${targetApkFile.path}")
            exec {
                commandLine 'bash', '-lc', "cp ${apkFile.path} ${targetApkFile.path}"
            }
        }
    }
}

For Windows users, you can copy the apk file using below:
exec {
    if (System.getProperty('os.name').toLowerCase(Locale.ROOT).contains('windows')) {
      commandLine 'cmd', '/c', "copy ${apkFile.path} ${targetApkFile.path}"
    } else {
      commandLine 'bash', '-lc', "cp ${apkFile.path} ${targetApkFile.path}"
    }
}


 See the gif below. One of two things happen:

The shape becomes a line with 2 points (see gif)
The rectangle becomes a parallelogram and dragging the mouse changes both the size and angles of shape. (this was the bug I initially found, but haven't been able to record it in a gif.

💡 Steps to Reproduce

Add a shapes layer
Try to draw on a rectangle shape
??? not sure, very intermittent

💡 Expected Behavior
No response
🌎 Environment
napari: 0.5.4
Platform: Windows-10-10.0.22631-SP0
Python: 3.10.15 | packaged by conda-forge | (main, Sep 30 2024, 17:41:41) [MSC v.1941 64 bit (AMD64)]
Qt: 5.15.2
PyQt5: 5.15.11
NumPy: 1.26.4
SciPy: 1.14.1
Dask: 2024.9.1
VisPy: 0.14.3
magicgui: 0.9.1
superqt: 0.6.7
in-n-out: 0.2.1
app-model: 0.3.0
psygnal: 0.11.1
npe2: 0.7.7
pydantic: 2.9.2
OpenGL:

GL version: 4.6.0 NVIDIA 551.78
MAX_TEXTURE_SIZE: 32768
GL_MAX_3D_TEXTURE_SIZE: 16384

Screens:

screen 1: resolution 1920x1080, scale 2.0
screen 2: resolution 1440x2560, scale 1.0

Optional:

numba: 0.60.0
triangle: 20230923
napari-plugin-manager: 0.1.3

Settings path:

C:\Users\timmo\AppData\Local\napari\ndev-311_38088f5b898b2da4d541680bbce088d4fc867539\settings.yaml

💡 Additional Context
No response

Thanks for opening this @TimMonko! That is definitely a bug 😄  @Czaki you've been looking at shapes very closely recently - any ideas about this one?

It looks like some deduplication of data (all 4 points in the same position so the middle one are removed.
But to check this it is required to reproduce bug and check inner structures.

@TimMonko Does this problem happen only on your horizontal screen (1920x1080 one)?

Does this problem happen only on your horizontal screen (1920x1080 one)?

Interesting.... at first I thought that was the case. But further testing has ensured its just as possible on both monitors. Also, I (accidentally) checked on an older install and this occurs on napari 0.5.1 as well.
I don't know what your hypothesis is yet, but I did change the screen scaling to be 1.0 instead of 2.0 for the horizontal monitor and the problem continues.
Here is a screenshot to include what it looks like when a parallelogram occurs (and one of the 'lines' below which has an almost triangular vector)

Does this happen on touchpad or with mouse?

Mouse. I have not tested with any other inputs. It does occur on at least 3 different computers that I've tested (all with mouse).

I spent a buncha time trying to reproduce on 0.5.5 (mac though) and I can't.
Are all 3 of the computers you mention Windows? If so, do you have access to another system to try?
Can you try 0.5.5? It has some issues with shapes too, but at least this bug I can't trigger.

Still occurs on 0.5.5 -- but seemingly even more rare, maybe 1/40th of the time, rather than 1/120th). I've tested on only Windows so far. After the holiday break I can test on other OS. I will also test on my pen tablet after holidays to see if it's just mouse-input related (it's at least not a single problematic mouse).

Thanks, I will keep trying on my mac whenever i use the Shapes layer.

For what it's worth, I'm unable to reproduce this in a new 0.5.5 environment -- not sure if my previous comment was from a fresh or updated environment, can't remember.

Ok, let's close this for now and if it appears again we can re-open or make a new issue.


Split option for client side sourcemaps

Describe the problem
While working on #10041, I realized that setting sourcemaps true in the vite config will set it to true for both client and server builds, which might not always be what you want. The client sourcemaps are left in the assets folder so they're accessible as any other asset without any restriction.
Describe the proposed solution
Something like config.kit.overrideClientSourcemaps: typeof vite_config.build.sourcemap and then set the value to overrideClientSourcemaps in the client build if present.
Alternatives considered
User deletes sourcemaps in the client folder after build
or https://github.com/sveltejs/kit/issues/9544
Importance
nice to have
Additional Information
No response

I want to share my perspective on this from the PoV of Sentry, where we need source maps to be present during the build.
(Read here as for why we need to upload users' source maps).

which might not always be what you want

I agree, it's not ideal that source maps are always generated for both, client and server, but this is how most bundlers and frameworks (e.g. NextJS) do it. I'm wondering if this is a necessary change after all.

Something like config.kit.overrideClientSourcemaps: typeof vite_config.build.sourcemap and then set the value to overrideClientSourcemaps in the client build if present.

So iiuc, this would be an opt-out option? Meaning, by default, if build: {sourcemap: true} is set, both client and server maps would be generated and only if kit.overrideClientSourcemaps would be set to false, client source maps would be omitted? If so, I think this is a fair solution. If it was opt-in, I would strongly argue against that.
The reason is that right now, our Vite plugin by default enables generation and uploading of source maps without users having to do any configuration manually (other than registering our plugin). Retaining this comfort with an opt-in mechanism in svelte.config.js would be close to impossible without serious (ugly) workarounds if possible at all.

User deletes sourcemaps in the client folder after build

This is basically what other frameworks also expect from users if they decide to generate source maps.
One thing I'm taking away from this issue (which definitely highlights valid concern) is that we should provide a better API from the Sentry SDK/Vite plugin side to delete source maps after we uploaded them, if it was our plugin that previously enabled them.


Having GiphyGridView twice in the component tree is creating issues with the search results

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
Hi Team,
Thanks for the wonderful library, I am facing an issue with GiphyGridView component. Need your help.
I have 2 tabs ( 1 for sticker and the other for displaying gifs), I have used GiphyGridView component twice to render the gifs and sticker. I have a search input field. Upon searching only the latest GiphyGridView mounted is getting the updated search results.
Motivation 🔦
No response

Closed


Fix/node v4 compatibility

[x] All tests pass
[ ] I have run npm run gen-doc

Description

I am trying to add node v4 compatibility
References

*Issue #275: https://github.com/yagop/node-telegram-bot-api/issues/275

Merged in commit d4a469df6b6eeae4c045faf7b6e63bdc765b0a15.
Thanks @crazyabdul for your time and effort in this PR!

You're welcome. @GochoMugo Thanks to you and @preco21 for letting me help.


How does it work?

Hi! I really want the feature.
But how do I actually use it?
I use cursvie for clojure, and no popups or context actions come up..
Thanks!

Hi @rutchkiwi . I'm sorry to tell you that currently clojure is not in support list.

Ah, sad. I was hoping that since Cursive (the Clojure plugin) somehow tags up string literals for the rest of IntelliJ to use, this plugin could just use that without modifications. Thanks for the reply anyhow!

Ah, sad. I was hoping that since Cursive (the Clojure plugin) somehow tags up string literals for the rest of IntelliJ to use, this plugin could just use that without modifications. Thanks for the reply anyhow!

I've reopen this issue. Clojure support will come soon.

would be much appreciated! :)

I've release a new version 1.1.0 which supports clojure (via cursive).
It is now pending JetBrains' review and approval.
You can download and install it manully, please let me know if it works or not.
jetbrains-jump-to-file-1.1.0.zip

It works perfectly. Thank you so much!! :D


"Data is undefined" thrown when using loadDatabase in browser

To verify that this was an issue, I made a simple index.html file w/ the following code (taken from the docs)
    var db = new loki('test', { env: 'BROWSER'}),
            db2 = new loki('test', { env: 'BROWSER'});

    var users = db.addCollection('users');
    users.insert({
        name: 'joe'
    });
    users.insert({
        name: 'john'
    });
    users.insert({
        name: 'jack'
    });
    console.log(users.data);
    db.saveDatabase();

    db2.loadDatabase(function () {
        var users2 = db2.getCollection('users')
        console.log(users2.data);
    });

loadDatabase breaks in the following code snippet (which exists in two areas):
        if (localStorageAvailable()) {
          self.loadJSON(localStorage.getItem(this.filename));
          cFun(null, data);
        } else {
          cFun(new Error('localStorage is not available'));
        }

Data is undefined and an error is thrown. I've verified that removing data from the callback resolves the issue.

Thanks for flagging this Ryan.
As it is a callback that cFun looks like it was meant to be a
cFun.call(null, data);
Would you be able to test if that works? I won't be in front of a pc for
a few days and this seems a  pretty major bug.
joe
On 08/01/15 22:32, Ryan wrote:

To verify that this was an issue, I made a simple index.html file w/
the following code (taken from the docs)
var db = new loki('test', { env: 'BROWSER'}),
        db2 = new loki('test', { env: 'BROWSER'});

var users = db.addCollection('users');
users.insert({
    name: 'joe'
});
users.insert({
    name: 'john'
});
users.insert({
    name: 'jack'
});
console.log(users.data);
db.saveDatabase();

db2.loadDatabase(function () {
    var users2 = db2.getCollection('users')
    console.log(users2.data);
});

|loadDatabase| breaks in the following code snippet (which exists in
two areas):
    if (localStorageAvailable()) {
      self.loadJSON(localStorage.getItem(this.filename));
      cFun(null, data);
    } else {
      cFun(new Error('localStorage is not available'));
    }

Data is undefined and an error is thrown. I've verified that removing
data from the callback resolves the issue.
—
Reply to this email directly or view it on GitHub
https://github.com/techfort/LokiJS/issues/56.

That alone didn't work. Data being undefined but referenced like a global variable still causes that nasty error to get thrown.
Assuming that you want the localStorage / BROWSER version to work just like the NODEJS version, the following
            var data = localStorage.getItem(this.filename);

            self.loadJSON(data, options || {});
            cFun.call(null, data);

worked fine and may suffice as a solution.

If you want to submit a PR i'm happy for you to get the credit for it.
Otherwise I'll see if @obeliskos has time to address this.
On Thu, Jan 8, 2015 at 10:53 PM, Ryan<EMAIL_ADDRESS>wrote:

That alone didn't work. Data being undefined but referenced like a global
variable still causes that nasty error to get thrown.
Assuming that you want the localStorage / BROWSER version to work just
like the NODEJS version, the following
        var data = localStorage.getItem(this.filename);

        self.loadJSON(data, options || {});
        cFun.call(null, data);

worked fine and may suffice as a solution.
—
Reply to this email directly or view it on GitHub
https://github.com/techfort/LokiJS/issues/56#issuecomment-69265086.

PR Submitted. Thanks!

I needed to modify the call to just cFun(null, data) instead of the cFun.call which appears to treat the first param as a 'this' context before mapping the other args so the data was being mapped to err.  I suppose we could have just passed this as first param but I don't know that we need that context to a user function.

Re-opening to allow time for all to review changes


Fixes typos

Fixed typos in github pages, at syncers section.
Fixes https://github.com/backup/backup/issues/946
Not sure the commit should be into master or backup:gh-pages
(First PR have submitted- Hope I did okay)

This PR is against the correct branch branch, thanks !


Add basic styles to the resume page

Added styles for blocks:

General styles
Contact info styles
Intro and skills styles
Experience and additonal info styles

closes #15


Supporting a babel preset stage-x

Right now, we have cherry-picked some post ES2016 features. I think it's better to support stage-3 or stage-2 presets instead.
With that, we could easily refer which features we support and so on.

Ref #22 why we chose the ones we did

Hi, I know it’s a bit confusing but our strategy here is to use the syntax transforms that is either part of the standard, or that we also actively use at Facebook. Only this gives us confidence in using (and suggesting to use) experimental syntax.

Sure. Got it.
Thanks @mxstbr for the reference. I couldn't find it.


customized_config attribute for twitter at user presentation

Related to CartoDB/product#49.

@VictorVelarde take a look at this. It adds a customized_config parameter that will be true if the user has a custom configiuration for Twitter, or false otherwise.
If it works for you, merge it into your branch, but don't forget asking for backend CR + acceptance before merging your main branch into master cc @amartinj @javitonino

Thx @juanignaciosl LGTM.
I will keep you informed


Disable one_hot tests which throw exceptions.

The GPU transformer doesn't yet handle these special cases in op::OneHot and so these tests should be failing but are not on some systems. Disabling them until they are handled.

Those test should not be enabled for GPU.


Easy Engine Stack - unrecognized arguments

Hello,
I just installed a fresh copy of easyengine on my test server at DO. When I use "ee stack install" command it ony installed Nginx, PHP, MySQL, Postfix and WP-CLI.
I tried to use "ee stack install phpMyAdmin" command and it gives following error
usage: ee (sub-commands ...) [options ...] {arguments ...}
ee: error: unrecognized arguments: phpMyAdmin
When I tried "ee stack install admin", it gives same error
usage: ee (sub-commands ...) [options ...] {arguments ...}
ee: error: unrecognized arguments: admin
Was this intended and all the admin tools were removed? If not, how can I fix it ?
BTW, I appreciate your job on EasyEngine.
Thanks.

Can you try ee stack install --all to install everything?
Syntax is changed bit after today's release.
Doc - http://docs.rtcamp.com/easyengine/commands/stack

Awesome ! Thank you :)

Should update here: https://easyengine.io/tutorials/linux/ubuntu-php-mysql-nginx-postfix/
ee system install all


Unneeded horizontal scroll bar displayed in the menu of the dashboard template

When viewing the dashboard template with Chrome 45.0.2421.0 an unneeded horizontal scroll bar is displayed at the bottom of the the menu (drawer).

The problem are the dropdown menu items in the header. They have a width of 100% and all the parents are position absolute. In my opinion they dont need the width of 100% because they are already block elements.
Remove the width: 100% of .mdl-menu__item will fix it.

Assigning to Surma since I believe he was the one who wrote the template.

I don’t have that scroll bar :scream:
Could you guys provide a screenshot and specs about your system (browser, OS, zoom settings etc)?

OS: Ubuntu (Mate) 15.04
Zoom: None
Screen size: 1920x1080
browser: Chrome 45.0.2454.6 Dev Channel (only because I don't get Canary :frowning: )
Screenshot (Scrollbar in lower left corner) :

I noticed the same scrollbar.
The li items on the dropdown<EMAIL_ADDRESS>have a padding of 0px 16px if you set this to zero and give the 16px padding to the ul (resulting in a padding of 8px 16px) it is fixed.

@DJWassink
With the change of the padding i get a weird animation on
43.0.2357.132 Chrome @ Ubuntu 14.04

@tschiela
Didn't notice any weird animations on my end. However the highlighting does seems to get buggy, currently I implemented your solution by removing the 100% width which seems to be a better solution.

I have the same problem. For me modifying the value of overflow-y to initial or visible in the class .mdl-layout__drawer solved the issue.

I agree with @tschiela’s argument. Fixed in #1022


Ray Cast details

Hello! I also try to implement KinectFusion on python and I notice that there are some differents in your code compared with paper:

In render_model function, the predicted surface points are: hit_pts = ray_pts_w[hs, ws, indices][hit_surface_mask]. But in the paper, the points are defined by bi-interpolate on the ray
Also, the normals are computed by nearest-nerghor search on raw TSDF volume. But in the paper, the points are defined by tri-interpolate on global frame.

Could you help me out this problem?
Thanks

Hi @MisEty, thanks for your interest! I will try to answer your questions:

So here I just used the simplest way of finding the intersection point. I think you can try more sophisticated ways like in the paper. I can't remember exactly why I did it this way as I have written this repo a yea ago... But given that the number of samples along the ray is so big compared with the near and far bound, I guess the simplest method should work for most cases.
For the normals, I can't remember exactly why I didn't do tri-linear interpolation (It seems that I also implemented the trilinear interploation but didnt use it). Maybe I tried it but it didn't bring too much improvement. But you can try that as well.

So these are basically just design choices I made when I wrote the code and are very flexible and largely personal. I can't remember many of those implementation details as it's been a year since I wrote this repo and I didn't thouroughly test all the possible combinationds of settings as this repo is mainly for studying purpose. So just feel free to play with different settings and let me know if you have some more intersting discoveries.
Best
Jingwen

Thanks for your quickly help! I will try more differnet settings according to the paper.


How to ExcludeFromCodeCoverageAttribute in a test framework scenario?

Description
If I run dotnet test --collect="Code Coverage", then it counts xunit classes towards code coverage statistics.
Coverlet addresses this problem by providing an ExcludeByAttribute where the user can define arbitrary attributes to use for exclusion purposes.
Steps to reproduce

Create a new .NET library project that has a class Foo that calculates A + B
Create a new xunit test project that tests class Foo
Run dotnet test --collect="Code Coverage"

Expected behavior
xunit assemblies not included in code coverage report.
Actual behavior
xunit assemblies included in code coverage report.
Diagnostic logs
n/a - please specify what you would want for this, and I can provide
Environment
Test SDK 17.5

cc: @jakubch1


Graphsignup

The signup form at the bottom of the graphs page shouldn't appear for people who are logged in, so I'm hiding it.

Branched off of wrong thing.


Disable jquery scrollbar for iOS?

Scrolling doesn't seem so smooth on my iPad mini (maybe it's just me), so I was wondering if there's a way to disabled the plugin for iOS and just use native scrollbars?
Thanks

use option ignoreMobile:true

Great, thanks :)