FirebaseFirestore Prevents Project From Archiving

[READ] Step 1: Are you in the right place?

For issues or feature requests related to the code in this repository
file a Github issue.

If this is a feature request make sure the issue title starts with "FR:".

For general technical questions, post a question on StackOverflow
with the firebase tag.
For general Firebase discussion, use the firebase-talk
google group.
For help troubleshooting your application that does not fall under one
of the above categories, reach out to the personalized
Firebase support channel.

[REQUIRED] Step 2: Describe your environment

Xcode version: 11.0
Firebase SDK version: 6.8.1
Firebase Component: Firestore (Auth, Core, Database, Firestore, Messaging, Storage, etc)
Component version: 1.5.0

[REQUIRED] Step 3: Describe the problem
Firebase Firestore doesn't allow archiving on Xcode 11. After trying to archive my app multiple times and changing build settings, cleaning pods, uninstalling and reinstalling my pods, deleting the derived data folder, cleaning the build folder, and restarting Xcode and my computer, the archiving process always gets stuck on an arbitrary task while archiving with FirebaseFirestore. I've let the bar hang on that task for around 2 hours and it hasn't moved to the next task so I'm assuming it never will.
Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
Using Xcode 11, archive an app that has the FirebaseFirestore pod installed
Relevant Code:
N/A

I'm able to archive the Firestore quick start with Xcode Version 11.0 (11A419c)
Perhaps, the Xcode is in a bad state? - clean and rm -rf ~/Library/Developer/Xcode/DerivedData/

Before filing this bug report I cleaned the DerivedData folder and the issue still occurred. Other people are also experiencing this problem:
https://stackoverflow.com/questions/57881459/building-archiving-for-release-hangs-indefinitely-in-xcode-11#comment102411601_57881459

@CentrumGuy Are you able to archive the Firestore quick start?

Yeah, I just tested the Firestore quickstart on Xcode 11, GM seed 2 and was able to archive the project

I tried adding some of the pods from my other project that has this issue. The podfile for my FirestoreExample project now looks like this:
platform :ios, '8.0'

target 'FirestoreExample' do
  use_frameworks!

  pod 'Firebase/Analytics'
  pod 'Firebase/Auth'
  pod 'FirebaseUI/Auth'
  pod 'FirebaseUI/Email'
  pod 'Firebase/Firestore'
  pod 'SDWebImage'

  pod 'IQKeyboardManagerSwift'
  pod 'Hero'
  pod 'Firebase/Core'
  pod 'Firebase/Storage'
  pod 'Firebase/Messaging'
  pod 'Firebase/Functions'
  pod 'Firebase/RemoteConfig'
  pod 'Alamofire', '~> 4.7'
  pod 'paper-onboarding'
  pod 'MarqueeLabel/Swift'
  pod 'lottie-ios'
  # - pod 'lottie-ios', '~> 2.5.2'
  pod 'Firebase/InAppMessagingDisplay'
  pod 'Fabric'
  pod 'Crashlytics'
  # - pod 'SwipeCellKit', :git => 'https://github.com/CentrumGuy/SwipeCellKit'
  pod 'SwiftSoup'
end

During archiving, Xcode now gets stuck on task 5309 of 5409 with a process for "FirebaseUI". Seeing that this is an issue with a different Firebase framework than my other project and that this issue happens with the addition of other pods, I'm thinking that this might be due to two firebase pods interfering with one another. I'm not really an expert on the matter and I don't know if that's even a possibility but I'm writing it here because I think it's worth taking a look at.

I have a similar issue, but for me it gets stuck on FirebaseInstanceId during archiving.
It seems the issue is inconsistent in which pod it happens in per project. I have only “Firebase/Analytics” and “Firebase/MobileAds” added to my podfile.

@CentrumGuy The issue reproduces for me with that Podfile on the Firestore quickstart. The build hangs after FirebaseUI finishes building with two swift jobs running at 100% in Activity Manager.
Since the infinite loop is definitely an Xcode problem, I recommend sending an issue to Apple.

I sent a bug report to Apple. I will update this issue when they respond. Are you sure this has nothing to do with Firebase?

Thanks for sending the bug report.
There's definitely an Apple bug since Xcode shouldn't infinite loop no matter what input it gets.
It's possible something about the Firebase pods are causing an incorrect Xcode workspace, but in that case, it's more likely a CocoaPods issue, since the Firebase pods work fine in smaller Podfile subsets.

If it's any help figuring out the issue, I've tried to archive the project using the xcodebuild command line tool and it hangs at the following output:
Touch /Users/<USERNAME_OMITTED>/Library/Developer/Xcode/DerivedData/<APPNAME_OMITTED>-fhxgnkivetrgngfjuuwajxlzpalb/Build/Intermediates.noindex/ArchiveIntermediates/<APPNAME_OMITTED>/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseInstanceID.framework (in target 'FirebaseInstanceID' from project 'Pods')
    cd /Users/<USERNAME_OMITTED>/Desktop/AppDev/<APPNAME_OMITTED>/Pods
    /usr/bin/touch -c /Users/USERNAME_OMITTED>/Library/Developer/Xcode/DerivedData/<APPNAME_OMITTED>-fhxgnkivetrgngfjuuwajxlzpalb/Build/Intermediates.noindex/ArchiveIntermediates/<APPNAME_OMITTED>/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseInstanceID.framework

It seems like it's hanging on a simple touch command, but if I run this touch command seperately from the terminal, it works fine.
It also seems this hang isn't necessarily related to the archive process itself but to the build process it relies on. It happens anytime you build the project for release, even when not related to archiving.
For example the following simple build command works fine:
 xcodebuild -workspace MyApp.xcworkspace -scheme MyApp -sdk iphoneos -configuration Debug build
While the following command hangs:
xcodebuild -workspace MyApp.xcworkspace -scheme MyApp -sdk iphoneos -configuration Release build

I think I found the culprit.
I checked the podfile shared by @CentrumGuy and it seems the only pods the file and my project have in common are Firebase and SwiftSoup. It seems other SwiftSoup users had some issues with hangs as well ( https://github.com/scinfu/SwiftSoup/issues/125 )
Removing SwiftSoup from my podfile and regenerating the pods project (using pod update) solved the issue.
Adding the SwiftSoup source files to the project manually caused archiving to hang again.
Hopefully SwiftSoup comes with a new release fixing this issue soon.

Good find @leonluc-dev! Thanks!
Closing in favor of https://github.com/scinfu/SwiftSoup/issues/125 and an Xcode update for the Swift compiler


Remove monkey patch for webmock v1.11.0, gem is up to v1.22.3

Based on the comment we don't need this anymore.

@Fryguy Please review

@miq-bot add_label test

@miq-bot add_label technical_debt

@miq-bot add_label technical debt


[SCSB-155] build with Numpy 2.0 release candidate

resolves SCSB-155
Numpy 2.0 is scheduled for release on June 19th. Due to the C ABI updates, Python projects that build C extensions are required to build against Numpy 2.0 in order to use Numpy 2.0 in runtime.
This is backwards-compatible with Numpy versions in runtime as far back as 1.26
this PR pins numpy>=2.0.0rc2 in build-system.requires

[!NOTE]
this PR was generated automatically by batchpr :robot:

Is this used by either jwst or roman (or anything else)?
I don't see it in the pip list for the jwst tests:
https://github.com/spacetelescope/jwst/actions/runs/9401509114/job/25893464908#step:10:31
or for roman:
https://github.com/spacetelescope/romancal/actions/runs/9409925545/job/25920739724#step:10:36

Is this used by either jwst or roman (or anything else)?
I don't see it in the pip list for the jwst tests: https://github.com/spacetelescope/jwst/actions/runs/9401509114/job/25893464908#step:10:31 or for roman: https://github.com/spacetelescope/romancal/actions/runs/9409925545/job/25920739724#step:10:36

oh good point, I just assumed it was since it's in my commit history 😅

Searching spacetelescope:
https://github.com/search?q=org%3Aspacetelescope stregion&type=code
I see a use in drizzlepac and an associated issue:
https://github.com/spacetelescope/drizzlepac/issues/1696
Perhaps @mcara can weight in on this one.

Well, I still stand by my comment https://github.com/spacetelescope/drizzlepac/issues/1696#issuecomment-1969501473
It is great that @larrybradley is a maintainer and maybe he could clarify some features of the new region package but at this time I don't even remember exactly what feature was there that was important (I would need to dig through historical records). However, maybe @larrybradley could advise on (or lead 🙏 ) how to switch to astropy/regions.

OK. so one of the parameters that I had to introduce was rot_wrt_axis because to match DS9, I believe, we had to use angles between the north and the Y-axis (regions was computing to X-axis).

The I also had to do this trick to get pyregion to do the right thing:
https://github.com/spacetelescope/drizzlepac/blob/5f837b9e80faf89796ed806efe57d2afb27c556e/drizzlepac/mapreg.py#L25-L50
I think the issue is that in a later redesign of that package, they removed support for WCS objects and expected a header file to be provided from which pyregion would create a WCS and so my trick no longer worked.
If someone could figure out how to do
https://github.com/spacetelescope/drizzlepac/blob/5f837b9e80faf89796ed806efe57d2afb27c556e/drizzlepac/catalogs.py#L484-L524
with astropy/regions then problem would be solved. I think there is a similar request (to support regions) for JWST pipeline. Another solution would be to support only rectangles and polygons as regions. Then we would not need this package at all.


Put snippet text after only in normal mode

When calling telescope snippet function from insert mode, it is much more natural to insert the snippet text before.
One can now chain invocations of the snippet picker, via an insert mode mapping, with the text inserted in proper places.

@jdujava Thank you! Merged.


Support for Context values?

https://connectrpc.com/docs/web/interceptors#context-values

See callOptions in the third argument to useQuery.


Add OnControllerColliderHitPlayer event

I feel like I should mention that I already made a pr #117 for this. '^^

Closing since this is a duplicate of #117


[ARO-4562] Migrate DNS to track2 SDK replace dns in cluster.

Which issue this PR addresses:

Fixes
What this PR does / why we need it:

Update DNS SDK to track2 SDK and add update in the cluster and DNS. Will work on deployment and replace the old DNS in the next PR.
Test plan for issue:

Is there any documentation that needs to be updated for this PR?

How do you know this will function as expected in production?

/azp run ci

/azp run e2e

/azp run e2e

/azp run e2e

/azp run e2e

Just ran a rebase to see if that would unstick the E2E stuff. In the pipelines it complained about permissions so my working idea is that the new E2E stuff needs to be included.

/azp run ci,e2e

/azp run ci,e2e

/azp run ci

/azp run ci

Rebase and all checks passed

/azp run e2e

/azp run ci


Create a mutating webhook for the internal secrets provider

What this PR does:
Creates a webhook that, as a default, creates volumes and volume mounts on created/updated pods for secrets that are specified via a specific annotation.
For example, a pod with the annotation k8ssandra.io/inject-secret-cassandraSuperuser=[{"secretName": "cassandraSuperUser", "path": "/etc/credentials/cassandra"}] will create a volume for the cassandraSuperuser secret and mount the secret to the path /etc/credentials/cassandra on each container for the pod. Pods will only be eligible for mutation by the webhook if they have the following match label: k8ssandra.secrets/mutate: "inject".  This will mount secrets in the default Kubernetes style, which will create a single file for each key/value pair in the Secret (e.g. there will be username file and password file for credential sets).
The following manifest can be used to test the secrets-webhook after setting up a cluster with operators via kind:
apiVersion: v1
kind: Secret
metadata:
  name: mysecret
type: Opaque
data:
  USER_NAME: YWRtaW4=
  PASSWORD: MWYyZDFlMmU2N2Rm

---
apiVersion: k8ssandra.io/v1alpha1
kind: K8ssandraCluster
metadata:
  name: demo
spec:
  secretsProvider: external
  cassandra:
    metadata:
      pods:
        labels:
          k8ssandra.secrets/mutate: "inject"
        annotations:
          k8ssandra.io/inject-secret: "[{\"secretName\": \"mysecret\", \"path\": \"/my/secret/path\"}]"
    serverVersion: "4.0.1"
    serverImage: k8ssandra/cass-management-api:4.0.1
    storageConfig:
      cassandraDataVolumeClaimSpec:
        storageClassName: standard
        accessModes:
          - ReadWriteOnce
        resources:
          requests:
            storage: 5Gi
    config:
      jvmOptions:
        heapSize: 512Mi
    datacenters:
      - metadata:
          name: dc1
        size: 3
  medusa:
    storageProperties:
      storageProvider: local
      bucketName: k8ssandra-medusa
      prefix: test
      podStorage:
        storageClassName: standard
        accessModes:
          - ReadWriteOnce
        size: 100Mi
  reaper:
    autoScheduling:
      enabled: false

Verify that when pods are started, they have the new Volumes and VolumeMounts and that the secrets are written to files in the /my/secret/path directory.
cassandra@demo-dc1-default-sts-2:/my/secret/path$ pwd
/my/secret/path
cassandra@demo-dc1-default-sts-2:/my/secret/path$ ls
PASSWORD  USER_NAME

Which issue(s) this PR fixes:
Fixes #605
Checklist

[x] Changes manually tested
[x] Automated Tests added/updated
[x] Documentation added/updated
[x] CHANGELOG.md updated (not required for documentation PRs)
[x] CLA Signed:  DataStax CLA

Thanks for this contribution @sseidman, we are having some internal discussions right now regarding this one, give us a couple of days to work up some feedback for you :)

