[BUG] LndRestWallet doesn't work

Hello,
I've set parameters for LndRest.
Unfortunately, the balance is always NaN
Also, I've seen that if these parameters are wrong, LNbits server crashes and I have to restore the database and restart the server.
Thank you for your help.

Nisaba it's working for me (i'm running latest release with postgres). Just in case, did you check the permissions on the directories leading to the cert and macaroon? I had to set all directories in the path as r+x. Also, is restlisten=localhost:8080 (or 443) present in lnd.conf?  you can also check with nmap localhost -p 8080. Otherwise change for your your IP.
Although it's strange bc, I tried to put wrong permission or not enable the restlisten, and it  does revert to voidwallet (as eexpected).

Hi @jr21M , i m in the support team for Nisaba, we have a btcpayServer in docker, and we are trying to connect the lnd from docker to lnbits docker by the lnd-rest api. We copy the tls.cert and admin.macaroon from the lnd in the docker storage but we still cannot connect when the data are replicated on the lnbits docker.
the btcpay and lnbits are on the same server but not in the same docker.

I am observing the same behavior with NaN showing as the "Node Balance", "LNBits Balance", and "Reserve %". This is reproducible with either CLN or LND as the underlying LN implementation. I am still able to both send and receive funds with LNBits wallets.
Software Versions:
LNBits 0.10.10
LND 0.16.4
CLN v23.08.1
Initially I suspected this might have been an issue related to the CLN msat migration in v23.05, but as it also presents on LND it seems there is another factor at play. Logs aren't showing any errors.

After some additional testing, it seems the NaN bug only presents when accessing the Admin UI via a .local URL. However, when accessing the Admin UI via a .onion URL, these same values load correctly without issue.
Looking in the console when the error presents, it seems the relevant errors are: https://abcxyz.local/admin/api/v1/audit/’. A ServiceWorker passed a promise to FetchEvent.respondWith() that resolved with non-Response value ‘undefined and Uncaught (in promise) TypeError: e.response is undefined.
It is puzzling to me that these Admin UI values would load without issue when accessed via tor, but result in a promise returning undefined when the same Admin UI is accessed via .local.
I noticed the function api_auditor and get_balance_delta are async, but the get_wallet_class function called by get_balance_delta is not; Is it possible the values load over tor as get_wallet_class has more time to return the promise than when the Admin UI is accessed via .local? If so, would making get_wallet_class async potentially be the fix to access these values over .local?
Software versions:
LNbits 0.11.3
LND 0.17.3
Both runing on StartOS <IP_ADDRESS>

Alternatively this could be an issue with the ServiceWorker and https as tor (http) wouldn't be using the ServiceWorker.

I am pretty sure this has been fixed in the latest versions 0.12.x
Reopen if the problem still persists with 0.12.x

Confirmed. The behavior described above still presents on LNbits 0.12.1.

It seems I am unable to re-open this issue and a collaborator will need to re-open

Also, I've seen that if these parameters are wrong, LNbits server crashes and I have to restore the database and restart the server.
if you wait for a but the fundingsource should fallback to VoidWallet and you should be able to get back into admin ui and change it again.

service worker only work for localhost and https/ssl urls, nothing more.
https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers#setting_up_to_play_with_service_workers

@dni is there any additional information I could gather that would be helpful in debugging this issue? While it is not an essential feature for the LNbits package on StartOS, it would be great if these fields did populate as expected.
It is curious to me how the NaN behavior seems to only present on https while http (tor) populates the fields as espected - this along with the aforementioned console errors is what led me to think it might be an issue with the Service Worker (which would not be used with http).


binanceTradingProgress - Integrate volatility in rating

Show how the market is moving up and down.

rsi and aroon added, to be used as a starting point.


Fixed the alert urgency on Pagerduty oncall provider.

The Pagerduty oncall provider ignores completely the urgency of an alert, it sets by default every alerts to critical.

Thanks for this! Does the Pagerduty "urgency" match up with the Nagios states? E.g. CRITICAL, WARNING? If so this looks good, I'm just concerned about urgencies coming in that don't have styles configured that might look a bit weird in the UI (e.g. Critical comes out red, etc).
Thanks!

 The urgency is the "Notification Urgency" field you setup on each service in Pagerduty. Since Opsweekly is used for reporting, it is better if this field reflects the Pagerduty field instead of marking everything critical. The UI as it is doesn't seem weird, maybe it could be a good thing to add more colours for HIGH and LOW urgencies.

Sounds good to me! I'll accept this as is then, if you fancy adding some tag colouring, please do!


Status of 5.6 support

Is the intention of #501 to add general support for building with Perl 5.6?
Tried it out with the Linux workflow file for Archive-Zip-SimpleZip but it didn't work -- see here for the build failure
The call to  cpanm --quiet --installdeps --notest .  in  .linux.yml didn't install any of the expected dependencies.

building perl 5.6 binaries is succeeded, but not tested widely.
test reports are welcome.

building perl 5.6 binaries is succeeded, but not tested widely.

ok

test reports are welcome.

Tried Compress-Raw-Zlib which doesn't need cpanm to fetch any dependencies  and it worked fine with 5.6

Spoke too soon. Windoes failure here https://github.com/pmqs/Compress-Raw-Zlib/runs/1584217933?check_suite_focus=true
  cpanm --quiet --installdeps --notest .
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    PERL5LIB: D:\a\_actions\shogo82148\actions-setup-perl\v1\scripts\lib
Can't locate Win32.pm in @INC (@INC contains: FatPacked::38807136=HASH(0x%I64x) D:\a\_actions\shogo82148\actions-setup-perl\v1\scripts\lib C:/hostedtoolcache/windows/perl/5.6.2-thr/x64/lib C:/hostedtoolcache/windows/perl/5.6.2-thr/x64/site/lib .) at D:\a\_actions\shogo82148\actions-setup-perl\v1\bin\cpanm line %I64d.
Error: Process completed with exit code 1.

