CompileTimeError: No named parameter with the name 'fontFamilyFallback' after upgrade to master, v1.1.5-pre.24

Steps to Reproduce
Use a TextStyle I assume? I don't know why it's crashing, so it's hard to find the steps to reproduce. I'll provide them when I have time and stumble across it again, but right now I have to just switch to a different branch.

Logs

I/flutter ( 7343): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter ( 7343): The following _CompileTimeError was thrown during performLayout():
I/flutter ( 7343): 'package:flutter/src/painting/text_style.dart': error: line 728 pos 7:
I/flutter ( 7343): file:///Users/thinkdigital/development/flutter/packages/flutter/lib/src/painting/text_style.dart:728:7:
I/flutter ( 7343): Error: No named parameter with the name 'fontFamilyFallback'.
I/flutter ( 7343):       fontFamilyFallback: fontFamilyFallback,
I/flutter ( 7343):       ^^^^^^^^^^^^^^^^^^
I/flutter ( 7343):       fontFamilyFallback: fontFamilyFallback,
I/flutter ( 7343):       ^
I/flutter ( 7343):
I/flutter ( 7343): When the exception was thrown, this was the stack:
I/flutter ( 7343): #0      TextSpan.build (package:flutter/src/painting/text_span.dart:170:31)
I/flutter ( 7343): #1      TextPainter.layout (package:flutter/src/painting/text_painter.dart:353:13)
I/flutter ( 7343): #2      RenderParagraph._layoutText (package:flutter/src/rendering/paragraph.dart:199:18)
I/flutter ( 7343): #3      RenderParagraph._layoutTextWithConstraints (package:flutter/src/rendering/paragraph.dart:203:5)
I/flutter ( 7343): #4      RenderParagraph.performLayout (package:flutter/src/rendering/paragraph.dart:269:5)
I/flutter ( 7343): #5      RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7343): #6      RenderFlex.performLayout (package:flutter/src/rendering/flex.dart:738:15)

Flutter Doctor -v
[✓] Flutter (Channel master, v1.1.5-pre.24, on Mac OS X 10.14.2 18C54, locale
    en-US)
    • Flutter version 1.1.5-pre.24 at /Users/thinkdigital/development/flutter
    • Framework revision 4d2d800d9e (19 hours ago), 2018-12-24 18:47:40 -0500
    • Engine revision d8c5ec0e11
    • Dart version 2.2.0 (build 2.2.0-dev.1.1 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/thinkdigital/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/thinkdigital/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[!] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    ✗ libimobiledevice and ideviceinstaller are not installed. To install with
      Brew, run:
        brew update
        brew install --HEAD usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 30.0.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1136-b06)

[!] IntelliJ IDEA Ultimate Edition (version 2018.3.1)
    • IntelliJ at /Users/thinkdigital/Applications/JetBrains Toolbox/IntelliJ
      IDEA Ultimate.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    • Dart plugin version 182.5124
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

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

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0
      (API 27) (emulator)

! Doctor found issues in 2 categories.

The line
https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/painting/text_style.dart#L719-L728
refers to ui.TextStyle but https://github.com/flutter/engine/blob/215ca15600887ffeffef2df3f216e0189159150e/lib/ui/text.dart#L377-L395 doesn't have that parameter yet.

*anymore?

but https://github.com/flutter/engine/blob/215ca15600887ffeffef2df3f216e0189159150e/lib/ui/text.dart#L377-L395 doesn't have that parameter yet.

When I click that link, I do see fontFamilyFallback right in the middle. It also seems to exist in the version of the engine in the output above:
https://github.com/flutter/engine/blob/d8c5ec0e11/lib/ui/text.dart#L386
@ThinkDigitalRepair could you try uninstalling the app from your device, running flutter clean and then testing again?

That's an interesting troubleshooting option. I can try that today. I
figured it wasn't part of the code base to start with In the new version.
It didn't show up in my project files when following the link to the
library.
On Wed, Jan 2, 2019, 7:54 AM Danny Tuppeny<EMAIL_ADDRESS>wrote:

but
https://github.com/flutter/engine/blob/215ca15600887ffeffef2df3f216e0189159150e/lib/ui/text.dart#L377-L395
doesn't have that parameter yet.
When I click that link, I do see fontFamilyFallback right in the middle.
It also seems to exist in the version of the engine in the output above:
https://github.com/flutter/engine/blob/d8c5ec0e11/lib/ui/text.dart#L386
@ThinkDigitalRepair https://github.com/ThinkDigitalRepair could you try
uninstalling the app from your device, running flutter clean and then
testing again?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/25756#issuecomment-450900482,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV-HfcK7t7tMwLERZ076jZFqR9-tmDpRks5u_NZMgaJpZM4ZhMUB
.

There are such inconsistencies sometimes on master channel.
I'd expect it to be solved by now if you ensure you have the latest update.
Ensure your Flutter install is clean https://github.com/flutter/flutter/wiki/Workarounds-for-common-issues#flutter-installation-corrupted
If not switch to dev channel and try master again after a few days if you prefer master.

An explanation of what is happening here:
There is a known bug where the version of dart::ui cached in the build/ directory is not updated. The dart::ui library is precompiled as part of the engine build, and we currently do not update it properly if the engine rolls any new changes in dart::ui.
When you did a flutter clean, the build directory was emptied and the latest version of dart::ui was downloaded.


bgp-cp: fix taking address of of loop variable

this commit fixes a bug in computing a work diff when reconciliating BGP
virtual routers.
this bug would take an address of the the loop variable and store this
which is not the correct reference when utilized later.
to fix this, just take the address of the slice's index.
Signed-off-by: Louis DeLosSantos<EMAIL_ADDRESS>Fixes a bug in the BGP control plane which causes the wrong BGP virtual servers to be selected for reconciliation or removal

Fixes a bug in the BGP control plane which causes the wrong BGP virtual servers to be selected for reconciliation or remove.

"or remove" what? :thinking:

Fixes a bug in the BGP control plane which causes the wrong BGP virtual servers to be selected for reconciliation or remove.

"or remove" what? thinking

Thanks, fixed typo, should have been "removal"

/test

/test

@pchaigno Seems like we are hitting flakes, you think we are OK to merge?

@pchaigno Seems like we are hitting flakes, you think we are OK to merge?

I didn't triage the flakes. We need to triage them before we can merge I think. It's just a matter of checking opened issues and the CI dashboard.

Whoops, thought we had. Okay will do.

/test

two failed test are unrelated to this PR. Setting ready to merge.

Was this PR marked with needs backport to v1.11 by mistake? I don't think this code exists in v1.11. Removing label.


AzStackHCI deployment results in error

This STEP is causing the below error (shown in the pic)

:-
https://learn.microsoft.com/en-us/azure-stack/hci/guided-quick-deploy-eval?tabs=global-admin&tutorial-step=3
Script is: C:\AzHCI_Sandbox\AzSHCISandbox-main\New-AzSHCISandbox.ps1

There is no way to Install chocolatey manually and restart as it breaks the Original deployment script within which multiple things happens one of which is installing the .NET Framework.
Rebooting does not restart anything and the Deployment script does not pick from where it left. Restarting the Deployment Script after reboot just ends in error saying VHDX file is locked by the process.
So this needs to be fixed in the Original Deployment Script C:\AzHCI_Sandbox\AzSHCISandbox-main\New-AzSHCISandbox.ps1

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

ID: fd049ac2-b820-f3d4-9e65-57863a0f26ad
Version Independent ID: e57d71ab-061f-03e4-c360-7d4687872916
Content: Evaluate Azure Stack HCI
Content Source: azure-stack/hci/guided-quick-deploy-eval.yml
Service: azure-stack
GitHub Login: @ronmiab
Microsoft Alias: robess

@kprpg
Thanks for your feedback! We will investigate and update as appropriate.

@kprpg
I'm going to assign this to the document author so they can take a look at it accordingly

@kprpg and @ManoharLakkoju-MSFT - Hello! This is a known issue that the product team and developers are working through. Unfortunately, there is currently no ETA. I am happy to update you at a later date when more detail is available.

@kprpg and @ManoharLakkoju-MSFT - In my communications with PMs/Devs, there have been some newer options introduced in the last month in terms of evaluating Azure Stack HCI.
Here are the latest offerings:
Deploy a virtual Azure Stack HCI, version 23H2 system - Azure Stack HCI | Microsoft Learn
Azure Arc Jumpstart

@kprpg
It looks like your issue is resolved since you closed this thread.
If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


[IT-3950] Deploy Microsoft Defender for cloud resources

This PR is a continuation of PR https://github.com/Sage-Bionetworks/infra-utils/pull/66
This will setup resources to allow Microsoft Defender for cloud service to do security scans on our AWS accounts.  The cloudformation template was provided by StackArmor.

@frsfx, updated with your suggestion and tried deploy again but still getting the same error..
Resource handler returned message: "Invalid principal in policy: "AWS":"arn:aws:iam:::role/DefenderForCloud-OidcCiem-stackArmor" (Service: Iam, Status Code: 400, Request ID: 3c365f94-f6ad-4bf5-99f1-fe5162723b5e)" (RequestToken: ed89c77b-f91b-2b3c-d363-ad6071d525ca, HandlerErrorCode: InvalidRequest)

@zaro0508 Did the template complete successfully?


Usage section

Hi! Thanks for the Nuxt module!
Would it be possible to add a Usage section in the readme?
Also, the playground seems to not work on Stackblitz: https://stackblitz.com/github/Mini-ghost/nuxt-svgo-loader/tree/main?file=README.md
I think it would also be nice to make it working + link in the readme as well as showing an example (seems the index page is empty)

Hi! Thank you for your feedback and for bringing these points to my attention. I've addressed the issue with the playground on Stackblitz and ensured that it now works properly. Additionally, I've added a Usage section in the readme to provide clear guidance on how to use the Nuxt module.
Stackblitz: https://stackblitz.com/github/Mini-ghost/nuxt-svgo-loader/tree/main?file=README.md
I'd also like to extend my gratitude to the Nuxt core team for providing us with such an exceptional framework. It's truly a pleasure to work with Nuxt.


RTMClient v2 - OSError: [Errno 9] Bad file descriptor

