Added CLI 2.0 snippet

Added code snippet to update connection policy via CLI 2.0

@timrnd,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@timrnd  Thank you for your contribution!  I am asking a few folks to take a look at your script before we merge your pr. :)  @stevestein @MightyPen @craigg-msft @CarlRabeler

Adding Dhruv – can you please review this community-contributed CLI script for your https://docs.microsoft.com/en-us/azure/sql-database/sql-database-connectivity-architecture article?
Thanks,
Carl
Script to change connection settings via Azure CLI 2.0
[!IMPORTANT] This script requires the Azure CLI 2.0https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest.
The following CLI script shows how to change the connection policy.
Get SQL Server ID
sqlserverid=$(az sql server show -n sql-server-name -g sql-server-group --query 'id' -o tsv)
Set URI
uri="https://management.azure.com/$sqlserverid/connectionPolicies/Default?api-version=2014-04-01-preview"
Get Access Token
accessToken=$(az account get-access-token --query 'accessToken' -o tsv)
Get current connection policy
curl -H "authorization: Bearer $accessToken" -X GET $uri
#Update connection policy
curl -H "authorization: Bearer $accessToken" -H "Content-Type: application/json" -d '{"properties":{"connectionType":"Proxy"}}' -X PUT $uri
From: Jennifer Hubbard<EMAIL_ADDRESS>Sent: Thursday, September 28, 2017 7:13 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Carl Rabeler<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Added CLI 2.0 snippet (#3167)
@timrndhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimrnd&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=VwZZrV3Qs%2FzBBAHWiKiHgcHQw5w1MKsSYPTRp%2FG1PK0%3D&reserved=0 Thank you for your contribution! I am asking a few folks to take a look at your script before we merge your pr. :) @stevesteinhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fstevestein&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=51fbvwb2Ms0hxZnX9kPtIbsxBafq3WA2EH1zYKyqxSU%3D&reserved=0 @MightyPenhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmightypen&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=Ux1NapYr%2Fn1hZH50iA8%2BZPDtubeVA8XZjKFDIYFx0r8%3D&reserved=0 @craigg-msfthttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcraigg-msft&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=YHJIVH3PM4K34YSWqxWD7%2BkNypL0drN%2B1i95RHCSm%2Bg%3D&reserved=0 @CarlRabelerhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcarlrabeler&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=Mw75idnzGNIm8b8vRiI9Z%2Bo00e%2BniDsFRAYigJltZfA%3D&reserved=0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F3167%23issuecomment-333012520&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=Zq%2FRaPC160F5h%2FmPyuLMq4yh4rTTKKeVfP72UCpsITk%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMCBn_jUBBpAlB_FwpJ2o3D2E6G-hrZuks5snFI7gaJpZM4Pf3Jk&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=1LnwaReRKUVxrhZ30QwBuyl4h63q%2FCDyYZqc1tPMhtc%3D&reserved=0.

