Add more detailed ScreenStack logging

There may be a problem somewhere within its logic, so I've added some more verbose logging so we can maybe track it down. May remove the "scheduled load" logs after we resolve any issues, as those aren't really helpful to the user (should just be part of the "push" logging under one name).
This also splits out the transition events into two lines, describing the individual operations. This makes more sense because in the case of a Push operation, the point at which the new screen is pushed versus when the previous screen is separated could be separated by a longer duration, due to load times.

[ ] Depends on #4944 kind of.

Example output:
[runtime] 2021-12-20 06:42:14 [verbose]: Opened realm "/var/folders/qt/mf5nyxrn07s0_mwpb_t8bl5h0000gn/T/of-test-headless/TestSceneHostOnlyQueueMode-b481a6a0-ae7d-438e-9111-ef907459e395/client.realm" at version 12
[performance] 2021-12-20 06:42:15 [verbose]: TextureAtlas initialised (1024x1024)
[runtime] 2021-12-20 06:42:15 [verbose]: 💨 HostOnlyQueueMode (TestSceneHostOnlyQueueMode) running
[runtime] 2021-12-20 06:42:15 [verbose]: 🔸 Step #1 Until: exit all screens
[runtime] 2021-12-20 06:42:15 [verbose]: 🔸 Step #2 import beatmap
[database] 2021-12-20 06:42:15 [verbose]: [dce8f] Beginning import...
[database] 2021-12-20 06:42:15 [verbose]: [dce8f] Import successfully completed!
[runtime] 2021-12-20 06:42:15 [verbose]: 🔸 Step #3 load multiplayer
[runtime] 2021-12-20 06:42:15 [verbose]: 📺 OsuScreenStack#572(depth:1) scheduling push TestMultiplayer#374
[runtime] 2021-12-20 06:42:15 [verbose]: ScreenTestScene screen changed → TestMultiplayerScreenStack
[runtime] 2021-12-20 06:42:15 [verbose]: 📺 OsuScreenStack#521(depth:1) loading TestMultiplayerScreenStack#853
[runtime] 2021-12-20 06:42:15 [verbose]: 🔸 Step #4 Until: wait for multiplayer to load
[runtime] 2021-12-20 06:42:15 [verbose]: 📺 OsuScreenStack#521(depth:1) entered TestMultiplayerScreenStack#853
[runtime] 2021-12-20 06:42:15 [verbose]: 📺 OsuScreenStack#572(depth:1) entered TestMultiplayer#374
[runtime] 2021-12-20 06:42:15 [verbose]: 📺 OnlinePlaySubScreenStack#523(depth:1) loading MultiplayerLoungeSubScreen#357
[runtime] 2021-12-20 06:42:15 [verbose]: ✔ 5 repetitions
[runtime] 2021-12-20 06:42:15 [verbose]: 🔸 Step #5 Until: wait for lounge to load
[runtime] 2021-12-20 06:42:16 [verbose]: 📺 OnlinePlaySubScreenStack#523(depth:1) entered MultiplayerLoungeSubScreen#357
[runtime] 2021-12-20 06:42:16 [verbose]: Polling adjusted (listing: 15000)
[runtime] 2021-12-20 06:42:16 [verbose]: 📺 BackgroundScreenStack#374(depth:1) loading LoungeBackgroundScreen#588
[runtime] 2021-12-20 06:42:16 [verbose]: Polling adjusted (listing: 15000)
[runtime] 2021-12-20 06:42:16 [debug]: Focus changed from nothing to SearchTextBox.
[performance] 2021-12-20 06:42:16 [verbose]: Texture requested (1366x768) which exceeds TextureStore's atlas size (1024x1024) - bypassing atlasing. Consider using LargeTextureStore.
[runtime] 2021-12-20 06:42:16 [verbose]: 📺 BackgroundScreenStack#374(depth:1) entered LoungeBackgroundScreen#588
[runtime] 2021-12-20 06:42:16 [verbose]: ✔ 107 repetitions
[runtime] 2021-12-20 06:42:16 [verbose]: 🔸 Step #6 Until: wait for lounge
[runtime] 2021-12-20 06:42:16 [verbose]: 🔸 Step #7 open room
[runtime] 2021-12-20 06:42:16 [verbose]: 📺 OnlinePlaySubScreenStack#523(depth:1) suspended MultiplayerLoungeSubScreen#357 (waiting on MultiplayerMatchSubScreen#687)
[runtime] 2021-12-20 06:42:16 [verbose]: Polling adjusted (listing: 0)
[runtime] 2021-12-20 06:42:16 [debug]: Focus changed from SearchTextBox to nothing.
[runtime] 2021-12-20 06:42:16 [verbose]: 📺 OnlinePlaySubScreenStack#523(depth:2) loading MultiplayerMatchSubScreen#687
[runtime] 2021-12-20 06:42:16 [verbose]: 🔸 Step #8 Until: wait for room open
[runtime] 2021-12-20 06:42:16 [verbose]: 📺 OnlinePlaySubScreenStack#523(depth:2) entered MultiplayerMatchSubScreen#687
[runtime] 2021-12-20 06:42:16 [verbose]: 📺 BackgroundScreenStack#374(depth:2) loading RoomBackgroundScreen#226
[runtime] 2021-12-20 06:42:16 [verbose]: 📺 BackgroundScreenStack#374(depth:2) suspended LoungeBackgroundScreen#588 (waiting on RoomBackgroundScreen#226)
[runtime] 2021-12-20 06:42:16 [verbose]: 📺 BackgroundScreenStack#374(depth:2) entered RoomBackgroundScreen#226
[runtime] 2021-12-20 06:42:16 [debug]: Focus changed from nothing to MultiplayerMatchSettingsOverlay.
[runtime] 2021-12-20 06:42:16 [verbose]: ✔ 194 repetitions
[runtime] 2021-12-20 06:42:16 [verbose]: 🔸 Step #9 Repeat: wait for transition 0/2
[runtime] 2021-12-20 06:42:16 [verbose]: ✔ 2 repetitions
[runtime] 2021-12-20 06:42:16 [verbose]: 🔸 Step #10 create room
[runtime] 2021-12-20 06:42:16 [debug]: MouseDownEvent(Left) handled by MultiplayerMatchSettingsOverlay.
[runtime] 2021-12-20 06:42:16 [debug]: Focus changed from MultiplayerMatchSettingsOverlay to nothing.
[runtime] 2021-12-20 06:42:16 [debug]: ClickEvent(Left) handled by MultiplayerMatchSettingsOverlay+CreateOrUpdateButton.
[runtime] 2021-12-20 06:42:16 [debug]: MouseClick handled by MultiplayerMatchSettingsOverlay+CreateOrUpdateButton.
[runtime] 2021-12-20 06:42:16 [debug]: Focus changed from nothing to StandAloneChatDisplay+ChatTextBox.
[runtime] 2021-12-20 06:42:17 [verbose]: 🔸 Step #11 Until: wait for join
[runtime] 2021-12-20 06:42:17 [verbose]: 🔸 Step #12 click add button
[runtime] 2021-12-20 06:42:17 [verbose]: 📺 OnlinePlaySubScreenStack#523(depth:2) suspended MultiplayerMatchSubScreen#687 (waiting on MultiplayerMatchSongSelect#244)
[runtime] 2021-12-20 06:42:17 [verbose]: 📺 OnlinePlaySubScreenStack#523(depth:3) loading MultiplayerMatchSongSelect#244
[runtime] 2021-12-20 06:42:17 [debug]: ClickEvent(Left) handled by MultiplayerMatchSubScreen+AddItemButton.
[runtime] 2021-12-20 06:42:17 [debug]: Focus changed from StandAloneChatDisplay+ChatTextBox to nothing.
[runtime] 2021-12-20 06:42:17 [debug]: MouseClick handled by MultiplayerMatchSubScreen+AddItemButton.
[runtime] 2021-12-20 06:42:17 [verbose]: decoupled ruleset transferred ("" -> "osu!")
[runtime] 2021-12-20 06:42:17 [verbose]: 🔸 Step #13 Until: wait for song select
[performance] 2021-12-20 06:42:17 [verbose]: TextureAtlas size exceeded 1 time(s); generating new texture (1024x1024)
[network] 2021-12-20 06:42:17 [verbose]: Request to https://a.ppy.sh/1001 failed with System.Net.WebException: NotFound.
[runtime] 2021-12-20 06:42:17 [verbose]: 📺 OnlinePlaySubScreenStack#523(depth:3) entered MultiplayerMatchSongSelect#244
[runtime] 2021-12-20 06:42:17 [verbose]: 📺 BackgroundScreenStack#374(depth:3) loading BackgroundScreenBeatmap#668
[network] 2021-12-20 06:42:17 [verbose]: Request to https://a.ppy.sh/1001.png failed with System.Net.WebException: NotFound.
[runtime] 2021-12-20 06:42:17 [debug]: Focus changed from nothing to SeekLimitedSearchTextBox.
[runtime] 2021-12-20 06:42:17 [verbose]: 📺 BackgroundScreenStack#374(depth:3) suspended RoomBackgroundScreen#226 (waiting on BackgroundScreenBeatmap#668)
[runtime] 2021-12-20 06:42:17 [verbose]: 📺 BackgroundScreenStack#374(depth:3) entered BackgroundScreenBeatmap#668
[runtime] 2021-12-20 06:42:17 [verbose]: ✔ 193 repetitions
[runtime] 2021-12-20 06:42:17 [verbose]: updating selection with beatmap:5 ruleset:0
[network] 2021-12-20 06:42:17 [verbose]: Failing request osu.Game.Online.API.Requests.GetBeatmapRequest (System.NotSupportedException: A APIAccess is required to perform requests.)
[network] 2021-12-20 06:42:17 [verbose]: Request to https://a.ppy.sh/1001.jpg failed with System.Net.WebException: NotFound.
[runtime] 2021-12-20 06:42:17 [verbose]: 🔸 Step #14 select other beatmap
[runtime] 2021-12-20 06:42:17 [verbose]: updating selection with beatmap:7 ruleset:0
[runtime] 2021-12-20 06:42:17 [verbose]: beatmap changed from "Soleily - RenatusQuick (Gamu) [Insane]" to "Soleily - RenatusQuick (Gamu) [Normal]"
[runtime] 2021-12-20 06:42:17 [verbose]: Song select working beatmap updated to Soleily - RenatusQuick (Gamu) [Normal]
[runtime] 2021-12-20 06:42:17 [verbose]: 📺 BackgroundScreenStack#374(depth:2) exit from BackgroundScreenBeatmap#668
[runtime] 2021-12-20 06:42:17 [verbose]: 📺 BackgroundScreenStack#374(depth:2) resume to RoomBackgroundScreen#226
[runtime] 2021-12-20 06:42:17 [debug]: Focus changed from SeekLimitedSearchTextBox to nothing.
[runtime] 2021-12-20 06:42:17 [verbose]: 📺 OnlinePlaySubScreenStack#523(depth:2) exit from MultiplayerMatchSongSelect#244
[runtime] 2021-12-20 06:42:17 [verbose]: 📺 OnlinePlaySubScreenStack#523(depth:2) resume to MultiplayerMatchSubScreen#687
[network] 2021-12-20 06:42:17 [verbose]: Failing request osu.Game.Online.API.Requests.GetBeatmapRequest (System.NotSupportedException: A APIAccess is required to perform requests.)
[runtime] 2021-12-20 06:42:17 [debug]: Focus changed from nothing to StandAloneChatDisplay+ChatTextBox.
[runtime] 2021-12-20 06:42:17 [verbose]: 🔸 Step #15 Until: wait for return to match
[runtime] 2021-12-20 06:42:17 [verbose]: 🔸 Step #16 Assert: playlist contains two items
[runtime] 2021-12-20 06:42:17 [verbose]: 🔸 Step #17 Until: exit all screens
[runtime] 2021-12-20 06:42:17 [verbose]: Focus contention triggered by DialogOverlay.
[runtime] 2021-12-20 06:42:17 [debug]: Focus changed from StandAloneChatDisplay+ChatTextBox to nothing.
[runtime] 2021-12-20 06:42:17 [debug]: Focus changed from nothing to DialogOverlay.
[runtime] 2021-12-20 06:42:17 [verbose]: 📺 BackgroundScreenStack#374(depth:1) exit from RoomBackgroundScreen#226
[runtime] 2021-12-20 06:42:17 [verbose]: 📺 BackgroundScreenStack#374(depth:1) resume to LoungeBackgroundScreen#588
[runtime] 2021-12-20 06:42:17 [verbose]: 📺 OnlinePlaySubScreenStack#523(depth:1) exit from MultiplayerMatchSubScreen#687
[runtime] 2021-12-20 06:42:17 [verbose]: 📺 OnlinePlaySubScreenStack#523(depth:1) resume to MultiplayerLoungeSubScreen#357
[runtime] 2021-12-20 06:42:17 [verbose]: Polling adjusted (listing: 15000)
[runtime] 2021-12-20 06:42:17 [debug]: Focus changed from DialogOverlay to nothing.
[runtime] 2021-12-20 06:42:17 [debug]: Focus changed from nothing to SearchTextBox.
[runtime] 2021-12-20 06:42:17 [verbose]: Polling adjusted (listing: 0)
[runtime] 2021-12-20 06:42:17 [debug]: Focus changed from SearchTextBox to nothing.
[runtime] 2021-12-20 06:42:17 [verbose]: 📺 OsuScreenStack#572(depth:0) exit from TestMultiplayer#374
[runtime] 2021-12-20 06:42:17 [verbose]: 📺 OsuScreenStack#572(depth:0) resume to [empty]
[runtime] 2021-12-20 06:42:17 [verbose]: 📺 OsuScreenStack#521(depth:0) exit from TestMultiplayerScreenStack#853
[runtime] 2021-12-20 06:42:17 [verbose]: 📺 OsuScreenStack#521(depth:0) resume to [empty]
[runtime] 2021-12-20 06:42:17 [verbose]: ScreenTestScene screen changed ←
[runtime] 2021-12-20 06:42:17 [verbose]: ✔ 5 repetitions
[runtime] 2021-12-20 06:42:17 [verbose]: ✅ TestSceneHostOnlyQueueMode completed

