Support CKAN portals hosted in subdirectories

Coverage remained the same at 100.0% when pulling 558f8838f3b141f1b04067fd7b3ba81486654301 on feature-support-ckan-hosted-at-non-root-domain into 0597206bc522a03110f8fe89be111589dcecf6b6 on master.

Coverage remained the same at 100.0% when pulling 558f8838f3b141f1b04067fd7b3ba81486654301 on feature-support-ckan-hosted-at-non-root-domain into 0597206bc522a03110f8fe89be111589dcecf6b6 on master.

Coverage remained the same at 100.0% when pulling 5316e8331033e60f09b08c8337e29a88c1c2c6b2 on feature-support-ckan-hosted-at-non-root-domain into 0597206bc522a03110f8fe89be111589dcecf6b6 on master.

Coverage remained the same at 100.0% when pulling 5316e8331033e60f09b08c8337e29a88c1c2c6b2 on feature-support-ckan-hosted-at-non-root-domain into 0597206bc522a03110f8fe89be111589dcecf6b6 on master.

Coverage remained the same at 100.0% when pulling 5316e8331033e60f09b08c8337e29a88c1c2c6b2 on feature-support-ckan-hosted-at-non-root-domain into 0597206bc522a03110f8fe89be111589dcecf6b6 on master.


[Bug]: W/ConnectivityManager.CallbackHandler(30849): callback not found for CALLBACK_PRECHECK message

Platform
Android
Plugin
connectivity_plus
Version
connectivity_plus: ^3.0.3
Flutter SDK
3.3.10
Steps to reproduce
Hi I try to add Interceptor to my Dio request calls, when I call a request in "No Internet Mode" then I turn on internet. I get this error and my request retry is not working
Code Sample
class DioConnectivityRequestRetry {
  final Dio dio;
  final Connectivity connectivity;

  DioConnectivityRequestRetry(this.dio, this.connectivity);

  Future<Response> scheduleRequestRetry(RequestOptions requestOptions) async {
    StreamSubscription? streamSubscription;
    final responseCompleter = Completer<Response>();
    streamSubscription = connectivity.onConnectivityChanged.listen(
      (connectivityResult) async {
        if (connectivityResult != ConnectivityResult.none) {
          streamSubscription?.cancel();
          responseCompleter.complete(
            dio.request(
              requestOptions.path,
              cancelToken: requestOptions.cancelToken,
              data: requestOptions.data,
              onReceiveProgress: requestOptions.onReceiveProgress,
              onSendProgress: requestOptions.onSendProgress,
              queryParameters: requestOptions.queryParameters,
              options: Options(
                method: requestOptions.method,
                sendTimeout: requestOptions.sendTimeout,
                receiveTimeout: requestOptions.receiveTimeout,
                extra: requestOptions.extra,
                headers: requestOptions.headers,
                responseType: requestOptions.responseType,
                contentType: requestOptions.contentType,
                validateStatus: requestOptions.validateStatus,
                receiveDataWhenStatusError:
                    requestOptions.receiveDataWhenStatusError,
                followRedirects: requestOptions.followRedirects,
                maxRedirects: requestOptions.maxRedirects,
                requestEncoder: requestOptions.requestEncoder,
                responseDecoder: requestOptions.responseDecoder,
                listFormat: requestOptions.listFormat,
              ),
            ),
          );
        }
      },
    );

    return responseCompleter.future;
  }
}

Logs
[+5005 ms] D/OneSignal( 5584): UserStateSynchronizer internalSyncUserState from session call: false jsonBody: null
[+2277 ms] D/DecorView[]( 5584): onWindowFocusChanged hasWindowFocus false
[+1329 ms] D/DecorView[]( 5584): onWindowFocusChanged hasWindowFocus true
[ +893 ms] D/DecorView[]( 5584): getWindowModeFromSystem  windowmode is 1
[        ] D/DecorView[]( 5584): updateDecorCaptionStatus displayWindowDecor is false
[ +872 ms] D/DecorView[]( 5584): onWindowFocusChanged hasWindowFocus false

Flutter Doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.10, on macOS 12.6 21G115 darwin-arm, locale en-MY)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] Android Studio (version 2021.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!

Checklist before submitting a bug

[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I'm using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

are there any updates?
have you found a way to fix it @Bunny1376


Web Portal: adjust minimum retry count of job submission

In #645 , negative retry count is supported in REST server, but not supported in web portal yet.
This PR will add negative retry count support to web portal.
Closes #1016

Coverage decreased (-6.1%) to 78.037% when pulling d1061a891b1585719dd400b1425d959e76ff78ca on qixcheng/web-portal/fix-job-retry-count into 4ba660beeb2508832863736970bec366de82c1d9 on master.


[Github] Added salesChannelId as parameter for facilitated creation of context…

1. Why is this change necessary?
Is usefull passing sales channel Id in multi saleschannel environment
2. What does this change do, exactly?
Add the salesChannelId parameter to get Shopware\Core\Test\Integration\Traits\TestShortHands::getContext method

Imported from Github. Please see: https://github.com/shopware/shopware/pull/4973

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-38758
[created from NEXT-38758, comment 501113]


ldpl -o=t -i=x should not crash

Very short filenames result in the following crash:
(gdb) frame 8
108	                if(0 == arg.compare(arg.length()-5, 5, ".ldpl")||0 == arg.compare(arg.length()-4, 4, ".lsc")){
With this patch, the shortest accepted filenames are ".ldpl" and ".lsc".
For shorter names we will get a cryptic error now:
LDPL Error: filename expected.

I have proposed a new error message in #183

Nice catch, thank you! I'm merging this in right now!
If you want, it would be nice to tell us where you are located so I can add you to the LDPL contributors map!

That was quick! I think that is not enough for a "contributor" title really...

If you want, it would be nice to tell us where you are located so I can add you to the LDPL contributors map!

 Should I pin Frankfurt then?

Yes, Frankfurt is fine, thanks!

Thanks to you!


Tutorial: Add new command 'github'

Completed tutorial 2 of AB3's Developer Guide.
Added a new command github to allow adding of GitHub profile for contacts.

Codecov Report

Merging #3 (5dcf538) into master (510485a) will decrease coverage by 1.73%.
The diff coverage is 42.18%.

@@             Coverage Diff              @@
##             master       #3      +/-   ##
============================================
- Coverage     72.15%   70.41%   -1.74%
- Complexity      399      404       +5
============================================
  Files            70       73       +3
  Lines          1232     1288      +56
  Branches        125      130       +5
============================================
+ Hits            889      907      +18
- Misses          311      347      +36
- Partials         32       34       +2

Impacted Files
Coverage Δ

...eedu/address/logic/commands/GitProfileCommand.java
0.00% <0.00%> (ø)

.../seedu/address/logic/parser/AddressBookParser.java
88.88% <0.00%> (-11.12%)
:arrow_down:

.../address/logic/parser/GitProfileCommandParser.java
0.00% <0.00%> (ø)

...in/java/seedu/address/logic/parser/ParserUtil.java
85.36% <0.00%> (-11.86%)
:arrow_down:

.../java/seedu/address/model/util/SampleDataUtil.java
20.00% <ø> (ø)

src/main/java/seedu/address/ui/PersonCard.java
0.00% <0.00%> (ø)

...c/main/java/seedu/address/model/person/Github.java
70.00% <70.00%> (ø)

.../java/seedu/address/storage/JsonAdaptedPerson.java
96.07% <77.77%> (-3.93%)
:arrow_down:

...java/seedu/address/logic/commands/EditCommand.java
97.05% <100.00%> (+0.04%)
:arrow_up:

...a/seedu/address/logic/parser/AddCommandParser.java
100.00% <100.00%> (ø)

... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 510485a...5dcf538. Read the comment docs.


Add license

Website says "Use the code in any way."  Add a license file to the repository to make your intention clear.
Thank you for creating and making your source available.

Use any way you like is most similar to MIT license. You’ll reserve just one right, others must attribute the work. (Can’t just change author name).

Just added MIT, thanks!


Feedback form

I would like to create a new page for feedback in which users can give feedback.

Something like this.

this issue was complete before, so i am closing this issue


Use synchronize instead of ansible fetch

This fixes MemoryError errors encountered when transferring large files from the remote EC2 instances.
https://stackoverflow.com/questions/41367278/how-to-fix-memory-error-in-ansible

tested locally works as expected for a regular small load test. Thanks for adding this feature @ryanemerson


ActiveRecord spec disaster

I cannot get a single ActiveRecord test to succeed.  I've had no luck either on my mac or on a vanilla ubuntu server install.  Ruby 1.9.3 or 2.0.0.  Its always the same.  Looks like each test locks up, probably a fiber gets stuck, and mysql times out.  Under what circumstances are people getting these tests to succeed?
running
rspec spec/activerecord_spec.rb
1) Fiberized ActiveRecord driver for mysql2 should establish AR connection
   Failure/Error: EventMachine.synchrony do
   ActiveRecord::StatementInvalid:
     Mysql2::Error: Lock wait timeout exceeded; try restarting transaction: DELETE FROM `widgets`
   # /home/ubuntu/.rvm/gems/ruby-2.0.0-p195/gems/em-synchrony-1.0.3/lib/em-synchrony/mysql2.rb:14:in `async_result'
   # /home/ubuntu/.rvm/gems/ruby-2.0.0-p195/gems/em-synchrony-1.0.3/lib/em-synchrony/mysql2.rb:14:in `notify_readable'
   # /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/bundler/gems/eventmachine-dd675e4d0617/lib/eventmachine.rb:187:in `run_machine'
   # /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/bundler/gems/eventmachine-dd675e4d0617/lib/eventmachine.rb:187:in `run'
   # /home/ubuntu/.rvm/gems/ruby-2.0.0-p195/gems/em-synchrony-1.0.3/lib/em-synchrony.rb:38:in `synchrony'
   # /home/ubuntu/.rvm/gems/ruby-2.0.0-p195/gems/em-synchrony-1.0.3/spec/activerecord_spec.rb:30:in `block (2 levels) in <top (required)>'
   # /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:114:in `instance_eval'
   # /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:114:in `block in run'
   # /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:254:in `with_around_each_hooks'
   # /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:111:in `run'
   # /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:390:in `block in run_examples'
   # /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:386:in `map'
   # /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:386:in `run_examples'
   # /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:371:in `run'
   # /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
   # /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:28:in `map'
   # /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:28:in `block in run'
   # /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:34:in `report'
   # /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:25:in `run'
   # /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:80:in `run'
   # /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:17:in `block in autorun'

How are you running the specs? I can see em-synchrony-1.0.3 in the gems directory in your backtrace, which is not a good sign.
With #192, and with the expected user/database/table created, all ActiveRecord specs run successfully here.

To run:
git clone git@github.com:dgutov/em-synchrony.git
cd em-synchrony
git checkout fix_specs_launch
bundle install
# Set up access to your MySQL and create the database/table/user
bundle exec rspec

How are you running the specs? I can see em-synchrony-1.0.3 in the gems directory in your backtrace, which is not a good sign.
Probably because that post is almost two years old >:-)

No. Why is the gem being loaded from the gems dir?

I don't understand what you are getting at.  Are you saying a gem shouldn't be in the gems dir?
I haven't run this thing a couple years, I'm not sure if this fixed itself or not.

Did you run the specs from /gems/em-synchrony-1.0.3/spec/? That's peculiar, to say the least. Did you at least call bundle exec rspec?
If you clone the repository and run specs from there, that will use the gem sources from the current directory subtree.

I haven't run this thing a couple years

It's fairly easy to set up and run.

Also, I'm not really familiar with RVM, but it seems like the backtrace shows that gems from different versions of Ruby are used. That's also very weird.


how to set default zoom to 0.6 ?

hi sir,i want to set the default zoom to 0.6 .

Try:
 const editor = new Drawflow(id);
    editor.zoom = 0.6;
    editor.start();
    editor.zoom_refresh();

thank you so much sir , it worked


Latvian translation

Thank you again, @erik-ropez :-)
Jut so you know - I've merged this one into the dev branch and it will be available to everyone in the next point update (later this week).
Cheers!