Did we get a chance to try this script out? If it works we should put it in.
From: Carl Rabeler
Sent: Friday, September 29, 2017 3:56 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Dhruv Malik<EMAIL_ADDRESS>Cc: Mention<EMAIL_ADDRESS>Subject: RE: [MicrosoftDocs/azure-docs] Added CLI 2.0 snippet (#3167)
Adding Dhruv – can you please review this community-contributed CLI script for your https://docs.microsoft.com/en-us/azure/sql-database/sql-database-connectivity-architecture article?
Thanks,
Carl
Script to change connection settings via Azure CLI 2.0
[!IMPORTANT] This script requires the Azure CLI 2.0https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest.
The following CLI script shows how to change the connection policy.
Get SQL Server ID
sqlserverid=$(az sql server show -n sql-server-name -g sql-server-group --query 'id' -o tsv)
Set URI
uri="https://management.azure.com/$sqlserverid/connectionPolicies/Default?api-version=2014-04-01-preview"
Get Access Token
accessToken=$(az account get-access-token --query 'accessToken' -o tsv)
Get current connection policy
curl -H "authorization: Bearer $accessToken" -X GET $uri
#Update connection policy
curl -H "authorization: Bearer $accessToken" -H "Content-Type: application/json" -d '{"properties":{"connectionType":"Proxy"}}' -X PUT $uri
From: Jennifer Hubbard<EMAIL_ADDRESS>Sent: Thursday, September 28, 2017 7:13 PM
To: MicrosoftDocs/azure-docs <azure-docs<EMAIL_ADDRESS>Cc: Carl Rabeler <carlrab<EMAIL_ADDRESS>Mention <mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Added CLI 2.0 snippet (#3167)
@timrndhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimrnd&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=VwZZrV3Qs%2FzBBAHWiKiHgcHQw5w1MKsSYPTRp%2FG1PK0%3D&reserved=0 Thank you for your contribution! I am asking a few folks to take a look at your script before we merge your pr. :) @stevesteinhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fstevestein&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=51fbvwb2Ms0hxZnX9kPtIbsxBafq3WA2EH1zYKyqxSU%3D&reserved=0 @MightyPenhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmightypen&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=Ux1NapYr%2Fn1hZH50iA8%2BZPDtubeVA8XZjKFDIYFx0r8%3D&reserved=0 @craigg-msfthttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcraigg-msft&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=YHJIVH3PM4K34YSWqxWD7%2BkNypL0drN%2B1i95RHCSm%2Bg%3D&reserved=0 @CarlRabelerhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcarlrabeler&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=Mw75idnzGNIm8b8vRiI9Z%2Bo00e%2BniDsFRAYigJltZfA%3D&reserved=0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F3167%23issuecomment-333012520&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=Zq%2FRaPC160F5h%2FmPyuLMq4yh4rTTKKeVfP72UCpsITk%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMCBn_jUBBpAlB_FwpJ2o3D2E6G-hrZuks5snFI7gaJpZM4Pf3Jk&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=1LnwaReRKUVxrhZ30QwBuyl4h63q%2FCDyYZqc1tPMhtc%3D&reserved=0.

@timrnd - Thanks for the CLI script! I just confirmed that it works as expected.
Also confirmed with Dhruv that this is great to include.
#sign-off

I have not, no. Maybe next week….
From: Dhruv Malik
Sent: Friday, September 29, 2017 11:53 AM
To: Carl Rabeler<EMAIL_ADDRESS>MicrosoftDocs/azure-docs<EMAIL_ADDRESS>MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Mention<EMAIL_ADDRESS>Subject: RE: [MicrosoftDocs/azure-docs] Added CLI 2.0 snippet (#3167)
Did we get a chance to try this script out? If it works we should put it in.
From: Carl Rabeler
Sent: Friday, September 29, 2017 3:56 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>MicrosoftDocs/azure-docs <azure-docs<EMAIL_ADDRESS>Dhruv Malik <dmalik<EMAIL_ADDRESS>Cc: Mention <mention<EMAIL_ADDRESS>Subject: RE: [MicrosoftDocs/azure-docs] Added CLI 2.0 snippet (#3167)
Adding Dhruv – can you please review this community-contributed CLI script for your https://docs.microsoft.com/en-us/azure/sql-database/sql-database-connectivity-architecture article?
Thanks,
Carl
Script to change connection settings via Azure CLI 2.0
[!IMPORTANT] This script requires the Azure CLI 2.0https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest.
The following CLI script shows how to change the connection policy.
Get SQL Server ID
sqlserverid=$(az sql server show -n sql-server-name -g sql-server-group --query 'id' -o tsv)
Set URI
uri="https://management.azure.com/$sqlserverid/connectionPolicies/Default?api-version=2014-04-01-preview"
Get Access Token
accessToken=$(az account get-access-token --query 'accessToken' -o tsv)
Get current connection policy
curl -H "authorization: Bearer $accessToken" -X GET $uri
#Update connection policy
curl -H "authorization: Bearer $accessToken" -H "Content-Type: application/json" -d '{"properties":{"connectionType":"Proxy"}}' -X PUT $uri
From: Jennifer Hubbard<EMAIL_ADDRESS>Sent: Thursday, September 28, 2017 7:13 PM
To: MicrosoftDocs/azure-docs <azure-docs<EMAIL_ADDRESS>Cc: Carl Rabeler <carlrab<EMAIL_ADDRESS>Mention <mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Added CLI 2.0 snippet (#3167)
@timrndhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimrnd&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=VwZZrV3Qs%2FzBBAHWiKiHgcHQw5w1MKsSYPTRp%2FG1PK0%3D&reserved=0 Thank you for your contribution! I am asking a few folks to take a look at your script before we merge your pr. :) @stevesteinhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fstevestein&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=51fbvwb2Ms0hxZnX9kPtIbsxBafq3WA2EH1zYKyqxSU%3D&reserved=0 @MightyPenhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmightypen&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=Ux1NapYr%2Fn1hZH50iA8%2BZPDtubeVA8XZjKFDIYFx0r8%3D&reserved=0 @craigg-msfthttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcraigg-msft&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=YHJIVH3PM4K34YSWqxWD7%2BkNypL0drN%2B1i95RHCSm%2Bg%3D&reserved=0 @CarlRabelerhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcarlrabeler&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=Mw75idnzGNIm8b8vRiI9Z%2Bo00e%2BniDsFRAYigJltZfA%3D&reserved=0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F3167%23issuecomment-333012520&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=Zq%2FRaPC160F5h%2FmPyuLMq4yh4rTTKKeVfP72UCpsITk%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMCBn_jUBBpAlB_FwpJ2o3D2E6G-hrZuks5snFI7gaJpZM4Pf3Jk&data=02|01|carlrab%40microsoft.com|e74dc8d3b46d4afeaec808d506dfa52e|72f988bf86f141af91ab2d7cd011db47|1|0|636422479986879441&sdata=1LnwaReRKUVxrhZ30QwBuyl4h63q%2FCDyYZqc1tPMhtc%3D&reserved=0.


NOTE: This provides the data necessary to implement #105 , but since the schools/subjects endpoint isn't compatible with its output yet, that issue is not done.


Allow custom options argument in get_location()

This adds the option to pass an opts table to get_location() which overrides the default config that was set when calling setup(). This allows you to, for instance, call get_location() with a shorter depth as shown in the example config for feline.nvim that I added to README.md, with a truncated component version of nvim-gps.
The opts parameter allows you to override depth, separator and/or depth_limit_indicator.

Thanks for the PR!
I understand the use case. However I won't merge this as of now, I will try to get #68 done before I do this.


WIP - Lots of ZooKeeper-related cleanup

This is still a work in progress, but I'm getting close to being done with this pass through.

This is old. I'm going to close this, and maybe open a new one later.

This was superseded by #1755


First draft of a high level design philosophy doc.

Could you scatter more examples throughout?

I added an Examples in practice subsection to each section. PTAL.

LGTM!


Highlight with mouse should not close dropdown

The scope of this task is to prevent dropdown to close when highlighting content inside input field, while mouse click is released outside the input field.
How does it look like now:
https://github.com/MapsPeople/web-ui/assets/56337591/08c51df1-b3bb-448a-b47a-29ee4a63887e
My implementation proposition:
Inside checkForClickOutside():

I created couple of consts: for listening clicks inside hostElement or inside canvas (map), also const that checks if anything inside an input is highlighted with mouse.
Then I made if checks.

I tried to be descriptive with JSDocs, but let me know if you have any questions.
My implementation in action:
https://github.com/MapsPeople/web-ui/assets/56337591/85e96e8a-5772-49ef-8bfd-eab12d3d39b0

Closed due to no more need to this complicated fix.


(maint) Restore setting CMAKE_INSTALL_RPATH

CMP0042 means CMAKE_MACOSX_RPATH no longer needs to be set, but we still
need to set the CMAKE_INSTALL_RPATH based on the install prefix if not
going to a system library. Removing it causes Facter to fail to find
libfacter when running from the puppet-agent install location, so
restore setting CMAKE_INSTALL_RPATH.

:+1:


When "terminal.integrated.rendererType" = "dom" and "terminal.integrated.cursorBlinking" = true, block cursor style is displayed in the terminal regardless of cusor style defined

When "terminal.integrated.rendererType" = "dom" and "terminal.integrated.cursorBlinking" = true, the block cursor style is still displayed in the terminal regardless of cusor style defined.  So, in both examples below, there is still a blinking block cursor:
Example 1:
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.rendererType": "dom"
"terminal.integrated.cursorStyle": "underline",,
Example 2:
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.rendererType": "dom"
"terminal.integrated.cursorStyle": "line",

My apologies.  I completely forgot that I had opened #78466 a while back.  It looks like there is also #77559 (duplicate) as well.  However, both issues were marked as "Closed"; and, didn't seem to mention a fix, solution, or workaround ...even though they were confirmed as bugs.  I can't seem to find a resolution for this bug anywhere.

My apologies, could someone please confirm that this issue was fixed below.  If so, please close this open issue.
Tyriar closed this in 3ff362c 17 days ago

This was a duplicate issue that has a fix   Closing issue


Atom Generics (except A) and Special nodes are replaced with R# after saving in Daylight Smile format.

Steps to reproduce

Create any structure, for example, chain.
Click Periodic table.
Open Extended tab.
Click the "A" button in the Atom Generic section, click the OK button and click any structure atom.
Repeat steps 3-4 with other Atom Generics and Special nodes.
Click "Save as" button. Select Daylight SMILE format. Click OK.
Clear the canvas.
Open the structure saved at 6th step.

Actual result
All Atom Generics and Special nodes are replaced with R#.

Expected result
Atom Generics and Special nodes should stay at the structure after user saves the structure in Daylight SMILE and opens it in Ketcher.
If it's impossible to save such structures in Daylight SMILE the warning message about this should appear in Save window before the saving.

As agreed on the discussion: R-atom should be saved as [*]. Any other generics should be saved to SMILES as *.
There should be a warning added when saving the Daylight SMILES if there are generics and they will not be saved the same way as they are represented on the canvas

#979

Fixed, tested v.2.4


Centered Buttons + Modified border radius for rounded corners

Center aligned the buttons
Rounded the button corners.

Below is a screenshot of the changes

Try to reduce spaces between text box and the buttons and between meme-image and buttons

I've made the requested changes. Below is a screenshot of the changes.
Let me know if any further changes need to be made.

Great 👍👍👍


Raspbian Buster

Please help.
The copy does not end, it hangs.
Before cloned with Stretch without problems
rpi-clone -f -p 256M sda
Booted disk: mmcblk0 16.1GB                Destination disk: sda 16.1GB
Part      Size    FS     Label           Part   Size  FS  Label
1 /boot   256.0M  fat32  --
2 root     14.8G  ext4   rootfs
== Initialize: IMAGE partition table - forced by option ==
1 /boot               (51.5M used)   : RESIZE  MKFS  SYNC to sda1
2 root                (2.7G used)    : RESIZE  MKFS  SYNC to sda2
-p 256M                : resize /boot to 524288 blocks of 512 Bytes.
Run setup script       : no.
Verbose mode           : no.
-----------------------:
** WARNING **          : All destination disk sda data will be overwritten!
-----------------------:
Initialize and clone to the destination disk sda?  (yes/no): yes
Optional destination ext type file system label (16 chars max):
Initializing
Imaging past partition 1 start.
=> dd if=/dev/mmcblk0 of=/dev/sda bs=1M count=8 ...
Resizing both destination disk partitions ...
Resize success.
Changing destination Disk ID ...
=> mkfs -t vfat -F 32  /dev/sda1 ...
=> mkfs -t ext4  /dev/sda2 ...
Syncing file systems (can take a long time)
Syncing mounted partitions:
Mounting /dev/sda2 on /mnt/clone
=> rsync // /mnt/clone with-root-excludes ...

I have not seen a hang like that.  Run in verbose mode:  rpi-clone -v ...
to see the last rsync output where it hangs.
On Mon, 02 Dec 2019 14:10:08 +0000 (UTC)
AAVS<EMAIL_ADDRESS>wrote:

@billw2 Hi
News?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/billw2/rpi-clone/issues/85#issuecomment-560411856

I have not seen a hang like that. Run in verbose mode: rpi-clone -v ... to see the last rsync output where it hangs.
…
On Mon, 02 Dec 2019 14:10:08 +0000 (UTC) AAVS @.***> wrote: @billw2 Hi News? -- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: #85 (comment)

Ok I'll try

I have not seen a hang like that. Run in verbose mode: rpi-clone -v ... to see the last rsync output where it hangs.
…
On Mon, 02 Dec 2019 14:10:08 +0000 (UTC) AAVS @.***> wrote: @billw2 Hi News? -- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: #85 (comment)

Hi, I have the same problem.
The copy doesn't quite finish, I think it's at the unmount point. Although at the beginning of the backup it is not set a new disk ID.
The app pause on:
"sent 63,514,294 bytes  received 55,216 bytes  1,842,594.49 bytes/sec
total size is 11,979,134,955  speedup is 188.44
"
I have the same problem with a virtualized debian 11 x64, and on an intel nuc x64 with debian 11.
Thanks a lot
"
javi@debiangui:~$ sudo sys-clone -v sdb
/usr/sbin/grub-install
Booted disk: sda 32,2GB                    Destination disk: sdb 150,5GB
Part     Size  FS  Label           Part   Size  FS    Label
1 root    30   0G  ext4            --    1        30  0G     ext4  --
== SYNC sda file systems to sdb ==
/                     (10,7G used)   : SYNC to sdb1 (30,0G size)
Run setup script       : no.
Run grub               : grub-install --root-directory=/mnt/clone /dev/sdb
Verbose mode           : yes.
-----------------------:
Ok to proceed with the clone?  (yes/no): yes
Destination disk has same Disk ID as source, changing it.
Failed to set a new Disk ID.
Syncing file systems (can take a long time)
Syncing mounted partitions:
Mounting /dev/sdb1 on /mnt/clone
=> rsync // /mnt/clone with-root-excludes ...sending incremental file list
dev/
etc/
etc/resolv.conf
..........
"

More tests,
The program stops between lines 1760 and 1768. If I delete these lines of code the program continues.
I imagine it is because between lines 1633 and 1649 the program is not able to change the new Disk ID.
Sorry I can't be of more help, I have no idea of programming.
line: 1633-1649
"
line=$(fdisk -l /dev/$dst_disk | grep "Disk identifier:")
dst_disk_ID=${line#*x}
if [ "$dst_disk_ID" == "$src_disk_ID" ]
then
qecho "Destination disk has same Disk ID as source, changing it."
new_id=$(od -A n -t x -N 4 /dev/urandom | tr -d " ")
qprintf "x\ni\n0x$new_id\nr\nw\nq\n" | fdisk /dev/$dst_disk | grep changed
sync
sleep 2
partprobe "/dev/$dst_disk"
sleep 2
    line=$(fdisk -l /dev/$dst_disk | grep "Disk identifier:")
    dst_disk_ID=${line#*x}
    if [ "$dst_disk_ID" == "$src_disk_ID" ]
    then
            qecho "  Failed to set a new Disk ID."
    fi

fi
"
line: 1760-1768
"
fi
if grep -q $src_disk_ID $fstab
then
qecho "Editing $fstab PARTUUID to use $dst_disk_ID"
sed -i "s/${src_disk_ID}/${dst_disk_ID}/g" "$fstab"
elif [ "$edit_fstab_name" != "" ] && grep -q ${src_part_base} $fstab
then
qecho "Editing $fstab references from $src_part_base to $edit_fstab_name"
sed -i "s/${src_part_base}/${edit_fstab_name}/" "$fstab"
fi
"

More tests,
The program stops between lines 1760 and 1768. If I delete these lines of code the program continues.
I imagine it is because between lines 1633 and 1649 the program is not able to change the new Disk ID.
Sorry I can't be of more help, I have no idea of programming.
line: 1633-1649
"
line=$(fdisk -l /dev/$dst_disk | grep "Disk identifier:")
dst_disk_ID=${line#*x}
if [ "$dst_disk_ID" == "$src_disk_ID" ]
then
qecho "Destination disk has same Disk ID as source, changing it."
new_id=$(od -A n -t x -N 4 /dev/urandom | tr -d " ")
qprintf "x\ni\n0x$new_id\nr\nw\nq\n" | fdisk /dev/$dst_disk | grep changed
sync
sleep 2
partprobe "/dev/$dst_disk"
sleep 2
    line=$(fdisk -l /dev/$dst_disk | grep "Disk identifier:")
    dst_disk_ID=${line#*x}
    if [ "$dst_disk_ID" == "$src_disk_ID" ]
    then
            qecho "  Failed to set a new Disk ID."
    fi

fi
"
line: 1760-1768
"
fi
if grep -q $src_disk_ID $fstab
then
qecho "Editing $fstab PARTUUID to use $dst_disk_ID"
sed -i "s/${src_disk_ID}/${dst_disk_ID}/g" "$fstab"
elif [ "$edit_fstab_name" != "" ] && grep -q ${src_part_base} $fstab
then
qecho "Editing $fstab references from $src_part_base to $edit_fstab_name"
sed -i "s/${src_part_base}/${edit_fstab_name}/" "$fstab"
fi
"


New rule: forbid mutables types and recommend readonly-types as replacement

https://github.com/danielnixon/readonly-types

This is now very well covered by https://github.com/eslint-functional/eslint-plugin-functional#no-mutations, closing this one


Factorial and Factorial2 should not be recognized as "not"

We currently treat ! as a logical operator "not" by the following rule:
match: (!|\|\||&&)
scope: keyword.operator.logical.wolfram

However, ! or !! after an expression should be treated as Factorial and Factorial2 respectively.

True. It seems that bothFactorial and Factorial2 have higher precedence than Not.
In[1154]:=
Hold[a!a]//FullForm
Hold[a!!a]//FullForm

Out[1154]//FullForm= Hold[Times[Factorial[a],a]]
Out[1155]//FullForm= Hold[Times[Factorial2[a],a]]


[Service Bus] Allow configurability of retry options to the keep alive mechanism for AMQP links

The keep alive mechanism for AMQP links (the onDetached() calls) is implemented such that it uses a hard-coded set of values for a linear/fixed retry policy.
This issue is to consider whether we should allow the user configure these values.
Ensure to

Compare what the other languages are doing regarding this
Get feedback from the service team and the arch board

https://github.com/Azure/azure-sdk-for-js/issues/6564 is being used to track these changes in event hubs.
This issue is still relevant for service bus. If we continue using the streaming receiver we'll need to handle the reconnect tuning differently.

Updated title and other flags so it can be triaged as necessary @ramya-rao-a @AlexGhiondea

@ramya-rao-a  can this be closed now?

Yes, in Track 2 we plan to
-not have background retries for send and receive batch operations. There will be retries for these operations only if the operation is triggered by the user

the background retries for streaming receiver is made to respect the retry options passed in by the user

These changes are already made to Event hubs, we will be making the same for Service Bus.
@HarshaNalluru, In the master branch the background retries are still occuring. Maybe you can use this issue to track removing that?

Done with #8638


Syntax error when updating attributes

Hi guys,
we have PHP7 up and running in our shop. Now we came across a problem, we cannot edit our attributes. We came across this problem when adding a new brand in our 'manufacturer' attributes.
We get this error: Decoding failed: Syntax error
What to do?

This could be caused by JSON decoding incompatibility, which is fixed by Inchoo_PHP7... Please check if the extension is properly installed, caches cleared, etc...
If you are still having problems, a more detailed error report (PHP stack trace, for example) would be of help.

Hi,
there is no stack trace generated so far. We have found out as soon as we disable the Gomage Advanced Navigation module, the problems disappear.

Ok. Well, then it's another case of 3rd party extension not being compatible with PHP7. We get that all the time :-)


Pub sub init order

@andrii33 Seems like this is the correct approach. Did you test it?

@igorshapiro  Yes. It was tested and we do not remove messages.
@ankurjain86  Can we remove pubsub:hubMessageConsumer? With the current code, we do not need it.

@andrii33 yes we can remove pubsub:hubMessageConsumer.
Also we need to update the version and change log before we can merge this.

@andrii33 Can you please also fix the codeclimate (remove the redundant files) and I'll merge and publish it

@ankurjain86 Can you review the changes and prepare the new version, please?


Allow permissions override of TreeArtifact pkg_files root directories (using pkg_mkdirs?)

In some cases, we want to provide direct ownership and/or override the permissions of a TreeArtifact expanded in a package.  While it is likely already possible to change permissions on directories inside TreeArtifacts using pkg_mkdirs, you can't change those on the root directory, as the packaging rules will complain about collisions.
While additional TreeArtifact magic could be supported in pkg_files, it seems that allowing pkg_mkdirs to collide with TreeArtifacts should be a valid choice.
This is at least a problem with pkg_rpm's internal pkg_filegroup framework handler.  It is likely present in the "common" one too.

This feels like it should be in pkg_files.
pkg_files(
   name = 'foo',
   srcs = ['//some:tree_artifact'],
   attritbutes = '..'
)

and have the owner/group attributes apply everywhere. The mode should probably default to 555..  But that in itself starts making me thing we should have allowed per file attributes, or at least, per file type attributes.
OTOH, if allowing pkg_mkdirs to play together, that may be a fine near term workaround,

This ticket is specifically about the permissions of the root directory.  My initial thoughts on the desired behavior would be to do something like this:

Have attributes apply to files inside the tree artifacts (leave internal directories with default permissions)
Either:
a) Create an attribute of pkg_files that specifies directory permissions.
b) Let pkg_mkdirs override the directory permissions for created TreeArtifact directories.

I'm in favor of (2b), as then there's only one place where directory permissions and ownership can be defined.  For (2a) we then have to concretely define what directories these apply to, which feels to me like additional bloat on top of pkg_files.  I could be wrong, though.
To your points:

and have the owner/group attributes apply everywhere.

That's what's happening now, at least in pkg_rpm.  Attributes don't apply to directories, though; I don't really feel they should.  For example , directories often have permissions of 0755, and files 0644.  Directories with 0644 permissions don't really make sense.

The mode should probably default to 555.. But that in itself starts making me thing we should have allowed per file attributes, or at least, per file type attributes.

Perhaps, but that's creating additional complexity for a feature that we don't really need to support right now, and should be tracked separately.

OTOH, if allowing pkg_mkdirs to play together, that may be a fine near term workaround,

This looks like an incomplete sentence, but letting pkg_mkdirs collide with tree artifact root directories (they currently do not collide with directories internal to TreeArtifacts because Bazel doesn't know about them) seems to be simplest path forward to me.

So it sounds like we can fix this by just not having the root of the tree
in the manifest.
Then a pkg_mkdir can overlay on to that gap where the root is.
On Tue, Feb 15, 2022 at 1:27 PM Andrew Psaltis @.***>
wrote:

This ticket is specifically about the permissions of the root directory.
My initial thoughts on the desired behavior would be to do something like
this:

Have attributes apply to files inside the tree artifacts (leave
internal directories with default permissions)
Either:
a) Create an attribute of pkg_files that specifies directory
permissions.
b) Let pkg_mkdirs override the directory permissions for created
TreeArtifact directories.

I'm in favor of (2b), as then there's only one place where directory
permissions and ownership can be defined. For (2a) we then have to
concretely define what directories these apply to, which feels to me like
additional bloat on top of pkg_files. I could be wrong, though.
To your points:
and have the owner/group attributes apply everywhere.
That's what's happening now, at least in pkg_rpm. Attributes don't apply
to directories, though; I don't really feel they should. For example ,
directories often have permissions of 0755, and files 0644. Directories
with 0644 permissions don't really make sense.
The mode should probably default to 555.. But that in itself starts making
me thing we should have allowed per file attributes, or at least, per file
type attributes.
Perhaps, but that's creating additional complexity for a feature that we
don't really need to support right now, and should be tracked separately.
OTOH, if allowing pkg_mkdirs to play together, that may be a fine near
term workaround,
This looks like an incomplete sentence, but letting pkg_mkdirs collide
with tree artifact root directories (they currently do not collide with
directories internal to TreeArtifacts because Bazel doesn't know about
them) seems to be simplest path forward to me.
—
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_pkg/issues/507#issuecomment-1040627690,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXHHHAMWEZISMVIUDXQAWDU3KLKTANCNFSM5MV2FFPA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

I'm not sure if that will work.  We still need the root tracked in some part of the manifest if only to prevent conflicts with files or symbolic links.  Seems like making this particular use case special would be enough to me.


Remove reference to App Center

@elamalani : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@jwargo please review.

@sethmanheim please sign off.

Looks good, thank you.
#sign-off


ValueError: A Concatenate layer should be called on a list of at least 2 inputs

def merged_model_Concatenate( ):
img_encoder = build_img_model()
wrd_encoder = build_word_model()
classifier_layers = [
concatenate( [img_encoder, wrd_encoder] , axis = 1),
Dense(256, activation='relu', name='dense_1'),
Dropout(0.2),
Dense(128, activation='relu', name='dense_2'),
Dense( 2, activation='sigmoid')
]
merged_model1 = Sequential(classifier_layers)
merged_model1.summary()
merged_model1.compile(optimizer='Adam', loss=losses.binary_crossentropy, metrics=['accuracy',])
return merged_model1

@Tonytony123474
Moving this issue to closed status as there has been no activity, in case you still face the error please create a new issue.


feat(python/adbc_driver_manager): Add fetching of query schema to python cursor

This is still not what we want. #968 makes more sense.


Skip failing nsxt tests

What it says on the tin - these ones are currently failing and must be fixed, but in order to make it easy to require ALL tests MUST pass before merging, we can skip these for now.

Also added xfail_strict = True -- this will ensure that the tests don't accidentally start working without detection.
To test this, clone the repo and run:  python -m nox -e tests-3 -- -k nsxt
Running the full test suite still yields some failures on my machine with a Cava setup, but we've already mentioned needing to get those fixed.

tests/integration/modules/test_nsxt_compute_manager.py:test_get is failing for me, do you have something configured there that I should also have?

I had an old version of pytest-salt-factories installed; I've updated and it works for me.


Update catch-rejected-query.js

this is how it should be ;)

Oh, and you can remove those now irrelevant comments ;)

:+1: :v:
Thanks!!

Superseded by #151


allow undefined route options

I would like to be allowed to add arbitrary options into a route description like this:
desc 'get an object' do
  option awesome_value
end

and then have that option be available in route.options
after a little looking into it, using method_missing like this works, but i wonder if there is a solution that would be preferred over this.
Any thoughts?

What's your scenario for this?
Generally we want strong DSLs, ie. no arbitrary settings.

@dblock Yeah I see what you mean.
I am trying to use it in the grape-swagger gem, so the settings I would add would be specific to that gem (such as hidden for hiding a route), and that would make them inappropriate to add to grape. How else would you suggest accomplishing something like that?
Maybe using route_settings?

@dblock … think the background of it is this deprecation warning, which pops-up in the setup of @thogg4 – maybe you can provide some details on it – but not in the travis build of grape-swagger, where the option hash would be used very often.
I see two options:

remove it, and allow option hash again, so it would be possible by other gems to add gem specific keys, without defining it in grape itself
use method missing, as it would be suggested here

If I interpret it correctly, the options of the desc wouldn't be used very often from grape itself,
and sometimes they would be handled different → see: params key, vs. params block.


Added my name

Related issue

What changes does this PR do?
Screenshots (If any)
Questions

closing due to inactivity. feel free to reopen


test some const-generic-using methods

@bors r+

:pushpin: Commit f1b623c31353818f8bf0abbab48249a2168e60c0 has been approved by RalfJung

:hourglass: Testing commit f1b623c31353818f8bf0abbab48249a2168e60c0 with merge<PHONE_NUMBER>04d711b997941d634ecebf7fc03414...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing<PHONE_NUMBER>04d711b997941d634ecebf7fc03414 to master...


🐛 firebase_core causing xcode build failure

I am building my flutter app on Mac os.
I am recieving the following build error...
While building module 'firebase_core' imported from /Users/mmyUser/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-11.2.6/ios/Classes/FLTFirebaseMessagingPlugin.m:7:
   In file included from <module-includes>:1:
   In file included from /Users/mmyUser/src/Chess/client/ios/Pods/Target Support Files/firebase_core/firebase_core-umbrella.h:13:
   In file included from /Users/mmyUser/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.12.0/ios/Classes/FLTFirebaseCorePlugin.h:12:
   /Users/mmyUser/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.12.0/ios/Classes/FLTFirebasePlugin.h:9:9: error: include of non-modular header inside framework module 'firebase_core.FLTFirebasePlugin':
   '/Users/mmyUser/src/Chess/client/ios/Pods/Headers/Public/FirebaseCore/FirebaseCore.h' [-Werror,-Wnon-modular-include-in-framework-module]
   #import <FirebaseCore/FirebaseCore.h>
           ^
   1 error generated.
   /Users/mmyUser/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-11.2.6/ios/Classes/FLTFirebaseMessagingPlugin.m:7:9: fatal error: could not build module 'firebase_core'
   #import <firebase_core/FLTFirebasePluginRegistry.h>
    ~~~~~~~^
   2 errors generated.
   note: Using new build system
   note: Planning
   note: Build preparation complete
   note: Building targets in parallel

I have run the following commands to try and resolve
rm -rf Pods
rm -rf Podfile.lock
rm -rf ~/.pub-cache/hosted/pub.dartlang.org/
pod cache clean --all
flutter clean
flutter pub get
pod repo update
pod install

Flutter doctor output
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-arm, locale en-CA)
    • Flutter version 2.8.1 at /Users/scott/.flutter-sdk
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (10 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

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

[!] Android Studio
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

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

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 98.0.4758.102

@safield
Classes/FLTFirebaseMessagingPlugin.m:7:9: fatal error: could not build module 'firebase_core'
Could probably be an issue with the DerivedData. Can you try to recreate your ios folder and see if it helps ?


[HUDI-2289] Add ks3 support doc for hudi

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contributing.html before opening a pull request.

What is the purpose of the pull request
(For example: This pull request adds quick-start document.)
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

add doc with support ks3 storage on hudi @leesf

add md file to introduce hudi on ks3 filesystem @leesf

尊敬的PMC:
您好，当前azure CI每次到 unit_tests_other_modules 模块就会超时 （超过一小时）, 然后提交的pr就不能通过CI，发现很多其他的pr也是类似的问题，这个可有办法解决，或者是不是需要看一下azure CI是否有问题。问题如下图所示：
https://dev.azure.com/apache-hudi-ci-org/apache-hudi-ci/_build/results?buildId=1599&view=logs&j=d3721143-1417-5e3d-cf04-c39c0756eab9
感谢您抽出时间查看我的邮件，祝您工作顺利！
------------------ 原始邮件 ------------------
发件人:                                                                                "apache/hudi"                                                                                @.>;
发送时间: 2021年8月10日(星期二) 中午1:46
@.>;
<EMAIL_ADDRESS>主题: Re: [apache/hudi] [HUDI-2289] add ks3 support doc for hudi (#3436)
@yanghua commented on this pull request.
In docs/_docs/3_3_ks3_filesystem.md:
> + +
duplicated empty lines
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

尊敬的PMC: 您好，当前azure CI每次到 unit_tests_other_modules 模块就会超时 （超过一小时）, 然后提交的pr就不能通过CI，发现很多其他的pr也是类似的问题，这个可有办法解决，或者是不是需要看一下azure CI是否有问题。问题如下图所示： https://dev.azure.com/apache-hudi-ci-org/apache-hudi-ci/_build/results?buildId=1599&view=logs&j=d3721143-1417-5e3d-cf04-c39c0756eab9 感谢您抽出时间查看我的邮件，祝您工作顺利！
…
------------------ 原始邮件 ------------------ 发件人: "apache/hudi" @.>; 发送时间: 2021年8月10日(星期二) 中午1:46 @.><EMAIL_ADDRESS>主题: Re: [apache/hudi] [HUDI-2289] add ks3 support doc for hudi (#3436) @yanghua commented on this pull request. In docs/_docs/3_3_ks3_filesystem.md: > + + duplicated empty lines — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

社区已经有PR正在修复此问题，请保持耐心等待下。
Thanks! There is a PR in the community that is trying to fix the problem you reported. Please be patient. cc @xushiyan

sorry for the newbie questions. whats ks3? :)

It's a Chinese public cloud vendor. More details: https://www.ksyun.com/

@xuzifu666 Azure CI is set to ignore PRs merging into asf-site branch, which are just website/docs updates. I suggest PR creator upload screenshots in the PR to show the changed part on the website, and for reviewers' manual review before merging.
@yanghua @vinothchandar Do you agree with the setting described above?
@xuzifu666 Travis CI is broken now (forever queue due to limited job quota in ASF org), and we're removing it soon, so just ignore travis failure for now.

  the add MD file screenfile like the picture  @yanghua @xushiyan

CI tools is broken for asf-site, would you help to merge the doc PR into master? @xushiyan

@xuzifu666 as mentioned above, asf-site PR will be skipped. this docs update looks good per your screenshot. Thanks,  merging it now.


Easier/faster ways to change active schema/connection

Is your feature request related to a problem? Please describe.
I am often changing the schema (database) and/or connection on a script between 2 different databases and/or servers.  Would like to make this a little easier.
Issue 1:
With "Select active connection" (as labeled in Preferences > User Interface > Keys)/"Select Data Source" (as labeled in the title of the window that shows up), the cursor automatically goes to the filter textbox at the top and the user can start typing to filter the connection names.  But typing more than one word seems to confuse it.  For example, I have "Set 1", "Set 2", "Set 3", "Set 4" as connections.  Typing "Set" obviously gives me all of those.  If I add a space, so it is "Set ", all of the connections disappear, then if I finish with 4 so it is "Set 4", everything with Set in it shows up, instead of only "Set 4".
If I have more than one entry in the list and I tab from the filter textbox and I have connection folders, it goes to the first folder not the first connection inside that folder.
Issue 2:
With "Set active schema" (as labeled in Preferences)/"Choose catalog/schema" (as labeled in the window title), the cursor automatically goes to the list of catalog/schemas.  If I start typing there, it doesn't do anything.  I have to tab down to the search textbox and start typing and that filters the list just fine.  If I'm down to just one database and hit Enter to select it, nothing happens.
I understand what the up and down arrows are supposed to do, but they don't seem to do anything.
Describe the solution you'd like
Issue 1:
A) It would be nice if the description in Keys is the same as the window.
B) Have the filter work on all that has been entered, not just the first word.
C) When tabbing down from the filter textbox, go to the first connection, not a folder.
Issue 2:
A) It would be nice if the description in Keys is the same as the window.
B) Have this window work like the "Select Data Source" window with the improvements listed above.  So...
Filter textbox at the top that gets focus upon opening.
Filters as you type (both do currently).
If there is just one database shown, hitting Enter selects it.
Have some of the additional features here as well like show connected databases only.  Not sure if the others would apply or not.
Describe alternatives you've considered