Tried rebuilding with the updated action (see  https://github.com/pmqs/Compress-Raw-Zlib/runs/1676339060?check_suite_focus=true).  I'm seeing the error  -- Can't locate Win32.pm
Run cpanm --quiet --installdeps --notest .
  cpanm --quiet --installdeps --notest .
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    PERL5LIB: D:\a\_actions\shogo82148\actions-setup-perl\v1\scripts\lib
Can't call method "new" on an undefined value at D:\a\_actions\shogo82148\actions-setup-perl\v1\bin\cpanm line %I64d.
Error: Process completed with exit code 1.

Tried rebuilding with the updated action (see  https://github.com/pmqs/Compress-Raw-Zlib/runs/1676339060?check_suite_focus=true).  I'm seeing the error  -- Can't locate Win32.pm
Run cpanm --quiet --installdeps --notest .
  cpanm --quiet --installdeps --notest .
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    PERL5LIB: D:\a\_actions\shogo82148\actions-setup-perl\v1\scripts\lib
Can't call method "new" on an undefined value at D:\a\_actions\shogo82148\actions-setup-perl\v1\bin\cpanm line %I64d.
Error: Process completed with exit code 1.

I still don't have working cpanm for Perl 5.6 on ubuntu-latest.

I still don't have working cpanm for Perl 5.6 on ubuntu-latest.

@tobyink can you show me your logs?

@tobyink can you show me your logs?

https://github.com/tobyink/p5-type-tiny/runs/1676870339 — the "Install dependencies" step — cpanm seems to say No MYMETA file is found after configure. Your toolchain is too old?

https://github.com/tobyink/p5-type-tiny/runs/1676870339 — the "Install dependencies" step — cpanm seems to say No MYMETA file is found after configure. Your toolchain is too old?

Hmmm. That may be unrelated though. I think this is my issue. gha-prove seems to be calling the system perl instead of your Perl.

Hmmm. That may be unrelated though. I think this is my issue. gha-prove seems to be calling the system perl instead of your Perl.

So I guess the solution will be to ensure Test::Harness 2.40+ is installed That ensures the prove script will be in Perl's bin, and the system Perl's prove won't be found instead.

So I guess the solution will be to ensure Test::Harness 2.40+ is installed That ensures the prove script will be in Perl's bin, and the system Perl's prove won't be found instead.

Ah... I see. prove script is available from perl v5.10.1
$ corelist App::Prove

Data for 2020-06-20
App::Prove was first released with perl v5.10.1

I will install latest Test::Harness.

Ah... I see. prove script is available from perl v5.10.1
$ corelist App::Prove

Data for 2020-06-20
App::Prove was first released with perl v5.10.1

I will install latest Test::Harness.

Thee prove script has been in core since Perl 5.8.3, but from 5.10.1, most of the script was moved into a module, so that's why the module was added to core then.

Thee prove script has been in core since Perl 5.8.3, but from 5.10.1, most of the script was moved into a module, so that's why the module was added to core then.

Retried my failing build(see here). Still failing, but now with this error
Run cpanm --quiet --installdeps --notest .
  cpanm --quiet --installdeps --notest .
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    PERL5LIB: D:\a\_actions\shogo82148\actions-setup-perl\v1\scripts\lib
The filename, directory name, or volume label syntax is incorrect.
! Configuring . failed. See C:\Users\RUNNER~1\.cpanm\work\1610800717.3700\build.log for details.
Error: Process completed with exit code 1.

Retried my failing build(see here). Still failing, but now with this error
Run cpanm --quiet --installdeps --notest .
  cpanm --quiet --installdeps --notest .
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    PERL5LIB: D:\a\_actions\shogo82148\actions-setup-perl\v1\scripts\lib
The filename, directory name, or volume label syntax is incorrect.
! Configuring . failed. See C:\Users\RUNNER~1\.cpanm\work\1610800717.3700\build.log for details.
Error: Process completed with exit code 1.

I released https://github.com/shogo82148/actions-setup-perl/releases/tag/v1.9.5
it works https://github.com/shogo82148/Compress-Raw-Zlib/runs/1716607477?check_suite_focus=true 🎉

I released https://github.com/shogo82148/actions-setup-perl/releases/tag/v1.9.5
it works https://github.com/shogo82148/Compress-Raw-Zlib/runs/1716607477?check_suite_focus=true 🎉

I released https://github.com/shogo82148/actions-setup-perl/releases/tag/v1.9.5

Excellent!

it works https://github.com/shogo82148/Compress-Raw-Zlib/runs/1716607477?check_suite_focus=true 🎉

Almost there, but not quite. I see that most of the .t file are outputting this
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,

I don't think that is coming from my tests.
This is output from your test run (I got the same thing when I tried it).
Run make test
  make test
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    PERL5LIB: D:\a\_actions\shogo82148\actions-setup-perl\v1\scripts\lib
C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t\000prereq.t t\01version.t t\02zlib.t t\07bufsize.t t\09limitoutput.t t\18lvalue.t t\19nonpv.t t\99pod.t t\meta-json.t t\meta-yaml.t
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
# Running Perl version  5.006002
t\000prereq.t ...... ok
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
t\01version.t ...... ok
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
t\02zlib.t ......... ok
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
t\07bufsize.t ...... skipped: Lengthy Tests Disabled
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
t\09limitoutput.t .. ok
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
t\18lvalue.t ....... ok
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
t\19nonpv.t ........ ok
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
t\99pod.t .......... skipped: Test::Pod 1.00 required for testing POD
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
t\meta-json.t ...... skipped: Test::CPAN::Meta::JSON required for testing META.json
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
t\meta-yaml.t ...... skipped: Test::CPAN::Meta required for testing META.yml
All tests successful.
Files=10, Tests=507,  1 wallclock secs ( 0.05 usr +  0.06 sys =  0.11 CPU)
Result: PASS

I released https://github.com/shogo82148/actions-setup-perl/releases/tag/v1.9.5

Excellent!

it works https://github.com/shogo82148/Compress-Raw-Zlib/runs/1716607477?check_suite_focus=true 🎉

Almost there, but not quite. I see that most of the .t file are outputting this
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,

I don't think that is coming from my tests.
This is output from your test run (I got the same thing when I tried it).
Run make test
  make test
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    PERL5LIB: D:\a\_actions\shogo82148\actions-setup-perl\v1\scripts\lib
C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t\000prereq.t t\01version.t t\02zlib.t t\07bufsize.t t\09limitoutput.t t\18lvalue.t t\19nonpv.t t\99pod.t t\meta-json.t t\meta-yaml.t
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
# Running Perl version  5.006002
t\000prereq.t ...... ok
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
t\01version.t ...... ok
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
t\02zlib.t ......... ok
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
t\07bufsize.t ...... skipped: Lengthy Tests Disabled
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
t\09limitoutput.t .. ok
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
t\18lvalue.t ....... ok
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
t\19nonpv.t ........ ok
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
t\99pod.t .......... skipped: Test::Pod 1.00 required for testing POD
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
t\meta-json.t ...... skipped: Test::CPAN::Meta::JSON required for testing META.json
'C:\hostedtoolcache\windows\perl\5.6.2-thr\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.
t\meta-yaml.t ...... skipped: Test::CPAN::Meta required for testing META.yml
All tests successful.
Files=10, Tests=507,  1 wallclock secs ( 0.05 usr +  0.06 sys =  0.11 CPU)
Result: PASS

It is a bug of perl 5.6.
the system function on windows doesn't handle its arguments correctly.
# test.pl
my $perl = $^X;
print `"$perl" -e "print join qq[\\n], \@INC, q[]"`;

PS > C:\Users\Administrator\Desktop\actions-setup-perl\scripts\windows\tmp\perl\5.6.2\x64\bin\perl.exe .\test.pl
'C:\Users\Administrator\Desktop\actions-setup-perl\scripts\windows\tmp\perl\5.6.2\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.

The test comes from here: https://github.com/Perl-Toolchain-Gang/Test-Harness/blob/94e8ba4c942a0f4e4eb0a483a8a8c3ee9bd9ff61/lib/Test/Harness.pm#L305-L307
I will not patch the perl code to fix it because I don't want to break the existing behavior.
It is best to fix Test::Harness.

It is a bug of perl 5.6.
the system function on windows doesn't handle its arguments correctly.
# test.pl
my $perl = $^X;
print `"$perl" -e "print join qq[\\n], \@INC, q[]"`;

PS > C:\Users\Administrator\Desktop\actions-setup-perl\scripts\windows\tmp\perl\5.6.2\x64\bin\perl.exe .\test.pl
'C:\Users\Administrator\Desktop\actions-setup-perl\scripts\windows\tmp\perl\5.6.2\x64\bin\perl.exe" -e "print' is not recognized as an internal or external command,
operable program or batch file.

The test comes from here: https://github.com/Perl-Toolchain-Gang/Test-Harness/blob/94e8ba4c942a0f4e4eb0a483a8a8c3ee9bd9ff61/lib/Test/Harness.pm#L305-L307
I will not patch the perl code to fix it because I don't want to break the existing behavior.
It is best to fix Test::Harness.

It is a bug of perl 5.6.
the system function on windows doesn't handle its arguments correctly.

Looks like it is ok to close this issue then.

I will not patch the perl code to fix it because I don't want to break the existing behavior.
It is best to fix Test::Harness.

Agree.
Thanks for taking the time to fix this issue.

It is a bug of perl 5.6.
the system function on windows doesn't handle its arguments correctly.

Looks like it is ok to close this issue then.

I will not patch the perl code to fix it because I don't want to break the existing behavior.
It is best to fix Test::Harness.

Agree.
Thanks for taking the time to fix this issue.

I'm re-running some tests with v1.9.5 now and will let you know how it goes.
https://github.com/tobyink/p5-type-tiny/actions/runs/490571463

I'm re-running some tests with v1.9.5 now and will let you know how it goes.
https://github.com/tobyink/p5-type-tiny/actions/runs/490571463

I've been getting "No MYMETA file is found after configure. Your toolchain is too old?" running cpanm on Perl 5.6.1, 5.6.2, and 5.8.0. (5.8.1+ is fine.)

I've been getting "No MYMETA file is found after configure. Your toolchain is too old?" running cpanm on Perl 5.6.1, 5.6.2, and 5.8.0. (5.8.1+ is fine.)

because CPAN::Meta is too old to generate MYMETA.
CPAN::Meta v2.112150 is required.
https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/blob/1daf00cbc42538a4cda7c6bc5671abab9c30159a/lib/ExtUtils/MM_Any.pm#L1108-L1115
and the latest version of CPAN::Meta requires perl v5.8.1 or later https://metacpan.org/pod/release/DAGOLDEN/CPAN-Meta-2.150010/lib/CPAN/Meta.pm

because CPAN::Meta is too old to generate MYMETA.
CPAN::Meta v2.112150 is required.
https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/blob/1daf00cbc42538a4cda7c6bc5671abab9c30159a/lib/ExtUtils/MM_Any.pm#L1108-L1115
and the latest version of CPAN::Meta requires perl v5.8.1 or later https://metacpan.org/pod/release/DAGOLDEN/CPAN-Meta-2.150010/lib/CPAN/Meta.pm


Investigate supporting tvOS

Today,  announced tvOS. Once the relevant info is available, we need to investigate what (if anything) we need to do to support using Realm on the big screen.

Unfortunately I can't build the binary. PhaseScriptExecution fails. Anything I could do to fix that? Thanks a lot for your hard work! I really appreciate it!

@danielreiser as mentioned in #2506, we need an update to our core build process before we can support it here. We'll update that PR if/when we decide to move forward with it.
Given the 1MB local storage limitation, we may need to rethink our Apple TV strategy before committing to anything.

Thanks a lot for the clarification. I haven't seen the mention in #2506. I totally understand your decision and am excited with what you'll come up. Realm is such a great db replacement and it would be too bad if we couldn't use it on tvOS. I really appreciate all the hard work you guys are putting into it! Cheers!

@jpsim Is there any update you can share on the decision to support tvOS? Do we need temporary move back to CoreData if I want to have an app ready when the Apple TV launched by the end of October?

We'll release official support for tvOS before the hardware starts shipping. I actually built a tvOS app using Realm last week and it was lots of fun!
Has an official ship date been announced yet, other than "some time in October"?
And if anyone has received early access to Apple TV hardware, please get in touch (jp@realm.io), we'd love to test this on real hardware but no one from our team won the lottery...
Also email me<EMAIL_ADDRESS>if you'd like early access to Realm tvOS builds.

That's great news, thanks @jpsim (email sent)

Any news about #2506 compilation errors?

TechCrunch article:

Pre-orders for the new Apple TVs are set to begin next Monday, Apple CEO Tim Cook said onstage at the WSJD Live conference, with shipments likely to be sent out by the end of next week.

When will the official RealmSwift support for tvOS be released?

When all the items listed in #2691 have been done.

tvOS support was included in our 0.97 release yesterday: https://realm.io/news/realm-objc-swift-0.97.0/


README Update with Labs28 Contributors

Description
Added a Labs28 section to the README with contributor's photo, Linkedin, and Github
Number of Files changed
One. README.md
Questions for Reviewer
Type of Change

[ ] New Feature
[X] Feature Update
[ ] Fix Error

Status

[X] Tested

Awesome


Fix typos

This PR fixes some typos: attempst, lenght, and acessed.

Can one of the admins verify this patch?


GoDebug stopped working

I've been already using GoDebug many times and didn't change my configuration for a while, however lately couldn't run any of GoDebug commands due to following error.
INF: plugin nvim-dap-virtual-text module nvim-dap-virtual-text  not loaded
Error executing Lua callback: ...share/nvim/site/pack/packer/start/go.nvim/lua/go/dap.lua:194: attempt to index local 'vt' (a nil value)
stack traceback:
        ...share/nvim/site/pack/packer/start/go.nvim/lua/go/dap.lua:194: in function 'prepare'
        ...share/nvim/site/pack/packer/start/go.nvim/lua/go/dap.lua:341: in function 'run'
        .../nvim/site/pack/packer/start/go.nvim/lua/go/commands.lua:62: in function <.../nvim/site/pack/packer/start/go.nvim/lua/go/commands.lua:57>

This related to nvim-dap-virtual-text do you have it enabled and installed?

The Error executing Lua callback: . should been fixed in the latest version.


Templates: @set.map => only first element

[lighthouse] https://play.lighthouseapp.com/projects/82401-play-20/tickets/81-templates-setmap-only-first-element#ticket-81-2

this is fixed now as per https://github.com/playframework/Play20/commit/5b93535b614376c715fca15be0da3d4737dffe45#diff-10 Thanks


Clarify inconsistence behavior between normal post releases and post releases of pre-releases

Taken from https://github.com/j0057/setuptools-version-command/pull/3#issuecomment-87577386
pep440-git mode current works in the following way:
1.2.3a-N-ab1234 to 1.2.3aN

That makes a new alpha release per commit, while normally projects build towards an alpha release (say, alpha1) and fix number of bugs, then release, then work towards alpha2, fix a number of bugs and release, etc. Current approach leads to builds like "alpha31", "alpha32", etc.
I think normally, the flow would rather be:
1.2.3a1.dev0 --> 1.2.3a1.devN --> 1.2.3a1
1.2.3a2.dev0 --> 1.2.3a2.devN --> 1.2.3a2

Current implementation supports also this, so that's not the problem.
However, pre-release handling is a bit inconsistent. For non-pre-releases lib will output post-releases:
1.2.3-N-abcd123 to 1.2.3.postN

But then, for pre-releases, it increments pre-releases number instead:
1.2.3a-N-ab1234 to 1.2.3aN

For consistence, I would expect following instead:
1.2.3a1-N-ab1234 to 1.2.3a1.postN
1.2.3a2-N-ab1234 to 1.2.3a2.postN

Was this approach chosen based on the pep440 suggestion?

Creating post-releases of pre-releases is strongly discouraged, as it makes the version identifier difficult to parse for human readers. In general, it is substantially clearer to simply create a new pre-release by incrementing the numeric component.

Two suggestions:

Change behavior as suggested here (create post-releases instead of incrementing pre-release number per commit)
Document the exception

Oh well, seems like the code already works the suggested way if I include pre-release number in the tag. I didn't first realize this means exactly that:
If the last Git tag is an open pre-release tag, that will be used.

I'm not sure if the phrase "that will be used" really tells the reader, how it is used ("number of commits is interpret as counter" or such), might want to open it up a bit.


Don't block while compacting table on Hive

Due to https://issues.apache.org/jira/browse/HIVE-22554 blocking compaction will block for ~30 seconds even when the compaction finishes earlier. This change pools for compactions using Hive's SHOW COMPACTIONS to test whether compaction has finished.

@losipiuk AC

Automation failed.

@losipiuk timeout was too short. I've fixed that.

Failures that occur are due to the fact that MAJOR compactions are failing on mm tables (micro-managed aka insert-only) due to: FAILED: NullPointerException Non-local session path expected to be non-null

I'm disabling MAJOR compaction test on insert-only tables - it never worked due to https://issues.apache.org/jira/browse/HIVE-21280

I've removed MAJOR compaction test on insert-only tables - it never worked due to https://issues.apache.org/jira/browse/HIVE-21280

Good find. IIUC it is fixed in HIve 4. Maybe we can guard the assertion with Hive version check? That way we will start testing it again with Hive 4 without explicit change. Otherwise we will probably forget to add test coverage. WDYT?

Yeah, I can add check for Hive 4 (which btw. isn't released yet)

I've removed MAJOR compaction test on insert-only tables - it never worked due to https://issues.apache.org/jira/browse/HIVE-21280

Good find. IIUC it is fixed in HIve 4. Maybe we can guard the assertion with Hive version check? That way we will start testing it again with Hive 4 without explicit change. Otherwise we will probably forget to add test coverage. WDYT?

it is also possible https://issues.apache.org/jira/browse/HIVE-21280 got backported (either in branch-3* in apache/hive or in eg HDP distro).
We are not on the latest patch release of HDP 3.1

It's fixed in the HDP 3.1.5 https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.5/release-notes/content/patch_hive.html

It's fixed in the HDP 3.1.5 https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.5/release-notes/content/patch_hive.html

https://github.com/prestosql/presto/issues/4061


Allow custom RBLs and fix python3 bytes issue

Hi.
I fixed a python3 issue that I had (line 108) when there was errors with a blacklist check.
I also add the ability to add a custom RBL.
Last, I add the code checker flake8 and make it look nice, but I can remove this last commit if you don't want it.

Thank's @Tuxem . I was thinking to do exactly this change to allow custom RBL's.
Please @polera , add this changes to the code!


Allow ComponentMetadataRule to clear all existing variants

Expected Behavior
What we'd like to have is the ability to either remove/disable individual variants by name, or preferrably disable all existing variants.
I.e.:
    @Override
    public void execute(ComponentMetadataContext context) {
      var details = context.getDetails();
      details.removeVariant("runtime");
      details.removeVariant("compile");
      // .... proceed to generate new variants i.e. apiElements et al
    }

Current Behavior (optional)
No response
Context
We are building a Gradle plugin that makes use of an existing Maven module that has been published for 10+ years and uses various classifiers that do not map well to the Gradle model.
Our plugin implements a ComponentMetadataRule that builds variants with varying capabilities for the different classifiers and missing dependency information.
At the moment, there does not seem to be a way to get rid of the implicit runtime and compile variants, making it hard to match the module metadata to what we want.

This feature request is in the backlog of the relevant team and is prioritized by them.

One way to workaround the lack of remove is to use the withVariant and modify the variants to make sure they aren't selectable. As an example: setting the org.gradle.category attribute to a value like dont-use would make sure those variants are never selected.


KUE 0.9.4 not working properly with redis-sentinel (latest)

Hi Team,
Following is the scenerio in our NODEJS application.
we are using REDIS1 (Master) & REDIS2 (Slave) via sentinel to connect to redis and do automatic failover when the master stops working. Everyother connection taken manually from the redis-sentinel library works fine and it connects automatically if the conn drop to the master (which goes down). this all happens perfectly as stated in the docs.
However, the problem arises when we are trying to use REDIS-SENTINEL with KUE. Once KUE establish the connection with one of the master via Sentinel PUB/SUB works fine. as soon as the Master is being changed by the Sentinel the connection maintained by the KUE (as per the logs) seems to be perfectly reconnected to the new master. However, another client which publishes something on a channel (to which the listener is listening in this application) try to PUBLISH anything, the KUE doen't get the notification. i..e the Worker created via QUEUE does not listen anything. and all the messages sent to the channel appeared in the KUE UI as queued.
We followed the same set of examples as being provided on the site.
Here is the KUE configuration.
var redisEndpoints = [
{host: '<IP_ADDRESS>', port: 26379},
{host: '<IP_ADDRESS>', port: 26379}
];
var opts = {}; // Standard node_redis client options , like Passwords etc.
var masterName = 'mymaster';
var sentinel = Sentinel.Sentinel(redisEndpoints);
var que = kue.createQueue({
redis: {
createClientFactory: function(){
//return sentinel.createClient(redisEndpoints, masterName, opts);
return sentinel.createClient(masterName, opts);
}
}
});
que.watchStuckJobs();
we are stuck because of this. Any help on this will be appreciated

Can you test against Kue 0.10 which is release today?

Any updates? @panbhatt


Building solution of core.sln in Visual Studio

Hi,
I encounter the following problem while trying to build the solution of core.sln in Visual Studio. I followed the instructions from https://github.com/GoodAI/ArnoldSimulator/blob/develop/Sources/core/how-to-win64.txt  but when  I tried to build the solution, the output error message I got was:
1>------ Build started: Project: core, Configuration: Release x64 ------
1>  cd release && ../../libs/charm/net-release/bin/charmc -optimize -production  -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_ITERATOR_DEBUG_LEVEL=0 -Irelease -I. -I../libs/tbb/include -I../libs/sparsehash/src -I../libs/json/src -I../libs/flatbuffers/include -I../libs/catch/single_include ../neuron.ci
1>  cd release && ../../libs/charm/net-release/bin/charmc -optimize -production  -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_ITERATOR_DEBUG_LEVEL=0 -Irelease -I. -I../libs/tbb/include -I../libs/sparsehash/src -I../libs/json/src -I../libs/flatbuffers/include -I../libs/catch/single_include ../region.ci
1>  cd release && ../../libs/charm/net-release/bin/charmc -optimize -production  -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_ITERATOR_DEBUG_LEVEL=0 -Irelease -I. -I../libs/tbb/include -I../libs/sparsehash/src -I../libs/json/src -I../libs/flatbuffers/include -I../libs/catch/single_include ../brain.ci
1>  cd release && ../../libs/charm/net-release/bin/charmc -optimize -production  -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_ITERATOR_DEBUG_LEVEL=0 -Irelease -I. -I../libs/tbb/include -I../libs/sparsehash/src -I../libs/json/src -I../libs/flatbuffers/include -I../libs/catch/single_include ../core.ci
1>  /bin/sh: ../../libs/charm/net-release/bin/charmc: No such file or directory
1>  /bin/sh: ../../libs/charm/net-release/bin/charmc: No such file or directory
1>  make: *** [Makefile:142: release/neuron.decl.h] Error 127
1>  make: *** Waiting for unfinished jobs....
1>  make: *** [Makefile:142: release/region.decl.h] Error 127
1>  /bin/sh: ../../libs/charm/net-release/bin/charmc: No such file or directory
1>  make: *** [Makefile:142: release/brain.decl.h] Error 127
1>  /bin/sh: ../../libs/charm/net-release/bin/charmc: No such file or directory
1>  make: *** [Makefile:142: release/core.decl.h] Error 127
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3073: The command "call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall" amd64
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3073: bash -c "make -j4 release-build"" exited with code 2.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Could I get some help on why I am encountering this error? I am new to Visual Studio so some help would be appreciated.
Thanks,
Zhangsheng

Hi Zhangsheng,
The error says that it can't find charm++ binaries. Can you please check that you've successfully completed step 3 in the how-to document?

Hi!  Re-running the installation of dependencies I get this:
Building Charm++
...cleaning
...unpacking
...fixing scripts
Error> option: smp is not supported in this version!
./build: line 162: cd: ./src/arch//net-win64: No such file or directory
./build: line 162: cd: ./src/arch//net: No such file or directory
./build: line 162: cd: ./src/arch//common: No such file or directory
Supported compilers:
./build: line 162: cd: ./src/arch//net-win64: No such file or directory
./build: line 162: cd: ./src/arch//net: No such file or directory
./build: line 162: cd: ./src/arch//common: No such file or directory
Supported options:
Error> option: smp is not supported in this version!
Supported compilers:
Supported options:

The error message is telling me smp is not supported in this version. In your how-to-win64.txt file, it gives different instructions for both the single and multiple machine scenarios; is this smp error due to me using the wrong scenario? Thank you for your help :)

Hi,
multi-machine and single-machine scenario only differs in the way how it is run, it does not differ in the way how to build Arnold Simulator. (Just that for multi-machine you should build the 'release' configuration).
'smp' option is OK, it is a misleading error message, the real problem is on the following lines
./build: line 162: cd: ./src/arch//net-win64: No such file or directory
./build: line 162: cd: ./src/arch//net: No such file or directory
./build: line 162: cd: ./src/arch//common: No such file or directory

I suspect there was some error even before this step. Please recheck the preceding steps from the guide (core/how-to-win64.txt). Maybe try a new clean checkout for it.


[Help] Problem with drawing MSDF font

I tried adding an MSDF font and draw it but it gave me this error:

Closed due to inactivity (issue likely fixed in v8)


Click on slider track should adjust value

With NSSlider on macOS, you can click on the slider track to move the thumb to the clicked position. When running on macOS, these sliders should do the same.

Hi @thompsonate,
This option interactiveTrack that is disabled by default. Here is an example on how to enable it.
ValueSlider(value: $value4)
    .valueSliderStyle(
        HorizontalValueSliderStyle(
            track: LinearGradient(
                gradient: Gradient(colors: [.purple, .blue, .purple]),
                startPoint: .leading,
                endPoint: .trailing
            )
            .frame(height: 6)
            .cornerRadius(3),
            thumbSize: CGSize(width: 48, height: 16),
            options: .interactiveTrack
        )
    )

This works great, thank you!


fix: reth-trie no_std case hashmap

When std is disabled, the hash map type will be used from alloy-primitives.

needs fmt, can't push to org fork manually

superseded by #13497


Trigger react-tooltip when text is getting overflown

Hi,
I am using react-tooltip over text. Presently, the tooltip is visible always irrespective of whether the text is getting overflown and an ellipsis is visible on the element. I want to show the react-tooltip only when the text is getting overflown.
Is there any way we can achieve this using react-tooltip?

Hi,
Can you share the version of react-tooltip are you using, please?

This version has no support with React 18, if you are using React 18, please upgrade to the next one, also, the community did some contributions until the latest V4.x.x version, please pick one.
Also if you can, please test V5: https://github.com/ReactTooltip/react-tooltip/pull/820
It's in progress but can already be tested, and as faster as I receive feedback, I can improve and release a ready-for-production V5.
Thanks!

Closing all v4 issues due to V5 released.
If necessary, please open a new issue using V5, thanks!


Bug report

Describe the bug
I want to know why I can't transfer files from my Android phone to my MacBook through LocalSend, and the displayed content is errno=1. I have tried many things but none of them worked

To reproduce

Go to '...'
Click on '...'
Scroll down to '...'
See error

Expected behavior
They had previously shown that it was acceptable, but after the progress bar was loaded, an orange exclamation mark and incorrect identification popped up, which prevented me from reading on MacBook

Screenshots
No response
Desktop (please complete the following information)
MacOS：13.6.1
Smartphone (please complete the following information)
Device：Xiaomi 14Ultra
OS：Xiaomi HyperOS
Version：<IP_ADDRESS>
Additional context
No response

Can you try to change the destination directory?

您可以尝试更改目标目录吗？

It seems possible. Do we need to set the storage directory first each time? Thank you!!!

@CrawFordddd has this issue been solved ? It seems like a permission issue on the Desktop/LocalSend folder.

The problem has been successfully solved, thank you very much!!!! It means that the storage directory needs to be reset every time, but the main issue has been resolved


bug: TextField autofocus & Router

Steps to Reproduce

Reproduction based upon the Nested Router example from the Medium article:
https://github.com/cpboyd/flutter_autofocus_bug
The autofocus worked fine in my application before switching to the new Router.
I'm not sure if they're directly linked, since using a Router that only has a single page can still result in a working autofocus.
Expected results:
The TextField(autofocus: true) should take focus for immediate user input.
Actual results:
The TextField appears but doesn't grab focus.

Logs

route_test % flutter analyze
Analyzing route_test...

   info • Unused import: 'package:route_test/main.dart' • test/widget_test.dart:11:8 • unused_import
  error • The function 'MyApp' isn't defined • test/widget_test.dart:16:29 • undefined_function

2 issues found. (ran in 2.2s)

route_test % flutter doctor -v
[✓] Flutter (Channel stable, 1.22.1, on macOS 11.0 20A5384c, locale en-US)
    • Flutter version 1.22.1 at /Users/cpboyd/dev/flutter
    • Framework revision f30b7f4db9 (24 hours ago), 2020-10-08 10:06:30 -0700
    • Engine revision 75bef9f6c8
    • Dart version 2.10.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/cpboyd/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Users/cpboyd/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6821437/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0, Build version 12A7209
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Users/cpboyd/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6821437/Android
      Studio.app/Contents
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.2.3)
    • IntelliJ at /Users/cpboyd/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin installed
    • Dart plugin version 202.7319.5

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

[✓] Connected device (1 available)
    • iPhone SE (2nd generation) (mobile) • FB044C8B-8B92-410B-9EC1-3837B55406AC • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-0
      (simulator)

• No issues found!

I've tested with both stable and master branches. Same issue on both.

From various testing, I've found that the inner router's Navigator seems to be preventing focus (and possibly suppressing errors)...
Removing both Navigators allows focus, but results in this error:
flutter: ══╡ EXCEPTION CAUGHT BY FOUNDATION LIBRARY ╞════════════════════════════════════════════════════════
flutter: The following assertion was thrown while dispatching notifications for FocusNode:
flutter: No Overlay widget exists above EditableText-[LabeledGlobalKey<EditableTextState>#25ccd](controller:
flutter: TextEditingController#3b929(TextEditingValue(text: ┤├, selection: TextSelection(baseOffset: 0,
flutter: extentOffset: 0, affinity: TextAffinity.downstream, isDirectional: false), composing:
flutter: TextRange(start: -1, end: -1))), focusNode: FocusNode#5d68e([PRIMARY FOCUS]), debugLabel:
flutter: (englishLike subhead 2014).merge(blackCupertino subtitle1), inherit: false, color:
flutter: Color(0xdd000000), family: .SF UI Text, size: 16.0, weight: 400, baseline: alphabetic, decoration:
flutter: TextDecoration.none, textAlign: start, autofocus: true, keyboardType: TextInputType(name:
flutter: TextInputType.text, signed: null, decimal: null), dirty, dependencies: [Directionality, MediaQuery,
flutter: _FocusMarker], state: EditableTextState#b73f1(tickers: tracking 2 tickers)).
flutter: Usually the Navigator created by WidgetsApp provides the overlay. Perhaps your app content was
flutter: created above the Navigator with the WidgetsApp builder parameter.
flutter: 'package:flutter/src/widgets/text_selection.dart':
flutter: Failed assertion: line 304 pos 12: 'overlay != null'
flutter:
flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially
flutter: more information in this error message to help you determine and fix the underlying cause.
flutter: In either case, please report this assertion by filing a bug on GitHub:
flutter:   https://github.com/flutter/flutter/issues/new?template=BUG.md
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #2      new TextSelectionOverlay (package:flutter/src/widgets/text_selection.dart:304:12)
flutter: #3      EditableTextState._handleSelectionChanged (package:flutter/src/widgets/editable_text.dart:2016:27)
flutter: #4      EditableTextState._handleFocusChanged (package:flutter/src/widgets/editable_text.dart:2269:9)
flutter: #5      ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:226:25)
flutter: #6      FocusNode._notify (package:flutter/src/widgets/focus_manager.dart:1027:5)
flutter: #7      FocusManager._applyFocusChange (package:flutter/src/widgets/focus_manager.dart:1723:12)
flutter: (elided 12 frames from class _AssertionError and dart:async)
flutter:
flutter: The FocusNode sending notification was:
flutter:   FocusNode#5d68e([PRIMARY FOCUS])
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════

