Phase 2

So there is a few commits in this PR which does include the initial one "fixes for >100 uploads, emails, logout" so you are infact able to enable an email, and if you do you should expect one when an email occurs (note if you use gmail you have to inable insecure services as they don't like apps using them as a mail server). The upload is based on emailTemplate.html so it's customizable in a docker/kube environment by overwriting that particular file with what you want, but by default it says
Hi {{name}},

A data upload that you are involved in #{{dataUploadId}} has been updated by {{updater}}. Log in to Metadata Curator to see more

The enabled phase shouldn't return a 404 unless you are trying to force it as not an admin, but you shouldn't be able to access it in the GUI unless you are an admin


Problems building js.rs

I realize this code is fairly old, but it does not seem to compile.
Under rustc 1.12.1 (d4f39402a 2016-10-19), make yields:
   Compiling jit v0.9.1 (https://github.com/TomBebbington/jit.rs.git#9c0e4fa5)
error[E0554]: #[feature] may not be used on the stable release channel
  --> /Users/cxh/.cargo/git/checkouts/jit.rs-1551653203d982b5/master/src/jit.rs:29:1
   |
29 | #![feature(alloc, core, plugin, unboxed_closures, optin_builtin_traits, associated_consts)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Searching for that error message suggests using rustup.  Installing rustup and using the nightly version also fails:
bash-3.2$ rustup install nightly
info: syncing channel updates for 'nightly-x86_64-apple-darwin'

  nightly-x86_64-apple-darwin unchanged - rustc 1.14.0-nightly (3f4408347 2016-10-27)

bash-3.2$ rustup default nightly
info: using existing install for 'nightly-x86_64-apple-darwin'
info: default toolchain set to 'nightly-x86_64-apple-darwin'

  nightly-x86_64-apple-darwin unchanged - rustc 1.14.0-nightly (3f4408347 2016-10-27)

bash-3.2$ rustc --version
rustc 1.14.0-nightly (3f4408347 2016-10-27)
bash-3.2$ make clean
rm -rf target/*js*
bash-3.2$ make
cargo build
   Compiling libjit-sys v0.2.1 (https://github.com/TomBebbington/jit.rs.git#9c0e4fa5)
   Compiling matches v0.1.3
   Compiling libc v0.2.17
   Compiling unicode-normalization v0.1.2
   Compiling unicode-bidi v0.2.3
   Compiling jit v0.9.1 (https://github.com/TomBebbington/jit.rs.git#9c0e4fa5)
error[E0432]: unresolved import `std::raw::Repr`
  --> /Users/cxh/.cargo/git/checkouts/jit.rs-1551653203d982b5/master/src/compile.rs:68:17
   |
68 |             use std::raw::Repr;
   |                 ^^^^^^^^^^^^^^ no `Repr` in `std::raw`

error[E0432]: unresolved import `std::raw::Slice`
  --> /Users/cxh/.cargo/git/checkouts/jit.rs-1551653203d982b5/master/src/compile.rs:82:13
   |
82 |         use std::raw::Slice;
   |             ^^^^^^^^^^^^^^^ no `Slice` in `std::raw`

error: no method named `repr` found for type `&'a str` in the current scope
  --> /Users/cxh/.cargo/git/checkouts/jit.rs-1551653203d982b5/master/src/compile.rs:70:30
   |
70 |             let slice = self.repr();
   |                              ^^^^

   Compiling idna v0.1.0 (https://github.com/servo/rust-url#da5c7c6e)
error: aborting due to previous error

Build failed, waiting for other jobs to finish...
error: Could not compile `jit`.

To learn more, run the command again with --verbose.
make: *** [build] Error 101
bash-3.2$

Then I tried installing a version of rust from last commit time of Nov 15, 2014.
Unfortunately, rustup does not seem to have versions that old.  The rustup docs state that 2014-12-18 should work, but it does not.  See Rustup Bug 787: help.rs suggests 'rustup install nightly-2014-12-18', which fails.
However, rustup install nightly-2015-03-01 installs a nightly version, but that version does not work with the js.rs code:
bash-3.2$ rustup install nightly-2015-03-01
info: syncing channel updates for 'nightly-2015-03-01-x86_64-apple-darwin'
info: downloading component 'rust'

  nightly-2015-03-01-x86_64-apple-darwin unchanged - rustc 1.0.0-nightly (890293655 2015-0\
2-28) (built 2015-02-28)

bash-3.2$ rustup default nightly-2015-03-01
info: using existing install for 'nightly-2015-03-01-x86_64-apple-darwin'
info: default toolchain set to 'nightly-2015-03-01-x86_64-apple-darwin'

  nightly-2015-03-01-x86_64-apple-darwin unchanged - rustc 1.0.0-nightly (890293655 2015-0\
2-28) (built 2015-02-28)

bash-3.2$ rustc --version
rustc 1.0.0-nightly (890293655 2015-02-28) (built 2015-02-28)
bash-3.2$ make clean
rm -rf target/*js*
bash-3.2$ make
cargo build
Unable to update https://github.com/servo/rust-url#da5c7c6e

Caused by:
  failed to parse manifest at `/Users/cxh/.cargo/git/checkouts/rust-url-1e22af4233079a1e/m\
aster/Cargo.toml`

Caused by:
  expected a value of type `array`, but found a value of type `table` for the key `lib`
make: ***

@cxbrooks i think this project is dead, ive started working on a rewrite over at https://github.com/jasonwilliams/boa it might take a while to get it back up to where this is but feel free to help out


Add contribute insts to README plus 2 files to .gitignore

Added contribute how-to instructions to README. (These were the ones I need to set up your repo). You are welcome to change/improve them.
Added 2 files to .gitignore file so others are not forced to use them.

Thanks for the PR, however, I don't agree with most of the changes.
For .gitignore, .rvmrc shouldn't be ignored in Shrine, because it isn't specific to this project (I'm using rbenv, for example), you should rather add it to your global gitignore. The same goes for .overcommit.yml, I don't even know what that is for :)
I would rather not have part of contributing instructions in README, and then have them repeat in CONTRIBUTING. I think developers who want contributing instructions should notice CONTRIBUTING.md, as it is the standard file for these instructions. But I didn't emphasize dependencies enough, so I'll change that.

Thanks for your response.


Publishing RTSP stream from Larix Broadcaster ?

Hi,
Thanks for go2rtc, amazing tool and working great.
I'm trying to ditch rtsp-simple-server completely, but the last missing piece is how to "publish" a stream from an app called Larix Broadcaster (available on both iOS and Play Store). Basically the app can only "push" the stream to a server, we can't "grab" the stream from the device directly.
So my question is: Is there a way to publish such stream directly to go2rtc ?
Thanks.

This is covered in the docs https://github.com/AlexxIT/go2rtc#incoming-sources

Indeed creating an empty stream and publishing to it was enough, thanks again.

Is there a way to check via HTTP Api if a stream is published to this path or not ?

Well, ugliest healthcheck of the world for now
#!/bin/bash
if (/usr/bin/ffmpeg -y -rtsp_transport tcp -i rtsp://<IP_ADDRESS>:8554/entry -frames 1 /root/scripts/snap.png -timeout 1 2> /dev/null)
then
     echo "OK" > /root/nginx_html/entry_status
else
         echo "KO" > /root/nginx_html/entry_status
fi

GET /api/streams?src=stream_name

thanks, super awesome!


Parser return original value for unsupported types

Codecov Report

Merging #36 into master will decrease coverage by 0.47%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
- Coverage     100%   99.52%   -0.48%
==========================================
  Files          21       21
  Lines         418      420       +2
  Branches      116      117       +1
==========================================
  Hits          418      418
- Misses          0        2       +2

Impacted Files
Coverage Δ

packages/schm/src/parsers.js
96.15% <33.33%> (-3.85%)
:arrow_down:

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 7539838...d37ddad. Read the comment docs.

Thank you very much, @J-F-Liu.


Service Definition item (Possible_Radio_Retransmission_Sites) exists without an associated hosted service

Hosted service Possible_Radio_Retransmission_Sites/FeatureServer no longer exists, but associated service definition item exists; please delete the following item:
id: 9973149b1b744af3b11f65a2185e36be
type: Service Definition
service: Possible_Radio_Retransmission_Sites/FeatureServer

@erikreid I deleted this item.


Extension needs to be declared as a type import

Without this, the build will include Extension in the output, which, when used with esm.run (or any other CDN), this theme loads a separate copy of @codemirror/state, which gets the error about instanceof checks with multiple states loaded.
In general, type imports are a good signal to the compiler for stripping imports out during builds and help out humans know what the intend of imports are :partying_face:
Here is a reproduction of the problem being fixed: https://jsbin.com/sacumiraju/1/edit?html,output (currently only works in chrome due to import map support)

Extension is already not imported in dist/index.js, so this definitely won't help with loading a different copy of @codemirror/state (that happens through the import from @codemirror/view). Code style for this project is to just import things, regardless of whether they are type or other imports, and I don't see a compelling reason to change that.

hmm -- how do we get codemirror to work via ESM CDNs?

Until they figure out how to properly deduplicate modules, you can't.


Deprecate status_code and headers params of ValidationErrors

status_code and headers kwargs are deprecated (close #336)
Add error_status_code and error_headers:
See https://github.com/sloria/webargs/issues/327#issuecomment-449669326

def validate_foo(val):  # Before
    ...
    raise ValidationError("Error!", status_code=400)

@use_args({"foo": fields.Str(validate=validate_foo)})
def my_view(args):
    ...

def validate_foo(val):  # After
    ...
    raise ValidationError("Error!")

@use_args(
    {"foo": fields.Str(validate=validate_foo)},
    error_status_code=400
)
def my_view(args):
    ...

error_handler functions and handle_error methods now take
error_status_code and error_headers arguments. Backwards
compatibility was maintained by checking the the number of
arguments in the signatures.

@parser.error_handler
def handle_error(error, req):  # Before
    raise CustomError(error.messages)

@parser.error_handler
def handle_error(error, req, status_code, headers):  # After
    raise CustomError(error.messages)

@parser.error_handler
def handle_error(error, **kwargs):  # Also works
    raise CustomError(error.messages)

LGTM.
I'd have dropped the whole status_code/headers feature altogether as I said in https://github.com/sloria/webargs/issues/327, but if that serves legit use cases, I'm fine with it. This PR impacts a lot of files but that's mainly because of examples and deprecation warnings overhead. In practice, it's not so much API surface.
In 5.0, we'll be able to get rid of the ValidationError subclass to use the vanilla one from marshmallow.

Agreed. Though maybe we should still make it importable from webargs, like with fields.
from webargs.core import ValidationError # just aliases marshmallow.ValidationError

I don't feel too strongly about it.


Can't find name type

@amz-tools  After upgrading to 1.1.0, I am facing this issue.

Is there any solution for this?

me too. were you able to fix the issue?

@sw-engineer-a @Dmaitri We have now deleted all the types as the smallAndLight endpoint had previously already been deleted at it is deprecated (Amazon has stopped the Small and Light Program).


Question about best practice for IOS

Hi! Thank you for this amazing plug in.
It's solves so many issues for my app.
I was wondering what other developers use when developing for IOS.
I mean, I now have these  tags for all the images for android. But what do you do when you are ready to develop for IOS? Do I need to have *ngIF statements on all of them for android and use default Image tags for IOS? What are other developers doing to replace Fresco?

+1

 <android>
         <fresco:FrescoDrawee row="2" col="1" imageUri="{{ loadingImage }}" aspectRatio="1" actualImageScaleType="center" />
   </android>
   <ios>
        <Image row="2" col="1" src="{{ loadingImage }}" class="center" stretch="aspectFit" />
   </ios>

One approach.

Thank you for the help Brad.
I ended up posting on Stackoverflow  and received a very similar answer.
I should of closed this. Completely slipped my mind.


Maybe mistyped ture instead of true

Prepare and install ioBroker
RUN mkdir -p /opt/scripts/.docker_config/
&& echo "starting" > /opt/scripts/.docker_config/.healthcheck
&& echo "${VERSION}" > /opt/scripts/.docker_config/.thisisdocker
&& echo "ture" > /opt/.first_run
# Run installer
&& curl -sL https://iobroker.net/install.sh | bash -
# Deleting UUID from build
&& iobroker unsetup -y
&& echo "ture" > /opt/iobroker/.fresh_install \

Yes thank you. I wanted this to be "true". :) I've changed it.
As this parameter is only written to have no empty files, the typo has no impact to the image and it's function.
The startup script only checks if the file exists, not what parameter is written to it. So no worry about something that is not working. :)
Thanks for the hint.
Regards,
André


Make 'loot' equippable

Closes https://github.com/foundryvtt/dnd5e/issues/2204

I think it was actually a conscious decision to remove the ability to equip/attune to loot-type items.
In either case, there's also the issue of equipping/attuning through the item sheet, not just the actor sheet. That's not available for loot-type items.


chore: Do not reconcile CephCluster spec if managed by Helm

When the Ceph Cluster is created via helm.InstallChartArchive() when rookMinimumNodeCount >= 3, no modifications should be made to the CephCluster CR. Namely for two reasons, 1) CephCluster spec in the cluster should not deviate from what was configured in the chart 2) modifying the CR delays the Rook reconciliation process

This is change is not needed. Closing.


Add http timeout configuration

Adding property http.timeout to be able to configure the http request
timeout duration. If not set the current default of 30 seconds is
used.
We use this connector for work and have a need to fail faster than the default 30 second timeout when the web endpoint is non responsive for some reason.
There are several unit tests added, but I couldn't find instructions for setting up any integrated tests and I am new to Mockito so don't know how to mock HttpClient to simulate an http delayed response to force the timeout. But I did test it manually.

Hi @CodeLikeAGecko , thanks for the contribution, we will review the PR and come back to you.


The slider has less slides won't display if switch from a slider has more slides

Hi there,
I was trying to use a dropdown menu to change the displaying slides. Option 1 has a few slides, option 2 only has 1 or 2 slides so it can't slide at all.  So when I select the option 1 first, and slide it to the right end. Then switch to option2, then the slides won't displayed at all and the next/prev buttons is disables.
I hope it's described clearly, this is the best I can do. Here's the jsfiddle:
https://jsfiddle.net/20bumb4g/231/
Thanks!

Fixed in master. Will make a npm release soon


MediatR FAILS to resolve IRequestHandler when IRequest was created by reflection.

I have a business need to maintain year specific logic for a few years then it can just be removed.  The application is already setup with IRequest and IRequestHandler for the year specific logic.
However the issue is that mediatR can't resolve any IRequestHandler based on an IRequest object created by Activator.CreateInstance(type).
I have created a code example that shows the issue if you could please review this on github  and provide feedback as to why it happens and how to fix it.  I'm also open to any other implementation, provided its not reworking these very large projects away from the MediatR pattern.
I appreciate your help.
Code shows a result of
{
  "coreInstance": "Core Handler Executed",
  "year1Instance": "Year1 Handler Executed",
  "year1ReflectionInstance": "Error constructing handler for request of type MediatR.IRequestHandler'2[BusinessLogic.Year1.Application.DoSomething1Request,System.String]. Register your handlers with the container. See the samples in GitHub for examples."
}

I see you're using AppDomains to load assemblies - I'm not sure that's supported in .NET Core. That uses the whole AssemblyLoadContext stuff.

Yep, that's it. If you change the library projects to netstandard2.0 and the main app to net461 then it works just fine:
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>net461</TargetFramework>
  </PropertyGroup>

  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
    <DocumentationFile>bin\Debug\netcoreapp2.2\MultiYear.MediatR.Example.WebApi.xml</DocumentationFile>
  </PropertyGroup>

  <ItemGroup>
    <Folder Include="wwwroot\" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Autofac.Extensions.DependencyInjection" Version="5.0.1" />
    <PackageReference Include="MediatR.Extensions.Autofac.DependencyInjection" Version="3.0.1" />
    <PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" />
    <PackageReference Include="Microsoft.AspNetCore.HttpsPolicy" Version="2.2.0" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
    <PackageReference Include="Swashbuckle.AspNetCore" Version="4.0.1" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\BusinessLogic.Core\BusinessLogic.Core.csproj" />
    <ProjectReference Include="..\BusinessLogic.Year1\BusinessLogic.Year1.csproj" />
    <ProjectReference Include="..\BusinessLogic.Year2\BusinessLogic.Year2.csproj" />
  </ItemGroup>

</Project>

Yep, that's it. If you change the library projects to netstandard2.0 and the main app to net461 then it works just fine:
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>net461</TargetFramework>
  </PropertyGroup>

  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
    <DocumentationFile>bin\Debug\netcoreapp2.2\MultiYear.MediatR.Example.WebApi.xml</DocumentationFile>
  </PropertyGroup>

  <ItemGroup>
    <Folder Include="wwwroot\" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Autofac.Extensions.DependencyInjection" Version="5.0.1" />
    <PackageReference Include="MediatR.Extensions.Autofac.DependencyInjection" Version="3.0.1" />
    <PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" />
    <PackageReference Include="Microsoft.AspNetCore.HttpsPolicy" Version="2.2.0" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
    <PackageReference Include="Swashbuckle.AspNetCore" Version="4.0.1" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\BusinessLogic.Core\BusinessLogic.Core.csproj" />
    <ProjectReference Include="..\BusinessLogic.Year1\BusinessLogic.Year1.csproj" />
    <ProjectReference Include="..\BusinessLogic.Year2\BusinessLogic.Year2.csproj" />
  </ItemGroup>

</Project>

Thanks for pointing that out.  Just to share full info.  I implemented the correct usage of AssemblyLoadContext that is supported by net core.  I updated my code on github to show it working now.  This was needed for my business case because we run in docker Linux containers.
https://docs.microsoft.com/en-us/dotnet/api/system.runtime.loader.assemblyloadcontext?view=netcore-2.2

Nice! I'll bookmark this - I've not played much with the AssemblyLoadContext stuff and would have done exactly what you did


Table Body component  ((item: T) => RowElement) allow RowElement[]

Is your feature request related to a problem? Please describe.
right now there is no support for multiple rows to a  function for dynamic rendering in table body we want for the collapse table row in the table component
Describe the solution you'd like
right now there is no support for multiple rows to a  function for dynamic rendering
Describe alternatives you've considered
add functionality to collapse table row on click
Screenshots or Videos
No response

Could you clarify what behavior you're envisioning for the collapsible table?
I'd appreciate it if you could share something as a reference.

Closing due to inactivity


README: Release prep for v1.0.0

This is for #62. DRAFT until other PRs are merged (at least #116).

Modify the workflow example
Remove instability warnings
Add release checklist

I think I can actually make the release tag now (before this is merged), then we can merge this PR: that way the README does not refer to a non-existent tag for a while.

I've got a python-tuf PR that uses the released action: https://github.com/theupdateframework/python-tuf/pull/2684 -- looks good.


Improve checkov output in pre-commit.

Is your feature request related to a problem?
Right now we don't specify which test we want to check, and the result of that is whole errors which checkov makes are skipped because they touch something we don't need or wont to check.
Describe the solution you'd like
We need to clarify which test we want to do with check and properly configure it.

Pre-commit YAML modification

Modified the checkov hook to exclude certain checks
Update code to fix some checks

Checkov ID
Description
Status

CKV_AZURE_118
Ensure that Network Interfaces disable IP forwarding
Excluded

CKV_AZURE_119
Ensure ‘Block Project-wide SSH keys’ is enabled for VM instances
Excluded

CKV_AZURE_120
Ensure that Application Gateway enables WAF
Excluded

CKV2_AZURE_12
Ensure that virtual machines are backed up using Azure Backup
Excluded

CKV2_AZURE_10
Ensure that Microsoft Antimalware is configured to automatically updates for Virtual Machines
Excluded

CKV2_GHA_1
Ensure top-level permissions are not set to write-all
Excluded

The following should be confirmed before excluding them :

Checkov ID
Description
Status

CKV_AZURE_35
Ensure default network access rule for Storage Accounts is set to deny
To be discussed

The following will generate only softfails as warning (to be included in future features) :

Checkov ID
Description
Status

CKV_AZURE_93
Ensure that managed disks use a specific set of disk encryption sets for the customer-managed key encryption
Soft Fail

CKV2_AZURE_18
Ensure that Storage Accounts use customer-managed key for encryption
Soft Fail

CKV2_AZURE_1
Ensure storage for critical data are encrypted with Customer Managed Key
Soft Fail


filter out some letters for vocal transcription

A way to enter a lyric in advance. Also would need to keep nom-tom consonants. Would hook into labeling.


minor: unblock metrics

Doesn't seem like you can inspect the error kind, so discarding the result it is
bors r+

There's a remove_path in dist which might have the same problem.

Well now we get  Error: No such file or directory (os error 2), https://github.com/rust-analyzer/rust-analyzer/runs/5569046023?check_suite_focus=true
🙄

This time I don't see the problem though, @matklad

Looks like it's failing at a different point, though, maybe around https://github.com/rust-analyzer/rust-analyzer/pull/11724/files#diff-9409e6ada47cec87a05099892afebc392835ec03643bad21e1f431819cbb2ea1L54?

That's because sh.push_dir doesn't change the CWD, we should use sh.write_file there.


REPL: Temperature Sensor

Add support for single temperature sensor testing with debug binary

@SnickeyX Due to the bug you discovered, I'm assuming this is going to be a more overarching change that we first expected. Thoughts on me closing this for your team to open up a PR with the fixes + Accelerometer + Temperature commands?


Storage Node Commitment Discrepancies

Issue Description
We have identified an issue in the Besu-Verkle-Trie, specifically related to the storage nodes. This bug emerges when comparing commitments in the genesis block creation logs between Geth and Besu. The discrepancies are evident in two main instances:

The commitment 0x00 is processed correctly, whereas 0x0000 leads to unexpected behavior.
The commitment 0xc4 is also producing incorrect results.

Additional Details

It appears that the issue is confined to the storage nodes, possibly involving header information.
The problem may not be widespread but is critical for the nodes it affects.

Investigation and Resolution Steps

Log Analysis: Review the attached logs from both Geth and Besu during the genesis block creation process to pinpoint discrepancies.

besu-genesis.txt
geth-genesis.dot.txt

Storage Node Assessment: Examine the storage nodes, especially focusing on header-related functionalities, to identify the source of the bug.
Functionality Check: Ensure that storage operations are functioning as intended across different scenarios and commitments.
Resolution Path:

If the issue requires a simple fix, proceed with implementing and testing the solution.
In case of complex problems, further break down the issue for a detailed investigation.

Request for Assistance
We invite contributors to assist in resolving this issue. Your insights and expertise in handling storage node functionalities and commitment processing will be highly valuable.

The summary
https://hackmd.io/BfW3ZHHxRWasQic_mvC83A?view


Change verbiage from "View" to "Filter"

Under the "What to do if individuals have already used self-service" section, in step 3, there isn't a "Views" section in the admin center under Users > Active Users. It appears this is now a "Filter" menu because I can create a new filter with the details that the step contains. It just needs updated to reflect Filter instead of View.
It would also be helpful to note how to locate what licenses are self-service. I can only assume that "(Qualified Offer)" indicates a Self-Service purchase but it isn't mentioned.

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

ID: c931454d-f706-a12d-5823-54be2594a7a5
Version Independent ID: 2025949d-a8cf-e241-3e4b-db9050fe1d12
Content: Enable or disable self-service sign-up and purchasing - Power BI
Content Source: powerbi-docs/admin/service-admin-disable-self-service.md
Service: powerbi
Sub-service: powerbi-admin
GitHub Login: @mihart
Microsoft Alias: mihart

Thanks for your comment, @TMXemily.
I've assigned this issue to the doc author for review.

Hi @TMXemily,
Thank you for your suggestion.  We've made the update and set the article to republish.
All the best,
The DOCS team


Change collect method to LocalIterator for the SnapshotIterator

Related to #580

Any news?
Do I need to fork 0.8.0 version, same as I do with 0.6.1?
Or there is a clear roadmap when this change will be in master?

@zsxwing Can you have a look?

gentle ping.

gentle ping.


Create and Organise Type-References with Drag and Drop

Story: Adding DND integration
As a User
I want to be able to drag and drop types from column to column
To make it easier for me to manipulate them.
AC:

[ ] Enable drag and drop functionality
[ ] Allow types to be moved from the original column to a neighbouring column on the left.

Possible to drag:
LN-Types to all other columns


Console Options Parsing with Scheduler

Laravel Version: 6.18.10
PHP Version: 7.3.11
Database Driver & Version: mysql 5.7.29

Description:
Scheduling command with array options will not parse the options correctly.
Steps To Reproduce:
I have a console command which accepts multiple email addresses as option --email.
Command Signature
protected $signature = 'status-check {--email=* : List of email addresses.}';

When I want to call the Artisan command from my controller, I use following (works as expected)
Artisan::call(StatusCheck::class, [
    '--email' =><EMAIL_ADDRESS><EMAIL_ADDRESS>]);

Now I want to schedule this command using the Scheduler.
$schedule->command(StatusCheck::class, [
    '--email' =><EMAIL_ADDRESS><EMAIL_ADDRESS>])->daily();

This will result in following exception:
Too many arguments, expected arguments "command".

You can just do $schedule->command('status-check --email=foo --email=bar');

It's not possible to support the syntax you mentioned at this time without a breaking change to array based arguments (not options), so I suggest using the syntax I pasted above.

Fixed in next patch release though.

https://github.com/laravel/framework/commit/cfc3ac9c8b0a593d264ae722ab90601fa4882d0e

https://github.com/laravel/framework/pull/32641


TizenTV error code 6001 on playing content - Shaka player 3.2.0

Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
2.5.6 but trying to update to 3.2.0
Can you reproduce the issue with our latest release version?
Yes, 4.1.2 version.
Can you reproduce the issue with the latest code from main?
Not tried.
Are you using the demo app or your own custom app?
Custom
If custom app, can you reproduce the issue using our demo app?
Not tried
What browser and OS are you using?
Chromium and MAC for development, Chrome and Tizen for TV deployment
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
TV 2020, can be reproduced in 2017 too.
What are the manifest and license server URIs?
DRM config:
configuration["drm"] = {             "retryParameters": {                 "maxAttempts": 3,                 "baseDelay": 2000,                 "timeout": 0             },             "servers": {                 "com.widevine.alpha": "https://content.uplynk.com/wv",                 "com.microsoft.playready": "https://content.uplynk.com/pr"             },             "advanced": {                 'com.widevine.alpha': {                     'videoRobustness': '',                     'audioRobustness': ''                 }             }         }
-->
What configuration are you using?  What is the output of player.getConfiguration()?
Please tell me if you need the keySystemsByURI keys.
"drm": {         "retryParameters": {             "maxAttempts": 3,             "baseDelay": 2000,             "backoffFactor": 2,             "fuzzFactor": 0.5,             "timeout": 0,             "stallTimeout": 5000,             "connectionTimeout": 10000         },         "servers": {             "com.widevine.alpha": "https://content.uplynk.com/wv",             "com.microsoft.playready": "https://content.uplynk.com/pr"         },         "clearKeys": {},         "advanced": {             "com.widevine.alpha": {                 "distinctiveIdentifierRequired": false,                 "persistentStateRequired": false,                 "videoRobustness": "",                 "audioRobustness": "",                 "sessionType": "",                 "serverCertificate": {},                 "serverCertificateUri": "",                 "individualizationServer": ""             }         },         "delayLicenseRequestUntilPlayed": false,         "logLicenseExchange": false,         "updateExpirationTime": 1,         "preferredKeySystems": [],         "keySystemsMapping": {}     },     "manifest": {         "retryParameters": {             "maxAttempts": 2,             "baseDelay": 1000,             "backoffFactor": 2,             "fuzzFactor": 0.5,             "timeout": 30000,             "stallTimeout": 5000,             "connectionTimeout": 10000         },         "availabilityWindowOverride": null,         "disableAudio": false,         "disableVideo": false,         "disableText": false,         "disableThumbnails": false,         "defaultPresentationDelay": 0,         "segmentRelativeVttTiming": false,         "dash": {             "clockSyncUri": "",             "ignoreDrmInfo": false,             "disableXlinkProcessing": false,             "xlinkFailGracefully": false,             "ignoreMinBufferTime": false,             "autoCorrectDrift": true,             "initialSegmentLimit": 1000,             "ignoreSuggestedPresentationDelay": false,             "ignoreEmptyAdaptationSet": false,             "ignoreMaxSegmentDuration": false,             "keySystemsByURI": {                 "censored": "org.w3.clearkey",                 "censored": "org.w3.clearkey",                 "censored": "com.widevine.alpha",                 "censored": "com.microsoft.playready",                 "censored": "com.microsoft.playready",                 "censored": "com.adobe.primetime"             }         },         "hls": {             "ignoreTextStreamFailures": false,             "ignoreImageStreamFailures": false,             "defaultAudioCodec": "mp4a.40.2",             "defaultVideoCodec": "avc1.42E01E",             "ignoreManifestProgramDateTime": false,             "mediaPlaylistFullMimeType": "video/mp2t; codecs=\"avc1.42E01E, mp4a.40.2\""         }     },     "streaming": {         "retryParameters": {             "maxAttempts": 2,             "baseDelay": 1000,             "backoffFactor": 2,             "fuzzFactor": 0.5,             "timeout": 30000,             "stallTimeout": 5000,             "connectionTimeout": 10000         },         "rebufferingGoal": 2,         "bufferingGoal": 10,         "bufferBehind": 30,         "ignoreTextStreamFailures": true,         "alwaysStreamText": false,         "startAtSegmentBoundary": false,         "gapDetectionThreshold": 0.5,         "durationBackoff": 1,         "forceTransmuxTS": false,         "safeSeekOffset": 5,         "stallEnabled": true,         "stallThreshold": 1,         "stallSkip": 0,         "useNativeHlsOnSafari": true,         "inaccurateManifestTolerance": 2,         "lowLatencyMode": false,         "autoLowLatencyMode": false,         "forceHTTPS": false,         "preferNativeHls": false,         "updateIntervalSeconds": 1,         "dispatchAllEmsgBoxes": false,         "observeQualityChanges": false,         "maxDisabledTime": 30     },     "offline": {         "usePersistentLicense": true,         "numberOfParallelDownloads": 5     },     "abr": {         "enabled": true,         "useNetworkInformation": true,         "defaultBandwidthEstimate": 1000000,         "switchInterval": 8,         "bandwidthUpgradeTarget": 0.85,         "bandwidthDowngradeTarget": 0.95,         "restrictions": {             "minWidth": 0,             "maxWidth": null,             "minHeight": 0,             "maxHeight": null,             "minPixels": 0,             "maxPixels": null,             "minFrameRate": 0,             "maxFrameRate": null,             "minBandwidth": 0,             "maxBandwidth": null         },         "advanced": {             "minTotalBytes": 128000,             "minBytes": 16000,             "fastHalfLife": 2,             "slowHalfLife": 5         }     },     "preferredAudioLanguage": "",     "preferredTextLanguage": "",     "preferredVariantRole": "",     "preferredTextRole": "",     "preferredAudioChannelCount": 2,     "preferredVideoCodecs": [],     "preferredAudioCodecs": [],     "preferForcedSubs": false,     "preferredDecodingAttributes": [],     "restrictions": {         "minWidth": 0,         "maxWidth": null,         "minHeight": 0,         "maxHeight": null,         "minPixels": 0,         "maxPixels": null,         "minFrameRate": 0,         "maxFrameRate": null,         "minBandwidth": 0,         "maxBandwidth": null     },     "playRangeStart": 0,     "playRangeEnd": null,     "cmcd": {         "enabled": false,         "sessionId": "",         "contentId": "",         "useHeaders": false     } }
What did you do?
Update from 3.1 to 3.2.0.
Play any content.
What did you expect to happen?
The content should be played with no code changes.
No breaking changes were found in the releases (at least what I've read).
What actually happened?
The player.load() method rejects with an error object 6001: REQUESTED_KEY_SYSTEMS_UNAVAILABLE (see attached image).
3.1 shaka player versions works well. I've checked this error in the FAQ:

We are using both PlayReady and Widevine Alpha.
We are not using Storage.
Yes we are developing on unsecure origins but we tried on secure environment (prod) and we could reproduce the issue. But if this would be the issue, I couldn't understand why in 3.1 the player works well.

We want to update to 3.2 or newer versions, but this issue is blocking us a lot.

The major change from v3.1 to v3.2 is the MediaCapabilities API.  It went from opt-in on 3.1 to required in 3.2+.  My guess is that Tizen's has an implementation of MediaCapabilities, but it is broken.
This sounds like the same thing as https://github.com/shaka-project/shaka-player/issues/4357
Can you please try the patch I suggested in https://github.com/shaka-project/shaka-player/issues/4357#issuecomment-1192936935?  If that works for you, we'll get it out in an update ASAP.  But we don't have any way to test that ourselves, as our particular Tizen TV isn't affected (probably too old to have MCap at all).

Thanks for the response.
So I've tried that workaround in v4.1.2, I had to do some other work because the shaka.util.Platform doesn't exist yet, nor some other methods so with some tweaks and polyfills I manage to stop the errors and make it work, and the player worked well! It didn't throw the 6001 error anymore.
Its right to call the shaka.polyfill.MediaCapabilities.install()method from outside? Because if I don't do that, shaka itself doesn't call it.

Similar thing happens in WebOS 5.x, as it has a native implementation of MediaCapabilities, but isn't reliable. WebOS 5.x supports Playready SL3000, but returns false on support of com.microsoft.playready.recommendation. Would be good to add shaka.util.Platform.isWebOS() to the patch as well I think.

@koenoe I think it's better to block the versions that don't work. Does WebOS 6.x or WebOS 22 work correctly? (https://webostv.developer.lge.com/discover/specifications/web-engine/)
I am open to blocking specific versions.

@avelad I don't have the ability to test on WebOS 6.x or WebOS 22 at the moment, but will try to do that asap

@avelad I've just tested it on WebOS 6.3.1 and it doesn't work correctly either. I expect it to not work on WebOS 22 either, as the MediaCapability API in Tizen and WebOS just isn't very reliable in my experience.

Ok, tomorrow I’ll send a fix for it! Thanks!

Thank you @avelad. So if I understand you well, you are going to fix this in the 3.2 version right?
If that's the case, if we want to update to a newer version like v4, we would need to do this workaround for our side?

I'll cherry-pick @avelad's fix to all the branches we are currently maintaining (v3.2, v3.3, v4.0, v4.1).  See also https://github.com/shaka-project/shaka-player/blob/main/maintained-branches.md


javadoc plugin added

I have added the javadoc plugin in the project. Please check it.

seems legit


Errors can cause peer-pad to silently stop working

When using peer-pad I received an error in the console about a y.js action not being permitted. This caused peer-pad to stop updating, but I was able to continue making edits.
I refreshed my browser to see if I had lost data after the error and I did. We should do a better job of either recovering from the errors (the ideal) or letting the user know there was an issue and they should refresh (preferably not this).

We're now using peer-star-app for this, so this may have changed considerably (hopefully for the better). Please reopen this if you run into this again. Thanks!


Cluster pubsub optimizations

As it works today, Redis Cluster is configured to publish every message it receives to each and every node in the cluster.
The specific line that does that is this one: https://github.com/antirez/redis/blob/unstable/src/pubsub.c#L320
Following this thread: https://github.com/antirez/redis/issues/2672 and my suggestion here: https://github.com/antirez/redis/issues/3346, i recommend changing ioredis Redis.Cluster logic to send pubsub requests to the appropriate node according to the cluster-slots map (Or at least add a config option to make it like this).
That way, it will be possible to have large scale Redis Cluster pubsub.
I understand that it will mean that instead of having just 1 subscriber connection, we will need to have 1 for each node in the cluster.
P.S.
Its also possible to just rebuild redis with this line commented to get the same affect as my suggestion.
@luin what do you think?

As far as I understand, even we just send messages to a specified ndoe, Redis will eventually send them to all other nodes of the cluster. I don't think there's anything we can do on the client side to solve the problem.

Yea i know that, thats exactly why i opened this: https://github.com/antirez/redis/issues/3346
In addition, its possible to build a custom version of redis and comment out this line: https://github.com/antirez/redis/blob/unstable/src/pubsub.c#L320 and that will stop propagation.

Following the issue i linked above, I have created a PR on https://github.com/antirez/redis/pull/3381 that enables a user to disable cluster pubsub propagation.
I honestly don't think it will be merged because the owner of redis have different ideas for pubsub, but it still shows how it can be done.
My question remains: do you think its possible to change ioredis pubsub handling to subscribe/publish to a node based on the slots map?
I understand that:

it will only be effective for users that really disable cluster pubsub propagation
it will require 2x more redis connections, because each node will require both a subscriber and a normal client. (Unlike today that there is just 1 subscriber)

I just want to see if its feasible, if its something that more users other than me require, and how long you think it'll be to change.

Actually I also think the current way of handling cluster pubsub is not effective, and your proposal looks good to me. However, given that sending messages to specified nodes based on the slots map is not a standard that Redis has implemented, I'm hesitating to introduce this to ioredis.
Since it's not hard to implement on the client side, what do you think about creating a wrapper for that on top of ioredis?

I'll see if i can find some spare time for this

bump anyone had the time to implement this?


CLOUDP-227494: internal/pointer,stringutil: add helpers

All Submissions:

[ ] Have you signed our CLA?
[ ] Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if there is one).
[ ] Update docs/release-notes/release-notes.md if your changes should be included in the release notes for the next release.

until https://github.com/mongodb/atlas-sdk-go/pull/269 materializes in the SDK, let's use the helpers here for now.


Candidate users

Follow-up to https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/78.
Includes some housekeeping. 🧹

Depends on https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/78
Related to https://github.com/camunda/camunda-modeler/issues/3385

I rebased this on top of 4801180c85a3c5e310e3ea7bb6fa5f165c23a4a0 to include the bpmnlint-plugin-camunda-compat release.


Feature request: Circumvent location setting

Hi,
I am aware, that this is a Android issue. But is there any chance, to trick Bluetooth to believe,  that location setting is activated? I usually have location switched off to preserve battery and it’s quite inconvenient to always have to switch it on and remember to switch it off again.
Regards
TullyMore
Devices and versions:
Android 13 on Samsung Galaxy A52s 5G
Android 8.1.0 on Samsung Galaxy Tab A (2016)
Mightier Amp v0.9.6 with all permissions granted

This is possible only on Android 12+, and I tried to implement it. However, I have only an Android 11 phone so I don't know if it works.
In those Android versions there are 2 new Bluetooth permissions - scan and connect. Mightier Amp should ask for those, instead of the location one. And should work with the location setting off.

Hi,
just did a test with v0.9.8 on Android 13 on Samsung Galaxy A52s 5G and it appears to be working. Great Job!
regards


added a line in convert_to_opencv in order to convert the image into …

…RGB format

@RadhakrishnanIyer : Thanks for your contribution! The author, @areddish, has been notified to review your proposed change.

#sign-off


[Admin] Update Word landing page

Also, small tweak to Visio landing page.

Docs Build status updates of commit a7cc586:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/index.yml
:white_check_mark:Succeeded
View

docs/visio/index.yml
:white_check_mark:Succeeded
View

docs/word/index.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


"Project file is incomplete. Expected imports are missing." - for project MonoSanityClient

Cloned the repo at commit 9fa187d63efbc05eb35e9a064b39335f01c1ab27
When loading the Blazor.SLN in VS I get this error:
C:\sources\Blazor\samples\MonoSanityClient\MonoSanityClient.csproj : error  : Project file is incomplete. Expected imports are missing.
Am I missing something? :-)
Thanks.

That's very strange. I haven't seen that message. What version of VS and .NET Core are you using?
You need VS2017 15.7 Preview 1, and for .NET Core, it depends on whether you're working with Blazor.sln or an actual Blazor app created from the project templates.

If you're working on Blazor.sln, you need to open a command prompt in the solution root, run build.cmd/build.sh, and then the build system will fetch and install the correct .NET Core SDK version (currently, a nightly build of 2.1.0-preview2-). Then when you open VS, make sure your PATH variable includes the 2.1.0-preview2- version of .NET.
If you're working on an actual Blazor app created from the project template, it's much simpler. Just have .NET Core 2.1.0 Preview 1 (the released version from https://www.microsoft.com/net/download/dotnet-core/sdk-2.1.300-preview1). Open and run your project either in VS 2017 15.7 Preview 1 or on the command line as usual.

If you're unsure how to create a new Blazor project using the project template, again you need VS 2017 15.7 Preview 1, and to install the Blazor VSIX from https://dotnet.myget.org/feed/blazor-dev/package/vsix/Microsoft.VisualStudio.BlazorExtension. Then it will appear in the File->New menu: when you create an ASP.NET Core web application, one of the subtypes (alongside Razor Pages and MVC) will be Blazor.
We're only a few days away from having a public 0.1.0 release of the Blazor so it will be simpler still then.

Thanks mate, will check this out.

I'll mark this as closed since I think it's OK, but please let me know and/or reopen if there still appears to be a problem later.

I am now running on VS 2017 15.7 Preview 1 and followed the steps for 'If you're working on Blazor.sln...'.
Still for Blazor.sln I get this...

C:\sources\Blazor\samples\MonoSanityClient\MonoSanityClient.csproj : error  : Project file is incomplete. Expected imports are missing.

@ChristianWeyer  This is not Blazor related. I'm working on this problem and will update this issue with a new GitHub issue. See this link for another customer that hit this error.
cc @barrytang

@ChristianWeyer  can you verify the following file was installed?
{VSInstall}\Enterprise\MSBuild\Microsoft\VisualStudio\Managed\GeneralBrowseObject.xaml

@ChristianWeyer and @AlanJacobsSandnet   can you verify the following file was installed?
{VSInstall}\Enterprise\MSBuild\Microsoft\VisualStudio\Managed\GeneralBrowseObject.xaml

Hi
I have the GeneralBrowseObject.xaml in the folder
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\VisualStudio\Managed
I have attached a copy to this e-mail.
Kind Regards,
Alan Jacobs
From: Rick Anderson<EMAIL_ADDRESS>Sent: 23 March 2018 18:11
To: aspnet/Blazor<EMAIL_ADDRESS>Cc: AlanJacobsSandnet<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [aspnet/Blazor] "Project file is incomplete. Expected imports are missing." - for project MonoSanityClient (#279)
@ChristianWeyer and @AlanJacobsSandnet can you verify the following file was installed?
{VSInstall}\Enterprise\MSBuild\Microsoft\VisualStudio\Managed\GeneralBrowseObject.xaml
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/aspnet/Blazor/issues/279#issuecomment-375754823 , or mute the thread https://github.com/notifications/unsubscribe-auth/Aj8-kovgbsmzU7QfiQjzi7FCiXwxv6EHks5thTrOgaJpZM4St8bw .  https://github.com/notifications/beacon/Aj8-kq_aI7jODu0qv5ug6mhtcW7k2srOks5thTrOgaJpZM4St8bw.gif

I also have C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\Managed\GeneralBrowserObject.xaml installed but am seeing the same issue.

<Project Sdk="MSBuild.Sdk.Extras">
  <PropertyGroup>
    <TargetFramework>net461</TargetFramework>
  </PropertyGroup>
  <ItemGroup>
    <None Remove="MultilingualResources\WeinCad.Controls.de.xlf" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="Appccelerate.AsyncModule" Version="1.0.98" />
    <PackageReference Include="Appccelerate.Fundamentals" Version="2.8.0" />
    <PackageReference Include="Appccelerate.StateMachine" Version="4.4.0" />
    <PackageReference Include="Castle.Core" Version="3.2.0" />
    <PackageReference Include="Expression.Blend.Sdk" Version="1.0.2" />
    <PackageReference Include="Fody" Version="2.1.3" />
    <PackageReference Include="FSharp.Core" Version="4.2.3" />
    <PackageReference Include="FluentValidation" Version="7.1.1" />
    <PackageReference Include="I18N.Reactive" Version="4.1.2" />
    <PackageReference Include="LanguageExt.Core" Version="2.1.32" />
    <PackageReference Include="MahApps.Metro" Version="1.5.0" />
    <PackageReference Include="Microsoft.WindowsAPICodePack-Core" Version="<IP_ADDRESS>" />
    <PackageReference Include="Microsoft.WindowsAPICodePack-Shell" Version="<IP_ADDRESS>" />
    <PackageReference Include="Newtonsoft.Json" Version="11.0.1" />
    <PackageReference Include="Ninject" Version="<IP_ADDRESS>" />
    <PackageReference Include="Ninject.Extensions.NamedScope" Version="<IP_ADDRESS>" />
    <PackageReference Include="Serilog" Version="2.6.0" />
    <PackageReference Include="System.Diagnostics.Debug" Version="4.3.0" />
    <PackageReference Include="System.Interactive" Version="3.1.1" />
    <PackageReference Include="System.ValueTuple" Version="4.4.0" />
    <PackageReference Include="Unofficial.Blend.Interactivity" Version="1.0.0" />
    <PackageReference Include="Weingartner.Exceptional" Version="1.7.4-ci.2" />
    <PackageReference Include="Weingartner.Json.Migration" Version="311.0.0" />
    <PackageReference Include="Weingartner.ReactiveUI.Fody" Version="2.3.0-alpha.10" PrivateAssets="All" />
    <PackageReference Include="devDept.Eyeshot" Version="11.0.512" />
  </ItemGroup>
  <ItemGroup>
    <Reference Include="ReachFramework" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\Safenet\Weingartner.Products\Weingartner.Products.fsproj" />
    <ProjectReference Include="..\Safenet\Weingartner.Safenet\Weingartner.Safenet.fsproj" />
    <ProjectReference Include="..\Weingartner.Controls\Weingartner.Controls.csproj" />
  </ItemGroup>
  <ItemGroup>
    <Resource Include="View\WeinLogo.gif" />
  </ItemGroup>
  <ItemGroup>
    <XliffResource Include="MultilingualResources\WeinCad.Controls.de.xlf" />
  </ItemGroup>

  <ItemGroup>
    <EmbeddedResource Update="Properties\Resources.de.resx" />
    <Compile Update="Properties\Resources.resx.cs">
      <DesignTime>True</DesignTime>
      <AutoGen>True</AutoGen>
      <DependentUpon>Resources.resx</DependentUpon>
    </Compile>
    <EmbeddedResource Update="Properties\Resources.resx">
      <Generator>I18NReactive</Generator>
      <LastGenOutput>Resources.resx.cs</LastGenOutput>
    </EmbeddedResource>
  </ItemGroup>
</Project>

and
Directory.Build.props
<Project>

  <!-- Read https://msdn.microsoft.com/en-us/library/ms164309.aspx -->
  <PropertyGroup Label="Globals">
    <!-- Import this project to support WPF building in a .Net 461 SDK project -->
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
    <GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
  </PropertyGroup>

  <!-- Ensure T4 is run correctory -->
  <ItemGroup>
    <None Include="**\*.tt">
      <Generator>TextTemplatingFileGenerator</Generator>
    </None>
  </ItemGroup>

  <!-- Ensure that if a FodyWeavers file is there then it is included -->
  <ItemGroup>
    <None Include="FodyWeavers.xml" Condition="Exists('FodyWeavers.xml')"/>
  </ItemGroup>

  <ItemGroup>
    <EmbeddedResource Update="**\Resources.resx" LastGenOutput="Resources.resx.cs">
      <Generator>I18NReactive</Generator>
    </EmbeddedResource>
  </ItemGroup>

  <PropertyGroup>
    <LangVersion>latest</LangVersion>
  </PropertyGroup>

 <PropertyGroup Label="MultilingualAppToolkit">
    <MultilingualAppToolkitVersion>4.0</MultilingualAppToolkitVersion>
    <MultilingualFallbackLanguage>en-US</MultilingualFallbackLanguage>
    <NeutralLanguage>en-Us</NeutralLanguage>
    <TranslationReport Condition="'$(Configuration)' == 'Release'">true</TranslationReport>
    <SuppressPseudoWarning Condition="'$(Configuration)' == 'Debug'">true</SuppressPseudoWarning>
  </PropertyGroup>

  <PropertyGroup >
    <NoWarn>NU1602</NoWarn>
  </PropertyGroup>

  <Import Project="$(MSBuildExtensionsPath)\Microsoft\Multilingual App Toolkit\Microsoft.Multilingual.ResxResources.targets" Label="MultilingualAppToolkit" Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\Multilingual App Toolkit\v$(MultilingualAppToolkitVersion)\Microsoft.Multilingual.ResxResources.targets')" />
  <Target Name="MATPrerequisite" BeforeTargets="PrepareForBuild" Condition="!Exists('$(MSBuildExtensionsPath)\Microsoft\Multilingual App Toolkit\Microsoft.Multilingual.ResxResources.targets')" Label="MultilingualAppToolkit">
    <Warning Text="$(MSBuildProjectFile) is Multilingual build enabled, but the Multilingual App Toolkit is unavailable during the build. If building with Visual Studio, please check to ensure that toolkit is properly installed." />
  </Target>

   <!-- Inject the git branch into the assembly metadata of all dlls -->
   <PropertyGroup>
       <GitBranch Condition="'$(GitBranch)' == ''">Not available</GitBranch>
   </PropertyGroup>
  <ItemGroup>
    <AssemblyAttribute Include="System.Reflection.AssemblyMetadata">
      <_Parameter1>GitBranch</_Parameter1>
      <_Parameter2>$(GitBranch)</_Parameter2>
    </AssemblyAttribute>
  </ItemGroup>

</Project>

and
global.json
{
    "msbuild-sdks": {
        "MSBuild.Sdk.Extras": "1.2.2"
    }
}

** Update **
I did a repair on the install of Visual Studio ( All is now well :) ) Maybe that helps you too.

Sorry @Rick-Anderson - I was on vacation ;-)
Yes, {VSInstall}\Enterprise\MSBuild\Microsoft\VisualStudio\Managed\GeneralBrowseObject.xaml is installed.

Also sorry for my silence over the Easter vacation...
I have installed the VS Community (Preview 15.7.0 Preview 2) and am still experiencing this problem - even after repairing the installation this morning. For expediency I am now building my web site as a an ASP.NET web application and this release of VS is handling that OK.
Do please let me know if you wish me to check out any of the suggestions from David Kean or Ryan Nowak above.

@Ryan Nowak
My path settings are as follows ( I added a new line after each ; for ease of reading)
PATH=
C:\Program Files\PHP\v7.1;
C:\ProgramData\Oracle\Java\javapath;
C:\Program Files\Common Files\Microsoft Shared\Windows Live;
C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;
C:\Perl64\site\bin;
C:\Perl64\bin;
C:\WINDOWS\system32;
C:\WINDOWS;
C:\WINDOWS\System32\Wbem;
C:\WINDOWS\System32\WindowsPowerShell\v1.0;
C:\Program Files (x86)\Common Files\Acronis\SnapAPI;
C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys;
C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\x64;
C:\Program Files (x86)\Windows Live\Shared;
C:\Program Files\Microsoft SQL Server\100\DTS\Binn;
C:\Program Files (x86)\Acronis\TrueImageHome;
C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit;
C:\Program Files\Microsoft SQL Server\110\Tools\Binn\Binn??????;
C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;
C:\Program Files\IDM Computer Solutions\UltraEdit;
C:\Program Files (x86)\Common Files\Acronis\VirtualFile;
C:\Program Files (x86)\Common Files\Acronis\VirtualFile64;
C:\Program File;
C:\ProgramData\ComposerSetup\bin;
C:\Program Files\Git\cmd;
C:\Program Files\dotnet;
C:\Program Files\Microsoft SQL Server\130\Tools\Binn;
"C:\Users\Alan\AppData\Local\Microsoft\WindowsApps;
D:\Drupal\PHP7";
C:\Users\Alan\AppData\Roaming\Composer\vendor\bin
If I try to run dotnet --list-sdks I get the following:
…which probably demonstrates that I don’t know how to use the dotnet command!
Alan
From: Ryan Nowak<EMAIL_ADDRESS>Sent: 09 April 2018 21:20
To: aspnet/Blazor<EMAIL_ADDRESS>Cc: AlanJacobsSandnet<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [aspnet/Blazor] "Project file is incomplete. Expected imports are missing." - for project MonoSanityClient (#279)
@AlanJacobsSandnet https://github.com/AlanJacobsSandnet  - do you have dotnet on your %PATH%?
If you do a dotnet --list-sdks at the command line, what does it output?
This kind of problem can occur if you have an older version on the path that isn't being used.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/aspnet/Blazor/issues/279#issuecomment-379881156 , or mute the thread https://github.com/notifications/unsubscribe-auth/Aj8-khWj2UKuNinjwfdyxMkXPJU0I4lCks5tm8J_gaJpZM4St8bw .  https://github.com/notifications/beacon/Aj8-khWnFVh0FL6tpNVcIb_bXqBE7pZdks5tm8J_gaJpZM4St8bw.gif

Further to the above...
This is the output for dotnet --info:
.NET Command Line Tools (2.1.200-preview-007474)
Product Information:
Version:            2.1.200-preview-007474
Commit SHA-1 hash:  06ce7628d3
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.16299
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\2.1.200-preview-007474\
Microsoft .NET Core Shared Framework Host
Version  : 2.0.6
Build    : 74b1c703813c8910df5b96f304b0f2b78cdf194d

Version: 2.1.200-preview-007474

That would be the issue then! Blazor requires the newest preview of the dotnet CLI https://github.com/aspnet/Blazor#getting-started

OK – I’ve downloaded and installed the latest dotnet CLI 2.1.300 Preview and my dotnet command now has the --list-sdks option
The command output shows:
2.1.200-preview-007474 [C:\Program Files\dotnet\sdk]
2.1.300-preview1-008174 [C:\Program Files\dotnet\sdk]
BUT I am still unable to get VS to load the project file created from the ASP.NET Core Web Application template.
I have also built and successfully run the starter razor project using the latest installed dotnet command:
dotnet new razor -o RazorPagesMovie
cd RazorPagesMovie
dotnet run
I then tried to open the RazorPagesMovie.csproj file in VS but got the same behaviour: "Project file is incomplete. Expected imports are missing."
This feels to me like my VS setup is missing some important piece of configuration such as a PATH setting…
From: Ryan Nowak<EMAIL_ADDRESS>Sent: 10 April 2018 16:58
To: aspnet/Blazor<EMAIL_ADDRESS>Cc: AlanJacobsSandnet<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [aspnet/Blazor] "Project file is incomplete. Expected imports are missing." - for project MonoSanityClient (#279)
Version: 2.1.200-preview-007474
That would be the issue then! Blazor requires the newest preview of the dotnet CLI https://github.com/aspnet/Blazor#getting-started
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/aspnet/Blazor/issues/279#issuecomment-380153657 , or mute the thread https://github.com/notifications/unsubscribe-auth/Aj8-kuUbB_lfdnAzp6jAFsnnajzxN2ecks5tnNaTgaJpZM4St8bw .  https://github.com/notifications/beacon/Aj8-ko-gEByWOB7kl72O-Pvm58BT-sftks5tnNaTgaJpZM4St8bw.gif

@rynowak  writes:

That would be the issue then! Blazor requires the newest preview of the dotnet CLI

@AlanJacobsSandnet  writes:

I am getting something very similar when trying to create any ASP.NET Core project from in VS2017

I've got several customers getting this error creating Razor Pages projects.

I am getting something very similar when trying to create any ASP.NET Core project from in VS2017

If that's the case then, I think https://developercommunity.visualstudio.com/spaces/8/index.html is the right place to take this. Sorry I'm not able to help more.

@rynowak OK - will do! Thanks in any case for taking the time to try to resolve this. For expediency I am building my website now with ASP.Net Web Forms. I hope that once I have something working and deployed with that solution I can look at redoing the work using ASP Net Core.

@AlanJacobsSandnet It's not an easy migration from Web Forms to Razor Pages.  Razor Pages have alot of advantages over Web Forms. You could try uninstalling/reinstalling VS.

@Rick-Anderson - thanks for all your comments and suggestions as well.
I am expecting in effect a total rewrite moving from Web Forms to Razor Pages - this will be a learning exercise for me. I'll try to post my experiences somewhere. Any migration exercise will be after the end of May.
This problem with VS has persisted over the last several weeks through several install/uninstall/install cycles including a total uninstall of all previously installed versions and a move to the latest preview, 15.7.0 Release 2. I'll pursue this through https://developercommunity.visualstudio.com/spaces/8/index.html as Ryan advised.

I was with this problem opening an existing project.
I solved this updating the global.json file for the correct .net core version.

@urielgoncalves: where will I find the global.json file on my machine?

AlanJacobsSandnet
global.json is in the solution directory

Thanks @VoodooSV but my solution directory contains just a solution file (.sln), a folder for each project in the solution and a hidden .vs folder.

@AlanJacobsSandnet Sorry for the delay. I suggest you to look at this if you have not already.
https://docs.microsoft.com/hu-hu/dotnet/core/tools/global-json
;)

I faced this today. I could open my VS Solution with 21 project. 20 (Class Library) got loaded and built successfully except of the one (ASP.NET Core Web App).
The reason was due to file global.json in VS Solution root
{
  "sdk": {
    "version": "2.0.2"
  }
}

where it requires .NET Core SDK 2.0.2, which I didn't have installed.

@AlanJacobsSandnet (and others who might run into this) in my case, the global.json was not in the directory with the .sln, but one layer above. It referenced .NET Core version 2.1.300. I ran dotnet --list-sdks to see which SDKs I actually have, and changed the file to 2.1.403. That fixed various weird errors in VS.

I can imagine this happens when;

The SDK doesn't indirectly import Microsoft.Net.Sdk or Microsoft.CSharp.targets
The SDK isn't installed

This is true. My problem was solved when I've installed x86 version from .NET SDK Core. Just x64 doesn't work because my VS2017 is x86.

Finally solved this in my case when reinstalling VS2019 a few weeks ago. I discovered that my PATH setting had been damaged by installing (or perhaps uninstalling) another application. This is the offending fragment:
"C:\Users\Alan\AppData\Local\Microsoft\WindowsApps;
D:\Drupal\PHP7";
C:\Users\Alan\AppData\Roaming\Composer\vendor\bin
It seems that the double quotes stop the parsing of the path settings and that the settings I needed for VS were further down the PATH list. Removing the two lines containing the double quotes allowed me to load the project file successfully.


container: creating a Cluster with enableAutopilot: true leads to refresh failures

What happened?
How can we reproduce it?
Configure provider-gcp as usual, then deploy a simple autopilot-based cluster
apiVersion: container.gcp.upbound.io/v1beta1
kind: Cluster
metadata:
  name: cluster-autopilot
spec:
  forProvider:
    location: europe-north1
    enableAutopilot: true
    ipAllocationPolicy:
    - {}

The cluster provisions successfully, however during reconciliation, observe fails with a large number of conflicting configurations:
Status:
  At Provider:
  Conditions:
    Last Transition Time:  2023-03-16T12:08:35Z
    Reason:                Creating
    Status:                False
    Type:                  Ready
    Last Transition Time:  2023-03-16T12:47:43Z
    Message:               observe failed: cannot run refresh: refresh failed: Conflicting configuration arguments: "addons_config.0.dns_cache_config": conflicts with enable_autopilot
Conflicting configuration arguments: "addons_config.0.network_policy_config": conflicts with enable_autopilot
Conflicting configuration arguments: "addons_config.0.gcp_filestore_csi_driver_config": conflicts with enable_autopilot
Conflicting configuration arguments: "default_max_pods_per_node": conflicts with enable_autopilot
Conflicting configuration arguments: "enable_shielded_nodes": conflicts with enable_autopilot
Conflicting configuration arguments: "enable_intranode_visibility": conflicts with enable_autopilot
Conflicting configuration arguments: "cluster_autoscaling.0.enabled": conflicts with enable_autopilot
Conflicting configuration arguments: "cluster_autoscaling.0.resource_limits": conflicts with enable_autopilot
Conflicting configuration arguments: "network_policy": conflicts with enable_autopilot
Conflicting configuration arguments: "workload_identity_config": conflicts with enable_autopilot

What environment did it happen in?

Universal Crossplane Version: 1.11.2-up.1
Provider Version: v0.29.0
Kubernetes version: 1.25.3
Kubernetes distribution: kind

I think we need an option to set late initialisers via configmao
https://github.com/crossplane/terrajet/blob/main/docs/configuring-a-resource.md#late-initialization-configuration

Fix PR: https://github.com/upbound/provider-gcp/pull/258


Warning load_default_certs in HA 2024.9

Describe the bug
noticed the following warning during startup Home Assistant with 2024.9
-------------------------------------------------------------------
smartthinq_sensors
Version: 0.39.2
This is a custom component
If you have any issues with this you need to open an issue here:
https://github.com/ollo69/ha-smartthinq-sensors/issues
-------------------------------------------------------------------

2024-09-04 18:51:09.826 INFO (MainThread) [custom_components.smartthinq_sensors] Initializing ThinQ platform with region: US - language: en-US

2024-09-04 18:51:10.098 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to load_default_certs with args (<ssl.SSLContext object at 0x7f02d90b2650>, <Purpose.SERVER_AUTH: _ASN1Object(nid=129, shortname='serverAuth', longname='TLS Web Server Authentication', oid='<IP_ADDRESS>.<IP_ADDRESS>.1')>) inside the event loop by custom integration 'smartthinq_sensors' at custom_components/smartthinq_sensors/wideq/core_async.py, line 149: context = ssl.create_default_context() (offender: /usr/local/lib/python3.12/ssl.py, line 713: context.load_default_certs(purpose)), please create a bug report at https://github.com/ollo69/ha-smartthinq-sensors/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#load_default_certs
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component
    result = await _async_setup_component(hass, domain, config)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 461, in _async_setup_component
    await asyncio.gather(
  File "/usr/src/homeassistant/homeassistant/setup.py", line 463, in <genexpr>
    create_eager_task(
  File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
    return Task(coro, loop=loop, name=name, eager_start=True)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 752, in async_setup_locked
    await self.async_setup(hass, integration=integration)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/smartthinq_sensors/__init__.py", line 269, in async_setup_entry
    client = await lge_auth.create_client_from_token(
  File "/config/custom_components/smartthinq_sensors/__init__.py", line 153, in create_client_from_token
    return await ClientAsync.from_token(
  File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1597, in from_token
    gateway = await Gateway.discover(core)
  File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 750, in discover
    gw_info = await core.gateway_info()
  File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 456, in gateway_info
    result = await self.thinq2_get(V2_GATEWAY_URL)
  File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 338, in thinq2_get
    async with self._get_session().get(
  File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 223, in _get_session
    self._session = lg_client_session()
  File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 149, in lg_client_session
    context = ssl.create_default_context()

Same thing in my logs as well since HA update to 2024.9 (HACS 2.0.1).
Logger: homeassistant.util.loop
Source: util/loop.py:136
First occurred: 12:58:38 PM (1 occurrences)
Last logged: 12:58:38 PM

Detected blocking call to load_default_certs with args (<ssl.SSLContext object at 0x7f5a420dd0>, <Purpose.SERVER_AUTH: _ASN1Object(nid=129, shortname='serverAuth', longname='TLS Web Server Authentication', oid='<IP_ADDRESS>.<IP_ADDRESS>.1')>) inside the event loop by custom integration 'smartthinq_sensors' at custom_components/smartthinq_sensors/wideq/core_async.py, line 149: context = ssl.create_default_context() (offender: /usr/local/lib/python3.12/ssl.py, line 713: context.load_default_certs(purpose)), please create a bug report at https://github.com/ollo69/ha-smartthinq-sensors/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#load_default_certs Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component result = await _async_setup_component(hass, domain, config) File "/usr/src/homeassistant/homeassistant/setup.py", line 461, in _async_setup_component await asyncio.gather( File "/usr/src/homeassistant/homeassistant/setup.py", line 463, in <genexpr> create_eager_task( File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task return Task(coro, loop=loop, name=name, eager_start=True) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 752, in async_setup_locked await self.async_setup(hass, integration=integration) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/smartthinq_sensors/__init__.py", line 269, in async_setup_entry client = await lge_auth.create_client_from_token( File "/config/custom_components/smartthinq_sensors/__init__.py", line 153, in create_client_from_token return await ClientAsync.from_token( File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1597, in from_token gateway = await Gateway.discover(core) File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 750, in discover gw_info = await core.gateway_info() File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 456, in gateway_info result = await self.thinq2_get(V2_GATEWAY_URL) File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 338, in thinq2_get async with self._get_session().get( File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 223, in _get_session self._session = lg_client_session() File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 149, in lg_client_session context = ssl.create_default_context()

Closed by #791


Potentially Mismatch CHAINS and PROVIDERS

Trying to debug the following error
You may need to add `jsonRpcProvider` to `configureChains` with the chain's RPC URLs.
Read more: https://wagmi.sh/core/providers/jsonRpc
    at configureChains (webpack-internal:///(sc_client)/./node_modules/.pnpm/@wagmi+core@0.9.7_@babel+core@7.18.5_@types+node@17.0.45_encoding@0.1.13_ethers@5.7.2_react@18.2.0_typescript@4.9.4/node_modules/@wagmi/core/dist/chunk-55IO54NW.js:124:13)
    at eval (webpack-internal:///(sc_client)/./config/networks.ts:71:86)
    at (sc_client)/./config/networks.ts (/Users/zzn/ws/d3ns-dapp/.next/server/app/(general)/page.js:4398:1)
    at __webpack_require__ (/Users/zzn/ws/d3ns-dapp/.next/server/webpack-runtime.js:33:43)
    at eval (webpack-internal:///(sc_client)/./components/providers/rainbow-kit.tsx:18:74)
    at (sc_client)/./components/providers/rainbow-kit.tsx (/Users/zzn/ws/d3ns-dapp/.next/server/app/(general)/page.js:4222:1)
    at __webpack_require__ (/Users/zzn/ws/d3ns-dapp/.next/server/webpack-runtime.js:33:43)
    at eval (webpack-internal:///(sc_client)/./components/providers/root-provider.tsx:15:91)
    at (sc_client)/./components/providers/root-provider.tsx (/Users/zzn/ws/d3ns-dapp/.next/server/app/(general)/page.js:4233:1)
    at __webpack_require__ (/Users/zzn/ws/d3ns-dapp/.next/server/webpack-runtime.js:33:43)
    at eval (webpack-internal:///(sc_client)/./app/layout.tsx:18:93)
    at (sc_client)/./app/layout.tsx (/Users/zzn/ws/d3ns-dapp/.next/server/app/(general)/page.js:4134:1)
    at __webpack_require__ (/Users/zzn/ws/d3ns-dapp/.next/server/webpack-runtime.js:33:43)
    at /Users/zzn/ws/d3ns-dapp/node_modules/.pnpm/next@13.1.1_@babel+core@7.18.5_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/react-server-dom-webpack/client.js:918:337

To reproduce

Checkout the commit at c8f962bff8068b7da4ac4d70015ac3851c051e16
Fill in the .env file with required variables, excluding NEXT_PUBLIC_USE_PUBLIC_PROVIDER=true
pnpm install and then pnpm run dev

Error appears as the section above.
Debug
As per
https://github.com/turbo-eth/template-web3-app/blob/c8f962bff8068b7da4ac4d70015ac3851c051e16/config/networks.ts#L22
https://github.com/turbo-eth/template-web3-app/blob/c8f962bff8068b7da4ac4d70015ac3851c051e16/config/networks.ts#L44-L46
Likely Root Cause
It seems the wagmi require the list of chain (identified in network.ts as CHAINS) to be a subset of the list of supported chains supported by jsonRpcProviders (identified as PROVIDERs).
Propose fix:
Change the way to populate CHAINS to match with how PROVIDERs was added.
Something like
let providers =
if (process.env.NEXT_PUBLIC_ALCHEMY_API_KEY) PROVIDERS.push(alchemyProvider(...));
if (process.env.NEXT_PUBLIC_INFURA_API_KEY) PROVIDERS.push(infuraProvider(...));
if (process.env.NEXT_PUBLIC_USE_PUBLIC_PROVIDER) PROVIDERS.push(publicProvider());
PROVIDERS.forEach(() => {
let supportedChains = getSupportedChainsByProvider(provider); # Needs to find out or create a manual map
CHAINS.push(supportedChains);
}
CHAINS = deduplicate(CHAINS);
// @ts-ignore
export const { chains, provider } = configureChains(CHAINS, [...PROVIDERS])

Closing issue. Solution added to the main branch in pull request https://github.com/turbo-eth/template-web3-app/pull/47
Still needs to be added to integrations branch.


Update changelog.md

Formatting fixes

@cwarnermm The numbering formatting looks incorrect, do you have a suggestion on how to fix that?https://docs.mattermost.com/administration/changelog.html#upcoming-deprecations-in-mattermost-v6-0

@amyblais - I have a fix for the numbered/bulleted formatting issue via https://github.com/mattermost/docs/pull/4689


Python package 'netrc' was missing

When having all our Yocto meta layers at master, the iohttp server was failing because netrc (python3-netrc) was missing.
This was not the case when having all our Yocto layers at Rocko.
It's not fully clear for me why netrc was not installed anymore.
Anyhow, please feel free to merge or to wait for a better solution.

Thanks. The python3 package got restructured in sumo. So I guess the dependency got lost.


Pin output extremly slow

Changing the value of a Pin with the pin method is extremely slow. It takes about 2.5 ms (!) to change the pin output level. A 0/1 burst then has a frequency of 200 Hz.
Other micropython port are in the range of 1-4 µs, 1000 times faster.
Is there any way to speed this slow pace?
Test code:
from machine import Pin
p1 = Pin("D1", Pin.OUT, value=1)

def run():
    global p1
    p = p1
    p.value(0);p.value(1)
    p.value(0);p.value(1)
    p.value(0);p.value(1)
    p.value(0);p.value(1)
    p.value(0);p.value(1)
    p.value(0);p.value(1)
    p.value(0);p.value(1)
    p.value(0);p.value(1)
    p.value(0);p.value(1)
    p.value(0);p.value(1)

run()

Hi @robert-hh,
We will look into some possibilities to speed up the GPIO accesses in future Digi XBee firmware releases. No guarantees on when this would be completed or how much faster things can get, but I think we may be able to get into the rough ballpark of the speeds of other ports, at least for the time it takes to execute a single .value call.

Hi @mikewadsten, thanks for the reply. It's not urgent. I just tried to implement a SPI link using Pin bitbanging. Even if it worked in principal, it is too slow. The Digi MicroPython port is pretty good, especially the documentation. You had to make a choice about what to include and what to drop.
I like the easy ways of compiling on-board and bundling frozen code. That's definitely something that would be good for the main line, given the confusion about mpy-cross versions and the complexity to freeze code.

@robert-hh, I'd like to see some of the work to implement os.bundle() get merged upstream, but it got entwined with the XBee platform code a bit.  If there was someone interested in doing the porting work, I imagine we could hand off some of the key code pieces for integration on another port, hopefully with a cleaner split between generalized code for relocating byte code from heap to addressable flash, and the platform code necessary to write it to flash.

@tomlogic I recall faintly some discussion about a os.bundle() or os.compile() logic in the forum or repository. Maybe there is a PR. I have the impression that this was dropped in favor of native C modules. And there is also the discussion open about embedded Python modules. But even with XBEE, if you want to bundle a large python script then you have to cross-compile that externally.
B.T.W.: Do you or @mikewadsten know whether pins in Pin.OUT mode are configured with strong drivers = 20 mA drive capability?

@robert-hh Which XBee device(s) are you using?

@mikewadsten It's an XBEE 3, model XB3-24Z8PT-J (very fine print on the label)

I'm not sure what the drive strength is for that hardware or what (if any) configuration for drive strength exists on XBee 3 Zigbee. You can probably get an answer by emailing tech.support AT digi.com

@robert-hh, in our case, MicroPython runs as a separate task, and the end-user doesn't have the ability to compile their own firmware.  Use of .mpy files allows for source code that can't be compiled on device due to limited heap space.  But then relocating that byte code to flash allows for maximal run-time use of that limited heap.

But then relocating that byte code to flash allows for maximal run-time use of that limited heap.

That's what I'm doing.

Was any progress ever made with regard to the original slow pin value calls?

No progress was reported. And I lost that port out of focus.

Hi,
Any update on the slow pin value call issue?

I'm also looking for an answer to this and this is one of the few threads I've found. Running MicroPython on XBee 3 the digital output is very slow on the XB3-24 module. I'm seeing just under 2.5 ms to set the output. Tried firmware 300D and 3012, and it's the same. I'm using the TH module. Using machine library, same as above.
Any feedback is greatly appreciated.

@NathanPeter Put simply, the MicroPython implementation on XBee 3 modules (XB3-24, XB3-C-*) is designed for adding simple edge intelligence to the module (e.g. upon receipt of a certain message, set a digital output, or do some I2C communication), not for bit-banging or other high-speed digital interfacing. We do have an internal ticket tracking this request, but it has not been prioritized. If you have are in touch with Digi sales, please contact them to raise this request.
Out of curiosity, what are you trying to accomplish using digital pin output where the slow GPIO access is an issue?

Hi Mike,
Thanks for the quick reply. It’s just so much slower - like by a factor of 1000 - than one might expect so I thought maybe I’m doing something wrong or there’s a workaround. The fact that there’s a microcontroller in the XBee is great and it’s really nice not to have an additional controller if possible, so that’s my goal. It saves a lot of hassle at production.
I’m currently using the XBee3 in my product (qty 500 deployed across western Canada) with a character display that communicates with i2c and that is working fine. I’m also looking at another display that is parallel or SPI. SPI isn’t an option with the XBee3, so I’ve tested the parallel and it works but it’s slow enough that the text appears to scroll across (I use a pair of 4x20 character OLED modules). So it ‘works’ but just trying to see if it can be more responsive.
I’m not already in touch with Digi sales. I’m sure there would be many other applications that could use the faster DIO, and also SPI while they’re at it.

Nathan
(306) 227-2023
On Feb 28, 2024, at 7:25 PM, Mike Wadsten @.***> wrote:

@NathanPeterhttps://github.com/NathanPeter Put simply, the MicroPython implementation on XBee 3 modules (XB3-24, XB3-C-*) is designed for adding simple edge intelligence to the module (e.g. upon receipt of a certain message, set a digital output, or do some I2C communication), not for bit-banging or other high-speed digital interfacing. We do have an internal ticket tracking this request, but it has not been prioritized. If you have are in touch with Digi sales, please contact them to raise this request.
Out of curiosity, what are you trying to accomplish using digital pin output where the slow GPIO access is an issue?
—
Reply to this email directly, view it on GitHubhttps://github.com/digidotcom/xbee-micropython/issues/55#issuecomment-1970211501, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVKHDISZPL2P3GVK64BCPMDYV7KJJAVCNFSM4RUTOCIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJXGAZDCMJVGAYQ.
You are receiving this because you were mentioned.Message ID: @.***>


Properly test maxsize in File transport

This is 90% of the way there, but there is an off-by-one error in what content is flushed to the individual files. The example is somewhat contrived.

@ChrisAlderson this is the current source of pain that I've been down the rabbit hole on. The test is designed to write exactly the maxSize number of bytes of a single character (starting with a) to the Transport then await the open event where it tracks the next file and repeats N times (first a then b, then c and so on).
The behavior that we expect is:

testmaxsize.log is all a's
testmaxsize1.log is all b's
testmaxsize2.log is all c's
testmaxsize3.log is all d's
testmaxsize4.log is all e's
testmaxsize5.log is empty

The behavior that we get is:

testmaxsize.log is never created on disk despite it 100% being opened with fs.createWriteStream.
testmaxsize1.log is all b's
testmaxsize2.log is all c's
testmaxsize3.log is all d's
testmaxsize4.log is all e's
testmaxsize5.log is empty

... I cannot for the life of me figure out why the first file is never created on disk.

Here is a copy of the debug output to give more specific context.

It seems like the event listener for the open even in the test is initialized too late for the first open event to be caught, so the first file is never pushed to the files array in the test. So here is what's happening in the test:

const trans = new FileTransport // Create the file transport at the top of the test script.
this.open() // Get's called which will create the file.
emit('open') // Fires the event when the file is opened, but the listener in the test is not initialized yet.
trans.on('open') // Now we listen for the 'open' event.

But the the other files (testmaxsize1.log etc). The trans.on('open') listener is already listening for the events. So the suffixed files get pushed to the files array and their results are asserted.
So I changed the test so the file transport is created in the test case, but it still has some problems:

setTimeout(() => logKbytes(4), 1000); is needed or else maxsizeTransport._dest is undefined. See #1174.
assume(text[0]).equals(fillWith[i]); doesn't work on the last file because it's emty.
assume(stats.size).equals(4096); fails because the eol also add a byte per line.
const filler = fillWith.shift(); don't use shift.

Thank you for those things out @ChrisAlderson – was getting a serious case of repetition blindness in that test. Going to take another pass at it – have some ideas about the remaining issues you highlighted.

Got to the bottom of it @ChrisAlderson – thanks again for your help.

The .push to the files array should have been below the base case for the recursion.
Used the 1023 length trick you suggested.
Reverted back to using the .shift approach – there was an immediate .push to put the char back at the end of the array to make them rotate.

Great, glad I could help :+1:


MGDOBR-72: add liveness and readiness probe checks to ingress and executor deployments

MGDOBR-72
This PR aims to add the liveness and readiness probe checks to the ingress and executor deployements.
Please make sure that your PR meets the following requirements:

[x] Your code is properly formatted according to this configuration
[x] Your commit messages are clear and reference the JIRA issue e.g: "[MGDOBR-1] - $clear_explanation_of_what_you_did"
[x] All new functionality is tested
[x] Pull Request title is properly formatted: MGDOBR-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

Looks like integration tests will need to use real images instead of mocks (and install Kafka into KinD).

Looks like integration tests will need to use real images instead of mocks (and install Kafka into KinD).

@r00ta Apologies, accidentally closed this PR.

@sutaakar Alternatively, just mount a ConfigMap containing dummy HTML onto the docroot on the nginx container at /q/health/live and /q/health/ready

@r00ta Does this cause the pods to CrashLoopBackOff if the internal Kafka is unavailable?

Looks like integration tests will need to use real images instead of mocks (and install Kafka into KinD).

Yeah.. with the new liveness/readiness probes we expect some endpoints to be available (/q/health/live and /q/health/ready), and nginx image we are using now does not expose them.
For this tests we could also create an empty quarkus application that exposes those endpoints, push it to quay and use them in the tests. wdyt @sutaakar ?

@r00ta Does this cause the pods to CrashLoopBackOff if the internal Kafka is unavailable?

If kafka is not available the readiness/liveness checks will fail and kubernetes will keep trying to re-deploy the pod

@r00ta Yes, that may be better option as Kafka is quite resource heavy.

@sutaakar / @r00ta If we can avoid creating another app to maintain, that would be 👍
So what I'm thinking here is ConfigMap with HTML in it:
apiVersion: v1
data:
  index: |-

I'm Alive

kind: ConfigMap
metadata:
  name: html-for-liveness-and-readiness

And then just mount ^ onto the pod for Nginx at the correct location e.g. if docroot is /var/www/nginx:
spec:
  containers:
    - image: nginx
      ...
      volumeMounts:
        - mountPath: /var/www/nginx/q/health/live/index.html
          name: index
        - mountPath: /var/www/nginx/q/health/ready/index.html
         name: index
  volumes:
    - configMap:
        defaultMode: 420
        name: html-for-liveness-and-readiness
      name: index

Well, the Deployment is completely managed by operator. So currently we can do such workaround, though it may become unusable when/if operator will monitor resources for changes.

@sutaakar @robpblake I've created an empty quarkus application with the health addon enabled and pushed it here https://quay.io/repository/jrota/openbridge-empty-it-image?tab=info . If you are ok with this approach, I can create this repo under our quay organization and push it here. I don't think we need to push the code somewhere, because It's just the quarkus getting-started + the heath addon

Tests are green with ^^ image

fine for me

Works for me @r00ta . Thanks !


If rails new fails, created files are not removed

When running rails new, if an error is encountered, all the files that are created are not removed, including databases.
Related: can any known requirements (such as the Node version) be checked before starting?
rails new my-app-name \
 --skip_rubocop \
 --skip-test \
 -d=postgresql \
 -m=https://raw.githubusercontent.com/thoughtbot/suspenders/main/lib/install/web.rb

Example error:
The template [https://raw.githubusercontent.com/thoughtbot/suspenders/main/lib/install/web.rb] could not be loaded. Error:

=== Node version unsupported ===

Suspenders requires Node >= 20.0.0

Noting, this also applies to cases where the wrong arguments are not passed:
https://github.com/thoughtbot/suspenders/blob/3bc560ec285d21a8d7f6e83b228b33887190e683/lib/install/web.rb#L42-L66