Keyboard shortcuts for specific connection or connection/database.  (Not sure how you might do that.)
I.e.  Ctrl+Shift+5 sets the active window to Set 5, database Marvel_Heroes.
Ctrl+Shift+6 sets the active window to Set 1, database selected is the default for Set 1.
Allow creation of toolbar entries for specific connection or connection/database.
I.e.  A toolbar button to set the active window to Set 5, database Marvel_Heroes.
A toolbar button to set the active window to Set 1, database selected is the default for Set 1.

Additional context
Great program, guys!!  :-)

Hello @Tix2garr,
Sorry for the long wait.
Thanks for the feature request! We will consider your suggestions :^)


fix clusteroperation multi field invalid value null

What type of PR is this?
/kind bug
What this PR does / why we need it:
when i create clusteroperation cr, The following error is reported：
ClusterOperation.kubean.io "cluster1-demo-ops-1" is invalid: [status.endTime: Invalid value: "null": status.endTime in body must be of type string: "null", status.jobRef: Invalid value: "null": status.jobRef in body must be of type object: "null", status.startTime: Invalid value: "null": status.startTime in body must be of type string: "null"]
ClusterOperation.kubean.io "cluster1-demo-ops-1" is invalid: [spec.activeDeadlineSeconds: Invalid value: "null": spec.activeDeadlineSeconds in body must be of type integer: "null", spec.varsConfRef: Invalid value: "null": spec.varsConfRef in body must be of type object: "null", spec.entrypointSHRef: Invalid value: "null": spec.entrypointSHRef in body must be of type object: "null", spec.sshAuthRef: Invalid value: "null": spec.sshAuthRef in body must be of type object: "null"]
ClusterOperation.kubean.io "cluster1-demo-ops-1" is invalid: [spec.varsConfRef: Invalid value: "null": spec.varsConfRef in body must be of type object: "null", spec.activeDeadlineSeconds: Invalid value: "null": spec.activeDeadlineSeconds in body must be of type integer: "null", spec.entrypointSHRef: Invalid value: "null": spec.entrypointSHRef in body must be of type object: "null", spec.sshAuthRef: Invalid value: "null": spec.sshAuthRef in body must be of type object: "null"]

