How to run Envoy proxy in a different namespace than Envoy Gateway?

Description:
Is it possible to run Envoy proxy in a different namespace than Envoy Gateway?
Envoy Gateway runs Envoy proxy in the same namespace, by default in envoy-gateway-system

hi @rkosyk it should be possible by changing/templatizing the defaults set in the kustomize dir today
https://github.com/envoyproxy/gateway/tree/main/internal/provider/kubernetes/config
this will hopefully we a top level user facing customizable field once we support helm charts

@arkodg
Sorry, maybe my question was not clear enough.
I have envoy-gateway pod in the "envoy-gateway-system" namespace.
I have created EnvoyProxy and Gateway custom resources in the "default" namespace and want the envoy proxy pod to be run in the "default" namespace. But the envoy proxy pod (envoy-default-envoy-64656661-7d4f8c9dd5-86zxh) is run in the "envoy-gateway-system" namespace.

Is it possible to make the envoy proxy pod run in the "default" namespace, or any other specific namespace, not the same as where envoy-gateway is run?

thanks for the clarification @rkosyk , as of now, Envoy Gateway is limiting itself to the envoy-gateway-system namespace to create new resources, it might not have access to create resources in other namespaces
curious why is such a use case interesting for you

multi-tenancy?

multi-tenancy?

Exactly

@arkodg what about put envoy-proxy in the namespace of Gateway CR?

this would mean the users would need to give EG permission to create deployments in all namespaces, which might be excessive from a user perspective

Let me explain our use case.
We have N tenants deployed into the separate namespaces.
Among other resources, every tenant has its own MongoDB and Rabbitmq clusters that are managed with MongoDB and Rabbitmq operators accordingly. We need to expose MongoDB and Rabbitmq ports outside of Kubernetes cluster to give access to external users. To do this we would like to use Envoy-proxy (Gateway) and TCPRoute in every tenant's namespace and one GatewayClass. Envoy-gateway is in its own separate namespace - "envoy-gateway-system".
It would be nice to have for envoy-proxy a similar approach to what we have with Mongodb and Rabbitmq - resources of one tenant are placed in one namespace.

thanks for illustrating your use case @rkosyk
hoping others from @envoyproxy/gateway-maintainers can chime in

FYI, istio allowed create ingress in all namespaces, https://istio.io/latest/docs/tasks/traffic-management/ingress/gateway-api/

Thanks @arkodg @zirain
I tried Istio Gateway previously. It has almost everything that is needed for us except one thing - potentially we will want to integrate gateway proxy pods into our Linkerd service mesh and it looks impossible to do, Istio proxy pod does not allow injecting Linkerd sidecar container.
By the way, there is a similar problem with envoy-proxy pod at the moment but the reason is different - envoy-proxy has automountServiceAccountToken=false,
https://github.com/envoyproxy/gateway/blob/f735041d6ce31e104bf00f9a96f47d327634a923/internal/infrastructure/kubernetes/deployment.go#L156
Linkerd requires this parameter to be "true" to inject its sidecar proxy container successfully.

I know @kflynn was able to run EG on Linkerd, does something need to be changed regarding the highlighted field

this issue boils down to what static permissions we are okay EG runs with

Only create resources in a single namespace
Create resources in all namespaces

We could add incorporate (2) using some explicit knob at the GatewayClass level, and ensure the helm charts deploy the right permissions during install

@rkosyk What version of Linkerd and Kubernetes are you using? I was able to get Envoy Gateway to behave nicely with Linkerd 2.12 (.4 FTR) by adding the linkerd.io/inject annotation to the envoy-gateway-system namespace.
(Obviously, that doesn't solve your tenancy issue; I'm just talking about Linkerd here.)

@kflynn  Kubernetes 1.22, Linkerd 2.11.2
There is no problem with Envoy-gateway pod and Linkerd.
The problem is with Envoy-proxy pod that is provisioned dynamically with Envoy-gateway.
Envoy-proxy pod has automountServiceAccountToken="false". Linkerd requires this parameter to be "true"
https://github.com/envoyproxy/gateway/blob/f735041d6ce31e104bf00f9a96f47d327634a923/internal/infrastructure/kubernetes/deployment.go#L156
If I manually patch automountServiceAccountToken to "true" in Envoy-proxy deployment, after the Envoy-proxy pod restart everything works as expected.
Would be nice to have this parameter configurable or "true" by default.

@rkosyk Hmmm, Linkerd 2.12.4 is current, and I think it should work for you as-is -- can you give that a try?

@kflynn Yes, I have tested it and can confirm that it works with Linked 2.12.4
It looks like automountServiceAccountToken="true" is not a hard requirement starting from Linkerd 2.12.0
https://github.com/linkerd/website/pull/1547
Thanks


Retrieval of user's sign in status delayed due to serverless cold boot

This mostly happens on a fresh deployment. When navigating to the /sign-in page, it takes a few seconds to ascertain whether the user is authenticated or not due to cold booting the serverless database connection. This results in the user staying on the sign in page for a few seconds before being redirected to the home page (if they are logged in).
We should make it more responsive. Top of my head: localStorage flag (that gets removed on 401s) on client for quicker response, or existence of session cookie on server if server is checking

Resolved via #185


3DTiler +1 Layer button sometimes disappears

Can't figure out how to reproduce it yet but I'll reply here when I do

Seems to be fixed with recent updates (speculation) because no one has been able to reproduce the error.


Version 1.4.20 has 4 moderate severity vulnerabilities

Hello,
The latest release of this repository (1.4.20) has 4 moderate severity vulnerabilites.
Running npm audit gives the following result:
4 moderate severity vulnerabilities

  To address all issues, run:
    npm audit fix
      Depends on vulnerable versions of cloudant-follow
      Depends on vulnerable versions of request
      node_modules/nano
        fabric-client  1.0.1 - 2.0.0-snapshot.214
        Depends on vulnerable versions of nano
        node_modules/fabric-client

  4 moderate severity vulnerabilities

  To address all issues (including breaking changes), run:
    npm audit fix --force

Are there any plans to fix this?

The v1.4 stream was superseded by the v2.2.0 release in July 2020 - nearly three years ago. With the release of Fabric v2.5 LTS, the v2.2 stream is now also deprecated in favour of the Fabric Gateway client API (for Fabric v2.4 and later).
I do not have any plans to update the v1.4 release. I do plan to address security vulnerabilities in the v2.2 release, at least to the end of this year. Having said that, if anyone in the community wants to submit pull requests with dependency updates to address security vulnerabilities, I am happy to review and merge them. Just be aware that dependency updates are becoming increasingly difficult without breaking compatibility with older Node versions.


Graphics

May I ask what graphics card you are using to run the code? My computer gets stuck when I run the code.

I'm using NVIDIA GeForce RTX 4070 Ti. When running the code, my GPU memory usage is around 3GB with GPU utilization approximately 50%.

