OpenStack nova error with multi region deployment.

Hi,
First Thanks you very much for PrefKit!
I am having some problem on my multi-region based cloud setup. NOVA client works fine with multiple regions:
--------- salman -----------
export OS_USERNAME=
export OS_PASSWORD=
export OS_TENANT_NAME=
export OS_PROJECT_NAME=
export OS_REGION_NAME=
export OS_AUTH_URL=http://keystoneURL:5000/v2.0
ubuntu@prefkit-test:~/perfkit$ source salman
ubuntu@prefkit-test:~/perfkit$ nova list
+--------------------------------------+-----------+---------+------------+-------------+--------------------------------------+
| ID                                   | Name      | Status  | Task State | Power State | Networks                             |
+--------------------------------------+-----------+---------+------------+-------------+--------------------------------------+
| 9df963e8-d0ef-44e4-993c-f3e06244961f | smurf-001 | SHUTOFF | -          | Shutdown    | vmnet=<IP_ADDRESS>, <IP_ADDRESS> |
+--------------------------------------+-----------+---------+------------+-------------+--------------------------------------+
ubuntu@prefkit-test:~/perfkit$ vi salman
ubuntu@prefkit-test:~/perfkit$ source salman
< Basically I have changed the region parameter >
ubuntu@prefkit-test:~/perfkit$ nova list
+--------------------------------------+--------------+--------+------------+-------------+------------------------------------+
| ID                                   | Name         | Status | Task State | Power State | Networks                           |
+--------------------------------------+--------------+--------+------------+-------------+------------------------------------+
| a9a6a1cd-1ffe-473a-9f27-1cc865937cbb | PerfKit-Test | ACTIVE | -          | Running     | smog-net=<IP_ADDRESS>, <IP_ADDRESS> |
+--------------------------------------+--------------+--------+------------+-------------+------------------------------------+
So with the Nova Client everything is working fine with multiple regions. But here what happen when I use pkb.py:
ubuntu@prefkit-test:~/perfkit$ cd PerfKitBenchmarker/
ubuntu@prefkit-test:~/perfkit/PerfKitBenchmarker$ ./pkb.py --cloud=OpenStack --benchmarks=ping
2015-12-22 15:43:17,635 6a699ed7 MainThread INFO     Verbose logging to: /tmp/perfkitbenchmarker/run_6a699ed7/pkb.log
2015-12-22 15:43:17,635 6a699ed7 MainThread INFO     PerfKitBenchmarker version: v1.0.1-103-g5a2c738
2015-12-22 15:43:17,804 6a699ed7 MainThread INFO     Flag values:
--cloud=OpenStack
--benchmarks=ping
2015-12-22 15:43:18,091 6a699ed7 MainThread ping(1/1) INFO     Starting new HTTP connection (1): smog.uppmax.uu.se
2015-12-22 15:43:25,441 6a699ed7 MainThread ping(1/1) INFO     Starting new HTTP connection (1): smog.uppmax.uu.se
2015-12-22 15:43:30,489 6a699ed7 MainThread ping(1/1) INFO     Starting new HTTP connection (1): smog.uppmax.uu.se
Found more than one valid endpoint. Use a more restrictive filter
2015-12-22 15:43:42,856 6a699ed7 MainThread ping(1/1) ERROR    Error during benchmark ping
Traceback (most recent call last):
File "/home/ubuntu/perfkit/PerfKitBenchmarker/perfkitbenchmarker/pkb.py", line 338, in RunBenchmark
spec.ConstructVirtualMachines()
File "/home/ubuntu/perfkit/PerfKitBenchmarker/perfkitbenchmarker/benchmark_spec.py", line 262, in ConstructVirtualMachines
vm = self._CreateVirtualMachine(vm_spec, os_type, cloud)
File "/home/ubuntu/perfkit/PerfKitBenchmarker/perfkitbenchmarker/benchmark_spec.py", line 344, in _CreateVirtualMachine
return vm_class(vm_spec)
File "/home/ubuntu/perfkit/PerfKitBenchmarker/perfkitbenchmarker/providers/openstack/os_virtual_machine.py", line 48, in init
self.firewall = os_network.OpenStackFirewall.GetFirewall()
File "/home/ubuntu/perfkit/PerfKitBenchmarker/perfkitbenchmarker/network.py", line 51, in GetFirewall
benchmark_spec.firewalls[key] = cls()
File "/home/ubuntu/perfkit/PerfKitBenchmarker/perfkitbenchmarker/providers/openstack/os_network.py", line 38, in init
name='perfkit_sc_group')):
File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 257, in findall
listing = self.list(**list_kwargs)
File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/security_groups.py", line 96, in list
'security_groups')
File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 74, in _list
_resp, body = self.api.client.get(url)
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 448, in get
return self._cs_request(url, 'GET', **kwargs)
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 404, in _cs_request
self.authenticate()
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 561, in authenticate
auth_url = self._v2_auth(auth_url)
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 652, in _v2_auth
return self._authenticate(url, body)
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 667, in _authenticate
return self._extract_service_catalog(url, resp, respbody)
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 490, in _extract_service_catalog
self.management_url = self.get_service_url(self.service_type)
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 467, in get_service_url
volume_service_name=self.volume_service_name,)
File "/usr/local/lib/python2.7/dist-packages/novaclient/service_catalog.py", line 87, in url_for
endpoints=matching_endpoints)
AmbiguousEndpoints: AmbiguousEndpoints:
2015-12-22 15:43:42,861 6a699ed7 MainThread ping(1/1) ERROR    Benchmark 1/1 ping (UID: ping0) failed. Execution will continue.
2015-12-22 15:43:42,862 6a699ed7 MainThread ping(1/1) INFO     Benchmark run statuses:
Name  UID    Status
ping  ping0  FAILED
Success rate: 0.00% (0/1)
2015-12-22 15:43:42,862 6a699ed7 MainThread ping(1/1) INFO     Complete logs can be found at: /tmp/perfkitbenchmarker/run_6a699ed7/pkb.log
Can someone please confirm? Or point out the problem.
Regards..
Salman.

cc @kivio, @meteorfox

@cmccoy I'll take a look.

@stoor Please try this PR, I don't have a multi-region deployment to test it, but I believe it should address your issue. You can either use the env variable OS_REGION_NAME, or pass it as a flag --openstack-region
Also, a few tips:

Always specify the flags --machine_type,  --image, --openstack_public_network, and --openstack_private_network unless the default values matches what you have in your deployment.

Make sure that wherever PKB is executed from, to make sure that it can access the instances network, either by using a floating ip (that's the --openstack_public_network flag), or executing from another instances within the deployment.

For example in my deployment I have this:
$ nova net-list
+--------------------------------------+---------+------+
| ID                                   | Label   | CIDR |
+--------------------------------------+---------+------+
| d82fbbfd-8209-4b60-8334-7dfd9c6da392 | private | None |
| 11d429bb-0f11-42a0-bc24-1d0486e84ec5 | public  | None |
| 7907665c-1ba9-4f8a-b2a0-d24848186293 | service | None |
+--------------------------------------+---------+------+

nova image-list
+--------------------------------------+-----------------------+--------+--------------------------------------+
| ID                                   | Name                  | Status | Server                               |
+--------------------------------------+-----------------------+--------+--------------------------------------+
| bf58d063-d28b-4c56-b2a2-f20f11a097ba | Ubuntu 14.04          | ACTIVE |                                      |
| da9145ea-edc4-4a04-950a-64dadebf6c78 | Ubuntu 14.04 (large)  | ACTIVE | 469bc375-5ddb-4652-ad9d-ccb8a67a0c7f |
| e5ab6e3f-6875-4145-987a-dfc358d911ea | Ubuntu 14.04 (medium) | ACTIVE | 469bc375-5ddb-4652-ad9d-ccb8a67a0c7f |
+--------------------------------------+-----------------------+--------+--------------------------------------+

nova endpoints

...
+-------------+-----------------------------------------------------------+
| novav21     | Value                                                     |
+-------------+-----------------------------------------------------------+
| adminURL    | http://<IP_ADDRESS>:8774/v2.1                            |
| id          | 417cb049043a4ee68250c8322f210181                          |
| internalURL | http://<IP_ADDRESS>:8774/v2.1                            |
| publicURL   | http://##########:8774/v2.1 |
| region      | RegionOne                                                 |
+-------------+-----------------------------------------------------------+
...

To run the ping benchmark in my case I use the following command:
./pkb.py --cloud=OpenStack --machine_type=m1.medium --image='Ubuntu 14.04' \
         --benchmarks=ping  \
         --openstack_public_network=public --openstack_private_network=service

To execute a benchmark (copy_throughput, fio, etc) that makes use of data disks use something like this:
/pkb.py --cloud=OpenStack --machine_type=m1.medium --image='Ubuntu 14.04' \
         --openstack_public_network=public --openstack_private_network=service \
         --benchmarks=fio \
         --data_disk_size=40 --num_striped_disks=2

This will create  an instance with the m1.medium flavor using the image Ubuntu 14.04, attach it to private network named service, and use floating IPs from the public network named public, it will create 2 Cinder volumes of 40GB each and attach it to the instance, which then PKB will create an RAID0 array, mount them and use it as the path for the fio workload.
As of now, it always uses Cinder volumes, I have another PR #759 in progress which allows you to specify if either use locally attached disks, its boot disk, or remote volumes.

Hi,
Thanks for your response. But I think the problem is not related to image or instance creation or even passing correct parameters to pkb.py . The problem is pkb.py somehow couldn't pass the information of regions to nova. Since keystone has multiple endpoints for nova, I am getting response of AmbiguousEndpoints. In principle the response is correct. Can you please check that together with username, password, tenant and auth_url, is pkb.py also handling OS_REGION_NAME parameter?
ubuntu@prefkit-test:~/perfkit/PerfKitBenchmarker$ ./pkb.py --cloud=OpenStack --machine_type=m1.medium --image='99f4625e-f425-472d-8e21-7aa9c3db1c3e' --benchmarks=ping --openstack_public_network=ext-net --openstack_private_network=smog-net
2015-12-23 10:34:41,653 1798f9fc MainThread INFO     Verbose logging to: /tmp/perfkitbenchmarker/run_1798f9fc/pkb.log
2015-12-23 10:34:41,653 1798f9fc MainThread INFO     PerfKitBenchmarker version: v1.0.1-103-g5a2c738
2015-12-23 10:34:41,727 1798f9fc MainThread INFO     Flag values:
--machine_type=m1.medium
--image=99f4625e-f425-472d-8e21-7aa9c3db1c3e
--cloud=OpenStack
--benchmarks=ping
--openstack_private_network=smog-net
--openstack_public_network=ext-net
2015-12-23 10:34:41,923 1798f9fc MainThread ping(1/1) INFO     Starting new HTTP connection (1): publicURL
2015-12-23 10:34:49,041 1798f9fc MainThread ping(1/1) INFO     Starting new HTTP connection (1): publicURL
2015-12-23 10:34:54,097 1798f9fc MainThread ping(1/1) INFO     Starting new HTTP connection (1): publicURL
Found more than one valid endpoint. Use a more restrictive filter
2015-12-23 10:35:07,012 1798f9fc MainThread ping(1/1) ERROR    Error during benchmark ping
Traceback (most recent call last):
File "/home/ubuntu/perfkit/PerfKitBenchmarker/perfkitbenchmarker/pkb.py", line 338, in RunBenchmark
spec.ConstructVirtualMachines()
File "/home/ubuntu/perfkit/PerfKitBenchmarker/perfkitbenchmarker/benchmark_spec.py", line 262, in ConstructVirtualMachines
vm = self._CreateVirtualMachine(vm_spec, os_type, cloud)
File "/home/ubuntu/perfkit/PerfKitBenchmarker/perfkitbenchmarker/benchmark_spec.py", line 344, in _CreateVirtualMachine
return vm_class(vm_spec)
File "/home/ubuntu/perfkit/PerfKitBenchmarker/perfkitbenchmarker/providers/openstack/os_virtual_machine.py", line 48, in init
self.firewall = os_network.OpenStackFirewall.GetFirewall()
File "/home/ubuntu/perfkit/PerfKitBenchmarker/perfkitbenchmarker/network.py", line 51, in GetFirewall
benchmark_spec.firewalls[key] = cls()
File "/home/ubuntu/perfkit/PerfKitBenchmarker/perfkitbenchmarker/providers/openstack/os_network.py", line 38, in init
name='perfkit_sc_group')):
File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 257, in findall
listing = self.list(**list_kwargs)
File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/security_groups.py", line 96, in list
'security_groups')
File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 74, in _list
_resp, body = self.api.client.get(url)
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 448, in get
return self._cs_request(url, 'GET', **kwargs)
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 404, in _cs_request
self.authenticate()
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 561, in authenticate
auth_url = self._v2_auth(auth_url)
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 652, in _v2_auth
return self._authenticate(url, body)
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 667, in _authenticate
return self._extract_service_catalog(url, resp, respbody)
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 490, in _extract_service_catalog
self.management_url = self.get_service_url(self.service_type)
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 467, in get_service_url
volume_service_name=self.volume_service_name,)
File "/usr/local/lib/python2.7/dist-packages/novaclient/service_catalog.py", line 87, in url_for
endpoints=matching_endpoints)
AmbiguousEndpoints: AmbiguousEndpoints: [{u'adminURL': u'http://controller:8774/v2/db8ac8cc448f48a8a9b1b0d7c302a79d', u'region': u'regionOne', u'id': u'1a66d72c4ee24ea5ad786803225970fa', 'serviceName': u'nova', u'internalURL': u'http://controller:8774/v2/db8ac8cc448f48a8a9b1b0d7c302a79d', u'publicURL': u'http://publicURL:8774/v2/db8ac8cc448f48a8a9b1b0d7c302a79d'}, {u'adminURL': u'http://controller:8774/v2/db8ac8cc448f48a8a9b1b0d7c302a79d', u'region': u'HPC2N', u'id': u'488343185e3d4fc489bef538d4329ef7', 'serviceName': u'nova', u'internalURL': u'http://controller:8774/v2/db8ac8cc448f48a8a9b1b0d7c302a79d', u'publicURL': u'http://publicURL:8774/v2/db8ac8cc448f48a8a9b1b0d7c302a79d'}]
2015-12-23 10:35:07,047 1798f9fc MainThread ping(1/1) ERROR    Benchmark 1/1 ping (UID: ping0) failed. Execution will continue.
2015-12-23 10:35:07,048 1798f9fc MainThread ping(1/1) INFO     Benchmark run statuses:
Name  UID    Status
ping  ping0  FAILED
Success rate: 0.00% (0/1)
2015-12-23 10:35:07,048 1798f9fc MainThread ping(1/1) INFO     Complete logs can be found at: /tmp/perfkitbenchmarker/run_1798f9fc/pkb.log
Regards.
Salman.