Hi @adutra, I think my thought process at the time was to try and make it configurable so that someone could use their own webhook if they wanted to (e..g https://developer.hashicorp.com/vault/docs/platform/k8s/injector). This isn't a requirement for us specifically, but I remember in the early design talks that was often referenced as an example.
I agree, making it separate like this would increase the overall maintenance complexity. I have a draft PR for building the webhook into the operator here that's almost done. I suppose there could be a property that toggles whether the webhook is registered with the operator, which could allow for the ability to introduce a separate webhook if needed.

Hi @sseidman,
thanks a lot for reworking your PR. @Miles-Garnsey will be performing a review shortly.

Thanks for the review comments @Miles-Garnsey. Just want to clarify before I make changes, are we proceeding with this PR (separate webhook image, non-kubebuilder) or this https://github.com/k8ssandra/k8ssandra-operator/pull/857 (webhook built into operator, kubebuilder)

Thanks for the review comments @Miles-Garnsey. Just want to clarify before I make changes, are we proceeding with this PR (separate webhook image, non-kubebuilder) or this https://github.com/k8ssandra/k8ssandra-operator/pull/857 (webhook built into operator, kubebuilder)

Ah, indeed, I have gotten confused between the two PRs, oops!
I'll carry the comments from this PR over to there (since I think most still apply) and continue my review there. There will be some more feedback as I haven't gotten a manual test to work just yet.


Debugging both cilent side JavaScript and NodeJS at the same time

We could enable this with two separate launch configurations. But is there any way to enable both at the same time?

Implemented in October and will continue working on it - http://code.visualstudio.com/updates#_multiple-target-debugging


Refactor rustic_core API & add more documentation to rustic_core

closes #756
TODO

[X] write concise entry comment in rustic_core/Readme.md (factored out into #820)
[ ] write concise entry comment in lib.rs
[ ] recheck imports and library API

[x] regenerate public API data (see Justfile)

[ ] document errors in fallible functions and methods
[ ] document # Type Parameters for Repository and others
[ ] fully document methods and functions in public API

Moved to umbrella issue

remove unwraps out of public API (e.g. /commands/copy::copy()) and in general out of the core library
Replace logging with error handling, there shouldn't be error! anywhere in the API of the library, they should be actual errors

I just force-pushed the last commit to correct compile problems from the suggestions (last_modified_node wasn't used at all places)

This PR unfortunately got a bit messy. I started several times to work on it but always ran out of time (or motivation, to be honest) to further continue.. This is something we have to improve - make smaller PRs which stay reviewable!
So, today another approach.. I removed quite some commits from you @simonsan - the ones which you have factored out and I hope I didn't accidentially remove something important.

I also fixed some non-running tests and squashed the commits...

I won't say that this PR is finishing all attempts to define&document the rustic_core API, but it improves it a lot and is a big PR which always stands in the way if we don't merge it.
As it looks very good from my side, I'll merge it to make the way open for (hopefully much smaller/ more local) further PRs which even more improve it.


missing .vsixmanifest file

Hi,
I don't know if this repo is still active or not but since you've updated your gtk3 theme I thought... why not ?
So I tried to install it several times but the theme won't appear if the plane folder don't have a .vsixmanifest file.
There are also an issue in your repo cause you've uploaded a symbolic link (https://github.com/wfpaisa/plane-vscode/blob/master/plane-vscode) and I'm not sure it's relevant
Finally the bootstrap script looks into ~/.vscode/ folder but (in some distro. Arch, at least) vscode stores themes in ~/.vscode-oss/. I don't know if there's a way to find the right "path"
Thank you for your fantastic work !

Hi prooff, thanks for your revision, I check the link, and the vsixmanifest file no is necessary yet, you can install this theme just download the repository and put in your extensions .vscode folder.

one thing more, remember to reload the window after put  the theme

Ok you were right. I forgot to try to restart the application...
Thank you for your time !


Migrated docker image from miniconda to manylinux2014

Description
Migration from conda virtual environment to venv and using Centos 7 based manylinux2014 as base image for docker which is compliant with PEP599.
Fixes #3692 and fixes #3666
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[ ] No style issues: $ pre-commit run (or $ nox -s pre-commit) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[ ] All tests pass: $ python run-tests.py --all (or $ nox -s tests)
[ ] The documentation builds: $ python run-tests.py --doctest (or $ nox -s doctests)

You can run integration tests, unit tests, and doctests together at once, using $ python run-tests.py --quick (or $ nox -s quick).
Further checks:

[x] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

Also, could we get an estimate on the compressed size of the image? The ones we currently push are ~1.6 GB, so remaining close to somewhere around that would be great.

Sure I'd try to minimize the image size as much as possible and update you on the estimate

python base image looks much more valid as compared to manylinux, I'd request you to run test suite inside the running docker container at least once and see how many tests are getting skipped. Plus confirm the solver availability inside the container by executing:

pybamm.have_idaklu()
pybamm.have_jax()
pybamm.have_scikits_odes()

All of the three methods return true inside the docker container running python venv. I also did run the test suite before pushing the commit, 1 test in each unit and integration tests were getting skipped, I am not exactly sure of the cause. I am awaiting on @agriyakhetarpal response on testing it on ARM.

Upon further researching on PEP599 the manylinux2014 platform tag which demands for the container to be compliant with GLIBC<=2.17, almost all of the linux distributions fulfilling that constraint have reached EOL, except CentOS 7 which will reach its EOL in June, 2024.
Most of the docker containers which have a constant maintenance use Debian/Ubuntu, RHEL or Alpine based distributions in their containers to maintain their integrity.
In reference to the above distributions, these are the OS releases that fulfill glibc<=2.17 -

Debian Wheezy which had glibc 2.13 and reached its end of life in May 2018. The packages are now archived and not constantly maintained which might cause some packages to break.
Ubuntu 13 Saucy which had glibc 2.17 and reached its EOL in July 2014.
CentOS 7 which still runs glibc 2.17 will reach EOL in June 2024 is the primary base image used by PEP599 manylinux2014 policy, but the downside of it in context to this project is multi-architecture building. Manylinux2014 provides A single build image and auditwheel profile per architecture which would mean that:

We would either have to use 2 different dockerfiles to build for x86_64 and aarch64 distinctly as the base images have a discrete architecture or
Use a multistage build to pull and push different images for each of them.
This would also complicate things a bit as CentOS 7 would reach EOL soon.

To not do things the hacky way the official Python Bullseye image would make things a bit simple as the base image itself supports multiple architectures and is based on Debian. The size would also not be an issue as there's a slim version of the image and would have a constant support and maintenance for a while. Upgrading to a newer version or migrating would also become easier as the dependencies would be compatible. By default the Python Bullseye image provides glibc 2.31 which provides backward compatibility and wouldn't have any issues running in a container.
Reference

Thanks for looking into this @santacodes  – yes, a Python bullseye image makes sense too as @arjxn-py mentions. The manylinux2014 images are indeed architecture-specific implementations of PEP 599 and therefore won't have support for multiple architectures from a single FROM command.
@santacodes when pulling this branch I noticed that these changes have been made on the develop branch on your for, and not a feature branch. This is generally not good practice since it causes issues with syncing the repository if you wish to contribute further, and a host of other reasons.
Could you create a new PR based on these changes, and close this one? You can check out a new branch from the current changes and that should bring your commits there (or you can cherry-pick the commits too – whichever you find easier).

Actually, testing this on ARM on macOS has revealed a bug in our current PyBaMM Docker images that we have been pushing to Docker Hub since some while:

ImportError                               Traceback (most recent call last)
Cell In[4], line 1
----> 1 idaklu = importlib.util.module_from_spec(idaklu_spec)
File :573, in module_from_spec(spec)
File :1233, in create_module(self, spec)
File :241, in _call_with_frames_removed(f, *args, **kwds)
ImportError: /home/pybamm/PyBaMM/pybamm/solvers/idaklu.cpython-311-aarch64-linux-gnu.so: undefined symbol: _ZN6casadi8Function11deserializeERKSs

this unresolved symbol comes from CasADi upstream (see https://github.com/casadi/casadi/issues/2887, https://github.com/dockcross/dockcross/issues/753, https://github.com/dockcross/dockcross/issues/780) and is quite challenging to fix. This error is the same as what I face when testing this new `bullseye` image – I remember facing this on #3462 and could not find a way towards resolution.

We can keep this PR open for a while – what I remember is that this did work on aarch64 earlier, but somewhere down the line this ended up breaking and therefore the IDAKLU solver cannot be instantiated


Http-Application-Routing for many hosts within cluster specific zone and CORS

Are there any examples of this working with multiple hosts defined in the ingress controller, in addition to allocating CORS access?
I have managed to get one host working and can see the IP address being allocated to the ingress controller in the dashboard. Any other hosts I add do not seem to be detected.....

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

ID: 51a32f9e-c92f-412b-d460-567f3c542b98
Version Independent ID: fad073ab-a376-1535-7bc4-deaca1d98dd9
Content: HTTP Application Routing add-on on Azure Container Service (AKS)
Content Source: articles/aks/http-application-routing.md
Service: container-service
GitHub Login: @lachie83
Microsoft Alias: laevenso

Thanks for the question. We are investigating and will update you shortly.

@dcs3spp I am not aware of any examples at this time..
@lachie83 could you chime in on this one?

Can you provide a little further detail? I'm not sure I'm following your question. You want to have multiple ingress resources with corresponding DNS A records created?

@dcs3spp please see the above comment so we can continue to assist.

Many thanks @MicahMcKittrick-MSFT. Just seen response by @lachie83. Preparing example to illustrate my question and will post reply here to @lachie83 soon.

Hi @lachie83,
From further reading, I understand that the HTTP application routing add on uses ExternalDNS and Nginx controller. This would explain why any records I added to the zone, for use with my own Nginx controller, were deleted. ExternalDNS deletes records from a zone that were not created by it.
I have successfully followed the documentation for one host entry.
Upon further research, when the CORS annotations were removed from the ingress rules yaml file all records were added to the DNS Zone.
I have created a gitlab project that contains two yaml rules files. One with CORS annotations and one without.
Today, I switched the Azure Kubernetes cluster location from westEurope to uksouth, which has recently become available.
Upon the first deployment, after 13 minutes no records were created in the DNS zone. After deleting the ingress rules deployment and then reapplying with CORS annotations, records for all hosts were created in the DNS zone. Maybe, it takes time for ExternalDNS to configure CORS and the westEurope location was slower in relation to my location of UK? Not sure why no DNS zone entries were created after 13 minutes upon first deploy..... Will continue monitoring and post any updates here...
Kind regards
@dcs3spp

@dcs3spp any updates on this?

I will close this out for now. If you need additional help please let me know and we can reopen and continue.

Hi @MicahMcKittrick-MSFT Thanks for closing. Will let you know if still have issues. Seems ok at the moment.


docs: add radio-group document

add radio-group widget document

@techbhavin can you add a gif for this widget

@cokoghenun I have added it on Gitbook. Will go live soon.

already added changes in v1.3. so closing this PR


fix(deps): update dependency express to v4.18.2

This PR contains the following updates:

Package
Type
Update
Change

express (source)
dependencies
patch
4.18.1 -> 4.18.2

@types/express (source)
devDependencies
patch
4.17.13 -> 4.17.19

Release Notes

expressjs/express (express)
v4.18.2
Compare Source
===================

Fix regression routing a large stack in a single route
deps<EMAIL_ADDRESS>
deps<EMAIL_ADDRESS>perf: remove unnecessary object clone

deps<EMAIL_ADDRESS>

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


Dark-mode system tray icon

System tray icon doesn't work great with dark-mode on Windows.

Still relevant for v0.5.0.


Build snippets for core

Due to a number of issues below, BuildSnippets: false is passed in sdk/core/ci.yml. Eventually, we want to build snippets by default but these issues need to be fixed first:

[ ] #33945
[ ] #33967

Separately - and this can be done at any time - we can consider:

[ ] #33968

#33964 is related, such that Storage disabled building snippets already but that will still fail the net - core - ci pipeline.

dotnet build eng/service.proj -warnaserror /t:rebuild /p:DebugType=none /p:SDKType=all /p:ServiceDirectory=* /p:IncludePerf=false /p:IncludeStress=false /p:PublicSign=false /p:Configuration=Release /p:EnableSourceLink=false /p:BuildSnippets=true /bl


Download from analysis

In python:
fw.download_file_from_analysis('59e76bfd1db00200170fd5a3', '59f361121e72da001946db5f', 'Curvature.csv', 'Curvature.csv')

@kofalt Are there blockers for merging this?

No, just a tweak that I hope to make later this week.

@kofalt: Just tried to use this with UPENN. It still requires the SessionID as an input. https://github.com/scitran/core/pull/997 makes that unnecessary, correct? Was that the tweak you were referring to a couple weeks back?


Living Room Speakers is deemed an invalid speaker name by Regex

Description
Speaker name "Living Room Speakers" in not accepted as a valid regex for use, for example, when grouping speakers.
Error Message:
household.create.group: player list (payload >>Landing Speakers,Living Room Speakers) has wrong syntax/regex >>/^([a-zA-Z0-9äöüÄÖÜ]+)([ -]){0,1}([a-zA-Z0-9äöüÄÖÜ]+)(,([a-zA-ZäöüÄÖÜ0-9]+)([ -]){0,1}([a-zA-Z0-9äöüÄÖÜ]+))*$/ :: Details: none
It looks like any Sonos speaker name with more than one space is not allowed. This should be reconsidered as I'd imagine there is more than just my own use case (Living Room Speakers) for having more than one space in a speakers name.
What node/command (topic)/state (payload)
Universal
household, create group.
Landing Speakers,Living Room Speakers
In case of a bug: Are you able to reproduce the error
Yes
Versions and Infrastructure
what system: Raspberry Pi
node-red-contrib-sonos-plus version: 4.3.1
Node-RED version: 1.1.3
see: [https://flows.nodered.org/flow/a5c42641bf33dd0da9bfd4426a06950a]

Hi. Yes its true. As the playerName is being used in all my subroutines I am sensitive about naming - prohibiting a lot.
Interesting that so many people use blanks in names. I usually prefer camel case notation: LivingRoomSpeakers as I did experience that in many programs special characters lead to issues.
Try the just published 4.3.4 - my regex test says that " Living Room Speakers" are now allowed - even A E.r_k-er:1.
There is still a restricting for the first and last character.
Your feedback is appreciated. Let me also know if you experience issues in other commands.

'Living Room Speakers' does now work. Thank you so much for the very quick fix.
I agree with the idea of using camel case notation for software variables etc as, yes, it can cause difficulties and I do indeed use this when naming my Config Nodes in HomeAssistant/NodeRed/ContribSonosPlus. The problem comes when household.create.group needs to use the name of the speaker as used in the Sonos App rather than the Config Node name in ContribSonosPlus. Unfortunately I wouldn't get away with renaming my Sonos Speakers in the Sonos app to use camel case as it wouldn't get the approval of the rest of my family.
Some additional feedback - I don't know what the reason for choosing to us the Sonos speaker names rather than the Config Node names to reference speakers during the grouping process is and appreciate that it may be more complex to code to use the Config Node names but using the latter makes more sense in my own mind. Then those of us who are comfortable with NodeRed and other programming concepts are free to name our speakers in the Config Node in a manner that makes sense for programming purposes and you can protect your code from failures and exploits by limiting the names with RegEx while the Sonos App which is used by non-techy friends and family are able to see a standard English representation of the speakers name,
Ultimately, your fix has worked so you can mark this as resolved but just thought I'd add my thoughts on the use of Sonos based names in the NodeRed module for your consideration.

... fix has worked --> great so I close this.
Why SONOS speaker name:
Because everyone knows the SONOS speaker name but many forget the config node name. And furthermore I consider (but still have no concrete plan) to have only one config node per household (any player being available 24/7 maybe plus backup). So no config node for each player. Instead there could be a new field in the node dialog "player name". Would that be comfortable? Your opinion?

Thanks for the context on the reason for using Sonos name, it does makes sense that you'd want to do it that way.
If that is the approach you want/need to take though, if it were me making the node, I'd keep in mind, if possible, that a lot of people using the node may have other non-technical family members in their household who expect the Sonos setup to be understandable in standard English (or other language) which will include spaces in the speaker, playlist and other names. Using camel case is fine behind the scenes with technically minded people who fully understand the reason for it but will seem daft to others and not very user friendly
Feel free to close the case. Do you have a 'Buy me a coffee' page, or similar? I must owe you a Coffee/Beer/Other by now as that's the second of my issues you've fixed real quickly and I genuinely use your node on a daily basis as it makes for a much more configurable morning alarm than the useless Sonos app!!

... nice idea. I never though of that - but like to explore new things.
Here we go: https://www.buymeacoffee.com/hklages
Its not finally tested and may include bugs :-)

Hi, I'm having the same issue (and I agree with the previous poster about not using camel-case in names...I would much rather use config names. I have a LOT of Sonos equipment and the names get pretty involved).
Here's my error.
"household.create.group: player list (payload >>Ceiling Speakers, Living Room Playbar) has wrong syntax/regex >>/^[a-zA-Z0-9äöüÄÖÜ]+([: -._]{0,1}[a-zA-Z0-9äöüÄÖÜ]+)*(,[a-zA-ZäöüÄÖÜ0-9]+([: -._]{0,1}[a-zA-Z0-9äöüÄÖÜ])*)*$/ :: Details: none"
I am running 4.3.5. I suspect there may be something wrong with my installation. I was running a much older version before today and after updating the node names don't appear and the text stretches past the boundary of the node. For instance, if I name a sonos universal node 'My Test Node' it still has sonos-universal but only 'sonos-un' fits on the node. I have uninstalled/reinstalled and restarted node-red several times.

Hi, I'm having the same issue (and I agree with the previous poster about not using camel-case in names...I would much rather use config names. I have a LOT of Sonos equipment and the names get pretty involved).
Here's my error.
"household.create.group: player list (payload >>Ceiling Speakers, Living Room Playbar) has wrong syntax/regex >>/^[a-zA-Z0-9äöüÄÖÜ]+([: -._]{0,1}[a-zA-Z0-9äöüÄÖÜ]+)*(,[a-zA-ZäöüÄÖÜ0-9]+([: -._]{0,1}[a-zA-Z0-9äöüÄÖÜ])*)*$/ :: Details: none"
I am running 4.3.5. I suspect there may be something wrong with my installation. I was running a much older version before today and after updating the node names don't appear and the text stretches past the boundary of the node. For instance, if I name a sonos universal node 'My Test Node' it still has sonos-universal but only 'sonos-un' fits on the node. I have uninstalled/reinstalled and restarted node-red several times.

I stood up a brand new instance of node-red and only installed this package. I'm getting the same errors.

Ok, I sorted it. I had a space after the comma. Removing that fixed the problem. Might I suggest that this is a rather fragile approach? Perhaps a JSON object would work better?

Thanks. Your feedback is very much appreciated.

JSON versus csv: I prefer JSON but thought that many user prefer csv. As work around: You can use the Node-RED build in CSV node to easily convert the payload from JSON to csv. I consider to offer option  "jsonFormat" or similiar with default false. Maybe in one of the next release.

config node: My intention was to use ONLY SONOS-Playernames and get rid of all config nodes. Listening to your (and other ) comments that seems to be the wrong approach. Confignode provide some advantages (naming, flexibility when changing SONOS-Playernames, ...) . It will take a few weeks to work on that: Options are to implement it  for this command only or for all commands to be consistent. Needs testing to ensure reliability, stability

Let me know any feedback.

I agree with the previous poster about not using camel-case in names...I would much rather use config names

The guys from Node-RED just confirmed that it is not possible to access the config nodes names during run time.

I consider now to implement a combination: Use only one config node per household. In that config node you have to name at least one player (with ip address) but may also label all other players (similiar to config node: label - ip address).  I could then make these labels available in all Universal/ My Sonos nodes for selection or being provided via a special msg property.
That will brake all flows - I have to be carefull - needs some more exploration.


Enhancement request: Support for AppRole Auth Method

Please add support for AppRole Auth Method.

AppRoles are now the primary method of authentication.


Fabric server not working with latest snapshot 21w39a

With all defaults but TYPE set to FABRIC and VERSION set to SNAPSHOT or "21w39a" the server crashes. It won't even get as far as making a log file.

I assume I have recreated the issue since I see it failing with:
[init] Starting the Minecraft server...
Exception in thread "main" java.lang.RuntimeException: Failed to setup Fabric server environment!
	at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:58)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: An exception occurred when launching the server!
	at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:116)
	at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:56)
Caused by: java.lang.RuntimeException: An exception occurred when launching the server!
	at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:70)
	at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:114)
	... 1 more