/lgtm

/lgtm


Unable to generate test vectors for credential

We need to demonstrate interoperability with:

[ ] -  Mattr
[ ]  - SecureKey
[ ] - Transmute

Credential
{
  "@context": [
    "https://www.w3.org/2018/credentials/v1",
    "https://w3id.org/security/suites/bls12381-2020/v1",
    "https://w3id.org/vaccination/v1"
  ],
  "type": [
    "VerifiableCredential",
    "VaccinationCertificate"
  ],
  "id": "urn:uvci:af5vshde843jf831j128fj",
  "name": "COVID-19 Vaccination Certificate",
  "description": "COVID-19 Vaccination Certificate",
  "issuanceDate": "2019-12-03T12:19:52Z",
  "expirationDate": "2029-12-03T12:19:52Z",
  "issuer": "did:key:z6MkiY62766b1LJkExWMsM3QG4WtX7QpY823dxoYzr9qZvJ3",
  "credentialSubject": {
    "type": "VaccinationEvent",
    "batchNumber": "1183738569",
    "administeringCentre": "MoH",
    "healthProfessional": "MoH",
    "countryOfVaccination": "NZ",
    "recipient": {
      "type": "VaccineRecipient",
      "givenName": "JOHN",
      "familyName": "SMITH",
      "gender": "Male",
      "birthDate": "1958-07-17"
    },
    "vaccine": {
      "type": "Vaccine",
      "disease": "COVID-19",
      "atcCode": "J07BX03",
      "medicinalProductName": "COVID-19 Vaccine Moderna",
      "marketingAuthorizationHolder": "Moderna Biotech"
    }
  },
}

