Enable contextIsolation for all windows

We should explore to enable contextIsolation for all windows and ensure:

there are no critical performance regressions doing so

we could explore to implement message port based communication from renderer to main process to bypass the context bridge hop

there are no issues from the contextBridge when using the exposed API from our preload script

Looks like there is a native crash when running from my macOS ARM device out of sources (https://github.com/microsoft/vscode/tree/ben/contextIsolation):
03644fe8-2020-4c3f-8ec7-fc8f10755d5d.dmp.zip

Its a crash when trying to proxy process.env https://github.com/microsoft/vscode/blob/9006cc826898bd5692b645a059c72617f9b20c39/src/vs/base/parts/sandbox/electron-browser/preload.js#L284 . Specifically, node environment object has a custom property interceptor which gets called when accessing enumerable properties https://github.com/nodejs/node/blob/394fdecc9141aa4c6a8ea7f1aecaf5fcaaaf5c72/src/node_env_var.cc#L368-L376, for whatever reason the v8 context passed to this interceptor is of the main world instead of the isolated world hence leading to EXC_BAD_ACCESS crash.
Temporary workaround until further investigation is to avoid hitting the custom interceptor by
get env() { return { ...process.env }; },

Thanks, pushed a fix for that.
We still cannot launch with contextIsolation: true, there are things we depend on that will not work. I wonder if sandbox: true has to happen first because some of these things seem node.js dependent.
enableASARSupport() is only available in node.js environments
Uncaught (in promise) TypeError: require.__$__nodeRequire is not a function
Uncaught TypeError: Cannot read property '__$__isRecorded' of undefined

I came to the conclusion that we can just go for sandbox: https://github.com/microsoft/vscode/issues/154006


Support nodeSelector for Prometheus TPR

I'd like to control which nodes my Prometheus instance will be scheduled onto. But, it seems that nodeSelector is not available in the Prometheus TPR, which, I assume, would be the correct place to specify it.

This is definitely something we want to support. It should be pretty straight forward, so I'll try to get it into the next release.

Cool, thanks! I'd also love to contribute, so if you're busy with other stuff I'd certainly like to try to knock it out.
I assume we would modify the PrometheusSpec to look like the following:
// PrometheusSpec holds specification parameters of a Prometheus deployment.
type PrometheusSpec struct {
	ServiceMonitorSelector *metav1.LabelSelector   `json:"serviceMonitorSelector"`
	Version                string                  `json:"version"`
	Paused                 bool                    `json:"paused"`
	BaseImage              string                  `json:"baseImage"`
	Replicas               int32                   `json:"replicas"`
	Retention              string                  `json:"retention"`
	ExternalURL            string                  `json:"externalUrl"`
	Storage                *StorageSpec            `json:"storage"`
	Alerting               AlertingSpec            `json:"alerting"`
	Resources              v1.ResourceRequirements `json:"resources"`
	NodeSelector           map[string]string       `json:"nodeSelector,omitempty"
}

And then just copy the NodeSelector map into the StatefulSet that is generated?

You can most certainly give it a go! Yes indeed it would go into the PodTemplate of the StatefulSet. Looking forward to reviewing! 🙂 🎉

My only concern at this point is, that there is also node affinity and anti-affinity: https://kubernetes.io/docs/user-guide/node-selection/
Ideally we wouldn't carry two concepts where one is a superset of the other. Do we want both, or just the newer and more powerful one?
They are still alpha however and still done via JSON encoded annotations. For storage volumes we had a similar case, where we simply went ahead and implemented proper YAML fields for that. That has the issue that we have to break those, if the annotation format changes.
We could also carry it as an annotation to the TPR as well for the time being and propagate it down. This ties into #95 then.

Took a stab at it with #109.
@fabxc It seems to me that supporting both would be important. For my use case nodeSelector is sufficiently powerful. In addition, nodeSelector is already part of the v1 spec. So, it's not going anywhere at least until v2. That said, passing along annotations from the prometheus TPR would support a large number of alpha features so it would also be beneficial.

Looking at the documentation

If you specify both nodeSelector and nodeAffinity, both must be satisfied for the pod to be scheduled onto a candidate node.

I think it should be safe to start with a nodeSelector, and extend it with nodeAffinity once there is a request for it, in the hope that by then it will have been promoted from alpha stage.

Yes we're gonna stay away from node affinity until 1.6 when it will be promoted to beta and become an object field ... https://groups.google.com/forum/m/#!msg/kubernetes-dev/-fwfHQtm9GE/H1TU4yqiBAAJ

Makes all sense. Just would be a bit unnecessary if nodeSelectors were just
kept around due to 1.x in k8s and effectively superseded.
But fine with me to add them now. If it really bothers us, we could always
to some auto-migration later – or just keep the few lines of code and docs
around; I might be too concerned with minimalism.
On Thu, Jan 19, 2017 at 6:36 PM Frederic Branczyk<EMAIL_ADDRESS>wrote:

Yes we're gonna stay away from node affinity until 1.6 when it will be
promoted to beta and become an object field ...
https://groups.google.com/forum/m/#!msg/kubernetes-dev/-fwfHQtm9GE/H1TU4yqiBAAJ
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/coreos/prometheus-operator/issues/107#issuecomment-273843958,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEuA8l_CBNhfttBWZCqadqUuh1dy3nTiks5rT583gaJpZM4LnIrD
.

Closed by #109 and #121.


Handlebars formatting will break inside styles

Description
This is being opened here as requested in https://github.com/microsoft/vscode/issues/101603.
It turns out that when using Handlebars inside a <style> HTML tag, the beautifier will break the handlebars code.
Input
The code looked like this before beautification:
<style>{{ onload_style }}</style>

Expected Output
The code should have looked like this after beautification:
<style>{{ onload_style }}</style>

Actual Output
The  code actually looked like this after beautification:
<style>
    {
            {
            onload_style
        }
    }
</style>

Steps to Reproduce
Environment
OS: Fedora Linux using VSCode
Settings
Default VSCode settings.

Yes, the Css formatter does not support handlebars.  You can disable css formatting inside the style tag to mitigate this.
But what is really needed is for the css formatter to be updated to use the same underlying parsing as the other parts of the project.  Unfortunately, I don't have time to do it currently, and it appears no one else cares enough either.


Bugfix/fix button issues

Overview
Identified and resolved numerous issues with Button component.
Reason
While developing the Dialog and Modal components I identified changes fixes that needed to be made to the Button component.
Work carried out

[x] Upgrade imports and exports to be inline with new style (+ export interface)
[x] Fix an issue that would prevent button icons being vertically aligned correctly
[x] Fix issues with dynamic classes (rn-btn--undefined no longer appears)
[x] Extend the ComponentWithClass base type
[x] Fix issue where incorrect colour shade was used for --danger modifier
[x] Conditionally render icon markup

Developer notes
I've tested in storybook in order try to ensure there are no breaking changes as a result of these works.

I've now interactive rebased this.


unable to translate without hot reload

am  following the Documentation guide but when i hit on translate button
no effects till i hot reload the project

@kururu-abdo Hello. Firstly I want to make sure you have implement the empty setState(() {}); at the main.dart or not. Seem the project need to rebuild for localization, so the setState(() {}); there is a must to add.


Paper 8 EXAFS reproduction needs 'n' parameter to vary during fitting

Reproducing the EXAFS fits in paper 8 (https://github.com/MaterialsGalaxy/larch-tools/issues/33) doesn't seem possible with the current Galaxy tools for a couple of reasons. The current set-up allows a lot of flexibility with regards to the free parameters which can be varied during the fitting. E.g. the quantities 'S02' and 'E0' can be fixed to a user-defined value during the fitting, varied during the fitting but constrained to take the same value for all selected FEFF paths, or varied during the fitting and allowed to take different values for all selected FEFF paths. However, more flexibility than is currently provided in the Galaxy tools is required to reproduce the exact fitting procedure used in paper 8.
To elaborate, each FEFF path has a 'degeneracy' associated with it, something which reflects the number of equivalent instances of the path in the local environment of the absorbing atom in the system of interest (as represented by a cif file). This is referred to as the coordination number (CN) in the paper, and corresponds to the variable 'n' in larch (while, e.g. 's02' refers to S02 in larch -as can be seen in a GDS file). Currently in Galaxy 'n' for each selected FEFF path is implicitly fixed during EXAFS fitting, and takes the value deduced by FEFF from the cif file (see the 'deg' quantity in a 'CSV summary of paths' file generated by Larch FEFF to see what this value is for a given path). I cannot see how to change this behaviour. However, in paper 8, and in Abraham's Jupyter notebook (https://github.com/UK-Catalysis-Hub/XAS-Workflow-Demo/blob/main/psdi_phase_1/larch/Paper 08 Reproduce XAS.ipynb) where he  attempts to reproduce the EXAFS fits in that paper, the values of 'n' are not fixed in the fitting procedure; they can vary, and moreover are allowed to take a different value for each selected path, something I deduced from looking at the GDS files in Abraham's repository. The result is that Galaxy cannot obtain fits as good as paper 8, since parameters allowed to vary in the fitting procedure used in the paper are always fixed in Galaxy.
Hence I request that in the 'GDS variable defaults' for the 'Larch Select Paths' tool an extra box is added allowing the user to control whether or not to allow 'n' to vary in the fitting, similarly to as is currently possible for 'S02'.
Interestingly, there is a workaround which exploits the fact that in the functional form for chi(k) used for the fit 's02' and 'n' appear as a product 's02n', and noting that 's02n' is the key quantity in the fit rather than 's02' or 'n' separately - getting 's02n' correct is what matters. Hence allowing 's02' to vary during the fit while keeping 'n' fixed - something currently possible in Galaxy - can potentially yield the same value for 's02n' as the procedure used in the paper, namely keeping 's02' fixed while varying 'n'. However this is not entirely satisfactory since, while you may obtain a good fit doing this, the values for 's02' and 'n' obtained from the fit will be unphysical. Of course one could correct for this 'hack', but I think this is beyond what we should expect users to do.

@tomlunderwood  this should be added by #78. I also needed to vary degeneracy for paper 1. It's a bit more subtle than the other parameters since if it's not set then the FEFF path value is implicitly used as you point out. It seemed to work OK for me but again feel free to verify if you want, otherwise I'll let you know when it's released and installed on prod.

@patrick-austin thanks for your work on this. The functionality is what I need for paper 8. However I noticed a bug in the new functionality. I'll close this issue and raise the bug as a new issue.


HDDS-9718. Add performance audit logging for S3G

What changes were proposed in this pull request?
Let the audit log record the detailed execution time

Time-consuming interaction with OM: metadataLatencyMs/...
Complete read and write elapsed time: createKeyLatencyMs/getKeyLatencyMs/ getBucketKeyCount/...
Read/write length, number of lists: putLength/getLength/copyLength/...

Example:
2023-11-23 19:52:20,703 | INFO  | S3GAudit | user=ozone | ip=[0:0:0:0:0:0:0:1] | op=CREATE_KEY {bucket=[pony-bucket1], path=[15-2M.img]} performance={metadataLatencyMs=37, putLength=52428800, createKeyLatencyMs=1744} | ret=SUCCESS |
2023-11-23 19:52:32,020 | INFO  | S3GAudit | user=ozone | ip=[0:0:0:0:0:0:0:1] | op=GET_KEY {bucket=[pony-bucket1], path=[15-2M.img]} performance={metadataLatencyMs=69, readLength=52428800, getKeyLatencyMs=1806} | ret=SUCCESS |
2023-11-23 19:52:47,366 | INFO  | S3GAudit | user=ozone | ip=[0:0:0:0:0:0:0:1] | op=GET_BUCKET {bucket=[pony-bucket1], list-type=[2], encoding-type=[url], prefix=[]} performance={getBucketKeyCount=1, getBucketLatencyMs=67} | ret=SUCCESS |

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-9718
How was this patch tested?
Manual test, Existing test

Thanks @xichen01 for updating the patch.

Indeed, not every operation is logged by default, but just the write ones.

by default, the audit log is enabled to log "read and write" operations
hadoop-ozone/dist/src/shell/conf/s3g-audit-log4j2.properties

What is the use of the metrics in individual log entries? I guess it may come from the fact that our metrics only support avg for now and outliners such as p90, p99 are missed. But isn't it fixed as per https://github.com/apache/ozone/pull/5627.

Part of the reason is yes, more in order to record the processing of S3G in more detail, when some users react to some key get/put/list timeout, slower, we can based on the key provided by the user, we know exactly how long each step takes, which is very helpful in locating the performance problem.
The time taken to perform each step for a particular key is difficult to obtain from the Metrics.

Thanks @xichen01 for the patch, @duongkame, @guohao-rosicky, @szetszwo for the review.


Openstack Cluster:  Too many retries waiting for SSH to be available

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):
1.- Run rancher/rancher container
2.- Create Openstack cluster on UI
3.- Rancher creates VMs in Openstack
4.- Rancher can´t login through ssh to cluster VMs (nodes)
Error creating machine: Error detecting OS: Too many retries waiting for SSH to be available.  Last error: Maximum number of retries (60) exceeded
Result:
2019/01/02 21:28:54 [ERROR] NodeController c-kfzhs/m-mzr9w [node-controller] failed with : Error creating machine: Error detecting OS: Too many retries waiting for SSH to be available.  Last error: Maximum number of retries (60) exceeded
2019/01/02 21:29:01 [INFO] stdout: Waiting for machine to be running, this may take a few minutes...
2019/01/02 21:29:04 [INFO] stdout: Detecting operating system of created instance...
2019/01/02 21:29:04 [INFO] stdout: Waiting for SSH to be available...
2019/01/02 21:29:18 [INFO] stdout: Waiting for machine to be running, this may take a few minutes...
2019/01/02 21:29:20 [INFO] stdout: Detecting operating system of created instance...
2019/01/02 21:29:20 [INFO] stdout: Waiting for SSH to be available...
2019/01/02 21:31:01 [INFO] stdout: Creating CA: management-state/node/nodes/k8smaster1/certs/ca.pem
2019/01/02 21:31:01 [INFO] stdout: Creating client certificate: management-state/node/nodes/k8smaster1/certs/cert.pem
2019/01/02 21:31:02 [INFO] stdout: Running pre-create checks...
2019/01/02 21:31:02 [INFO] stdout: Creating machine...
2019/01/02 21:31:21 [INFO] stdout: (k8smaster1) Creating machine...
2019/01/02 21:32:20 [INFO] stdout: Waiting for machine to be running, this may take a few minutes...
2019/01/02 21:32:23 [INFO] stdout: Detecting operating system of created instance...
2019/01/02 21:32:23 [INFO] stdout: Waiting for SSH to be available...
2019-01-02 21:32:23.765471 W | etcdserver: apply entries took too long [121.845008ms for 1 entries]
2019-01-02 21:32:23.765550 W | etcdserver: avoid queries with large range/delete range!
2019-01-02 21:32:56.580229 W | etcdserver: apply entries took too long [110.902207ms for 1 entries]
2019-01-02 21:32:56.580304 W | etcdserver: avoid queries with large range/delete range!
2019-01-02 21:33:29.038469 I | mvcc: store.index: compact 38612
2019-01-02 21:33:29.427564 I | mvcc: finished scheduled compaction at 38612 (took 349.589719ms)
2019/01/02 21:34:46 [INFO] stdout: The default lines below are for a sh/bash shell, you can specify the shell you're using, with the --shell flag.
2019/01/02 21:34:46 [INFO] stdout:
2019/01/02 21:34:47 [INFO] Generating and uploading node config k8snode1
2019/01/02 21:34:47 [ERROR] NodeController c-kfzhs/m-nnd6g [node-controller] failed with : Error creating machine: Error detecting OS: Too many retries waiting for SSH to be available.  Last error: Maximum number of retries (60) exceeded

Other details that may be helpful:
nova list:
| 8506ec95-d61b-489e-98af-34035cf29eb3 | k8smaster1  | ACTIVE  | -          | Running     | nuonet1=<IP_ADDRESS>, <IP_ADDRESS>  |
| 97993619-cb87-4faf-a33c-3ef4f6f46a5e | k8snode1    | ACTIVE  | -          | Running     | nuonet1=<IP_ADDRESS>, <IP_ADDRESS> |
| 62d7e290-e107-4800-946a-858823aee2cd | k8snode2    | ACTIVE  | -          | Running     | nuonet1=<IP_ADDRESS>, <IP_ADDRESS> |

Environment information

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

Cluster information

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

v2.1.4
v1.11.5-rancher1-1

Docker - RKE-installer (use docker info):

rkevm01:~ # docker info
Containers: 7
 Running: 2
 Paused: 0
 Stopped: 5
Images: 2
Server Version: 18.06.1-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: oci runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 468a545b9edcd5932818eb9de8e72413e616e86e
runc version: 69663f0bd4b60df09991c08812a60108003fa340
init version: v0.1.3_catatonit (expected: fec3683b971d9c3ef73f284f176672c44b448662)
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.4.138-59-default
Operating System: openSUSE Leap 42.3
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.033GiB
Name: rkevm01
ID: U6AX:WRWR:O33G:IRS3:HO52:YQWP:5I5G:A4XM:NB6K:NS3Q:ITJP:CQDN
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

WARNING: No swap limit support
WARNING: No kernel memory limit support

Closing, wrong cloud-init ssh user


Implement NV17 state migration

Here's a snapshot for testing the migration: https://forest-snapshots.fra1.digitaloceanspaces.com/debug/filecoin_calibnet_height_16000.car.zst
The migration happens at epoch 16_800.


Add updating the machine-id

You will need to regenerate the machine-id to avoid problems later on.
I don't know how you can do this from the build process, but I just put a scripts on the box to run with Ansible later on,
#!/bin/sh

rm -f /etc/machine-id
rm /var/lib/dbus/machine-id
dbus-uuidgen --ensure=/etc/machine-id
dbus-uuidgen --ensure

You can check it has been change by running hostnamectl before and after.

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

ID: c8f97610-b965-bfd3-e006-0c35df0cb68a
Version Independent ID: 412e9c54-393f-fb40-952c-f5b2a6b60e6d
Content: Create a VMware vSphere template for Ubuntu server 18.04 - Cloud Adoption Framework
Content Source: docs/manage/hybrid/server/best-practices/vmware-ubuntu-template.md
Service: cloud-adoption-framework
Sub-service: manage
GitHub Login: @likamrat
Microsoft Alias: brblanch

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 473565

Thanks for the input! Machine ID is outside the scope of this article since we're creating a template. Ubuntu documentation recommends that the etc/machine-id file be empty for template images. An ID should be generated during boot and saved to etc/machine-id.


Update reference-connect-version-history.md

CSS and Customers might not know what's the "old UI". I believe we should avoid using internal slang in public documentation. Replacing all "OLD UI" references with "Synchronization Service Manager UI"

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

#sign-off


Disable vanish cache

Can I disable vanish cache?
Thanks!

While Varnish enabled by default, it won't actually cache anything unless your APIs explicitly return the appropriate cache headers in their response. You can see our docs on caching on which HTTP headers it will acknowledge.
Since it doesn't cache anything by default (which is different from Varnish's default behavior), does that work for you? Or would you actually like to disable Varnish altogether from the stack?

I was thinking on performances checks of the solution. Disable Varnish or disable Elasticsearch can help to to this checks.


duplate display name of the os image

Issue:
currently, the display name is auto-generated by its URL name and we don't validate whether its name is duplicated or not, the backend should add validation to this.
Solution:
The backed API should validate the display name and auto-increment the display name by 1. e.g os-aaacc to os-aaacc1

I think we shouldn't implicitly change the name, just pop the validation and let users do the decision.

link to PR https://github.com/rancher/harvester/pull/28

close in favor of #28


n times / repeat helper

I was looking for a helper which repeats a specific block n times, like here described for example:
http://stackoverflow.com/questions/11924452/iterating-over-basic-for-loop-using-handlebars-js
I'm not sure if I overlooked something, but I wasn't able to find such thing. Are you interested in adding one?

Hi thanks for the issue, sorry we've been busy with the holidays. I think we have a repeat helper somewhere, maybe on the helpers org, if not I would definitely welcome a pr one! I'll look in a couple min thx

Hi, here is the helper I mentioned. I just made a few updates to it as well. thanks for the issue

Thank you very much for the update! Good job!


Update offsets

Thank you, I appreciate it.
But we're only open for

solving technical issues
fixing bugs
added new features
heavy refactoring


rustup

I cannot reproduce https://github.com/rust-lang/rust/issues/98493 so let's see what CI says.

@bors r+

:pushpin: Commit 9124420b2fd64ded303d5e8d8ad41df813d83985 has been approved by RalfJung

:hourglass: Testing commit 9124420b2fd64ded303d5e8d8ad41df813d83985 with merge d62258684d3c15f4d4eeae5034f49d1c18df5906...

@bors r-
ah it's a missing thread join somewhere...

@bors r+

:pushpin: Commit a74c17d9716ab357a435dc6f2e8affd3e930054f has been approved by RalfJung

:hourglass: Testing commit a74c17d9716ab357a435dc6f2e8affd3e930054f with merge 8fdcf1880c94124e8b07f32bb6248ec0105f7440...

:broken_heart: Test failed - checks-actions

@bors r+

:bulb: This pull request was already approved, no need to approve it again.

This pull request previously failed. You should add more commits to fix the bug, or use retry to trigger a build again.

:pushpin: Commit a74c17d9716ab357a435dc6f2e8affd3e930054f has been approved by RalfJung

:hourglass: Testing commit a74c17d9716ab357a435dc6f2e8affd3e930054f with merge d39b2d89f91d1c77e84bd6d78068b5eb2049b8c2...

@bors retry

:hourglass: Testing commit a74c17d9716ab357a435dc6f2e8affd3e930054f with merge 82b007eb880f80a571fd1bc7deb4419e9eb3008c...

:broken_heart: Test failed - checks-actions

@bors r+

:pushpin: Commit 1ed43bfa38d0a907da07074ad6608d4efcf5ec95 has been approved by RalfJung

:hourglass: Testing commit 1ed43bfa38d0a907da07074ad6608d4efcf5ec95 with merge 793361d48743ae770248002b1caf79ac0a6c1083...

:broken_heart: Test failed - checks-actions

@bors r+

:pushpin: Commit 7c025a8f0eac5297c1d8cc3daf31dc27cad0694d has been approved by RalfJung

:hourglass: Testing commit 7c025a8f0eac5297c1d8cc3daf31dc27cad0694d with merge 54a495cb27615e487f2f759b638334eff36501cc...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 54a495cb27615e487f2f759b638334eff36501cc to master...


Some configurations are not updated

Can you please update allow-block-place and allow-block-break to the latest version?

Related #152


Assert code 17 - resolutions_ assertion

I am using OHIF as a viewer which is erroring out on this assertion when attempting to view WSI studies:
    assert(isSorted(this.resolutions_, function(a, b) {
      return b - a;
    }, true), 17);

I'm unclear on the purpose of this, or why it might be failing. Any insights would be much appreciated.
Thanks

Thanks for reporting the issue @jamesdigid. Could you kindly provide some additional information (version of the software, data used, etc.) that may help us debug the problem.

Could you try whether you can reproduce the problem using Slim (https://github.com/herrmannlab/slim)?


What about Dynamic 365 connector

What about connector to Dynamic 365 CRM in Same AAD?
Better yet connector to Common Data Services in Same AAD?

Hi @Ofer-Gal apologies for the delay. Could you elaborate on your ask for Dynamics 365 connector? What exactly is your business need? Feel free to follow up at<EMAIL_ADDRESS>

Hi @Ofer-Gal apologies for the delay. Could you elaborate on your ask for Dynamics 365 connector? What exactly is your business need? Feel free to follow up at<EMAIL_ADDRESS>


Gaussian Mixture Model capability

Hi,
I need to port some Matlab code to java and I'm looking at what is out there in Java land that can do Gaussian Mixture Models.  Specifically, the code that I have to port is making heavy use of Matlab's gmdistribution  https://www.mathworks.com/help/stats/gmdistribution.html and fitgmdist https://www.mathworks.com/help/stats/fitgmdist.html.  I see that Tribuo alludes to Gaussian Mixtures in the KMeans tutorial: https://tribuo.org/learn/4.3/tutorials/clustering-tribuo-v4.html. So maybe this would suffice? I'm definitely not a mathematician, but I'm trying to see if Tribuo can do GMMs like these Matlab functions.  It appears that Matlab supports two covariance types 'full' and diagonal'.
Can you please elaborate on Tribuo's capabilities in regards to GMMs?

Tribuo doesn't have an implementation of fitting GMMs. We have a data generator that can sample from them to generate example data, but it can't fit that generator to a dataset. The data generator is roughly analogous to to the gmdistribution function but it's pretty limited in terms of the number of gaussians. Building a more flexible version which has the functionality of gmdistribution isn't too hard on top of what we provide.
Implementing a basic EM algorithm to fit a GMM wouldn't be too hard as we have the cholesky factorization which is used in the M step, but making something scalable requires more effort (as our matrix algebra library isn't parallel yet).

I've written a GMM implementation which is currently being debugged. Do you need the gmdistribution function as applied to only a distribution fit on data, or do you also want to be able to sample from a mixture distribution that you've created by hand?

I would say both, such that you can save off the distributions for later use and can reinflate them to be used again for performing predictions.
-Craig

From: Adam Pocock @.>
Sent: Sunday, April 28, 2024 3:03 PM
To: oracle/tribuo @.>
Cc: Craig Brautigam @.>; Author @.>
Subject: [External] - Re: [oracle/tribuo] Gaussian Mixture Model capability (Issue #359)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
I've written a GMM implementation which is currently being debugged. Do you need the gmdistribution function as applied to only a distribution fit on data, or do you also want to be able to sample from a mixture distribution that you've created by hand?
—
Reply to this email directly, view it on GitHubhttps://github.com/oracle/tribuo/issues/359#issuecomment-2081654736, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF45DNWDNXTN4JVJNE6Q37LY7VP23AVCNFSM6AAAAABDIZJ7S6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGY2TINZTGY.
You are receiving this because you authored the thread.Message ID: @.***>

The information contained in this e-mail and any attachments from ICR, Inc. may contain confidential and/or proprietary information, and is intended only for the named recipient to whom it was originally addressed. If you are not the intended recipient, any disclosure, distribution, or copying of this e-mail or its attachments is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately by return e-mail and permanently delete the e-mail and any attachments.

Ok. You'll be able to save the model and reuse it for future predictions, but extracting a distribution object like MultivariateNormalDistribution back out of it will be a little complicated as the dimensions of the samples are based on Tribuo's feature dimensions which are named rather than indexed and getting the index is a little more work. I've thought about it a bit more today and I think I will add a MixtureDistribution class and try to add a distributions interface, but the sampling method will likely be exposed on both MixtureDistribution and GaussianMixtureModel.


added colegiosja

@alervaz First stage of verification passed, official domain is colegiosja.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://www.colegiosja.org/contacto

Thanks for the feedback I hope everything goes well


I can see this issue when invoking lambda function locally. Invalid time zone specified

{"errorType": "RangeError", "errorMessage": "Invalid time zone specified: :/etc/localtime", "trace": ["RangeError: Invalid time zone specified: :/etc/localtime", "    at new DateTimeFormat ()", "    at #getDateFormatter (file:///var/task/index.mjs:1101:12)", "    at #generateISOTimestampWithOffset (file:///var/task/index.mjs:1119:78)", "    at PowertoolsLogFormatter.formatTimestamp (file:///var/task/index.mjs:1070:50)", "    at PowertoolsLogFormatter.formatAttributes (file:///var/task/index.mjs:1185:23)", "    at _Logger.createAndPopulateLogItem (file:///var/task/index.mjs:1790:35)", "    at _Logger.processLogItem (file:///var/task/index.mjs:1891:38)", "    at _Logger.info (file:///var/task/index.mjs:1458:10)", "    at Runtime.exampleHandler [as handler] (file:///var/task/index.mjs:2080:10)", "    at Runtime.handleOnceNonStreaming (file:///var/runtime/index.mjs:1173:29)"]}

Got it. thanks for your kind explanation.


Remove initial Literal in Where clause for multiple expression cases

Split this PR into #711 #712 #713 #714


any | T from conditional type does not reduce to any

Bug Report
🔎 Search Terms
any union
🕗 Version & Regression Information

This changed between versions 5.0.0-dev.20221207 and 5.0.0-dev.20221208

⏯ Playground Link
Playground link with relevant code
💻 Code
type Spec = any extends object ? any : string;

type WithSpec<T extends number> = T

type R = WithSpec<Spec> // error here  in 5.0

🙁 Actual behavior
Spec is any | string so it can't be used with WithSpec
🙂 Expected behavior
any | string is reduced to any as it was in 4.9

I believe this is caused by #50397 and #51621.
In 4.9 we had a check in getSubstitutionType  where the baseType was returned when both baseType and constraint where non-generic. This check was removed in #51621, so a SubstitutionType is created for any.
A simple fix might be to just return the baseType when the baseType is any.
function getSubstitutionType(baseType: Type, constraint: Type) {
  if (constraint.flags & TypeFlags.AnyOrUnknown || constraint === baseType || baseType.flags & TypeFlags.Any) {
    return baseType;
  }


Fix bulk delete button

Remove selectedDocuments from store
Add 'Toggle All' button
Add tertiary color
Add class .premary, .secondary, .tertiary
Improve unit test User/List component

Current coverage is 88.22% (diff: 100%)

Merging #43 into develop will increase coverage by 0.20%

@@            develop        #43   diff @@
==========================================
  Files            60         60
  Lines           801        815    +14
  Methods          21         21
  Messages          0          0
  Branches         54         56     +2
==========================================
+ Hits            705        719    +14
  Misses           72         72
  Partials         24         24

Powered by Codecov. Last update bd57498...43a8987

+1

+1


UDR metastore, Eventhub, Artifact blob IP addresses are missing from the document. After March 15th 2022 Update.

UDR metastore, Eventhub, Artifact blob IP addresses are missing from the document. After March 15th 2022 Update.
The entire Section is missing on UDR page.

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

ID: a44cbeaf-af2c-ef7e-b411-24556279d898
Version Independent ID: aaced3ee-7d7c-a9d6-a81b-b132674fa055
Content: User-defined route settings for Azure Databricks - Azure Databricks
Content Source: databricks/administration-guide/cloud-configurations/azure/udr.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@devathrajharish  Thanks for the feedback! I have assigned the issue to the content author to evaluate and add the above details.

Thanks for providing feedback that helps improve our documentation. This issue has been resolved and we are closing the issue.
#please-close

#please-close


Home

Related Issues
I've added the home folder which is the project home page some work is pending like add gallery images, contact info. I don't know which I  add images and contact info so add the data.

Info about Issue or bug

Closes: #[issue number that will be closed through this PR]
Describe the changes you've made
A clear and concise description of what you have done to successfully close your assigned issue. Any new files? or anything you feel to let us know!
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.

Screenshots

Original
Updated

original screenshot
updated screenshot

@VishalRajai41 Resolve conflict.

PR CLOSE:
Reason:- Don't get any response from you for a Longtime.


feature/SGRD-6_check-scope-has-role-and-return-it

blocked by #3

Declined. Check Jira ticket for more info


Add get_document_model_string()

Add get_document_model_string() and move get_document_model() to wagtail/documents/__init__.py from wagtail/documents/models.py
This changes required for uses where the model itself is not required, and might not be available.
Resolves #5614

@WinterComes  - what name would you like on the contributors list? (I will assume WinterComes for now)

@WinterComes  - thanks! this has been merged in with those small fixes - just mention me if you wanted the contributor name updated :)
https://github.com/wagtail/wagtail/commit/06fb0764e09eddd52c0793fe909826cdd5045089

@lb- Thanks for the review and taking care of this typos. I woud like to see Andrey Smirnov as contributor name, thank you :)

@WinterComes  done 9b64a8647ca89c28bfcbefe89df8c1a701851adf


Delete chats or past requests

Subject: Delete chats or past requests
Description:
I can't seem to delete chats or clear requests that are in the past and they show up as unread open. I'd really like to be able to clear these!
Results:
When I select "reject" it pops up that the request is in the past, but there is no way to clear the request.
Backend version: develop-7c33e18d
Frontend version:
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15
Page: https://couchers.org/messages/request/18214
User: toriayres (4945)

dupe #3521


Challenge http://www.freecodecamp.com/challenges/waypoint-check-radio-buttons-and-checkboxes-by-default has an issue

Gives an error while trying to add checked to first radio and checkbox
Syntax error, unrecognized expression
Syntax error, unrecognized expression
code for form
<form action="/submit-cat-photo">
  <input type='radio' name='indoor-outdoor' checked> Indoor
  <input type='radio' name='indoor-outdoor'> Outdoor

  <input type='checkbox' name='personality' checked> Loving
  <input type='checkbox' name='personality'> Lazy
  <input type='checkbox' name='personality'> Crazy

  <input type='text' placeholder='cat photo URL' required>
  <button type='submit'>Submit</button>
</form>

Same issue:

 Indoor
 Outdoor

 Loving
 Lazy
 Crazy

Submit

but I get 2 syntax errors.

Thanks for the report. Closing this as a duplicate of #585 as it all stems from the same problem.


Doc improvements and update to latest OCI spec PR

Hi!
Here are some fixes to the docs when I tried to use the agent, with some common pitfalls that might hit people running in other distros. Hopefully this will save some time to someone else in the future :)
Also, updated the code to use the new OCI spec PR. The main reason for this is that the runc code to use the agent as it is on master is not pushed anywhere now, and we want to use the new code. So I thought it would be simpler just to update it here in master. However, I hit an issue with the client-go we were using (fixed, so a nice improvement!) and updated RecvMsg code to not leak open fds, as I needed to adjust just that part for the new runtime-spec (not a big issue, but it was quite easy to do DoS sending in the socket fds before, until the agent reaches the max open files).
With this PR hopefully we have more clear instructions and can use then runc branches stated :)
For more info please see each commit msg

@alban PTAL.
I've also added a comment to the last commit, saying that we can potentially leak fds if we return before we have a reference to the fds slice. I left that as a following improvement

@alban rebased and addressed all the review comments. PTAL :)
I've also added a new commit: using upstream libseccomp-golang instead of our fork. The changes have been merged upstream already and I was already there changing the go.mod to fix the conflicts in this branch, so went ahead and added it.

Wait, CI is broken. Let me fix that first :)


Creating a snapshot should return more than the UUID, we need the snapshot object as well

This is required so the client can implement async polling for snapshots.

This was done a while ago.


Incompatible dependency license

Summary
Dependency mimemagic was previously licensed under the MIT License, but had to change to GPL this morning. All versions under MIT have been yanked, and GPL is incompatible with Jets MIT license. See https://github.com/minad/mimemagic/issues/97.
Recommendations
I suggest that the mimemagic dependency be replaced with mini_mime.
mimemagic appears to be used only in lib/jets/internal/app/controllers/jets/public_controller.rb, which calls MimeMagic.by_path (which infers a file's MIME type from its extension). mini_mime does similar inference, but it is licensed under the MIT License.

Released in v3.0.3


Update to NetTopologySuite v2

This version of NetTopologySuite has some fairly significant breaking changes. (e.g. splitting Coordinate into types like CoordinateXY, CoordinateXYZ, etc.) If our timelines align, it would be nice to upgrade to the new version during our 3.0.0 release. If not, we may need to consider creating packages like Microsoft.EntityFrameworkCore.Sqlite.NetTopologySuite2 or something.
cc @airbreather @FObermaier

I'm willing to help make it possible to have NTS v2 out before your 3.0.0 release.
Can you elaborate about your timeline, is it accessible someplace?

We typically follow the .NET Core Roadmap. lol, which is even more vague than usual... Let’s sync over email.


CCSDS support not enabled

Hi,
great package. Unfortunately, I'm hitting the following error for a particular file. How and where I'm suppose to apply the suggestions?
ECCODES ERROR   :  grib_accessor_data_ccsds_packing: CCSDS support not enabled. Please rebuild with -DENABLE_AEC=ON (Adaptive Entropy Coding library)
ECCODES ERROR   :  unable to get values as double array (Functionality not enabled)
ECCODES ERROR   :  Geoiterator factory: Error instantiating iterator gaussian_reduced (Functionality not enabled)
ERROR: Error: Value mismatch
Stacktrace:
 [1] errorcheck
   @ ~/.julia/packages/GRIB/6rlik/src/GRIB.jl:119 [inlined]
 [2] data(handle::GRIB.Message)
   @ GRIB ~/.julia/packages/GRIB/6rlik/src/message.jl:350
 [3] (::GRIBDatasets.var"#27#29"{Vector{String}, DataStructures.DefaultDict{AbstractString, Vector{Any}, GRIBDatasets.var"#26#28"}, Vector{GRIBDatasets.MessageIndex}})(f::GRIB.GribFile)
   @ GRIBDatasets ~/.julia/packages/GRIBDatasets/44bt5/src/index.jl:66
 [4] GRIB.GribFile(f::GRIBDatasets.var"#27#29"{Vector{String}, DataStructures.DefaultDict{AbstractString, Vector{Any}, GRIBDatasets.var"#26#28"}, Vector{GRIBDatasets.MessageIndex}}, filename::String; mode::String)
   @ GRIB ~/.julia/packages/GRIB/6rlik/src/gribfile.jl:52
 [5] GribFile
   @ ~/.julia/packages/GRIB/6rlik/src/gribfile.jl:49 [inlined]
 [6] FileIndex(grib_path::String; index_keys::Vector{String})
   @ GRIBDatasets ~/.julia/packages/GRIBDatasets/44bt5/src/index.jl:62
 [7] FileIndex
   @ ~/.julia/packages/GRIBDatasets/44bt5/src/index.jl:55 [inlined]
 [8] GRIBDataset(filepath::String)
   @ GRIBDatasets ~/.julia/packages/GRIBDatasets/44bt5/src/dataset.jl:79
 [9] top-level scope
   @ ~/Documents/tmp/openGrib.jl:2

Hi, thanks!
Apparently, your file needs eccodes to be built with Adaptive Entropy Coding library (-DENABLE_AEC=ON), which is not the case in the Julia build. I couldn't find the AEC library in Yggdrasil, so that's probably why @barche disabled it.
So I guess the only workaround would be to build the AEC library with BinaryBuilder.jl, so eccodes can be built with it. I can try to do it when I have time, but if you have some experience with BinaryBuilder, any help would be welcomed :relaxed:

Oh... thanks for taking a look. Unfortunately, I haven't use BinaryBuilder.jl [yet], so at the moment I can only help with some testing.

I have similar problems with our own (MET Norway) grib files, but it seems to work fine with ECMWF IFS grib files (only tested one, though). It would be very useful if the problem somehow can be sorted out, but unfortunately I do not have any experience with the BinaryBuilder.jl either, at least for the moment being.
ECCODES ERROR   :  grib_accessor_data_ccsds_packing: CCSDS support not enabled. Please rebuild with -DENABLE_AEC=ON (Adaptive Entropy Coding library)
ECCODES ERROR   :  unable to get values as double array (Functionality not enabled)
ECCODES ERROR   :  Geoiterator factory: Error instantiating iterator lambert_conformal (Functionality not enabled)

I added libAEC/CCSDS to the eccodes_jll last month to solve the issue with the new ECMWF cycle grib files and that should just filter through GRIB/GRIBDatasets when doing an update with Pkg.
Can you check if you can read your grib files in a new environment w/o any other dependencies, or maybe with plain GRIB.jl? Maybe something is holding back the update.
If not we might need to update the version of eccodes_jll to the latest one ECMWF offers and drop 32 bit platforms.

Yes, indeed I was using an old version. However, after upgrading to v0.2.1 (and eccodes 2.28) I get another error, please see below. Here is also a selection of the grib messages (257 in total) as listed by grib_ls. I could also provide the grib file if needed.
edition      centre       date         dataType     gridType     stepRange    typeOfLevel  level        shortName    packingType
2<PHONE_NUMBER>3     cf           lambert      10           heightAboveGround  0            t            grid_ccsds
2<PHONE_NUMBER>3     cf           lambert      10           heightAboveGround  0            z            grid_ccsds
2<PHONE_NUMBER>3     cf           lambert      10           heightAboveGround  0            sd           grid_ccsds
2<PHONE_NUMBER>3     cf           lambert      10           isobaricInhPa  850          u            grid_ccsds
2<PHONE_NUMBER>3     cf           lambert      10           isobaricInhPa  925          u            grid_ccsds
2<PHONE_NUMBER>3     cf           lambert      10           isobaricInhPa  1000         u            grid_ccsds
2<PHONE_NUMBER>3     cf           lambert      10           heightAboveGround  80           u            grid_ccsds
2<PHONE_NUMBER>3     cf           lambert      10           heightAboveGround  120          u            grid_ccsds
2<PHONE_NUMBER>3     cf           lambert      0-10         heightAboveGround  0            nswrf        grid_ccsds
2<PHONE_NUMBER>3     cf           lambert      0-10         heightAboveGround  0            nlwrf        grid_ccsds
2<PHONE_NUMBER>3     cf           lambert      10           tropopause   0            t            grid_ccsds
2<PHONE_NUMBER>3     cf           lambert      10           unknown      0            h            grid_ccsds
2<PHONE_NUMBER>3     cf           lambert      10           adiabaticCondensation  0            h            grid_ccsds.
2<PHONE_NUMBER>3     cf           lambert      10           entireAtmosphere  0            tcwv         grid_ccsds
2<PHONE_NUMBER>3     cf           lambert      10           isothermal   27315        h            grid_ccsds
2<PHONE_NUMBER>3     cf           lambert      10           isothermZero  0            h            grid_ccsds
2<PHONE_NUMBER>3     cf           lambert      10           heightAboveSea  0            pres         grid_ccsds

julia> ds = GRIBDataset(file)
Dataset: /lustre/storeB/project/metproduction/products/meps/member_00/grib/fp/met/20230813_1200_h_10.grib2
Group: /

Dimensions
   x = 949
   y = 1069
   heightAboveGround = 2
   heightAboveGround_2 = 1
   heightAboveGround_3 = 1
   heightAboveGround_4 = 1
   heightAboveGround_5 = 3
   heightAboveGround_6 = 4
   isobaricInhPa = 13
   valid_time = 1

Variables
Error showing value of type GRIBDataset{Float64, 10}:
ERROR: MethodError: no method matching GRIBDatasets.Variable(::GRIBDataset{Float64, 10}, ::String, ::Tuple{GRIBDatasets.MessageDimension{GRIBDatasets.Horizontal}}, ::Matrix{Float64}, ::Dict{String, Any})

Closest candidates are:
  GRIBDatasets.Variable(::TP, ::String, ::Tuple{Vararg{GRIBDatasets.AbstractDim, N}}, ::TA, ::Dict{String, Any}) where {T, N, TA<:Union{Array{T, N}, DiskArrays.AbstractDiskArray{T, N}}, TP}
   @ GRIBDatasets ~/.julia/packages/GRIBDatasets/Ia2Sr/src/variables.jl:101
  GRIBDatasets.Variable(::GRIBDataset, ::Any)
   @ GRIBDatasets ~/.julia/packages/GRIBDatasets/Ia2Sr/src/variables.jl:129
  GRIBDatasets.Variable(::GRIBDataset, ::GRIBDatasets.AbstractDim)
   @ GRIBDatasets ~/.julia/packages/GRIBDatasets/Ia2Sr/src/variables.jl:163

Stacktrace:
  [1] GRIBDatasets.Variable(ds::GRIBDataset{Float64, 10}, dim::GRIBDatasets.MessageDimension{GRIBDatasets.Horizontal})
    @ GRIBDatasets ~/.julia/packages/GRIBDatasets/Ia2Sr/src/variables.jl:166
  [2] GRIBDatasets.Variable(ds::GRIBDataset{Float64, 10}, key::String)
    @ GRIBDatasets ~/.julia/packages/GRIBDatasets/Ia2Sr/src/variables.jl:134
  [3] cfvariable(ds::GRIBDataset{Float64, 10}, varname::String)
    @ GRIBDatasets ~/.julia/packages/GRIBDatasets/Ia2Sr/src/cfvariables.jl:4
  [4] getindex(ds::GRIBDataset{Float64, 10}, key::String)
    @ GRIBDatasets ~/.julia/packages/GRIBDatasets/Ia2Sr/src/dataset.jl:83
  [5] show(io::IOContext{Base.TTY}, ds::GRIBDataset{Float64, 10})
    @ CommonDataModel ~/.julia/packages/CommonDataModel/RSBF3/src/dataset.jl:95
  [6] show(io::IOContext{Base.TTY}, #unused#::MIME{Symbol("text/plain")}, x::GRIBDataset{Float64, 10})
    @ Base.Multimedia ./multimedia.jl:47
  [7] (::REPL.var"#55#56"{REPL.REPLDisplay{REPL.LineEditREPL}, MIME{Symbol("text/plain")}, Base.RefValue{Any}})(io::Any)
    @ REPL /disk2/software/julia-1.9.0/share/julia/stdlib/v1.9/REPL/src/REPL.jl:276
  [8] with_repl_linfo(f::Any, repl::REPL.LineEditREPL)
    @ REPL /disk2/software/julia-1.9.0/share/julia/stdlib/v1.9/REPL/src/REPL.jl:557
  [9] display(d::REPL.REPLDisplay, mime::MIME{Symbol("text/plain")}, x::Any)
    @ REPL /disk2/software/julia-1.9.0/share/julia/stdlib/v1.9/REPL/src/REPL.jl:262
 [10] display
    @ /disk2/software/julia-1.9.0/share/julia/stdlib/v1.9/REPL/src/REPL.jl:281 [inlined]
 [11] display(x::Any)
    @ Base.Multimedia ./multimedia.jl:340
 [12] #invokelatest#2
    @ ./essentials.jl:816 [inlined]
 [13] invokelatest
    @ ./essentials.jl:813 [inlined]
 [14] print_response(errio::IO, response::Any, show_value::Bool, have_color::Bool, specialdisplay::Union{Nothing, AbstractDisplay})
    @ REPL /disk2/software/julia-1.9.0/share/julia/stdlib/v1.9/REPL/src/REPL.jl:305
 [15] (::REPL.var"#57#58"{REPL.LineEditREPL, Pair{Any, Bool}, Bool, Bool})(io::Any)
    @ REPL /disk2/software/julia-1.9.0/share/julia/stdlib/v1.9/REPL/src/REPL.jl:287
 [16] with_repl_linfo(f::Any, repl::REPL.LineEditREPL)
    @ REPL /disk2/software/julia-1.9.0/share/julia/stdlib/v1.9/REPL/src/REPL.jl:557
 [17] print_response(repl::REPL.AbstractREPL, response::Any, show_value::Bool, have_color::Bool)
    @ REPL /disk2/software/julia-1.9.0/share/julia/stdlib/v1.9/REPL/src/REPL.jl:285
 [18] (::REPL.var"#do_respond#80"{Bool, Bool, REPL.var"#93#103"{REPL.LineEditREPL, REPL.REPLHistoryProvider}, REPL.LineEditREPL, REPL.LineEdit.Prompt})(s::REPL.LineEdit.MIState, buf::Any, ok::Bool)
    @ REPL /disk2/software/julia-1.9.0/share/julia/stdlib/v1.9/REPL/src/REPL.jl:899
 [19] #invokelatest#2
    @ ./essentials.jl:816 [inlined]
 [20] invokelatest
    @ ./essentials.jl:813 [inlined]
 [21] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
    @ REPL.LineEdit /disk2/software/julia-1.9.0/share/julia/stdlib/v1.9/REPL/src/LineEdit.jl:2647
 [22] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)
    @ REPL /disk2/software/julia-1.9.0/share/julia/stdlib/v1.9/REPL/src/REPL.jl:1300
 [23] (::REPL.var"#62#68"{REPL.LineEditREPL, REPL.REPLBackendRef})()
    @ REPL ./task.jl:514

Using GRIB.jl on the same file seems to work. At least the following example loops through the messages without errors
using GRIB
@time GribFile(file) do f
    for message in f
        out = data(message)
        println(message["parameterName"], " (", message["shortName"], ") at level ",
                message["level"], ": value = ", out[3][1,1])
    end
end

Thank you @benelsen for adding CCSDS support!
@jbbremnes, this seems to be a GRIBDatasets bug (unrelated to CCSDS). Could you open another issue, if possible with a link to the file, so I can try to solve it?
I will close this issue as CCSDS is now supported.


protobuf3 support?

Has any work been done on protobuf3 support? Is there anything that would prevent rust-protobuf from supporting both?

No work has been done yet, but I'm planning to implement protobuf3.
However, I'm not in hurry, because protobuf3 specs are not published yet.
BTW, rust-protobuf still has no implementation of all protobuf 2.6 features, notably one_of.

Added test with protoc from protobuf 3: cabca6d5bf2d8129f26f957c53ab8a34939c5692.
I believe that .proto files with syntax=3 should work in rust-protobuf. I'll add test for that later.
However, new features of protobuf 3 need to be implemented. If some features are important, please let me know.

Is this still the case?

Protobuf3 works correctly, but could be done better. E. g. protobuf 3 mandates that there is no field presence flag in the message, while generated code still contains functions like has_foo().

Should we close this issue and create a new more specific one then?

@posix4e well, the largest problem is that I don't fully understand what generated code for protobuf 3 should look like, and what could be done better in protobuf 3. For example, given the fact that there is no presence bit for primitive types in proto3, should generated messages contain get_foo, set_foo operations or just expose public foo field?
Another question is whether rust-protobuf should remain compatible with protobuf 2 protoc compiler. If the answer is yes, then for example rust-protobuf cannot include "well-known types" like Timestamp. And I think at this point compatibility with protobuf 2 protoc is important.
(However, rust-protobuf should probably use descriptor.proto from protobuf 3, which uses proto2 syntax).
So if you (anyone else) know what should be done for better protobuf3 support, please open an issue.

Any news on this? We wanted to start a new project using proto3 and rust was one of the platform we wanted to try.

@mfirry you can use it with protobuf 3 proto files, and it will be compatible with other readers and writers. Minor issues to be resolved are:

zeros are serialized, while it is not necessary in protobuf 3, because protobuf 3 does not distinguish zero value and no value. Again it does not make rust-protobuf incompatible with protobuf 3, but rather adds little overhead.
maps are not supported
generated code does not need has_xxx functions because they are meaningless in protobuf 3

Thanks a lot! I'll try it out.

maps are not supported

When will this library add support for maps?

@opensrcken I'm working on it.
However, you can use map right now, but rust-protobuf will generate a repeated field of some struct instead of map (this is what maps internally are in protobuf).

Quoting protobuf language guide:

Backwards compatibility
The map syntax is equivalent to the following on the wire, so protocol buffers implementations that do not support maps can still handle your data:
message MapFieldEntry {
  key_type key = 1;
  value_type value = 2;
}

repeated MapFieldEntry map_field = N;

FYI, zeros are no longer written and has methods removed in master.

Maps are (mostly) implemented in master.
Generated code for map looks like this. Note, information about actual type name used for entry is lost in generated files (it is generated by protoc and passed to the compiler). I'm not sure why they kept it in java and c++ versions of protobuf.
I made primitive scalar fields (i32, String) public in generated code from protobuf 3 definition (example), but other fields remain private. Not sure if map (or probably any repeated fields even for protobuf 2) should be public too.
If you have opinions about what code should be generated by rust-protobuf, please share. It is not too late to change everything before rust-protobuf with protobuf 3 support released. It should probably be source-incompatible release (in both library and generated code), but rust-protobuf should remain backward compatible after next release.

Curious what the status is of this right now. Is Any support complete? Thanks!

The removal of Option<> does make things interesting from an API usability perspective. In many cases, when de-serializing, I want to know whether something is 0 or None (for instance, I have a truly optional Altitude integer field, for which there is a semantic difference between 0ft and 'I don't know'/'Not Set'). Should that be represented with my own Proto equivalent to Option? Thanks for your work on this!

@martinmroz it is by design in protobuf v3. They decided not to distinguish default values from absent values. Quoting the documentation:

Note that for scalar message fields, once a message is parsed there's no way of telling whether a field was explicitly set to the default value (for example whether a boolean was set to false) or just not set at all: you should bear this in mind when defining your message types. For example, don't have a boolean that switches on some behaviour when set to false if you don't want that behaviour to also happen by default. Also note that if a scalar message field is set to its default, the value will not be serialized on the wire.

Although it is possible to distinguish between these cases, I think it is better to follow protobuf recommendation (for example, for better interoperability with C++/Java/Go/Python implementations).
BTW, you can specify syntax = proto2 and get old behavior. Protobuf 2 is supported, and seems like it is not going to be deprecated any time soon.

Added support for well-known types in 653f8548f1817688c8816686728ce312d3f99168.


system-config-printer: displays warnings when started

Issue description
This is just a minor issue, and likely an upstream issue:
(system-config-printer.py:4825): Gtk-WARNING **: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(system-config-printer.py:4825): Gtk-WARNING **: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(system-config-printer.py:4825): Gtk-WARNING **: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version

(system-config-printer.py:4825): Gtk-WARNING **: Allocating size to GtkToolItem 0x2965f20 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

Steps to reproduce
I used 68bcfb32699b32f802c797f8629b4d507cd1b10a and I tested that system-config-printer can at least start and display some part of Cups configuration.
Technical details
I run a stable 17.09 system (latest available) with system-config-printer coming from master.

Yes, that looks like upstream issues. If you have the time, please notify them.

I don't think there still is an upstream.

Have you ever run a gtk program that doesn't vomit warnings ?! lucky you :p

Yes, the ones I have written myself or all of them in which I have had a hand.

This should be fixed upstream.


Installer fix for horizontally scaling slideshow images

Bumps count to correct for previously added slideshow images in the installer
Modifies installer.ui to horizontally scale label_slideshow_icon
Fixes whitespace issues in pc-installgui/InstallerSlideshow.cpp

Looks great!
Thanks for sending that in!


Highlight issues in false value comparisons (rds)

I've added some tests to highlight cases where the IsUpToDate
function in the rds client returns false, when it should be true.
This seems to be reliant on the CreatePatch and LateInitialize
function; one of which I suspect is the root cause of this issue.
So I've added some tests for the CreatePatch method which highlight
that when a boolean is false in both the CRD and AWS response, it
is still included in the patch.
This is to support issue: #960
I've been running these tests in a docker container by running docker run --rm -it -v "$(pwd):/srv" -w /srv golang:1.16 bash at the root of the repository to use the golang 1.16 runtime. And then running these tests with go test -v -run TestIsUpToDate ./pkg/clients/rds/... and go test -v -run TestCreatePatch ./pkg/clients/rds/....
Everything was passing until I started messing around

@adamkirk could you check if this is relevant when #971 is merged?

@adamkirk could you check if this is relevant when #971 is merged?

@chlunde I've just been testing this out, but it seems that the issue was fixed somewhere between 0.19.1 and 0.22.0.
I'll close this off, thanks for the help! :)


Always get 0 URLs found!

I always get 0 URLs found, I've seen people with the same problem, tried using a vpn but still get 0 URLs found, some of you know what happening and how can I solve it?

I been getting same problem with duck duck go we might not have the right
drivers installed idk
On Fri, Sep 18, 2020, 8:01 PM CooperTUGA<EMAIL_ADDRESS>wrote:

I always get 0 URLs found, I've seen people with the same problem, tried
using a vpn but still get 0 URLs found, some of you know what happening and
how can I solve it?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/VoldemortCommunity/ComboGen/issues/9, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQI3OVZBHQP4ABRR437L7ZTSGPYF7ANCNFSM4RSVDX4A
.

yeah same problem 0 url are getting why

O urls are found because you are not using good keywords.
Try using more effective keywords and increase the time too

Not true as it does it with keywords I know that work on the computer there
probably a capability error with the selected drivers he uses so please
know somthing 100% before you say something
On Thu, Nov 19, 2020, 22:40 saihiware<EMAIL_ADDRESS>wrote:

O urls are found because you are not using good keywords.
Try using more effective keywords and increase the time too
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/VoldemortCommunity/ComboGen/issues/9#issuecomment-730825172,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQI3OV756QVRTBTCUS6JDKDSQXQK5ANCNFSM4RSVDX4A
.

I would also like to add that repeated usage of the program ends up with Google banning your ip address thus keeping the program from scraping URLs. To get around this you must patiently wait for 20-45 minutes.


Chip

Add the Chip-component from Expense and Pay.

This package is getting phased out, and we do not plan to make any improvements unless they are critical for the remaining apps. Closing this issue


0.12 supports null comparison

what

removed the null_value code

why

Terraform 0.12 supports conditional operations with null value

references

https://www.hashicorp.com/blog/terraform-0-12-conditional-operator-improvements

/rebuild-readme

/terraform-fmt

/test all


PSR-384 Unallocated Amount

https://jira.tools.tax.service.gov.uk/browse/PSR-384 Unallocated amount page

Indexes removed and all still fine


fix logging and compile issues

Fixed numerous compile issues with logging and errors. Also added strgazer_cache to .gitignore.
Addresses #5

@spencerkimball can you please take a quick look?

@bassam thank you so much for these updates. I hate to ask, but is there any way you could just remove the dependency on CockroachDB entirely and just simplify by using Go's base log package?

@spencerkimball ha! I started there and should've checked with you first. ok no prob.

@spencerkimball note that we lose info, warn and error levels. you also lose color support I believe. do you care?

No, logging for this isn't so busy those features are critical.

@spencerkimball final had a chance to update this. let me know if you have any issues with it.

Awesome. Thank you! I'll merge it now.


code-gen: wrong query generation with idIn combined when referencing relations

When querying a model using the query builder, it generates an incorrect query.
Reproducable with:
queryModel({
    where: {
      idIn,
      ...wherePartial,
    },
    tags: {},
  });

In this case, the tags join in the generated query results in an incorrect query:
WHERE  1 = 1 AND p."id" = ANY( (SELECT value::uuid FROM(values ('2224245e-141c-4070-8df8-528449a8d6f3')'03a7c07d-83b9-4bbd-95ea-e703021bbdba','29c6e482-323c-41a6-900c-7fe8bdfaef73' (), ()) as ids(value)) INTERSECT

You can see the ')' part being invalid.

Thanks, fixed in #889 and released soon in v0.0.135


Preview

👷 Deploy Preview for timely-brigadeiros-dd9fc4 processing.

Name
Link

🔨 Latest commit
a674ff86fdf329e2ddeadc4a703a14f2a1c9c261

🔍 Latest deploy log
https://app.netlify.com/sites/timely-brigadeiros-dd9fc4/deploys/64d24fb76d8573000854e9d4


Add drawerGestureLock to DrawerLayoutAndroid

Useful for developers that would like to lock the drawer, closed or
opened (or unlocked by default) until drawer command is executed.

cc @mkonicek

What happens if the drawer is closed and the prop is set to LockedOpen, and vice versa? Should this be documented?

Just saw a very similar PR: https://github.com/facebook/react-native/pull/5534

Closing since the other PR is now accepted.


Fix trim of order number based on order number template

Fix trim of order number based on order number template since QuickPay has a limit of order id between 4-20 characters.
Ends with {0}:

Contains {0}:

@mattbrailsford just a minor issue and possible we can catch the Exception if not of type FlurlHttpException for some reason. I recall I have seen it some times.

@umbracotrd I'm happy with this PR, but can you merge it in a prepare v10, 12 and 13 releases accordingly 👍


[Snyk] Security upgrade idna from 2.6 to 3.7

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

requirements.txt

Vulnerabilities that will be fixed
By pinning:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

596/1000  Why? Recently disclosed, Has a fix available, CVSS 6.2
Resource Exhaustion SNYK-PYTHON-IDNA-6597975
idna:  2.6 -> 3.7
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Resource Exhaustion

Patched


Deployed but cannot generate thumbnail on uploaded images

I have tried to follow all of the steps and the function is deployed. However, the thumbnail is not generated when I upload an image and the real time database is showing null. Is it that any steps I missed out >

Hi @defeinium, I'm able to reproduce this. It is caused by the npm dependency mkdirp-promise. I'm working on swapping that out mkdirp now.

I had the same problem, the timeout is reached because of mdkirp-promise.
I will switch too

@jhuleatt , i wrote my function to generate thumbnail by following each step. Now I have trouble like this issue post, I try to fix that by replace mkdirp but nothing change. Thumbnail still can not be generated.
"firebase": "^7.10.0",
"firebase-admin": "^8.6.0",
"firebase-functions": "^3.3.0",
"child-process-promise": "^2.2.1",
"mkdirp": "^1.0.3",
Actually, thumbnail appearred on my bucket, but just loading icon on image.
Can you check it ?

The loading icon issue is being discussed in #652


Added service section to home page

Issue name 📐

**I Nitin have worked for #23 **

Guidelines 🔐
I accept the fact that I have followed the guidelines and have not copied the codes from around the internet

[x] Contribution Guidelines
[x] Code of Conduct

Issue to be closed 🛅

**My pull request closes #23 **

Screenshots 📷
Here are the pictures of changes that I have made 🔽

I pulled the itsroy-doctalk branch before pushing the code.

Okay nvm I'll do the changes by tomorrow morning. Good work


Removed a bunch of old configuration files

Also renamed a few files and moved some other files around.
Closes #221

All these deletes look OK to me.
It is a pity about the Dong config deletions because it might have been possible to resurrect her FELT code. But It is unlikely ever to happen.
You have kept the LSKiwi3 config which is good. LSKiwi2 only contained a subset of parameters.


remove jquery dependency

removes the jquery dependency when using loadid

Gonna close this. jQuery dependency is removed in my PR.


Add user authentication

Some notes / outlines from Anton:
"This would help users find their data across devices and give us the power to whitelist and blacklist users.
I would not ask people to make passwords. Passwords are a pain for users, and it's easy for us to make a bad mistake. If you have access to our Google Cloud console, then simplest is probably to use Google Sign-In which would work for people that have a Gmail account. Setting up federated authentication with Facebook, Twitter, GitHub, etc. is also possible but would a little be more complex. GitHub could be especially attractive if we later wanted people to make their own pull requests to submit data. Firebase Authentication is designed for this but would introduce a new Google platform dependency that should be a considered decision.
Once authentication exists and we have access to a user identifier during serving, I would use the identifier to replace the UUID's currently in URLs, cookies, and db/ paths. This will break URLs and so some care needs to be taken when releasing it in case we have real users.
If you pursue authentication, you will need to leave the UUID's in place until your thing is clearly working. Then, if there are users, you may need to support both forms of user identity, or migrate peoples' data, or both for a transition period."

GitHub authentication would be the ideal choice:

Users need a GitHub account already to submit data to the database.
This would allow, long term, for an integrated submission process where the PR can be created directly through the editor.

GitHub authentication resources:

https://docs.github.com/en/free-pro-team@latest/developers/apps/authorizing-oauth-apps
https://levelup.gitconnected.com/how-to-implement-login-with-github-in-a-react-app-bd3d704c64fc
https://www.graphql.college/implementing-github-oauth-flow/


Use consistent representation of Stackdriver variables

This repo currently relies on manually parsing the string in the value property of Stackdriver variables. This variable is created in the debug agent, which currently does not offer a consistent representation; it returns completely different things on Node 8 and Node 10.
The code in parseVariable should be replaced with code that uses this consistent representation once it is created. The issue tracking its creation in the debug agent is #504.

We decided to use a different code path for IDE integration.


[BUG] Can't delete a "Cordoned" host from the list of hosts

Describe the bug
Can't delete a "Cordoned" host from the list of hosts
To Reproduce

Set-up HA Harvester cluster with three nodes and add the Rancher integration
Wipe/destroy/lose a host
Remove the host from the list of hosts in Harvester (and don't remove it in Rancher)
Replace the host (reinstall the host using the same hostname and IP) and make it join the existing Harvester cluster
The host will be Cordoned as something prevents the node from successfully joining the Harvester cluster (something about the node already existing in an etcd)
In the Harvester UI, you can't delete that host. Regardless of whether you decide to reinstall the host using different hostname & IP, the host reference created from Step 4 will be impossible to remove from the UI.

Expected behavior
Being able to fully and properly remove a host from the list of hosts. Maybe "force" remove.
Support bundle
I'll provide the bundle securely upon request.
Environment

Harvester ISO version:
3 x baremetal with Dell PowerEdge R820

Additional context
I lost the raid array configuration following a pretty bad storm. I decided it was a good opportunity to re-configure the array (something I meant to do anyway) since https://github.com/harvester/harvester/issues/2665 seemed to suggest that it was possible to reinstall the first node/host of a cluster

After having the physical host shut down overnight, the host finally disappeared from the UI. I can't say why it took 3+ hours, but it finally worked.

As an added thought on this, it'd be really nice to have a "force delete" on host and virtual machine resources. It's not the first time I struggle to delete something.


Couple of small fixes

Avoid long blockdims repr
Add Array.nbytes property

Merging soon if no comment

LGTM


Incorrect Link to "About Us" Section

Describe the bug
Users have reported a problem in the Multivendor Admin Dashboard where the link to the "About Us" section is directing to an incorrect destination
To Reproduce
Steps to reproduce the behavior:

Log in to the Multivendor Admin Dashboard.
Navigate to the "About Us" section.
Click on the link or button that is supposed to direct to the "About Us" information.

Expected behavior
Clicking on the link to the "About Us" section should correctly redirect administrators to the intended destination, providing accurate information about the platform.
Screenshots
https://github.com/ninjas-code-official/food-delivery-multivendor/assets/152266796/da2fa6ce-dbc5-47e2-9b9c-1c74ad49dbc5
Desktop:

Browser: chrome

Hi @Inshirah23,
The links are updated and the issue has been resolved. Thanks for figuring out the issue
Regards
@ninjas-code-official/ninjas-code
@beKashif


fix slurm entry to match remap_params.tpl

This PR functionality was tested and no other fails and issues were found.
Nightly tests also passed, they were trivially zero diff based on code changes but were still completed.

This was issue related not sure how it got lost: https://github.com/GEOS-ESM/GEOSldas/issues/757


Plot extensions

Moved Plotting to a package extension, with this users are able to plot with Makie or Plots. All the tests pass however they issue a warning about overwriting methods. This warning does not appear when running from REPL.

Thanks for working on this! Looks like perhaps a few tests to fix?

That's bizarre, as the age old saying goes: "It works on my machine". This might be difficult to troubleshoot but I will do what I can.

Sorry I never gave an update, the change to CairoMakie fixed the issue. Is there anything else I need to do to allow a merge?

Oh nice!


Print the notice log within postgres stored procedures (plv8 as well) into postgraphql response log

Is it possible to do that? it would be nice for debugging purposes.
Cheers

Yep; you just need to do pgClient.on('notice', msg => ... ) after you grab a client from the pool.
PR welcome 👍

You mean something like https://github.com/postgraphql/postgraphql/blob/0631012372512723774fd5dd66562b962e7c27c8/src/tests/utils/withPgClient.ts Then use the pgClient instance that you passed into the library to get the notice logs?

Here's where the SQL queries are intercepted for logging:
https://github.com/postgraphql/postgraphql/blob/1fa4310dae82d1a28636cb0fc6d4f8294729c5a2/src/postgraphql/withPostGraphQLContext.ts#L54-L57
You may want to add the pgClient.on('notice', ...) there - be sure to remove it again in the finally block:
https://github.com/postgraphql/postgraphql/blob/1fa4310dae82d1a28636cb0fc6d4f8294729c5a2/src/postgraphql/withPostGraphQLContext.ts#L81-L84
If you added a CLI flag to enable this logging I'd be happy to review the PR 👍

@benjie I would like to work on this.
I have few questions.

What needs to be passed in the msg pgClient.on('notice', msg => ... )
What is the syntax to remove notice, which needs to be done finally block

Awesome, thanks @arshadkazmi42!
I think the best way of achieving this is in withPostGraphileContext. Add
const debugPgNotice = createDebugger('postgraphile:postgres:notice');

Then here:
https://github.com/graphile/postgraphile/blob/ad6137abf93ee5543748c4dee7ec58d37ef9a8c9/src/postgraphile/withPostGraphileContext.ts#L99
Tweak to (debugPg.enabled || debugPgError.enabled || debugPgNotice.enabled)
Then here:
https://github.com/graphile/postgraphile/blob/ad6137abf93ee5543748c4dee7ec58d37ef9a8c9/src/postgraphile/withPostGraphileContext.ts#L344-L357
Wrap with if (debugPg.enabled || debugPgError.enabled) {...} (since notice doesn't require this override) and add above this the pgClient.on('notice', ...)
The notice should just log out the error via the new debugPgNotice. Please be sure to use the formatter to output the message via an additional argument rather than outputting it as the first argument (which is interpretted as a format string, hence risky to do this). https://www.npmjs.com/package/debug#formatters
If you do it this way, you won't need to clean up the notice.
Debug message could just be something like debugNotice('NOTICE: %s', msg) but if you can find out where the message originated (e.g. the PostgreSQL function) from the msg object (assuming it is an object...?) then that would be super helpful too, e.g. debugNotice('NOTICE[%s]: %s', msg.origin, msg.text). You'll need to research that.

@benjie Thank you for the detailed information.
I made the changes you suggested.
But cannot figure it out, what is the msg here?
debugNotice('NOTICE: %s', msg)

Lines 344 to 357 in ad6137a
// tslint:disable-next-line only-arrow-functions
pgClient.query = function(...args: Array): any {
// Debug just the query text. We don’t want to debug variables because
// there may be passwords in there.
debugPg(args[0] && args[0].text ? args[0].text : args[0]);
// tslint:disable-next-line no-invalid-this
const promiseResult = pgClient[$$pgClientOrigQuery].apply(this, args);
// Report the error with our Postgres debugger.
promiseResult.catch((error: any) => debugPgError(error));
return promiseResult;
};
Wrap with if (debugPg.enabled || debugPgError.enabled) {...} (since notice doesn't require this override) and add above this the pgClient.on('notice', ...)

My code block looks something like this

The pgClient.on('notice') line should be something like:
pgClient.on('notice', (msg) => {
  const message = /* something */;
  debugNotice('NOTICE: %s', message)
});

You can put console.dir(msg) in the function and see what's output on notice and go from there, or you can read the node-postgres docs. I'm not sure exactly what it'll involve

I found this on node-postgres docs, looks like I need to pass msg  to debugNotice
https://node-postgres.com/api/client#client-on-39-notice-39-notice-string-gt-void-gt-void
after that change does it needs any other update? Or I can create a PR?

Looks like that's it. Shame there's no extra metadata. Oh well 🤷♂

(Please create PR)

@benjie created PR


Add Kind installation to infrastructure script

Description
This commit makes the infrastructure provisioning script self-contained, making them work with a specific version of Kind.
How Has This Been Tested?

[x] Manual Testing
[x] E2E

Pull Request Test Coverage Report for Build 319454237

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.06%) to 47.845%

Totals

Change from base Build 317467515:
0.06%

Covered Lines:
6261

Relevant Lines:
13086

💛  - Coveralls


EISDIR Errors with pigment migration when using transformLibraries

Steps to reproduce
Follow the the migration to pigment css example with a basic Next.js project.
Current behavior
Adding in a basic  component from  @mui/material/button casues the below error
    unhandledRejection: Error: EISDIR: illegal operation on a directory, read
    at readFileSync (node:fs:448:20)
    at get code [as code] (/node_modules/@wyw-in-js/transform/lib/transform/Entrypoint.helpers.js:111:99)
    at new Entrypoint (/node_modules/@wyw-in-js/transform/lib/transform/Entrypoint.js:41:30)
    at Entrypoint.innerCreate (/node_modules/@wyw-in-js/transform/lib/transform/Entrypoint.js:129:27)
    at /node_modules/@wyw-in-js/transform/lib/transform/Entrypoint.js:85:47
    at EventEmitter.perf (/node_modules/@wyw-in-js/transform/lib/utils/EventEmitter.js:45:20)
    at Entrypoint.create (/node_modules/@wyw-in-js/transform/lib/transform/Entrypoint.js:84:25)
    at Entrypoint.createChild (/node_modules/@wyw-in-js/transform/lib/transform/Entrypoint.js:176:23)
    at BaseAction.processImports (/node_modules/@wyw-in-js/transform/lib/transform/generators/processImports.js:22:44)
    at processImports.next (<anonymous>)
    at /node_modules/@wyw-in-js/transform/lib/transform/actions/BaseAction.js:66:78
    at EventEmitter.action (/node_modules/@wyw-in-js/transform/lib/utils/EventEmitter.js:25:22)
    at BaseAction.emitAction (/node_modules/@wyw-in-js/transform/lib/transform/actions/BaseAction.js:131:39)
    at nextFn (/node_modules/@wyw-in-js/transform/lib/transform/actions/BaseAction.js:66:32)
    at processNext (/node_modules/@wyw-in-js/transform/lib/transform/actions/BaseAction.js:111:28)
    at Object.next (/node_modules/@wyw-in-js/transform/lib/transform/actions/BaseAction.js:120:9)
    at asyncActionRunner (/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:39:102)
    at asyncActionRunner (/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:46:28)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async asyncActionRunner (/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:46:22)
    at async asyncActionRunner (/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:46:22)
    at async asyncActionRunner (/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:46:22)
    at async asyncActionRunner (/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:46:22)
    at async asyncActionRunner (/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:46:22)
    at async Object.transform (/node_modules/@wyw-in-js/transform/lib/transform.js:107:20)
    at async Object.transform (/node_modules/@pigment-css/unplugin/build/index.js:273:24)
    at async Object.transform (/node_modules/unplugin/dist/webpack/loaders/transform.js:108:15)

Seeing that the error is coming from "transform", I comment out the below line in the next.config.mjs file and then the application builds.
 transformLibraries: ['@mui/material'],
Expected behavior
The above error doesn't occur when  transformLibraries: ['@mui/material'], is part of the next.config.mjs file.
Context
For now I'll continue on with my project with the transformLibraries commented out, but I don't actually understand how this is going to affect my project. It seems to work with it uncommented.
Your environment

npx @mui/envinfo
System:
    OS: macOS 13.4.1
  Binaries:
    Node: 20.15.1 - ~/.nvm/versions/node/v20.15.1/bin/node
    npm: 10.7.0 - ~/.nvm/versions/node/v20.15.1/bin/npm
    pnpm: Not Found
  Browsers:
    Chrome: 127.0.6533.122
    Edge: Not Found
    Safari: 16.5.2
  npmPackages:
    @emotion/react:  11.13.3
    @emotion/styled:  11.13.0
    @mui/core-downloads-tracker:  6.0.0-rc.0
    @mui/material: ^6.0.0-rc.0 => 6.0.0-rc.0
    @mui/material-nextjs: ^6.0.0-beta.6 => 6.0.0-dev.240424162023-9968b4889d
    @mui/material-pigment-css: ^6.0.0-rc.0 => 6.0.0-rc.0
    @mui/private-theming:  6.0.0-rc.0
    @mui/styled-engine:  6.0.0-rc.0
    @mui/system:  6.0.0-rc.0
    @mui/types:  7.2.15
    @mui/utils:  6.0.0-rc.0
    @types/react: latest => 18.3.4
    react: latest => 18.3.1
    react-dom: latest => 18.3.1
    typescript: latest => 5.5.4

Search keywords: pigment transformLibraries EISDIR
Search keywords:

I'm not sure who needs to see this, but I've been continuing on with building my project. The application works fine when running next development server (npm run dev), however running a build results in the below error, which looks somewhat similar to what I've previously posted above.
Again, commenting out transformLibraries allows me to build the application, however as expected, in the output application the MUI components won't have the custom theme applied.
admin@Admins-MBP new % npm run build

><EMAIL_ADDRESS>build
> next build

  ▲ Next.js 14.2.6
  - Environments: .env.local
  - Experiments (use with caution):
    · instrumentationHook

   Creating an optimized production build ...
unhandledRejection Error: EISDIR: illegal operation on a directory, read
    at Object.readSync (node:fs:751:3)
    at tryReadSync (node:fs:451:20)
    at readFileSync (node:fs:497:19)
    at get code [as code] (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/Entrypoint.helpers.js:111:99)
    at new Entrypoint (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/Entrypoint.js:41:30)
    at Entrypoint.innerCreate (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/Entrypoint.js:129:27)
    at /Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/Entrypoint.js:85:47
    at EventEmitter.perf (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/utils/EventEmitter.js:45:20)
    at Entrypoint.create (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/Entrypoint.js:84:25)
    at Entrypoint.createChild (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/Entrypoint.js:176:23)
    at BaseAction.processImports (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/generators/processImports.js:22:44)
    at processImports.next (<anonymous>)
    at /Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/actions/BaseAction.js:66:78
    at EventEmitter.action (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/utils/EventEmitter.js:25:22)
    at BaseAction.emitAction (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/actions/BaseAction.js:131:39)
    at nextFn (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/actions/BaseAction.js:66:32)
    at processNext (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/actions/BaseAction.js:111:28)
    at Object.next (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/actions/BaseAction.js:120:9)
    at asyncActionRunner (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:39:102)
    at asyncActionRunner (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:46:28)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async asyncActionRunner (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:46:22)
    at async asyncActionRunner (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:46:22)
    at async asyncActionRunner (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:46:22)
    at async asyncActionRunner (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:46:22)
    at async asyncActionRunner (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:46:22)
    at async asyncActionRunner (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:46:22)
    at async asyncActionRunner (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:46:22)
    at async asyncActionRunner (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:46:22)
    at async Object.transform (/Users/admin/Repositories/unnamed-project/new/node_modules/@wyw-in-js/transform/lib/transform.js:107:20)
    at async Object.transform (/Users/admin/Repositories/unnamed-project/new/node_modules/@pigment-css/unplugin/build/index.js:273:24)
    at async Object.transform (/Users/admin/Repositories/unnamed-project/new/node_modules/unplugin/dist/webpack/loaders/transform.js:108:15)

Hmmm, it's looking like this EISDIR error can be circumvented by running the development server with sudo. After doing so, some build time console errors and warnings showed, resolving them one by one allowed me to run the application as normal. Finally I can use Autocomplete and Tooltips. I wonder if this error happens when build time errors occur? Hope this helps anyone else.

Taking a look into this. From the error, it seems like Pigment is trying to read some path as a file but it is a directly. Doing a require.resolve before reading might help with the fix.

@rhoiyds Could you push your exact code that's resulting in the error to a github repo ? I tried to setup a next.js project from scratch with Pigment and Material UI with a Button and it worked.

@brijeshb42 I've spent the past hour attempting to strip out the sensitive elements of my project into a reproduction, however after stripping everything down, the problem doesn't seem to occur. There's a chance that there's some odd conflict with other logic occurring down the line, and pigment is for reason the one that logs the error.
On the main project I'm working on, some things I attempt throw the error -but then starting and stopping the server sometimes fixes the problem. It's very hard to pinpoint the trigger unfortunately.

ADD FORCED CONSOLE LOG WHICH FILE ARE CAPTURED AND IGNORE ARRAY NPM MODULES. So elegant solution

I found out that having any import like import { useTheme } from '@mui/material'; would result in the below pasted error. I replaced all such imports with '@mui/material/styles';
error during build:
[commonjs--resolver]<EMAIL_ADDRESS>Cannot convert undefined or null to object
file<EMAIL_ADDRESS>TypeError<EMAIL_ADDRESS>Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at iterateAndReplaceFunctions (/home/bmakan/ws/regressdb3/src/client/node_modules/@pigment-css/react/processors/chunk-BSJ525HZ.js:138:10)
    at /home/bmakan/ws/regressdb3/src/client/node_modules/@pigment-css/react/processors/chunk-BSJ525HZ.js:142:9
    at Array.forEach (<anonymous>)
    at iterateAndReplaceFunctions (/home/bmakan/ws/regressdb3/src/client/node_modules/@pigment-css/react/processors/chunk-BSJ525HZ.js:138:21)
    at /home/bmakan/ws/regressdb3/src/client/node_modules/@pigment-css/react/processors/chunk-BSJ525HZ.js:142:9
    at Array.forEach (<anonymous>)
    at iterateAndReplaceFunctions (/home/bmakan/ws/regressdb3/src/client/node_modules/@pigment-css/react/processors/chunk-BSJ525HZ.js:138:21)
    at Object.cssFnValueToVariable (/home/bmakan/ws/regressdb3/src/client/node_modules/@pigment-css/react/processors/chunk-BSJ525HZ.js:196:3)
    at StyledProcessor.processCss (/home/bmakan/ws/regressdb3/src/client/node_modules/@pigment-css/react/processors/styled.js:385:34)
    at StyledProcessor.processStyle (/home/bmakan/ws/regressdb3/src/client/node_modules/@pigment-css/react/processors/styled.js:306:31)
    at /home/bmakan/ws/regressdb3/src/client/node_modules/@pigment-css/react/processors/styled.js:209:12
    at Array.forEach (<anonymous>)
    at StyledProcessor.build (/home/bmakan/ws/regressdb3/src/client/node_modules/@pigment-css/react/processors/styled.js:208:20)
    at /home/bmakan/ws/regressdb3/src/client/node_modules/@wyw-in-js/transform/lib/plugins/collector.js:26:17
    at /home/bmakan/ws/regressdb3/src/client/node_modules/@wyw-in-js/transform/lib/utils/getTagProcessor.js:384:5
    at Array.forEach (<anonymous>)
    at applyProcessors (/home/bmakan/ws/regressdb3/src/client/node_modules/@wyw-in-js/transform/lib/utils/getTagProcessor.js:375:10)
    at /home/bmakan/ws/regressdb3/src/client/node_modules/@wyw-in-js/transform/lib/plugins/collector.js:25:42
    at EventEmitter.perf (/home/bmakan/ws/regressdb3/src/client/node_modules/@wyw-in-js/transform/lib/utils/EventEmitter.js:45:20)
    at collector (/home/bmakan/ws/regressdb3/src/client/node_modules/@wyw-in-js/transform/lib/plugins/collector.js:24:16)
    at PluginPass.pre (/home/bmakan/ws/regressdb3/src/client/node_modules/@wyw-in-js/transform/lib/plugins/collector.js:51:26)
    at transformFile (/home/bmakan/ws/regressdb3/src/client/node_modules/@babel/core/lib/transformation/index.js:73:27)
    at transformFile.next (<anonymous>)
    at run (/home/bmakan/ws/regressdb3/src/client/node_modules/@babel/core/lib/transformation/index.js:24:12)
    at run.next (<anonymous>)
    at /home/bmakan/ws/regressdb3/src/client/node_modules/@babel/core/lib/transform-ast.js:23:33
    at Generator.next (<anonymous>)
    at evaluateSync (/home/bmakan/ws/regressdb3/src/client/node_modules/gensync/index.js:251:28)
    at sync (/home/bmakan/ws/regressdb3/src/client/node_modules/gensync/index.js:89:14)
    at stopHiding - secret - don't use this - v1 (/home/bmakan/ws/regressdb3/src/client/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js:47:12)
    at Object.transformFromAstSync (/home/bmakan/ws/regressdb3/src/client/node_modules/@babel/core/lib/transform-ast.js:43:83)
    at BaseAction.collect (/home/bmakan/ws/regressdb3/src/client/node_modules/@wyw-in-js/transform/lib/transform/generators/collect.js:50:24)
    at collect.next (<anonymous>)
    at /home/bmakan/ws/regressdb3/src/client/node_modules/@wyw-in-js/transform/lib/transform/actions/BaseAction.js:66:78
    at EventEmitter.action (/home/bmakan/ws/regressdb3/src/client/node_modules/@wyw-in-js/transform/lib/utils/EventEmitter.js:25:22)
    at BaseAction.emitAction (/home/bmakan/ws/regressdb3/src/client/node_modules/@wyw-in-js/transform/lib/transform/actions/BaseAction.js:131:39)
    at nextFn (/home/bmakan/ws/regressdb3/src/client/node_modules/@wyw-in-js/transform/lib/transform/actions/BaseAction.js:66:32)
    at processNext (/home/bmakan/ws/regressdb3/src/client/node_modules/@wyw-in-js/transform/lib/transform/actions/BaseAction.js:111:28)
    at Object.next (/home/bmakan/ws/regressdb3/src/client/node_modules/@wyw-in-js/transform/lib/transform/actions/BaseAction.js:120:9)
    at asyncActionRunner (/home/bmakan/ws/regressdb3/src/client/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:39:102)
    at asyncActionRunner (/home/bmakan/ws/regressdb3/src/client/node_modules/@wyw-in-js/transform/lib/transform/actions/actionRunner.js:46:28)
    at async Object.transform (/home/bmakan/ws/regressdb3/src/client/node_modules/@wyw-in-js/transform/lib/transform.js:107:20)
    at async Object.transform (/home/bmakan/ws/regressdb3/src/client/node_modules/@pigment-css/vite-plugin/build/index.js:169:24)
    at async transform (file:///home/bmakan/ws/regressdb3/src/client/node_modules/rollup/dist/es/shared/node-entry.js:18830:16)
    at async ModuleLoader.addModuleSource (file:///home/bmakan/ws/regressdb3/src/client/node_modules/rollup/dist/es/shared/node-entry.js:19046:36)
error: "vite" exited with code 1


[BUG]: Name convention not compatible with Github Pages

Description of the bug
Currently, the website is displaying the README instead of the Homepage.
Steps To Reproduce
Visit the Website
Here is the not-expected output:

Expected Behaviour
The current HomePage should be visible.
Additional Information
Rename hompage.html to index.html for Github pages to identify the start location of the website :)

Fixed the Bug with PR #6


Pull request to merge upstream changes

Pull request to merge upstream changes.

resolved conflicts on temp local branch and merged into main on commit 1a8d7a5


SSMS Utility does not support argument for "Active Directory - Universal with MFA"

We are a team under Microsoft C+AI org. Our team enforces us to use AAD account of another tenant (PME tenant) with 2-factor authentication to access customer's SQL Server database. It's very inconvenient without the argument support for "Active Directory - Universal with MFA".
Here are the detailed steps of our daily life which explain why the current process is so inconvenient:
Our portal will generate the SSMS command scripts with prepopulated server name, database name, username, etc. We simply copy it for execution then it will initialize the SSMS. Without the argument for "Active Directory - Universal with MFA" it cannot connect to the database for sure. Now we have to manually switch the authentication type to "Active Directory - Universal with MFA". Then the crazier thing will happen: after switching the authentication type, the "database name" that our script prepopulated will be cleared so we have to click "options" tab, find the "database name" somewhere and manually type or paste there.
Our org has thousands of engineers and most of us are required to be on-call and access customer's database. With your support, it will not only save MSFT's COGS, but also increase satisfaction on the on-call experience, which will eventually be reflected in our service attitude to customers.

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

ID: 179d9df0-cfc8-d9f2-babc-e9b7d0732d87
Version Independent ID: c458bccb-8bba-f94c-658c-5d35eab7cdc7
Content: SSMS Utility - SQL Server Management Studio (SSMS)
Content Source: docs/ssms/ssms-utility.md
Product: sql
Technology: ssms
GitHub Login: @markingmyname
Microsoft Alias: maghan

@zhfk930129 -- Frank, thank you for your detailed feedback.  This repo is solely for documentation issues, and this seems product-related.  Please add it here:

SQL Server feedback

I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.
cc @markingmyname for awareness