Ark pod in STATUS: CrashLoopBackOff

What steps did you take and what happened:
I've followed the instructions in the documentation:

Docs for AWS
Getting Started

However the ark pod goes into CrashLoopBackOff. I then run the nginx-example. When I take a backup it succeeds, however most of the fields in ark backup describe nginx-backup show up as <none>, <n/a>. Also, ark recognizes zero warnings and zero errors:
$ ark get backups
NAME           STATUS    CREATED                         EXPIRES   SELECTOR
nginx-backup   New       2018-09-10 15:42:09 -0700 PDT   29d       app=nginx
$ ark get restores
NAME                          BACKUP         STATUS    WARNINGS   ERRORS    CREATED                         SELECTOR
nginx-backup-20180910154449   nginx-backup   New       0          0         2018-09-10 15:44:50 -0700 PDT   <none>

After an ark restore: Even though the restore succeeds, the namespace nginx-test does not exist.
So I check if the pod is running:
NAME                   READY     STATUS             RESTARTS   AGE
ark-4179056932-dgc9r   0/1       CrashLoopBackOff   9          26m

Ok so I check the logs:
...
An error occurred: object storage provider name must not be empty
...

Ok so I check the Google. The Google says "object storage provider name must not be empty" shows up in the GitHub repo, but a Ctrl-F search on the page Google points to says the phrase does not exist. 😞 No other results.
I've checked that all the name fields in my configuration are set. Especially in the Config and BackupStorageLocation resources. I've set all the provider fields to aws.
---
apiVersion: ark.heptio.com/v1
kind: Config
metadata:
  namespace: heptio-ark-test
  name: default
persistentVolumeProvider:
  name: aws
  config:
    region: us-west-2

---
apiVersion: ark.heptio.com/v1
kind: BackupStorageLocation
metadata:
  name: default
  namespace: heptio-ark-test
spec:
  provider: aws
  objectStorage:
    bucket: real-bucket-name
    config:
      region: us-west-2

The AWS user I'm using for this has all the permissions specified in the documentation. The bucket name in the IAM JSON is the correct bucket name. The bucket name in the YAML is the correct bucket name.
I've double checked that the namespace heptio-ark-test has been changed in all places. Including ark client set namespace=heptio-ark-test
How to proceed?
For the life of me I can't think of how else to troubleshoot this. The only error I get results in zero Google results. The documentation says nothing about this issue. Nobody else seems to have seen this error.
How do I proceed in troubleshooting this?
🤦♂
What did you expect to happen:

I should see something in the AWS Bucket
The ark restore should restore the nginx-example

The output of the following commands will help us better understand what's going on:
(Pasting long output into a GitHub gist or other pastebin is fine.)

kubectl logs deployment/ark -n heptio-ark

time="2018-09-10T23:04:15Z" level=info msg="setting log-level to INFO"
time="2018-09-10T23:04:15Z" level=info msg="Starting Ark server v0.9.4" logSource="pkg/cmd/server/server.go:101"
time="2018-09-10T23:04:15Z" level=info msg="Checking existence of namespace" logSource="pkg/cmd/server/server.go:264" namespace=heptio-ark-test
time="2018-09-10T23:04:15Z" level=info msg="Namespace exists" logSource="pkg/cmd/server/server.go:270" namespace=heptio-ark-test
time="2018-09-10T23:04:15Z" level=info msg="Checking existence of Ark custom resource definitions" logSource="pkg/cmd/server/server.go:299"
time="2018-09-10T23:04:15Z" level=info msg="All Ark custom resource definitions exist" logSource="pkg/cmd/server/server.go:332"
time="2018-09-10T23:04:15Z" level=info msg="Retrieving Ark configuration" logSource="pkg/cmd/server/server.go:337"
time="2018-09-10T23:04:15Z" level=info msg="Successfully retrieved Ark configuration" logSource="pkg/cmd/server/server.go:355"
time="2018-09-10T23:04:15Z" level=info msg="Using default resource priorities" logSource="pkg/cmd/server/server.go:405" priorities="[namespaces persistentvolumes persistentvolumeclaims secrets configmaps serviceaccounts limitranges pods]
"
time="2018-09-10T23:04:15Z" level=info msg="Configuring cloud provider for backup service" logSource="pkg/cmd/server/server.go:454"
An error occurred: object storage provider name must not be empty

ark backup describe <backupname> or kubectl get backup/<backupname> -n heptio-ark -o yaml

Name:         nginx-backup
Namespace:    heptio-ark-test
Labels:       <none>
Annotations:  <none>

Phase:  New

Namespaces:
  Included:  *
  Excluded:  <none>

Resources:
  Included:        *
  Excluded:        <none>
  Cluster-scoped:  auto

Label selector:  app=nginx

Snapshot PVs:  auto

TTL:  720h0m0s

Hooks:  <none>

Backup Format Version:  0

Started:    <n/a>
Completed:  <n/a>

Expiration:  0001-01-01 00:00:00 +0000 UTC

Validation errors:  <none>

Persistent Volumes: <none included>

ark backup logs <backupname>

hangs

ark restore describe <restorename> or kubectl get restore/<restorename> -n heptio-ark -o yaml

Name:         nginx-backup-20180910154449
Namespace:    heptio-ark-test
Labels:       <none>
Annotations:  <none>

Backup:  nginx-backup

Namespaces:
  Included:  *
  Excluded:  <none>

Resources:
  Included:        *
  Excluded:        <none>
  Cluster-scoped:  auto

Namespace mappings:  <none>

Label selector:  <none>

Restore PVs:  auto

Phase:

Validation errors:  <none>

Warnings:  <none>
Errors:    <none>

ark restore logs <restorename>
An error occurred: unable to retrieve logs because restore is not complete

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
After writing the rest of this issue I noticed I could set the log-level to debug. All it told me was each custom resource it found... Something we already know from log-level INFO.
time="2018-09-10T23:41:55Z" level=info msg="setting log-level to DEBUG"
time="2018-09-10T23:41:55Z" level=debug msg="Found custom resource" kind=PodVolumeRestore logSource="pkg/cmd/server/server.go:321"
time="2018-09-10T23:41:55Z" level=debug msg="Found custom resource" kind=ResticRepository logSource="pkg/cmd/server/server.go:321"
time="2018-09-10T23:41:55Z" level=debug msg="Found custom resource" kind=Backup logSource="pkg/cmd/server/server.go:321"
time="2018-09-10T23:41:55Z" level=debug msg="Found custom resource" kind=Config logSource="pkg/cmd/server/server.go:321"
time="2018-09-10T23:41:55Z" level=debug msg="Found custom resource" kind=DownloadRequest logSource="pkg/cmd/server/server.go:321"
time="2018-09-10T23:41:55Z" level=debug msg="Found custom resource" kind=PodVolumeBackup logSource="pkg/cmd/server/server.go:321"
time="2018-09-10T23:41:55Z" level=debug msg="Found custom resource" kind=Restore logSource="pkg/cmd/server/server.go:321"
time="2018-09-10T23:41:55Z" level=debug msg="Found custom resource" kind=Schedule logSource="pkg/cmd/server/server.go:321"
time="2018-09-10T23:41:55Z" level=debug msg="Found custom resource" kind=DeleteBackupRequest logSource="pkg/cmd/server/server.go:321"

Environment:

Ark version (use ark version):  0.9.4
Kubernetes version (use kubectl version): Client 1.9 Server 1.7
Cloud provider or hardware configuration: AWS
OS (e.g. from /etc/os-release): Ubuntu 16.04

I’m not at my computer so I can’t provide links, but if you’re using 0.9.x,
you need to be using the docs and examples for 0.9. BackupStorageLocation
is a new CRD that is in the master branch but not in any releases yet. You
need a backupStorageProvider section in the ark config with 0.9.
On Mon, Sep 10, 2018 at 7:53 PM Marco Hemken<EMAIL_ADDRESS>wrote:

What steps did you take and what happened:
I've followed the instructions in the documentation:

Docs for AWS https://heptio.github.io/ark/v0.9.0/aws-config
Getting Started https://heptio.github.io/ark/v0.9.0/quickstart

However the ark pod goes into CrashLoopBackOff. I then run the
nginx-example. When I take a backup it succeeds, however most of the fields
in ark backup describe nginx-backup show up as , <n/a>. Also, ark
recognizes zero warnings and zero errors:
$ ark get backups
NAME           STATUS    CREATED                         EXPIRES   SELECTOR
nginx-backup   New       2018-09-10 15:42:09 -0700 PDT   29d       app=nginx
$ ark get restores
NAME                          BACKUP         STATUS    WARNINGS   ERRORS    CREATED                         SELECTOR
nginx-backup-20180910154449   nginx-backup   New       0          0         2018-09-10 15:44:50 -0700 PDT
After an ark restore: Even though the restore succeeds, the namespace
nginx-test does not exist.
So I check if the pod is running:
NAME                   READY     STATUS             RESTARTS   AGE
ark-4179056932-dgc9r   0/1       CrashLoopBackOff   9          26m
Ok so I check the logs:
...
An error occurred: object storage provider name must not be empty
...
Ok so I check the Google. The Google says "object storage provider name
must not be empty" shows up in the GitHub repo, but a Ctrl-F search on
the page Google points to
https://github.com/heptio/ark/blob/master/pkg/cmd/server/server.go says
the phrase does not exist. 😞 No other results.
I've checked that all the name fields in my configuration are set.
Especially in the Config and BackupStorageLocation resources. I've set
all the provider fields to aws.

apiVersion: ark.heptio.com/v1
kind: Config
metadata:
namespace: heptio-ark-test
name: default
persistentVolumeProvider:
name: aws
config:
region: us-west-2

apiVersion: ark.heptio.com/v1
kind: BackupStorageLocation
metadata:
name: default
namespace: heptio-ark-test
spec:
provider: aws
objectStorage:
bucket: real-bucket-name
config:
region: us-west-2
The AWS user I'm using for this has all the permissions specified in the
documentation. The bucket name in the IAM JSON is the correct bucket name.
The bucket name in the YAML is the correct bucket name.
I've double checked that the namespace heptio-ark-test has been changed
in all places. Including ark client set namespace=heptio-ark-test
How to proceed?
For the life of me I can't think of how else to troubleshoot this. The
only error I get results in zero Google results. The documentation says
nothing about this issue. Nobody else seems to have seen this error.
How do I proceed in troubleshooting this?
🤦♂
What did you expect to happen:

I should see something in the AWS Bucket
The ark restore should restore the nginx-example

The output of the following commands will help us better understand
what's going on:
(Pasting long output into a GitHub gist https://gist.github.com or
other pastebin is fine.)

kubectl logs deployment/ark -n heptio-ark