RTMClientv2 regularly disconnects. (26 times in a 24 hour period).
Reproducible in:
The Slack SDK version
slack-sdk==3.3.1
Python runtime version
Python 3.8.7
OS info
Linux 5.4.97-gentoo #1 SMP
Steps to reproduce:
Run the RTMClientv2 for extended periods of time.
Expected result:
The connection should remain established and only disconnect when the Slack server sends a goodbye event (after approximately 8 hours) or when there is a network disruption.
Actual result:
There doesn't appear to be any goodbye event sent to trigger a disconnect.  The disconnection issue only affects RTMClientv2 but not Events Socket Mode client.  The bot is idle when the error occurs.
2021-02-15 16:51:17,915 DEBUG    slack_sdk.rtm.v2          Message processing completed (type: hello)
2021-02-15 17:28:09,571 INFO     slack_sdk.rtm.v2          The connection seems to be stale. Disconnecting... (session id: ae73a7cb-f2f0-41cd-ad7d-ced66fde6717)
2021-02-15 17:28:09,636 ERROR    slack_sdk.rtm.v2          on_error invoked (session id: ae73a7cb-f2f0-41cd-ad7d-ced66fde6717, error: OSError, message: [Errno 9] Bad file de
scriptor)
Traceback (most recent call last):
  File "/opt/errbot/lib/python3.8/site-packages/slack_sdk/socket_mode/builtin/connection.py", line 255, in run_until_completion
    ] = _receive_messages(
  File "/opt/errbot/lib/python3.8/site-packages/slack_sdk/socket_mode/builtin/internals.py", line 131, in _receive_messages
    return _fetch_messages(
  File "/opt/errbot/lib/python3.8/site-packages/slack_sdk/socket_mode/builtin/internals.py", line 154, in _fetch_messages
    remaining_bytes = receive()
  File "/opt/errbot/lib/python3.8/site-packages/slack_sdk/socket_mode/builtin/internals.py", line 125, in receive
    received_bytes = sock.recv(size)
  File "/usr/lib/python3.8/ssl.py", line 1228, in recv
    return super().recv(buflen, flags)
OSError: [Errno 9] Bad file descriptor
2021-02-15 17:28:09,636 INFO     slack_sdk.rtm.v2          The connection has been closed (session id: ae73a7cb-f2f0-41cd-ad7d-ced66fde6717)
2021-02-15 17:28:09,637 INFO     slack_sdk.rtm.v2          Stopped receiving messages from a connection (session id: ae73a7cb-f2f0-41cd-ad7d-ced66fde6717)
2021-02-15 17:28:09,637 INFO     slack_sdk.rtm.v2          The session seems to be already closed. Going to reconnect... (session id: ae73a7cb-f2f0-41cd-ad7d-ced66fde6717)
2021-02-15 17:28:09,637 INFO     slack_sdk.rtm.v2          Connecting to a new endpoint...
2021-02-15 17:28:10,215 INFO     slack_sdk.rtm.v2          The connection has been closed (session id: ae73a7cb-f2f0-41cd-ad7d-ced66fde6717)
2021-02-15 17:28:10,215 INFO     slack_sdk.rtm.v2          A new session has been established (session id: 55954e5b-0b93-4c11-b515-362c90bf59f5)
2021-02-15 17:28:10,215 INFO     slack_sdk.rtm.v2          Connected to a new endpoint...
2021-02-15 17:28:10,638 INFO     slack_sdk.rtm.v2          Starting to receive messages from a new connection (session id: 55954e5b-0b93-4c11-b515-362c90bf59f5)
2021-02-15 17:28:10,639 DEBUG    slack_sdk.rtm.v2          on_message invoked: (message: {"type": "hello", "region":"eu-central-1", "start": true, "host_id":"gs-fra-angr"})
2021-02-15 17:28:10,639 DEBUG    slack_sdk.rtm.v2          A new message enqueued (current queue size: 1)
2021-02-15 17:28:10,639 DEBUG    slack_sdk.rtm.v2          A message dequeued (current queue size: 0)
2021-02-15 17:28:10,639 DEBUG    slack_sdk.rtm.v2          Message processing started (type: hello)
2021-02-15 17:28:10,644 DEBUG    slack_sdk.rtm.v2          Message processing completed (type: hello)
2021-02-15 18:34:23,979 INFO     slack_sdk.rtm.v2          The connection seems to be stale. Disconnecting... (session id: 55954e5b-0b93-4c11-b515-362c90bf59f5)
2021-02-15 18:34:24,127 ERROR    slack_sdk.rtm.v2          on_error invoked (session id: 55954e5b-0b93-4c11-b515-362c90bf59f5, error: OSError, message: [Errno 9] Bad file descriptor)
Traceback (most recent call last):
  File "/opt/errbot/lib/python3.8/site-packages/slack_sdk/socket_mode/builtin/connection.py", line 255, in run_until_completion
    ] = _receive_messages(
  File "/opt/errbot/lib/python3.8/site-packages/slack_sdk/socket_mode/builtin/internals.py", line 131, in _receive_messages
    return _fetch_messages(
  File "/opt/errbot/lib/python3.8/site-packages/slack_sdk/socket_mode/builtin/internals.py", line 154, in _fetch_messages
    remaining_bytes = receive()
  File "/opt/errbot/lib/python3.8/site-packages/slack_sdk/socket_mode/builtin/internals.py", line 125, in receive
    received_bytes = sock.recv(size)
  File "/usr/lib/python3.8/ssl.py", line 1228, in recv
    return super().recv(buflen, flags)
OSError: [Errno 9] Bad file descriptor
2021-02-15 18:34:24,127 INFO     slack_sdk.rtm.v2          The connection has been closed (session id: 55954e5b-0b93-4c11-b515-362c90bf59f5)
2021-02-15 18:34:24,131 INFO     slack_sdk.rtm.v2          Stopped receiving messages from a connection (session id: 55954e5b-0b93-4c11-b515-362c90bf59f5)
2021-02-15 18:34:24,131 INFO     slack_sdk.rtm.v2          The session seems to be already closed. Going to reconnect... (session id: 55954e5b-0b93-4c11-b515-362c90bf59f5)
2021-02-15 18:34:24,132 INFO     slack_sdk.rtm.v2          Connecting to a new endpoint...

Hi @nzlosh, thanks for taking the time to share this! I will take a look at this.

Thanks again for reporting this. I will release a new version including the fix for this issue soon.

slack-sdk v3.4.0 is now available: https://pypi.org/project/slack-sdk/3.4.0/
Thanks for your feedback on this issue. Please let us know if you find any issues with the new version.

Thank you for resolving this so quickly!


[dx12] Full image kind support for view creation

Fixes #1842
PR checklist:

[ ] make succeeds (on *nix)
[ ] make reftests succeeds
[ ] tested examples with the following backends:

Wasn't able to test it on that machine, but nothing suspiciously wrong.

@msiglreith PTAL


Build CBC with --enable-cbc-parallel option

This enables multithreading support for 'unix' platforms and has
been tested to work on macOS.
However, project configs relating to Makefile.third_party.win.mk
have not been similarly modified.
Addresses issue #180.

I signed it!

Hi, thanks for the patch need to check how this option is managed by Cbc (i.e. do we need to enable pthreadish option too)
According to a quick (partial) grep
$ cd /dependencies/sources/Cbc-2.9.9
$ grep --color -rIin "\--enable-cbc-parallel" .
...
./Cbc/configure.ac:184:                [AC_MSG_WARN([--enable-cbc-parallel selected, but --with-pthreadsw32-lib not given])
./Cbc/configure.ac:191:                [AC_MSG_WARN([--enable-cbc-parallel selected, but --with-pthreadsw32-incdir not given])])
./Cbc/configure.ac:198:                 [AC_MSG_WARN([--enable-cbc-parallel selected, but -lrt unavailable; using gettimeofday instead of clock_gettime])])
./Cbc/configure.ac:203:                 [AC_MSG_ERROR([--enable-cbc-parallel selected, but -lpthreads unavailable])])
...

So maybe we should also check avaibility and provide pthread to Cbc
personal note: need to check if my Cbc CMake port is compiled with parallel stuff...

Almost certain pthreadsw32 is win32 stuff, but same sort of check as pthreads, i.e. whether the system can create threads.
I understand the concern here -- the build shouldn't fail on account of this extra flag. In case the system can't create threads and you want the build to continue without that flag, I suppose you'd have to check the same in the ortools build itself and adjust the argument accordingly. It wouldn't be useful to pass -lpthreads since that assumes you can find the library and that it does exist. Alternatively, another way is to enable/read a key like UNIX_CBC_PARALLEL in Makefile.local and use that to decide whether to pass --enable-cbc-parallel in the 'unix' version.

Hi, I've built this version for python. But I can't see it using all the processes. Can you please clarify, if I need to make any changes in the code.

@pank3992 This change only enables multithreading support in the CBC library that ortools depends on. Additional parameters need to be passed at runtime to make use of it and ortools doesn't support that yet. I have an ongoing PR for that (#638), and there is an also a couple of tracking issues (#57, #672)

thank you @yingzong for the quick response.

Thanks to https://github.com/google/or-tools/commit/6daa710a8eaa80fa577247c079aafa18b1931909 it should be possible to enable multi thread.
Todo: write an example how to pass the parameter in all languages


add path for unmasked fasta

Hey @hopedisastro, I talked to @lgruen about this, and realistically we don't want to store this reference, and in fact we should store the "reference" with the cram analysis object, so you're able to just look it up in analysis['meta']['reference'] in the future.
See this issue: https://github.com/populationgenomics/production-pipelines/issues/305
And I'll close this PR for now.


[type: new feature] adding integration test workflow

Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)
It is inevitable that there are problems in the code of manual review. Adding integration test workflow can effectively solve this problem.
Describe the solution you'd like (描述你期望的解决方法)
Adding integration test workflow, it is recommended to reuse the code below https://github.com/apache/incubator-brpc/tree/master/example . At present, I am not familiar with C++ and brpc. I hope that the master can complete it.
Describe alternatives you've considered (描述你想到的折衷方案)
Additional context/screenshots (更多上下文/截图)

This is a good idea, brpc does not have integration tests yet. However, some existing unit tests are complex enough to cover integration scenarios, such as test/brpc_channel_unittest.cpp. Maybe we can extract these cases separately to make an integration test set.

Agree, the main purpose of integration test is to ensure that the new PR will not lead to the failure of important features.


Updated What's New bullet points for E109

I have updated the bullet points for the 109 release.

Notice that the PR is against the wrong branch:

Sorry!


Make "Featured Events" Section Responsive

The "Featured Events" section does not adapt well on different screen sizes, which impacts the user experience on smaller devices. When viewed on mobile or tablet screens, the event cards and content overflow, and the layout is not optimized for responsive display.

please assign me this under hactoberfest


python313Packages.twisted: 24.10.0 -> 24.11.0

https://github.com/twisted/twisted/blob/twisted-24.11.0/NEWS.rst
This notably fixes a regression causing unix sockets to stop working: https://github.com/twisted/twisted/issues/12365
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

The number of rebuilds is normally too high for master, but hydra is fairly idle and not being able to proxy http over UDS is a major road block for most apps using twisted.


Create AWS CoMPAS demo environment architecture

Create an architecture to run CoMPAS on AWS for demo purposes and define the next steps.
Todo:

[x] Link AWS account to LF energy
[x] Create issues for the next steps