Keeping the primary Navigator will suppress the error.
@chunhtai @johnpryan Are there any additional steps for managing state within the new Router / Navigator 2.0?
I did come across #9282 which referenced an issue with keys and not properly managing state... But I removed the keys from this reproduction and still had the autofocus issue.

I was able to find a work-around by moving the _isSearching state and appBar to the inner-most child, not on the inner-route wrapper like in the Medium article.
Still, as AppShell is a StatefulWidget, I think this is a bug where state updates within Navigator 2.0 aren't processing as expected.
At the very least, there should be additional documentation warning users of instances where state is not maintained across the new Router system.

Hi @cpboyd
Can you please provide more information on when should the textfield get activated and grab focus ?
I cloned your repo and navigated back and forth, maybe I missed something while replicating the issue.
Thanks.

@darshankawar The TextField should be activated when clicking the search icon...
Note that the most recent commit (https://github.com/cpboyd/flutter_autofocus_bug/commit/5533594d0fb78b99edcc67e2e18838c5af755508#) moved the appBar within the inner Navigator which "fixed" the focus scope.
So if you've cloned it, you'll have to checkout this commit rather than the most recent master: https://github.com/cpboyd/flutter_autofocus_bug/commit/2284ec13099312fb82e507443213fc592dda7e37
As my recent investigations, it seems that the Router messes with the FocusScope... the reason the work-around works is because the Navigator widget sets its own FocusScope.

i've noticed that realization with IndexedStack and two Navigator have some performance issue.
For example:
Create two Pages A and B by tabs, then add to page B widget with, for example, animation. Run app in debug, open performance debuger, go to pages A > B > A, and even if you on the page A without any content that can trigger rerender, debug panel will show render chart like on the screen widget with animation (but it's on page B)
Well that of course because even that we see only page A, page B is still exist in render tree and trigger rerendering evry ticket.
That problem fixed in CupertinoTabScaffold by using Offstage, TickerMode and FocusMode for, probably, bug fixes described in #67745 .
Is that only one way to fix that performance issue somebody know?
Seems like need copy of CupertinoTabScaffold but in material (Scaffold)...

This is WAI, the navigator will grab focus for its content automatically, if the textfield is in the outer appbar, it will not be able to auto focus because the inner navigator already claims the focus. You can however create a focus node to pass into the textfield, and calls FocusNode.requestFocus when search is tapped.
@Crisis2010 can you file a separate issue for the performance issue?

closing this issue as WAI

@chuntai This is an issue even if the text field is not in the outer app bar. I have a nested router that contains a login page and then a forgot password page on top of it. I cannot focus the text field in the forgot password page and I don't think that is "working as intended" and I shouldn't have to create a focus node for standard behavior. This should probably be reopened.

@chuntai This is an issue even if the text field is not in the outer app bar. I have a nested router that contains a login page and then a forgot password page on top of it. I cannot focus the text field in the forgot password page and I don't think that is "working as intended" and I shouldn't have to create a focus node for standard behavior. This should probably be reopened.

@zakton5 can you provide a reproducible example?

@zakton5 can you provide a reproducible example?

@chunhtai https://github.com/zakton5/flutter-router-text-field-focus-issue
Just run the app and attempt to focus the fields on the login form. Then tap forgot password and attempt to use the single field on that page. You can't focus it. This was only tested on iOS btw.

@chunhtai https://github.com/zakton5/flutter-router-text-field-focus-issue
Just run the app and attempt to focus the fields on the login form. Then tap forgot password and attempt to use the single field on that page. You can't focus it. This was only tested on iOS btw.

Thanks, I will look into it

Thanks, I will look into it

I can't reproduce it in iOS on both emulator and real device the email field does receive focus when i tap it

I can't reproduce it in iOS on both emulator and real device the email field does receive focus when i tap it

@chunhtai The email field on the login page or the forgot password page?

@chunhtai The email field on the login page or the forgot password page?

This is what i did
no autofocus

run app
click email in login page to bring up keyboard focus
click forget password
click email in forget password
email does receive keyboard focus

with autofocus

run app
click email in login page to bring up keyboard focus
click forget password
email does receive auto keyboard focus
click back to login page
click forget password
email still receives auto keyboard focus

This is what i did
no autofocus

run app
click email in login page to bring up keyboard focus
click forget password
click email in forget password
email does receive keyboard focus

with autofocus

run app
click email in login page to bring up keyboard focus
click forget password
email does receive auto keyboard focus
click back to login page
click forget password
email still receives auto keyboard focus

@chunhtai Sure enough it now works. 100% this did not work yesterday on my iOS simulator though. I'm very confused. It also works in my actual app now whereas yesterday it did not work no matter what I did.

@chunhtai Sure enough it now works. 100% this did not work yesterday on my iOS simulator though. I'm very confused. It also works in my actual app now whereas yesterday it did not work no matter what I did.

closing as not reproducible

closing as not reproducible


Lock twilio sdk version to <5

Twilio recently released a new major version which breaks the bundle.  Locking this version down to <5.0 prevents the bundle from breaking.

Coverage remained the same at 45.946% when pulling 53a8e5b3cffd0d8c340c3969bbc6cc09e57d9ad1 on delorenj:v1-0-1 into 6e7f2820a8cd0e5a57ad253b311f9e5259a33320 on fridolin-koch:master.

Coverage remained the same at 45.946% when pulling 53a8e5b3cffd0d8c340c3969bbc6cc09e57d9ad1 on delorenj:v1-0-1 into 6e7f2820a8cd0e5a57ad253b311f9e5259a33320 on fridolin-koch:master.

Hey, thanks for the PR!

@fridolin-koch, can you tag the new commit? Thanks!

https://github.com/fridolin-koch/VreshTwilioBundle/releases/tag/1.0.2

awesome!  thanks for being so quick =D
On Wed, Aug 17, 2016 at 2:22 PM, Frido Koch<EMAIL_ADDRESS>wrote:

https://github.com/fridolin-koch/VreshTwilioBundle/releases/tag/1.0.2
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fridolin-koch/VreshTwilioBundle/pull/19#issuecomment-240501687,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOzs7JSlSK_qy9NRnqCL5e_mhQ8InGjks5qg1GCgaJpZM4Jmtlw
.


Leverage windows images on docker for Windows

RavenDB also supports Windows containers. It would be possible to use Windows containers on Windows and Linux containers on Linux to speed up the execution and reduce the friction of Azure Container Instances. But it might expose us to problems down the line when RavenDB no longer offers windows containers

Tried it out here https://github.com/Particular/NServiceBus.RavenDB/pull/1098 but stopped for now since it was a time sink


Moved Finnish to its own "namespace"

Yeah, I'll change to a proper namespace.

BTW it is much cleaner to make PR from your local branch, now it contains the whole commit history because it is from master.
My github-fu is too weak for that at the moment but I will investigate.


Update of rate_functions

Changelog / Overview

Changed the picture for the non standard rate functions.

Motivation

Now people can know how all the non linear functions work and see its graphs.
Explanation for Changes

Makes the documentation of manim.utils.rate_functions more better.
Testing Status

Further Comments

This particular image was rendered by @kolibril13.
Checklist

[x] I have read the Contributing Guidelines
[x] I have written a descriptive PR title (see top of PR template for examples)
[x] I have written a changelog entry for the PR or deem it unnecessary
[ ] My new functions/classes either have a docstring or are private
[ ] My new functions/classes have tests added and (optional) examples in the docs
[x] My new documentation builds, looks correctly formatted, and adds no additional build warnings

Reviewer Checklist

[ ] The PR title is descriptive enough
[ ] The PR is labeled correctly
[ ] The changelog entry is completed if necessary
[ ] Newly added functions/classes either have a docstring or are private
[ ] Newly added functions/classes have tests added and (optional) examples in the docs
[ ] Newly added documentation builds, looks correctly formatted, and adds no additional build warnings

thanks for this pr!


Classes not Hoisted

So far as I know classes are supposed to be hoisted? Am I wrong in this?

Classes are not hoisted. See https://github.com/esnext/es6-class/issues/8 for an explanation.


Proper key repeat behaviour

Hello, is there a way to get proper key repeat behaviour with non-char keys like backspace?
I'm implementing a console, and text input is really awkward because i can't hold down backspace to delete chars. GetKeyPressed doesn't detect key repeats, GetCharPressed does detect repeats but only works for characters (not non-char keys like backspace).
I can't implement manually with IsKeyDown because repeat rates differ across OSes.
If there was a GetRepeatRate() function, that would suffice (although still annoying).
On the other hand, adding repeats to GetKeyPressed would probably break a lot of input systems that rely on this being a single 'key down'.
Is there another function I'm missing, e.g. GetKeyPressedRepeat? Maybe copy the GLFW system with a callback that passes a repeat bool val? Alternatively can i just hook into GLFW without breaking stuff?
EDIT: I'm aware this isn't a 'support forum', but the auto-filled title implied that feature requests were fine, i'm counting this as a feature request assuming it doesn't already exist

hm, how can i measure the repeat rate with IsKeyDown? I'm talking about getting the OS-configured repeat rate & repeat delays - e.g. if you hold down the 'a' key, it triggers once, waits, then triggers repeatedly with a fixed delay
Surely IsKeyDown is just returning true every frame if the key is down, and false if the key is up?
Is it possible  to just hook directly into GLFW here?

hm, how can i measure the repeat rate with IsKeyDown? I'm talking about getting the OS-configured repeat rate & repeat delays - e.g. if you hold down the 'a' key, it triggers once, waits, then triggers repeatedly with a fixed delay
Surely IsKeyDown is just returning true every frame if the key is down, and false if the key is up?
Is it possible to just hook directly into GLFW here?

Hey Tom, my suggestion, as I am in the same world as you about making a console etc etc, is to look as how GLFW handles key repeat.  If you like it and want to create a hook to that, it is possible without too much customisation.
You don't have to go with the "I'm afraid that" speech you often read.  Just find the hook for what you need and implement it yourself .  Then you can always propose your PR see if it interests the author or not.
The other way around is just to not use the RayLib keyboard management (if you are making a Windows only app) and use the oem keyboard handling library which should be exposed in your mingw install (if that is what you are using).
TBH I find the Windows implementation of key bindings incredibly easy to work with.
good luck!
Jacques

@tomc1998 for advance requirement of the input system I recommend using GLFW directly (afaik repeat timing is neither exposed)  or just edit raylib internals, keep in mind raylib is an open-source library that advance users can customize for their needs.

@tomc1998 raylib uses GLFW for PLATFORM_DESKTOP (Windows, Linux, macOS), an emscripten-provided GLFW port for PLATFORM_WEB and a custom native input system implementation for the other platforms supported.


Fixed #34316 -- Visual regressions in admin's change password form

Ticket: https://code.djangoproject.com/ticket/34316
057a4c9
Help text now has gap before "this form" link

ddd06e5
Form input alignments for change password forms fixed

ddf14a4
(Not included in ticket) fixed alignment of error list on the password change form

@sarahboyce Thanks :+1: I left comments.

i think everything is fine

@emarhin Have you seen my comments? Approving PRs without checking them is not really helpful and causes unnecessary noise for folks who watch this repository. Please don't do this.

@felixxm I can't see your comments :thinking:

@felixxm I can't see your comments thinking

Ahh, submit button :facepalm:

i think everything is fine

@emarhin Have you seen my comments? Approving PRs without checking them is not really helpful and causes unnecessary noise for folks who watch this repository. Please don't do this.

okay thank you


Improve UI/UX consistency between Shapes and Labels Polygon tools

This came up in the docs working group in the context of a major update of the layer guides:
https://github.com/napari/docs/pull/125/files#diff-2f8f3abb006bb80c683093a552671ed1c5a1b79a6f1527195a1db862c44a6eba
So I think it may be worth looking at Polygons in the Shapes and Labels layer from the PoV of the user and the docs.
Importantly, @MelissaWM is also going to be updating the screenshots and movies, so it's important not to waste a ton of time if something isn't quite right.
Note: everything I'm referring to is referring to 0.5.0
To recap: In Shapes layers we have two tools for drawing polygons. The original Polygon tool (triangle icon) and the Polygon lasso (lasso icon). The tools are next to each other in the toolbar.

They can both draw the same Shapes, but the Polygon tool requires clicks per vertex, while the lasso just requires moving the mouse and the vertexes are automatically placed. Both tools make closed shapes. Both tools end drawing in a similar but different fashion. In the original Polygon tool a double click ends and in the newer lasso a single click. At first this seems odd, but in the OG tool you are constantly clicking, so an extra click, the double click, means end, while in the lasso you click to place the origin and then you don't click, just drag, so a single click suffices to end and close the polygon.
Overall, I think these tools are pretty consistent and very complementary.
In the Labels layer there is a new tool to draw Polygons and it's called the Polygon tool, but has the lasso icon (to be released in 0.5.0). It's next to the paintbrush.

Its behavior is very handy, because it makes filled labels easily. In fact, it's virtually identical to the original Shapes Polygon tool mentioned above: each click places a vertex of a closed shape. The visual behavior is basically the same. Note this is in contrast to the Polygon lasso tool of the Shapes layer, with which this tool shares the icon. The end behavior is similar to the Shapes tools, automatically closing the Shape and using double-click. However, there is a subtle difference, because the double click has to be within 20 pixels of the origin point of the polygon, otherwise it just sets another vertex:
https://github.com/napari/napari/blob/85c58b5990dfbbc41468ae16c25216e8a00f11a3/napari/components/overlays/labels_polygon.py#L38
Importantly this is screen pixels and does not appear to account for HiDPI, so on my new work monitor is actually annoying close to the origin when going quickly on larger annotations. Note that the rationale was largely due to slow double-click speed on linux resulting in un-wanted ending.
So, while we can document all of this--and have to some extent-- I think there is some inconsistency in these tools. First, the Labels Polygon tool icon is inconsistent Shapes tool icons, based on the behavior. The Labels Polygon tool behaves like the Shapes Polygon tool (triangle icon) not the Polygon lasso tool (lasso icon).

I think due to the similarity of behavior it would be best to have the icons consistent with each other. Does anyone have any thoughts there?

Likewise, I also find the close behavior of the Labels Polygon tool frustratingly inconsistent with Shapes Polygon tool, because it's very similar, yet different. As a creature of habit prefer the more common solution of double click to end a closed shape regardless of how close to origin. (Note: I can see having to double click close to the origin point to close a path, which could otherwise be open, but the Shape and Labels polygons are closed by default.) Here the next steps are less clear:

Maybe the completion_radius should be exposed in the Preferences? Then people could tweak based on monitor Rez and how intricate their labels are to be?
Maybe it should accept None or something (infinity!) then the double-click always closes, just like the Shapes tools?
Should we re-consider what the default behavior should be?
Maybe the Shapes tools should behave like the Labels tool does? But I'm loath to change something people are likely using and used to (plus my survey of tools I have access to suggests it's the more common behavior.)
Personally I think all 3 Polygon tools should have the same close behavior by default for consistency. And if there is a completion_radius setting it should affect all of them.

I think due to the similarity of behavior it would be best to have the icons consistent with each other. Does anyone have any thoughts there?

Yes; I think the issue is just that the "polygon" icon in Shapes is just a triangle, which is not really very polygonal. Reminds me of this great line in The Humans by Matt Haig, about an alien observing humans, commenting on our architecture: "The lack of geometric imagination was startling. There was not so much as a decagon in sight."[^1] 😂 So I think the lasso icon makes more sense for a polygon — then for lasso we could have a lasso that has vertices. What do you think?

Maybe the completion_radius should be exposed in the Preferences? Then people could tweak based on monitor Rez and how intricate their labels are to be?

Yes, that was always the idea. 👍

Maybe it should accept None or something (infinity!) then the double-click always closes, just like the Shapes tools?

Yes. We could have the setting be a log slider, that starts at one (for the first-person-shooter crowd) maxes out at infinity. Also, the behaviour should be identical between the two layers and the preference should apply to both.

Should we reconsider what the default behavior should be?

Yes, and it should match between the two layers. I like that it should be close but probably the default setting is too close.

Maybe the Shapes tools should behave like the Labels tool does? But I'm loath to change something people are likely using and used to (plus my survey of tools I have access to suggests it's the more common behavior.)
Personally I think all 3 Polygon tools should have the same close behavior by default for consistency. And if there is a completion_radius setting it should affect all of them.