Seems like the Scheduler.Add change itself is enough to break osu tests, blocking while I investigate.

Removed the Schedule call changes in the interest of keeping this PR only affecting log output. Will address that in a separate pass (hoping to get this out as a framework release so we can let it run on CI over the coming hours/days).


TeensyUsbMasterMidiClock no name.c

"The custom name is in the "name.c" tab." there is no name.c tab when loading this project, please update this example.  Thanks

good point! thanks for reviewing that! we can add this to that branch release as a fix too.
file: name.c
// To give your project a unique name, this code must be
// placed into a .c file (its own tab).  It can not be in
// a .cpp file or your main sketch (the .ino file).

#include "usb_names.h"

// Edit these lines to create your own name.  The length must
// match the number of characters in your custom name.

#define MIDI_NAME   {'u','c','l','o','c','k','_','1'}
#define MIDI_NAME_LEN  8

// Do not change this part.  This exact format is required by USB.

struct usb_string_descriptor_struct usb_string_product_name = {
        2 + MIDI_NAME_LEN * 2,
        3,
        MIDI_NAME
};```

Fixed at v1.3.0 release


Pad editions lost after session change

After changing a session from ANONYMOUS to a named one with the following steps, the changes performed in the pad are not saved and there are no Exceptions or other way to detect those losses.
SwellRT.logout()
SwellRT.startSession(
  'http://<swell_server.net>',
   '<user_name>',
  '<user_password>',
  function(s){console.log('success:', s)},
  function(s){console.log('error:', s)})
```

A success is received form the last cal with the session object

Not an issue.
Collab. objects must be reopened anytime a session is started
https://github.com/P2Pvalue/swellrt/wiki/Sessions-and-Users


Feature request: profile support in CLI

Hi,
Would you be able to add a --profile flag to the nf-test test CLI?
That way we could define different config profiles depending on which tests we want to run. e.g. local tests vs full scale tests on a cluster.

nvm; RTFM
😑


Add AMI name to the manifest filename

This is needed so that parallel builds can be triggered in the same directory. Not doing this would result in the manifest file being written to by multiple parallel builds hence leading to an inconsistent state.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

this may break customers, are we ok to do so
if so, we need to call it out in release note or produce two manifest (manifest.json) and (ami-name-manifest.json)

Good point. I have added a new manifest for now for backwards compatibility.


Removing DTCP related L1 tests in DS Video Port

Removing L1 Tests for dsEnableDTCP() and dsIsDTCPEnabled() as these APIs were deprecated in DS Video Port

@srinivasgtl to review

changes are addressed in this PR: https://github.com/rdkcentral/rdk-halif-test-device_settings/pull/90/


[Task] add in docs example for .mcdev-auth.json

Describe the solution you'd like
I know there is mcdev init, but I think it's nice to add in docs example how it's structured

we recently just changed how this work, normally, we would prefer to keep this added via CLI, which keeps consistency. You can always copy from there. @JoernBerkefeld  thoughts from your side?

done at https://github.com/Accenture/sfmc-devtools/wiki/7.-Advanced-Configuration#mcdev-authjson


Use  Local Date Format for Required Date in v2.0 unless specified in JSON/Profile

Currently the required date is displayed in MM/DD/YYYY format unless overridden in a profile/json file. Most EMEA and APAC countries use different formats such as DD/MM/YYYY or YYYY-MM-DD. While we can set a different format, that would mean having different settings by region and country.
Feature request is to use the Locale date format unless overridden in the profile/json.

Have no intention of doing this. You can use a different format that works for all regions vs just MM/DD. For example MMM
I already didn't want to support this feature, but I did so to be nice. Next request will be to support military vs non military (12 vs 24 hour formats).
if you really want this, please create two configs and maintain them.

I re read this.
Perhaps https://www.swiftyplace.com/blog/swift-date-formatting-10-steps-guide would work. But I don't know. Do you know if there is a built in method for this in swift?

Here is some pseduo code I pulled from ChatGPT and ran through xCode Playgrounds.
`
let currentDate = Date()
let dateFormat = DateFormatter.dateFormat(fromTemplate: "MMddyyyy", options: 0, locale: Locale.current)
let dateFormatter = DateFormatter()
dateFormatter.dateFormat = dateFormat
print("Required Date: (dateFormatter.string(from: currentDate))")
`

This should be fixed with https://github.com/macadmins/nudge/commit/84fb1653d68649ea1556367bb866c0b732ed71f7
https://github.com/macadmins/nudge/actions/runs/10079098388
go to Packages (you must be signed in) and then unzip it and run manually

I can confirm that is the date format is now set based on the format selected in System Settings. I also confirmed that setting the requiredInstallationDisplayFormat key still overrides the system format.
Thanks, as always, for your quick response.

Great. I will release v2.0.5 with this fix once the other person who requested a feature tests and confirms if it solves their issue.


Remove need for placeholder "option element" for select one

Continuation of this pull request, but now on the develop branch (instead of master) https://github.com/jshjohnson/Choices/pull/269
Features:

Remove need for placeholder "option element" for select one
Allow not showing itemSelectText
Allow removing all items with setValue(null)

Not sure what is wrong with the unit tests... Seems like the error is happening before it calls the tests and files in chai...
@jshjohnson thoughts?

ok figured out what I needed, should have tests passing soonish

Perfect they are working, I should add some unit tests to make sure these features stay working...

Ready for review and merge!

@jshjohnson do you actually want to merge this?

@brennemankyle conflicts need to be resolved first

Closing due to inactivity + amount of conflicts


Unable to connect Verified Domain to Azure Communication Service

This guidance does not work.
I have a domain, it says it's Verified, and the dropdown won't let me select it.
Both Email Communication Service and Communication Service have a location of Global.

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

ID: d6801ca2-0239-f782-d7a6-5af175298673
Version Independent ID: c08324f9-bda2-c1a4-cc92-9c7e6e7fc312
Content: How to connect a verified email domain with Azure Communication Service resource - An Azure Communication Services quick start guide
Content Source: articles/communication-services/quickstarts/email/connect-email-communication-resource.md
Service: azure-communication-services
GitHub Login: @bashan-git
Microsoft Alias: bashan

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

@stephenmichaelf ,  global indicates that email resources are not regional resources and data location (country) needs to match to connect the verified domains. I will clarify in the doc.

If it can never work with Global, can that be removed as an option? I didn't even realize that was chosen.
Also can the UI make this more clear?

Thanks @stephenmichaelf  taking this feedback to our design team to come up with better UI in future revisions.

Seems to me like this limitation is referring to the "Data Location" which is a country (Canada in my example below).  Both Azure Communication Service's and Email Communication Service's have both Location and Data Location:


Update members.md

Updated member list as of Nov 1,2022
What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

BE Build Success


Can't edit Chrome Web Store page

So I just test your extension on Chrome Web Store
After I clicked the button nothing happened

Hey, this isn't a bug. Unfortunately, the Chrome Web Store just doesn't allow any chrome extensions working on their website.


Italian version

This is a working in progress PR for the italian release

