[ansible/zookeeper] ConnectionLoss for /mesos

Hi,
First time  I run ansible (after fresh terraform provisioning in aws), it works.
Second time (third and so on), it gives the error below.
It was an extremely frequent error with local vagrant deploys too.
Right now I keep ramping new clusters every time.
What is happening? Is there a solution?
Thanks
Nicu Marasoiu
TASK: [mesos | create zookeeper acl] ******************************************
failed: [mi-control-01] => {"changed": true, "cmd": ["docker", "run", "--rm", "-e", "ZK_AUTH=super:+Nt5e/wmF5gt4tN04SB/syZnqam10nNjoTHL1m+d4bt5", "-e", "ZNODE=/mesos", "-e", "ZNODE_ACL=world:anyone:r,digest:mesos:J+OaGBhZLLsFv0iG/Dpj4HWXTyI=:cdraw", "-e", "ZK_SERVER=zookeeper.service.consul:2181", "--entrypoint", "/usr/local/bin/setacl.sh", "ciscocloud/zookeeper:0.2"], "delta": "0:00:02.475471", "end": "2015-06-02 12:08:04.286288", "rc": 1, "start": "2015-06-02 12:08:01.810817", "warnings": []}
stderr: Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /mesos
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)
at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:695)
at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:588)
at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:360)
at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:323)
at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:282)
stdout: Connecting to zookeeper.service.consul:2181
2015-06-02 12:08:03,244 [myid:] - INFO  [main:Environment@100] - Client environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT
2015-06-02 12:08:03,251 [myid:] - INFO  [main:Environment@100] - Client environment:host.name=8d3f5b8e34d6
2015-06-02 12:08:03,251 [myid:] - INFO  [main:Environment@100] - Client environment:java.version=1.7.0_75
2015-06-02 12:08:03,256 [myid:] - INFO  [main:Environment@100] - Client environment:java.vendor=Oracle Corporation
2015-06-02 12:08:03,256 [myid:] - INFO  [main:Environment@100] - Client environment:java.home=/usr/lib/jvm/java-1.7-openjdk/jre
2015-06-02 12:08:03,256 [myid:] - INFO  [main:Environment@100] - Client environment:java.class.path=/opt/zookeeper/bin/../build/classes:/opt/zookeeper/bin/../build/lib/.jar:/opt/zookeeper/bin/../lib/slf4j-log4j12-1.6.1.jar:/opt/zookeeper/bin/../lib/slf4j-api-1.6.1.jar:/opt/zookeeper/bin/../lib/netty-3.7.0.Final.jar:/opt/zookeeper/bin/../lib/log4j-1.2.16.jar:/opt/zookeeper/bin/../lib/jline-0.9.94.jar:/opt/zookeeper/bin/../zookeeper-3.4.6.jar:/opt/zookeeper/bin/../src/java/lib/.jar:/opt/zookeeper/bin/../conf:
2015-06-02 12:08:03,256 [myid:] - INFO  [main:Environment@100] - Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2015-06-02 12:08:03,257 [myid:] - INFO  [main:Environment@100] - Client environment:java.io.tmpdir=/tmp
2015-06-02 12:08:03,257 [myid:] - INFO  [main:Environment@100] - Client environment:java.compiler=
2015-06-02 12:08:03,257 [myid:] - INFO  [main:Environment@100] - Client environment:os.name=Linux
2015-06-02 12:08:03,257 [myid:] - INFO  [main:Environment@100] - Client environment:os.arch=amd64
2015-06-02 12:08:03,257 [myid:] - INFO  [main:Environment@100] - Client environment:os.version=3.10.0-123.8.1.el7.x86_64
2015-06-02 12:08:03,257 [myid:] - INFO  [main:Environment@100] - Client environment:user.name=root
2015-06-02 12:08:03,257 [myid:] - INFO  [main:Environment@100] - Client environment:user.home=/root
2015-06-02 12:08:03,257 [myid:] - INFO  [main:Environment@100] - Client environment:user.dir=/opt/zookeeper
2015-06-02 12:08:03,258 [myid:] - INFO  [main:ZooKeeper@438] - Initiating client connection, connectString=zookeeper.service.consul:2181 sessionTimeout=30000 watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@4af45223
Welcome to ZooKeeper!
JLine support is enabled
2015-06-02 12:08:03,312 [myid:] - INFO  [main-SendThread(mi-control-02:2181):ClientCnxn$SendThread@975] - Opening socket connection to server mi-control-02/<IP_ADDRESS>:2181. Will not attempt to authenticate using SASL (unknown error)
2015-06-02 12:08:03,343 [myid:] - WARN  [main-SendThread(mi-control-02:2181):ClientCnxn$SendThread@1102] - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
[zk: zookeeper.service.consul:2181(CONNECTING) 0] addauth digest super:+Nt5e/wmF5gt4tN04SB/syZnqam10nNjoTHL1m+d4bt5
[zk: zookeeper.service.consul:2181(CONNECTING) 1]
[zk: zookeeper.service.consul:2181(CONNECTING) 1] create /mesos ""
2015-06-02 12:08:03,457 [myid:] - INFO  [main-SendThread(mi-control-01:2181):ClientCnxn$SendThread@975] - Opening socket connection to server mi-control-01/<IP_ADDRESS>:2181. Will not attempt to authenticate using SASL (unknown error)
2015-06-02 12:08:03,458 [myid:] - WARN  [main-SendThread(mi-control-01:2181):ClientCnxn$SendThread@1102] - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
FATAL: all hosts have already failed -- aborting

Reproduces consistently on second, third ansible application with terraform.yml,
my latest master commit I am is:
commit eca1776df6e4a55128c6cc0c5bfb7368b54c3cdf
Author: Brian Hicks<EMAIL_ADDRESS>Date:   Mon Jun 1 09:38:29 2015 -0500
roles: add bootstrap tag to all network dependencies

so, scenario:

rm terraform.tfstate*; terraform get; terraform plan; terraform apply
ansible-playbook -i plugins/inventory/terraform.py -e @security.yml terraform.yml
Result: OK, all up, I can deploy stuff on the cluster and works.

ansible-playbook -i plugins/inventory/terraform.py -e @security.yml terraform.yml
Result: error zookeeper above

Thanks for the bug report. We'll try to duplicate this issue and see what is going on.

@nmarasoiu are you still seeing this issue with 0.3.0?

(no, luks ok, run twice)


When will this be open source?

Hello, I read the paper, and would like to evaluate this model. Just curious, when will it be open source?

+1

+1


Fix common typo: grcp -> grpc

Description: Fix common typo: grcp -> grpc
Risk Level: Low
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

Thank you! You will need to fix DCO.
/wait

Thanks for the prompt review. DCO fixed!


Cannot pass BasicAuth in URLs

Description
When trying to connect a service, jellyseerr no longer accepts basic auth credentials as part of the URL string.
Version
2.0.1
Steps to Reproduce
Try to connect any service eg Sonarr to Jellyseerr. Pass basic auth as part of the string and observe the below log-line after failing to connect.
Screenshots
No response
Logs
[error][Radarr]: [Radarr] Failed to retrieve profiles: Request cannot be constructed from a URL that includes credentials: https://username:Password@urlhere/radarr/api/v3/qualityProfile?apikey=apiKeyHere

Platform
desktop
Device
Server
Operating System
Ubuntu
Browser
Firefox
Additional Context
As per @Fallenbagel on discord. "2.0.0 introduced fetch and url constructor doesn't like basic auth in url."
Code of Conduct

[X] I agree to follow Jellyseerr's Code of Conduct

@danwilldev could you test :preview-fix-basic-auth to see if it works now?
The tag should be available in about half an hour

@Fallenbagel I have tested on my machine and can now connect services with basic auth. Thanks for the fix guys :D

:tada: This issue has been resolved in version 2.1.0 :tada:
The release is available on:

v2.1.0
GitHub release

Your semantic-release bot :package::rocket:


Investigate Unknown Publisher notice in installer

The installer provides an unknown publisher message.
keep anyway May work
Investigate what may be done to define ETI as publisher.

Initial investigation shows that it's about $500/year to maintain a certificate.  We would need the certificate when we make a release.  The certificate would not need to be maintained if there are no releases being made.  Search for "EV Code Signing Certificates" for more information.

Defer for next contract


Simplify Errors

proposl:
before:
errors:
  PostNotFoundError:
    http:
      statusCode: 404
    type:
      properties:
        id: PostId

after:
errors:
  PostNotFoundError:
    statusCode: 404
    properties:
      id: PostId

Let's not do this, so we can support other APIs that have non-object errors


Computing resource balancing

Draft PR for IT

coverage: 47.712% (+0.002%) from 47.71% when pulling 147a9eee96f8d17bae7ee7cc2e66e88544fae607 on Computing-resource-balancing into 9090c5d35f7ce51c2c919ce37de77019272231ef on master.


Python 2.7 sometimes yields IOError: [Errno 0] Error on Windows

OS version and name: Windows 10 64-bit
Hyper.app version: 1.4.8 (stable)
The issue is reproducible in vanilla Hyper.app: Yes

Issue
Printing to the console with Python 2 sometimes results in an IOError: [Errno 0] on Windows. This issue seems to appear only on Windows when opening a file for both reading and writing, quote:

When the "r+", "w+", or "a+" access type is specified, both reading and writing are allowed (the file is said to be open for "update"). However, when you switch between reading and writing, there must be an intervening fflush, fsetpos, fseek, or rewind operation. The current position can be specified for the fsetpos or fseek operation, if desired.

Relevant StackOverflow answer here.
Running this script almost certainly causes the error at some point:
# py -2.7 test.py
for i in range(5000):
  print('foo')

Output:
[...]
foo
foo
fTraceback (most recent call last):
  File "test.py", line 5, in <module>
    print('foo')
IOError: [Errno 0] Error

I am using Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [MSC v.1500 64 bit (AMD64)] on win32. I can not reproduce this with any other terminal (tested Windows default terminal & ConEmu).
It appears as if the standard output was broken or handled incorrectly when running Python from inside a Hyper terminal. To me it seems this must have a root cause unrelated to Python. When that cause is found, feel free to rename the title of this issue.

Can you try to reproduce with our canary release (upcoming v2): https://zeit.co/blog/canary#hyper?
It should be fixed.

Hey there, please try again with the new Hyper v2 release and open a new issue if the problem stills exists. Thank you!

I'm able to confirm that this issue still appears in v2.0.0.

