recommended updates

JHU/APL has requested:

an implemented Aircraft::operator=
cleaner concepts in AirborneApplication. Particularly related to the concept of own_intent

Response. Note that the equals operator is not actually needed in Aircraft as the class is empty. Essentially abstract. But, I'll make sure our next release keeps this in mind.


Tags?

It's been a while since go-mode has tagged a release, hence it has been a while since MELPA stable has offered an update. Do you plan on tagging newer releases or should I fetch updates to go-mode from non-stable MELPA?

I've just pushed v1.5.0. I do intend to tag regularly, I just didn't think that much interesting had happened since 1.4.0.

Thanks! The change I cared about most since v1.4.0 was go-guru.el being added.

@aaronbee Oh. I'm not sure if this tag is going to help you, then. Haven't really found the time to properly integrate guru and rename since they've been merged. In particular, their metadata isn't quite right, with versions that do not match the git tag. I'm not sure if MELPA stable will handle that correctly or not.


Feature/merge fix

Approved and merged Benita's PR, removed my PRs, pulled and resolved conflicts locally and pushing a new branch with my changes. I hope that works!

It's still tracking resolvers! I was sure I fixed that.


Check permissions

I don't know if I need to add it exactly like this, but I need it

I could not test it locally. I would appreciate if you add the feature

I could not test it locally. I would appreciate if you add the feature

It is ok, I will continue to develop after merging this pull request. Thanks for the effort though

Will do it in this weekend

@bugrevealingbme this pull request will be publish after physical iOS device is being tested

Do you need extra permissions for this on iOS?

iOS does not have any system setting API for developers

await ScreenBrightness.instance.canChangeSystemBrightness did not return true. I don't understand the problem

@bugrevealingbme what are you trying to achieve?

If you don't allow the permission it will always return false

I know, I gave permission

Has the permission popped when adjusting system brightness?

Yes

have you accepted the permission?

[log] MissingPluginException(No implementation found for method canChangeSystemBrightness on channel github.com/aaassseee/screen_brightness)

Using like this
dependency_overrides:
screen_brightness:
git:
url: https://github.com/aaassseee/screen_brightness.git
ref: develop
path: screen_brightness
screen_brightness_platform_interface:
git:
url: https://github.com/aaassseee/screen_brightness.git
ref: develop
path: screen_brightness_platform_interface


fix: update required ibm provider version to < 1.7

/run pipeline

/run pipeline

:tada: This PR is included in version 2.11.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


proxy: add jwks endpoint to control plane and mock providers

Please try to update the integration test fixtures setup here in this repo, too, even if this path is not exercised yet, so the new table for the mock is at least documented there. Of course, a section about local testing in the proxy's README is even better. Up to you.

Yeah, will do in a separate PR


ISSUES-369 add default database when create materialize view

fix #369
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

depend #1984

Will the modified query with explicitly specified database be written into .sql metadata file?
I suspect it won't. In that case the view will behave differently after server restart.

@alexey-milovidov I've added test, Please help review the changes : )


Fix rotated views on HiDPI outputs

Test plan: set output scale to 2, open gnome-calculator, rotate it, check that pointer events work (clicking on buttons, text inputs...). Check that views are rendered at the correct position (open menus), except the combobox. The combobox uses a popup and these don't work anymore on non-HiDPI outputs (hence, this is an unrelated regression, #415).
Fixes #402

Thanks!


Implement Explain

What should be done?
Implement Explain method for queries just like in pgdb.
Integration tests are not in the scope; they should be updated in #3414, #3415, #3416.
Where?
https://github.com/FerretDB/FerretDB/blob/main/internal/backends/postgresql/collection.go
Definition of Done

method implemented;
spot refactorings done.

@AlekSi Please can I be assigned to this issue?


cannot find bug fixing issues in Jira Projects of Apache Software Foundation

The analysis of any project in the jira of the apache software foundations fails.
As example, we executed
git clone https://github.com/apache/accumulo
python3 fetch.py --issue-code ACCUMULO --jira-project issues.apache.org/jira

python3 git_log_to_array.py --repo-path ./accumulo --from-commit 31b54248176f320cc15f432ece29f998a0d3a363

python3 find_bug_fixes.py --gitlog gitlog.json --issue-list ./issues

The last script cannot find any matching bug-fixing commit while reading from the commit messages there are several commits reporting the Jira issue id and clearly reporting "fixed" in the commit message.

This is a bug. There current pattern to match a fix is 'JENKINS-{nbr}\D|#{nbr}\D|HUDSON-{nbr}\D' which is specific for Jenkins. You have to identify something that indicates that a bug has been solved in the commits and specify that pattern when you run the script find_bug_fixes.py. I'm uploading a solution which lets you specify that as an argument.

@davidetaibi You can try it out by using:
python3 find_bug_fixes.py --gitlog gitlog.json --issue-list ./issues --gitlog-pattern "<a_pattern>"


Re-run generation creates wrong init.py file