[ ] config.json ready
[ ] app/locales/it-word-list.txt
[ ] app/locales/it-municipalities.json
[ ] app/locales/it-postalCodeCoordinates.json
[ ] Add translations to app/locales/it.json
[ ] Write app/locales/it.json`
[ ] Write a privacy statement inapp/views/privacy-statements/it-lang-privacy-statement.ejs
[ ] Configure URL paths in app/domain/urls.ts
[ ] Domain: coronastatus.it

Now it should be fine to be merged


access everywhere to command name in a cli plugin

What problem does this feature solve?
I'm currently developing a vue cli 3 plugin, to add cordova, to a vue project. For the serve and build, I created new commands in my generator.js
api.extendPackage({
    scripts: {
      'cordova-serve-android': 'vue-cli-service cordova-serve-android',
      'cordova-build-android': 'vue-cli-service cordova-build-android',
      'cordova-serve-ios': 'vue-cli-service cordova-serve-ios',
      'cordova-build-ios': 'vue-cli-service cordova-build-ios',
      'cordova-serve-browser': 'vue-cli-service cordova-serve-browser',
      'cordova-build-browser': 'vue-cli-service cordova-build-browser'
    },

And in my index new defaultModes for theses commands:
const defaultModes = {
  'cordova-serve-android': 'cordova-serve-android',
  'cordova-build-android': 'cordova-build-android',
  'cordova-serve-ios': 'cordova-serve-ios',
  'cordova-build-ios': 'cordova-build-ios',
  'cordova-serve-browser': 'cordova-serve-browser',
  'cordova-build-browser': 'cordova-build-browser'
}

The problem is now, if I ran vue-cli-service cordova-build-android, my process.env.NODE_ENV is development, because of loadEnv.
Setting my defaultModes to :
const defaultModes = {
  'cordova-serve-android': 'development',
  'cordova-build-android': 'production',
  'cordova-serve-ios': 'development',
  'cordova-build-ios': 'production',
  'cordova-serve-browser': 'development',
  'cordova-build-browser': 'production'
}

would correctly set the mode, however, in my plugin, during
api.chainWebpack(webpackConfig => {
}

and
api.configureDevServer(app => {
}

I no longer know, which mode (android, ios, browser), I'm using then.
My Plugin is available under https://github.com/m0dch3n/vue-cli-plugin-cordova to better understand, what I'm talking here about.
What does the proposed API look like?
It would be great, to have:
api.service.commandName = 'cordova-build-android'
i.e. if I ran vue-cli-service cordova-build-android

PS: I know I could create a file .env.cordova-build-android with NODE_ENV=production, however I prefer, if my plugin can solve this, without having to create additional files during generator.js...
What do you think, if the constructor of Service is refactored, to something like :
  constructor (context, commandName, { plugins, pkg, inlineOptions, useBuiltIn } = {}) {
  this.commandName = commandName
  ...
}

and then in vue-cli-service.js
const service = new Service(process.env.VUE_CLI_CONTEXT || process.cwd(), command)

You can call api.chainWebpack *inside of the registered command.
That way you have all The bro you need...

Thanks, this was also solving my problem.
I thought, chainWebpack i.e needed to be registered before the command is executed, so I didn't try this.
You can close the issue, if you want, or if you still find this feature useful in other scenarios, you can keep it open...

So this doesn't gain any traction by uers it seems, and I didn't come across a real usecase myself, so I'll close it.


Bro the get_server_server is not working so pls fix it

Tbh I am a fun of this repo and I used it a lot but now I can PLS FIX IT!!!!

First things first, you haven't provided any details of your issue. What you're saying is just "oh, i have an issue pls fix it". How am I supposed to know, out of all possibilities, what went wrong with the code if you don't provide me the stacktrace.
Also, this project was primarily built for my (private/personal) project and I open sourced it only because I thought it would be useful to other people.
 If you want it fixed, fix it yourself or at least be a little bit polite. I mean, you should not open an issue with saying only something like this: bro, i had fun with this repo but now something no work PLS FIX NOW.  You have also DEMANDED a fix instead of politely requesting it (in which case I'd probably fix it if you would've given me proper stacktrace) or maybe, I don't know, fixing it YOURSELF.
Open a new (polite) issue or don't use this project ever again.


Do not use :missing state for preempted pod.

Changes proposed in this PR

preempted pod label will not change pod state

Why are we making these changes?
Do not use :missing state for preempted pod. Preempted pod is still alive until a new instance is created.

Will merge when green


Statistic Comparison Table Incorrect

I think the current live stat table is incorrect, it's missing links that had been completed e.g. in Ancova:

I believe commit 1fa243c from #166 was using an old stat table.

Thanks @michaelwalshe,  you are correct.. when we've added python somethings got lost.  @statasaurus  another one to look at when you have time !

yeah there was a merge conflict I tired to copy everything clearly missed this I will fix thank you for catching


'pysilero-vad==1.0.0' no longer installs with Python 3.12

Pysilero-vad  is now in v2.0.0.
Pysilero-vad used setup.py for install.  This is failing in >=Python 3.12
https://packaging.python.org/en/latest/discussions/setup-py-deprecated/
FIX:

Upgrade or verify wyoming-satellite for pysiero-vad v2.0.0.
or
Modify wyoming-satellite README.md to suggest using:

pyenv install 3.11
pyenv local 3.11  # Sets Python 3.11 for this directory
python -m venv venv  # This will now use Python 3.11
source venv/bin/activate
pip install 'pysilero-vad==1.0.0'

Thanks for letting me know. Software rot is getting faster and faster in Python 😄


yarn-deduplicate: command not found

Node version : 15.14.0
Yarn version : 1.22.5
I have duplicates in my yarn.lock file
I have installed yarn-deduplicate using
yarn global add yarn-deduplicate

But, when running the command yarn-deduplicate,
I am getting this

Sounds like yarn global path is not part of your $PATH.
I'd suggest to have a look at Yarn docs: https://classic.yarnpkg.com/en/docs/cli/global#adding-the-install-location-to-your-path


Typo in reading local alerts - 'scr' should be 'src' in line 275 in alert_process.py

Hi Pierrick
In line 275 of alert_process.py there is a typo:
out_meta = scr.meta.copy()
should be:
out_meta = src.meta.copy()

thank you for reporting !


Add new RSpec/BeNil cop

Check that be_nil is used instead of be(nil).
RSpec has a built-in be_nil matcher specifically for expecting nil. For consistent specs, we recommend using that instead of be(nil).
Partially fixes #244.

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[ ] Squashed related commits together.
[x] Added tests.
[x] Updated documentation.
[x] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

If you have created a new cop:

[x] Added the new cop to config/default.yml.
[x] The cop is configured as Enabled: pending in config/default.yml.
[x] The cop documents examples of good and bad code.
[x] The tests assert both that bad code is reported and that good code is not reported.
[x] Set VersionAdded in default/config.yml to the next minor version.

If you have modified an existing cop's configuration options:

[ ] Set VersionChanged in config/default.yml to the next major version.

Note that it's not 100% safe.
expect(OpenStruct.new(nil?: true)).to be_nil # => pass
expect(OpenStruct.new(nil?: true)).to be nil # => fail

More importantly, I see absolutely no reason to prefer be_nil to be nil. The later is stricter, simpler and requires less knowledge of rspec.

We couldn't figure out a real example.

I see absolutely no reason to prefer be_nil to be nil. The later is stricter, simpler and requires less knowledge of rspec.

Well, that is true 😅 Should we consider making the cop configurable to users can enforce either one style or the other?


Add support for sort and limit in AQL in download spec

It would be really nice if download specs supported sort and limit operators. Right now we have to switch to REST API in Jenkins pipeline only because download specs don't support those

I would like to have this feature too. Being able to do sort and limit via aql in file spec keeps it clean and we don't have to switch to API for the same.


Make Python2/3 compatible

This SDK was only compatible with Python 2.x. This change improves compatibility with Python 3.x.

LGTM


[BUG] The image refactor cause --disableFastRender not working

Describe the bug 描述你遇到的错误
When run hugo server -D --disableFastRender
it will cause the error as below
ERROR render of "term" failed: "/Users/blog/layouts/_default/baseof.html:81:12": execute of template failed: template: taxonomy/list.html:81:12: executing "taxonomy/list.html" at <partial "header.html" .>: error calling partial: "/Users/blog/themes/DoIt/layouts/partials/header.html:8:77": execute of template failed: template: partials/header.html:8:77: executing "partials/header.html" at <partial "plugin/image.html">: error calling partial: "/Users/blog/themes/DoIt/layouts/partials/plugin/image.html:29:43": execute of template failed: template: partials/plugin/image.html:29:43: executing "partials/plugin/image.html" at <site>: can't evaluate field cacheRemote in type string

Expected behavior 期待的行为
Build successfully
Screenshots 屏幕截图
NA
Build Environment 构建环境

OS: [macOS]
Theme version/commit [0.4.0, dfc113a]
Hugo version [0.126.1+extended]

Preview Environment 预览环境

OS: [macOS]

Additional Information 补充信息
No response

It can occasionally happen in prod build as well. I build 4 times and got 1 time error

Can you share the params.toml or hugo.toml configurations? Specifically have you configured anything about params.image?

image:
  # 缓存图片链接到本地
  cacheRemote : true
  # 图片缩放和优化
  optimise : true

I copied the configuration from master

Can you provide a minimal reproduction? I cannot reproduce this issue on the exampleSite.
The error message is just saying that params.image has type string instead of map, which indicates that it might be a configuration error. I suspect somewhere in the config there is an image = "some/image.png" entry which is causing conflicts.

I added image : "" into the seo.en.yaml, will it cause the conflict? as this is not 100% reproducible, so I need some time to make minimal project.

I tried to log the data and debug the template, I found one interesting thing

Status
ScreenShot
Type

Success

Map

Fail

empty string

Fail

Map but recognize as String

So it seems the data is not recoginze instead of configuration problem
btw, I'm using YAML to config hugo

@HEIGE-PCloud nothing difference when trigger these 3 cases, just run and screenshot, all the configurations are the same. from my POV, it seems the configuration was changed in runtime in 3rd case, even it read as map before, but the configuration was changed to String when process the image.html

I think I figured out the RC, so I added below to my site as seo.en.yaml and seo.zh-cn.yaml
# Site SEO config
# 网站 SEO 配置
[seo]
  # image URL
  # 图片 URL
  image = "/images/Apple-Devices-Preview.png"
  # thumbnail URL
  # 缩略图 URL
  thumbnailUrl = "/images/screenshot.png"
  # Google 搜索结果中网站备用名字
  # alternate site name in Google search result
  # https://developers.google.com/search/docs/appearance/site-names#alternative
  # alternateName = ["Hugo DoIt"]

so whenever, I attach image field then it will be high possibility fail. If I remove the field, then nothing went wrong. But I have no idea, why the seo can override the image in params, it could be hugo issue

The SEO config is under the params namespace https://github.com/search?q=repo%3AHEIGE-PCloud%2FDoIt params.seo&type=code
So it should be placed in params.yaml. Inside params.yaml, you should have both
image:
  cacheRemote: true
  optimise: true

seo:
  image: /images/Apple-Devices-Preview.png
  thumbnailUrl: /images/screenshot.png

https://github.com/HEIGE-PCloud/DoIt/blob/98ba1e54897e1c903d57e76f0af68ae01dc2a82e/exampleSite/config/_default/params.toml#L543
I am not sure whether this is the RC though.

I don't think Hugo actually supports arbitrary top level config keys... Not sure what does it do when it sees one.
https://github.com/gohugoio/hugo/blob/7f3061723e3df064515fc57c183b06ed16f26b75/config/allconfig/allconfig.go#L98

since the issue gone after the change, I think this should be RC. thx for support and sorry to raise false alarm


Connecting signal from Node panel deselects node

Godot version:
3.2.3.stable
OS/device including version:
Windows 10 Pro
Issue description:
Godot automatically deselects the node when connecting signals in a scene. See reproduction steps.
When connecting several signals through the Node panel, it's tedious having Godot automatically deselect the node, since you have to reselect the node after connecting each signal.
I don't care for Godot automatically opening the text editor when you connect a signal, but I don't see any reason why deselecting the node is desireable. There's nothing useful in the Node or Inspector panels for a .gd file. I think this is just a bug.
Steps to reproduce:

Connect a signal from the Node panel
Godot automatically opens the gdscript in the text editor for the node signal was connected to
The original node selection is replaced with the .gd file being selected

I suppose the inspector for the script is opened because the editor technically "edits" the script to make it open in the script editor.

Just to ping on this, I'm using Godot 4.0.3 in 2023 and came here to report this bug today, but found this was already reported for Godot 3.2.3 more than 2 years ago.
This is a significantly annoying issue when you have multiple signals to connect from a node.
Please consider fixing this, it's very surprising and disconcerting behavior that significantly affects usability.

This is a duplicate of https://github.com/godotengine/godot/issues/21950, so consolidating there. https://github.com/godotengine/godot/pull/54071 would fix it.


Log execution time of all CRUD APIs

Problem
Users of this library have no easy way of knowing how long each query find() or insert/update/delete commit() functions take to execute, which would be very useful to know when dealing with very large data sets (e.g. 100,000 contacts).
Solution
Log the execution time in the LoggerRegistry, which currently looks like;
class LoggerRegistry(logger: Logger) {
    ...
        override fun onPreExecute(api: CrudApi) {
            logRedactable(api)
        }

        override fun onPostExecute(result: CrudApi.Result) {
            logRedactable(result)
        }

        private fun logRedactable(redactable: Redactable) {
            logger.log(redactable.redactedCopyOrThis(logger.redactMessages).toString())
        }
    ...
}

I'm thinking of adding private val apiExecutionStartTimeMillis: MutableMap<CrudApi, Long>. We can do something like...
override fun onPreExecute(api: CrudApi) {
    apiExecutionStartTimeMillis[api] = System.currentTimeMillis()
    logger.log(api.redactedCopyOrThis(logger.redactMessages).toString())
}

override fun onPostExecute(api: CrudApi, result: CrudApi.Result) {
    val executionTime = System.currentTimeMillis() - apiExecutionStartTimeMillis.remove(api)

    logger.log(
        """
           ${result.redactedCopyOrThis(logger.redactMessages)}
           execution time: $executionTime
        """.trimIndent()
        )
}

This will require refactoring ALL calls to onPostExecute to add the api: CrudApi as a parameter. It's a lot of redundant work but having the api and the result available in the same function will be very useful for a lot of other things and should have been the initial implementation anyways 😅

Gotta get that timer in there!

Hey! Been long time my dude! Thanks for helping me out with my passion project!

This is included in release 0.2.1!


Minor Documentation update for 18

Took me a second to realize why Generator wouldn't work with a file made in 18.  FileAccess is turned on automatically in 18 so you have to authorize Generator to get a list of tables, etc or turn off the requirement.  Might want to mention this to save others time.

Thanks Mike
Todd
--
Todd Geist
CEO, Geist Interactive
<EMAIL_ADDRESS>(805) 941-0435
[cid:fe646d99-1014-4143-b0fc-92ead539d0c2]

From: Michael A Wallace Sr<EMAIL_ADDRESS>Sent: Tuesday, July 9, 2019 11:12 AM
To: geistinteractive/generator
Cc: Subscribed
Subject: [geistinteractive/generator] Minor Documentation update for 18 (#29)
Took me a second to realize why Generator wouldn't work with a file made in 18. FileAccess is turned on automatically in 18 so you have to authorize Generator to get a list of tables, etc or turn off the requirement. Might want to mention this to save others time.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/geistinteractive/generator/issues/29?email_source=notifications&email_token=AACNK6B5TTJIP2GTPSHPQU3P6TIJZA5CNFSM4H7IB6OKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G6FK5VA, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AACNK6D7T5HN6ZH4QTM475LP6TIJZANCNFSM4H7IB6OA.


Re-enable actor inheritance from NSObject.

For now, it's the only way to get NSObjectProtocol conformance.
Fixes rdar://80476009.

@swift-ci please smoke test


switching to spin::Mutex for more efficient pending structs

switching to spin::Mutex as per #44

Thank you!


Updating depedencies

Dependencies should be updated as soon as possible as current master version doesn't work properly with the newest version of ember cp validations. In addition to that new release tag should be introduced. Thanks.

replaced by #26


HQRM: Only target source module for PSSA and MarkdownLinks

Pull Request (PR) description
Update PSSAResource and MarkdownLinks to only target source files.

This Pull Request (PR) fixes the following issues

Fixes #57

Task list

[x] Added an entry to the change log under the Unreleased section of the file CHANGELOG.md.
Entry should say what was changed and how that affects users (if applicable), and
reference the issue being resolved (if applicable).
[x] Documentation added/updated in README.md.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[x] Unit tests added/updated. See DSC Community Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Community Testing Guidelines.
[x] New/changed code adheres to DSC Community Style Guidelines.

This change is

I wonder why I wrote in the issue "Resource Files test should only target source". I wish I wrote the reason. Before merging this, are we sure this is the best way of testing these in Source and not what actually was built och will be published? 🤔
I'm starting to question myself here - testing it in both location is not ideal at least, so that will this PR fix 🙂
@dan-hughes do you have any thoughts if there are better to test MOF-resources in either Source or built-module? 🤔

From a test writing and issue finding perspective it's easier to test against the source files as each resource uses the same structure and it's a 1 to 1 mapping.
I've not looked at 'how' Sampler assembles the individual files into a module, but if Sampler has it's own unit tests and all the source files have passed HQRM is there any benefit of checking them again?

I've not looked at 'how' Sampler assembles the individual files into a module

Sampler calls ModuleBuilder. When ModuleBuilder is called it just copies the entire DSCResources folder to the root of the builtModule. It is configured in build.yaml:
https://github.com/dsccommunity/SqlServerDsc/blob/5677cd5b933d2fce2205fe1c048c24ac5e813254/build.yaml#L59-L60
So there are no tests for this in Sampler or any other code in Sampler.

... all the source files have passed HQRM is there any benefit of checking them again?

No it is not. My thought if we would just test them in the builtModule.
But let's go with you comment "From a test writing and issue finding perspective it's easier to test against the source files as each resource uses the same structure and it's a 1 to 1 mapping" and merge this 🙂 If there is a downside we can always change in the future. 🙂

Maybe some ideas from others in the community can be used to define the QA tests that will be needed when Pester 6 arrives.
It would be a good time to make some larger changes as when other modules are converted to Pester 6 any updates/changes to HQRM would not be too significant seeing as it will be a larger than normal changeset anyway.


Create db schema

added a script to create a schema figure of the database

Nice tool!
Agree with @YossiHananya  approach of seprating it from development. It should take in consideration testing as well (if we run this configuration).
Great job @HananyaS

Thank you :)
Changed all the issues you mentioned.
Now the script can accept one of the available configurations and extracts the db name from there.


problem with auto closing of tags

Respected Sir/Madam,
I'm confused overcoming my problem, that if I have to add a tag to existing content then it is very difficult to do so......because it closes the tag automatically, Then I have to select the unnecessary closing tag and cut it, then by pasting it the end of the content I continue my coding.

@9192939495969798 You can disable auto close by adding below line
"closeTags": { "whenOpening": false, "whenClosing": true, "indentTags": [] }
in "C:\Users\name\AppData\Roaming\Brackets\brackets.json"
If think this is what you want. I am closing this issue, Please feel free to open it again if you have any concern ?

Thank you sir ji.
On Nov 16, 2017 11:00 PM, "Naveen Choudhary"<EMAIL_ADDRESS>wrote:

Closed #13787 https://github.com/adobe/brackets/issues/13787.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/adobe/brackets/issues/13787#event-1345596806, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AffiHBKCWB06knVZJyA7iDsIceA-lcFlks5s3HFNgaJpZM4QChkg
.


check storagenodes first, works if px node names different to k8s nod…

…e names

What this PR does / why we need it:
Which issue(s) this PR fixes (optional)
Closes #201
Special notes for your reviewer:

The CI test failed because you have to sign-off your git commit. Use git commit --amend -s to sign the current commit.
See https://app.travis-ci.com/github/portworx/pxc/builds/266912188#L252

Tested and it works. Just waiting for the commit to be signed off


[event-hubs] fix subscription deadlock

Background
Fixes #9289
The EventHubConsumerClient subscription could deadlock if the user's processError handler was invoked with a non partition-specific error (e.g. unable to get partition ids) and the user awaited subscription.close() within processError.
What was the root cause?
This behavior is being caused because we have some circular awaits in this scenario. Here's what's happening:

EventProcessor loop begins.
Call to get partition ids fail due to bad eventHubName, enter catch block in loop.
Inside catch block, we await processError.
User's processError awaits subscription.close().
subscription.close() waits for the EventProcessor loop to exit before yielding.

It's at this point that we've reached a holding pattern, since processError won't yield to the loop until the loop has closed...which it can't do until processError yields!
What's the change?
This change adds a cancelLoopPromise that resolves once the EventProcessor loop is cancelled. This happens when the user calls subscription.close().
Then in the catch block of the EventProcessor loop, we put a Promise.race around the cancelLoopPromise and the call to the user's processError.
How does that help?
When the user calls subscription.close() inside processError, the Promise.race will resolve. The EventProcessor loop exits because its abortSignal.aborted now returns true (due to the close()).
Inside the processError handler that has called await subscription.close(), now that the EventProcessor loop has exited, control is yielded back to the handler.
Is it safe to exit the loop before the user's processError yields?
With this change, the loop still only exits if the subscription is closed. If the user is calling subscription.close() inside of their handlers, then it should be expected that the subscription may close immediately.
This fixes the issue for processError, can anything else cause this deadlock?
The processError handler is the only user-provided handler that is awaited inside the EventProcessor loop, so this is the only place that this deadlock can occur.
There can be a delay between when subscription.close() is called, and when the loop exits if listOwnership is in-flight, but this delay should just be the amount of time it takes to get a response from the checkpointstore. We should consider updating our CheckpointStore to also accept an optional abortSignal for its methods to minimize any delays.
Edit: #9492 logged to add cancellation support to CheckpointStore methods.

/azp run js - eventhubs-client - tests


Amazon AWS EC2 Enhancements

Enhancements for: "Describe Instances in Region" and "Describe Images in Region" to support advance filtering.

@gituser173 Please review it!

@gituser173 If the review is done... you can merge it.

@gituser173 Now if everything is OK from review than you should merge it. Thanks!

replace methods that do String splitting with StringUtils.split

@gituser173 Done... I will reuse it from now one...


Implement oauth rules for upgrade

Description
Changes proposed in this pull request:

Implement oauth rules for upgrade using ORY

Related issue(s)

/retest

/test pre-master-control-plane-gke-integration


[Module issue from Discussions] sshPublicKeys module

Discussed in https://github.com/Azure/ResourceModules/discussions/3059

Originally posted by Grant-Rc March 29, 2023
Hello guys,
Would it be possible to have a module for the creation of 'sshPublicKeys' resource if not exist?
Deploying a VM for the team using the module virtualMachines and found that they need a new sshkey created.  Ideally this would be all self-contained rather than creating the ssh key in a different pipeline.
resource symbolicname 'Microsoft.Compute/sshPublicKeys@2022-11-01' = if (empty(publicKeys)) {   name: 'string'   location: location   tags: {     tagName1: 'tagValue1'     tagName2: 'tagValue2'   } }
This will create the SSH pair and then we can pass the details up to the Microsoft.Compute/virtualMachines deployment. The extra steep would be where the private key gets stored, and I assume that could be solved by storing it in a keyvault.
Im going to try and put this together now if you would like to see the end resault?

Update:

As commented in the screenshot, this is related to #3118 (closed as resolved) and #3119 (being moved to AVM)


option to expand an epub

From<EMAIL_ADDRESS>on June 25, 2013 02:46:19
Low priority feature request to add the option to blow up an epub to an expanded directory, to complement the existing functionality to zip a directory up.
With amateurs making EPUBs using not-always-perfect conversion tools, it's not that uncommon to get errors that are not hard to fix but that requiring explaining the need to unzip the publication first. I was thinking it would be helpful if epubcheck could do both steps, so that the process could be simplified to using one program.
Thinking a simple option like:
-unpack <dir>
that if set would override any validation steps and simply unzip the epub to the specified directory.
Original issue: http://code.google.com/p/epubcheck/issues/detail?id=286

@mattgarrish I would take this and implement it for a next release.
How shall we handle the case when <dir> already exists?

@mattgarrish I would take this and implement it for a next release.
How shall we handle the case when <dir> already exists?


Playground: Errors in console when using CTRL+A

The playground prints errors in the console when using CTRL+A after there are some statements in the program - playground
I spent a few minutes looking into this but wasn't able to find a quick fix. It looks like this might be coming out of Monaco?

Code
'use strict'
const x = require('')

Expected behavior:
No errors in console
Actual behavior:
Errors in console

Yeah, this will be in Monaco-typescript - probably in the codex code

( They don't have open issues, so this is a reasonable place to put it )

This is fixed in the nightly builds, and will show up in the 4.0 release of ts' monaco


[v8] Add support for clang builds.

Environment Variables must be set accordingly:
CC=clang
CXX=clang
AR=llvm-ar
NM=llvm-nm
Fixes #17536

We need to figure out a better way to do this.

Agreed

@Kwizatz As a temporary fix, I think we should use vcpkg_internal_get_cmake_vars as @strega-nil-ms suggested. Since this is an internal script and not yet stable, we likely will need to use a snapshot of the current script.

@dan-shaw do you mean vcpkg_internal_get_GN_vars? v8 uses GN.
It may be possible to just detect the environment variables from the gn script and not have to pass is_clang explicitly, but I can already see the argument against "adding features via patches" being made.
Anyway, I am done for now, if anyone is interested on taking over and making the changes feel free to do so, I'll come back to this when its time for a version update, as it is, there's a bigger issue regarding mixing C++ style attributes ([[nodiscard]] specifically) and gcc attributes ((attribute(visibility=default)) specifically) on Linux.


Implement Post-Processor Hooks for Refreshing Index after Ingestion

Is your feature request related to a problem? Please describe.
Currently our ETL job runs every 30 minutes and inserts a file into S3, triggering OpenSearch ingestion pipeline. Due to varying ETL completion time, it's challenging to determine suitable refresh_interval at the index level that works consistently for all scenarios.
As a result of this behavior - there is a delay in the data being available even though the ingestion to OpenSearch is complete.
Describe the solution you'd like
We propose to add a new configuration option for http post-processor hooks in the Data Prepper pipeline definition, which will allow us to specify the http POST endpoint and make refresh API call( /index-name/_refresh), post pipeline ingestion is completed.
Currently the processor available in the pipeline definition only works before ingesting data to OpenSearch.
Describe alternatives you've considered (Optional)
Provide refresh option at pipeline index settings which will internally refresh the index after the execution of pipeline.
Additional context
N/A

@SavvasSriAnushaVeeramachineni , Thank you for opening this issue. I understand that you'd like Data Prepper to automatically call the _refresh API for every updated index.
Can you clarify what will try making that call? Are you using S3-scan? Do you want the completion of the scan to trigger the refresh?

As a result of this behavior - there is a delay in the data being available even though the ingestion to OpenSearch is complete.

What is your delay?
Also, have you tried using the default refresh_interval to let OpenSearch handle it?

@dlvenable Thanks for Replying!
Regarding : Can you clarify what will try making that call? Are you using S3-scan? Do you want the completion of the scan to trigger the refresh?

We are using S3-SQS processing.
I want the _refresh API to be called after the complete ingestion of csv at sink is complete.
We are hoping the data is available to search results, immediately after the data is ingested to OpenSearch from pipeline.

What is your delay?

delay is around 30 min

Also, have you tried using the default refresh_interval to let OpenSearch handle it?

Yes I have tried to set refresh_interval at 30 minutes, but the Ingestion complete time always doesn't fall within the 30 minute window. If the current refresh cycle has completed and the pipeline inserted data just after 1 minute, still we have to wait for an other 30 min for the data to be available.
We don't want to keep a lower refresh_interval either, as it would increase the cost and also the scheduler which inserts data to S3 runs 30 minutes.

@dlvenable Do you have any suggestion/solution for the requirement we are looking for?
Is there any plan to pick the enhancement request in the near future?

Hi @dlvenable : Good day, do we have any traction on the above use case ?


Embedding Api lack of utils for 'cosine_similarity' method, did you have any plan to complete it?

Such as official Doc giving :

it is available in py sdk.

Let me take a look first. If you can provide PR, that would be great

我看了下,这不属于openAi api的范围之内。而且也有支持的java库计算余弦相似度.例如Apache Commons Math。.你可以参考然后自己使用

好的，我去找下Apache Commons Math 这个库


How can I collapse/expand large sub-trees?

I have large graphs. And I want the users to be able to expand/collapse the sub-graphs so they can remove the extra stuff in their way.
This is advanced example:
https://reactflow.dev/examples/layout/expand-collapse
But even something simpler/minimal feature such as this above.
I know this is not available in the API/SDK... so can you provide some guidance, on which part of the code can I modify to accomplish this behavior?

Hello @hchaudhary1,
have you seen the folder step component in the pro version? Would this solve your problem?

Folder is great to hide things (extra friction to drag and hide... ).. the issue with folder is: how can I quickly un-hide?
Hence, I don't think folder would solve my use-case.
An easy toggle to expand-collapse would be needed... possibly in the context-menu?

The 0.21.0 brings the collapsible region feature.


When Rabbit goes down a dicom is sent and comes back up, MIG cannot reconnect

Description
I have been testing resiliency, one of the tests is to temporarily disconnect RabbitMQ. The behaviour while it is disconnected is correct but when i bring Rabbit back up. MIG proceeds to not be able to connect to it.
Steps to reproduce
Please share a clear and concise description of the problem.

Have MIG/MWM and all required containers running
Diconnect RabbitMQ
Try to send a dicom through the system
Reconnect RabbitMQ
Try to send a dicom through the system

Expected behavior
Dicom would go through workflow as before Rabbit is disconnected
Actual behavior
MIG complains it cannot connect to RabbitMQ and payload is deleted
Other information
Weirdly this seems to only happen if a dicom is attempted to be sent whilst Rabbit is offline.
2022-09-29T15:39:52.436062946Z <4> 15:39:52 Monai.Deploy.InformaticsGateway.Services.Connectors.PayloadNotificationAct
ionHandler[706] => Payload=faa61cbd-5a5c-4a7a-9c6b-578a2be600ac, Correlation ID=c9bf0c3b-e9d8-49ae-ad53-3346f436febf =
> Payload=faa61cbd-5a5c-4a7a-9c6b-578a2be600ac, Correlation ID=c9bf0c3b-e9d8-49ae-ad53-3346f436febf => Payload=faa61cb
d-5a5c-4a7a-9c6b-578a2be600ac, Correlation ID=c9bf0c3b-e9d8-49ae-ad53-3346f436febf Failed to publish workflow request
for payload faa61cbd-5a5c-4a7a-9c6b-578a2be600ac; added back to queue for retry. RabbitMQ.Client.Exceptions.BrokerUnre
achableException: None of the specified endpoints were reachable  ---> System.AggregateException: One or more errors o
ccurred. (Connection failed)  ---> RabbitMQ.Client.Exceptions.ConnectFailureException: Connection failed  ---> System.
Net.Sockets.SocketException (111): Connection refused    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.Th
rowException(SocketError error, CancellationToken cancellationToken)    at System.Net.Sockets.Socket.AwaitableSocketAs
yncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)    at System.Threading.Tasks.Value
Task.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state) --- End of stack trace from previous location ---    at Ra
bbitMQ.Client.Impl.TcpClientAdapter.ConnectAsync(String host, Int32 port)    at RabbitMQ.Client.Impl.TaskExtensions.Ti
meoutAfter(Task task, TimeSpan timeout)    at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectOrFail(ITcpClient socket,
 AmqpTcpEndpoint endpoint, TimeSpan timeout)    --- End of inner exception stack trace ---    at RabbitMQ.Client.Impl.
SocketFrameHandler.ConnectOrFail(ITcpClient socket, AmqpTcpEndpoint endpoint, TimeSpan timeout)    at RabbitMQ.Client.
Impl.SocketFrameHandler.ConnectUsingAddressFamily(AmqpTcpEndpoint endpoint, Func`2 socketFactory, TimeSpan timeout, Ad
dressFamily family)    at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectUsingIPv4(AmqpTcpEndpoint endpoint, Func`2 so
cketFactory, TimeSpan timeout)    at RabbitMQ.Client.Impl.SocketFrameHandler..ctor(AmqpTcpEndpoint endpoint, Func`2 so
cketFactory, TimeSpan connectionTimeout, TimeSpan readTimeout, TimeSpan writeTimeout)    at RabbitMQ.Client.Framing.Im
pl.IProtocolExtensions.CreateFrameHandler(IProtocol protocol, AmqpTcpEndpoint endpoint, ArrayPool`1 pool, Func`2 socke
tFactory, TimeSpan connectionTimeout, TimeSpan readTimeout, TimeSpan writeTimeout)    at RabbitMQ.Client.ConnectionFac
tory.CreateFrameHandler(AmqpTcpEndpoint endpoint)    at RabbitMQ.Client.EndpointResolverExtensions.SelectOne[T](IEndpo
intResolver resolver, Func`2 selector)    --- End of inner exception stack trace ---    at RabbitMQ.Client.EndpointRes
olverExtensions.SelectOne[T](IEndpointResolver resolver, Func`2 selector)    at RabbitMQ.Client.Framing.Impl.Autorecov
eringConnection.Init(IEndpointResolver endpoints)    at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointRe
solver endpointResolver, String clientProvidedName)    --- End of inner exception stack trace ---    at RabbitMQ.Clien
t.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)    at RabbitMQ.Cli
ent.ConnectionFactory.CreateConnection(String clientProvidedName)    at RabbitMQ.Client.ConnectionFactory.CreateConnec
tion()    at Monai.Deploy.Messaging.RabbitMQ.RabbitMQConnectionFactory.<>c__DisplayClass6_0.<CreatConnection>b__1()
 at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location ---    at System