Chef 14.4.0 requires double quotes around command for scheduled task

Signed-off-by: Stuart Preston<EMAIL_ADDRESS>Description
Chef 14.4.56 "fixed" the windows_task resource in way that requires consumers to be use double quotes to surround the command arguments for any scheduled task that needed creating.  The existing chef-client cookbook used single quotes (which was required in the case of Chef 13.7 up to 14.3).  This PR checks the version of Chef and passes in the appropriately styled command property.  The tests have not changed, we've just added code to solve the problem if Chef 14.4 upwards is being used.
We also included changes to the kitchen configuration to test the "latest" Chef 13 and the "latest" Chef 14 version in the stable channel at the time of testing so that we can catch these earlier.
Before change
       Downloading files from <task-windows-2012r2-14>
       Finished converging <task-windows-2012r2-14> (1m44.38s).
-----> Setting up <task-windows-2012r2-14>...
       Finished setting up <task-windows-2012r2-14> (0m0.00s).
-----> Verifying <task-windows-2012r2-14>...
       Loaded tests from {:path=>"C:.projects.chef-cookbooks.chef-client.test.integration.task"}

Profile: tests from {:path=>"C:/projects/chef-cookbooks/chef-client/test/integration/task"} (tests from {:path=>"C:.projects.chef-cookbooks.chef-client.test.integration.task"})
Version: (not specified)
Target:  winrm://vagrant@http://<IP_ADDRESS>:5985/wsman:3389

  Command: `C:/opscode/chef/embedded/bin/ohai virtualization -c C:/chef/client.rb`
     [PASS]  exit_status should eq 0
  File C:/chef/client.rb
     [PASS]  content should match /ohai.disabled_plugins = \["Mdadm"\]/
     [PASS]  content should match /ohai.plugin_path << "\/tmp\/kitchen\/ohai\/plugins"/
  Windows Task 'chef-client'
     [PASS]  should be enabled
     [PASS]  run_as_user should eq "SYSTEM"
     [FAIL]  task_to_run should match "cmd /c C:/opscode/chef/bin/chef-client -L C:/chef/log/client.log -c C:/chef/client.rb -s 300"
     expected "cmd /c 'C:/opscode/chef/bin/chef-client -L C:/chef/log/client.log -c C:/chef/client.rb -s 300'" to match "cmd /c C:/opscode/chef/bin/chef-client -L C:/chef/log/client.log -c C:/chef/client.rb -s 300"

Test Summary: 5 successful, 1 failure, 0 skipped

After change
       Downloading files from <task-windows-2012r2-14>
       Finished converging <task-windows-2012r2-14> (1m51.86s).
-----> Setting up <task-windows-2012r2-14>...
       Finished setting up <task-windows-2012r2-14> (0m0.00s).
-----> Verifying <task-windows-2012r2-14>...
       Loaded tests from {:path=>"C:.projects.chef-cookbooks.chef-client.test.integration.task"}

Profile: tests from {:path=>"C:/projects/chef-cookbooks/chef-client/test/integration/task"} (tests from {:path=>"C:.projects.chef-cookbooks.chef-client.test.integration.task"})
Version: (not specified)
Target:  winrm://vagrant@http://<IP_ADDRESS>:5985/wsman:3389

  Command: `C:/opscode/chef/embedded/bin/ohai virtualization -c C:/chef/client.rb`
     [PASS]  exit_status should eq 0
  File C:/chef/client.rb
     [PASS]  content should match /ohai.disabled_plugins = \["Mdadm"\]/
     [PASS]  content should match /ohai.plugin_path << "\/tmp\/kitchen\/ohai\/plugins"/
  Windows Task 'chef-client'
     [PASS]  should be enabled
     [PASS]  run_as_user should eq "SYSTEM"
     [PASS]  task_to_run should match "cmd /c C:/opscode/chef/bin/chef-client -L C:/chef/log/client.log -c C:/chef/client.rb -s 300"

Test Summary: 6 successful, 0 failures, 0 skipped
       Finished verifying <task-windows-2012r2-14> (0m3.66s).

Issues Resolved
Fixes #583
Check List

[x] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[x] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Released as 11.0.1

thanks


Fix all contributors badge in README

Nevermind, I read up on how to change the template. Will re-open with a config change.


Change the GPT-J example configure setting

Signed-off-by: Cheng, Penghui<EMAIL_ADDRESS>Type of Change
Change GPT-J example configure setting
No API changed
Description
Change GPT-J example configure setting
Expected Behavior & Potential Risk
example run successfully
How has this PR been tested?
Local test

extension test: https://inteltf-jenk.sh.intel.com/job/intel-lpot-validation-top-mr-extension/3894/

extension test: https://inteltf-jenk.sh.intel.com/job/intel-lpot-validation-top-mr-extension/3904/


Rename RootHash to Commitment based on ZIP-244

Motivation
The goal of this PR is to make progress on the outstanding cleanups on the block commitment field from #881.
In ZIP-244, the root hash field is renamed to block commitment. This name is more generic, and will probably stay the same going forward.
Solution
Interactive replace using:
fastmod RootHash Commitment
fastmod root_hash commitment
fastmod root_bytes commitment_bytes
git mv zebra-chain/src/block/root_hash.rs zebra-chain/src/block/commitment.rs

All replacements were accepted.
Review
@dconnolly or @oxarbitrage just a quick search and replace PR that's blocking other issues.
Related Issues
Implements part of #1874 and #881, but doesn't finish either of them.
Follow Up Work
Finish #881
Do design for #1874

A thought: in (sapling|orchard)::commitments, because there are several (Note, Value), they are explicitly named as such, even if it's a little redundant based on module paths and context, etc. Would naming this BlockCommitment work? Or is that possibly a less accurate name than just Commitment. Hm.

I had expected we would use it like Height and Hash:
use path::to::block;

const commitment: block::Commitment = Default::default();

I had expected we would use Commitment like Height and Hash:
use path::to::block;

const commitment: block::Commitment = Default::default();

OK yeah, sounds good. ✅


Fix template warnings during build

Fixes #2893
Checking the JSON schema and the templates doc these properties seem to be required in the files.
Microsoft Reviewers: Open in CodeFlow

I don't know anything about the warnings this fixes I'm sorry. @phenning @sayedihashimi can you review this change please?

/azp run

/azp run

I don't know anything about the warnings this fixes I'm sorry. @phenning @sayedihashimi can you review this change please?

I'm not sure about the warnings either, what was getting warnings? The lack of entries in the localization files?  @joeloff  I'm not sure how the loc infrastructure works here, is it necessary to seed all the non-enu files, or should only the en-us be modified with the text from the template.json?

I don't know anything about the warnings this fixes I'm sorry. @phenning @sayedihashimi can you review this change please?

I'm not sure about the warnings either, what was getting warnings? The lack of entries in the localization files? @joeloff I'm not sure how the loc infrastructure works here, is it necessary to seed all the non-enu files, or should only the en-us be modified with the text from the template.json?

Don't think it needs to have it, but the localization infrastructure often copies new ENU values for all the locales and then vendors would eventually pick those up for translation

/azp run

Added documentation on how localization works (there is a bot) so we just need to provide the english entries as the source.
@phenning the warnings are as such
.../Microsoft.TemplateEngine.Authoring.Tasks.targets(17,5): Template configuration message MV008: Missing 'generatorVersions'. [/Users/ankj/dev/aspire/src/Aspire.ProjectTemplates/Aspire.ProjectTemplates.csproj]
.../Microsoft.TemplateEngine.Authoring.Tasks.targets(17,5): Template configuration message MV011: One or more postActions have a malformed or missing manualInstructions value. [/Users/ankj/dev/aspire/src/Aspire.ProjectTemplates/Aspire.ProjectTemplates.csproj]


Make is_staff true when a user is Staff Admin

Fixes #3782. Rather than having is_staff set to true when a user's email is the org's domain, this sets it true when a user is Staff Admin or a Superuser. Also includes a migration to handle existing cases where Staff Admins are not is_staff.
Test Steps

[ ] As a Staff Admin, navigate to a submission
[ ] Ensure there is a View message log button on the right hand side of the submission tabs
[ ] Ensure clicking View message log brings up the Django Admin message log
[ ] Create a new account with the role of Staff Admin, become this user and repeat steps 2 & 3
[ ] Edit an existing account to add the role of Staff Admin, become this user and repeat steps 2 & 3

I was originally trying to add an is_staffproperty to User that was intended to overwrite the AbstractUser attribute which worked fine for existing users, but I ran into issues when a new user was created as is_staff was null in the database which violated rules.
This seemed like a more elegant solution but @theskumar let me know if this conflicts with your plans for permissions.

Rebase and then we can put on test.

sounds good! should be ready then.


Drop support for stdio and pipes function-sidecar protocols

All invokers now support grpc. We can standardize on grpc as the sidecar-invoker protocol with http as a fallback.
The default protocol for python in the riff-cli is now grpc.

LGTM


Guest account unable to log in using AADLoginForLinux

When a guest account attempts to log into a Linux VM with the AADLoginForLinux extension installed, the user is prompted to authenticate via the browser. Once authenticated, the SSH connection is closed and simply reports Connection closed.
Looking at the serial console in the Azure portal, when the login attempt was made, the system reported the error: User not known to the underlying authentication module.
When an account which is a Member in the same Azure AD tenant attempts to login to the same machine, the authentication and login succeeds without error.
Should guest accounts be able to authenticate and login, or is the use of the AADLoginForLinux extension restricted to member accounts only?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: bb8e2623-1f79-aee3-bd97-8b5f647b6980
Version Independent ID: 6346b54d-cc8d-0b79-a6b8-f9144cfa2459
Content: Log in to a Linux VM with Azure Active Directory credentials - Azure Virtual Machines
Content Source: articles/virtual-machines/linux/login-using-aad.md
Service: virtual-machines-linux
GitHub Login: @SanDeo-MSFT
Microsoft Alias: sandeo

@jamesbannan
Thanks for your Question! We are currently investigating and will get back on this.