@stoor Thanks for your fast response. Right, according to your logs the OS_REGION_NAME value is not being passed to the nova client.
Ah.. I forgot to update the arguments for the Nova client that's used for creating the Cinder volumes. I'll post another commit with the changes necessary.

@stoor OK, so I pushed another commit to PR #770 . Please feel free to test it again. Thanks for taking the time to try it out.

HI again,
No worries I will be happy to participate even more. We are in the process of building a Community Science Cloud in Sweden. All these tests are very much of our interest. Benchmark will make things easy for us, especially when its not our own :-)  . Here you can find more information about SNIC Science Cloud:  https://cloud.snic.se/
Looking forwards to your patch.
Regards..
Salman.


[FOR REVIEW ONLY] Initial proposal for hierarchical cloud providers.

Intentionally open-ended.  Hopefully this can start a discussion around generalizing, augmenting, or repurposing the cloud provider interface for fine-grained cluster resource schedulers.

@adam-mesos @nqn @jdef PTAL, would like to get this cleaned up and submitted as a discussion-starting PR upstream soon (ideally today).

See Kubernetes PR #5980.


Fix #23

Handle the IndexError if there's no underscore in test name in addition to ValueError.

Fixes #23


Error message: Object reference not set to an instance of an abject.

Describe the bug
An error is returned when trying to import the solution file. Error message: Object reference not set to an instance of an abject.
To Reproduce
Steps to reproduce the behavior:

Go to 'solution'
Export to zip
Import to PowerDocu
Error is shown (see below)

Expected behavior
Generate documentation from file.
Screenshots

Flow Used
test_1_0_0_1.zip

Hi @JoaoAnacleto , I see that you are using a Desktop Flow here, which are currently not supported yet. I'll try to find out if I can skip them (with a warning/info message), so that the error doesn't appear anymore


Integrate XBR parts

see https://github.com/xbr/xbr-protocol/issues/24

fixed via https://github.com/crossbario/autobahn-python/pull/1203


Adding a LICENSE file

Hello!
Thanks for your work, this look awesome!
I just have one request, would you mind adding a LICENSE.md file?
Thanks again!

@vanwalj done! thank you !

+1 !


Terminal loses input after python ran a sub-bash

Type: Bug

create repro.sh:

#!/usr/bin/bash

echo "### $0 ###"

create repro.py

#!/usr/bin/env python3

import subprocess

subprocess.call(['bash', '-c', './repro.sh'])

choice = input(" >> ")
print(choice)

open a terminal for bash
run python repro.py
press Enter

--> nothing happens, terminal must be killed
This is not the first affected version. It started to occur several months ago.
VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:39:26.248Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (12 x 3696)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.85GB (7.41GB free)

Process Argv
d:\my\project

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

python
ms-
2023.8.0

vscode-pylance
ms-
2023.5.40

cpptools
ms-
1.15.4

cpptools-extension-pack
ms-
1.3.0

(1 theme extensions excluded)

With those steps in Insider's, I see:

Can you repro in Insider's? Maybe duplicate of  #181939

Your bash has denied to execute repro.sh...

Yep, but that means it's running it IE something is happening as compared with what you reported - nothing happening


[girder4] Investigate Oauth authentication quirks

Part of the porting multimatrix to girder4 (#216) was using girder-oauth-client to handle user authentication. This introduces some quirks that ought to be looked into.
Namely, if a user opens a network while not logged in, and then logs in, they will be redirected to the root URL, and not the network that they were previously looking at.
Also, opening multimatrix from the "main" client application (e.g. web.next.multinet.app), will not automatically log the user into multimatrix. Since they are both using the same backend, it might be possible for client applications to share credentials in some way. This might not be an issue if all client apps are in the same domain, however.

This is fixed


Add Insertion Sort algorithm to the visualizer.

Description
In the sorting algorithm page, the Insertion Sort algorithm is missing. Add proper algorithms there.
Solution to be accepted
1.) In Insertion_sort.js, Complete function selection(divs, height) with appropriate use for the functions provided.
2.) Used the same colors to fill up the division as used in bubble_sort.js.
3.) The visualizer is working properly for selection sorting.
Additional context
Use Bubble_sort.js for reference.
NOTE: We're not accepting any changes in the master branch, make PRs in the beta branch only.

I have worked on this issue.

@vandana1499 thanx for contributing, we will review your PR and get back to you

May I know the problem with my code?

Sure.
The insertion sort fucntion that you completed wasn't working as expected. As of what I think is, you weren't well versed with our implementation model, you might have messed up somewhere in divs[] array. Also, color update function was not placed appropriately.

Issue is still open, so if you are still interested to contribute, then you are always welcome. If you need any help, just put it here, or on our slack channal.

I would like to work on it. Can it be assigned to me?

Sure, lemme do it.

@mohilkhare1708, Any updates on the issue??

@anubhavitis I have started working on it today. I had to halt due to exams, I'll let you know about the progress from today.


The document states that current_timezone() is available in SQL Server 2017 (and Azure  SQL Database) but on SQL Server 2017 it results in an error

On SQL Server 2017 (developer edition):
begin
select @@version;
end;
go
begin
select CURRENT_TIMEZONE();
end;
go
Results in:
Microsoft SQL Server 2017 (RTM-CU15-GDR) (KB4505225) - 14.0.3192.2 (X64)
Jun 15 2019 00:45:05
Copyright (C) 2017 Microsoft Corporation
Developer Edition (64-bit) on Windows Server 2012 R2 Standard 6.3 <X64> (Build 9600: )
(1 row affected)
Msg 195, Level 15, State 10, Line 6
'CURRENT_TIMEZONE' is not a recognized built-in function name.
It works as documented on Azure SQL Database

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

ID: f3a2fcc8-dff8-e3fb-2c3c-7521b6c9798b
Version Independent ID: a2c8ff06-a32f-79f4-d7a4-0a7f72ba3d95
Content: CURRENT_TIMEZONE (Transact-SQL) - SQL Server
Content Source: docs/t-sql/functions/current-timezone-transact-sql.md
Product: sql
Technology: t-sql
GitHub Login: @MladjoA
Microsoft Alias: mlandzic

@djwarsop -- thank you for your feedback.
@MladjoA -- please look into this issue 3025.

CURRENT_TIMEZONE actually hasn't been ported to previous versions of SQL Server yet.
I will make correction in the function availability statement and let you know once published.

Using:
Microsoft SQL Server 2016 (RTM) - 13.0.1601.5 (X64) Apr 29 2016 23:23:58 Copyright (c) Microsoft Corporation Standard Edition (64-bit) on Windows Server 2012 R2 Standard 6.3 (Build 9600: ) (Hypervisor)
When I issue:
SELECT CURRENT_TIMEZONE();
System responds with:
'CURRENT_TIMEZONE' is not a recognized built-in function name.

The value returned by CURRENT_TIMEZONE cannot be used with "AT TIME ZONE", nor is it listed in sys.time_zone_info.  As such, it is not useful for converting other date's times to the instance's local time.
Example:
DECLARE @tzstr NVARCHAR(128) = current_timezone()
SELECT * FROM sys.time_zone_info WHERE name = @tzstr
SELECT @tzstr
SELECT SYSUTCDATETIME() AT TIME ZONE 'UTC'
, (SYSUTCDATETIME() AT TIME ZONE 'UTC') AT TIME ZONE @tzstr
GO
name                                                                                current_utc_offset is_currently_dst