time="2018-09-10T23:04:15Z" level=info msg="setting log-level to INFO"
time="2018-09-10T23:04:15Z" level=info msg="Starting Ark server v0.9.4" logSource="pkg/cmd/server/server.go:101"
time="2018-09-10T23:04:15Z" level=info msg="Checking existence of namespace" logSource="pkg/cmd/server/server.go:264" namespace=heptio-ark-test
time="2018-09-10T23:04:15Z" level=info msg="Namespace exists" logSource="pkg/cmd/server/server.go:270" namespace=heptio-ark-test
time="2018-09-10T23:04:15Z" level=info msg="Checking existence of Ark custom resource definitions" logSource="pkg/cmd/server/server.go:299"
time="2018-09-10T23:04:15Z" level=info msg="All Ark custom resource definitions exist" logSource="pkg/cmd/server/server.go:332"
time="2018-09-10T23:04:15Z" level=info msg="Retrieving Ark configuration" logSource="pkg/cmd/server/server.go:337"
time="2018-09-10T23:04:15Z" level=info msg="Successfully retrieved Ark configuration" logSource="pkg/cmd/server/server.go:355"
time="2018-09-10T23:04:15Z" level=info msg="Using default resource priorities" logSource="pkg/cmd/server/server.go:405" priorities="[namespaces persistentvolumes persistentvolumeclaims secrets configmaps serviceaccounts limitranges pods]
"
time="2018-09-10T23:04:15Z" level=info msg="Configuring cloud provider for backup service" logSource="pkg/cmd/server/server.go:454"
An error occurred: object storage provider name must not be empty

ark backup describe  or kubectl get backup/
-n heptio-ark -o yaml

Name:         nginx-backup
Namespace:    heptio-ark-test
Labels:
Annotations:
Phase:  New
Namespaces:
Included:  *
Excluded:
Resources:
Included:        *
Excluded:
Cluster-scoped:  auto
Label selector:  app=nginx
Snapshot PVs:  auto
TTL:  720h0m0s
Hooks:
Backup Format Version:  0
Started:    <n/a>
Completed:  <n/a>
Expiration:  0001-01-01 00:00:00 +0000 UTC
Validation errors:
Persistent Volumes:

ark backup logs

hangs

ark restore describe  or kubectl get
restore/ -n heptio-ark -o yaml

Name:         nginx-backup-20180910154449
Namespace:    heptio-ark-test
Labels:
Annotations:
Backup:  nginx-backup
Namespaces:
Included:  *
Excluded:
Resources:
Included:        *
Excluded:
Cluster-scoped:  auto
Namespace mappings:
Label selector:
Restore PVs:  auto
Phase:
Validation errors:
Warnings:
Errors:

ark restore logs
An error occurred: unable to retrieve logs because restore is not
complete

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
After writing the rest of this issue I noticed I could set the log-level
to debug. All it told me was each custom resource it found... Something we
already know from log-level INFO.
time="2018-09-10T23:41:55Z" level=info msg="setting log-level to DEBUG"
time="2018-09-10T23:41:55Z" level=debug msg="Found custom resource" kind=PodVolumeRestore logSource="pkg/cmd/server/server.go:321"
time="2018-09-10T23:41:55Z" level=debug msg="Found custom resource" kind=ResticRepository logSource="pkg/cmd/server/server.go:321"
time="2018-09-10T23:41:55Z" level=debug msg="Found custom resource" kind=Backup logSource="pkg/cmd/server/server.go:321"
time="2018-09-10T23:41:55Z" level=debug msg="Found custom resource" kind=Config logSource="pkg/cmd/server/server.go:321"
time="2018-09-10T23:41:55Z" level=debug msg="Found custom resource" kind=DownloadRequest logSource="pkg/cmd/server/server.go:321"
time="2018-09-10T23:41:55Z" level=debug msg="Found custom resource" kind=PodVolumeBackup logSource="pkg/cmd/server/server.go:321"
time="2018-09-10T23:41:55Z" level=debug msg="Found custom resource" kind=Restore logSource="pkg/cmd/server/server.go:321"
time="2018-09-10T23:41:55Z" level=debug msg="Found custom resource" kind=Schedule logSource="pkg/cmd/server/server.go:321"
time="2018-09-10T23:41:55Z" level=debug msg="Found custom resource" kind=DeleteBackupRequest logSource="pkg/cmd/server/server.go:321"
Environment:

Ark version (use ark version): 0.9.4
Kubernetes version (use kubectl version): Client 1.9 Server 1.7
Cloud provider or hardware configuration: AWS
OS (e.g. from /etc/os-release): Ubuntu 16.04

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/heptio/ark/issues/836, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAABYoblc6nMp68xqIb1C3gimTShIp8Aks5uZvt0gaJpZM4WiXPT
.

@ncdc Hey Andy, thanks for that explanation! I'll give that a shot tomorrow.

Ha. It worked. Thanks @ncdc !

Thanks! It works with the release branch 0.9 samples

I got a similar error while using ark version v0.9.11, and the example config from the release-0.9 git branch. The error was slightly different though:
An error occurred: [custom resource BackupStorageLocation not found in Ark API group ark.heptio.com/v1, custom resource VolumeSnapshotLocation not found in Ark API group ark.heptio.com/v1, Ark custom resources not found - apply examples/common/00-prereqs.yaml to update the custom resource definitions]

Are you using the “latest” tag? It looks like you’re using the 0.10 server.
On Tue, Nov 20, 2018 at 7:10 PM Adam Bramley<EMAIL_ADDRESS>wrote:

I got a similar error while using ark version v0.9.11, and the example
config from the release-0.9 git branch. The error was slightly different
though:
An error occurred: [custom resource BackupStorageLocation not found in Ark
API group ark.heptio.com/v1, custom resource VolumeSnapshotLocation not
found in Ark API group ark.heptio.com/v1, Ark custom resources not found

apply examples/common/00-prereqs.yaml to update the custom resource
definitions]

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/heptio/ark/issues/836#issuecomment-440476700, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAABYqqdu1RPQ3rxa6zguUUAJH2Pr76Fks5uxJnpgaJpZM4WiXPT
.

@ncdc latest tag for what? The ark version I was using (when running ark version) was v0.9.11, and the config I used was from the examples directory from the release-0.9 branch (also tried from the v0.9.11 tag)

For the image in the ark deployment
On Tue, Nov 20, 2018 at 7:58 PM Adam Bramley<EMAIL_ADDRESS>wrote:

@ncdc https://github.com/ncdc latest tag for what? The ark version I
was using (when running ark version) was v0.9.11, and the config I used
was from the examples directory from the release-0.9 branch (also tried
from the v0.9.11 tag)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/heptio/ark/issues/836#issuecomment-440488302, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAABYrYNd3sZWoBRZRRIkcEJNJaRXA82ks5uxKVEgaJpZM4WiXPT
.

@ncdc ahh yes you're right, the example in 0.9 uses gcr.io/heptio-images/ark:latest (https://github.com/heptio/ark/blob/v0.9.11/examples/minio/20-ark-deployment.yaml#L36) so that's where that'd come from. Nice catch!

@roopagowda this issue has been resolved. Please ask your question in https://kubernetes.slack.com/messages/ark-dr or https://groups.google.com/forum/#!forum/heptio-ark. Thanks!


Only one map component supported

When using two independent map components on a single page, all controls are rendered into the first one.
The reason is pretty obvious:
const targetDiv = document.getElementsByClassName(positionClass) // will find multiple elements
setPortalRoot(targetDiv[0]) // but always the first is used

I solved it by passing a reference to the parent element and execute getElementsByClassName on that base.
const targetDiv = (props.mapContainerRef?.current ?? document).getElementsByClassName(positionClass)
setPortalRoot(targetDiv[0])

Fixed in v1.3.0 - Thanks to a PR, there is now an optional container prop to pass the target portal container. Hopefully this will fix your issue.


Support Logitech G515 Lightspeed

Information

ratbagd version (ratbagd --version): 0.17
Distribution: Debian
Kernel version (ex. uname -srmo): 6.1.0-28-amd64 x86_64 GNU/Linux
Device info (if applicable): Logitech G515 Lightspeed

ratbagctl singing-gundi info
Unable to find device singing-gundi
lsusb does not see keyboard
solaar does not see too

if anyone needs it, here it is
/usr/share/libratbag/logitech-g515-lightspeed.device
[Device]
Name=Logitech G915 Lightspeed
DeviceMatch=usb:046D:C355
LedTypes=logo;switches
Driver=hidpp20
DeviceType=keyboard
[Driver/hidpp20]
DeviceIndex=1


Extended schemas support

A JSON Schema specification could be easily extended to add custom properties (see json-schema/json-schema/issues/187). How can I achieve this with Jackson? I'm trying to use a custom SchemaFactoryWrapper but I can't find a way to add a new attribute like sortable: true to a property schema (that could be of type string or number or other).

Hi heruan, you can see here an example of how I add a new schema property called index (from an annotation in the class)
https://github.com/brutusin/json-codec-jackson/blob/master/src/main/java/org/brutusin/json/spi/jackson/JacksonSchemaFactory.java


Fixed a bug causing cross-compilers to fail

(The edited line eliminated the original CXXFLAGS variable, removing the sysroots parameter, which is needed for cross compiling)

:+1:


Decode uint128 & uint64

Adding Decoding for uint128 and uint64.

Checking the other tests, those are quite e2e-ish. So directly against chain. And none of the currently included ABIs have those fields. Should I just add a new ABI that I know uses those fields?


WK's wraiths damage adjust

14% of total hp as damage for a unit spawning a lot is a lot.

@RodneyMcKay This PR is a suggestion. This is not a bugfix or a new content. Check the proposal and change on your end if relevant. I don't see a reason for a whole PR for a single number change, and thus, I'm closing this PR.


[Improvement] Support ACF's get_field_object by TimberPost

Hi,
Would be great if Timber would support get_field_object the same way it support get_field function:
https://www.advancedcustomfields.com/resources/get_field_object/
What I'd love to have would be something like that:
{% set field = post.get_field_object('field') %}

{{ field.label }}
{{ field.value }}

Let me know what you think.

https://github.com/palmiak/timber/tree/get_field_object
Try this - it should be working just as you want to:
{% set fields = post.get_field_object('field_name') %}
{{ function( 'var_dump', fields ) }}

@palmiak Thanks!
Maybe you could create a pull request to include that in the core?
cc @jarednova


feat(portal): Add support for tlds

We are currently supporting only a pattern of domains like this 0x123.walrus.sites.
This PR makes it possible to:

Parse more complex domains: 0x123.localhost:8080, 0x123.walrus.co.uk, suinsname.subname.walrus.sites etc. (see unit tests).
Includes some unit tests so that we can have more confidence on the function's results. Gradually we can extend our code coverage.

I still need to check if the suins subnames work as expected.
Converting this back to draft PR until then.


Updating Spanish translation on new challenges

[ ] Basic Front End Development Projects
[ ] new Gear Up For Success challengesWe're introducing some new challenges

Working on this one!


Trigger reading status in the entry of pause()

Fixes #XXXX.

Description
https://github.com/apache/druid/issues/15468

Fixed the bug ...
Renamed the class ...
Added a forbidden-apis entry ...

Release note

Key changed/added classes in this PR

MyFoo
OurBar
TheirBaz

This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[x] added documentation for new or modified features or behaviors.
[ ] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[x] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[x] been tested in a test Druid cluster.

what does this trigger exactly? Do you just want to log the status?

what does this trigger exactly? Do you just want to log the status?

Actually I didn't get the extract root cause for this odd issue. You can help analyze.
Based on the result of this issue, one more reading status variable looks helpful. So I add one logging statement.


amend the Defining readiness probes

add it the sentence

This change is

The original sentence means：
A pod has containers that report they are not ready.
That pod does not receive traffic through Kubernetes Services.

@jianglingxia Like @zhangxiaoyu-zidif implied, "reporting that they are not ready" is a phrase modifying "containers", so you can check the grammar by temporarily dropping that, i.e. "A pod with containers does not receive traffic through Kubernetes." That is grammatically correct, so the original sentence is fine.


Add summary to graph command output

Graph command logs the summary today, I made it a return value which outputs as a table as it would be helpful for me to get the summary output via Rest API.
Please let me know what you think.
Files changed:
bos
network/get_graph_entry.js

is there another way to do it? the output looks weird for bos graph to show the summary values in a one row table

The return object can do only one type, correct? It can’t do both table and json logger?

Yeah I guess that is why I put the logger inside that method

Will have to think how to do this then.

You could abstract the method out so that there are two methods, one returns the values, the other just calls and logs, then you call the value returning one if you want the values

Should I make that change within bos or do that on my end?

ah there is another issue I see which is that I want the general node details to log out first because the graph takes a long time, maybe it's better to override the logger method to get the data you want?

Cool. I can do that.

Another option is restructure the method into an event emitter and emit the node details first

Yeah I could do it like how I did for rebalance and send commands with the event emitter.


Add macOS as a supported platform for Theme.of

Issue:
There is no default Theme set for macOS, nor a kFallbackTheme <--- returns null.

Steps to Reproduce

Call Theme.of() on a macOS Desktop build
See error

Target Platform: macOS
Target OS version/browser: Catalina macOS 10.15.2
Devices: Macbook  Pro
Logs
Line in question:
https://github.com/ThinkDigitalSoftware/tavern/blob/e5ab4edcb6b4bdc3366aa7537e974e777c73074b/lib/main.dart#L70-L74

flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
flutter: The following assertion was thrown building PubDevClientApp:
flutter: Unknown platform.
flutter: macos was not recognized as a target platform. Consider updating the list of TargetPlatforms to
flutter: include this platform.
flutter:
flutter: The relevant error-causing widget was:
flutter:   PubDevClientApp file:///Users/thinkdigital/IdeaProjects/tavern/lib/main.dart:60:14
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #0      defaultTargetPlatform (package:flutter/src/foundation/_platform_io.dart:27:5)
flutter: #1      defaultTargetPlatform (package:flutter/src/foundation/platform.dart:36:55)
flutter: #2      new ThemeData (package:flutter/src/material/theme_data.dart:316:18)
flutter: #3      new ThemeData.light (package:flutter/src/material/theme_data.dart:637:32)
flutter: #4      new ThemeData.fallback (package:flutter/src/material/theme_data.dart:654:45)
flutter: #5      Theme._kFallbackTheme (package:flutter/src/material/theme.dart:68:54)
flutter: #6      Theme._kFallbackTheme (package:flutter/src/material/theme.dart:68:26)
flutter: #7      Theme.of (package:flutter/src/material/theme.dart:137:60)
flutter: #8      PubDevClientApp.build.<anonymous closure> (package:tavern/main.dart:77:28)
flutter: #9      DynamicThemeState.initState (package:dynamic_theme/dynamic_theme.dart:45:20)