Frame
{
  "presentation_definition": {
    "id": "32f54163-7166-48f1-93d8-ff217bdb0653",
    "input_descriptors": [],
    "frame": {
      "@context": [
        "https://www.w3.org/2018/credentials/v1",
        "https://w3id.org/vaccination/v1",
        "https://w3id.org/security/suites/bls12381-2020/v1"
      ],
      "type": [
        "VerifiableCredential",
        "VaccinationCertificate"
      ],
      "credentialSubject": {
        "@explicit": true,
        "type": [
          "VaccinationEvent"
        ],
        "batchNumber": {},
        "countryOfVaccination": {}
      }
    }
  }
}

Related: https://github.com/trustbloc/wallet/pull/1139/files

The root cause of the issue can be found here: https://github.com/w3c-ccg/ldp-bbs2020/issues/62
We remain blocked until a new proof type and implementation are available.

Test vectors for selective disclosure under blank nodes blocked by bbs+ bug, no timeline for a fix.

We have decided not to test BBS+ because of the bug remaining regarding blank nodes.


small changes

Description
small esthetics changes
Type of change
Please check options that are relevant.

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

Checklist:

[x] I have read the contributing guidelines
[ ] I have updated the HISTORY.rst and AUTHORS.rst files
[x] Linting passes successfully : flake8 . --exclude=doc
[x] Typing passes successfully : mypy mapie examples --strict
[x] Unit tests pass successfully : pytest -vs --doctest-modules mapie
[x] Coverage is 100% : pytest -vs --doctest-modules --cov-branch --cov=mapie --pyargs mapie
[x] Documentation builds successfully : cd doc; make clean; make html

Hello @gmartinonQM! Thanks for opening this PR.

In the file mapie/estimators.py:

Line 296:35: W504 line break after binary operator
Line 297:41: W504 line break after binary operator

Do see the Hitchhiker's guide to code style


Command for creating an user fails if there is no role

If you execute the following command:
app/console sulu:security:user:create

When you should enter the choice for the role the following error appears multiple times:
Warning: max(): Array must contain at least one element in /Users/daniel/Development/massiveart/sulu-standard/vendor/symfony/symfony/src/Symfony/Component/Console/Helper/QuestionHelper.php line 116

I thought there was an issue for this already but I can't find it.

I guess you are talking about #656 , but that's a different issue. Was probably introduced when fixing that.


Align header label with first day of the month

Hi, is it possible to align a label in the header with the first day of the month? For example:

As you can see, the name of the month is aligned with the first day.
I found a function called numberOfPreDatesForMonth that I could use to calculate the constraint for the leading offset. I also tried visibleDates(), but I'm getting some duplicate entries on the indates array.
Am I missing something here? Thanks!

hmm. ok. here are some things.

numberOfPreDatesForMonth is private. Not reccomended for you to use it :)
visibleDates().preDates should only give you predates. There should not be duplicate entries in there. (unless you are using an old version of JTAppleCalendar when i didn't fix that problem yet). That said, I am not sure how visibleDates can help you here.

It is east to configure the cells that is looks something like this

You can design the 1st cell any how you want.
But it seems like you are looking to make a separate label hover above the cell. I'm i correct?

If this is what you want, I think that you can accomplish it by creating a Inside Header view with 7 labels in a stack view line this
[  L1 | L2  | L3  | L4  | L5  | L6  | L7  ]
The header will have 7 labels.
Now when you configure the header, find out on what day of the week the 1st day is.
If it is Sunday, then L1 = visible and all others = inVisible.
If it is Monday, then L2 = visible and all others = inVisible. etc etc etc
The labels can have the text of the month :)
This should work.
Let me know what you think of the idea.

I downloaded the example app and made some changes and got this:

Basically, it's just a vertical calendar with itemSize = 40 and scrollingMode = .none.
When the app is on the same state as the screenshot, visibleDates().preDates contains 8 elements:

To position the label, I can use your approach or I can change the constraint. My only problem is getting the amount of indates on a given month. Right now I'm using version 6.1.2, am I supposed to be using a newer version?
Thanks!

Ok. i see why you re getting two types of predates. That is because you have 2 months on the screen (because you made the itemSize smaller).
But you do not need to use preDates to accomplish this. Headers has the delegate function called ->
func calendar(_ calendar: JTAppleCalendarView, willDisplaySectionHeader header: JTAppleHeaderView, range: (start: Date, end: Date), identifier: String) {

With this, it gives you the range.start date for the month, and the range.end date.
With this you can know what the date for the month header is.
Once you know the date, you can now do the visibility thing i mentioned above.
let me know how it goes.

closing issue. If you still need more help with this, then let me know.


render errorComponent if ctor promise rejected

Hello. I have a case that I cannot solve with loadable-components.
Case:
If I cannot download some chunk I need to show the popup to user. But popup's background should contain already downloaded part of site. If I try to catch error with React Error Boundaries my js script contains an infinite loop because I rerender React tree with invalid chunk.
My solution allows to fix this edge case. I can put some component with React.Portal via options, for example.

ErrorBoundary should be enough to implement any logic you need. Just don't try to render loadable back until user will ask for it (by clicking a retry button)

How to implement my logic? How to save healthy React Tree? Healthy = all tree except rejected chunks.

To save your tree, put an error boundary around your Loadable Component and only around it. It is an opinionated choice to use only Error Boundaries.


Update Settings “general”

Automatically generated by Netlify CMS

👷 Deploy Preview for endearing-sfogliatella-6c7dea processing.

Name
Link

🔨 Latest commit
3b8de3bb7778ff18b70e8d440d614a7a5d561a06

🔍 Latest deploy log
https://app.netlify.com/sites/endearing-sfogliatella-6c7dea/deploys/642220ba59b71100087a18f8


Vaal Blight Allows Stacking Spreading Rot Hinder Debuff

With Spreading Rot jewels socketed, and an already active Blight skill, adding Vaal Blight applies the 25% increased damage taken (per jewel) again. This can be verified by checking the math, as well as mousing over the Effective DPS Mod line, in the chaos column. The context hover will show 2 lines of "50% Increased Damage Taken" with the source given as "Jewel Socket"

Just discovered this as well.  Here's a build that exemplifies the issue:  https://pastebin.com/3DwqUPx5

A related issue is that the Vaal Blight gem does not have a checkbox for enabling (non-Vaal) Blight or not, in the socket groups UI. I intended only to use the Vaal version of the skill, but noticed the threshold jewel bonus was applied with the Vaal Blight gem row enabled but skill disabled. And, as already reported, it applies the bonus twice if you also enable the only toggleable skill from the gem row.

This was accidentally fixed in 1.4.110.


Update columns shown in Lookout V2

What type of PR is this?
This is a UI PR for Lookout V2.
What this PR does / why we need it:

Rewrites column definitions, removing a level of abstraction and directly using Tanstack's ColumnDef types
Modifies the set of default columns shown
Adds new optional columns, and removes columns that are not currently available from the API
Adds new column formatting (e.g. time since)
Adds tests

Which issue(s) this PR fixes:
Part of https://github.com/G-Research/armada/issues/1869
Special notes for your reviewer:
Default view

Column selector

All columns enabled

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@33a825f). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1926   +/-   ##
=========================================
  Coverage          ?   44.98%
=========================================
  Files             ?      185
  Lines             ?    26858
  Branches          ?        0
=========================================
  Hits              ?    12081
  Misses            ?    13915
  Partials          ?      862

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


chore(master): release 1.0.0

:robot: I have created a release beep boop
1.0.0 (2023-05-12)
Features

change template naming (2cffffb)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/laravel-cycle-starter-tpl/releases/tag/v1.0.0 :sunflower:


Problem with non english Characters when getting Objects

For this one i have no fix for now.
There are also issues whent getting Objects with german umlauts