Yes, I agree with all of this. If we change it we should change it with a big release, but only when it's easy for users to set a preference that gets their existing behaviour back. But the two layers should absolutely be harmonised and indeed that should be the case for all the drawing tools, as we discussed when the Polygon tool for Labels was being added.  I do recommend the book. 😂

Discussed this at the community meeting today
https://hackmd.io/BXWDZ3i8Q6OAEASrkaSNIQ#2024-03-13
Ideally both shapes and labels annotations have tools that behave the same way and use\ an intermediate overlay before realizing either the vector shape or raster label. The later would also make it easier to implement multiscale painting as the overlay shape could be rasterized on each multiscale. After all, drawing rectangles or ellipses as labels can be useful too!
I agree the Shapes polygon icon (triangle) could be changed to a more polygon-y icon. I do like the current lasso icon for the functionality...
In the short term, I would use the Shapes polygon tool for the current labels tool functionality, with the change to match default behavior.
Then, the shapes lasso could be ported over to labels, allowing quick and easy auto-filling by just drawing contours. Here potentially spline interpolation would be nice? as noted by @brisvag in the original lasso tool PR.

Ideally in my mind these 3 tools (4 if we imagine having both behaviours for labels as well) should all share the same code paths, with the only difference being the conditions for when a new vertex is added and when the shape is closed (mouse move vs mouse click/double click).
I would even suggest having a single icon/button for the two, and change behaviour depending on some simple interactions (i.e: double click to start or click-and-drag enters the "lasso" mode, while single click creates a normal vertex).

