Datashim installation requires more previlidges than allowed by GKE Autopilot

There is a violation when installing Datashim on GKE in autopilot mode: "denied by autogke-no-write-mode-hostpath". The competitive project GCSFuse is able to work on Autopilot. However, GCSFuse only supports GCS, not other S3-like object stores. Datashim supports all S3-like object stores, which is a better choice for hybrid clouds.
Here is a copy of the complete output:
davidyuan@cloudshell:~ (dy-test-301718)$ kubectl apply -f https://raw.githubusercontent.com/datashim-io/datashim/master/release-tools/manifests/dlf.yaml
namespace/dlf created
serviceaccount/csi-controller-h3 created
serviceaccount/csi-nodeplugin-h3 created
serviceaccount/csi-attacher-nfs created
serviceaccount/csi-nodeplugin created
serviceaccount/csi-s3 created
serviceaccount/csi-attacher created
serviceaccount/csi-provisioner created
serviceaccount/dataset-operator created
secret/webhook-server-tls created
storageclass.storage.k8s.io/h3 created
storageclass.storage.k8s.io/csi-s3 created
customresourcedefinition.apiextensions.k8s.io/datasetsinternal.com.ie.ibm.hpsys created
customresourcedefinition.apiextensions.k8s.io/datasets.com.ie.ibm.hpsys created
clusterrole.rbac.authorization.k8s.io/external-controller-h3 created
clusterrole.rbac.authorization.k8s.io/csi-cluster-driver-registrar-role-h3 created
clusterrole.rbac.authorization.k8s.io/csi-nodeplugin-h3 created
clusterrole.rbac.authorization.k8s.io/external-attacher-runner-nfs created
clusterrole.rbac.authorization.k8s.io/csi-nodeplugin created
clusterrole.rbac.authorization.k8s.io/csi-s3 created
clusterrole.rbac.authorization.k8s.io/external-attacher-runner created
clusterrole.rbac.authorization.k8s.io/external-provisioner-runner created
clusterrole.rbac.authorization.k8s.io/dataset-operator created
clusterrolebinding.rbac.authorization.k8s.io/csi-attacher-role-h3 created
clusterrolebinding.rbac.authorization.k8s.io/csi-cluster-driver-registrar-binding-h3 created
clusterrolebinding.rbac.authorization.k8s.io/csi-nodeplugin-h3 created
clusterrolebinding.rbac.authorization.k8s.io/csi-attacher-role-nfs created
clusterrolebinding.rbac.authorization.k8s.io/csi-nodeplugin created
clusterrolebinding.rbac.authorization.k8s.io/csi-s3 created
clusterrolebinding.rbac.authorization.k8s.io/csi-attacher-role created
clusterrolebinding.rbac.authorization.k8s.io/csi-provisioner-role created
clusterrolebinding.rbac.authorization.k8s.io/dataset-operator created
role.rbac.authorization.k8s.io/external-attacher-cfg created
role.rbac.authorization.k8s.io/external-provisioner-cfg created
rolebinding.rbac.authorization.k8s.io/csi-attacher-role-cfg created
rolebinding.rbac.authorization.k8s.io/csi-provisioner-role-cfg created
service/csi-attacher-nfsplugin created
service/csi-attacher-s3 created
service/csi-provisioner-s3 created
service/webhook-server created
Warning: Autopilot set default resource requests for DaemonSet dlf/csi-nodeplugin-h3, as resource requests were not specified. See http://g.co/gke/autopilot-defaults.
Warning: Autopilot set default resource requests for DaemonSet dlf/csi-nodeplugin-nfsplugin, as resource requests were not specified. See http://g.co/gke/autopilot-defaults.
Warning: Autopilot set default resource requests for DaemonSet dlf/csi-s3, as resource requests were not specified. See http://g.co/gke/autopilot-defaults.
Warning: Autopilot set default resource requests for Deployment dlf/dataset-operator, as resource requests were not specified. See http://g.co/gke/autopilot-defaults.
deployment.apps/dataset-operator created
Warning: Autopilot set default resource requests for StatefulSet dlf/csi-controller-h3, as resource requests were not specified. See http://g.co/gke/autopilot-defaults.
statefulset.apps/csi-controller-h3 created
Warning: Autopilot set default resource requests for StatefulSet dlf/csi-attacher-nfsplugin, as resource requests were not specified. See http://g.co/gke/autopilot-defaults.
statefulset.apps/csi-attacher-nfsplugin created
Warning: Autopilot set default resource requests for StatefulSet dlf/csi-attacher-s3, as resource requests were not specified. See http://g.co/gke/autopilot-defaults.
Warning: Autopilot set default resource requests for StatefulSet dlf/csi-provisioner-s3, as resource requests were not specified. See http://g.co/gke/autopilot-defaults.
csidriver.storage.k8s.io/ch.ctrox.csi.s3-driver created
mutatingwebhookconfiguration.admissionregistration.k8s.io/dlf-mutating-webhook-cfg created
Error from server ([denied by autogke-default-linux-capabilities]|[denied by autogke-disallow-hostnamespaces]|[denied by autogke-disallow-privilege]|[denied by autogke-no-write-mode-hostpath]): error when creating "https://raw.githubusercontent.com/datashim-io/datashim/master/release-tools/manifests/dlf.yaml": admission webhook "policycontrollerv2.common-webhooks.networking.gke.io" denied the request: GKE Policy Controller rejected the request because it violates one or more policies: {"[denied by autogke-default-linux-capabilities]":["linux capability 'SYS_ADMIN' on container 'h3' not allowed; Autopilot only allows the capabilities: 'AUDIT_WRITE,CHOWN,DAC_OVERRIDE,FOWNER,FSETID,KILL,MKNOD,NET_BIND_SERVICE,NET_RAW,SETFCAP,SETGID,SETPCAP,SETUID,SYS_CHROOT,SYS_PTRACE'. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'."],"[denied by autogke-disallow-hostnamespaces]":["enabling hostNetwork is not allowed in Autopilot. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'."],"[denied by autogke-disallow-privilege]":["container h3 is privileged; not allowed in Autopilot"],"[denied by autogke-no-write-mode-hostpath]":["hostPath volume plugin-dir in container node-driver-registrar is accessed in write mode; disallowed in Autopilot. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'.","hostPath volume registration-dir in container node-driver-registrar is accessed in write mode; disallowed in Autopilot. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'.","hostPath volume plugin-dir in container h3 is accessed in write mode; disallowed in Autopilot. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'.","hostPath volume pods-mount-dir in container h3 is accessed in write mode; disallowed in Autopilot. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'."]}
Error from server ([denied by autogke-default-linux-capabilities]|[denied by autogke-disallow-hostnamespaces]|[denied by autogke-disallow-privilege]|[denied by autogke-no-write-mode-hostpath]): error when creating "https://raw.githubusercontent.com/datashim-io/datashim/master/release-tools/manifests/dlf.yaml": admission webhook "policycontrollerv2.common-webhooks.networking.gke.io" denied the request: GKE Policy Controller rejected the request because it violates one or more policies: {"[denied by autogke-default-linux-capabilities]":["linux capability 'SYS_ADMIN' on container 'nfs' not allowed; Autopilot only allows the capabilities: 'AUDIT_WRITE,CHOWN,DAC_OVERRIDE,FOWNER,FSETID,KILL,MKNOD,NET_BIND_SERVICE,NET_RAW,SETFCAP,SETGID,SETPCAP,SETUID,SYS_CHROOT,SYS_PTRACE'. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'."],"[denied by autogke-disallow-hostnamespaces]":["enabling hostNetwork is not allowed in Autopilot. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'."],"[denied by autogke-disallow-privilege]":["container nfs is privileged; not allowed in Autopilot"],"[denied by autogke-no-write-mode-hostpath]":["hostPath volume plugin-dir in container node-driver-registrar is accessed in write mode; disallowed in Autopilot. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'.","hostPath volume registration-dir in container node-driver-registrar is accessed in write mode; disallowed in Autopilot. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'.","hostPath volume plugin-dir in container nfs is accessed in write mode; disallowed in Autopilot. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'.","hostPath volume pods-mount-dir in container nfs is accessed in write mode; disallowed in Autopilot. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'."]}
Error from server ([denied by autogke-disallow-privilege]|[denied by autogke-no-write-mode-hostpath]): error when creating "https://raw.githubusercontent.com/datashim-io/datashim/master/release-tools/manifests/dlf.yaml": admission webhook "policycontrollerv2.common-webhooks.networking.gke.io" denied the request: GKE Policy Controller rejected the request because it violates one or more policies: {"[denied by autogke-disallow-privilege]":["container driver-registrar is privileged; not allowed in Autopilot","container csi-s3 is privileged; not allowed in Autopilot"],"[denied by autogke-no-write-mode-hostpath]":["hostPath volume socket-dir in container driver-registrar is accessed in write mode; disallowed in Autopilot. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'.","hostPath volume registration-dir in container driver-registrar is accessed in write mode; disallowed in Autopilot. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'.","hostPath volume socket-dir in container csi-s3 is accessed in write mode; disallowed in Autopilot. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'.","hostPath volume mountpoint-dir in container csi-s3 is accessed in write mode; disallowed in Autopilot. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'.","hostPath volume dev-dir in container csi-s3 is accessed in write mode; disallowed in Autopilot. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'."]}
Error from server ([denied by autogke-disallow-privilege]|[denied by autogke-no-write-mode-hostpath]): error when creating "https://raw.githubusercontent.com/datashim-io/datashim/master/release-tools/manifests/dlf.yaml": admission webhook "policycontrollerv2.common-webhooks.networking.gke.io" denied the request: GKE Policy Controller rejected the request because it violates one or more policies: {"[denied by autogke-disallow-privilege]":["container csi-attacher is privileged; not allowed in Autopilot"],"[denied by autogke-no-write-mode-hostpath]":["hostPath volume socket-dir in container csi-attacher is accessed in write mode; disallowed in Autopilot. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'."]}
Error from server ([denied by autogke-disallow-privilege]|[denied by autogke-no-write-mode-hostpath]): error when creating "https://raw.githubusercontent.com/datashim-io/datashim/master/release-tools/manifests/dlf.yaml": admission webhook "policycontrollerv2.common-webhooks.networking.gke.io" denied the request: GKE Policy Controller rejected the request because it violates one or more policies: {"[denied by autogke-disallow-privilege]":["container csi-provisioner is privileged; not allowed in Autopilot"],"[denied by autogke-no-write-mode-hostpath]":["hostPath volume socket-dir in container csi-provisioner is accessed in write mode; disallowed in Autopilot. Requested by user<EMAIL_ADDRESS>groups: 'system:authenticated'."]}
davidyuan@cloudshell:~ (dy-test-301718)$