Caused by: java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:68)
	... 2 more
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
	at net.fabricmc.loader.launch.common.FabricLauncherBase.<clinit>(FabricLauncherBase.java:48)
	at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:27)
	... 7 more
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.LogManager
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	at net.fabricmc.loader.launch.server.InjectingURLClassLoader.loadClass(InjectingURLClassLoader.java:57)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	... 9 more
2021-09-30T19:00:20.282Z	WARN	mc-server-runner	sub-process failed	{"exitCode": 1}
2021-09-30T19:00:20.282Z	INFO	mc-server-runner	Done

This is starting to look like a problem with Fabric's build since I don't see any logging config getting in the way
root@9523b2a89951:/data# ls
eula.txt                    fabric-server-21w39a.jar           server.jar
fabric-installer-0.7.4.jar  fabric-server-launcher.properties  server.properties
root@9523b2a89951:/data# java -jar fabric-server-21w39a.jar
Exception in thread "main" java.lang.RuntimeException: Failed to setup Fabric server environment!
        at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:58)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: An exception occurred when launching the server!
        at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:116)
        at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:56)
Caused by: java.lang.RuntimeException: An exception occurred when launching the server!
        at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:70)
        at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:114)
        ... 1 more
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:68)
        ... 2 more
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
        at net.fabricmc.loader.launch.common.FabricLauncherBase.<clinit>(FabricLauncherBase.java:48)
        at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:27)
        ... 7 more
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.LogManager
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
        at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        at net.fabricmc.loader.launch.server.InjectingURLClassLoader.loadClass(InjectingURLClassLoader.java:57)
        at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        ... 9 more