Just for reference: iN QuPath (I support a lot of QuPAth users at JAX) there are two tools (plus, rectangle, ellipse, brush, etc.):

The left one Polygon does vertex by vertex polygons if you click to start, then double-click to finish -- they are always closed. This is identical to the current napari Shapes polygon tool (triangle icon).
If you drag, then you get a free-form polygon that will finish when you release drag -- again always closed. This is identical to the behavior of the Shapes lasso tool, with the exception that you don't need to hold button down, can just click and drag.
The right QuPath button, Polyline, does vertex by vertex lines if you click to start, then double-click to finish -- they are always open. This is identical to the behavior of the napari Path tool.
However, the QuPath Polyline tool also supports free-form annotation if you just drag, that will finish when you release drag -- remains open. SO this is like the napari Shapes Polygon lasso, except it open.
BTW, this free-form line tool is exceptionally useful for pixel annotation for training a classifier, because painting areas tends to generate too many similar samples. Would be worth adding!
So they have the same interactions as our shapes layer, but on 1 tool/icon for open and one for closed, while the vertex vs. freeform behavior gated by the user interaction (clicks vs. drag) essentially as @brisvag was suggesting.

So they have the same interactions as our shapes layer, but on 1 tool/icon for open and one for closed, while the vertex vs. freeform behavior gated by the user interaction (clicks vs. drag)