I have the same issue when trying to update with accents
Using:
foreach ($site in $sites) { 	$values= [PScustomObject]@{ 		name = $site.site_EngNumber 		status = $site.site_status 		region = $site.site_region 		tenant = $site.site_tenant 		facility = $site.site_name 		description = $site.site_description 		physical_address = $site.site_address 		latitude = $site.site_latitude 		longitude = $site.site_longitude 		comments = $site.site_comments 		tags = $site.site_tags 		}  	$updates = $values | remove-Null 	write-host "[INFO] Atempting an update with those values:" 	$updates 	write-host "[INFO] Result: " 	if ($allsites.name -contains $site.site_engNumber) { 		$site_data = Get-nbSite -Query @{name=$site.site_EngNumber} 		Set-nbSite -id $site_data.id -Object $updates  -Patch 		} else {  			write-host "[WARNING] Engineering site number not found in Netbox." -background red 			write-host "----------------------------------------------------------------------" 		} 	}
I get the following output:
[INFO] Atempting an update with those values:
name             : R####
status           : active
facility         : R#### Édifice (redacted)
physical_address : redacted
latitude         : ##.#####
longitude        : -##.#####
tags             : {3}
[INFO] Result:
Invoke-nbApi : {"detail":"JSON parse error - 'utf-8' codec can't decode byte 0xc9 in position 234: invalid continuation byte"}
At C:\Users\redacted\Documents\WindowsPowerShell\Modules\powerbox\2.3.5\Public\Set-nbObject.ps1:127 char:16
+ ...      return Invoke-nbApi -Resource $Resource/$id -HttpVerb Patch -Bod ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-nbApi], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Invoke-nbApi
Invoke-nbApi : {"detail":"JSON parse error - 'utf-8' codec can't decode byte 0xc9 in position 234: invalid continuation byte"}
At C:\Users\redacted\Documents\WindowsPowerShell\Modules\powerbox\2.3.5\Public\Set-nbObject.ps1:129 char:12
+     return Invoke-nbApi -Resource $Resource/$id -HttpVerb Put -Body ( ...
+            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-nbApi], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Invoke-nbApi

I have the same issue when trying to update with accents
Using:
foreach ($site in $sites) { 	$values= [PScustomObject]@{ 		name = $site.site_EngNumber 		status = $site.site_status 		region = $site.site_region 		tenant = $site.site_tenant 		facility = $site.site_name 		description = $site.site_description 		physical_address = $site.site_address 		latitude = $site.site_latitude 		longitude = $site.site_longitude 		comments = $site.site_comments 		tags = $site.site_tags 		}  	$updates = $values | remove-Null 	write-host "[INFO] Atempting an update with those values:" 	$updates 	write-host "[INFO] Result: " 	if ($allsites.name -contains $site.site_engNumber) { 		$site_data = Get-nbSite -Query @{name=$site.site_EngNumber} 		Set-nbSite -id $site_data.id -Object $updates  -Patch 		} else {  			write-host "[WARNING] Engineering site number not found in Netbox." -background red 			write-host "----------------------------------------------------------------------" 		} 	}
I get the following output:
[INFO] Atempting an update with those values:
name             : R####
status           : active
facility         : R#### Édifice (redacted)
physical_address : redacted
latitude         : ##.#####
longitude        : -##.#####
tags             : {3}
[INFO] Result:
Invoke-nbApi : {"detail":"JSON parse error - 'utf-8' codec can't decode byte 0xc9 in position 234: invalid continuation byte"}
At C:\Users\redacted\Documents\WindowsPowerShell\Modules\powerbox\2.3.5\Public\Set-nbObject.ps1:127 char:16
+ ...      return Invoke-nbApi -Resource $Resource/$id -HttpVerb Patch -Bod ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-nbApi], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Invoke-nbApi
Invoke-nbApi : {"detail":"JSON parse error - 'utf-8' codec can't decode byte 0xc9 in position 234: invalid continuation byte"}
At C:\Users\redacted\Documents\WindowsPowerShell\Modules\powerbox\2.3.5\Public\Set-nbObject.ps1:129 char:12
+     return Invoke-nbApi -Resource $Resource/$id -HttpVerb Put -Body ( ...
+            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-nbApi], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Invoke-nbApi

I was able to fix updates by changing line #121 of Invoke-nb-Api.ps1 from ContentType = 'application/json' to
ContentType = 'application/json; charset=utf-8'
That fixes the uploads and accents are well represented when looking at the WebUI.
That being said, I was not able to find the encoding for the gets. I still get gibberish characters when loading information that contains UTF-8 caracters... :|   Scheiße!

I was able to fix updates by changing line #121 of Invoke-nb-Api.ps1 from ContentType = 'application/json' to
ContentType = 'application/json; charset=utf-8'
That fixes the uploads and accents are well represented when looking at the WebUI.
That being said, I was not able to find the encoding for the gets. I still get gibberish characters when loading information that contains UTF-8 caracters... :|   Scheiße!

@RudolfAchter , I was able to get proper UTF8 characters in console using PowerShell 7.0.4
Previously, I was using powershell 5.1.19041.610 and it seems that 5.1 has some issues rendering proper character set in terminal. a Workaround would have been to output to file and reload to terminal forcing UTF-8 but it seems like a stretch to me...

@RudolfAchter , I was able to get proper UTF8 characters in console using PowerShell 7.0.4
Previously, I was using powershell 5.1.19041.610 and it seems that 5.1 has some issues rendering proper character set in terminal. a Workaround would have been to output to file and reload to terminal forcing UTF-8 but it seems like a stretch to me...

@thefreakquency . I almost forgot about this issue :-) . I recently had no time to work with my Netbox / Powerbox Instance. But Thank you for your suggestions to fix this. I will try it in my installation


EurekaServiceInstance Cannot be deserialize

Describe the bug
springcloud Hoxton.RC2
springboot 2.2.1.RELEASE
Sample
Cannot construct instance of org.springframework.cloud.netflix.eureka.EurekaServiceInstance (no Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator)

It's not made for serialization. Please use Dto or transfer object

SC LoadBalancer is using EurekaServiceInstance as deserialize entity

We're moving to in memory only for the cache so it won't need to be serialized

I have serialization problems when I use redis reactive, you can try Webflux, data-redis-reaction, sc load balancer starter will report errors, EurekaServiceInstance  do not have default constructors

I understand, but next release redis won't be used to cache the load balancer instances

thank you

Hi guys, did you have any solutions?
we the newest load balancer version (3.1.1)

I have serialization problems when I use redis reactive, you can try Webflux, data-redis-reaction, sc load balancer starter and Jackson2JsonRedisSerializer will report errors, EurekaServiceInstance do not have default constructors https://gitee.com/cashzhang27/test-java/tree/master/test-cloud/test-cloud-webflux is my demo project

Hi, did  you have any solutions?
I found gateway(2.1.5.RELEASE) + load balancer(newest 3.3.1 version) always exists the problem.
i try to upgrade eureka client to 2.1.6.Release, the problem not be resolved.  has you problem been solved?


support for Immutable Map type of data-grid

As I use ImmutableJS for my state, I need to convert the state back to JS Object for each item every time re-rendering. I think the overhead is quite high, so
are there any ways to achieve the same result without converting the state back to JS object?

Hi - no, there is no support nor is any planned. Internal code would need to adapt for an individual library which is unprecedented and unmaintainable.


Update distances.md

jaccard相似系数分子分母反了

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


New Feature: make Apply.sequenceT variadic using mapped types, closes…

… #766
@mattiamanzati thanks a lot for the trick you suggested, deleting all those overloads feels so good

Thanks for your library @gcanti ! :D


Build error for asp.net core project consuming a gRPC service on macOS

When building an asp.net core web app that consumes a gRPC service on macOS you will get the build error below
/Users/sayedhashimi/.nuget/packages/grpc.tools/2.23.0/build/_protobuf/Google.Protobuf.Tools.targets(140,54): error MSB4113: Specified condition " !%(ProtoCompile) " evaluates to "!" instead of a boolean. [/Users/sayedhashimi/Projects/WebApp02/WebApp02/WebApp02.csproj]

This is due to a minor error in the targets file at https://github.com/grpc/grpc/blob/master/src/csharp/Grpc.Tools/build/_protobuf/Google.Protobuf.Tools.targets.
I will send a PR to fix this in a few in.

Fixed in #22434. Thanks fore reporting this!


Need help: [Error: Invalid outputIndex, received 0]

Hi, I am trying to use createTxProposal with a specific fee. In order to do that, I have to specify the inputs that will be used. I asumme that inputs are the utxos.
My code is:
     client.createTxProposal({

            outputs: [{
                toAddress: '1G5X9A7Pm72KF3YjFsFQ9UAWUwXZFiMXwC',
                amount: 180000,
                message: 'My Message'
            }],
            inputs: [{"txid":"33d895b72b5d23baa3cf17848220d2983da21cb873d4e42dc979288662a22542","vout":0,"address":"15CzeQrxBxcqMiNyxyQ7fYqaeLhF6XFsDF","scriptPubKey":"76a9142e2532c7915ad037c102d726e2b2a8678be135a788ac","satoshis":180000,"confirmations":0,"locked":false,"path":"m/0/0","publicKeys":["022fbc94eec3e60f5407a2901e5b49864961dbc168a8a55f65503c395c85db6ee9"]},{"txid":"e295a3379e0b93c88758caf340977b6ef12790ea97aad0f272cd2758e612753c","vout":0,"address":"1JeHUh5GhwtYYBanRqyTWWkGmP9iLoFLAL","scriptPubKey":"76a914c18748987141e3babc2390514e969d259e00b6b788ac","satoshis":8792,"confirmations":1969,"locked":false,"path":"m/1/10","publicKeys":["031d7107a88b76943fca585b5590f68dfdb78fe7e36a0785655d1898f431bc2800"]}],
            fee: 1000,
            outputOrder: [0,1] //I don't know what it is

        }, function(err, txp) {

            utils.die(err);
            client.publishTxProposal({txp: txp}, function(err) {

                utils.die(err);
                var new_txps = { id: utils.shortID(txp.id),  status: txp.status, requiredSignatures: txp.requiredSignatures}
                res.send(new_txps);

            });

        });

I am getting [Error: Invalid outputIndex, received 0]. Where is the problem?
Thanks!

Reading the https://raw.githubusercontent.com/bitpay/bitcore-wallet-client/master/bitcore-wallet-client.js, I found that:

@param {number=} data.outputIndex alias for vout

So the problem is that, when I pass the inputs, the 'vout' is a string, but it needs to be integer.
I don't understand what is the outputOrder yet. What is it?
Thanks!


Child-state with ui-tree under parent-state with ui-tree throws "Controller 'uiTreeNodes', required by directive 'uiTreeNode', can't be found!"