And the class it is trying to load is indeed missing from the jar manifest and embedded content:
root@9523b2a89951:/data# unzip fabric-server-21w39a.jar META-INF/MANIFEST.MF
Archive:  fabric-server-21w39a.jar
  inflating: META-INF/MANIFEST.MF
root@9523b2a89951:/data# cat META-INF/MANIFEST.MF
Manifest-Version: 1.0
Main-Class: net.fabricmc.loader.launch.server.FabricServerLauncher

root@9523b2a89951:/data# zipinfo fabric-server-21w39a.jar | grep LogManager

Yes, that's exactly the error. Should I try to file it with the fabric team? I'm not exactly sure how all this works yet.

It does seem like an issue to report with Fabric. I had done a quick search to see if anybody had reported the same, but didn't find anything yet. You may want to search again just to be sure.

21w39a support requires Fabric Loader 0.12+, which is currently not exposed via the meta API for a gradual rollout - see https://fabricmc.net/2021/10/03/loader-0120.html

Thanks for the info @sfPlayer1


Add zsh completion for '--log-opt syslog-format'

Ref. #20121
This is the version without rfc5424micro syslog-format. I will do another PR to add it.
ping @thaJeztah To cherry-pick into 1.11.0
@albers Thx for the ping
Signed-off-by: Steve Durrheimer<EMAIL_ADDRESS>

Thanks so much! LGTM

LGTM 🐯


fix: name wrapping

fix wallet name wrapping for notifications
truncate long wallet names

Task linked: CU-8693jcz13 Notifications. Broken notification state for the longest proxy type

Task linked: CU-8693mcqmy Proxy. Long names does not feat UI


Update README.md

Added troubleshooting guidance on how to handle errors while running the scripts

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


SSD support

#85
In this PR:

Two packages with Caffe SSD libraries (CPU and GPU with CUDA)

lib-caffe-ssd-cpu
lib-caffe-ssd-cuda

Corresponding programs for SSD detection (only with default mode)

caffe-detection-ssd
caffe-detection-ssd-cuda

COCO-2014, VOC-2007, VOC-2012 datasets

dataset-coco-2014
datataset-voc-2007
dataset-voc-2012

Pretrained SSD 300 and 512 models (trained on COCO and VOC)

caffemodel-ssd-coco-300
caffemodel-ssd-coco-512
caffemodel-ssd-voc-300
caffemodel-ssd-voc-512

Will provide an updated PR soon.


ccleaner hash not matching

Hash doesn't match anymore, I'm guessing because of an update.

@r15ch13 Thank you. I don't remember why I couldn't get it myself at the time, but thank you.


Add Committers.md

Per https://github.com/twitter/analytics-infra-governance

If we're happy with this format, I'll send PRs to the rest of the repos as well

Looks pretty good, I guess. I hate making such lists, but I hope people will remember to check the graphs page to see the many contributions from so many generous people.

👍

+1 if we're worried about not giving due credit to previous committers, could we rename this to convey that these people have merge permissions (that's the case right)? Or is the file name important?

To clarify, this is not a list of contributors, but rather a list of who can +1 a PR (which is a pretty commonly used term). It would be nice if there were an even more clear term for this but committer is pretty well established.
We have this:
It is not necessary to become a committer in order to contribute to the Analytics Infrastructure OSS Ecosystem. Anyone is welcome to contribute to Twitter's OSS projects, and pull requests and bug reports are greatly appreciated.
in https://github.com/twitter/analytics-infra-governance
But would could make that even more explicit with a pointer to the contributors page


Split operator classes to separate files

Description

While working on another issue where I was making changes to operators, I thought it's time to separate each class to their own file as is the case with handlers. It was also ignoring the pylint too-many-lines check which we have set at 1000 lines.
Type of change

[x] Bug fix (in the sense that the operators file doesn't have to skip the pylint check)

Changes Made

operator classes from operators.py are now under operators/ in different files
added an empty line to one of the test files and a way to not remove that when the integration test rebuilds that file
updated previous unit tests to work with this change

Testing

[x] Unit Tests

Mentions

note: i don't get why the submitter's in wordlist.txt gets switched place on your commits ? can you ignore that change so it does not get committed every time

Must be a pre-commit thing as well. I'm as confused as you 😅


[ARCTIC-1514] Optimizing should retry with exponentially increasing interval

Why are the changes needed?

fix #1514
Brief change log

optimizing should retry with exponentially increasing interval

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before making a pull request

Documentation

Does this pull request introduces a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

LGTM


Support child ViewModels

Fixes #39
Usage:
class MyParentViewModel: shared.MyParentViewModel {
    override var myChildViewModel: MyChildViewModel {
        childViewModel(super.myChildViewModel, at: \.myChildViewModel)
    }
}

Yes, which is not uncommon in our codebase. Also consider lists of child view models.

Actually we could fix that by using @ShouldRefineInSwift and an extension property instead of a subclass.

@humblehacker do you have an example of such lists? I mean is it just a regular list containing KMMViewModels?

We have this, for example:
    @NativeCoroutinesState
    val tasks: StateFlow<List<TaskViewModel>> = mutableTasks.asStateFlow()

Alright, that should be doable. Do you see any other potential issues or challenges?

We also have maps of view models like this:
    @NativeCoroutinesState
    val things: StateFlow<Map<Item, ThingViewModel>?> = mutableThings.asStateFlow()

Fixes #39
Usage:
extension MyParentViewModel {
    var myChildViewModel: MyChildViewModel {
        childViewModel(__myChildViewModel, at: \.__myChildViewModel)
    }
}

hello, I am facing with the issue regarding child viewmodels, but when I am trying to write extension, I am getting error like Cannot find 'childViewModels' in scope. Something was changed in new versions? I changed in parent viewmodel annotation for inner viewmodel and I wanna write that block of the code above, but I am getting issue. can you help me?

@ldobransky the childViewModel functions should be available in v1.0.0-ALPHA-10 and above.
If for some reason they aren't please open an issue with some reproduction code.


data could't be available

I could not download data cause LFS worning.

Hi,
It seems the LFS limit has been exceeded due to too many downloads.
Here is an alternative way to get the code and model:

Download code using this command:
git lfs clone https://github.com/abhishekdbihani/MudrockNet

Download the trained model from here:

Hope this helps!


Do u have the model in 16 bit ?

I am looking to get the models in 16bit, currently I see its only 32bit.

Only the most recent Intel CPUs support bfloat16.

FP32 versus FP16 - not BFLOAT16 ;-)

OpenVINO doesn't have FP16 at all for CPU. So, even if a model is in FP16 it will be calculated in FP32 anyway. Frankly, I see no point in having FP16 models in that case.

A model in FP16 can be used with the OpenVINO CPU-plugin as well as with other plugins/for other devices (like a VisionProcessingUnit VPU).
Wanting to use FP16 over FP32 can have other reasons as well.

We can get meaningful acceleration on dGPU, iGPU if we use FP16. Where is the script for converting the model to IR? I can help compiling and testing that too.

Can you load the FP32 model and use FP16 for calculations? No problem.

https://huggingface.co/raymondlo84/stable-diffusion-v1-4-openvino-fp16
We have created this for the community. We are getting a significant speed up on A770m (~1.8 it/s -> ~6.6 it/s), and it's now 1/2 of the model size and use much less VRAM.
You can try this without any code changes. But if you want to use the GPU, you have to change the device = "GPU" or "GPU.1" if you have multiple GPUs (iGPU + dGPU) like my setup.
class StableDiffusionEngine:
def init(
self,
scheduler,
model="bes-dev/stable-diffusion-v1-4-openvino",
tokenizer="openai/clip-vit-large-patch14",
device="GPU"
):
python demo.py --prompt "tree house" --model raymondlo84/stable-diffusion-v1-4-openvino-fp16

We also have a notebook that teaches how we convert, optimize, and also run these with OpenVINO. Check it out.
https://github.com/openvinotoolkit/openvino_notebooks/pull/805
Special thanks and credit: Ekaterina
Cheers

Can you load the FP32 model and use FP16 for calculations? No problem.

In 2023.0 version yes.

Can you load the FP32 model and use FP16 for calculations? No problem.

In 2023.0 version yes. But having FP16 also reduce the model size significantly.

Yep, exactly twice ;) Say, from 4GB to 2GB, which is not a big deal at least to me.
Just worrying if FP16 usage would lead to precision loss. Although frankly, I couldn't find much of a difference between FP16 and FP32 in my experiments, which looks odd to me. It seems the initial SD model has been generated with FP16 already.


module not found

 ERROR  Failed to compile with 2 errors                                                                                11:21:49

This dependency was not found:

* !!vue-style-loader!css-loader?{"sourceMap":false}!../../../../vue-loader/lib/style-compiler/index?{"vue":true,"id":"data-v-0978a9e7","scoped":false,"hasInlineConfig":false}!sass-loader?{"sourceMap":false}!./stf-select.scss in ./node_modules/stf-vue-select/src/components/stf-select/StfSelect.vue

To install it, you can run: npm install --save !!vue-style-loader!css-loader?{"sourceMap":false}!../../../../vue-loader/lib/style-compiler/index?{"vue":true,"id":"data-v-0978a9e7","scoped":false,"hasInlineConfig":false}!sass-loader?{"sourceMap":false}!./stf-select.scss

This relative module was not found:

* ./components/stf-select in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0&bustCache!./src/components/HelloWorld.vue

After I installed 'sass-loader' module, I ended up 2 problems.

But the last question remains unsolved
This relative module was not found:

* ./components/stf-select in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0&bustCache!./src/components/HelloWorld.vue

All problems have been solved

You need to install these two packages

npm i sass-loader -save
npm i node-sass --save

Main.js
import StfSelect from "stf-vue-select/src/components/stf-select/StfSelect.vue";
import StfSelectOption from "stf-vue-select/src/components/stf-select/StfSelectOption.vue";
import "stf-vue-select/dist/lib/stf-vue-select.min.css";

Vue.component("stf-select-option", StfSelectOption);
Vue.component("stf-select", StfSelect);

HelloWorld.vue
<template>
..................................................
</template>
<script>

import StfSelect from "stf-vue-select/src/components/stf-select/StfSelect.vue";
import StfSelectOption from "stf-vue-select/src/components/stf-select/StfSelectOption.vue";