(0 rows affected)

(UTC-06:00) Central Time (US & Canada)
(1 row affected)

Msg 9820, Level 16, State 1, Line 7
The time zone parameter '(UTC-06:00) Central Time (US & Canada)' provided to AT TIME ZONE clause is invalid.

@WilliamAntonRohm , supported versions section is now fixed.

@MladjoA -- thank you.

This is still a problem...
https://docs.microsoft.com/en-us/sql/t-sql/functions/current-timezone-transact-sql?view=sql-server-2016
(it shouldn't be listed under 2016)
Also I always find it difficult to find the supported version on the docs website. I feel like every function/feature should have a "supported versions" list somewhere, but can never find one.

This is still a problem...
https://docs.microsoft.com/en-us/sql/t-sql/functions/current-timezone-transact-sql?view=sql-server-2016
(it shouldn't be listed under 2016)
Also I always find it difficult to find the supported version on the docs website. I feel like every function/feature should have a "supported versions" list somewhere, but can never find one.

@sam-s4s , I followed the link you shared and "Applies to" section on the top of the document shows only Azure SQL Database and Azure SQL Managed Instance as supported platforms. Can you please elaborate where's the issue? Thanks

@sam-s4s , I followed the link you shared and "Applies to" section on the top of the document shows only Azure SQL Database and Azure SQL Managed Instance as supported platforms. Can you please elaborate where's the issue? Thanks

@sam-s4s , I followed the link you shared and "Applies to" section on the top of the document shows only Azure SQL Database and Azure SQL Managed Instance as supported platforms. Can you please elaborate where's the issue? Thanks

Sorry I might be getting confused - but that link is FOR 2016. As in, SQL 2016 is selected in the drop down menu on the left. Implying that the documentation is targeted for that version. Which we know is not true, because that function does not exist for 2016.

@sam-s4s , I followed the link you shared and "Applies to" section on the top of the document shows only Azure SQL Database and Azure SQL Managed Instance as supported platforms. Can you please elaborate where's the issue? Thanks

Sorry I might be getting confused - but that link is FOR 2016. As in, SQL 2016 is selected in the drop down menu on the left. Implying that the documentation is targeted for that version. Which we know is not true, because that function does not exist for 2016.


dump the training dynamics to json

Hi,
Thanks for the nice work!
I have a question about L149:
https://github.com/allenai/cartography/blob/c7865383e421a91611c2f4e79d1ffbfb7850f4f4/cartography/selection/train_dy_filtering.py#L149
I don't understand why you are enumerating over correctness_ .
I might misunderstand something, but I think you should iterate over all the guids instead.
Otherwise, you cannot dump the statistics of the entire training set as guid in this loop only has 1 + Epoch possible values.
  df = pd.DataFrame([[guid,
                      i,
                      threshold_closeness_[guid],
                      confidence_[guid],
                      variability_[guid],
                      correctness_[guid],
                      forgetfulness_[guid],
                      ] for i, guid in enumerate(correctness_)], columns=column_names)

Thank you!

correctness_ is a dictionary mapping each guid to the correctness metric values (a list of size 1+ Epoch), so in effect this loop does iterate over all the guids. Hope this clears the confusion!


Allow TypeScript syntax in arrow function parameters and return types

Not quite working yet :(

One more test case:
function f(cond) {
  return cond ?
        (v = 7, f = ()=>v) :
        n=>2*n;
}

Can we check that this still parses correctly as an ?: (since this is valid non TS ES6 code).

@blickly Done adding that test case, which is already parsed correctly.

@blickly PTAL?

Looks good. I'll pull it in.

@blickly Do you have a test case for the parse error in switch statements?

I think it was parsing the COLON of the case as a type expression.
switch (EXPR1) {
   case EXPR2:
       break;
}

The particular EXPR2 that was broken was a comma expression, I think, but since EXPR2 can be an arbitrary expression, we probably need better test coverage of case expressions.

lol, sorry, github's trying to be too smart

Can you try sending this internally if you still want this?


WiFi-2071. Read model info from manufacturing block

Reading model info from flash. If no info present in flash,
then read it from /tmp/sysinfo/boardname.
Signed-off-by: ravi vaishnav<EMAIL_ADDRESS>

Merged 655d284a, thanks


Increase instances of CC to three

Three nodes will allow CC nodes to maintain quorum even if there is a single-node outage

Thanks for your PR @Gerg, I decided to take a different approach. See the following commit:
https://github.com/cloudfoundry/cloud_controller_ng/commit/5d24ea3017554536356cec8d412da6efe292579a


Add AllowDraftPRs flag, disabled by default

Not tested yet in E2E flow, only in go testing

Thanks! I believe this is related to #1195 if I am not mistaken

@motatoes any chance you could test this locally? I can't seem to get my local stack up

Bump! :)


Decouple DBMS Type Support metadata

Moves the DBMS-specific type support information away from the core
Datatype constants.
DBMS support information should only be added to DBMS-specific
concretions.

Codecov Report

Merging #3 (4a19946) into main (089c70a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #3   +/-   ##
=======================================
  Coverage   43.00%   43.00%
=======================================
  Files           7        7
  Lines         293      293
=======================================
  Hits          126      126
  Misses        147      147
  Partials       20       20

Impacted Files
Coverage Δ

internal/datatype/datatypes.go
97.50% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 089c70a...4a19946. Read the comment docs.


[Enhancement] Some improvements that may be necessary

Hi @ylatuya,
I would like to say that this library is awesome and I would like to say thank you for that.
ControlTemplate
I am using ControlTemplate to some pages and it seems that it cannot find the getter. The stacktrace i've got in the screen is:
Xamarin.Forms.Xaml.XamlParseException: Position 2:635.
Property ControlTemplate is not found or does not have an accessible getter
at
Xamarin.Forms.Xaml.ApplyPropertiesVisitor.GetPropertyValye(System.Object xamlElement, Xamarin.Forms.Xaml.XmlName propertyName, Xamarin.Forms.Xaml.HydrationContext context, System.Xml.IXmlLineInfo lineInfo, System.Object& targetProperty) [0x00095] in D:\a\1\s\Xamarin.Forms.Xaml\ApplyPropertiesVisitor.cs:377
at
Xamarin.Forms.Xaml.ApplyPropertiesVisitor.TryAddToProperty (it got cut here)

DesignInstance
Furthermore, I am using Jetbrains Rider in order to get some Xaml Intellisense improvements and while I am setting the BindingContext at runtime(through a ViewModelLocator) i use
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
d:DataContext="{d:DesignInstance typeHere}"
mc:Ignorable="d"

and i get this stacktrace on screen:
Xamarin.Forms.Xaml.XamlParseException: Position 2:774.
MarkupExtension not found for d:DesignIntance
at
Xamarin.Forms.Xaml.ExpandMarkupsVisitor+MarkupExpansionParser.Parse(System.String match, System.String& remaining, System.IServiceProvider serviceProvider) [0x000e4] in D:\a\1\s\Xamarin.Forms.Xaml\ExpandMarkupsVisitor.cs:144
at
Xamarin.Forms.Xaml.ExpandMarkupsVisitor.ParseExpression(System.String& expression, System.Xml.IXmlNamespaceResolver nsResolver, System.Xml.IXmlLineInfo (it got cut here)

FYI, i've got this binding warning with LogWarningsToApplicationOutput = true;
Binding: 'CloseCommand' property not found on 'XAMLator.Server.ErrorViewModel', target property: 'Xamarin.Forms.Button.Command'

I will take a look at the code and may contribute fixing those issues.
Last but not least, I have never worked with VS Extension Development but I would like to start and help to develop the XAMLator VS 2017 Extension, just to make the Xamarin Development much easier 🙂
Thanks again for all your effort

Hi!
Thanks for your feedback!
I believe the CloseCommand error would be the easier one to fix. The ErrorViewModel is missing that command property and it should be set correctly here:
https://github.com/ylatuya/XAMLator/blob/master/XAMLator.Server.Shared/Previewer.cs#L62
Using the command created here:
https://github.com/ylatuya/XAMLator/blob/master/XAMLator.Server.Shared/Previewer.cs#L25
For the DesingInstance instance we might need to register that extension somehow but I don't know how to do it honestly.
For the ControlTemplate issue, it's probably because pages are previewed with the PreviewPage class, which might not be supporting it, we should find a way to support it correctly.

I will look to the binding warning, as far as I've got some free time.
During some research, ControlTemplate appears on the TemplatedPage which inherits from Page, while the PreviewPage is MultiPage and not MultiPage

A solution would be to add the bidable property and forward it to the child page


MAC_OSX_VERSION_10_6 #143

We'll need this for at least 10.6 and 10.5 in MMTextViewHelper also.  Should MMTextViewHelper just import MacVim.h?  Should we make a new file, MacVimAvailability.h, and import it all over the place?

No. This is only for PSMTabBarControl. And it could have 10.7 value for the other warning, but no more. No need to be too generic way.

Well, MMTextViewHelper needs that variable set for 10.5 10.6 because there are warnings for those parts on Tiger and Leopard.


🐛 Bug Report: getGithubFileFetchUrl function does not work with branchnames containing slashes

📜 Description
The function getGithubFileFetchUrl in packages/integration/src/github/core.ts fails to determine the correct url to fetch if the branch name for a file contains a slash.   This seems to be due to a bug in the git-url-parse npm package (https://github.com/IonicaBizau/git-url-parse/issues/104), which can't tell whether a slash in a url is part of a branch name or a delimiter for a path.
👍 Expected behavior
The function should either work with branches containing slashes, or have a mechanism for escaping the slashes when a URL is passed in so the function can tell which part of the URL is the branch name and which part is the path/filename.
👎 Actual Behavior with Screenshots
The yaml fails to be processed, and has the following error:
[
    {
        "name": "InputError",
        "message": "Processor PlaceholderProcessor threw an error while preprocessing; caused by Error: Placeholder $text could not read location https://github.com/MyOrg/MyRepo/blob/branchpart1/branchpart2/branchpart3/path/file.ext, NotFoundError: https://github.com/MyOrg/MyRepo/tree/branchpart1/branchpart2/branchpart3/path/file.ext could not be read as https://api.github.com/repos/MyOrg/MyRepo/contents/branchpart2/branchpart3/path/file.ext?ref=branchpart1, 404 Not Found",
        "cause": {
            "name": "Error",
            "message": "Placeholder $text could not read location https://github.com/MyOrg/MyRepo/blob/branchpart1/branchpart2/branchpart3/path/file.ext, NotFoundError: https://github.com/MyOrg/MyRepo/tree/branchpart1/branchpart2/branchpart3/path/file.ext could not be read as https://api.github.com/repos/MyOrg/MyRepo/contents/branchpart2/branchpart3/path/file.ext?ref=branchpart1, 404 Not Found",
            "stack": "Error: Placeholder $text could not read location https://github.com/MyOrg/MyRepo/blob/branchpart1/branchpart2/branchpart3/path/file.ext, NotFoundError: https://github.com/MyOrg/MyRepo/tree/branchpart1/branchpart2/branchpart3/path/file.ext could not be read as https://api.github.com/repos/MyOrg/MyRepo/contents/branchpart2/branchpart3/path/file.ext?ref=branchpart1, 404 Not Found\n    at readTextLocation (/app/node_modules/@backstage/plugin-catalog-backend/dist/cjs/CatalogBuilder-21da853f.cjs.js:587:11)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async textPlaceholderResolver (/app/node_modules/@backstage/plugin-catalog-backend/dist/cjs/CatalogBuilder-21da853f.cjs.js:577:28)\n    at async process (/app/node_modules/@backstage/plugin-catalog-backend/dist/cjs/CatalogBuilder-21da853f.cjs.js:525:9)\n    at async Promise.all (index 3)\n    at async process (/app/node_modules/@backstage/plugin-catalog-backend/dist/cjs/CatalogBuilder-21da853f.cjs.js:500:25)\n    at async Promise.all (index 3)\n    at async process (/app/node_modules/@backstage/plugin-catalog-backend/dist/cjs/CatalogBuilder-21da853f.cjs.js:500:25)\n    at async PlaceholderProcessor.preProcessEntity (/app/node_modules/@backstage/plugin-catalog-backend/dist/cjs/CatalogBuilder-21da853f.cjs.js:536:22)\n    at async DefaultCatalogProcessingOrchestrator.runPreProcessStep (/app/node_modules/@backstage/plugin-catalog-backend/dist/cjs/CatalogBuilder-21da853f.cjs.js:2811:17)\n    at async DefaultCatalogProcessingOrchestrator.processSingleEntity (/app/node_modules/@backstage/plugin-catalog-backend/dist/cjs/CatalogBuilder-21da853f.cjs.js:2766:16)\n    at async processTask (/app/node_modules/@backstage/plugin-catalog-backend/dist/cjs/CatalogBuilder-21da853f.cjs.js:1628:26)"
        }
    }
]

👟 Reproduction steps
Create a branch on a repo in GitHub, with slashes in the name (such as "feature/newFeature" or "legacy/production/releases" or whatever.  In that branch add a file (contents don't matter) named 'file.ext' to the repo that the GitHubEntityProvider will find and attempt to process from a $text item.
Back in the default branch of the repo, create a yaml file (for the GitHubEntityProvider to find) referencing the "file.ext", in the "path" directory of the "branchpart1/branchpart2/branchpart3" branch of the MyOrg/MyRepo repo in GitHub:
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
  name: my-api-entity
  description: The best API in the universe
spec:
  type: openapi
  owner: my-team
  definition:
    $text: https://github.com/MyOrg/MyRepo/blob/branchpart1/branchpart2/branchpart3/path/file.ext

The entity cannot be read into the catalog properly because the URL for the $text entry is converted (by the function) to
https://api.github.com/repos/MyOrg/MyRepo/contents/branchpart2/branchpart3/path/file.ext?ref=branchpart1
(which returns a 404).  The URL should actually be
https://api.github.com/repos/MyOrg/MyRepo/contents/path/file.ext?ref=branchpart1/branchpart2/branchpart3
📃 Provide the context for the Bug.
This is preventing us from registering some of our material, which lives in a different branch than the default repo and which contains slashes in the branch name.  It appears our only way to resolve (at present) is to move or copy the referenced file to a different location in the same branch as the yaml file referencing it.
🖥 Your Environment
This is using Backstage 1.16.0.
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, I don't have time to work on this right now

This is duplicated with this #2815 .


Try to fix consistency test

This PR attempts to fix the inconsistent edmf cache computations, by computing density on the cell faces in the anelastic case.

bors r+


Add Papago Translate

bbepis could you add papago translate. thank you.

Closing this, as it has been implemented.

I found a other translator website call systran translate.
Link: https://translate.systran.net/translationTools/text
On Sat, Jun 15, 2019 at 5:23 AM gravydevsupreme<EMAIL_ADDRESS>wrote:

Closing this, as it has been implemented.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bbepis/XUnity.AutoTranslator/issues/29?email_source=notifications&email_token=ALYFP4T7EH5DTLDMGW2LC5TP2SYHLA5CNFSM4HHKYJY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXYUETI#issuecomment-502350413,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALYFP4RHRCQA2B66DBXGXPTP2SYHLANCNFSM4HHKYJYQ
.


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/holzkreuz/ioBroker.gree_aircon

[ ] [E019] Invalid repository URL: https://github.com/weltmeyer/ioBroker.gree_aircon. Expected: git+https://github.com/holzkreuz/ioBroker.gree_aircon.git
[ ] [E149] instanceObject common.type has an invalid value: text
[ ] [E149] instanceObject common.type has an invalid value: text
[ ] [E149] instanceObject common.type has an invalid value: text
[ ] [E149] instanceObject common.type has an invalid value: text
[ ] [E150] No common.connectionType found in io-package.json
[ ] [E152] No common.dataSource found in io-package.json
[ ] [E200] Not found on npm. Please publish
[ ] [E300] Not found on travis. Please setup travis
[ ] [E801] No repository about text found. Please go to "https://github.com/holzkreuz/ioBroker.gree_aircon", press the settings button beside the about title and add the description.
[ ] [E802] No topics found in the repository. Please go to "https://github.com/holzkreuz/ioBroker.gree_aircon", press the settings button beside the about title and add some topics.
[ ] [E816] file tsconfig.json found in repository, but not found in .npmignore

I have also found warnings that may be fixed if possible.

[ ] [W400] Cannot find "gree_aircon" in latest repository

Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Do you need help fixing the bugs?

Do you need help fixing the bugs?


haskellPackages: Add buildFromCabalSdist (faster, tested)

Description of changes
A faster buildFromSdist, with tests. For use in out-of-tree projects. Triggered by https://github.com/NixOS/nixpkgs/pull/173800#issuecomment-1133597710
Things done

Built on platform(s)

[ ] x86_64-linux (out-of-tree build in progress)
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg build tests.haskell.cabalSdist

How common do we think would people encounter breakage if we just changed the existing buildFromSdist?
I am a bit careful with adding more functions with subtle differences to our lib.
Do you have a reason for adding those functions in another file then the original one?

Do you have a reason for adding those functions in another file then the original one?

It needs to access the package set for buildHaskellPackages.cabal-install, which is not something we can access in haskell.lib, unless there's some trickery I'm not aware of.

How common do we think would people encounter breakage if we just changed the existing buildFromSdist?

It seems that cabal sdist does not support custom ./Setup sdist behavior, so hypothetically, a package could have its own custom / customized sdist logic that the new function won't invoke. This seems unlikely though, as cabal-install command users would already be unable to use such custom logic.


Missing attributes

These attributes currently do not exist on the Qt object, which are mentioned in the README:
# Reference to version of Qt, such as Qt 5.6.1
print Qt.__qtVersion__
# Reference to version of binding, such as PySide 1.2.6
print Qt.__bindingVersion__
# Version of this project
print Qt.__version__

PR is welcome!

@mottosso definitively :) Tied up atm but figured I'd just post that as a reminder.


The requested module _ contains conflicting star exports for the names '$$typeof', '__esModule' with the previous requested module _

In my @/features/profiles/index.ts file, I am exporting two React components like this:
export * from "./components/ProfilesPage";
export * from "./components/ProfilesPageLoading";

However, in doing so, I'm getting the following error:
The requested module './components/ProfilesPageLoading' contains conflicting star exports for the names '$$typeof', '__esModule' with the previous requested module './components/ProfilesPage'

I am using NextJS so is it possible that it is affecting things by adding things onto the components and causing naming conflicts?
Thank you.

I started randomly getting these errors in my library.
NextJS, as well as the compiler.
It may be in one of the builders. It makes no sense, and it is very random. I'll have no errors, and then suddenly, I'll get things like the below example. The code is crazy simple. It might not be something the library here can "fix"
The requested module './VerifyEmailForm' contains conflicting star exports for the names '$$typeof', '__esModule' with the previous requested module './SignInEmailForm'

Import trace for requested module:
../../libs/client/components/src/forms/index.ts
../../libs/client/components/src/index.ts
./app/(withNavBar)/page.tsx

../../libs/client/components/src/index.ts
The requested module './forms' contains conflicting star exports for the names '$$typeof', '__esModule' with the previous requested module './marketing'

Import trace for requested module:
../../libs/client/components/src/index.ts
./app/(withNavBar)/page.tsx

I started randomly getting these errors in my library.
NextJS, as well as the compiler.
It may be in one of the builders. It makes no sense, and it is very random. I'll have no errors, and then suddenly, I'll get things like the below example. The code is crazy simple. It might not be something the library here can "fix"

The requested module './VerifyEmailForm' contains conflicting star exports for the names '$$typeof', '__esModule' with the previous requested module './SignInEmailForm'

Import trace for requested module:

../../libs/client/components/src/forms/index.ts

../../libs/client/components/src/index.ts

./app/(withNavBar)/page.tsx

../../libs/client/components/src/index.ts

The requested module './forms' contains conflicting star exports for the names '$$typeof', '__esModule' with the previous requested module './marketing'

Import trace for requested module:

../../libs/client/components/src/index.ts

./app/(withNavBar)/page.tsx

Yeah it's unfortunate that it's happening. Seems like React components are exporting these default variables like __esmodule and $$typeof. These then conflict with each other when you do the * star exports cause the index.ts file will try to export these variables of the same name.
I get the error if I do
export * from "./ComponentA";
export * from "./ComponentB";

//error because both components have the __esmodule and $$type of variables tacked on by default and are being exported

So instead, I've been doing:
export { ComponentA }from "./ComponentA";
export { ComponentB } from "./ComponentB";

Only inconvenience would be that if you have variables or others you want to export from the component, then you'd have to manually specify those one by one.


Create codemods to port 3.x code to 4.x

While CHANGES.md does a great job of outlining the name & behavior changes, it'd be great if there was a mechanical way to convert 3.x code to 4.x. codemods would be an effective way to do this.
Not all changes would be easily represented in a codemod (the selection changes come to mind), most should be trivial (especially all affected by "the great namespace flattening").
It'd be a shame if the vast collection of 3.x code was stuck on that version because conversion was deemed too difficult or not worth it. This is especially true for the many libraries which build their reusable charts on d3. I did a survey of some popular ones a few weeks ago and none of them had any branches or tickets for 4.x. I opened tickets to discuss the migration, but this would be a great help to them (and all their customers).

This is a fun idea, and it would be great if you or someone else wants to take a crack at it. However, it’s not something I am going to pursue, so I’m going to close this issue. Sorry, and thank you!

In case anyone else is interested in this, I recently found https://github.com/expobrain/d3-upgrade-codemods
The README says it's incomplete, and I haven't tried it, but it's worth a look.


NO-JIRA: upgrade to spring boot 3.2.0

Closed, merged as part of https://github.com/hmcts/darts-api/pull/738


x/crypto/acme: allow OrderFinalization requests to respond with StatusCreated

What version of Go are you using (go version)?

go version go1.14 linux/amd64

Does this issue reproduce with the latest release?
I believe so.
What operating system and processor architecture are you using (go env)?
go env Output
"linux"
"amd64"

What did you do?
I am using the acme client to perform an RFC8555 compliant workflow. The RFC specifies that NewAccount and OrderFinalization requests to respond with StatusCreated. The rfc8555.go file only accepts StatusOK responses.
A quick and easy solution would be adding StatusCreated to the following line in CreateOrderCert:
Line 295:     res, err := c.post(ctx, nil, url, req, wantStatus(http.StatusOK, http.StatusCreated))
The test for this function then needs to be updated so that the /pleaseissue handler is broken up into two handlers. One for the order finalization, and one for the order polling since these two requests now expect different server responses.
Something like:
s.handle("/acme/new-account", func(w http.ResponseWriter, r *http.Request) {
	w.Header().Set("Location", s.url("/accounts/1"))
	w.WriteHeader(http.StatusCreated)
	w.Write([]byte(`{"status": "valid"}`))
})
s.handle("/pleaseissue", func(w http.ResponseWriter, r *http.Request) {
	w.Header().Set("Location", s.url("/orders/1"))
	w.WriteHeader(http.StatusCreated)
	fmt.Fprintf(w, `{"status":%q, "certificate":%q}`, StatusProcessing, s.url("/crt"))
})
s.handle("/orders/1", func(w http.ResponseWriter, r *http.Request) {
	w.Header().Set("Location", s.url("/orders/1"))
	w.WriteHeader(http.StatusOK)
	fmt.Fprintf(w, `{"status": %q, "certificate":%q}`, StatusValid, s.url("/crt"))
})
s.handle("/crt", func(w http.ResponseWriter, r *http.Request) {
	w.Header().Set("Content-Type", "application/pem-certificate-chain")
	pem.Encode(w, &pem.Block{Type: "CERTIFICATE", Bytes: leaf})
})

@katiehockman @FiloSottile

I misinterpreted the RFC this is actually working as intended.


Set returnUrl to base url for logged in users

https://companieshouse.atlassian.net/browse/IDVA5-1549
Set returnUrl to BASE_URL so users start from start page after logging in, or if they are already logged in in both authMiddleWare and acspAuthMiddleWare.

CI: No security warnings found


PostProcessing

Hi Noel 👋🏼 !
Thank you SO much for putting this together, along with the "how to make a game in SDL" video you have helped me tremendously to understand C++, OpenGL, and game programming. There's not a lot of content like yours out there, keep at it!
This is not really an 'issue' with the framework, I just want to ask you something regarding postprocessing using blah.
Sorry if this is not the right place for this kind of question, I didn't know where else to ask, hope you don't mind.
How did you implement a point-light system that you have in your game?

How does postprocessing in general fit in the OpenGL abstraction in blah. Say I have a PointLightComponent how would that get rendered?
Are you using another frame buffer, rendering the lights there as a grayscale image, and then compositing everything together?
if so, do you use two Batch.cpp objects? one for lights and one for everything else?
I could not find a way of doing this in a clean way, I'm currently rendering all my lights after everything else got rendered and using a custom "light material" which is just a wrapper around a Material... but the code is a mess. Any pointers in the right direction would be greatly appreciated :) Have a great week

Hey! Yeah generally what I end up doing is just draw stuff one-after-the-other, which is fine for my use cases. More modern rendering has command buffers that can often run these kinds of things in parallel.
For example, I just do something like:
draw_gameplay(batcher);
batcher.render(target)
batcher.clear();
draw_lights(batcher);
batcher.render(target);
batcher.clear();

and then in each function I find the respective things I need to draw, use different materials, etc. In the case of my game I do actually draw the gameplay and lights to separate buffers. The code looks something like:
// draw to respective buffers
draw_gameplay(gameplay_buffer, batcher);
draw_lights(light_buffer, batcher);

// now draw combined to the screen
batcher.tex(gameplay_buffer->attachment(0));
batcher.push_material(light_material);
batcher.tex(light_buffer->attachment(1));
batcher.pop_material();
batcher.render();
batcher.clear();

Thanks for hinting me in the right direction!

Then in each function I find the respective things I need to draw

Curious to know how you do this... Do you have some kind of flag to know which things to render when iterating over the world? Something like this, maybe:
enum FLAG { GAMEPLAY, LIGHTS }

draw_gameplay(gameplay_buffer, batcher)
{
      world.render(batcher, GAMEPLAY) // render everything but lights
}

draw_lights(gameplay_buffer, batcher)
{
      world.render(batcher, LIGHTS) // render only lights
}

class world {
      render(batcher, flag) {
            for (component : activeComponents) {
                  if (component.flags and flag) component->render(batch);
            }
      }
}

Thanks again for taking the time to reply :)

No problem, hope it helps! And yeah, that's exactly right - I sort my game objects into different lists depending on what I need them for.


Its possible to add wireless sockets?

Hello,
I used this project standAlone without other programms.
But its possible to Add here wireless sockets? or you can make a Copy of this Project for wireless socket?
here one guy modify the RC-Switch lib to used this wireless module
https://github.com/grspy/rcswitch-cc1101
thx

Sorry, this is way outside of the scope of the software.  The protocol spoken by these is not the RTx versions and this is hardware that I do not posesss.

Ok thx dir the Info


Hass.io only from one device accessible

I have installed Hass.io based on the guide in this repository on a Raspberry Pi 3 B+ with Raspbian Stretch Lite (which has a fix IP and is accessible only via SSH) and Docker Community Edition (installed using the  convenience scripts).
Now I have the problem that I can only access the Home Assistant UI via Chrome from the notebook which I have used to install Hass.io (over SSH) on the Pi. From other devices (like a Android mobile using Chrome) in the same network I can't access the UI.
Has anyone an idea to solve this problem?
Thank you!

It sounds like you have a firewall enabled. We have also own images for raspberry they solve problems like that :)


The “Email” field is lined red after entering valid data

Description
The “Email” field is lined red after entering valid data
Preconditions:

The site is opened https://goodqa.netlify.com/
The phone number verification is completed
The “Sign up” page with “And which email address..” text is displayed

Steps to reproduce:

Enter valid data in the field, for example<EMAIL_ADDRESS>Pay attention to the field

Actual result: The “Email” field is lined red after entering valid data
Expected result: The “Email” field is not lined red after entering valid data
Supporting data
Env https://goodqa.netlify.com
Samsung Galaxy S8 // Android 8.0 (Google Chrome 75)
iPhone6 12.3.1, Safari
https://www.screencast.com/t/nmHKvFbu

this is a design issue, will add to list of fixes


customVideoCompositor

Would it be possible to support customVideoCompositor like [AVAssetExportSession customVideoCompositor], maybe it's already possible but I don't see the way to do it?

It could be assigned via: self.videoOutput.customVideoCompositor.composition


Godot doesn't render objects correctly

Hello.
Godot doesn't render correctly all the objects created in here:
https://ghostbin.com/paste/quj9s
It uses this library: https://github.com/Zylann/godot_opensimplex but i don't think it is a problem of the library.
here is the problem that occurs:
https://gfycat.com/NegativeValuableBaleenwhale
Seems like it only occurs when the number goes more than a specific number, when testing, the number for me and someone else was different but at 100*100 we both had this problem.
Why is this happening?
Thank you.

This is a pull request.  This obviously is supposed to be an issue, not a pull request.
Please create an issue here.


chore: 🤖 add Apache-2.0 license, include MIT reference for Nest

JIRA Link
✅ Closes: DA-460
Changelog / Description
Add Apache 2.0 license. Include MIT reference for NestJS
Checklist -

[ ] New Feature ?
[ ] Updated swagger annotation (if API structure is changed) ?
[ ] Unit Test (if possible) ?
[ ] Updated the Readme.md (if required) ?

:tada: This PR is included in version 2.2.0-alpha.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


Multiple missing PDBs for ntkrnlmp

ntkrnlmp.pdb,34898958E6070CE1E0B4F363528E1F29,1
ntkrnlmp.pdb,1E4C1E14D068C8E7DD576B41531DD5A2,1
ntkrnlmp.pdb,19049140578DA51130512EC33791DE2A,1
ntkrnlmp.pdb,4DABE14CFC64762E4F97ACA933B4B9B4,1
I frequently run into missing PDBs for ntkrnlmp/ntoskrnl, is there a dedicated line for addressing these issues? I sent multiple emails to<EMAIL_ADDRESS>but never got any replies and the issues weren't addressed.

We need more than the file hashes to find the missing symbols. We need the build of Windows. Send that information in your email to<EMAIL_ADDRESS>and we'll hopefully find the appropriate symbols.


Bug in docs/start/creatingelements.html of the polymer-project official website

The horizontal Scrollbar of the code example with tabs for each example file just don't work...
I'm on Google Chrome 40.0.2214.111 .
If I select the text with my mouse, I can scroll, but it's not really handy...
Direct link: https://www.polymer-project.org/docs/start/creatingelements.html

cc @robdodson

We're a bit confined on the amount of stuff that needs to be shown in the limited page width we have.  The tradeoff is to increase the column width of the main section, but we shortened it a while back so the site was easier to read. The majority of the site is text (and not these live examples) so legibly for copy is more important than demo-tabs not having scroll bars.

@ebidel The problem isn't that there are scroll bars... The problem is that the scroll bars doesn't work!

Oh weird. They're working for me. What platform are you on?

Google Chrome 40.0.2214.111  Win 7 64x
I mad a video of the bug: https://www.youtube.com/watch?v=g5y4YSVKu3A

Hm.. that feels like it may be a Chrome bug especially since you can highlight to get it to scroll over.

Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect.


Support go heapdumps from 1.7+

Update the reader to support the newest heapdump format, based on https://github.com/golang/go/wiki/heapdump15-through-heapdump17
Trying to figure out how to get the type information of objects.

Yes, since 1.4 there just isn't enough type info recorded by the runtime during allocation.  The heap dump contents reflect that.
We're moving to a new model where functionality like this is provided by standard core dumps.  There we have DWARF information so we can do a better job reconstructing types.  You might want to check out the new tool and libraries:
golang.org/x/debug/core
golang.org/x/debug/gocore
golang.org/x/debug/cmd/viewcore

@randall77 following up on this, viewcore looks great, but where can I give feedback/ask qs?

The standard Go issue tracker can be used to report issues.
For just discussion (questions, etc.) you can use the golang-nuts mailing list.  Or mail me directly.
See https://golang.org/project/ for details.

@randall77 I think we a lot of people find this thread looking for an alternative to:
debug.WriteHeapDump(f.Fd())

that allows to dump the heap without stopping the process to inspect it later using viewcore.
Could you, please, point in the right direction ?


Polymerfire#2.0 breaks paper-inputs

Description

When using the polymer 2.0 start kit.  Installing polymerfire#2.0-preview causes paper-input to break and log console errors when rendered.
Expected outcome
The paper-input element should not be affected by simply bower installing polymerfire#2.0-preview.

installing polymerfire#2.0-preview causes the paper-input to render with the label broken and causes a slew of console errors.
Actual outcome

Live Demo

Steps to reproduce

Polymer init a start kit 2.0
bower install paper-input#2.0-preivew
Add the paper-input anywhere in your new start kit
bower install polymerfire#2.0-preview
paper-input render with the label under the input and when you click on the paper-input, console errors from paper-input-container occur

Browsers Affected

[x] Chrome
[ ] Firefox
[ ] Safari 9
[ ] Safari 8
[ ] Safari 7
[ ] Edge
[ ] IE 11
[ ] IE 10

Heya, I can't seem to replicate this issue. Can you give it another try with master (which is 2.0.0) and see if this is still an issue?

Updating to 2.0.0 solved the issue


Probelm with "db.open" and Firefox 47/48

We are using Dexie.js in our web application and we noticed some errors when accessing our existing database through Dexie in Firefox 47 and Firefox 48.
On Mac OS we get this strange error:

IndexedDB complains about ActorsParent.cpp and on Windows we get the following error:

UnknownError
The operation failed for reasons unrelated to the database itself and not covered by any other error code.

Have other users noticed similar problems?

I've seen issues with Firefox when opening two different database instances simultaneously.  Also got the UnknownError.  Have you had more success with older / newer firefox versions?

Seems you've got much trouble with unkownerror. Could it be that you are opening several database instances simultanously in your code? That should of course work according to spec, but it seems that theres a change to hit bugs when doing it.

@dfahlander - I am also hitting similar types of UnknownErrors in Safari. When logging out of our web application, UnknownErrors are intermittently thrown after deleting the database and then re-opening our Database connection.

I have determined that the error I posted is being caused by Safari 9 leaking indexed db connections 😭. Safari 9 also does horrible things when you try to delete databases but have another tab to your app open. Luckily, Safari 10 Tech preview does not have either problem.

@dfahlander I've seeing the same error using Firefox V49.01 on Windows 10 with my app Clibu http://myclibu.com and with the first jsFiddle sample at: https://github.com/dfahlander/Dexie.js/wiki/Dexie - https://github.com/dfahlander/Dexie.js/wiki/Dexie
Please try that and you will hopefully get the same error.

UnknownError
The operation failed for reasons unrelated to the database itself and not covered by any other error code.

Has anyone posted their issues on https://bugzilla.mozilla.org ? If not, I'll do it.

@dfahlander I haven't. It would likely carry more weight coming from you. I'm wasting so much time on getting code working in Firefox it isn't funny, in fact it is quite sad.

I've filed a bug at https://bugzilla.mozilla.org/show_bug.cgi?id=1310616. Note that the bug report is very fluffy so changes are low that they will be able to do anything about it.
If anyone has concrete reproducable Firefox bugs, please help the Firefox team to give them a way to trigger the bugs. If you haven't an account at Bugzilla, just send a comment to this issue with "Steps to reproduce", "Actual results" and "Expected results" and I'll try updating the issue accordingly.

Thanks David. I put myself on the CC list.
I just checked the issue. I tried to login to my application (which uses Dexie) on FF48 (Windows):

I got the error with FF48. Then I upgraded to FF49. After doing the upgrade, I could login to my application (bug was not showing up).
So it seems to be related to FF48.

Great news. Thanks!
@nevf, since your issue was repaired after reinstalling Firefox 49, I assume we couldn't do so much of reproduction with it either.
Now that Firefox seems to have fixed bennyns issue, we could probably close this one as well as the one reported to Bugzilla. I'll keep them open for a while anyway in case someone has something more to add. Will close them in a week or so if nothing else shows up.
When listing IndexedDB bugs at Firefox bugzilla, there are some that potentially could be related to some instability issues on Firefox:

https://bugzilla.mozilla.org/show_bug.cgi?id=804502
https://bugzilla.mozilla.org/show_bug.cgi?id=1286914
https://bugzilla.mozilla.org/show_bug.cgi?id=944918
https://bugzilla.mozilla.org/show_bug.cgi?id=1105730
https://bugzilla.mozilla.org/show_bug.cgi?id=1112265
https://bugzilla.mozilla.org/show_bug.cgi?id=1153280
https://bugzilla.mozilla.org/show_bug.cgi?id=1217257
https://bugzilla.mozilla.org/show_bug.cgi?id=1112265

Thanks @dfahlander.
Just for the fun of debugging I downgraded my Firefox to version 48.0.2. Now I have the bug again and Dexie reports: UnknownError The operation failed for reasons unrelated to the database itself and not covered by any other error code.
Is there a way for you to be more explicit about this bug, so that Dexie can give more information to the UnknownError?

@bennyn Unfortunately, no. An internal error in firefox is nothing we could try to understand and explain to a user in generic terms.
I just read your comment on the bugzilla issue and it seems that the indexedDB database in firefox doesnt support downgrades.
If you have real life support cases where this happens, I would suggest you give your users a friendly message on UnknownError and allow them to clear out the client database entirely and start over. Or give them the option to upgrade firefox again instead.

I just read your comment on the bugzilla issue and it seems that the indexedDB database in firefox doesnt support downgrades.

But if I update my Firefox from v48 to v49, I can login to my account and use my database. So I don't think that it is about the database version?

No, I meant Firefox probably does some internal migration of the indexedDB database when migrating to Firefox 49. They've probably not covered up for downgrading Firefox and downgrading the internal database format. Just a guess though.

@dfahlander Just a heads up that I hadn't downgraded my version of Firefox. I had skipped a number of new releases however, in case that is at all relevant.

@nevf, I see. In your case the issue cannot be reproduced since it was repaired once you reinstalled firefox. It's probably still a bug but impossible for the mozilla team to dig into it so they had to close it. The reason for the bug could be anything from an upgrade bug to a corrupt installation file. If it happens again, you could maybe save your mozilla folder together with the location where it stores its data (where that is, I don't know) and submit it somehow to the firefox team together with a description of what version you upgraded from.

I just ran into the same problem with Firefox 53 on OSX and had to manually delete ~/Library/Mozilla/Firefox to get past the error, clearing cached data through the various settings panes didn't make any difference.
If I see it again I'll try to find more details

I briefly ran into this problem on Firefox 53 on Windows with my extension. Upgrading to Firefox 55 appears to have resolved the problem.

Seems that at least one Windows user of mine is hitting this problem on nightly build of Firefox 57.

@FooSoft: Which version of Dexie are you using? Can you check if the problem still exsist when using Dexie v2.0.0-rc.1?

I wouldn't expect too much hope on a Dexie version, as the errors are from the native c++ code from Mozilla. There's no attempt to work around this error in Dexie. We only workaround some issues with idb2.0 in Mozilla, but that was not a crash bug.

@bennyn @dfahlander the error was encountered using the version of the library found here: https://github.com/dfahlander/Dexie.js/archive/v2.0.0-beta.10.zip. Unfortunately I was never able to reproduce this error myself so there is no way to see if anything will be different in the RC.
I did get some interesting information from my user:

Has two versions of Firefox installed (although mostly using the nightly).
Ran into the problem right after installing the extension (basically calling open on a database that does not even have anything in it yet). There is also only one version at this point.
Deleting the user profile directory fixes the problem.
Using the "Refresh Firefox" feature fixes the problem (looks like it probably just wipes the profile).
Re-importing old profile data does not cause the issue to come back.

This finally worked for me after rm -rf ~/Library/Application Support/Firefox and an uninstall of both Firefox and FirefoxNightly.

@bennyn does your databases contain WebCrypto CryptoKeys? If this is the case, then this may be connected to a bug in Firefox that prevents adding indices to tables that contain CryptoKeys during migration. This bug leads reproducible to the aforementioned UnknownError. There is an ongoing secure investigation about this that should resolve in the next few weeks hopefully:
https://bugzilla.mozilla.org/show_bug.cgi?id=1422335
If someone is interested I can put you on the CC list.

It sounds like many of these cases are related to downgrade issues.  I maintain a log of schema changes we've made at lower levels that can be found at https://public.etherpad-mozilla.org/p/quota-manager-schema-change-log which indicates that a downgrade from 49 to 48 or 47 would break IndexedDB, as would the reported transition involving 55 and 53.
Even if the problem is understood, it's obviously very frustrating and non-obvious to users, developers, and QA.  Firefox is attempting to mitigate cross-channel profile issues on https://bugzilla.mozilla.org/show_bug.cgi?id=1373244, address multiple versions of the same channel on https://bugzilla.mozilla.org/show_bug.cgi?id=1374227, and improve our handling of breakage in the IndexedDB subsystems in https://bugzilla.mozilla.org/show_bug.cgi?id=1296825 (although there will be a family of fixes related to that specific handling mechanism).  This is part of a concerted effort to improve resiliency of our persistent storage handling, but at this point a conservative estimate is Firefox 60 for comprehensive fixes.  (59 is currently in development, and should see many of the fixes, but given holidays, drift is likely.  See https://wiki.mozilla.org/RapidRelease/Calendar for more information on Firefox's release schedule for context.)

One downgrade related tidbit is that except for QuotaManager-subsystem changes that don't support downgrades, Firefox's IndexedDB implementation will let you delete the database via the IndexedDB API and re-create it, even if you can't open it.


Update Japanese content to mention KubeCon 2022 conference

This is a Bug Report

Problem:
These KubeCon conferences are already over but we still have :

2020年11月17日-20日のKubeCon NAバーチャルに参加する
2021年5月4日-7日のKubeCon EUバーチャルに参加する

Proposed Solution:
Needs to be updated to :

2021年5月4日-7日のKubeCon EUバーチャルに参加する
スペインのKubeConバレンシアに参加+バーチャル、2022年5月16〜20日

Page to Update:
website/content/ja/_index.html
/good-first-issue

/assign

Related PR: #31401

/triage accepted

/language ja

Hey, @jihoon-seo
Could you be my sponsors to get the membership of Kubernetes?
My contributions to the Kubernetes Project includes :
https://github.com/kubernetes/website/commits/main?author=krvaibhaw
I think I could review PRs for website updates and other minor changes.
That's why I want to become a member and contribute to open source.

@krvaibhaw Sure!
[Requirements & steps to become a member]

https://kubernetes.io/docs/contribute/participate/roles-and-responsibilities/#becoming-a-member

Submit at least 5 substantial pull requests: https://github.com/kubernetes/website/pulls?q=is%3Apr+author%3Akrvaibhaw

https://github.com/kubernetes/community/blob/master/community-membership.md#member

Fixed with #31401
/close


Unable to process tutorial file

After downloading the tutorial data file, when I try running
in2csv ne_1033_data.xlsx > data.csv

I get the error message
'NoneType' object is not iterable

This seems to be an issue with this specific tutorial file, because I was able to import my own small test spreadsheet OK. Someone may want to take a look at that tutorial test-data spreadsheet. FYI I tried importing it into R a couple of different ways, one way worked fine but another way choked saying 'invalid sheet xml'.
I'm running csvkit on OS X Yosemite with the standard Python installed by default (2.7.6).

The conclusion on the NICAR-L list was that this is a problem with csvkit's openpyxl dependency. A fresh install today installed openpyxl 2.2.0. Downgrading with pip install openpyxl\<2.2 worked.

Looks like this is a known bug in Openpyxl
A workaround would be to set the dependency to openpyxl==2.2.0-b1 (as suggested in the linked bitbucket issue) although perhaps this will be fixed before a new csvkit release would get cut anyway.


VueJs support

Support for Ionic component snippets in VueJs based on @ionic/vue.

Thanks your PR. I will review your PR :)