Note that we created the single-click lasso for important ergonomic reasons, so I don't want this to be the only distinction. If we are running out of icon space (I'm sceptical but open), I suggest doing those little icons-with-a-down arrow, where a right-click or click-and-hold on the icon would let you choose the exact tool you want.

Edit: Note that these tools create "Annotations" which are editable (via vertexes or the brush tool). QuPath can handle up to prolly 1K of those

I find this limitation weird, and probably due to an implementation detail rather than something fundamental? Obviously I'm just speculating here...

Actually, of course we should unify the code not just for the 4 "closed" lasso tools, but also the open Path in shapes. Those work all exactly the same way in practice.

Note that we created the single-click lasso for important ergonomic reasons, so I don't want this to be the only distinction.

I think a simple way to have all of these together is to have:

single click followed by individual clicks makes vertices for a polygon. It can be terminated by either double-clicking, or clicking close enough to the starting vertex
double click followed by mouse move makes a lasso. Terminate by clicking.
click-and-drag makes a lasso. Terminate by mouse release.

I really like the idea of a single icon and all different options as described by @brisvag!
There is one more difference between the lasso tool in the labels layer and the polygon in the shapes layer. The one in the labels layer responds to the right mouse click by removing the last added vertex - it would be great to keep this functionality for both labels and shapes.