Acceptance criteria
URL: demo.compas.energy
(if possible/needed): Login with your LF account
To test: https://auth0.com/
Start with an AWS SSO/internal identity provider (and switch later)
Every one that logs in get admin access (full read/write)
Use https (via Let's encrypt)
Contact @jmertic to get an URL redirects / DNS changes etc
No nsdoc files hosted on the demo instance
Ask @dlabordus for insights into the current (non public) setup
Automate deployment (including description)

New stories:
AWS SSO
Load balancer
Deployment of containers
LF energy SSO

Created seperated issues


[OSINT Web Check] parsing security.txt

Extension
https://www.raycast.com/gksander/osint-web-check
Description
https://securitytxt.org
The security.txt document (commonly found at https://{domain}/.well-known/security.txt) provides information on who to contact regarding security problems on a website.
It would be nice to view this information in the plugin.
Examples of such documents:
https://www.youtube.com/.well-known/security.txt
https://www.facebook.com/.well-known/security.txt
https://www.apple.com/.well-known/security.txt
Who will benefit from this feature?
People interested in finding out more information about a website.
The information already provided in this plugin is very helpful to security researchers, adding this piece of information makes it a little more useful.
Anything else?
No response

Yes! This should absolutely be added, I'll work on getting that added in once I get some bandwidth (should be a pretty light task)

Thanks for the quick implementation 😄 seems to work like a charm.


UX: Config downloads without .txt extension

This is a sort of improvement where files downloaded using JavaScript have their extension kept as-is (without appending an extra ".txt" to the end of the file name).
Please note that while this did fix the issue for me on Brave for Android and Brave for Linux, I am unsure of implications that might be caused by not wrapping the following text into a base64 encoding or anything alike.

thanks


Fix btc/zcash proofs

Fix continue button always disabled (changed to always be enabled), it will verify address on submit/continue (since input is now handled in state)
Fix post proof route
Also fixing paper key floating hint text (unrelated bug I noticed)

@keybase/react-hackers

The commits cc987cbf656d...1944ca7cf7b2 introduce visual changes on linux. :mag_right: 1 changed

Changed: Chat_Input-Emoji_Open (before) (after)


add zext and trunc to builder

It would be helpful to have zext and trunc available from the builder, they are corresponding to LLVMBuildTrunc and LLVMBuildZExt

sext and zext are part of #282

Fixed in #291


add DnsServer attribute to xDNSRecord fixes #42

A simple fix as suggested by the issue record.
I assume that the base "PSDSCCredential" mechanism is the preferred way to pass in credentials, thus have not created a 'Credential' attribute.  Is that correct, or does this create an unwanted dependency with WMF5?

This change is

Hi @kewalaka, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;

pull request already existing for this


Fix small typos, issues, and inconsistencies

One other typo I noted:

A full description can be found below under Data and schema.
This is actually a link to a different page rather than a section of the same page.

Suggestion: A full description of the data and schema can be found here.

One other typo I noted:

A full description can be found below under Data and schema.

This is actually a link to a different page rather than a section of the same page.
Suggestion:

A full description of the data and schema can be found here.

This feels like a bigger change with other questions so probably best outside of this PR.


Update tracker core docs to 3.5.0

Noticed that the Readme does not reflect tracker core 3.5.0 so I have updated them accordingly

Thanks for your pull request. Is this your first contribution to a Snowplow open source project? Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://docs.snowplowanalytics.com/docs/contributing/contributor-license-agreement/ to learn more and sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.

CLA signed, thanks

Confirmed! @SamSeabourn has signed the Contributor License Agreement. Thanks so much.

Great spot @SamSeabourn!
We'll make sure to merge this in with the next release.


Bulk download for all members of a project results in corrupted zip archives

Description
We wanted to download the files of our TeQfor1-project's  members via the CLI call
ohproj-download --master-token OH_TOKEN --directory INPUT_PATH
Downloads runs fine, no error messages or aborts. However, some of the members' data are "corrupted", i.e., the zip-archives are not readable and only have a file size of 50 Bytes.
A cross check with one of our project member revealed the data were uploaded correctly (checked it via the website -> My data).
@gedankenstuecke and I already had a brief mail exchange on that one. @gedankenstuecke suggested to move to single member download as a workaround. Nevertheless, for the sake of documentation and completeness I wanted to open the issue here.

Yep, that would be the expected return error one gets when the download link has expired.
Currently the command generates all download links for each and every project member at the start of the process, which means the clock runs from the very beginning the same for each member. We can check how to adapt the code that it does it member-by-member instead :-)

I didn't get around to fixing the issue yet, but isolated where the problem occurs:
When provided with a master_access_token, the CLI tool runs the following:
https://github.com/OpenHumans/open-humans-api/blob/af3179576540589d5b4ca0675302d246e8006944/ohapi/command_line.py#L122-L123
This in turn triggers the init method of the OHProject:
https://github.com/OpenHumans/open-humans-api/blob/af3179576540589d5b4ca0675302d246e8006944/ohapi/projects.py#L17-L24
And in turn the update_data call of the OHProject immediately turns the master access token in the complete list of file download-URLs here:
https://github.com/OpenHumans/open-humans-api/blob/af3179576540589d5b4ca0675302d246e8006944/ohapi/projects.py#L49-L51
The resulting data is then stored in the OHProject.project_data attribute and never refreshed. As this happens as one of the first things in the download method the later links can already be expired by the time the download actually comes around for them.
Investigating a solution will maybe take a bit more than just finding the problem, as I'm not 100% sure where else the update_data function is used and whether reworking that one might have unintended consequences down the road.


laser_proc: 0.1.4-1 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository laser_proc to 0.1.4-1:

upstream repository: git://github.com/ros-perception/laser_proc.git
release repository: https://github.com/ros-gbp/laser_proc-release.git
distro file: melodic/distribution.yaml
bloom version: 0.6.6
previous version for package: null

laser_proc
* Install fix for Android.
* Contributors: Chad Rockey

Oops, don't merge this, there's a configuration change that never got tagged for a release.


Got an "error launching browser". Chrome already installed.

"Error launching browser
An error occurred when launching the browser. (error Unknown) Form more information, see Toubleshooting Live Preview connection errors."
This error occurs after fresh install with first sample page. Chrome is already installed (but after i installed Brackets).
How can I start resolving this ?

Thanks....this forum solved my issue....

Steezeburger, yo da man!!! Thanks!

@steezeburger Thanks!!! It's work!

@andruska

Menu item Debug > Show Developer Tools doesnt give any feedback, console doesnt appear. Also when pressing F12.

Solution (if Google Chrome is already installed, but F12 still not work):
ln -s /opt/google/chrome/google-chrome /bin/google-chrome
Note: you will probably need to run as root
This adds the proper symlink. Confirmed working Sabayon Linux 16.02
I found this solution from here #7372

@GreenRobot777 , I have met the same problem,but cant understand how to find the bin directory; can you tell me how to solve this problem in detail?

@danranwf I used complete paths in my snippet so it should work. If it can't find Chrome there then you may have other issues.

@bhill010 In general, only stable Chrome is supported for Live Preview. FYI, canary and stable versions are changing all the time, so you might want to try the latest stable version.
If you still can't run stable Chrome, try turning on File > Enable Experimental Live Preview which works with any browser. I opens in your default browser and you can paste the url into any other browser.

Excellent, tested with Manjaro 4, Chrome 54 and Brackets 1.8, you must only create a symbolic link:
sudo ln -s / bin / google-chrome-stable / bin / google-chrome

Can also confirm that the "sudo ln -s ..." command to create the symlink in /bin works under the latest Solus (2<IP_ADDRESS>).

Was glad to find this as it helped correct my issues.  One thing to note though, it's not traditional to create symlinks in /bin for non-system software.
sudo ln -s /opt/google/chrome/google-chrome /usr/local/bin/google-chrome
will create the appropriate symlink on arch linux and keep the symlink in a standard location.


Error while running the demo.py on Custom Dataset

So I have a custom dataset and few labels belonging to just one class. I also created the prototypes of that class using the build_prototype.ipynb but when iItry using the demo.py to run the model on my custom images and using the custom prototypes I get the following errors:
Traceback (most recent call last):
  File "./demo/demo.py", line 262, in <module>
    fire.Fire(main)
  File "/opt/conda/lib/python3.8/site-packages/fire/core.py", line 141, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "/opt/conda/lib/python3.8/site-packages/fire/core.py", line 475, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
  File "/opt/conda/lib/python3.8/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
  File "./demo/demo.py", line 212, in main
    output = model(batched_inputs)[0]
  File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/workspace/viztel/roller-grill-ocr/models/label-detector/devit/./demo/../detectron2/modeling/meta_arch/devit.py", line 1168, in forward
    other_classes = interpolate(other_classes, self.T, mode='linear') # (Nxclasses) x spatial x T
  File "/workspace/viztel/roller-grill-ocr/models/label-detector/devit/./demo/../detectron2/modeling/meta_arch/devit.py", line 86, in interpolate
    return F.interpolate(seq, T, mode=mode)
  File "/opt/conda/lib/python3.8/site-packages/torch/nn/functional.py", line 3945, in interpolate
    return torch._C._nn.upsample_linear1d(input, output_size, align_corners, scale_factors)
RuntimeError: Input and output sizes should be greater than 0, but got input (W: 0) and output (W: 128)

Got the solution from a different closed issue.


Convert Lists to ModelClass objects is incorrect

I notice that use 'fromMap' to convert json who contain list Model to dart List Model is not work.
It works OK, after i modify some code.

the following illustrate is Inappropriately

it should be:
 List<Person> persons = fromMap([{"id": 1, "name": "John Doe"}], [List<Person>(), Person]);

modify the '_convertValue' function code in deserializer.dart of dson_core

  append ' = valueType[0]; ' after 'var receiver'
Then it works well.
BTW: i think the Map conversion has same issue.

sorry, it is a legacy documentation problem, the correct way of converting should be:
List<Person> persons = fromMap([{"id": 1, "name": "John Doe"}], [() => List<Person>(), Person]);


Merge lines in direction error

Merge lines in direction produces this rather incomprehensible error if there is a line that starts and ends at the same point:
Calculating feature informations...
Merging lines...
Saving output...
Traceback (most recent call last):
File "C:\Users/alister/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\lftools\processing_provider\Vect_DirectionalMerge.py", line 334, in processAlgorithm
fet.setGeometry(QgsGeometry.fromPolylineXY(item[0]))
TypeError: index 0 has type 'float' but 'QgsPointXY' is expected

Execution failed after 0.01 seconds

"Lines to Polygon" also produces an error if there is a line that starts and ends at the same point.
I note that the "native" (built in) QGIS "lines to polygons" algorithm doesn't error in this case.

Ah, yes, it seems it doesn't do it with every "line that starts and ends at the same point".  But here is an example.
example9.zip

I note also that it generally doesn't join lines which would form (or already are) a feature with two vertexes at the same point, except if it is the first and last points.  Here is a file to demonstrate.
example2.zip


Using the dropdown with a value already selected only shows the already-selected option

Screenshot

Reproduction steps

Set up a progressively-enhanced select element with a dropdown arrow
Select an item
Click on the dropdown arrow
I can only see the item I have already selected

What I expect to happen
When I'm clicking on the dropdown arrow, expect to see all the available options (as if the box was clear), instead of just being able to choose the option I've already chosen.

Thanks @alecgibson.
What I think should happen is that when you click on the arrow, it should select all content in the input (as it does if you focus the input), but also show all entries. This allows the user to start typing to use the autocomplete.

If a select box is enhanced, users still expect it to behave as a select box and show all values (if showAllValues is true) when clicking/dropping down


add scala 2.13 and remove 2.10

looks like travis is choking on installing the jdk:
Installing oraclejdk8
$ export JAVA_HOME=~/oraclejdk8
$ export PATH="$JAVA_HOME/bin:$PATH"
$ ~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL"
Ignoring license option: BCL -- using GPLv2+CE by default
install-jdk.sh 2019-09-17
Expected feature release number in range of 9 to 14, but got: 8
The command "~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL"" failed and exited with 3 during .

I'll remove the 2.10 travis builds too, since this PR removes 2.10 elsewhere

Thanks for the PR! I'm not actively working with Scala and I don't have a local environment setup right now, it might take me a bit longer to publish this once it's merged. We might want to change the default version to 2.13 instead, and then crosscompile against 2.12 and 2.11.

Also if you could update the versions in the README I'd appreciate it :)

with travis, openjdk seems to be better supported than oraclejdk - could you try changing .travis.yml to use openjdk8?

Going to merge this and fix travis afterwards. Thanks for the PR :+1:

Released v0.4.3 with Scala 2.13 support.


/text/template/parse package should be move to /internal/templateparse

On https://golang.org/pkg/text/template/parse/ the docs say

Package parse builds parse trees for templates as defined by text/template and html/template. Clients should use those packages to construct templates rather than this one, which provides shared internal data structures not intended for general use.

If they are shared internal data structures and not intended for general use, they shouldn't be available to be imported by Go programs and so the package should move to /internal/templateparse

This has been discussed before. The parse package has many users, even if it was not intended to. It may break, but we still try not to.


"A Link to the Stars" quest not possible to complete (as written)

In the current version of the modpack as published and available through the Twitch launcher, it is not possible to finish the quest, "A Link to the Stars". The directions from the quest book say to use the Linking Tool to link one of the floating crystals in the Aether to Iron Ore from Misty World to convert it to Starmetal Ore. The linking process happens, and the visual effects show the crystal linked to the Iron Ore, but it never converts to Starmetal Ore. Have waited for over 10 minutes, and nothing happens.
Edit: The floating crystal apparently needs direct sky access which does not occur naturally, and is not noted as part of the quest materials. So the quest can be completed, just not as written.

I would point out sky access is noted in the astral tome, and also sky access is important for just about everything in astral sorcery, there are some exceptions, but those are relatively rare.

As I've mentioned elsewhere, you should not make assumptions about a player's familiarity with any given mod in the pack. Does it mention that in the Astral Tome? Yes, albeit I don't remember where I dug through it and found it significantly after the fact.  If there are pre-requisites for completing a task in the quest book, they should either be noted, or the player guided to where the information can be found.
In this specific instance, things look like they should be working; the chat message shows that the block gets linked, you get the particle effect showing the crystal linked to the block, and then nothing. I would never have thought to check the book for further information about something that looks like it is working.
Since the modpack makes some pretty significant changes to the default behavior of several of the mods, just directing them to the in game book of each mod isn't always helpful or sufficient, as some things will simply not exist as described there.

resolved by https://github.com/thephoenixlodge/Heavens-of-Sorcery/commit/9e219385bcfd683c1a5295b0283cf7a37fe90ea2


[Question]: how to change the color of objects at runtime (set_property?)

Hi,
First of all, thanks for making this library. To the point, I wanted to change at runtime the color of some objects in the visuaslization. I see there's a set_property function in Meshcat.h, but the only value it accepts is boolean. How could I modify the code or add this functionality to change the property color of the material? (if possible).
Thanks in advance.

Hi @wpumacay! Thank you for using the library! And sorry for missing the message.
As you noticed, the 'Meshcat' class in the provided section of the code still relies on 'Meshcat::Impl' to implement its functionality.
https://github.com/ami-iit/meshcat-cpp/blob/a84be7add7f344d61e615bee7f26e6a7d5444f2a/src/Meshcat.cpp#L394-L397
Still Meshcat::Impl implements
https://github.com/ami-iit/meshcat-cpp/blob/a84be7add7f344d61e615bee7f26e6a7d5444f2a/src/Meshcat.cpp#L230-L243
So, in theory, we may just have:
template <typename T>
void Meshcat::set_property(std::string_view path, const std::string& property, const T& value)
{
     this->pimpl_->set_property(path, property, value);
}

Indeed, 'set_property' creates a 'PropertyTrampoline' that is used to serialize the message that is sent to the server. Here is the link to that part of the code.
The following data structures are supported by default. You can find more information about them here.
So, in conclusion, a possible strategy is:

Implement template <typename T>
 void Meshcat::set_property(std::string_view path, const std::string& property, const T& value)
 {
      this->pimpl_->set_property(path, property, value);
 }

and remove the void Meshcat::set_property(std::string_view path, const std::string& property, bool value)
Use the function as follows meshcatViz.set_property("/path/to/the/object", "color", {255, 241, 17});

You can find the list of possible properties in https://github.com/meshcat-dev/meshcat#programmatic-api

Thank you!


Regression: Fossils are not translated anymore

Describe the bug
It seems the fossiles are not translated anymore (all languages except english)
Screenshots

Desktop (please complete the following information):

OS: Ubuntu 18.04
Browser Chrome

Smartphone (please complete the following information):

Device: OnePlus 6
OS: Android

Fixed!


Sdl Dpi awareness on Windows / multiple monitors

An issue raised by Bernard Harmel:

I just discovered your repo https://github.com/pthom/rpn_calculator and the helloimgui sdk https://github.com/pthom/hello_imgui. Great job, thank you ! I compiled the calculator under windows and everything was ok !
After that I use helloimgui with sdl instead of glfw (-DHELLOIMGUI_WITH_SDL=ON) and with this setting i have an issue, the gui of the calculator is clipped and I can't see the whole ui even if i maximize it. I have a resolution of 3840x2160 (4K)  perhaps it is the source of my problem.

I found the origin of my problem. It is related to my 4K resolution and mainly to the value of System>Display>Scale & Layout setting. With 4K res, the recommended scale value is 150% and causes my issues. If I set it to 100% the ui is fine.
How is it possible to solve this issue because I need to set the window scale setting to 150%, without this every thing is too small and this is the recommended value :-)