Closing this issue as it is being followed up in #164


Makes Tag setter public

#50 introduced Java's "tag" classes. In Java, the AbstractTag has a protected set() method and each derived class changes the visibility by having a public set method. #50 used protected everywhere which obviously doesn't allow one to actually use the classes.
It's not possible in C# to change the visibility of an overriden method so I made AbstractTag's method public. I don't see any reason why it shouldn't be public and I don't understand why Java even made this decision.
I'll not mark this as a deviation as it's just a technical difference and not a feature difference.
As this clearly is a bug, I'll merge it tomorrow as well.

Makes sense to me (in addition to the inability to change the accessibility modifier).

07cacf87dc573412ecd69c3ee6f49b1bf63f71f8


Migarte to yarn v2 or newer

Use node_modules plugin and workspaces

I would like to work on this issue.


Feature request: Ability to accept additional input from end-user

As noted in the discussion around adding MFA support for Okta, in order to accept additional input from an end-user you need to use a workaround: getpass.getpass or STDERR.
I would like to add a couple more features relative to Okta: dynamic role discovery and selection, as well as aws account selection. These would involve accepting input from the end-user, so, it would be great to have a different way to communicate back to the main AWS CLI tool other than STDOUT.

We considered using domain sockets, but those added too much complexity to development both for the client and server as well as requiring the end user to stand up a daemon. Another option is to hijack the container credential provider, which can be used as a general https credential provider. That again imposes implementation difficulty for the developer and deployment difficulty for the end user.
In the end we went with using stdout because it's exceptionally easy to implement on both sides, and because git itself has had success with that model.

I think what we could really use is a more comprehensive dev guide on how to implement a process provider. There's a few gotchas like this that should be called out.


Change response error type to int in event data

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Closing in favor of https://github.com/adobe/aepsdk-optimize-android/pull/55


Bump versions for 3.2.0 release.

NOTE This PR is against the release branch. It bumps versions for the just-released chisel3 3.2.0. These changes will be cherry-picked into master.
Normally, we'd make these changes to master and merge/cherry-pick them into release, but master is currently too far ahead (it includes a dependency on testers2 which hasn't been published yet).

Should we also change the default version of Scala to 2.12?


Incompatible library

I've import the package and tried running but it got error in sdkVersion
Launching lib\main.dart on Android SDK built for x86 in debug mode...
E:\Snippets\pre-project-experiment\tryout_ble\android\app\src\debug\AndroidManifest.xml Error:
	uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:flutter_blue] E:\Snippets\pre-project-experiment\tryout_ble\build\flutter_blue\intermediates\library_manifest\debug\AndroidManifest.xml as the library might be using APIs not available in 16
	Suggestion: use a compatible library with a minSdk of at most 16,
		or increase this project's minSdk version to at least 19,
		or use tools:overrideLibrary="com.pauldemarco.flutter_blue" to force usage (may lead to runtime failures)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:flutter_blue] E:\Snippets\pre-project-experiment\tryout_ble\build\flutter_blue\intermediates\library_manifest\debug\AndroidManifest.xml as the library might be using APIs not available in 16
  	Suggestion: use a compatible library with a minSdk of at most 16,
  		or increase this project's minSdk version to at least 19,
  		or use tools:overrideLibrary="com.pauldemarco.flutter_blue" to force usage (may lead to runtime failures)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 14s
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

Here is the packages in pubspec.yml
version: 1.0.0+1

environment:
  sdk: ">=2.1.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_blue: ^0.7.0

Any workaround for this issue?

Hi!
First of all, I'd like to point out that you're not using this library. This is FlutterBleLib or flutter_ble_lib on pub.dev, not flutter_blue.
Other than that you can still use our README I guess: https://github.com/Polidea/FlutterBleLib#android
Android has added support for BLE operations in SDK 18. I don't know why flutter_blue requires you to use 19.


CP fail on   if movie['status'] == 'active':

Expected behaviour:
Couchpotato grabber should get list of pending moves and then download
Actual behaviour:
Crash occurs when parsing data returned from Couchpotato
Steps to reproduce:

Step 1: ...

Config:

  queue_movies_couchpotato:
    verify_ssl_certificates: no
    couchpotato_list:
      base_url: http://localhost
      port: 5050
      api_key: API
      include_data: yes
    accept_all: yes
    list_add:
      - movie_list: couchlist

  queue_movies_couchpotato2:
    inputs:
      - rss: http://thepiratebay.org/rss/new/201
      - rss: https://thepiratebay.org/rss/top100/201
      - rss: https://thepiratebay.org/rss/new/207
      - rss: https://thepiratebay.org/rss//top100/200
      - rss: https://api.nzbgeek.info/rss?t=-11&dl=1&seekid=144440&num=200&r=API
    quality:
      - "<720p"
    imdb_lookup: yes
    list_match:
      from:
        - movie_list: couchlist
    download: /home/torrentflux
    # template:
    #   - torrents-template

Log:
CP LOG
2016-10-12 10:47 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2016-10-12 10:47 VERBOSE  couchpotato_list queue_movies_couchpotato Connecting to CouchPotato to retrieve movie list.
2016-10-12 10:47 VERBOSE  couchpotato_list queue_movies_couchpotato Connecting to CouchPotato to retrieve profile data.
2016-10-12 10:47 CRITICAL task          queue_movies_couchpotato BUG: Unhandled error in plugin couchpotato_list: u'status'
2016-10-12 10:47 CRITICAL manager       queue_movies_couchpotato An unexpected crash has occurred. Writing crash report to /root/crash_report.2<IP_ADDRESS>721788205.log. Please verify you are running the la
test version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 2.3.42
2016-10-12 10:47 WARNING  task          queue_movies_couchpotato Aborting task (plugin: couchpotato_list)

CP crash