@isabela-pf Do you have any ideas for a new polygon icon? How hard is it to make a SVG to add/replace
Specifically to replace the 5th in the 2nd row here, that looks like a triangle?

Here's the file: https://github.com/napari/napari/blob/main/napari/resources/icons/polygon.svg
The triangle doesn't feel very polygon-y 🤣
I posted QuPath ones here https://github.com/napari/napari/issues/6489#issuecomment-1998329191

I've made a PR to address the icons
https://github.com/napari/napari/pull/7019
Here's the new look of the Shapes toolbar:

The same icon is then used for the Labels polygon tool since it shares behavior with the Shapes one (ending behavior ignored for a moment).

Being able to change the minimum distance for completion (or disable it) has revealed that the last point is missing. E.g. it's not possible to make a triangle?

While working on the docs I

Copying my response from the docs update:

One last thing: in working on this PR i noticed that for Shapes, Esc completes, while for Labels Esc cancels and Enter completes. I dunno if we should fix that?

They should certainly be consistent.

Escape to complete is a poor choice IMO.

Although I mostly agree, (a) Enter is awkward to reach if you are using a mouse right-handed, and (b) I just tried out Keynote and Esc completes. So whatever we choose should aim to be consistent with broader software out there. I don't have Photoshop & co to try out. (A lot of early Shapes work was done by @sofroniewn who is very familiar with Illustrator & co, so I suspect Esc to complete is actually reasonably standard.)
The other thing is that cancel is not that important an operation as long as there is undo, or easy deletion. I think at least one of these is true in some form or another for both labels and shapes. But of course we need to improve the discoverability of these things.