If it helps, we've found that if my_command throws the error then winpty my_command fixes it (where my_command is whatever you're running).

@danielsamuels would you say that it's a duplicate of https://github.com/zeit/hyper/issues/2888 then?

No, because my session is considered to be a TTY:
16:17 $ if [ -t 1 ] ; then echo terminal; else echo "not a terminal"; fi
terminal

I can reproduce consistently on Hyper: 2.0.0 (stable), Plugins: none, OS: Windows 10, Python: 2.7.
The issue is triggered by the frequency of writes. The same test code with a sleep(0.08) inside the loop works for me. At first I thought this was a weird issue with my code, but I've eventually realized it's a problem in Hyper and one that is actually quite critical and forces me not to use it from time to time.
The exact same code works on cmd.
Screenshot of the code running on a hyper console:

Screenshot of the same code running on Windows' cmd console:

Maybe it would be helpful or direct you in right way.
I had similar problem with Python 2.7 which i tried to debug in VS Code.
Problem was in using Integrated terminal.
VS Code uses it by default.
I disabled it in launch configuration file.
I has parameter configurations/console which can be "none", "integratedTerminal" and "externalTerminal". Using "none" or "externalTerminal"solves the problem.

I also use VS Code with none as console, but in this case, that seems unrelated.

@gonzalocasas I found this solution after reading this issue - https://github.com/Microsoft/vscode/issues/36630
Maybe it will help you.

Today, the Windows 10, version 1803 update rolled out, and the issue went away, so, I think this could be closed, since the problem really seems to be on the Windows level (as described in the issue linked by @Pomoinytskyi )

Same issue appears in Pycharm Integrated terminal while using python 2.7.14
PyCharm 2018.1 (Community Edition) Build #PC-181.4203.547, built on March 26, 2018 JRE: 1.8.0_152-release-1136-b20 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0
the only solution for now is: not to use integrated terminal

I also can no longer reproduce this issue (same Hyper version, same Python version).


Azure deployment instructions are not up to date

Description
Azure deployment instruction at https://jss.sitecore.com/docs/techniques/azure-deployment mentions do not work for deploying JSS on top of Sitecore 9.1
Steps To Reproduce

Deploy Sitecore 9.1
Deploy JSS using instructions from the link above

Exception occurs:
New-AzureRmResourceGroupDeployment : 1:12:00 PM - Error: Code=InvalidTemplate; Message=Deployment template validation failed: 'The template parameters 'licenseXml' in the parameters file are not valid;
they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'standard, extension, templateLinkBase,
deploymentId, location, sqlServerFqdn, sqlServerLogin, sqlServerPassword, coreSqlDatabaseName, masterSqlDatabaseName, singleWebAppName, jssMsDeployPackageUrl'. Please see
https://aka.ms/arm-deploy/#parameter-file for usage details.'.

Any updates? i'm facing the same issue. Are there any workarounds found? Thanks

Azure deployment guide has been updated. There should be no issues with deploying the latest Sitecore JavaScript Services 12.0.0 or 11.1.0 to Azure.

@sc-dawidrutkowski we are still getting the same error deploying Sitecore JavaScript Services 11.1.0 to Azure on top of existing Sitecore 9.1.1 installation. Using Sitecore Azure Toolkit 2.2.0 rev. 190305. Could you please advise?

@epetrashen I would recommend submitting a ticket to Sitecore PSS on this.


Feature Request l ESM .js extension

Add a feature flag that enables ESM relative imports with file extensions ending in ".js"
Before:
import { A } from "./B";

After (e.g. esm feature flag):
import { A } from "./B.js";

The implementation of this should be simple.

You know, I've been thinking back on this particular feature... Does it actually do anything?
I mean, ts-rs exports only type declarations, so these imports (or even the whole file) should be removed by tsc when compiling to JS right?

Maybe we should have done this instead:
import type { A } from "./B";


Update iterm2-beta to 3.1.6beta5

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Duplicate of https://github.com/caskroom/homebrew-versions/pull/5446
Thanks for the PR nonetheless!


Crash fix on some android 10 devices

Some android 10 devices crash after all the permissions are allowed using this plugin.
To fix this issue you need to use permissions.ACTIVITY_RECOGNITION before you run the code for this plugin.
Follow these steps:
1- install this plugin:
cordova-plugin-android-permissions
2- use this code:
let permissions = cordova.plugins.permissions;
permissions.requestPermission(permissions.ACTIVITY_RECOGNITION, function (status) {

**Your code from this plugin goes here**

},function (error) { console.log('[Error]', error) });

And thats it.

Seems odd as this looks like a PR from downstream branch to upstream that was not made by the contributors team.
I'm wondering if this is not a bug in github :-)
I'll be closing this, as the project is maintained downstream in HaylLtd company.


No "AzureStack" endpoint available

The "Add Azure Resource Manager service connection" does not seem to offer "AzureStack" as an environment anymore. I am pretty sure to remember that I have seen it there once. Did the process change?

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

ID: a0e54ed0-e139-1569-adc8-1833de468eb9
Version Independent ID: 0b03d258-e1ee-e59b-997f-e9096c6f53e2
Content: Deploy apps to Azure and Azure Stack
Content Source: azure-stack/user/azure-stack-solution-pipeline.md
Service: azure-stack
GitHub Login: @BryanLa
Microsoft Alias: bryanla

@robinmanuelthiel Thanks for the feedback. We are actively investigating and will get back to you soon.

@robinmanuelthiel I am not sure what the process used to be, but this doc has been changed several times In the past few months. I would follow the outlined process to see if you have any issues.

@robinmanuelthiel We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


CFP: Add optional labelsContext  to forward_count_total and forward_bytes_total metrics