.Lazy`1.CreateValue()    at Monai.Deploy.Messaging.RabbitMQ.RabbitMQConnectionFactory.<>c__DisplayClass5_0.<CreateChan
nel>b__1(String updateKey, Lazy`1 updateConnection)    at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUp
date(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)    at Monai.Deploy.Messaging.RabbitMQ.RabbitMQConnec
tionFactory.CreateChannel(String hostName, String username, String password, String virtualHost, String useSSL, String
 portNumber)    at Monai.Deploy.Messaging.RabbitMQ.RabbitMQMessagePublisherService.Publish(String topic, Message messa
ge)    at Monai.Deploy.InformaticsGateway.Services.Connectors.PayloadNotificationActionHandler.NotifyPayloadReady(Payl
oad payload) in /app/src/InformaticsGateway/Services/Connectors/PayloadNotificationActionHandler.cs:line 137    at Mon
ai.Deploy.InformaticsGateway.Services.Connectors.PayloadNotificationActionHandler.NotifyAsync(Payload payload, ActionB
lock`1 notificationQueue, CancellationToken cancellationToken) in /app/src/InformaticsGateway/Services/Connectors/Payl
oadNotificationActionHandler.cs:line 76
2022-09-29T15:39:52.441135463Z <6> 15:39:52 Monai.Deploy.InformaticsGateway.Services.Connectors.PayloadNotificationAct
ionHandler[711] => Payload=faa61cbd-5a5c-4a7a-9c6b-578a2be600ac, Correlation ID=c9bf0c3b-e9d8-49ae-ad53-3346f436febf =
> Payload=faa61cbd-5a5c-4a7a-9c6b-578a2be600ac, Correlation ID=c9bf0c3b-e9d8-49ae-ad53-3346f436febf => Payload=faa61cb
d-5a5c-4a7a-9c6b-578a2be600ac, Correlation ID=c9bf0c3b-e9d8-49ae-ad53-3346f436febf Publishing workflow request message
 ID=f754afd5-08fd-4828-bff8-bcec6f07010f...
2022-09-29T15:39:52.442214223Z <6> 15:39:52 Monai.Deploy.Messaging.RabbitMQ.RabbitMQMessagePublisherService[10000] =>
Payload=faa61cbd-5a5c-4a7a-9c6b-578a2be600ac, Correlation ID=c9bf0c3b-e9d8-49ae-ad53-3346f436febf => Payload=faa61cbd-
5a5c-4a7a-9c6b-578a2be600ac, Correlation ID=c9bf0c3b-e9d8-49ae-ad53-3346f436febf => Payload=faa61cbd-5a5c-4a7a-9c6b-57
8a2be600ac, Correlation ID=c9bf0c3b-e9d8-49ae-ad53-3346f436febf => Message ID=f754afd5-08fd-4828-bff8-bcec6f07010f. Ap
plication ID=16988a78-87b5-4168-a5c3-2cfc2bab8e54. Publishing message to rabbitmq-monai/monaideploy. Exchange=monaidep
loy, Routing Key=md.workflow.request.
2022-09-29T15:39:52.442280732Z <3> 15:39:52 Monai.Deploy.InformaticsGateway.Services.Connectors.PayloadNotificationAct
ionHandler[728] => Payload=faa61cbd-5a5c-4a7a-9c6b-578a2be600ac, Correlation ID=c9bf0c3b-e9d8-49ae-ad53-3346f436febf =
> Payload=faa61cbd-5a5c-4a7a-9c6b-578a2be600ac, Correlation ID=c9bf0c3b-e9d8-49ae-ad53-3346f436febf => Payload=faa61cb
d-5a5c-4a7a-9c6b-578a2be600ac, Correlation ID=c9bf0c3b-e9d8-49ae-ad53-3346f436febf Reached maximum number of retries f
or notifying payload faa61cbd-5a5c-4a7a-9c6b-578a2be600ac ready, giving up.
2022-09-29T15:39:52.474908911Z <6> 15:39:52 Monai.Deploy.InformaticsGateway.Services.Connectors.PayloadNotificationAct
ionHandler[720] => Payload=faa61cbd-5a5c-4a7a-9c6b-578a2be600ac, Correlation ID=c9bf0c3b-e9d8-49ae-ad53-3346f436febf =
> Payload=faa61cbd-5a5c-4a7a-9c6b-578a2be600ac, Correlation ID=c9bf0c3b-e9d8-49ae-ad53-3346f436febf => Payload=faa61cb
d-5a5c-4a7a-9c6b-578a2be600ac, Correlation ID=c9bf0c3b-e9d8-49ae-ad53-3346f436febf Payload faa61cbd-5a5c-4a7a-9c6b-578
a2be600ac deleted.

Fix made in https://github.com/Project-MONAI/monai-deploy-messaging/pull/79


Performance Issue with Firefox

Actual behaviour
when we go to the gantt chart with firefox it take up to a minute to see that.
Expected behaviour
showing the gantt chart <10s
Steps to reproduce
Use a Debian Buster with Firefox 68.2.0esr or a Mac 10.15.1 with Firefox 70.01 and go to the gantt chart. With Safari or with Chrome it works fine.
When I look at the performance monitor in firefox, the most time is the layout:
Run1:

Run2:

Configuration

Plugin version: 1.0.4
Kanboard version: 1.2.12
Database type and version: SQLite <IP_ADDRESS>
PHP version: 5.6.40-0+deb8u1
OS: Debian 8.11
Browser:  Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Had the same here.
After Update to Firefox 70 (Debian SID) performance of Gantt chart is good again.


Add a channel to become a web developer

hi i added a youtube channel to become a web developer

@rinolvy  contribute here https://github.com/Ishaan28malik/Get-Dev-Resources


error loading connector widget

starting from a new environment:

conda create --name tmp python=3.10 -y
conda activate tmp
pip install "jupyterlab<4" jupysql-plugin jupysql
jupyter lab

then in a notebook, run:
from jupysql_plugin import __version__
__version__ # 0.1.5

from jupysql_plugin.widgets import ConnectorWidget
ConnectorWidget()

yields:
[Open Browser Console for more detailed log - Double click to close this message]
Failed to load model class 'ConnectorModel' from module 'jupysql-plugin'
loadClass@http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.402424ef4079078b2e0e.js?v=402424ef4079078b2e0e:1:74976
loadModelClass@http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.1a6d6a3a0542a41bec5a.js?v=1a6d6a3a0542a41bec5a:1:10729
_make_model@http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.1a6d6a3a0542a41bec5a.js?v=1a6d6a3a0542a41bec5a:1:7517
new_model@http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.1a6d6a3a0542a41bec5a.js?v=1a6d6a3a0542a41bec5a:1:5137
handle_comm_open@http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.1a6d6a3a0542a41bec5a.js?v=1a6d6a3a0542a41bec5a:1:3894
134/v/this._handleCommOpen@http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.402424ef4079078b2e0e.js?v=402424ef4079078b2e0e:1:73392
_handleCommOpen@http://localhost:8888/static/lab/jlab_core.87737d4fe404e2a19e9a.js?v=87737d4fe404e2a19e9a:2:1040012

@bbeat2782: you're right, there's a problem with this. let's pause this work until we fix it. I'll assign another issue shortly

@edublancas
I was able to reproduce this bug.
Quick update:
I'm getting the same error for our examples widgets
i.e.
from jupysql_plugin._widgets import TableWidget

When I'm running it in dev mode it works as expected

thanks for the update. my guess is that we introduced this error when we pushed some update. based on the error, maybe we're not including certain files in the package?
we build the release artifact with python -m build, please verify if anything looks odd when you generate it: https://github.com/ploomber/jupysql-plugin/blob/main/RELEASE.md

It looks like the build works ok.
First, I ran python -m build and it generated jupysql_plugin-0.1.6-py3-none-any.whl in dist/
Then I ran
conda create --name tmp python=3.10 -y
conda activate tmp
pip install "jupyterlab<4" jupysql jupysql_plugin-0.1.6-py3-none-any.whl

I was able to run ConnectorWidget successfully

I found the problem, all the PyPI uploads have wrong metadata. the Python version doesn't match the JS package version, they all point to a lower version:
curl -O https://files.pythonhosted.org/packages/6e/f9/c4ce3523e233f545af2e7f07e324d59a6ad092dc7154ff0cc17bd8e9d1b4/jupysql_plugin-0.1.4-py3-none-any.whl
unzip -p jupysql_plugin-0.1.4-py3-none-any.whl "jupysql_plugin-0.1.4.data/data/share/jupyter/labextensions/jupysql-plugin/package.json" | head -n10
# says 0.1.3

curl -O https://files.pythonhosted.org/packages/1b/68/135fdeb78bf3195e70d4bfdad0348c211437578e9c81466dcbd3ad5acb54/jupysql_plugin-0.1.5-py3-none-any.whl
unzip -p jupysql_plugin-0.1.5-py3-none-any.whl "jupysql_plugin-0.1.5.data/data/share/jupyter/labextensions/jupysql-plugin/package.json" | head -n10
# says 0.1.4

curl -O https://files.pythonhosted.org/packages/c0/20/af7dd5621981f7d593ae8916c684ce17838700fa89ad363e8574165756df/jupysql_plugin-0.1.6-py3-none-any.whl
unzip -p jupysql_plugin-0.1.6-py3-none-any.whl "jupysql_plugin-0.1.6.data/data/share/jupyter/labextensions/jupysql-plugin/package.json" | head -n10
# says 0.1.5

I realized that python -m build does not perform from scratch, but uses whatever existing files there are. in my case, I had a jupysql_plugin/labextension/package.json file that had the wrong version and was used whenever I executed python -m build. I deleted the labextension/ directory, generated a new file, released it (0.1.7) and now it's working.
I'm still trying to fully understand the whole build process but for now, I'll delete the labextension/ directory before making any new release.
@yafimvo: can you verify that the 0.1.7 version uploaded to PyPI works?
I tested it and it works, although there is a react incompatibility (although this doesn't affect the widgets):
(tmp3) eduardo@macbookair dev/jupysql-plugin (main) » pip freeze | grep jupy
jupysql==0.7.9
jupysql-plugin==0.1.7
jupyter-events==0.6.3
jupyter-ydoc==0.2.4
jupyter_client==8.3.0
jupyter_core==5.3.1
jupyter_server==2.7.0
jupyter_server_fileid==0.9.0
jupyter_server_terminals==0.4.4
jupyter_server_ydoc==0.8.0
jupyterlab==3.6.5
jupyterlab-pygments==0.2.2
jupyterlab-widgets==3.0.8
jupyterlab_server==2.23.0
(tmp3) eduardo@macbookair dev/jupysql-plugin (main) » jupyter labextension list
JupyterLab v3.6.5
/Users/eduardo/miniconda3/envs/tmp3/share/jupyter/labextensions
        jupysql-plugin v0.1.7 enabled  X (python, jupysql-plugin)
        jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
        @jupyter-widgets/jupyterlab-manager v5.0.8 enabled OK (python, jupyterlab_widgets)

<EMAIL_ADDRESS>is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLabExtension        Package
>=17.0.1 <18.0.0>=18.2.0 <19.0.0 react

I think this react incompatibility was introduced when we added the "deploy notebook" button. perhaps it's related to the other problem we encountered @tonykploomber ?

@edublancas I can confirm that it works from my side


question manifest.json

I didn't see trimwhitespace in the list anymore, nor is it in the manifest.json
So I thought that because it is now shipped by default with lite-xl...
... but then settings and a bunch of languages are on the list here and settings is in the manifest.
To me it would make sense, that all plugins are in the manifest, so that users who deleted a default plugin can easily restore it with lpm
Is trimwhitespace intentionally no longer in either and settings mistakenly still is or v.v. ?

trimwhitespace is now a core plugin; should be shipped with all versions of lite. Users can't really delete it, unless they explicitly go into the lite data folder and do so (just like if they were do go in and delete docview.lua, for example, that's not really a case we'd cover). I think it's assumed that if you have plugins bundled into the core, generally you shouldn't be deleting them unless you're sure what you're doing.
settings is in here because it's not a core plugin; it's only shipped as part of the addons package, which basically just contains a bunch of extra plugins by default.

docview.lua is not in the plugins directory, which users are told to access to install and remove plugins (when not using lpm). There is a difference there.

Users should generally not be using the core plugins directory to install/uninstall plugins; usually plugins should be placed in either the user/plugins directory, or the ~/.config/lite-xl/plugins directory.

Thanks, my mistake that I use portable builds then.

Yeah; if you're using purely portable builds then, convention would be to install it in user (not under data); the portable version of the user directory. If you create that folder in your lite folder, it'll override the normal user directory, and keep everything local to your portable install.

Thanks.
Follow-up question: would having a portableLiteXL/user/ also disable lite-xl from reading the ~/.config/lite-xl/ config? I ask because I had to add a version check in there so that newer versions don't load settings for older versions. (and fail)

Yes; it fully overrides the USERDIR variable, so won't load anything from ~/.config/lite-xl if you have user.

note to self: have builder script make user when building portable variant


fix some swiftUI issues

Use some View instead of any View and adding .ignoresSafeArea(.container) for avoid white padding on top and bottom View
-> some View is the good way to return a generic SwiftUI View
Remove return -> Not needed for one line code since Swift 5 I gess
Fix wrong representable for SwiftUI
Use UIViewControllerRepresentable instead of UIViewRepresentable and add the missing UINavigationController for bridge with SwifUI
You can test it by adding using this sample code that creates a NavigationLink to display WishLit.view
In the Preview,
import SwiftUI
import WishKit

struct FeatureRequestView: View {
    var body: some View {
        NavigationView {
            NavigationLink(destination: WishList.view) {
                Text("!Request a new feature")
                    .frame(maxWidth: .infinity, alignment: .leading)
            }
        }
    }
}

struct FeatureRequestView_Previews: PreviewProvider {
    static var previews: some View {
        FeatureRequestView()
    }
}

The limiting case is that the NavController is duplicated. Otherwise, it will be necessary to make
struct WishListView: UIViewControllerRepresentable {
    typealias UIViewControllerType = UIViewController

    func makeUIViewController(context: Context) -> UIViewControllerType {
        let vc = WishList.viewController
        vc.viewDidLoad()
        return vc
    }

    func updateUIViewController(_ uiViewController: UIViewControllerType, context: Context) { }
}

-> But it requires to add the title manually from SwiftUI View. But it can be interesting to locate Feature request.
struct FeatureRequestView: View {
    var body: some View {
        NavigationView {
            NavigationLink {
                WishList.view
                    .navigationTitle("test")
            } label: {
                Text("!Request a new feature")
                    .frame(maxWidth: .infinity, alignment: .leading)
            }
        }
    }
}

Love it, thanks!


Firebase Cloud Functions

Hi
I'm trying to edit a PDF file with a cloud function from Firebase.
While I don't get any problems running it locally, I get the error while deploying it to Firebase.
Can anybody help me?
These are my dependencyes:
"dependencies": {
    "@sentry/node": "^5.0.7",
    "firebase-admin": "^6.0.0",
    "firebase-functions": "^2.1.0",
    "nodemailer": "^5.1.1",
    "pdf-lib": "^0.6.1"
  },
  "devDependencies": {
    "@types/node": "^11.9.4",
    "rimraf": "^2.6.3",
    "tslint": "^5.8.0",
    "typescript": "^2.5.3"
  },

I minimized the code to just one Line:
import { PDFDocumentFactory } from 'pdf-lib';

export const registerUser = functions.https.onRequest(async (req, res) => {
    try {

        let test = PDFDocumentFactory;
        ...

Just this line produces this exception.
!  functions[registerUser(us-central1)]: Deployment error.
Function failed on loading user code. Error message: Code in file lib/index.js can't be loaded.
Is there a syntax error in your code?
Detailed stack trace: TypeError: Object.values is not a function
    at Object.<anonymous> (/user_code/node_modules/pdf-lib/lib/core/pdf-document/index.js:15:30)
    at Module._compile (module.js:577:32)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Function.<anonymous> (/user_code/node_modules/@sentry/node/dist/integrations/console.js:41:47)
    at Function._load (/user_code/node_modules/@sentry/node/dist/integrations/http.js:64:47)
    at Module.require (module.js:504:17)
    at require (internal/module.js:20:19)

Hello @Leo1212. What version of Node is your cloud function running? It looks like it might be an older version that doesn't support the Object.values() function. pdf-lib uses this function here.
I think you have two options:

Update your Node version so it support Object.values().
Otherwise, you can try polyfilling it. See https://github.com/Hopding/pdf-lib/issues/74#issuecomment-466776423.

Wow. Thanks.
Adding "engines": {      "node": "8"    } to the /functions/package.json solved the problem.
Thanks @Hopding !


feature run flag logs error even when not used

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):
run rancher locally
Result:
error ill be logged

[ERROR] failed to apply feature args: feature argument should be of the form "features=feature1=bool,feature2=bool"

Other details that may be helpful:
just need to return nil when config features is empty

To validate: run locally before fix and after and check console for log error

@dramich can you validate

Master 9/24: no longer see error when no feature flags are provided


AppVeyor build is ridiculously slow

It's more than 10 times slower (according to the one build that has managed to successfully complete before another commit preempts it).

It's downloading and installing a whole lot of stuff. Maube some of that can be skipped by switching to cargo build, cargo test instead of using the Makefile.

Also probably https://www.appveyor.com/docs/build-cache will help


Fix wild pointer dereference in make_ocsp_response()

The function OCSP_basic_add1_status() will return NULL on malloc failure.
However the return value is not checked in make_ocsp_response()
before passed to OCSP_SINGLERESP_add1_ext_i2d(), and there is
a wild field pointer in that function, which could lead to a wild pointer dereference.
Fix this by adding return value check.

OCSP_basic_add1_status() created single and added it to it's stack (sk_OCSP_SINGLERESP_push). So single is freed as part of freeing bs.

OCSP_basic_add1_status() created single and added it to it's stack (sk_OCSP_SINGLERESP_push). So single is freed as part of freeing bs.

Thanks for clearification, I remove the memleak part in description

This pull request is ready to merge

Merged to master and 3.0 branches. Thank you for your contribution.


examples: remove extra print

and also change attribute to string

Needs additional fixing.  Please see PR #370


As a Candidate, I want to be able to raise any concerns or issues related to any particular employer or a job posting with the administrator, so that any imposters can be addressed.

Epic #12

Completed.


Script to scrape live cricket score from Cricbuzz

Aim

Script to scrape live cricket score from Cricbuzz

Details

Add python script to scrape the live cricket score from Cricbuzz.com and send a toast notification in a given time interval

Hey i would like to work on this. Can you assign it to me?

Sure @bislara ... Go ahead..


When deleting the pvc, I found that 4 new pods are created. And there is some err information in these new pods log!

When deleting the pvc, I found that 4 new pods are created. And there is some err information in these new pods log!
@kmova
issue describe:
1、 I created a pvc like this:
_- 1. kind: PersistentVolumeClaim

apiVersion: v1

metadata:

name: openebstest-claim

annotations:

volume.beta.kubernetes.io/storage-class: openebs-standard

spec:

accessModes:

- ReadWriteOnce

resources:

requests:

  storage: 20G_

2、when I deleted the pvc , 4 new pods were created:
[root@localhost openebs]# kubectl get pod -n wangdanfeng5
pvc-6885e523-572a-11e8-87e6-ac1f6b262706-ctrl-5547db7bdb-wkx98   2/2       Running   0          1m
pvc-6885e523-572a-11e8-87e6-ac1f6b262706-rep-b6c5db669-46b87     1/1       Running   0          1m
pvc-6885e523-572a-11e8-87e6-ac1f6b262706-rep-b6c5db669-5jk2c     1/1       Running   0          1m
pvc-6885e523-572a-11e8-87e6-ac1f6b262706-rep-b6c5db669-lcd5q     1/1       Running   0          1m
[root@localhost openebs]# kubectl logs pvc-6885e523-572a-11e8-87e6-ac1f6b262706-ctrl-5547db7bdb-wkx98 -n wangdanfeng5
Error from server (BadRequest): a container name must be specified for pod pvc-6885e523-572a-11e8-87e6-ac1f6b262706-ctrl-5547db7bdb-wkx98,
choose one of: [pvc-6885e523-572a-11e8-87e6-ac1f6b262706-ctrl-con maya-volume-exporter]
openebs version: 0.5.3,
Install tools: helm v2.9.0-rc3
OS kernel:
CentOS Linux release 7.4.1708 (Core)
Linux A01-R20-I36-130-0964485.JD.LOCAL 4.15.11-1.el7.elrepo.x86_64 #1 SMP Mon Mar 19 11:46:06 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
If you need more information, pls let me know！

Sorry, the pvc yaml is here:
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: openebstest-claim
annotations:
volume.beta.kubernetes.io/storage-class: openebs-standard
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20G

@amitd
[root@localhost openebs]# kubectl describe pod registry-pd
Error from server (NotFound): pods "registry-pd" not found
[root@localhost openebs]# kubectl describe pod registry-pd -n wangdanfeng5
Name:         registry-pd
Namespace:    wangdanfeng5
Node:         <IP_ADDRESS>/<IP_ADDRESS>
Start Time:   Mon, 14 May 2018 14:43:14 +0800
Labels:
Annotations:
Status:       Running
IP:           <IP_ADDRESS>
Containers:
test-container:
Container ID:  docker://02f066e572cb2a31705d4f5ff6cb094d10b6250cb3c20826791fd24b43366fa9
Image:         mirror.jd.com/ovs/registry:latest
Image ID:      docker-pullable://mirror.jd.com/ovs/registry@sha256:3dc174da5caa90193d5789b6a43ba52c781bd4fd0e33d36741855c1298017a1f
Port:
Host Port:
Command:
sleep
Args:
99999d
State:          Running
Started:      Mon, 14 May 2018 14:43:40 +0800
Ready:          True
Restart Count:  0
Environment:
Mounts:
/mnt from openebs-pvc (rw)
/var/run/secrets/kubernetes.io/serviceaccount from default-token-g9944 (ro)
Conditions:
Type           Status
Initialized    True
Ready          True
PodScheduled   True
Volumes:
openebs-pvc:
Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName:  openebstest-claim
ReadOnly:   false
default-token-g9944:
Type:        Secret (a volume populated by a Secret)
SecretName:  default-token-g9944
Optional:    false
QoS Class:       BestEffort
Node-Selectors:
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type    Reason                 Age   From                    Message

Normal  Scheduled              55s   default-scheduler       Successfully assigned registry-pd to <IP_ADDRESS>
Normal  SuccessfulMountVolume  55s   kubelet, <IP_ADDRESS>  MountVolume.SetUp succeeded for volume "default-token-g9944"
Normal  SuccessfulMountVolume  33s   kubelet, <IP_ADDRESS>  MountVolume.SetUp succeeded for volume "pvc-05fc2a20-5742-11e8-87e6-ac1f6b262706"
Normal  Pulling                32s   kubelet, <IP_ADDRESS>  pulling image "mirror.jd.com/ovs/registry:latest"
Normal  Pulled                 30s   kubelet, <IP_ADDRESS>  Successfully pulled image "mirror.jd.com/ovs/registry:latest"
Normal  Created                30s   kubelet, <IP_ADDRESS>  Created container
Normal  Started                29s   kubelet, <IP_ADDRESS>  Started container

These are the additional info from @Danfeng-Wang env:
[root@localhost openebs]# kubectl get pod -n openebs
NAME                                                   READY     STATUS    RESTARTS   AGE
openebs-wdf3-openebs-grafana-5d765d6865-6n7kk          1/1       Running   0          4d
openebs-wdf3-openebs-maya-apiserver-577c7664d5-2vxhp   1/1       Running   0          4d
openebs-wdf3-openebs-maya-apiserver-577c7664d5-6pl8k   1/1       Running   0          4d
openebs-wdf3-openebs-prometheus-bfd7b8b89-vbdth        1/1       Running   0          4d
openebs-wdf3-openebs-provisioner-67cf9c7f44-445ww      1/1       Running   0          4d
openebs-wdf3-openebs-provisioner-67cf9c7f44-wll8m      1/1       Running   0          4d

[root@localhost openebs]# kubectl get pods -n wangdanfeng5
NAME                                                             READY     STATUS    RESTARTS   AGE
pvc-05fc2a20-5742-11e8-87e6-ac1f6b262706-ctrl-869955469b-mmq9l   2/2       Running   0          7m
pvc-05fc2a20-5742-11e8-87e6-ac1f6b262706-rep-56c9c748c5-h2n5p    1/1       Running   0          7m
pvc-05fc2a20-5742-11e8-87e6-ac1f6b262706-rep-56c9c748c5-lbpzf    1/1       Running   0          7m
pvc-05fc2a20-5742-11e8-87e6-ac1f6b262706-rep-56c9c748c5-xtnc6    1/1       Running   0          7m

These pods are created after the pvc is deleted.

maya api server logs:
461a462,473

2018/05/14 07:03:23.041896 [DEBUG] http: Request /latest/volumes/delete/pvc-05fc2a20-5742-11e8-87e6-ac1f6b262706 (GET)
[DEBUG] Processing GET request
I0514 07:03:23.041945       7 volume_endpoint.go:196] Processing Volume delete request
I0514 07:03:23.042017       7 util.go:1205] Will use env var 'DEFAULT_PVP_NAME: '
I0514 07:03:23.042036       7 jiva.go:56] Building new instance of jiva persistent volume provisioner 'volumeprovisioner.mapi.openebs.io/name:jiva'
I0514 07:03:23.042071       7 util.go:1205] Will use env var 'DEFAULT_ORCHESTRATOR_NAME: '
I0514 07:03:23.042086       7 k8s.go:59] Building 'orchprovider.mapi.openebs.io/name':'kubernetes' orchestration provider
I0514 07:03:23.042137       7 util.go:1205] Will use env var 'DEFAULT_ORCHESTRATOR_IN_CLUSTER: '
I0514 07:03:23.043969       7 util.go:1205] Will use env var 'DEFAULT_ORCHESTRATOR_IN_CLUSTER: '
I0514 07:03:23.045427       7 util.go:1205] Will use env var 'DEFAULT_ORCHESTRATOR_IN_CLUSTER: '
I0514 07:03:23.691660       7 volume_endpoint.go:255] Processed Volume delete request successfully for 'pvc-05fc2a20-5742-11e8-87e6-ac1f6b262706'
2018/05/14 07:03:23.691749 [DEBUG] http: Request /latest/volumes/delete/pvc-05fc2a20-5742-11e8-87e6-ac1f6b262706 (649.863414ms)

For your information, amit!
Neo!
2018-05-14 15:26 GMT+08:00 Amit Kumar Das<EMAIL_ADDRESS>
These are the additional info from @Danfeng-Wang
https://github.com/Danfeng-Wang env:
[root@localhost openebs]# kubectl get pod -n openebs
NAME                                                   READY     STATUS    RESTARTS   AGE
openebs-wdf3-openebs-grafana-5d765d6865-6n7kk          1/1       Running   0          4d
openebs-wdf3-openebs-maya-apiserver-577c7664d5-2vxhp   1/1       Running   0          4d
openebs-wdf3-openebs-maya-apiserver-577c7664d5-6pl8k   1/1       Running   0          4d
openebs-wdf3-openebs-prometheus-bfd7b8b89-vbdth        1/1       Running   0          4d
openebs-wdf3-openebs-provisioner-67cf9c7f44-445ww      1/1       Running   0          4d
openebs-wdf3-openebs-provisioner-67cf9c7f44-wll8m      1/1       Running   0          4d
[root@localhost openebs]# kubectl get pods -n wangdanfeng5
NAME                                                             READY     STATUS    RESTARTS   AGE
pvc-05fc2a20-5742-11e8-87e6-ac1f6b262706-ctrl-869955469b-mmq9l   2/2       Running   0          7m
pvc-05fc2a20-5742-11e8-87e6-ac1f6b262706-rep-56c9c748c5-h2n5p    1/1       Running   0          7m
pvc-05fc2a20-5742-11e8-87e6-ac1f6b262706-rep-56c9c748c5-lbpzf    1/1       Running   0          7m
pvc-05fc2a20-5742-11e8-87e6-ac1f6b262706-rep-56c9c748c5-xtnc6    1/1       Running   0          7m
These pods are created after the pvc is deleted.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openebs/openebs/issues/1478#issuecomment-388721660,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Alby1ECipnxj1SvRVJ13jL23VxUhxTi8ks5tyTGfgaJpZM4T9OEr
.


[EDA] EDA Telemetry should work with the Chosen Administrative Account Record Type

Note: FOR INTERNAL USE ONLY. For support questions, please use the EDA Chatter group in The Power of Us Hub.
For feature requests, please use the Ideas tab in The Power of Us Hub.

Do you want to request a feature or report a bug?
bug

What is the current behavior?
EDA telemetry counts the number of accounts with default 'Administrative' account record type.

What is the expected behavior?
EDA telemtry is expected to number of accounts with record type that match with the record type selected in  'Administrative Account record Type' in 'Accounts and Contacts' tab in EDA setting. If that value is not available then default 'Administrative' account record types are counted.

What is the motivation / use case for changing the behavior?
Capture intended data

Tracking [W-7930275] (https://gus.lightning.force.com/lightning/r/ADM_Work__c/a07B0000008Wu04IAC/view)


Incorrect item in check

So, I'm playing with shared Ocarina of Time turned on, and checked my spoiler log. it claims that there was a Progressive Ocarina at the Adult Link shooting gallery in Kakariko Village. I went to the location and instead of getting an Ocarina upgrade from completing the minigame I got a Purple Rupee. The game seems to be acting like I already got the prize when I didn't.

I redid the minigame, it's acting like I already got the check when I didn't. I found some gameshark codes that give the item I was missing because of the issue, I just wanted to bring attention to it.

You probably lack the bow - the adult gallery gives a purple in this case, this is vanilla behavior and intended, logic takes that into account.


Add Feather STM32F405 Express

This PR adds support to the Feather F405 board from Adafruit.

I'm not familiar with Shippable. Is there something I still need to change? I cannot reproduce the problem it is having locally, and it doesn't provide very useful error information.

The specific error provided by Shippable is:
error: ARM (defined at arch/Kconfig:26) is assigned in a configuration file, but is not directly user-configurable (has no prompt). It gets its value indirectly from other symbols. See http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_ARM.html and/or look up ARM in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too.
This implies CONFIG_ARM is not user settable. However, it is set in every other ST board file listed in the device tree - I'm not sure what is different about my PR, so I'd appreciate anyone's help in spotting the error!

Botched my git here by accidentally force pushing without committing, which forces future commits to be merges. Do I need to nuke this PR and start over? What's your best practice here?

Something's gone pretty wrong, Github won't even show my latest changes any more. Nuking and starting over.

@erwango please see #23080

@hierophect ok, will do. But please keep "close PR"/"create new PR" exceptional. This is much harder to track changes happening between reviews.

@erwango sorry, I'm not used to the single-commit approach and got myself into a corner I wasn't sure how to git-fu myself out of. I'll do some research and see how I can fix it properly next time.


Plug In Error?

Running 0.11.6 and on HB start up, see these error pop.  Doesn't appear to break anything but looks like the Roborock plugin is the possible source?
[5/27/2020, 15:14:03] [1st Floor Vacuum] Initializing XiaomiRoborockVacuum accessory...
[5/27/2020, 15:14:03] [1st Floor Vacuum] INF createRoom | undefined | Room Living Room (16)
[5/27/2020, 15:14:03] [1st Floor Vacuum] INF createRoom | undefined | Room Study (17)
[5/27/2020, 15:14:03] [1st Floor Vacuum] INF createRoom | undefined | Room Kitchen (19)
[5/27/2020, 15:14:03] [1st Floor Vacuum] INF createRoom | undefined | Room Entry Way (21)
[5/27/2020, 15:14:03] [1st Floor Vacuum] INF createRoom | undefined | Room Dining Room (22)
HAP Warning: Characteristic 000000AC-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 00000040-0000-1000-8000-0026BB765291. Adding anyway.
HAP Warning: Characteristic 000000AB-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 00000040-0000-1000-8000-0026BB765291. Adding anyway.
[5/27/2020, 15:14:03] [2nd Floor Vacuum] Initializing XiaomiRoborockVacuum accessory...
[5/27/2020, 15:14:03] [2nd Floor Vacuum] INF createRoom | undefined | Room David's Office (17)
[5/27/2020, 15:14:03] [2nd Floor Vacuum] INF createRoom | undefined | Room Master Bathroom (18)
[5/27/2020, 15:14:03] [2nd Floor Vacuum] INF createRoom | undefined | Room Guest Bedroom (19)
[5/27/2020, 15:14:03] [2nd Floor Vacuum] INF createRoom | undefined | Room Guest Bathroom (20)
[5/27/2020, 15:14:03] [2nd Floor Vacuum] INF createRoom | undefined | Room Julee's Office (21)
[5/27/2020, 15:14:03] [2nd Floor Vacuum] INF createRoom | undefined | Room Master Bedroom (22)
[5/27/2020, 15:14:03] [2nd Floor Vacuum] INF createRoom | undefined | Room Upstairs Hallway (23)
HAP Warning: Characteristic 000000AC-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 00000040-0000-1000-8000-0026BB765291. Adding anyway.
HAP Warning: Characteristic 000000AB-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 00000040-0000-1000-8000-0026BB765291. Adding anyway.

i have same issue with 0.11.6
Node.js Version | v14.2.0
Npm Version | v6.14.5
"name": "Mi Robot",
"ip": "<IP_ADDRESS>",
"token": "xxxx",
"waterBox": false,
"pause": true,
"dock": false,
"delay": true,
"cleanword": "clean",
"autoroom": false,
"rooms": [
{
"name": "Living Room",
"id": 16
},
{
"name": "Kitchen",
"id": 17
}
],
"accessory": "XiaomiRoborockVacuum"
[5/27/2020, 11:32:10 PM] [Mi Robot] Initializing XiaomiRoborockVacuum accessory...
[5/27/2020, 11:32:10 PM] [Mi Robot] INF createRoom | undefined | Room Living Room (16)
[5/27/2020, 11:32:10 PM] [Mi Robot] INF createRoom | undefined | Room Kitchen (17)
HAP Warning: Characteristic 000000AC-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 00000040-0000-1000-8000-0026BB765291. Adding anyway.
HAP Warning: Characteristic 000000AB-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 00000040-0000-1000-8000-0026BB765291. Adding anyway.
[5/27/2020, 11:32:10 PM] [Mi Robot] STA getDevice | Connected to: <IP_ADDRESS>
[5/27/2020, 11:32:10 PM] [Mi Robot] STA getDevice | Model: rockrobo.vacuum.v1
[5/27/2020, 11:32:10 PM] [Mi Robot] STA getDevice | State: charging
[5/27/2020, 11:32:10 PM] [Mi Robot] STA getDevice | FanSpeed: 38
[5/27/2020, 11:32:10 PM] [Mi Robot] STA getDevice | BatteryLevel: 100
[5/27/2020, 11:32:10 PM] [Mi Robot] INF getSerialNumber | rockrobo.vacuum.v1 | Serial Number is<PHONE_NUMBER>077
[5/27/2020, 11:32:10 PM] [Mi Robot] STA getDevice | Serialnumber:<PHONE_NUMBER>077
[5/27/2020, 11:32:10 PM] [Mi Robot] INF getFirmware | rockrobo.vacuum.v1 | Firmwareversion is 3.5.4_004007
[5/27/2020, 11:32:10 PM] [Mi Robot] STA getDevice | Firmwareversion: 3.5.4_004007
[5/27/2020, 11:32:10 PM] [Mi Robot] INF changedCleaning | rockrobo.vacuum.v1 | Cleaning is OFF.
[5/27/2020, 11:32:10 PM] [Mi Robot] MON changedCharging | rockrobo.vacuum.v1 | ChargingState is now true
[5/27/2020, 11:32:10 PM] [Mi Robot] INF changedCharging | rockrobo.vacuum.v1 | Charging is active
[5/27/2020, 11:32:10 PM] [Mi Robot] MON changedSpeed | rockrobo.vacuum.v1 | FanSpeed is now 38%
[5/27/2020, 11:32:10 PM] [Mi Robot] INF changedSpeed | rockrobo.vacuum.v1 | Speed was changed to 38% (Quiet), for HomeKit 40%
[5/27/2020, 11:32:10 PM] [Mi Robot] INF changedPause | rockrobo.vacuum.v1 | Paused not possible, no cleaning
HAP Warning: Characteristic 00000093-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 0000008D-0000-1000-8000-0026BB765291. Adding anyway.
HAP Warning: Characteristic 00000093-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 0000008D-0000-1000-8000-0026BB765291. Adding anyway.
HAP Warning: Characteristic 00000093-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 0000008D-0000-1000-8000-0026BB765291. Adding anyway.
HAP Warning: Characteristic 00000093-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 0000008D-0000-1000-8000-0026BB765291. Adding anyway.

Node.js Version
v12.17.0

NPM Version v6.14.5

Homebridge 1.1.0

Node.js Version	v12.17.0
NPM Version v6.14.5
Homebridge 1.1.0

with config you are using?

"name": "1st Floor Vacuum",
"ip": "<IP_ADDRESS>",
"token": "",
"waterBox": false,
"pause": true,
"dock": true,
"delay": false,
"cleanword": "Clean The",
"autoroom": false,
"rooms": [
{
"name": "Living Room",
"id": 16
},
{
"name": "Study",
"id": 17
},
{
"name": "Kitchen",
"id": 19
},
{
"name": "Entry Way",
"id": 21
},
{
"name": "Dining Room",
"id": 22
}
],
"accessory": "XiaomiRoborockVacuum"
},
{
"name": "2nd Floor Vacuum",
"ip": "<IP_ADDRESS>",
"token": "",
"waterBox": false,
"pause": true,
"dock": true,
"delay": false,
"cleanword": "Clean The",
"autoroom": false,
"rooms": [
{
"name": "David's Office",
"id": 17
},
{
"name": "Master Bathroom",
"id": 18
},
{
"name": "Guest Bedroom",
"id": 19
},
{
"name": "Guest Bathroom",
"id": 20
},
{
"name": "Julee's Office",
"id": 21
},
{
"name": "Master Bedroom",
"id": 22
},
{
"name": "Upstairs Hallway",
"id": 23
}
],
"accessory": "XiaomiRoborockVacuum"
}

Hello,
What I could find out about it.
HAP Warning: Characteristic 000000AC-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 00000040-0000-1000-8000-0026BB765291. Adding anyway.
This can be safely ignored. This is an error message indicating that the Vacuum Cleaner accessory service in HomeKit does not normally support the fan status. HomeKit will still display this.
With best regards


Inconsistent/missing information within "Step 2: Create a key vault" when compared between Portal and PowerShell version

The following links show both Azure Portal and PowerShell methods, however the information presented is technically different.
https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/setup-steps-for-extensible-key-management-using-the-azure-key-vault?view=sql-server-ver15&tabs=portal#step-2-create-a-key-vault
https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/setup-steps-for-extensible-key-management-using-the-azure-key-vault?view=sql-server-ver15&tabs=powershell#step-2-create-a-key-vault
Some of this may be down to how the Azure Portal may not allow certain activity with the GUI being more restrictive. Some should apply either way:

However the PowerShell tab has further information on Best Practices and Types of keys that the Portal version does not. The portal version says to use a RSA key size of 2048, whereas the PowerShell tab explains either a key size of 2048 or 3072 can be used:

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

ID: 4997f245-c966-51a3-34c7-705c3cfbd4b0
Version Independent ID: 129fbe40-3b02-f2c1-ef13-b42d86ffdb77
Content: Set up Transparent Data Encryption (TDE) Extensible Key Management with Azure Key Vault - SQL Server
Content Source: docs/relational-databases/security/encryption/setup-steps-for-extensible-key-management-using-the-azure-key-vault.md
Product: sql
Technology: security
GitHub Login: @Rupp29
Microsoft Alias: arupp

Thanks for the detail write up. You are correct, the PowerShell and Portal content is slightly different. This documentation is step-by-step for an Example (not all possible options). There are a few more "options" one could select RSA, HSM, 2048, 3072, etc... This documentation was not intended to provide explanation for every possible option, rather a sample of a way to configure EKM.

@Rupp29, I do get that, that the portal tab is an example, as is the PowerShell method an example. However would it be an idea that the "Important" notes, "Best Practices" and "Types of key" to be shown within the overall section of Step 2 rather than only in one tab view?

I added the Best Practices content to the Portal Tab. Thanks for the suggestion.

I just checked to online docs and verified the Best Practices content is now visible on both PS and Portal tabs.
Thanks

Thank you!


Bug in query_builder for PostgreSQL : neither truncate nor empty_table reset the sequence

CI Version used: 3.1.10
Postgres v.10.4
Here is the migration script to create this table :
    $this->dbforge->add_field(array(
        'id' => array(
            'type' => 'INT',
            'unsigned' => TRUE,
            'auto_increment' => TRUE
        ),
        'name' => array(
            'type' => 'VARCHAR',
            'constraint' => '100',
        ),
    ));
    $this->dbforge->add_key('id', TRUE);
    $this->dbforge->create_table('domains');

Then I add some records.
Then empty_table doesn't reset the sequence_id which is linked with the auto-incremented primary key.
Same behaviour with truncate.
PostgreSQL has a an opiton to reset this sequence_id:
TRUNCATE RESTART IDENTITY
I did the same test on a MySQL database : empty_table does the same as I mention above.
But truncate on the MySQL database resets the auto_increment_value (~sequence_id of PostgreSQL).
Is it possible to fix it ? (with an optionnal parameter i.e.)
Thanks in advance
Regards

This would be non-optional for truncate() (and won't happen for empty_table()) in order to maintain portability between drivers.
Do you know if RESTART IDENTITY is silently ignored if the table being truncated doesn't have a sequence? If not, this could be tricky ...