Yeah I agree. My concern is that Shapes has been around for a while so people may be using Esc already, so I'm wary of changing, thought I strongly believe double-click is much more natural.
I think with Shapes, if you hit Esc and get a shape, delete is really easy so no biggie to not have Esc cancel.
So maybe we just look into adding Enter to Shapes and leave Esc behavior?

Good news:
the Shapes behavior can be modified by the user:

And so can the Labels:

So maybe this is a nothing burger?

nah, sane defaults are useful, so it's at worst a broccoli burger. 😂

Ok, so are you suggesting just put Enter as the 2nd keybind for Shapes?

I'm going to pull out some outstanding elements:

Shapes

Polygon: no way to remove a vertex like labels (right click)
Polygon: no abort like labels

Labels

Autofill for free-hand annotations, see also: https://github.com/napari/napari/pull/5006 either via brush option or new lasso tool

Optional:

merging button behaviors with either fly-out bars, right clicks, or mouse-click behaviors


bootloop

Hello, I'm trying to add my hisense tv but after adding the requested information, Ha runs in a loop. yet I manage to connect in mqtt via Mqtt explorer.
No information in the logs

Same issue, any updates?

This repo isn't maintained at the moment since I don't have a setup where I could test changes myself.
Feel free to contribute. I'll try to review and merge changes.

Alright, will do if I find a solution.


can not install ros-vosk in ros noetic

I can't seem to find the ros-noetic-ros-vosk package.
Is there anything I've forgotten to do?

You may not be able to install the Debian package directly through ros-noetic-ros-vosk . Try cloning the repository inside the catkin_ws/src folder and then use catkin_make to compile it.

I have installed as suggested by @MrKeith99, and ros_vosk works like a charm!

Any roadmap for ROS 2 support?


Cannot View Any Custom Form Data

We have created a number of Custom Forms to attach or use with Patients, Labs, etc. We have multiple Lab Custom Forms for more detailed, test focused data.  Also there is an expectation that the "always include" flag on a custom form would cause the form flow with the standard form it is attached to.
Actual behavior:
No custom form can be viewed after being saved.  We have been unable to find a way to view any custom form after completed.
Patients:  Created a custom form for more extensive patient history detail.  We can complete the form when adding the patient.  But there is no way to later view the custom form when looking at patient screens.
Labs: A good example is using a custom form to log more specific result details of a blood test.  The lab tech can use a custom form and save it.  Once the lab is completed, there is no way to go back into the lab & thus no way to return to the saved custom form data.
-- Fundamentally, the problem seems to be that there is no provision for viewing any custom form attachment.
Steps to reproduce:
Just create and use a custom form.

https://forums.adobe.com/thread/305250

Does this imply the need to change All standard forms and reports throughout the HR+ package?

Every view of a standard form with a custom form attached needs to be changed to show the custom form data.
- Ex: When viewing the Patient / Imaging history or Patient / Lab history
Every report needs to change to also show any associated custom form data.

It appears to be a large task.

@garylm the changes that @stukalin implemented should resolve this issue. Please verify and close this issue if so.

At least some of them;)