I'm using ui-router. When I have a parent state that has a ui-tree and a child state that has a ui-tree, accessing the child state throws:
Controller 'uiTreeNodes', required by directive 'uiTreeNode', can't be found!
The ui-tree works just fine in the child state, as well as in the parent state, this is just an error in console. From what I can see, it's happening because the parent state's ui-tree in my particular use case isn't actually present when the child state loads, as it's inside the <div ui-view> and thus gets dropped when the child state loads. It seems like the error isn't quite right, though, as the controller is absolutely present and loading before the template loads, it's just that the template isn't compiled and displayed, or something along those lines... Any thoughts on this?

Same for me. Everything works, just get this pesky error in the console.

maybe this may hep you https://github.com/angular-ui-tree/angular-ui-tree/issues/308

Thanks takeit, I saw that post while I was researching this, but what exactly is the fix? It's not obvious from the post, and as far as I can see, my template form is the same as the one in the post.

+1

Did you found solution for this ? I have same problem.

+1

+1 for the same ,

Closing this issue due to inactivity. See #815 for more information.
Please create a new issue is this still occurs with the current version of the component.


ReactiveSeq.range(aNegativeValue, other)

System.out.println( "IntStream.range(-1,10).sum=" + IntStream.range(-1,10).sum() );
System.out.println( "?This is a bug? ReactiveSeq.range(-1,10).sum=" + ReactiveSeq.range(-1,10).sum() );
System.out.println( "ReactiveSeq.of(-1,0,1,2,3,4,5,6,7,8,9).sum=" + ReactiveSeq.of(-1,0,1,2,3,4,5,6,7,8,9).sum() );
System.out.println( "IntStream.range(0,10).sum=" + IntStream.range(0,10).sum() );
System.out.println( "ReactiveSeq.range(0,10).sum=" + ReactiveSeq.range(0,10).sum() );
System.out.println( "ReactiveSeq.of(0,1,2,3,4,5,6,7,8,9).sum=" + ReactiveSeq.of(0,1,2,3,4,5,6,7,8,9).sum() );

ReactiveSeq.range can not start with a negative value

You are right, there is an explicit check to confirm the range is 0 or above. This is an oversight / bug. Will fix ASAP.

In ReversingRangeIntSpliterator.java, both the 'index' and 'max' menber variables do not match the constructor's 'start' and 'end' meaning (comparing to JDK IntStream.range implementation). So if the ReversingRangeIntSpliterator class is used in other situation in which the 'index' and the 'max' is just suitable or fit, you may have to consider to use a new class like JDK's

Yep. I was thinking about using another field to represent the min value i.e.
  private final int min;
  private final int max;
  private int index;

  public ReversingRangeIntSpliterator(int min, int max, boolean reverse) {
     super();
     this.min = min-1;
     this.max = max;
     this.reverse = reverse;
     this.index = min;
 }

and then
 if(!reverse){
    	if(index<max && index>min){
    		consumer.accept(index++);
    		return true;
    	}
    }
    if(reverse){
    	if(index>min && index<max){
    		consumer.accept(index--);
    		return true;
    	}
    }

Have not tested it across all scenarios yet, but does work for those I've tested e.g .
   System.out.println( "IntStream.range(-1,10).sum=" + IntStream.range(-1,10).sum() );
   System.out.println( "?This is a bug? ReactiveSeq.range(-1,10).sum=" + ReactiveSeq.range(-1,10).sum() );

Fixed on master and ready for release


Kite fail tolerance question

I am planning on using kite in production. The initial, simplified architecture is this:
Google compute engine instances, with automatic scaling. Each engine instance has:
Rest service to accept public request and public Websocket service. The two sevices talk to each other in the same compute engine instance.
When an HTTP request comes in, through kite it will send a message to the websocket service to send back some info to the attached clients. My question is if in any case the Websocket service fails for a few seconds what will kite do if the HTTP server tries to communicate with it? Does it have any integrated message queue or should I add one myself which will handle these cases.
Moreover, does kite have an option to have 2 instances of the same microservice in which case it will loadbalance between the two internally?

You are free to implement any load balancing mechanism based on the kite querying interface. You get the kite addresses back from the query and can connect to one or many or retry, etc.

Figured that much, I was just hoping kite would do some of these stuff, would save some work :)


STITCH-2263 - Android SDK: Always run R2L synchronization first

Per our decision, this commit removes the ability to (in code) swap from R2L first to L2R first behavior and eliminates the resulting duplicate test sequences. This change complies with our updated specification and ameliorates the need to make sure that all behaviors work across both directional preferences. Neither preference offered significant advantage to end users and complicated the logic when versions were missing during synchronization, as versions are not persisted locally.

Coverage decreased (-5.7%) to 67.861% when pulling c1f549906d7641e8f4c64f692a70e802fdd9f8c6 on dkaminsky:STITCH-2263 into a9719d38fa507789b51a22cce20035a90ab40437 on mongodb:master.

Coverage decreased (-5.7%) to 67.861% when pulling c1f549906d7641e8f4c64f692a70e802fdd9f8c6 on dkaminsky:STITCH-2263 into a9719d38fa507789b51a22cce20035a90ab40437 on mongodb:master.


Use a Set of markers instead of an array

The clusterer uses an array of markers:
https://github.com/googlemaps/js-markerclusterer/blob/9476b3a62399fd124c92ed74faae6943cf573ea4/src/markerclusterer.ts#L33
This is inefficient has the lib often scans the whole list (and by definition the list is big when you use the clusterer):
https://github.com/googlemaps/js-markerclusterer/blob/9476b3a62399fd124c92ed74faae6943cf573ea4/src/markerclusterer.ts#L104-L106
https://github.com/googlemaps/js-markerclusterer/blob/9476b3a62399fd124c92ed74faae6943cf573ea4/src/markerclusterer.ts#L125
switching to a Set would be much more efficient.
I could volunteer that code if using a Set is ok with the targeted list of supported browsers - let me know

Input into any clusterer should NOT be based on Google Map Markers; which was a design flaw from the get-go as map markers should only be created for display in the map viewport - thus saving time and memory.
Input to a clusterer should be based on a "key" value which is associated with a latitude and longitude; in which case a Map would be ideal.   Proof of such a concept is shown at: Creating data points vs creating Google map markers


Implement unaryMinus operation and other unary operations

Example:
val a = 1.m
val b = -a

will generate compiler error.

Implemented in Release 3.0.0


Large Architecture overhaul.

Move to nginx+gunicorn for web stack.
Implement redis for sharing pipes across multiple threads / instances
server/initialize.py now creates a penguindomeSVC account on the server machine
Addeds file permission checks / sets during server/initialize.py to fix any permission errors.
integrated the nginx / redis setup into server/initialize.py. will auto create the needed config files, remove default sites, create systemd unit files

I created this fork a while back and din't think the project was active... I saw all the new changes and it looks like we both fixed the pgp keychain issue. I also fixed the issue, which i included in the PR since it was less work to merge back up to master than the other way around. Let me know if theres any issues there. The way i write it you explicitly set which keychain to use in server.py / client.py
One other change that had to be made was that by having multiple server workers (multiple threads or multiple instances), there was an issue with encryptors being used during the client shell. So some work had to be done to move where the encryptor was created in order to store it in redis. Since the encryptor is only used to validate the data and transit security is being provided by tls/ssl to the server

Thanks for the contribution! This is great stuff, so thanks for sharing it.
I unfortunately do not have time to review the entire PR in detail right now, but I do see some initial issues that I would like to see addressed before it is merged:

Please update your PR to exclude your pgp keychain issue fix, since there's already a working fix on master. There are no full-time maintainers for this project, so putting extra work into a PR makes it less likely that we will have the time to review and merge it. As such, it's not really a good idea to include a fix in a PR when there is already a different, working fix for the same issue on master.

We can't require redis or nginx, so code that adds support for those needs to make it optional.

I like the idea of the server running in a service account, but it needs to be able to listen on privileged ports even if the installer opts not to use nginx. Therefore if the server isn't running under nginx then it needs to start as root and bind to the necessary ports before changing its UID to the service account.

Please take E501 out of tox.ini and fix your code to conform if it doesn't. We are not removing the line length requirement from the project.

Thanks!

Yeah, no need to rush through the review - i know a lot changed :)

will update this in the upcoming days / weekend, ill probably be working on this in my personal time so this might stay open for a bit.

same as above. Ill set a flag on install and then reference that when setting pipes and encryptors. this adds some complexity in running the service as someone not familiar with the architecture... if you don't use redis, then running with multiple web workers will cause errors when trying to use the client shell. I can get around that by checking on if redis is being used, and only use 1 worker for nginx if thats the case.

You can also run this without nginx by invoking the server directly. I actually do this for debugging during dev, and make sure that invoking the server without nginx still starts up correctly. When making the changes to the guided install, if someone answers no to nginx/redis, would you expect a systemd unit file to be created to run the debug server on boot, or let the user handle their own startup file? I wouldn't recommend running this in production on the debug server.

You should be able to start the server as root. I think the answer here depends on the second paragraph above... do we want a systemd file created for the no nginx use case? if so we can just use that to start as root, as is the current case.

I do see a potential problem where running as root could lead to files being created in var with root:root ownership, which could then break the install when running as non root. re-running the ./server-setup.sh and pressing y on the fix permissions option will fix that.
besides that, i dont think theres a graceful way to start as root in order to bind to 80, then drop down to the service account that doesnt involve significant effort to implement

All of the lines in the file are <=79 characters except for one. the only line that is longer is a systemd file which can't be broken up as a multiline string. I can ditch the multiline string but then it won't cleanly represent the file being written. The line in question is server/initialize.py:570 - let me know if you still want me to change it to be multiple concatenated strings so i can wrap the line.

same as above. Ill set a flag on install and then reference that when setting pipes and encryptors. this adds some complexity in running the service as someone not familiar with the architecture... if you don't use redis, then running with multiple web workers will cause errors when trying to use the client shell. I can get around that by checking on if redis is being used, and only use 1 worker for nginx if thats the case.

Yes, I agree that it's reasonable to only allow for one worker if redis isn't being used.

You can also run this without nginx by invoking the server directly. I actually do this for debugging during dev, and make sure that invoking the server without nginx still starts up correctly. When making the changes to the guided install, if someone answers no to nginx/redis, would you expect a systemd unit file to be created to run the debug server on boot, or let the user handle their own startup file? I wouldn't recommend running this in production on the debug server.