@acyuta108 please try out the latest release 1.3.0 with vue support


multi instances commands

Here a list of commands which could be adapted to work with multiple ARK instances:

[ ] start <server1> <server2> <serverN>
[ ] stop <server1> <server2> <serverN>
[ ] restart <server1> <server2> <serverN>
[ ] stop <server1> <server2> <serverN>
[ ] update <server1> <server2> <serverN>
[ ] status <server1> <server2> <serverN>
[ ] backup <server1> <server2> <serverN>
[ ] broadcast <server1> <server2> <serverN>
[ ] saveworld <server1> <server2> <serverN>
[ ] rconcmd <server1> <server2> <serverN>

If no server is specified, the command will be executed on all the server after having warned the user, eg:
this command will be executed on all the available ARK instances managed by ARK Server Tools, do you want to proceed? [y/N]

if some of them already support it, just check them as completed.

As specified, this would conflict with multi-command support, and for the broadcast and rconcmd commands the server names would need to come after the argument.
An alternative might be to have a --instances option, followed by one or more instance names, then a --command or --commands option followed by the command(s).
e.g.:
arkmanager --instances server1 server2 serverN --command update --warn
arkmanager --instances server1 server2 serverN --commands saveworld backup
arkmanager broadcast --instance server1 "Hello" broadcast --instance server2 "Hola" broadcast --instance serverN "Bonjour"
arkmanager stop --all
arkmanager start --instances server1,server2,serverN
arkmanager backup --instances main,server1,server2

