Attach EBS

Hello,
I have a question, is it possible to use your function to launch a VM with 2 EBS volumes (one root and one data) and keep these same EBS volumes between switching from spot to on-demand and from on-demand to spot? And on top of that when I stop the ASG during the night and restart the morning, I wouldlike keep the same EBS volumes. Do think that features are possible?
Many thanks
Best regards
Answer:
Hi Sylvain,
First of all, thank you. I'm glad to hear that we are helping people build technology.
Yes, it's possible, but not exactly how you want it. You could use the _fasi_ebs parameter. You can tag an EBS and the script will attach it to whichever instance is currently the primary. Note that this only works when using the single instance failover mode.
As you mentioned, you want not only to share a data volume between instances, but also the root volume. I'm not sure how to approach this. While I'm not sure if AWS allows you to reattach the root volume to another instance, I know this is not the recommended practice. Normally, what you would do is to create an snapshot of the instance's root volume and start a new one based on this snapshot.
I'd recommend you to change the way your application saves data and just dump everything inside the EBS dedicated to data. In the Cloud, servers should be ephemeral and expendable. This way you can just set the _fasi_ebs parameters and everything works.
As an after though, I made this script 3 years ago when AWS EFS did not exist. Nowadays you could just use EFS and not worry about reattaching EBS volumes. This is what we currently do here at NUMER. Note that this only works for data volumes, you cannot put a root volume on EFS.

My question:
I follow your advises and now it works. My last question is : where I can put the script to mount the EBS because it is attached but not mounted. Is it better to mount in user data or in another place?
When I mount the permanent EBS manually, it works.
Answer from numercfd:
User data will probably not work for you since it only runs when the instance is created. Unless there are some other requirements, I would not worry too much about it and just create a cron script that runs every minute and check if the volume is mounted and, if not, mounts it.


zsh: Update grml-etc-core

This pulls in changes from upstream:

Michael Prokop

Support systemd-style output via lsb-functions [improvement]
lsb-functions: include support for grml_colors handling [improvement]
zshrc: fall back to journalctl with llog + tlog aliases if /var/log/syslog doesn't exist [improvement]
zshrc: support systems without capacity file in batterylinux() [improvement]

Thilo Six

make location of .important_commands configurable [improvement]
fix usage of typeset -U [bugfix]
add missing run-help-* [improvement]
unset NO_COLOR [bugfix]
[bugfix] for sll()
reduce unneeded filesystem seeks [improvement]
only try to autoload when needed [improvement]

I didn't list fixups for commits that are newly pulled in.

@hashbang/contributers @hashbang/administrators Review needed.


IsADirectoryError: [Errno 21] Is a directory: '/home/pi/googleassistant/credentials.json'

this is the command in this -> (env) pi@raspberrypi:~ $
google-oauthlib-tool --client-secrets ~/googleassistant/credentials.json
--scope https://www.googleapis.com/auth/assistant-sdk-prototype
--scope https://www.googleapis.com/auth/gcm
--save --headless
this is the error:
Traceback (most recent call last):
File "/home/pi/env/bin/google-oauthlib-tool", line 8, in
sys.exit(main())
File "/home/pi/env/lib/python3.5/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/home/pi/env/lib/python3.5/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/pi/env/lib/python3.5/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/pi/env/lib/python3.5/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/pi/env/lib/python3.5/site-packages/google_auth_oauthlib/tool/main.py", line 100, in main
scopes=scope
File "/home/pi/env/lib/python3.5/site-packages/google_auth_oauthlib/flow.py", line 196, in from_client_secrets_file
with open(client_secrets_file, 'r') as json_file:
IsADirectoryError: [Errno 21] Is a directory: '/home/pi/googleassistant/credentials.json'
How can i fix it?

Which demo are you trying to run and from where are you following the instructions ?

I’m following this website: https://pimylifeup.com/raspberry-pi-google-assistant/

If you are still facing any issue then it is recommended to follow the instructions from https://aiyprojects.withgoogle.com/voice/ which is the official website of AIY projects.


Add ability to custom order bars on a bar chart

Users have requested the ability to custom order the bars on a bar chart.  Seems like a reasonable request.
Airbnb Jira: https://jira.airbnb.biz/browse/PRODUCT-19523

@jfeng15 as in user-specified or as in either sorted by height or by name?

@mistercrunch, in this case the user request was user-specified.  that said, in order of priority from highest to lowest, it should be:

"sort ascending" and "sort descending" by value for bar charts
"sort ascending" and "sort descending" by name for bar charts
custom order for bar charts

Let's leave 3. out of scope of this specific task.

Is there any hack to do bar chart using ascending sort?

By default, bar chart sorts descending by value, and there is a way to sort alphabetically by label on x-axis.
Seems like we are missing

Sort ascending by Y-axis
Sort descending by x-axis
@mistercrunch

Has this issue duplicated elsewhere, or is this ticket just stale?
This really should be included on Superset Bar Chart.


[CTCP-4287] added to test PushPullNotificationGetBoxFailed audit event, should be reverted after testing

Deployed from the branch and tested


feat: update x/foundation to use Finschia/cosmos-sdk

Description

closes: #1197
Checklist:

[x] I followed the contributing guidelines and code of conduct.
[x] I have added a relevant changelog to CHANGELOG.md
[x] I have added tests to cover my changes.
[ ] I have updated the documentation accordingly.
[ ] I have updated API documentation client/docs/swagger-ui/swagger.yaml

I think I deleted bump50 by accident 2 weeks ago.
I didn't know the deletion. Sorry for the inconvenience.

Blocked by #1205.

It's ok not to update simapp/app.go?

How about removing simapp/app if we don't use app_v1?

How about removing simapp/app if we don't use app_v1?

I agree. Any opinions @jaeseung-bae @tkxkd0159 ?

How about removing simapp/app if we don't use app_v1?

I agree. Any opinions @jaeseung-bae @tkxkd0159 ?

After we remove it, no further effort on app_v1 is expected when we track upstream's code, isn't it??


Dependency Error while running jekyll serve

yasksrivastava at Yasks-MacBook-Pro in ~/jasper (master●●)
$ jekyll serve
WARN: Unresolved specs during Gem::Specification.reset:
      listen (~> 3.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
Configuration file: /Users/yasksrivastava/jasper/_config.yml
  Dependency Error: Yikes! It looks like you don't have jekyll-paginate or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- jekyll-paginate' If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/!
jekyll 3.1.2 | Error:  jekyll-paginate

This is what my Gemfile looks like:
source "https://rubygems.org"

gem "jekyll"
gem "jekyll-paginate"
gem "rdiscount"
gem "pygments.rb"
gem 'kramdown'
gem 'rouge', '~> 1.10', '>= 1.10.1'
gem "github-pages", "~> 66"
gem "rake"

have you tried to execute bundle install ?

I did.. eventually running bundle clean --force solved the problem.

@yask123 Cool that it solved the problem :)
Also thanks @mostafahussein for helping on this :+1:


Add ServiceNames utility

Currently this is very specific to our Dropwizard services and how we name them, i.e. ending with -service or -emulator. It also contains only static methods.
We can make this a bit more generic by changing from static methods to instance methods, and having a bit of configurability, e.g. in constructor arguments, or maybe as a (Lombok) builder.

Renamed several methods to be more clear what they mean:

String findServiceOrEmulatorName(String) renamed to String findServiceOrEmulatorNameFromRoot(String)
Path selectPomPath(String) renamed to Path selectPomPathFromRoot(String)
String findServiceOrEmulatorName(Path) to String findServiceOrEmulatorNameInPom(Path)

The renames of the originally overloaded findServiceOrEmulatorName methods disambiguates their purpose, which is quite different but previously was impossible to determine from the names.


"undeclared identifier" that doesn't appear in the source code.

When compiling d.c:
#include <uvm/graphics.h>

u32
HSVA_to_RGBA(u8 hue, u8 saturation, u8 value, u8 alpha)
{
    u8 chroma = 1;
    u8 m = 1;
    u8 X = 23;
    return rgba32(chroma, m, X, alpha);
}

The compiler generates an error message for an undeclared identifier that doesn't appear in the source:
uvm/ncc % cargo run ./examples/d.c
    Finished dev [unoptimized + debuginfo] target(s) in 0.00s
     Running `target/debug/ncc ./examples/d.c`
Error: reference to undeclared identifier "chromalpha"

That's the smallest repro yet, but I haven't tried that hard (yet), e.g. the exact values of the variables don't seem to matter.  (I'm in the middle of making breakfast, but I wanted to give you what I had so far. I'll fiddle with it later today (if you haven't already fixed it! :) )

I found a smaller regression:
#define rgba32(b, a) (b | a)

int regress(int chroma, int alpha)
{
    return rgba32(alpha, chroma);
}

Also confirmed that this works in gcc, but not NCC. The problem seems to be that my preprocessor replaces the tokens one at a time, whereas gcc replaces them all at once.
I should be able to fix this today or tomorrow :)

Ah, you beat me to it!  Cheers! :)

Should be all fixed now :)


#239 Update nodemon

Removes event-stream as a dependency.

Thanks for this PR! Sorry that I didn't get around to this earlier. #306 should supersede this.


Documentation should include that assets should be marked as "Content" for all configurations

Documentation could be clearer in the settings:
"Note: the .glb asset must be marked as "Content" in your build settings before building and running your app."
This statement, the image from VS and the corresponding video should clarify that the object should be marked as "Content" for "All configurations".

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

ID: 03eff217-9145-683b-86e6-3fee12ca90fd
Version Independent ID: e56f3c19-6676-4e33-ac8c-6c3a461d4f71
Content: Implement 3D app launchers (UWP apps) - Mixed Reality
Content Source: mixed-reality-docs/implementing-3d-app-launchers.md
Product: mixed-reality
Technology: mr-dev
GitHub Login: @thmignon
Microsoft Alias: thmignon

@thmignon - Is this an update you can make?
Thanks,
Jesse


Can't install wingetcreate

Brief description of your issue
I get an error when trying to install wingetcreate.
Steps to reproduce
winget install wingetcreate
Expected behavior
wingetcreate is successfully installed.
Actual behavior
Error occurs. The error code is 0x80072f9a.