Yes, if not using nginx I would expect the current behavior of creating a systemd file to be offered.
We had no trouble at Quantopian running it in production using the debug server. It really depends on how many clients you're supporting. Nginx, redis, and multiple workers are overkill for a small installation, which is why they should be optional.

besides that, i dont think theres a graceful way to start as root in order to bind to 80, then drop down to the service account that doesnt involve significant effort to implement

It is not clear to me what problem you're anticipating here that makes this a difficult problem.

All of the lines in the file are <=79 characters except for one. the only line that is longer is a systemd file which can't be broken up as a multiline string. I can ditch the multiline string but then it won't cleanly represent the file being written. The line in question is server/initialize.py:570 - let me know if you still want me to change it to be multiple concatenated strings so i can wrap the line.

E501 isn't enforced on multi-line strings, so if that's the only problem then it's not clear to me why you added E501 to the exclude list in the first place.


chore: change the order

:tada: This PR is included in version 3.0.32 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Opt-out cookie support

Could you please add an option for localStorage to not fall back to cookieStorage, intentionally dropping support for older browsers, if desired?
The rationale behind this is that I need my cookies to have both secure and httpOnly attributes set, for security reasons. This means my cookie won't be accesible to any script in the browser and therefore angular-translate won't be able to modify it.

@lavorosas, the easiest one is to build your own storage plugin -- just have a look at the impl of cookie or localstorage. Basically, it's a get and put.

Sorry, this only shows how much I didn't understand cookies. Each cookie is independent, so if my session cookie is httpOnly and secure, that doesn't mean it's the same case for all cookies on the site.
I'm closing now.


[Darwin test config] Use the SDK when running swift/swiftc in tests.

The Swift driver (swift/swiftc) is supposed to always be used with an
accompanying SDK, which it derives from the environment. Our test
infrastructure was clearing out this SDK, making it deviate from the
normal operating environment unnecessarily. Switch to providing the
SDK used for building the standard library, which provides a
more-consistent test environment, and tag the few places in tests
where we have explicit dependencies on "no SDK."

@swift-ci test

@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - 7e0a59eb9bc40e8c099ecb7b4f7d5b65f54ca8cb

@swift-ci test macOS

Build failed
Swift Test OS X Platform
Git Sha - d06e11077dcbc2c5535c782f5e458780d0f06bd4

@swift-ci smoke test

@swift-ci please smoke test macOS

@swift-ci test Windows

@swift-ci please smoke test

@swift-ci please smoke test Linux


Update DC/OS template link

The 101-acs-mesos template is marked as deprecated, pointing at the updated template in the link

Hi @stuartleeks, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (stuartle). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@stuartleeks : Thanks for your contribution to the Azure documentation! The author, @rgardler, has been notified to review your proposed change.

#sign-off
Thanks @stuartleeks


Add extra PATH to find tensorboard

What changes were proposed in this pull request?
Generally speaking we set PYSPARK_PYTHON to spark-env.sh. It means that PYSPARK_PYTHON may be not in os.environ. This PR add extra PATH to find tensorboard. more see #61.
PYTHONPATH may looks like this:
'PYTHONPATH': '/opt/cloudera/parcels/2.1.0-2.6.0.d20170113-15.36.26/lib/spark/jars/spark-core_2.11-2.2.0-SNAPSHOT.jar:/opt/cloudera/parcels/Anaconda/bin/python::/opt/cloudera/parcels/Anaconda/bin/python:/data/M05/yarn/nm/usercache/tandem/appcache/application_1491988027269_1406/container_e55_1491988027269_1406_01_000004/__pyfiles__:/opt/cloudera/parcels/2.1.0-2.6.0.d20170113-15.36.26/lib/spark/python/lib/py4j-0.10.4-src.zip:/opt/cloudera/parcels/2.1.0-2.6.0.d20170113-15.36.26/lib/spark/python/lib/pyspark.zip:/data/M05/yarn/nm/usercache/tandem/appcache/application_1491988027269_1406/container_e55_1491988027269_1406_01_000004/tfspark.zip'

How was this patch tested?
manual tests

CC @leewyang

@wangyum Thanks for the PR.  (Sorry for the delay, since I've been out).
Quick question: is there a reason why you can't do something like this:
os.environ['PATH'] = os.environ['PATH'] + os.pathsep + os.environ['PYTHONPATH']

i.e. why do you need to get the dirname() of each sub-component of the PYTHONPATH?
I can't really test this in my environment, so if this is required, that's fine... (just wanted to make sure).

PYSPARK_PYTHON is something like /opt/cloudera/parcels/Anaconda/bin/python, It's a file. I have test os.environ['PATH'] = os.environ['PATH'] + os.pathsep + os.environ['PYTHONPATH'] and it does not work.

K, thanks for checking.
+1


[SPARK-19724][SQL]create a managed table with an existed default location should throw an exception

What changes were proposed in this pull request?
This JIRA is a follow up work after SPARK-19583
As we discussed in that PR
The following DDL for a managed table with an existed default location should throw an exception:
CREATE TABLE ... (PARTITIONED BY ...) AS SELECT ...
CREATE TABLE ... (PARTITIONED BY ...)

Currently there are some situations which are not consist with above logic:

CREATE TABLE ... (PARTITIONED BY ...) succeed with an existed default location
situation: for both hive/datasource(with HiveExternalCatalog/InMemoryCatalog)

CREATE TABLE ... (PARTITIONED BY ...) AS SELECT ...
situation: hive table succeed with an existed default location

This PR is going to make above two situations consist with the logic that it should throw an exception
with an existed default location.
How was this patch tested?
unit test added

Test build #73420 has started for PR 17057 at commit 52f8bcd.

Test build #73421 has started for PR 17057 at commit 81cf177.

Test build #73421 has finished for PR 17057 at commit 81cf177.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #73420 has finished for PR 17057 at commit 52f8bcd.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Test build #73426 has started for PR 17057 at commit 7e9d341.

Test build #73428 has started for PR 17057 at commit b4c55d6.

Test build #73426 has finished for PR 17057 at commit 7e9d341.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #73428 has finished for PR 17057 at commit b4c55d6.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #73429 has started for PR 17057 at commit a764624.

Test build #73429 has finished for PR 17057 at commit a764624.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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


Android Modal style issues Samsung Galaxy S5/S6

Description
I've faced really strange issue happening on Samsung devices (Galaxy S6/S7 Android 6.0.1, other not tested) ONLY.
I'm using react-native Modal components in the app, and each component has a button at the bottom of the page (to confirm some action). This button has style flex: 1 applied to it with parent container styles as: justifyContent:"space-between". So the button is placed at the very bottom of the screen.
On every platform it works great, except Samsung devices, starting from SECOND application run. I mean, that for the first time it renders correctly, but after u close the app (delete from running processes) and run it again -- the button just disappears.
Again, it's not happening neither on IOS nor on any other Android device (for sure, emulators too). This issue doesn't exist for a regular pages, only for Modal ones. I suspect that this may be a mix of Modal component bugs and Samsung devices, providing their custom launcher.
Reproduction
Currently I'm using react-native: 0.35.0 and tried to upgrade to 0.36, 0.37, 0.38 -- none of those fixes the issue. Because of large project, lots of deps and strict timeframe I cannot upgrade to >=0.39 as it causes too many issues.
Playing with styles also doesn't give me any effect, until I place this button to be NOT the last element inside the container View, which doesn't suit to my needs, as it should be at the very bottom of the page
Please help me to resolve this issue.
Thanks.
Additional Information

React Native version: 0.35, 0.36, 0.37, 0.38
Platform: Android
Operating System: MacOS
Dev tools: Android Studio 2.2.2

Hey there! Can you kindly share the relevant code snippet / source code, so that I'd be able to reproduce the issue easily?

@mikaalanwar Just use React-Native Modal with code inside like this and test it on samsung S6/S7 devices, rerunning app for couple of times (delete from memory and open):
<View style={{flex:1, justifyContent:"space-between"}}>
  <View style={{flex:1}}>
    <Text>Hello World</Text>
  </View>
  <Button style={{height: 44, flex: 1}}>
    <Text>Next</Text>
  </Button>
</View>

I've managed to fix this issue by using custom animated views instead of modals. But that's not the way it should work

When it breaks can you do a adb shell dumpsys SurfaceFlinger? There should be some lines towards the end like this:
Hardware Composer state (version 01020000):
  mDebugForceFakeVSync=0
  Display[0] configurations (* current):
    * 0: 1200x1920, xdpi=320.842010, ydpi=322.966003, refresh=16666667, colorTransform=0
  numHwLayers=5, flags=00000000
    type   |  handle  | hint | flag | tr | blnd |   format    |     source crop (l,t,r,b)      |          frame         | name
-----------+----------+------+------+----+------+-------------+--------------------------------+------------------------+------
       HWC | b339a820 | 0002 | 0000 | 00 | 0100 | RGB_888     |      0,      0,   1200,   1920 |    0,    0, 1200, 1920 | com.android.systemui.ImageWallpaper
       HWC | b6796550 | 0002 | 0000 | 00 | 0105 | RGBA_8888   |      0,      0,   1200,   1920 |    0,    0, 1200, 1920 | com.google.android.googlequicksearchbox/com.google.android.launcher.GEL
       HWC | b6796410 | 0002 | 0000 | 00 | 0105 | RGBA_8888   |      0,      0,   1200,     48 |    0,    0, 1200,   48 | StatusBar
       HWC | b339a550 | 0002 | 0000 | 00 | 0105 | RGBA_8888   |      0,      0,   1200,     96 |    0, 1824, 1200, 1920 | NavigationBar
 FB TARGET | b6b0fb90 | 0000 | 0000 | 00 | 0105 | RGBA_8888   |      0,      0,   1200,   1920 |    0,    0, 1200, 1920 | HWC_FRAMEBUFFER_TARGET

Can you see if the source crop and the frame fields for your app's windows are different? If it's like that I might have a fix for that. See https://github.com/facebook/react-native/pull/13411

@rgngl Hello. After upgrade of Samsung devices to android 7, this bug disappeared. So, it definitely was an issue with the particular touchwiz version which is used on Android 6.0.1, because for devices with pure 6.0.1 no bug was noticed.

Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:

Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.

If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.

@hramos Hello. This issue disappeared after system update on Samsung Galaxy S5/S6