export default {
  name:'HellpWorld',
  components: {
    StfSelect,
    StfSelectOption
  },
..................................................
</script>


Context as a method

This change gives a way to define own context, thus, it gets passed to a resource.
The idea was to define a context method which could be redefined by children. But, it looks like a child's context method gets redefined but the helper method. In general, any method listed in
Grape::JSONAPI::Helpers cannot be redefined in children.

It's a nice solution. Thanks @dnesteryuk  🙂


Client not logging on. Hangs

Keybase GUI Version: 1.0.23-20170522110822+8a8aea0
I've tried this several times this morning and figured I better let you know. I"m in the Seattle area, running Win10, with -- I believe (ish) -- the latest keybase client. No error and no flags. Doesn't appear to be sucking memory either.

Cc @zanderz can you help?

I attempted to repair... received error, so now I uninstalled. Here's the log.
[2F2C:50CC][2017-06-09T06:38:37]i001: Burn v<IP_ADDRESS>6, Windows v10.0 (Build 15063: Service Pack 0), path: C:\Users\ghefl\AppData\Local\Temp{DC977093-EA17-462E-8FB1-6EA12DDC1EC6}.cr\keybase_setup_386.exe
[2F2C:50CC][2017-06-09T06:38:37]i000: Initializing string variable 'DokanInstallFolder' to value '[ProgramFiles6432Folder]Dokan\Dokan Library-1.0.0'
[2F2C:50CC][2017-06-09T06:38:37]i009: Command Line: '-burn.clean.room=C:\Users\ghefl\Downloads\keybase_setup_386.exe'
[2F2C:50CC][2017-06-09T06:38:37]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\ghefl\Downloads\keybase_setup_386.exe'
[2F2C:50CC][2017-06-09T06:38:37]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\ghefl\Downloads'
[2F2C:50CC][2017-06-09T06:38:37]i000: Setting string variable 'LOGPATH_PROP' to value 'C:\Users\ghefl\AppData\Local\Temp\Keybase_20170609063837.log'
[2F2C:50CC][2017-06-09T06:38:37]i000: Setting string variable 'WixBundleManufacturer' to value 'Keybase, Inc.'
[2F2C:2F04][2017-06-09T06:38:37]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[2F2C:2F04][2017-06-09T06:38:37]i000: Setting version variable 'WixBundleFileVersion' to value '<IP_ADDRESS>9'
[2F2C:50CC][2017-06-09T06:38:38]i100: Detect begin, 13 packages
[2F2C:50CC][2017-06-09T06:38:38]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{65A3A986-3DC3-0100-0001-161027133015}'
[2F2C:50CC][2017-06-09T06:38:38]i052: Condition 'NOT DokanUninstallString' evaluates to true.
[2F2C:50CC][2017-06-09T06:38:38]i000: Setting string variable 'DokanUninstallString' to value 'MsiExec.exe /X{65A3A964-3DC3-0100-0001-161027133015}'
[2F2C:50CC][2017-06-09T06:38:38]i000: Registry key not found. Key = 'Software\Microsoft\Windows\CurrentVersion\Uninstall{70E747DE-4E09-44B0-ACAD-784AA9D79C02}_is1'
[2F2C:50CC][2017-06-09T06:38:38]i000: Setting numeric variable 'InnoCLIInstalled' to value 0
[2F2C:50CC][2017-06-09T06:38:38]i052: Condition 'NOT InnoCLIInstalled' evaluates to true.
[2F2C:50CC][2017-06-09T06:38:38]i000: Registry key not found. Key = 'Software\Microsoft\Windows\CurrentVersion\Uninstall{70E747DE-4E09-44B0-ACAD-784AA9D79C02}_is1'
[2F2C:50CC][2017-06-09T06:38:38]i000: Setting numeric variable 'InnoCLIInstalled' to value 0
[2F2C:50CC][2017-06-09T06:38:38]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{357F272E-BE0E-409F-8E39-0BB9827F5716}_is1'
[2F2C:50CC][2017-06-09T06:38:38]i052: Condition 'NOT InnoKBFSUninstallString' evaluates to true.
[2F2C:50CC][2017-06-09T06:38:38]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{357F272E-BE0E-409F-8E39-0BB9827F5716}_is1'
[2F2C:50CC][2017-06-09T06:38:38]i000: Setting string variable 'NETFRAMEWORK40' to value '1'
[2F2C:50CC][2017-06-09T06:38:38]i000: Setting version variable 'ADVAPIVERSION' to value '10.0.15063.0'
[2F2C:50CC][2017-06-09T06:38:38]i000: Setting version variable 'UCRTVERSION' to value '10.0.15063.0'
[2F2C:50CC][2017-06-09T06:38:38]i000: Setting version variable 'UCRTVERSION64' to value '10.0.15063.0'
[2F2C:50CC][2017-06-09T06:38:38]i000: Setting string variable 'vcredist_2015_x64_installed' to value '1'
[2F2C:50CC][2017-06-09T06:38:38]i052: Condition 'NOT vcredist_2015_x64_installed' evaluates to false.
[2F2C:50CC][2017-06-09T06:38:38]i000: Setting numeric variable 'vcredist_2015_x64_version' to value 1
[2F2C:50CC][2017-06-09T06:38:38]i000: Setting string variable 'vcredist_2015_x64_versionnumber' to value '14.10.25008'
[2F2C:50CC][2017-06-09T06:38:38]i000: Setting string variable 'vcredist_2015_x86_installed' to value '1'
[2F2C:50CC][2017-06-09T06:38:38]i000: Setting numeric variable 'vcredist_2015_x86_version' to value 1
[2F2C:50CC][2017-06-09T06:38:38]i000: Setting string variable 'vcredist_2015_x86_versionnumber' to value '14.10.25008'
[2F2C:50CC][2017-06-09T06:38:38]i000: Setting version variable 'WINTRUSTVERSION' to value '10.0.15063.0'
[2F2C:50CC][2017-06-09T06:38:38]i052: Condition 'NETFRAMEWORK40' evaluates to true.
[2F2C:50CC][2017-06-09T06:38:38]i052: Condition 'DokanUninstallString OR nodriver' evaluates to true.
[2F2C:50CC][2017-06-09T06:38:38]i052: Condition 'vcredist_2015_x86_installed AND vcredist_2015_x86_version AND vcredist_2015_x86_versionnumber >= v14.0.23918' evaluates to true.
[2F2C:50CC][2017-06-09T06:38:38]i052: Condition 'vcredist_2015_x64_installed AND vcredist_2015_x64_version AND vcredist_2015_x64_versionnumber >= v14.0.23918' evaluates to true.
[2F2C:50CC][2017-06-09T06:38:38]i052: Condition 'UCRTVERSION >= v6.2.10585.0' evaluates to true.
[2F2C:50CC][2017-06-09T06:38:38]i052: Condition 'UCRTVERSION64 >= v6.2.10585.0' evaluates to true.
[2F2C:50CC][2017-06-09T06:38:38]i052: Condition 'UCRTVERSION >= v6.2.10585.0' evaluates to true.
[2F2C:50CC][2017-06-09T06:38:38]i052: Condition 'UCRTVERSION64 >= v6.2.10585.0' evaluates to true.
[2F2C:50CC][2017-06-09T06:38:38]i052: Condition 'UCRTVERSION >= v6.2.10585.0' evaluates to true.
[2F2C:50CC][2017-06-09T06:38:38]i052: Condition 'UCRTVERSION64 >= v6.2.10585.0' evaluates to true.
[2F2C:50CC][2017-06-09T06:38:38]i101: Detected package: NetFx40Web, state: Present, cached: None
[2F2C:50CC][2017-06-09T06:38:38]i101: Detected package: dokanclean.exe, state: Present, cached: Complete
[2F2C:50CC][2017-06-09T06:38:38]i101: Detected package: vcredist_2015_x86.exe, state: Present, cached: None
[2F2C:50CC][2017-06-09T06:38:38]i101: Detected package: vcredist_2015_x64.exe, state: Present, cached: None
[2F2C:50CC][2017-06-09T06:38:38]i101: Detected package: Win71_KB2999226_x86, state: Present, cached: None
[2F2C:50CC][2017-06-09T06:38:38]i101: Detected package: Win71_KB2999226_x64, state: Present, cached: None
[2F2C:50CC][2017-06-09T06:38:38]i101: Detected package: Win80_KB2999226_x86, state: Present, cached: None
[2F2C:50CC][2017-06-09T06:38:38]i101: Detected package: Win80_KB2999226_x64, state: Present, cached: None
[2F2C:50CC][2017-06-09T06:38:38]i101: Detected package: Win81_KB2999226_x86, state: Present, cached: None
[2F2C:50CC][2017-06-09T06:38:38]i101: Detected package: Win81_KB2999226_x64, state: Present, cached: None
[2F2C:50CC][2017-06-09T06:38:38]i101: Detected package: Dokan_x86.msi, state: Absent, cached: None
[2F2C:50CC][2017-06-09T06:38:38]i101: Detected package: Dokan_x64.msi, state: Present, cached: Complete
[2F2C:50CC][2017-06-09T06:38:38]i101: Detected package: KeybasePrograms, state: Present, cached: Complete
[2F2C:50CC][2017-06-09T06:38:38]i052: Condition 'Installed OR VersionNT > v6.1 OR (VersionNT = v6.1 AND ServicePackLevel >= 1)' evaluates to true.
[2F2C:50CC][2017-06-09T06:38:38]i052: Condition 'Installed OR VersionNT > v6.1 OR (VersionNT = v6.1 AND ((WINTRUSTVERSION >= v6.1.7601.18741 AND WINTRUSTVERSION < v6.1.7601.22000) OR WINTRUSTVERSION >= v6.1.7601.22948))' evaluates to true.
[2F2C:50CC][2017-06-09T06:38:38]i052: Condition 'NOT InnoCLIInstalled AND NOT InnoKBFSUninstallString' evaluates to true.
[2F2C:50CC][2017-06-09T06:38:38]i199: Detect complete, result: 0x0
[2F2C:50CC][2017-06-09T06:38:44]i200: Plan begin, 13 packages, action: Repair
[2F2C:50CC][2017-06-09T06:38:44]w321: Skipping dependency registration on package with no dependency providers: NetFx40Web
[2F2C:50CC][2017-06-09T06:38:44]i000: Setting string variable 'WixBundleLog_NetFx40Web' to value 'C:\Users\ghefl\AppData\Local\Temp\Keybase_20170609063837_000_NetFx40Web.log'
[2F2C:50CC][2017-06-09T06:38:44]w321: Skipping dependency registration on package with no dependency providers: dokanclean.exe
[2F2C:50CC][2017-06-09T06:38:44]w321: Skipping dependency registration on package with no dependency providers: vcredist_2015_x86.exe
[2F2C:50CC][2017-06-09T06:38:44]i000: Setting string variable 'WixBundleLog_vcredist_2015_x86.exe' to value 'C:\Users\ghefl\AppData\Local\Temp\Keybase_20170609063837_001_vcredist_2015_x86.exe.log'
[2F2C:50CC][2017-06-09T06:38:44]i052: Condition 'VersionNT64' evaluates to true.
[2F2C:50CC][2017-06-09T06:38:44]w321: Skipping dependency registration on package with no dependency providers: vcredist_2015_x64.exe
[2F2C:50CC][2017-06-09T06:38:44]i000: Setting string variable 'WixBundleLog_vcredist_2015_x64.exe' to value 'C:\Users\ghefl\AppData\Local\Temp\Keybase_20170609063837_002_vcredist_2015_x64.exe.log'
[2F2C:50CC][2017-06-09T06:38:44]i052: Condition 'NOT VersionNT64 AND VersionNT = v6.1' evaluates to false.
[2F2C:50CC][2017-06-09T06:38:44]w321: Skipping dependency registration on package with no dependency providers: Win71_KB2999226_x86
[2F2C:50CC][2017-06-09T06:38:44]i052: Condition 'VersionNT64 AND VersionNT = v6.1' evaluates to false.
[2F2C:50CC][2017-06-09T06:38:44]w321: Skipping dependency registration on package with no dependency providers: Win71_KB2999226_x64
[2F2C:50CC][2017-06-09T06:38:44]i052: Condition 'NOT VersionNT64 AND VersionNT = v6.2' evaluates to false.
[2F2C:50CC][2017-06-09T06:38:44]w321: Skipping dependency registration on package with no dependency providers: Win80_KB2999226_x86
[2F2C:50CC][2017-06-09T06:38:44]i052: Condition 'VersionNT64 AND VersionNT = v6.2' evaluates to false.
[2F2C:50CC][2017-06-09T06:38:44]w321: Skipping dependency registration on package with no dependency providers: Win80_KB2999226_x64
[2F2C:50CC][2017-06-09T06:38:44]i052: Condition 'NOT VersionNT64 AND VersionNT >= v6.3 AND ADVAPIVERSION < v6.3.10000.0' evaluates to false.
[2F2C:50CC][2017-06-09T06:38:44]w321: Skipping dependency registration on package with no dependency providers: Win81_KB2999226_x86
[2F2C:50CC][2017-06-09T06:38:44]i052: Condition 'VersionNT64 AND VersionNT >= v6.3 AND ADVAPIVERSION < v6.3.10000.0' evaluates to false.
[2F2C:50CC][2017-06-09T06:38:44]w321: Skipping dependency registration on package with no dependency providers: Win81_KB2999226_x64
[2F2C:50CC][2017-06-09T06:38:44]i052: Condition 'NOT VersionNT64 AND NOT nodriver' evaluates to false.
[2F2C:50CC][2017-06-09T06:38:44]w322: Skipping cross-scope dependency registration on package: Dokan_x86.msi, bundle scope: PerUser, package scope: PerMachine
[2F2C:50CC][2017-06-09T06:38:44]i052: Condition 'VersionNT64 AND NOT nodriver' evaluates to true.
[2F2C:50CC][2017-06-09T06:38:44]w322: Skipping cross-scope dependency registration on package: Dokan_x64.msi, bundle scope: PerUser, package scope: PerMachine
[2F2C:50CC][2017-06-09T06:38:44]i000: Setting string variable 'WixBundleLog_Dokan_x64.msi' to value 'C:\Users\ghefl\AppData\Local\Temp\Keybase_20170609063837_003_Dokan_x64.msi.log'
[2F2C:50CC][2017-06-09T06:38:44]i000: Setting string variable 'WixBundleLog_KeybasePrograms' to value 'C:\Users\ghefl\AppData\Local\Temp\Keybase_20170609063837_004_KeybasePrograms.log'
[2F2C:50CC][2017-06-09T06:38:44]i201: Planned package: NetFx40Web, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: Yes, uncache: No, dependency: None
[2F2C:50CC][2017-06-09T06:38:44]i201: Planned package: dokanclean.exe, state: Present, default requested: Repair, ba requested: Repair, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2F2C:50CC][2017-06-09T06:38:44]i201: Planned package: vcredist_2015_x86.exe, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: Yes, uncache: Yes, dependency: None
[2F2C:50CC][2017-06-09T06:38:44]i201: Planned package: vcredist_2015_x64.exe, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: Yes, uncache: No, dependency: None
[2F2C:50CC][2017-06-09T06:38:44]i201: Planned package: Win71_KB2999226_x86, state: Present, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2F2C:50CC][2017-06-09T06:38:44]i201: Planned package: Win71_KB2999226_x64, state: Present, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2F2C:50CC][2017-06-09T06:38:44]i201: Planned package: Win80_KB2999226_x86, state: Present, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2F2C:50CC][2017-06-09T06:38:44]i201: Planned package: Win80_KB2999226_x64, state: Present, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2F2C:50CC][2017-06-09T06:38:44]i201: Planned package: Win81_KB2999226_x86, state: Present, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2F2C:50CC][2017-06-09T06:38:44]i201: Planned package: Win81_KB2999226_x64, state: Present, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2F2C:50CC][2017-06-09T06:38:44]i201: Planned package: Dokan_x86.msi, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2F2C:50CC][2017-06-09T06:38:44]i201: Planned package: Dokan_x64.msi, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: No, uncache: No, dependency: None
[2F2C:50CC][2017-06-09T06:38:44]i201: Planned package: KeybasePrograms, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: No, uncache: No, dependency: Register
[2F2C:50CC][2017-06-09T06:38:44]i299: Plan complete, result: 0x0
[2F2C:50CC][2017-06-09T06:38:44]i300: Apply begin
[2F2C:50CC][2017-06-09T06:38:44]i010: Launching elevated engine process.
[2F2C:50CC][2017-06-09T06:38:51]i011: Launched elevated engine process.
[2F2C:50CC][2017-06-09T06:38:51]i012: Connected to elevated engine.
[2B54:24D4][2017-06-09T06:38:51]i358: Pausing automatic updates.
[2B54:24D4][2017-06-09T06:38:51]i359: Paused automatic updates.
[2B54:24D4][2017-06-09T06:38:51]i360: Creating a system restore point.
[2B54:24D4][2017-06-09T06:39:38]i361: Created a system restore point.
[2F2C:50CC][2017-06-09T06:39:38]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{e9263df3-2e3a-43aa-8956-ccddea136cc3}, resume: Active, restart initiated: No, disable resume: No
[2F2C:0FA8][2017-06-09T06:39:38]w343: Prompt for source of package: NetFx40Web, payload: NetFx40Web, path: C:\Users\ghefl\Downloads\redist\dotNetFx40_Full_setup.exe
[2F2C:0FA8][2017-06-09T06:39:38]i338: Acquiring package: NetFx40Web, payload: NetFx40Web, download from: http://go.microsoft.com/fwlink/?linkid=182805
[2B54:313C][2017-06-09T06:39:50]i305: Verified acquired payload: NetFx40Web at path: C:\ProgramData\Package Cache.unverified\NetFx40Web, moving to: C:\ProgramData\Package Cache\06BECADB92A5FCCA2529C0B93687C2A0C6D0D610\redist\dotNetFx40_Full_setup.exe.
[2F2C:0FA8][2017-06-09T06:39:50]i336: Acquiring container: WixAttachedContainer, copy from: C:\Users\ghefl\Downloads\keybase_setup_386.exe
[2B54:313C][2017-06-09T06:40:02]i305: Verified acquired payload: vcredist_2015_x86.exe at path: C:\ProgramData\Package Cache.unverified\vcredist_2015_x86.exe, moving to: C:\ProgramData\Package Cache\D6927D811724CE0EC60E880D7D4F46772284FDBE\vc_redist.x86.exe.
[2B54:313C][2017-06-09T06:40:02]i305: Verified acquired payload: vcredist_2015_x64.exe at path: C:\ProgramData\Package Cache.unverified\vcredist_2015_x64.exe, moving to: C:\ProgramData\Package Cache\4ADFA13A0923977BD49CBA5BA1ADBB2D52A55DCD\vc_redist.x64.exe.
[2B54:313C][2017-06-09T06:40:03]i304: Verified existing payload: Dokan_x64.msi at path: C:\ProgramData\Package Cache{65A3A964-3DC3-0100-0001-161027133015}v<IP_ADDRESS>\Dokan_x64.msi.
[2F2C:0FA8][2017-06-09T06:40:06]i304: Verified existing payload: KeybasePrograms at path: C:\Users\ghefl\AppData\Local\Package Cache{ADDA8467-ED2F-491F-9F64-9762EC08308B}v<IP_ADDRESS>9\Keybase.msi.
[2B54:24D4][2017-06-09T06:40:06]i301: Applying execute package: NetFx40Web, action: Repair, path: C:\ProgramData\Package Cache\06BECADB92A5FCCA2529C0B93687C2A0C6D0D610\redist\dotNetFx40_Full_setup.exe, arguments: '"C:\ProgramData\Package Cache\06BECADB92A5FCCA2529C0B93687C2A0C6D0D610\redist\dotNetFx40_Full_setup.exe" /q /norestart /repair /ChainingPackage "Keybase"'
[2F2C:50CC][2017-06-09T06:40:18]i319: Applied execute package: NetFx40Web, result: 0x0, restart: None
[2B54:24D4][2017-06-09T06:40:18]i301: Applying execute package: vcredist_2015_x86.exe, action: Repair, path: C:\ProgramData\Package Cache\D6927D811724CE0EC60E880D7D4F46772284FDBE\vc_redist.x86.exe, arguments: '"C:\ProgramData\Package Cache\D6927D811724CE0EC60E880D7D4F46772284FDBE\vc_redist.x86.exe" /norestart /passive /chainingpackage ADMINDEPLOYMENT'
[2B54:24D4][2017-06-09T06:40:21]e000: Error 0x80070666: Process returned error: 0x666
[2B54:24D4][2017-06-09T06:40:21]e000: Error 0x80070666: Failed to execute EXE package.
[2F2C:50CC][2017-06-09T06:40:21]e000: Error 0x80070666: Failed to configure per-machine EXE package.
[2F2C:50CC][2017-06-09T06:40:21]i319: Applied execute package: vcredist_2015_x86.exe, result: 0x80070666, restart: None
[2F2C:50CC][2017-06-09T06:40:21]e000: Error 0x80070666: Failed to execute EXE package.
[2B54:24D4][2017-06-09T06:40:21]i351: Removing cached package: vcredist_2015_x86.exe, from path: C:\ProgramData\Package Cache\D6927D811724CE0EC60E880D7D4F46772284FDBE
[2B54:24D4][2017-06-09T06:40:23]i351: Removing cached package: NetFx40Web, from path: C:\ProgramData\Package Cache\06BECADB92A5FCCA2529C0B93687C2A0C6D0D610
[2F2C:50CC][2017-06-09T06:40:23]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{e9263df3-2e3a-43aa-8956-ccddea136cc3}, resume: ARP, restart: None, disable resume: No
[2F2C:50CC][2017-06-09T06:40:23]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{e9263df3-2e3a-43aa-8956-ccddea136cc3}, resume: ARP, restart initiated: No, disable resume: No
[2F2C:50CC][2017-06-09T06:40:23]i399: Apply complete, result: 0x80070666, restart: None, ba requested restart:  No
[2F2C:50CC][2017-06-09T06:41:41]i500: Shutting down, exit code: 0x666
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: ADVAPIVERSION = 10.0.15063.0
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: DokanInstallFolder = C:\Program Files\Dokan\Dokan Library-1.0.0
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: DokanUninstallString = MsiExec.exe /X{65A3A964-3DC3-0100-0001-161027133015}
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: InnoCLIInstalled = 0
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: LOGPATH_PROP = C:\Users\ghefl\AppData\Local\Temp\Keybase_20170609063837.log
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: NETFRAMEWORK40 = 1
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: ProgramFiles6432Folder = C:\Program Files
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: SystemFolder = C:\WINDOWS\system32
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: UCRTVERSION = 10.0.15063.0
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: UCRTVERSION64 = 10.0.15063.0
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: vcredist_2015_x64_installed = 1
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: vcredist_2015_x64_version = 1
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: vcredist_2015_x64_versionnumber = 14.10.25008
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: vcredist_2015_x86_installed = 1
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: vcredist_2015_x86_version = 1
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: vcredist_2015_x86_versionnumber = 14.10.25008
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: VersionNT = <IP_ADDRESS>
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: VersionNT64 = <IP_ADDRESS>
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WindowsFolder = C:\WINDOWS
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WINTRUSTVERSION = 10.0.15063.0
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleAction = 7
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleElevated = 1
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleFileVersion = <IP_ADDRESS>9
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleInstalled = 1
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleLastUsedSource = C:\Users\ghefl\Downloads
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleLog_Dokan_x64.msi = C:\Users\ghefl\AppData\Local\Temp\Keybase_20170609063837_003_Dokan_x64.msi.log
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleLog_KeybasePrograms = C:\Users\ghefl\AppData\Local\Temp\Keybase_20170609063837_004_KeybasePrograms.log
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleLog_NetFx40Web = C:\Users\ghefl\AppData\Local\Temp\Keybase_20170609063837_000_NetFx40Web.log
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleLog_vcredist_2015_x64.exe = C:\Users\ghefl\AppData\Local\Temp\Keybase_20170609063837_002_vcredist_2015_x64.exe.log
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleLog_vcredist_2015_x86.exe = C:\Users\ghefl\AppData\Local\Temp\Keybase_20170609063837_001_vcredist_2015_x86.exe.log
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleManufacturer = Keybase, Inc.
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleName = Keybase
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleOriginalSource = C:\Users\ghefl\Downloads\keybase_setup_386.exe
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleOriginalSourceFolder = C:\Users\ghefl\Downloads
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleProviderKey = {e9263df3-2e3a-43aa-8956-ccddea136cc3}
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleSourceProcessFolder = C:\Users\ghefl\Downloads
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleSourceProcessPath = C:\Users\ghefl\Downloads\keybase_setup_386.exe
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleTag =
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixBundleVersion = <IP_ADDRESS>9
[2F2C:50CC][2017-06-09T06:41:41]i410: Variable: WixStdBALanguageId = 1033
[2F2C:50CC][2017-06-09T06:41:41]i007: Exit code: 0x666, restarting: No
Downloaded new client and reinstalling