Error Log
2022-11-21 11:06:28.259 [CORE] WinGet, version [1.3.2691], activity [{75D652A2-1FA9-4B15-B908-E5E061BCEA4F}]
2022-11-21 11:06:28.259 [CORE] OS: Windows.Desktop v10.0.22621.819
2022-11-21 11:06:28.259 [CORE] Command line Args: "C:\Users\aetos\AppData\Local\Microsoft\WindowsApps\winget.exe" install wingetcreate
2022-11-21 11:06:28.259 [CORE] Package: Microsoft.DesktopAppInstaller v1.18.2691.0
2022-11-21 11:06:28.259 [CORE] IsCOMCall:0; Caller: winget-cli
2022-11-21 11:06:28.263 [CLI ] WinGet invoked with arguments: 'install' 'wingetcreate'
2022-11-21 11:06:28.263 [CLI ] Found subcommand: install
2022-11-21 11:06:28.263 [CLI ] Leaf command to execute: root:install
2022-11-21 11:06:28.267 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2022-11-21 11:06:28.267 [CORE] Admin settings was not found
2022-11-21 11:06:28.267 [CLI ] Executing command: install
2022-11-21 11:06:28.269 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2022-11-21 11:06:28.276 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2022-11-21 11:06:28.277 [YAML] Detected UTF-8
2022-11-21 11:06:28.279 [REPO] GetCurrentSourceRefs: Source named 'microsoft.builtin.desktop.frameworks' from origin Default is hidden and is dropped.
2022-11-21 11:06:28.279 [REPO] Default source requested, multiple sources available, adding all to source references.
2022-11-21 11:06:28.279 [REPO] Adding to source references msstore
2022-11-21 11:06:28.279 [REPO] Adding to source references winget
2022-11-21 11:06:28.280 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2022-11-21 11:06:28.280 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2022-11-21 11:06:28.280 [YAML] Detected UTF-8
2022-11-21 11:06:28.280 [REPO] Source past auto update time [5 mins]; it has been at least 588 mins
2022-11-21 11:06:28.280 [CORE] Setting action: Set, Type: Standard, Name: sources_metadata
2022-11-21 11:06:28.280 [REPO] Source past auto update time [5 mins]; it has been at least 2277 mins
2022-11-21 11:06:28.549 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2022-11-21 11:06:28.549 [CORE] Found matching extension.
2022-11-21 11:06:28.552 [CORE] Downloading to path: C:\Users\aetos\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix
2022-11-21 11:06:28.553 [CORE] Started applying motw to C:\Users\aetos\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix with zone: 3
2022-11-21 11:06:28.555 [CORE] Finished applying motw
2022-11-21 11:06:28.556 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/source.msix
2022-11-21 11:06:28.578 [CORE] Download request status success.
2022-11-21 11:06:28.578 [CORE] Download size: 5248452
2022-11-21 11:06:28.704 [CORE] Download completed.
2022-11-21 11:06:28.704 [CORE] Starting AddPackage operation #0: file:///C:/Users/aetos/AppData/Local/Temp/WinGet/Microsoft.Winget.Source_8wekyb3d8bbwe.msix SkipSmartScreen: 1
2022-11-21 11:06:28.706 [CORE] Begin waiting for operation #0
2022-11-21 11:06:28.706 [CORE] Begin blocking for operation #0
2022-11-21 11:06:30.012 [CORE] Successfully completed #0
2022-11-21 11:06:30.023 [CORE] Setting action: Set, Type: Standard, Name: sources_metadata
2022-11-21 11:06:30.024 [REPO] Multiple sources available, creating aggregated source.
2022-11-21 11:06:30.024 [REPO] Adding to aggregated source: msstore
2022-11-21 11:06:30.024 [REPO] Custom header not found.
2022-11-21 11:06:30.025 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2022-11-21 11:06:30.026 [REPO] Http GET request details:
GET / HTTP/1.1
Content-Type: application/json
User-Agent: winget-cli WindowsPackageManager/1.3.2691 DesktopAppInstaller/Microsoft.DesktopAppInstaller v1.18.2691.0

2022-11-21 11:06:30.303 [REPO] Response status: 200
2022-11-21 11:06:30.303 [REPO] Response details:
HTTP/1.1 200 OK
Cache-Control: max-age=0, no-cache, no-store
Connection: keep-alive
Content-Length: 853
Content-Type: application/json; charset=utf-8
Date: Mon, 21 Nov 2022 02:06:30 GMT
Expires: Mon, 21 Nov 2022 02:06:30 GMT
MS-CV: SQYvytJ4IUa3kJ9l.0
Pragma: no-cache
Server: Microsoft-HTTPAPI/2.0
X-OSG-Served-By: Torus-EastAsia_Legacy00000M_<IP_ADDRESS>

{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageMetadata.PackageMetadataResponse, StoreEdgeFD","Data":{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageMetadata.PackageMetadataData, StoreEdgeFD","SourceIdentifier":"StoreEdgeFD","SourceAgreements":{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageMetadata.SourceAgreements, StoreEdgeFD","AgreementsIdentifier":"StoreEdgeFD","Agreements":[{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageManifest.AgreementDetail, StoreEdgeFD","AgreementLabel":"Terms of Transaction","AgreementUrl":"https://aka.ms/microsoft-store-terms-of-transaction"}]},"ServerSupportedVersions":["1.0.0","1.1.0"],"RequiredQueryParameters":["market"],"RequiredPackageMatchFields":["market"]}}
2022-11-21 11:06:30.304 [REPO] Custom header not found.
2022-11-21 11:06:30.304 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2022-11-21 11:06:30.304 [REPO] Http GET request details:
GET / HTTP/1.1
Content-Type: application/json
User-Agent: winget-cli WindowsPackageManager/1.3.2691 DesktopAppInstaller/Microsoft.DesktopAppInstaller v1.18.2691.0

2022-11-21 11:06:30.389 [REPO] Response status: 200
2022-11-21 11:06:30.389 [REPO] Response details:
HTTP/1.1 200 OK
Cache-Control: max-age=0, no-cache, no-store
Connection: keep-alive
Content-Length: 853
Content-Type: application/json; charset=utf-8
Date: Mon, 21 Nov 2022 02:06:30 GMT
Expires: Mon, 21 Nov 2022 02:06:30 GMT
MS-CV: sUHYJtDNAkWl+nXA.0
Pragma: no-cache
Server: Microsoft-HTTPAPI/2.0
X-OSG-Served-By: Torus-EastAsia_Legacy00000Y_<IP_ADDRESS>

{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageMetadata.PackageMetadataResponse, StoreEdgeFD","Data":{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageMetadata.PackageMetadataData, StoreEdgeFD","SourceIdentifier":"StoreEdgeFD","SourceAgreements":{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageMetadata.SourceAgreements, StoreEdgeFD","AgreementsIdentifier":"StoreEdgeFD","Agreements":[{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageManifest.AgreementDetail, StoreEdgeFD","AgreementLabel":"Terms of Transaction","AgreementUrl":"https://aka.ms/microsoft-store-terms-of-transaction"}]},"ServerSupportedVersions":["1.0.0","1.1.0"],"RequiredQueryParameters":["market"],"RequiredPackageMatchFields":["market"]}}
2022-11-21 11:06:30.390 [REPO] Adding to aggregated source: winget
2022-11-21 11:06:30.395 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2022-11-21 11:06:30.395 [CORE] Found matching extension.
2022-11-21 11:06:30.416 [REPO] Opening SQLite Index for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2022.1120.2317.250_neutral__8wekyb3d8bbwe\Public\index.db'
2022-11-21 11:06:30.416 [SQL ] Opening SQLite connection: 'file:/C:/Program Files/WindowsApps/Microsoft.Winget.Source_2022.1120.2317.250_neutral__8wekyb3d8bbwe/Public/index.db?immutable=1' [1, 40]
2022-11-21 11:06:30.417 [SQL ] Enabling ICU
2022-11-21 11:06:30.417 [SQL ] Preparing statement #1: select [value] from [metadata] where [name] = ?
2022-11-21 11:06:30.417 [SQL ] Binding statement #1: 1 => majorVersion
2022-11-21 11:06:30.417 [SQL ] Stepping statement #1
2022-11-21 11:06:30.417 [SQL ] Statement #1 has data
2022-11-21 11:06:30.417 [SQL ] Preparing statement #2: select [value] from [metadata] where [name] = ?
2022-11-21 11:06:30.418 [SQL ] Binding statement #2: 1 => minorVersion
2022-11-21 11:06:30.418 [SQL ] Stepping statement #2
2022-11-21 11:06:30.418 [SQL ] Statement #2 has data
2022-11-21 11:06:30.418 [SQL ] Preparing statement #3: select [value] from [metadata] where [name] = ?
2022-11-21 11:06:30.418 [SQL ] Binding statement #3: 1 => lastwritetime
2022-11-21 11:06:30.418 [SQL ] Stepping statement #3
2022-11-21 11:06:30.418 [SQL ] Statement #3 has data
2022-11-21 11:06:30.418 [REPO] Opened SQLite Index with version [1.6], last write [2022-11-21 07:17:02.000]
2022-11-21 11:06:30.449 [CLI ] Checking Source agreements for source: msstore
2022-11-21 11:06:30.449 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2022-11-21 11:06:30.449 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2022-11-21 11:06:30.449 [YAML] Detected UTF-8
2022-11-21 11:06:30.449 [CLI ] Source agreements satisfied. Source: msstore
2022-11-21 11:06:30.449 [CLI ] Checking Source agreements for source: winget
2022-11-21 11:06:30.449 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2022-11-21 11:06:30.449 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2022-11-21 11:06:30.449 [YAML] Detected UTF-8
2022-11-21 11:06:30.449 [CLI ] Source agreements satisfied. Source: winget
2022-11-21 11:06:30.451 [REPO] Sending http POST request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/manifestSearch
2022-11-21 11:06:30.451 [REPO] Http POST request details:
POST / HTTP/1.1
Content-Length: 649
Content-Type: application/json
User-Agent: winget-cli WindowsPackageManager/1.3.2691 DesktopAppInstaller/Microsoft.DesktopAppInstaller v1.18.2691.0
Version: 1.1.0

{"Filters":[{"PackageMatchField":"Market","RequestMatch":{"KeyWord":"JP","MatchType":"CaseInsensitive"}}],"Inclusions":[{"PackageMatchField":"PackageFamilyName","RequestMatch":{"KeyWord":"wingetcreate","MatchType":"Exact"}},{"PackageMatchField":"ProductCode","RequestMatch":{"KeyWord":"wingetcreate","MatchType":"Exact"}},{"PackageMatchField":"PackageIdentifier","RequestMatch":{"KeyWord":"wingetcreate","MatchType":"CaseInsensitive"}},{"PackageMatchField":"PackageName","RequestMatch":{"KeyWord":"wingetcreate","MatchType":"CaseInsensitive"}},{"PackageMatchField":"Moniker","RequestMatch":{"KeyWord":"wingetcreate","MatchType":"CaseInsensitive"}}]}
2022-11-21 11:06:31.129 [REPO] Response status: 200
2022-11-21 11:06:31.130 [REPO] Response details:
HTTP/1.1 200 OK
Cache-Control: max-age=0, no-cache, no-store
Connection: keep-alive
Content-Length: 140
Content-Type: application/json; charset=utf-8
Date: Mon, 21 Nov 2022 02:06:31 GMT
Expires: Mon, 21 Nov 2022 02:06:31 GMT
MS-CV: kBvW0uHtIUyJb5yz.2
Pragma: no-cache
Server: Microsoft-HTTPAPI/2.0
X-OSG-Served-By: Torus-EastAsia_Legacy00000M_<IP_ADDRESS>