➜  ~ flutter doctor -v
[✓] Flutter (Channel master, v1.12.1-pre.59, on Mac OS X 10.15.2 19C39d, locale en-US)
    • Flutter version 1.12.1-pre.59 at /Users/thinkdigital/development/flutter
    • Framework revision 6cb6857f92 (4 days ago), 2019-11-14 16:50:17 -0500
    • Engine revision 77c3512ec8
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/thinkdigital/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_SDK_ROOT = /Users/thinkdigital/Library/Android/sdk
    • Java binary at: /Users/thinkdigital/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.5977832/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2, Build version 11B44
    • CocoaPods version 1.8.4

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 41.1.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] Android Studio (version 3.5)
    • Android Studio at /Users/thinkdigital/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.5977832/Android Studio.app/Contents
    • Flutter plugin version 41.1.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] IntelliJ IDEA Community Edition (version 2019.2.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 41.1.4
    • Dart plugin version 192.7402

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

[✓] Connected device (5 available)
    • SM G975U          • R58M23BRC7J                          • android-arm64  • Android 9 (API
      28)
    • iPhone 11 Pro Max • F3A5BA32-2FC7-491B-9862-A42B54C487A5 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-13-2 (simulator)
    • macOS             • macOS                                • darwin-x64     • Mac OS X 10.15.2
      19C39d
    • Chrome            • chrome                               • web-javascript • Google Chrome
      78.0.3904.97
    • Web Server        • web-server                           • web-javascript • Flutter Tools

See https://github.com/flutter/flutter/wiki/Desktop-shells#target-platform-override
Duplicate of #31366


[text drawer] controlled gates with labels

@ewinston raises the question on how to handle controlled gates with labels in https://github.com/Qiskit/qiskit-terra/pull/4262#pullrequestreview-402277795.
Considering this case:
h=HGate(label='my h')
ch = h.control(label='my ch')
qc.append(h, [0])
qc.append(ch, [0, 1])

This is the current output:
     ┌──────┐┌────────┐
q_0: ┤ my h ├┤0       ├
     └──────┘│  my ch │
q_1: ────────┤1       ├
             └────────┘

Possible solutions:
     ┌──────┐ my ch
q_0: ┤ my h ├───■─────
     └──────┘┌──┴───┐
q_1: ────────┤ my h ├─
             └──────┘

     ┌──────┐
q_0: ┤ my h ├───■─────────
     └──────┘┌──┴my ch───┐
q_1: ────────┤    my h   ├
             └───────────┘

@1ucian0 I was looking at how to add labels to the mpl drawer and I had a question about how they are implemented. Given these 3 statements,
1 - qc.append(HGate(label='My ch Gate').control(1, label='My ch Control')
2 - qc.append(HGate(label='My ch Gate').control(1)
3 - qc.append(HGate().control(1,label='My ch Control')

It appears that in line 3, the label gets placed into op.label whereas in line 1, it's placed in op.base_gate.label. I noticed in the text drawer that line 1 produces 'My ch Gate' in the gate name and 'My ch Control' on the bullet, but in line 3, it creates a multi-box and changes the name of the gate to 'My ch Control'.
This seems odd to me. If the user wanted to change the gate name, I would think that line 1 or 2 would be used, and if the intention is to add a control label to an existing gate name, line 1 or 3 would be used.
In any case, I'd just like some guidance on how this should look in mpl. There are more options for putting text in different places in mpl than in text, so if there were some way do line 3 as op.base_gate.name for the gate name and putting the control name on the bullet, that seems most logical to me.
Thanks for your help.

...but in line 3, it creates a multi-box and changes the name of the gate to 'My ch Control'.

I agree it is inconsistent. Do you mind submitting an enhancement issue for that?

In any case, I'd just like some guidance on how this should look in mpl.

I dont have an opinion there. Maybe the best way to move forward is to submit an issue (tagged discussion with examples and options. In that way, we can hear other people's options.
What do you think?

Thanks, @1ucian0. I'll go ahead and put my thoughts in an enhancement issue. I just wanted to check to see that there wasn't some big picture I was missing.

@enavarro51 could you link the enhancement issue here when you open it?

Will do.


fix the bug when Edge and Opera browsers are not defined

Please do not update the README or Change Log, we will do this when we merge your PR.
This PR (delete as applicable)

Updates the Documentation
Adds a new feature
Fixes a bug

Describe the changes below:
The problem is that two browsers are incorrectly defined: Edge and Opera. The reason was found - the value of the string "navigator.userAgent" has changed.
Browsers where the error was detected:
Edge 108.0.1462.54
Opera 94.0.4606.38
I found the problem using the latest version of Phaser in my project, you can also see it here: https://jsfiddle.net/artem_syzonenko/4ng20okq/

Yeah ok, I don't mind making this change now. Opera still used the old user agent when Phaser 3 was released, but we can swap to the OPR variant quite safely now I reckon.

Thanks for the quick reply!


Conflict with Laravel using Composers autoloader, specifically the __() (trans) helper function.

The Laravel '__' check if (!function_exists('__')) { on line 92 of Lodash.php is insufficient for preventing a conflict. Specifically, when using the composer autoloader, your module can be loaded first, overriding the creation of Laravel's __() (trans) function.
I encountered this issue when running composer install on a fresh staging environment, which broke all calls to __().
This problem arose because your lodash-php module was included in a module built for Laravel. While I understand that your module is not specifically built for Laravel and the responsibility lies with the including party, and a workaround is to always manually install lodash-php or the module including it afterwards. I noticed the Laravel comment about compatibility and wanted to bring this to your attention.

I am facing the same problem, let me know if you found anything. Thanks.


[Bug]: Menu button dropdown width is inconsistent

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When I place a menu button and make it small I expect the dropdown to adjust its width based on the items in the menu. When you do this on the canvas it seems to work fine.
When you make a small menu button inside of a container the dropdown is skinnier and truncates the options.
Steps To Reproduce

Create a new app
Drag a container onto the canvas
Drag a menu button onto the canvas and reduce its width to make a small button
Click the button and observe that the dropdown is wide enough to read all of the text
Drag another menu button into the container, also reducing it's width
Click the new button and observer that the dropdown is skinny and the text is truncated

Public Sample App
No response
Version
Cloud 1.7.8

The width of the component is too wide, and it looks odd.
It's not direly important in terms of functionality but I'll look better if there wasn't so much white space.

If I place it inside a container it works better but it is still not perfect because it's width is being inherited from the width of the button.
![Image 2022-10-03 at 11 55 59 PM](https://user-images.githubusercontent.com/163

7462/193673110-1f4ea7e9-b644-41a4-82e4-8ba7317926f8.jpg)
As you can see in the two pictures I'm not able to use an icon only button at the smallest size.


Use A+ promises

https://github.com/Betterment/backbone.blazer/blob/master/backbone.blazer.js#L19
It is not unreasonable to tell people to include a Promise polyfill these days, and jQuery promises expose a weird API.

cool. will add this in as a dev dependency https://github.com/jakearchibald/es6-promise

or bluebird... :)

was playing with this today using bluebird and having issues with sinon. will take another look tomorrow. might need some help via gitter :)

Bluebird's utility is most pronounced for more advanced things...I'm sure that any promise implementation will work for these tests.

Some tests made and I just realized that the router works with jQuery Deferred and not with others (like RSVP).
Usually a Backbone project is using intensively jQuery and it make sens to have this promise implemented. Unfortunately, not always is possible to give such promise. Also, as much as I like Bluebird and Q (this is a good one that converts jQuery promises to standard ones) I think that these libs are way too big.
It would be interesting a 2K router with 60K of promisses.
And looks like jQuery 3 will have compatible promises :D
In the end I think it will be better to detect which type of promise is given (I mean jQuery vs Promise A+) and act accordingly. Not found a good solution, yet.


Error while running event factoryplanner::Custom event (ID 210)

Problem Description
Server crashed due to script error. Sadly not sure what I managed to do wrong, here's the stack trace.
My best guess is that while I was fiddling with the lines, I might have deleted one and there was somehow an orphaned element which could have caused line.parent to be nil
Error while running event factoryplanner::Custom event (ID 210)
factoryplanner/ui/main/production_table.lua:77: attempt to index field 'parent' (a nil value)
stack traceback:
factoryplanner/ui/main/production_table.lua:77: in function '?'
factoryplanner/ui/main/production_table.lua:434: in function 'render_lines'
factoryplanner/ui/main/production_table.lua:438: in function 'render_lines'
factoryplanner/ui/main/production_table.lua:442: in function 'refresh_production_table'
factoryplanner/ui/main/production_table.lua:472: in function 'registered_handler'
factoryplanner/ui/event_handler.lua:308: in function <factoryplanner/ui/event_handler.lua:288>
[C]: in function 'raise_event'
factoryplanner/util/raise.lua:14: in function 'refresh'
factoryplanner/ui/main/production_box.lua:92: in function 'change_floor'
factoryplanner/ui/main/production_box.lua:267: in function 'handler'
factoryplanner/ui/event_handler.lua:157: in function <factoryplanner/ui/event_handler.lua:114>
stack traceback:
[C]: in function 'raise_event'
factoryplanner/util/raise.lua:14: in function 'refresh'
factoryplanner/ui/main/production_box.lua:92: in function 'change_floor'
factoryplanner/ui/main/production_box.lua:267: in function 'handler'
factoryplanner/ui/event_handler.lua:157: in function <factoryplanner/ui/event_handler.lua:114>"
Reproduction
No response

Note: probably a duplicate of #193

Indeed, and by the transitive property of duplication, also a dupe of #182. Appreciate the report nonetheless, but we'll deal with it in 182 going forward.


[terra-time-input] Revamp mobile variation and 12-hour format on desktop.

Summary
Closes #385, #665, #710, #706
Currently, there are two layout options for terra-time-input based on the viewport size, this change removes the two versions and there will only be a single UI for all situations meaning - it does not visually separate the hour/minute/second inputs on mobile and does not use the dropdown select for the AM/PM but instead only uses the button-group for meridiem on desktop.
Deployment Links:

Date Time Picker
Time Input
Clinical Theme
Fusion Theme
Consumer Theme
Lowlight Theme

TODO:

[x] Open PRs in all the downstream theming repositories.
[x] Resolve deployment issue in Lowlight Theme.

In the following wdio snapshot: Snapshot
I see there is an input caret visible, this can be addressed as explained in https://github.com/cerner/terra-framework/pull/860#discussion_r319291514
We might also want to hide the input in other similar scenarios as well.

Looks like in Snapshot, in mobile view and when the focus is on the minutes field the value gets clipped.

@neilpfeiffer, I noticed some inconsistencies in the time input field as seen below:

In both the screenshots above, i.e. with and without the seconds field, the spacing/padding between the minute/seconds field w.r.t to the right border is not consistent. Further to add to that, neither of those spacings are the same as that between the left border and the hour field.
Is this something that should be looked at? since this is not introduced as part of this issue but was an existing behaviour.

In the following wdio snapshot: Snapshot
I see there is an input caret visible, this can be addressed as explained in #860 (comment)
We might also want to hide the input in other similar scenarios as well.

@avinashg1994, good one. I have fixed it: https://github.com/cerner/terra-framework/pull/837/commits/ea74ed2a8ae4d2e3fcc107287ef9a43b273fb7bc?short_path=2304874#diff-2304874555680f0615bb9685afa2793c

Looks like in Snapshot, in mobile view and when the focus is on the minutes field the value gets clipped.

@avinashg1994
This occurs both on the desktop and on mobile view. IMO, two things contribute to this -

the existing styles toggle the minute field width depending on whether the value is empty or not.
https://github.com/cerner/terra-framework/blob/03cdd6ec29120b617c115cc73e2c56585d24996e/packages/terra-time-input/src/TimeInput.module.scss#L207-L217
something is causing the input elements to behave strangely upon focus that might also contribute to this issue in addition to the one mentioned above. I am yet to find out what is causing this wobbly behavior, though 😞

I might need UX to help validate the styles that have changed.
cc @neilpfeiffer

I have removed the 'Major Version Bump' label based on this discussion.

Tested: PR #837
Resolves: Issue #385, #665, #710, #706
Reviewed:

Follows pattern considerations documented in the current Cerner Design Standards: Date/Time Formatt
Follows UX defined design implementation for terra-time-input, terra-date-time-picker
Follows defined theme designs: Open Source, Clinical, Consumer, Fusion, Low Light

Verified by @jeremyfuksa, Marking as Verified, Ready for Release.

Pass

UX Review

@nramamurth Great job in getting that last issue resolved! The changes in this PR will have conflicts with the changes in #923. There is some urgency in getting #923 merged and released early next week. I want to talk to the Terra team later today to determine whether or not we want to hold off on merging this PR to avoid the code conflicts with #923.

It was decided that we want to hold off in merging this PR until after #923 is merged to minimize the delay in completing #923.


Show stacktraces with proper line numbers in src rather dist (SSR)

Currently when there's an error, it shows the line numbers of the dist version of the file.
We need to use sourcemaps or something other way to clearly show the correct file and the line number.

Hey @arunoda! Really excited about this as a feature. What kind of complexities and challenges do you see in its implementation?

@ldthorne this is kind a pretty hard as v8 doesn't support this by default.
If someone could help us in anyway, that'd be great.

I have a bit of experience making this work in various node environments. Will take a crack, time permitting.

That's amazing @kpdecker ❤


7 -> main 2022-12-07

➡ Forward port
Port gz-sim7 to main
Branch comparison: https://github.com/gazebosim/gz-sim/compare/main...gz-sim7
Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)

If it's not critical, please hold on this one until https://github.com/gazebosim/gz-sim/pull/1783 is merged.

If it's not critical, please hold on this one until #1783 is merged.

ok this can wait

Okay @iche033 you are good to go here.

Okay @iche033 you are good to go here.

merged from main and resolved conflicts c77ffbf


Specifying --names should request .NAMES instead of .LIST

nats stream ls --names currently queries $JS.API.STREAM.LIST, which gathers more information than $JS.API.STREAM.NAMES. $JS.API.STREAM.NAMES should be instant and has the required information to fulfill the request. Please change any instance of the --names parameter to use the .NAMES instead of .LIST.

Fixed in https://github.com/nats-io/natscli/pull/779


Fix: SQL causing 100% CPU usage on stage (not seen on prod yet, stage has more data)

This includes an extra-condition in the ON part of the table JOINS for areas, codebases and iterations to only join those tables filtered by their space ID. I'm not sure though if this really fixes the problem (see https://github.com/fabric8-services/fabric8-wit/issues/2210#issuecomment-410241026).
See #2210.

Ike Plugins (test-keeper)
Thank you @kwk for this contribution!

It appears that no tests have been added or updated in this PR.
Automated tests give us confidence in shipping reliable software. Please add some as part of this change.
If you are an admin or the reviewer of this PR and you are sure that no test is needed then you can use the command /ok-without-tests as a comment to make the status green.
For more information please head over to official documentation. You can find there how to configure the plugin.

Codecov Report

Merging #2211 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #2211   +/-   ##
=======================================
  Coverage   69.84%   69.84%
=======================================
  Files         170      170
  Lines       15826    15826
=======================================
  Hits        11054    11054
  Misses       3760     3760
  Partials     1012     1012

Impacted Files
Coverage Δ

workitem/expression_compiler.go
82.05% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

/ok-without-tests


Fix default metadata namespaces

Summary: #1368 added the ability to limit the metadata service to specific namespaces. By default, if no namespaces are mentioned, the flag is supposed to choose all namespaces.
However, if the environment variable is not specified, it is actually parsed as an empty list and the default is not properly chosen. Instead, we can assume no users actually want to watch 0 namespaces, and set it to all namespaces when that occurs.
Relevant Issues: N/A
Type of change: /kind bug
Test Plan: Skaffold deploy metadata service

What is injecting the environment variable? Is that the px or helm deploy? I scanned #1368 and didn't see where what env var is bound to that flag.

What is injecting the environment variable? Is that the px or helm deploy? I scanned #1368 and didn't see where what env var is bound to that flag.

We should probably add it to both px and helm to inject the environment variable. Currently you can only add it by either manually editing the metadata deployment, or adding it as a "patch" in px/helm.


Some menu strings are shown with Japanese.

I don't know exactly when started this problem.
I use brackets version 1.10 and I did removed completely and re-installed the apps 3~4 times.

My system language is Korean and I used brackets with English language setting.

I have exactly the same problem

Feb 2019! This has been happening since 2017??
I'm a new user and I also have this problem on Mac. My system language is Spanish. No matter what language I choose, those menu items appear in japanese. I study Japanese so I have the Japanese keyboard installed on the system.. but I'm not fluent.

Dec 2020. Same issue. Is Brackets dead?


Fix #18733: Consistent session offset doc types

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Tests pass?
✔

Fixed issues
#18733

Thanks!


updated the link to web version of guide

Used the custom domain as the link instead of the github-pages link

nice


Importing learn2track

I took a decision.
Code is waaaayyy to complicated to maintain in two separate repositories. Class changes are not brought to other repos automatically in child classes. Importing learn2track here.

Hello @EmmaRenauld! Thanks for opening this PR.

In the file dwi_ml/tests/test_models_learn2track.py:

Line 71:1: W391 blank line at end of file

In the file scripts_python/l2t_resume_training_from_checkpoint.py:

Line 50:35: E126 continuation line over-indented for hanging indent
Line 83:80: E501 line too long (83 > 79 characters)
Line 84:80: E501 line too long (81 > 79 characters)

In the file scripts_python/l2t_train_model.py:

Line 19:80: E501 line too long (82 > 79 characters)
Line 108:80: E501 line too long (81 > 79 characters)
Line 110:80: E501 line too long (85 > 79 characters)
Line 130:80: E501 line too long (83 > 79 characters)

In the file setup.py:

Line 45:80: E501 line too long (107 > 79 characters)

Do see the PEP 8 -- Style Guide for Python Code


Add MIRI distortion correction using MIRICOORD

MIRI will benefit the most from distortion correction due to its lower pixel res (0.11 arcseconds/pixel) and smaller sub-array aperture for slitless (MIRI SLITLESS PRISM).
Distortion correct can fix some relatively large potential offsets of ~4 pixels (priv. comm. DLaw). Use MIRICOORD:
https://github.com/STScI-MIRI/miricoord
To-do:

[ ] MIRICOORD distortion correction
[ ] Fine-tune trace position using throughput documentation (where is throughput the highest? that would be np.max(trace), and then do dy, dx accordingly).

I will take a look at this but plan to derive an empirical distortion correction using on-sky obs of MIRI LRS. This is what I did for NIRISS SOSS mode and it works like a charm.


Config

THIS WILL INTRODUCE BREAKING CHANGES!
New feature:
Configuration files via ruamel
You can load and save objects with yaml objects using the newly added "SupportsConfig" superclass. For Enums, this has also been introduced.
Endgoal: You can save every evaluator-relevant part or subpart to configs and load it from there.

/format

/format


Config files in suite setup

We have two different types of JSON configuration files: the variants configuration file and the common parameter files.
The first one is an input parameter of the suite setup. The second one is a command line parameter.
How about this option?
Passing a certain parameter file to the suite setup (instead of the variants configuration).
This option is interesting for all who do not want to overload the command line and also do not need any variants handling.
I gave it a try. But the outcome is an error:
[ ERROR ] Testsuite management is in configuration level2.
[ ERROR ] The file './config/exercise-02_config_variant1.json' has no default config or wrong testsuite config format for level 2
[ ERROR ] Testsuite will run with default config file:
Is this a bug or is this option simply not implemented?
When it is possible to put a parameter file directly in the command line, why not also directly to the suite setup?

Hi Holger,
after discussion I close the ticket because if somebody would use this feature he/she would potentially create a testsuite which may need later larger rework when he/she want to introduce variant handling.
Thank you,
Thomas


Initial implementation for get attr

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
11 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.002%) to 2.766%

Files with Coverage Reduction
New Missed Lines
%

bgp/gobgp.go
2
44.13%

sysrib/zapi.go
9
71.5%

Totals

Change from base Build<PHONE_NUMBER>:
-0.002%

Covered Lines:
18024

Relevant Lines:
651604

💛  - Coveralls


Unable to resolve "clr". IntelliSense may be missing for this module.

How to solve this? I also have the same problem for System.Threading. I'm using VS2013 with IronPython 2.7 and have Python 2.7. Screenshot attached.

We had to make extensive changes in VS 2017 to fix IronPython IntelliSense. I don't know that there are any workarounds. Did you check the environments window? It may simply be that you need to refresh the IntelliSense database.
If that doesn't work you may have to downgrade to an older IronPython release, or upgrade to VS 2017.

Thank you for responding. Do you know what's the best IronPython for VS2013?

We would have tested with the ones released in 2012/2013.
Assuming the time stamps on the files I have are correct, that would be 2.7.3 (2012) or 2.7.4 (2013).

Thanks again. Followed your advice on downgrading to an older release so now I have IronPython 2.7.7 (didn't read your latest comment until now). Googled around and found someone saying the interpreter might be the cause. So I set my project's interpreter to IronPython 2.7 and IntelliSense's functioning alright now.


Add support for yearAndMonth mode

iOS now supports a year/month picker natively.
if #available(iOS 17.4, *) {
    picker.datePickerMode = .yearAndMonth
} else {
    picker.datePickerMode = .date
    // Technically, iOS did support it, but it had to be set like this.
    picker.datePickerMode = .init(rawValue: 4269) ?? .date
}

if #available(iOS 13.4, *) {
    picker.preferredDatePickerStyle = .wheels
}

I opened a PR for this: https://github.com/capacitor-community/date-picker/pull/89


⚠ Bofrost.fr has degraded performance

In 5512639, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 992 ms

Resolved: Bofrost.fr performance has improved in 4c85d57 after 6 minutes.


Create tesseract_simple_example.py

not sure I have to do this...

This shouldn't need this should it???


Footer: Made to play strip does not have URL

Hi @helms-charity,
Please see bug details below:
Steps to Reproduce:

Access https://eds-www.888.de/
Navigate to the footer.
Hover or click the made to play strip.
Notice that the made to play strip does not have URL

Note: As compared to original site, it should redirect to: https://www.888.de/sicherheit-datenschutz/verantwortungsbewusstes-spielen/

This has been fixed - please review.

Hi @dave-fink,
This issue is partially fixed.
Notice that upon hovering the strip, it doesn't show a preview link in the lower left bottom of the screen.

This has been resolved - please retest.

Hi @dave-fink,
Fixed verified.
Closing this issue.
Thanks!


Consistently use STDERR for output.

This is basically these commands (I also renamed a variable in the output-capture code):
sed -i 's@fmt.Printf(@fmt.Fprintf(os.Stderr, @g' $(git grep fmt.Printf | cut -d':' -f 1 | uniq)
sed -i 's@fmt.Println(@fmt.Fprintln(os.Stderr, @g' $(git grep fmt.Println | cut -d':' -f 1 | uniq)
sed -i 's/os.Stdout/os.Stderr/g' $(git grep os.Stdout | cut -d':' -f 1)

(some context around motivation)
I have been experimenting with adding inline keyless verification in downstream tooling with:
	if cli.EnableExperimental() {
		if err := cli.Verify().Exec(cmd.Context(), []string{opts.ref.String()}); err != nil {
			return err
		}
	}

(and similar for keyless signing, but that's more verbose currently, so omitted)
However, some of these tools reserve STDOUT to enable command composition, e.g.
kn service create foo --image=$(ko publish ./cmd/bar)

So if (in this illustrative example) we wanted ko to automatically verify base images when COSIGN_EXPERIMENTAL=true then we would need all of the output from cli.Verify().Exec(...) to either go to STDERR, or surface some capacity for redirecting output (similar to cobra's cmd.Set{Out,Err} methods).

There is some existing logic to redirect STDOUT to a file, but I couldn't really discern a pattern for what goes to STDOUT vs. STDERR.  The two general motivations for this (I'd assume) would be:

Quiet and/or capture the full command output for publishing (in which case, it was missing all the STDERR today!)
To capture schematized data to a file for processing by downstream tools (e.g. the way ko publish emits a digest to STDOUT, and nothing else; but there is no obvious schema to any of the paths I looked at...?)

So I'm assuming that the motivation is 1., and "fixing" it to capture STDERR here, but it would be good to get some eyeballs on this that are more familiar with the motivation for capturing output to make sure this isn't somehow breaking (let's see what the tests say)!
Signed-off-by: Matt Moore<EMAIL_ADDRESS>

Whoops, this did hit an issue with sign-blob signatures going to stdout. This only got hit in our post-merge tests :(

@dlorenc Do you have a link to which test?  I'm wondering if we can add presubmit coverage, and I'd be curious what things care about STDOUT vs. STDERR, to help rationalize things and build my mental model for it.

You should be able to see this: https://github.com/sigstore/cosign/runs/3579958722?check_suite_focus=true
It looks like we expect the signature over STDOUT in sign-blob.
I think we also expect the verified payloads in verify (the JSON simple singing thing).


Low performance of hardware-accelerated OpenGL compared to software rendering

Environment
Windows build number: Windows 11 Insider dev build (22000.71)
Your Distribution version: Ubuntu 21.04
Your WSLg version: 1.0.24
Rendering hardware: Intel Core i5 1035G1 integrated GPU
(Note: glxinfo -B indicates the OpenGL renderer is "D3D12 (Intel(R) UHD Graphics)", so I have reason to believe it's using the GPU.)

Hardware-accelerated OpenGL doesn't display anything but a black screen in some apps (like glxgears), but even when it doesn't show anything, the rendering speed maxes out at 72-75 frames/sec. With GALLIUM_DRIVER=llvmpipe, I get a rendering speed of around 1100-1200+ frames/sec.
Steps to reproduce
Run "glxgears" from the prompt, using the kisak-mesa PPA version of Mesa under Ubuntu 21.04. For comparison, also run "GALLIUM_DRIVER=llvmpipe glxgears". This is one of the simplest programs that shows the rendering rate.
Expected behavior
Hardware GPU rendering should be at least a little faster than software rendering. If nothing else, because it's not competing with the other software on the machine for CPU cycles. But it's not - it's a LOT slower. An order of magnitude slower.
Actual behavior
The software renderer blows the GPU out of the water. I know that there are overheads for using the GPU in WSLg, but an almost 15x speed difference seems a little extreme, and that's dividing the lowest software rendering speed by the highest GPU speed. Other apps that do show the results of rendering make that even more obvious. For a simple example from the same package, the glxheads demo using the hardware renderer shows that it's obviously drawing a triangle, and moving and rotating it. With GALLIUM_DRIVER=llvmpipe, it's hard to tell it's a triangle because it's moving so fast.
This same issue has occurred in previous Windows 11 builds (22000.51 and 22000.61), as well as the last two or so Windows 10 dev builds I've used (21390 and 21387). The GPU doesn't seem as slow when it's being used for rendering in native Windows applications, especially since the demos used only display a small number of polygons, and should therefore just about maximize throughput since they're not taxing the hardware in the slightest.

I have seen the same behavior for very simple apps like glxgears. Now try the benchmark with openarena. While the 3D application becomes more complex you begin to see the GPU improvement.

On my machine, openarena doesn't seem to work. It just crashed my whole WSL2 distro, with the message "[process exited with code 1]". I had two consoles open and they both exited with that message. With GALLIUM_DRIVER=llvmpipe, it does nothing at all - blank window that doesn't appear to accept input.
I tried glmark2. It also displays a blank window with the hardware driver, and framerates on all tests seem to be around 18-120 frames/sec or so. With llvmpipe, I'm getting framerates around 200-400 frames/sec. While this isn't as dramatic a difference, it's still significant. This is also intended to be a benchmarking application for OpenGL hardware.
UPDATE: I tried the OpenArena benchmark via phoronix-test-suite. The GPU renderer averaged 14.0fps @ 1024x768, although the screen was almost entirely white the whole time (only a few UI elements were displayed, the rest was white). llvm-pipe did 8.6 fps at the same resolution, although the result did display the actual scenes being rendered. So not nearly as large a difference, and this time there was a slight edge for the GPU in terms of speed. That said, the fact that the GPU didn't display the rendering results means it's still unusable for graphics.

Do new intel drivers change anything?
https://downloadcenter.intel.com/download/30579/Intel-Graphics-Windows-DCH-Drivers

That's the driver I've been running for a couple weeks, since it came out. Although I didn't benchmark using older drivers, I don't remember noticing any difference when I installed those.

Same problem for Intel UHD630. The mesa is compiled with d3d12 config. When running any GUI programs, the window is black and glxgears has a FPS of only 15....

Interestingly on Impish with the latest Intel drivers I get a black glxgears window with up to 90 fps as described by the OP.
But when I upgrade mesa to kisak, let alone oibaf ppa it even drops to 15 and 10 fps respectively.

Is there a brother who understands how to solve this problem?


VarSelect Sensitivity Analysis MapReduce Job Too Manny Mappers

By Default TextInputFormat is used for mapper splits, which causes too many mappers after training models. For exampe: 500 mappers in training but 2000 mappers in SE mapreduce job.
Better to combine small input splits together into one job and set default running mapper to multiple threaded to accelerate speed of such job.

Done in develop-0.2.5 branch. By default 256 M input size as a mapper

Issue on gzip and bzip format, reopen this issue in Shifu 0.2.6.

Sometimes, raw input is compressed, normalized outputs are also compressed as gzip. If not compressed, mapper will be merged according to shifu.vs.split.maxCombinedSplitSize parameter


Webpack does not load config file

Well, I start with webpack and meet a problem, webpack does not load config file:
module.exports = {
  entry: './main.js',
  output: {
    fileName: './bundle.js' // fileName should be filename
  }
};

I don't notice the spelling mistake( forgive me), so I look into the code to find out the reason. Then I find out that I have made a foolish mistake. However the code does not give the tip, it just prints out help instead. I think it could be improved:
bin/convert-argv.js line  463:
} else if (options) {
    console.log("Config did not have output.filename or output.");
    process.exit(-1);
} else {
    optimist.showHelp();
    process.exit(-1);
}

fileName -> filename :)

Yes, but I can't find this spelling mistake until I debug in "convert-argv.js" .

Your shared snippet in your first comment has the spelling mistake.

@troutowicz  Apologize for my bad English. I followed the document, however, spelling mistake sometimes is hard to find out. Actually I looked at my config several times and always thought it had no problem, at end I was forced to dig out the reason. If CLI gave some useful tips then I could quickly find out this foolish mistake, but It only gave help in this case as if it could not load the config file. This is why I think the improvement above is helpful.

Yeah, I can see why that might be useful now. I think the below changes would make sense.
Change line 463
} else {
  optimist.showHelp();
  process.exit(-1);
}

to
} else {
  console.log('Config object is missing output properties.');
  process.exit(-1);
}

if there is no webpack.config.js, then webpack will not print help but print this error. so should check options first. The document says that webpack will print help if there is no options.

Ah, right... your change makes more sense now. But in the error message, we only need to mention the undefined property that is required. If the output object is undefined, that would be fixed when resolving the error message.
} else if (options) {
    console.log("Config is missing output.filename property.");
    process.exit(-1);
} else {
    optimist.showHelp();
    process.exit(-1);
}

