"Error: c.push is not a function"

"Error: c.push is not a function"
Just curious if anybody else is getting this error when trying to use ui-select.  Each instance of ui-select is generating two of these errors for me.  When I start filtering the select it generates a lot more of them.
Running the following frameworks:
Angular 1.3.5
Bootstrap 3.3.1
Angular-UI 0.12.0
jQuery 2.1.1
Here is a sample instance of ui-select in the application that I am working on.
<ui-select ng-model="selectedPhoneNumber" theme="select2" style="min-width: 300px;" class="setting-controls did-select-dropdown form-control">
    <ui-select-match>
        {{$select.selected.fullName + ' - ' + ($select.selected.primaryPhone.number | tel)}}
    </ui-select-match>
    <ui-select-choices repeat="entry.primaryPhone.number as entry in companyDirectoryEntries | filter: $select.search | orderBy:'firstName'">
         -

    </ui-select-choices>
</ui-select>

Closing this issue as over a year old and doesn't have a repro.
If you believe its still relevant please reopen with a plunkr (or similar) against the latest version of ui-select (currently v0.15.0)


Added a way to create a custom topic/broker

I have added a method to create a topic with custom configuration, and also an additional Map in the implicit broker config to be able to customise the broker if needed.
https://travis-ci.org/lucapertile/scalatest-embedded-kafka/builds/130060010

Thanks for your pull request Luca! While I think your additions are valuable and deserve to be in the codebase, I'm afraid I cannot merge this PR as it is:

There's a lot of noise in the diff due to formatting changes. Please don't change the formatting - try to follow the standard formatting the project has. I use Intellij IDEA 16 default settings.
You should merge master before submitting the PR, as right now there are conflicts.
While I can squash the commits using GitHub, there's still lot of noise in the commit messages.

I suggest you close this PR and create another one with the changes you suggested, plus considering the comments I added.

Thank you very much for you feedback! Will implement the changes and your suggestions in a new branch using IntelliJ 16.


Always update prevDeps even if shouldCompute returns false

Found a small issue with custom implementations of shouldCompute.
After every run of shouldCompute, the ComputeValue class stores the currDependencies so they can be the prevDependencies the next time this runs. However, if shouldCompute returned false, the class was making the assumption that the dependencies hadn't changed, so there was no need to store the currDependencies for next time. This is true when using the default implementation of shouldCompute, but that's not always the case if you were to implement a custom shouldCompute function.
The logic here is now being updated so that currDependencies is always stored for the next run regardless of whatever shouldCompute returns so that checks for changes are accurate to every update.
Note that a quick search shows no one is currently implementing a custom shouldCompute function: https://search.d2l.dev/search?full=shouldCompute&defs=&refs=&path=&hist=&type=&xrd=&nn=8&si=full&searchall=true&si=full

Any clue why this would be happening? It seems unrelated to my changes.

Yeah we believe the issue is https://github.com/cosmiconfig/cosmiconfig/issues/307

Yeah we believe the issue is cosmiconfig/cosmiconfig#307

Okay, not sure if I'll get a chance to add the package-lock.json file today, but I should have a chance some time this week.


Collapse all folderers in Explorer does not close the folders.