Cilium Feature Proposal
Is your proposed feature related to a problem?
There have been requests to make it possible to measure flow bandwidth with Cilium/Hubble (https://github.com/cilium/cilium/issues/12913, https://github.com/cilium/cilium/issues/16188); however, this is still currently not possible.
Describe the feature you'd like
As far as I understand, Cilium already has information on packet counts and packet sizes, as indicated by the forward_count and forward_bytes metrics. Cilium also has information on Kubernetes metadata associated with a flow. Why not make it possible to annotate forward_bytes and forward_count metrics with this metadata (Kubernetes labels such as pod name at a minimum, L3 connection tuple parameters and Kubernetes labels as a goal)
(Optional) Describe your proposed solution
Please complete this section if you have ideas / suggestions on how to implement the feature. We strongly recommend discussing your approach with Cilium committers before spending lots of time implementing a change.
For longer proposals, you are welcome to link to an external doc (e.g. a Google doc). We have a Cilium Feature Proposal template to help you structure your proposal - if you would like to use it, please make a copy and ensure it's publicly visible, and then add the link here.
Once the CFP is close to being finalized, please add it as a PR to the design-cfps repo for final approval.

I was told in https://cilium.slack.com/archives/C1MATJ5U5/p1714051757203969 that the foward_count and forward_bytes metrics are not based on Hubble flow objects and are just based on device Tx/Rx counts.
Even if so, shouldn't it be relatively simple to create a new metric that allows measuring throughput based on Hubble flows? Flow objects themselves can be used as a measure of packet counts, and byte counts can be put into flow objects using the Extensions field.

We need this for traffic accounting / billing per pod as well. But we would need to get the external traffic only (between pod and world).
So there is actually no way to measure traffic per pod at the moment with cilium/hubble?

Hey @Nils98Ar! I believe there is not; we had a very similar feature need. Happy to share experiences regarding this on Slack – I'm available in the Cilium workspace (cilium.slack.com).

I'd like to add a bit of clarity to this issue since it's come up recently in discussion in relation to the issues linked in the description. Doing this in Hubble is difficult for reasons outlined in https://github.com/cilium/cilium/issues/16188 (primarily that the current event/flow based approach that Hubble uses isn't very compatible with bandwidth tracking as it would require frequently emitting events to get updated bandwidth utilization counts, which would introduce a non-negligible amount of processing overhead into Cilium/Hubble).
Implementing this in the cilium metrics sub-system is difficult for a different reason, that reason being that this metric is implemented is a BPF map cilium_metrics: https://github.com/cilium/cilium/blob/2387d597752132e1f2fc351f11bc04c2d76ea6e9/pkg/maps/metricsmap/metricsmap.go#L43C23-L50.
The way this metric is accounted for in the Datapath is by incrementing counters in a map where the key is defined from https://github.com/cilium/cilium/blob/2387d597752132e1f2fc351f11bc04c2d76ea6e9/pkg/maps/metricsmap/metricsmap.go#L85-L93 which basically means the map only knows the direction and reason a packet was forwarded (or dropped). When prometheus scrapes the agent for metrics, it pretty much just reads the value from the map and returns it. This makes it significantly more efficient than the event/flow based approach which Hubble uses.
However, with the design of the current cilium metrics map, this means there's no way to attach any pod, or even source/destination information to this metric today. Supporting it would require that cilium's metrics map is updated in a way that it tracks and associates the source and destination endpoints with the metrics being accumulated, and then in userspace, when the metrics collector runs, it would be possible for it to do a lookup to determine which endpoint the map values correspond to and then translate that into the pod(s) and associate that with the metric being exported.
For what it's worth, we have many BPF maps in Cilium, and other sub-systems do track similar information already, so there's prior art for how this could be done, but it likely will require some fairly substantial changes to support this feature.
If you're interested, I would encourage you to write a design CFP covering how you would update the datapath to introduce this new functionality, including updating all existing usage of the existing cilium_metrics map. It's possible that it might be simpler to introduce a new map, and then move existing functionality to the new map incrementally, but that would require feedback and input from the datapath team for the path forward. In any case, writing a design CFP would be the necessary first step for implementing it.


Sidepanel actions prop -> size prop does not change the size of the button

Package
Carbon for IBM Products
Description
The button in a sidepanel always remains XL even if set to a different value. Should be able to customize button size
Component(s) impacted
Sidepanel
Example: Button size set to sm but button is still xl

Browser
Chrome
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
2.21.0
Severity
Severity 4 = The problem is not visible to or noticeable to an average user. Affects minor functionality, no workaround needed.
Product/offering
SOAR
CodeSandbox or Stackblitz example
https://stackblitz.com/edit/github-g8vnkr?file=src%2FExample%2FExample.jsx
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

Based on the design guidance under Button size^1, we should at a minimum support sizes lg (48px) and xl (64px).


nix-shell, almost

Updated version of https://github.com/input-output-hk/ouroboros-network/pull/645
This almost brings back nix-shell that can build/run demo-playground.
The only blocker is the need to remove the source package definitions in the Cabal project file, which is caused by this Cabal issue: https://github.com/haskell/cabal/issues/6049#issuecomment-502113697

@jbgi, done.


Revert "Bump Sentry client to 2.7.0"

Reverts alphagov/govuk_app_config#12.
2.7.0 was yanked because of problems: https://github.com/getsentry/raven-ruby/issues/773

Sentry 2.7.1 has now been released with a fix for the issue in 2.7.0, and is running fine on all the codebases using Dependabot - you should be able to replace this PR with an update to 2.7.1 instead.

Thanks @greysteil!


How to deny one of netconf protocol operations to an user by using NACM?

Hi,
I tried to configure a nacm-module for an user not to use  protocol operation.
So, by referring RFC 8341 document, I instanced the data nodes of nacm module like bellow:
<nacm xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm">
  <groups>
    <group>
      <name>guest</name>
      <user-name>test</user-name>
    </group>
  </groups>

  <rule-list>
    <name>guest_limited_copy_config</name>
    <group>guest</group>
    <rule>
		<name>deny_copy_conig</name>
		<module-name>ietf-netconf</module-name>
		<rpc-name>copy-config</rpc-name>
		<access-operations>exec</access-operations>
		<action>deny</action>
		<comment>
			Don't allow the ’guest’ group to execute "copy-config".
		</comment>
    </rule>
  </rule-list>

</nacm>

It's not work properly, "test" client can use  operation.
but, "test" client cannot use the  when I config bellow:
<nacm xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm">
  <groups>
    <group>
      <name>guest</name>
      <user-name>test</user-name>
    </group>
  </groups>

  <rule-list>
    <name>guest_limited_copy_config</name>
    <group>guest</group>
    <rule>
		<name>deny_copy_conig</name>
		<module-name>ietf-netconf</module-name>
		<rpc-name>*</rpc-name>
		<access-operations>exec</access-operations>
		<action>deny</action>
		<comment>
			Don't allow the ’guest’ group to execute "copy-config".
		</comment>
    </rule>
  </rule-list>

</nacm>

I only changed "copy-config" into "*" that doesn't allows an user to use all protocol operations.
Do i configure wrong or has netopeer2 issue??
Please help me

Hi,
it was a netopeer2 issue, so please try again with the latest devel, should work correctly.
Regards,
Michal

Hi michalvasko,
Thanks for quick response and fixing the issue.
It works correctly now~!


Develop a style guide for contributors (especially blog articles)

It would probably be useful to have a style guide for BSSw to offer guidance for what we're looking for in writing style as well as mechanics.
Matt Stone referred us to the guide for A List Apart (http://alistapart.com/about/style-guide) as one reference point.  But this is not exactly suited to our use for various reasons.

Another style guide that Matt likes: https://content-guide.18f.gov/, for reference.  As he notes, it is probably more detailed than we need.

This is under progress..

Is this not part of PR #510?

Now it is.  Two years ago, when I opened this issue it wasn't.  Closing in favor of PR #510


USHIFT-1778: update golang to 1.20.10

update golang check in rpm spec file to look at each part of the
version string separately
update rpm spec file to require go 1.20.10
update golang in dev tool setup to 1.20.10

/assign @pacevedom @pmtk

Test is failing because target build-base-branch will clone and make rpm release-4.15 branch, which does not have this change yet.
I tested the code to work with the failing combination:
$ cat /tmp/version.sh
version_at_least () {
    if [[ $1 == $2 ]]
    then
        return 0
    fi
    local IFS=.
    local i ver1=($1) ver2=($2)
    # fill empty fields in ver1 with zeros
    for ((i=${#ver1[@]}; i<${#ver2[@]}; i++))
    do
        ver1[i]=0
    done
    for ((i=0; i<${#ver1[@]}; i++))
    do
        if [[ -z ${ver2[i]} ]]
        then
            # fill empty fields in ver2 with zeros
            ver2[i]=0
        fi
        if ((10#${ver1[i]} > 10#${ver2[i]}))
        then
            return 0
        fi
        if ((10#${ver1[i]} < 10#${ver2[i]}))
        then
            return 1
        fi
    done
    return 0
}

version_at_least "1.20.10" "1.20.3" && echo ok || echo failed

$ bash /tmp/version.sh
ok

This will depend on #2489

Test is failing because target build-base-branch will clone and make rpm release-4.15 branch, which does not have this change yet.

I think you mean 4.14? See #2489

I've updated the PR to remove the check in the spec file entirely. The compiler should tell us if the go.mod file has a version it can't support.

/retest

/hold

/hold cancel

/test microshift-metal-tests


⚠ Bofrost.de has degraded performance

In 47ac19f, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 803 ms

Resolved: Bofrost.de performance has improved in 91ad9f5.


Tapping on notification go to specific state/url (Android)

Expected Behaviour
I want to redirect my app to a specific state or url when I tap on the notification in notification drawer of Android device
Actual Behaviour
Nothing happens. The app starts from my default state and remains there.
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Android 4.0 >
Cordova CLI version and cordova platform version
cordova 6.3.1
cordova platform version android 5.2.2

Plugin version
cordova plugin version 1.8.0

Sample Code
 push.on('notification', function(data) {
                    console.log(data.message);
                    console.log(data.title);
                    console.log(data.count);
                    console.log(data.sound);
                    console.log(data.image);
                    console.log(data.additionalData);
                    console.log("Here");
                    console.log("On notification: " + JSON.stringify(data));
                    $state.go('on-request');
                });

I have solved the issue by installing Cordova Inappbrowser inside my project & calling my service inside device ready events
Inside app.js :
 $ionicPlatform.ready(function(PushService) {

// Calling registerPush method from PushService. registerPush() holds all notification codes

 PushService.registerPush();
 });

$ionicPlatform.on('resume', function() {
      PushService.registerPush();
});

$ionicPlatform.on('resume', function() {
      PushService.registerPush();
});

Inside service.js :
starter.factory('PushService', ['$http', '$state', function($http, $state) {
    return {
          registerPush: function() {

// .init()
// .isEnabled()
//...... other necessary codes

                push.on('notification', function(data) {
                    console.log(data.message);
                    console.log(data.title);
                    console.log(data.count);
                    console.log(data.sound);
                    console.log(data.image);
                    console.log(data.additionalData);
                    console.log("Here");
                    console.log("On notification: " + JSON.stringify(data));
                    $state.go('on-request');
                });
            }
        }
    }
}]);

@s4dman Same issue here... Is it necessary to install inappbrowser.?
Below is my code snippet from app.js

app.run(function($ionicPlatform, $rootScope, $location, $localStorage,
    appConstants, logService, $cordovaPushV5) {

	var pushOptions = {
		android: {
			forceShow: false,
			clearNotifications: false,
			iconColor: '#EB0000',
			sound: true
		},
		ios: {
			alert: true,
			badge: false,
			sound: true
		}
	};

	$ionicPlatform.ready(function() {
		$cordovaPushV5.initialize(pushOptions).then(function() {
			// start listening for new notifications
			$cordovaPushV5.onNotification();
			// start listening for errors
			$cordovaPushV5.onError();

			// register to get registrationId
			$cordovaPushV5.register().then(function(registrationId) {
				// save `registrationId`
				logService.log("Reg Id: " + registrationId);
				$localStorage.deviceToken = registrationId;
			});
		});
	});

	$ionicPlatform.on("resume", function() {
        //code for action on resume
        logService.log("onresume event");
        logService.log($localStorage.notificationData);
    });

	// triggered every time notification received
    $rootScope.$on('$cordovaPushV5:notificationReceived', function(event, data) {
        logService.log(data);
        $localStorage.notificationData = JSON.stringify(data);
    });

});

Can you please help me to solve the same issue. I need to open a specific page on tapping the notification.

@sadiq-mc First of all, Are you sure you're using the correct version? Seems like there's no v2.0.0 released yet for this plugin. Please use the released and stable versions.
Use $state.go("desired_view"); inside your notification received event to redirect to a specific view.

@s4dman v2.0.0 is not yet released, but I need to integrate FCM in my app as the Google API console doesn't provide GCM integration anymore.

I can get the notification using this plugin, but i need to navigate to a view if user taps the notification. But there is a condition for me, if the user is not logged in, he should be redirected to login page and then from there after successful login, redirect to the specific view.

@s4dman I added a 'pause' event and its getting fired while, but the 'resume' event is not getting fired as expected. 'resume' events gets fired only when I switch to a different app and then return back to my app. But when I close the app and launch it again, the 'resume' event is not fired. Also the same gets fired after some seconds which am not able to understand.

@sadiq-mc The answer lives inside your question. You should check for the condition inside your notification trigger event if the user is logged-in.
if( logged_in == true ){
    $state.go("desired_view");
}else{
   $state.go("login_view");
}

Use $state.go() if you are using Ionic or AngularJs for your app.
When you close an app using the back button or remove it from recent activities it gets killed. If you then open the the OnCreate() / On() event will fire. But if you switch between apps or leave the app using menu button, then next time you open the app resume() event will fire.
For a quick review on android activity lifecycle you can go through the following link :
https://cordova.apache.org/docs/en/latest/guide/platforms/android/#cordova-and-android

I was about to update it here, but went through some other stuff by that time. I did the one you said and I noticed the same with resume() event. It was fired only when I switch the apps and not when launching the app after exiting.
As you mentioned, I checked whether user is logged in the notificationRecieved() event and proceeded to the required view.
Thanks for the support.. 👍

@sadiq-mc Glad to know that you're issue is solved !
Happy Coding :)


[Bug] Crashlytics does not generate build id and crashes Android build at startup

[REQUIRED] Please fill in the following fields:

Unity editor version: 2021.3.20f1
Firebase Unity SDK version: 11.6.0
Source you installed the SDK: Unity Package Manager (.tgz file)
Problematic Firebase Component: Crashlytics
Other Firebase Components in use: Messaging, Remote Config, Analytics
Additional SDKs you are using: AdMob
Platform you are using the Unity editor on: Linux
Platform you are targeting: Android
Scripting Runtime: IL2CPP
Pre-built SDK from the website or open-source from this repo: pre-built

[REQUIRED] Please describe the issue here:
I have a correctly set project that works for both platforms if built locally, but does not work when built by CI, and that is because the CI runner is a Linux machine with only the Android module installed. As described by unity-jar-resolver#412, the packages require the Unity iOS module to be installed, otherwise might cause issues when building. That is the exact case that happens on my CI setup.
Since my CI runner does not have the iOS Module, the Firebase.Crashlytics.Editor.dll can't be loaded and therefore cannot generate a crashlytics build id at build time, resulting in a crash with the following error on build:
The Crashlytics build ID is missing. This occurs when Crashlytics tooling is absent from your app's build configuration. Please review Crashlytics onboarding instructions and ensure you have a valid Crashlytics account.
Steps to reproduce:
Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)?

Not tested, but I suppose it would not work if you'd have only the Android Module installed

What's the issue repro rate?

100%

What happened? How can we make the problem occur?

There are two ways to reproduce the issue:

Locally
Ensure you have the Firebase Crashlytics package installed, you do not have the Unity iOS Module installed, and clear your project's Library folder. Then, build the unity project from the command line.
On CI
Make sure you have the Firebase Crashlytics package installed. Run a build job for Android with a linux-android runner.
The outcome
Observing the build log, regardless of the way you built the app, you'll see the error:
Assembly 'Packages/com.google.firebase.crashlytics/Firebase/Editor/Firebase.Crashlytics.Editor.dll' will not be loaded due to errors:
Unable to resolve reference 'UnityEditor.iOS.Extensions.Xcode'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.

This will prevent the crashlytics build id from being generated at build time. And will ultimately crash the Android build at startup.
Our Workaround
We import the Firebase packages through .tgz and embed them into our repository for local UPM reference. So, to effectively workaround the issue:

Unpack packages with assembly issues. What I mean by unpack is to extract the .tgz package file to a folder. In my case, they were:

External Dependency Manager Packages/com.google.external-dependency-manager/ExternalDependencyManager/Editor/<version>/Google.IOSResolver.dll
Crashlytics Packages/com.google.firebase.crashlytics/Firebase/Editor/Firebase.Crashlytics.Editor.dll
Firebase Core Packages/com.google.firebase.app/Firebase/Editor/Firebase.Editor.dl

For each of the assemblies listed before, find their .dll.meta and .pdb.meta files (for example Firebase.Editor.dll.meta) and add the line:PluginImporter:
  serializedVersion: 1
  iconMap: {}
  executionOrder: {}
  isPreloaded: 0
+ validateReferences: 0
  platformData:

Now, go into each of the extracted package folders (where the package.json file lives) and run npm pack on the terminal (make sure to install node if you don't have it)
Finally, you will have a modified .tgz package you can replace in your project

You can tell when a build will work when you find this line in the build logs (I usually just ctrl + F "generated resource"):
Generated resource for com.crashlytics.android.build_id : <build-id>
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
Firebase.Crashlytics.Editor.AndroidPreBuild:WriteXmlResource (string,string,string,string) (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/editor/crashlytics/src/AndroidPreBuild.cs:87)
Firebase.Crashlytics.Editor.AndroidPreBuild:WriteBuildId () (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/editor/crashlytics/src/AndroidPreBuild.cs:100)
Firebase.Crashlytics.Editor.AndroidPreBuild:UpdateResourceFiles () (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/editor/crashlytics/src/AndroidPreBuild.cs:60)

Final Considerations
Our workaround is not the ideal way to fix the issue permanently. I believe that any platform-specific code should only be compiled if the platform is available, be that by constraining the assembly to a single platform, or by using UNITY_IOS or UNITY_ANDROID preprocessor directives.
The original issue on the unity-jar-resolver repository is 2 years old, and that is somewhat revolting. I understand that there are more urgent fixes and features on the line, but can it have some attention, please? It's ironic that an SDK to detect crashes ultimately causes your game to crash at startup because it was unable to find an id that itself was responsible for generating.

I took a look at this and notice you're only seeing the tool failure for iOS, but your issue is on Android. The Firebase Unity plugin has a different process for generating the build id / mapping file id for Android. It looks like that part didn't fail. It is possible the build id is being removed by a resource shrinker or something.
You can add a keep rule like this: https://github.com/firebase/firebase-android-sdk/blob/master/firebase-crashlytics/src/main/res/raw/firebase_crashlytics_keep.xml to your Android build. Or simply wait for the next version of Crashlytics which will include this keep rule automatically to deal with an upcoming change in the default behaviour of R8.

I took a look at this and notice you're only seeing the tool failure for iOS, but your issue is on Android.

That's not an accurate description of the issue. Since the Unity iOS Module is not installed, the Firebase.Crashlytics.Editor.dll does not load, even if we're only building for Android. The outcome is that the Android build does not have a build id information because the Firebase.Crashlytics.Editor.dll is not loaded and therefore will not execute the Crashlytics build post-process script that generates the build id.
The proposed workaround perfectly solves the issue.

That's not an accurate description of the issue.

Ok got it.

The proposed workaround perfectly solves the issue.

Since the workaround works, then the next release of the Unity plugin that includes the latest Crashlytics will resolve this issue, and you'll be able to remove the workaround. I'll close this for now since the workaround is working. Feel free to file a new issue if you run into the issue on the future version, and it might be better to file it in https://github.com/firebase/firebase-android-sdk if it is Android specific.


Umount: Do not umount filesystems from fstab

So, looking at the PR: the thing that needs to be fixed is the missing CHROOT="${CHROOT:-/mnt/ec2-root}" line. Were that the only change, I'd hit the accept/merge right now.
That said:

I can see that the additional echo is might be useful for interactive use-case. That said, since we know there are other projects using this one and it's conceivable that adding output at this juncture might cause problems for some of those other projects, it would notionally better if the output were done via an output-function that defaults to quiet.

I'm not sure I see the value in altering the list-construction logic. When I diff this PR and the master-branch, all I'm noticing is that the awk  and grep are flipped (and the grep altered to ensure that the awked strings begin with ${CHROOT}). This mostly feels like rearranging deck-chairs. If we're going to do that, I'd rather move to something more like:
 cut -d " " -f 3 <( mount )  | grep "${CHROOT}" | sort -r

That said, the <() construct would also require using #!/bin/bash rather than the current #!/bin/sh. Whether to have the ^${CHROOT} is likely a belt-and-suspenders issue: I could live with it present or continue with it absent.
In any case, neither the initial method, the rearranged method nor the suggested method are likely to work if some weirdo decides they want filesystems with whitespace in their mountpoints.

Need to think further on how pedantic to be with this PR (i.e., whether first bullet is a blocker and/or whether I want the list-construction altered, at all, or simply reverted before accepting)...

Fixes sent via PR.

I can see that the additional echo is might be useful for interactive use-case. That said, since we know there are other projects using this one and it's conceivable that adding output at this juncture might cause problems for some of those other projects, it would notionally better if the output were done via an output-function that defaults to quiet.

I'll send another commit without the echo. Your argument is very good to remove the line.

I'm not sure I see the value in altering the list-construction logic. When I diff this PR and the master-branch, all I'm noticing is that the awk  and grep are flipped (and the grep altered to ensure that the awked strings begin with ${CHROOT}). This mostly feels like rearranging deck-chairs. If we're going to do that, I'd rather move to something more like:

 cut -d " " -f 3 <( mount )  | grep "${CHROOT}" | sort -r

This looks fine for me as well.

That said, the <() construct would also require using #!/bin/bash rather than the current #!/bin/sh. Whether to have the ^${CHROOT} is likely a belt-and-suspenders issue: I could live with it present or continue with it absent.

I think the whole project should move to the same shell for all scripts. This will remove future errors due to mixed shells in different scipts. bash is standard these days and should be used.

In any case, neither the initial method, the rearranged method nor the suggested method are likely to work if some weirdo decides they want filesystems with whitespace in their mountpoints.
Need to think further on how pedantic to be with this PR (i.e., whether first bullet is a blocker and/or whether I want the list-construction altered, at all, or simply reverted before accepting)...

I am sure that there are other situations and scripts with problems, when CHROT contains a space in the directory. We should discuss this in a new issue.

Fixes sent via PR.

I am surprised that you already changed this PR. I didn't expect ths, because it is the 1st time that a reviewer commited in my own PR on github - thanks for the work. I hope to test it tomorrow.


Enabled FromFactory to return null values.

The test is a simplified repro of this Stack Overflow question:
http://stackoverflow.com/q/33619619/126014
It goes:
"
In this sample code, I want to configure a Fixture object to return null
for strings half of the time.
void Test()
{
    var fixture = new Fixture();

    fixture.Customize<string>(x => x.FromFactory(CreateString));

    var str1 = fixture.Create<string>();

    //error occurs here when string should come back null
    var str2 = fixture.Create<string>();
}

bool _createString = false;

string CreateString()
{
    _createString = !_createString;

    return _createString ? "test" : null;
}

The problem is, whenever my factory returns null, I get an
InvalidOperationException:

The specimen returned by the decorated ISpecimenBuilder is not compatible
with System.String.

This happens for any type where I return null inside a factory. Is there any
way to configure AutoFixture to return null for a requested object?
"

No comments on this?

It's looking good to me.

It looks good to me, I have nothing intelligent to add. I can merge if you like, or did you want another opinion first?

@adamchester It's fine if we merge to master. Can you merge? :smiley:


Decide and clarify on public/private information

Two parts here:

[ ] What information in a profile is public versus private?
[ ] Clarify in the profile editing screen what is public versus private so the user knows when deciding to check the Public checkbox

A point of clarification:

[ ] If the user can fill out a profile with information they mark as private, then why are they entering that information? If no one would see it, maybe there is no reason to be entering it?

Good point.  It is not required for users to provide information so lets put a statement on the page that "Information entered here may be publicly visible" and leave it for users to provide it or not as they wish. (I also do not think that our original mockup said anything about keeping info private, but someone added it sometime)
I would like to have the following information required for each user

Name
Email
Organization
User type

Organization is not required now, but I think we should have users at least tell us the organization they work for, belong to or represent.  They could enter something like "Home" or "Private" if they are acting in a personal capacity - and that is fine too.
User type is needed for our demographic reporting.  One of the allowable types is "Unspecified" if they really insist on not telling.
All other information is optional.
Given this it may be easiest to collect Organization and User type on the sign up page and the rest on the profile page.
There were release 1 mockups developed for the  sign up and profile editing that provide additional guidance if it is needed.  These are in Alfresco at Documents >  System Design > User Interface > Release 1 Mockups.
Specifically see "User profile pages" and "account creation page"
These could be updated if needed

HydroShare Profile Issues in GitHub: #44, #46, #47, #48, #49, #68

I believe that our simplified information model for users has got this straight. I'm assigning to Mauriel to make sure the front end implementation is correct.

@horsburgh, @dtarb, @ironfroggy we need to make a decision on public vs private so that I can apply it to the new profile edit page.

I think we resolved this on the phone call. Everything the user enters into the user profile is public. The warning at the top that you were going to make more colorful/noticeable states this.
However, to address @selimnairb 's concern, we need to add an item "Unspecified" to the country list, and I think we need to make State optional.

This implementation can be tested at https://park.hydroshare.org

This has been implemented and deployed. Please confirm and close.

Agreed. Users can set "Unspecified" as valid values where they want to protect privacy. Closing.


minor changes on stage1 ml ops - Get started vertex datasets

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[ ] Use the notebook template as a starting point.
[ ] Follow the style and grammar rules outlined in the above notebook template.
[ ] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[ ] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[ ] This notebook has been added to the CODEOWNERS file under # Official Notebooks section, pointing to the author or the author's team.
[ ] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

If you are opening a PR for Community Notebooks under the notebooks/community folder:

[x] This notebook has been added to the CODEOWNERS file under the # Community Notebooks section, pointing to the author or the author's team.
[x] Passes all the required formatting and linting checks. You can locally test with these instructions.

If you are opening a PR for Community Content under the community-content folder:

[ ] Make sure your main Content Directory Name is descriptive, informative, and includes some of the key products and attributes of your content, so that it is differentiable from other content
[ ] The main content directory has been added to the CODEOWNERS file under the # Community Content section, pointing to the author or the author's team.
[x] Passes all the required formatting and linting checks. You can locally test with these instructions.

/gcbrun

@andrewferlitsch : The notebook was tested on vertex AI workbench and colab

automatic tests did not run. Submitter manually verified execution in Colab and Workbench. I am manually merging the PR.


Geo type mapping

Description
add Geo type Mapper function in GeoMapper class: Return all contained/child regions
Changelog

add get_geo_mapper function
add unit test of get_geo_mapper

Fixes

Fixes #1135

Found a refactoring suggestion for you using some cool Pandas tricks and a few minor nits. After that we'll be golden!

:shipit: :shipit: :shipit:


weird display issues with Umbra's open data catalog

@cholmes reported in the stac-browser repo at https://github.com/radiantearth/stac-browser/issues/308 :

When I go to Umbra open data in stac browser I get some weird errors on most all the items. See like:

It's at this item - the rendered image is a small square, outside of the bounding box. If I load the cog elsewhere then it matches the bounding box.
Just about every one I've tried (maybe 6 or 7?) seems to have this problem. Except one, that does not display on the map and raises an error about invalid lat/long: https://radiantearth.github.io/stac-browser/#/external/s3.us-west-2.amazonaws.com/umbra-open-data-catalog/stac/2023/2023-04/2023-04-16/ac3c40b6-b517-4661-8039-b1437dd91c56/ac3c40b6-b517-4661-8039-b1437dd91c56.json?.asset=asset-GEC
Note that none of the stac items seem to validate, and I'm happy to go tell them to fix their items (though I'm not sure exactly what the problem is) - but since COG's displayed normally elsewhere it seemed like an issue with stac browser.

Response:

Yeah, there are multiple issues here. The items are invalid and need to be fixed. Once that's done, we can evaluate what goes wrong in stac-layer. We should transfer this issue over to stac-layer and check there what goes wrong.

@m-mohr Andy from Umbra here. We have an internal ticket to address the invalid STAC Item. Whoops! We'll address it when we can and post back, although no guesstimate when that might be.
Otherwise our understanding of the weird display issue is that the underlying renderer for stac-browser doesn't support COGs with geotransforms/rotations: https://github.com/radiantearth/stac-browser/issues/222#issuecomment-1235553985 and https://github.com/stac-utils/stac-layer/issues/49

Ah, that sounds reasonable, thanks for the hint.

Here's the gdalinfo for the COG mentioned here: https://radiantearth.github.io/stac-browser/#/external/s3.us-west-2.amazonaws.com/umbra-open-data-catalog/stac/2023/2023-04/2023-04-01/fc889f60-1e9f-45d4-8b8a-0db999e8a6cc/fc889f60-1e9f-45d4-8b8a-0db999e8a6cc.json
Driver: GTiff/GeoTIFF
Files: /Users/danieldufour/Downloads/2023-04-01-04-46-21_UMBRA-04_GEC.tiff
Size is 13176, 13176
Coordinate System is:
PROJCRS["WGS 84 / UTM zone 11N",
    BASEGEOGCRS["WGS 84",
        DATUM["World Geodetic System 1984",
            ELLIPSOID["WGS 84",6378137,298.257223563,
                LENGTHUNIT["metre",1]]],
        PRIMEM["Greenwich",0,
            ANGLEUNIT["degree",0.0174532925199433]],
        ID["EPSG",4326]],
    CONVERSION["UTM zone 11N",
        METHOD["Transverse Mercator",
            ID["EPSG",9807]],
        PARAMETER["Latitude of natural origin",0,
            ANGLEUNIT["degree",0.0174532925199433],
            ID["EPSG",8801]],
        PARAMETER["Longitude of natural origin",-117,
            ANGLEUNIT["degree",0.0174532925199433],
            ID["EPSG",8802]],
        PARAMETER["Scale factor at natural origin",0.9996,
            SCALEUNIT["unity",1],
            ID["EPSG",8805]],
        PARAMETER["False easting",500000,
            LENGTHUNIT["metre",1],
            ID["EPSG",8806]],
        PARAMETER["False northing",0,
            LENGTHUNIT["metre",1],
            ID["EPSG",8807]]],
    CS[Cartesian,2],
        AXIS["(E)",east,
            ORDER[1],
            LENGTHUNIT["metre",1]],
        AXIS["(N)",north,
            ORDER[2],
            LENGTHUNIT["metre",1]],
    USAGE[
        SCOPE["Engineering survey, topographic mapping."],
        AREA["Between 120°W and 114°W, northern hemisphere between equator and 84°N, onshore and offshore. Canada - Alberta; British Columbia (BC); Northwest Territories (NWT); Nunavut. Mexico. United States (USA)."],
        BBOX[0,-120,84,-114]],
    ID["EPSG",32611]]
Data axis to CRS axis mapping: 1,2
GeoTransform =
<PHONE_NUMBER>924175, 0.08015620933322706, -0.2927568665711126
  4364430.847177379, -0.2927568665710993, -0.08015620933323149
Metadata:
  AREA_OR_POINT=Area
  TIFFTAG_RESOLUTIONUNIT=1 (unitless)
  TIFFTAG_XRESOLUTION=1
  TIFFTAG_YRESOLUTION=1
Image Structure Metadata:
  INTERLEAVE=BAND
  LAYOUT=COG
Corner Coordinates:
Upper Left  (  361344.240, 4364430.847) (118d36'38.68"W, 39d25' 5.74"N)
Lower Left  (  357486.875, 4363374.709) (118d39'19.12"W, 39d24'29.23"N)
Upper Right (  362400.378, 4360573.483) (118d35'51.67"W, 39d23' 1.27"N)
Lower Right (  358543.013, 4359517.344) (118d38'32.04"W, 39d22'24.78"N)
Center      (  359943.626, 4361974.096) (118d37'35.38"W, 39d23'45.26"N)
Band 1 Block=512x512 Type=Byte, ColorInterp=Gray
  Overviews: 6588x6588, 3294x3294, 1647x1647, 823x823, 411x411

@CloudNiner , your diagnosis is correct.  The underlying client-side visualization library https://github.com/geotiff/georaster-layer-for-leaflet doesn't support GeoTransform.
I definitely need to update stac-layer to identify and skip GeoTIFFs that have a GeoTransform, so there isn't a bad visualization.

@CloudNiner , would it be okay with you if I added a downsampled version of this COG to https://github.com/geotiff/test-data ?  Once I add it there, it'll be easy to use it for testing in stac-layer, georaster-layer-for-leaflet, and all their geotiff-related dependencies that use https://github.com/geotiff/test-data

@DanielJDufour go for it! All of the Umbra sample data is released under CC-by-4.0: https://umbra.space/open-data

Just a heads up that I've added an Umbra image of Mount Yasur to https://github.com/GeoTIFF/test-data.  Thank you!


Non128

Coverage decreased (-38.4%) to 35.129% when pulling 0de19bce44db833c8dc2a22bf7bc9decc2aae93e on non128 into 26e715141c046f1f6e6a0eeee74d3c86de870b62 on master.


Fix usage with Capacitor SPM

Hello!
I was getting an issue where I could not use SPM in my project because Xcode was complaining about mismatching SPM versions:

So, I have changed it to 6.0.0. This matches what capacitor does with official plugins. It will need to be bumped for Capacitor v7 (breaking change anyways)

Hello!
I was getting an issue where I could not use SPM in my project because Xcode was complaining about mismatching SPM versions:

So, I have changed it to 6.0.0. This matches what capacitor does with official plugins. It will need to be bumped for Capacitor v7 (breaking change anyways)

thanks for your contribution ,  already merged with version 3.0.4


Feature Request - Scrape All Events for a Given City

Is your feature request related to a problem?
Currently, the scraper is designed to scrape events based on a list of artists specified in the artists.txt file. While this works great for finding events for specific artists, it would be more convenient if we could also scrape all events happening in a given city.
Describe the solution you'd like
I propose to add a feature to scrape all events for a specified city. Users should be able to input the city name and the scraper would then fetch all events happening in that city, regardless of the artists.
Describe alternatives you've considered
An alternative would be to manually input all popular artists from a specific city in the artists.txt file, but this is not an efficient approach as it requires significant manual work and doesn't guarantee that all events in the city will be scraped.
Additional context
This feature would be beneficial for users who are more interested in exploring all events happening in a specific city rather than just following specific artists. It would make the scraper more versatile and provide a better user experience.

100% agreeing with this comment !
Have a list of the next 10 upcoming event would be extremely usefull !

yes

Don't know if this is what you're expecting:
https://github.com/ujaRHR/resident-advisor-scraper


Bumping k8s-netperf version to v0.1.15

Type of change

[ ] Refactor
[ ] New feature
[x] Bug fix
[ ] Optimization
[ ] Documentation Update

Description

Includes fixes to hostNetwork testing
Includes fixes to empty values

Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please describe the System Under Test.
Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

Verified the link is good to go : https://github.com/cloud-bulldozer/k8s-netperf/releases/download/v0.1.15/k8s-netperf_Linux_v0.1.15_x86.tar.gz


[stable/nginx-ingress] Add Validation webhook for nginx ingress controller

Is this a new chart
No
What this PR does / why we need it:
Nginx-ingress controller add a Validation webhook in 0.25 for ingress object
Add deployment inside helm chart
Which issue this PR fixes
None
Special notes for your reviewer:
Implementation is inspired by the prometheus operator webhooks
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @chiefalexander

/ok-to-test
Can you also add a test to https://github.com/helm/charts/tree/master/stable/nginx-ingress/ci

I add 4 tests for webhook and webhook with psp

/lgtm
Thanks for this!


Circuit breaker too aggressive during service restart

If a service gets redeployed, it will stop and start a bunch of workers.
For each worker that's restarted it will ECONNRESET the socket and kill some inflight RPCs.
The circuit breaker immediately kicks in and things there is something wrong with the service.
We should ensure that we can do a rolling restart of all instances of a service without the circuit breaker penalizing all the caller.
cc: @kriskowal @jcorbin @rf

Wouldn't per-process circuits get around this? I think we had thrown that idea around before.

Even if we had per process circuits we still need to avoid triggering the per endpoint circuit.
We need per caller and per endpoint circuits.


Compare decimal columns correctly in batch saver

Extracted from #16722.  Will allow container_quota_items.quota_* decimal columns to be used in manager_ref.
@Ladas Thanks for pointers last week! Please review.
cc @agrare
https://bugzilla.redhat.com/show_bug.cgi?id=1504560
@miq-bot add-label enhancement, gaprindashvili/yes

@miq-bot assign @agrare

Gaprindashvili backport details:
$ git log -1
commit 6864c7f34a52560658448dd73bd4ee66e245a8f3
Author: Adam Grare<EMAIL_ADDRESS>Date:   Mon Feb 26 09:38:22 2018 -0500

    Merge pull request #17020 from cben/deserializable_keys

    Compare decimal columns correctly in batch saver
    (cherry picked from commit d3f73488d6fc9ad878ae9192c5437ba6916d588e)

    https://bugzilla.redhat.com/show_bug.cgi?id=1559544

@cben this caused issues in the G-branch ref due to depending on some of the refactoring that @Ladas did in master that is not in gaprindashvili

After discussing with @agrare, reverted the backport from Gaprindashvili branch.
commit 9eab6ed7184247107950a79187c496e80f5e3026
Author: Satoe Imaishi<EMAIL_ADDRESS>Date:   Fri Mar 23 14:24:35 2018 -0400

    Revert "Merge pull request #17020 from cben/deserializable_keys"

    This reverts commit 6864c7f34a52560658448dd73bd4ee66e245a8f3.

    https://bugzilla.redhat.com/show_bug.cgi?id=1559544

Marking as conflict for now.

Backported to Gaprindashvili via https://github.com/ManageIQ/manageiq/pull/17214


Issue on pod install

Hi everyone,
When I try to install this pod using the command pod install, I encounter the following issue:
[!] Unable to find a specification for `iOS-BLE-Library` depended upon by `my_project`.

When I search for this pod on https://cocoapods.org, I can't find the 'iOS-BLE-Library' package.
How can I install it using CocoaPods?
Thanks for your response.
Regards,
Daniel

Try IOS-BLE-Library
The README has a typo I believe

Effectively with the good case,  all is good.
Thanks for your help.


Db builder error

Hi,
I want to annotate some bacteria genomes and your great tool seems the right one. I'm trying to build the light database but I encounter this error, could you help me? Thanks for your help
Regards,
Fety
./MicrobeAnnotator_DB_Builder -d MicrobeAnnotator_DB -m sword --light -t 16
Downloading UniProt information...
Downloading fasta files...
100% [....................................................] 89237849 / 89237849
Done
Downloading .dat files...
100% [..................................................] 589192693 / 589192693
Done
Finished downloading UniProt data!
Traceback (most recent call last):
  File "./MicrobeAnnotator_DB_Builder", line 177, in <module>
    main()
  File "./MicrobeAnnotator_DB_Builder", line 173, in main
    db_duilder(directory, method, light, threads, step, bin_path)
  File "./MicrobeAnnotator_DB_Builder", line 58, in db_duilder
    viral_list = refseq_data_downloader.search_all_files(temp_gb_files / "viral")
  File "/home/fiestaj/MicrobeAnnotator/independent_scripts/refseq_data_downloader.py", line 107, in search_all_files
    assert(dirpath.is_dir())
AssertionError```

I got pass the error by deleting line 55 to line 61 in the  MicrobeAnnotator_DB_Builder
Now running my annotation, I got this error message:
I will process a total of 1 files. Of these, I will run 1 in parallel with 1 threads per file.
For this run I will use KOFamscan and the Swissprot database to annotate your proteins.
When I'm done I will plot the metabolism summaries using metabolic_summary_ as file name prefix using no clustering.
---------

Searching proteins using KOFamscan...
Error: KO list not given
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "/home/fiestaj/anaconda3/envs/microbeannotator/lib/python3.8/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "/home/fiestaj/anaconda3/envs/microbeannotator/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar
    return list(map(*args))
  File "/home/fiestaj/MicrobeAnnotator/independent_scripts/protein_search.py", line 52, in kofamscan_annotation
    kofamscan_filter(kofam_output_file, filtered_output_file)
  File "/home/fiestaj/MicrobeAnnotator/independent_scripts/protein_search.py", line 80, in kofamscan_filter
    with open(kofamscan_input, 'r') as input:
FileNotFoundError: [Errno 2] No such file or directory: '/choppy/Bacteria_assembly/Lb_rhamnosus/5326_micann/kofamscan_results/5326_hyb.faa.kofam'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "./MicrobeAnnotator", line 409, in <module>
    main()
  File "./MicrobeAnnotator", line 140, in main
    kofam_results = pool.map(partial(protein_search.kofamscan_annotation,
  File "/home/fiestaj/anaconda3/envs/microbeannotator/lib/python3.8/multiprocessing/pool.py", line 364, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/home/fiestaj/anaconda3/envs/microbeannotator/lib/python3.8/multiprocessing/pool.py", line 771, in get
    raise self._value
FileNotFoundError: [Errno 2] No such file or directory: '/choppy/Bacteria_assembly/Lb_rhamnosus/5326_micann/kofamscan_results/5326_hyb.faa.kofam '

Here is my command :
./MicrobeAnnotator -i /choppy/Bacteria_assembly/Lb_rhamnosus/5326_hyb.faa -d /home/fiestaj/MicrobeAnnotator/MicrobeAnnotator_DB -o /choppy/Bacteria_assembly/Lb_rhamnosus/5326_micann -m sword --light
Thanks,
Fety

Hi Fety!
Thanks for testing MicrobeAnnotator! I am currently finishing the program so I'm sure some bugs will arise (as you found already). The first error you encountered has been corrected, it was just the order of the command that checked the existence of a group of files. You can update your repo and see if it works. The second I think is related to kofamscan. I added a check at the beginning to see if the paths are correct, but I suspect this has to do with hmmer. I've had cases in which hmmsearch is not found and kofamscan will apparently run fine but no output will be created. Can you check if hmmsearch is in your path and is accessed by kofamscan in the config file? Let me know what you get.
Thanks!

Hi,
Thanks for the reply and the fix! I'm actually on holidays so no access to my computer but I'll let you know how it's work as soon as I can.
Fety

Hi,
After updating my repo, everything works just fine for Db builder. I've change also the hmmsearch path in the config file from /usr/local/bin/hmmsearch to /home/fiestaj/anaconda3/envs/microbeannotator/bin/hmmsearch and so for parallel
After re-running the same command I got new error message, hope you can help with that one:
I will process a total of 1 files. Of these, I will run 1 in parallel with 1 threads per file.
For this run I will use KOFamscan and the Swissprot database to annotate your proteins.
When I'm done I will plot the metabolism summaries using metabolic_summary_ as file name prefix using no clustering.
---------

Searching proteins using KOFamscan...
Error: KO list not given
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "/home/fiestaj/anaconda3/envs/microbeannotator/lib/python3.8/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "/home/fiestaj/anaconda3/envs/microbeannotator/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar
    return list(map(*args))
  File "/home/fiestaj/MicrobeAnnotator/independent_scripts/protein_search.py", line 52, in kofamscan_annotation
    kofamscan_filter(kofam_output_file, filtered_output_file)
  File "/home/fiestaj/MicrobeAnnotator/independent_scripts/protein_search.py", line 81, in kofamscan_filter
    with open(kofamscan_input, 'r') as input:
FileNotFoundError: [Errno 2] No such file or directory: '/choppy/Bacteria_assembly/Lb_rhamnosus/5326_micann/kofamscan_results/5326_hyb.faa.kofam'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "./MicrobeAnnotator", line 439, in <module>
    main()
  File "./MicrobeAnnotator", line 170, in main
    kofam_results = pool.map(partial(protein_search.kofamscan_annotation,
  File "/home/fiestaj/anaconda3/envs/microbeannotator/lib/python3.8/multiprocessing/pool.py", line 364, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/home/fiestaj/anaconda3/envs/microbeannotator/lib/python3.8/multiprocessing/pool.py", line 771, in get
    raise self._value
FileNotFoundError: [Errno 2] No such file or directory: '/choppy/Bacteria_assembly/Lb_rhamnosus/5326_micann/kofamscan_results/5326_hyb.faa.kofam'

Thanks
Fety

Hi Fety!
Could you share the contents of the config file from KOfamscan?
Carlos

Hi Carlos,
Here is the contents:
# Path to your KO-HMM database
# A database can be a .hmm file, a .hal file or a directory in which
# .hmm files are. Omit the extension if it is .hal or .hmm file
# profile: /home/fiestaj/kofamscan/profiles/prokaryote

# Path to the KO list file
# ko_list: /home/fiestaj/kofamscan/ko_list

# Path to an executable file of hmmsearch
# You do not have to set this if it is in your $PATH
# hmmsearch: /home/fiestaj/anaconda3/envs/microbeannotator/bin/hmmsearch

# Path to an executable file of GNU parallel
# You do not have to set this if it is in your $PATH
# /home/fiestaj/anaconda3/envs/microbeannotator/bin/parallel

# Number of hmmsearch processes to be run parallelly
cpu: 8

Fety

Hi Fety!
Just remove the # from all the lines where you have modified the paths. In this file the # is treated as comments as the program ignores those lines. Let me know if it works! 😁
Carlos

It works like a charm :-), I did not pay attention to the file format.
Thanks for your help and the tools.
Fety


samples: llext: modules: increase stack size to prevent stack overflow

Make main stack bigger for the samples/subsys/llext/modules sample to prevent stack overflow. On STM32 Nucleo-F401RE, the test only has 64 bytes of free stack left as early as main and the sample crashes with a USAGE FAULT due to the stack overflow.
Fixes #74536.

verified for NXP platforms

works on the most Nordic target


swiper-pagination swiper-pagination-bullets bug

Ionic version:  (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ ] 3.x
[X] 4.x
I'm submitting a ...  (check one with "x")
[X] bug report
[ ] feature request

Current behavior:

The swiper pagination is not shown in chrome by default behavior. Only upon changing the emulator in chrome, it shows.
Expected behavior:

To be consistent in all slides
Steps to reproduce:

Load swipe pagination. And change device emulation in chrome
Related code:

insert short code snippets here

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
insert the output from ionic info here

This is issue should be resolved in beta.17. If I am wrong, please write here!


easy_localization doesn't work properly with GetMaterialApp  [Bug + Feature Request]

easy_localization doesn't instantly change the language when I use GetMaterialApp instead of MaterialApp I have to restart the app to see changes.
you may think why I use easy_localization instead of GetX's localization feature?
That's because: I need to use nested JSON in my project and GetX doesn't support nested objects as far as I know.
For example:

// en.json
{
  "home-page": {
      "hello" : "Hello!",
    },
}

// does not work because Translations class wants Map<String, String>, not Map<String, dynamic>
Text('home-page.hello'.tr) // I hope this feature will add in the near future

Hey bro, i think you ask too much of GetX.

You can use this tool to create your locals (it supports nested nodes). and it will export a class for you. wich you could use with GetX Locals. here is the last release.

Hello, I suggest you can use auto_localized library with GetX. Auto_localized can support nested objects and generating file from source lang files (YAML and JSON supported).
Nested json objects for easier translation more information here.
GetMaterialApp can by wrapped AutoLocalizedApp like that:
`void main() {
runApp(FlutterBase());
}
class FlutterBase extends StatelessWidget {
const FlutterBase({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return AutoLocalizedApp(
child: GetMaterialApp(
supportedLocales: AutoLocalizedData.supportedLocales,
localizationsDelegates: AutoLocalizedData.localizationsDelegates,
locale: Get.deviceLocale,
fallbackLocale: Get.fallbackLocale,
title: R.appTitle,
getPages: AppPages.routes,
initialRoute: Routes.home,
defaultTransition: Transition.fade,
),
);
}
}`

I have found a possible solution.
In case you are using GetMaterialApp you should when changing the current language call  Get.updateLocale() to inform GetMaterialApp about the language change
final _newLocale = Locale('ar', 'EG')
await context.setLocale(_newLocale); // change easy_localization locale
Get.updateLocale(_newLocale); // change Get locale direction


Add support for CentOS

Are there any plans to add support for CentOS?
Thanks!

I have submitted a patch!

see comments on #23


Force ddvk-hacks to be reinstalled on upgrade

Force ddvk-hacks to be reinstalled on upgrade

Working on v<IP_ADDRESS>6 and v<IP_ADDRESS>9. Reinstalling on reenable was successful.


chore(deps): update angular monorepo to v12

v12.0.0 has been released and contains a fix for the issue. Feel free to reopen the issue or to submit a new one if you meet any problems.


Even more minimal JRE

https://github.com/NixOS/nixpkgs/blob/c542baa0c894796c92a8173dead027f3b952c22e/pkgs/development/compilers/openjdk/jre.nix#L24
How would you feel about adding these options:
--no-header-files
  Excludes header files.
--no-man-pages
  Excludes man pages.
--compress=2
  Enable ZIP compression of resources

With jdk17_headless and the sole java.base module, it drops from 80 to 32MB.

👍🏻 Useful for JVM app containers

We run the risk of having so many JREs in the end that we duplicate all that minimalism into a huge pile of bloat.
If only jlink didn't bundle most things up into a single file, we could symlink the hell out of this and have sharing between all variations of the same JRE version. That doesn't seem feasible for now.
So, pragmatically, you'll want to change the default minimal JRE and make sure that most packages that use it still work.
I don't expect much trouble from removing the headers and man pages. Zipping may not be reproducible, depending on how that's implemented. It may then also defeat the hard link optimization in the Nix store.

@roberth do you think adding the --no* options by default and turning compression on under a new flag would be a good compromise then? To check if the zipping is reproducible, would running it on different machines with the same OS be enough?

Sgtm. For repro,  you can use nix-store -r --check to rebuild on the same machine even. (Although that doesn't check instruction set impurities, fwiw. This stuff is best-effort anyway.) See  https://wiki.debian.org/ReproducibleBuilds/Howto for binary reproducibility hints.


borrow primitive types where possible instead of allocating them on the heap in BytesEncode implementations

Pull Request
Related issue
somewhat related to #257
What does this PR do?
Remove unnecessary allocations (heap allocations created with the vec![...] macro) in implementations of BytesEncode. Not all could be removed, without breaking the api, bytes need to be copied if they need to be flipped around (when using big endian integers on little endian machines).

Hey @antonilol 👋
Thank you for the great work but I am not ready to merge all of these unsafe. I would rather you propose a trait change by following the #257 instructions and my comment (to declare a BytesEncode::zero_copy method so that it's dynamic).
What do you think? We will then test that in Meilisearch to see the speed gain.

I am currently working on a new trait that is also (99%) backwards compatible with BytesEncode, this pr was more the 'quick fix' for what was possible with this current trait. The new one makes no heap allocations for primitive types, for both byte orders. Will make a (draft) pr with the current state of it!


Add tests for examples folder

Motivation
There are currently no tests for the examples folder. CI and appropriate tests for each example should be added.

Closing in favor of https://github.com/FuelLabs/sway-standards/issues/91


Feature request: add align attribute to md-dialog-actions

md-card-actions has 'align' attribute that allows us to sort elements. I thought md-dialog-actions has same attribute, but not. It is not necessary, but needs to be implemented for consistency.

This was planned actually.


Correct Requirements.txt

References User Story #74

I'm hoping my minor changes fix the issue. If not, I'll come back to this
{t:5}

Its still broken, but I'm not sure why. I've asked the team for help.
{t:60}

Still can't seem to figure out what is wrong
{t:30}


Discovery not showing in Explorer (Windows 10)

I know this has been reported before and there is an FAQ on the subject, but not matter hat I do, I cant get Windows Networking to show my device.
I know the devicedocument.xml needs to be available, and it is, but its never being requested.
Here is my device:
_rootDevice = new SsdpRootDevice()
{
CacheLifetime = TimeSpan.FromMinutes(5),
Location = new Uri("http://localhost:5000/descriptiondocument.xml"),
DeviceType = "Basic",
DeviceTypeNamespace = "schemas-upnp-org",
DeviceVersion = 1,
FriendlyName = "MyDevice",
SerialNumber = "123456",
Manufacturer = "My Manufacturer",
ManufacturerUrl = new Uri("http://localhost:5000"),
ModelName = "My Model",
ModelDescription = "My Model Description",
   Uuid = "950E74FA-1997-4864-81AD-4D3ECA8841E7",
   UrlBase = new Uri("http://localhost:5000"),

};
// I put a breakpoint here, get the document xml, and put it in the .xml file on the web server (itself)
string x = _rootDevice.ToDescriptionDocument();
_publisher = new SsdpDevicePublisher() { StandardsMode = SsdpStandardsMode.Relaxed };
_publisher.AddDevice(_rootDevice);
Anyone see anything wrong?

As it seems is always the case .. after spending 8 hours trying to figure it out  .. I found the issue after posting a message.
LOCALHOST does not work.  Use the actual machine IP address and it shows up.
Might add that to the FAQ for others.
Roy

Ah, yeah, great tip. Thanks! I will find some time to update the FAQ tonight perhaps.
LocalHost is generally a bad idea because any client using that URL is going to request the document from itself which won't work... unless it's the same machine. It should work if it's on the same machine AFAIK, but maybe there's some other blocker in that case.
Thanks for letting me know you'd solved it.


test matlab code on Octave

Just tested with Octave 4.2.2 and the scripts to create .tsv in the matlab code folder do not work because the table function is something different in Octave.
Might be good to improve that, no?
related to #112

Hopefully Octave will support table soon:
https://github.com/apjanke/octave-tablicious
In the meantime, best would be add a wrapper similar to bids.util.tsvread:
https://github.com/bids-standard/bids-matlab/blob/master/%2Bbids/%2Butil/tsvread.m
but this time copying away spm_save:
https://github.com/spm/spm12/blob/master/spm_save.m

Thanks for noting this! @Remi-Gau would you be able to add a note to the wiki metadata file formats on Octave and tsv files?

Hopefully Octave will support table soon:
https://github.com/apjanke/octave-tablicious
In the meantime, best would be add a wrapper similar to bids.util.tsvread:
https://github.com/bids-standard/bids-matlab/blob/master/%2Bbids/%2Butil/tsvread.m
but this time copying away spm_save:
https://github.com/spm/spm12/blob/master/spm_save.m

@gllmflndn Yeah I was thinking of reusing some of the SPM functions as you have done such a great job at making it octave compatible: I was not going to reinvent the wheel.
@marcobarilari Interested in helping out with this?

@Remi-Gau yes, I can help with that. Thanks!

@gllmflndn Just to be clear this would mean adding a functionality to bids-matlab, correct?

Yes, take whatever is needed from spm_save.m (for csv[.gz] and tsv[.gz] files) and create bids.util.tsvwrite  in bids-matlab. The most recent version of spm_save.m is here:
https://gist.github.com/gllmflndn/605af3142a1a75a7c54d80b3d8cb7791

Thanks for noting this! @Remi-Gau would you be able to add a note to the wiki metadata file formats on Octave and tsv files?

update the wiki on that issue. :-)

Opened a PR on bids-matlab to solve that problem.

I added a tsv_write function in bids-matlab. might be good to change the code example accordingly, no?
pro:

this way it works for both octave and matlab

con:

forces people to use bids-matlab

This is super useful. There may be 2 user groups here: one who just starts with BIDS/git, one who may want to join the development group in the future.
For first-time-BIDSers (assuming limited git experience), let's limit the number of packages to download and keep the read/write table option.
For people who want to join the development more, we should absolutely point to bids-matlab.
Not sure which path to take for the code examples... (e.g. start a separate octaveCode or note in the Matlab code that octave users can replace those lines with bids-matlab functions?)

This is super useful. There may be 2 user groups here: one who just starts with BIDS/git, one who may want to join the development group in the future.

Yay !!!

For first-time-BIDSers (assuming limited git experience), let's limit the number of packages to download and keep the read/write table option.

Yes I think this is actually a reasonable choice

For people who want to join the development more, we should absolutely point to bids-matlab

Well I know a couple of people who are coding bits and bobs of bids related code on matlab. I have some hope we could try to start centralizing it all in the bids-matlab repo... I don't mind leading the charge on that front but I would not want to be alone.

Not sure which path to take for the code examples... (e.g. start a separate octaveCode or note in the Matlab code that octave users can replace those lines with bids-matlab functions?)

maybe a simple try / catch in the code ? I think there is already one here and there.

+1 on centralizing in the bids-matlab repo
+1 on the try/catch in the code

Fully agree to try and have bids-matlab as the central repository for all BIDS-related MATLAB code. It would help preventing duplication of efforts and instead join efforts to build a clean and robust library.
Concerning try/catch, could you give an example of where it would be used? This might make the code less readable for a new user so perhaps a single syntax could be used in tutorials but indicating somewhere that there is a library available to deal with Octave, older MATLAB, etc?

I was thinking that since we already have some try / catch in our code scritps in this repo, we could just expand those: https://github.com/bids-standard/bids-starter-kit/blob/d4e6ed239f6f2c5623c4cfeb2f607b5c0efc3e7c/matlabCode/func/createBIDS_bold_json_full.m#L353

Talking about centralizing, I am unsure about where to put a link to some of the matlab/octave stuff my lab and I have been working on recently:

https://github.com/cpp-lln-lab/CPP_BIDS (mostly to ouput "almost BIDS" stuff when running an experiment)
https://github.com/cpp-lln-lab/CPP_BIDS_SPM_pipeline (not yet a BIDS app but I suspect this just yet another BIDS based SPM pipeline)

Closing since #281 implements bids-matlab in our code snippet and is Octave compatible


Code not compiling

Expected Behavior
Should be able to build and run
Actual Behavior
Getting the following error
# github.com/Azure/azure-amqp-common-go/aad
../../../workspace/go/pkg/mod/github.com/!azure/azure-amqp-common-go@v1.0.1/aad/jwt.go:203:44: cannot use token.ExpiresOn (type json.Number) as type string in argument to strconv.ParseInt
../../../workspace/go/pkg/mod/github.com/!azure/azure-amqp-common-go@v1.0.1/aad/jwt.go:216:69: cannot use token.ExpiresOn (type json.Number) as type string in argument to auth.NewToken

Environment

OS: ProductName:	Mac OS X ProductVersion:	10.13.6 BuildVersion:	17G65
Go version:  go1.11 darwin/amd64
Version of Library:  v1.0.1

Go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/sara/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/sara/workspace/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.11/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.11/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/mg/1d7kb3ss0jl5ndy8_3f5q08c0000gn/T/go-build066835474=/tmp/go-build -gno-record-gcc-switches -fno-common"

Env Issue.  My bad.

No worries. Don't hesitate to reach out if you have issues. You can find me or @marstr on the Gopher slack https://invite.slack.golangbridge.org in the #microsoft channel. We are always happy to help.

This looks related to the breaking change release of go-autorest 11. Were you overriding the version of go-autorest being targeted?

Tagging @jhendrixMSFT for awareness.

@devigned Sure will do. Thanks.
@marstr Yes thats right.


Unnecessary "$" sign in the default SPFx 1.14 template

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

SPFx version - 1.14.0-beta.4
Node.js version - 14.x

Describe the bug / error
The below picture describes the bug:

The default React template for<EMAIL_ADDRESS>renders an unnecessary $ sign.
Steps to reproduce

Scaffold a new React based webpart using<EMAIL_ADDRESS>gulp serve
Add the web part to a page and check out the extra $ sign.

Expected behavior
No extra $ signs in the default React-based templates.

Thank you @s-KaiNet - it has been fixed internally but didn't make it in this beta.
It will be shipped with the next update.

1.14.0-beta.5 that contains the fix is out.


Update client linking page to assign all loc codes for a client number

Currently in Myra a 'client_id'  is an id assigned to a client number + location.  This however means linking is done very granularly and often requires staff to go relink the same person to another one of their locations.
We can leave the client_id part of it alone but make sure that all the location codes are linked at once for a given client number on that page.  There will be a  separate issue for keeping them in synch in the import job.

Should be resolved by #852

@micheal-w-wells I’ve got some questions here re. removing the option to assign a different user (BCeID) to the different location codes.  Also noted that there are differences in the Step 2 drop down depending on whether you enter search text (ex. McFee) versus scroll through list without entering search text.  I can’t pin down exactly what the issue is except I wonder if it might be grouping locations based on last name (? There are two McFees but that doesn’t seem to hold if you scroll versus search Redl so not sure). I’ve attached images that show/explain my questions.

@micheal-w-wells Can you show me what's in ref_client for those two clients? (#00002178, #00033091)


Updating maxSize on a Model

We have a scenario where we request properties via paths, but those properties may instruct us to limit the max cache size on a model for memory purposes.  Currently, there is not a way to do this outside of instantiating a new model.

Added a private method (to experiment with internally). If there's broader use case demand, we can evaluate whether it makes sense to support a public method: https://github.com/Netflix/falcor/blob/master/lib/Model.js#L417


added shareable data model for aggregator and worker as it is a commo…

…n thing most of the time

LGTM

No activity here plus one LGTM


Use xref exclude to suppress undefined module warning and emit explicit warning in validate_config

https://github.com/swoosh/swoosh/pull/187#issuecomment-363884842
This way it's probably clearer for users.
cc @stevedomin

@princemaple I can take a crack at this this weekend. Only been using Elixir a few days, so may be out of my league, but happy to give it a go, especially given that I reported it.

@mikecarroll sounds great, feel free to ask questions!

Hi @mikecarroll, hope you are well!
Are you still keen on tackling this one?

No worries, I added Plug and all good. It would be good if you please add this under the MailGun doc :)
Thanks

@houmanka yep


feat: deploy modules to different namespaces

CLOSES #201
FIXES #201
📑 Description
In this PR I have added  the functionality to deploy modules to different namespace
✅ Checks

[ ] I have updated the documentation as required
[ ] I have performed a self-review of my code

ℹ Screenshots

Here you can see test-ns-module deployed in test namespace

Hey @hanshal101, what do you think about adding a collapsible section for other options? We could put the namespace option there, but also some other stuff for the future. It will hold all the options for deploying a module besides the name of the module and  the values

Cool will do this

Hey i'm not able to find and figure how can this be done, can you please help me with this?

Something like this works?

Instead of Module namespace, you can just have a Collapse that can be called options or something and inside you can set your namespace

Like this?

You can add options directly under name and remove the Define Module title

Ohk so the options should render the items?

No, I'd have the title Module name and under it name field and options collapse. Under that title Define Module which will have all the fields from the template rendered under it

Just for confirmation

Yup, that looks good. Can you make the options the same width as the name field?

I think I messed something here
Can you please help


The isScheduler() util bug is causing observables created by of() to be hanged

Bug Report
Current Behavior
The observable created by of() operator is hanged if the param object has the property name schedule with a function value.
Expected behavior
The observable created by of() operator should never hanged if the param object has the property name schedule with a function value.
This bug is quite annoying because objects with the schedule field of function type is not rare.
Reproduction

REPL or Repo link:
https://stackblitz.com/edit/rxjs-jw2uu9?file=index.ts

import { of } from 'rxjs';

const value = {
  schedule: function() {}
  //... my other data fields here
};

of(value).subscribe(console.log); // the value is never printed

Environment

Runtime: node v14.16.1
RxJS version: 7.3.0

Possible Solution
maybe to have extra/special identity field for the internal Scheduler objects in order to detect them precisely.

There's not a great deal that can be done about this, as user-land schedulers need to be supported. The test could be extended to also check for a now function as SchedulerLike extends TimestampProvider:
https://github.com/ReactiveX/rxjs/blob/9a40869c1277112a6325bedc2f3c2537404a512a/src/internal/types.ts#L182-L186
https://github.com/ReactiveX/rxjs/blob/9a40869c1277112a6325bedc2f3c2537404a512a/src/internal/types.ts#L195-L203
However, it's also worth pointing out that the of signatures that accept a scheduler are deprecated, so this issue will be resolved with their removal in the next major version:
https://github.com/ReactiveX/rxjs/blob/9a40869c1277112a6325bedc2f3c2537404a512a/src/internal/observable/of.ts#L14-L17
FWIW, a workaround for this would be:
import { from } from 'rxjs';

const value = {
  schedule: function() {}
  //... my other data fields here
};

from([value]).subscribe(console.log); // the value is printed


Use GMT for returning date/datetime values

As explained in https://github.com/ldbc/ldbc_snb_docs/commit/9d2ce24b8c524f4212462a9e2db858cde9699398, return values should use GMT. Currently, some implementations may use the local timezone (e.g. CEST) or UTC.

[ ] Neo4j/Cypher
[ ] DuckDB
[ ] Postgres
[ ] TigerGraph
[ ] Umbra

Issues resolved by #279


Add field mapping for Patient - contact:telecom

Added the contact telecom field to the patient model class, hibernate and script files.


🐛 Adjust style of progress bar label

Description
This PR change color and spacing on progress bar label and update test snapshot to fit the new file adjusted:
color: primary -> secondary
spacing: xxxsmall -> xxsmall
Screenshots:

Before
After

@all-contributors please add @LeoSilvaGomes for code


[SPARK-25047][ML] Can't assign SerializedLambda to scala.Function1 in deserialization of BucketedRandomProjectionLSHModel

What changes were proposed in this pull request?
Convert two function fields in ML classes to simple functions to avoi…d odd SerializedLambda deserialization problem
How was this patch tested?
Existing tests.

Test build #94398 has started for PR 22032 at commit 9fa9080.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1930/
Test PASSed.

Merged build finished. Test PASSed.

Test build #94398 has finished for PR 22032 at commit 9fa9080.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94398/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1932/
Test PASSed.

Test build #94400 has started for PR 22032 at commit e76cd81.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1950/
Test PASSed.

Test build #94433 has started for PR 22032 at commit 120021c.

LGTM

Merged to master