Oh, I'm not clear about the error message, that's why I open this issue but not make a pr directly:-) . If there is no other problem then this issue could be closed.

I'd say submit a PR and let @sokra decide if he wants the change. If you aren't able, I can make one.

Thanks, I made a pr.

I second more verbose error messages (or rather, any error message at all would be nice). I pulled down someone's NPM project with an existing webpack.config.js file. Running the webpack in CLI just printed the help with no indication that there was an error or that it had even read the config file.
In my case, the original author had specified output.library but not output.filename, and apparently it won't work without the latter.

@yanxyz Safe to close?

There is a warning now.

:+1: though the warning is not very obvious.

Error: webpack.optimize.CommonsChunkPlugin has been removed, please use config.optimization.splitChunks instead.what i do i faced this error for run webpack4 please any one helps to resolve this error

@ManikandanMagi Please see https://webpack.js.org/plugins/split-chunks-plugin/#optimizationsplitchunks.


DNN-based voice conversion

If I get a chance.

https://github.com/r9y9/nnmnkwii
Done! Not uploading DNN voice conversion notebook yet (having locally though), it should be definitely possible by design.
For those who may interested in how we do statistical voice conversion with the new library, see the tutorial notebook: https://r9y9.github.io/nnmnkwii/latest/nnmnkwii_gallery/notebooks/vc/01-GMM voice conversion (en).html.