Issue Type: Bug
Hello, I added a folder to my project and init are many .py files. When I click (collapse all folder in explorer) function , vscode wont close the folders.
VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T14:58:56.166Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz (4 x 2594)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.88GB (11.48GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

python
ms-
2019.11.50794

powershell
ms-
2019.12.0

(2 theme extensions excluded)

/needsMoreInfo cannot reproduce given the steps you have provided and this works for me, see the animated gif below. Please include more details for how to reproduce this behaviour.

Maybe this is https://github.com/microsoft/vscode/issues/88146 ?

The description mentions

I added a folder to my project

Which hints that this is a multi-root setup. Closing as a duplicate.


Implementing the control of the external request line change module using the buttons

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I've agreed with the maintainers that I can plan this task.

Description
Hello everyone!
I am trying to implement lane change by pressing the "right" and "left" buttons. It seems to me that the most suitable module for this is the external request line change module. I wrote a plugin for Rviz that sends 1 and 2 depending on the required lane change direction. However, I cannot write the logic inside the module that it would use to handle these external issues.
Could you help me do this or tell me where to find examples and development guides.
Thank you in advance for your help!
Purpose
Implement lane change by pressing the "right" and "left" buttons.
Possible approaches
The external request line change planning module accepts an incoming request for a topic and starts rebuilding.
Definition of done
The vehicle changes lanes when receiving a command from the user.

Please post your question in the  Discussions Q&A section.


Fix typo in checking for timeout errors in connection attempts.

Probably 99% inconsequential, but for completeness: I'm assuming this was a typo :)

Ah yes it was!
Good catch, it would have taken ages for this to have surfaced from running the code, but would have caused confusing error messages if it had.
Thanks 👍

Released in 0.5.2

NP. I really do think timers are infallible though (unless your whole CPU is on fire or something), I even think the new tokio version implements timers as Streams that can't produce error Items.
Still, would have been pretty terrible if someone got bit in the arse by this one... that sounds like one terrible debug session followed by one terribly ashamed face palm moment. Haha  :stuck_out_tongue_winking_eye:


Wrong highlighting

Hi! As you asked me I'm writing this here.
Terminal: urxvt
Vim version: 8.1.26 (just updated)
Colorscheme: Gruvbox Dark
Example code:
`/**

Test method

Important info is highlighted

! Deprecated method, do not use
? Should this method be exposed through API?
TODO: refractor this method to conform to API
@param param The parameter for this method
*/

#include <stdio.h>
int main(int argc, char *argv[]){
if(argc != 2){
printf("Blahblahblah...");
}
return 0;
}
`
Screenshot: Here

I've just uploaded a small evolution to improve compatibility with colorschemes other than solarized.
This is how it looks now with your colorschemes:
Thanks for the feedback!

It's still not exactly working. I'm getting an error on line 80 when running PlugUpdate. Also setting
runtime! archlinux.vim

Triggers the highlight.

I found that this plugin create issues with PHP syntax highlighing and with removing now is working everything.


AMSE Credentials UI is obsolete

The Credentials UI in the current AMSE v2 tool version (<IP_ADDRESS>) is up-to-date and the Credentials screen shot (ASC Authentication) is obsolete. Would you please update the screen shot and the description in the Step 2.?

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

ID: 7adc6e30-aa23-b412-e575-4c51180ca6c1
Version Independent ID: 64b1d2bf-4998-cb59-91c1-66c126855ca6
Content: Redact faces with Azure Media Analytics walkthrough
Content Source: articles/media-services/previous/media-services-redactor-walkthrough.md
Service: media-services
Sub-service: rest-v2
GitHub Login: @Lichard
Microsoft Alias: ril

@kazshi Thank you for your query . We will investigate and update the thread.

@kazshi Thanks for the feedback! I have assigned the issue to the content author to review further and update the document as appropriate.

#please-close


Send status 200 as soon as query parse is valid

Is your feature request related to a problem? Please describe.
Our nginx proxy automatically sends 502 if the server takes too long to respond. This is a good feature IMHO.
However, if a mutation takes a long time to process, that means the caller will get 502 instead of the result.
Describe the solution you'd like
As soon as the query is parsed and deemed valid, before running the resolvers, yoga should already respond with 200.
Describe alternatives you've considered
Complicated async setups with subscriptions.

Hmm interesting use case, but if we do that, this won't be valid anymore for status codes;
https://the-guild.dev/graphql/yoga-server/docs/features/error-masking#modifying-http-status-codes-and-headers
Some users want to return different status codes for auth if the query is restricted etc.
However you can use hooks to set your status code earlier than Yoga starts to feed the response stream on your own;
https://the-guild.dev/graphql/yoga-server/docs/features/envelop-plugins

So it would be after onValidate, but how can I tell yoga to send the 200 but leave the connection open, and won't that interfere with the other plugins?

As per GraphQL over HTTP spec, the response is to be sent when the operation execution is done. Yoga is following the spec and will stay compliant.
There is a few things you can do:

Optimize mutations (recommended)
Detect mutations in nginx and allow only those to take longer
Increase timeout in nginx
Custom Yoga plugin for early responses

If you still decide to go with 4. - you must make sure to handle the following:

What should the response body look like? (It's not a GQL response anymore)
What happens if the mutation execution fails (but is parsable and valid), how do you notify the client?
How do you make sure the mutation does not hang forever

A possible solution could be using a different transport, e.g. GraphQL over SSE, as it also sends pings. But I also noticed that in Yoga for GraphQL over SSE, the status code is blocked by the initial execution result.


feat: added reusable workflows for terraform

This PR adds 3 reusable workflows:

terraform: this is the classic terraform workflow that is used by kubernetes_management and other repos for terraform related pr maintenance and actions.
terraform_docs: this workflow automatically generates module docs in the specified output file, and optionally commit the updates to the PR.
terraform_fmt: this workflow automatically runs terraform fmt, and optionally commit the updates to the PR.

I can split this PR into the separate workflows, but since I decided against it since its a common theme (new reusable terraform workflows).


Error when terraform apply is run multiple times

@dacbd - tested several variations of this with aws and could not reproduce an error. Could you provide more information on what kind of an error you saw?

@tasdomas I think this was caused by file changes to the main.tf,
the original attempt to reproduce with:
#!/bin/bash

dir=$(mktemp -d)
pushd "$dir"
cat <<END >> main.tf
terraform {
  required_providers { iterative = { source = "iterative/iterative" } }
}
provider "iterative" {}
resource "iterative_task" "test" {
  cloud = "aws"
  machine = "t3.small"
  region = "us-west-1"
  image = "ubuntu"
  disk_size = 10
  storage {
    workdir = "."
    output = "."
  }
  script = <<-SCRIPT
    #!/bin/bash
    echo "hi"
    sleep 300
    echo "done"
  SCRIPT
}
END
for i in {0..9}; do
  dd if=/dev/random of="file_$i.txt" bs=16M count=1
done

terraform init
terraform apply --auto-approve
terraform apply --auto-approve
terraform destroy --auto-approve
popd && rm -r "$dir"

I was able to reproduce the behavior I saw by editing the main.tf between runs:
#!/bin/bash

dir=$(mktemp -d)
pushd "$dir"
cat <<END >> main.tf
terraform {
  required_providers { iterative = { source = "iterative/iterative" } }
}
provider "iterative" {}
resource "iterative_task" "test" {
  cloud = "aws"
  machine = "t3.small"
  region = "us-west-1"
  image = "ubuntu"
  disk_size = 10
  storage {
    workdir = "."
    output = "."
  }
  script = <<-SCRIPT
    #!/bin/bash
    echo "hi"
    sleep 300
    echo "done"
  SCRIPT
}
END
for i in {0..9}; do
  dd if=/dev/random of="file_$i.txt" bs=16M count=1
done

terraform init
terraform apply --auto-approve
cp main.tf ./org.txt
sed -i 's/10/20/g' main.tf
terraform apply --auto-approve
terraform destroy --auto-approve
popd && rm -r "$dir"

If you run the above, you will see the other undesirable behavior
I think this is better solved with a combo of: https://github.com/iterative/terraform-provider-iterative/issues/590 and https://github.com/iterative/terraform-provider-iterative/issues/697


Update website/update-imported-docs/update-imported-docs script for Python 3, PyYAML 5.1.2

The current version of the script works with Python 2.7, PyYAML 3.13, Go 1.12.  @tengqm agreed that the script should be updated to work with Python 3. I took this opportunity to "pythonify" the code. Updating to the latest version of PyYAML required an update to the Python script to remove a deprecated function. Looking at the code, I decided it would be better to use the Python tempfile library to create the temp directory rather than os and shutil libraries.
This script was tested on Ubuntu 18 with Python 3.7.4, go1.12.10 linux/amd64, and PyYAML 5.1.2 installed in a virtual environment.
Current version in master for comparison: https://github.com/kubernetes/website/blob/master/update-imported-docs/update-imported-docs

Add .py extension to update-imported-docs file
Update shebang for Python 3
Add script comments: software versions, what the script does, and how to run it
Update to use argparse.ArgumentParser() for command line args
Change work_dir from hard-coded dir to tmp dir created using the tempfile library; remove shutil.rmtree because it was throwing permission errors and also no longer needed after switching
to temp dir created with tempfile.
Enhance error handling
Add check for Go installation
Enhance check for PyYAML installation
Change deprecated PyYAML load function to full_load https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation
Modify to comply with PEP8
Update software versions in website/content/en/docs/contribute/generate-ref-docs/kubernetes-components.md

Partial #15682
Previous PR #16681  (ran afoul of rebase issues)
Doc preview:  https://deploy-preview-17127--kubernetes-io-master-staging.netlify.com/docs/contribute/generate-ref-docs/kubernetes-components/
STEPS TO TEST THE SCRIPT
Scenario 1: All prerequisites installed

(Optional) Create a virtual environment with Python = 3.7.4
cd to website/update-imported-script and execute the script $ ./update-imported-docs.py reference.yml

Signed-off-by: Aimee Ukasick<EMAIL_ADDRESS>

/uncc @sftim
/uncc @Rajakavitha1
/cc @kbhawkey
/cc @tengqm

Page preview:
https://deploy-preview-17127--kubernetes-io-master-staging.netlify.com/docs/contribute/generate-ref-docs/kubernetes-components/
/lgtm

Still investigating what the Fixing Links switch does.

/assign @ryanmcginnis


1955: Honour position/order in nested blocks

Fixes #1955

Hey @mikerockett tried to update your branch but I think there's no permission. Can you merge latest 3.x? That should resolve the tests.


Connection with SSH

System information:

Archlinux
DBeaver version 22.0.1

Connection specification:

Postgresql, MySQL
SSH tunel

Describe the problem you're observing:
While conncting to connection with configured ssh tunel I get error.

Steps to reproduce, if exist:
connect to ssh tunel connection
Include any warning/errors/backtraces from the logs
2022-04-04 16:09:12.005 - Connect with 'PostgreSQL - newprod - pg - db1  ssh' (postgres-jdbc-17dfb715719-5955c05824f912cf)
2022-04-04 16:09:12.007 - Adding identity key
2022-04-04 16:09:12.007 - Configure tunnel
2022-04-04 16:09:12.072 - Connection failed (postgres-jdbc-17dfb715719-5955c05824f912cf)
org.jkiss.dbeaver.model.exec.DBCException: Can't initialize tunnel
at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect(DataSourceDescriptor.java:911)
at org.jkiss.dbeaver.runtime.jobs.ConnectJob.run(ConnectJob.java:70)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:105)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: org.jkiss.dbeaver.DBException: Cannot establish tunnel to <IP_ADDRESS>:1422
at org.jkiss.dbeaver.model.net.ssh.SSHImplementationJsch.setupTunnel(SSHImplementationJsch.java:134)
at org.jkiss.dbeaver.model.net.ssh.SSHImplementationAbstract.initTunnel(SSHImplementationAbstract.java:134)
at org.jkiss.dbeaver.model.net.ssh.SSHTunnelImpl.initializeHandler(SSHTunnelImpl.java:76)
at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect(DataSourceDescriptor.java:906)
... 3 more
Caused by: com.jcraft.jsch.JSchException: fromBase64: invalid base64 data
at com.jcraft.jsch.Util.fromBase64(Util.java:63)
at com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:219)
at com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:55)
at com.jcraft.jsch.JSch.setKnownHosts(JSch.java:316)
at org.jkiss.dbeaver.model.net.ssh.SSHImplementationJsch.setupTunnel(SSHImplementationJsch.java:110)
... 6 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 385 out of bounds for length 385
at com.jcraft.jsch.Util.fromBase64(Util.java:51)
... 10 more