calling SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE); seems to fix the issue.
Any ideas why ?

Hi,
I cannot reproduce the issue on my side.
You told me that calling SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE); seems to fix the issue.
Can you confirm whether modifying hello_imgui/src/hello_imgui/internal/backend_impls/backend_window_helper/win32_dpi_awareness.cpp like this (removing two return) does solve the issue for you?
    // Helper function to enable DPI awareness without setting up a manifest
    void ImGui_ImplWin32_EnableDpiAwareness()
    {
        // Make sure monitors will be updated with latest correct scaling
        // if (ImGui_ImplWin32_Data* bd = ImGui_ImplWin32_GetBackendData())
        //    bd->WantUpdateMonitors = true;

        if (_IsWindows10OrGreater())
        {
            static HINSTANCE user32_dll = ::LoadLibraryA("user32.dll");  // Reference counted per-process
            if (PFN_SetThreadDpiAwarenessContext SetThreadDpiAwarenessContextFn =
                    (PFN_SetThreadDpiAwarenessContext)::GetProcAddress(user32_dll,
                                                                       "SetThreadDpiAwarenessContext"))
            {
                SetThreadDpiAwarenessContextFn(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2);
                return;      //         REMOVE THIS RETURN
            }
        }
        if (_IsWindows8Point1OrGreater())
        {
            static HINSTANCE shcore_dll = ::LoadLibraryA("shcore.dll");  // Reference counted per-process
            if (PFN_SetProcessDpiAwareness SetProcessDpiAwarenessFn =
                    (PFN_SetProcessDpiAwareness)::GetProcAddress(shcore_dll, "SetProcessDpiAwareness"))
            {
                SetProcessDpiAwarenessFn(PROCESS_PER_MONITOR_DPI_AWARE);
                return;      //         REMOVE THIS RETURN ??
            }
        }
#if _WIN32_WINNT >= 0x0600
        ::SetProcessDPIAware();
#endif
    }


[MNT] Exclude results loading notebook

The notebook loads data from an external source, so we should not run it in our CI. It is currently failing, but this is multiple PRs currently so it may require looking at if its not an external issue @TonyBagnall.

resolved now, but agree it should be excluded


Repo restructure 4 - labservices, imagebuilder, edgegateway, documentdb, deploymentmanager

git mv azure-mgmt-deploymentmanager/ sdk/deploymentmanager/azure-mgmt-deploymentmanager
git mv azure-mgmt-documentdb/ sdk/cosmos/azure-mgmt-documentdb
git mv azure-mgmt-edgegateway/ sdk/edgegateway/azure-mgmt-edgegateway
git mv azure-mgmt-imagebuilder/ sdk/imagebuilder/azure-mgmt-imagebuilder
git mv azure-mgmt-labservices/ sdk/labservices/azure-mgmt-labservices
dev_requirements updated. no docsettings changes.

Can one of the admins verify this patch?

@Azure/azure-sdk-eng


Add unpdf for cloudflare support - pdfjs-dist gives ERRORS

https://airesearch.js.org/functions/convertPDFToHTML.html
Adds footnote and headings.
https://github.com/johannschopplich/pdfjs-serverless
It is better bc it supports more environemnts.
Current version wont compile, error Cannot find pdfjs-dist build
Added PR: https://github.com/opengovsg/pdf2md/pull/96/files

Fixed by #96


Air pollution prediction

Description
Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.
Fixes #508
Replace issue_no with the issue number which is fixed in this PR
Have you read the Contributing Guidelines on Pull Requests?

[ ] Yes
[ ] No

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Documentation Update

Checklist:

[ ] My code follows the style guidelines(Clean Code) of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[ ] My documentation follows Template for README.md
[ ] My changes generate no new warnings
[ ] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works.

@Pranjal-2001 updates?

I am working on it sir
On Sun, 21 Mar 2021, 9:31 am Kaustubh Gupta, @.***>
wrote:

@Pranjal-2001 https://github.com/Pranjal-2001 updates?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/avinashkranjan/Amazing-Python-Scripts/pull/650#issuecomment-803508347,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APBWVGYXNIWTFS5MFOMB3ADTEVVSLANCNFSM4ZMSMKVA
.

