Fix dns warn log: pod name missing if it is not static pod

metadata.Name is "" if pod is not static pod, the result like 2019-10-12T02:06:26.599936Z	warn	"perf/"'s DNSPolicy is not "ClusterFirst". The Envoy sidecar may not able to connect to Istio Pilot.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[X] User Experience
[ ] Developer Infrastructure

@kebe7jun: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gencheck_istio
4eab083d8407671c3e914b17086eb48b35d33d94
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kebe7jun: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gencheck_istio
4eab083d8407671c3e914b17086eb48b35d33d94
link
/test gencheck_istio

integ-new-install-k8s-tests_istio
4eab083d8407671c3e914b17086eb48b35d33d94
link
/test integ-new-install-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kebe7jun: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gencheck_istio
4eab083d8407671c3e914b17086eb48b35d33d94
link
/test gencheck_istio

integ-new-install-k8s-tests_istio
4eab083d8407671c3e914b17086eb48b35d33d94
link
/test integ-new-install-k8s-tests_istio

integ-security-k8s-tests_istio
4eab083d8407671c3e914b17086eb48b35d33d94
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@kebe7jun: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
4eab083d8407671c3e914b17086eb48b35d33d94
link
/test integ-security-k8s-tests_istio

integ-new-install-k8s-tests_istio
4eab083d8407671c3e914b17086eb48b35d33d94
link
/test integ-new-install-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kebe7jun: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-tests_istio
4eab083d8407671c3e914b17086eb48b35d33d94
link
/test integ-new-install-k8s-tests_istio

lint_istio
4eab083d8407671c3e914b17086eb48b35d33d94
link
/test lint_istio

unit-tests_istio
4eab083d8407671c3e914b17086eb48b35d33d94
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@kebe7jun: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-tests_istio
4eab083d8407671c3e914b17086eb48b35d33d94
link
/test integ-new-install-k8s-tests_istio

lint_istio
4eab083d8407671c3e914b17086eb48b35d33d94
link
/test lint_istio

unit-tests_istio
4eab083d8407671c3e914b17086eb48b35d33d94
link
/test unit-tests_istio

e2e-simpleTestsMinProfile_istio
4eab083d8407671c3e914b17086eb48b35d33d94
link
/test e2e-simpleTestsMinProfile_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Join tables and other horrible things

Mainly implemented join tables and query services.

AmberDbResultMapper was updated to take into account that inheritance is 2 levels now, since some classes have been changed to extend from File and Work.
Join tables for the following relationships were created:

Copy <=> File (copy_file)
Parent <=> Child (parent_child)
Work <=> DeliveryWork (work_deliverywork)
Work <=> Section (work_section)

Models and query services were created for above tables in the relation package.
AmberSession modified to manage an instance of new DAOs. Possibly not the best thing to do this on init(). Could probably do this on getXxxDao() instead.
Abstract base class AmberPreCommitHook no longer deals with Lists of vertices, edges and properties, but subclasses of AmberModel. NEEDS LOTS OF REGRESSION TESTING!! Especially AggregateDurationDeliveryWorkCommitHook because it relied heavily on Edges.

Pre-commit hooks were updated to use updated and relocated AmberPreCommitHook.

Renamed TestUtils to AmberDbTestUtils so JUnit4 wouldn't pick it up and try to run it as a test.

TODO

Fill out the missing CRUD methods in some of the DAOs.
Clean up TODOs in Copy and Work models since many of them are done by the query services now.
Finish off TODOs in AmberSession

👍 👍 👍 👍 👍 👍 👍 👍


Adding Quotes Token

Description :
An exchange with the capability of conducting B2B transactions but with a new method.
Official website: https://quotestoken.com/
Bscscan: https://bscscan.com/token/0x4730604acf4312eba6977826456ff5365517388a
Twitter: https://twitter.com/qtstoken
Telegram: https://t.me/quotestoken
Instagram: https://instagram.com/quotestoken

Hello,
Is there anything we need to do to add our token?
BestRegards.

At this point this repo is not supporting BSC tokens

At this point this repo is not supporting BSC tokens

please check again

Hey @mmirabi @quotestoken  as mentioned unfortunately this repository is not supporting BSC tokens


Add specification of Read Ups

@codeclimate/review @mrb
Outlines how engines should emit Read Ups.

Couple minor things but otherwise LGTM

@brynary updated. Also added a link to the Markdown docs.


Binding value as PDO::PARAM_INT has different behaviour in PHP 7.2 + MysqlConnection

When binding a value against a MySQL PDO statement, the behaviour between PHP 7.1 and PHP 7.2 differs. When you bind a value as integer while passing a float, this was no problem with PHP7.1. However, it became a problem in PHP7.2.
The problem is when executing the following. It inserts 0.5 in PHP7.1, and 0 in PHP7.2. I have tested this against MariaDB (10.1 and 10.2), not against MySQL. Another person also found difference in behaviour: https://stackoverflow.com/questions/54413798/pdoparam-int-behaviour-in-php-7-1-php-7-2.
$stmt = $pdo->prepare('INSERT INTO tbl (val) VALUES (?)');
$stmt->bindValue(1, 0.5, PDO::PARAM_INT);

This PR fixes that issue. Moreover, it includes tests for the possible PDO::PARAM_XXX used my the bindValue method in MysqlConnection.
Because I am wondering if this is intended behaviour of PHP, I also opened a PHP bug report for it. Nonetheless, I think that using PDO::PARAM_STR is better for floating points than using PDO::PARAM_INT.

If someone wants to test this (e.g. on a MySQL instead of MariaDB server), you can use the following script.

Hmm, I just found out that this caused a pain already and has been discussed multiple times. I have learned so far that PDO::PARAM_INT is used because of JSON comparison (#16069 and #16063) and that other people already submitted issues for the same problem I have #23850, #27596 and #25818.

The commit in the PHP source that is causing is the following one and this is the related bug report.

Don't think we can do this for reasons noted in other issues. I assume you are using EMULATE_PREPARES?


I have scenario what if MailChimp admin change intereste grouping name

Dear Sir,
I just try to prove of concept to work with MailChimp
I have the following scenario
If mailChimp Admin create interest group as flowed
Details:News Letter
and has 3 sub groups G1,G2,G3
If the admin join an account(X) to G1 my system can sync this but if the admin change group G1 to Group1
how I can link the two subgroups to change in my database side?
currently I delete G1 and create another Group with Group1 and I lost the relation between the account(X) and Goup1(old name G1)

I'm so sorry @gamien -- I'm not sure I understand your question.  Can you restate it in a different way?

I mean how I can sync inner interest groups(may called labels or subgroups) while the inner interest group without primary id to use as identifier.
Off course I can't use the name as identifier because admin can change it


Add masking to header

We have this for the body but not the header, but that is crucial for whistleblowing.

Added in 05ac39baa97bdc08b4ed6cf762b1e6d0e6919f6e.


Add a Jenkins plugin to expose embeddable build status icons

I find that I sometimes add a link to a manually triggered build
in the comments of a pull request.
This plugin will allow the link to be rendered as an image showing
the status of the build, saving some clicks.
https://wiki.jenkins-ci.org/display/JENKINS/Embeddable+Build+Status+Plugin

Review by @SethTisue / @adriaanm

This doesn't seem to work; I can see the image when logged in to Jenkins, but otherwise I get a 404.
⚡ curl --verbose 'https://scala-ci.typesafe.com/buildStatus/icon?job=scala-2.12.x-validate-main&build=374'
*   Trying <IP_ADDRESS>...
* Connected to scala-ci.typesafe.com (<IP_ADDRESS>) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
* Server certificate: scala-ci.typesafe.com
* Server certificate: COMODO RSA Organization Validation Secure Server CA
* Server certificate: COMODO RSA Certification Authority
* Server certificate: AddTrust External CA Root
> GET /buildStatus/icon?job=scala-2.12.x-validate-main&build=374 HTTP/1.1
> Host: scala-ci.typesafe.com
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Server: nginx/1.6.2
< Date: Tue, 25 Aug 2015 06:02:09 GMT
< Content-Length: 0
< Connection: keep-alive
< X-Content-Type-Options: nosniff
<
* Connection #0 to host scala-ci.typesafe.com left intact

See: https://issues.jenkins-ci.org/browse/JENKINS-17798

I found "View Status" under Jenkins -> Global Security -> Authorization -> Matrix-based security.
However I am trying to use the GitHub Committer auth strategy instead of Matrix. If you find a way of
getting it to work with github oauth please post here.


[question] Secure Inclusion is successful but Secure shows No?

I'm trying to use Secure Inclusion to add some Z-Wave devices to my network.
It appears to be successful because the devices are added but on the control panel under the Secure column they are listed as "No".
Am I misunderstanding the Secure column?
For example, one device is a GE Outdoor Smart Switch.  It supports S2 Encryption and I believe when I added this using other Z-Wave hubs I needed to enter a number listed on a sticker inside the box?
However I'm also having the same issue with other devices such as Zooz ZEN27 light switches which also support S2.

door sensor say "Unknown" under the Secure column

Please check that the network key is properly set up. This seems to me like it isn't.
And yeah, driver logs please :)

Please check that the network key is properly configured. This seems to me like it isn't.

The network key is that same one I initially set up the zwavejs add-on with back on 5/24/21, and it's the same one I backed up and successfully used to migrate to zwavejs2mqtt back on 6/1/21. Here is the driver log from the last day my locks responded to remote lock and unlock commands, which is the same day I noticed the "Unknown" status first started appearing later that evening:
zwavejs_2021-06-21.log.gz
Also, I have included a lot more information in this zwavejs2mqtt issue I just opened last night in the Home Assistant Core GitHub project: https://github.com/home-assistant/core/issues/52103

I'm confused ... @robertsLando said S2 isn't supported but it looks like this issue is being investigated?

I'm confused ... @robertsLando said S2 isn't supported but it looks like this issue is being investigated?

I'm new to Zwave, so I'm not sure if my network was running on S0 or S2. However, I am sure it was running with some sort of security because the secure command classes of my devices were available for almost a month before this issue started three days ago. Now my devices are barely usable without the advanced features that are only available on a secure Zwave network.

I'm confused ... @robertsLando said S2 isn't supported but it looks like this issue is being investigated?