Probably something is wrong with known_hosts file in your home directory.
Try to enable option "Bypass host verification" in advanced SSH settings.

ssh and dbeaver 21 with current known_hosts file works. dbeaver 22 - fails.

Actually turning off "Bypass host verification" workaround works. Meanwhile dbeaver 21 works as is.
It is not clear 22 fails while verifying host configured for that connection or fails on random known host. Because same failure happens on different connections(mysql and pg) using different ssh hosts.

Host verification was implemented in dbeaver 21.3.5. known_hosts file was not used earlier

Can confirm that my known_hosts file had 1 corrupted record. After I corrected this record 22 version works.
May be this can be feature request - check known_hosts line by line and ignore(log with info) corrupted lines instead of failing to connect using any ssh tunel.

Thank you for investigation! We will think about how to improve this behavior.

Verified


ci: place @semantic-release/exec before @semantic-release/git in semantic-release config

:tada: This PR is included in version 5.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


AP-4481: Fix opponent individual CCMS injection payload

What
Amend opponent individual payload to fix CCMS/PUI amendment bug
Link to story

Switch to using NONE/none instead of UNKNOWN/Unknown, then test
Add a dummy title, then test

It was discovered that Individual Opponents injected by the Apply service were not being displayed on the Amend case screen in PUI. As the link states ‘Edit Opponents and other parties’ we believe Individual should appear on the Amend case (this is the screenshot with the ‘Edit opponents and other parties’ link) but only organisations are displayed as expected.