@Pranjal-2001 you need to make the changes today only else this issue will be assigned to someone else

Could you please check the changes I made?
On Tue, 23 Mar 2021, 9:26 am Kaustubh Gupta, @.***>
wrote:

@Pranjal-2001 https://github.com/Pranjal-2001 you need to make the
changes today only else this issue will be assigned to someone else
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/avinashkranjan/Amazing-Python-Scripts/pull/650#issuecomment-804597303,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APBWVG43COH5GHDDZYTF4SDTFAGN3ANCNFSM4ZMSMKVA
.

Wait, in the issue description, you mentioned that it is based on Python and tensorflow:
The aim behind this project is to predict air pollution index.
The code will be tested under Python and Tensorflow.
I am a participant of GSSOC'21.
Can i please work on it?

I am asking this because I assigned this issue level3 in lieu of any ML model. Forget about the ML model, this is a simple GET request to an API. @antrikshmisri @santushtisharma10 what should we do now? Decrease level of issue, suggest GUI for this request app or anything else?

@kaustubhgupta Right , this doesn't implement ML in any way its a simple GET request. I think it would be appropriate to just decrease the level.

I agree with @antrikshmisri, we should decrease the level.

I agree with @antrikshmisri, we should decrease the level.

Level 1 ?

I agree with @antrikshmisri, we should decrease the level.

Level 1 ? As it's non gui

Yes 👍

I agree with @antrikshmisri, we should decrease the level.

Level 1 ? As it's non gui

Yes 👍

okay, done

@Pranjal-2001 Did you look at the suggested changes?

Yes sir I created a PR
On Thu, 25 Mar 2021, 10:12 am Kaustubh Gupta, @.***>
wrote:

@Pranjal-2001 https://github.com/Pranjal-2001 Did you look at the
suggested changes?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/avinashkranjan/Amazing-Python-Scripts/pull/650#issuecomment-806358844,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APBWVGZWDQTD3BAGKLMKHQ3TFK5KFANCNFSM4ZMSMKVA
.

@Kushal997-das


Correct typo

Hi can you please sign our CLA and make sure that the commit message matches the standard?
https://docs.google.com/forms/d/1Npd68d32UDUKUYuCDDrW0VN5Lv8p-a6Ziaa2JFKp6Cg/viewform?c=0&w=1
Contributing to Aurelia
Thanks for the contribution!

Done.
On Tue, Dec 15, 2015, 1:09 PM Patrick Walters<EMAIL_ADDRESS>wrote:

Hi can you please sign our CLA and make sure that the commit message
matches the standard?
https://docs.google.com/forms/d/1Npd68d32UDUKUYuCDDrW0VN5Lv8p-a6Ziaa2JFKp6Cg/viewform?c=0&w=1
Contributing to Aurelia
https://github.com/DurandalProject/about/blob/master/CONTRIBUTING.md
Thanks for the contribution!
—
Reply to this email directly or view it on GitHub
https://github.com/aurelia/validation/pull/190#issuecomment-164843644.

@MarkHerhold Sorry to ask but can you also make sure the commit message matches what we need?  it should be formatted something like this (so we can generate the changelog) chore(docs): correct type

@PWKad Please pull this in some time. I am tired of looking at it. :)

@MarkHerhold As I mentioned need to correct the commit message in line with the contributions guidelines :)  I can do so but it will not show you as the committer anymore.

@PWKad Oh. I apologize for my stupidity. I changed the PR title, not the commit message. :/

see PR #215

No worries thanks for the help!  We use the commit messages to generate a change log and when they don't match they can break log creation >.<


[GLUTEN-1632][CH]Daily Update Clickhouse Version (20230919)

Auto commit by gluten daily build, please check the build status and merge it if it's green.

Run Gluten Clickhouse CI

Run Gluten Clickhouse CI

we need merge due to https://github.com/ClickHouse/ClickHouse/pull/54651

Run Gluten Clickhouse CI

LGTM


Duplicate files?

How not to save duplicate files? I.e. signature pictures and all that

Hi, this script works like a charm. How to overwrite existing files?

May you have a look at https://github.com/ahochsteger/gmail2gdrive/issues/19 if that solves your problem?
Closing as duplicate of #19.


Fix backend tests stability on m1/arm

Backend tests on m1 work way too bad

I suggest we expand the scope of this issue: I think we might need arm images for backend tests as well.
We've already got some logic to choose arm images over x86 depending on the architecture (com.provectus.kafka.ui.base.BaseTest#isARM64).

I suggest we expand the scope of this issue: I think we might need arm images for backend tests as well. We've already got some logic to choose arm images over x86 depending on the architecture (com.provectus.kafka.ui.base.BaseTest#isARM64).

@shubhwip wanna give it a try? :)

Sure @Haarolean

I ran the e2e tests locally and one of the tests failed was UpdateAvroSchema in kafka-ui-e2e-checks/src/test/java/com/provectus/kafka/ui/tests/SchemasTests.java
Here are the screenshots

Errors on schema registry side
io.confluent.kafka.schemaregistry.rest.exceptions.RestIncompatibleSchemaException: Schema being registered is incompatible with an earlier schema for subject "ab"
	at io.confluent.kafka.schemaregistry.rest.exceptions.Errors.incompatibleSchemaException(Errors.java:133)

The reason why it is failing because during update we are changing a top level property and we have created this schema with backward compatibility. Although in our test we are switching to compatibility to None but that didn't have any effect because compatibility is set to backward_compatible globally. So in order for this test to work we need to keep top level property same i.e. name.

I ran the e2e tests locally and one of the tests failed was UpdateAvroSchema in kafka-ui-e2e-checks/src/test/java/com/provectus/kafka/ui/tests/SchemasTests.java Here are the screenshots

Errors on schema registry side
io.confluent.kafka.schemaregistry.rest.exceptions.RestIncompatibleSchemaException: Schema being registered is incompatible with an earlier schema for subject "ab"
	at io.confluent.kafka.schemaregistry.rest.exceptions.Errors.incompatibleSchemaException(Errors.java:133)

The reason why it is failing because during update we are changing a top level property and we have created this schema with backward compatibility. Although in our test we are switching to compatibility to None but that didn't have any effect because compatibility is set to backward_compatible globally. So in order for this test to work we need to keep top level property same i.e. name.
Then again I don't get why e2e test passes on some PRs :) ?

@shubhwip thanks for the note, I suppose we can discuss this issue with that test with our QA folks. You can ignore it failing locally for now.
@provectus/kafka-qa @VladSenyuta fyi

@ArthurNiedial FYI

Currently tests do seem to work fine with replacing CONFLUENT_PLATFORM_VERSION in AbstractIntegrationTest to 7.2.1.arm64.


Move package to top level

Currently it seems the actual package is one level down:
https://godocs.io/github.com/nagare-media/ingest/pkg
it should be at the top level:
https://godocs.io/github.com/nagare-media/ingest

The pkg package is a common convention for Go projects. As are the cmd and internal packages. Do you want to use something specific?

I will close this. Feel free to comment if think this is still valid.

If you move the package to the top level, then the import path will be shorter


Add custom port support for protect archiver

Proposed changes

Follow up from PR #73
Fixes #72

As promised @danielfernau here are the changes, these are tested and works as expected.

Thank you for your help and for adding this feature, @ch3ck -- merged!


Document Swift-Kuery has no paramenter binding and is not safe from SQL injection.

I just did a quick experiment and came to the conclusion that it's very easy to inject SQL using Swift-Kuery. Given SQL injection is a major security vulnerability I suggest it be documented as such until such time it is resolved:
public class DocumentsTable : Table {
    let tableName = "document"
    let sequence = Column("sequence")
    let id = Column("id")
    let type = Column("type")
    let json = Column("json")
}
public let docs = DocumentsTable()

let builder = QueryBuilder()

let statement = Select(fields: [docs.id, docs.type, docs.json], from: docs).where(docs.id.in("a'); DELETE FROM docs WHERE id IN ('b', 'c"))
print(try statement.build(queryBuilder: builder))

Emits:
SELECT document.id, document.type, document.json FROM document WHERE document.id IN ('a'); DELETE FROM docs WHERE id IN ('b', 'c')

Some drivers may detect the dual statement and prevent it but many would not.

The way you created an injection is not specific for Swift-Kuery, it's a general problem with SQL. This is why we have parameters to avoid SQL injections. Instead of directly inserting user defined values, use:
let statement = Select(fields: [docs.id, docs.type, docs.json], from: docs).where(docs.id.in(Parameter()))

This will generate for PostgreSQL:
SELECT document.id, document.type, document.json FROM document WHERE document.id IN (?1)

And later call:
connection.execute(query: statement, parameters: "a")

@irar2 ah! I see, I didn't really notice this when reading through the examples so was sort of surprised.


FI-2019: bump dependencies to address vulnerabilities

Summary
This PR makes the following changes to the app dependencies:

Replaces slf4j-log4j12 with slf4j-reload4j to address potential security vulnerabilities in the nested log4j dependency. slf4j-log4j12 brought in log4j v1.2 which is very old (the major vulnerability from 2021 "Log4shell" was introduced in v2 so this was even older than that), and slf4j-reload4j instead brings in "reload4j" which is a fork of log4j 1.x intended to focus on addressing security issues rather than adding features. SLF4J has other log provider options but this one should be a drop-in replacement with no changes needed elsewhere.
Removes a couple of the HL7 validator dependencies which don't need to be listed here; as the previous code comment suggested, gradle will fetch these automatically. (You can confirm via ./gradlew dependencies which shows the full dependency tree of the app)  For some reason though okhttp is needed but does not get included automatically, I didn't look too deep into that.
Bumps Google GSON to the latest version just to be proactive.

I also noticed spark is out of date, but the most recent release is also out of date and the library seems to be no longer maintained so I didn't bother: https://github.com/perwendel/spark
There are options to replace that if we decide we need to someday, for example https://github.com/javalin/javalin
Testing Guidance
The main impact, if any, should be to logging - make sure the app still logs to console as expected.
Still I would recommend confirming validation works both with and without a terminology server because issues with the dependencies may not present until they are called (even if it compiles)

This PR fixes GitHub Issue (https://github.com/onc-healthit/onc-certification-g10-test-kit/issues/444)


Update for CPaaS build

CPaaS build, throw this into a new branch so we can track dev work on main and stable on the cpaas branch

We want this based on top of the v2022.2 tag

Successfully put this onto its own branch, closing the original PR


Unable make it work with Remix

I'm on a Remix project, I added simple crypto through pnpm then on top of my file I just added
import SimpleCrypto from "simple-crypto-js";

const secretKey = "some-unique-key";
const crypto = new SimpleCrypto(secretKey);

But this doesn't work properly with Remix build
 info  rebuilding... (~ app/routes/_tools.qr-code-time-tracking.tsx)
 info  rebuilt (496ms)
TypeError: SimpleCrypto is not a constructor
    at file:///...website/app/routes/_tools.qr-code-time-tracking.tsx:12:16
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)