Another alternative might be to require each of the server names be preceded by e.g. @ or +
e.g.
arkmanager update --warn @server1 @server2 @serverN
arkmanager broadcast @server1 "Hello" broadcast @server2 "Hola" broadcast @serverN "Bonjour"

Would we want to continue to have a main instance?

I don't think we should have a main instance, it's okay to have global configuration overridable by instance-specific configurations tho.
I prefer the @server1 format. Having an --instances and --command seems hacky to me.

you guys are awesome

@axi I'm just the one that press the "merge" button :(
@klightspeed and @Atriusftw are the awesome guys :)

For the instance configs, shall we have e.g. a /etc/arkmanager/instances and/or ~/.config/arkmanager/instances directory with named instance configs, which would supplement the configfile_* options currently in the core config?
In the install script, during upgrade, should we also pull the instance-specific settings (e.g. arkserverroot, ark_RCONPort, ark_Port, ark_QueryPort) to a separate main.cfg file?
Shall we also create e.g. a instance.cfg.example file in that instances directory?

I think it's a good idea, lets try to make the multi-instance support easier as possible, but don't force people to think in a "multi instance way" if they don't need it.
this to make the automatic config update?
I think so

In the install script, during upgrade, should we also pull the instance-specific settings (e.g. arkserverroot, ark_RCONPort, ark_Port, ark_QueryPort) to a separate main.cfg file?