@jamesbannan Apologies for all the delay in response and all the inconvenience this issue has caused you.
I did shared your feedback earlier with our Product Group. The document was last updated in November. I did the repro as mentioned in the documentation and was successfully able to login to Azure VM once I assign Virtual Machine User Role or Admin role to either Guest user or the local user of the directory.
The feature is still in preview and hence is not recommended for production environment considering few features might not work as expected right now and might cause issue in your prod environment but rest assured I was successfully able to login with guest user as well.
You can also test same in your test environment as well.
Hope the provided information is helpful.
We will now close this issue. If there are further questions regarding this, please tag me in a comment. I will reopen it and we will continue the discussion.


[tests/callbacks] refactor with BoringModel

What does this PR do?

Part of #4501
New of #4517
Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together? Otherwise, we ask you to create a separate PR for every change.
[ ] Did you make sure to update the documentation with your changes?
[x] Did you write any new necessary tests?
[x] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified; Bugfixes should be including in bug-fix release milestones (m.f.X) and features should be included in (m.X.b) releases.

Did you have fun?
Make sure you had fun coding 🙃

just a suggestion:
here we check which hooks are called when we do trainer.fit and trainer.test, should we add tests to check which hooks shouldn't be called? for eg: on_pretrain_routine_start and on_pretrain_routine_end are called when doing trainer.test(), which I assume is incorrect.

@ydcjeff updating the base to release/1.2-dev. pls rebase it.

@ydcjeff updating the base to release/1.2-dev. pls rebase it.

Okay, I messed up with merge master and rebase release/1.2-dev. will create a new one.

Okay, I messed up with merge master and rebase release/1.2-dev. will create a new one.

I recommend using --onto option when rebasing, or at least I remember that worked when I last had to do it :)

I recommend using --onto option when rebasing, or at least I remember that worked when I last had to do it :)

I recommend using --onto option when rebasing, or at least I remember that worked when I last had to do it :)

yes, but looking to the commit history here, the changes are already inside his commits...

I recommend using --onto option when rebasing, or at least I remember that worked when I last had to do it :)

yes, but looking to the commit history here, the changes are already inside his commits...


add unit testing for report util methods.

Just throwing in some tests while I poke around the codebase.
A couple items marked with TODOs that probably need a closer eye from someone more familiar with the usages:

we accept a pointer in SetReportCondition but don't account for nils by either throwing an error or returning.  I added a return but that may be just hiding a programming error - your call.

we accept a pointer in RemoveReportCondition but don't account for nils by either throwing an error or returning.  I added a return but that may be just hiding a programming error - your call.

we don't consider a change in message a change in SetReportCondition.  Not sure if that's on purpose or not.

/retest

You touched it first so.....
/assign @bentito
:smile:

/lgtm

/hold
hold for throwing the error instead of check and return

updated to throw errors and pass them along in the calling methods
/hold cancel

infra errors
error: failed to load configuration: response from configresolver == 504 (Gateway Timeout)

/retest

/retest

/retest

/retest

/retest

May not be related to the test timeout failures (?) but there seems to be a lot of failures in the log in the Prometheus importer along the lines of many-to-many matching not allowed: matching labels must be unique on one side:
time="2020-07-29T02:20:46Z" level=error msg="error collecting metrics" app=metering chunkSize=5m0s component=PrometheusImporter endTime="2020-07-29 02:20:45.998682502 +0000 UTC" error="failed to perform Prometheus query: execution: found duplicate series for the match group {namespace=\"metering-hdfs-olm-upgrade\", persistentvolumeclaim=\"hive-metastore-db-data\"} on the right hand-side of the operation: [{namespace=\"metering-hdfs-olm-upgrade\", persistentvolumeclaim=\"hive-metastore-db-data\", storageclass=\"gp2\", volumename=\"pvc-dd80e4ad-6864-408c-babd-2e82f268f948\"}, {namespace=\"metering-hdfs-olm-upgrade\", persistentvolumeclaim=\"hive-metastore-db-data\", storageclass=\"gp2\"}];many-to-many matching not allowed: matching labels must be unique on one side" logID=oyKHpHbpoN namespace=metering-hdfs-olm-upgrade reportDataSource=persistentvolumeclaim-request-bytes startTime="2020-07-29 02:05:45.998682502 +0000 UTC" stepSize=1m0s tableName=hive.metering.datasource_metering_hdfs_olm_upgrade_persistentvolumeclaim_request_bytes

time="2020-07-29T02:20:46Z" level=debug msg="PrometheusImporter ImportFromLastTimestamp finished" app=metering chunkSize=5m0s component=PrometheusImporter logID=oyKHpHbpoN namespace=metering-hdfs-olm-upgrade reportDataSource=persistentvolumeclaim-request-bytes stepSize=1m0s tableName=hive.metering.datasource_metering_hdfs_olm_upgrade_persistentvolumeclaim_request_bytes

time="2020-07-29T02:20:46Z" level=error msg="error syncing ReportDataSource \"metering-hdfs-olm-upgrade/persistentvolumeclaim-request-bytes\", adding back to queue" ReportDataSource=metering-hdfs-olm-upgrade/persistentvolumeclaim-request-bytes app=metering component=reportDataSourceWorker error="ImportFromLastTimestamp errored: failed to perform Prometheus query: execution: found duplicate series for the match group {namespace=\"metering-hdfs-olm-upgrade\", persistentvolumeclaim=\"hive-metastore-db-data\"} on the right hand-side of the operation: [{namespace=\"metering-hdfs-olm-upgrade\", persistentvolumeclaim=\"hive-metastore-db-data\", storageclass=\"gp2\", volumename=\"pvc-dd80e4ad-6864-408c-babd-2e82f268f948\"}, {namespace=\"metering-hdfs-olm-upgrade\", persistentvolumeclaim=\"hive-metastore-db-data\", storageclass=\"gp2\"}];many-to-many matching not allowed: matching labels must be unique on one side" logID=BlsYESR0bo

@pweil- yeah that's what is causing the test timeout failures as the test we're running expects to have at least one row of data that gets populated from metrics we pull from Prometheus. The problem is that we're getting many-to-many errors on the PVC-related metrics every time we query Prometheus, which results in no data being populated in those tables. I was looking into ignoring those types of errors, but I can't seem to find a clean way of doing something like this:
t.Run(...) {
  ...
}
if t.Failed() && strings.Contains(t.Stdout, "timed out waiting for the condition") {
  t.Logf("Test failed due to known problem, see BZ: ...")
  t.SkipNow()
}

The problem seems that there's no way to grab the stdout or stderr from a failed report (on the testing or testify Golang packages) and t.SkipNow() will still result in a failed test despite marking that test as skipped.

Right, that was broached upstream a while ago and rejected as part of the api (skipping an already run and failed test).  We'd need to prevent the error, wait for the right data, or be able to detect it and skip before test failures occur.
Sounds like you may already have a BZ filed anyway.  Thanks for the retests!

/override ci/prow/metering-e2e-aws


remove trailing slash from base URLs on readthedocs.io

on a recent MNE-Python doc build I see that trailing slashes in the base URL are causing redirection warnings:
intersphinx inventory has moved: https://pybv.readthedocs.io/en/latest//objects.inv -> https://pybv.readthedocs.io/en/latest/objects.inv

intersphinx inventory has moved: https://imageio.readthedocs.io/en/stable//objects.inv -> https://imageio.readthedocs.io/en/stable/objects.inv

intersphinx inventory has moved: https://joblib.readthedocs.io/en/latest//objects.inv -> https://joblib.readthedocs.io/en/latest/objects.inv

intersphinx inventory has moved: https://numba.readthedocs.io/en/latest//objects.inv -> https://numba.readthedocs.io/en/latest/objects.inv

intersphinx inventory has moved: https://patsy.readthedocs.io/en/latest//objects.inv -> https://patsy.readthedocs.io/en/latest/objects.inv

intersphinx inventory has moved: https://pyqtgraph.readthedocs.io/en/latest//objects.inv -> https://pyqtgraph.readthedocs.io/en/latest/objects.inv

I'm assuming it affects all inventories stored on readthedocs.io so I've changed all of them, not just the ones MNE uses. Should reduce noise in everyone's logs.

thanks.


Test.py exit code accurate in all cases (RIPD-1193):

Also remove some redundant output.

[Current coverage][cc-pull] is 69.76%