Thanks @glennhefley . Hopefully @zanderz can help you out.

Thanks @maxtaco
@zanderz   Reinstall seems to have fixed it. I've been loading and unloading software in-mass the last few days and running python programs which do all kinds of things... mostly university program produced software and the like... I might have done this to myself. It's working now.. have a great day

Log from this user: 68baa23888f3c4f1bacf4e1c


New command: m365 entra user group list

Usage
m365 entra user group list [options]
Description
Retrieves all groups where the user is a member
Options

Option
Description

-i, --id [id]
The ID of the user to retrieve information for. Use either id, userName or email, but not all.

-n, --userName [userName]
The name of the user to retrieve information for. Use either id, userName or email, but not all.

-e, --email [email]
The email of the user to retrieve information for. Use either id, userName or email, but not all.

--securityEnabledOnly [securityEnabledOnly]
Specifies that only security groups that the user is a member of should be returned

Examples
Retrieves groups that the user is a member of
m365 entra user group list --userName<EMAIL_ADDRESS>
Retrieves only security groups that the user is a member of
m365 entra user group list --userName<EMAIL_ADDRESS>--securityEnabledOnly

Default properties
No response
Additional Info
The response contains a list of group ids
[
  "123abc24-1234-415e-abcd-012ab20243d8",
  "987cba80-abcd-1234-a9a8-5e6cea73cdbb"
]

https://learn.microsoft.com/en-us/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0&tabs=http
I will work on it

Good suggestion @MartinM85, few comments:

For the description, let's add the word of at the end. "where the user is a member of".
Instead of id, let's use userId since ID would reflect to group.
Instead of email, let's use userEmail for the same reason.
The description about the security group only flag, does it actually only return security groups or security-enabled groups? There's a difference because some M365 groups can be security-enabled as well.
Let's add an example to list groups for the currently logged-in user (by specifying no options).
Instead of "Use either id, userName or email, but not all", if I'm not mistaken we use but not multiple..
Let's use something different from userName for the second example since we already used that one in the first example.
I'm questioning how the result will look for text, csv, md output since there are no properties. I think the csv and md output will be empty since they don't show complex values. For text, defining defaultProperties looks also impossible here.

I also doubt naming it entra user group list or entra user groupmembership list. What are your thoughts @pnp/cli-for-microsoft-365-maintainers?

According to the doc, with flag it will return security-enabled groups
I think that for currently logged-in user is a practice to use @meId or @meUserName
user get command is using but not all, but I will change it
not sure how text, csv and md format the array of string, I've never used any command that returns only array of strings/numbers

According to the doc, with flag it will return security-enabled groups

Ok, let's fix the description then because now we're saying that it only returns security groups.

* not sure how `text`, `csv` and `md` format the array of string, I've never used any command that returns only array of strings/numbers

Well, I can't think of a command right now that has a familiar output. Let's see what these responses will look like while developing the command.


IP handling during scaling

Scaling down has the following workflow:

annotate VM or BMH which should be removed
decrease the resource count of OSBMset/OSCtlplane

Right now the IP reservation entry won't be set as deleted.
As a result, we'll still have the deleted hosts in the
rendered predictible IPs list of the tripleo environment
file.
This change introduce the following new behavior:

annotate VM or BMH with a unified delete annotation
osp-director.openstack.org/delete-host=true
the annotation status of the VM/BMH gets reflected in the
resource status via "annotatedForDeletion": false/true
decrease the resource count of OSBMset/OSCtlplane to
remove the annotated VM/BMH
when node gets deleted it is deleted from

the resource CR status (OSVMSet/OSBMset)
the node gets removed from the ipset status
the osnet status entry get set as deleted
-> as a result the rendered tripleo IPs list for the role
will have a deleted entry

right now the IPreservation is only marked as deleted,
if a new node gets scaled in it will get the same hostname
and IP address.

The osnet status is now a map[string]OpenStackNetRoleStatus,
where the OpenStackNetRoleStatus

has the flag if all entries from that role should be added
to the tripleo predictible IPs list (AddToPredictableIPs)
list of IPReservations

With this structur, if the corresponding role CR gets deleted
the IP reservations can all be deleted at once via the added
finalizer in the OSIPset controller.
Additional changes:

use common LabelSelectors for controllers
simplifies the IPSet status.network status to not contain
AttachConfiguration specifics

Nice work!  Seems to be ready for merge, but let's wait for @dprince to review.

/lgtm


Update comparison.md

update some words and / or phrases to expose a better italian translation

/ping @ludo237


Grouping

Hi, is anyone working on grouping in the listview? I can add that if needed, but don't want to duplicate effort.

Currently, nobody is working on this. It is highly appreciated if you want to contribute.

Grouping has been added to the ListView control. So this issue will be closed.


water mask ortho model failing in barrier island environments

Hello,
I applied the "ortho_6410157" model to some barrier island plane imagery, and the results were not accurate enough to be useful for my work. I have a powerpoint of example images and overlays to provide examples of where the model worked well and failed, and I ran the model using both the "ensemble" and "best" options for comparison.
Examples of NorthCore Water Masked Images.pptx
Here are a handful of example images from my dataset:

I was wondering if I could improve the results without training a new model? Our project is currently labeling these images in doodler for habitat mapping work, so we'll have those doodled images for future model training on top of coasttrain and other available datasets, but I didn't know if there were ways to try to improve the results in the meantime.
Also, a side note: I had trouble installing the environment via conda. It worked for me when I went through the list of libraries and installed them via pip, starting with scikit-image. Unsure why, but I figured I'd share my environment woes while I'm asking about the model.
Thanks!
Xandra

Hi @xandra22 :wave:
Thanks a lot for trying this - despite not being as accurate as we'd both like, this is very valuable feedback for me. It is useful to know how much error to expect when we apply this Coast Train derived model to arbitrary data. Clearly, marshes are an issue, probably because we have relatively few example marshes in the training data.
If you have good label images for some of your marshes (I know doodler has been an issue - will respond to those issues), I could incorporate them into the next model retraining
Also, I will likely look at implementation using your example images to see if any insight can be made. In the meantime, I am providing another set of weights for a model trained on SWED data. This is preliminary and should not yet be shared  (just for testing, work in progress). The zipped folder contains a set of weights and a config file. It is targeted to smaller tiles (SWED data are 256x256x3 rgb pixels), but it'd be nice to know if this model trained on SWED is any better. In theory it should be, because it has seen more data from marshes, however all the imagery used in training and model validation is 10m sentinel imagery
swed_water_rgb_256_v2.zip