Refactor info command

@rlmcpherson given that @reem did not take any action on his original PR - https://github.com/rlmcpherson/s3gof3r/issues/72 - I've reopened this one, so feel free to merge if you want (I initially closed it and informed @reem about this PR on his PR because my work is based on his and thought it was fair for him to pull it in if he wants and merge it himself)


Prioritise cabal discovery over .ghci

Hi!
Firstly, thanks so much for this project; it is an absolute marvel, and has significantly reduced the amount of time I spend staring at builds!
Recently, I had the idea that, for a particular unicode-heavy project, I'd add a .ghci file like so:
:load Text.Show.Unicode
:set -interactive-print=Text.Show.Unicode.uprint

... thus making all the unicode characters show up in the REPL correctly. However, when I run ghcid, I get the following error:
<no location info>: error:
    module ‘Text.Show.Unicode’ cannot be found locally
<interactive>:1:1-24: error:
    Not in scope: ‘Text.Show.Unicode.uprint’

I am certainly not an expert, but I believe the problem is that having a .ghci file makes ghcid assume I want to run a ghci ... command, rather than a cabal ... command:
https://github.com/ndmitchell/ghcid/blob/d6191a111a1160ddecb05292eefe28ae362ccbaa/src/Ghcid.hs#L166-L167
Of course, cabal recognises the .ghci file, so cabal repl would indeed work just fine! So, my question is: is there a potential problem with putting the .ghci guard after the cabal check? Would this break anything? If not, would you mind if I made a PR to swap these round?
Once again, thanks so much for ghcid!

Having said all this, ghcid -c "cabal repl" has a similar problem (presumably not using cabal to resolve module references); is there something more clever going on here?

Yep, if there is a .ghci file, then ghcid prefers it. The reason is all to do with multiple-home-packages in GHC - see https://mpickering.github.io/ide/posts/2020-10-12-multiple-home-units.html. With Cabal you can only get one package, e.g. the library but not the test suite. As a result, most of my packages (e.g. this one) have a .ghci file which loads them in a way that you can have all packages. As such, I implemented the rule that if you have a .ghci file, it defaults to ghci alone.
However, if you want a specific approach, the best way is to create a .ghcid file, which can have whatever flags you want to give to ghcid - e.g. put --command=cabal repl in the file and it will always pick cabal repl: https://github.com/ndmitchell/ghcid#usage-tips.
There is a question of whether people with .ghci files are usually working around multiple-home-packages, or whether they wanted a few extra features to their Cabal. It's hard to say - but whichever is more popular should probably be the default...
If normal cabal repl loads the module fine, but ghcid -c "cabal repl" doesn't then a --verbose trace would be useful to see what is going on.

Hey! Sorry for taking so long to reply, and thanks for all the info! With a bit of trial and error, it seems that .ghcid does exactly what I need, so I'll close this. Thanks again!


"Document this" code action for function, creates a comment with out of order parameters

Description:
I believe the toCurrency and fromCurrency order should be swapped in the comments syncing with the parameter order.

Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Related Issue #29402


Docs Roadmap

These are the documentation sections I want to add or improve

[ ] Migrate to Vue.js theme