Do you know what could be going on right now?

Your documentation is wrong, you should import it this way
import { SimpleCrypto } from "simple-crypto-js";

I'd advise to update your doc because other people might see it crash.


Docker Documentation

I believe the documentation should specify that docker images need to be upgraded too: microsoft/dotnet:2.1-aspnetcore-runtime to microsoft/dotnet:2.2-aspnetcore-runtime and microsoft/dotnet:2.1-sdk to microsoft/dotnet:2.2-sdk

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

ID: 46a10a5c-bacc-1bcf-a7ae-499715e1bfdd
Version Independent ID: 1585163b-b1d7-eeb8-ebc6-adfc2730f393
Content: Migrate from ASP.NET Core 2.1 to 2.2
Content Source: aspnetcore/migration/21-to-22.md
Product: aspnet-core
GitHub Login: @scottaddie
Microsoft Alias: scaddie

Isn't the SDK version that you specify for global.json (2.2.0) incorrect? The 2.2.0 SDK appears to have version number 2.2.100.

@andrebugs2 2.2.100 is the correct version. The doc has been updated.


Board Review: Introducing Azure Notification Hubs (JS)

Thank you for starting the process for approval of the client library for your Azure service.  Thorough review of your client library ensures that your APIs are consistent with the guidelines and the consumers of your client library have a consistently good experience when using Azure.
The Architecture Board reviews Track 2 libraries only. If your library does not meet this requirement, please reach out to Architecture Board before creating the issue.
Please reference our review process guidelines to understand what is being asked for in the issue template.
Before submitting, ensure you adjust the title of the issue appropriately.
Note that the required material must be included before a meeting can be scheduled.
Contacts and Timeline

Service team responsible for the client library: Azure SDK for JS Team
Main contacts: Matthew Podwysocki -<EMAIL_ADDRESS>Expected stable release date for this library: July 2022

About the Service

Link to documentation introducing/describing the service: https://docs.microsoft.com/en-us/azure/notification-hubs/
Link to the service REST APIs: https://aka.ms/nh-rest-api
Is the goal to release a Public Preview, Private Preview, or GA? Public Preview

About the client library

Name of client library: Azure Notification Hubs
Link to library reference documentation: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/notificationhubs/notification-hubs
API View: @azure/notification-hubs
Is there an existing SDK library? If yes, provide link:

NodeJS (Track 1): azure-sb
.NET (Track 1): Microsoft.Azure.NotificationHubs | api-view
Java (Track 1): azure-notificationhubs-java-backend

Step 1: Champion Scenarios
Azure Notification Hubs provide a scaled-out push engine that enables you to send notifications to any platform (Apple, Amazon Kindle, Android, Baidu, Web, Windows, etc.) from any back-end (cloud or on-premises). Notification Hubs works great for both enterprise and consumer scenarios. Here are a few example scenarios:

Send breaking news notifications to millions with low latency.
Send location-based coupons to interested user segments.
Send event-related notifications to users or groups for media/sports/finance/gaming applications.
Push promotional contents to applications to engage and market to customers.
Notify users of enterprise events such as new messages and work items.
Send codes for multi-factor authentication.

The following are the champion scenarios:

Authentication and Initialization
Create an Installation
Update an Installation
Create or Update an Installation
List Registrations
Send Direct Notifications
Send Audience Notifications via Tags
Get Notification Details from a Notification

Champion Scenario 1 - Authentication and Initialization
Azure Notification Hubs currently only supports Shared Access Signature to authenticate clients to the service.  This includes the following permission levels: Listen, Manage, Send.
Listen allows for a client to register itself via the Registration and Installations API.  Send allows for the client to send notifications to devices using the send* APIs.  Finally, Manage allows the user to do Registration and Installation management, such as queries.
import { clientFromConnectionString } from "@azure/notification-hubs";

const connectionString = process.env.NOTIFICATIONHUBS_CONNECTION_STRING || "<connection string>";
const hubName = process.env.NOTIFICATION_HUB_NAME || "<hub name>";

const client = clientFromConnectionString(connectionString, hubName);

Champion Scenario 2 - Create an Installation
An Installation is a more modern way of expressing a device and its associated metadata in Notification Hubs.  This is expressed natively in JSON instead of the Atom+XML of the Registration APIs and adds additional features such as an Installation ID and User ID which can be used for targeting a device.  In addition, it also supports templates built into the installation itself instead of being separate in the Registration APIs.
Each device type has its own factory method to create an installation:

Amazon Device Messaging (ADM) - createAdmInstallation
Apple - createAppleInstallation
Baidu - createBaiduInstallation
Browser (Web Push) - createBrowserInstallation
Firebase Legacy HTTP - createFirebaseLegacyInstallation
Windows Notification Services (WNS) - createWindowsInstallation

NOTE: Notification Hubs does not support the V1 Firebase API.
const DUMMY_DEVICE = "00fc13adff785122b4ad28809a3420982341241421348097878e577c991de8f0";

// client code initialization copied from above

const installation = createAppleInstallation({
  installationId: v4(),
  pushChannel: DUMMY_DEVICE,
  tags: ["likes_hockey", "likes_football"],
});

const updatedInstallation = await client.createOrUpdateInstallation(installation);

Update an Existing Installation via Patch
An installation can be updated in two ways, via a createOrUupdateInstallation method which overwrites the existing installation, or using updateInstallation which uses the JSON Patch RFC6902 Specification.  In this instance, we will use the PATCH semantics to update an installation.
// client code initialization copied from above

const updates: JsonPatch[] = [
  { op: "add", path: "/tags", value: "likes_baseball" },
  { op: "add", path: "/userId", value<EMAIL_ADDRESS>},
];

const updatedInstallation = await client.updateInstallation(installationId, updates);

Create or Update a Registration
The Registrations API is also supported using this library.  Support for all platforms and templates are also supported.
To create a registration, you use the appropriate factory method per registration type for regular or template registrations.

ADM - createAdmRegistrationDescription |  createAdmTemplateRegistration
Apple - createAppleRegistrationDescription | createAppleTemplateRegistrationDescription
Browser - createBrowserRegistrationDescription | createBrowserTemplateRegistrationDescription
Firebase Legacy API - createFcmRegistrationDescription | createFcmTemplateRegistration
WNS - createWindowsRegistrationDescription | createWindowsTemplateRegistration

NOTE: There are classes and factory methods for Google Cloud Messaging (GCM) and Windows Phone (MPNS) which are both deprecated and should only be used for registration list operations.
const DUMMY_DEVICE = "00fc13adff785122b4ad28809a3420982341241421348097878e577c991de8f0";

const registrationId = await client.createRegistrationId();

const registration = createAppleRegistrationDescription({
  registrationId,
  deviceToken : DUMMY_TOKEN,
  tags: ["likes_football", "likes_hockey"],
});

const registrationResponse = await client.createOrUpdateRegistration(registration);

Query Registrations
Registrations be queried either by listing all registrations which supports OData queries for $filter and $top with listRegistrations or by tag via the listRegistrationsByTag method.  For example we can query for those that have the APNS device token of the following:
// Define message constants
const DUMMY_DEVICE = "00fc13adff785122b4ad28809a3420982341241421348097878e577c991de8f0";
const devicetoken = process.env.APNS_DEVICE_TOKEN || DUMMY_DEVICE;
const FILTER = `DeviceToken eq "${devicetoken}"`;
const TOP = 100;

let page = 0;

const allRegistrations = client.listRegistrations({ top: TOP, filter: FILTER });
for await (const pages of allRegistrations.byPage()) {
  console.log(`Page number ${page}`);
  for (const item of pages) {
    console.log(JSON.stringify(item, null, 2));
  }
}

Send a Direct Notification
Notification Hubs can be used to send notifications to Apple, Amazon, Android, Browsers via Web Push and Windows devices.  Notifications can be sent to individual devices using Direct Send when given the device unique ID from the Platform Notification Service (PNS).  These messages contain a body, headers to send to the PNS, content-type and platform type.
For debugging purposes, Enable Test Send is exposed via the options.
Support for creating messages is via the factory methods:

ADM - createAdmMessage
Apple - createAppleMessage
Baidu - createBaiduMessage
Browser (Web Push) - createBrowserMessage
Firebase Legacy HTTP - createFirebaseLegacyMessage
Template - createTemplateMessage
WNS

Badge - createWindowsBadgeMessage
Tile - createWindowsTileMessage
Toast - createWindowsToastMessage
Raw - createWindowsRawMessage

NOTE In the future, we are considering message builders which will be more opinionated in creating messages for each platform with specific features such as Apple's, Firebase's, or Windows' message formats in future beta releases.
const messageBody = `{ "aps" : { "alert" : "Hello" } }`;

const message = createAppleMessage({
  body: messageBody,
  headers: {
    "apns-priority": "10",
    "apns-push-type": "alert",
  },
});

// Not required but can set test send to true for debugging purposes.
const sendOptions: SendOperationOptions = { enableTestSend: false };
const result = await client.sendDirectNotification(devicetoken, message, sendOptions);

Send Notification to an Audience
In addition to supporting sending to a specific device, you can use tags to enrich your device for targeting.  Via the sendNotification method, you can send a list of tags which then does a "Logical Or" of the tags, or you can specify a tag expression using && and || for conditional checks.
const messageBody = `{ "aps" : { "alert" : "Hello" } }`;
const tagExpression = "likes_hockey && likes_football";

const message = createAppleMessage({
  body: messageBody,
  headers: {
    "apns-priority": "10",
    "apns-push-type": "alert",
  },
});

// Not required but can set test send to true for debugging purposes.
const sendOptions: SendOperationOptions = { enableTestSend: false };
const result = await client.sendNotification(tagExpression, message, sendOptions);

Get Notification Details from a Notification
If the developer is using the Standard SKU and above, they can get detailed results of each notification.  The notification ID is sent back as a location header which is then parsed.  This notification ID can then be used to query the backend using the getNotificationOutcomeDetails method.  Currently this is an operation that could support long polling but for early beta does not.  Detailed information can be found in the REST API Get Notification Telemetry Details
const result = await client.sendDirectNotification(devicetoken, message, sendOptions);
// Only available in Standard SKU and above
if (result.notificationId) {
  console.log(`Direct send Notification ID: ${result.notificationId}`);

  const results = await getNotificationDetails(client, result.notificationId);
  if (results) {
    console.log(JSON.stringify(results, null, 2));
  }
}