I'm going to close this now because we have new models to test. @xandra22 feel free to reopen this if you want to try testing the new models. Otherwise, we'll coordinate in RSCC meetings, etc


Prevent multiple feature state values being created for the same feature option

At the moment, the data structure allows for a feature state to have multiple feature state values for the same mv feature option. This PR resolves this by adding a constraint to the DB.
The PR is loosely related to #234, however it would only improve the situation on it's own in that the error message returned would be more appropriate.
Note that when this is merged we will also need to clear out any duplicates rows from the DB otherwise trying to save those multivariate features will always fail because of the validation.

Query to get duplicates:
select a.*
from multivariate_multivariatefeaturestatevalue a
join (
	select feature_state_id, multivariate_feature_option_id, count(id)
	from multivariate_multivariatefeaturestatevalue mm
	group by feature_state_id, multivariate_feature_option_id
	having count(id) > 1
) b
on a.feature_state_id = b.feature_state_id
and a.multivariate_feature_option_id = b.multivariate_feature_option_id
order by a.feature_state_id, a.multivariate_feature_option_id


Include duplicate pin name in pin label array, remove pinNames from component template

Closes https://github.com/tscircuit/easyeda-converter/issues/90

@seveibar test and benchmark workflow fails. Do I need to update test snapshots that you recently introduced?

@andrii-balitskyi it's snapshotting the pinLabels section of the code, so you can fix just by running bun test --update-snapshots (it uses a bun-native text snapshot)

@seveibar it still fails 🤔 . Also, I had to update some of the svgs, could you take a look at them?

For the SVGs, that's a regression, make sure to run bun i to get the latest dependencies.

@seveibar oh my bad, thanks a ton!


UploadStreamToBlockBlob gets TransferManager option

See: https://github.com/Azure/azure-storage-blob-go/issues/233
There needs to be a more robust way of controling memory reuse and threadpooling for streaming copies (or maybe all copies, I will not speak to that here).
This introduces a new interface called TransferManager.  This provides 3 main fuctions:

Control buffer allocation
Control goroutine allocation
Allow reuse

This allows a developer to control exactly how they wish to handle this for their use case.  We provide two implementations:

Static buffer allocation similar to the original implementation
Threadpool allocation similar to how it currently works since my change

Additionally, both of these support having shared pools between calls which is new.
It also allows for custom creation of implementations by users that better support their needs (a hybrid of the two above, one that adjusts buffer or concurrency based on transfer speed, ...)
Note: the behavior by default returns to the static buffer method here.  If azcopy likes the current behavior, it should switch using NewSyncPool()
Like the original change, this does not change the API compatibility.  I think that is probably something that should be done, but not in this change.
There are 3 files here that were not part of my change, but were not go fmt'd, so they have been updated by the go tool:

bytes_wrtier.go
zc_*

All tests without the end to end test system that are expected to pass do (comparing the failed tests in the non-changed version against this one).

Please see conversation here:
https://github.com/Azure/azure-storage-blob-go/pull/242

Please see conversation here:
https://github.com/Azure/azure-storage-blob-go/pull/242

I feel like in comparison to the other PR available, this one is much more user-friendly, which would be the vibe we're aiming for more.

I feel like in comparison to the other PR available, this one is much more user-friendly, which would be the vibe we're aiming for more.


Better support for Logic based indexing of List<Logic>

Motivation
In SystemVerilog, it's easy to index an entry in an array of signals:
logic [8:0] a [4:0];
logic [2:0] b;
logic [8:0] c;

assign c = a[b];

ROHD doesn't have a synthesizable array type, instead encouraging usage of List<Logic>.  However, this makes it much more verbose to access an index of an array based on another Logic.
Desired solution
Some sort of function or operation which reduces the effort required to do this sort of operation.
Alternatives considered
It is possible by looping through possible values manually and generating comparisons and oring them together, but that's more verbose.

Maybe a function on Logic called select or something that operates on an indexable Iterable<Logic> that automatically generates the hardware to select the right one?

Hey Max, I will start working on this one :)

An example of an equivalent API in ROHD could be:
List<Logic> a; // length of list is 5, each element width is 9 bits
Logic b; // width is 3 bits
Logic c; // width is 9 bits

// two potential options:
c <= a.selectIndex(b); // order matches closer to array indexing
c <= b.selectFrom(a);

Working on this issue...

Fixed in #438


add 2d text (as the texture of a plane)

Following the suggestions in https://github.com/rdeits/meshcat/pull/41
Here's an initial attempt

Still a lot to clean up but want to first check, does this look like what you had in mind?

Yeah, awesome! So, one question we should resolve is how we want to represent this in the meshcat interface. For example, one way to do it would be to add a new kind of object (like the way _meshfile works) which includes the specifications for the plane and the text on it. A second option would be to just expose the relevant pieces: for example, we could add a Plane geometry and create a TextTexture, and then drawing text on a plane would consist of sending a Plane with a TextTexture from the Python side.
I think I prefer the second option: it requires a bit more logic on the Python side, but it means that we can write text on anything, rather than just planes. And we can create convenience functions in Python so that simple tasks like drawing text on a flat surface is still easy. What do you think?

Agreed, option 2 is more versatile and python friendly, which I guess is the point.
I think here’s what’s probably necessary for the job:

Add Plane(Geometry) and TextTexture(Texture) in geometry.py
Add set_text() method for the Visualizer() class, which is then handled by a new SetText() class in command.py, and it looks kinda like:

class SetText:
    __slots__ = ["object", "path"]
    def __init__(self, text, geometry_or_object=None, material=None, path=[]):
        if geometry_or_object is None:
            geometry_or_object = Plane (width, height, h_segments, v_segments)
        text_texture = TextTexture(text)
        material = MeshPhongMaterial(map=text_texture)
        # may also need a separate treatment if the object already has material
        # and we are replacing the texture instead of initializing it here
        self.object = Mesh(geometry_or_object, material)
        self.path = path

    def lower(self):
        return {
            u"type": u"set_object",
            u"object": self.object.lower(),
            u"path": self.path.lower()
        }

Either add a call of set_object at the end of set_text on python side, or in handle_command  on JS side, change this line to include or =="set_text" https://github.com/rdeits/meshcat/blob/c7dcbca3af0e76f3c22573076a8d8e54b52dff67/src/index.js#L626

The only part I don’t immediately know how to do is actually creating TextTexture() in python. I know how to do it in JS now, but the tutorials I found all depend on creating a canvas in HTML first and then add the text via fillText. Not sure how this canvas business can be handled on the python side?

Yeah, this sounds pretty good. Right, writing text into a canvas is possible in python, but I'd rather not bother with it. Instead, I think we can send a set_object command as you suggested, and we can make the TextTexture.lower() method return something like this:
{
    uuid: <insert uuid here>,
    type: "_texttexture"
    text: "Hello world",
    font: "sans-serif",
    width: 200,
    height: 100,
    position: [10, 10],
}

Then on the Javascript side, we would need a little bit of logic to look for _texttexture textures and replace them with images by rendering the text into a Canvas using the provided arguments.
In that way, we can still rely on the browser's very convenient text rendering, while still staying very generic and composable.
Does that seem reasonable?

Yep, sounds very good and doable. Will try it and update here.

Hey Shen! Are you still working on this branch? Anything I can do to help?

Hey Robin, sorry for leaving it hanging here. I honestly had forgotten about this -- functionally it was working properly and hardcoding a few parameters served me well enough for then, so I lost track of cleaning it up here...
But yeah, I still do want it in. Will revisit it by the weekend and hopefully it will be pretty quick. But will definitely bother you if needed help :)

Ok, sounds good! Thanks!

Hey @rdeits, the PR is ready for review now.

Hey @shensquared I just wanted to let you know I haven't forgotten about this! I'm playing around with some ways to simplify the text loading logic (and also simplify some of the mesh loaders as well). I'll let you know if it works out (or if it doesn't...).

Ah, sounds good, thanks for letting me know.

I think https://github.com/shensquared/meshcat/pull/1 should work pretty well, and it avoids the complexity of needing a separate SetText command type.

Updated both the javascript and python codes for the new design.
Something weird came up. I noticed ctx.font isn’t getting updated correctly if using ${} syntax. By splitting out a dummy font middle-man, it seems ${} itself isn't to blame, though something is lost down this road.

Using “” + “” syntax works correctly, hence the small change.

Oh, fascinating (and baffling). Thanks for figuring that out.
This looks great, so I'm going to merge it!
We can still make more changes if necessary, since meshcat-python won't actually start using any of this new code until we merge https://github.com/rdeits/meshcat-python/pull/32


Add use-true-false rule (fixes #77)

Adds use-true rule (fixes #77)

The name is a bit misleading as it supports t.false too.
Some other suggestions:

use-true-false
use-strict-equal
use-strict-equality

Yeah, I changed it to use-true-false

Very cool @jfmengels!

Maybe also support builtin methods known to return booleans? I'm thinking Array.isArray(), etc.

@sindresorhus Would be nice yeah. Do you have a package that lists them by any chance?

No

Landed this. We can add improvements later: https://github.com/sindresorhus/eslint-plugin-ava/issues/79
Thanks @jfmengels! You're amazingly productive at this.

You're welcome ;)


Can't use style without selecting text /不选择文本就无法使用样式/

Only way to use style like font size, bold etc is select some text before set style.
只有使用字体大小，粗体等样式的方法是在设置样式之前选择一些文本。

i want to select style and then type

Sorry, due to the framework features of DraftJS, there is currently no way to do this.

other editors based on DraftJs working fine. But i want use this one

ok, please tell me which editors can do this, I will get ideas from them .

https://github.com/nikgraf/awesome-draft-js here is the list of editors

I get it, I will do some try in next version.

Hi, I just published the new version (2.0.6), and now you can use the inline style buttons without text selected.
and you must also upgrade braft-utils.


[BUG?] Clicking top menu items will scroll the page to the top

Describe the bug 描述你遇到的错误
I am not sure is it the intended behaviour or not, but if I click something on the menu while I am borrowing a page. It automatically scrolls the page to the top
This happens in anywhere in the demo site
Expected behavior 期待的行为
If this is not the intended behaviour, the page should not scroll up when clicking anything on the top menu
Screenshots 屏幕截图

Build Environment 构建环境
The demo site
Preview Environment 预览环境
The demo site
Additional Information 补充信息
I am not too sure should I report it as an issue or a discussion, because I am not sure if it is an intended behaviour
If it is an intended behaviour, is there a way to disable the scrolling?

I think it's not an intended behavior, the original LoveIt theme won't scroll when clicking the menu items.
Although on Safari only the search button will trigger this weird behavior, I don't know whether my fix works on other platforms.
I have already made a PR about this, can you help with the test?

Thanks for the fix @Sped0n, I gonna give a try now

It works for me on Chrome and Edge locally, I am using Win10

I also saw your PR and realized that the fix is quite simple. I guess I have to learn how Hugo theme works now so that hopefully one day I can fix these kinds of small issues myself

I also saw your PR and realized that the fix is quite simple. I guess I have to learn how Hugo theme works now so that hopefully one day I can fix these kinds of small issues myself and make a PR back

💪💪💪