S2 is not supported, therefore a value of "Yes" for the "Secure" column in zwavejs2mqtt indicates the node was included with Security S0.
Newer devices like this GE and Zen27 only support Security S2, and not S0. Some devices support both S0 and S2, but it isn't mandatory. Locks are an exception, the are required to support S0 (at least until 2020, maybe later) for backwards compatibility with "older" gateways.
The problem with the lock is unrelated to this issue.

@smizles Your log looks relatively normal. Sometimes the devices are a bit overeager in re-requesting a nonce (you're running on S0), which might cause a little bit of delay. To figure out why the nodes's security statuses are shown as "unknown", I'd need to see a log of a startup where it doesn't work anymore.

I'm confused ... @robertsLando said S2 isn't supported but it looks like this issue is being investigated?

S2 is not supported, therefore a value of "Yes" for the "Secure" column in zwavejs2mqtt indicates the node was included with Security S0.
Newer devices like this GE and Zen27 only support Security S2, and not S0. Some devices support both S0 and S2, but it isn't mandatory. Locks are an exception, the are required to support S0 (at least until 2020, maybe later) for backwards compatibility with "older" gateways.
The problem with the lock is unrelated to this issue.

Thanks very much for the explanation.  I believe this explains the behavior I'm seeing.  Thanks!

I've done a bunch of the S2 work already, but some parts are still missing. There are a couple of issues I'll have to tackle first because they make the experience worse for many.

I also have this behavior with a Direct Wire Indoor/Outdoor smart switch from GE which only supports S2.
@AlCalzone Let me know If I can help at all with testing devices when the Zwavejs PR completed or up for review.

I should have enough S2-compatible devices to test, but you can follow the S2 PR to stay updated #1136. Once it is merged, a couple tests won't hurt.


Missing AdminQueries parameter causing Amplify Push to fail after updating to CLI v4.50.0

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
14.16.1
Amplify CLI Version
4.5
What operating system are you using?
Mac Big  Sur  11.3
Amplify Categories
auth, storage, function, api, analytics, hosting, interactions, predictions
Amplify Commands
push
Describe the bug
After upgrade to CLI v 4.5 and running amplify push, I receive the error:
APIGatewayAuthStack        AWS::CloudFormation::Stack Wed Apr 28 2021 23:21:41 GMT-0400 (Eastern Daylight Time) Parameters: [AdminQueries] do not exist in the template
I tried to manually add the parameter to APIGatewayAuthStack.json as...
"AdminQueries": {
"Type": "String"
}
However, when I re-run 'amplify push' the parameter is removed at the start of the push operation resulting in the same error. I have had the AdminQueries API successfully enabled for a number of months now without issue.
Expected behavior
I would expect the parameter to either remain in the template or be automatically added by the CLI if AdminQueries  API is  in use.
Reproduction steps

Ran npm i -g @aws-amplify/cli  to upgrade from 4.49.0 to 4.50.0
Attempted an amplify push command
Received the error re: AdminQueries parameter
Added the parameter to APIGatewayAuthStack.json
parameter was removed  during a subsequent amplify push

GraphQL schema(s)

# Put schemas below this line

Log output

# Put your logs below this line

Additional information
No response

Thank you for the report @casendler. I'm going to close this as a duplicate of https://github.com/aws-amplify/amplify-cli/issues/7201, but please feel free to engage there.


[Feature]: Add support for the net7.0 TFMs on the Frameworks tab

Related Problem
.NET 7 GA's in November (this month). Let's get net7.0, net7.0-windows etc showing on the Frameworks tab, as computed frameworks.
The asset framework (meaning a net7.0 asset is in the package) shows up fine:

But the computed frameworks do not.

The Elevator Pitch
Add net7.0 and the corresponding OS-specific frameworks to the Frameworks tab.
According to @JonDouglas and in the docs, the set of OS-specific frameworks is the same as net6.0.
Additional Context and Details
No response

This is complete.


Can I use this app on my video camera ax40？

As far as I know, nobody has ever tried that. I think you should be able to install the app, but you probably won't be able to open it, as the AX40 doesn't have an app launcher (similar to #58).
Please try it out and let us know!

2016年6月18日星期六，ma1co<EMAIL_ADDRESS>写道：

As far as I know, nobody has ever tried that. I think you should be able
to install the app, but you probably won't be able to open it, as the AX40
doesn't have an app launcher (similar to #58
https://github.com/ma1co/OpenMemories-Tweak/issues/58).
Please try it out and let us know!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ma1co/OpenMemories-Tweak/issues/72#issuecomment-226867157,
or mute the thread
https://github.com/notifications/unsubscribe/ATEisW5Nwr0RL8oTN5Mdv2gZjO3KQ6Gcks5qMvxigaJpZM4I4j1c
.

I tried. l can't find the app.
2016年6月18日星期六，ma1co<EMAIL_ADDRESS>写道：

As far as I know, nobody has ever tried that. I think you should be able
to install the app, but you probably won't be able to open it, as the AX40
doesn't have an app launcher (similar to #58
https://github.com/ma1co/OpenMemories-Tweak/issues/58).
Please try it out and let us know!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ma1co/OpenMemories-Tweak/issues/72#issuecomment-226867157,
or mute the thread
https://github.com/notifications/unsubscribe/ATEisW5Nwr0RL8oTN5Mdv2gZjO3KQ6Gcks5qMvxigaJpZM4I4j1c
.

l want to unlock  the language setting. Any other way?
2016年6月18日星期六，rixing feng<EMAIL_ADDRESS>写道：

I tried. l can't find the app.
2016年6月18日星期六，ma1co<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> 写道：

As far as I know, nobody has ever tried that. I think you should be able
to install the app, but you probably won't be able to open it, as the AX40
doesn't have an app launcher (similar to #58
https://github.com/ma1co/OpenMemories-Tweak/issues/58).
Please try it out and let us know!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ma1co/OpenMemories-Tweak/issues/72#issuecomment-226867157,
or mute the thread
https://github.com/notifications/unsubscribe/ATEisW5Nwr0RL8oTN5Mdv2gZjO3KQ6Gcks5qMvxigaJpZM4I4j1c
.

Have you tried the console tool? Donwload it and run pmca install.

I do not known how to use it.
2016-06-25 18:10 GMT+08:00 ma1co<EMAIL_ADDRESS>
Have you tried the console tool
https://github.com/ma1co/Sony-PMCA-RE/releases? Donwload it and run pmca
install.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ma1co/OpenMemories-Tweak/issues/72#issuecomment-228528874,
or mute the thread
https://github.com/notifications/unsubscribe/ATEisf6DZXjLDUIqiLiwC9vUGJqaelZvks5qPP6ngaJpZM4I4j1c
.

Tested.
I am getting this result.
See if it might help.
https://github.com/ma1co/Sony-PMCA-RE/issues/12

Can you add a7r3？I want to test it.
2016年6月18日星期六，ma1co<EMAIL_ADDRESS>写道：

As far as I know, nobody has ever tried that. I think you should be able
to install the app, but you probably won't be able to open it, as the AX40
doesn't have an app launcher (similar to #58
https://github.com/ma1co/OpenMemories-Tweak/issues/58).
Please try it out and let us know!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ma1co/OpenMemories-Tweak/issues/72#issuecomment-226867157,
or mute the thread
https://github.com/notifications/unsubscribe/ATEisW5Nwr0RL8oTN5Mdv2gZjO3KQ6Gcks5qMvxigaJpZM4I4j1c
.


Error: Unable to import module 'process_cert_manager_mail': No module named requests

Lambda can't find the Requests module which isn't bundled in your repo. I'm not a Python expert - is it expected to be installed already in Lambda?

Hi @nford,
the requests package is a python package which is downloaded and added to the final zip file during the build (see deploy.sh line 14 ). If you use s3://is24-infrastructure-public/cloudformation/verified-ssl-certificate/lambda_functions.zip it's already included.
Hope this helps.

It does indeed, thank you. Since I'm integrating this as a nested stack within a larger deployment I hadn't looked at the deploy.sh file because judging by name it wasn't relevant for my case. Thanks again.


Unable to reverse proxy to localhost

Checklist

Please read the setup instructions
Please read the FAQ

What is troubling you?
I have Nginx Proxy Manager as my 1st point of entry into my Virtual Private Server for 80,443 which then routes out to the various containers  I have running on the same server. I have the Forward Hostname / IP set to the IP address of my VPS and the port of the container.
Since Docker exposes all the container ports to the open internet, I want to bind my containers ports to localhost  to not have a bunch of ports exposed on my VPS: ie. Port configuration <IP_ADDRESS>:3001 -> 80/tcp
Unfortunately, when I do this, I am no longer able to reverse proxy to my containers. On my VPS, I can verify I am able to access <IP_ADDRESS>:3000 but the reverse proxy no longer works.
I've even tried setting the Forward Hostname/IP and port to <IP_ADDRESS>: but that results in a 502 error.
I figure this is because the nginx reverse proxy container cannot access localhost in that way, but even using the IP address of my VPS no longer works.
Does anyone have a solution?

I think I found a solution:

Create new docker network
Create new container for the service you want to reverse proxy, and only expose the necessary port (ie. no port forwarding).
Add nginx-reverse-proxy container and the newly created container to the new network.
The host field can now use the IP that is assigned to the container.

Seems to work, is there any problem or security issues with doing it this way?

Thanks I was looking for this. I wanted to use my docker containers from a subdomain, without exposing any ports.
Security wise it should be ok because this is also how linuxserver.io letsencrypt container works (but you lose all the sweet nginx manager ui) but I'm still a beginner at this so I wouldn't trust this 100%.
For anyone wanting to do this, e.g. redirecting whoogle.mydomain.tld to your whoogle container, without exposing any port to the network:

create a docker network, either by hand or by specifying it in a docker-compose.yml file or by using a default network ( if your docker-compose.yml is in a folder called ngix-manager, _default is appended to it for the network name -> ngix-manager_default, check with docker network ls your networks), also all the services  in the same docker-compose.yml or in the same folder get linked to the same network

add all the containers you want to manage from nginx manager to the same network by appending this into their docker-compose.yml:

version: '2'
services:
  whoogle:
    .....
    networks:
      - ngix-manager_default

networks:
  ngix-manager_default:
    external: true

N.B. : remove all the ports since we don't want to expose them, but note them down

Spin up with docker-compose up -d your containers

Create a new proxy host in nginx manager, add your subdomain, in forward hostname put your service name (whoogle here) and in forward port the port you noted in step 2 (5000 for whoogle). Add you SSL settings and you're done.

Are you guys having talking about the same issue I just reported?
https://github.com/jc21/nginx-proxy-manager/issues/588

@LivingWithHippos @jc21 Thank you sooo much! Have been struggling 2 days to set this up using the nginx-proxy docker image in combination with the letsencrypt-nginx-proxy-companion... And I'm sure I added the network too, but somehow it didn't work. Even with a dozen restarts, etc... Was almost wondering if it was the WSL2 setup breaking things. And now with nginx-proxy-manager in combination with this post it WORKS  🎉 🙇♂

I am able to see the login page, but I am unable to actually login (no message, just clears the form) when I try to access Docker containers which are running on the localhost. It works fine when I'm not restricting them with any IP's, but as soon as I do, I see the login screen, but it will not let me login anymore. Tested with Portainer and NPM itself. Running 2.7.1. As soon as I set access back to public again it works. In the IP's I have declared my external IP, my internal range, and I've tried including the Docker network IP's, still doesn't work. Am I missing something?

@LivingWithHippos @jc21 Thank you sooo much! Have been struggling 2 days to set this up using the nginx-proxy docker image in combination with the letsencrypt-nginx-proxy-companion... And I'm sure I added the network too, but somehow it didn't work. Even with a dozen restarts, etc... Was almost wondering if it was the WSL2 setup breaking things. And now with nginx-proxy-manager in combination with this post it WORKS 🎉 🙇♂
EDIT: Don't mean to blame any other packet with this post. jwilder/nginx-proxy is also a great package. Just like etsencrypt-nginx-proxy-companion. But this packages makes it easier to quickly test some settings!

I'm also using WSL2...  I was having a ton of issues/could not get this to work until I defined a network in docker-compose, and applied it to the service, and NPM.  I've since deleted the defined network and everything works fine, whereas I was getting 502 errors before.
@LivingWithHippos I'm also a super newb, but I believe instead of trying to remember all of these ports you've removed, you can use expose:
`
expose:

1234
56
78
`
And this is actually a way of documenting the special ports your services need in docker-compose without actually exposing it to the host machine.

@LivingWithHippos @jc21 Thank you sooo much! Have been struggling 2 days to set this up using the nginx-proxy docker image in combination with the letsencrypt-nginx-proxy-companion... And I'm sure I added the network too, but somehow it didn't work. Even with a dozen restarts, etc... Was almost wondering if it was the WSL2 setup breaking things. And now with nginx-proxy-manager in combination with this post it WORKS 🎉 🙇♂
EDIT: Don't mean to blame any other packet with this post. jwilder/nginx-proxy is also a great package. Just like etsencrypt-nginx-proxy-companion. But this packages makes it easier to quickly test some settings!

I'm also using WSL2...  I was having a ton of issues/could not get this to work until I defined a network in docker-compose, and applied it to the service, and NPM.  I've since deleted the defined network and everything works fine, whereas I was getting 502 errors before.
@LivingWithHippos I'm also a super newb, but I believe instead of trying to remember all of these ports you've removed, you can use expose:
`
expose:

1234
56
78
`
And this is actually a way of documenting the special ports your services need in docker-compose without actually exposing it to the host machine.

@LivingWithHippos @jc21 Thank you sooo much! Have been struggling 2 days to set this up using the nginx-proxy docker image in combination with the letsencrypt-nginx-proxy-companion... And I'm sure I added the network too, but somehow it didn't work. Even with a dozen restarts, etc... Was almost wondering if it was the WSL2 setup breaking things. And now with nginx-proxy-manager in combination with this post it WORKS 🎉 🙇♂
EDIT: Don't mean to blame any other packet with this post. jwilder/nginx-proxy is also a great package. Just like etsencrypt-nginx-proxy-companion. But this packages makes it easier to quickly test some settings!

I'm also using WSL2...  I was having a ton of issues/could not get this to work until I defined a network in docker-compose, and applied it to the service, and NPM.  I've since deleted the defined network and everything works fine, whereas I was getting 502 errors before.
@LivingWithHippos I'm also a super newb, but I believe instead of trying to remember all of these ports you've removed, you can use expose:
expose:
  - 1234
  - 56
  - 78

And this is actually a way of documenting the special ports your services need in docker-compose without actually exposing it to the host machine.

@LivingWithHippos @jc21 Thank you sooo much! Have been struggling 2 days to set this up using the nginx-proxy docker image in combination with the letsencrypt-nginx-proxy-companion... And I'm sure I added the network too, but somehow it didn't work. Even with a dozen restarts, etc... Was almost wondering if it was the WSL2 setup breaking things. And now with nginx-proxy-manager in combination with this post it WORKS 🎉 🙇♂
EDIT: Don't mean to blame any other packet with this post. jwilder/nginx-proxy is also a great package. Just like etsencrypt-nginx-proxy-companion. But this packages makes it easier to quickly test some settings!

I'm also using WSL2...  I was having a ton of issues/could not get this to work until I defined a network in docker-compose, and applied it to the service, and NPM.  I've since deleted the defined network and everything works fine, whereas I was getting 502 errors before.
@LivingWithHippos I'm also a super newb, but I believe instead of trying to remember all of these ports you've removed, you can use expose:
expose:
  - 1234
  - 56
  - 78

And this is actually a way of documenting the special ports your services need in docker-compose without actually exposing it to the host machine.

@ZacKeilholz  I started simply commenting out the ports, it's  even faster when you use already-made compose files, but it's nice to know expose.
    #ports:
    #  - 8080:2368

Another trick I started using is adding a separate network for the backend service that doesn't need exposition to the proxy.
version: '3.1'

services:
  ghost:
    image: ghost:3-alpine
    ...
    networks:
      - ngix-manager_default
      - backend

  mysql:
    image: mysql:5
    ...
    networks:
      - backend

networks:
  letsencrypt_default:
    external: true
  backend:
    name: ghost_backend
    driver: bridge

@ZacKeilholz  I started simply commenting out the ports, it's  even faster when you use already-made compose files, but it's nice to know expose.
    #ports:
    #  - 8080:2368

Another trick I started using is adding a separate network for the backend service that doesn't need exposition to the proxy.
version: '3.1'

services:
  ghost:
    image: ghost:3-alpine
    ...
    networks:
      - ngix-manager_default
      - backend

  mysql:
    image: mysql:5
    ...
    networks:
      - backend

networks:
  letsencrypt_default:
    external: true
  backend:
    name: ghost_backend
    driver: bridge

Hi there,
Whilst adding all of your containers to a network in an option, what would be the best thing to do in a situation where a non-dockerised service is running on the host and exposing a port bound to <IP_ADDRESS>?
An example of such a service could be a server management panel which binds to <IP_ADDRESS>:10000 which I would then like to proxy to a subdomain via NGINX proxy manager.

Hi there,
Whilst adding all of your containers to a network in an option, what would be the best thing to do in a situation where a non-dockerised service is running on the host and exposing a port bound to <IP_ADDRESS>?
An example of such a service could be a server management panel which binds to <IP_ADDRESS>:10000 which I would then like to proxy to a subdomain via NGINX proxy manager.

That's just the normal use of nginx proxy manager, you put the subdomain you want and <IP_ADDRESS>:10000 as redirect destination

Hi there,
Whilst adding all of your containers to a network in an option, what would be the best thing to do in a situation where a non-dockerised service is running on the host and exposing a port bound to <IP_ADDRESS>?
An example of such a service could be a server management panel which binds to <IP_ADDRESS>:10000 which I would then like to proxy to a subdomain via NGINX proxy manager.

That's just the normal use of nginx proxy manager, you put the subdomain you want and <IP_ADDRESS>:10000 as redirect destination

As a simple to reproduce test, I have installed Apache2 on the host machine outside of docker using apt-get, and configured it for <IP_ADDRESS>:8080
If I got to mydomain.com:8080 I am able to sucessfully access the Apache web server, however when proxying http://<IP_ADDRESS>:8080 | HTTP only | Public in NGINX proxy manager, the status is Online but I get a 502 Bad Gateway error upon access.
Is this a misconfiguration on my behalf or is something not working?

My bad, the point of adding nginx to the same network of the service you want to proxy still stands. To let docker see local host you have to play with the network mode. Using network_mode=host won't isolate the docker network from the host network. It works only for Linux. You can also look up host.docker.internal:host-gateway
Untested

I'll give this a try. My only concern is I don't know how secure this would be. I assume if I use host networking, the system firewall will work against the container and allow me to block any ports that should not be exposed on the hosts IP, as I believe internally 3000 is used by nginx proxy manager.
I shall test this tomorrow and reply with my findings, thanks for the suggestion!

I have now tested this and the system firewall properly protects all of the internal ports of NPM, and I am also able to use services proxied through it. Seems all good, will update this issue if I notice any... issues 😂

In my case I was trying to forward proxy to the host machine that nginx-proxy-manager was running on but using an ssh forward port tunnel. The trick that worked for me was to use the public address of the host and make sure GatewayPorts is set to clientspecified in the sshd config /etc/ssh/sshd_confi and had to make sure my host and port was accessible from the internet.
https://superuser.com/a/591963/373302
Probably not the best way to do it, but it worked.

I think the "problem" is understanding, so when you try to forward <IP_ADDRESS>, what you are telling NPM is to use localhost OF THE NPM CONTAINER and nothing is hosted there, but you are thinking to forward localhost of the host machine. Try this to confirm thinking docker exec -it <npm-container> bash and then curl <IP_ADDRESS>:port you'll see there is nothing there.
I have no answer how to access host's localhost inside of npm container. Obviously docker networking must be involved

I think the "problem" is understanding, so when you try to forward <IP_ADDRESS>, what you are telling NPM is to use localhost OF THE NPM CONTAINER and nothing is hosted there, but you are thinking to forward localhost of the host machine. Try this to confirm thinking docker exec -it <npm-container> bash and then curl <IP_ADDRESS>:port you'll see there is nothing there.
I have no answer how to access host's localhost inside of npm container. Obviously docker networking must be involved

Hello, I am now two years older and wiser since I last replied to this issue.
The way to do it on Windows and macOS is to use the domain host.docker.internal to access services on the host machine.
As of the time of this reply, host.docker.internal is not supported on Linux hosts, so my previous reply of using host networking mode is the only workaround I'm aware of.
I no longer use NPM, I have learned it is mostly always easier to just write the NGINX config myself. It's really not as scary as people think, and quite easy to learn, and a lot more reliable and flexible.

I was answering for other noobs like me who host from VPS :) Another info. Let say we have a domain.net
when we run containers in default port 8080:80 then we expose 8080 to the public because bind is to <IP_ADDRESS> so can access domain.net:8080 (I know this if funny basics to the gurus) so one may want to run docker port <IP_ADDRESS>:8080:80 to bind to host's internal network thus prevent exposing domain.net:8080 the desired thing, and we are going back to original "Unable to reverse proxy to localhost". So in order not to expose a port to the public be to be able to host via NPM, we can run a container bind to docker0 and by default this is <IP_ADDRESS> so can run a container port <IP_ADDRESS>:8080:80, this way we bind to docker0 that is not exposed to the public (at least should not be) but then NPM can access it, so we create forward proxy for <IP_ADDRESS>:8080
hope this will help someone at least to understand the basics of networking (I'm still learning :/)

I was answering for other noobs like me who host from VPS :) Another info. Let say we have a domain.net
when we run containers in default port 8080:80 then we expose 8080 to the public because bind is to <IP_ADDRESS> so can access domain.net:8080 (I know this if funny basics to the gurus) so one may want to run docker port <IP_ADDRESS>:8080:80 to bind to host's internal network thus prevent exposing domain.net:8080 the desired thing, and we are going back to original "Unable to reverse proxy to localhost". So in order not to expose a port to the public and to be able to host via NPM, we can run a container bind to docker0 and by default this is <IP_ADDRESS> so can run a container port <IP_ADDRESS>:8080:80, this way we bind to docker0 that is not exposed to the public (at least should not be) but then NPM can access it, so we create forward proxy for <IP_ADDRESS>:8080
But if run UFW you must add port 8080 otherwise NPM still won't be able to connect, and this is strange because "normally" docker containers ignore UFW firewall
hope this will help someone at least to understand the basics of networking (I'm still learning :/)

I can't exactly say this is a method I have tested before, but binding to <IP_ADDRESS> definitely is, and I'd still recommend host networking mode when doing that personally.
Less complex, pretty sure it doesn't have negative implications when compared to the other method you laid out. I'd love to know if it does though.

I like the NPM interface and the easy security certification setup with Let's Encrypt so I didn't want to get rid of it. So the following steps describe the solution that worked for me.

Create a new network in docker: docker network create npmnet
Add the npmnet network as the default one in the docker-compose.yml file from NPM and every service managed by it.

version: '3'

# ...service parameters

networks:
  default:
    external: true
    name: npmnet

Dont forget to remove even the ports or the expose attributes from the same file.
Restart NPM and all the other services:

docker compose down && docke compose up -d ;

Inspect the network to verify that the services are linked

docker network inspect npmnet

You will see something like
[
    {
        "Name": "npmnet",
        ...
        "Containers": {
            "....": {
                "Name": "service-1",
                "EndpointID": "...",
                "MacAddress": "...",
                "IPv4Address": "<IP_ADDRESS>/16",
                "IPv6Address": ""
            },
            "....": {
                "Name": "service-2",
                "EndpointID": "...",
                "MacAddress": "...",
                "IPv4Address": "<IP_ADDRESS>/16",
                "IPv6Address": ""
            },
            "....": {
                "Name": "npm",
                "EndpointID": "...",
                "MacAddress": "...",
                "IPv4Address": "<IP_ADDRESS>/16",
                "IPv6Address": ""
            }
        },
        ...
    }
]

As you can see each service has assigned an IP in the same subnetwork.  You can verify it by accessing the NPM container and ping any service in the same network.
6. Now, log in to the NPM's dashboard and for every proxy already setup change the Forward Hostname / IP* to the one defined in the npmnet network, for example for service-1 the IP should be <IP_ADDRESS> and the Forward Port * to 80.
That's it, the services are isolated to only the bridge docker network.

Note! Just to ensure everything is set up correctly I would run a port scan with nmap.

I've had everything working smoothly for months but am now getting a 504 error and a upstream timed out (110: Connection timed out) while connecting to upstream error. Previously I was just directing NPM to my computers IP:Port, but now all of a sudden it doesn't work. host.docker.internal does work for local containers, but what about containers that are on different machines on the same network? For some reason NPM doesn't see any other computers on my local network.

Just a small tip I'm using now. Probably not the best, but at least I could re-configure easily IPs at once for many hosts.
Creating a file under data/nginx/custom/http_top.conf:
map $host $server {     default "<IP_ADDRESS>"; }
map $host $otherhost {     default "xx.xx.xx.xx"; }
Then using $server or $otherhost as the variable of each "Forward Hostname / IP".
Same applies in case you have a distant IP (e.g using with Tailscale IPs without any issue)

Just came here to say that @LivingWithHippos's solution worked like a charm, except when I was setting up Immich where I had to add the default network in addition to NPM's default network in immich-server's network section.
version: '2'
services:
  whoogle:
    .....
    networks:
      - default # had to add this
      - ngix-manager_default

networks:
  ngix-manager_default:
    external: true


README: Source Selector example link not valid.

"Source Selector example" -link's file doesn't exist in the current commit. README.md line 157

Thanks for pointing it out. I fixed in the latest commit.


Incorrect information about pac telemetry

Hello,
I just installed the latest version of PowerApps CLI and the note you have on disabling telemetry seems incorrect.
You suggest using pac telemetry --enable false instead of pac telemetry [enable] [disable] [status]
Best regards,
Betim.

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

ID: 49dacb11-ddd9-9d58-333c-b9e7feecf0d3
Version Independent ID: 32b7cc6e-c726-2212-5e15-a26c321dd86c
Content: Get tooling for PowerApps component framework - PowerApps
Content Source: powerapps-docs/developer/component-framework/get-powerapps-cli.md
Service: powerapps
GitHub Login: @Nkrb
Microsoft Alias: nabuthuk

@BetimBeja Thanks for the feedback. We have updated the docs and pushed to live. Closing the issue.


[Bug]: Toast timeout not working properly

Environment
Developement/Production OS: Windows 10 19043.1110
Node version: 16.0.0
Package manager<EMAIL_ADDRESS>Radix Vue version: 1.0.0
Shadcn Vue version: 1.0.0
Vue version: 3.0.0
Nuxt version: 3.0.0
Nuxt mode: universal
Nuxt target: server
CSS framework<EMAIL_ADDRESS>Client OS: Windows 10 19043.1110
Browser: Chrome 90.0.4430.212

Link to minimal reproduction
https://stackblitz.com/edit/tdkd3r-cpu8k8?file=src%2Fcomponents%2Fui%2Ftoast%2FToast.vue
Steps to reproduce
Use toast component
Describe the bug
The TOAST_REMOVE_DELAY variable does not seem to work. The default value is set to 1000 seconds but the toast is closing after 3-5 seconds.
It looks like onOpenChange is triggered falsely.
Expected behavior
No response
Conext & Screenshots (if applicable)
No response

TOAST_REMOVE_DELAY is not the same as duration
Try const TOAST_REMOVE_DELAY = 0; and you will notice what that variable is used for
default duration is 5 sec
https://www.radix-vue.com/components/toast.html#provider
if you want to change the duration you need to set duration on ToastProviders in `Toaster.vue or
duration in toast function

@sadeghbarati just to clarify, is TOAST_REMOVE_DELAY used to make the animation smoother? To be honest from the code it's not quite clear. I would be really appreciated for the answer.


Add type checking and refactoring support for example code (e.g. in JSDocs)

Search Terms
example code inline refactor
Suggestion
Often when I create a documented language entity, I want to include example code to show how the entity is used in practice. This example is often inlined in the JSDoc as indented code blocks. This is unfortunate, because it makes the example very prone to getting out of date when the code is refactored later, as there is no type checking on this code, and refactoring tools don't "see" the code, so this can go unnoticed into production.
My suggestion is to add an opt-in switch to allow the code in such blocks to be seen by the type checker and refactoring tools, giving warnings (or errors?) when the example code no longer "works" as it stands.
Pseudo-example:
/** This is a nice function that multiplies two numbers.

    It is used like this:

    @ts_check
        multiply(4, 2)

    It will return product of the two values.
*/
function multiply(a: number, b: number) { return a*b}

So if I later refactor this function to have a different name, for example, either the refactoring tool will also change the example code, or at least I will get a compiler warning.
Sometimes we want to write examples that assumes some ambient symbol that we do not want to show up in the generated documentation. This can be done with e.g. a separate section for this that is included by the type checker, but not emitted in the output.
/** This is a nice function that multiplies two numbers.

    It is used like this:

    @ts_check_preamble
        declare const my_favorite_number: number;
    @ts_check
        multiply(4, my_favorite_number)

    It will return product of the two values.
*/
function multiply(a: number, b: number) { return a*b}

Use Cases

Make it easy to keep example code up to date when refactoring

Checklist
My suggestion meets these guidelines:

[*] This wouldn't be a breaking change in existing TypeScript / JavaScript code
[*] This wouldn't change the runtime behavior of existing JavaScript code
[*] This could be implemented without emitting different JS based on the types of the expressions
[*] This isn't a runtime feature (e.g. new expression-level syntax)

Bonus: It would also be great if @ts_check blocks (and another unchecked version, simply @ts perhaps?) were syntax highlighted in a blend of comment colors and real code colors, and intellisense worked inside @ts_checked blocks while writing the example.

Have seen very little other demand for this and it would likely be enormously complex to implement (thinking about the scoping and control flow rules to apply here already makes my head hurt), so this doesn't seem to fit with our priorities right now.


API Tracking

We should enable the PublicAPI analyzer on all projects. This will help tracking (breaking) changes and track nullability behaviour. Would suggest we get this before the final 2.0. Not very high priority, but an easy job but, imo, a big improvement.

Assigning this to myself, but if someone else wants to pick this up, feel free to.
Adding to 2.0, but that's not in stone

Not sure if this should be done for the bindings as we're not in control of upstream breaking changes, but perhaps that's something we can discuss on Friday. Defo Windowing and Input at least.


extension "pg_tle" is not available

Bug report

[X] I confirm this is a bug with Supabase, not with my own application.
[X] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
I run CI with git actions and trying to use PG_TLE in my SQL scripts
To Reproduce
Have this action in the git workflow:
name: CI

on:
  pull_request:
  workflow_dispatch:

jobs:
  test:
    runs-on: ubuntu-22.04
    steps:
      - uses: actions/checkout@v3

      - uses: supabase/setup-cli@v1

      - name: Start Supabase local development setup
        run: |
          supabase db start
          supabase db lint
          supabase test db

      - name: Verify generated types are up-to-date
        run: |
          supabase gen types typescript --local > types.ts
          if [ "$(git diff --ignore-space-at-eol types.ts | wc -l)" -gt "0" ]; then
            echo "Detected uncommitted changes after build. See status below:"
            git diff
            exit 1
          fi

and have the following script in the migration file:
CREATE EXTENSION IF NOT EXISTS pg_tle;

Expected behavior
I expected it to run successfully in the git actions
Screenshots

System information

Git actions

Additional context
I'm trying to have a CI process that have "usebasejump/supabase-test-helpers"
In order to have it them I need pg_tle.

pg_tle support is only added recently so you need to pin the setup cli to the latest version.
- uses: supabase/setup-cli@v1
  with:
    version: latest


build: Add code-butler

Overview
Code-Butler is a tool that utilizes AI to conduct code reviews.
I believe that implementing this tool will be helpful for our code review process.
Swift code reviews are also crucial for development productivity.
Ref
https://github.com/ca-dp/code-butler
Note
OPENAI_API_KEY must be set in Repository secrets of Actions.

/cla sign

/review

I have confirmed that it is working correctly.
https://github.com/bucketeer-io/bucketeer/actions/runs/6781271185


fix typo in Counter.astro script

Fixes a typo I had introduced when updating the getting started tutorial.

Preview is available here:http://developers-pr584.previews.kube001.services.stellar-ops.com


createproject: cleanup old files when committing

iiuc '--batchmode' is required otherwise it stops for input !

iiuc '--batchmode' is required otherwise it stops for input !

never mind its in https://github.com/openSUSE/obs-service-source_validator/blob/c9adb81961376c7d00988aafc1e23ac801e30f00/source_validator#L30


Remove propagate_markers

Follow-up to #6959 and #6961: Use the reachability computation instead of propagate_markers everywhere.
With marker_reachability, we have a function that computes for each node the markers under which it is (requirements.txt, no markers provided on installation) or can be (uv.lock, depending on the markers provided on installation) included in the installation. Put differently: If the marker computed by marker_reachability is not fulfilled for the current platform, the package is never required on the current platform.
We compute the markers for each package in the graph, this includes the virtual extra packages and the base packages. Since we know that each virtual extra package depends on its base package (foo[bar] implied foo), we only retain the base package marker in the requirements.txt graph.
In #6959/#6961 we were only using it for pruning packages in uv.lock, now we're also using it for the markers in requirements.txt.
I think this closes #4645, CC @bluss.

Since we know that each virtual extra package depends on its base package (foo[bar] implied foo), we only retain the base package marker in the requirements.txt graph.

Does this lead to any bug fixes? Or is it "just" a simplification?

This is intrinsic to how we handle markers and to marker propagation. This property held true before and after, though the algorithm we arrived at it changed and i made it more explicit.


log: Add -timestamp option

Allows users to define a new timestamp as formatted by strftime through CUtils::FormatTime
Additionally -sanitize is no longer necessarily the first argument, but -timestamp and the actual timestamp must be last as it can contain spaces.

What needs to be done to get this PR merged? I have implemented some simpler workaround, but in my opinion this approach is the better one.

@markusj
"Everything after this must be timestamp" needs to be fixed (I commented inline)
"need better parsing for parameters in modules" is meta comment, it's fine...
Also it has some merge conflicts.

Anything being done with this? I could try and finish @NuclearW's work if no one more qualified wants to (my C++ is pretty shabby).

Pushed at #978


Rows inserted by transaction.insertObjects() does not gets rolled back if the transaction closure throws exception or Rollback object.

I am trying to insert objects using transaction inside transaction closure as described in the doc here. As shown here we can do it in two ways inside transaction closure:

await transaction.insertObjects([...])
await (Query<...>(transaction)...values=v).insert()

But doing this does not rollback the insertion of Model1 if the insertion of Model2 fails:
await context.transaction((transaction) async {
        await transaction.insertObjects<Model1>([...listOfModel1]); // This does not rollback if

        await transaction.insertObjects<Model2>([...listOfModel2]); //this throws exception due to foreign key constraints or some other issue
}

However the following rolls back the insertion of Model1 if the insertion of Model2 fails:
await context.transaction((transaction) async{
             model1Queries = listOfModel1.map(
                 (model1Obj) => (Query<Model1>(transaction)..values =model1Obj).insert());

             await Future.wait(model1Queries);  //This does roll back if

             model2Queries = listOfModel2.map((model2Obj) => (Query<Model2>(transaction)..values =model2Obj).insert());

        await Future.wait(model2Queries);   //this fails due to foreign key constraints or some other reason.
});

Please help me understand the working of transaction here better.

I guess this is related to #702


Uncaught Exception: Error: Cannot find module 'express'

I am getting this error on Windows 10 64bit and I don't know why. I have tried running npm install in the .exe directory but it didn't help.
https://i.imgur.com/bIwEcI6.png
[Main Instruction]
A JavaScript error occurred in the main process

[Content]
Uncaught Exception:
Error: Cannot find module 'express'
    at Module._resolveFilename (module.js:438:15)
    at Function.Module._resolveFilename (C:\Users\Username\Desktop\audio-cast-win32-ia32\resources\electron.asar\common\reset-search-paths.js:47:12)
    at Function.Module._load (module.js:386:25)
    at Module.require (module.js:466:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\Users\Username\Desktop\audio-cast-win32-ia32\resources\app.asar\lib.js:5:16)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)

[OK]

This is the output from npm install
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.
npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.11.3
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>postinstall: `grunt ffmpeg_libs`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'grunt ffmpeg_libs'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the audio-cast package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     grunt ffmpeg_libs
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs audio-cast
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls audio-cast
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Username\Desktop\audio-cast-win32-ia32\npm-debug.log

I'm not sure what you're trying but it looks like the zip-file was not completely unzipped when you tried to run audio-cast.exe. That's why you the message about the module express that can't be found.
Can you try again and make sure the file is completely unzipped, and let us know? Or check if the folder resources\node_modules contains a subfolder express after unzipping?
Running npm install in the unzipped folder makes no sense, that command is only for developers after downloading the source code.

Thank you, I deleted everything and re-extracted and it worked.
I had no idea if running npm install would help but I tried searching for the solution and that was the only thing that came up so I thought I should try it first.


Serving .gz when .br is smaller and both are available

(Are you asking for help with using Caddy? Please use our forum instead: https://forum.caddyserver.com. If you are filing a bug report, please answer the following questions. If your issue is not a bug report, you do not need to use this template. Either way, please consider donating if we've helped you. Thanks!)
1. What version of Caddy are you running (caddy -version)?
0.9.4
2. What are you trying to do?
I'm trying to serve .br versions of my files, when both .gz and .br files are present.
3. What is your entire Caddyfile?
(Put Caddyfile here)

Not applicable (I don't think)
4.
Using https://github.com/ZZROTDesign/alpine-caddy
5. What did you expect to see?
In the response headers of my website I expected to see content-encoding: br and a file size of 63 Kilobytes
6. What did you see instead (give full error messages and/or log)?
I see content-encoding: gzip and a file size of 78 Kilobytes.
Not sure if the new .br and .gz functionality prefers .br over .gz if the filesize is smaller - it seems as if it is defaulting to gz all the time. If someone could point me in the direction, I could definitely try to tackle this soon.

Brotli encoding is always prefered over gzip. If .gz and .br files exist - br should be delivered to the client (if Accept-Encoding: br is present in the headers).
Please attach full communication between client and Caddy - request and response headers + listing of relevant files in the root fs

My mistake - Just realized that I didn't properly update my docker image that was running my website while all others were updated. Sorry about that! Appreciate the help!

Thx @Skilgarriff :)


fix(monitor): modify onecloud replacement code

这个 PR 实现什么功能/修复什么问题:
1.增加copyright api查询逻辑
是否需要 backport 到之前的 release 分支:

release/3.6
release/3.7

/cc @zexi
/area monitor

Codecov Report

Merging #10494 (65a9d79) into master (e2211ca) will increase coverage by 1.97%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master   #10494       +/-   ##
===========================================
+ Coverage    5.91%    7.88%    +1.97%
===========================================
  Files         866      110      -756
  Lines      134824    13361   -121463
===========================================
- Hits         7972     1054     -6918
+ Misses     126146    12187   -113959
+ Partials      706      120      -586

Flag
Coverage Δ

aFlag
7.88% <ø> (+1.97%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/util/netutils2/netutils.go

pkg/cloudcommon/db/statusbase.go

pkg/compute/models/snapshotpolicy.go

pkg/mcclient/modules/monitor/datasource.go

pkg/util/stringutils2/stringutils.go

pkg/hostman/system_service/sdnagent.go

pkg/util/fileutils2/fasthash.go

pkg/cloudcommon/db/standalone.go

pkg/apis/api.go

pkg/util/qemuimg/init.go

... and 745 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 e2211ca...65a9d79. Read the comment docs.


Add current Uploader userId field to Project class and set it in ProjectManager

Useful for Validating Projects based on current Uploader ID.
Context:
Currently ProjectValidator interface passes Project object to validate an uploaded project. The Project object has no infomation on user who is trying to upload the project Zip. So, adding a field currentUploaderId makes it possible for classes extending ProjectValidator to validate on basis of current uploader.

@pranayhasan since the issue is closed, should this PR be closed too?

@HappyRay This was done as a part of blocking zip uploads by maintaining a whitelist of users and projects where some custom validation was required. If we are NOT looking to add any validation in Azkaban, we are good to close this.


Fix 1-byte buffer overflow in mbedtls_mpi_write_string() for negative MPIs

Fixes #2404.

@yanesca Please backport the test patch to all supported branches and backport the fix to the branches that need it.

Backport branches are up and ready for review.

@yanesca Could you cherry-pick https://github.com/ARMmbed/mbedtls/pull/2503/commits/86d8c673c2954e8b1a925a8d1e68b059dab07747 to this PR?

The backports have been fully approved, so removed the "needs backports" label.
However, this PR requires a change in the ChangeLog entry order.

@RonEld done.

Any news on when this will be merged? It's causing a lot of fuzzer noise. (Plus it isn't great to leave buffer overflows unfixed.)

Ping. This is causing a lot of noise in OSS-Fuzz. Additionally, out-of-bounds writes are security bugs and should be treated appropriately.

Please note that OSS-Fuzz will auto-disclose the testcase for this potentially exploitable issue after 90 days from the day of filing which is coming very close. As good OSS citizens, we should secure our products from potential compromise.


On Firefox the path is not full

C# MVC 4
I can get the full path on IE
but Firefox only get the file name.

The operation of the file input field is different in each browser. The plugin only changes the look of the file input field does not change the functioning.
Review your code or send a stretch for me to understand your prolema.


Standardize fields layout

Use "form-floating" style for all fields.

Parts of this are bit broken → https://imgur.com/Lf9aonO
I'm also not a huge fan of resizing the text boxes to be all the same size. I'll work on this a bit more myself.

Parts of this are bit broken → https://imgur.com/Lf9aonO

This is meant to be handled by these changes. Tested on Firefox 115.15.0esr.

Parts of this are bit broken → https://imgur.com/Lf9aonO

This is meant to be handled by these changes. Tested on Firefox 115.15.0esr.

Ah ok thanks, I must have missed that. I wanted to redesign how adding dependencies worked slightly from a UI perspective, so please let me know what you think about the current site.

Ah ok thanks, I must have missed that. I wanted to redesign how adding dependencies worked slightly from a UI perspective, so please let me know what you think about the current site.

I think the dependency selectors are too narrow. #45 might be the solution. Also, I prefer the "form-floating" style to the "group-input" because the fields are wider this way.


Rebase orchestrator

Orchestrator code (includes framework commits)

@ashutosh-mishra @rajendramachani @YogeshRajmane , please incorporate the comments from Hemanth in your respective components

As per todays discussion, we do not need drivers for device Life cycle. The drivers have to be integrated into the module

Closing as the latest code is maintained in mitaka_21st_march_base branch


dbeaver: 5.1.5 -> 5.1.6

Motivation for this change

Updates dbeaver 5.1.6.

Things done

✔ Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

✔ NixOS

✔ Tested execution of all binary files (usually in ./result/bin/)
✔ Fits CONTRIBUTING.md.

As a side note, #34182 is still open and I will still gladly accept any help in figuring out how to build this using the source release.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: dbeaver
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: dbeaver
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: dbeaver
Partial log (click to expand)
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/pws3pzfq0djvk1a59adkk456nkqnc48w-dbeaver-ce-5.1.6
shrinking /nix/store/pws3pzfq0djvk1a59adkk456nkqnc48w-dbeaver-ce-5.1.6/dbeaver/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.551.v20171108-1834/eclipse_1630.so
shrinking /nix/store/pws3pzfq0djvk1a59adkk456nkqnc48w-dbeaver-ce-5.1.6/dbeaver/dbeaver
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/pws3pzfq0djvk1a59adkk456nkqnc48w-dbeaver-ce-5.1.6/bin
patching script interpreter paths in /nix/store/pws3pzfq0djvk1a59adkk456nkqnc48w-dbeaver-ce-5.1.6
checking for references to /build in /nix/store/pws3pzfq0djvk1a59adkk456nkqnc48w-dbeaver-ce-5.1.6...
/nix/store/pws3pzfq0djvk1a59adkk456nkqnc48w-dbeaver-ce-5.1.6


Added the ability to change password and converted most of AccountPage to MUI components

Usually we should wait, but I think we are in a rush right now.


Visual Studio Code Feature Request: Enhancing UI/UX and Performance

Windows 11 Inspired UI/UX: Is there any plan to implement a Windows 11-inspired UI/UX in VS Code? A modern design with rounded corners, subtle shadows, and sleek animations would significantly improve the overall aesthetic, making the experience more consistent with the OS.
Global Animations: Introducing more animations across the board, like smoother transitions when switching between tabs, opening/closing files, and navigating the sidebar, could add a polished feel. However, ensure that these animations are optimized to avoid adding extra load on system resources.
Native Hover Information: Adding native support for hover information, including tooltips with rich content like images and formatted text, would be a game-changer. For instance, showing image previews when hovering over image links or additional info for code references. This would enhance the developer experience, making it more intuitive and interactive.
Preview Enhancements: Beyond hover info, integrating preview features for things like images, links, and even Markdown files directly in the editor without needing to open them in a new tab would be a time-saver. This could include inline previews or a dedicated preview pane.
Performance Optimizations: While visual improvements are welcome, it's crucial that these features don't come at the cost of performance. Optimizing VS Code to reduce CPU and RAM usage, especially for developers on lower-end machines or those working with resource-heavy tasks like Flutter development, would be highly appreciated.
Enhanced Extension Management: Streamlining the process of managing extensions, including easier ways to find, install, and disable them, could help in maintaining a faster and more responsive environment.
Better System Resource Monitoring: A built-in system resource monitor that displays real-time CPU, RAM, and storage usage within the VS Code interface would be a helpful addition. It could also suggest optimizations or highlight extensions that may be causing heavy resource consumption.
### Tasks
- [ ] https://github.com/microsoft/vscode/issues/224756

Implement Windows 11-Inspired UI/UX:

Rounded corners
Sleek animations
Subtle shadows

Add Global Animations:

Smooth transitions for tab navigation, file opening/closing, and sidebar interactions

Develop Native Hover Information:

Tooltips with rich content (images, formatted text)
Image/link previews

Enhance Preview Features:

Inline previews for images, links, and Markdown files
Dedicated preview pane

Optimize Performance:

Ensure new features don't impact CPU and RAM usage
Focus on reducing resource consumption for developers working on heavy tasks

Improve Extension Management:

Simplify extension search, installation, and management

Integrate a Built-in System Resource Monitor:

Real-time CPU, RAM, and storage usage tracking
Suggestions for optimizations and identifying resource-heavy extensions

We already have many of these features. Please file separate issues for each idea if you want to continue to pursue them.

We already have many of these features. Please file separate issues for each idea if you want to continue to pursue them.

YEs but enable most of them by default and sound ques dont dont


smpli Integration Update

Update smpli to use the latest version of smpl, applying fixes to smpl so that all smpli tests pass.
smpl fixes centered around metadata collection required by smpli.

Update smpli to use the latest version of smpl, applying fixes to smpl so that all smpli tests pass.
smpl fixes centered around metadata collection required by smpli.


Eigen headers are not exposed when trying to use C++ based Open3d from Obj-C++ code

I'm current using this swift/python based package but want to port some code to use Open3d C++ based code directly from Obj-c++ code.
I included:
#import <open3d/Open3D.h>
but I'm getting compiler error
#include <Eigen/Core>                                   'Eigen/Core' file not found
from:
open3d PinholeCameraIntrinsic.h
Is there a way to expose Eigen headers from this Open3d-iOS package so that we can still directly call C++ based code?
When I'm embedding another copy of Eigen project to my project Eigen has to be called as user defined headers I guess and Open3d won't see it.
#include "Eigen/Core"

Did you check out #15?


OpenAI Service not invoked by the function while processing documents

Hello,
The Function App does not invoke the OpenAI URL using the Prompt key mentioned in the template. When I upload the sample JSON documents, the key-phrases are extracted but every other field is marked as NULL. The keys Agents, Hotels, Call Summary, Customer Satisfaction, Satisfied Customers, Unsatisfied Customers and the fields in the facets are all empty.
These fields are marked as NULL in the Search Index as well.
The OpenAI prompt looks fine and so does the endpoint & openAI key. There are no errors shown in the function logs as well, so I am not sure where the problem actually lies.

Hello and thank you for logging this issue!
This is a known issue that our engineering team has already identified. All incoming documents are processed in two passes. The first pass extracts the data shown in this screenshot such as keywords, metadata, etc. Then a second pass runs and performs the OpenAI tasks such as gathering sentiment, summary, and the top insights such as hotel and cities mentioned, etc. These passes can be up to 5 mins apart. Thus, conversations can appear "partially processed" during this gap window. Merely refreshing the browser some minutes later would see this resolved.
There is a streamlined solution on our list of backlog items for consideration. As such, we will be closing this issue.


fix: incorrectly removing initial characters due to trailing whitespace

This PR resolves issue #27 by updating the internal getIndent function to use trimStart instead of trim so that it only counts whitespace at the beginning.
See internal test-issue27 from the playground.

Sounds good! The force push was to correct the changeset reference from indent to getIndent.


PosterCalibration Camera Not Working in Unity 2018

I have been working on updating the PosterCalibration Sample to Unity 2018. I have everything compiling, I have all gestures working with the new APIs and I have voice commands working. However, I cannot get the camera feed to work and therefore posters are not detected.
My fork (and branch) for this work can be found here:
https://github.com/jbienzms/MixedRealityCompanionKit/tree/PosterUnity2018
The code deploys to the HoloLens and mostly runs, but when you say "Align Poster 1" the camera feed is just a white square. When connected to the Visual Studio debugger, the following is printed in the Output window:
AlignZone: CalibrationZone

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 43)

ImagePosterLocator:SetPosterTexture Mips:1

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 43)

ImagePosterLocator:SetPosterTexture - using mip #0:1024x622

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 43)

ImagePosterLocator:StartProcessing: CalibrationZone

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 43)

Update version updated.

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 43)

PhotoCapture created...

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 43)

Photo Mode has already been started.

(Filename: C:\buildslave\unity\build\Runtime/VR/HoloLens/WebCam/PhotoCapture.cpp Line: 530)

Exception thrown: 'System.NotImplementedException' in WinRTBridge.dll
'PosterCalibrationSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\PosterCalibrationSampleVS.Release_x86.jbienz\System.Diagnostics.StackTrace.dll'. Cannot find or open the PDB file.
Exception: The method or operation is not implemented.
Type: System.NotImplementedException
Module: WinRTBridge
InnerException: <No Data>
AdditionalInfo:MarshalFirstFieldIntoNativePtr type: UnityEngine.XR.WSA.WebCam.PhotoCaptureFrame
   at WinRTBridge.Marshalling.MarshalFirstFieldIntoNativePtr(Object instance)

(Filename:  Line: 0)

Exception thrown: 'System.ArgumentNullException' in UnityEngineProxy.dll
ArgumentNullException: Value cannot be null.
Parameter name: _unity_self
   at UnityEngineProxy.InternalCalls.PhotoCaptureFrame_CUSTOM_GetDataLength(Object self)
   at UnityEngine.XR.WSA.WebCam.PhotoCaptureFrame..ctor(IntPtr nativePtr)
   at UnityEngine.XR.WSA.WebCam.PhotoCapture.InvokeOnCapturedPhotoToMemoryDelegate(OnCapturedToMemoryCallback callback, Int64 hResult, IntPtr photoCaptureFramePtr)
   at UnityEngine.XR.WSA.WebCam.PhotoCapture.$Invoke10(Int64 instance, Int64* args)
   at UnityEngine.Internal.$MethodUtility.InvokeMethod(Int64 instance, Int64* args, IntPtr method)
(Filename: <Unknown> Line: 0)

@dberrett Hey Doug. Any thoughts on this? Is this happening in the unmanaged plugin? The plugin still compiles, but it appears to not be getting the expected pointer back, and a NotImplementedException seems rather unexpected.

The signature of the PhotoCaptureFrame has changed also.  I think they removed the Boolean at the beginning of the parameters.
From: Jared Bienz [MSFT]<EMAIL_ADDRESS>Sent: Tuesday, August 14, 2018 1:03 PM
To: Microsoft/MixedRealityCompanionKit<EMAIL_ADDRESS>Cc: Doug Berrett<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Microsoft/MixedRealityCompanionKit] PosterCalibration Camera Not Working in Unity 2018 (#299)
@dberretthttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdberrett&data=02|01|dberrett%40microsoft.com|68f138d84456467df06108d60220ebef|72f988bf86f141af91ab2d7cd011db47|1|0|636698737752155170&sdata=c9jnNERKFWsrqi6iAidBpGUJjMzeBreUvUT9TNLxpGw%3D&reserved=0 Hey Doug. Any thoughts on this? Is this happening in the unmanaged plugin? The plugin still compiles, but it appears to not be getting the expected pointer back, and a NotImplementedException seems rather unexpected.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FMixedRealityCompanionKit%2Fissues%2F299%23issuecomment-412996715&data=02|01|dberrett%40microsoft.com|68f138d84456467df06108d60220ebef|72f988bf86f141af91ab2d7cd011db47|1|0|636698737752165174&sdata=djMGisfN9F8bgdqK1r09%2FOffcyeBJEwEaLxy5pr4hxA%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHSBQA4gPJzyTEQKX34VGxoD1-WKNNoPks5uQyztgaJpZM4V9FCV&data=02|01|dberrett%40microsoft.com|68f138d84456467df06108d60220ebef|72f988bf86f141af91ab2d7cd011db47|1|0|636698737752165174&sdata=cC6GTer36HlEK5shb%2B5tuNSRAokgioB5%2B6yTCFg8EkU%3D&reserved=0.

Forgive my ignorance on this one, but why is the C++ plugin project compiling correctly if the method signature changed?

Actually, I was pretty sure this was in the C++ code. I could be wrong, but the first exception is the System.NotImplementedException which at least appears to have occurred in PosterCalibrationSampleVS.Release_x86.
AdditionalInfo:MarshalFirstFieldIntoNativePtr type: UnityEngine.XR.WSA.WebCam.PhotoCaptureFrame
I could be wrong about that, but that's the info we're getting in the output window.

Maybe I’m missing something.  The “NotImplementedException” was in “PosterCalibrationSampleVS.Release_x86” – which is the Unity VS project.  And this line seems to indicate a failure in the Unity engine when it goes to make a capture and marshal the parameters to the WinRTBridge - not the C++ plugin side.
AdditionalInfo:MarshalFirstFieldIntoNativePtr type: UnityEngine.XR.WSA.WebCam.PhotoCaptureFrame
From: Jared Bienz [MSFT]<EMAIL_ADDRESS>Sent: Wednesday, August 15, 2018 8:38 AM
To: Microsoft/MixedRealityCompanionKit<EMAIL_ADDRESS>Cc: Doug Berrett<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Microsoft/MixedRealityCompanionKit] PosterCalibration Camera Not Working in Unity 2018 (#299)
Actually, I was pretty sure this was in the C++ code. I could be wrong, but the first exception is the System.NotImplementedException which at least appears to have occurred in PosterCalibrationSampleVS.Release_x86.
AdditionalInfo:MarshalFirstFieldIntoNativePtr type: UnityEngine.XR.WSA.WebCam.PhotoCaptureFrame
I could be wrong about that, but that's the info we're getting in the output window.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FMixedRealityCompanionKit%2Fissues%2F299%23issuecomment-413237407&data=02|01|dberrett%40microsoft.com|39c183dac15f497ff5e108d602c51df1|72f988bf86f141af91ab2d7cd011db47|1|0|636699442968175111&sdata=XwBlY1izngdihARpKVfaJmRMaXqrCCykqeE29g5JJrw%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHSBQO8geofVoADxrhzM9SWlsU70tSddks5uREBmgaJpZM4V9FCV&data=02|01|dberrett%40microsoft.com|39c183dac15f497ff5e108d602c51df1|72f988bf86f141af91ab2d7cd011db47|1|0|636699442968175111&sdata=0x7wtFqqH3n%2Boz7prX6COAUGUgpAO5q1s%2FcY0HhN2Mc%3D&reserved=0.

No, you're right @dberrett . For some reason I was thinking the VS project was the C++ project but you're right that it's the Unity project exported to VS. Is this a new Unity bug that we need to open with them?
Before we decide that for sure, I just want to make sure we're not doing something we shouldn't be. I noticed this message as well:
Photo Mode has already been started.
Perhaps there is a bug trying to initialize the camera twice?

@jbienzms : I think this is a Unity problem. I have been trying to resolve this for few days. Last successful line of code is photoCaptureObject.TakePhotoAsync(OnCapturedPhotoToMemory). But it actually never enters the OnCapturedPhotoToMemory method. After figuring out where it is failing, I copied unity sample exactly as shown in their website  and it still fails.
This happened when I tried to upgrade my project to Unity 2018.2. I tried to set it to IL2CPP and it compiled correctly, but it failed displaying results when I deployed it to the device. I assumed it was azure initially, but I was not able to debug it using C++. I tried to attach to debug installed app package to be able to debug in C#, I connected successfully, but failed to hit any break points and debugging this issue using C++ was painful for me. Finally, after so many days, I decided to switch it back to .NET backend and debugged the project to come to the conclusion that it is a unity problem. Tomorrow, I will try the beta version and keep trying prior versions to determine when is the last working version.
Side note:
Do you know how to debug the C# project when you use IL2CPP backend? I know how make it compile correctly, but not debug it. It fails to attach unity debugger to the hololens device. But visual studio allows me to attach debugger to the deployed application, but it will not hit the C# code, I chose managed and then i switched to native, then switched to both and none worked. According to this video from unity, it should work:

and this is the unity thread that I got the video from

I will update you when I figure out something.

Hi all,
I was able to get the project working in Unity 2018.1.9f2 and HoloLens April 2018.
I did the following to get it working:

Update the obsolete interaction APIs (i.e from "SourcePressed" to "InteractionSourcePressed").
Ensure ImagePosterLocator component on CalibrationZone object is hooked up to PVCamView & PosterDetectView gameobject appropriately
AutoAlignToPoster has Poster gameobject set correctly
SpeechCommands component/gameobject is connected to the CalibrationZone (ZoneCalibrationManager)
Only build the single-zone scene

I have the configuration for building as follows (under PlayerSettings/OtherSettings):
Scripting Runtime Version: .Net 3.5 equivalent
Scripting Backend: .NET
API Compatibility Level: .Net 4.x
Further, make sure you have capabilities enabled for WebCam and Microphone under PlayerSettings/Publishing Settings
Try to match to this parity.
Thanks,
Troy

@Troy-Ferrell Thank you for your help. My issue is a little different, I was trying to use the camera directly to take photos. I apologize for posting my issue here. I saw that @jbienzms has the same camera problem even though we are doing two different things.

I created a workaround for the camera:
https://github.com/MSAlshair/HoloLensMediaCapture
FYI: There is a Unity public active tracker:
https://issuetracker.unity3d.com/issues/windowsmr-failure-to-take-photo-capture-in-hololens
Thank you again for your help!

Thank you so much @MSAlshair for your workaround and taking the time to publish a sample. By any chance have you submitted this bug to Unity? And if not, any chance you could submit it? We'd like to know the bug number so we can start tracking it.

@jbienzms : You are very welcome. I didn't create a bug with Unity, but as I stated in my last post, I found an active bug that was already submitted since April 2018 and it is still open
Unity Bug:
https://issuetracker.unity3d.com/issues/windowsmr-failure-to-take-photo-capture-in-hololens
Unity forms discussing same issue:


V2.18.0

@homu r+

:pushpin: Commit 475c218 has been approved by kbknapp

:hourglass: Testing commit 475c218 with merge 087cee7...

Coverage remained the same at 91.255% when pulling 475c21814e0131847d1f6c3d1ea79eaf6229edca on v2.18.0 into fc22be0f040e1bba4e0d9e5e7384231fd441cae3 on master.

:sunny: Test successful - status


dataset dm9.csv is not available directly after download.

hello,
i tried to download QM9 dataset from the link you provided. I found that the content of link is a collection of .xyz files, which is not a .csv file as you mentioned.
could you please provide more details about your dm9.csv file? especially the header and how you did to convert .xyz to .csv.
thank you
Boaty

I had the same problem


long deleted GKE cluster is "not found"

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):
I have created and deleted many clusters both on AWS and GKE
Result:
in the log I regularly see such messages
rancher    | 2019/03/08 19:14:05 [ERROR] ProjectRoleTemplateBindingController p-mnxxd/creator-project-owner [mgmt-auth-prtb-controller] failed with : cluster.management.cattle.io "c-dmrpx" not found
rancher    | 2019/03/08 19:14:05 [INFO] Reconciling GlobalRoles
rancher    | 2019/03/08 19:14:05 [ERROR] ClusterRoleTemplateBindingController c-dmrpx/creator-cluster-owner [mgmt-auth-crtb-controller] failed with : cluster.management.cattle.io "c-dmrpx" not found
rancher    | 2019/03/08 19:14:05 [INFO] Reconciling RoleTemplates
rancher    | 2019/03/08 19:14:05 [ERROR] ProjectRoleTemplateBindingController p-mnxxd/creator-project-owner [mgmt-auth-prtb-controller] failed with : cluster.management.cattle.io "c-dmrpx" not found
rancher    | 2019/03/08 19:14:05 [ERROR] ClusterRoleTemplateBindingController c-dmrpx/creator-cluster-owner [mgmt-auth-crtb-controller] failed with : cluster.management.cattle.io "c-dmrpx" not found
rancher    | 2019/03/08 19:14:06 [INFO] Rancher startup complete
rancher    | 2019/03/08 19:14:06 [ERROR] ProjectRoleTemplateBindingController p-mnxxd/creator-project-owner [mgmt-auth-prtb-controller] failed with : cluster.management.cattle.io "c-dmrpx" not found
rancher    | 2019/03/08 19:14:06 [ERROR] ClusterRoleTemplateBindingController c-dmrpx/creator-cluster-owner [mgmt-auth-crtb-controller] failed with : cluster.management.cattle.io "c-dmrpx" not found
rancher    | 2019/03/08 19:14:07 [INFO] Updating catalog helm
rancher    | 2019/03/08 19:14:08 [ERROR] ProjectRoleTemplateBindingController p-mnxxd/creator-project-owner [mgmt-auth-prtb-controller] failed with : cluster.management.cattle.io "c-dmrpx" not found
rancher    | 2019/03/08 19:14:08 [ERROR] ClusterRoleTemplateBindingController c-dmrpx/creator-cluster-owner [mgmt-auth-crtb-controller] failed with : cluster.management.cattle.io "c-dmrpx" not found

this c-dmrpx cluster is long gone and was deleted from Rancher.
Other details that may be helpful:
Could leftover remnants be removed somehow?
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.1.6/2.1.7
Installation option (single install/HA):single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
Machine type (cloud/VM/metal) and specifications (CPU/memory):
Kubernetes version (use kubectl version):

(paste the output here)

Docker version (use docker version):

(paste the output here)

keeps doing the same with v2.2.0

I had manually removed the problematic leftover keys from etcd, I don't recommend to do this for anyone though.


⚠ DesiTorrents has degraded performance

In f2affaa, DesiTorrents ($DST) experienced degraded performance:

HTTP code: 500
Response time: 5595 ms

Resolved: DesiTorrents performance has improved in dcb8142 after 8 minutes.


Output is cut

Well, hi again. I have a new issue, the output of the terminal it's out of terminal.
Edit: It happens with full screen too.

@miguelcarax Did this happen after resizing Atom?

yes

@miguelcarax Did you enter ls and then resize? or resize then ls? Currently the terminal cuts off the end if you resize down.

it's cut in any form.

Resizing removes letters from the right side until I change it. If your ls looks like that after a resize then yes that is a problem. It is just that your terminal should be adjusting to the new size. Are you on the latest update?

@miguelcarax I just realized but are you using a monospaced font? Terminals rely on that to have proper spacing.

Has this issue been fixed for you?

Sorry, i was without internet those days. The problem was the font yeah... i change to default and now works properly.
Can be posible to have a Solarized Dark theme?
Sorry for the late answer.

Miguel, you can specify your own theme by adding the following template to your Atom stylesheet:
.terminal-plus .xterm {
  background-color: ;
  color: ;

  ::selection {
    background-color: ;
  }

  .terminal-cursor {
    background-color: ;
  }
}

Your Atom stylesheet can be opened by clicking File > Open Your Stylesheet from the menu at the top of Atom. This is CSS and expects a color name or hex color attribute.
Example:
.terminal-plus .xterm {
  background-color: black; // Terminal background
  color: white; // Font Color

  ::selection {
    background-color: blue; // Selection color
  }

  .terminal-cursor {
    background-color: white; // Cursor color
  }
}

Wow! That works great! Thx for all :)

No problem. Glad I could help.


[Feature Request] More efficient large payload handling

Right now it's possible (in particular for local activities, which is why I'm writing this) to clone large payloads inside events during history lookahead (and possibly also application).
Ideally that would be avoided as it could cause substantial overhead during replay. Create a bench test to verify and then improve.
Possible fixes:

Rc/Arc Payload(s) types - also would require a custom HistoryEvent version (maybe prost annotation?)
Never clone HistoryEvents, always use refs

This might require https://github.com/temporalio/sdk-core/issues/180 to be done, as it probably allows using Rc more freely.

At least partially fixed in https://github.com/temporalio/sdk-core/pull/279


Bump to Fedora 36

See individual commits.
Depends on #1885.
Fixes #1886.

This fails because of iptables changes.

@skitt are we planning to get this done for 0.13? The PR is up for review in the 0.13 board but the linked issue is in the future backlog.


Investigate the potential JobSet support for ReclaimablePods and PartialAdmission

What would you like to be added:
ReclaimablePods and PartialAdmission for JobSets
/kind feature

/assign

/close
done in #901


The Maps Layer is now a Sidebar which can be collapsed and expanded

Updates Mapbox Gl JS to 1.11.x (currently 1.11.1) as an import module
latest VueJS/ESLint Dev Dependencies Updates
add prettier as standard formatter
add prettier recommended dev-deps to work nicely with eslint

Looks Very Good to Me!


Snapshot verification test failures on Windows

Snapshot verification tests started failing on Windows due to failure to install Apache Ivy^1. This is because Apache Ivy published version 2.5.1^2, and the download mirror used by the chocolatey package^3 deleted version 2.5.0. Version 2.5.0 is currently hardcoded in the Chocolatey package^4.
I created an issue upstream to resolve this: https://github.com/tdunnington/IvyChocolatey/issues/3
We should either:

Contribute a fix to the Chocolatey package repository
Download Apache Ivy without Chocolatey during the snapshot verification tests on Windows

I created a PR upstream https://github.com/tdunnington/IvyChocolatey/pull/4


Runtime error

How can I use LSUV instead of Xavier in my NN, please let me know if I can implement it like this or is there any other way:
LSUVinit(model, m.weight)
Can i use weights as my data or it will take images or any other form of data
ERROR
RuntimeError: Given groups=1, weight of size [64, 3, 3, 3], expected input[16, 64, 1, 1] to have 3 channels, but got 64 channels instead

No, you cannot use weights instead of training data. The idea of LSUV initialization is based on using data for init

what kind of data we have to use i.e images, transforms of images, or tensors of images ??

First batch of data, which you use in the training loop.
E.g. in example here https://pytorch.org/tutorials/beginner/blitz/cifar10_tutorial.html
outputs = net(inputs)
"inputs" is data you need.

I implemented it and now i am getting this error:
File "/home/iot/Jayan/SqueezeNext/Py/LSUV.py", line 104, in LSUVinit
cuda = data.is_cuda
AttributeError: 'function' object has no attribute 'is_cuda'

Which version of pytorch do you use? This repo was written for 0.3


Keda Manager takes over existing custom keda installation

Description
Keda Manager should detect and fail in case custom keda installation (other than managed by kyma's keda-manager) already exists
Expected result
Installation should fail.. (Given CRD already exists...)
Keda CR status should reflect the keda installation collision
Actual result
Keda operator takes over the custom installation ( for example see annotations on keda namespace ) and uninstalls it upon Keda CR removal
Steps to reproduce

Deploy custom Keda installation manually i.e using kubectl apply -f https://github.com/kedacore/keda/releases/download/v2.8.0/keda-2.8.0.yaml
Install Keda via Keda Manager
Installation finishes with success
Keda operator takes over the custom one ( for example see annotations on keda namespace )
uninstall Keda CR
Custom Keda Installation disappears

@moelsayed Thanks.
Indeed the keda operator will not proceed with installation if custom keda installation is present.
However user will learn about it only from the logs
1.6692784509634922e+09	ERROR	setup	keda-manager can't be installed on a cluster with an existing Keda installation, exiting..
main.main

This information does not surface to the Keda CR.. and hence Kyma CR is is status Ready
- apiVersion: operator.kyma-project.io/v1alpha1
  kind: Kyma
  metadata:
   ...
    name: default-kyma
    namespace: kcp-system
  spec:
    channel: stable
    modules:
    - channel: stable
      name: keda
    sync:
      enabled: false
      moduleCatalog: true
      noModuleCopy: true
      strategy: secret
  status:
    activeChannel: stable
    conditions:
    - lastTransitionTime: "2022-11-24T08:25:54Z"
      message: all modules are in ready state
      observedGeneration: 3
      reason: ModulesAreReady
      status: "True"
      type: Ready
    moduleStatus:
    - generation: 1
      moduleName: keda
      name: default-kyma-keda
      namespace: kcp-system
      state: Ready
      templateInfo:
        channel: stable
        generation: 1
        gvk:
          group: operator.kyma-project.io
          kind: Manifest
          version: v1alpha1
        name: moduletemplate-keda
        namespace: kcp-system
        version: 0.0.4
    state: Ready

We need to move the logic (detecting if keda is already installed) to the reconcile loop.
It is desired to reflect the fact that custom keda installation is present in the Keda CR (a custom condition) -> hence we'd need to switch from the generic into our own reconciliation loop


why website root folder is inside nginx folder?

The website root folder should be on www or htdocs folder..
This should already configure after the nginx installed.

htdocs is a default folder for Apache. For Nginx it is in the html folder by default. You can specify the folder yourself in the Nginx configuration. However, we will use the default.


Remove contact button

Hi team,
The contact button/modal in the FTU Explorer needs functional and aesthetic work, but we have bigger priorities right now.
Can we please remove the contact button for now as a quick short term fix?
I will provide updated specs for this component when I redesign this interface. Thanks!

@LibbyUX as a compromise, you could just remove the open diaglog window and make it work like the ASCT+B table contact button where it directly opens a form email into your email program.  That would be easiest? The behavior of opening a dialog wiindow seems to be the problem that is not correctly working.  It looks like there must be both code blocks in the code doing BOTH things rather than one or the other behavior.  BTW: it's already July (YIKES!!)

Hey @emquardokus I want to keep things super simple for our team so I will loop back to this when I am redesigning the interface. I have a vision for all of our interfaces and Y3 is when we iron out the inconsistencies for sure!
Thanks for understanding!

Fixed this in PR #532