Thanks！
---Original---
From: @.>
Date: Tue, Apr 2, 2024 09:30 AM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [zhengjie9510/pyside-yolo] Graphics (Issue #1)
I'm using NVIDIA GeForce RTX 4070 Ti. When running the code, my GPU memory usage is around 3GB with GPU utilization approximately 50%.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


[Feature Request] Proof Key for Code Exchange (PKCE) Support

See spec here: https://oauth.net/2/pkce/
Would be a nice feature to support. A very secure OAuth 2 flow for 3rd party mobile use of an API.

This issue isn't stale, and this is still a very much desired flow. Postman is finally getting around to implementing it apparently, so if others end up here with a need, check out https://github.com/postmanlabs/postman-app-support/issues/3825

This is still a valid feature we would like to have. We are developing and would like to use the PKCE in Insomnia.
This is currently not available, but it is in Postman.


Hopper and Walker do not train with OpenAI.Baselines

I've not been able to get Hopper or Walker to train with the ml-agents OpenAI wrapper and baselines. The agents begin training and make some progress but do not converge as they do when using ml-agents's' internal PPO
Test repro: https://github.com/Sohojoe/MarathonEnvsBaselines
Things I have tried:

Training strategies: simple_baselines multi-agent, baselines single, baselines multi-agent (MPI).
Environments: hopper, walker.
Algorithms: PPO2, AC2.
Hyperparams (PPO2): default hyper params, train_mujoco hyper params, mimicking ml-agents hyper-params, hyper-params search.
Training steps: 1m steps, 5m steps, 16m steps

Based on what I've tried I'm thinking it may be that the reward function (or combination of reward and termination) is overfitting ml-agents's PPO. Next, I will try some variations.

I did some more testing and was able to train with OpenAI.Baselines - the problem is with stable_baselines. Will close the issue and open an issue on their site


Wand of instant death does not perform as advertised against things able to survive 300 damage

Description
Wand of instant death does not perform as advertised against things able to survive 300 damage. That appears to be things like space dragon (takes 2 shots) or xeno queen (takes 5 shots).
Reproduction

Spawn the wand
Spawn dubiously balanced mobs
Click mobs with wand in combat mode

Is this intended or should this just be upped to 9999? It's easily modified in YAML, but I want to find out if 300 is the intended value

If you just keep upping the number, eventually it's going to just destroy walls and stuff. It should probably have unique behavior to instantly kill a mob.

If you just keep upping the number, eventually it's going to just destroy walls and stuff. It should probably have unique behavior to instantly kill a mob.

Agreed, but I'm not sure why #9925 was closed as intended then...

Make it directly kill a mob bypassing the damage system entirely.

Is this intended or should this just be upped to 9999? It's easily modified in YAML, but I want to find out if 300 is the intended value

It's intended.


Azure Container Instances - Subnet won't allocate IPs to containers without delegation

Going through this page as a guide on how to work with ACI and VNets, I ran into an issue where the IP addresses weren't getting assigned to the containers.  Further poking around in documents led me to realize I needed to add --delegations "Microsoft.ContainerInstance/containerGroups".
So a suggested fix:
For the section Create virtual network, in the code after the text Here it's named myACISubnet. use this:
az network vnet subnet create \
  --name myACISubnet \
  --resource-group myResourceGroup \
  --vnet-name myVNet   \
  --address-prefix <IP_ADDRESS>/24
 -- delegations "Microsoft.ContainerInstance/containerGroups

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

ID: d2bdf092-53a6-70a6-5d68-21a7450bb6d8
Version Independent ID: a64c4a6a-10c0-7163-9f2f-54e54b33274e
Content: Static IP address for container group - Azure Container Instances
Content Source: articles/container-instances/container-instances-application-gateway.md
Service: container-instances
GitHub Login: @macolso
Microsoft Alias: macolso

@sadukie Thank you for your feedback (and for providing a solution)!  We are reviewing this and will get back to you shortly.

@sadukie Thanks for pointing this out, I have updated the document and the changes will go live once the changes are approved by the doc author.


Better split extension points

Currently, the extension point handler are all pulled even if they are not used

@kaisalmen will you have some time to have a look at it?

@CGNonofr I will look at it now


Hide that password!

I started checking out this gem and cringed when I saw my password being echo'd to the console as I entered it. This commit fixes that! :smiley:

@peter-murach this can be closed now ?
https://github.com/peter-murach/github_cli/commit/e744cc917a382ac6e56d893c92ac24ad7de3a162

Yes... his use TTY addresses what I did.


Safari 11 TypeError: undefined is not an object (evaluating 'e.changedTouches[0]')

I tested on Safari 9 and 10 and everything seems to be working just fine, but last night I got an error for a user using Safari 11 saying the event is undefined I guess. I don't have a device with Safari 11 for now, I'll try to get my hands on one asap.

Can you reproduce this in any way?

Sadly I didn't get my hands on those expansive iOS devices... :/


📐 More work on layout

Still incomplete, but closer.

Current coverage is 88.82% (diff: 100%)

Merging #586 into bg-project-page will not change coverage

@@           bg-project-page       #586   diff @@
=================================================
  Files                  209        209
  Lines                 8427       8427
  Methods                  0          0
  Messages                 0          0
  Branches                 0          0
=================================================
  Hits                  7485       7485
  Misses                 942        942
  Partials                 0          0

Powered by Codecov. Last update 0e07732...735de17


Is UART working for the up-board

I'm running the up-board kernel on ubuntu and i can't seem to get my python program to work. when i run it, it gives me the following error.
File "motorController.py", line 8, in
transmitter = mraa.Uart(1) # i enter here doesn't make a difference.
File "/usr/local/lib/python2.7/dist-packages/mraa.py", line 1181, in init
this = _mraa.new_Uart(*args)
ValueError: Error initialising UART
Should i be doing something extra? The following is my code up until it breaks.
import mraa
import time
import binascii
#Setup
transmitter = mraa.Uart(1)
Let me know if you need any other info.
Thanks in advance!

Are the devices /dev/ttyS1 and /dev/ttyS2 on your device? What's the output
in syslog and do you have the correct user permissions to write on serial
devices?
On 16 October 2016 at 20:38, Chris Polanco<EMAIL_ADDRESS>wrote:

I'm running the up-board kernel on ubuntu and i can't seem to get my
python program to work. when i run it, it gives me the following error.
File "motorController.py", line 8, in
transmitter = mraa.Uart(1) # i enter here doesn't make a difference.
File "/usr/local/lib/python2.7/dist-packages/mraa.py", line 1181, in
init
this = _mraa.new_Uart(*args)
ValueError: Error initialising UART
Should i be doing something extra? The following is my code up until it
breaks.
import mraa
import time
import binascii
#Setup
transmitter = mraa.Uart(1)
Let me know if you need any other info.
Thanks in advance!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/intel-iot-devkit/mraa/issues/591, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAfZZsto8gVVbwVcZ-RY6rQyvcRTp8_5ks5q0n0igaJpZM4KYD1U
.

--
Brendan Le Foll
http://www.madeo.co.uk

I'm not sure how to check if those devices are on my device. The following is my syslog output. Sorry about not putting it up i'm new to this. It seems as though i don't have permission to write on serial devices. How do i go about doing that?
Oct 16 12:59:50 maverick-UP-CHT01 anacron[2850]: Updated timestamp for job `cron.monthly' to 2016-10-16
Oct 16 13:17:01 maverick-UP-CHT01 CRON[3478]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Oct 16 13:33:41 maverick-UP-CHT01 libmraa[3515]: libmraa version v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 13:33:41 maverick-UP-CHT01 libmraa[3515]: libmraa initialised for platform 'UP' of type 12
Oct 16 13:33:41 maverick-UP-CHT01 libmraa[3515]: uart: open(/dev/ttyS1) failed: Permission denied
Oct 16 13:33:57 maverick-UP-CHT01 libmraa[3518]: libmraa version v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 13:33:57 maverick-UP-CHT01 libmraa[3518]: libmraa initialised for platform 'UP' of type 12
Oct 16 13:33:57 maverick-UP-CHT01 libmraa[3518]: uart: open(/dev/ttyS1) failed: Permission denied
Oct 16 13:34:19 maverick-UP-CHT01 libmraa[3521]: libmraa version v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 13:34:19 maverick-UP-CHT01 libmraa[3521]: libmraa initialised for platform 'UP' of type 12
Oct 16 13:34:19 maverick-UP-CHT01 libmraa[3521]: uart: open(/dev/ttyS1) failed: Permission denied
Oct 16 13:42:00 maverick-UP-CHT01 dbus[443]: [system] Activating service name='org.freedesktop.hostname1' (using servicehelper)
Oct 16 13:42:00 maverick-UP-CHT01 kernel: [ 3902.708713] systemd-hostnamed[3565]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
Oct 16 13:42:00 maverick-UP-CHT01 dbus[443]: [system] Successfully activated service 'org.freedesktop.hostname1'
Oct 16 13:42:01 maverick-UP-CHT01 dbus[443]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Oct 16 13:42:02 maverick-UP-CHT01 AptDaemon: INFO: Initializing daemon
Oct 16 13:42:02 maverick-UP-CHT01 AptDaemon.PackageKit: INFO: Initializing PackageKit compat layer
Oct 16 13:42:02 maverick-UP-CHT01 dbus[443]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Oct 16 13:42:02 maverick-UP-CHT01 AptDaemon.PackageKit: INFO: CreateTransaction() was called
Oct 16 13:42:02 maverick-UP-CHT01 AptDaemon.PackageKit: INFO: Initializing PackageKit transaction
Oct 16 13:42:02 maverick-UP-CHT01 AptDaemon.PackageKit: INFO: GetUpdates() was called
Oct 16 13:42:02 maverick-UP-CHT01 AptDaemon.Worker: INFO: Simulating trans: /org/debian/apt/transaction/b518651c701a4779b1e5b45221014fc6
Oct 16 13:42:02 maverick-UP-CHT01 AptDaemon.Worker: INFO: Processing transaction /org/debian/apt/transaction/b518651c701a4779b1e5b45221014fc6
Oct 16 13:42:09 maverick-UP-CHT01 AptDaemon.Worker: INFO: Finished transaction /org/debian/apt/transaction/b518651c701a4779b1e5b45221014fc6
Oct 16 13:53:02 maverick-UP-CHT01 AptDaemon: INFO: Quitting due to inactivity
Oct 16 13:53:02 maverick-UP-CHT01 AptDaemon: INFO: Quitting was requested
Oct 16 14:04:50 maverick-UP-CHT01 libmraa[3746]: libmraa version v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 14:04:50 maverick-UP-CHT01 libmraa[3746]: libmraa initialised for platform 'UP' of type 12
Oct 16 14:04:50 maverick-UP-CHT01 libmraa[3746]: uart: open(/dev/ttyS2) failed: Permission denied
Oct 16 14:12:33 maverick-UP-CHT01 libmraa[3753]: libmraa version v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 14:12:33 maverick-UP-CHT01 libmraa[3753]: libmraa initialised for platform 'UP' of type 12
Oct 16 14:12:33 maverick-UP-CHT01 libmraa[3753]: uart: open(/dev/ttyS2) failed: Permission denied
Oct 16 14:17:01 maverick-UP-CHT01 CRON[3760]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Oct 16 14:25:01 maverick-UP-CHT01 libmraa[3767]: libmraa version v1.3.0-7-g8ec4fcb initialised by user 'root' with EUID 0
Oct 16 14:25:01 maverick-UP-CHT01 libmraa[3767]: libmraa initialised for platform 'UP' of type 12
Oct 16 14:25:01 maverick-UP-CHT01 libmraa[3767]: uart: tcgetattr(/dev/ttyS2) failed: Input/output error
Oct 16 15:17:01 maverick-UP-CHT01 CRON[3777]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Oct 16 15:27:21 maverick-UP-CHT01 libmraa[3782]: libmraa version v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 15:27:21 maverick-UP-CHT01 libmraa[3782]: libmraa initialised for platform 'UP' of type 12
Oct 16 15:27:21 maverick-UP-CHT01 libmraa[3782]: uart8: init: platform has only 2 uarts
Oct 16 15:27:29 maverick-UP-CHT01 libmraa[3784]: libmraa version v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 15:27:29 maverick-UP-CHT01 libmraa[3784]: libmraa initialised for platform 'UP' of type 12
Oct 16 15:27:29 maverick-UP-CHT01 libmraa[3784]: uart10: init: platform has only 2 uarts
Oct 16 15:27:43 maverick-UP-CHT01 libmraa[3786]: libmraa version v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 15:27:43 maverick-UP-CHT01 libmraa[3786]: libmraa initialised for platform 'UP' of type 12
Oct 16 15:27:57 maverick-UP-CHT01 libmraa[3788]: libmraa version v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 15:27:57 maverick-UP-CHT01 libmraa[3788]: libmraa initialised for platform 'UP' of type 12

So your serial devices are in /dev/ttyS*. Have a look what group they
belong to usually it's modem, or uccp. Add your user to that group and you
should be good. Note that for other stuff like gpio you'll have to set more
perms. Test with root to see if works then work to fix your permissions.
On 16 Oct 2016 9:51 pm, "Chris Polanco"<EMAIL_ADDRESS>wrote:

I'm not sure how to check if those devices are on my device. The following
is my syslog output. Sorry about not putting it up i'm new to this. It
seems as though i don't have permission to write on serial devices. How do
i go about doing that?
Oct 16 12:59:50 maverick-UP-CHT01 anacron[2850]: Updated timestamp for job
`cron.monthly' to 2016-10-16
Oct 16 13:17:01 maverick-UP-CHT01 CRON[3478]: (root) CMD ( cd / &&
run-parts --report /etc/cron.hourly)
Oct 16 13:33:41 maverick-UP-CHT01 libmraa[3515]: libmraa version
v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 13:33:41 maverick-UP-CHT01 libmraa[3515]: libmraa initialised for
platform 'UP' of type 12
Oct 16 13:33:41 maverick-UP-CHT01 libmraa[3515]: uart: open(/dev/ttyS1)
failed: Permission denied
Oct 16 13:33:57 maverick-UP-CHT01 libmraa[3518]: libmraa version
v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 13:33:57 maverick-UP-CHT01 libmraa[3518]: libmraa initialised for
platform 'UP' of type 12
Oct 16 13:33:57 maverick-UP-CHT01 libmraa[3518]: uart: open(/dev/ttyS1)
failed: Permission denied
Oct 16 13:34:19 maverick-UP-CHT01 libmraa[3521]: libmraa version
v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 13:34:19 maverick-UP-CHT01 libmraa[3521]: libmraa initialised for
platform 'UP' of type 12
Oct 16 13:34:19 maverick-UP-CHT01 libmraa[3521]: uart: open(/dev/ttyS1)
failed: Permission denied
Oct 16 13:42:00 maverick-UP-CHT01 dbus[443]: [system] Activating service
name='org.freedesktop.hostname1' (using servicehelper)
Oct 16 13:42:00 maverick-UP-CHT01 kernel: [ 3902.708713]
systemd-hostnamed[3565]: Warning: nss-myhostname is not installed. Changing
the local hostname might make it unresolveable. Please install
nss-myhostname!
Oct 16 13:42:00 maverick-UP-CHT01 dbus[443]: [system] Successfully
activated service 'org.freedesktop.hostname1'
Oct 16 13:42:01 maverick-UP-CHT01 dbus[443]: [system] Activating service
name='org.freedesktop.PackageKit' (using servicehelper)
Oct 16 13:42:02 maverick-UP-CHT01 AptDaemon: INFO: Initializing daemon
Oct 16 13:42:02 maverick-UP-CHT01 AptDaemon.PackageKit: INFO: Initializing
PackageKit compat layer
Oct 16 13:42:02 maverick-UP-CHT01 dbus[443]: [system] Successfully
activated service 'org.freedesktop.PackageKit'
Oct 16 13:42:02 maverick-UP-CHT01 AptDaemon.PackageKit: INFO:
CreateTransaction() was called
Oct 16 13:42:02 maverick-UP-CHT01 AptDaemon.PackageKit: INFO: Initializing
PackageKit transaction
Oct 16 13:42:02 maverick-UP-CHT01 AptDaemon.PackageKit: INFO: GetUpdates()
was called
Oct 16 13:42:02 maverick-UP-CHT01 AptDaemon.Worker: INFO: Simulating
trans: /org/debian/apt/transaction/b518651c701a4779b1e5b45221014fc6
Oct 16 13:42:02 maverick-UP-CHT01 AptDaemon.Worker: INFO: Processing
transaction /org/debian/apt/transaction/b518651c701a4779b1e5b45221014fc6
Oct 16 13:42:09 maverick-UP-CHT01 AptDaemon.Worker: INFO: Finished
transaction /org/debian/apt/transaction/b518651c701a4779b1e5b45221014fc6
Oct 16 13:53:02 maverick-UP-CHT01 AptDaemon: INFO: Quitting due to
inactivity
Oct 16 13:53:02 maverick-UP-CHT01 AptDaemon: INFO: Quitting was requested
Oct 16 14:04:50 maverick-UP-CHT01 libmraa[3746]: libmraa version
v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 14:04:50 maverick-UP-CHT01 libmraa[3746]: libmraa initialised for
platform 'UP' of type 12
Oct 16 14:04:50 maverick-UP-CHT01 libmraa[3746]: uart: open(/dev/ttyS2)
failed: Permission denied
Oct 16 14:12:33 maverick-UP-CHT01 libmraa[3753]: libmraa version
v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 14:12:33 maverick-UP-CHT01 libmraa[3753]: libmraa initialised for
platform 'UP' of type 12
Oct 16 14:12:33 maverick-UP-CHT01 libmraa[3753]: uart: open(/dev/ttyS2)
failed: Permission denied
Oct 16 14:17:01 maverick-UP-CHT01 CRON[3760]: (root) CMD ( cd / &&
run-parts --report /etc/cron.hourly)
Oct 16 14:25:01 maverick-UP-CHT01 libmraa[3767]: libmraa version
v1.3.0-7-g8ec4fcb initialised by user 'root' with EUID 0
Oct 16 14:25:01 maverick-UP-CHT01 libmraa[3767]: libmraa initialised for
platform 'UP' of type 12
Oct 16 14:25:01 maverick-UP-CHT01 libmraa[3767]: uart:
tcgetattr(/dev/ttyS2) failed: Input/output error
Oct 16 15:17:01 maverick-UP-CHT01 CRON[3777]: (root) CMD ( cd / &&
run-parts --report /etc/cron.hourly)
Oct 16 15:27:21 maverick-UP-CHT01 libmraa[3782]: libmraa version
v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 15:27:21 maverick-UP-CHT01 libmraa[3782]: libmraa initialised for
platform 'UP' of type 12
Oct 16 15:27:21 maverick-UP-CHT01 libmraa[3782]: uart8: init: platform has
only 2 uarts
Oct 16 15:27:29 maverick-UP-CHT01 libmraa[3784]: libmraa version
v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 15:27:29 maverick-UP-CHT01 libmraa[3784]: libmraa initialised for
platform 'UP' of type 12
Oct 16 15:27:29 maverick-UP-CHT01 libmraa[3784]: uart10: init: platform
has only 2 uarts
Oct 16 15:27:43 maverick-UP-CHT01 libmraa[3786]: libmraa version
v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 15:27:43 maverick-UP-CHT01 libmraa[3786]: libmraa initialised for
platform 'UP' of type 12
Oct 16 15:27:57 maverick-UP-CHT01 libmraa[3788]: libmraa version
v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 15:27:57 maverick-UP-CHT01 libmraa[3788]: libmraa initialised for
platform 'UP' of type 12
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/intel-iot-devkit/mraa/issues/591#issuecomment-254073927,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAfZZi0TjFx0uOJR7mK-UeMEcLaCwmHuks5q0o5qgaJpZM4KYD1U
.

i ran ls -l and got the following (most has been cut out):
crw-rw----  1 root dialout   4,  64 Oct 16 16:47 ttyS0
crw-rw----  1 root dialout   4,  65 Oct 16 16:47 ttyS1
crw-rw----  1 root dialout   4,  74 Oct 16 16:47 ttyS10
crw-rw----  1 root dialout   4,  75 Oct 16 16:47 ttyS11
crw-rw----  1 root dialout   4,  76 Oct 16 16:47 ttyS12
crw-rw----  1 root dialout   4,  77 Oct 16 16:47 ttyS13
crw-rw----  1 root dialout   4,  78 Oct 16 16:47 ttyS14
crw-rw----  1 root dialout   4,  79 Oct 16 16:47 ttyS15
crw-rw----  1 root dialout   4,  80 Oct 16 16:47 ttyS16
crw-rw----  1 root dialout   4,  81 Oct 16 16:47 ttyS17
crw-rw----  1 root dialout   4,  82 Oct 16 16:47 ttyS18
crw-rw----  1 root dialout   4,  83 Oct 16 16:47 ttyS19
crw-rw----  1 root dialout   4,  66 Oct 16 16:47 ttyS2
the two serial devices belong to the group dealt so i ran: sudo usermod -a -G dealt maverick
I logged out and logged back in. then i tried to run the program again with 8 as the Uart constructor field and got the same error. However, when i did syslog again i got the following:
Oct 16 17:03:38 maverick-UP-CHT01 libmraa[1862]: libmraa version v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 17:03:38 maverick-UP-CHT01 libmraa[1862]: libmraa initialised for platform 'UP' of type 12
Oct 16 17:03:38 maverick-UP-CHT01 libmraa[1862]: uart8: init: platform has only 2 uarts
Then i ran again with 0 as the Uart constructor field (i saw this in an example python program in this repository) and got the following.
Oct 16 17:06:06 maverick-UP-CHT01 libmraa[1875]: libmraa version v1.3.0-7-g8ec4fcb initialised by user 'maverick' with EUID 1000
Oct 16 17:06:06 maverick-UP-CHT01 libmraa[1875]: libmraa initialised for platform 'UP' of type 12
Oct 16 17:06:06 maverick-UP-CHT01 libmraa[1875]: uart: tcgetattr(/dev/ttyS1) failed: Input/output error
any ideas?

I ran 'setserial -g /dev/ttyS[012]' and got this:
maverick@maverick-UP-CHT01:~$ setserial -g /dev/ttyS[012]
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
I'm thinking this is why it's not working. Can anyone tell me how i can set up ttyS[12]?
I tried running sudo setserial /dev/ttyS1 which i'm guessing configured it. It doesn't give me the error anymore however it's not transmitting anything and it hangs. Also when i run 'echo "Hello World" > /dev/ttyS1' it hangs.
Any idea if i'm heading in the right direction? Where do i go from here?

Thanks guys i've figured it out. The upboard kernel i was using recently got updated to allow for the 40-pin headers to function properly. once i did the update everything worked properly.
Thanks again.

No worries, I'll close it. Thanks for reporting back the fix you've found!


Fix #14, "requires tensorboard to be installed" RuntimeError

Update pyproject.toml to add tensorboard as a dependency of the notebooks target.
The tensorboard package is required for step 10 of notebooks/patch_tsmixer_getting_started.ipynb to run the following expression:
trainer = Trainer(
    model=model,
    args=train_args,
    train_dataset=train_dataset,
    eval_dataset=valid_dataset,
    callbacks=[early_stopping_callback],
)

Otherwise the following exception is raised:
RuntimeError: TensorBoardCallback requires tensorboard to be installed. Either update your PyTorch version or install tensorboardX.

Thank you for the PR.


Script tags are not executed when specimen frame prop is set to true.

The html specimen componentDidMount() looks for script tags in the specimen markup. If it finds them, it will eval them.
However, if the html specimen property frame is true, then the lookup for script tags cannot find them, since the specimen markup is now in a different window.

Hi! This is the same issue as https://github.com/interactivethings/catalog/issues/340, therefore I'm closing this one.

OK I'll look at that. Thanks!


Tesseract Using Environment Variable's Path In Windows Instead Of Bundled Path

Hi, in the latest version, the Tesseract engine will use the Path set in Environment Variable instead of the path from the bundle, causing it to throw error (or OCR not working in the release version).
pytesseract.pytesseract.TesseractError: (1, 'Error opening data file C:\\Users\\PC1\\Downloads\\Tesseract-OCR\\jpn.traineddata Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory. Failed loading language \'jpn\' Error opening data file C:\\Users\\PC1\\Downloads\\Tesseract-OCR\\eng.traineddata Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory. Failed loading language \'eng\' Tesseract couldn\'t load any languages! Could not set option: use_new_state_cost=F Could not set option: segment_segcost_rating=F Could not set option: enable_new_segsearch=0 Could not initialize tesseract.') 2021-07-18T20:55:47Z <Greenlet at 0x1b188676048: _process_message({'call': 14.888897478777801, 'name': 'recognize_im, <geventwebsocket.websocket.WebSocket object at 0x0)> failed with TesseractError
The possible bug is in https://github.com/mathewthe2/Game2Text/blob/50cf52cfdbc911daa52a71bd136b919e32a9e718/tools.py#L54
where the Windows branch does not return a proper tessdata-dir path value.
Adding a return seems to fix this problem for me.

Which Tesseract version are you referring to?
And what do you mean by proper tessdata-dir path? Did you export the TESSDATA_PREFIX environment variable manually?

I have 5.0 installed in my machine, so in my environment variable path setting, it is set to my installation folder for my own project use. By proper tessdata-dir path I mean the bundled path, ie the Tesseract bundled together with the executable.
In the Darwin branch there is a return statement for it,
https://github.com/mathewthe2/Game2Text/blob/50cf52cfdbc911daa52a71bd136b919e32a9e718/tools.py#L44
so I figured that Windows needs it's own return statement too, and added
return '--tessdata-dir {}'.format('%r'%str(Path(WIN_TESSERACT_DIR, "tessdata")))
after the line
https://github.com/mathewthe2/Game2Text/blob/50cf52cfdbc911daa52a71bd136b919e32a9e718/tools.py#L53
in which my compilation worked.


[Bug]: How do you build the code?

Current Behavior
This code base is a mess.  Can't even build it.
$ yarn build
yarn run v1.22.19
$ yarn wsrun --stages build
$ /home/steve/Documents/GitHub/mavrik/web3-onboard/node_modules/.bin/wsrun --stages build
@web3-onboard/gas
$ tsc
@web3-onboard/common
$ rollup -c
|
| src/index.ts → dist/...
| (!) Plugin typescript: @rollup/plugin-typescript: Typescript 'sourceMap' compiler option must be set to generate source maps.
| created dist/ in 3.1s
@web3-onboard/injected-wallets
$ tsc
@web3-onboard/fortmatic
$ tsc
@web3-onboard/coinbase
$ tsc
@web3-onboard/keepkey
$ tsc
@web3-onboard/core
$ rollup -c
@web3-onboard/portis
$ tsc
@web3-onboard/gnosis
$ tsc
@web3-onboard/ledger
$ tsc
@web3-onboard/trezor
$ tsc
@web3-onboard/keystone
$ tsc
@web3-onboard/torus
$ tsc
@web3-onboard/dcent
$ tsc
@web3-onboard/mew
$ tsc
@web3-onboard/walletlink
$ tsc
@web3-onboard/magic
$ rollup -c
@web3-onboard/walletconnect
$ tsc
@web3-onboard/core
|
| src/index.ts → dist/...
@web3-onboard/magic
|
| src/index.ts → dist/...
@web3-onboard/fortmatic
| src/index.ts(50,29): error TS2339: Property 'from' does not exist on type 'typeof BigNumber'.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
| yarn build failed with exit code 2
@web3-onboard/web3auth
$ tsc
@web3-onboard/trezor
| src/index.ts(73,7): error TS2740: Type 'BigNumber' is missing the following properties from type 'BigNumber': c, e, s, absoluteValue, and 33 more.
| src/index.ts(178,19): error TS2322: Type 'import("/home/steve/Documents/GitHub/mavrik/web3-onboard/node_modules/@ethersproject/bignumber/lib/bignumber").BigNumber' is not assignable to type 'import("/home/steve/Documents/GitHub/mavrik/web3-onboard/node_modules/bignumber.js/bignumber").default'.
@web3-onboard/ledger
| src/index.ts(74,7): error TS2740: Type 'BigNumber' is missing the following properties from type 'BigNumber': c, e, s, absoluteValue, and 33 more.
| src/index.ts(171,21): error TS2322: Type 'import("/home/steve/Documents/GitHub/mavrik/web3-onboard/node_modules/@ethersproject/bignumber/lib/bignumber").BigNumber' is not assignable to type 'import("/home/steve/Documents/GitHub/mavrik/web3-onboard/node_modules/bignumber.js/bignumber").default'.
@web3-onboard/trezor
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
| yarn build failed with exit code 2
@web3-onboard/ledger
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
| yarn build failed with exit code 2
@web3-onboard/keystone
| src/index.ts(38,7): error TS2740: Type 'BigNumber' is missing the following properties from type 'BigNumber': c, e, s, absoluteValue, and 33 more.
@web3-onboard/keepkey
| src/index.ts(232,23): error TS2322: Type '{ derivationPath: string; address: string; balance: { asset: string; value: BigNumber; }; }' is not assignable to type 'Account'.
|   The types of 'balance.value' are incompatible between these types.
|     Type 'BigNumber' is missing the following properties from type 'BigNumber': c, e, s, absoluteValue, and 33 more.
| src/index.ts(238,11): error TS2322: Type '{ derivationPath: string; address: string; balance: { asset: string; value: BigNumber; }; }[]' is not assignable to type 'Account[]'.
|   Type '{ derivationPath: string; address: string; balance: { asset: string; value: BigNumber; }; }' is not assignable to type 'Account'.
@web3-onboard/keystone
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@web3-onboard/keepkey
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@web3-onboard/keystone
| yarn build failed with exit code 2
@web3-onboard/keepkey
| yarn build failed with exit code 2
@web3-onboard/magic
| (!) Plugin typescript: @rollup/plugin-typescript TS2339: Property 'from' does not exist on type 'typeof BigNumber'.
| src/index.ts: (101:29)
|
| 101                 ? BigNumber.from(balance).mul('1000000000000000000').toString()
|                                 ~~~~
|
| created dist/ in 2.2s
@web3-onboard/core
| (!) Circular dependencies
| src/disconnect.ts -> src/services.ts -> src/notify.ts -> src/update-balances.ts -> src/provider.ts -> src/disconnect.ts
| src/services.ts -> src/notify.ts -> src/update-balances.ts -> src/provider.ts -> src/services.ts
| (!) Plugin typescript: @rollup/plugin-typescript: Typescript 'sourceMap' compiler option must be set to generate source maps.
| created dist/ in 5.8s
@web3-onboard/react
$ tsc
demo
$ cross-env NODE_ENV=production webpack
@web3-onboard/vue
$ tsc
demo
| assets by chunk 9.47 MiB (id hint: vendors)
|   assets by status 7.44 MiB [big]
|     asset 2094.2094.js 1.6 MiB [compared for emit] [minimized] [big] (id hint: vendors) 1 related asset
|     asset 1561.1561.js 1.19 MiB [compared for emit] [minimized] [big] (id hint: vendors) 1 related asset
|     asset 9631.9631.js 996 KiB [compared for emit] [minimized] [big] (id hint: vendors)
|     asset 8205.8205.js 906 KiB [compared for emit] [minimized] [big] (id hint: vendors) 1 related asset
|     asset 5806.5806.js 845 KiB [compared for emit] [minimized] [big] (id hint: vendors) 1 related asset
|     asset 6446.6446.js 689 KiB [compared for emit] [minimized] [big] (id hint: vendors) 1 related asset
|     asset 3889.3889.js 470 KiB [compared for emit] [minimized] [big] (id hint: vendors) 1 related asset
|     + 3 assets
|   + 37 assets
| assets by chunk 1.96 MiB (name: main)
|   asset main.js 1.96 MiB [compared for emit] [minimized] [big] (name: main) 1 related asset
|   asset main.css 799 bytes [compared for emit] (name: main)
| + 71 assets
| Entrypoint main [big] 1.96 MiB = main.css 799 bytes main.js 1.96 MiB
| orphan modules 2.98 MiB [orphan] 1262 modules
| runtime modules 7.57 KiB 15 modules
| javascript modules 17.3 MiB 1769 modules
| json modules 2.79 MiB
|   modules by path ../../node_modules/@web3auth/ 670 KiB 49 modules
|   modules by path ../../node_modules/@keystonehq/ 669 KiB 47 modules
|   modules by path ../../node_modules/eth-dcent-keyring/ 669 KiB 47 modules
|   modules by path<EMAIL_ADDRESS>668 KiB 42 modules
|   optional modules 159 KiB [optional] 10 modules
|   modules by path ../../node_modules/browserify-sign/ 2.23 KiB 2 modules
|   + 10 modules
| css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/svelte-loader/index.js?cssPath=/home/steve/Documents/GitHub/mavrik/web3-onboard/packages/demo/src/App.svelte.0.css!./src/App.svelte 798 bytes [built] [code generated]
|
| WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
| This can impact web performance.
| Assets:
|   main.js (1.96 MiB)
|   9631.9631.js (996 KiB)
|   3889.3889.js (470 KiB)
|   6446.6446.js (689 KiB)
|   5573.5573.js (301 KiB)
|   8205.8205.js (906 KiB)
|   2094.2094.js (1.6 MiB)
|   1561.1561.js (1.19 MiB)
|   5806.5806.js (845 KiB)
|   5224.5224.js (266 KiB)
|   140.140.js (281 KiB)
|
| WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
| Entrypoints:
|   main (1.96 MiB)
|       main.css
|       main.js
|
|
| webpack 5.69.1 compiled with 2 warnings in 18023 ms
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
steve@5950x:~/Documents/GitHub/mavrik/web3-onboard$
Expected Behavior
build successful
Steps To Reproduce
on linux
get clone ...
yarn
yarn build
fails
What package is effected by this issue?
@web3-onboard/core
Is this a build or a runtime issue?
Build
Package Version
2.6.0
Node Version
16
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
Anything else?
I'm on branch release/2.6.0
Sanity Check

[X] If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.

I was trying to use 2.6.0 since 2.5.0 is completely broken and overly hipster.

@sgehrman It looks like you are using the develop branch of the project, please use the main release branch v2-web3-onboard
Using your reproduction steps the project builds fine with the proper release branch.
Also not sure what overly hipster means in the context of an opensource, blockchain project.


Stream into ZipArchiveEntry

I have a variable amount of data I am reading out of a database in chunks and need to stream to an entry in a zip file.
I see that archive.entry() takes a readable stream potentially as it's first argument however I don't have a stream.
I am really looking for a way that archive.entry returns a writable stream that I can write my data to incrementally and then close the entry when the stream is closed.
Am I missing a way to do this?

Thought I found a way with this code
var Readable = require('stream').Readable;
var stream = new Readable();
archive.entry(stream, {name: 'foo.csv'}, function(err, entry) {
// Keep ending up here with err set to 'not implemented'
});

do you have a stack trace?

Figured it out.  Had to implement _read()
Not the easiest way to do this.  Would be really nice if I could get a writable stream from archive.entry() somehow

its a thought i think tar-stream kinda does the "return writable stream" too but will keep it in mind.


Understanding special_co addresses

While trying to rework on the workflow for address cleanup, @Rub21 and I discovered inconsistencies in the special_co addresses that require cleanup.
A address
446 Grandview Ave was marked for removal. Another address 2049 Himrod St was located for the same building.

http://maps.nyc.gov/

Both 446 Grandview Ave and 2049 Himrod St point to the exact same building

Google Streetview

In streetview we found that 20-49 is the address of the store whose entrance is on Himrod St.
The entrance to the building itself is on the side and is 446 on Grandview Ave

B address
This is a cluster of duplicate addresses but only 3 are marked as B code addresses (red) in Queens.

The street address Prospect Ave does not match the actual street name 60th Place
This address is valid on maps.nyc.in
The other duplicates follow the same pattern but do not appear to be part of the code B address set

Conclusion
It is unclear on what the exact status of these special_co A and B addresses are. They all seem to be valid addresses on http://maps.nyc.gov, and in some cases even exist physically as in the first case, so it will be incorrect to remove them.
@lxbarth is there any further documentation or discussion of these addresses and are we 100% sure they need to be cleaned up?

@planemad - take a look at back story here https://github.com/osmlab/nycbuildings/issues/35

Thanks @lxbarth
Capturing from Pg12 of http://www.nyc.gov/html/dcp/pdf/bytes/lion_metadata.pdf:

VALUE A
Alternate Address Range: Alternative address ranges for the same street name. This can occur where buildings have been renumbered; old numbers will sometimes remain in use. For example, such usage is common in some Queens neighborhoods, including Far Rockaway, Douglaston, Forest Hills and Ridgewood, where non-hyphenated addresses have been replaced by hyphenated addresses.

VALUE B
Alternative Street Names: Alternative street names that cannot be handled in the usual way.

We're all set here  - tbc on #139


Upgrade to Eslint 7

Closes #223

[x] Rebase after #231 is merged
[ ] Wait for https://github.com/jonaskello/eslint-plugin-functional/issues/103 to get rid of all eslint v6 and @typescript-eslint/* v2 dependencies

Closing as outdated. See https://github.com/CosmWasm/cosmjs/issues/291 and https://github.com/CosmWasm/cosmjs/issues/223 for further progress.


how can I manage theme-options from admin

I have added few theme-options into database but it's not listing a single Theme Option in the admin panel it keep shows blank

Database Screenshot

for future reader here's a fix i was missing
in your theme directory you must register menu
You can add your menus in this file
<webEd DIR>/themes/<your-theme>/src/Providers/BootsrapModuleServiceProvider.php
protected function onSessionStarted() {
   cms_theme_options()
     ->addGroup('basic', 'Menu Name', 10) //groupName, menuName, Priority
     ->addOptionField('field_name', [
                'group' => 'basic', //field group
                'type' => 'text', //input type
                'priority' => 6,
                'label' => 'label name',
                'helper' => 'your field helper',
            ], function () {
                return [
                    'field_name',
                    get_theme_option('field_name'),
                    ['class' => 'form-control']
                ];
            })
}

P.S. Thank Your for your great support and making these things easier and possible !


Can't see related model data

Having issue with getting data from model relation in admin panel.
What I mean is
I have BoilersController, there we have form method.
I've put there the code and it looks like this now
    protected function form()
    {
        return Admin::form(Boiler::class, function (Form $form) {

            $form->display('id', 'ID');

            $form->display('created_at', 'Created At');
            $form->display('updated_at', 'Updated At');
            $form->display('boilerType.name', 'Boiler type');
        });
    }

the problem is that when I'm on the page, I can't see Boiler type.
I thought there is some problem with my Boiler and BoilerType models, but I haven't found it there.
Here they are.
Boiler
<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Boiler extends Model
{
    protected $fillable = [
        'boiler_type_id',
    ];

    protected $visible = [
        'boiler_type_id',
    ];

    public function boilerType()
    {
        return $this->belongsTo(BoilerType::class);
    }
}

BoilerType
<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class BoilerType extends Model
{
    protected $fillable = [
        'name'
    ];

    protected $visible = [
        'id',
        'name'
    ];
}

How to show boiler type? Any ideas?

Yes these's some issue with getting data from model relation, the current solution is use lower case relation name instead.
public function boilertype()
    {
        return $this->belongsTo(BoilerType::class);
    }

...

$form->display('boilertype.name', 'Boiler type');

@z-song checked, still the same result. can't see id

Also if it needs to be mentioned, on the other model relation (User and Boiler everything works perfect, but there I have hasOne in Users boiler() method)

Can't see Boiler type or id ?  I'm a little confused

Sorry, I pressed wrong key there 'id' -> 'it'. Nothing changed

I have tried myself and everything works fine,  are you sure there has BoilerType data related to Boiler with id 15?

Yes, that's how boilers table looks like

and boiler_types table looks like

Also if that helps if I do dd(Boiler::find(15)->boilertype); I can see "Gas".
That's how my updated code looks like
       $form->display('boilertype.name', 'Boiler type');

       public function boilertype()
       {
           return $this->belongsTo(BoilerType::class , 'boiler_type_id');
       }

If I don't put second parameter on the boilertype() I will get null on dd(Boiler::find(15)->boilertype);

Maybe I did mistake in other part of the code? But I have no idea where it is.

I made it work like this
    protected function form($id = null)
    {
        return Admin::form(Boiler::class, function (Form $form) use ($id){
            $form->display('id', 'ID');

            $form->display('created_at', 'Created At');
            $form->display('updated_at', 'Updated At');
            if ($id !== null) {
                $boilerTypeName = Boiler::find($id)->boilertype->name;
                $form->display('boilertype.name', 'Boiler type')->setDefault($boilerTypeName);
            }
        });
    }

but this workaround really sucks

You must pass boiler_type_id as the second parameter for belongsTo method,  otherwise the Boiler  model can not find the Boiler type.

I did, still the same thing.

I have no idea about this, check this demo page http://<IP_ADDRESS>/admin/demo/users
This also has related model in edit form.  you can find all codes in the page.


chore: go mod tidy

go mod was outdated.

💡 Thought share: I believe this could be closed and this PR here: https://github.com/Azure/aks-periscope/pull/46 take care of go mod tidy


Adding a stitch to write essays from YouTube videos.

What this Pull Request (PR) does
Addition of a "stitch" as well as stitches and artifacts directories to allow for higher order functions composed of various concatenated patterns.

Moving to go. Please resubmit if this isn't fixed after the migration.


Docusaurus version of this repo

Detailed description
I would like to suggest to make docusaurus version of this repo.
Context
It would be good to read this in doc version for readability.
Possible implementation
No response
Additional information
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@vinzvinci, @shuklaritvik06, @KukretiShubham, @mkubdev, thoughts?

@tanishqr-ck This is cool idea! 🔥

@tanishqr-ck This is really a great idea! fire Do you want us to open a repos ?

Hmm 🤔 maybe for now he can push to a non main branch and after we can have that in other repo and deploy to devpath.webxdao.xyz

Hmm is is not good to do it in this repo?

yes here only haha 😅

Closing this issue now. Thanks for your contributions 🎉


Some Changes in features.tsx file

This pull request addresses the issue where the hover effect was missing on the cards. Additionally, I've enhanced the design of the "Our Facilities" cards by adding a box-shadow and transform scale on both home and about section to improve the visual appeal and interactivity.
Changes Made

Hover Effect: Implemented a smooth hover effect on all cards, making the UI more dynamic and user-friendly.
Box-Shadow and Transform: Added box-shadow and transform scale to the "Our Facilities" cards, improving the design by adding depth and making the hover experience more engaging.

Visual Enhancements

Cards now respond with a subtle scale effect and shadow on hover, providing a more interactive and visually appealing experience.

https://github.com/user-attachments/assets/fd2e5de5-4461-4ddc-92a1-2d7bdd32522d

closes #689

Hi @mdazfar2 , I hope you're doing well! I've successfully addressed the box-shadow and transform scale and i created one more issue in this project  that " our facilities  " should have centered that issue is resolved now when the code is converted to tailwind and next.js. Both issues have been resolved to improve the UI performance and interactivity.
Given the scope of changes and the additional fixes made, I would like to kindly request the Level 2 tag for this contribution. Thank you for your consideration!

Thank you @mdazfar2 for merging my pull request! I really appreciate your quick review and action. I'm glad I could contribute, and I look forward to collaborating on more issues in the future!


[v2]  Ajax async: function (resolve, reject) how to use it with componentUrl page?

I am using this below in the router.js  in my case the page it is a component page with < template > and I need to dynamically update the content of this page after ajax success...
is it possible to send this json object to the component page? this below does not work for me because it only open a new page with the template
{{users}}

path: '/something/',
async: function (resolve, reject) {
  // Get external data and return template7 template
  $.getJSON('http://some-endpoint/', function (data) {
    resolve(
      // How and what to load: template
      {
        template: '
{{users}}
'
      },
      // Custom template context
      {
        context: {
          users: data,
        },
      }
    );
  });
}

}
is there a way to pass the json object to a component page after ajax success? if I use template7data not working in my case, and if I use options: {context: {users}},
I need something like this below:
path: '/something/',
name: '/something/',
componentUrl: '/pages/something.html ',

async: function (resolve, reject) {
   app.request({
  url: 'path-to-script',
  dataType: 'json',
  success: function(response) {
    resolve(
      // How and what to load: template
      {
        template7data :  {users}, // no error but it does not work
      },
      // Custom template context
      {
        context: {
          users: response,
        },
      }
    );
  });
}

}
inside my component something.html page i have:
< template >

{{#each users}}
{{this}}
{{/each}}

< /template >
any clues to make this work? I am stuck here in v.2
thanks

sorry but i got it working now using like this:
path: '/something/',
name: '/something/',
async: function (resolve, reject) {
app.request({
url: 'path-to-script',
dataType: 'json',
success: function(response) {
resolve(
// How and what to load: template
{
template :  {users}, // no error and it does not work now object users is sent OK
templateUrl: '/pages/something.html ',
},
// Custom template context
{
context: {
users: response,
},
}
);
});
}

I've got it working using like this putting the templateUrl: '/pages/something.html ', inside resolve and this way {{#each users}} works in the templateUrl page
path: '/something/',
name: '/something/',
async: function (resolve, reject) {
app.request({
url: 'path-to-script',
dataType: 'json',
success: function(response) {
resolve(
// How and what to load: template
{
templateUrl: '/pages/something.html ',
},
// Custom template context
{
context: {
users: response,
},
}
);
});
}
the problem is still that if I use other object name different of users inside context then it stop working again... :/
context: {
contacts: response,
},
for instance to send all contacts to the search page...

this is not working in a component page:
path: '/something/',
name: '/something/',
async: function (resolve, reject) {
app.request({
url: 'path-to-script',
dataType: 'json',
success: function(response) {
resolve(
// How and what to load: template
{
componentUrl: '/pages/something.html ',
},
// Custom template context
{
context: {
users: response,
},
}
);
});
}

Fixed in latest beta

I tested and now with lastest beta everything stop working ...
resolve(... gives error in the console for template or component page...
can you give an example what did you changed and how to use it properly with ajax request on success resolve(...  it seems not to be working...
thanks

@rapgithub have you seen my comment at https://github.com/framework7io/Framework7/issues/1925

thank you !! i will do now!! i hope get solved this way thanks

THANKS A LOT
it is working now and the object is passed to the component page without problems!
BIG thanks for the new release beta 15!!
My working code now after ajax request
{
path: '/page-loader-component/',
async(to, from, resolve, reject) {
data= {};
app.request( {
url: 'path-to-php-script',
dataType: 'json',
data: data,
method: "POST",
crossDomain: true,
statusCode: {
404: function(xhr) {
console.log('page not found');
}
},
complete: function() {
console.log('complete');
},
success: function(response) {
console.log('success');
console.log(response);
resolve(
{
componentUrl: './pages/page-loader-component.html',
},
{
context: {
users: response,
},
}
);
},
error: function() {
console.log('error');
}
});
}

in component page:
      {{#each users}}
      {{this}}
      {{/each}}

BIG THANKS WORKING NOW!!!

Hello guys, I think I found the solution, here are my codes and they work very well:
    {
           path: '/setting/',
            async: function (routeTo, routeFrom, resolve, reject) {
            console.log(routeTo);
            app.request.json('data/data.json',  function (data) {
            resolve(
                // How and what to load: template
                {
                            templateUrl: './pages/setting.html'

                },
                // Custom template context
                {
                    context: {
                        users: data,
                    },
                }
            );
        });
    }
}

and this is setting.html:

Hello {{users.name}}

you cal also use post method and get data from database.

Hello, any one can help
my app.js
app.onPageInit('index', function (page) {
// Do something here for "about" page
var template = $$('#index').html();
var compiledTemplate = Template7.compile(template);
app.request.get('localhost/*****/home/TestAjax', function (data) {
var context = data;
var html = compiledTemplate(context);
});
}).trigger();
my view

its not working


Fixed table first column ?

Nice plugin i use it on my site.
Just wondering can this be used to sticky the first column of a table ?
Thanks

https://github.com/mkoryak/floatThead/issues/149
no


modified outline on topic links for side navbar

@AlmeroSteyn this one is in reference to #1066 . I changed it a bit as discussed in the issue. Below are the screenshots for the same. I tested it on chrome v66.0.3359.181, chrome on Android and firefox 61.0.1

#1066

@AlmeroSteyn any suggestions on this?


Optimize stack usage of activate_deps slightly

Break out the error reporting to its own separate function
Don't pass Context by value as it's quite large, instead pass Box<Context>
Don't bother monomorphizing R: Registry, instead just take a trait object.


IOS does not report firebase_previous_screen with firebase analytics

Discussed in https://github.com/FirebaseExtended/flutterfire/discussions/7155

Originally posted by dennisvanmaren October  7, 2021
Hi
With firebase analytics on Android we receive the firebase_previous_screen parameters but with IOS this field is empty. Anyone have any idea how to get the firebase_previous_screen values? We use FirebaseAnalytics().setCurrentScreen to set the current screenname when a screen transition occurs.

Thanks
Dennis

@dennisvanmaren
Can you provide flutter doctor -v and a self-contained minimal reproducible code sample that we can use to verify this ?
Thanks.

@dennisvanmaren
Is it occuring in CI/CD ? or locally ?
Are you able to replicate this behavior locally ? Can you try the official plugin example and see if you get same issue or not ?
Thanks.


docs: add basic contributing doc following carbon-components-react template

There are Contribution Guidelines linked on the main README.md (https://github.com/ibm/carbon-elements#-contributing), but unfortunately it 404s.
I added a CONTRIBUTING.md file based on the carbon-components-react contributing guidelines (https://github.com/IBM/carbon-components-react/blob/master/.github/CONTRIBUTING.md), but I modified them slightly to better suit this repo.
Changelog
New

Add .github/CONTRIBUTING.md

Thanks for making this, @jendowns! I was holding off on adding in the CONTRIBUTING.md file until we felt like it was ready to accept PRs outside of the core group. This concern might have been premature/unnecessary so definitely think it might be time to start making one.
Would you mind removing the sections after "Coding Style"? I think we might have some tweaks that we'd want to make for this project just because it is a monorepo with its own setup. The other stuff seems like it'd be perfect 💯

Thanks @joshblack! I removed Coding Standards and everything after it -- is that what you are looking for? Also formatted the file correctly 😅


added AZ and TX

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

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


Update DedicatedMC's provider description

The link provided does not work.

Apologies for the delayed response, the link should work again. We were remaking the guide, hence why it was returning a 404.


winget upgrade git.git clobbers user environment variables

Brief description of your issue
I use  winget install --id Git.Git  as a way to provide users both the git client as well as the updated version of the OpenSSH client.  This provides users an updated version of both apps without needing local admin (which our corporate users don't have).
I then add two folders to the local users PATH via
[Environment]::SetEnvironmentVariable("PATH", $Env:PATH + ";$env:LOCALAPPDATA\Programs\Git\bin;$env:LOCALAPPDATA\Programs\Git\usr\bin", [EnvironmentVariableTarget]::User)
This way both git and ssh are in the PATH (and can be run from any directory).
The problem is - when I perform winget upgrade git.git - it clobbers those path entries (and I have to re-add them each time).  This seems like something that could be improved?
Steps to reproduce
winget upgrade git.git
Expected behavior
local path changes would be retained
Actual behavior
local path is clobbered
Environment
Windows Package Manager v1.3.2691
Copyright (c) Microsoft Corporation. All rights reserved.

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

I'm not sure if there are any arguments that could be passed to the installer to modify its behavior. That would be the first thing I would check.
We're looking into some of the challenges with installers and environment variables as a part of the dependency support work in progress.


Alignment Issues with Windows Display Scaling

Cursor is off by several hundred pixels on my computer, when using my 4K display at 175% scaling. Worth noting is that I have a second display at 1080p. Works fine if I don't use display scaling.

Any news here?
If you can get the windows scale this should be an easy fix. Please see attached gif for details.

This bug only affects Windows 8+.

I have a hole new version in development that's full multi screen multi dpi capable, but I find no time to finish it. Hopefully during the next weeks.
Am 29. April 2021 14:51:38 MESZ schrieb Florian Stehling @.***>:

Any news here?
If you can get the windows scale this should be an easy fix. Please see
attached gif for details.

--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/Phaiax/PxKeystrokesForScreencasts/issues/54#issuecomment-829211424

Fixed with v1.0.0


Multiple calls to GetBicepTemplateFile causes ApplicationInsights to fail

https://github.com/dotnet/aspire/blob/c739e921078ac9d14ec2ff1129333828de7378ff/src/Aspire.Hosting.Azure.ApplicationInsights/AzureApplicationInsightsExtensions.cs#L85
This line tries to add the parameter twice.

Waiting for backport.


Update FAQ grammar in docs

While I'm here, I'd love to add the question marks in the question headings in the FAQ page for consistency.

Hi @hannahblair, a PR would be very welcome if you have a chance!

On it!


feat: nit docs

#33  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tremarkley and the rest of your teammates on  Graphite


Create a domain name

Create a domain name associated with mcgill.

TODO: Ask McGill NLP if we can move the website there.

Solution: Forking https://github.com/McGill-NLP/mcgill-nlp.github.io


Add a unit test for publish

@diogomonica @NathanMcCauley
This instantiates a temporary server, publishes some targets to it, and
makes sure we can pull back the correct targets from the server.
Also fixes a few problems with the client unit tests, error reporting in
the client, and logging in the server.
Signed-off-by: Aaron Lehmann<EMAIL_ADDRESS>

LGTM


adds optional js manifest for extending functionality via third party gems

Hi there. I wanted to extend rails_admin to add a new type of field. Specifically- though not really important to this pull request, I wanted to extend the Text type with markitup-rails. When I opened up rails_admin to take a look for the class I wanted to extend, and how I might go about that, I noticed there was a mess of custom extensions/plugins in the field types. To me this does not seem healthy for the project (it bloats the gem, it adds a lot of maintenance requirements for you, and it just doesn't seem like it will scale well over time), and I am not sure if I am missing something or if this was just how things were going at first.
So, I started poking around to see if it would be possible to extend rails_admin via a third-party gem of my own design. It was. While doing that, the only issue I really came up against was good way for getting javascript encapsulated in my gem into the rails_admin js manifest at run-time and in the right order. So, I added a new manifest, required it after everything, and then you can just overwrite it in your project if you want to add custom plugins that extend rails_admin.
If there is a better way to do this that I just missed, I would love to hear it.
You can see the current source code for the gem at https://github.com/Universum/rails_admin_markitup, the readme also explains how it would be implemented. It's dependent on my forked version of rails_admin right now, so I haven't released it to be bundled.
Anyway, would love to hear some thoughts/feedback.

I like this idea, but just a confirmation: can't plugins.js integrated into rails_admin.js, so we have to load only one script, instead of two?

This pull-request is well over a year old, so I'm reaching here remembering if I looked in to that or not, but makes sense!

Hi @robertjwhitney , I think the behavior already exists:
https://github.com/sferik/rails_admin/blob/master/app/assets/javascripts/rails_admin/rails_admin.js#L21
Is there something missing?
Please reopen if needed.


[Snyk] Upgrade semver from 7.3.5 to 7.3.6

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade semver from 7.3.5 to 7.3.6.

:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 24 days ago, on 2022-04-06.

Release notes

Package name: semver

7.3.6 - 2022-04-067.3.6 (2022-04-05)
Bug Fixes

#329 (cb1ca1d)
properly escape dots in GTE0 regexes (#432) (11494f1)
replace deprecated String.prototype.substr() (#445) (e2d55e7)
replace regex used to split ranges (#434) (9ab7b71)

Documentation

clarify * range behavior (cb1ca1d)

Dependencies

<EMAIL_ADDRESS>(#442) (9a3064c)
<EMAIL_ADDRESS>(#439) (60cbb3f)

7.3.5 - 2021-03-237.3.5

    from semver GitHub release notes

Commit messages

Package name: semver

1ea0fe2 chore(main): release 7.3.6 (#443)
e2d55e7 fix: replace deprecated String.prototype.substr() (#445)
c837758 chore: bump @ npmcli/template-oss from 3.2.0 to 3.2.2 (#444)
4907647 chore: use `@ npmcli/template-oss` (#433)
9a3064c deps<EMAIL_ADDRESS>(#442)
60cbb3f deps<EMAIL_ADDRESS>(#439)
11494f1 fix: properly escape dots in `GTE0` regexes (#432)
9ab7b71 fix: replace regex used to split ranges (#434)
cb1ca1d docs: clarify * range behavior
f1e4e29 chore: update settings.yml (#402)

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Codecov Report

Merging #960 (5a84316) into develop (fe198bf) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #960   +/-   ##
========================================
  Coverage    80.16%   80.16%
========================================
  Files           36       36
  Lines         1104     1104
  Branches       234      239    +5
========================================
  Hits           885      885
+ Misses         219      209   -10
- Partials         0       10   +10

Impacted Files
Coverage Δ

packages/core/src/org/SFPOrg.ts
56.06% <0.00%> (ø)

packages/core/src/logger/SFPLogger.ts
48.48% <0.00%> (ø)

packages/core/src/project/ProjectConfig.ts
88.88% <0.00%> (ø)

packages/core/src/package/PackageManifest.ts
93.57% <0.00%> (ø)

...ages/core/src/artifacts/ArtifactFilePathFetcher.ts
34.04% <0.00%> (ø)

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 9c11e5e...5a84316. Read the comment docs.

Fixed in develop


Can this be fixed

I've some issue that first got error when visualize caffe model.
Then started downgrade protobuf (search from net) and got nightmare.
Now I fixed my digits server shown below, can this be fixed?

Ah....
I've reinstalled.


Daemon is not kill

(Mainly adding this so I don't forget it in the next release.)
Latest hyperdrive-daemon isn't shutting down properly when I close beaker. Should be deamon is kill, but deamon is not kill.

Might be related, but on macOS Beaker does not quit completely when I cmd+q or Beaker Browser > Quit Beaker but does quit completely when I quite from the menubar app. 🤷

@todrobbins That's intended behavior if you have "Let beaker run in the background" enabled


Fix crash in vkBeginCommandBuffer

From the spec:

pInheritanceInfo is a pointer to a VkCommandBufferInheritanceInfo structure, used if commandBuffer is a secondary command buffer. If this is a primary command buffer, then this value is ignored.

This would crash if pInheritanceInfo is pointing to invalid memory.

CI gfxreconstruct build queued with queue ID 326099.

CI gfxreconstruct build # 5566 running.

CI gfxreconstruct build # 5566 failed.

CI gfxreconstruct build # 5567 running.

CI gfxreconstruct build # 5567 failed.

This PR needs resolution of the failed CI Jenkins run test cases and deciding whether Panos' suggestion to move this to an override function is appropriate, is that right?


Open Folder and open file cause application to freeze indefinitely

Issue Type: Performance Issue
Application freezes upon opening file using ctrl-o. After freeze application becomes unresponsive and has to be closed using task manager.
Steps to Reproduce:
ctrl-o and select a file
repeat 2 times and application freezes.
VS Code version: Code 1.49.1 (58bb7b2331731bf72587010e943852e13e6fd3cf, 2020-09-16T23:27:51.792Z)
OS version: Windows_NT x64 10.0.19041

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (16 x 3600)

GPU Status
2d_canvas: unavailable_softwareflash_3d: disabled_softwareflash_stage3d: disabled_softwareflash_stage3d_baseline: disabled_softwaregpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: disabled_offprotected_video_decode: disabled_offrasterization: disabled_softwareskia_renderer: disabled_off_okvideo_decode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_software

Load (avg)
undefined

Memory (System)
63.94GB (56.99GB free)

Process Argv
--crash-reporter-id cd48213b-136f-435b-9045-4fd2f053a5d3

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    0	    78	 18032	code main
    0	    25	  3844	   crashpad-handler
    0	    86	  8632	   window (Issue Reporter)
    0	    84	  9244	   shared-process
    0	    38	  9552	   utility
    0	   175	 17248	   window (testcase04.c - Visual Studio Code)
    0	   101	 16640	     extensionHost
    0	    12	  9252	       "c:\Users\Landon's PC\.vscode\extensions\ms-vscode.cpptools-1.0.1-insiders\bin\cpptools.exe"
    0	    11	  1468	         console-window-host (Windows internal process)
    0	    12	 12232	         "c:\Users\Landon's PC\.vscode\extensions\ms-vscode.cpptools-1.0.1-insiders/bin/cpptools-srv.exe" 9252 0
    0	     6	 17596	     console-window-host (Windows internal process)
    0	     6	 17640	     C:\WINDOWS\System32\wsl.exe
    0	     6	  9828	       C:\WINDOWS\system32\lxss\wslhost.exe {51d4a3eb-c30a-403f-8dcb-68d455a2f8ae} 476 484 488
    0	    13	  2260	         console-window-host (Windows internal process)
    0	    90	 18200	   gpu-process

Workspace Info
;

Extensions (10)

Extension
Author (truncated)
Version

python
ms-
2020.8.109390

remote-wsl
ms-
0.44.5

cpptools
ms-
1.0.1-insiders

java
red
0.67.0

vscodeintellicode
Vis
1.2.10

vscode-java-debug
vsc
0.28.0

vscode-java-dependency
vsc
0.13.0

vscode-java-pack
vsc
0.10.0

vscode-java-test
vsc
0.24.2

vscode-maven
vsc
0.24.2

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

It happens for me as well. Not every time, but once out of 3 or 5 for sure, I stopped using file open because of it. We use it remotely from window to linux

Can you please follow the steps in https://github.com/Microsoft/vscode/wiki/Native-Crash-Issues to get at more details around the crash and attach the result here? Thanks!

Unfortunately no, because it doesn’t crash, it just hangs there. Gui thread works – I can click into windows, and it draws them, but nothing on the interface is active. Any other way I can investigate it?
From: Benjamin Pasero
Sent: Friday, October 2, 2020 4:09 AM
To: microsoft/vscode
Cc: dixonqmg; Manual
Subject: Re: [microsoft/vscode] Open Folder and open file cause application tofreeze indefinitely (#107078)
Can you please follow the steps in https://github.com/Microsoft/vscode/wiki/Native-Crash-Issues to get at more details around the crash and attach the result here? Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

Additionally, download https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer , once you see the freeze right click on the code.exe process > Create Dump > Create Full Dump... , you will see many code.exe process, take the process dump from all of them and send them to<EMAIL_ADDRESS>Thanks!

It has finally happened, forwarded dump files.
From: Robo
Sent: Thursday, October 8, 2020 11:38 PM
To: microsoft/vscode
Cc: dixonqmg; Manual
Subject: Re: [microsoft/vscode] Open Folder and open file cause application tofreeze indefinitely (#107078)
Additionally, download https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer , once you see the freeze right click on the code.exe process > Create Dump > Create Full Dump... , you will see many code.exe process, take the process dump from all of them and send them to<EMAIL_ADDRESS>Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I believe I'm having this same issue. For me, any window/dialog box that VS Code has to open hangs the program for around 10 seconds. It will eventually open the window, but working in that window is very slow. This also happens for any yes/no dialog boxes, such as saving files. I'm currently running:
Ubuntu 20.04
VS Code: 1.50.1
Commit: d2e414d9e4239a252d1ab117bd7067f125afd80a
Date: 2020-10-13T14:44:48.716Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.4.0-51-generic snap

I just installed insiders, and it appears to be resolved.

Linux Snap is covered by: https://github.com/microsoft/vscode/issues/100940

This happens on insider's build on windows 10 also.
I have sent dump file as email to<EMAIL_ADDRESS>Possibly related to remote ssh?

Definite way to reproduce hang:

Install remote-ssh extension
Connect to remote host
Open Folder say ~/ipc20
Open any file inside the folder say ~/ipc/a.c
Now try to open a file outside of the folder, say ~/.bashrc

I'm seeing the same issue on Windows 10 Pro without the remote-ssh extension. I couldn't send out an email due to the size of the dump file - is there a suitable place I could share the dump file?
Version: 1.52.1 (user setup)
Commit: ea3859d4ba2f3e577a159bc91e3074c5d85c0523
Date: 2020-12-16T16:34:46.910Z (1 mo ago)
Electron: 9.3.5
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.18362

Confirming same issue with WSL2 on windows as well

On Feb 4, 2021, at 4:55 AM, shiraze<EMAIL_ADDRESS>wrote:
I'm seeing the same issue on Windows 10 Pro without the remote-ssh extension. I couldn't send out an email due to the size of the dump file - is there a suitable place I could share the dump file?
Version: 1.52.1 (user setup)
Commit: ea3859d https://github.com/microsoft/vscode/commit/ea3859d4ba2f3e577a159bc91e3074c5d85c0523
Date: 2020-12-16T16:34:46.910Z (1 mo ago)
Electron: 9.3.5
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.18362
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/107078#issuecomment-773181203, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGAKCLCK5JKUPHCCFOTO5F3S5JVHXANCNFSM4RTGQPIQ.

I can confirm with the update I received just now that I no longer have the issue:
Version: 1.53.0 (user setup)
Commit: 8490d3dde47c57ba65ec40dd192d014fd2113496
Date: 2021-02-03T20:36:38.611Z
Electron: 11.2.1
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.18362

Sorry - I spoke too soon. I'm seeing the same issue with the updated VSCode.
It could be related to network drives somehow, although I'm just doing Ctrl+O and looking for a file in the current working folder.

Sorry for spamming. It turns out my issue wasn't limited to VSCode - running sfc /scannow fixed issues on my hard drives.

Same here (AWS Workspace, CentOS):
Version: 1.63.2
Commit: 899d46d82c4c95423fb7e10e68eba52050e30ba3
Date: 2021-12-15T09:39:46.686Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 4.14.256-197.484.amzn2.x86_64

Sometimes it works, often it does not work. Open-folder, then nothing happens and close window / quit does not do anything anymore. Everthing else still seems to be fine, But it's often impossible to open (another) folder.

I just notice in another window, not the one where I tried to open new folder, below explorer, a blue bar moves from left to right infinitely and documents show a clock:

Installing Vscode Insiders, in my case, fixed all performance issues related to js, ts, react development, npm, wsl.
Also open with works as fast as never.

After trying out several suggestions, I installed vs insider. But even in a fresh installation, It hung. (Ubuntu 18.04)

It even hangs on a fresh (snap) installation of vs insider (on Ubuntu 18.04 at least)
Commit: e7c6ad74aff28965d0189ca1dd584f5e9829cf06
Date: 2022-04-19T05:17:48.321Z
Electron: 17.4.0
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.4.0-109-generic snap

An observation: After forcing to quit, the processes' status remains running, including the following two processes:

code-insider --type=zygote --no-sandbox --enable-crashpad --enable-crashpad
code-insider --type=zygote --no-zygote-sandbox --enable-crashpad --enable-crashpad

The same thing is happening for me on ubuntu 18.04

Not related to the Linux distributor, I have the problem in AWS Workspace on CentOS  and in Ubuntu.

@arashgmn the issue you are facing is tracked under https://github.com/microsoft/vscode/issues/146584

Does this issue persist with latest stable 1.74 ?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

Does this issue persist with latest stable 1.74 ?

For me, a similar issue is there. When I build the modules and run a file using node from dist. It freezes my system very frequently.
And after some time it's even hard to save my files. I tried editors like sublime and it works there without any problem.
I tried using an external terminal in visual studio code, still, the issue persists.
I have tried the same thing with different systems, its all the same. Every one of them freezes after some time.
Please help me!!!

Confirmed, issue happening for me as well, when opening file or folder VSCode is inaccessible (locked up) and you have to ctrl+alt+delete to close task and reopen VSCode.


mod_auth_tkt & mod_proxy...reverse proxy removes query string?

I have an issue with mod_auth_tkt when used with mod_proxy in a reverse proxy setup.
I used this previous mod_auth_tkt thread as reference...
http://sourceforge.net/mailarchive/forum.php?thread_name=07A4A9EC53C2B841A7015A2E2FAFD19506C8CA58%40flybe06.flybe.local&forum_name=modauthtkt-users
Any URL with a query string has the query string removed when it is proxy'ed to the backend application.
eg
https://config.mycompany.com/app1/csdmain.vmgw  ...works
http://app1.mycompany.com:8080/csdmain.vmgw sent
https://config.mycompany.com/app1/csdsrch.vmgw ...works
http://app1.mycompany.com:8080/csdsrch.vmgw sent
https://config.mycompany.com/app1/csdshow.vmgw?mode=text&fname=HIGHPT&ftype=AB1234  ..doesn't work
http://app1.mycompany.com:8080/csdshow.vmgw  is sent to the backend application
debug dump...
[ mod_auth_tkt config ]
the_request: GET /app1/csdshow.vmgw?mode=text&fname=HIGHPT&ftype=AB1234 HTTP/1.1
URI: /app1/csdshow.vmgw
unparsed URI: /app1/csdshow.vmgw?mode=text&fname=HIGHPT&ftype=AB1234
Args: mode=text&fname=HIGHPT&ftype=AB1234
Filename: proxy:http://app1.mycompany.com:8080/csdshow.vmgw
TKTAuthSecret: wx4qJ3XWKLrN1f7EQbgP
TKTAuthSecretOld: (null)
TKTAuthDigestType: MD5
digest_sz: 32
directory: /app1
TKTAuthLoginURL: https://www.salesforce.com/secur/login.jsp
TKTAuthTimeoutURL: (null)
TKTAuthPostTimeoutURL: (null)
TKTAuthUnauthURL: (null)
TKTAuthCookieName: GBTicket
TKTAuthDomain: .mycompany.com
TKTAuthCookieExpires: 7200
TKTAuthBackCookieName: back
TKTAuthBackArgName: back
TKTAuthIgnoreIP: -1
TKTAuthRequireSSL: -1
TKTAuthCookieSecure: 1
TKTAuthTimeoutMin: 7200
TKTAuthTimeoutRefresh: 0.500000
TKTAuthGuestLogin: -1
TKTAuthGuestCookie: -1
TKTAuthGuestUser: (null)
TKTAuthGuestFallback -1
TKTAuthDebug: 3
I am using...
CentOS 5.6
Apache 2.2
mod_auth_tkt 2.1
My config is as follows...
<VirtualHost *:443>
ServerName  config.mycompany.com
ServerAlias config.mycompany.com
TKTAuthSecret "secret"
all requests for /back/* must be authenticated
<Location /csd>
    #AuthType Basic
    Require valid‐user
    TKTAuthLoginURL  https://www.salesforce.com/secur/login.jsp
    TKTAuthCookieName GBTicket
    TKTAuthCookieSecure on
    TKTAuthDomain .mycompany.com
    #TKTAuthBackArgName
    TKTAuthBackCookieName back
    TKTAuthTimeout 2h
    TKTAuthCookieExpires 2h
    TKTAuthDebug 0
</Location>

ProxyRequests off
ProxyPass /app1/  http://app1.mycompany.com:8080/

RewriteEngine on
RewriteRule      ^/app1/?$    http://app1.mycompany.com:8080/   [P,L]
RewriteRule      ^/app1/(.+)$ http://app1.mycompany.com:8080/$1 [P,L]
ProxyPassReverse  /app1/      http://app1.mycompany.com:8080/

WSGIScriptAlias /login    /var/www/public_html/config.mycompany.com/login/adapter.wsgi

The application receives a federated login from a salesforce app, and a Python wsgi app creates the GBTicket secure cookie.
I have tried both mod_proxy and mod_rewrite for the reverse proxy, with the same result. I have also tried to add the query string back in to the request using mod_rewrite, but it still gets removed.
When I disable mod_auth_tkt, the reverse proxy works as normal, and the query string is passed through to the backend application.
Do you have any idea why this is happening?
Thanks,
Brian M

[Replied on the mod_auth_tkt mailing list, but duped her for search]
Hi Brian,
This is a pretty weird problem. I can't reproduce it on my laptop, which is pretty similar to your setup - CentOS 6, Apache 2.2, mod_auth_tkt 2.1.
I used the following config (pretty much cut-and-pasted from yours):
<Location /sledge>
AuthType None
Require valid-user
TKTAuthLoginURL http://nox/auth/login.cgi
TKTAuthBackCookieName back
TKTAuthTimeout 2h
TKTAuthCookieExpires 2h
TKTAuthDebug 0

ProxyRequests on
ProxyPass         /sledge/ http://localhost:3005/
ProxyPassReverse  /sledge/ http://localhost:3005/
I'm seeing query strings go straight through to the backend app just fine, as expected.
Have you got any further debugging this since you posted?
Cheers,
Gavin


event stream disconnects periodically

When listening for chain_reorg, sometimes the event stream seems to disconnect periodically.
It doesn't appear to be the keep alive, but haven't got the raw stream data to look at currently.

it should be related to the error:
Sep 20, 2022 @ 09:40:18.601	Connection unexpectedly closed

Tried to replicate the issue without success. Will close the issue for now, and reopen if and when more information is made available.


Plugin Docs

A lot of text here to review... Sorry about that.

Shoot. I was trying to batch these, but apparently some diffs where large and thus hidden. I don't get the point of that.

Time to re-wrap the text to 79 chars

Thanks for the review @cherman2! I reworked the language on the typemap row which doesn't exist a bit in https://github.com/qiime2/qiime2/pull/773/commits/a059f867ada3b173a6489dc766e8f5134458b756, let me know if that's clearer.

Thanks for the review @cherman2! I reworked the language on the typemap row which doesn't exist a bit in a059f86, let me know if that's clearer.

yeah that clarifies things for me!

Also, I have no power of merge here, so you will have to merge


[BEAM-13295] [Playground] [Bugfix] Implement copying a prepared go.mod

Implement copying a prepared go.mod and go.sum

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

@pavel-avilov could you please resolve all conflicts?


.Net: Add overload to Kernel.InvokePromptAsync to support ChatHistory directly or add Kernel.InvokeChatAsync(ChatHistory)

Hello,
i am aware that the ChatHistory can be provided within the KernelArguments, but it is not intuitive. The alternative to invoking a ChatHistory with an LLM was using the OpenAIService directly, but with the Mistral Connector and possibly more Connectors coming in the future, one could also rely on invoking a ChatHistory into whatever IChatCompletionService is present in the Kernel.
The feature, if you choose to accept it, can be implemented by me via PR.

Hi @Jenscaasen ! We need to think about scalability, because ChatHistory is not the only option we would like to support. Kernel should work with different data types, including text, chat, image, video, audio etc. In case we add support for ChatHistory object, we should probably add the same for other data types, and I'm not sure it's a goal at the moment.
In case you know that in your application you work with ChatHistory in most cases, it's still possible to create an extension method on your side that will accept ChatHistory. Let me know what you think about it.

Hi @Jenscaasen ! We need to think about scalability, because ChatHistory is not the only option we would like to support. Kernel should work with different data types, including text, chat, image, video, audio etc. In case we add support for ChatHistory object, we should probably add the same for other data types, and I'm not sure it's a goal at the moment.
In case you know that in your application you work with ChatHistory in most cases, it's still possible to create an extension method on your side that will accept ChatHistory. Let me know what you think about it.

yes that will work as well. Can be closed

Closing for now, feel free to re-open this issue or create a new one. Thanks!

I want to make a suggestion to you about that, based on what i had to implement so far in other products
GPT-4-Turbo-V does show that an image input is just a URL. Whisper shows that a voice input is just a URL. OS-Models show that Video inputs are just URLs. Same goes for outputs.
On top of that, most models require to ingest your files from a publically available URL, and offer multi-media results as publically available URLs (temporarily)
First, extend class KernelContent with a enum ContentType (TEXT, VIDEO, AUDIO, IMAGE)
Then, implement this:
interface IPublicStorageProvider
{
//returns a GUID as a file identifier
public string SaveMedia(string url, string contentType);
public string SaveMedia(byte[] data, string contentType);
//copies file to a public location for a limited time or creates a SAS Token for the time and returns the URL
public string GetPublicUrl(string fileIdentifier, TimeSpan duration);
}
This interface could now be used as BlobStorageProvider, that uses Azure Blob storage to save files and Azure Table to save the mapping between a GUID a file and their contentType (which is important to set at the public / SAS blob for proper client side download handling)
In KernelContent, the content field now contains this value:  {publiccontent:GUID}
With a IPublicStorageProvider registered in the Kernel, before giving a call to a  IChatCompletionService or ITextGenerationService, this content can be resolved by the IPublicStorageProvider into a proper URL, so the LLM can handle it without you exposing URLs when persisting the KernelContent
Enabling KernelContent to hold Media Information would automatically also benefit ChatHistories, making multi-modal calls easier across LLM providers

@Jenscaasen how might you go about including the "Chat History" object in a prompt? For example I have a current QA prompt that looks like this:
Use the following pieces of context to answer the question at the end. If you don't know the answer, don't try to make up an answer and answer with 'I don't know'. Answer in the language that used for the question.

{{$context}}

Question: {{$input}}
Answer:

Would it be just a simple as having another variable for "{{chathistory}} and including that with a prompt of "Here is the previous chat history from the conversation: "

@Jenscaasen how might you go about including the "Chat History" object in a prompt? For example I have a current QA prompt that looks like this:
Use the following pieces of context to answer the question at the end. If you don't know the answer, don't try to make up an answer and answer with 'I don't know'. Answer in the language that used for the question.

{{$context}}

Question: {{$input}}
Answer:

Would it be just a simple as having another variable for ${{chathistory}} and deserialize the messages and including that with a prompt of "Here is the previous chat history from the conversation: "

With prompt templates i do not know. The only 2 options i know of are using an  AzureOpenAIChatCompletionService service, this has an overload to use a ChatHistory, and supplying the history as "messages" in KernelArguments, like they do here:
https://github.com/microsoft/semantic-kernel-starters/blob/main/sk-csharp-hello-world/Program.cs
maybe that's outdated, since it says RC3


PCUser Description Not Quite Accurate

From this docs page: "Create a pcuser account in your Active Directory and ensure that the account is enabled. This account will serve as the default user. It will be used for mapping UNIX users for accessing a dual-protocol volume configured with NTFS security style."
This implies that every unix user will use pcuser, but I don't think that's correct. If a user has an account in AD with the POSIX attributes set, then that account will be the one used for authentication and it will not map to the pcuser. The pcuser is used only when there is no other user.
Example user<EMAIL_ADDRESS>has UID number 10001 and GID number 5001 and is coming in to access a file mounted on a Windows server. That account will be authenticated against the AD account<EMAIL_ADDRESS>not the pcuser. The docs here seem to imply that<EMAIL_ADDRESS>will get mapped to pcuser which would then need to be given access to the file. I don't think that's correct.
Is there anything else the pcuser is used for?

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

ID: 7073f77b-7f6b-81f2-ea7e-b7beaa114752
Version Independent ID: 4c501f84-30f5-e45d-10fc-0d47903ed757
Content: Create a dual-protocol (NFSv3 and SMB) volume for Azure NetApp Files
Content Source: articles/azure-netapp-files/create-volumes-dual-protocol.md
Service: azure-netapp-files
GitHub Login: @b-juche
Microsoft Alias: b-juche

@elfcounsel - Thanks, Win.  I've connected through email to include ANF stakeholders in this discussion.

Per discussion with technical team, we updated the 'pcuser' consideration as follows:
• Create a pcuser account in your Active Directory (AD) and ensure that the account is enabled. This account will serve as the default user. It will be used for mapping UNIX users for accessing a dual-protocol volume configured with NTFS security style. The pcuser account is used only when there is no user present on the AD. If a user has an account in the AD with the POSIX attributes set, then that account will be the one used for authentication and it will not map to the pcuser account.

#please-close


Refunds feature base

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

Having Compilation Issues.....


What do the new Select and copy buttons do?

There are a couple of new buttons not covered in the documentation

Select

Copy and Revise

Copy Line

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

ID: 322c2b3a-1716-96a4-de26-7f68b2558035
Version Independent ID: 2353cddb-c330-bfb7-87fe-00a20780589b
Content: Create a new trade agreement - Supply Chain Management | Dynamics 365
Content Source: articles/supply-chain/sales-marketing/tasks/create-new-trade-agreement.md
Service: dynamics-ax-applications
Product: ****
Technology: ****
GitHub Login: @omulvad
Microsoft Alias: omulvad

@carstenhoeck - thank you for the feedback.
@kamaybac - can you please work with the new author of this topic to address this feedback?

@kamaybac. please review


buildDotnetModule: point fetch-deps at module's deps file by default

Previously, you had to provide the path to the deps.nix of the package inside your Nixpkgs checkout as an argument manually. Now it just does that by default when no argument is passed.
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

I was working on something similar here: https://github.com/corngood/nixpkgs/commit/0a1b9030a1c6acd3d3e970bde173820080e9c145
Some of it may be useful, as it has doc updates, deals with github-runner, removes the args from the various update scripts and adds a script for updating all packages.
The only TODO I had was that there's at least one package that doesn't directly reference a file in nugetDeps.  I think you covered that in your implementation.

That looks great too but I'm not motivated enough to follow through on that. I just wanted the update process to be a little more convenient ;)

This broke the initialization workflow where nugetDeps = null. It will now always raise the error that nugetDeps is not defined introducing a chicken egg problem.
Maybe just revert for now?

Could you post the exact error? If nugetDeps = null;, lib.isPath should return false and a tmpdir should be used.