Summary:
When autorest is executed with `two times, the generated init.py file in the namespace directory does not have the expected content and differs from the content which was generated in the first time.
Test Environment:

Windows 10
AutoRest code generation utility [cli version: 3.0.6187; node: v12.16.1, max-memory: 8192 gb]
Loading AutoRest extension '@autorest/python' (5.0.0-preview.8->5.0.0-preview.8) (--use=<EMAIL_ADDRESS>option was used)

Details

Get petstore.yaml file from https://github.com/Azure/autorest/blob/master/Samples/openapi-v3/1a-code-generation-minimal/petstore.yaml

Execute the following command:
autorest --input-file=petstore.yaml --python --output-folder=petstore --namespace=azure.mgmt.petstore --azure-arm=true --use=<EMAIL_ADDRESS>--package-version=0.2 --basic-setup-py=true

The content of the petstore/azure/mgmt/petstore/__init__.py file is:
# coding=utf-8
# --------------------------------------------------------------------------
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6282, generator: {generator})
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

from ._swagger_petstore import SwaggerPetstore
from ._version import VERSION

__version__ = VERSION
__all__ = ['SwaggerPetstore']

try:
    from ._patch import patch_sdk
    patch_sdk()
except ImportError:
    pass

Execute the same command again. The content has changed:

__path__ = __import__('pkgutil').extend_path(__path__, __name__)  # type: ignore-----------
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6282, generator: {generator})
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

from ._swagger_petstore import SwaggerPetstore
from ._version import VERSION

__version__ = VERSION
__all__ = ['SwaggerPetstore']

try:
    from ._patch import patch_sdk
    patch_sdk()
except ImportError:
    pass

One can see that the first line has been overwritten.
Additional information

I have tried with various OpenAPI files and with different options (with and without --basic-setup-py option, the result is the same.
I have tried with and without --clear-output-folder=true, the result is the same.
If I manually delete the output folder, the next generation is good again. (However, this is tricky because if VS Code was open, despite the folder deletion, the next generation was wrong again. This is magic, I know, could not find the real root cause here.)
If I delete only the __init__.py file, the next generation is wrong again!
No other __init__.py file has the same issue, only the one which is in the namespace folder.

fixed by PR #661


Wrapping profile not needed

Your README has this:
[profile acme_dev]
sso_start_url = https://acme.awsapps.com/start/
sso_region = us-east-2
sso_account_id =<PHONE_NUMBER>
sso_role_name = AWSAdministratorAccess
region = us-east-2
output = json

[profile wrap_acme_dev]
credential_process = /Users/alice/bin/aws-sso-fetcher acme_dev
region = us-west-1
output = json

but I believe it should still work if you fold it together:
[profile acme_dev]
credential_process = /Users/alice/bin/aws-sso-fetcher acme_dev

sso_start_url = https://acme.awsapps.com/start/
sso_region = us-east-2
sso_account_id =<PHONE_NUMBER>
sso_role_name = AWSAdministratorAccess
region = us-west-1
output = json

The CLI v2 prefers the SSO config over credential_process, so it won't run it (good), and the SDKs will just pick up the credential_process and ignore the SSO config.

huh that's clever, i'll play with that tonight

This works for me with terraform/go as long as I set: export AWS_SDK_LOAD_CONFIG=1

I don't think that's dependent on this tool; for some reason, the Go SDK doesn't automatically use ~/.aws/config in its credential sources

Can also confirm this appears to work fine with Terraform & the AWS_SDK_LOAD_CONFIG environment variable

updated the README to remove the wrapper language, and to document needed to set AWS_SDK_LOAD_CONFIG - let me know if there's more that's needed.


cmd/compile: some puzzles on optimization when takes care about of arrays in struct

What version of Go are you using (go version)?
go version go1.7.4 linux/amd64

What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH=""
GORACE=""
GOROOT="/home/zhaozq/src/go"
GOTOOLDIR="/home/zhaozq/src/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build701526462=/tmp/go-build"
CXX="g++"
CGO_ENABLED="1"

What did you do?
I test several examples to test the performance of iterating an array. All of the version are compile by go build -gcflags="-B"
version I, the code below
package main

const NUM = 100

func sub(arr []int) {
     for i := 0; i < NUM; i++ {
         arr[i] = 3
     }
}

func main() {
     var arr = make([]int, NUM)
     sub(arr)
}

While the assemble of function sub is
0000000000401000 <main.sub>:
  401000:       48 8b 44 24 08          mov    0x8(%rsp),%rax
  401005:       31 c9                   xor    %ecx,%ecx
  401007:       48 83 f9 64             cmp    $0x64,%rcx
  40100b:       7d 11                   jge    40101e <main.sub+0x1e>
  40100d:       48 c7 04 c8 03 00 00    movq   $0x3,(%rax,%rcx,8)
  401014:       00
  401015:       48 ff c1                inc    %rcx
  401018:       48 83 f9 64             cmp    $0x64,%rcx
  40101c:       7c ef                   jl     40100d <main.sub+0xd>
  40101e:       c3                      retq
  40101f:       cc                      int3

The iteration of the array is
  40100d:       48 c7 04 c8 03 00 00    movq   $0x3,(%rax,%rcx,8)
  401014:       00
  401015:       48 ff c1                inc    %rcx
  401018:       48 83 f9 64             cmp    $0x64,%rcx
  40101c:       7c ef                   jl     40100d <main.sub+0xd>

I take this version(version I) as the base, and I think the optimization is well.
version II
I put the array into a struct
package main

const NUM = 100

type T struct {
     arr [NUM]int
}

func sub(t *T) {
     for i := 0; i < NUM; i++ {
         t.arr[i] = 3
     }
}

func main() {
     var t T
     sub(&t)
}

The assemble of function sub is
0000000000401000 <main.sub>:
  401000:       48 8b 44 24 08          mov    0x8(%rsp),%rax
  401005:       31 c9                   xor    %ecx,%ecx
  401007:       48 83 f9 64             cmp    $0x64,%rcx
  40100b:       7d 13                   jge    401020 <main.sub+0x20>
  40100d:       84 00                   test   %al,(%rax)
  40100f:       48 c7 04 c8 03 00 00    movq   $0x3,(%rax,%rcx,8)
  401016:       00
  401017:       48 ff c1                inc    %rcx
  40101a:       48 83 f9 64             cmp    $0x64,%rcx
  40101e:       7c ed                   jl     40100d <main.sub+0xd>
  401020:       c3                      retq

And the loop is
  40100d:       84 00                   test   %al,(%rax)
  40100f:       48 c7 04 c8 03 00 00    movq   $0x3,(%rax,%rcx,8)
  401016:       00
  401017:       48 ff c1                inc    %rcx
  40101a:       48 83 f9 64             cmp    $0x64,%rcx
  40101e:       7c ed                   jl     40100d <main.sub+0xd>

The line 40100dis quite strange. What's the usage of test here?? I think it's useless, and it will waste a cycle. We care about it, because we will use this kind of function a lot.
version III
We use a way to make the compiler do not what we are passing.
package main

import "unsafe"

const NUM = 100

type T struct {
     arr [NUM]int
}

func sub(p unsafe.Pointer) {
     for i := 0; i < NUM; i++ {
         *(*int)(p) = 3
         p = unsafe.Pointer(uintptr(p) + 8)
     }
}

func main() {
     var t T
     sub(unsafe.Pointer(&t))
}

The assembler of function sub
0000000000401000 <main.sub>:
  401000:       48 8b 44 24 08          mov    0x8(%rsp),%rax
  401005:       31 c9                   xor    %ecx,%ecx
  401007:       48 83 f9 64             cmp    $0x64,%rcx
  40100b:       7d 14                   jge    401021 <main.sub+0x21>
  40100d:       48 c7 00 03 00 00 00    movq   $0x3,(%rax)
  401014:       48 ff c1                inc    %rcx
  401017:       48 83 c0 08             add    $0x8,%rax
  40101b:       48 83 f9 64             cmp    $0x64,%rcx
  40101f:       7c ec                   jl     40100d <main.sub+0xd>
  401021:       c3                      retq

The loop is
  40100d:       48 c7 00 03 00 00 00    movq   $0x3,(%rax)
  401014:       48 ff c1                inc    %rcx
  401017:       48 83 c0 08             add    $0x8,%rax
  40101b:       48 83 f9 64             cmp    $0x64,%rcx
  40101f:       7c ec                   jl     40100d <main.sub+0xd>

The number of operations in version III is the same as version II, but memory read times have been reduced, so this kind of version is faster.
version IV
To reduce the numbers of operations in version III, I changed again.
package main

import "unsafe"

const NUM = 100

type T struct {
     arr [NUM]int
}

func sub(p unsafe.Pointer) {
     maxp := uintptr(p) + 8 * NUM
     for ; uintptr(p) < maxp; {
         *(*int)(p) = 3
         p = unsafe.Pointer(uintptr(p) + 8)
     }
}

func main() {
     var t T
     sub(unsafe.Pointer(&t))
}

The assemble of function sub
0000000000401000 <main.sub>:
  401000:       48 8b 44 24 08          mov    0x8(%rsp),%rax
  401005:       48 89 c1                mov    %rax,%rcx
  401008:       48 81 c1 20 03 00 00    add    $0x320,%rcx
  40100f:       48 89 c2                mov    %rax,%rdx
  401012:       48 39 ca                cmp    %rcx,%rdx
  401015:       73 13                   jae    40102a <main.sub+0x2a>
  401017:       48 c7 00 03 00 00 00    movq   $0x3,(%rax)
  40101e:       48 83 c0 08             add    $0x8,%rax
  401022:       48 89 c2                mov    %rax,%rdx
  401025:       48 39 ca                cmp    %rcx,%rdx
  401028:       72 ed                   jb     401017 <main.sub+0x17>
  40102a:       c3                      retq

The loop is
  401017:       48 c7 00 03 00 00 00    movq   $0x3,(%rax)
  40101e:       48 83 c0 08             add    $0x8,%rax
  401022:       48 89 c2                mov    %rax,%rdx
  401025:       48 39 ca                cmp    %rcx,%rdx
  401028:       72 ed                   jb     401017 <main.sub+0x17>

The number of operations are not reduced.  Why introduce %rdx....?
What did you expect to see?
Please discuss about version II and version IV.

We don't use the issue tracker for discussions.  If you just want to talk about this, please raise it on the mailing list golang-dev.  If there is a specific bug here that you think should be addressed, please be precise: give one test case, and show why the output is sub-optimal.  Right now I find this issue too complex--I don't know what is broken and what should be fixed.  I also don't care about the performance of code compiled with -B.  Thanks.

Also you should disassemble go1.8 code at least (even better: tip, the current master). Reports that point out deficiencies in the go1.7 compiler are not very useful and whoever process you report will have to re-check everything with tip just to understand if the issues you reported are still valid or not.

@ianlancetaylor Actually, I use -B to make the assemble easy to read. And the bug(I think it's a bug) is also there when remove -B. And I hope this can be fixed(by removing useless operations).

  But I really tried Go 1.8. This situation is always there.

@ianlancetaylor @ALTree Changed to 1.8.1, and show the problem more clearly.

Both of these cases (II and IV) are still happening at tip.
In II, that extra instruction is a nil check.  The compiler does not yet know that it can lift that nil check out of the loop.  You could do something like
	_ = t.arr[0]

before the loop to lift that nil check out yourself.
In IV, the extra move is an unfortunate side-effect of how we track unsafe.Pointer <-> uintptr conversions.  We are careful in the compiler to keep those two types separate to keep the pointer maps for the garbage collector accurate.  This means we end up with an extra MOVQconvert that isn't necessary.
A rule like (CMPQ (MOVQconvert x) y) -> (CMPQ x y) would probably help.

For IV (the extra move), see #21572.


ACT froze after using /spespe clear placeholder "tag" command

I use /spespe clear placeholder "tag" command to change monitor target.
but current version sometimes froze the entire ACT. log didn't show much thing. PLZ fixit.
Advanced Combat Tracker.log
ACT.SpecialSpellTimer.2017-09.log

never mind. not sst problem. It's ACT's crash:
http://www.eq2flames.com/bugs-feedback-amp-technical-support/96164-act-crash-report.html
in short:

Go into the ACT options tab->Output Display->Text Export Settings. Uncheck the "Export to Clipboard after combat" and see if that solves the problem.


Change archival default to true, update README documentation to reflect.

I would kindly ask @carolscarton to update the documentation

Thanks, good catch @crux82


ci: add workflow to create release from tags

Propose to closes #29

This workflow proposes an workflow to run:

a Windows job to build the Windows version of the electron app.
a MacOS job to build the MacOS version of the elctron app.
a Ubuntu job that get the artifacts builded in the above jobs and create the GitHub release.

I decided to use this way to get more control for releasing than using electron-builder --publish(like changing release body text, adding other files as the APK's or add automatic release to an web store if needed).

Another important thing is: is needed to create an new access token with permission to create release and add as GITHUB_TOKEN secret.
Update:

I added an new job to release the Linux AppImage version of the application.

I removed the original workflows publish.yml and test.yml, because the actions are disabled for this repository, then i supposed that are not working.

Hi @willianrod i update this today, and added the Linux AppImage release support and, really removed the old workflows (because the actions are disabled on this repository).

I have got this same error on Windows with old setup node action version, but in a private test repository, only update to more recent setup-node fixed 😢

@EduardoJM which version have you used?

@EduardoJM which version have you used?

The version actions/setup-node@v3 (in the workflow). I have update from v2 to v3 to solve the problem.
But, now, the action was successful runned


Identifiers validation failed for dataset Bongo Zooplankton Data from the R/V TINRO, NOAA Bell M. Shimada, F/V Northwest Explorer and R/V CCGS Sir John Franklin during the 2022 International Year of the Salmon Pan-Pacific Winter High Seas Expedition

Identifier validation failed for the dataset Bongo Zooplankton Data from the R/V TINRO, NOAA Bell M. Shimada, F/V Northwest Explorer and R/V CCGS Sir John Franklin during the 2022 International Year of the Salmon Pan-Pacific Winter High Seas Expedition:

Crawler attempt: 54
Publishing organization: Hakai Institute
Publishing country: CANADA
Installation: OBIS Canada
Number of occurrences indexed for this dataset at the time of the issue: 6568
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 7006 total records; 7006 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3417340/step

New IDs sample:

Old IDs sample:

IYS2022-Shimada-4-10-Bongo-1-114
IYS2022-Shimada-4-10-Bongo-1-115
IYS2022-Shimada-4-10-Bongo-1-116
IYS2022-Shimada-4-10-Bongo-1-117
IYS2022-Shimada-4-10-Bongo-1-118
IYS2022-Shimada-4-10-Bongo-1-119
IYS2022-Shimada-4-10-Bongo-1-120
IYS2022-Shimada-4-10-Bongo-1-121
IYS2022-Shimada-4-10-Bongo-1-122
IYS2022-Shimada-4-10-Bongo-1-123

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Bongo Zooplankton Data from the R/V TINRO, NOAA Bell M. Shimada, F/V Northwest Explorer and R/V CCGS Sir John Franklin during the 2022 International Year of the Salmon Pan-Pacific Winter High Seas Expedition : https://doi.org/10.21966/ymv6-8024.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

It doesn't look like they kept track of their samples, only the sampling events. I am letting the dataset be ingested.


Install fails on Windows 10

Running npm install in an empty project yields the following output:
C:\dev\jsonnet-test>npm install @hanazuki/node-jsonnet

><EMAIL_ADDRESS>install C:\dev\jsonnet-test\node_modules\@hanazuki\node-jsonnet
> cmake-js build --CDCMAKE_EXPORT_COMPILE_COMMANDS=1

[
  'C:\\Program Files\\nodejs\\node.exe',
  'C:\\dev\\jsonnet-test\\node_modules\\cmake-js\\bin\\cmake-js',
  'build',
  '--CDCMAKE_EXPORT_COMPILE_COMMANDS=1'
]
info TOOL Using Visual Studio 16 2019 generator.
info CMD CONFIGURE
info RUN [
info RUN   'cmake',
info RUN   'C:\\dev\\jsonnet-test\\node_modules\\@hanazuki\\node-jsonnet',
info RUN   '--no-warn-unused-cli',
info RUN   '-G',
info RUN   'Visual Studio 16 2019',
info RUN   '-A',
info RUN   'x64',
info RUN   '-DCMAKE_JS_VERSION=6.2.1',
info RUN   '-DCMAKE_BUILD_TYPE=Release',
info RUN   '-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=C:\\dev\\jsonnet-test\\node_modules\\@hanazuki\\node-jsonnet\\build',
info RUN   '-DCMAKE_JS_INC=<REDACTED>\\.cmake-js\\node-x64\\v14.17.0\\include\\node',
info RUN   '-DCMAKE_JS_SRC=C:/dev/jsonnet-test/node_modules/cmake-js/lib/cpp/win_delay_load_hook.cc',
info RUN   '-DNODE_RUNTIME=node',
info RUN   '-DNODE_RUNTIMEVERSION=14.17.0',
info RUN   '-DNODE_ARCH=x64',
info RUN   '-DCMAKE_JS_LIB=<REDACTED>\\.cmake-js\\node-x64\\v14.17.0\\win-x64\\node.lib',
info RUN   '-DCMAKE_EXPORT_COMPILE_COMMANDS=1',
info RUN   '-DCMAKE_SHARED_LINKER_FLAGS=/DELAYLOAD:NODE.EXE'
info RUN ]
Not searching for unused variables given on the command line.
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19042.
-- The C compiler identification is MSVC 19.29.30040.0
-- The CXX compiler identification is MSVC 19.29.30040.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at third_party/jsonnet/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

CMake Error at third_party/jsonnet/CMakeLists.txt:43 (message):
  Compiler MSVC not supported

-- Configuring incomplete, errors occurred!
See also<EMAIL_ADDRESS>ERR! OMG Process terminated: 1
npm WARN<EMAIL_ADDRESS>requires a peer of @types/node@* but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `cmake-js build --CDCMAKE_EXPORT_COMPILE_COMMANDS=1`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     <REDACTED>\AppData\Roaming\npm-cache\_logs\2021-08-10T14_14_02_481Z-debug.log

Thanks for your report. This library currently does not support Windows build as our dependency libjsonnet does not so.
They have an open issue for Windows support that you may help resolve: https://github.com/google/jsonnet/issues/734

That error comes from this line https://github.com/google/jsonnet/blob/108e5d7ba7de3dfa42468461acbb3b1385aed629/CMakeLists.txt#L42 and I think the expected fix is only to set up the compiler-specific command line options for MSVC.

Started some trial and error at #65.

Thanks for the quick response, much appreciated!
The build succeeds now when installing the package but when I try to use it I get the following error:
Error: The specified module could not be found.
<EMAIL_ADDRESS>    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1131:18)
    at Module.load (internal/modules/cjs/loader.js:937:32)
    at Function.Module._load (internal/modules/cjs/loader.js:778:12)
    at Module.require (internal/modules/cjs/loader.js:961:19)
    at require (internal/modules/cjs/helpers.js:92:18)
    at bindings (C:\Users\itama\dev\jsonnet-test\node_modules\bindings\bindings.js:112:48)
    at Object.<anonymous> (C:\Users\itama\dev\jsonnet-test\node_modules\@hanazuki\node-jsonnet\lib\index.js:2:36)
    at Module._compile (internal/modules/cjs/loader.js:1072:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    at Module.load (internal/modules/cjs/loader.js:937:32)

The node-jsonnet.node file does exist in the module's folder
I uploaded my test repo to https://github.com/Osherg/jsonnet-test


getPositionStream parameters do not work

🐛 Bug Report
I have tried to get the getPositionStream to work. Because I want to save the values in Firestore I need the option "distanceFilter". Unfortunately the specification of the filter does not change anything. I observed the same with "timeInterval" (under Android).
I tried many values. DistanceFilter for example set to 1000. Nevertheless it will output 30 identical lines in the console in a short time.
Expected behavior
I thought the distance filter limits the output when you are standing still.
Reproduction steps
_positionStream = getPositionStream(
              desiredAccuracy: LocationAccuracy.bestForNavigation,
              distanceFilter: 10000,
              timeInterval: Duration(seconds: 1).inMilliseconds)
          .listen((Position position) {
        print(position == null
            ? 'Unknown'
            : position.latitude.toString() +
                ', ' +
                position.longitude.toString());
});

Configuration
Version: 6.0.0+4
Platform:

[ ] :iphone: iOS - did not test yet
[X] :robot: Android

Never mind I found the problem, you have to restart the app completely to see the change.


Action button - only children in clickable, not entire button

The touchable opacity surrounds only the child on the button (_renderButtonIcon), but not entire button, so the circle is not clickable - only the icon.
I've fixed this and will soon issue a PR.
Doesn't seem to cause any layout issues on iOs and Android.

This is the touchable area after my fix:


Add batch retrieval tests, fix batch retrieval

Adding batch integration tests.
I'm moving the large volume tests to a separate test to run with the dataflow runner instead, due to the throughput limitations of BQ IO while using the direct runner.
Reopening because I broke the bot.

/retest

/retest

/retest

/retest


MT PROD: Resolve option not working

Even when a loaded a small FASTA (36 seqs), keeps spinning with no end. It's only the Resolve option. Same file worked fine in ANGular

This is still a problem. But it is a low priority.


[BUG] scripts/activate.sh fails on pigweed

Reproduction steps
Follow the instructions in BUILDING.md.
The 'activate' script gets to the 'setting up python environment' and then dies with a large spew of error messages:
Setting up CIPD package manager...done (43.1s)
Setting up Project actions........skipped (0.1s)
Setting up Python environment.....[-]
ERROR at /home/hendrik/Source.External/OpenThread/MatterMini/connectedhomeip/third_party/pigweed/repo/pw_build/facade.gni:187:7: Assertion failed.
assert(_dep_is_in_link_dependencies,
^-----
/home/hendrik/Source.External/OpenThread/MatterMini/connectedhomeip/third_party/pigweed/repo/pw_log:impl must be listed in the pw_build_LINK_DEPS build arg when the /home/hendrik/Source.External/OpenThread/MatterMini/connectedhomeip/third_party/pigweed/repo/pw_log:pw_log facade is in use. Please update your toolchain configuration.
See /home/hendrik/Source.External/OpenThread/MatterMini/connectedhomeip/third_party/pigweed/repo/pw_log/BUILD.gn:47:1: whence it was called.
pw_facade("pw_log") {
^--------------------
See //src/lib/support/BUILD.gn:351:5: which caused the file to be included.
"$dir_pw_log:impl",
^-----------------
['gn', 'gen', '/home/hendrik/Source.External/OpenThread/MatterMini/connectedhomeip/.environment/gn_out', '--args=chip_crypto="boringssl" dir_pigweed="/home/hendrik/Source.External/OpenThread/MatterMini/connectedhomeip/third_party/pigweed/repo"']
Traceback (most recent call last):
File "/home/hendrik/Source.External/OpenThread/MatterMini/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 402, in install_packages
subprocess.check_call(
File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gn', 'gen', '/home/hendrik/Source.External/OpenThread/MatterMini/connectedhomeip/.environment/gn_out', '--args=chip_crypto="boringssl" dir_pigweed="/home/hendrik/Source.External/OpenThread/MatterMini/connectedhomeip/third_party/pigweed/repo"']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/hendrik/Source.External/OpenThread/MatterMini/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 995, in
sys.exit(main())
^^^^^^
File "/home/hendrik/Source.External/OpenThread/MatterMini/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 987, in main
return EnvSetup(**vars(parse())).setup()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hendrik/Source.External/OpenThread/MatterMini/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 577, in setup
result = step(spin)
^^^^^^^^^^
File "/home/hendrik/Source.External/OpenThread/MatterMini/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 766, in virtualenv
if not virtualenv_setup.install(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hendrik/Source.External/OpenThread/MatterMini/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 443, in install
install_packages(gn_target)
File "/home/hendrik/Source.External/OpenThread/MatterMini/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 410, in install_packages
raise subprocess.CalledProcessError(
subprocess.CalledProcessError: Command '['gn', 'gen', '/home/hendrik/Source.External/OpenThread/MatterMini/connectedhomeip/.environment/gn_out', '--args=chip_crypto="boringssl" dir_pigweed="/home/hendrik/Source.External/OpenThread/MatterMini/connectedhomeip/third_party/pigweed/repo"']' returned non-zero exit status 1.
Installing pip requirements for all...
error: externally-managed-environment
× This environment is externally managed
?-> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Bug prevalence
Every time
GitHub hash of the SDK that was being used
9080cd3b
Platform
other
Platform Version(s)
Debian GNU/Linux trixie/sid
Anything else?
No response

@HendrikTBB is this a clean checkout of the repository or are there modifications?
There are two errors: the link-deps (which I have no idea what is going on) and a complaint about virtualenv. We can try to fix at least the virtualenv - my understanding is that newer python does not like pip install on the system python, so if you do not have virtualenv, you cannot pip install virtualenv either.
How about these steps first:

do you have virtualenv (which virtualenv)?
assuming no based on the output, install it (maybe apt-get install virtualenv or apt-get install python3-virtualenv) and try again

If we manage to get rid of the virtualenv error, we can figure out things further.

I don't have a 'virtualenv' but I do have the 'python3-venv' Debian package installed. Also, the 'python3 -m venv' mechanism worked just fine for me installing a bunch of python packages required for the nRF52840 Thread firmware. But I have no idea how to convince the automated installation script to use that mechanism instead of whatever command it is actually running. I can't even tell what python package it is trying to install if it isn't the pigweed thing. So I can't just install it myself manually.

Okay, I've got the venv thing working. Not sure what happened before, maybe I had a typo in the path or something. But now adding the venv bin directory to the path is causing activate.sh to pick up my local pip and install the python stuff in there.
I still get the complaints about gn and pigweed not working, though.

It seems likely that the missing 'gn' is part of the Debian generate-ninja package. I installed that.
It didn't help with the gn pigweed error of the activate script but it at least lets me run the 'gn gen out/host' command.
However, the ninja step then fails complaining about a missing 'zap-cli' and tells me to install the relevant relase from github/project-chip/zap/releases. Only problem is I already did that and all it provides is 'zap'. There is no 'zap-cli' program in the zap-linux-x64.deb package.

I created a symlink from zap to zap-cli and lets me run the build.
However, the checks (ninja -C out/host check) failed immediately with a lot of spew about pigweed ending with "No such file or directory: PosixPath('protoc')". I'm guessing that is related to pigweed not installing in the activate.sh script.

also see the note in the other bug:
check to see if there is a difference between pwd and realpath . in your environment. I was able to get past this issue by making those identical:
% cd $(realpath .)

I ran into similar issue today but on macOS. Installing protoc/protobuf resolved the build error. The BUILDING.md doesn't mention this requirement - happy to open a PR to add it (but I don't know this project and whether this is a doc bug or something else).
I raised an issue in a downstream repo in case the logs are at all useful: https://github.com/espressif/esp-matter/issues/1122

Сегодня я столкнулся с похожей проблемой, но на macOS. Установка protoc/protobuf устранила ошибку сборки. В BUILDING.md не упоминается это требование — я с радостью открою PR, чтобы добавить его (но я не знаком с этим проектом и не знаю, является ли это ошибкой в документации или чем-то другим).
Я поднял вопрос в репозитории ниже по течению на случай, если журналы окажутся полезными: espressif/esp-matter#1122

I have a similar problem to yours. Could you share the solution in more detail.
In my case, installing protobuf did not solve the problem

My expectation would be that bootstrap should install all required pre-requisites as a virtualenv and should not require system level package changing.

Activate will generally try to re-use an existing environment so if python or other modules change that may cause issues.
Please try to clean the environment (remove .environment or $PW_ENVIRONMENT_ROOT) and re-run source ./scripts/bootstrap.sh on a clean terminal (that was not activated/bootstraped).
If you get errors, please share the logs (as an attachment please, it is hard to read them as comments inline)

Once you tried a clean bootstrap, please remove the waiting for feedback tag.
I would also be interested in:

What O/S version you are using
What python version you are using

I would also mention we are supporting ubuntu generally ... I think this should be debuggable for any O/S however it is also hard to support all possible linux distributions.

change third_party/pigweed/repo/pw_build/facade.gni, print pw_build_LINK_DEPS in assert:
ERROR at //examples/lighting-app/linux/third_party/connectedhomeip/third_party/pigweed/repo/pw_build/facade.gni:187:7: Assertion failed.
assert(_dep_is_in_link_dependencies,
^-----
//examples/lighting-app/linux/third_party/connectedhomeip/third_party/pigweed/repo/pw_log:impl must be listed in the pw_build_LINK_DEPS ["//third_party/pigweed/repo/pw_assert:impl", "//third_party/pigweed/repo/pw_log:impl"] build arg when the //examples/lighting-app/linux/third_party/connectedhomeip/third_party/pigweed/repo/pw_log:pw_log facade is in use. Please update your toolchain configuration.

I think we have seen odd errors when the checkout directory contained symlinks in the path (this happened on mac where the home directory was a symlink). Could you verify if that is the case here?
Things to check:

the path to the checkout root to not contain symlinks (or change to the path without symlinks)
make sure a clean bootstrap is done

@andy31415 i got the same issue.


Persist region, cost, reserved, and columns settings in local storage

Persist the region, cost, reserved, and columns settings in browser local storage.
Use Store.js?

👍

Pull request created: https://github.com/powdahound/ec2instances.info/pull/202

👍


[$500] Web - I cursor displayed for one of the error message in Connect bank account page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Log in with any account
Navigate to Setting - Workspace - Connect Bank Account
Select Connect Manually
Don't put anything in fields, just click Next button
Hover over the error messages

Expected Result:
No I cursor displayed for one of the error message in Connect bank account page
Actual Result:
I cursor displayed for one of the error message in Connect bank account page
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] Windows: Chrome
[ ] MacOS: Desktop

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

Windows: Chrome

https://github.com/Expensify/App/assets/78819774/1104a77d-c056-4999-a536-d9e1ae21d242

MacOS: Desktop

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~019084b0c372df24ce
Upwork Job ID:<PHONE_NUMBER>300739584
Last Price Increase: 2023-10-26

hi @Krishna2323 can you provide a link to the Slack chat? I don't see it attached to this GH

Ah sorry, I don't see any recent reports in the Expensify-Bugs channel from Krishna2323 - Is your Slack handle different?

Okay thanks, I see these recent topics related to cursor

BUG: Text cursor is not shown on address input error
BUG: Wallet feature text doesn't display I cursor, and the text is not fully visible.
BUG: IOS - Cursor moves at random position while entering amount

Are any of these the one you're thinking of?

Ah okay, I do see a conversation in the Bug post that @Krishna2323 made here - https://expensify.slack.com/archives/C049HHMV9SM/p1697711096201529
Reading over that convo, Vit mentions that he thinks this might be too minor to fix. I agree - it's not great that the cursor is inconsistent but I don't know if it's worth prioritising over other bug issues.
So I think we should close this for the time being without action. Feel free to let me know if you feel otherwise!


Add Linux metadata files

What exactly does Linux metadata refer to? Is it defined by who? Any document?

This metadata is for general Linux packages, such as Flatpak and RPM (think screenshots, app descriptions, etc.). It's defined by appstream, iirc.

I see. Maybe put them under Misc/AppStream then.

Does this mean that Open Utau also has a Linux version in Flatpak now?

@Vector-frame I've got a manifest and PR in the works for Flathub right now, I just need to find some free time to dedicate to setting it all up properly.

Very nice of you! I'd love to help, both for this project and for UTSU, but unfortunately I don't have experience submitting to Flathub, let alone forking languages or programming itself.

closing due to in-activity


WIP: Fixing indentation for multidimensional RESP stringify

Signed-off-by: Hanif Bin Ariffin<EMAIL_ADDRESS>

Superseded by https://github.com/hbina/radish/pull/12


golang_org/... in import

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.7 and HEAD now
What operating system and processor architecture are you using (go env)?
any
What did you do?
This cause atom generate many import error message. And of course, cannot build.
For src\net\http\h2_bundle.go file are go:generate by tool, may this issue is from the tool.
What did you expect to see?
src\net\http\h2_bundle.go
	"golang.org/x/net/http2/hpack"
	"golang.org/x/net/idna"
	"golang.org/x/net/lex/httplex"

What did you see instead?
src\net\http\h2_bundle.go
	"golang_org/x/net/http2/hpack"
	"golang_org/x/net/idna"
	"golang_org/x/net/lex/httplex"

I do not know what the "atom" tool is in this context, but these import paths are correct. These packages are vendored with these paths, which means they can be found in src/vendor/golang_org/x/net.
See #17326 for being able to change the path back to golang.org.

Those packages exist inside GOROOT/src/vendor. Is this an atom bug?
On Sat, 22 Oct 2016, 12:51 Kevin Qu<EMAIL_ADDRESS>wrote:

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.7 and HEAD now
What operating system and processor architecture are you using (go env)?
any
What did you do?
This cause atom generate many import error message. And of course, cannot
build.
For src\net\http\h2_bundle.go file are go:generate by tool, may this
issue is from the tool.
What did you expect to see?
src\net\http\h2_bundle.go
"golang.org/x/net/http2/hpack"
"golang.org/x/net/idna"
"golang.org/x/net/lex/httplex"

What did you see instead?
src\net\http\h2_bundle.go
"golang_org/x/net/http2/hpack"
"golang_org/x/net/idna"
"golang_org/x/net/lex/httplex"

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/17548, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAcAzLrgy7JJX1OMuZaqmpN7C2-w0Blks5q2Ww3gaJpZM4KduZa
.

Sorry, I don't understand what this issue is about.
h2_bundle.go imports the vendored copy of x/net/http2/hpack package.
The reason we use golang_org instead of golang.org is #16333.


Cached Loading

In some circumstances we want to only send data to external systems that is

new
changed
or too old (refresh mechanism)

This can be achieved in a general way by hashing the rows, and comparing the hash to the last transmitted hash, stored in a cache table.
Further, the following functions can be achieved:

refresh of rows from a certain age

soft refresh (respecting a rate limit)
hard refresh (rows in danger of timing out wrt TTL)

Concurrent runs not sending the same data can be implemented by actively using table versions
transmit batch tracking to invalidate the rows that failed later in a transmission pipeline

This has been implemented


Background Mode is running for only 5 min in Android 9

This plugin is working for Android 8+ and older but not properly working for Android 9.
When I am connecting Sensor to my application in android 9 after 5 min in background application not getting data and again start sending data after reopening the application.
I think the plugin is not updated for android 9 power management updates.
https://developer.android.com/about/versions/pie/android-9.0-changes-all
Android Version - 9
Ionic Version - 9

Yes I have enabled that inside platform.ready block and i have latest git version.
I am facing this issue only for android 9.

+1

I'm having the same problem.
Do you have any suggestions for handling this dilemma?

+1.
Anybody have any solution?

+1
I'm having the same problem.

I founded the solution at #434

I founded the solution at #434

I tried this solution and it did not work, to continue running beyond the 5 minutes I had to go to settings -> battery -> battery optimization and check to not optimize my application.

@rafaelgalle this is great. I see that there is already the functionality in this plugin (not released on npm yet) to disable battery optimization in the code. disableBatteryOptimizations
https://github.com/katzer/cordova-plugin-background-mode/commit/537f7a859f6ae7aacadcc42eb6db28571a20eea1
Did anybody use this already?

@tobika
This function is not available in ionic3.
Outputs the following message:
Property 'disableBatteryOptimizations' does not exist on type 'BackgroundMode'. Did you mean 'disableWebViewOptimizations'?
How can I use it?

@MyoungboKim are you using the ionic native wrapper @ionic-native/background-mode to access this plugin? It is normal that this is not updated because this feature on the background-mode plugin has not been published to npm yet.
You should be able to enable this function without the wrapper like so :
        cordova.plugins.backgroundMode.on('activate', () => {
          console.log('ACTIVATE background mode');
          cordova.plugins.backgroundMode.disableWebViewOptimizations();
          cordova.plugins.backgroundMode.disableBatteryOptimizations(); // <- HERE
        });

I just saw in this commit that we have to add the permissions on our own: https://github.com/katzer/cordova-plugin-background-mode/commit/a9669052c0e927eedaa03d896217a011b87eb43c#diff-53f390d375398624afe1cfe1125f42bf
any special reasons for this @katzer ? (by the way, thanks for this amazing plugin :) )
<uses-permission android:name="android.permission.WAKE_LOCK" />

@tobika
Thank you for your answer.
But it hasn't been long since I've been in contact with Ioniq, so I don't know how to do it.
I'd like to use this feature without wrapper.
Do you have any tutorials or documents for reference?
Thank you again for your reply.

I have installed the latest background mode plugin, but I got error when I build:
Property 'disableBatteryOptimizations' does not exist on type 'BackgroundMode'. Did you mean
'disableWebViewOptimizations'?
why this happens?
and @tobika, can you tell where to add the permssion

@n1705771
declare var cordova;
cordova.plugins.backgroundMode.disableBatteryOptimizations();

@MyoungboKim still got build error:
[14:57:42]  typescript: C:/ionicapp/src/pages/home/home.ts, line: 130
Modifiers cannot appear here.
 L129:  this.backgroundMode.disableWebViewOptimizations();
 L130:  declare var cordova;
 L131:  cordova.plugin.backgroundMode.disableBatteryOptimizations();

[14:57:42]  ionic-app-script task: "build"
[14:57:42]  Error: Failed to transpile program
Error: Failed to transpile program

background mode plugin version is: version="0.7.2"

@n1705771
I downloaded the plug-in and installed it as a local plug-in.
"declare var cordova;" was declared a global variable at the lower limit of "import".

@MyoungboKim Thanks. I successfully build it following your direction. But the plug-in seems doesn't solve the problem. Still running for only 5 min if without power cable plugged. Does it work for you?

@n1705771 your final code looks alright, you get the console.log at the end?
did you add <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
in
platforms/android/app/src/main/AndroidManifest.xml
Maybe this makes a difference? I haven't had the 5min problem yet because my app is constantly streaming music which seems to keep it alive.
Just general info: Keep in mind that the @ionic-native bindings are not up to date with the github plugin version.

@tobika
I did add permission in androidmanifest.xml, but it doesn't help. I check the console.log, cannot see
"background activate !!!!",

and find the background mode error:
Uncaught TypeError: cordova.plugins.backgroundMode.ondeactivate is not a function

The new code is as below, I declare the var cordova  as a global variable at the lower limit of "import", build was succeeded.
this.backgroundMode.on("activate").subscribe(()=>{
  this.backgroundMode.disableWebViewOptimizations();
  cordova.plugins.backgroundMode.disableBatteryOptimizations();
  console.log("background activate !!!!");
});

@n1705771 can you tell me which version of @ionic-native you are using?
for me there is a problem in<EMAIL_ADDRESS>the .on is not correct
on(event: string, callback: (...args: any[]) => void, scope?: object): Observable<any>;
it should be
on(event: string): Observable<any>;
I'll try to do a PR one of these days.
About your other error, I don't have this one but I see you found the existing issue about it.

@tobika great thanks! Can you tell me how to check the version?
what I did is update the background-mode to the latest one by using command:
 npm install --save @ionic-native/background-mode@latest

Then I got the result as:
 ....
 +<EMAIL_ADDRESS> updated 1 package and audited 3854 packages in 8.914s
 found 20 vulnerabilities (4 low, 11 moderate, 5 high)
 run `npm audit fix` to fix them, or `npm audit` for details

So, I think version is 5.4.0

@n1705771 ok, but as I said ths version is a bit incorrect which will result in your event not being called.
As a workaround you can apply the modification I wrote above in the file:
<EMAIL_ADDRESS>

@tobika I deleted background-mode plugin in folders of node_modules and plugins, also removed the background-mode info from package.json and package-lock.json. Then, install the latest plugin again.
After that, the version is become:
"@ionic-native/background-mode": "^4.20.0"

I build the program, but I have the same error:
Uncaught TypeError: cordova.plugins.backgroundMode.onactivate is not a function
at <anonymous>:1:80

I fixed about issue as the solution given in https://github.com/katzer/cordova-plugin-background-mode/issues/431.
Now I see console log:
"background activate !!!!"

I set 1 min interval for app to upload some data to server, the app only works well if the external power is supplied to my android phone (connect power cable to phone with external power source).
My code is:
if (this.platform.is('android')){
  this.backgroundMode.enable();

  this.powerManagement.dim().then((value)=>{
        console.log('enablebackground: Wakelock acquired');
        this.powerManagement.setReleaseOnPause(false).then(()=>{
            console.log('enablebackground: setReleaseOnPause success');
        }).catch(()=>{
            console.log('enablebackground: setReleaseOnPause Failed to set');
        });
    }).catch(()=>{
      console.log('enablebackground: Failed to acquire wakelock');
    });

  this.backgroundMode.on("activate").subscribe(()=>{
    this.backgroundMode.disableWebViewOptimizations();
    cordova.plugins.backgroundMode.disableBatteryOptimizations();
    console.log("background activate !!!!");

  });
  this.backgroundMode.on("deactivate").subscribe(()=>{
    console.log("background deactivate");
    this.locationtracker.stopTracking();
    setTimeout(()=>{
      uploadData();
    }, 500);
  });
} else {
  this.backgroundMode.enable();
}

@n1705771
Do you use the function of "excludeFromTaskList()"?

Thanks. I removed the plugin and re-installed the latest plugin.
For my Huawei Mate 10, after turning off the power save mode in battery setting, it works! Seems this issue also depend on different brands of phone manufactures.  (https://github.com/katzer/cordova-plugin-background-mode/issues/400)

I installed
"cordova-plugin-background-mode": "git+https://github.com/lkonzen-garupa/cordova-plugin-background-mode.git",
And in plugin.xml is already this:
 <config-file target="AndroidManifest.xml" parent="/manifest">
            <uses-permission android:name="android.permission.WAKE_LOCK" />
            <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
            <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
        </config-file>

but only works in background for 3 minutes

Thanks. I removed the plugin and re-installed the latest plugin.
For my Huawei Mate 10, after turning off the power save mode in battery setting, it works! Seems this issue also related to different brands of phone manufactures. (#400), I am curious if there is a way can automatically set the power save mode off when once the application is opened?

I have a P20 Mate Pro, and it stops a background upload after 60 minutes. I tried this with 3 programs all doing some GPS tracking and they all stopped at exactly the same time. It's like the phone just like to deep sleep for no reason.

With no upload / download or GPS magic in action, but with a continuous ble connection on Android 10 it does its job well if you follow the approach in "Quirks" section:
cordova.plugins.backgroundMode.on('activate', function() {
   cordova.plugins.backgroundMode.disableWebViewOptimizations();
});

But why does performance decrease (application resource usage increases, especially CPU) triply? How could this be explained?

you can call the wakeUp method at a given time.
const timer = 4*60*1000; // four minutes
 this.backgroundMode.enable();
 this.backgroundMode.on('activate')
    .subscribe(()=>{
       setInterval(()=>{
            this.backgroundMode.wakeUp();
            this.backgroundMode.moveToForeground();
          },timer);
    });

you can call the wakeUp method at a given time.
const timer = 4*60*1000; // four minutes
 this.backgroundMode.enable();
 this.backgroundMode.on('activate')
    .subscribe(()=>{
       setInterval(()=>{
            this.backgroundMode.disableBatteryOptimizations();
            this.backgroundMode.disableWebViewOptimizations();
            this.backgroundMode.wakeUp();
            this.backgroundMode.moveToForeground();
          },timer);
    });

@katzer ,
I am trying to use this plugin for one of my use case. I need to run some processes in background when app (built in ionic 5 and angular 10) is minimize and screen is locked. I am using Samsung X cover Android 10 + version. Its working fine for longer period of time (approx. 14-15 hours) if I plugin my phone (USB cable charging on), minimize the App with screen lock but it does not give similar results if I unplug the phone from charger. App stop the background processes after 2-3 hours.
Can you please advice here?
Below is the code implemented ->
On device platform ready => below code is written
this.background.setDefaults();
this.background.enable();
this.background.on('activate').subscribe(() => {
this.background.disableWebViewOptimizations();
this.background.disableBatteryOptimizations();
});
I tried using   this.powerOptimization.RequestOptimizations();
this.powerOptimization.IsIgnoringBatteryOptimizations();
along with above options.
Permissions are set in my AndroidManifest.xml file such as -


try_binary should not panic on unequaled array length.

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
The function try_binary currently panic on a.len() != b.len():
pub fn try_binary<A, B, F, O>(
    a: &PrimitiveArray<A>,
    b: &PrimitiveArray<B>,
    op: F,
) -> Result<PrimitiveArray<O>>
where
    A: ArrowPrimitiveType,
    B: ArrowPrimitiveType,
    O: ArrowPrimitiveType,
    F: Fn(A::Native, B::Native) -> Result<O::Native>,
{
    assert_eq!(a.len(), b.len());
    ...

It is better to let the function return an error in such case because:

The return type of the function is a Result;
a.length() != b.length() is a recoverable error

Describe the solution you'd like

Replace panic with Err
Update the docs

Describe alternatives you've considered
We could not do this
Additional context

label_issue.py automatically added labels {'arrow'} from #2717


Reproduce performance is lower than paper

Hi, thank you for publishing such great work.
I am attempting to reproduce the LRA benchmark using the scripts in the experiment directory, but I am getting lower performance than what is stated in the paper.
Do you have any idea why this might be happening?
I am using an A6000 48GB GPU.

Hi, thanks for you interests in our works! May I know how much it is lower? If the gap is small, it can be due to the randomness of the training. You may want to try different random seeds and see if the difference is significant.

Thank you for your reply. There is about a 2 percentage point difference in the LisoOps Image task compared to the paper’s table. If you remember, could you tell me the seed that was used for training? Also, it seems that the PathX task is not being trained. Could you guess the reason why?

The seed used should be 1. I think the script used for training on PathX is here?

Yes, I ran all the experiments using the shell script in the experiment folder.

Hmmm, so why PathX is not trained?

I have no idea why PathX is not trained. I'll try it with seed 1 as you mentioned. Thx!


"Public Access" access group is not listed in the result

I can see any "Public Access" access group is not listed in the result
ibmcloud iam access-groups

However, I can see it using the following command
export ACCOUNT_ID=xxx
export ACCESS_TOKEN=$(ibmcloud iam oauth-tokens --output JSON | jq -r '.iam_token')

curl -X GET "https://iam.cloud.ibm.com/v2/groups?account_id=$ACCOUNT_ID" -H "Authorization: $ACCESS_TOKEN" -H 'Content-Type: application/json' | jq -r

Please fix it, thanks.

@khayama This issue has been fixed in version 1.3.0. Please upgrade to the latest version. Thanks.

@khayama This issue has been fixed in version 1.3.0. Please upgrade to the latest version. Thanks.

I have confirmed it works at version 1.3.0, thanks for your comment.

I have confirmed it works at version 1.3.0, thanks for your comment.


no length limit in ISO8601_WITH_OFFSET second's decimal fraction

Fixes gh-1452

@Swierkowski Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

Hi @Swierkowski . Thanks for the PR! LGTM! Can you please sign the pivotal-cla, close this PR and apply this PR to the 2.2.x branch?

@Swierkowski Thank you for signing the Contributor License Agreement!


Unable to undo "set files as default file explorer setting"

Description
Some time ago, I ticked the "set files as default file manager" option in the experimental settings
Because I was unsatisfied with it, I attempted to get rid of it. I ticked the setting to "off" as instructed and deleted the app. When I attempted to use the default W11 file explorer right after, I got an error message. Thankfully, I was able to re-install files but now I am forced to keep using a file explorer I am very dissatisfied with till I finally bring myself to do a clean install of my OS
Fix this, pretty please.
A "set this as default" setting shouldn't require a clean install to undo...
Steps To Reproduce

Go to the "experimental" section under "settings"
Toggle on the "set files as default file explorer"
Toggle it back off
Uninstall files
Open the default Windows file explorer

Maybe throw in a restart or two after steps 2 and 3.
Expected behavior
An error message will pop up that essentially tells you the W11 file explorer is not there any more. It's been a while so sorry for not having something more specific but I don't dare to reproduce it
Files Version
The most recent version of a week ago
Windows Version
Windows 11 Pro 21H2 22000.434
Relevant Assets/Logs
I do not have it and as I said before, I do not want to risk bricking my PC just to reproduce this bug

A "set this as default" setting shouldn't require a clean install to undo...

An experimental option with a warning to turn it off before removing the app shouldn't need any additional explanation. That being said, you can find instructions for reverting the changes in #7626.


Provide better guesses for datatype when a term is used inside an if statement in a Word document

if the term is used like: if some_variable we should guess that it is a boolean.

Yes, it would do that conversion of "falsy" values. I'm just thinking about the default datatype we provide in the Weaver though, it should definitely be something you can override.
I've seen my students weaving DOCX templates leaving a lot of yes/no questions as text and not ending up with examples of yes/no questions in their output YAML to copy over. Switching back to text should be an easier job for most students.


Support transferring input placeholder across workspaces

Fixes:
In the /createWorkspace scenario, creating and opening a new workspace does not pre-populate the slash command since the input view state is not transferred across workspaces.

Discussed offline, IMHO there's no current need to support customizing the input value in the transfer state, we should add that later if we end up needing it

Changed to saving the input in the chat model itself:
https://github.com/microsoft/vscode/pull/188543


Revert Gallery 2020-09-30 version from latest release

Reverting to the last stable version as per the original PR that did this:
https://github.com/Azure/azure-rest-api-specs/pull/12222
We already have breaking change approval for this.
The incorrect Gallery version 2020-09-30 was incorrectly re-introduced in this PR:
https://github.com/Azure/azure-rest-api-specs/pull/11202/files
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of “no breaking changes
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[x] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

/azp run

/azp run

hi @msyyc could you pls help to confirm impact to Python SDK? thanks

hi @msyyc could you pls help to confirm impact to Python SDK? thanks

hi @ArcturusZhang could you pls help to confirm  impact to Go SDK? @xccc-msft could you pls confirm no Java SDK released for this tag?

hi @ArcturusZhang could you pls help to confirm  impact to Go SDK? @xccc-msft could you pls confirm no Java SDK released for this tag?

Confirmed that no Java SDK released for v2020_10_01_preview.

Confirmed that no Java SDK released for v2020_10_01_preview.

The breaking change is ok for Python

The breaking change is ok for Python


training loss curve

Could you show us your training loss curve please, i don't know whether my training loss is normal/(ㄒoㄒ)/~~

I use the CSMSC datasets, and my training loss as follows, could you please take a look please? thinks(^_^)

I use the CSMSC datasets, and my training loss as follows, could you please take a look please? thinks(^^_)

![image](https://user-images.githubusercontent.com/53960296/1

thank you, I've tried but i'm not sure whether it should be better, I'll train more iterations and then try again. o(￣▽￣)ブ


Support Placeholder

I was thinking of adding support for placeholder because they provide more visual feedback what the rendered component is about (e.g. Typing message, Write a comment, etc.).
One way, and probably the easiest way I have found is using :empty:before pseudo CSS class. But the problem with that is we have to manage an extra CSS file just to get this right. Until now, CSS is absent from this project.
I'm here getting some ideas from maintainers what they thought would be the best thing to do?

@iAziz786 I think it's great that you're looking for ways to improve this lib and I certainly don't want to discourage debate on what this lib should do.
That said, what you're proposing feels rather niche and I believe it could be implemented just as easily by a React project that imports this dependency. I'm not sure that I see the value of this addition to the lib at this stage.

Thanks, @nijk for your feedback. I have searched and tried many content-editable components and can't find anyone which matches the simplicity and effectiveness of this library. So yes, it's true that I want to see improvements to this.
Me too don't want to make this simple and light library bulky. That's why I have started this issue to ask guidance about how to add support for the feature in an effective manner while keeping its innocence.
The reason why I think placeholder is the integral of this library because most of the places where this library is going to be used are places, where they might want their users to type something. I certainly use it the places where I want my users to type something. Now, you are right when you said users can implement their own placeholder; I can't debate whether it's easy for them or not because it might depend on their implementation.
You'll find that almost every place where users have to type some data into some type of form element will have a way to add placeholder (e.g. input, textarea), then why it should be left out from content-editable elements? Having it natively in the library will definitely help the users, notably, if the user is a new developer, they can use the library without any hassle of knowing how to add support for one.
Curious to know your thoughts :thought_balloon:

Whilst not all React projects are identical, there are many commonalities when invoking 3rd party react components. After all this is a simple lib that can only be used in a very small number of ways - see the tests of you don't believe me...
I think the best way to progress this is for you to provide a demo React project implementation with placeholder functionality being provided by the project rather than this lib. This will give you an indication of the required complexity and ultimately the necessity of this feature request; if the implementation is impossible then I think that would be a good justification for this feature request.
If the implementation is not so straight-forward or has a lot of boilerplate then it might be better handled via documentation or example code in the lib.

This is what I came up with. I'm only using CSS to implement this. I tried doing this with JS only but ended up having a lot of bugs.
Link

Nice! That's super simple as well, which means it's almost certainly the best option. I think we could add a styling section to the Readme so that we're spelling out how to achieve this use case. Would you like to raise a PR for documentation?

Yes! I'll raise a PR soon.

Didn't get the chance to work on this, therefore closing it.


Request for pretrained models, as well as Tox21 dataset

Describe the bug
Please could we add pretrained models? I would love to play around with these. Also, could we add Tox21 dataset training possible please?
Also - the visualisation page is down.
This is really great work - I don't mean to be complaining at all. Keep it up!
To Reproduce
python train.py --dataset Tox21_AHR does not work, as there is no config in train.py for the Tox21 dataset.
Platform (please complete the following information):

OS: Linux and Mac
Python 3.7
Version Latest

Hi,
The Tox21 dataset can be downloaded here. We currently don't have a plan to release pre-trained models as the results should be straightforward enough to reproduce but will discuss and come back to you if we do.


Adding a Line in Mobile View Generates Two Control Points even with a single tap.

When adding a line in mobile view, two control points are generated even with a single tap.
https://github.com/user-attachments/assets/6e714d0a-e7cf-4ff8-b12c-ffccf12b668b

@dwelle can i work on this i  want to try this one

https://github.com/user-attachments/assets/2e6658b2-27a2-43c3-90cf-a7443c28524b
do u want this things in fone

I don't need three control points; rather, I want to avoid generating two control points with a single tap. In mobile view, to continue drawing a line, you must first tap and then drag to where you want the line to extend. The problem is that with a single tap, it generates two control points, which disrupts the design I want to create.
https://github.com/user-attachments/assets/088f10d9-b15d-45e8-afdc-403c3542ad30

I don't need three control points; rather, I want to avoid generating two control points with a single tap. In mobile view, to continue drawing a line, you must first tap and then drag to where you want the line to extend. The problem is that with a single tap, it generates two control points, which disrupts the design I want to create.
Excalidraw.-.line-bug.mp4

ok that's the point let me see what's happening and try to resolve it
Thank you for the video explanations

I don't need three control points; rather, I want to avoid generating two control points with a single tap. In mobile view, to continue drawing a line, you must first tap and then drag to where you want the line to extend. The problem is that with a single tap, it generates two control points, which disrupts the design I want to create.
Excalidraw.-.line-bug.mp4

ok that's the point let me see what's happening and try to resolve it Thank you for the video explanations

Thank you for your help! I hope the issue gets resolved soon.

Yes right now I'm working on it if solved I let you know about this

Hi, I just want to follow up to see if there are any updates on this bug?


Cannot find module '*/package.json' when using with webpack and resolve aliases

Webpack has an option to affect how the resolving is done. For example, one can set alias Utilities: path.resolve(__dirname, 'src/utilities/') and then write import something from "Utilities/something.js". The plugin will, however, complain that it cannot find module Utilities, which makes this feature unusable with it.
I think simply ignoring case when a module does not exist would solve the issue.

@Toxyxer could you give #5 a try to be sure I haven't missed anything?  Thanks!

@coreyfarrell Works in my case.


bug: invisible toast area blocks buttons

What version of daisyUI are you using?
4.12.10
Which browsers are you seeing the problem on?
All browsers
Reproduction URL
https://play.tailwindcss.com/AE6Alyeiqn
Describe your issue
Use-case: If the page have a toast area (div with toast class), it is not visible without any content inside it and can be used in conjunction with javascript to show alerts when it is required.
Issue: If the button is located in the same part of the page, the button area that overlaps with toast padding is not clickable. You can check how it looks like in the provided reproduction url.
Solution: The solution I see is to replace p-4 with m-4 in here

The issue you're experiencing is due to the padding (p-4) applied to the toast area, which causes it to occupy clickable space on the page even when it appears empty. Since this area overlaps with any nearby buttons or elements, it interferes with their clickability.
Proposed Solution
Replacing p-4 with m-4 on the toast container would address this issue. Here’s why:

Padding (p-4): Adds space inside the toast container, effectively expanding the clickable area of the invisible div.
Margin (m-4): Adds space outside the container, ensuring that the toast area doesn’t interfere with adjacent elements.

By using m-4, the toast container will maintain a visually distinct position on the page when active, without expanding its clickable area when empty.
How to Implement
Change the class for your toast container from p-4 to m-4:

Alternative Solutions

Absolute Positioning: If the toast container needs to be at a specific position without interfering with other elements, consider absolute positioning.

Conditional Rendering: Only render the toast container in the DOM when there’s content to show. This will keep it out of the way when not in use.
if (showToast) {
    return
Alert message
;
}

These solutions should prevent interference with clickable areas on the page and improve the user experience by keeping the toast container out of the way until needed.

Is comment above is generated by AI based on my initial comment but with different wording? Sorry if I'm wrong, but it looks like it.

thank you , I appreciate your feedback, but I don't believe the response was AI-generated. It seems to be a well-considered reply from someone familiar with the issue, offering practical solutions to the problem. I understand it might sound a bit formal or structured, but that’s just the approach they took in explaining the issue and the solutions. Thanks again for your input!


exclude 32-bit Windows artifact in download-workflow-artifacts.sh

This helps ensure the identically-named 32-bit tarfile doesn't overwrite the 64-bit one when we extract everything into a single directory.
I'll follow this up by making an updated wasi-sdk-22.0.m-mingw.tar.gz and adding it to the wasi-sdk-22 release.
Fixes #326

At Joel's request I downloaded the artifacts from the wasi-sdk-22 CI run, verified that the x86 one matched the current mingw artifact, and then uploaded the x64 one under the name "mingw64". That should get a published binary for the wasi-sdk-22 release but in the future it'll just be the normal "mingw" release


Add include category feature

Purpose
Adding "Include category" functionality in developer settings, with "All" as a default option. By combining data categorization with the prepdocs.py scripts, it lets you filter Azure AI Search based on categories. This functionality allows category-based inquiries and informs the user about the categories present in the search index.
This PR is somehow related to the following past issues:

#2006
#1715
#1333
#872
#647
#493

Changes

Modified approach.py and models.ts to include category logic
Added translations for category ("All") in en, es, fr, and ja locales
Updated Ask.tsx and Chat.tsx to handle category
Updated data ingestion documentation

Quick insight
Here is an example of how categories appear when ingested into the search index:

"category": "BenefitOptions"
"category": "RoleLibrary"
"category": "EmployeeHandbook"

Let's add category keys like this:

Then, in the default "All" category, we get answers from all three categories, like this:

When specifying a particular category, we get generated answers from that category's data:

Does this introduce a breaking change?
When developers merge from main and run the server, azd up, or azd deploy, will this produce an error?
If you're not sure, try it out on an old environment.
[ ] Yes
[x] No

Does this require changes to learn.microsoft.com docs?
This repository is referenced by this tutorial
which includes deployment, settings and usage instructions. If text or screenshot need to change in the tutorial,
check the box below and notify the tutorial author. A Microsoft employee can do this for you if you're an external contributor.
[x] Yes
[ ] No

Type of change
[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

Code quality checklist
See CONTRIBUTING.md for more details.

[ ] The current tests all pass (python -m pytest).
[ ] I added tests that prove my fix is effective or that my feature works
[ ] I ran python -m pytest --cov to verify 100% coverage of added lines
[ ] I ran python -m mypy to check for type errors
[x] I either used the pre-commit hooks or ran ruff and black manually on my code.

Are there any updates on this feature?

@glaucia86 Could you suggest the pt-br strings for "All" and "Include category" so @bnodir can add to the new pt-br file for this PR?

@glaucia86 Thank you! Can you also provide the portuguese translations of those strings? The pt-br file isn't showing up in this PR since I just merged it in, but it needs updating with the same new strings.

Thank you, everyone. I have made the changes based on the reviewers' feedback.

@zedhaque - Yes, the "All" option includes documents that don't have a category as well.

I extended the list of choices in app/frontend/src/locales/en/translation.json to include:
"includeCategoryOptions": {     "all": "All",     "digitalisering": "Digitalisering" }
However, only "All" appears as an option in the dropdown, even though I'm using English as the language. Could you advise on what might be missing for the dropdown to display the additional option(s)?

Does "All" also includes Uploaded Documents? It would be great to have as well "Uploaded" or "MyDocs"

@jeannot-prvlimburg

I extended the list of choices in app/frontend/src/locales/en/translation.json to include:
"includeCategoryOptions": { "all": "All", "digitalisering": "Digitalisering" }
However, only "All" appears as an option in the dropdown, even though I'm using English as the language. Could you advise on what might be missing for the dropdown to display the additional option(s)?

Ensure your code looks like this:
                        aria-labelledby={includeCategoryId}
                        options={[
                            { key: "", text: t("labels.includeCategoryOptions.all") },   // ← Add comma
                            { key: "digitalisering", text: "Digitalisering" }   // ← Added new category line
                            // You can add a category key here for ingested data like below:
                            // { key: 'categoryName', text: 'Meaningful Category Name' }
                            // Alternatively, display the key to guide the user on what to type
                            // in the "Exclude category" field (e.g., 'Meaningful Category Name(categoryName)').
                        ]}

This should display the additional option in the dropdown. Additionally, please ensure to refresh your browser to see the changes.

@jeannot-prvlimburg

I extended the list of choices in app/frontend/src/locales/en/translation.json to include:
"includeCategoryOptions": { "all": "All", "digitalisering": "Digitalisering" }
However, only "All" appears as an option in the dropdown, even though I'm using English as the language. Could you advise on what might be missing for the dropdown to display the additional option(s)?

Ensure your code looks like this:
                        aria-labelledby={includeCategoryId}
                        options={[
                            { key: "", text: t("labels.includeCategoryOptions.all") },   // ← Add comma
                            { key: "digitalisering", text: "Digitalisering" }   // ← Added new category line
                            // You can add a category key here for ingested data like below:
                            // { key: 'categoryName', text: 'Meaningful Category Name' }
                            // Alternatively, display the key to guide the user on what to type
                            // in the "Exclude category" field (e.g., 'Meaningful Category Name(categoryName)').
                        ]}

This should display the additional option in the dropdown. Additionally, please ensure to refresh your browser to see the changes.

I found out indeed. Thanks for the help!

@jeannot-prvlimburg

I extended the list of choices in app/frontend/src/locales/en/translation.json to include:
"includeCategoryOptions": { "all": "All", "digitalisering": "Digitalisering" }
However, only "All" appears as an option in the dropdown, even though I'm using English as the language. Could you advise on what might be missing for the dropdown to display the additional option(s)?

Ensure your code looks like this:
                        aria-labelledby={includeCategoryId}
                        options={[
                            { key: "", text: t("labels.includeCategoryOptions.all") },   // ← Add comma
                            { key: "digitalisering", text: "Digitalisering" }   // ← Added new category line
                            // You can add a category key here for ingested data like below:
                            // { key: 'categoryName', text: 'Meaningful Category Name' }
                            // Alternatively, display the key to guide the user on what to type
                            // in the "Exclude category" field (e.g., 'Meaningful Category Name(categoryName)').
                        ]}

This should display the additional option in the dropdown. Additionally, please ensure to refresh your browser to see the changes.

Unfortunately, adding a line like this prevents the app from starting. Do you have any tips on resolving this?

@jeannot-prvlimburg - I added the same code as above and didn't encounter any issues with the app starting. Could you elaborate a bit more on your situation? Specifically:

Did you edit the code, run azd up, and now your app is not starting at all? Can you share logs or screenshots?
Which release are you using? The latest release has significant changes, including switching from Azure App Services to Azure Container Apps.

Recent Changes:

2024-10-28: Default to Container Apps instead of App Service
2024-10-23: New option to include category


Remove static struct members from layout and reflection

Added MemberFilterStyle - controls action of FilteredMemberList and FilteredMemberRefList
Splt out template implementations
Use more standard method names dofr FilteredMemberRefList
Added reflect-static.slang test
Added isNotEmpty/isEmpty to filtered lists
Added ability to index into filtered list (so not require building of array)

Ok - I defaulted to MemberFilterStyle::All. It means slightly less verbose, but perhaps not quite as clear on call site the specifics. I didn't default when doing the change because I wanted to inspect all the call sites.
Having a predicate version would be easy to do. If we end up with much more complexity (say by expanding the 'filter styles') that may make sense and certainly is more flexible, although it is likely to be slower.
On third point perhaps a different naming would make the intention more clear?

I didn't default when doing the change because I wanted to inspect all the call sites.

Yes, I suspected that was the reason it was written that way, and it is good to have confidence that we surveyed all the call sites. With the default it is now possible for us to make a mistake at future call sites, but I think it is reasonable that getMembersOfType by default returns all members of the given type (both static and instance), since we aren't specifying any other kind of assumption at the call site.

On third point perhaps a different naming would make the intention more clear?

It would be more explicit to have ::WithStaticModifier and ::WithoutStaticModifier as the cases rather than ::Static and ::Instance, but those are admittedly somewhat clunky.

One option is to stick with the current ::Instance and ::Static names, but to then have a stated goal of making the "is this a static member?" test be refined in a future version so that it is accurate for all kinds of members...
We probably need to clean up that whole "is this static" stuff in the codebase at some point, because it seems like different code paths currently use different queries with slightly different meanings. I looked at the isEffectivelyStatic function recently and was surprised to see that (IIRC) it did not consider things like global variables to be "effectively static" which is really weird.


This like native feature

Hi,
I like this gulp pipe, but there is a problem with the styles @url files. They are not imported. The copy function is not the best, they can't "rev" the files and change the link in the styles.
I done this https://github.com/okvic77/gulp-bundle-assets-append
The url of the styles are hashed and the reference is updated. See the Travis build for an example.
This could be a native feature in this plugin.

@okvic77 have you tried using gulp-rework as part of the custom transform instead of using rework directly? It seems gulp-rework takes care of importing the files for you, i.e.: https://github.com/sindresorhus/gulp-rework/blob/master/index.js#L25

I'll try, but how I can attach a new file (font files) to the pipe but skip some process like gulp-rev, or wait for gulp-rev and then replace the link in the file (vinyl).


Typescript IntelliSense hang when writing generic types

Issue Type: Bug
VS Code version: Code 1.66.1 (Universal) (https://github.com/microsoft/vscode/commit/8dfae7a5cd50421d10cd99cb873990460525a898, 2022-04-06T14:49:47.400Z)
OS version: Darwin x64 21.4.0
everytime I'm writing generic types, typescript server seems to hang up and IntelliSense keep loading, and there's a Electron process keep 100% cpu usage. this issue happend for me with all extensions disabled in both stable & insiders build of vscode. here's my tsconfig.json & a gif of steps to reproduce & screenshot of process explorer:
{
  "compileOnSave": false,
  "compilerOptions": {
    "preserveSymlinks": true,
    "module": "ESNext",
    "target": "ESNext",
    "lib": [
      "ESNext",
      "DOM",
      "DOM.Iterable"
    ],
    "moduleResolution": "Node",
    "jsx": "react-jsx",
    "isolatedModules": false,
    "noEmit": true,
    "allowJs": true,
    "skipLibCheck": true,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "resolveJsonModule": true,
    "sourceMap": false,
    "baseUrl": ".",
    "rootDir": ".",
    "paths": {
      "@lib/*": [
        "src/lib/*"
      ],
      "@components/*": [
        "src/components/*"
      ]
    },
    "typeRoots": [
      "node_modules/@advertising/types",
      "node_modules/@types"
    ]
  },
  "include": [
<EMAIL_ADDRESS>    "./src/**/*"
  ]
}

VS Code version: Code - Insiders 1.67.0-insider (6ea335e334b90a9aca753d558dec1d14741eff1e, 2022-04-08T05:18:35.034Z)
OS version: Darwin x64 21.4.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
4, 3, 3

Memory (System)
32.00GB (2.14GB free)

Process Argv
--crash-reporter-id dcdd842f-44a5-4728-b1cd-55801a0fcfae

Screen Reader
no

VM
0%

Extensions: none
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes516:30244333
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vsdfh931:30280409
vshan820:30294714
pythondataviewer:30285072
vscod805cf:30301675
pythonvspyt200:30323110
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30404738
wslgetstarted:30449409
pythonvsnew555:30438690
vscscmwlcmt:30465136
cppdebug:30466689
pynewfile477:30451556

@mjbvz could you please help with it? I'm struggling for this issue the whole day 😭

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

If it still does, can you please share a minimal sample project so we can try reproducing this?

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

Yes it still reproduce in my project(has many workspaces & packages), but when I try in a minimal sample project it can't reproduce... 😵💫


Add breaking labeling to release drafter configuration

Proposed Changes

Add breaking labeling to release drafter configuration.
Add golangci-lint configuration

@afritzler Should we fix all the linter findings with this PR, or should I open another one?

No waiting for #188 to be merged. Already fixed most of the linting issues here but I can't push due to the upcoming conflicts in main.go.

I would fix the linting issues here in this PR.


:robot: triggering CI on branch 'release-next' after synching from upstream/main

/retest

/test e2e-oncluster-test

OCF Webhook is merging this PR


[Feature request] Library caching

With a large library it takes upwards of 50 seconds to launch each time.

Thanks!


feat: warn if page endpoint body is not serializable

#4944 #5358 #5545
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[x] Ideally, include a test that fails without this PR but passes with it.

Tests

[ ] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

Ughh, SVELTEKIT_DEV is throwing a reference error. https://github.com/sveltejs/kit/commit/baaf46e612228137e301eea78d530d5b92b44ff4 sounds like it's the same thing however here it might mean massive amounts of param drilling to do the same.

It occurred to me that since we always need to serialize the data, we can do the checks at serialization time with a custom replacer argument to JSON.stringify, with very little overhead. I implemented that in a new PR since this one is a little out of date since #5778, so I'll close this — thanks