2016-10-12 10:46 DEBUG    manager                       Figuring out config load paths
2016-10-12 10:46 DEBUG    manager                       Found config: /root/config.yml
2016-10-12 10:46 DEBUG    manager                       Config file /root/config.yml selected
2016-10-12 10:47 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2016-10-12 10:47 VERBOSE  couchpotato_list queue_movies_couchpotato Connecting to CouchPotato to retrieve movie list.
2016-10-12 10:47 VERBOSE  couchpotato_list queue_movies_couchpotato Connecting to CouchPotato to retrieve profile data.
2016-10-12 10:47 CRITICAL task          queue_movies_couchpotato BUG: Unhandled error in plugin couchpotato_list: u'status'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/flexget/task.py", line 477, in __run_plugin
    return method(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/flexget/plugins/list/couchpotato_list.py", line 242, in on_task_input
    return list(CouchPotatoSet(config))
  File "/usr/lib/python2.7/site-packages/flexget/plugins/list/couchpotato_list.py", line 195, in __iter__
    return (entry for entry in self.movies)
  File "/usr/lib/python2.7/site-packages/flexget/plugins/list/couchpotato_list.py", line 180, in movies
    self._movies = CouchPotatoBase.list_entries(self.config)
  File "/usr/lib/python2.7/site-packages/flexget/plugins/list/couchpotato_list.py", line 115, in list_entries
    if movie['status'] == 'active':
KeyError: u'status'

Additional information:

Flexget Version:2.3.43
Python Version: Python 2.7.12
Installation method: pip
OS and version: Opensuse Leap 42.1

I Added some debug logs. Please wait for next release and then paste debug logs of task execution

Will do.

Reopen of still relevant.

I am still receiving this as of this morning. v2.6.7
2016-11-29 10:27 CRITICAL task          queue_movies_couchpotato BUG: Unhandled error in plugin couchpotato_list: u'status'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/flexget/task.py", line 477, in __run_plugin
return method(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/flexget/event.py", line 23, in call
return self.func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/flexget/plugins/list/couchpotato_list.py", line 243, in on_task_input
return list(CouchPotatoSet(config))
File "/usr/lib/python2.7/site-packages/flexget/plugins/list/couchpotato_list.py", line 196, in iter
return (entry for entry in self.movies)
File "/usr/lib/python2.7/site-packages/flexget/plugins/list/couchpotato_list.py", line 181, in movies
self._movies = CouchPotatoBase.list_entries(self.config)
File "/usr/lib/python2.7/site-packages/flexget/plugins/list/couchpotato_list.py", line 116, in list_entries
if movie['status'] == 'active':
KeyError: u'status'

you haven't pasted debug logs, please do so

working on that

where will i find the debug logs?

flexget --debug execute --tasks <TASK_NAME>

So this is the halt portion, The debug logging  looks huge and does appear to work for a bunch of entries then hits this.
I can provide the full dump if you want it.
2016-11-29 10:44 DEBUG    couchpotato_list queue_movies_couchpotato quality requirement is 720p r5|ts|dvdrip|cam|dvdscr|tc
2016-11-29 10:44 DEBUG    couchpotato_list queue_movies_couchpotato returning entry <Entry(title=East Lynne,state=undecided)>
2016-11-29 10:44 DEBUG    couchpotato_list queue_movies_couchpotato movie data: {u'_t': u'property', u'releases': [], u'_rev': u'000c2529', u'profile_id': u'cde3bbdae2e247ddb5fbb0afb0028318', u'value': u'1384713000', u'identifier': u'messages.last_check', u'_id': u'0efa075f18c149478746f868f78a1c8c'}
2016-11-29 10:44 CRITICAL task          queue_movies_couchpotato BUG: Unhandled error in plugin couchpotato_list: u'status'
2016-11-29 10:44 CRITICAL manager       queue_movies_couchpotato An unexpected crash has occurred. Writing crash report to /root/crash_report.2<IP_ADDRESS>417284796.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 2.6.7
2016-11-29 10:44 DEBUG    manager       queue_movies_couchpotato Traceback:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/flexget/task.py", line 477, in __run_plugin
return method(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/flexget/event.py", line 23, in call
return self.func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/flexget/plugins/list/couchpotato_list.py", line 243, in on_task_input
return list(CouchPotatoSet(config))
File "/usr/lib/python2.7/site-packages/flexget/plugins/list/couchpotato_list.py", line 196, in iter
return (entry for entry in self.movies)
File "/usr/lib/python2.7/site-packages/flexget/plugins/list/couchpotato_list.py", line 181, in movies
self._movies = CouchPotatoBase.list_entries(self.config)
File "/usr/lib/python2.7/site-packages/flexget/plugins/list/couchpotato_list.py", line 116, in list_entries
if movie['status'] == 'active':
KeyError: u'status'
2016-11-29 10:44 WARNING  task          queue_movies_couchpotato Aborting task (plugin: couchpotato_list)

this is good enough to go on

Version 40577904 (11/15/2016, 3:07:33 AM)
working on the log, it exceeds pastebins limit.

paste just the cp plugin data then

try https://gist.github.com/mgaulton/6519c34801b5a1c76cc412f3fe1fa10b

honestly this looks like corrupt cp data. that version is different than mine, are you running cp from git?
my version is 3.0.1

Yes i am running from git. I can try rebuilding the DB again.

I'm running the most recent commit, my init script does  a git pull before launching.
https://github.com/CouchPotato/CouchPotatoServer/commit/405779047035723bd015fdd51b19379884f53b36

Thanks again.

just ended up doing a mindless check of this, since i believe this is corrupt CP data. let me know if it doesn't work

will do.


[Suggestion] Command to rob other player's deaths (OP ONLY)

Hello!
For moderation purposes, I would like to suggest a way to restore another player's death entry into my own inventory intead of theirs.
Usage for this would be: If a player loses a certain item(s) due to a server crash, being able to give that item(s) back without restoring the whole death entry into their inventory

Such a feature is not necessary, as you can already give yourself single items from a snapshot while in creative mode - be it your own death or somebody else's. Granted, this isn't documented very well, but the tooltip of the items shows it while looking at a death entry.
I hope this brings you some insight (even if it comes horribly late, for which I apologize)
Cheers


[PORT] Add YAML files to set up build pipelines for nightly tests

Port this change from botbuilder-dotnet/master branch:
https://github.com/microsoft/botbuilder-dotnet/pull/3150

Description
This pull request adds YAML files to set up build pipelines running nightly tests.
Specific Changes
We added three YAML files inside the folder build/yaml.
The added files are:

nightly-simple-build-test: builds the project and run the tests inside the pipeline.
nightly-build-functional-test-unix: deploys a bot in Azure in a Linux environment and runs the tests for that bot.
nightly-build-functional-test-windows: deploys a bot in Azure in a Windows environment and runs the tests for that bot.

These files are configured to run the pipeline nightly in the master branch if there were changes. This can be edited in the file or using the UI in the pipeline set up.
How to use
The next steps will guide you through the configuration of a Build pipeline for the nightly functional test.
Prerequisites
These requisites are not needed for the nightly-simple-build-test.

Azure DevOps organization.
Azure subscription. Required to create and delete Azure resources.
One app registration in Azure. More info
Configure an Azure Connection Service. Steps here
Luis service subscription

Set up the build pipeline
1- Create a new build pipeline. Then, select the Use classic editor option.

2- Configure the repository and branch. Then, in the configuration as code, click on Apply for the YAML file option.

3- In the YAML section, write the build name and select the build YAML file inside the folder build/yaml/ in the root of the directory.

4- In the Variables section add the following variables.

For the nightly-build-functional-test-windows:

BotName
BotGroup
TestBotAppdId
TestBotAppSecret
LUISAPPIDSECRET
LUISSUBSCRIPTIONKEYSECRET
AzureSubscription (Connection name from Connected Service)

For the nightly-build-functional-test-unix:

BotName
BotGroup
TestBotAppdId
TestBotAppSecret
LUISAPPIDSECRET
LUISSUBSCRIPTIONKEYSECRET
AzureSubscription (Connection name from Connected Service)
AzureDeploymentUser
AzureDeploymentPassword

For the nightly-simple-build-test you don't need to add any variable.

Create an Azure Resource Manager service connection
This step is required to use your Azure Subscription for the Windows and Linux CI builds. If you already have a Connection Service configured, save its Connection name to use it later as AzureSubscription.
For more info go to this link.
1-  Navigate to Project settings -> Service Connections -> New service connection.

2- Select Azure Resource Manager and click Next. Then, select Service principal (manual)

3- In the New Azure Service Connection section, complete the next fields. Then, click on verify and save.

Subscription Id (stand for Azure Subscription Id)
Subscription Name
Services Principal Id
Service principal key
Tenant ID
Services connection name (Name used to refer to this service connection in the pipelines)

Testing
In the following images, you can see the builds running in a pipeline from the YAML file.

n/a


feat: [IDP-2642]: Added the videos to the docs

Description

Please describe your changes: Added the videos to the docs

PR lifecycle
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[x] Code owner review.
[x] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6617e9be259a50154728a2b2--harness-developer.netlify.app


Ensure backward compatibility of ORTModel

Following https://github.com/huggingface/optimum/pull/872, we make sure we have no breaking change for the existing exported models.
Thank you @echarlaix for pointing it out!

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


fix: Typing mixed includes null

:tada: This PR is included in version 6.27.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


added password-generator

I want to add a customised password generator app in your project.

already have this project


Show stopper: Restricted download - IP address and userID is missing

User ID was missing, because it is loaded from the UserRegistration.email and a there was issue that a new EPerson wasn't added to the user registration table.
For a new users the User ID is showed up.


EDU-216 Add cache busting everywhere

Closes: https://educandu.atlassian.net/browse/EDU-216
I'm not so sure this is exactly what we need though since it can also be an annoying feature.
Please try the following:
Go to the rooms section
Make a  new room
Click the back button
What I would like to see is the updated list of rooms
What you see is a flicker with this and the page going back to the first tab
Most pages will be okay with this feature, but some might become bad for the user experience

Closes: https://educandu.atlassian.net/browse/EDU-216
I'm not so sure this is exactly what we need though since it can also be an annoying feature. Please try the following: Go to the rooms section Make a new room Click the back button What I would like to see is the updated list of rooms What you see is a flicker with this and the page going back to the first tab
Most pages will be okay with this feature, but some might become bad for the user experience

Yeah, the tabs are a problem with this, but in my opinion I would rather (in the future) add a URL query param on tab change, so each tab has its own URL, so we can "deeplink". But we have to discuss this. For now, I think we can live with this flicker.


[FEA] Use the GitHub .zip URI instead of GIT_REPOSITORY and GIT_BRANCH

This PR uses the GitHub .zip URI instead of GIT_REPOSITORY and GIT_BRANCH so rapids-cmake can be loaded on machines that don't have git installed. It might also be good to set CMP0135 in RAPIDS.cmake.

With the update to the latest version of CPM it handles setting CMP0135 so we only need to manually specify it when downloading the nvcomp binaries.
Given the switch to a zip in RAPIDS.cmake we should also enable CMP0135 when executing the download.

rerun tests

@robertmaynard @trxcllnt is this PR waiting on anything or can it be merged?

@gpucibot merge


Create a new pull request by comparing changes

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.899%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2031

Relevant Lines:
2082

💛  - Coveralls


Are you interested in making Odroid Super ArcOS?

Are you interested in making Odroid Super ArcOS?
https://www.hardkernel.com/shop/odroid-go-super-clear-white/

https://github.com/christianhaitian/arkos/issues/236

#236


script# crash

reduced to the simplest case
using System;
using System.Collections.Generic;
using System.Collections;
using System.Html;
using System.Runtime.CompilerServices;
[assembly: ScriptAssembly("jslate")]
namespace Jslate.Util
{
    public  class Rest
    {
        public static void FFF<TData>( Action<TData> success, Action<object> error)
        {
          // comment out code to actually do stuff

        }
    }
}

gives
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at ScriptSharp.ScriptModel.SymbolSet.CreateGenericTypeSymbol(TypeSymbol templateType, IList`1 typeArguments)
   at ScriptSharp.ScriptModel.SymbolSet.ResolveType(ParseNode node, ISymbolTable symbolTable, Symbol contextSymbol)
   at ScriptSharp.Compiler.MetadataBuilder.BuildParameter(ParameterNode parameterNode, MethodSymbol methodSymbol)
   at ScriptSharp.Compiler.MetadataBuilder.BuildMethod(MethodDeclarationNode methodNode, TypeSymbol typeSymbol)
   at ScriptSharp.Compiler.MetadataBuilder.BuildMembers(TypeSymbol typeSymbol)
   at ScriptSharp.Compiler.MetadataBuilder.BuildMetadata(ParseNodeList compilationUnits, SymbolSet symbols, CompilerOptions options)
   at ScriptSharp.ScriptCompiler.BuildMetadata()
   at ScriptSharp.ScriptCompiler.Compile(CompilerOptions options)
   at ScriptSharp.Application.Execute(String[] args)
   at ScriptSharp.Application.Main(String[] args)

change the method signature to
 public static void FFF<TData>( Action<object> success, Action<object> error)

all works OK. I have tried to debug using reflector and can see it failing to resolve the second TData symbol. But cant work out why. This signature is common in SS libraries so I must be missing something dumb. If I had the compiler source I could try to fix it. Can another set of eyeballs see anything?

The compiler doesn't support declaring generic types or methods... only using declared ones.
Here's what you can do however ... you could create an import library (an assembly compiled against the script# mscorlib, but not compiled to javascript by script#) and then reference that in code that does get compiled to javascript.
This level of support needs to be added to script#, but requires a significant change in some of the fundamentals... that work is pending, and as that gets done, will be sharing the sources as well over here.


Remove unused dependency from VariableValueStore

VariableValueStore depended on DocumentsDao but wasn't using it.

#2374
#2373
#2372
#2371  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @sgrimm and the rest of your teammates on  Graphite

#2374
#2373
#2372
#2371  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @sgrimm and the rest of your teammates on  Graphite

Merge activity

Sep 5, 6:09 PM EDT: @sgrimm started a stack merge that includes this pull request via Graphite.


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-28-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4435

Questions ?
Please refer to the Backport tool documentation


Hotfix/bi 6088 send email if automatic rejection fails

Description
Send rejection email to finance when automatic refund fails.
Jira Ticket
https://companieshouse.atlassian.net/browse/BI-6088
Coding Standards
Code Style Guide: https://github.com/companieshouse/dissolution-web/wiki/Code-Style-Guide
Checklist

[ ] 3 Amigos
[x] Acceptance Criteria met
[x] Branch named {feature|hotfix|task}/{S4-*}
[x] Commit messages are meaningful
[x] Manually tested
[x] All unit tests passing
[ ] API (Karate) tests passing
[x] Pulled latest master into feature branch
[ ] Code reviewed
[ ] New Docker environment variables have also been added to the revel1 environment and cidev environment
[ ] If your pull request depends on any other, please link them in the description


add a tag for v0.8.1

It looks like previous releases have associated tags, but there isn't one the most recent release.

You betcha! https://github.com/oxidecomputer/omicron/blob/main/nexus/db-queries/Cargo.toml#L15


Output Test -DATE PICKER

USER STORY- PROBLEM 1 JAVASCRIPT DATE PICKER (TEST)
Description:
As a student enrolled in SSDI under Professor Dobbs and a web-application user, I need to test Problem-1 of Project-3. I need to verify that there are two distinct and visually appealing date pickers to effortlessly select dates.
Acceptance Criteria:
• Two labeled date pickers initially show the current month.
• Calendars display a grid layout with clear day labels.
• Out-of-month days are dimmed.
• Navigation controls allow easy month switching.
• Clicking a day triggers an action with DatePicker ID and selected date.
• Date pickers operate independently.
• Stylish and user-friendly design.
• Prevent global namespace interference.
By completing this user story, we will ensure the date pickers are fully functional and do not conflict with other scripts or global variables. The design is visually pleasing and intuitive for users to select dates effortlessly.

Completed


Slow motion playback

Hi,
Please add an special playback for slow motion videos (like Google Photos, Xiaomi Gallery, Samsung Gallery)

Please share a sample of slow motion video.
If you have different samples from different manufacturers (Google, Xiaomi, Samsung), please share a sample for each.

I will share slow motion videos, here: https://github.com/deckerst/aves/issues/585

On my phone, a Samsung device, Google Photos plays your sample video as you describe, but Samsung Gallery does not detect it as a slow motion video. And i can't test Xiaomi Gallery on my device.

Please see my messages on Telegram.


[Feature] Adding a Survey form under forms section

Description
It will contain a survey form to take survey data from user.
Please assign me this issue under IWOC2024 @Rakesh9100
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

@Rakesh9100 I would like to work on this under JWOC .
Kindly Assign it to me


Fix backend dispatching for read_csv

Backend dispatching doesn't currently work in all cases for read_cudf, because the operation property may be accessed outside a config context block. This PR resolves the issue by adding a "dataframe_backend" parameter.

Any objection here @phofl ?
Note that it's a bit simpler for rapids than marking the entire top-level read_csv function as "dispatchable" for now. However, that is exactly what we will need to do when the internal legacy-API fallback is removed.

thx


string(alloc.type) can be expensive, resulting in a slow view_allocs

Something changed in Julia 1.10 (Julia is probably tracking more granual allocations), and ProfileCanvas.jl is now struggling producing views for allocation. To give a sense of the incrased number of allocations, profiling the same run on 1.9 produces an HTML file that is 600 kB, on 1.10 it is 18 MB.
The increased number of allocations tracked manifested the limits of view_allocs: some runs became virtually impossible to plot (cost of plotting > hours). I saw this behvior with julia 1.9 too when working with large allocation trees. I can prune the allocation tree (I probably don't need the very fine leaves anyway), but I think it would be still good to see if there is low-haning fruit to improve the algorithm/performance for view_alloc.
Most time (97%) is spent in string

I tracked this down to
https://github.com/pfitzseb/ProfileCanvas.jl/blob/08619eb1f37464b7fe1af91ffc544d8a4ad238dd/src/ProfileCanvas.jl#L353
Indeed, I verified that string(alloc.type) can take up to 0.05 s on a very fast machine when the type is complex. With > 10^5-10^6 allocations, this can be very expensive.
It seems that string(alloc.type) is primarily used to compared with c.func, so I wonder if there's a way to avoid converting to string?

Something changed in Julia 1.10 (Julia is probably tracking more granual allocations), and ProfileCanvas.jl is now struggling producing views for allocation. To give a sense of the incrased number of allocations, profiling the same run on 1.9 produces an HTML file that is 600 kB, on 1.10 it is 18 MB.
The increased number of allocations tracked manifested the limits of view_allocs: some runs became virtually impossible to plot (cost of plotting > hours). I saw this behvior with julia 1.9 too when working with large allocation trees. I can prune the allocation tree (I probably don't need the very fine leaves anyway), but I think it would be still good to see if there is low-haning fruit to improve the algorithm/performance for view_alloc.
EDIT: Most time (97%) is spent in string

I just realized from the above flamegraph that the bottleneck is our show method.
Sorry for the noise.

Reopened with additional information.
(Sorry again for the noise).

@pfitzseb, this may be due to us removing a Base.show method for one of our heavily typed parameters.
Can we replace this string call with type_depth_limit ? That might be generally better anyway.

@pfitzseb, this may be due to us removing a Base.show method for one of our heavily typed parameters.

My tests seem to indicate that removing Base.show does make things worse (twice as slow), but it is not the root of the problem (our CI is still using ClimaCore 0.11.7, that has the show method, and is suffering from this).

Yeah, that seems reasonable. I'm not sure how type printing actually works, but the low-tech solution I had in mind is using a LimitIO (there's a package I think?) for this that ends up printing 50 chars at most. We're already using that in Debugger.jl and the VS Code extension in other places and historically it works decently well.

xref: https://github.com/JuliaPerf/PProf.jl/pull/86 (thanks to @Sbozzolo)


Link: how to open new tab and then jump to the target link

Description
The current link can only jump to the link at the current tab, how to automatically open new tab and then jump to the target link.
This is similar to the function target="_blank" in HTML
Visit Google Website
Use Case
For example, if there are a lot of links in someone's resume, people who click the link do not want to shut down the resume page.

Middle click typically opens links in a new tab.

No idea if PDF even supports that.

Is this about the final PDF or the preview panel in the web app?

@reknih This is about the final PDF if I open it in the web app.  It seems the issue of the pdf itself.


docs: updated README with acknowledgements

This PR aims to add relevant acknowledgements for the ec2-github-runner

Closed because of diverged commits that need to be investigated.


prevent loaders from overlapping

Hi,
I had an issue with loaders for meteor modules being overlapping for each compile.
Because of that modules list was growing each time webpack refreshed and also hot module replacement did't work properly and i had full recompile after every change.
After this change everything works like a charm :)

Looks good :)

v1.0.5 pushed to npm:
https://www.npmjs.com/package/meteor-imports-webpack-plugin


Twitch's drone can see Echo's drone when cloaked

I've shot Echo's drone many times while on my Twitch drone. The current text for Twitch minor countering Echo is "Twitch's Drone can shoot Echo's Drone but is unable to see it when it is cloaked."
It should just be "Twitch's Drone can shoot Echo's Drone." and it should probably be a soft counter instead of minor, as it destroys Echo's drone for the rest of the round, which isn't a minor counter.

Is Twitch's drone able to see Echo's drone when it is cloaked? (Twitch can easily see a cloaked Gu mine for example)
Probably should be a soft counter as I believe the drone is hidden on the roof.

Hi guys,
I am new to coding, I saw your issues on the "Up For Grabs" website. I have made changes on the r6OperatorsCounter.json file (added twitch's soft counter) on my local branch.  However, I don't have permission to push my branch, can I have access please?
Thanks,
Abu

Hi Abu,
Thanks for the submission. For the time being, you will have to fork
master, create a new branch, then create a pull request for that branch.
Thanks,
Alex
On Tue, Mar 12, 2019, 6:53 PM Abu Darda<EMAIL_ADDRESS>wrote:

Hi guys,
I am new to coding, I saw your issues on the "Up For Grabs" website. I
have made changes on the r6OperatorsCounter.json file (added twitch's soft
counter) on my local branch. However, I don't have permission to push my
branch, can I have access please?
Thanks,
Abu
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BurkusCat/r6-operator-counters/issues/113#issuecomment-472237433,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHZ0uDUK1yjyWaIvFaH6CEbMNM3Kflwaks5vWEwTgaJpZM4ZmApd
.

This can be closed now after #171!


Automatically back up issues

In our get together at SWIB15 (see [1]) we decided to use the issue tracker in this repo as our central place for all kinds of documentation. Since issues are not part of the Git repo, we decided to set up automatic backups for the issues using the GitHub API.
[1] http://etherpad.lobid.org/p/swib15-metafacture

Set up automatic backups, available at:
http://lobid.org/events/metafacture/backup
It's basically a copy of the response to this GitHub API call:
https://api.github.com/repos/culturegraph/metafacture-documentation/issues?state=all
A backup is created on any GitHub issues event, using a webhook posting to:
http://lobid.org/events/metafacture
That service is implemented in:
https://github.com/hbz/events (see https://github.com/hbz/events/issues/4 for some implementation details).

@fsteeg
Thanks Fabian for the setup of this backup. I haven't had the time to look into the details - it's interesting to use the Git API with events. I have heard of it but haven't used it so far.
Related to the documentation itself:
Hopefully I can start to put some first documentation as a starter into the repo of our project work done so far this week. Last week it wasn't possible.
I would like to add additional Github accounts of other "Metafactures" as team-members for this repo. But as far as I can see you have already write permissions for the whole Culturegraph namespace?
Best wishes to Cologne
Günter

@guenterh I have admin access to this repo for setting up and testing the webhook (for the backups). I don't have write permissions or admin access to the other Culturegraph repos. Perhaps @cboehme can give you admin access for this repo to add other members or add them for you.

@fsteeg Christoph already granted admin access to me for the doc repository. I'm going to add additional users soon, Günter
@cboehme fyi

The current backup contains the issues only, without comments. We need to include data like:
https://api.github.com/repos/culturegraph/metafacture-documentation/issues/1/comments

The comments are now backed up in a comments_data field for each issue.
See: http://lobid.org/events/metafacture/backup


Add tests for UserListService

I followed info on the Angular guide to the Http class and the Angular guide to testing to write up some tests for the UserListService that mock the HTTP requests in some quite nifty ways. We now have essentially 100% coverage on this service. (There's 2/3 branch coverage, but this is apparently something goofy about how TypeScript compiles imports, and there's nothing to be done about it at the moment.)
Closes #45

Looking back, I think this was, indeed, incorporated somehow since those tests do exist. I'm not sure the best way to move forward. Do I just close this PR? Do we need to see where those lines come from and refer to this PR?

It does look like my code got moved over two years ago in commit c4c817d56b613d9eb8f11904c406d66cc85ef651 and that Avery then added some nice additional tests last week, so I think I'd close this. Attempting to merge it in would probably create chaos, especially since it looks like I cleaned up some indentation issues in a later commit, so there would likely be a pile of conflicts. Not sure why that commit got merged in but this PR didn't get closed – that's probably my bad.


Opportunity to set width for events

Hello team,
i want ask you if there is the opportunity to set the width of the event when i add it on calendar, because in my case when there are many events in the same day  ,I would prefer to view them next to each other and not one below the other because  the first event that occupies all available width.
I always thank you for the work you do
Regards

Hi do you means something like this ?

Hi do you means something like this ?

yes, the example of events 612,610,611 under saturday 4 is perfect

You can use the EventGroupBasicLayoutDelegate for this
    CalendarWidget(
      calendarLayoutDelegates: CalendarLayoutDelegates(
        tileLayoutDelegate: ({
          required date,
          required endHour,
          required events,
          required heightPerMinute,
          required startHour,
        }) {
          return EventGroupBasicLayoutDelegate<Event>(
            events: events,
            date: date,
            heightPerMinute: heightPerMinute,
            startHour: startHour,
            endHour: endHour,
          );
        },
      ),
    );

You can use the EventGroupBasicLayoutDelegate for this
    CalendarWidget(
      calendarLayoutDelegates: CalendarLayoutDelegates(
        tileLayoutDelegate: ({
          required date,
          required endHour,
          required events,
          required heightPerMinute,
          required startHour,
        }) {
          return EventGroupBasicLayoutDelegate<Event>(
            events: events,
            date: date,
            heightPerMinute: heightPerMinute,
            startHour: startHour,
            endHour: endHour,
          );
        },
      ),
    );

Ok, Great it works perfectly, thanks


Compare fMRI and DTI reliability

All using Shangsi's MNR

seems like we can do this now?
@gkiar @ebridge2

Yup - I would suggest plots similar to the ones I made on the google drive or something like that with DTI on one side and fMRI on the other so you can have a nice side by side comparison
Eric Bridgeford
Johns Hopkins University
Dept. of Biomedical Engineering

From: joshua vogelstein<EMAIL_ADDRESS>Sent: Sunday, July 19, 2015 8:39 PM
To: openconnectome/m2g
Cc: Eric Bridgeford
Subject: Re: [m2g] Compare fMRI and DTI reliability (#94)
seems like we can do this now?
@gkiarhttps://github.com/gkiar @ebridge2https://github.com/ebridge2

Reply to this email directly or view it on GitHubhttps://github.com/openconnectome/m2g/issues/94#issuecomment-122722728.

I somewhat disagree; I think we should be able to represent it on a single
set of axes. @ebridge2 I have ideas on how to do this so let's chat later
and I'll suggest to you what to do.
On Jul 20, 2015 12:54 AM, "ebridge2"<EMAIL_ADDRESS>wrote:

Yup - I would suggest plots similar to the ones I made on the google drive
or something like that with DTI on one side and fMRI on the other so you
can have a nice side by side comparison
Eric Bridgeford
Johns Hopkins University
Dept. of Biomedical Engineering

From: joshua vogelstein<EMAIL_ADDRESS>Sent: Sunday, July 19, 2015 8:39 PM
To: openconnectome/m2g
Cc: Eric Bridgeford
Subject: Re: [m2g] Compare fMRI and DTI reliability (#94)
seems like we can do this now?
@gkiarhttps://github.com/gkiar @ebridge2https://github.com/ebridge2

Reply to this email directly or view it on GitHub<
https://github.com/openconnectome/m2g/issues/94#issuecomment-122722728>.
—
Reply to this email directly or view it on GitHub
https://github.com/openconnectome/m2g/issues/94#issuecomment-122761849.


After scanning QR code, blank screen displayed

After scanning a QR code connection a success modal is displayed. Upon unloading the modal the camera screen goes blank with no navigation triggered back to the home page.
AFJ: 0.1.0-alpha.289
Bifold: Commit cc83291ac4d579d3264181ec8890ba988116bcd7

Is this bug introduced with the updates to AFJ? Is the connection successfully created?

It looks like the connections is correctly established. I don't think the issue was introduced with AFJ updates (since I've observed the same issues before the latest update) Here is a screenshot of the workflow for accepting a VC.
Uploading Screen Capture.mov…

I believe the fix should be to navigate to the Home Screen after a scan is successful:
Here is the current block that handles code scanning:
  const handleCodeScan = async (event: BarCodeReadEvent) => {
    setModalVisible('pending')
    try {
      const connectionRecord = await agent?.connections.receiveInvitationFromUrl(event.data, {
        autoAcceptConnection: true,
      })
      setConnectionId(connectionRecord.id)
      // --> Navigate back home here?
    } catch {
      setModalVisible('failure')
    }
  }

I'm not too familiar with this code. Maybe @JamesKEbert or @NeilSMyers have some insights here?

I think putting the navigation onto the press of the "Continue" button would make more sense. Let's the user process that the action they started is now complete. And then maybe we navigate to the connections stack so they can see their new connection there.

Yeah this would be a workflow thing vs an AFJ issue (since the connection is being established). But yes, if you wanted to forward them to the home screen after they've connected (potentially even after a 3-5 second timeout), I'd recommend the second code block you mentioned with the useEffect:

   if (connection?.state === ConnectionState.Complete) {
     setModalVisible('success')
        // --> Navigate back home here?
      }
    }, [connection])

ı want to use sovring staging network and this example(https://email-verification.vonx.io/). When ı scan the Qr code my screen waiting Failure and ı must close app.I added genesis codes to config/ledgers/indy/indico-test-net . I added genesis url to env file. what is the problem ?

@oznfc if you're using the latest code you no longer need to specify a genesis url in the .env file. AFJ now has multi-ledger support and the mobile application is configured with both Indicio Test Net and Sovrin Staging ledgers by default (although you can add and remove ledgers based on your needs). You will still need to specify a mediator url in the .env file. If possible are you able to post the decoded data from the QR code? Are you using a connection-less protocol by any chance?

yes ı updated again today.  I added  only
GENESIS_URL= https://raw.githubusercontent.com/sovrin-foundation/sovrin/master/sovrin/pool_transactions_sandbox_genesis
```  to env file.
When ı scan the Qr code my screen waiting on ```pending``` secreen  and ı must close app. when ı opened app again. ı can see my connection on  contact screen.  error this :  normaly when scaned my qr code  by Trinsic wallet.  I'm connecting and ı 'm getting message for credential. but  ı can not getting credential message in this app.


Downloading with progress -> Cannot invoke 'response' with an argument list of type '((_, _, _, _) -> _)'

Hi,
Carthage just pulled in version 1.3.0 (before: 1.2.3) and now XCode is complaining with Cannot invoke 'response' with an argument list of type '((_, _, _, _) -> _)':
        // start download
        let download = Alamofire.download(.GET, url, destination)
            .progress { bytesRead, totalBytesRead, totalBytesExpectedToRead in
...
            }
            .response { request, response, _, error in
...
        }

I checked the documentation if anything changed, but I am doing it exactly like the documentation states. Am I doing something wrong?

My understanding is that these questions should be taken to StackOverflow as that's a better place to ask for support. That being said I had this issue and solved it by being more explicit in my definition and not using _ in the callback. Try something in the lines of:
 Alamofire
      .request(.GET, ..., ...)
      .responseJSON { (request, response, JSON, error) -> Void in
        if let error = error {
          println("Error")
        } else if let json: AnyObject = JSON {
          println("\(JSON)")
        } else {
         println("Something went wrong")
        }
      }

Hi @4np, this is the Swift compiler giving you a VERY misleading error. The issue is actually in your download declaration. You are missing the destination parameter. We brought all the global Alamofire methods inline with the Manager methods which will cause these issues in certain places.
We also documented this issue in the release notes in the upgrade section at the bottom. Additionally, the logic is correct in the sample code in the README.
In the future, when you have issues like this, please take your question to Stack Overflow as @cristeahub mentioned.
Cheers 🍻


container is not defined

django-recurring version: 1.0.0
Python version: 3.12.3
Operating System: Mac OS 13.3.1

Hey,
First of all  thanks for your work on this lib and offering some fixes and fresh air to the Jazzband version.
I have found a small issue in the admin that should be simple to fix, see below.
I have also found the UX of the EventForm a bit complex and misleading. I will come back a bit later to comment / PR on this if you are ok with the idea.
Thanks
Description
When trying to save a model in the admin, the following error shows up: container is not defined

Coming from the following:
          if (event.recurrence_rule) {
                const foreverRadio = container.querySelector('input[name^="end-recurrence"][value="forever"]');
               //....
            }

To fix this, I have added the validateDateInputs function like so:
function validateDateInputs() {
 const container = calendarEntryForm.container // NEW
}

Hmm strange, I can't reproduce that. Can you post a screenshot of the event you were trying to create please?
As for the UX it basically wraps datetime's rruleset pretty tightly. I initially found it unintuitive that the start/end dates were of the event itself and the recurrence rule controlled (surprise) recurrence. Intuitively I wanted to create an event that ran from e.g. 1-31 October as the start/end times, but that's not how rruleset works. I've tried to address that with help text. Maybe that's what you're referring to?

Hi @boosh , sorry, busy couple of past days.
I was using django-unfold in the project where I observed these issues, so to be on the safe side I created a fresh project with nothing else that your package and I haven't been able to reproduce this issue either.
Re-installed django-unfold in this test project and the error was back. Not sure what's causing it but that's not a bug in the Django stock UI. I will update the issue title accordingly.
Cheers.


feat(connector): support gzip decompression for file source

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
This PR introduces (automatic) decompression for file source, and currently only gzip compression is supported.

Users can define decompression_format in the create table statement
If  decompression_format is not defined, file reader will automatically decompresses .gz and .gzip files.

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

@hzxa21 PTAL❤

@hengm3467  This pr add a new field in gcs connector, and we need to apply corresponding changes in our doc, the detail is in release note. Let me know if you have any questions, thanks~


Links in UK list not working

Hello,
Apparently all of the links associated with the domain live2.hoolatv.com don't appear to work anymore. Unfortunately, links from that site appear to comprise the majority of the UK list. Just a heads-up.

Thank you for paying attention to this. I already deleted all broken links. As soon as we find working broadcasts, we will return them back.


workspace.default-members causes cargo run --bin from-other-crate to fail with an unhelpful error

Problem
In a workspace with default-members set, cargo run --bin considers only these members as expected. However, when specifying another workspace binary without -p, the error message is unhelpful, because it doesn't hint which package needs to be selected.
Steps
cargo run --bin other where the binary is in the workspace, but not in the default workspace member.
Possible Solution(s)
The error message could search other crates in the workspace and list which have a binary with the given name.
Notes
No response
Version
cargo 1.83.0-nightly (c1fa840a8 2024-08-29)
release: 1.83.0-nightly
commit-hash: c1fa840a85eca53818895901a53fae34247448b2
commit-date: 2024-08-29
host: aarch64-apple-darwin
libgit2: 1.8.1 (sys:0.19.0 vendored)
libcurl: 8.7.1 (sys:0.4.74+curl-8.9.0 system ssl:(SecureTransport) LibreSSL/3.3.6)
ssl: OpenSSL 1.1.1w  11 Sep 2023
os: Mac OS 15.0.0 [64-bit]

Could you provide full reproduction steps and example failure output?

cargo new crate1
cargo new crate2

Cargo.toml at the root

[workspace]
members = ["crate1", "crate2"]
default-members = ["crate1"]

and
cargo r --bin crate2

gives
error: no bin target named `crate2`

	Did you mean `crate1`?

Alternatively, without default-members, cargo r --bin gives:
error: "--bin" takes one argument.
Available binaries:
    crate1
    crate2

with default-members it considers just the members, which is technically correct:
error: "--bin" takes one argument.
Available binaries:
    crate1

but it could be more helpful if it also looked at other workspace members and suggested -p to select them with their binaries.

From a users perspective, it seems reasonable to improve.  My only question is how much it would take to get the right information into the right place.


Add zlib to get chainsail-controller-local to work

Adds zlib to LD_LIBRARY_PATH. This is the minimal change required to have a working Nix shell that runs chainsail-controller-local with this probability.py that I have handy.
I will be stacking future PRs on top of this one (for further nixification using poetry2nix). This will be the base PR.

Completely agree that setting LD_LIBRARY_PATH seems to be a hack. Hopefully, with a better understanding of Python packing in Nix, these can be removed completely. It looks like https://github.com/tweag/chainsail/pull/310 has more discussion.

I raised an issue to track the LD_LIBRARY_PATH hack: https://github.com/tweag/chainsail/issues/445.


Support https

Apple strongly encourages any network request to be made over https.
In order to avoid fiddling with API Client implementation code to support calling http://localhost in order to Pact test interactions, MockService should be able to run Pact tests by calling Mock Server over https.
Dependency: MockServer lib to be able to start with https
Suggestion
MockService(consumer: "api-consumer", provider: "api-provider", protocol: .secure)
protocol defaults to .standard

Resolved at https://github.com/surpher/pact-swift/commit/ac16eddf6cd40a8062505235d05b4adb6bcbdff1


(maint) Remove references to master section

Remove leftover references to the [master] setting section and replace them with [server].

jenkins please test this with servertests


Additional context for other file systems

Hello, team.  I was wondering if we might be able to add some additional context to this page relating to the other file systems and which repair tools work with those systems?  Also, we see in the examples that the file system is ext4 but then down below we see that the repair command switch to xfs_repair.   This could cause some confusion and might be helpful if we add some additional information.  Thanks!

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

ID: b333f2b9-cc17-f9c5-3752-47bfd1085ce7
Version Independent ID: 6c429142-399f-1d0a-6ad0-938201d6ff60
Content: Troubleshoot Linux VM starting issues due to file system errors - Virtual Machines
Content Source: support/azure/virtual-machines/linux-recovery-cannot-start-file-system-errors.md
Service: virtual-machines
GitHub Login: @genlin
Microsoft Alias: v-six

@mbiver Thanks for the comments. You are right. The sample of the error message is confusing since the steps only apply to XFS filesystems.  I will update the article.

@mbiver  The article was updated. I will process to close this issue. Feel free to reopen it if there is any additional questions.


fix(apiserver): add exit system statement when indexer setup failed

What this PR does / why we need it:
indexer is required, exit immediately if it fails, more details see issue: #1209
FYI: #1211
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (1970d09) 36.47% compared to head (3fc25f2) 36.47%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1270   +/-   ##
=======================================
  Coverage   36.47%   36.47%
=======================================
  Files          28       28
  Lines        2218     2218
=======================================
  Hits          809      809
  Misses       1306     1306
  Partials      103      103

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

@peng9808 can you have a look?

lgtm

lgtm


Coverr video issue

The video on the home page will only load if the page is refreshed. If you go to another page, then try to go back to the home page via the home page link the video will not show, but if you click the title link the page refreshes and the video will play.

So I just got rid of the 'home' link on the navigation, and the 'Veteran Support' button works for reloading the video and taking user to home page


WFLY-5728 IIOP: do not migrate expression attributes

This is pretty non-selective, ruling out any expressions. Aren't there lots of attributes where an expression should be no problem? My impression is there should only be a problem with expressions for enums with different legal values or for items that no longer support expressions in iiop-openjdk.

Updated: Properties with expressions are not rejected. For fields with expressions that are transformed during migration: if present, default value is transformed, user is informed that he has to transform the property value in his configuration.

@tadamski this needs an EAP PR as well


[Bug 🐞]: VM Deployment failure on node with ID 4000

What happened?
Terraform script to deploy a VM on node 4000 / 5453 results in error message:

What did you expect?
Deployed VM according to the specified parameters.
What browsers are you seeing the problem on?
No response
ZOS info
No response
Dashboard info
No response
weblets info
No response
Relevant log output
Nice variable "MNEMONICS" {
  type        = string
  description = "The mnemonic phrase used to generate the seed for the node."
}

variable "NETWORK" {
  type        = string
  default     = "main"
  description = "The network to connect the node to."
}

variable "SSH_KEY" {
  type = string
}

terraform {
  required_providers {
    grid = {
      source = "threefoldtech/grid"
    }
  }
}

provider "grid" {
    mnemonics = "${var.MNEMONICS}"
    network = "${var.NETWORK}"
}

resource "grid_network" "net1" {
    nodes = [5354]
    ip_range = "<IP_ADDRESS>/16"
    name = "internal"
    description = "Internal subnet"
    add_wg_access = true
}
resource "grid_deployment" "d1" {
  node = 5354
  network_name = grid_network.net1.name
  disks {
    name = "data"
    size = 500
  }
    vms {
    name = "Nextcloud_Commercial_1"
    description ="Nextcloud Commercial 1"
    flist = "https://hub.grid.tf/tf-official-vms/ubuntu-22.04-lts.flist"
    cpu = 4
    publicip = true
    publicip6 = false
    memory = 4096
    mounts {
        disk_name = "data"
        mount_point = "/data"
    }
    planetary = true
    env_vars = {
      SSH_KEY = "${var.SSH_KEY}"
    }
  }
}
output "wg_config" {
value = grid_network.net1.access_wg_config
}
output "node1_vm1_ip" {
value = grid_deployment.d1.vms[0].ip
}
output "public_ip" {
value = grid_deployment.d1.vms[0].computedip
}
output "public_ip6" {
value = grid_deployment.d1.vms[0].computedip6
}
output "ygg_ip" {
value = grid_deployment.d1.vms[0].ygg_ip
}

tfchain.grid.tf has 12 TFchain public nodes behind it spread across 4 servers (2 locations). Just checked all of them and all are in sync with correct time (ntp). Not sure where this is coming from.

@weynandkuijpers any progress after making sure your client has the correct time?


MAINT: Update n_threads to work with prim. unions

Blocked by https://github.com/qiime2/q2-alignment/pull/65

The changes proposed here break the existing signature(s) for the method(s) implicated.


[stable/graphite] graphite chart doesn't startup

Version of Helm and Kubernetes:
$ helm version
Client: &version.Version{SemVer:"v2.12.1", GitCommit:"02a47c7249b1fc6d8fd3b94e6b4babf9d818144e", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.12.1", GitCommit:"02a47c7249b1fc6d8fd3b94e6b4babf9d818144e", GitTreeState:"clean"}
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.1", GitCommit:"eec55b9ba98609a46fee712359c7b5b365bdd920", GitTreeState:"clean", BuildDate:"2018-12-13T10:39:04Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.1", GitCommit:"eec55b9ba98609a46fee712359c7b5b365bdd920", GitTreeState:"clean", BuildDate:"2018-12-13T10:31:33Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"linux/amd64"}

Which chart:
stable/graphite
What happened:
Pod fails to start
$ kubectl logs -l app=graphite -c create-syncdb
couldn't read file "/usr/local/bin/django_admin_init.exp": no such file or directory

What you expected to happen:
Pod starts
How to reproduce it (as minimally and precisely as possible):
(brand new install)
$ helm install stable/graphite --name graphite
Anything else we need to know:
https://github.com/graphite-project/docker-graphite-statsd/commit/af87acd503315a2fca4ba54a267389c227cc958b talks about bringing back the expect script, but it looks like its /opt/graphite/bin/django_admin_init.exp now

@AaronFriel i saw that your most recent PR removed this. I was about to make a PR, was the change intentional? should I make a PR to add it back?

ah its included in the image, sweet, closing!


measureText problems with web fonts

Because web fonts are loaded asynchronously with the rest of the page, using them with labels introduces a potential race condition when we measure the size of the letters in order to make textures.
Both writeTextToCanvas and measureText internally create canvases, and set up the font information.  If the font is a web font, I have already seen a case where this leads to an infinite loop inside measureText, which I assume results from the web font being loaded in between the canvas creations, resulting in different metrics which violate some of the assumptions in the algorithm.
Fixing this is going to be a major pain.  Detecting if a web font has loaded or not seems to be a huge missing feature in web browsers, but I've found some libraries and sample code that might let us get it working.
http://www.lalit.org/lab/javascript-css-font-detect/ looks the most promising.  The general idea is to use CSS fallback fonts and the assumption that the user's web font (whatever that is) will have a different width than the fallbacks, of course it fudges the widths more by making the font size really big and using the whole alphabet, etc.
The other thing to figure out is whether writeTextToCanvas needs to become asynchronous or not; it probably does since it can take an unknown amount of time to measure text correctly.

I encountered an infinite loop in Cesium caused by measureText when a label had a character comprised of two 16-bit character codes. You can reproduce by dropping the following into Sandcastle:
var viewer = new Cesium.Viewer('cesiumContainer');
viewer.entities.add({
    position : Cesium.Cartesian3.fromDegrees(0, 0),
    label : {
        text : String.fromCharCode(196, 129)
    }
});

Hit run, browser hangs. Recommend using Chrome so you can kill the tab easily.

@pjcozzi @shunter This is a pretty old issue so I'm not sure it will get visibility. This can easily reproduce an infinite loop when displaying unicode strings in labels. I encountered it loading a KML with non-English characters.

Thanks for reporting this @schmidtk.  I can easily reproduce it with the code example you posted.
It looks like it's getting stuck in this loop https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/ThirdParty/measureText.js#L173-L175
@shunter is this problem related to this issue or should I open a new issue to look into this?

I'm starting to wonder if the KML incorrectly parsed the character as \xc4\x81 instead of \uc481. The latter would have treated it as a single character and probably wouldn't trigger the infinite loop. Unfortunately I'm out of the office until Monday so I don't have the KML available. I added a temporary workaround in my application to strip non-printable characters from labels, so it's not a pressing issue for me. Mostly wanted to report it since it freezes the browser. :)

Unrelated to the original issue.  The loop in the code seems clearly wrong when the glyph renders blank, which is supposed to be checked by the whitespace regex at the top.
@schmidtk  What character are you expecting to be using here?
String.fromCharCode(196, 129) is Ä but that's only from 196 (0xC4).  129 (0x81) is not defined.  Is the character supposed to be \uC481 which is 쒁?
Fixing labels to work properly with unicode is likely to be a significant re-write, I suspect.  see also #2543

I'll have to take a look at the KML again when I get back to the office on Monday. I didn't have the time to thoroughly debug and used the workaround to strip blank characters from the text instead. It may be expecting an Arabic font (the label was for Baghdad), which is why I thought it may be semi-related to this issue.


Fix failing test and add rubocop

Hi @JacobEvelyn it's me, the first-time open-source contributor :)
This is my first ever pull request of this nature, so I hope you don't mind me going through my changes in detail. Happy to discuss further if you want to 👍

First commit: Once I cloned the repo, I tried to run tests with rake tests but one test kept failing with the message: NameError: uninitialized constant Friends::POST_INSTALL_MESSAGE so I required the relevant module in the relevant test and then the failing test passed
Second commit: I then tried to run bundle exec rubocop . but I got the error: bundler: command not found: rubocop. I looked in the gemspec and couldn't see rubocop anywhere, so I added it
Third commit: I tried to run bundle exec rubocop . again and I got a different error: Error: RuboCop found unsupported Ruby version 2.2 in TargetRubyVersion parameter (in .rubocop.yml). 2.2-compatible analysis was dropped after version 0.69. Supported versions: 2.3, 2.4, 2.5, 2.6, 2.7 - so I changed the targeted ruby version in .rubocop.yml from 2.2 to 2.3
Fourth commit: I then ran bundle exec rubocop . and it it picked up errors, so to fix them, I ran bundle exec rubocop . -a

I hope that makes sense. Completely understand I may be making lots of mistakes here as this is my first time working with a project I'm unfamilar with. Let me know what you think :)
PS I'll start on the issue you assigned my once we've discussed this request

Hi there! Thanks so much for submitting a pull request!
Let's just make sure together that all of these boxes are checked before we
merge this change:

[ ] The code in these changes works correctly.
[ ] Code has tests as appropriate.
[ ] Code has been reviewed by @JacobEvelyn.
[ ] All tests pass on Travis CI.
[ ] Code coverage remains high.
[ ] Rubocop reports no issues on Travis CI.
[ ] The README.md file is updated as appropriate.

Don't worry—this list will get checked off in no time!

Hey @shen-sat ! Thank you so much for such a thoughtful and thorough PR! For an open-source newbie, this is an impressive first contribution and I really appreciate the time you took to explain everything so clearly.
It looks like a lot of your pain was caused by my having outdated instructions in CONTRIBUTING.md. So sorry about that!
For example, you're right that rake test leads to that one test failing. However, bundle exec rake test, which is what our Travis CI test setup runs, has all tests passing. I think my vote there would be to just change the CONTRIBUTING.md file, unless you know of a reason why changing the code is better (I don't know a ton about require behavior so there very well could be a reason!).
Similarly, I removed rubocop from being a development dependency in the friends.gemspec because people kept running into issues using it locally, especially since the latest version doesn't support older versions of Ruby that friends does. (I know that our TargetRubyVersion: 2.2 is newer than the 2.1 version we support in the gemspec; if I remember correctly that's because TargetRubyVersion: 2.1 hasn't been supported in a long time and we're not actually using any 2.2+ features, as tested by the 2.1 tests passing in Travis.) So the last time I touched this I thought the easiest thing was to just have Travis CI install the latest version that works and run that once. It could get slightly annoying to add rubocop to the gemspec and pin it at v0.67 because Dependabot will then keep making PRs to try to update it, but that's not a big deal. So I'd vote for either:

Update CONTRIBUTING.md to tell contributors to just look at the RuboCop output in Travis, or
Add it to the gemspec, but pin it at version 0.67 so that it doesn't hate the Ruby 2.1-compatible code.

That's ^ a lot—let me know if any of that could use more explanation!
One more thing: in the Travis tests for your PR, I noticed that the Ruby 2.6 tests seem to be failing with simplecov errors. I'm happy to look into that, but also happy to let you investigate if you'd like!

Hey @JacobEvelyn thank you so much for the comments! And no worries about the CONTRIBUTING.md, I'll be happy to update it 👍
I'm intrigued as to why that one test fails when running rake test but not with bundle exec rake test, so I 've been looking a bit into that this evening, just for my own learning. But I agree with you, a simple edit to the CONTRIBUTING.md makes sense.
With regards to rubocop, that's a tricky one! I've not used Travis CI before (I've use other CI tools though) - I'll look into it a bit more when I have time on the weekend, and make a separate pull request if that's ok? I think again you're right, an edit to the CONTRIBUTING.md will be the easier fix! I'll look into the simplecov issue too - leave it with me :)
So happy to get the ball rolling with this 🙌

Hey @JacobEvelyn, I've had a look into rubocop and dependabot - if we pin rubocop to version 0.67 and tell dependabot that we want to ignore it after its initial pull request attempt (which I've done here using a test project) then we won't receive anymore pull requests. We could also add an ignore command in a config file for dependabot to make sure it doesn't even send the initial pull request (which I'm happy to create 😄).
I'm leaning towards putting rubocop in as a project dependency rather than checking in Travis CI for rubocop errors because I (and hopefully future devs!) can increase our development speed if we can check rubocop locally rather than in Travis. What do you think?

Thanks for digging, @shen-sat ! I'm happy to add it as a dev dependency and put instructions in CONTRIBUTING.md, but I definitely also want to keep it in Travis. (I moved RuboCop from a dev dependency and CONTRIBUTING.md step to Travis a year or so ago when I found that it was too easy for folks to not run RuboCop and make PRs that didn't actually follow the RuboCop style.)
How does that sound?

No problemo @JacobEvelyn - it was fun learning about dependabot :) Completely understand and agree with your reasons for leaving rubocop in Travis 👍🏾 I'll make a pull request today with the rubocop dependency and a dependabot config file to ignore it. If you still end up getting pull requests to update rubocop from dependabot, please let me know and I'll look into into it 💪🏾

@shen-sat does it make sense to close this? I want to make sure I'm not missing something given all of the overlapping conversations we're having 😬

@shen-sat I think this is no longer needed. Please re-open if I missed something!


[Feature requests] default operator

Rxjs version 6
Code to reproduce
interval<string>(1000).pipe(
  tap(value => throw Error(""),
  default(() => "Hello from an error")
).subscribe(value => console.log(value));

Expected behavior
Logging of "Hello from an error" string every second
Actual behavior
As far I can tell, you can do this with catchError. Still, it would be nice to have an operator that does not actually handle the error, but just provides a default value if an error gets throw.
Additional information

With pipe operator, we do strongly recommend to create operator in user land first before consider it to be added into core api set. Also as you suggested this is some variant of existing catch operator, so either can use existing or easily can be created as user land operator.


Url from _config not appearing in my feed

Hello,
Unfortunately, the output for my feed keeps outputting "localhost:4000" as seen here: https://jenntesolin.com/atom.xml.
I tried playing around with "url" and "baseurl", but so far, no luck. Attached is my current config file - am I missing something?

Run jekyll build instead. jekyll serve overrides url values with http://localhost:4000 when running a development server locally.

Wow. Thanks. Will need to fix my build script.


Quick Start Example Cloud Messaging onMessageReceived never called

Step 1: Are you in the right place?

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

If you are filing an issue about FCM in the background make sure to read #4 and #89 first!

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

Step 2: Describe your environment

Android device: Emulator Nexux
Android OS version: Oreo 8
Google Play Services version: 4.0.2
Firebase/Play Services SDK version: 16.0.1

Step 3: Describe the problem:
I am using QUICK Start MESSAGING example everything is working as excepted but custom sendNotification function is not firing and it is not showing anything.
https://github.com/firebase/quickstart-android/blob/master/messaging/app/src/main/java/com/google/firebase/quickstart/fcm/MyFirebaseMessagingService.java
Steps to reproduce:
Just use the quick start example
Observed Results:

What happened?  This could be a description, logcat output, etc.

Expected Results:
It should log the output as mentioned in the quick start example
Relevant Code:
public void onMessageReceived(RemoteMessage remoteMessage) {
      // [START_EXCLUDE]
      // There are two types of messages data messages and notification messages. Data messages are handled
      // here in onMessageReceived whether the app is in the foreground or background. Data messages are the type
      // traditionally used with GCM. Notification messages are only received here in onMessageReceived when the app
      // is in the foreground. When the app is in the background an automatically generated notification is displayed.
      // When the user taps on the notification they are returned to the app. Messages containing both notification
      // and data payloads are treated as notification messages. The Firebase console always sends notification
      // messages. For more see: https://firebase.google.com/docs/cloud-messaging/concept-options
      // [END_EXCLUDE]

      // TODO(developer): Handle FCM messages here.
      // Not getting messages here? See why this may be: https://goo.gl/39bRNJ
      Log.d(TAG, "From: " + remoteMessage.getFrom());

      // Check if message contains a data payload.
      if (remoteMessage.getData().size() > 0) {
          Log.d(TAG, "Message data payload: " + remoteMessage.getData());

          if (/* Check if data needs to be processed by long running job */ true) {
              // For long-running tasks (10 seconds or more) use Firebase Job Dispatcher.
              scheduleJob();
          } else {
              // Handle message within 10 seconds
              handleNow();
          }

      }

      // Check if message contains a notification payload.
      if (remoteMessage.getNotification() != null) {
          Log.d(TAG, "Message Notification Body: " + remoteMessage.getNotification().getBody());
          sendNotification("CUSTOM NOTIFICATION");
      }

      // Also if you intend on generating your own notifications as a result of a received FCM
      // message, here is where that should be initiated. See sendNotification method below.
  }

I also faced the same problem with firebase latest dependencies.
Any solution?

@mrkhanakia the custom sendNotification method is not called in the quickstart, it is only for demonstration purposes.
In the title you mention that onMessageReceived is not being called. Could you confirm this and also include how you are sending the message?

Yes i know sendNotification method is not called but please check above code i gave i called the method manually already under OnMessageReceived method
.... above code

 // Check if message contains a notification payload.
      if (remoteMessage.getNotification() != null) {
          Log.d(TAG, "Message Notification Body: " + remoteMessage.getNotification().getBody());
          sendNotification("CUSTOM NOTIFICATION");
      }

.......

Actually I was following the documentation. It states that a when a notification event is received while the app is in the foreground, onMessageReceived should be invoked, but it is never invoked.
Everything else works as expected but this important aspect of the quick start doesn't work. Could you please take a look at this.

I had to do the following in order for the MyFirebaseMessagingService to be invoked properly when I was using the Java Main Activity.
`

    <!--<service android:name=".kotlin.MyFirebaseMessagingService">-->
        <!--<intent-filter>-->
            <!--<action android:name="com.google.firebase.MESSAGING_EVENT" />-->
        <!--</intent-filter>-->
    <!--</service>-->

    <!-- [START firebase_service] -->
    <service android:name=".java.MyFirebaseMessagingService">
        <intent-filter>
            <action android:name="com.google.firebase.MESSAGING_EVENT" />
        </intent-filter>
    </service>
    <!-- [END firebase_service] -->
    <service
        android:name=".java.MyJobService"
        android:exported="false">
        <intent-filter>
            <action android:name="com.firebase.jobdispatcher.ACTION_EXECUTE" />
        </intent-filter>
    </service>

`

@ahctangU thanks for that!  I clarified this issue in this commit:
https://github.com/firebase/quickstart-android/commit/af0ce4d301dcaa877ac33b654ef62e473989c963

Looks like only one for the MyFirebaseMessagingService can be started for an incoming message. If both kotlin and java services are defined it is not predictable which one will be used for the incoming message. In my testing the first one defined in the AndroidManifest is the one that is used.
I'll update the README to ensure that to be sure the correct MyFirebaseMessagingService is used comment the appropriate service definition.

Actually finished in #811 (the commit I referenced before had a small mistake)


Missing conda packages for dependencies under osx-arm64

Attempting to install the development environment as per the CONTRIBUTING file (cross reference #40), I ran into a problem:
PackagesNotFoundError: The following packages are not available from current channels:

  - mummer==3.23=h6de7cb9_11
  - gsl==2.7=h93259b0_0
  - fastani
  - blast-legacy
  - blast

Current channels:

  - https://conda.anaconda.org/conda-forge
  - https://conda.anaconda.org/bioconda

This was under macOS with an M3 ARM CPU (Platform: osx-arm64).
As per https://github.com/bioconda/bioconda-recipes/issues/33333#issuecomment-2221176852 last month, BioConda packages can be updated to cover this platform. I fear mummer and gsl will be problematic given these are pinned to specific (older) builds though. Also BLAST has quite a few dependencies which are not yet all updated.

Ah yes - @kiepczi found this problem on her Mac Studio. We should provide instructions to get around this, as your suspicion around MUMmer seems to be correct.
Everything does run under Rosetta, but you now may need to explicitly install this, as it wasn't there by default on her machine. She also specified the use of x86 for her conda environment.
This issue also limits our use of the most recent macOS platform in GitHub Actions, which is arm64. So it would be nice to have the necessary groundwork in scripted form.

There may be issues with the "successfully" installed packages too, python -m pytest -v is failing multiple tests with:
OSError: [Errno 86] Bad CPU type in executable: '/Users/peterjc/miniforge3/envs/pyani-plus_py312/lib/python3.12/site-packages/pulp/solverdir/cbc/osx/64/cbc'
The error appears to be correct:
$ file /Users/peterjc/miniforge3/envs/pyani-plus_py312/lib/python3.12/site-packages/pulp/solverdir/cbc/osx/64/cbc
/Users/peterjc/miniforge3/envs/pyani-plus_py312/lib/python3.12/site-packages/pulp/solverdir/cbc/osx/64/cbc: Mach-O 64-bit executable x86_64

$ file `which cbc`
/Users/peterjc/miniforge3/envs/pyani-plus_py312/bin/cbc: Mach-O 64-bit executable arm64

$ conda list | grep pulp
pulp                      2.8.0           py312h81bd7bf_0    conda-forge

There do seem to be platform specific packages on https://anaconda.org/conda-forge/pulp/files so perhaps the cross compilation failed?
See https://github.com/conda-forge/pulp-feedstock/blob/main/recipe/meta.yaml

Sounds like you need the same fixes that @kiepczi did :(

https://support.apple.com/en-us/102527
https://stackoverflow.com/questions/65415996/how-to-specify-the-architecture-or-platform-for-a-new-conda-environment-apple

were useful IIRC.

Installing Rosetta does sound like a pragmatic short-term workaround, but I think the pieces are all there in principle to get the dependencies updated in conda-forge and bioconda. Indeed I would expect many of the BioConda packages to be updated by the community anyway in the next few months...

We've been waiting for the mummer=3.23=h6de7cb9_11 not to be required for a long time. It would definitely be pragmatic to put a fix in place… (and maybe look at mummer4)
https://github.com/bioconda/bioconda-recipes/issues/28209

The mummer issue is resolved 🥳
I did some more digging on the snakemake/pulp issue - see https://github.com/snakemake/snakemake/issues/3007 and linked issues on the conda package and the upstream repository. They added Linux ARM support recently so fingers crossed for macOS ARM support to follow.

We now also have osx-arm64 for fastani in bioconda: https://github.com/bioconda/bioconda-recipes/pull/49911

As noted on the PR discussion, I'd be happy to drop blast-legacy going forward. Its main use was ensuring consistency with other tools that have themselves moved on.