async function getNotificationDetails(
  client: NotificationHubsClient,
  notificationId: string
): Promise<NotificationDetails | undefined> {
  let state: NotificationOutcomeState = "Enqueued";
  let count = 0;
  let result: NotificationDetails | undefined;
  while ((state === "Enqueued" || state === "Processing") && count++ < 10) {
    try {
      result = await client.getNotificationOutcomeDetails(notificationId);
      state = result.state!;
    } catch (e) {
      // Possible to get 404 for when it doesn't exist yet.
    }

    await delay(1000);
  }

  return result;
}

Step 2: Quickstart Samples (Optional)
Each code snippet is also found in the samples-dev but is also here for posterity.
Create Installation Full Code
import { clientFromConnectionString, createAppleInstallation } from "@azure/notification-hubs";
import { v4 } from "uuid";

// Load the .env file if it exists
import * as dotenv from "dotenv";
dotenv.config();

// Define connection string and hub name
const connectionString = process.env.NOTIFICATIONHUBS_CONNECTION_STRING || "<connection string>";
const hubName = process.env.NOTIFICATION_HUB_NAME || "<hub name>";

// Define message constants
const DUMMY_DEVICE = "00fc13adff785122b4ad28809a3420982341241421348097878e577c991de8f0";
const deviceToken = process.env.APNS_DEVICE_TOKEN || DUMMY_DEVICE;

async function main() {
  const client = clientFromConnectionString(connectionString, hubName);

  const installation = createAppleInstallation({
    installationId: v4(),
    pushChannel: deviceToken,
    tags: ["likes_hockey", "likes_football"],
  });

  const updatedInstallation = await client.createOrUpdateInstallation(installation);
  console.log(`Installation last update: ${updatedInstallation.lastUpdate}`);
}

main().catch((err) => {
  console.log("createInstallation Sample: Error occurred: ", err);
  process.exit(1);
});

Update An Installation
import { clientFromConnectionString, JsonPatch } from "@azure/notification-hubs";

// Load the .env file if it exists
import * as dotenv from "dotenv";
dotenv.config();

// Define connection string and hub name
const connectionString = process.env.NOTIFICATIONHUBS_CONNECTION_STRING || "<connection string>";
const hubName = process.env.NOTIFICATION_HUB_NAME || "<hub name>";

// Define an existing Installation ID.
const installationId = process.env.INSTALLATION_ID || "<installation id>";

async function main() {
  const client = clientFromConnectionString(connectionString, hubName);

  const updates: JsonPatch[] = [
    { op: "add", path: "/tags", value: "likes_baseball" },
    { op: "add", path: "/userId", value<EMAIL_ADDRESS>},
  ];

  const updatedInstallation = await client.updateInstallation(installationId, updates);
  console.log(`Installation last update: ${updatedInstallation.lastUpdate}`);
}

main().catch((err) => {
  console.log("updateInstallation Sample: Error occurred: ", err);
  process.exit(1);
});

Create or Update a Registration
import {
  createAppleRegistrationDescription,
  clientFromConnectionString,
} from "@azure/notification-hubs";

// Load the .env file if it exists
import * as dotenv from "dotenv";
dotenv.config();

// Define connection string and hub name
const connectionString = process.env.NOTIFICATIONHUBS_CONNECTION_STRING || "<connection string>";
const hubName = process.env.NOTIFICATION_HUB_NAME || "<hub name>";

// Define message constants
const DUMMY_DEVICE = "00fc13adff785122b4ad28809a3420982341241421348097878e577c991de8f0";
const deviceToken = process.env.APNS_DEVICE_TOKEN || DUMMY_DEVICE;

async function main() {
  const client = clientFromConnectionString(connectionString, hubName);

  const registrationId = await client.createRegistrationId();

  const registration = createAppleRegistrationDescription({
    registrationId,
    deviceToken,
    tags: ["likes_football", "likes_hockey"],
  });

  const registrationResponse = await client.createOrUpdateRegistration(registration);

  console.log(`Registration ID: ${registrationResponse.registrationId}`);
}

main().catch((err) => {
  console.log("createRegistration Sample: Error occurred: ", err);
  process.exit(1);
});

Send a Direct Notification and Get Notification Details
import {
  createAppleMessage,
  clientFromConnectionString,
  SendOperationOptions,
  NotificationDetails,
  NotificationOutcomeState,
  NotificationHubsClient,
} from "@azure/notification-hubs";
import { delay } from "@azure/core-amqp";

// Load the .env file if it exists
import * as dotenv from "dotenv";
dotenv.config();

// Define connection string and hub name
const connectionString = process.env.NOTIFICATIONHUBS_CONNECTION_STRING || "<connection string>";
const hubName = process.env.NOTIFICATION_HUB_NAME || "<hub name>";

// Define message constants
const DUMMY_DEVICE = "00fc13adff785122b4ad28809a3420982341241421348097878e577c991de8f0";
const devicetoken = process.env.APNS_DEVICE_TOKEN || DUMMY_DEVICE;

async function main() {
  const client = clientFromConnectionString(connectionString, hubName);

  const messageBody = `{ "aps" : { "alert" : "Hello" } }`;

  const message = createAppleMessage({
    body: messageBody,
    headers: {
      "apns-priority": "10",
      "apns-push-type": "alert",
    },
  });

  // Not required but can set test send to true for debugging purposes.
  const sendOptions: SendOperationOptions = { enableTestSend: false };
  const result = await client.sendDirectNotification(devicetoken, message, sendOptions);

  console.log(`Direct send Tracking ID: ${result.trackingId}`);
  console.log(`Direct send Correlation ID: ${result.correlationId}`);

  // Only available in Standard SKU and above
  if (result.notificationId) {
    console.log(`Direct send Notification ID: ${result.notificationId}`);

    const results = await getNotificationDetails(client, result.notificationId);
    if (results) {
      console.log(JSON.stringify(results, null, 2));
    }
  }
}

async function getNotificationDetails(
  client: NotificationHubsClient,
  notificationId: string
): Promise<NotificationDetails | undefined> {
  let state: NotificationOutcomeState = "Enqueued";
  let count = 0;
  let result: NotificationDetails | undefined;
  while ((state === "Enqueued" || state === "Processing") && count++ < 10) {
    try {
      result = await client.getNotificationOutcomeDetails(notificationId);
      state = result.state!;
    } catch (e) {
      // Possible to get 404 for when it doesn't exist yet.
    }

    await delay(1000);
  }

  return result;
}

main().catch((err) => {
  console.log("sendDirectNotification Sample: Error occurred: ", err);
  process.exit(1);
});

Send Notification to an Audience and Get Notification Details
import {
  createAppleMessage,
  clientFromConnectionString,
  SendOperationOptions,
  NotificationDetails,
  NotificationHubsClient,
  NotificationOutcomeState,
} from "@azure/notification-hubs";
import { delay } from "@azure/core-amqp";

// Load the .env file if it exists
import * as dotenv from "dotenv";
dotenv.config();

// Define connection string and hub name
const connectionString = process.env.NOTIFICATIONHUBS_CONNECTION_STRING || "<connection string>";
const hubName = process.env.NOTIFICATION_HUB_NAME || "<hub name>";

async function main() {
  const client = clientFromConnectionString(connectionString, hubName);

  const messageBody = `{ "aps" : { "alert" : "Hello" } }`;
  const tagExpression = "likes_hockey && likes_football";

  const message = createAppleMessage({
    body: messageBody,
    headers: {
      "apns-priority": "10",
      "apns-push-type": "alert",
    },
  });

  // Not required but can set test send to true for debugging purposes.
  const sendOptions: SendOperationOptions = { enableTestSend: false };
  const result = await client.sendNotification(tagExpression, message, sendOptions);

  console.log(`Tag Expression send Tracking ID: ${result.trackingId}`);
  console.log(`Tag Expression Correlation ID: ${result.correlationId}`);

  // Only available in Standard SKU and above
  if (result.notificationId) {
    console.log(`Direct send Notification ID: ${result.notificationId}`);

    const results = await getNotificationDetails(client, result.notificationId);
    if (results) {
      console.log(JSON.stringify(results, null, 2));
    }
  }
}

async function getNotificationDetails(
  client: NotificationHubsClient,
  notificationId: string
): Promise<NotificationDetails | undefined> {
  let state: NotificationOutcomeState = "Enqueued";
  let count = 0;
  let result: NotificationDetails | undefined;
  while ((state === "Enqueued" || state === "Processing") && count++ < 10) {
    try {
      result = await client.getNotificationOutcomeDetails(notificationId);
      state = result.state!;
    } catch (e) {
      // Possible to get 404 for when it doesn't exist yet.
    }

    await delay(1000);
  }

  return result;
}

main().catch((err) => {
  console.log("sendTagExpression Sample: Error occurred: ", err);
  process.exit(1);
});

List Registrations
import { clientFromConnectionString } from "@azure/notification-hubs";

// Define connection string and hub name
const connectionString = process.env.NOTIFICATIONHUBS_CONNECTION_STRING || "<connection string>";
const hubName = process.env.NOTIFICATION_HUB_NAME || "<hub name>";

// Define message constants
const DUMMY_DEVICE = "00fc13adff785122b4ad28809a3420982341241421348097878e577c991de8f0";
const devicetoken = process.env.APNS_DEVICE_TOKEN || DUMMY_DEVICE;
const FILTER = `DeviceToken eq "${devicetoken}"`;

const TOP = 100;

async function main() {
  const client = clientFromConnectionString(connectionString, hubName);

  // Unlimited
  let allRegistrations = client.listRegistrations();
  let page = 0;
  for await (const pages of allRegistrations.byPage()) {
    console.log(`Page number ${page}`);
    for (const item of pages) {
      console.log(JSON.stringify(item, null, 2));
    }
  }

  // Top
  page = 0;
  allRegistrations = client.listRegistrations({ top: TOP });
  for await (const pages of allRegistrations.byPage()) {
    console.log(`Page number ${page}`);
    for (const item of pages) {
      console.log(JSON.stringify(item, null, 2));
    }
  }

  // Query and Top
  page = 0;

  allRegistrations = client.listRegistrations({ top: TOP, filter: FILTER });
  for await (const pages of allRegistrations.byPage()) {
    console.log(`Page number ${page}`);
    for (const item of pages) {
      console.log(JSON.stringify(item, null, 2));
    }
  }
}

main().catch((err) => {
  console.log("listRegistrations Sample: Error occurred: ", err);
  process.exit(1);
});

List Registrations by Tag
import { clientFromConnectionString } from "@azure/notification-hubs";

// Define connection string and hub name
const connectionString = process.env.NOTIFICATIONHUBS_CONNECTION_STRING || "<connection string>";
const hubName = process.env.NOTIFICATION_HUB_NAME || "<hub name>";

const TOP = 100;
const TAG = "likes_hockey";