Checklist
Before you ask people to review this PR:

Tests and rubocop should be passing: bundle exec rake
Github should not be reporting conflicts; you should have recently run git rebase main.
There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
The PR description should say what you changed and why, with a link to the JIRA story.
You should have looked at the diff against main and ensured that nothing unexpected is included in your changes.
You should have checked that the commit messages say why the change was made.

Switch to using NONE/none instead of UNKNOWN/Unknown, then test
Add a dummy title, then test

The providing of NONE/none instead of UNKNOWN/Unknown had no effect. The providing of a dummy Tile fixed the issue. Ways forward added to ticket AP-4499


various improvements

please don't request breaking them into separate pull requests, that would be horrendous :)
I have no yet found time to review with respect to https://github.com/dguo/strsim-rs/pull/30

Hey, I'm sorry for taking so long to get to this. I do appreciate all the work you put into it. I know you requested that I not ask you to break it up into smaller pull requests,  but it is just too big. Would you be open to me helping you do so? I could go through the commits and make a checklist of discrete changes. So at least you wouldn't have to do the work of figuring out how to split it up.

Sure, a plan would be great :)

It has been quite a while since back then and a few things have changed in the meantime. One of the major changes is that going forward we will focus on implementing algorithms with reasonable performance, while keeping the binary size small. People who care about the maximum performance will be recommended to use https://github.com/rapidfuzz/rapidfuzz-rs which focuses more on performance, but has a larger binary size.
From a quick look over the changes they can be grouped into a couple of buckets:

update formatting: we do now use cargo fmt to keep consistent formatting

move tests: in rust it appears to be common to have the tests next to the code, while only placing integration tests outside. We will need to look into where we want which parts in the future

improve tests: We certainly need to improve them. Currently the test output is not particularly helpful

improve algorithms:

avoid calculating lengths multiple times: that probably makes sense and is already done e.g. in https://github.com/dguo/strsim-rs/pull/61
remove common prefix: This is generally an improvement and for this reason is done in https://github.com/rapidfuzz/rapidfuzz-rs. In fact it is often possible to remove both common prefix and postfix. However this is likely nothing we want here, since it can affect the binary size quite a bit.
use inclusive ranges: I opened https://github.com/dguo/strsim-rs/issues/59 for this, since while this improves readability a bit, it can negatively affect the binary size.

some documentation improvements like mentioning that the algorithms are not based on grapheme clusters. This could be extended to mention how to match using grapheme cluster which should be possible when using the generic versions of the metrics

I agree with @dguo that if we want to have even part of this in, we would need to split this up into multiple separate PRs. In the current form it's simply not possible to review this properly.
@jnqnfe are you still interested in working on these things?

Currently I have far too much on my plate to do any further work on this and I don't see that changing any time soon, sorry. It's taken me three days to even find time to provide this reply.

That's completely understandable. I just wanted to give you the option to continue working on this, since I know you did put quite a bit of work into this back then.
I did look through the changes a bit more:

The algorithmic improvements are probably nothing we would want. Not because they are useless, but because the project does focus on binary size nowadays and they just do not provide enough of an improvement to warrant the binary size increase.
The tests move is nothing we would want. I opened https://github.com/dguo/strsim-rs/pull/67 which just improves the failure message, since the current one is not really helpful
the benchmark cleanup is something we would want to change. I opened https://github.com/dguo/strsim-rs/pull/66 just cleaning up the unnecessary bits. I will probably change this to use criterion soon though.
the documentation will need to be tackled separately, since we certainly need to improve it.