this to make the automatic config update?

Since we want to retire the main instance support, and only have common settings in the core config file, once the instance-specific settings are moved out of the arkmanager.cfg template and into a separate instance.cfg.example file, my idea would be to have the configuration update part of the install script would check if arkserverroot exists in the core config, and if it does it would ask the installer if they want to move the instance-specific settings into instances/main.cfg.  If so, it would move the instance-specific settings (arkserverroot, ark_RCONPort, ark_Port, ark_QueryPort) and copy the common ARK settings (serverMap, serverMapModId, ark_*, arkopt_*, arkflag_*) into instances/main.cfg.

@klightspeed yes I think it's good, try to don't mix that part with the rest of the install script so we can get rid of it in future versions if needed.

I have split the config file migration to a separate script (migrate-config.sh), and have created a new script (migrate-main-instance.sh) to migrate the main instance options to main.cfg.
The main instance is now treated the same as any other instance.


.clang-format unkown key "BraceWrappingAfterControlStatementStyle"

I'm using the clangd extension for vscode to auto-format the code.
My understanding is, that this is done through the clangd (and not over an installed clang-format binary). Although clangd-10 is installed it seems that the .clang-format does not understand every command of clang-format-10 (https://releases.llvm.org/10.0.0/tools/clang/docs/ClangFormatStyleOptions.html e.g. "BraceWrappingAfterControlStatementStyle"). Instead only  "AfterControlStatement : true" works currently which seems to be from an earlier version.
This seems very confusing to me. My expectation would be clangd-10 includes clang-format-10.
Apologies if this is not the correct repo for this issue.
Logs
.clang-format
BraceWrapping :
  BraceWrappingAfterControlStatementStyle : Always
BreakBeforeBraces: Custom

YAML:31:45: error: unknown key 'BraceWrappingAfterControlStatementStyle'
  BraceWrappingAfterControlStatementStyle : Always
                                            ^~~~~~
I[16:24:25.667] getStyle() failed for file /workspace/***/File.c: Error reading /workspace/.clang-format: Invalid argument.

System information
Output of clangd --version: clangd version 10.0.0-4ubuntu1~18.04.2
Editor/LSP plugin: vscode - clangd extension
Operating system: ubuntu 18.04 lts

The option is called AfterControlStatement. BraceWrappingAfterControlStatementStyle is the type (enum) of this option. It means values of Always, Never and MultiLine are allowed, as well as true/false for backwards compatibility. You want something like:
BraceWrapping:
  AfterControlStatement: Always

You are perfectly right. Thanks for the help!


{#if}{:else}{/if} block is missing highlight colors

Hello Himu, I have a small suggestion, I hope it's not too difficult to implement. It would be nice if the {#if} block could get some highlighting like normal ifs similar to what we have in VS Code:

instead of what we have now:

It definitely adds readability to the code when having the if with a highlight.
I hope you consider it, thank you.

Hmm. Interesting observation. I will look into this further. I think its doable while easily.

I think this has to do with your Neovim color scheme. Mine works perfectly well as you requested.

Hi Himu, yes, it works if you set TSKeyword to be the same color as TSConditional but then you also end up changing colors for something else.
I thought it would be cleaner to let tree-sitter know that {#if} is a conditional statement but I don't know if that is exactly possible.
Thank you either way, it was worth the shot.

Its fine bringing this issue up. The queries are the reason why this is happening.
: is a character in the tree-sitter highlighting language. In your color scheme, the color for keyword (if) and character is the same. Its the reason why the two pictures differ. Don't think its worth the extra effort.
@elianiva Can you chip in on this?

I think you can query for the #, : or / characters inside the if statement if the node is separated. i.e # and if are two different node, so then you can target them individually by creating a custom query. You'd need to use #match?, kinda similar to this query:
https://github.com/Himujjal/tree-sitter-svelte/blob/cfa3f0ac82cd680b4efaa090a0f78035ad43a7c6/queries/highlights.scm#L5-L6
I'm sorry but I think that's the only advice I can give you. I haven't used neovim as much as I did for a few months now, I don't even have TS playground installed to try it out myself.

Thanks @elianiva .
@charbelnicolas This separation of nodes is already there. Its just a matter of which node is represented with which theme in your config.

Alright, thank you.


API data inconsistent with Database

In looking through some of the recently closed issues, the database files have been updated, but when accessing the jsons through the urls, the changes are not reflected.
#32 still missing Legendary Actions from http://www.dnd5eapi.co/api/monsters/24
#48 is still incorrect in all equipment.
#11 is still missing Charisma score. http://www.dnd5eapi.co/api/monsters/1

These should all be fixed now in the API. The API should now start reflecting the Database changes.


Update ci script for public repo

@jayaranigarg,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

LGTM after fix to machine affinity.


Use bazel.rc.jenkins as ~/.bazelrc

This is a test.

Jenkins job istio-testing/presubmit passed

This is a test.

Jenkins job istio-testing/presubmit passed


Script error - Update Check Runs

Thanks for putting this together, it's really useful. I've been experiencing a couple of (what I imagine are) permission errors related to the GitHub App configuration. Are there some additional permissions that need to be granted beyond those stated below?
default_permissions:
  contents: :write
  metadata: :read

This script: https://github.com/imjohnbo/ok-to-test/blob/474c02cafe14327d1a60febb7eb375f5935a430e/.github/workflows/integration.yml#L52-L73
Fails with this error for me:
2023-03-05T18:53:26.8384989Z RequestError [HttpError]: Resource not accessible by integration
2023-03-05T18:53:26.8387986Z     at /home/runner/work/_actions/actions/github-script/v6/dist/index.js:6803:21
2023-03-05T18:53:26.8388365Z     at processTicksAndRejections (node:internal/process/task_queues:96:5)
2023-03-05T18:53:26.8388932Z     at async eval (eval at callAsyncFunction (/home/runner/work/_actions/actions/github-script/v6/dist/index.js:15099:16), <anonymous>:13:26)
2023-03-05T18:53:26.8389463Z     at async main (/home/runner/work/_actions/actions/github-script/v6/dist/index.js:15198:20) {
2023-03-05T18:53:26.8389745Z   status: 403,
2023-03-05T18:53:26.8389922Z   response: {
2023-03-05T18:53:26.8390378Z     url: 'https://api.github.com/repos/GoodhandSolutions/terraform-snowflake-playground/check-runs/11775549491',
2023-03-05T18:53:26.8391081Z     status: 403,
2023-03-05T18:53:26.8391282Z     headers: {
2023-03-05T18:53:26.8391572Z       'access-control-allow-origin': '*',
2023-03-05T18:53:26.8392544Z       'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
2023-03-05T18:53:26.8393279Z       connection: 'close',
2023-03-05T18:53:26.8393538Z       'content-encoding': 'gzip',
2023-03-05T18:53:26.8393865Z       'content-security-policy': "default-src 'none'",
2023-03-05T18:53:26.8394227Z       'content-type': 'application/json; charset=utf-8',
2023-03-05T18:53:26.8394548Z       date: 'Sun, 05 Mar 2023 18:53:26 GMT',
2023-03-05T18:53:26.8394962Z       'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
2023-03-05T18:53:26.8395324Z       server: 'GitHub.com',
2023-03-05T18:53:26.8395714Z       'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
2023-03-05T18:53:26.8396063Z       'transfer-encoding': 'chunked',
2023-03-05T18:53:26.8396408Z       vary: 'Accept-Encoding, Accept, X-Requested-With',
2023-03-05T18:53:26.8396746Z       'x-content-type-options': 'nosniff',
2023-03-05T18:53:26.8397024Z       'x-frame-options': 'deny',
2023-03-05T18:53:26.8397350Z       'x-github-api-version-selected': '2022-11-28',
2023-03-05T18:53:26.8397678Z       'x-github-media-type': 'github.v3',
2023-03-05T18:53:26.8398039Z       'x-github-request-id': '86C4:60B2:2DCE608:5F0BA85:6404E526',
2023-03-05T18:53:26.8398348Z       'x-ratelimit-limit': '1000',
2023-03-05T18:53:26.8398628Z       'x-ratelimit-remaining': '980',
2023-03-05T18:53:26.8398911Z       'x-ratelimit-reset': '1678044246',
2023-03-05T18:53:26.8399189Z       'x-ratelimit-resource': 'core',
2023-03-05T18:53:26.8399470Z       'x-ratelimit-used': '20',
2023-03-05T18:53:26.8400037Z       'x-xss-protection': '0'
2023-03-05T18:53:26.8400235Z     },
2023-03-05T18:53:26.8400407Z     data: {
2023-03-05T18:53:26.8400810Z       message: 'Resource not accessible by integration',
2023-03-05T18:53:26.8403050Z       documentation_url: 'https://docs.github.com/rest/reference/checks#update-a-check-run'
2023-03-05T18:53:26.8403371Z     }
2023-03-05T18:53:26.8403527Z   },
2023-03-05T18:53:26.8403684Z   request: {
2023-03-05T18:53:26.8403938Z     method: 'PATCH',
2023-03-05T18:53:26.8404396Z     url: 'https://api.github.com/repos/GoodhandSolutions/terraform-snowflake-playground/check-runs/11775549491',
2023-03-05T18:53:26.8404722Z     headers: {
2023-03-05T18:53:26.8405028Z       accept: 'application/vnd.github.-preview+json',
2023-03-05T18:53:26.8405475Z       'user-agent': 'actions/github-script octokit-core.js/3.6.0 Node.js/16.16.0 (linux; x64)',
2023-03-05T18:53:26.8405836Z       authorization: 'token [REDACTED]',
2023-03-05T18:53:26.8406169Z       'content-type': 'application/json; charset=utf-8'
2023-03-05T18:53:26.8406411Z     },
2023-03-05T18:53:26.8406688Z     body: '{"status":"completed","conclusion":"success"}',
2023-03-05T18:53:26.8407009Z     request: { agent: [Agent], hook: [Function: bound bound register] }
2023-03-05T18:53:26.8407248Z   }
2023-03-05T18:53:26.8407404Z }
2023-03-05T18:53:26.8437830Z ##[error]Unhandled error: HttpError: Resource not accessible by integration

Similarly the dispatching action, raises warnings for: Failed to set reaction on comment ID<PHONE_NUMBER>.
Are these just user errors on my part or is it something else?
PS. I think the action versions need to be updated to prevent warnings being raised about the Node version. I can raise a PR for that.

Worked out what the issue was. The GITHUB_TOKEN needed additional permissions (read/write) in Settings > Actions > General > Workflow Permissions (or could be done more granularly in the Workflow YAML). May be worth updating the docs to include this?

Thanks for the issue report and PR! 😍
I think a couple of things are going on:

The built-in GITHUB_TOKEN's defaults were recently changed to read-only, so explicit write permissions are helpful in the workflow, as you indicate here (or the defaults could be set at the enterprise, organization, or repo level). GITHUB_TOKEN is technically a special GitHub App installation access token generated by GitHub Actions but is unrelated to the other installation access token we generate here and optionally use here.
The documentation of this workflow is out of date, as you also indicate! Would you be willing to open a separate PR for that? 🙏

The documentation of this workflow is out of date, as you https://github.com/imjohnbo/ok-to-test/issues/21#issuecomment-1455197706! Would you be willing to open a separate PR for that? 🙏

Sure. I'll adjust the docs to mention the GITHUB_TOKEN permissions. I'll also explicitly mention that it is ok to use 'example.com' type urls when creating the GitHub app. When I was creating my app, I wasn't sure that it would be ok to use URLs that didn't resolve, or that I didn't own. I noticed #12 also referenced this, so thought it may be worth bulking the docs out a bit on this if that is OK?


my options are not taking effect

hi
i installed and pass some options but it doesn't change accordingly
i have this in my template
        <div class="form-group">            <input class="picker-input"             id="time-input-1"             [ngModel]="input1Moment | date: 'short'"             [(dateTimePicker)]="input1Moment"             [mode]="'inline'"             [theme]="'#006633'"             [value]="input1Moment | date: 'short'"             [locale]=" 'he' "             readonly>         </div>
and in my component
public input1Moment: any;
and even through i ask for inline, it uses popup, no he for locale and no change in theme color.
what am i missing?
i am on angular 4 and
"ng-pick-datetime": "^4.1.2"

by the way, sometimes it display as i ask but most display as the default popup and colors

I guess that would be problem with your app, not with the package.


Issues with project search

To see these issues, please visit http://preview.zooniverse.org/panoptes-front-end/miniztm/?env=production#/projects , which uses the project search service for the search box on the right. This reveals a couple of issues, you will see both if you start typing "Snapshot Serengeti".
First issue: Non-public projects(?) being included
If you type "snapsh" you can see a project called "Snapshots at Sea" listed. I do not have access to this project so it should not be listed in search.
Second issue: No results with first few characters
We get no results back for 1,2,3 and 4 length search strings. This produces strange behaviour in the autocomplete, where somebody might be confused by the apparent absence of results - it's not obvious that you have to keep typing the first 5 characters.

First issue only seems to happen if you have admin mode turned on.

On 9 Dec 2015, at 15:57, Alex Bowyer<EMAIL_ADDRESS>wrote:
To see these issues, please visit http://preview.zooniverse.org/panoptes-front-end/miniztm/?env=production#/projects http://preview.zooniverse.org/panoptes-front-end/miniztm/?env=production#/projects , which uses the project search service for the search box on the right. This reveals a couple of issues, you will see both if you start typing "Snapshot Serengeti".
First issue: Non-public projects(?) being included
If you type "snapsh" you can see a project called "Snapshots at Sea" listed. I do not have access to this project so it should not be listed in search.
Second issue: No results with first few characters
We get no results back for 1,2,3 and 4 length search strings. This produces strange behaviour in the autocomplete, where somebody might be confused by the apparent absence of results - it's not obvious that you have to keep typing the first 5 characters.
—
Reply to this email directly or view it on GitHub https://github.com/zooniverse/Panoptes/issues/1546.

I am seeing "Snapshots at Sea" and I don't have admin access at all.

Same here, and I'm not logged in at all.

snapshots at sea is a public project, https://www.zooniverse.org/projects/tedcheese/snapshots-at-sea, we can add more restrictive search filters to only find launch_approved, etc flagged projects.
search is something we can work on, see for some details https://github.com/zooniverse/Panoptes/issues/1230

closed by #1547


markdown link color fixed https://github.com/EnsembleUI/ensemble/issu…

…es/262

Can i close the previous one @vusters ? The isolated code of markdown is here in this PR


Delay displaying image on slide

Hi, I'm using Slick for an Expression Engine site, with the images being created server-side via ce_img. This works fine when using 'fade', but not when using 'slide' as can be seen below. The Slick slider on the left is fading (works fine). You'll notice that on the right, the slide completes before the image is shown.

Closing. @niallobrien let me know if this issue occurs again


HL2RP Duplicating ' symbol

If a player has a ' symbol in their name or physical description, over time it will begin to duplicate and become '''''''''. Is there a known fix to this?

It's a known issue with Clockwork, not sure the cause of it as of yet.

It's usually due to an issue with the SQL database; I've found that when switching to a hosted server with a site built in, and having the SQL run off of that as opposed to the same box as the server, the issue stops.

Oh-- That could help narrow things down, thanks for the info!

For those experiencing this, it's down to the fact that Clockwork.database.Escape uses sql.SQLStr when SQLite is used, which bounds its strings with single quotes versus Clockwork's use of double quotes. To escape any single quotes in the string, sql.SQLStr replaces one single quote with two. Since escaping single quotes is not necessary for the database library's SQL queries (due to the use of double quotes), the doubling of single quotes serves to double the amount of single quotes stored, rather than escape the single quotes.
As Clockwork.database.Escape is defined by CloudAuthX, I cannot push a fix to the repository, but I have released a plugin which resolves this: https://github.com/VortixDev/cw_plugins/blob/master/no_apostrophe_spam/plugin/sv_plugin.lua.
My fix just overrides  Clockwork.database.Escape and replaces any instance of two single quotes with one if SQLite is used. It also checks before overriding whether Clockwork.database.Escape suffers from the doubling issue, so that if a CAX fix is pushed there won't be any problems.

 Fix the duplicating apostrophes SQLite bug

This is now resolved within CAX.


Request feature "Split Integrated Terminal"

It would be great if we can split rather than switch between multiple shells within integrated terminal just like how we split editor!

Duplicate https://github.com/Microsoft/vscode/issues/7504


Fix spelling of recipient

Fix spelling of receipient -> recipient for more intuitive usage.

Thank you for PR!


SINGULARIZE WIP

Hi ! Thanks for your code , I use it to convert to singular
wip for now

Hello Anthony,
thank you for tt

Tag 0.1.0 commited.
I made minor changes to the README file. Please update to repository. As it does not impact your patch, the merge will be straightforward.

There is a discussion at https://github.com/bermi/Python-Inflector/pull/2 about pluralize() and singularize() from french. So I merged your PR and will make the changes in hope it helps python-inflector.
Thanks for your patch!


chore(theme_tailor, theme_tailor_annotation): RC 1.1.1

Changes in the newest release 1.1.0 require update to the annotation package (missing requireStaticConst property)
Bumped up both versions to the same number to prevent further confusion

constantThemes like in @Tailor(constantThemes: true) might be missing also.

Thanks for spotting it, it was a mistake in the docs, there is no property like that and it should be requireStaticConst instead


make release doesn't install gox

It does - it just doesn't warn when ${GOPATH}/bin isn't on path.


Colorization with multi-line comments

In an fsx file, typing
(*
*)
let x = 42

... grays out / italicizes all the text below, as if it was all comments. This seems to happen as soon as the closing block is alone. For instance,
(*
This works *)

but
(* This does not work
*)

Fixed in 0.12.10


Added type definition for Famous Engine v0.7.1

I am adding a type definition for Famous Engine - high-performance javascript library for animations & interfaces

famous/famous.d.ts
check list

[ ] is collect naming convention?

https://www.npmjs.com/package/famous
http://bower.io/search/?q=famous
others?

[X] has a test file? (famous/famous-tests.ts or others)
[ ] pass the Travic-CI test?

@borisvasilenko thanks mate!