Merging [#1752][cc-pull] into [develop][cc-base-branch] will increase coverage by 0.35%

@@            develop      #1752   diff @@
==========================================
  Files           856        857      +1
  Lines         62543      67573   +5030
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          43411      47141   +3730
- Misses        19132      20432   +1300
  Partials          0          0

[][cc-pull]

Powered by Codecov. Last updated by [5dd8f28...662cbe3][cc-compare]
[cc-base-branch]: https://codecov.io/gh/ripple/rippled/branch/develop?src=pr
[cc-compare]: https://codecov.io/gh/ripple/rippled/compare/5dd8f282905c70d92790fde3f1d384e43c925ff3...662cbe3b873fe56a7525bafe903169bc2f2976a0
[cc-pull]: https://codecov.io/gh/ripple/rippled/pull/1752?src=pr

:+1: Looks good to me.

:+1:


🐛 [firebase_storage] Hot Restart leads to fatal crash when open reference (iOS)

Bug report
Cannot connect to emulator after Storage SDK initialization. Call useEmulator(host:port:) before creating a Storage reference or trying to load data.: file FirebaseStorage/Storage.swift, line 247
Lost connection to device.
Steps to reproduce
Steps to reproduce the behavior:

Run Flutter App with firebase_storage on iOS.

await FirebaseStorage.instance.useStorageEmulator(<host>, <port>);

final ref = FirebaseStorage.instance.ref(<path>);
await ref.putData(<data>);

Hot Restart

Hint:
Without putData call it works.

@jtdLab
Can you provide plugin version you are using ? Also, can you provide the complete error log ?

pub: firebase_storage: ^11.4.1
pod:   - Firebase/Storage (10.16.0):

Thanks for the update @jtdLab
I am unable to replicate it using the plugin example and using the code snippet you shared earlier, running on iOS. Can you take a look at it and check if using the plugin example at your end, gives same error or not ?

@darshankawar I reproduced it on plugin example from master.
The steps are:

click on "+" -> "Upload string"
perform hot restart (capital R in the terminal)

Log:
Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

A Dart VM Service on iPhone 14 Pro Max is available at: http://<IP_ADDRESS>:54561/C7niK84c0DE=/
The Flutter DevTools debugger and profiler on iPhone 14 Pro Max is available at:
http://<IP_ADDRESS>:9101?uri=http://<IP_ADDRESS>:54561/C7niK84c0DE=/

Performing hot restart...
Restarted application in 588ms.
FirebaseStorage/Storage.swift:247: Fatal error: Cannot connect to emulator after Storage SDK initialization. Call useEmulator(host:port:) before creating a Storage reference or trying to load data.
Lost connection to device.

flutter --version
Flutter 3.13.9 • channel stable • https://github.com/flutter/flutter.git
Framework • revision d211f42860 (2 weeks ago) • 2023-10-25 13:42:25 -0700
Engine • revision 0545f8705d
Tools • Dart 3.1.5 • DevTools 2.25.0

Thanks for the update @khamutov
Using the details provided, I was able to replicate the reported error.
/cc @russellwheatley

Thanks for reporting, I have reproduced. I will take a look 👌

I have a fix, will be out in the next release. Thank you for your patience 🙏

@russellwheatley It works, thanks for prompt solving the issue 🎉! firebase_storage 11.5.1 has no issues with hot restart. 🙏


SpatialUnderstandingCursor is hidden behind UI elements

The cursor in the SpatialUnderstandingExample disappears behind UI elements if it gets slightly rotated. For example if you look at the UI canvas in a 90° angle the cursor is displayed properly but after rotating
the camera towards the edges, the cursor will disappears behind the canvas after a few degress.
Visible:

Disappears at this point:

Edge of the frame:

In this case it's enough to up the DistanceFromCollision of the cursor from 0.01 to ~0.08 to work around it but this doesn't really fix the underlying issue. This also only works because the UI is always facing the camera so the set of angles will always be the same.

Most likely a symptom of the last bug you reported.

Nah there is some some flickering in the cursor caused by the other bug otherwise it's something else. I also tested this with a commit that is before the merge of the pull request that caused the other.
This is an issue about the z-index of the 2D UI elements in combination with the 3D cursor. I didn't include the scene view from the editor but in that one the cursor appears to be in front of the UI elements and not behind because the draw order is different from that view.
In the game view the cursor gets drawn first and because it ends up having the same z-index it gets overdrawn by the UI elements. At least that's how I understood it so far.

Scene view is showing the cursor:

Game view:

Thanks for clarifying

A solution for this could be to introduce a sorting layer for UI elements. When the cursor is focused on an UI object it could be assigned to that layer and have it be always be rendered above all UI elements.
The reason to dynamically change the layers is that when the raycast passes through the UI and hits a wall behind it, it will still appear to be infront of the UI. So to make it appear behind the UI the sorting layer would have to be change depending on what is being hit.

I looked at the issue again and found out that changing the render queue on the cursor material fixes it too. Both the cursor and the UI material have a render queue value of 3000. Changing the cursor queue to 3001 fixes it.
Is there a reason the values are at 2000, 3000 and so on?
Like would I change it to 3500/4000 or is 3001 fine too.

I'd use the mesh cursor instead of the UI cursor then.  Let me know the results.

If you are using a canvas based cursor you could simply adjust the "Order in Layer" option on the canvas itself.
This is a much preferred option compared to fiddling around with render queue options on the shaders.
What you are seing is propably a z-fighting issue between the two canvas instances. This solution will solve that permanently.

This was actually caused by custom raycast logic that needed to accommodate for the spatial mapping mesh.  Now correctly uses gaze manager result.


Make Fresco citable

With Zenodo, it's possible to create a DOI for specific releases of Github code. It would be useful to create this for Fresco, so that it can be properly cited in articles.

Solved (https://zenodo.org/record/3360613)


Upload data also when CO2 changed by 5%, independent of time elapsed

Seems reasonable.

Seems reasonable.


Query: lobed nucleus

Hello,
This arises from #20643
@ValWood asked to put a taxon constraint on GO:0098537 lobed nucleus, which is defined as "Nucleus with two or more lobes connected by a thin filament that contains no internal chromatin. Examples include the nuclei of mature basophils, eosinophils and neutrophils in mice and humans. ", so I was thinking to add a subclass or a logical definition 'part of' some 'leukocyte'
Current LD is
intersection_of: GO:0005634 ! nucleus
intersection_of: bearer_of PATO:0001979 ! lobed
@cmungall Is this correct ?
All uses of 'bearer_of' are a bit odd and should be reviewed.
Thanks, Pascale

Note that this term is used by CL:0000043 and CL:0000096.

Didn't notice an obsoletion notice.  Was there an email?
This obsoletion is causing problems for the CL release.   Does it do any harm to keep some CC classes defined by morphology?  They can be very useful for defining cell types.

There was an email to go-friends on 9 March 2021
and it was announced in the announcements repo - https://github.com/geneontology/go-announcements/issues/203
I'll put this on the editors discussion, but meanwhile, can you use PATO in CL to describe this, as it was described in GO, ie
intersection_of: GO:0005634 ! nucleus
intersection_of: bearer_of PATO:0001979 ! lobed
?
Thanks, Pascale

@pgaudet's proposed fix was added as a PR 6 days ago https://github.com/obophenotype/cell-ontology/pull/1131/, I approved this, so I think there is no longer an immediate issue
Note I am skeptical of the correctness of the CL logical definition and of the utility attempting to capture this morphology in OWL, but that's another matter.
Given the tight intercoupling of GO, CL, and Uberon we should be more cautious with obsoletions in future. GO followed the current SOP by using the announcements repo. However, CL has far fewer curator resources than GO and no one is currently assigned the task of monitoring the repo, opening Protege every time there is a notice, and manually checking the usage tab for every single term.
I opened a new ticket to make the script that GO and others can use to improve their obsoletion SOP:
https://github.com/geneontology/go-ontology/issues/21723


Cleaned pubmedScore, and added a test for it

Made pubmed_query a def, separated it from database queries
Since NCBI's pubmed structure has changed recently, Entrez.parse broke. Changed it to Entrez.read accordingly. Note that Entrez.read returns a dictionary, not an iterable anymore, so def peek() was removed.
Removed some redundant defs
Added test cases for pubmed_query and pubmed
Added a commons folder to accommodate common settings for pre_analyses, such as filters.json

Hi Jing,
I'm seeing this error:
======================================================================
ERROR: tests.test_pubmedScore (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_pubmedScore
Traceback (most recent call last):
  File "/home/travis/miniconda/envs/test-environment/lib/python2.7/unittest/loader.py", line 254, in _find_tests
    module = self._get_module_from_name(name)
  File "/home/travis/miniconda/envs/test-environment/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name
    __import__(name)
  File "/home/travis/build/pontikos/phenopolis/tests/test_pubmedScore.py", line 5, in <module>
    import pubmedScore
ImportError: No module named pubmedScore
----------------------------------------------------------------------
Ran 3 tests in 0.254s
FAILED (errors=1)
The command "python -m unittest discover" exited with 1.

I'll merge the pull request but we need to fix this.
Thanks,
Niko.

yes, saw it. didn’t give the right path to find the module

On 20 Jan 2017, at 13:55, Nikolas Pontikos<EMAIL_ADDRESS>wrote:
Hi Jing,
I'm seeing this error:
======================================================================
ERROR: tests.test_pubmedScore (unittest.loader.ModuleImportFailure)
ImportError: Failed to import test module: tests.test_pubmedScore
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/unittest/loader.py", line 254, in _find_tests
module = self._get_module_from_name(name)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name
import(name)
File "/home/travis/build/pontikos/phenopolis/tests/test_pubmedScore.py", line 5, in
import pubmedScore
ImportError: No module named pubmedScore
Ran 3 tests in 0.254s
FAILED (errors=1)
The command "python -m unittest discover" exited with 1.
I'll merge the pull request but we need to fix this.
Thanks,
Niko.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/pontikos/phenopolis/pull/22#issuecomment-274077373, or mute the thread https://github.com/notifications/unsubscribe-auth/AFzw0njpdp9AfI2aeThKZLaPhOqEAOQAks5rULzpgaJpZM4LpPks.

fixed

On 20 Jan 2017, at 13:58, Jing Yu<EMAIL_ADDRESS>wrote:
yes, saw it. didn’t give the right path to find the module

On 20 Jan 2017, at 13:55, Nikolas Pontikos<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
Hi Jing,
I'm seeing this error:
======================================================================
ERROR: tests.test_pubmedScore (unittest.loader.ModuleImportFailure)
ImportError: Failed to import test module: tests.test_pubmedScore
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/unittest/loader.py", line 254, in _find_tests
module = self._get_module_from_name(name)
File "/home/travis/miniconda/envs/test-environment/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name
import(name)
File "/home/travis/build/pontikos/phenopolis/tests/test_pubmedScore.py", line 5, in
import pubmedScore
ImportError: No module named pubmedScore
Ran 3 tests in 0.254s
FAILED (errors=1)
The command "python -m unittest discover" exited with 1.
I'll merge the pull request but we need to fix this.
Thanks,
Niko.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/pontikos/phenopolis/pull/22#issuecomment-274077373, or mute the thread https://github.com/notifications/unsubscribe-auth/AFzw0njpdp9AfI2aeThKZLaPhOqEAOQAks5rULzpgaJpZM4LpPks.


Getting 403 Response

I ran this code, and I think pi.ai changed something, i'm getting a 403 response.  I think getting a session and cookie mechanism has changed.
I also converted the code to python if anyone is interested.

Hello,
The example script still works fine on my end. Are you behind a proxy or something?


Building a package results in an error.

When building this package, it gives the below error.
Traceback (most recent call last):
  File "setup.py", line 5, in <module>
    from pip.req import parse_requirements
ModuleNotFoundError: No module named 'pip.req'

This is related to https://github.com/pypa/pip/issues/4696
An option would be to not try to read the requirements.txt file but just copy it's contents into install_requires in setup.py

Interesting. Worked fine for me. What pip version did you use? I just tried on a centos machine with an older pip (9.0.1) and it seems to work fine there.

Upgrade your pip version to the latest version, and you'll see it explodes.


[ISSUE #7680] Bump guava version from 31.1-jre to 32.0.1-jre

Which Issue(s) This PR Fixes

Fixes #7680
Brief Description
Bump guava version from 31.1-jre to 32.0.1-jre

How Did You Test This Change?

Codecov Report
Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (71a7a65) 43.17% compared to head (95c3f5c) 43.14%.
Report is 5 commits behind head on develop.

Files
Patch %
Lines

...main/java/org/apache/rocketmq/store/CommitLog.java
25.00%
5 Missing and 1 partial :warning:

...lient/impl/consumer/DefaultMQPushConsumerImpl.java
40.00%
3 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #7681      +/-   ##
=============================================
- Coverage      43.17%   43.14%   -0.04%
- Complexity      9797     9801       +4
=============================================
  Files           1165     1165
  Lines          84477    84482       +5
  Branches       10966    10968       +2
=============================================
- Hits           36474    36447      -27
- Misses         43473    43514      +41
+ Partials        4530     4521       -9

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Submit into main helm repository

Curious if the author of this script has thought about adding it into the main helm chart repository at https://github.com/helm/charts ... It would make it more discoverable, as we looked through that repository to see if something was available, when it was not, a google search brought us here.
Just my $0.02 on the subject.  YMMV and all the other good fodder that comes along with a question like this.
Thanks.

Thanks for your attention. We plan to add this project to the chart repository of helm


how to use the  'args[n]'

hello!
my yml file is following.
# ~/.tmuxinator/coding.yml

name: coding
root: ~/<%= @args[0] %>

# Optional tmux socket
# socket_name: foo

# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start

# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247

# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf

# Change the command to call tmux.  This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu

# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
# startup_window: logs

# Controls whether the tmux session should be attached to automatically. Defaults to true.
# attach: false

# Runs after everything. Use it to attach to tmux with custom options etc.
# post: tmux -CC attach -t coding

windows:
  - editor:
      layout: 381c,213x57,0,0[213x48,0,0,4,213x8,0,49,5]
      panes:
        - vim
        -

when i start the project,it tell me  "Failed to parse config file. Please check your formatting."

Sorry I believe that's master so unless you've installed from source it won't be available.
I'll cut a pre-release if I get time today.

I just pushed up 0.7.0 to rubygems. Might need to uninstall the previous version first.


-d does not use default value

The docs say:
 -d, --disk-usage <DISK_USAGE>    Print physical or logical file size [default: physical] [possible values: logical, physical]

So I'd expect if I leave out the <DISK_USAGE> parameter, the default value is used. But I get:
❯ erd -d
error: a value is required for '--disk-usage <DISK_USAGE>' but none was supplied
  [possible values: logical, physical]

If you use -d it needs an argument,  only if you don't specify -d its default value is selected.


@soruceloop/cli: RepositoryMixin and ServiceMixin missing while creating any kind of service

Describe the bug
RepositoryMixin and ServiceMixin missing while creating service using @soruceloop/cli
To Reproduce
Steps to reproduce the behavior:

create any type of service using @sourceloop/cli
go to applicatio.ts
check for Mixins

Expected behavior
There should be RepositoryMixin and ServiceMixin as they come while doing the lb4 app

@dev-hitesh-gupta  as discussed not able to reproduce and also there is no change in to logic of declaring and defining the application class.
Tried the cases where a service is based upon a sourceloop service and also an individual one.

Closing this issue for now.. in case issue still persists feel free to reopen or create a new one.


MDButton inserting an div element under the button element

After Clicking on button MDButton Inserting an div.md-ripple-foreground.md-ripple-fade-in element under the button.
take a look of these screenshots.

This looks like it should get sorted out with https://github.com/angular/material2/pull/1915

Dupe of #1818


Footnote cross-ref

Hi! This is a very interesting extension, and I wonder if it might help solve another limitation in Quarto (as it seems to me so far).
Do you think it would be possible to use nameref to refer to html/markdown anchors within footnotes? This could help with a very obvious and widespread practice that is to have a cross-ref like “See n. 76 above”.

Hi @guslaet, Can you provide an example of what are you trying to achieve (which does not work right now, but you want to get it to work)? I am somewhat confused 😅.

I have to apologize for the lack of clarity. 2 weeks ago I was actually getting started with both Quarto and LaTeX and having some difficulty with their respective jargons. I found a workaround for that, and I am actually advancing quite fast (and happy about it).
Anyway, the point was to make direct reference to footnotes and being able to have it rendered “See n. 76.”
I was able to do it placing a double anchor within the footnote – one for the HTML and another for LaTeX. For instance:
This is some text.^[[This]{#My_footnote_anchor}\label{My_footnote_anchor} is an anchored footnote.]

See n. \ref{My_footnote_anchor} [above](#My_footnote_anchor), p. \pageref{My_footnote_anchor}.

Which is a lot of repetitions (I had to write My_footnote_anchor 5 times) for something so simple (in the end, not necessarily in the program). It renders perfectly in LaTeX, but weirdly in HTML. In LaTex we get (just the cross-ref):

See n. 24 above, p. 125.

Whereas in HTML we get:

See n. ??? above, p. .

It works for me, since I need to produce a thesis, not a website, but still... It would be nice to have a more direct treatment of this kind of cross-reference (which is quite traditional) such as we have for figures, sections, tables etc.

Oh, I got your idea now. But unfortunately, I think the goal of nameref is somewhat different. nameref is simply creating a named reference instead of a plain numbered reference. And referencing to footnotes is an unresolved issue of pandoc (see here). My suggestion would be to use the latex commands to serve your purpose for now. Also, you can ask about this on Stackoverflow with quarto tag or on the Quarto GitHub discussion.

I think it is possible to create a separate Extension or at least write up a lua filter to do this for latex format only. But Can I ask why are you using the word above?
Would not it be more appropriate as,

See n. 76, p. 125

Oh, I just used it in order to have a word where I could put the link in the HTML version (I'm still attached to it because of my history with ConnectedText).
And you're right: it would be far more appropriate without it, especially when one is authoring. At this point however, my text is finished. I am actually converting it from ConnetedText to Quarto to generate the print version of my thesis (and as a test case because I decided to abandon ConnectedText and define a new research/write workflow).

Oh, okay. Can you post a question on StackOverflow with quarto tag about this? Because I think I can write a small filter just for latex format (not for html). I am asking this because I am actively following questions on SO regarding quarto and since your issue can not be solved with nameref, would you kindly close this one?

Oh! Forgive me. I didn’t realize I had to close the issue. Sorry for that.
I posted the question in SO, as you suggested.
https://stackoverflow.com/questions/76030546/how-to-cross-referece-footnotes-and-page-numbers-in-quarto-latex-pdfs
Thank you for the attention.

And I have already proposed a solution to your question there in SO


Controllers

In this milestone I:

Removed mailers from the application.rb in config.
Removed unnecessary files form enviroments, testing, development and production.
Removed turbo from the gemfile.
Added controllers for posts and users with their respectives actions.
Added index and show views for posts and users.

@KayLemba thank you! 🚀


Error: /srv/api/node_modules/sharp/build/Release/../../vendor/lib/libvips-cpp.so.42: file too short

I am getting the following error when starting my nodejs application on the AWS server:
Error: /srv/api/node_modules/sharp/build/Release/../../vendor/lib/libvips-cpp.so.42: file too short
The npm install is working fine and it is also working on my local environment: macOS High Sierra.
On the server side, I am using a docker image based on ubuntu.

Hello, it sounds like that file has become truncated or otherwise corrupt. Has a large enough filesystem been allocated? What does running ls -al /srv/api/node_modules/sharp/vendor/lib display?

So I managed to get it working by entering on the container after I deployed it to my amazon server and deleting the node_modules folder and running npm install again. For some reason it worked but I still have to figure it out how to make it work with my current build/deploy process.
Issue 637 gave me a way to go.

Thanks for the update. npm install / npm rebuild has to occur on the runtime platform when there are native modules within node_modules. Good luck!

So many threads about all sorts of related problems. I discovered what is causing all of them potentially.
I use a VirtualBox VM of Ubuntu but I've mounted thew VM Hosts FileSystem a Windows 8.1 box via the mount command from a NetworkShare folder.
It does not allow symbolic links.
Only when I copied the npm project folder to the root (Not mounted FS) did npm rebuild solve the endless problems with the sharp dependency not building.
When I tried to copy the working one back to the mount point it reports that symbolic links can't be created. All the help I've found says you can override with a flag in Windows but this is a Share internal to the VM not via the NFS 'mount'. I'm still looking for a solution other then leaving real code buried in a VM's VDI (not cool).
Normally I found ways around via npm flags like --unsafe-perm --no-bin-links but for this sharp building .o for numjs over an NFS mount it seems impossible.


cannot  intall lilypond from lyp

Hi,
Thanks for lyp, which seems to have very interesting features.
I installed it, but could not install lilypond:
$ lyp version
Lyp 1.3.5

$ lyp install lilypond
undefined method `[]' for nil:NilClass

$lyp install -V lilypond
undefined method `[]' for nil:NilClass
/var/lib/gems/2.3.0/gems/lyp-1.3.5/lib/lyp/lilypond.rb:425:in `latest_stable_version'
/var/lib/gems/2.3.0/gems/lyp-1.3.5/lib/lyp/lilypond.rb:468:in `detect_version_from_specifier'
/var/lib/gems/2.3.0/gems/lyp-1.3.5/lib/lyp/lilypond.rb:448:in `install'
/var/lib/gems/2.3.0/gems/lyp-1.3.5/lib/lyp/cli.rb:211:in `block in install'
/var/lib/gems/2.3.0/gems/lyp-1.3.5/lib/lyp/cli.rb:205:in `each'
/var/lib/gems/2.3.0/gems/lyp-1.3.5/lib/lyp/cli.rb:205:in `install'
/var/lib/gems/2.3.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
/var/lib/gems/2.3.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
/var/lib/gems/2.3.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
/var/lib/gems/2.3.0/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
/var/lib/gems/2.3.0/gems/lyp-1.3.5/lib/lyp/cli.rb:428:in `run'
/var/lib/gems/2.3.0/gems/lyp-1.3.5/bin/lyp:9:in `<top (required)>'
/usr/local/bin/lyp:22:in `load'
/usr/local/bin/lyp:22:in `<main>'

In your answer to another issue (#32), you mentionned rugged. I have it installed:
$ sudo gem install rugged
Building native extensions.  This could take a while...
Successfully installed rugged-0.26.0
Parsing documentation for rugged-0.26.0
Done installing documentation for rugged after 1 seconds
1 gem installed

$ gem list rugged

*** LOCAL GEMS ***

rugged (0.26.0, 0.23.0)

So what am I missing?
Thanks.

Hmm it seems like lyp has trouble finding versions of Lilypond to install. For the moment I haven't been able to reproduce the problem. Can you run lyp search -V lilypond?

$ lyp search -V lilypond

No available versions of lilypond@ found

It seems also to have problems finding other packages:
$ lyp install lilyjazz
Cloning https://github.com/lyp-packages/lilyjazz.git...
Could not clone repository (please check that the package URL is correct.)
$ lyp install -V lilyjazz
Cloning https://github.com/lyp-packages/lilyjazz.git...
there is no TLS stream available
/var/lib/gems/2.3.0/gems/lyp-1.3.5/lib/lyp/package.rb:240:in `clone_at'
/var/lib/gems/2.3.0/gems/lyp-1.3.5/lib/lyp/package.rb:240:in `package_repository'
/var/lib/gems/2.3.0/gems/lyp-1.3.5/lib/lyp/package.rb:142:in `install_from_repository'
/var/lib/gems/2.3.0/gems/lyp-1.3.5/lib/lyp/package.rb:70:in `install'
/var/lib/gems/2.3.0/gems/lyp-1.3.5/lib/lyp/cli.rb:214:in `block in install'
/var/lib/gems/2.3.0/gems/lyp-1.3.5/lib/lyp/cli.rb:205:in `each'
/var/lib/gems/2.3.0/gems/lyp-1.3.5/lib/lyp/cli.rb:205:in `install'
/var/lib/gems/2.3.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
/var/lib/gems/2.3.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
/var/lib/gems/2.3.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
/var/lib/gems/2.3.0/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
/var/lib/gems/2.3.0/gems/lyp-1.3.5/lib/lyp/cli.rb:428:in `run'
/var/lib/gems/2.3.0/gems/lyp-1.3.5/bin/lyp:9:in `<top (required)>'
/usr/local/bin/lyp:22:in `load'
/usr/local/bin/lyp:22:in `<main>'

Can you do the following in a temporary directory?
git clone https://github.com/lyp-packages/lilyjazz.git

Yes, it works:
$ git clone https://github.com/lyp-packages/lilyjazz.git
Cloning into 'lilyjazz'...
remote: Counting objects: 34, done.
remote: Total 34 (delta 0), reused 0 (delta 0), pack-reused 34
Unpacking objects: 100% (34/34), done.

same here. fresh install on a fresh ubuntu 18.04 system.
After:
sudo apt-get install -y ruby
sudo apt-get install -y ruby-dev
sudo apt-get install -y cmake
sudo apt-get install -y pkg-config
sudo gem install lyp

bastian@laptwo ~> lyp install lilypond
undefined method `[]' for nil:NilClass

and
bastian@laptwo ~> lyp search -V lilypond

No available versions of lilypond@ found


Contributing guide

Description
Contributing guide created .
Checklist

[x] I am making a proper pull request, not a spam.
[x] I've checked the issue list before deciding what to submit.

Related Issues or Pull Requests
#113
Add relevant screenshot or video (if any)
(Add here)

Hey @jugeshraghav , please first pull the changes into the main branch, then create a separate branch from the main branch, not from your previous branch.

Okay
On Wed, Jun 16, 2021, 12:11 Niloy Sikdar @.***> wrote:

Hey @jugeshraghav https://github.com/jugeshraghav , please first pull
the changes into the main branch, then create a separate branch from the
main branch, not from your previous branch.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nilisha-jais/Musicophilia/pull/299#issuecomment-862091988,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARVI6WLB4X5KHJDYCRTBL5TTTBBQXANCNFSM46YVTIMA
.


Skeleton loading screens

Hi,
I would love to see something like a skeleton loading screen for specific elements (paragraphs, buttons, images, headings etc).
The reason why I want this is because its very handy to show the user that there is something loading, without placing spinners.
I'm aware of other solutions, but it would be nice to see it included in Bootstrap.
Examples:
Example CSS tricks
Example Youtube
Hope my request is clearly and understandable.
Anyway, thanks in advance!
Stan.

Oh I would love that feature! Good thinking!

Hey, I want to contribute on this issue.

I've created a pull request, share your thoughts #31859

Is there any update about this, will this be a feature in near releases?

Is there any update about this, will this be a feature in near releases?

Take a look at #31859


Unhandled Rejection (MissingPDFException): Missing PDF

Hello everyone ,Thanks for this Library.
I would you like to know how i can handle Errors like Missing PDF .
Could you point me to the right direction.Thanks

Hi @CryceTruly ! Can you please provide some logs when does it happens? And like an example of code to reproduce. I'll look deeper into it

when a url supplied to the document url is not forward. ie when the file server returns a 404. The application crashed.

Yes have this issue too

@harry-sm can you please provide a code example where this happens?

@MGrin I was having a CORs issue that has been resolved. Everything works fine now. I would, however, recommend you expose an onError prop or something of the sort so that developers can handle the errors.


yaml_lint action clutters PRs with comments: replace it with pre-commit and a prettier hook

We use the https://github.com/karancode/yamllint-github-action, which can be found to comment on PRs.

This is a terrible practice in my mind, and seems to be the default behavior for the action, even though its documented to not be so. Perhaps there a bug that makes the comment happens no matter what?
I suggest this action is dropped in favor of using a pre-commit hook with prettier, that auto-formats the YAML instead of just lints it. I've loved it in z2jh and other projects with big YAML files.
I've just verified also that with prettier, we would catch duplicate keys with a clear error message if they are detected.
prettier.................................................................Failed
- hook id: prettier
- exit code: 2

jupyterhub/Chart.yaml
[error] jupyterhub/Chart.yaml: SyntaxError: Map keys must be unique; "appVersion" is repeated (2:1)
[error]    1 | # Chart.yaml v2 reference: https://helm.sh/docs/topics/charts/#the-chartyaml-file
[error] >  2 | apiVersion: v2
[error]      | ^^^^^^^^^^^^^^
[error] >  3 | name: jupyterhub
[error]      | ^^^^^^^^^^^^^^^^
[error] >  4 | version: 0.0.1-set.by.chartpress
[error]      | ^^^^^^^^^^^^^^^^
[error] >  5 | appVersion: 2.0.0rc2
[error]      | ^^^^^^^^^^^^^^^^
[error] >  6 | appVersion: 2.0.0rc3
[error]      | ^^^^^^^^^^^^^^^^
[error] >  7 | description: Multi-user Jupyter installation
[error]      | ^^^^^^^^^^^^^^^^
[error] >  8 | keywords: [jupyter, jupyterhub, z2jh]
[error]      | ^^^^^^^^^^^^^^^^
[error] >  9 | home: https://z2jh.jupyter.org
[error]      | ^^^^^^^^^^^^^^^^
[error] > 10 | sources: [https://github.com/jupyterhub/zero-to-jupyterhub-k8s]
[error]      | ^^^^^^^^^^^^^^^^
[error] > 11 | icon: https://jupyter.org/assets/hublogo.svg
[error]      | ^^^^^^^^^^^^^^^^
[error] > 12 | kubeVersion: ">=1.17.0-0"
[error]      | ^^^^^^^^^^^^^^^^
[error] > 13 | maintainers:
[error]      | ^^^^^^^^^^^^^^^^
[error] > 14 |   # Since it is a requirement of Artifact Hub to have specific maintainers
[error]      | ^^^^^^^^^^^^^^^^
[error] > 15 |   # listed, we have added some below, but in practice the entire JupyterHub team
[error]      | ^^^^^^^^^^^^^^^^
[error] > 16 |   # contributes to the maintenance of this Helm chart.
[error]      | ^^^^^^^^^^^^^^^^
[error] > 17 |   - name: Erik Sundell
[error]      | ^^^^^^^^^^^^^^^^
[error] > 18 |     email<EMAIL_ADDRESS>[error]      | ^^^^^^^^^^^^^^^^
[error] > 19 |   - name: Simon Li
[error]      | ^^^^^^^^^^^^^^^^
[error] > 20 |     url: https://github.com/manics/
[error]      | ^^^^^^^^^^^^^^^^
[error] > 21 |
[error]      | ^

To close this

[ ] Add a .pre-commit-config.yaml file, for reference, I suggest looking at for example TLJH's pre-commit config file
Anything that makes us replace the yaml-lint action is sufficient, this task does not represent adding black and other hooks.
[ ] Remove the yaml_lint action
[ ] I suggest we setup the use of pre-commit.ci to run the pre-commit hook, but an option is to create a dedicated github workflow as well. I've discussed this for example in https://github.com/jupyterhub/nativeauthenticator/pull/175#issuecomment-955688709 and will refer to that discussion for the motivation.
If pre-commit.ci is to be used, the 2i2c.org should configure the pre-commit.ci application at https://github.com/organizations/2i2c-org/settings/installations to enable it for this repo.

The PR review will show all comments, not just the code surrounding the lines of code changed, but also the code surrounding all comments. This PR was small, but was swamped with comments.

this seems pretty reasonable to me - agreed that it is confusing seeing the bot post comments all throughout the file. Does anybody have a strong objection?

Does anybody have a strong objection?

Nop, in fact, I would be OK-ish with it (btw, I have not used pre-commit.ci before although the concept seems interesting to me).

I'm a huge fan of pre-commit.ci


Adds Array#intersection definition

Adds method definition for intersection on Array, introduced by https://bugs.ruby-lang.org/issues/16155 in Ruby 2.7
Motivation
Not having this defined throws undefined errors when the method is used on an Array with Ruby 2.7
Related: https://github.com/sorbet/sorbet/issues/2390
Test plan
This definition and signature match similar methods already defined.
See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build result here:
→ https://go/builds/bui_HetJQVlmaUX10y


Parallelize Discovery Code

The discovery code that underlies the discover command currently runs sequentially. For a handful of devices this is unlikely an issue, but for many devices, discovery could take an excessive amount of time, even possibly requiring a longer timeout value to avoid the premature end of discovery. That is, discovery is O(n) with respect to the number of devices.
Parallelize the discovery code so that multiple threads or tasks can run concurrently to discover n devices in O(1) time.

Please see me PR #34, related to this issue.


Detect prefilter events 6291 v2

Ticket
Redmine ticket: https://redmine.openinfosecfoundation.org/issues/6728
#1992 with another feature being tested : detect.prefilter = auto

Merged in #2002, thanks!


Request support for - Arlec RF Transmitter Self Learning Controller

Log Message

Please paste logs here

Information about DPS mappings

{
  "result": {
    "model": "{\"modelId\":\"0000003qya\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[{\"abilityId\":101,\"accessMode\":\"rw\",\"code\":\"r1_rd\",\"description\":\"\",\"name\":\"Remote 1\",\"typeSpec\":{\"range\":[\"Button1\",\"Button2\",\"Button3\",\"Button4\",\"Button5\",\"Button6\",\"Button7\",\"Button8\"],\"type\":\"enum\",\"typeDefaultValue\":\"Button1\"}},{\"abilityId\":102,\"accessMode\":\"wr\",\"code\":\"r2_rd\",\"description\":\"\",\"name\":\"Remote 2\",\"typeSpec\":{\"range\":[\"Button1\",\"Button2\",\"Button3\",\"Button4\",\"Button5\",\"Button6\",\"Button7\",\"Button8\"],\"type\":\"enum\",\"typeDefaultValue\":\"Button1\"}},{\"abilityId\":103,\"accessMode\":\"wr\",\"code\":\"r3_rd\",\"description\":\"\",\"name\":\"Remote 3\",\"typeSpec\":{\"range\":[\"Button1\",\"Button2\",\"Button3\",\"Button4\",\"Button5\",\"Button6\",\"Button7\",\"Button8\"],\"type\":\"enum\",\"typeDefaultValue\":\"Button1\"}},{\"abilityId\":104,\"accessMode\":\"wr\",\"code\":\"r4_rd\",\"description\":\"\",\"name\":\"Remote 4\",\"typeSpec\":{\"range\":[\"Button1\",\"Button2\",\"Button3\",\"Button4\",\"Button5\",\"Button6\",\"Button7\",\"Button8\"],\"type\":\"enum\",\"typeDefaultValue\":\"Button1\"}},{\"abilityId\":105,\"accessMode\":\"wr\",\"code\":\"r5_rd\",\"description\":\"\",\"name\":\"Remote 5\",\"typeSpec\":{\"range\":[\"Button1\",\"Button2\",\"Button3\",\"Button4\",\"Button5\",\"Button6\",\"Button7\",\"Button8\"],\"type\":\"enum\",\"typeDefaultValue\":\"Button1\"}},{\"abilityId\":106,\"accessMode\":\"wr\",\"code\":\"r6_rd\",\"description\":\"\",\"name\":\"Remote 6\",\"typeSpec\":{\"range\":[\"Button1\",\"Button2\",\"Button3\",\"Button4\",\"Button5\",\"Button6\",\"Button7\",\"Button8\"],\"type\":\"enum\",\"typeDefaultValue\":\"Button1\"}},{\"abilityId\":107,\"accessMode\":\"wr\",\"code\":\"r7_rd\",\"description\":\"\",\"name\":\"Remote 7\",\"typeSpec\":{\"range\":[\"Button1\",\"Button2\",\"Button3\",\"Button4\",\"Button5\",\"Button6\",\"Button7\",\"Button8\"],\"type\":\"enum\",\"typeDefaultValue\":\"Button1\"}},{\"abilityId\":108,\"accessMode\":\"wr\",\"code\":\"r8_rd\",\"description\":\"\",\"name\":\"Remote 8\",\"typeSpec\":{\"range\":[\"Button1\",\"Button2\",\"Button3\",\"Button4\",\"Button5\",\"Button6\",\"Button7\",\"Button8\"],\"type\":\"enum\",\"typeDefaultValue\":\"Button1\"}},{\"abilityId\":109,\"accessMode\":\"wr\",\"code\":\"sig_ops\",\"description\":\"0x01 learn 0x02 test 0x03 delete 0x04 save\",\"name\":\"button operations\",\"typeSpec\":{\"maxlen\":128,\"type\":\"raw\"}},{\"abilityId\":110,\"accessMode\":\"wr\",\"code\":\"btlist_rd\",\"description\":\"\",\"name\":\"remote button list\",\"typeSpec\":{\"maxlen\":128,\"type\":\"raw\"}},{\"abilityId\":111,\"accessMode\":\"wr\",\"code\":\"rnlist_rd\",\"description\":\"\",\"name\":\"remote name list\",\"typeSpec\":{\"maxlen\":128,\"type\":\"raw\"}},{\"abilityId\":112,\"accessMode\":\"wr\",\"code\":\"rn_wr\",\"description\":\"\",\"name\":\"remote name store\",\"typeSpec\":{\"maxlen\":128,\"type\":\"raw\"}},{\"abilityId\":113,\"accessMode\":\"ro\",\"code\":\"sys_err\",\"description\":\"\",\"extensions\":{\"scope\":\"fault\"},\"name\":\"system error\",\"typeSpec\":{\"label\":[\"sys_err_1\",\"sys_err_2\",\"sys_err_3\",\"sys_err_4\"],\"maxlen\":4,\"type\":\"bitmap\",\"typeDefaultValue\":0}}]}]}"
  },
  "success": true,
  "t":<PHONE_NUMBER>566,
  "tid": "2bb86463b12811ee847d96852008b4f4"
}

{"101":"Remote 1","102":"Remote 2","103":"Remote 3","104":"Remote 4","105":"Remote 5","106":"Remote 6","107":"Remote 7","108":"Remote 8","109":"button operations","110":"remote button list","111":"remote name list","112":"remote name store","113":"system error"}

Device
Device id:<PHONE_NUMBER>f4abf00b21

{
"result": [
{
"active_time":<PHONE_NUMBER>,
"bind_space_id": "61867196",
"category": "qt",
"create_time":<PHONE_NUMBER>,
"custom_name": "RF Remote",
"icon": "smart/icon/ay1558866774161DZ6MV/1563775105d3ba04c81ff.png",
"id": "7178737398f4abf00b21",
"ip": "",
"is_online": true,
"lat": "",
"local_key": "",
"lon": "",
"model": "HUBRF06HA Yidong",
"name": "HUBRF06HA",
"product_id": "lclekupkvteemsym",
"product_name": "HUBRF06HA",
"sub": false,
"time_zone": "+10:00",
"update_time":<PHONE_NUMBER>,
"uuid": "7178737398f4abf00b21"
}
],
"success": true,
"t":<PHONE_NUMBER>460,
"tid": "930c4f46b12711ee965f7eb6fd123fbf"
}
Information about how the device functions

This product is a standalone self-learning RF hub for controlling most of the RF remote controlled products at 433 MHz frequency. It enables the non-smart RF products to be controlled via the Grid Connect app. It should be placed within relatively close proximity to the RF products that are intended to control.
This product does not have any RF code stored initially. The RF code needs to be learnt and stored into the product before it can be used. The procedures are easy to follow and simple to operate. This product can store up to 64 different RF control signals which can be flexibly organised in 8 different groups. The product is tested with a range of brands and can control most ceiling fans, motorised blinds and other RF products using a fixed code at 433Hz frequency.
This product is compatible with the Grid Connect smart home automation system, built to optimise your everyday living. Simply download the free Grid Connect app on your iOS or Android device and use your home Wi-Fi or mobile internet connection to control, customise and automate your product. It takes only minutes to set up, and there’s a wide range of products available that allow you to customise your system any way you like. Use the app to create the perfect light for every moment of the day, set your product to operate on your ideal schedule, and enjoy peace of mind while you’re away. Most Grid Connect products are compatible with Google Assistant and Amazon Alexa (sold separately), so you can operate your system with the ultimate convenience.
Below is an example of the Tuya logs when a button is pressed on the Tuya ios app for this device.

Local logs are needed.

Is this what you need?
2024-01-13 12:56:25.686 WARNING (MainThread) [custom_components.tuya_local.config_flow] Device matches None with quality of 0%. DPS: {"updated_at":<PHONE_NUMBER>.7241101, "101": "Button1"}
2024-01-13 12:56:25.687 WARNING (MainThread) [custom_components.tuya_local.config_flow] Report this to https://github.com/make-all/tuya-local/issues/

Yes, thanks. That confirms that the device is detectable, and gives the info on what dps need to be marked optional.

Great! Thanks for all your hard work. :)

Hi, I cannot get this setup.
I've tried all protocols, double checked device ID, IP address, Local key. But always get the error:
Unable to connect to your device with those details. It could be an intermittent issue, or they may be incorrect.
2024-01-31 14:37:27.974 DEBUG (SyncWorker_1) [custom_components.tuya_local.device] Test refreshed device state: {"Error": "Check device key or version", "Err": "914", "Payload": null}
2024-01-31 14:37:27.974 DEBUG (SyncWorker_1) [custom_components.tuya_local.device] new state (incl pending): {"updated_at":<PHONE_NUMBER>.9740682}

You don't mention protocol version.  It seems many protocol 3.5 devices are appearing in the market now, and these do not work as well with the auto detection as thee older 3.3 and 3.1 devices.

I've tried to add manually using versions 31., 3.2, 3.3, 3.4, 3.5 & auto. I get the same result every time.
This is not a new device. I have had it for maybe 2 years, and i don't know how long it has been available before that.

I see from the original log that the device id matches the uuid, so this is likely to be one of the older protocols, most likely 3.3 I would guess.  Do note that the local key is changed every time you pair the mobile app, so if you captured the local key some time ago, and later re-paired the device, the key may have changed.  It is a bit strange that it was connecting 3 weeks ago when you made the original report, but has since stopped working.  it should work with the settings you used back then.

I have the exact same issue with this device. Worked initially during pairing and then suddenly not working on one day while all the settings have not been changed.
Also got the same “check key error” in the log but it was 3.3 that was working and suddenly it’s not accepting.
Confirmed the local key is the same as found on iot.tuya.com.
Confirmed the IP is correct.
Device is fully working in Tuya app, and sometime after playing a bit in the Tuya app, Tuya Local could connect it again but it usually will only last a day or so, before it became unavailable again and couldn’t connect it anymore.
Any idea is welcome.


Users authorization fix

I'm happy to merge this in. Can you tell me which bug this fixes?

My mate tried hurl with github authorization. https://github.com/defunkt/hurl/issues/44
That is the fix for his issue


HTTPStatusError: invalid_client - Client authentication failed

Describe the issue
From this morning i've this issue:
2024-11-18 19:03:18 - HTTP Request: GET https://cocoapi.bmwgroup.com/eadrax-ucs/v1/presentation/oauth/config "HTTP/1.1 200 OK"
2024-11-18 19:03:18 - HTTP Request: POST https://customer.bmwgroup.com/gcdm/oauth/authenticate "HTTP/1.1 401 Unauthorized"
2024-11-18 19:03:18 - MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
2024-11-18 19:03:18 - Errore durante il controllo dello stato del veicolo: HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
Expected behavior
Connection
Which Home Assistant version are you using?
python
What was the last working version of Home Assistant Core?
python
What is your region?
Rest of world
MyBMW website

[X] I can still successfully login to the BMW MyBMW website and the car status is available there.
[X] I have MyBMW enabled for my vehicle.

Number of cars

[ ] I have 2 or more cars linked to the MyBMW account.
[ ] I have a Mini vehicle linked to my account.
[ ] I have a Toyota Supra vehicle linked to my account.

Output of bimmer_connected fingerprint
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response

Same issue now in rest_of_world as was in North America: BMW has added a captcha.
Old issue: https://github.com/bimmerconnected/bimmer_connected/issues/667
I'll have a look if we can reuse/adapt the code.

Same issue, I am using "rest of the world", but the problem is only for one of our bmw

OK,  same here (Australia), similar timing, very much looks like same issue. Reported in #673, but the timing is too coincidetal to not be the same.

Same problem happened here today (rest of the world/Sweden).
BMW app worked but logged out and tried to login again, but fails with error. I assume BMW have some issues

Same issue UK here, bmw app signs in, connected drive page signs in, but the integration fails with "Invalid authentication"

Now I could login via MyBMW app but not in this integration

i also can login in the new app, but no connection with bimmercode.

Same here

Problem is know --> https://github.com/bimmerconnected/bimmer_connected/issues/671#issuecomment-2483808420
please don't add anymore "same here" comments, just add a thumbs up in the opening post.

Fixed by https://github.com/bimmerconnected/bimmer_connected/pull/675 / release 0.17.0 for the command line.
For the Home Assistant integration, we're still working with the HA Core team on further options (see https://github.com/home-assistant/core/pull/129667#pullrequestreview-2454563153).


Implement Authentication Flow using Deep Linking for ChromeSafariBrowser

Environment
Flutter version: 3.10.5
Plugin version: 6.0.0-beta.24+1
Android version: 13
iOS version: 16.5
Xcode version: 14.3.1
Device information: -
Description
What you'd like to happen:
In issues #349, #401, and #699 @pichillilorenzo mentioned the need for implementing authentication flow using deep linking for ChromeSafariBrowser, which would allow developers to receive data from the Custom Chrome Tab / SFSafariViewController. This could solve quite a few issues, considering the amount of issues posted about the need for knowing the url's in a ChromeSafariBrowser (eg. aforementioned issues, as well as #1613, #1443, #1047).
Alternatives you've considered:
The package Flutter Web Auth 2 (https://pub.dev/packages/flutter_web_auth_2) allows giving a callback scheme, which may be used to return data from the opened Custom Chrome Tab. However this package doesn't use SFSafariViewController on iOS, it doesn't allow any customisation of the browser opened (such as colors), and it has other problems that could be solved using flutter_inappwebview's implementation of ChromeSafariBrowser.

@jonasblendstrup Deep linking is not related to this package and you should implement it yourself: https://docs.flutter.dev/ui/navigation/deep-linking
It is highly recommended to use the Navigator 2.0 in combination with dedicated packages like go_router for this, as deep linking then comes almost for free.


Array of Structs in Function are not saved properly

Bug Report
Currently, when creating an RPC that contains an array of structs that contain an array of items (like strings), that array is not saved properly.
Reproduction Steps

Connect to Core.
Press "CreateInteractionChoiceSet"
Press "Choice Set"
Press "+"
Press "Vr Commands"
Press "+"
Add text.
Press "Save"
Press back.
Press "Save"
Press back.
Press send.

Expected Behavior
"Vr Commands" should be included in the dictionary.
Observed Behavior
"Vr Commands" are not included in the dictionary.

Fixed in commit 0dfab84


KOGITO-5921 add oracle quarkus/sb test resource

Required for testing new example in https://github.com/kiegroup/kogito-examples
https://issues.redhat.com/browse/KOGITO-5921

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

The (build) optaplanner check has failed. Please check the logs.

The (build) kogito-apps check has failed. Please check the logs.

The (build) optaweb-employee-rostering check has failed. Please check the logs.

The (build) kogito-runtimes check has failed. Please check the logs.

The (build) kogito-examples check has failed. Please check the logs.

The (build) optaplanner check has failed. Please check the logs.

The (build) kogito-examples check has failed. Please check the logs.

The (build) kogito-runtimes check has failed. Please check the logs.

The (build) optaweb-vehicle-routing check has failed. Please check the logs.

The (build) optaplanner-quickstarts check has failed. Please check the logs.

The (build) optaweb-employee-rostering check has failed. Please check the logs.

jenkins please retest this

The (build) optaplanner check has failed. Please check the logs.

The (build) optaweb-vehicle-routing check has failed. Please check the logs.

Jenkins rerun optaplanner tests

Jenkins rerun optaweb-vehicle-routing tests

@Scuilion thank you for the contribution!


[Alert] Add support for CSS vars

Add support for CSS variables for the component Alert (#32049).

[x] I have followed (at least) the PR section of the contributing
guide.

The Alert needs to wait for a discussion about how to deal with darken(...), lighten(...).

The Alert needs to wait for a discussion about how to deal with darken(...), lighten(...).

I just changed the needed, and was waiting for the info about it

sorry, for asking but what exactly needed to be changed RN?

I have updated the implementation to follow #32835. In summary, we move the color manipulation from runtime to build time so that it does not cause the dark mode flicker.


Export camera feed to m3u file

hi i am new here. is it possible to get a m3u file ?
I got it working RTSP->web but cant find a solution to create a file m3u with my 4 cams.
I have androidtv and want to access my camera via tvirl. Because TVirl can play only hls

about the characteristics in more detail.
you can create main level m3u8 playlist and insert all you 4 camera url's hls


Add UDP spec and bump apiVersion

Linked to https://github.com/servicemeshinterface/smi-spec/issues/150
This PR introduces the concept of "UDPRoute", similar to TCP.
As this is a new ressource, I also bumped the API Version. I hope, that's fine.

@SantoDE would you mind doing a PR against the spec? We'll want to get that merged first and then come back to this.

@grampelberg
Done & raised :)

Closing due to project archival: https://www.cncf.io/blog/2023/10/03/cncf-archives-the-service-mesh-interface-smi-project/


Files opened under */src/lean/ are unmodifiable

This seemed pretty strange, but I have now figured out the source of the problem.
If I open any file named .lean in neovim in a directory named "lean" under one named "src", and if I try to modify the file, I get nvim error "E21 Cannot make changes, 'modifiable' is off" until I run :set modifiable, regardless of file permissions.
I think this has to do with the nomodifiable configuration option.  If I add this line
 \ ft = { nomodifiable = {}, },

within
lua require('vfiler/config').setup{ options = {
...
}

the problem goes away.  This line in ft.lua seems to be the cause:
    '.*/src/lean/.*', -- Lean 4 standard library

This problem was a real pain to figure out.  I had no idea where to look until I did a lot of testing to find what I could and could not edit files.  It wasn't clear that lean.nvim was the culprit.
From my point if view, it's natural to put all of my source in a directory named src, and within that, I classify different kinds of source code by the name of the language.  So of course when Is started using Lean, I put my Lean source in src/lean.  This seems like a reasonable thing to me.
I understand why it's reasonable to include a test for the standard library to prevent editing it by accident.  Would it be possible to add more complicated test to find the standard lib directory instead?
If not, maybe the README could include a warning that certain directory path patterns will cause problems.
(I'd be happy to add a PR for the README if you want.  I don't know enough about the standard library to change the path regex test, though.)
Thanks.   lean.nvim is great!  It's a real pleasure to use.  (At first I was working in a directory that wasn't under src/lean.)

Sorry for the trouble.

Would it be possible to add more complicated test to find the standard lib directory instead?

I don't think there is a simple one unfortunately. There's no other reliable way of knowing which directory is the standard library one that we could think of, which seemed still reasonably safe given that in Lean 4 it's discouraged to use src directories within packages. Of course your setup is precisely the one that would be a false positive (and seems otherwise fine certainly) -- but ultimately some false positive seems unavoidable when just looking at paths. And to be explicit -- new users who accidentally modify some core lean file ultimately ended up having huge troubles historically, so it seemed like a good tradeoff even if it has some potential for false positives.
We could make the check more complicated by trying to read files in the directory we suspect is the stdlib (e.g. to look for Lean.lean). But really I think upstream (i.e. Lean itself) gives us no guarantees here so it's a recipe for wasting time if the layout changes there if we get clever.
The README already mentions the nomodifiable setting, is there some other spot you think would have helped? I'm happy to merge a small PR for the README, or To be honest given I would suspect the likelihood of anyone else running into this (i.e. anyone using precisely your way of laying out your system) to be quite small, I wouldn't want it to be hugely much more prominent than what we have. But certainly open to ideas, or to rethink things.

Thanks. lean.nvim is great! It's a real pleasure to use. (At first I was working in a directory that wasn't under src/lean.)

Thanks for the kind words, I hope this is the worst issue you run into :D

Thanks @Julian!  I accept that it might be impossible to test reliably for the standard lib directory.  I see that in std4 there's a file named "Std.lean", and lakefile.lean contains the line "package std where", but the presence of those could change, or someone could put them in their project for some reason, which would recreate the problem.
I spent at least a couple of hours on this.  The error was very mysterious.  It was an easy thing to fix once I understood (I renamed src/lean) but I do think it's worth adding a brief remark to the README to allow people to diagnose the problem.  One could add  something like this:

If the path above your source directory includes any of the sequences "src/lean", "lib/lean/src", "lean_packages", or "_target", you may find that you can't modify your source files, and that nvim gives you the E21 error.  This is because lean.nvim tries to prevent users from accidentally shooting themselves in the foot by modifying the Lean standard library, and those directories are part of standard paths for the standard library.  The easiest way to fix this is to move your project or rename the directories that are higher up.  Another solution is to modify the nomodifiable table entry, preferably after consulting its definition in lean.nvim/lua/lean/ft.lua.

That can be made slightly shorter in various ways.  (I know that the way that I described the paths is not precisely accurate, but I was trying to be brief; that's why I used "may find".)
If that seems too long, here's another option:

If you find you can't modify your source files due to the nvim E21 error, this might be due to lean.nvim's effort prevent users from accidentally shooting themselves in the foot by modifying the Lean standard library.  See the definition of nomodifiable in lean.nvim/lua/lean/ft.lean`.

Or:

If you find you can't modify your source files due to the nvim E21 error, see the definition of nomodifiable in lean.nvim/lua/lean/ft.lean`.

The important information is to connect the error to lean.nvim (if you don't know that, it could be anything--filesytem corruption, some weird hidden file attribute, another plugin), and  then to information that lets one easily see which paths are affected--at least the relevant lean.nvim source file.  Once the user has that information, they can either use the "Configuration and Settings" section of the README to change nomodifiable, or they can modify their file paths.
Again, happy to submit a PR, but I thought I'd float some ideas here first.  Thanks!

I see that in std4 there's a file named "Std.lean", and lakefile.lean contains the line "package std where", but the presence of those could change, or someone could put them in their project for some reason, which would recreate the problem.

(That's Std, but here we're talking about Lean (which the comment is confusing about but Std didn't even exist back then). These days it would be called "core Lean". Specifically it's these files)
The second option there seems more or less fine with me though to add if you care for a PR (perhaps with referencing "the nomodifiable configuration option" rather than sending users to look at "lua/lean/ft.lua"?)

Ah, I see.  Yes, it would be very bad to mess with the Lean source!
If ft.lua isn't mentioned, or its contents isn't summarized, how will a user know what aspect of their path is causing the problem?  One can fix the problem by zeroing out nomodifiable, but that's not a good solution.

Except that I have no idea how to display the contents of nomodifiable.  This is an entry in a local variable, options, set in ft.lua.  Passing ft.nomodifiable to setup in init.lua causes it to be passed to enable in ft.lua, and which then overrides the value of nomodifiable there.  afaict, without looking at ft.lua there is no way to know what one is overriding.
Maybe there is a way to print the contents of chunk-local variables in Lua.  I'm not a Lua expert, and I don't know what that is.  In most languages, the only way to display the contents of a local variable is by instrumenting the source code with print statements, or by using a debugger.  I did do some investigation of this question, but without serious study of Lua (something I should do sometime, but not now), this is the sort of information that doesn't come up readily in response to search strings.
I understand that you don't want to walk a user of lean.nvim through basic Lua or plugin information, but I feel that there should be enough documentation that it shouldn't be necessary to grep through the source tree and then examine source files to find out details of something that cause lean.nvim to make it impossible to edit one's own source files.
So my feeling is if the README doesn't list the default contents of nomodifiable, it should point users to ft.lua.  (Theoretically, I'd rather see this the contents of nomodifiable listed in the README, but then that has to be kept insync with the source code, so I think it's better to point people to ft.lua.)  Or if there is an easy way to print the local variable without looking at ft.lua, then the README could include a pointer to that technique.  Or maybe add a function somewhere that would cause the contents of options.nomodifiable to be printed out?

One can fix the problem by zeroing out nomodifiable, but that's not a good solution.

Can you elaborate on why this isn't a good solution?
 That's the problem I'm interested in fixing -- making sure it's mentioned in a way you think you'd have seen.
Once someone knows what functionality exists that is relevant to what they see, it's true they then may need to know how it's currently configured. I'm pretty sure someone who gets this far will be able to figure out where to look. Including extra detail though just makes more work (for me, if I ever change the package layout, or the value of the setting) and for every other person reading the README who isn't in this scenario but who might be confused by something they don't need to know.
(And thanks for the kind words of course! No worries here, we may as well get it right so long as we're discussing it).

Thanks @Julian.  I understand.  I'll submit the PR without the extra information.

One can fix the problem by zeroing out nomodifiable, but that's not a good solution.

Can you elaborate on why this isn't a good solution?

I was thinking that though emptying nomodifiable was an easy solution, it defeats the purpose of preventing someone from modifying Lean without knowing what they're doing.  A smaller change to nomodifiable could allow the user to edit their source while still preventing them from editing some installations of the Lean source.  But as you say, someone can figure that out if they know they need to investigate.

Will call this closed after your PR I think but any further feedback always welcome!


As a player I want to build factories

Acceptance criteria

[ ] can build facs
[ ] facs belong to cities
[ ] can only build facs of wares the city can produce
[ ] other wares are marked somehow
[ ] build screen table has headers *type, # buildings, build new, production price, produced quantity per period, demand (for the weeks production)
[ ] facs produce at same time that cities consume/produce

Production price and demand are handled in another issue

https://www.flaticon.com/free-icon/manufacturer_2051493#term=manufacturing&page=3&position=62


why not working new version?

when I run the program, an error crashes in which it says something about java virtual machine

are you using java 17+?

yes

can you provide a log?