Not sure I missed anything small, but finding it would require this to be rebased which would be a significant amount of work. For this reason I will close this PR.
Thanks again for the work you did put into this. I know the review has taken us quite a while :sweat_smile:


Should leverage the type-system more for these things.


Fix subaccount sync deployment

Description
Changes proposed in this pull request:

Add quote
Add d

Related issue(s)

/kind enahancement

/kind enhancement


Not all aliases have full properties in a new session

Steps to reproduce
In a new session with -NoProfile specified (so that no commands have run previously)
Get-Alias gci | Format-List *

I found this while working on #10784 following a comment from @adityapatwardhan. I had to dig down to the SessionStateAliasApis.cs file and put a breakpoint on line 50 to see the state of _currentScope
It doesn't appear to be all aliases, gcm and a bunch of others were fine.
Expected behavior
This works fine as long as you've run at least one command first (that isn't this one or others that interact with the aliases)
HelpUri             : https://go.microsoft.com/fwlink/?LinkID=113308
ResolvedCommandName : Get-ChildItem
DisplayName         : gci -> Get-ChildItem
ReferencedCommand   : Get-ChildItem
ResolvedCommand     : Get-ChildItem
Definition          : Get-ChildItem
Options             : ReadOnly
Description         :
OutputType          : {System.IO.FileInfo, System.IO.DirectoryInfo}
Name                : gci
CommandType         : Alias
Source              :
Version             :
Visibility          : Public
ModuleName          :
Module              :
RemotingCapability  : PowerShell
Parameters          : {[Path, System.Management.Automation.ParameterMetadata], [LiteralPath,
                      System.Management.Automation.ParameterMetadata], [Filter,
                      System.Management.Automation.ParameterMetadata], [Include,
                      System.Management.Automation.ParameterMetadata]…}
ParameterSets       :

Actual behavior
HelpUri             :
ResolvedCommandName :
DisplayName         : gci -> Get-ChildItem
ReferencedCommand   :
ResolvedCommand     :
Definition          : Get-ChildItem
Options             : ReadOnly
Description         :
OutputType          :
Name                : gci
CommandType         : Alias
Source              :
Version             :
Visibility          : Public
ModuleName          :
Module              :
RemotingCapability  : PowerShell
Parameters          :
ParameterSets       :

Environment data
I've checked this in preview 5, 6 and master.
Name                           Value
----                           -----
PSVersion                      7.0.0-preview.4
PSEdition                      Core
GitCommitId                    7.0.0-preview.4-211-gbcc565603cee552b10244be82a2797da2ff38cab
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

We already discussed this. To have all the properties we have to import modules. It is very expensive.
Also problem is possible alias conflicts so that we should get aliases only in interactive session and only after importing a module.


SECRET_KEY and OPERATION_CODE

Hi, how can I get the BLE_INIT_SECRET_KEY and BLE_INIT_OPERATION_CODE? Are they from Segway?
React.useEffect(() => {
  init(BLE_INIT_SECRET_KEY, BLE_INIT_OPERATION_CODE, true);
  // get required permissions
  getRequiredPermissions();
}, []);

Ref: https://github.com/AndrewDongminYoo/segway-ble-manager/tree/main#simple-example-code

@kiendt07 firstly, Thanks for first Issue!!
Yes, that's right. It's a key you can get from a company called Segway Ninebot, to be precise.
Their website URL address is https://open.segwaydiscovery.com/documents/NBIoTBleKit/.
Or If you're looking for a more universally available low-energy Bluetooth module that's not device manufacturer specific,
this package is a better fit.

Is there any other way to obtain a key and op code I purchased a gen.3 iot and need to configure it for my personal use


Controll over initialization and Documentaion update

Previously I have created issues about "Controll over initialization" and documentation update, and here is a fork for this.

Ok, you have convinced me of the need of these methods. But it does not refer to "DI", please remove or change comments "Required setter by Yii's Dependency Injection to work properly.". Then I will be able to merge your pull request.
Thanks for useful improvements.

As I understand it - these methods simply give support configurable properties.

Commit 2cb3673f5d7da0aadd74a3fe25569bacbafcbdda

Thanks for useful improvements.

nezhelskoy

Не за что!