[ ] Use a neutral font (#873)
[ ] Adapt instructions for Vue 2.7

Cookbook

Testing

[x] Initializing the store before
[ ] What is needed for Nuxt (maybe link to another page) (#910)

[x] Advanced reactivity

Show how to use composables inside option and setup stores

[ ] Spltting the store into multiple files (#802)
[ ] Allowing making a Store implement an interface (state, actions, or/and getters)
[ ] Advanced SSR

[ ] Hydrating differing state like useLocalStorage()
[x] Differences between Setup and Option stores
[ ] Using stores before hydration https://github.com/vuejs/pinia/discussions/948

[ ] Handling Errors with API calls

[ ] State must be defined as a whole #1335
[x] Setup Stores (https://github.com/vuejs/pinia/issues/978)

Currently only Option stores are documented properly. It would be nice to have a switch somewhere or to mention them early on and link to a cookbook entry about advanced reactivity as these stores allow patterns that are impossible (or not intuitive) to achieve with the options API, like watching

[ ] Being able to switch between syntaxes (option / setup store) (TBD if worth) https://github.com/vuejs/pinia/issues/1265
[x] Reorganize the What is Pinia and Getting Started sections so the latter shows complete examples (#1195)

If you have suggestions about common use cases that are not covered or improvement / refactoring for the existing docs, please share
How to contribute
If you want to contribute to the docs, make sure first there is no active Pull Request or an existing branch on this repository. Fork this repo, and create a Pull Request. You can mark it as WIP/Not ready for review if you need more time to work on it. This would avoid having two people working on the same thing.
If you are uncertain about anything you wrote, just leave a review on your own Pull Request so I can help.
Translations
If you want to contribute translations, only the Chinese and English versions are hosted within the repository. Other translations should be hosted elsewhere following the translation guidelines

This is one thing I'd really appreciate clarified in the docs: mapStores.
I haven't had a chance to test it yet, but since the entire store is a computed property, I would assume that any modification of the store would result in re-rendering of all components subscribed to the store through mapStores. If this is the case, this is a pretty big caveat and should be documented clearly.

I would assume that any modification of the store would result in re-rendering of all components subscribed to the store through mapStores

I don't think this is correct. If you had a "global" reactive object and imported it into multiple components, it would only trigger a render if part of that object is tracked and that specifically is changed. For example if in one component you access globalObj.prop1 within the template or in a computed etc. the render will only trigger if you changed the prop1 property on that object, whether it be within the component or elsewhere. That's the beauty of reactivity.
This concept is the same for stores, when created there's a global instance of them. Even if you imported the same store in every component (with mapStores or otherwise) it'll only trigger a change if a property has been tracked within that component, and that specific property changed. For example, you access myStore.prop2 within the template, it will only render again if prop2 is changed. If you don't access anything on the store, nothing is tracked, so any changes to the store won't cause a render.
I'm using the words track and trigger on purpose as that's in line with how the docs explain it, see https://v3.vuejs.org/guide/reactivity.html#how-rendering-reacts-to-changes & subsequent pages.

I would assume that any modification of the store would result in re-rendering of all components subscribed to the store through mapStores

I don't think this is correct. If you had a "global" reactive object and imported it into multiple components, it would only trigger a render if part of that object is tracked and that specifically is changed. For example if in one component you access globalObj.prop1 within the template or in a computed etc. the render will only trigger if you changed the prop1 property on that object, whether it be within the component or elsewhere. That's the beauty of reactivity.
This concept is the same for stores, when created there's a global instance of them. Even if you imported the same store in every component (with mapStores or otherwise) it'll only trigger a change if a property has been tracked within that component, and that specific property changed. For example, you access myStore.prop2 within the template, it will only render again if prop2 is changed. If you don't access anything on the store, nothing is tracked, so any changes to the store won't cause a render.
I'm using the words track and trigger on purpose as that's in line with how the docs explain it, see https://v3.vuejs.org/guide/reactivity.html#how-rendering-reacts-to-changes & subsequent pages.

That's pretty amazing! Do you have any idea if this might hold true for Pinia in Vue 2 as well?
I can certainly see myself using mapStores over the alternative, as it becomes more obvious when the code is accessing the store.

That's pretty amazing! Do you have any idea if this might hold true for Pinia in Vue 2 as well? After reading the docs it seems as though I might just need to be careful with property additions and array mutations. Arrays are a non issue, but I'm curious what'll happen if I set an optional prop after the fact.

Yep, same for Vue2 (with @vue/composition-api of course) there's some slight caveats as you mention but the general concept is the same. You can use set from composition-api to add additional properties in Vue2.

I can certainly see myself using mapStores over the alternative, as it becomes more obvious when the code is accessing the store.

I prefer it. It also helps with conversion to composition api because I tend to declare stores in setup like const userStore = useUserStore(). So if I move a method for example into the setup function I just remove the this. (so this.userStore.load() becomes userStore.load() for example) and it all works as before. Using the other map helpers needs a little more digging to find out where things came from originally.

In any case, can't wait to move to a full Vue 3 + Pinia stack in the near future. Perfect reactivity and typescript support is going to be a major boon to development.

Couldn't agree more.

When the store values differ on Server and Client, such as when using useStorage from Vueuse, the client store needs to be hydrated manually.
There's a section on that within the API reference part of the docs here: https://pinia.vuejs.org/api/interfaces/pinia.DefineStoreOptionsInPlugin.html#hydrate
However, I wanted to propose adding a small section on it under state within the Guide part of the docs.
I originally opened an issue for this, but see it may be better sat under this issue. I'm happy to open a PR to suggest potential documentation for that. Let me know what you think :)

@Jamiewarb I added an item to the list and updated the issue about how to contribute. Let me know if it's missing anything!
I'm really keen on having cookbook entries contributed 🙂

@posva Documented how to split up a repo in a type-safe way here.

What I'm currently missing from the docs (also from the vuex ones) are some general guidelines and best practices to work with a store. Questions that would be nice to answer in this context:

For what kind of 'state' do you want to use a store over say component-wise reactive variables
How much logic do you put in the actions of the store vs in composables that use the store (e.g. should a login action only set isLoggedIn and currentUser or should it also call the API to fetch the new user config [which would be handled in a different store] and do some general logging for stats etc).

Use a neutral font ([Docs]: Dank Mono is hard to read as someone visually and cognitively impaired #873)

Do you have some ideas about font? I think DM Mono might be nice because Nuxt.js use it.

Yeah, it should be mentioned that you can just destructure actions

yeah, you can filter with the existance of an option (e.g. debounce) or explicitely filtering by id within the plugin if (store.$id === 'someid') <plugin code>

That's exactly what I had in mind in the meantime, I just wanted to make sure I was doing it the right way, thanks for the quick reply!

@posva when do you think the documentation should be ready for translations to other languages?
Is it a good idea to wait until this roadmap is completed?
Thanks for your answer.

Translations do not need to wait for this. You can work on them on your side, in a different repository, and publish them. We still need to publish a guide to let people translate docs.

Translations do not need to wait for this. You can work on them on your side, in a different repository, and publish them. We still need to publish a guide to let people translate docs.

Okay, though. In fact I actually felt the absence of a guide to help people do the translating, but for now I will just translate all content we have now, and updating when some new content is added to documentation. 😊
@posva

just make sure to search for existing translations first in order to collaborate 🙂

[ ]  Spltting the store into multiple files (How to split store in different files? And the limits of object type inference #802)

👍 I'm looking forward "native" way to split a store

The basic example should be rewritten in a clear structure that we can switch between Option and Composition API, overlap between option and composition is awful hard to read, confusing and overwhelm for new readers, my mind went blank despite an experienced programmer.
It feels like a tutorial written by someone's personal notebook?
https://pinia.vuejs.org/introduction.html#basic-example

I added a note to the issue. The rest is at https://vuejs.org/translations/ 🙂

I added a note to the issue. The rest is at https://vuejs.org/translations/ slightly_smiling_face

@posva I just started translating the Vue.js 3 documentation into Portuguese, I already mentioned
our programmers' colleagues are working on the project but until now I did not receive any feedback.
The website is being served on Vue.js 3 Docs (Português)

I don't know if this has been considered, but it seems like Pinia can be used in a "namespace" way of handling stores that Vuex did. I really wanted to separate stores that are based off the same store file... eg:
// selection.store.js
export const useStore = ({ namespace }) => {
  if (!namespace) throw new Error(`[selection.store/useStore()]-5: selection "namespace" must be defined!`);

  const storeID = `selection:${namespace}`;

  const store = defineStore(storeID, {
    state: () => ({
        current:  undefined,
        previous: undefined,
        // ...
    }),

    getters: {
      // ....
    },

    actions: {
      // ....
    },
  })();

  return store;
};

Instead of writing 4 different stores that do the same thing using the same content I just do this:
import { useStore } from 'stores/selection.store.js';
// ... define and use each store wherever needed in a separate namespace
const selectOneStore = useStore({ namespace: 'one' });
const selectOneStore = useStore({ namespace: 'two' });
const selectOneStore = useStore({ namespace: 'three' });
const selectOneStore = useStore({ namespace: 'four' });
// ... do whatever with stores wherever each store is being used

... and now have stores selection:one,selection:two,selection:three and selection:four that are independent from each other but use the same logic.
They can be used by different things that handle completely different use cases, but use the same logic. They also appear in dev tools as different stores. The best thing is there is nothing weird or hacky on Pinia, it's just how one defines the stores.
I wish this is documented somewhere so that users can use this method of defining stores and also help transition Vuex code.

@posva
Hi I recently had to use pinia in nuxt2.
I faced a problem because I had store which had to use local storage and it led me to ssr problems. It wasn't updating data from localstorage after hydration, so I was digging in doc and found hydate method, but I only found how to use it in option api. I couldn't figure out solution for composition api. Could you please tell me if it's possibile solve it with composition api and how? Also it would be great to update docs with informations about it =)
Thanks!

That's already documented: https://pinia.vuejs.org/cookbook/composables.html#ssr

:D ok thanks I don't know why I couldn't find it thanks a lot again!

Could we add the docs for how to properly dispose a store, reset its state or do both (dispose and reset)?
I didn't know dispose doesn't reset the state, didn't know the order of calling $dispose and $reset does matter, and, most of all, wasn't aware these two exist at all before looking into the GitHub issues,


Add a metadata panel

Add a metadata panel on the right for requests, similar to google results!

This component is deprecated


Add support for async rules

I need to support dynamic rules loaded from a DB. Could we get an IAsyncFirewallRule interface where IsAllowed returns ValueTask<bool>?

Would you prefer a new interface like IAsyncFirewallRule and an overload on the FirewallMiddleware to accept the async version as well, or would you prefer a ValueTask<bool> IsAllowedAsync(HttpContext context) method on the existing interface? The latter case would mean that as soon as one of the two methods returns false the request gets denied. What are your thoughts on this?

Separate interfaces would be less confusing, or only the ValueTask<bool> variant with a single interface.


missing cd helloworld after cloning from https://github.com/arun-gupta/docker-java-sample/

Package and Run Java Application using Docker Maven Plugin
after cloning you have to do:
cd docker-java-sample
cd helloworld
mvn package -Pdocker
not just
cd docker-java-sample
mvn package -Pdocker
because the pom.xml is on the hello world subdirectory

Fix in #34


Description of question i18n not clear

The description/examples of this question could be more detailed, as dog->d1g is a valid case according to the description but failed here:

Maybe like below:
An abbreviation of a word follows the form <first character><length of the middle of the string><last character>. Below are some examples of word abbreviations:
a) it                   --> it    (no abbreviation)
b) d|o|g            --> dog (no abbreviation)
c) i|nternationalizatio|n  --> i18n

Good catch! Including @apicardgoog because he authored the original question; @apicardgoog, do you have any thoughts on how much hinting/description you want to give here?

I'm open to modifications but I'm not sure what to recommend here. I would like the candidate to think about edge cases on their own. Maybe we could phrase it as "An abbreviation of a word follows the form  if it shortens the word"?

I'd contend (and I just said something similar on another issue) that part of the point of these questions is to leave the description somewhat open-ended, as we're trying to mimic an interview setting rather than giving an exact specification of expected inputs and outputs from the get-go. To that end, we shouldn't give too many examples (especially of ones with edge cases). I think the student should be able to glean the intention of the "abbreviate" function from the name of it (since something that is the same length or longer is not abbreviated).
Just my two cents.

I agree that we should not enumerate all edge cases in advance, or specify a full set of inputs and outputs covering all corner cases.
However, I think that the requirements of the problem need to be clear, otherwise the problem is ambiguous and there is no one to ask clarifying questions to (which is the main difficulty here). I don't really think that the name of the function alone is sufficient to deduce the purpose of the function.
I can think of two possibilities (there may be others):

Have some sort of way for students to "ask questions". This could be as simple as having a question mark button in the bottom right and allowing them to select, multiple-choice style, clarifying questions from it. That way, although they might not be able to practice coming up with questions on their own, at least they get a feel for what sort of thing to ask.
Use a formulation similar to what @apicardgoog suggested -- i.e., describe the problem clearly ("only abbreviate the word if the resulting word is shorter") but leave the student to figure out the implications of this requirement.

Appreciate further thoughts.

I actually really like the idea of the question mark + clarifying questions button if we're trying to encourage good interview behavior. I think we could do both things rather easily, though the nuance around how to do the clarifying questions well would probably warrant a longer discussion. I'd say let's start with Antoine's suggestion and then keep the clarifying questions thing as an option for future development.

Fixed in #114. Thanks, @jianjinjian!


Add construct_subsegment_by_recordingchannel to Segment

A function like this would be useful:
h.construct_subsegment_by_recordingchannel(rc_list=[k])

@mdenker Can you describe a bit more what does this function ? and where to find it or even a short example how to start it, how is 'h' initiated ?

I think this is a feature Michael wants to have in neo, that's why the tag is enhancement.
I believe this function should have a similar functionality like construct_subsegment_by_unit. Probably it should be in Segment, Michael needs to clarify that.

Yes, that's what I was thinking. In the mean time, this must be reevaluated in the context of ChannelIndexes...


pg_dump to mysqldump

Hello, thank you for your work. I tried to utilize it but faced some errors, later I found pg_dump instead of mysqldump.


Community-list page expand icons not automatically shown

When navigating to the community list page from another page, the expand icons are not automatically shown. They only appear after the change detection has been triggered somehow (eg by clicking somewhere). The issue doesn't seem to occur when loading the community list page directly.
To reproduce:

Navigate to the DSpace home page
Click on the "Communities & Collections" link in the "All of DSpace" section in the top menu
Wait (don't click or interact with the page)

Expected behaviour:

Expand icons should appear

Observed behaviour:

Expand icons don't appear

@samuelcambien : I'm not able to reproduce this on the demo site.  Here's what I'm doing (in Chrome browser):

Visit https://dspace7-demo.atmire.com/
Click "All of DSpace" -> "Communities & Collections"
Wait (making sure not to click on anything). It takes a moment, but the expand icons appear after a few seconds.

Is there something I'm overlooking here?  Or maybe this is a browser specific bug?

Perhaps there is a related problem: if you open Communities & Collections directly (go to https://dspace7-demo.atmire.com/community-list), the result list is empty.

Will be included as part of fix for #908.  Therefore, moving this to beta5 with a zero hour estimate.


platform_services example is missing .idea folder and .iml file

The IntelliJ files (.idea folder, and .iml file in root) are missing from the new platform_services sample. See hello_world for reference:
https://github.com/flutter/flutter/tree/master/examples/hello_world
PS. Note that the .iml file is being moved in https://github.com/flutter/flutter/pull/8139.

Done in #8487.


Generic Versioned provider asks to "Recover" every time the plugin runs

Describe the bug
A clear and concise description of what the bug is.
When using the Generic Versioned provider, the plugin always asks to "Recover local changes" even if nothing has changed, then breaks Sync.
To Reproduce
Steps to reproduce the behavior:

clone  figma-tokens-generic-storage-example
install and run the server as instructed
Create a new Figma document and add Tokens Studio
Add Generic Versioned provider and use http://localhost:8000/tokens as the URL
Create a new token (foo: #F00) and apply to the page
Press "sync" to ensure that the token was saved
Close the plugin
Run the plugin again — Notice the "Recover local changes" screen is visible (Image 1)
Click "Yes" or "Cancel"
Click "Sync" — Notice it doesn't do anything and throws a console error (Image 2)
Edit the provider again and hit save, now everything works

Expected behavior
A clear and concise description of what you expected to happen.
I expect that the Generic Versioned provider will work on reboot of the plugin, and pressing Sync will actually pull changes or tell me something went wrong,
Screenshots or Screencasts
If applicable, add screenshots to help explain your problem.
Image 1: Recover screen

Image 2: Console error after clicking "sync"

Figma file (optional)
Send us the link to a Figma file containing a reproducible example
JSON (optional)
If possible, attach the JSON that leads to this bug.
Platform:
MacOS 12.6.5
Tokens Studio V 1.35.3
figma-tokens-generic-storage-example latest

I did some sleuthing regarding the "Recover modal"...
Here are some similar issues for JSONBin provider #1395 #1108
Porting these changes could solve the issue.
The modal shows up because the checkForChanges flag is always set to true for genericVersioned.
The flag get set to true because of a bug in Footer. The metadata for genericVersioned is different than the normal { tokenSetOrder: string[] }. Leading to a deep equality check for the following:

@Jexordexan Thanks for this
Here is the culprit https://github.com/tokens-studio/figma-plugin/blob/1af88513722baa15722dc59a5a1a6ff1247b1288/src/app/components/AppContainer/startupProcessSteps/pullTokensFactory.ts#L37
PR is here https://github.com/tokens-studio/figma-plugin/pull/1853
@six7  We should look into prioritizing that refactor of storage providers to keep all the logic consolidated in a single area

@SorsOps Ha, didnt check the issue this morning and ended up making my own PR (#1854). I'll pull yours and verify the fix works. Your PR is much simpler than mine, so its probably better to merge that is it works

@SorsOps Your fix resolves the console error, and preserves syncing to remote after resarting the plugin, awesome!
However, the issue of getting the "Recover" prompt continues. I think this is because compareLastSyncedState is still always evaluating to true. In my PR, the first commit addresses this issue.

@Jexordexan Yeah both of these PRs are required to solve it. If you're ok with it, I'd like to merge your changes into mine. I'll add some additional testing and then we can solve this all in a single merge

Thats fine with me, thanks!

@Jexordexan I was going to address them after your consent to merge, but thanks for addressing them!


What are Contact screen has unnecessary scrollable content

Bullet points in the "What are Contacts?" screen are unnecessarily scrollable. All other content is static. Content should be static and scrollable unless content is pass the view screen.
https://images.zenhubusercontent.com/429950091/afa1d1e0-53a3-49dc-9f28-89c586185415/rpreplay_final1676070947.mp4
Device: iOS, iPhone SE, build 695

Resolved by: https://github.com/hyperledger/aries-mobile-agent-react-native/pull/724

Verified fixed in build 823.


Provide .cmake files for clients and plugin to easily compile/link against the Parameter Framework

Right now, clients and plugins writers need to manually use find_path() and such in their CMake makefiles. A helper file would be nicer.

Stretch goal for the windows port.

With #200 libparameter.so header are registered in cmake. Thus I expect some a way to generate a correct FindParameter.cmake exist.

There is an install(EXPORTS ... command that might be worth looking at.

Fixed in v3.2.5 :)


Unify Child events with EVM

Since #36 was closed I am looking forward to unify the event names as well as event fields with EMV.

This is a good first issue


Pre-trained Models

@PointCloudYC
Hello.
My name is Sora Ozawa from the University of Tokyo.
I have been reading your paper and using it as a reference for my research.
When I step on the link of the trained model in the README, I get a Not Found error, and it seems that the link is broken.
https://github.com/PointCloudYC/ResPointNet2#pre-trained-models
Please update this link

You can train the model first, then you can obtain checkpoints, then change the new checkpoint path.

Thank you very much. I will attempt to train the model in my environment.


Installing PowerShell results in error

Brief description of your issue
2024-04-06 16:16:16.926 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerSharedLib\Public\AppInstallerLanguageUtilities.h(135)\WindowsPackageManager.dll!00007FFBEE892E19: (caller: 00007FFBEE8E8F38) Exception(1) tid(3dbc) 80070490 Element not found.

    Msg:[GetVariant(14)]

2024-04-06 16:16:16.928 [CLI ] Caught wil::ResultException: C:\__w\1\s\external\pkg\src\AppInstallerSharedLib\Public\AppInstallerLanguageUtilities.h(135)\WindowsPackageManager.dll!00007FFBEE892E19: (caller: 00007FFBEE8E8F38) Exception(1) tid(3dbc) 80070490 Element not found.

    Msg:[GetVariant(14)]

WinGet-2024-04-06-16-16-16.338.log
WinGet-2024-04-06-16-17-55.131.log
WinGet-2024-04-06-16-17-43.499.log
Steps to reproduce
winget install Microsoft.PowerShell -s winget
Expected behavior
PowerShell 7 to be installed
Actual behavior
An unexpected error occurred while executing the command:
GetVariant(14)
0x80070490 : Element not found.

Environment
Windows Package Manager (Preview) v1.8.924-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.4170
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.924.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled
PS C:\WINDOWS\system32>

@johnmcpms / @denelon - sideBySide was enabled and causing this error. Disabling sideBySide experimental feature resolved the issue
cc @Trenly

[Policy] Experimental
[Policy] Issue Bug
[Policy] Command Install

Same error seen in #4354

Same with ETXSoftwareInc.DuckDns and REALiX.HWiNFO

Could someone change the title to something like "GetVariant(14) 0x80070490 : Element not found when sideBySide is enabled"? I get this when trying to install LastFM.LastFMDesktopScrobbler and a few other packages as well

@aaronliu0130 I updated #4425 as well to be more clear - thanks for the heads up!
@mdanish-kh did you get this error when actually trying to use the sBS functionality? I tried installing apps that had no other versions, no head ever been installed, and was getting this error. I don't have any apps pinned, and just like you when disabling - installed just fine.

@Luedtkejk There have been updates to the client to fix similar issues to this one. Can you try installing the v1.9.1551-preview release and check if the issue's resolved for you?

Can you try installing the v1.9.1551-preview release and check if the issue's resolved for you?

works for me for Perfview. Before I got this error:
C:\>winget install --id Microsoft.PerfView -e --source winget --verbose-logs
Unerwarteter Fehler beim Ausführen des Befehls:
GetVariant(14)
0x80070490 : Element nicht gefunden.

with 1.9 preview it works 🥳
C:\>winget install --id Microsoft.PerfView -e --source winget --verbose-logs
Gefunden PerfView [Microsoft.PerfView] Version 3.1.11
Diese Anwendung wird von ihrem Besitzer an Sie lizenziert.
Microsoft ist nicht verantwortlich und erteilt keine Lizenzen für Pakete von Drittanbietern.
Download läuft https://github.com/microsoft/perfview/releases/download/v3.1.11/PerfView.exe
  ██████████████████████████████  21.4 MB / 21.4 MB
Der Installer-Hash wurde erfolgreich überprüft
Paketinstallation wird gestartet...
Befehlszeilenalias hinzugefügt: "perfview"
Erfolgreich installiert

Since updating to the newest download, I have been unable to run winget update—it just keeps on spinning until I exorcize it from my realm.

Works after latest preview

@Luedtkejk are you still having this problem with the stable 1.8 release of WinGet, or the current 1.9-preview release?