{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.ManifestSearch.ManifestSearchResponse, StoreEdgeFD","Data":[]}
2022-11-21 11:06:31.130 [REPO] No search results returned.
2022-11-21 11:06:31.130 [REPO] No search results returned by rest source
2022-11-21 11:06:31.130 [REPO] Performing search: Query:[none] Include:PackageFamilyName='wingetcreate'[Exact] Include:ProductCode='wingetcreate'[Exact] Include:Id='wingetcreate'[CaseInsensitive] Include:Name='wingetcreate'[CaseInsensitive] Include:Moniker='wingetcreate'[CaseInsensitive]
2022-11-21 11:06:31.130 [SQL ] Preparing statement #4: CREATE TABLE[temp].[{E7F75749-FF16-4DD5-B473-4F6B609069F0}]([manifest] INT64 NOT NULL, [field] INT NOT NULL, [match] INT NOT NULL, [value] TEXT NOT NULL, [sort] INT NOT NULL, [filter] INT NOT NULL)
2022-11-21 11:06:31.130 [SQL ] Stepping statement #4
2022-11-21 11:06:31.130 [SQL ] Statement #4 has completed
2022-11-21 11:06:31.131 [SQL ] Preparing statement #5: DROP TABLE [{E7F75749-FF16-4DD5-B473-4F6B609069F0}]
2022-11-21 11:06:31.131 [SQL ] Preparing statement #6: CREATE INDEX [{E7F75749-FF16-4DD5-B473-4F6B609069F0}_i_m] ON [{E7F75749-FF16-4DD5-B473-4F6B609069F0}]([manifest])
2022-11-21 11:06:31.131 [SQL ] Stepping statement #6
2022-11-21 11:06:31.131 [SQL ] Statement #6 has completed
2022-11-21 11:06:31.131 [SQL ] Preparing statement #7: INSERT INTO[temp].[{E7F75749-FF16-4DD5-B473-4F6B609069F0}]SELECT [valueTable].[m], ?, ?, [valueTable].[v], ?, ? FROM (SELECT [manifest].[rowid] AS [m], [pfns].[pfn] AS [v] FROM [manifest] JOIN [pfns_map] ON [manifest].[rowid] = [pfns_map].[manifest] JOIN [pfns] ON [pfns_map].[pfn] = [pfns].[rowid] WHERE [pfns].[pfn] = ?) AS [valueTable]
2022-11-21 11:06:31.131 [SQL ] Binding statement #7: 1 => 5
2022-11-21 11:06:31.131 [SQL ] Binding statement #7: 2 => 0
2022-11-21 11:06:31.131 [SQL ] Binding statement #7: 3 => 0
2022-11-21 11:06:31.131 [SQL ] Binding statement #7: 4 => 0
2022-11-21 11:06:31.131 [SQL ] Binding statement #7: 5 => wingetcreate
2022-11-21 11:06:31.131 [SQL ] Stepping statement #7
2022-11-21 11:06:31.131 [SQL ] Statement #7 has completed
2022-11-21 11:06:31.131 [REPO] Search found 0 rows
2022-11-21 11:06:31.131 [SQL ] Preparing statement #8: INSERT INTO[temp].[{E7F75749-FF16-4DD5-B473-4F6B609069F0}]SELECT [valueTable].[m], ?, ?, [valueTable].[v], ?, ? FROM (SELECT [manifest].[rowid] AS [m], [productcodes].[productcode] AS [v] FROM [manifest] JOIN [productcodes_map] ON [manifest].[rowid] = [productcodes_map].[manifest] JOIN [productcodes] ON [productcodes_map].[productcode] = [productcodes].[rowid] WHERE [productcodes].[productcode] = ?) AS [valueTable]
2022-11-21 11:06:31.131 [SQL ] Binding statement #8: 1 => 6
2022-11-21 11:06:31.131 [SQL ] Binding statement #8: 2 => 0
2022-11-21 11:06:31.131 [SQL ] Binding statement #8: 3 => 1
2022-11-21 11:06:31.131 [SQL ] Binding statement #8: 4 => 0
2022-11-21 11:06:31.131 [SQL ] Binding statement #8: 5 => wingetcreate
2022-11-21 11:06:31.131 [SQL ] Stepping statement #8
2022-11-21 11:06:31.131 [SQL ] Statement #8 has completed
2022-11-21 11:06:31.131 [REPO] Search found 0 rows
2022-11-21 11:06:31.131 [SQL ] Preparing statement #9: INSERT INTO[temp].[{E7F75749-FF16-4DD5-B473-4F6B609069F0}]SELECT [valueTable].[m], ?, ?, [valueTable].[v], ?, ?  ESCAPE ?) AS [valueTable]
2022-11-21 11:06:31.131 [SQL ] Binding statement #9: 1 => 0
2022-11-21 11:06:31.131 [SQL ] Binding statement #9: 2 => 1
2022-11-21 11:06:31.131 [SQL ] Binding statement #9: 3 => 2
2022-11-21 11:06:31.131 [SQL ] Binding statement #9: 4 => 0
2022-11-21 11:06:31.131 [SQL ] Binding statement #9: 6 => '
2022-11-21 11:06:31.131 [SQL ] Binding statement #9: 5 => wingetcreate
2022-11-21 11:06:31.131 [SQL ] Stepping statement #9
2022-11-21 11:06:31.134 [SQL ] Statement #9 has completed
2022-11-21 11:06:31.134 [REPO] Search found 0 rows
2022-11-21 11:06:31.134 [SQL ] Preparing statement #10: INSERT INTO[temp].[{E7F75749-FF16-4DD5-B473-4F6B609069F0}]SELECT [valueTable].[m], ?, ?, [valueTable].[v], ?, ? FROM (SELECT [manifest].[rowid] AS [m], [names].[name] AS [v] FROM [manifest] JOIN [names] ON [manifest].[name] = [names].[rowid] WHERE [names].[name] LIKE ? ESCAPE ?) AS [valueTable]
2022-11-21 11:06:31.134 [SQL ] Binding statement #10: 1 => 1
2022-11-21 11:06:31.134 [SQL ] Binding statement #10: 2 => 1
2022-11-21 11:06:31.134 [SQL ] Binding statement #10: 3 => 3
2022-11-21 11:06:31.134 [SQL ] Binding statement #10: 4 => 0
2022-11-21 11:06:31.134 [SQL ] Binding statement #10: 6 => '
2022-11-21 11:06:31.134 [SQL ] Binding statement #10: 5 => wingetcreate
2022-11-21 11:06:31.134 [SQL ] Stepping statement #10
2022-11-21 11:06:31.136 [SQL ] Statement #10 has completed
2022-11-21 11:06:31.136 [REPO] Search found 0 rows
2022-11-21 11:06:31.136 [SQL ] Preparing statement #11: INSERT INTO[temp].[{E7F75749-FF16-4DD5-B473-4F6B609069F0}]SELECT [valueTable].[m], ?, ?, [valueTable].[v], ?, ? FROM (SELECT [manifest].[rowid] AS [m], [monikers].[moniker] AS [v] FROM [manifest] JOIN [monikers] ON [manifest].[moniker] = [monikers].[rowid] WHERE [monikers].[moniker] LIKE ? ESCAPE ?) AS [valueTable]
2022-11-21 11:06:31.136 [SQL ] Binding statement #11: 1 => 2
2022-11-21 11:06:31.136 [SQL ] Binding statement #11: 2 => 1
2022-11-21 11:06:31.136 [SQL ] Binding statement #11: 3 => 4
2022-11-21 11:06:31.136 [SQL ] Binding statement #11: 4 => 0
2022-11-21 11:06:31.136 [SQL ] Binding statement #11: 6 => '
2022-11-21 11:06:31.136 [SQL ] Binding statement #11: 5 => wingetcreate
2022-11-21 11:06:31.136 [SQL ] Stepping statement #11
2022-11-21 11:06:31.138 [SQL ] Statement #11 has completed
2022-11-21 11:06:31.138 [REPO] Search found 13 rows
2022-11-21 11:06:31.138 [SQL ] Preparing statement #12: DELETE FROM[temp].[{E7F75749-FF16-4DD5-B473-4F6B609069F0}] WHERE [rowid] NOT IN(SELECT [rowid] FROM (SELECT [rowid],  MIN([sort]) FROM[temp].[{E7F75749-FF16-4DD5-B473-4F6B609069F0}] GROUP BY [manifest]))
2022-11-21 11:06:31.138 [SQL ] Stepping statement #12
2022-11-21 11:06:31.138 [SQL ] Statement #12 has completed
2022-11-21 11:06:31.138 [REPO] Removed 0 duplicate rows
2022-11-21 11:06:31.138 [SQL ] Preparing statement #13: SELECT [manifest].[id], [t].[field], [t].[match], [t].[value],  MIN([t].[sort]) FROM[temp].[{E7F75749-FF16-4DD5-B473-4F6B609069F0}] AS [t] JOIN [manifest] ON [t].[manifest] = [manifest].[rowid] GROUP BY [manifest].[id] ORDER BY [t].[sort]
2022-11-21 11:06:31.138 [SQL ] Stepping statement #13
2022-11-21 11:06:31.140 [SQL ] Statement #13 has data
2022-11-21 11:06:31.140 [SQL ] Stepping statement #13
2022-11-21 11:06:31.140 [SQL ] Statement #13 has completed
2022-11-21 11:06:31.140 [SQL ] Stepping statement #5
2022-11-21 11:06:31.140 [SQL ] Statement #5 has completed
2022-11-21 11:06:31.140 [SQL ] Preparing statement #14: SELECT [rowid] FROM [channels] WHERE [channel] LIKE ? ESCAPE ?
2022-11-21 11:06:31.140 [SQL ] Binding statement #14: 1 =>
2022-11-21 11:06:31.140 [SQL ] Binding statement #14: 2 => '
2022-11-21 11:06:31.140 [SQL ] Stepping statement #14
2022-11-21 11:06:31.140 [SQL ] Statement #14 has data
2022-11-21 11:06:31.140 [SQL ] Preparing statement #15: SELECT [versions].[version] FROM [manifest] JOIN [versions] ON [manifest].[version] = [versions].[rowid] WHERE [id] = ?  AND [version] = ? AND [channel] = ?  ESCAPE ?
2022-11-21 11:06:31.141 [SQL ] Binding statement #20: 1 =>
2022-11-21 11:06:31.141 [SQL ] Binding statement #20: 2 => '
2022-11-21 11:06:31.141 [SQL ] Stepping statement #20
2022-11-21 11:06:31.141 [SQL ] Statement #20 has data
2022-11-21 11:06:31.141 [SQL ] Preparing statement #21: SELECT [versions].[version] FROM [manifest] JOIN [versions] ON [manifest].[version] = [versions].[rowid] WHERE [id] = ?  AND [version] = ? AND [channel] = ? LIMIT 1
2022-11-21 11:06:31.142 [SQL ] Binding statement #23: 1 => 1706
2022-11-21 11:06:31.142 [SQL ] Binding statement #23: 2 => 6217
2022-11-21 11:06:31.142 [SQL ] Binding statement #23: 3 => 1
2022-11-21 11:06:31.142 [SQL ] Stepping statement #23
2022-11-21 11:06:31.142 [SQL ] Statement #23 has data
2022-11-21 11:06:31.142 [SQL ] Preparing statement #24: SELECT COUNT(*) FROM [manifest] WHERE [rowid] = ?
2022-11-21 11:06:31.142 [SQL ] Binding statement #24: 1 => 9693
2022-11-21 11:06:31.142 [SQL ] Stepping statement #24
2022-11-21 11:06:31.142 [SQL ] Statement #24 has data
2022-11-21 11:06:31.142 [SQL ] Preparing statement #25: SELECT [names].[name] FROM [manifest] JOIN [names] ON [manifest].[name] = [names].[rowid] WHERE [manifest].[rowid] = ?
2022-11-21 11:06:31.142 [SQL ] Binding statement #25: 1 => 9693
2022-11-21 11:06:31.142 [SQL ] Stepping statement #25
2022-11-21 11:06:31.142 [SQL ] Statement #25 has data
2022-11-21 11:06:31.142 [CLI ] Found one app. App id: Microsoft.WingetCreate App name: Windows Package Manager Manifest Creator
2022-11-21 11:06:31.142 [SQL ] Preparing statement #26: SELECT [rowid] FROM [channels] WHERE [channel] LIKE ? ESCAPE ?
2022-11-21 11:06:31.142 [SQL ] Binding statement #26: 1 =>
2022-11-21 11:06:31.142 [SQL ] Binding statement #26: 2 => '
2022-11-21 11:06:31.142 [SQL ] Stepping statement #26
2022-11-21 11:06:31.142 [SQL ] Statement #26 has data
2022-11-21 11:06:31.142 [SQL ] Preparing statement #27: SELECT [versions].[version] FROM [manifest] JOIN [versions] ON [manifest].[version] = [versions].[rowid] WHERE [id] = ?  AND [version] = ? AND [channel] = ?  All rights reserved.
CopyrightUrl: https://github.com/microsoft/winget-create/blob/main/LICENSE
Description: Windows Package Manager Manifest Creator is an Open Source tool designed
  to help developers create, update, and submit manifest files to the Windows Package
  Manager repository.
InstallModes:
- interactive
- silent
Installers:
- Architecture: neutral
  InstallerSha256: D2BD469FEAAF13B3FE753558AAE31920D8BA2653A763C4702C574B99875B2BA9
  InstallerType: msix
  InstallerUrl: https://github.com/microsoft/winget-create/releases/download/v<IP_ADDRESS>/Microsoft.WindowsPackageManagerManifestCreator_<IP_ADDRESS>_8wekyb3d8bbwe.msixbundle
  PackageFamilyName: Microsoft.WindowsPackageManagerManifestCreator_8wekyb3d8bbwe
  Scope: user
  SignatureSha256: 80C0C5698617EC1508427F7D17A1077D83ADA987E1724F866BFA223DBF757E59
  UpgradeBehavior: install
- Architecture: neutral
  InstallerSha256: 66975CCC272DD7F0C86EF888C9DD3A1B63C6B7B4E2827A7EB49F8263C0789B83
  InstallerType: portable
  InstallerUrl: https://github.com/microsoft/winget-create/releases/download/v<IP_ADDRESS>/wingetcreate.exe
License: MIT License
LicenseUrl: https://github.com/microsoft/winget-create/blob/main/LICENSE
ManifestType: merged
ManifestVersion: 1.2.0
MinimumOSVersion: 10.0.17763.0
Moniker: wingetcreate
PackageIdentifier: Microsoft.WingetCreate
PackageLocale: en-US
PackageName: Windows Package Manager Manifest Creator
PackageUrl: https://github.com/microsoft/winget-create
PackageVersion: <IP_ADDRESS>
PrivacyUrl: https://privacy.microsoft.com/privacystatement
Publisher: Microsoft Corporation
PublisherSupportUrl: https://github.com/microsoft/winget-create/issues
PublisherUrl: https://www.microsoft.com
ReleaseDate: 2022-08-05
ReleaseNotes: "This release includes v1.2 Schema support as well as logic to help
  generate and update manifests for portable packages.\nWe have also made improvements
  to address issues when submitting manifests to forked repos that are out of sync
  with the upstream repository.\nChanges:\n  \u2022 Fix null/empty filename string
  when downloading package file (#293)\n  \u2022 Add support for creating and updating
  portable manifests (#290)\n  \u2022 Sync fork prior to creating reference and handle
  NotFoundException (#289)\n  \u2022 always prompt for packageId (#288)\n  \u2022
  Add custom YamlDotNet emitter that makes all fields with newlines use literal style.
  (#281)\n  \u2022 Add support for 1.2 Schema (#270)"
ReleaseNotesUrl: https://github.com/microsoft/winget-create/releases/tag/v<IP_ADDRESS>
ShortDescription: The Windows Package Manager Manifest Creator command-line tool
Tags:
- command-line
- manifests-generator
- package-manager
- package-manifests
- winget
- winget-pkgs
- yaml

2022-11-21 11:06:31.733 [YAML] Detected UTF-8
2022-11-21 11:06:31.734 [CLI ] Manifest fields: Name [Windows Package Manager Manifest Creator], Version [<IP_ADDRESS>]
2022-11-21 11:06:31.736 [CLI ] Market Filter created with market: JP
2022-11-21 11:06:31.736 [CLI ] Locale Comparator created with Required Locales: [] , Preferred Locales: [en-US, ja]
2022-11-21 11:06:31.736 [CLI ] Starting installer selection.
2022-11-21 11:06:31.736 [CLI ] Installer [Neutral,msix,User,] is current best choice
2022-11-21 11:06:31.736 [CLI ] Installer [Neutral,msix,User,] is better than [Neutral,portable,Unknown,] due to: Scope
2022-11-21 11:06:31.736 [CLI ] Completed installer selection.
2022-11-21 11:06:31.736 [CLI ] Selected installer Architecture: 0
2022-11-21 11:06:31.736 [CLI ] Selected installer URL: https://github.com/microsoft/winget-create/releases/download/v<IP_ADDRESS>/Microsoft.WindowsPackageManagerManifestCreator_<IP_ADDRESS>_8wekyb3d8bbwe.msixbundle
2022-11-21 11:06:31.736 [CLI ] Selected installer InstallerType: msix
2022-11-21 11:06:31.736 [CLI ] Selected installer Scope: User
2022-11-21 11:06:31.736 [CLI ] Selected installer Language:
2022-11-21 11:06:53.306 [CLI ] Installer hash verified
2022-11-21 11:06:53.952 [CORE] Starting StagePackageAsync operation #1: https://github.com/microsoft/winget-create/releases/download/v<IP_ADDRESS>/Microsoft.WindowsPackageManagerManifestCreator_<IP_ADDRESS>_8wekyb3d8bbwe.msixbundle
2022-11-21 11:06:53.952 [CORE] Begin waiting for operation #1
2022-11-21 11:06:53.952 [CORE] Begin blocking for operation #1
2022-11-21 11:06:53.994 [CORE] Deployment operation #1: Deployment operation failed.
2022-11-21 11:06:53.995 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FFBA1587C74: (caller: 00007FFBA1588B0E) Exception(1) tid(7d58) 80072F9A     Msg:[Operation failed: Deployment operation failed.]

2022-11-21 11:06:53.996 [CORE] Starting RemovePackage operation #2: Microsoft.WindowsPackageManagerManifestCreator_<IP_ADDRESS>_neutral_~_8wekyb3d8bbwe
2022-11-21 11:06:54.000 [CORE] Begin waiting for operation #2
2022-11-21 11:06:54.000 [CORE] Begin blocking for operation #2
2022-11-21 11:06:54.044 [CORE] Deployment operation #2: Microsoft.WindowsPackageManagerManifestCreator_<IP_ADDRESS>_neutral_~_8wekyb3d8bbwe を削除できません。このパッケージは現在のユーザーによってインストールされていません。Get-AppxPackage を使用して、インストール済みのパッケージの一覧を確認してください。
2022-11-21 11:06:54.044 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FFBA1587C74: (caller: 00007FFBA1589284) Exception(2) tid(7d58) 80073CF1 Package was not found.
    Msg:[Operation failed: Microsoft.WindowsPackageManagerManifestCreator_<IP_ADDRESS>_neutral_~_8wekyb3d8bbwe を削除できません。このパッケージは現在のユーザーによってインストールされていません。Get-AppxPackage を使用して、インストール済みのパッケージの一覧を確認してください。]

2022-11-21 11:06:54.044 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(124)\WindowsPackageManager.dll!00007FFBA16F768E: (caller: 00007FFBA1589333) LogHr(1) tid(7d58) 80073CF1 Package was not found.
    Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FFBA1587C74: (caller: 00007FFBA1589284) Exception(2) tid(7d58) 80073CF1 Package was not found.
    Msg:[Operation failed: Microsoft.WindowsPackageManagerManifestCreator_<IP_ADDRESS>_neutral_~_8wekyb3d8bbwe を削除できません。このパッケージは現在のユーザーによってインストールされていません。Get-AppxPackage を使用して、インストール済みのパッケージの一覧を確認してください。]
]

2022-11-21 11:06:54.204 [CLI ] MSIX installer failed:<PHONE_NUMBER>
2022-11-21 11:06:54.205 [CLI ] Terminating context: 0x80072f9a at D:\a\_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\InstallFlow.cpp:193

Environment
Windows Package Manager v1.3.2691
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.819
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2691.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

This problem no longer occurs in my environment, so I am closing it.


Rename Transform::translate to Transform::position

translate implies that a relative translation is being performed, however this is not the case. Instead, an absolute position for the top-left corner of an object is given. For example, thing.translate(-1, -1) positions thing at (-1, -1). This change opens up the API to a proper translate() where something like thing.position(10, 10).translate(5, 5) would result in thing being at position (15, 15).

Closing. I think translate() is actually fine, as that's what it does for most things. Primitives can set a non-zero origin point, and translate will move relative to that. Fonts and images are also moved relative to their origin, but the origin is (0, 0).
As a convenience, it might be useful to add an .offset() method to allow for relative transforms. For example, to "wiggle" a primitive around the point (100, 100):
let circle = circle!((20, 20), 5).translate(Coord::new(100, 100));

loop {
    // Gets a relative positive or negative offset
    let offs = get_wiggle();

    display.draw(circle.offset(offs))
}

This is purely cosmetic, however; the above example could be achieved with just transform:
let circle = circle!((20, 20), 5);
let origin = Coord::new(100, 100);

loop {
    // Gets a relative positive or negative offset
    let offs = get_wiggle();

    display.draw(circle.transform(origin + offs))
}


1.c. Delete User Story

Deleting a user story can be necessary as a result of changed requirements or updated product scope. Deleted user stories should be stored in an archive like the recycle bin. A user of the system can delete a user story.
Priority: MEDIUM
Estimation: 1

And I also gave you the opportunity to resurrect the story.


Enable IAM Authentication for CloudSQL Proxy

This PR sets the enable_iam_login flag on CloudSQL Proxy, to enable automatic IAM database authentication. Since this just adds IAM capability, I didn't see any risks to need to wrap this addition in a conditional.
I've also added a few best practice too, CloudSQL Proxy health checks, and log improvements.

thanks @adamstrawson !


Action is green, but file is randomly not sent

Action is ALWAYS green. I'm outputting the permalink:
- name: testing slack upload
   run: 'echo ${{ fromJson(steps.slack_upload_file.outputs.response).files[0].file.permalink }}'

But one out of 5-6 times it's green, but no file is sent to the channel plus clicking the permalink clearly proves it failed (when it works, permalink does work fine)

I'd love to know any advices for debugging a bit better, or any ideas are widely appreciated. I've looked at the current issues =(

close by no response


Fixed Symbol.iterator not found

Hello!
I try to use your lib for svg shape conversions. My version of NodeJS doesn't support Symbol.iterator. You don't use Symbol in your source file, but Babel use it in compiled files.
It can be fixed by specifying loose: true for this plugin : http://babeljs.io/docs/plugins/transform-es2015-for-of/
The solution I propose is to use the es2015-subset-loose preset instead of the es2015. Tests are 100% OK with this preset on my computer.

Thanks for the PR!
Looks good to me. Could you rename your commit message something like fix(build): support Symbol.iterator, as this repo is using semantic release for automatic versioning and changelogs.


[Docs] The results of validation during training are inconsistent with the results of validation using test.py on ScanNet v2 dataset

Branch
main branch  https://mmdetection3d.readthedocs.io/en/latest/
📚 The doc issue
For the environment, I used mmdet3d==1.0.0rc3, mmcv-full==1.5.0, mmdet==2.24.1, mmsegmentation==0.30.0, torch==1.8.1
During training, I used the command as follows:
python tools/train.py configs/votenet/votenet_8x8_scannet-3d-18class.py
Then I get the results for the 1 epoch:
+----------------+---------+---------+---------+---------+
| classes        | AP_0.25 | AR_0.25 | AP_0.50 | AR_0.50 |
+----------------+---------+---------+---------+---------+
| cabinet        | 0.0709  | 0.6102  | 0.0047  | 0.1263  |
| bed            | 0.7858  | 0.9383  | 0.1531  | 0.4321  |
| chair          | 0.6624  | 0.8165  | 0.1696  | 0.3874  |
| sofa           | 0.5704  | 0.9072  | 0.2992  | 0.5773  |
| table          | 0.3508  | 0.7829  | 0.0495  | 0.2600  |
| door           | 0.0898  | 0.6124  | 0.0092  | 0.1242  |
| window         | 0.0152  | 0.4043  | 0.0001  | 0.0248  |
| bookshelf      | 0.1612  | 0.8701  | 0.0019  | 0.1169  |
| picture        | 0.0005  | 0.0676  | 0.0000  | 0.0045  |
| counter        | 0.0749  | 0.4615  | 0.0000  | 0.0192  |
| desk           | 0.4886  | 0.9291  | 0.0641  | 0.4016  |
| curtain        | 0.0735  | 0.6119  | 0.0000  | 0.0000  |
| refrigerator   | 0.0906  | 0.9123  | 0.0051  | 0.1930  |
| showercurtrain | 0.1649  | 0.7857  | 0.0098  | 0.1429  |
| toilet         | 0.7435  | 0.9655  | 0.3817  | 0.6034  |
| sink           | 0.0890  | 0.4286  | 0.0001  | 0.0204  |
| bathtub        | 0.2969  | 0.6129  | 0.0032  | 0.0323  |
| garbagebin     | 0.0742  | 0.4642  | 0.0011  | 0.0679  |
+----------------+---------+---------+---------+---------+
| Overall        | 0.2668  | 0.6767  | 0.0640  | 0.1963  |
+----------------+---------+---------+---------+---------+
When I used test.py and the weight of the 1 epoch to validate, I used the command as follows:
python tools/test.py configs/votenet/votenet_8x8_scannet-3d-18class.py work_dirs/votenet_8x8_scannet-3d-18class/epoch_1.pth --eval mAP
Then I get the results for the 1 epoch:
+----------------+---------+---------+---------+---------+
| classes        | AP_0.25 | AR_0.25 | AP_0.50 | AR_0.50 |
+----------------+---------+---------+---------+---------+
| cabinet        | 0.0794  | 0.6344  | 0.0032  | 0.1075  |
| bed            | 0.7322  | 0.9383  | 0.1411  | 0.3951  |
| chair          | 0.6614  | 0.8173  | 0.1636  | 0.3874  |
| sofa           | 0.4917  | 0.9278  | 0.2106  | 0.4948  |
| table          | 0.3441  | 0.8057  | 0.0692  | 0.2686  |
| door           | 0.0869  | 0.6210  | 0.0070  | 0.1478  |
| window         | 0.0215  | 0.4539  | 0.0000  | 0.0284  |
| bookshelf      | 0.1492  | 0.8701  | 0.0035  | 0.1558  |
| picture        | 0.0004  | 0.0631  | 0.0002  | 0.0045  |
| counter        | 0.0568  | 0.4231  | 0.0002  | 0.0577  |
| desk           | 0.4855  | 0.9291  | 0.0525  | 0.3543  |
| curtain        | 0.0505  | 0.6716  | 0.0000  | 0.0149  |
| refrigerator   | 0.0709  | 0.8947  | 0.0003  | 0.1404  |
| showercurtrain | 0.1829  | 0.8571  | 0.0015  | 0.0714  |
| toilet         | 0.7080  | 0.9483  | 0.3943  | 0.6552  |
| sink           | 0.1596  | 0.5306  | 0.0080  | 0.0510  |
| bathtub        | 0.2003  | 0.4839  | 0.0323  | 0.0323  |
| garbagebin     | 0.0760  | 0.4830  | 0.0015  | 0.0868  |
+----------------+---------+---------+---------+---------+
| Overall        | 0.2532  | 0.6863  | 0.0605  | 0.1919  |
+----------------+---------+---------+---------+---------+
From the above results, they are not the same. When I used other weights to validate or other version of mmdet3d to train and validate, this issue still occurs. Where did this problem occur and how should I solve it? Hope to get your reply, thank you!
Suggest a potential alternative/fix
No response

Hi I am having the same issue for the ScanNetv2 dataset. Have you found the reason for this?


[nethost] Update nethost

Describe the pull request

What does your PR fix?
Addressed the issue with static library. The previous version was pushed long ago, back then __declspec(dllimport) was unconditionally enabled on the nethost.h when compiling Windows platform, which hampers its use as static library: https://github.com/dotnet/runtime/blob/188427d7e18102c45fc6d0e20c135e226f215992/src/installer/corehost/cli/nethost/nethost.h#L12
This PR updates the version of referenced .NET code base to .NET 6, which has a better support for static library: https://github.com/dotnet/runtime/blob/70ae3df4a6f3c92fb6b315afc405edd10ff38579/src/native/corehost/nethost/nethost.h#L15
This PR also adds imported targets, allowing users to find_package() and then target_link_library directly, without having to manually set up include directories or compiler definitions

Which triplets are supported/not supported? Have you updated the CI baseline?
Triplet and CI baseline should be same as before, although personally I couldn't test all platforms.

Does your PR follow the maintainer guide?
I guess yes

If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?
Yes

If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

I have updated the deprecated functions, for example replacing vcpkg_configure_cmake with vcpkg_cmake_configure, however now the build fails, saying "Unknown CMake command: vcpkg_cmake_configure"...
https://dev.azure.com/vcpkg/public/_build/results?buildId=72951&view=logs&j=878666d5-db33-5b27-9e7d-b0c7ee352005&t=3980505e-92f5-53ef-75a8-4f2e70b97516&l=6015

@lanyizi  New functions need dependencies, add dependencies in vcpkg.json:
  "dependencies": [
    {
      "name": "vcpkg-cmake",
      "host": true
    },
    {
      "name": "vcpkg-cmake-config",
      "host": true
    }
  ],

I found that for upstream they don't want nethost to export both dynamic and static libraries. https://github.com/dotnet/runtime/blob/55e2378d86841ec766ee21d5e504d7724c39b53b/src/native/corehost/nethost/nethost.h#L13.
There is nothing wrong with using the macro NETHOST_USE_AS_STATIC to differentiate, but can we add an option
like -DBUILD_SHARED or -DBUILD_STATIC to differentiate the usage of the exported library?(Maybe this way of yours is better, I'm not sure. I am testing your usage) 🤔

can we add an option
like -DBUILD_SHARED or -DBUILD_STATIC to differentiate the usage of the exported library?

Don't invent a new option. Just leverage BUILD_SHARED_LIBS.
https://cmake.org/cmake/help/latest/variable/BUILD_SHARED_LIBS.html

Don't invent a new option. Just leverage BUILD_SHARED_LIBS. https://cmake.org/cmake/help/latest/variable/BUILD_SHARED_LIBS.html

I feel BUILD_SHARED_LIBS won't have any effect when building the nethost, because upstream explicitly defined shared / dynamic targets which are being built at the same time...
https://github.com/dotnet/runtime/blob/v6.0.5/src/native/corehost/lib.cmake
https://github.com/dotnet/runtime/blob/v6.0.5/src/native/corehost/lib_static.cmake

I feel BUILD_SHARED_LIBS won't have any effect when building the nethost, because upstream explicitly defined shared / dynamic targets which are being built at the same time...

Yes, this CMake anti-pattern is known from other ports. But vcpkg wants only one variant per triplet.

You can add patches which use BUILD_SHARED_LIBS for if/else in the CMake build system.
BUILD_SHARED_LIBS is already passed by vcpkg as needed by the triplet.
You can give a usage example which makes use of generator expressions to select the library name.
Example: Port zstd, https://github.com/microsoft/vcpkg/blob/d953973cfbfeaf8022f5219fbabb0bdf9defb706/ports/zstd/usage#L1-L4

You can give a usage example which makes use of generator expressions to select the library name.
Example: Port zstd, https://github.com/microsoft/vcpkg/blob/d953973cfbfeaf8022f5219fbabb0bdf9defb706/ports/zstd/usage#L1-L4

I feel this is easier to do for me (

cc @JackBoosY to review again.

Never mind the requests, did you test the usage locally?

Yes, I tested it with both x86-windows and x86-windows-static triplet
If needed I think I could also test x64-windows, but personally I can't test on other platforms (arm or linux)

Thanks for the rework! I have merged the new commit into PR

@ras0219-msft Hi! I noticed there was some build errors, for example now the static build didn't include(../lib.cmake) anymore, however lib.cmake introduced some source files which are needed by the static build as well.
I edited the patch file so those source files are added to static target too.


Show Manage Tab only if User has access to perform any action underneath

Right now we show Manage tab for all the users even if they do not have access to perform any actions under that tab
To avoid confusion, instead of blocking user, we should not show Manage tab if user does not have any permission to perform the actions there

CC: @harshach @vivekratnavel @devyani-kaushik

Closing this as we have removed the manage tab.


Wrap lifecycle hooks and other operations in start/stop log messages

Recently Codespaces has gotten several reports where the root cause was difficult to debug.  It would be useful if the logs emitted from the CLI clearly mark the start and end of a lifecycle script - perhaps like the following:
---  starting to execute 'postCreateCommand' script 'foo'

... foo output...

--- 'postCreateCommand' script 'foo' exited code 0

This would be particularly helpful in cases where foo does not emit any logs.

It might be even better if we can prefix the log lines (in the file-based logging, not the live TTY terminal stream) with the lifecycle hook name:
2022-08-17 20:53:45.123Z: Starting to execute 'postCreateCommand' script 'foo'
2022-08-17 20:53:46.234Z: [postCreateCommand] ... foo output...
2022-08-17 20:53:47.456Z: [postCreateCommand] ... foo output...
2022-08-17 20:53:48.789Z: 'postCreateCommand' script 'foo' exited code 0


KAFKA-9778: Add validateConnector functionality to the EmbeddedConnectCluster

A validate endpoint should be added to enables the integration testing of validation functionalities, including validation success and assertion of specific error messages.
This PR adds a method validateConnectorConfig to the EmbeddedConnectCluster that pings the /config/validate endpoint with the given configurations. More about the endpoint here.
With this addition, the validations for the connector can be tested in a similar way integration tests currently use the configureConnector method, for ex: connect.configureConnector(CONNECTOR_NAME, props);. The validation call would look like: ConfigInfos validateResponse = connect.validateConnectorConfig(CONNECTOR_CLASS_NAME, props);.

ok to test

@dosvath this seems quite good now. I'll wait for the builder to run with all the tests.
Do you mind creating a jira ticket, since this is a change that we might want to refer to in the future to the project's jira board?

retest this please

@dosvath this seems quite good now. I'll wait for the builder to run with all the tests.
Do you mind creating a jira ticket, since this is a change that we might want to refer to in the future to the project's jira board?

Sounds good, added ticket.

@dosvath please correct the description to contain a link to the docs here:
https://kafka.apache.org/documentation/

Nice PR!
a small question: the serialization exception is converted to ConnectException but the deserialization exception isn't.  why is it?
        try {
            content = mapper.writeValueAsString(connConfig);
        } catch (IOException e) {
            throw new ConnectException("Could not serialize connector configuration and execute PUT request");
        }

     * @throws JsonProcessingException if the response failed to deserialize into a {@link ConfigInfos} instance
     * @throws ConnectRestException if the REST api returns error status
     * @throws ConnectException if the configuration fails to be serialized or if the request could not be sent
     */
    public ConfigInfos validateConnectorConfig(String connClassName, Map<String, String> connConfig)
        throws JsonProcessingException {
        String url = endpointForResource(String.format("connector-plugins/%s/config/validate", connClassName));
        return new ObjectMapper().readValue(putConnectorConfig(url, connConfig), ConfigInfos.class);
    }

That's a good observation @chia7712 . The build also failed for the same reason.
@dosvath, as @chia7712 suggested, lets do what we do in configureConnector w/r/t json exceptions. Additionally, it'd nicer to use this new method in a few places, in order to test it, but also to avoid having it as unused in the code, even though projects that depend on Connect's integration testing framework will find this method useful as is.
I'd suggest using it twice, one time with an invalid config (in which case you'd inspect the ConfigInfos return object) and one time with a correct one. This can happen in the two test cases: ExampleConnectIntegrationTest#testSourceConnector and ExampleConnectIntegrationTest#testSinkConnector, just before the actual calls to configureConnector. This integration test class seems the most appropriate to exercise this new method.

That's a good observation @chia7712 . The build also failed for the same reason.
@dosvath, as @chia7712 suggested, lets do what we do in configureConnector w/r/t json exceptions. Additionally, it'd nicer to use this new method in a few places, in order to test it, but also to avoid having it as unused in the code, even though projects that depend on Connect's integration testing framework will find this method useful as is.
I'd suggest using it twice, one time with an invalid config (in which case you'd inspect the ConfigInfos return object) and one time with a correct one. This can happen in the two test cases: ExampleConnectIntegrationTest#testSourceConnector and ExampleConnectIntegrationTest#testSinkConnector, just before the actual calls to configureConnector. This integration test class seems the most appropriate to exercise this new method.

@chia7712 @kkonstantine Thanks for the review and suggestions, I updated the PR.

[ant:checkstyle] [ERROR] /home/chia7712/kafka/connect/runtime/src/test/java/org/apache/kafka/connect/util/clusters/EmbeddedConnectCluster.java:19:1: Disallowed import - com.fasterxml.jackson.core.JsonProcessingException. [ImportControl]
[ant:checkstyle] [ERROR] /home/chia7712/kafka/connect/runtime/src/test/java/org/apache/kafka/connect/util/clusters/EmbeddedConnectCluster.java:19:8: Unused import - com.fasterxml.jackson.core.JsonProcessingException. [UnusedImports]
[ant:checkstyle] [ERROR] /home/chia7712/kafka/connect/runtime/src/test/java/org/apache/kafka/connect/util/clusters/EmbeddedConnectCluster.java:24:8: Unused import - org.apache.kafka.connect.runtime.Connect. [UnusedImports]
[ant:checkstyle] [ERROR] /home/chia7712/kafka/connect/runtime/src/test/java/org/apache/kafka/connect/util/clusters/EmbeddedConnectCluster.java:299:9: 'try' is not followed by whitespace. [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/chia7712/kafka/connect/runtime/src/test/java/org/apache/kafka/connect/util/clusters/EmbeddedConnectCluster.java:299:12: '{' is not preceded with whitespace. [WhitespaceAround]

+1 after fixing above checkstyle error :)

Thanks for adding this method to the test @dosvath
Now, only remaining item I see is to make sure that using this method does not result in flaky tests.
To help with that, I'd suggest adding a respective assertion in EmbeddedConnectClusterAssertions.
For example, a method called EmbeddedConnectClusterAssertions#assertExactlyNumErrorsOnConnectorConfigValidation(int numErrors, String detailMessage)
that will call your new method within a waitForCondition loop.
By doing so, we can assert what you added in the tests (the errorCount) in a more safe way. A transient environmental error (500 for example) won't cause the test to fail. The connector validation should be deterministic as well as its expectation w/r/t the returned number of errors.
Of course, for other use cases, validateConnectorConfig will remain available to the writers of integration tests as is. Wdyt?

Sounds great, adding that function to the EmbeddedConnectClusterAssertions will make this assertion more consistent with the existing ones. I updated the PR.

retest this please

One flaky test failure and a weird abrupt interruption of the build on JDK11. I'll try once more.

retest this please


allow builds with system SQLITE3

required for Input on MacOS see https://github.com/lutraconsulting/input/commit/785c397f87abe5d3f4dce3e08dd9e1b8eda962d3

@wonder-sk changed cmake flag to WITH_INTERNAL_SQLITE3


Withdraw resource when vm creation failed

What type of PR is this?

/kind feature

What this PR does / why we need it:
This PR proposes to withdraw site (cluster) resource allocated to a pod when the pod's vm creation is failed.
Which issue(s) this PR fixes:
Fixes #286
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE
How to test
~/go/src/k8s.io/arktos$./hack/globalscheduler/globalscheduler-up.sh
open a new terminal
$cd ~/go/src/k8s.io/arktos/globalscheduler/test/yaml
$kubectl apply -f sample_6_clusters.yaml
$kubectl apply -f sample_2_schedulers.yaml
$kubectl apply -f sample_2_distributors.yaml
$kubectl apply -f sample_2_dispatchers.yaml
$kubectl apply -f sample_6_pods.yaml
$kubectl get pods

Reopen

tried reopen

Reopen
Duplicate of
Duplicate of #298

reopen


Request VM stop upon exit

If we get an escape-q sequence, SIGINT or SIGTERM, request the VM to stop (i.e. graceful shutdown, simulates pressing the power button) and wait for a configurable timeout before forcing a shutdown. This should let most Linux VMs shut down properly when quitting. Sending SIGPIPE or SIGHUP still offers a way to exit the VM immediately/uncleanly.
This also fixes issues with the signal handling where some signals weren't handled as intended (signals can't be bitwise ORed together).
I also had to remove the @available(macOS 12, *) on line 136 as it was causing a compilation error: stored properties cannot be marked potentially unavailable with '@available' when compiling with Xcode 14 on macOS 12.6. I'm not normally writing Swift, so please double-check this :)

This would be a very nice-to-have patch in the main branch.
How can we help to move it forward @gyf304 ?
🙇

Sorry for not staying on top of this. Merged.


[PRM-978] - Added batch job processing (retrieval + sending of notifications)

Waiting on #4
This PR adds the functionality to retrieve and send notifications - it then returns the result and logs any issues

App config base PR: https://github.com/hmrc/app-config-base/pull/6634

test this please


Multiple selection bug

Hi,
Just to let you know about a bug that shows when one tries to play a multiple selection of audio files from Google Drive.
The Music Player displays the following message: "Your playlist is empty. Add some music".
You have to go back and try again selecting the files, and then the player recognizes them.
Thanks in advance for your concern.
Best regards.

Thanks for the report. I just pushed a new version with a bunch of bug fixes. It seems that this is working fine now so I am closing this issue. Please let me though if the issue is still happening for you.


ScrollingLabel is broken

Hello,
I was trying out the ScrollingLabel as explained in the ScrollingLabel example provided in the documentation here. In the documentation there are several examples of usage, but none of them work. For example, if I try the first example in the documentation, the app fails to open and I get an error message:

Expected Behaviour:
The app should start, and the label should scroll
Current Behaviour:
The app fails to start with a JS error.
I will submit a PR to fix this.

Issue fixed in version 1.2.4


Use generated github token form pull_request comment

Hi,
There is two Github API call in this action:

one for trigger remote workflow with a specific PAT token
one for pull_request comments.

By design, Github token has access to pull_request comment
I thin it's better to use autogenerated github token for pull request comments. Moreover, we didn't need comments pull request on remote repository.
What do you think about it ?
Here is test repo for my fork
Regards
Gaetan

I like this but I would want it to fallback to INPUT_GITHUB_TOKEN if INPUT_COMMENT_GITHUB_TOKEN is not supplied.

Pulled this in as part of #74.
Thank you for your contribution!!


Metadata from dependant libraries not included in output

(I'm using code from master, which I believe includes the recent reflection changes)
I have two Bridge libraries, TestFramework and Tests. Tests has a reference to TestFramework. When TestFramework builds, it outputs a .meta.js file. However, this file never makes it to the output of Tests:

combineScripts: true - Tests.js ends up with the reflection metadata for  the Tests project, but not for the TestRunner project.
combineScripts: false then Tests.meta.js has the reflection metadata for the Tests project, but there is no TestRunner.meta.js

So it seems that no matter what I do, I am unable to get the reflection metadata for the referenced project.
Is this a bug, or is there something else I need to do?

This is likely the defect we discovered that I was mentioning in gitter.
The fix is being worked on in the Html2 branch and should be merged into master soon.

@DanTup, can you provide a list of projects with its config, outputs and required results.
Is it something like:

ProjectA

{ "combineScripts": false }
bridge.js, A.js , A.meta.js

ProjectB references ProjectA

{ "combineScripts": true }
B.js (including bridge.js, A.js, A.meta.js, B.js, B.meta.js)

@geoffreymcgill I thought it might and found that branch after posting (though it mentioned source maps so I then wasn't sure).
@LeonidVeriga Give me 10 mins and I'll strip this project down and attach it. It does have some custom config to control the output that might be related.

@LeonidVeriga Ok, upon stripping it down it seems to be caused by my Bridhe.json in TestRunner being like this:
{
  "fileName": "TestRunner.js",
  "resources": [
    {
      "output": "./",
      "name": "TestRunner.js",
      "files": [ "$(OutputPath)/Bridge/TestRunner.js" ]
    },
    {
      "name": "TestRunner.html",
      "files": [ "Client/TestRunner.html" ]
    }
  ]
}

My guess is that including the resources section means that I need to also list the .meta file to ensure it's included? I figured it would work like the .min file and not need including, however that could be because you're re-minifying from the original rather than it's being embedded.
So I can probably fix it by doing:
      "files": [ "$(OutputPath)/Bridge/TestRunner.js", "$(OutputPath)/Bridge/TestRunner.meta.js" ]

Can you confirm if that's expected?

@geoffreymcgill Confirmed this is expected behaviour with the metadata changes, so this is not a bug. Adding the file to the resource list has solved my issue.

@DanTup, Yes, if there is a resources section in you config then Compiler embeds the files listed in the resources (the only files). If there is no any resource items then Compiler applies the default behavior (embedding all the outputs).


Optionally delete intermediate files

The intermediate files are kept always. We should have an option to delete them automatically

This is now the case in 0.2.3rc3 although the default is to keep (except for vol_X_face_Y.stl). Using the remove_inermediate_files boolean flag in the assembly class


How to change required field to not required

Hello!!!
When I try to add a new product, I don't wanna add Price Promotion. But I can't add any product without Price Promotion beacuse of Required input. How Can I change the input from required to not required!?

@Shayboniyshoh  Try it https://github.com/s-cart/s-cart/commit/c3446c8a6feb06ab8721fd63c6d82f59f8939eee#diff-ab8a937b369777105e684c244c4fab9fR865


Prep for multiple container image stores

For now, this is effectively a no-op as it only implements a store for
the current ostree container implementation.
Beyond some minor code movement and plumbing, this also only handles
the store implementation backing the bootc status command.
Additional image store functionality (check, pull, delete, etc.) will
be added in future changes in order to keep things smaller and more
manageable.

Rough draft of how I envision this might work.  One notable thing is that this version does not use async at all, however I expect that will probably become necessary when we add future backends (it started to creep in over in #215).  Things were starting to get unwieldy here with async because of things like Deployment being both !Send and !Sync so it'd require a bit more iterating on to get right.  But the existing backend doesn't currently need it so this works for a minimal example.

Notable changes since last version:

General renaming of things from "backend" to "store" or some variation thereof, mostly to align with ostree_ext::container::store.  Plus I think "image store" is more reflective of what this actually is.
Added store::Storage struct which wraps SysrootLock and a ContainerImageStoreImpl re: previous feedback.  This also is Deref for SysrootLock so we don't have to change that absolutely everywhere.
spec::BootEntry now has a store field so we can expose it in the host status
Added store::load re: previous feedback and removed store implementations for things other than Deployment.  Folded the origin bits under Deployment.

Ok, rebased, added the alias, and added a test.


seeder for progress

There is progress seeder in Cart package, needs to be moved

@pa-cholek this is ready ?


nix copy no-check-sigs flag is broken

Describe the bug
I am going through the motions of setting up a binary cache on S3 using nix copy.
At first I did the following:
nix copy ---to s3://fmzakari-nixcache $(nix-build --no-out-link lolhello.nix)

This actually uploaded the NAR for glibc & lolhello (my custom derivation).
I have not setup a signing key however and it did not emit any warning.
When trying to later realise the derivation; it failed due to invalid signing key.
nix-store -r /nix/store/0y46qcgwmk8r0djq50qi57rbl6di6csk-lolhello --option substituters s3://fmzakari-nixcache
these paths will be fetched (0.03 MiB download, 0.18 MiB unpacked):
  /nix/store/0y46qcgwmk8r0djq50qi57rbl6di6csk-lolhello
warning: substituter 's3://fmzakari-nixcache' does not have a valid signature for path '/nix/store/0y46qcgwmk8r0djq50qi57rbl6di6csk-lolhello'

Expected behavior
nix copy should fail when --no-check-sigs is not present and no signing key is present
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 5.6.14-1rodete2-amd64, Debian GNU/Linux, noversion`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.4`
 - channels(fmzakari): `"home-manager, nixpkgs-20.09pre234236.c87c474b17a"`
 - nixpkgs: `/home/fmzakari/.nix-defexpr/channels/nixpkgs`

Any issues concerning Nix itself should be reported on its own issue tracker over at https://github.com/NixOS/nix

Whoops -- I will close and re-open sorry.


Add support for std::optional

The below seems to be missing from mserialize and needs to be added manually by the user
namespace mserialize { namespace detail {
  template <typename T> struct is_optional<std::optional<T>> : std::true_type {};
}}

Correct, this is because std::optional is there since C++17, and binlog is purely C++14, to reduce testing burden (i.e: test each branch of preprocessor conditions). However, in the long run, new vocabulary types (optional, variant) and common types (filesystem::path) should be supported.

In the short term do you think adding an include/binlog/binlogCpp17.hpp would make sense? This wouldn't be included by include/binlog/binlog.hpp and therefore would maintain C++14 support in binlog but allow users who are on C++17 to opt in to C++17 features? Alternatively some nasty #ifdefs could be setup to try and detect the C++ std version. Doing that manually with bringing in boost config as dependency wouldn't be ideal through.

I'm thinking about adding include/binlog/adapt_stdoptional.hpp, that unconditionally includes <optional>, free to be included by C++17 clients and tests. The same could be done later for boost equivalents, if needed.
The only question is, whether binlog.hpp should include these, if __cplusplus indicates C++17 or greater.


Issues/dharmik 8460 ios build against ios 15

Details

Fixed Issues

$ 8460
Tests

Basic Information & task is only related iOS application live:
https://github.com/Expensify/App/issues/8460#issuecomment-1092718039

[x] Verify that no errors appear in the JS console

PR Review Checklist

Contributor (PR Author) Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] iOS / native

[x] I verified there are no console errors (if there’s a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained “why” the code was doing something instead of only explaining “what” the code was doing.
[x] I verified any copy / text shown in the product was added in all src/languages/* files
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by tagging the marketing team on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named “index.js”. All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] Any functional components have the displayName property
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose and it is

[x] If a new CSS style is added I verified that:

[x] A similar style doesn’t already exist
[x] The style can’t be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.

PR Reviewer Checklist

[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

[x] iOS / native
[ ] Android / native
[ ] iOS / Safari
[ ] Android / Chrome
[ ] MacOS / Chrome
[ ] MacOS / Desktop

[x] I verified there are no console errors (if there’s a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained “why” the code was doing something instead of only explaining “what” the code was doing.
[x] I verified any copy / text shown in the product was added in all src/languages/* files
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by tagging the marketing team on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named “index.js”. All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] Any functional components have the displayName property
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose and it is broken down into smaller components in order to separate concerns and functions

[x] If a new CSS style is added I verified that:

[x] A similar style doesn’t already exist
[x] The style can’t be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.

QA Steps

Test the application with Xcode version 13.2.1

[x] Verify that no errors appear in the JS console

Video

https://user-images.githubusercontent.com/1510175/164325382-25a0ad7a-73d6-456f-8774-ab23eaa51db8.mov
Mine current xcode version:

After update xcode version do some testing so record video. Video is too long so I upload it on drive and share link
BuildVideoFrom_13.2.1

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

Just sent an internal email, and Slack post reminding everyone to update to XCode 13.

🚀 Deployed to staging by @Julesssss in version: 1.1.57-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Julesssss are you able to validate this internally. I am not sure we can QA Web with specific Xcode versions?

I tested this locally, going to check it off the checklist.

@Julesssss are you able to validate this internally. I am not sure we can QA Web with specific Xcode versions?

Sorry, I missed this notification somehow


v1/api/sites doesn't work.

It says
{"detail":"Not Found"}

https://fastapi-ryuk-me.cloud.okteto.net/api/v1/sites
Its is working fork again this repo / redeploy


[New Feature] Add data index clearing capability

This PR adds the ability for a user to clear or wipe the default data streams (logs & metrics) via the elastic-container.sh cli using the new "clear" option. This option comes in handy when you want your stack to remain persistent but want to start fresh, in terms of data, at a particular time.

Resolves #11


fixed unwanted elements in homepage and double occurence of email in …

Related Issue
Fixes #1804
Description
Fixed unwanted elements on top of booklist for swapping webpage and fixed double occurrence of email in footer of the webpage.

Type of PR

[X] Bug fix

Screenshots / videos (if applicable)

Checklist:

[X] I have made this change from my own.
[X] I have taken help from some online resources.
[X] My code follows the style guidelines of this project.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] I have made corresponding changes to the documentation.
[X] My changes generate no new warnings.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers and screenshots after making the changes.

Creating a new PR


[build-support] Don'b build SourceKit-LSP verbosely if verbose is not specified

At the moment SourceKit-LSP and IndexstoreDB always build verbosely. However, they should only build verbose if --verbose is specified in the build-script invocation.

@swift-ci Please smoke test

preset=buildbot_sourcekitlsp_macos
@swift-ci Please test with preset macOS

Needs to be rebased, but otherwise LGTM

Looks like I already merged this in https://github.com/apple/swift/pull/27934


add support for mingw

As mingw lacks strptime, it would be good that support could be provided to use this very handy module under mingw.

Following the answer in the link, you'd need to build the related C routines and tm_struct along with your app before linking with datetime.
This is outside of scope for datetime-fortran, but I'm curious about your solution and it may be useful for other mingw users.


How to install on mac

How to install on mac

a short guide is in the README.md

@davidmann4 Close request? xD

:O


Beta

Review the commit on this branch as individual PR.
Regrouping:

#217 - fixes: #102
#218 - fixes: #175
#220 - fixes: #141 & #183

~test on flutter channel master~
last commit fixes: #230

The initial glfw.WaitEvents()(the one before the event loop) has been removed.
I didn't liked the workaround and it might be the causes to #230.
The following warning can still occur:
[ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: 'package:flutter/src/gestures/converter.dart': Failed assertion: line 359 pos 20: '_pointers.containsKey(datum.device)': is not true.
#0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:40:39)
#1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
#2      PointerEventConverter.expand (package:flutter/src/gestures/converter.dart:359:20)
#3      _SyncIterator.moveNext (dart:core-patch/core_patch.dart:144:12)
#4      ListQueue.addAll (dart:collection/queue.dart:655:25)
#5      _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:84:27)
#6      _rootRunUnary (dart:async/zone.dart:1136:13)
#7      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#8      _CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7)
#9      _invoke1 (dart:ui/hooks.dart:252:10)
#10     _dispatchPointerDataPacket (dart:ui/hooks.dart:161:5)

fixes: #230

This Branch is compatible with flutter channel beta.
Asking for review!

Failure to compile for windows? #245


Update getting started link

Hello,
The /docs/demo docs site path linked from the repo README appears to no longer be supported.
I've proposed having the repo README link to the /docs/tutorials path that seems to have replaced it, but I could see linking to a particular demo as well.
Thanks,
Andrew
NONE

Oh, looks like I need to close this out to follow the VMW contributor CLA instructions. Sorry about the noise.


Instantiate Notifier in HelixAccountServiceFactory ctor

Instantiate Notifier in HelixAccountServiceFactory ctor rather than
pass args.
Move zkClientConnectString from HelixPropertyStoreConfig to
HelixAccountServiceConfig
./gralew build && ./gradlew test succeeded.

PR #965 will use the same HelixAccountServiceConfig changed in this PR.

Codecov Report

Merging #1003 into master will increase coverage by 0.03%.
The diff coverage is 54.54%.

@@             Coverage Diff              @@
##             master    #1003      +/-   ##
============================================
+ Coverage     68.19%   68.22%   +0.03%
- Complexity     4647     4651       +4
============================================
  Files           378      378
  Lines         29645    29640       -5
  Branches       3761     3761
============================================
+ Hits          20217    20223       +6
+ Misses         8407     8398       -9
+ Partials       1021     1019       -2

Impacted Files
Coverage Δ
Complexity Δ

....github.ambry/config/HelixPropertyStoreConfig.java
100% <ø> (ø)
1 <0> (ø)
:arrow_down:

...va/com.github.ambry/account/AccountUpdateTool.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...rc/main/java/com.github.ambry.rest/RestServer.java
98.01% <100%> (+1.23%)
13 <0> (ø)
:arrow_down:

...github.ambry/config/HelixAccountServiceConfig.java
100% <100%> (ø)
1 <0> (ø)
:arrow_down:

.../account/InMemoryUnknownAccountServiceFactory.java
100% <100%> (ø)
2 <0> (ø)
:arrow_down:

...thub/ambry/account/HelixAccountServiceFactory.java
30.43% <50%> (-1.39%)
1 <0> (ø)

...n/java/com.github.ambry.commons/HelixNotifier.java
81.33% <50%> (ø)
15 <0> (ø)
:arrow_down:

.../main/java/com.github.ambry.router/EncryptJob.java
92.1% <0%> (-5.27%)
4% <0%> (-1%)

...github.ambry.rest/AsyncRequestResponseHandler.java
88.59% <0%> (-2.29%)
23% <0%> (ø)

...in/java/com.github.ambry.store/BlobStoreStats.java
69.45% <0%> (-1.44%)
80% <0%> (-2%)

... and 9 more

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 0c8a059...d8b52fa. Read the comment docs.


_input events slow

Godot version:
f11a1385054376bdc4cc01e6aa20d63508a5e6d4
OS/device including version:
Linux 4.14.8-1-ARCH
Mesa 17.3.0
Xorg 1.19.5-1
Intel Core I7-2600
AMD Radeon RX-480
16 GiB Ram
Issue description:
When using the "_input" function to process events, there is a noticeable delay when vsync is enabled. The delay is greater than the "delta" passed to "_process" and "_physics_process". If vsync locks the framerate to 60Hz, "delta" is around ~0.017s.  When handling InputEventMouseMotion, "_input" is only polled around ~0.033s. This introduces perceptible stuttering when using the mouse to control a first-person camera.
Currently, I found a workaround by forcing 60 fps (project settings) when enabling vsync. I presume that monitors with different refresh-rates would use different values.
Edit:
I used the following code to measure the time between function calls:
onready var last = OS.get_ticks_msec();
onready var now = OS.get_ticks_msec();

func _input(event):
    if event is InputEventMouseMotion:
        last = now;
        now = OS.get_ticks_msec();
        print((now - last) / 1000.0);

[X] I searched the existing GitHub issues for potential duplicates.

Well, not sure if this is a bug. The delay is just the delay between mouse motion movements at the physical mouse/wrist level. To do pixel perfect movements with no stutter (that is controlled by a mouse's position), it'd have to updated in _process

Thanks for the suggestion. I'm now retrieving the mouse position whenever _process is called on the object. It still seems strange to me. I believe that my mouse polls much faster than 30Hz at the physical level. I'm not savvy of how the hardware works, so I could also be wrong. =P

From Godot's source code, it looks as if _input basically gets called every time the operating systems delivers an input event. This shouldn't be affected by vsync settings. Strange.

I wonder if something (like a mutex/condition_variable) is blocking event handling when it shouldn't be. I'm not familiar enough with Godot's source code to say. I'll boot into Windows tomorrow to see if this only affects Linux/only my computer.

Yes, that would be interesting I guess.

Okay, so I did some investigating. I found out that this only happens when DRI3 is used on Linux. I forced Xorg back to DRI2 and "_input" updates at the current framerate. This fixes the stuttering issue.
I also found that a workaround by adding these lines:
1795     int target_fps = Engine::get_singleton()->get_target_fps();
1796     if (target_fps > 0) {
1797         uint64_t time_step = 1000000L / target_fps;
1798         target_ticks += time_step;
1799         uint64_t current_ticks = OS::get_singleton()->get_ticks_usec();
1800         if (current_ticks < target_ticks) OS::get_singleton()->delay_usec(target_ticks - current_ticks);
1801         current_ticks = OS::get_singleton()->get_ticks_usec();
1802         target_ticks = MIN(MAX(target_ticks, current_ticks - time_step), current_ticks + time_step);
1803+    } else {
1804+        OS::get_singleton()->delay_usec(1000L);
1805+    }

I am unsure if it should be added because it seems like a DRI issue, but I think that most AMD/Intel GPUs are using DRI-3 by default.

"This was superseded by the jitter fix, so closing"
by reduz in #15159
so I've close it, because I guess its fixed, feel free to ask for reopen if it still happens


BDCB_IMAGEFLAGS_FAILED_CODE_INTEGRITY should be mentioned

Hi,
I looked at ntddk.h in the vicinity of _BDCB_IMAGE_INFORMATION and found that there is in fact a symbolic name for bit 1 of the _BDCB_IMAGE_INFORMATION::ImageFlags field. It would be nice to mention that in the documentation.
It would also be nice to assign a symbolic name to bit 0. (probably not a task for the doc writer, though)
Excerpt from ntddk.h:
//
// BDCB_IMAGE_INFORMATION ImageFlags.
//

#define BDCB_IMAGEFLAGS_FAILED_CODE_INTEGRITY   (1UL << 0)

Assuming this flag didn't exist in earlier incarnations of the Windows 10 WDK (I don't have earlier WDKs on this machine) it's easy for us driver writers to guard against such a case, say, by doing this in our own code (after including ntddk.h):
#ifndef BDCB_IMAGEFLAGS_FAILED_CODE_INTEGRITY
#define BDCB_IMAGEFLAGS_FAILED_CODE_INTEGRITY   (1UL << 0)
#endif

Thanks and with best regards,
Oliver

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

ID: 4080585d-6e46-b6c7-115d-dfa97477eb33
Version Independent ID: 181e5da7-4032-e667-31af-14460bf72d4a
Content: _BDCB_IMAGE_INFORMATION
Content Source: wdk-ddi-src/content/ntddk/ns-ntddk-_bdcb_image_information.md
Product: windows-hardware
GitHub Login: @windows-driver-content
Microsoft Alias: windowsdriverdev

Thanks, @cyren-oschneider
@PageWriter-MSFT can you please look into this and also passing the one comment to the dev team?

Added the symbolic name to the doc page.  The update will go live later today.


ignore dividers in items list when auto-adding validator

The email address you have sent to @.*** is for a legacy domain and will shortly be removed.
Please update your address book and send to the same address but having removed .gsi. from the domain part.
Mail to the legacy addresses will stop working in a few weeks.


Is an Intel build on the roadmap?

Due diligence

[X] I have done my due diligence in trying to find the answer myself.

Topic
The MLX implementation
Question
Will there ever be a release for this for an IntelChipset?
If so; where will this exist on a roadmap?

This sounds more like a MLX question: our MLX implementation doesn't have anything specific to apple silicon so if MLX start supporting computer with intel chipsets (and the associated gpus) at some point, moshi should benefit from it.


nsc-events-nextjs _ sprint-5 _ 273 _qa-testing

Resolves #273
Issues partially solves issue 252 by installing Jest as a testing suite for the frontend of nsc events. I plan on writing the test here shortly.
Please run npm install on console to get the new dependencies installed please.
The following screen shot shows the jest config file:

This file contains the presets and directory address to be able to run the test. We also turn on jest.setup.js in order to call in the testing library. The following screen shot shows this:

This pull request simply installs Jest as a testing suite that can be used running npm run test or npm run test:coverage.

@Bejarano03 Are you available on Monday, Tuesday or Thursday so we can work on it together? I feel a litte confused after install the Jest. Thank you.

I am going to close out this pull request, and start a new branch and submit a pull request when I have some more unit tests created. Thank you for the reviews!


add batch support for contractions

We lost this ability when removing experiments and BatchTensorNetwork. I think we should add it back.

Is this something beyond what tf.vectorized_map and jax.vmap can do?

actually, it seems no. I'll close this then

It would still be useful in a numpy backend.

right, I see.

It would still be useful in a numpy backend.

Supporting batch contractions with a pytorch backend would be really useful too!