async function main() {
  const client = clientFromConnectionString(connectionString, hubName);

  // Unlimited
  let allRegistrations = client.listRegistrationsByTag(TAG);
  let page = 0;
  for await (const pages of allRegistrations.byPage()) {
    console.log(`Page number ${page}`);
    for (const item of pages) {
      console.log(JSON.stringify(item, null, 2));
    }
  }

  // Top
  page = 0;
  allRegistrations = client.listRegistrationsByTag(TAG, { top: TOP });
  for await (const pages of allRegistrations.byPage()) {
    console.log(`Page number ${page}`);
    for (const item of pages) {
      console.log(JSON.stringify(item, null, 2));
    }
  }
}

main().catch((err) => {
  console.log("sendDirectNotification Sample: Error occurred: ", err);
  process.exit(1);
});

Thank you for your submission!

Scheduled 7/13 2p-4p PDT

Great work, @mpodwysocki!
Just one thing to discuss: for me, Web Push API is more related to «Web App» rather to a «Browser» (which is just an entry point for user experience, and hopefully we’ll have browserless installations of PWAs in the future - like enterprise usecase for the managed devices). After the webapp installation, there is no longer [visible] browser involved.
To sum up: do you consider other than «browser» prefix for API namings for Web Push scenario?

On a technical topic: it would be cool to have a sample of «create installation» code for Web Push to make sure that it covers all API specifics.
Do I understand correctly that in that case a deviceToken is endpoint of the subscription object received after registration on the client and persisted in a separate (non NH-specific) storage by the developer?

Recording (MS INTERNAL ONLY)


Front page layout

Description of new feature
Set up a front page that allows the user to upload their data for a query.

[ ] A basic title, e.g. 'Enrichment Map' would be fine for now.  We can come up with a name of the app later.
[ ] A tag line.  A placeholder tag line is fine for now, like 'Get instant enrichment analysis with a figure for your paper'.  We can come up with a better line later.
[ ] #11

[ ] When a file is selected, the query is made and a spinner is shown.
[ ] When the result is ready, go to the results page.

See the sketch below:

Motivation for new feature
This will allow the user to upload their data for a query, and it will give us a place where we can put more things  in future (e.g. saved list of queries).

Should we not also give the user the option to copy-paste their gene list into a text area?

My understanding from our documents and discussions is that the gene list input is for a different use case (GProfiler, PC Enrichment).  EM desktop covers all the use cases under the sun -- which is a great fit for Cytoscape desktop.  On the other hand, the specific RNASeq use case for this app would use the file output from the facility as input to the app.  Our documents have differential expression listed.  I'll double check the details of the most popular file input format.
For now, I want to focus on the minimum we need to get started -- both in terms of number of features and in terms of the number of decisions a prospective user would have to make when using the app.
We could definitely expand out this app in future to accommodate more use case, and we could even deploy the app with different configurations so that each deployment handles just one use case (e.g. use 'RNASeqer.org' if you have an RNASeq experiment, use 'GenelistEnricher.org' if you want to enrich a gene list like PC Enrichment).  For now, we have to start somewhere for the RNASeq use case.

Closing in favour of #11.  Let's use #11 to discuss this issue.


Set up a means for tracking review dates

What
To create a spreadsheet (for want of a better idea) listing every page in the service manual, so that I can add a review date when we review the whole page and set the next review date.
Why
We could do with a means to start capturing review dates now, given that we've just overhauled the review date page: https://service-manual.nhs.uk/design-system/patterns/reassure-users-that-a-page-is-up-to-date.
We still have to sort out our processes (Agree review process for service manual content #1075) but I'd like to start noting review dates somewhere now if possible.

Confluence page created here
@AdamChrimes @davidhunter08 do you think we should have a table underneath for all the GitHub docs to make sure they are reviewed frequently as well?

Thanks @lucyha .
@davidhunter08 @AdamChrimes At some point we need to decide how we should let users know about review dates (in the review date epic). For now, it's good to have somewhere to note when we've reviewed a whole page (with the relevant subject matter expert, where appropriate).
@lucyha, that makes me think we should have a column for any subject matter experts we consult as well as for the person or people in the team who'll review the page.

Confluence page created here
@AdamChrimes @davidhunter08 do you think we should have a table underneath for all the GitHub docs to make sure they are reviewed frequently as well?

That's a good idea @lucyha. Also the prototype kit 'how to guides' and 'installation guide'.


File Manager: Hide files starting from dot

@iliajie
Good Morning.
I would like to  ask for how to hide the dot file in file manager?
Is there configuration for change ?
Please refer picture below:

Best Regard

Hi,
There is no way to hide files starting with a dot.

That might be a nice feature, as it would match how the ls command works.

@iliarostovtsev @jcameron
OK , Thank you for your support.
Best Regard

That might be a nice feature, as it would match how the ls command works.

Okay, I'll have a look.

Next Authentic theme release 21.07 will have support for hiding dotfiles.


Test JAX scipy functionality

Hi Josh, thanks for making this, this is very useful! Just letting you know that we have a file test_jax_numerical.py for these things : )


How to export Openni on an embedded board

I have an embedded board with an ARM Cortex-A15, which is running an Arago Linux distribution by Texas Instruments. I wanted to get the Kinect v1 running on this board which means I need the Openni and Sensor Kinect drivers installed on this. I was wondering if there is any way for me to add these drivers as one blob of code without installing (I'm having trouble installing these on the board). For example, in Windows we can export Openni as a library to the target machine and Kinect can access it on the target machine.
If there isn't a way to export Openni+SensorKinect as a library (they can be separate), what steps would I need to make this happen? I Imagine if I copy ALL the files that Kinect needs from Openni and SensorKinect to the right locations this might work?
Please let me know if you need more details.

...Or, another way to ask this question is, is it possible to install Openni (either with the steps given modified, or by placing the right libraries in the right places) on an Angstrom Distribution?


chore: bump example dependencies

What it solves
bump example dependencies that generate security alerts
How this PR fixes it
Bump all dependencies specially those in outdated versions

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
476

Relevant Lines:
597

💛  - Coveralls


❓ [Trace-X] [Phase_2] Providing Infrastructure to collect DataOffers and Contract Negotiation

As ...
I want ...
so that ...
Hints / Details
Acceptance Criteria
Out of Scope

...

won't do


BUG: Azure E2e workflow targeting Azure env w/ an AKS cluster hosting Harbor fails to complete successfully

An OSS Helm chart is used to install Harbor.
Here's the values.yml template
harbor-database-0 pod fails to start with
❯ k logs harbor-database-0 -n harbor
Defaulted container "database" out of: database, data-migrator (init), data-permissions-ensurer (init)
init DB, DB version:13
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locales
  COLLATE:  en_US.UTF-8
  CTYPE:    en_US.UTF-8
  MESSAGES: C
  MONETARY: C
  NUMERIC:  C
  TIME:     C
The default text search configuration will be set to "english".

Data page checksums are disabled.

creating directory /var/lib/postgresql/data/pgdata/pg13 ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... UTC
creating configuration files ... ok
2023-03-18 00:02:25.526 UTC [22] LOG:  could not link file "pg_wal/xlogtemp.22" to "pg_wal/000000010000000000000001": Unknown error 524
2023-03-18 00:02:25.543 UTC [22] FATAL:  could not open file "pg_wal/000000010000000000000001": No such file or directory
child process exited with exit code 1
initdb: removing data directory "/var/lib/postgresql/data/pgdata/pg13"
running bootstrap script ... %
❯ k logs harbor-database-0 -n harbor
Defaulted container "database" out of: database, data-migrator (init), data-permissions-ensurer (init)
init DB, DB version:13
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locales
  COLLATE:  en_US.UTF-8
  CTYPE:    en_US.UTF-8
  MESSAGES: C
  MONETARY: C
  NUMERIC:  C
  TIME:     C
The default text search configuration will be set to "english".

Data page checksums are disabled.

creating directory /var/lib/postgresql/data/pgdata/pg13 ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... UTC
creating configuration files ... ok
2023-03-18 00:02:25.526 UTC [22] LOG:  could not link file "pg_wal/xlogtemp.22" to "pg_wal/000000010000000000000001": Unknown error 524
2023-03-18 00:02:25.543 UTC [22] FATAL:  could not open file "pg_wal/000000010000000000000001": No such file or directory
child process exited with exit code 1
initdb: removing data directory "/var/lib/postgresql/data/pgdata/pg13"
running bootstrap script ...

Not sure what to do here.
Using this storage controller azureblob-nfs-premium, see
❯ k get sc -A
NAME                              PROVISIONER          RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
azureblob-fuse-premium            blob.csi.azure.com   Delete          Immediate              true                   24m
azureblob-nfs-premium (default)   blob.csi.azure.com   Delete          Immediate              true                   24m
azurefile                         file.csi.azure.com   Delete          Immediate              true                   24m
azurefile-csi                     file.csi.azure.com   Delete          Immediate              true                   24m
azurefile-csi-premium             file.csi.azure.com   Delete          Immediate              true                   24m
azurefile-premium                 file.csi.azure.com   Delete          Immediate              true                   24m
default                           disk.csi.azure.com   Delete          WaitForFirstConsumer   true                   24m
managed                           disk.csi.azure.com   Delete          WaitForFirstConsumer   true                   24m
managed-csi                       disk.csi.azure.com   Delete          WaitForFirstConsumer   true                   24m
managed-csi-premium               disk.csi.azure.com   Delete          WaitForFirstConsumer   true                   24m
managed-premium                   disk.csi.azure.com   Delete          WaitForFirstConsumer   true                   24m

Here are the persistent volume claims and persistent volumes.  Describing them does not offer anything appreciably useful.   Something is awry.
❯ k logs metadata-store-db-0 -n metadata-store
Defaulted container "postgres" out of: postgres, change-cert-ownership (init)
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /var/lib/postgresql/data/pgdata ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... UTC
creating configuration files ... ok
2023-03-28 02:25:39.517 UTC [26] LOG:  could not link file "pg_wal/xlogtemp.26" to "pg_wal/000000010000000000000001": Unknown error 524
2023-03-28 02:25:39.528 UTC [26] FATAL:  could not open file "pg_wal/000000010000000000000001": No such file or directory
child process exited with exit code 1
initdb: removing contents of data directory "/var/lib/postgresql/data/pgdata"
running bootstrap script ...

Fixed in main (1.4.2) and in 1.5.0 branch.


Case closed

Hi @maiju-git thanks for the feedback! Just in case, since your issue seems related with plotting, you can check another solution at https://github.com/spyder-ide/spyder/issues/16659#issuecomment-955954740 that you could try (is related with matplotlib and freetype). Let us know if that helps


fix TODOs in start

[ ] line 131 # TODO need to get all names for all possible containers
[ ] line 162 # !! TODO link logging driver syslog container
[ ] line 172 # !! TODO check for <command> and store executed result
[ ] line 186 # !! TODO update volumes_from
[ ] line 189 # !! TODO update network_mode
[ ] line 224 # !! TODO check if container exists and start it instead of run
[ ] line 91 # !! TODO needs to be an array of statuses

see also #267