Include elFinder in TinyMCE

Hi,
I have just tried to include elFinder into TinyMCE.
The Result should look something like this:
http://hypweb.net/elFinder-nightly/demo/tinymce/
I got it working without GridEditor, but it is not working with GridTable.
Here is my approach :
https://gist.github.com/daslicht/740ad9e11ed248daea05#file-grideditor-elfinder-js-L33
Do you see anything invalid there please?
related:
https://github.com/Studio-42/elFinder/wiki/Integration-with-TinyMCE-4.x

SOLVED ! by using the latest TinyMCE


Allow images Upscaling at upload

Bug Report
Image are not upscaled at upload even with config.upload.resizeOptions.withoutEnlargement explicitly false
Steps to Reproduce

Set imageSizes in a Media collection
Upload an image smaller than one of an imageSizes format

Other Details
It may cause problems if the editor doesn't upload an image big enough and you use it on your frontend or as admin thumbnail.
This may be solved here : https://github.com/payloadcms/payload/blob/master/src/uploads/imageResizer.ts
Line 57 :
const sizes = imageSizes
.filter((desiredSize) => needsResize(desiredSize, dimensions))
    .map(async (desiredSize) => {
    let resized = sharp(file).resize(desiredSize);

changed with :
const sizes = imageSizes
.filter((desiredSize) => !config.upload.resizeOptions?.withoutEnlargement || needsResize(desiredSize, dimensions))
    .map(async (desiredSize) => {
    let resized = sharp(file).resize(desiredSize);

Thanks for the report @anthonyivol! Others have been asking for this as well, we probably support this. Looks like your solution could work. If you want to open a PR with your changes, we can get have it reviewed pretty quick. We may want to expose other Sharp options while were at it.

For now, because this is a new feature request, I'm going to convert it to a discussion, because it's technically functioning as intended at this time. But let's keep the conversation going!


Add support for building and bundling windows binaries.

As a first step towards #116 I've added windows support to the makefile for creating binaries.

currently there is one test failing under windows, I'll have a look into this.
=== RUN   TestGetListener
--- FAIL: TestGetListener (0.00s)
        Error Trace:    server_test.go:47
        Error:          Expected nil, but got: &errors.errorString{s:"failed to listen unix socket: listen unix /tmp/gaurun.sock: bind: A socket operation encountered a dead network."}

Looks like the p12 certificate has expired under gaurun/buford/testdata/cert.p12

Since gaurun does not use p12 in actual, we remove the code to handle p12 in https://github.com/mercari/gaurun/pull/146.


Simplify frontend CI build and container

Problem

We currently build the frontend application inside of a docker container. This has the following advantages:

Reproduciable build environment: we know exactly what the conditions of the container are during the build process

That's basically it. It has the following disadvantages:

We need to manually copy configuration files in a specific order to avoid sub-optimal layer caching and, additionally, make manual modifications to them in order to account for the non-monorepo context of the build
We copy all files, including tests, test tapes, snapshots, etc, into the final image
We are unable to selectively copy dependencies, meaning we're stuck bundling development dependencies into the frontend container, even though they aren't necessary for the application runtime
We gain no benefit from the pnpm cache meaning every single frontend build needs to re-download all the packages
Our build does not happen inside a git-repository context, so tools like Sentry cannot make inferences about releases related to specific commits that help us find the source of bugs.

Description

Change the CI build process for the frontend container to the following:
On the CI box (assumes pnpm install has already been run once):

Run just frontend build:only to run the frontend build on the CI box (set any necessary build-time environment variables, refer to Dockerfile builder target for these)
Run pnpm m -w exec -- rm -rf node_modules to recursively delete all node_modules, including the workspace root.
Run pnpm install --filter frontend --prod to only install runtime dependencies
Now run the docker build, as modified below

Modify the frontend/Dockerfile along the following lines:

Copy node_modules, frontend/nuxt.config.ts, frontend/feat, frontend/node_modules, frontend/src, frontend/.nuxt into the working directory of the image

In my brief testing this was all that appeared necessary for the app to run and serve requests. There could be other things necessary for certain edge cases, but I do not believe that to be the case

Set any necessary runtime environment variables
Set WORKDIR frontend and CMD ["npm", "run", "start", "--", "-H", "<IP_ADDRESS>"]

Additional context

I've tested this locally by following the build instructions above on my local and using the following Dockerfile.prod and Dockerfile.prod.dockerignore inside the frontend directory, then running the following from the repository root:

docker build -t openverse-frontend-local:latest --build-arg FRONTEND_NODE_VERSION=$(just frontend/node-version) -f frontend/Dockerfile.prod .
docker run -it --rm -p 8443 openverse-frontend-local

You should be able to visit the site at localhost:8443 like normal.

frontend/Dockerfile.prod
ARG FRONTEND_NODE_VERSION

FROM docker.io/node:${FRONTEND_NODE_VERSION}-alpine as app

LABEL org.opencontainers.image.source="https://github.com/WordPress/openverse"

# Install CURL for the production healthcheck
RUN apk --no-cache add curl

WORKDIR /home/node/

USER node

COPY --chown=node:node node_modules ./node_modules/
COPY --chown=node:node frontend ./frontend/

WORKDIR frontend

EXPOSE 8443

CMD ["npm", "run", "start", "--", "-H", "<IP_ADDRESS>"]

frontend/Dockerfile.prod.dockerignore
# Ignore everything and only add back what is necessary for the frontend runtime
*

# Paths must be relative to build context (repository root)
!frontend/src
!frontend/nuxt.config.ts
!frontend/feat
!frontend/.nuxt
!frontend/package.json
!frontend/node_modules
!node_modules

cc @dhruvkb and @krysal to see what y'all think of this. It's related to work we've discussed previously about only including the necessary dependencies in the frontend build. The approach I've described would accomplish that while also allowing us to take advantage of the git context for the Sentry release as described in #3116.
Alternatively, if we do not care about the Sentry release or we are okay with copying the .git directory into the image, we could follow the less complex multi-stage build approach described by pnpm for monorepos. I don't know if all that is necessary is that the .git directory is available during the build though, so I'm not sure if that alone would make the git integration with Sentry work. Overall I think it's simpler to build outside the container and copy the necessary files into it afterwards. This makes the build go much faster on my local.
What do y'all think? The clearest trade-off is losing the supposed stability of a tightly controlled build environment... but I wonder how important that really is for us :thinking:.

Regarding the losses in the current approach:

(2) Was resolved in #2713 (tests shouldn't be included in the Docker image anymore)
(4) We do use Docker's caching so that built artefacts and layers can be cached. That should compensate for the lack of the pnpm cache to some extent?
(5) How does Sentry recognise Git for the API or ingestion server? Those images are also built inside their respective folders and .git is not copied into the images.

I'm not sure if building outside the container is a good idea. On one hand, the PoC is considerably simpler which is awesome! But on the other it just feels wrong intuitively because it goes against all my experience so far of working with Docker. I can see how "intuition" is a terrible argument so I wouldn't block this if everyone else feels like this is a good path forward.
PS: are you using the frontend Docker image for local dev? I've never built/used it locally so if you are, that's interesting!

(2) Was resolved in https://github.com/WordPress/openverse/pull/2713 (tests shouldn't be included in the Docker image anymore)

:+1:

(4) We do use Docker's caching so that built artefacts and layers can be cached. That should compensate for the lack of the pnpm cache to some extent?

Unfortunately it doesn't, because any changes to the files in frontend cause the layer that copies those files to cache-bust, meaning pnpm fetch runs again. Maybe we can just move pnpm fetch before that copy line by copying just the package.json's?

(5) How does Sentry recognise Git for the API or ingestion server? Those images are also built inside their respective folders and .git is not copied into the images.

That's a good question. I wasn't sure, but it looks like the GitHub integration does it. There are "code mappings" here: https://openverse.sentry.io/settings/integrations/github/125369/
It turns out that the frontend mappings do work. See this issue, for example: https://openverse.sentry.io/issues/4381152390/?project=5799642&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=14d&stream_index=3
The line of code is correct for the stack trace. However, there's no suspect commit. Maybe there isn't a suspect commit for that issue. Sentry lists several cases where that might happen: https://docs.sentry.io/product/issues/suspect-commits/?original_referrer=https%3A%2F%2Fdocsbot.ai%2F#missing-suspect-commits
So I think I'm incorrect about that point. The feature is working fine, and we can even close the source maps issue I created as invalid.

PS: are you using the frontend Docker image for local dev? I've never built/used it locally so if you are, that's interesting!

I'm not. This wouldn't have been possible with the current Dockerfile until recently, since Docker compose added additional_contexts to the compose file spec. We could try to do it, it would be nice if it worked.
Given the situation with Sentry, I think it's actually better to try to implement the pnpm recommended approaches for monorepo dockerfile building. Their instructions also include how to re-use the host machines module cache, which would improve the other aspects as well. We can pretty easily create multiple stages to retrieve the build artefacts and prod dependencies separately :tada:

For posterity, here are the pnpm instructions: https://pnpm.io/docker
I'll mark this issue as needing changes, but will close my PR for it and update this issue later to reflect using the approach pnpm has documented.


Minio Console added to the charm configuration

Added:

minio console port to configuration with the default value of 9001
minio console port to minio args in container
unit tests (or adjusted) to check port value
README - minio console section

Tests - server and gateway mode deployed using default and then changing the port value.

Integration test added.


refactor: add default client instance for contrib/sdk/httpclient

用户在使用sdk/httpclient的时候可能忽略或忘记定制http客户端, 此时应该为其提供一个默认的http客户端实例(gclient.New()), 否则程序将会异常退出.

Codecov Report
Patch coverage has no change and project coverage change: -0.04% :warning:

Comparison is base (e0e0043) 79.22% compared to head (e567ba9) 79.19%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2814      +/-   ##
==========================================
- Coverage   79.22%   79.19%   -0.04%
==========================================
  Files         633      630       -3
  Lines       52242    51903     -339
==========================================
- Hits        41391    41103     -288
+ Misses       8808     8772      -36
+ Partials     2043     2028      -15

Flag
Coverage Δ

go-1.15-386
?

go-1.15-amd64
?

go-1.16-386
?

go-1.16-amd64
79.19% <ø> (-0.03%)
:arrow_down:

go-1.17-386
?

go-1.17-amd64
?

go-1.18-386
?

go-1.18-amd64
?

go-1.19-386
?

go-1.19-amd64
?

go-1.20-386
?

go-1.20-amd64
?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 12 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@windvalley Thanks for your contribution!


Fix broken gtfs tools link / Update Data Tools info

Fix broken link #gtfs-tools to #gtfs-data-collection-and-maintenance-tools
Change Conveyal Data Tools to IBI Data Tools (https://www.ibigroup.com/2019/05/01/ibi-group-to-steward-evolution-of-conveyals-opentripplanner-and-data-tools-in-north-america/)

Thanks @landonreed!


Possible simplification of is_made_of_eight_digits_fast

This function could be simplified a bit:
https://github.com/lemire/fast_float/blob/7eae925b51fd0f570ccd5c880c12e3e27a23b86f/include/fast_float/ascii_number.h#L27
replace its implementation with:
return ((val & 0xF0F0F0F0F0F0F0F0u) & (val + 0x0606060606060606u)) == 0x3030303030303030u;

To be reviewed and assessed. Thanks.

From #28:
return !((((val + 0x4646464646464646) | (val - 0x3030303030303030)) & 0x8080808080808080));
The ! and & operations should become a test instruction on x86. So it should be the same speed as @Kristine1975 suggestion.  The term val - 0x3030303030303030 is needed immediately after the check ... so calculating it during the check may save one instruction down the road.


How to use this library in component level?

Is it possible to use this library in component level like this code?
I don't want to defined the urls and the resources in main.js. but in the component.
<template>

loading users...

{{users.data}}

</template>

Of course it is, it's intended to do that. There is no way to delcare it in the main.js file.


Adding a new template for Homey

Summary
New template for a 'Homey' home automation device
Changes
New template
Notes for Reviewers
Homey manufacturers guidelines from:
https://apps.developer.homey.app/cloud/webhooks
Checklist

[*] Scope: The referenced issue is addressed, there are no unrelated changes.
[*] Compatibility: The changes are backwards compatible, they don't break existing deployments.
[*] Testing: The changes are tested.
[*] Documentation: Relevant documentation is added or updated.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Additionally the 'Homey' logos are here but I've no method of hosting them.

@OOHehir please add the template in templates.yml otherwise the template won't be shown

@OOHehir any chance you can provide us some documentation on how to integrate Homey and TTS? We tend to have the documentation for all cloud platforms we integrate with: https://www.thethingsindustries.com/docs/integrations/cloud-integrations/. You could file a PR in our documentation repo: https://github.com/TheThingsIndustries/lorawan-stack-docs, or you could send me some content and I could turn it into a PR.

@nejraselimovic for my Homey app the instructions are here.
However if other developers use the template for other apps their implementation may differ slightly but I imagine it'll be relatively similar.

@nejraselimovic for my Homey app the instructions are here.
However if other developers use the template for other apps their implementation may differ slightly but I imagine it'll be relatively similar.

Awesome, thank you!


How to prevent all tooltips when typing unless specifically asked?

Hi. I'm new to RA so maybe I just don't understand the settings correctly.
I would like to set it so that it never, unless I specifically press the "Trigger Suggest" key (eg: Ctrl+Space by default), opens a tooltip while typing.
Currently I've tried to turn off all the automatic suggestions, and i set the suggestion delay to 99999 ms, but when typing in a method call it pops up a tooltip as you type in the ( and ), suggesting the args types of the call and so forth.
This is extremely distracting, and so I would like to be able to set it for suggestions only when I've specifically pressed the Trigger Suggest key.

I think you need this setting, if you are using vs code:
https://github.com/matklad/config/blob/3ae993c6df118501b2aab230f9b03287b9c8192f/vscode/settings.json#L30
.
This is a client side thing, not the server side one.
On Thursday, 13 February 2020, Lokathor<EMAIL_ADDRESS>wrote:

Hi. I'm new to RA so maybe I just don't understand the settings correctly.
I would like to set it so that it never, unless I specifically press the
"Trigger Suggest" key (eg: Ctrl+Space by default), opens a tooltip while
typing.
Currently I've tried to turn off all the automatic suggestions, and i set
the suggestion delay to 99999 ms, but when typing in a method call it pops
up a tooltip as you type in the ( and ), suggesting the args types of the
call and so forth.
This is extremely distracting, and so I would like to be able to set it
for suggestions only when I've specifically pressed the Trigger Suggest
key.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-analyzer/rust-analyzer/issues/3128?email_source=notifications&email_token=AANB3MY7GH3HPGZBUI46SNDRCSAWDA5CNFSM4KUGNEYKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4INDGAYQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANB3M2FCJWQOABRHT4TJOLRCSAWDANCNFSM4KUGNEYA
.

Ah ha! solved


Correcting description

closes https://github.com/MicrosoftDocs/office-docs-powershell/issues/7992

Docs Build status updates of commit ec540a9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteGroup.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@Kateyanne Please merge this PR. Thanks

Docs Build status updates of commit 806c4c9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteGroup.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Version 0.31: 0xC0000005: Access violation reading location 0x0000000000000000.

I've submitted several minidumps but thought that it might be worthwhile opening an issue here on github as well.
I believe there's a problem with the hooking code in Version 0.31. From the dumps I see a
Unhandled exception at 0x000007FEE4513BCB (renderdoc.dll) in c736506a-7a24-4e5e-80a4-5ffa809a5ca5.dmp: 0xC0000005: Access violation reading location 0x0000000000000000. and the call stack shows that it occurs at

renderdoc.dll!Hooked_GetProcAddress(HINSTANCE__ * mod=0x00000000002bdf41, const char * func=0x00000000002bdf70) Line 496	C++

Since the minidumps don't contain heap info, i can't tell what the function name is that it tries to hook. All I know is that previous versions (Tested 0.30, 0.25 and 0.21) don't have the issue, so it has to be something that has been recently introduced. Both Versions (32bit and 64bit) exhibit the same behaviour (all of the above is from a dump of the x64 version)

Hey, this happens with .NET programs that use P/Invoke's DllImport on the functions GetProcAddress or LoadLibrary. They end up calling GetProcAddress("GetProcAddress") or GetProcAddress("LoadLibrary") which indeed was broken on v0.31 master.
A fix has been submitted since so if you try any recent nightly build it should work for you.

I can confirm the nightly build fixes an a crash we had in our .NET app that started in 0.31.

Just wanted to chime in here and say that the latest nightly build works with my .NET program as well. Cheers!

This should be resolved in v0.32. If something's still not right in the latest build then let me know and I'll re-open and investigate.


chore: remove refs to deprecated io/ioutil

Description
Please describe the aim of the pull request and the changes made in the commits.
Purpose

[ ] Bug fix
[ ] New feature
[ ] Other

How was this tested? (if applicable)
Please describe how the proposed changes have been tested, and the outcome of the tests.
Test Platform Details (if applicable)
Operating system: OSX/Windows 10/Ubuntu 20.04/etc.
CLI version:
Hypervisors/Platforms (if applicable): qemu/hyper-v/google cloud platform/vmware workstation/etc
Kernel version (if applicable):
Checklist

[ ] Code is commented
[ ] Unit test coverage encompasses new code
[ ] Existing unit tests pass with these changes
[ ] PR is signed

Thanks for the contribution. I've created a new branch remove_refs_to_deprecated_io/ioutil based on our last release, and I will merge your changes into it. This way, we can maintain a stable and working version of your contribution while we continue working on our main branch.
If you encounter any other problems or have further questions, please don't hesitate to reach out to us or open an issue.


should clustering even be here?

@psolsson pointed out that clustering is not a time-series algorithm. Should it be removed?

IMO it should, because state space discretization of arbitrary time series is required for MSM building. Of course we can demand users to use another package for this purpose, but is it convenient?

We can also ship clustering (later) as a separate package, but this would also involve more maintenance overhead on which we agreed keeping it low.


Way to handle endpoint addr with client hydration and internal network

I have internal network for gql requests on server, for not to pass requests through proxy, and thats not working when i navigating from one page to another, because it's trying to request internal docker endpoint on client.
my config:
export default defineNuxtConfig({
	modules: ['@bicou/nuxt-urql'],

	urql: {
		endpoint: process.env.NODE_ENV !== 'production'
			? `htpp://${config.SITE_BASE_URL}/api/query`
			: 'http://api-gql:3009/query',
		client: path.join(currentDir, 'urql.ts'),
	},
})

urql.ts:
import { cacheExchange, fetchExchange, subscriptionExchange } from '@urql/vue'
import { createClient as createWS } from 'graphql-ws'

import type { SSRExchange } from '@urql/vue'
import type { SubscribePayload } from 'graphql-ws'

import { defineUrqlClient } from '#urql/client'

export default defineUrqlClient((ssrExchange) => {
	const exchanges = import.meta.server ? setupServer(ssrExchange) : setupClient(ssrExchange)

	const headers = useRequestHeaders(['cookie', 'session'])

	return {
		exchanges,
		fetchOptions: {
			credentials: 'include',
			headers,
		},
	}
})

function setupServer(ssrExchange: SSRExchange) {
	return [ssrExchange, fetchExchange]
}

function setupClient(ssrExchange: SSRExchange) {
	const wsUrl = `${window.location.protocol === 'https:' ? 'wss' : 'ws'}://${window.location.host}/api/query`
	const gqlWs = createWS({
		url: wsUrl!,
		lazy: true,
		shouldRetry: () => true,
	})

	return [
		cacheExchange,
		ssrExchange,
		fetchExchange,
		subscriptionExchange({
			enableAllOperations: true,
			forwardSubscription: (operation) => ({
				subscribe: (sink) => ({
					unsubscribe: gqlWs!.subscribe(operation as SubscribePayload, sink),
				}),
			}),
		}),
	]
}

Tried specify url at defineUrqlClient level, and looks like it not used. What i'm actually need is call proxied url on client, but internal on server.
Server: http://api-gql:3009/query
Client: https://twir.app/api/query
Does it possible?

Hello,
If I understand, it's possible with the endpoint in the ssr key config :
export default defineNuxtConfig({
	modules: ['@bicou/nuxt-urql'],

	urql: {
		endpoint: `htpp://${config.SITE_BASE_URL}/api/query`, // <- endpoint for browser client
		client: path.join(currentDir, 'urql.ts'),
                ssr: {
                        endpoint: 'http://api-gql:3009/query' // <-- endpoint for server render only
                }
	},
})

Yep, that seems like what im looking for. Thanks!


Release of latest features

It would be great if you could either create a new release or at least regenerate the "dist" folder so I can refer to the # commit in bower to get the latest updates (like broadcasting of more events and template configuration).

Version 0.11.0 is now release.


New Knox Gateway Service for ElasticSearch

The service has been tested to work for the following scenarios:
(1)	No-LDAP, Local-LDAP or company-specific-LDAP authentication in the Knox gateway;
(2)	Any Elasitcsearch Index - creation, deletion, refresshing and data - writing, updating and retrieval;
(3)	Elasticsearch node root query.

New ElasticSearch Knox Gateway Service

Hello @dequanchen
Thanks for the ElasticSearch service !
Can you open a JIRA for Knox and provide a patch, we are not yet accepting PRs for Knox :(

Hello Sandeep,
Thanks for your email. I have just created the JIRA with a patch containing
the two critical files for the ElasticSearch service.
Merry Christmas!
Have a great day!
Best wishes,
Dequan
Dequan Chen, Ph.D
LinkedIn: https://www.linkedin.com/in/dequan-chen-5b0a37bb/
https://www.linkedin.com/in/dequan-chen-5b0a37bb/
DataWorks  Summit / Hadoop Summit 2017 Speaker:
**https://dataworkssummit.com/san-jose-2017/sessions/securing-enterprise-healthcare-big-data-by-the-combination-of-knoxf5-ranger-tfa-and-kerberos-coupled-with-enterprise-active-directory-and-ldap
https://dataworkssummit.com/san-jose-2017/sessions/securing-enterprise-healthcare-big-data-by-the-combination-of-knoxf5-ranger-tfa-and-kerberos-coupled-with-enterprise-active-directory-and-ldap/
==  Slides
https://www.slideshare.net/Hadoop_Summit/securing-enterprise-healthcare-big-data-by-the-combination-of-knoxf5-ranger-tfa-and-kerberos-coupled-with-enterprise-active-directory-and-ldap
*On Hortonworks Web or YouTube:  * http://hortonworks.com/customers/ |
http://hortonworks.com/customer/mayo-clinic/  or
https://www.youtube.com/watch?v=w3T83zV-J7A&feature=youtu.be
https://www.youtube.com/watch?v=w3T83zV-J7A&feature=youtu.be
Home |<PHONE_NUMBER> (C<EMAIL_ADDRESS><EMAIL_ADDRESS>(P)
| 1917 Century Hills Drive NE | Rochester, MN 55906
*Mayo Clinic *(www.mayoclinic.org
https://mail.google.com/_/mail-static/_/js/main/m_i,t/rt=h/ver=am293eyFlXI.en./sv=1/am=!v8Czf-oeNMn1BO3a1PgLQrBoxwvTnkWnVEs3SWgFkVSnMtacHPKN7pbwINtZpbZbUD24Nw/www.mayoclinic.org
) |Big Data Core Team, Data Resource Management, IT |<PHONE_NUMBER>|
<EMAIL_ADDRESS>| 200 First Street SW | Rochester, MN 55905
On Fri, Dec 22, 2017 at 11:32 AM, Sandeep More<EMAIL_ADDRESS>wrote:

Hello @dequanchen https://github.com/dequanchen
Thanks for the ElasticSearch service !
Can you open a JIRA https://issues.apache.org/jira/projects/KNOX for
Knox and provide a patch, we are not yet accepting PRs for Knox :(
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/knox/pull/16#issuecomment-353642823, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AhJKee4Af3bJkPMPvXSPnv8Zt4I_5UeBks5tC-elgaJpZM4RLQVa
.

The patch KNOX-1155-001.patch was created in the JIRA -https://issues.apache.org/jira/browse/KNOX-1155. So I am hereby close the PR. Dequan 4/27/2015

Sandeep,
Thanks for your comment. I have closed the PR and the patch was attached
long time ago in the JIRA Knox-1155 as follows:
The patch KNOX-1155-001.patch --- in the JIRA:
https://issues.apache.org/jira/browse/KNOX-1155.
In addition, where to submit the documentation for testing - I created at
the beginning of 2018. But I didn't get the instructions from you or others
so I did not submit it to the community yet.
Dequan
4/27/2018
Have a great day!
Best wishes,
Dequan
On Thu, Apr 26, 2018 at 2:01 PM, Sandeep Moré<EMAIL_ADDRESS>wrote:

@moresandeep commented on this pull request.
Hello @dequanchen https://github.com/dequanchen
Thanks for the PR, we have not embraced the GIT PR flow yet, can you
create a patch and attach it to the JIRA !
Thanks !
In build.xml
https://github.com/apache/knox/pull/16#discussion_r184497270:

 <arg value="clean"/>

 <arg value="install"/>

-
+
+
Why do we want any unapproved licenses ?
In build.xml
https://github.com/apache/knox/pull/16#discussion_r184497421:

     <arg value="clean"/>

     <arg value="verify"/>
 </exec>

+
we don't want to skip tests either
In build.xml
https://github.com/apache/knox/pull/16#discussion_r184497460:

 <arg value="-Ppackage"/>

Same as above.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/knox/pull/16#pullrequestreview-115707447, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AhJKeTgmr6yBfIeSaEo807PVkMNJSRzMks5tshmOgaJpZM4RLQVa
.


wrong name for Tassadar's Archon and Dimensional Shift

v1.1.0; Windows 10; dotnet global tool
Several Tassadar talents and abilities are being output with the same incorrect name Phase Shift.  This applies to:

Dimensional Shift, basic ability
Archon, heroic ability
Archon, level 10 talent
Twilight Archon, level 20 talent

It's odd because all these button names really are set to Phase Shift in the GameStrings file for some reason.

Ex: in GameStrings at mods/heroesdata.stormmod/enus.stormdata/LocalizedData/GameStrings.txt
button name for Archon is: Button/Name/TassadarArchon=Phase Shift

Fixed.
The button names are being manually set to a game string.
For example, Tassadar's Archon ability name is being set to Button/Name/TassadarArchonSelectButton
  <CButton id="TassadarArchon" parent="StormButtonParent">
    <Name value="Button/Name/TassadarArchonSelectButton" />
     ...
  </CButton>

Ahh, that makes more sense, thanks for the super quick fix!


Suggestion - Add Visual for Wheel

It might be nice to have a wheel controller overlay option for anyone who plays using a wheel.
I'm interested in thoughts on this idea and whether you think a wheel option would better fit as another pad type or a completely new visualization option alongside keyboard and pad.
Off the top of my head I could see there needing to be a setting to set the maximum rotation angle to match any given hardware. It might also be nice to have different options for what the pedals look like.

It would definitely have to be implemented (and detected) as another pad type. I don't know if people who use a wheel actually want this, however. Granady for example has never mentioned it I think. But I've had this on my wish list for a while.


Modal behind overlay when using custom "appendTo"!

When i use a custom 'appendTo', like this:
$("#modal").iziModal({ 		title: 'Test', 		headerColor: '#88A0B9', 		appendTo: '#content', 		icon: 'fa fa-user' 	});
The overlay will still append to the 'body' which puts it in front of the modal.
How can i fix this?

Put your example online so I can see the problem.

Ok, i put it online:
https://www.rlsimulator.com/
click on 'iziModal' in the footer.

Try to remove the property: -webkit-transform: translate3d (0,0,0);
Or apply: z-index: 998; In your Div .col-md-9 inside container-fluid
Which it must resolve.
This happens when some Modal parent structure has its layer order defined in the DOM.

But to make it easier to deal with it.
I'll also add an option: appendToOverlay
In this way it will be possible to follow the Modal.

That would be awesome :P thank you ^^

Sorry if it sounds rude, but any ETA on that being implemented?
z-index: 998; kinda fixed the overlay, but it f***s up other stuff :D

Next update

Hello @CubE135 , could you test this new version?
iziModal_v1.5.1.zip
You will be able to use appendToOverlay option and the new methods: setContent and reset.
$('#modal').iziModal('setContent', '
Content
');
$('#modal').iziModal('resetContent');
And afterRender callback:
afterRender: function(){}

Is the appendToOverlay option a boolean?

@CubE135 No.
is the same as appendTo.

Ok thanks :)


ResourcesEstimator instance shows wrong estimates when used more than once

Describe the bug
ResourcesEstimator does not reset internal state and a single instance cannot be used to simulate two operations.
To Reproduce
Operation.qs
namespace Namespace {
  open Microsoft.Quantum.Intrinsic;

  operation Operation1() : Unit {
    using ((a, b) = (Qubit(), Qubit())) {
      CNOT(a, b);
      CNOT(a, b);
      CNOT(a, b);
    }
  }

  operation Operation2() : Unit {
    using ((a, b) = (Qubit(), Qubit())) {
      CNOT(a, b);
      CNOT(a, b);
      CNOT(a, b);
      CNOT(a, b);
      CNOT(a, b);
    }
  }
}

Driver.cs
using System;
using Microsoft.Quantum.Simulation.Simulators;

namespace Namespace {
  public class Program {
    public static void Main(string[] args) {
      var sim = new ResourcesEstimator();

      Operation1.Run(sim).Wait();
      Console.WriteLine(sim.ToTSV());

      Operation2.Run(sim).Wait();
      Console.WriteLine(sim.ToTSV());
    }
  }
}

Expected behavior
Output should be to accumulate the estimates:
Metric          Sum
CNOT            3
QubitClifford   0
R               0
Measure         0
T               0
Depth           0
Width           2
BorrowedWidth   0
Metric          Sum
CNOT            8
QubitClifford   0
R               0
Measure         0
T               0
Depth           0
Width           2
BorrowedWidth   0

or to reset the estimates:
Metric          Sum
CNOT            3
QubitClifford   0
R               0
Measure         0
T               0
Depth           0
Width           2
BorrowedWidth   0
Metric          Sum
CNOT            5
QubitClifford   0
R               0
Measure         0
T               0
Depth           0
Width           2
BorrowedWidth   0

Actual behavior
Output currently shows the estimates for the first operation:
Metric          Sum
CNOT            3
QubitClifford   0
R               0
Measure         0
T               0
Depth           0
Width           2
BorrowedWidth   0
Metric          Sum
CNOT            3
QubitClifford   0
R               0
Measure         0
T               0
Depth           0
Width           2
BorrowedWidth   0

System information

Q# Version: 0.11.2004.2825
.NET Core Version: 3.1.201

Thanks for filing!
My suggestion would be that the counts after the second operation should be the combined counts for everything that has been executed on that resources estimator instance. Does that make sense?

That is true. I have added both interpretations into the description.

I just saw that in the documentation a note that says that the expected behaviour is to aggregate.

In Debug build hit Debug.Assert(results.rows.Count() == 1) in src\Simulation\Simulators\ResourcesEstimator\ResourcesEstimator.cs:124


A different ObjectMapper is injected when using @Context

A different ObjectMapper from the one registered in WebServiceConfig$ObjectMapperProvider

Creating a spring bean with Jackson2ObjectMapperBuilder class and load it with spring configuration will solve the problem


MacOS job fails with: Error: An error occurred while provisioning resources (Error Type: Failure).

Description
Jobs fails with Error:
An error occurred while provisioning resources (Error Type: Failure).
The remote provider was unable to process the request.
Area for Triage:

Apple
Question, Bug, or Feature?:

Bug
Virtual environments affected

[ ] Ubuntu 16.04
[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[X] macOS 10.15
[ ] macOS 11.0
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Expected behavior
Jobs are expected to run smoothly.
Actual behavior
Jobs fail with the error:
An error occurred while provisioning resources (Error Type: Failure).
The remote provider was unable to process the request.
Repro steps
Just running a pipeline with Azure Pipelines with vmImage: macOS 10.15 or macOS-latest.

Hello, @nullcipher
Could you please provide pipeline yaml and link to the failed build?

Seeing this as of today as well - same repro steps. Can look into providing a redacted YAML file - but this seems scoped beyond local YAML file issues and more of an Azure/Actions issue

@tim-fitzgerald, Could you please provide links to failed builds?

Is that useful if they are private within our azure org? If it is I can provide them :)

Is that useful if they are private within our azure org? If it is I can provide them :)

Yes, please. This helps us to investigate or escalate the issue.

Hello.
We have a private org in Azure DevOps. The failed job is declared as follows:
jobs:
- job: XcodeBuild
pool:
vmImage: 'macOS-10.15'
'macOS-latest' is failing also.
We are using this YAML file since May 2020 and the issue began Yesterday.

https://dev.azure.com/clio-it/autopkg/_build/results?buildId=207&view=results
@al-cheb here is a link to a failing pipeline.
This is exact same behaviour that @nullcipher is seeing - this YAML file is unchanged for months of successful builds. This really appears to be an upstream issue with the macOS image.

@nullcipher, @tim-fitzgerald, Could you please check it should be mitigated?

@al-cheb still showing for me

@al-cheb not working.

hey all, we're working on fixing the issue. You can follow here: https://status.dev.azure.com/
tl;dr - we're working on allocating more capacity to deal with the jobs coming in.

@alepauly ah nice one - thank you. That hadnt been updated when this issue was created. Will track there.

That hadnt been updated when this issue was created. Will track there.

Yeah, apologies for the delay updating there.

Thanks.

Hello @alepauly
Still failing sometimes:
##[error]An error occurred while provisioning resources (Error Type: Failure).
,##[error]The remote provider was unable to process the request.
Pool: Azure Pipelines
Image: macOS-latest
Job preparation parameters
ContinueOnError: False
TimeoutInMinutes: 60
CancelTimeoutInMinutes: 5
Expand:
MaxConcurrency: 0
########## System Pipeline Decorator(s) ##########
Begin evaluating template 'system-pre-steps.yml'
Evaluating: eq('true', variables['system.debugContext'])
Expanded: eq('true', Null)
Result: False
Evaluating: resources['repositories']['self']
Expanded: Object
Result: True
Evaluating: not(containsValue(job['steps']['*']['task']['id'], '6d15af64-176c-496d-b583-fd2ae21d4df4'))
Expanded: not(containsValue(Object, '6d15af64-176c-496d-b583-fd2ae21d4df4'))
Result: True
Evaluating: resources['repositories']['self']['checkoutOptions']
Result: Object
Finished evaluating template 'system-pre-steps.yml'

Template and static variable resolution complete. Final runtime YAML document:
steps:

task: 6d15af64-176c-496d-b583-fd2ae21d4df4@1
inputs:
repository: self
MaxConcurrency: 0

Regards,
Jorge

@alepauly  This is happening again for us this morning. No indication on the status page

Again happening this morning.

And once again this morning.

@tim-fitzgerald @nullcipher - yes, apologies. I believe you might have noticed before status was posted on the page. We continue working to alleviate capacity constraints. Thanks for reporting.

@alepauly - bringing this up again just in case you haven't noticed. The problem started again today and I see that the status page has the following notice:
Customers will continue to see daily queueing during peak hours for macOS pools on Azure Pipelines due to a capacity shortage. We’re adding additional capacity over the next 3 months. Until the shortage is resolved, customers should expect queueing during peak hours.
Does this apply to GitHub Actions and is it now better known when the capacity will be added?


Add factory methods to create NamedDomainObjectContainer and DomainObjectSet on ObjectFactory

Context

A tiny bit of refactoring within the scope of improving the domain object collection usage by the plugin authors.
Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

Except for the documentation change for writing plugins. I will do that tomorrow with any CI failures.

User manual was updated.


AssetRegistry.prefix is added multiple times to final url

Description
AssetRegistry.prefix is added multiple times to final url during loading of model's files.
Files are:
assets/eyeball/Eyeball.json
assets/eyeball/Eyeball.mapping.json
assets/eyeball/25649360/Material.json
assets/eyeball/25649362/eye-texture.jpg
Steps to Reproduce
let assets: pc.Asset[] = [];

assets.push(new pc.Asset("modBall", pc.eAssetType.model, { url: "eyeball/Eyeball.json" }));

// Load assets
let loaded = 0;
let toLoad = 0;

this._app.assets.prefix = "assets/";

assets.forEach((asset: pc.Asset) => {
	this._app.assets.add(asset);
     	toLoad++;
});

assets.forEach((asset: pc.Asset) => {
	this._app.assets.loadFromUrl(asset.file.url as string, asset.type, () => {
        	if (++loaded == toLoad)
                	clb.call(this);
    	});
});

The output in debug console is:

Error loading material: assets/assets/eyeball/25649360/Material.json [404]

Simplified reproduction case:
Working:
app.assets.loadFromUrl('files/assets/Playbot.json', 'model', () => { });

Failing:
app.assets.prefix = "files/assets/";
app.assets.loadFromUrl('Playbot.json', 'model', () => { });


page builder

is it possible to merge this extension "https://github.com/udokmeci/yii2-kont-trevor" to the core of yii2-cms and we have option to choose between simple editor and this page builder extension?

Hi, I think you can use yii2-kont-trevor package with yii2mod-cms together. You only need to create your own views and override this properties:

https://github.com/yii2mod/yii2-cms/blob/master/controllers/ManageController.php#L30
https://github.com/yii2mod/yii2-cms/blob/master/controllers/ManageController.php#L35

I think we should add a property to module.php which points enabling "yii2-kont-trevor" or not and for rendering "yii2-kont-trevor" in view changing
"https://github.com/yii2mod/yii2-cms/blob/master/views/page.php" is necessary. how can i override module.php?

You need to override this property

https://github.com/yii2mod/yii2-cms/blob/master/actions/PageAction.php#L26

public function actions()
{
    return [
        'page' => [
            'class' => 'yii2mod\cms\actions\PageAction',
           'view'  => 'custom view',
        ]
    ];
}

thanks for replying.


translation sensor does not work anymore

Before you submit a new bug report, please check that

[X] I have read frequently asked questions and limitations
[X] I'm running the newest version of Garbage Collection, or the next pre-release.
[X] I have enabled debug logging for my installation.

Describe the bug
the translation sensor for "today" and "tomorrow" does not work anymore
have you an idea ?
thank you
regards
Configuration
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2023.4.5",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.10",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Paris",
    "os_name": "Linux",
    "os_version": "6.1.24",
    "supervisor": "2023.04.0",
    "host_os": "Home Assistant OS 10.0",
    "docker_version": "23.0.3",
    "chassis": "embedded",
    "run_as_root": true
  },

    "garbage_collection": {
      "version": "4.10.2",
      "requirements": [
        "python-dateutil>=2.8.2"
      ]
    },
  "integration_manifest": {
    "domain": "garbage_collection",
    "name": "Garbage Collection",
    "version": "4.10.2",
    "documentation": "https://github.com/bruxy70/Garbage-Collection/",
    "issue_tracker": "https://github.com/bruxy70/Garbage-Collection/issues",
    "iot_class": "calculated",
    "integration_type": "helper",
    "dependencies": [],
    "config_flow": true,
    "codeowners": [
      "@bruxy70"
    ],
    "requirements": [
      "python-dateutil>=2.8.2"
    ],
    "is_built_in": false
  },
  "data": {
    "entity_id": "sensor.dechets_verts",
    "state": "tomorrow",
    "attributes": {
      "days": 1,
      "last_collection": null,
      "last_updated": "2023-04-20T08:59:22.447622+02:00",
      "next_date": "2023-04-21T00:00:00+02:00",
      "device_class": "garbage_collection__schedule"
    },
    "config_entry": {
      "entry_id": "a88fc74efbf7968c41d1fb61a4badffe",
      "version": 6,
      "domain": "garbage_collection",
      "title": "D\u00e9chets Verts",
      "data": {
        "unique_id": "24c595d6-d63f-47b4-a56d-74cddc49ece3",
        "hidden": false
      },
      "options": {
        "frequency": "weekly",
        "icon_normal": "mdi:trash-can",
        "icon_today": "mdi:delete-restore",
        "icon_tomorrow": "mdi:delete-circle",
        "manual_update": false,
        "verbose_state": true,
        "first_month": "jan",
        "last_month": "dec",
        "collection_days": [
          "fri"
        ],
        "period": 1,
        "first_week": 1,
        "verbose_format": "dans {days} jours",
        "date_format": "%d/%m"
      },
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "import",
      "unique_id": null,
      "disabled_by": null
    }
  }
}

Debug logs
2023-04-20 09:19:42.311 DEBUG (MainThread) [custom_components.garbage_collection] Setting Ordures ménagères (weekly) from ConfigFlow
2023-04-20 09:19:42.311 DEBUG (MainThread) [custom_components.garbage_collection] Setting Déchets recyclables (weekly) from ConfigFlow
2023-04-20 09:19:42.312 DEBUG (MainThread) [custom_components.garbage_collection] Setting Déchets Verts (weekly) from ConfigFlow
2023-04-20 09:19:42.433 DEBUG (MainThread) [custom_components.garbage_collection.sensor] Creating garbage_collection calendar
2023-04-20 09:20:13.356 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Déchets recyclables) Calling update
2023-04-20 09:20:13.415 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Déchets recyclables) Dates loaded, firing a garbage_collection_loaded event
2023-04-20 09:20:13.416 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Déchets recyclables) Looking for next collection
2023-04-20 09:20:13.416 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Déchets recyclables) next_date (2023-04-20), today (2023-04-20)
2023-04-20 09:20:13.416 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Déchets recyclables) Found next collection date: 20/04, that is in 0 days
2023-04-20 09:20:13.416 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Déchets Verts) Calling update
2023-04-20 09:20:13.482 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Déchets Verts) Dates loaded, firing a garbage_collection_loaded event
2023-04-20 09:20:13.483 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Déchets Verts) Looking for next collection
2023-04-20 09:20:13.483 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Déchets Verts) next_date (2023-04-21), today (2023-04-20)
2023-04-20 09:20:13.483 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Déchets Verts) Found next collection date: 21/04, that is in 1 days
2023-04-20 09:20:14.556 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Ordures ménagères) Calling update
2023-04-20 09:20:14.615 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Ordures ménagères) Dates loaded, firing a garbage_collection_loaded event
2023-04-20 09:20:14.616 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Ordures ménagères) Looking for next collection
2023-04-20 09:20:14.616 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Ordures ménagères) next_date (2023-04-24), today (2023-04-20)
2023-04-20 09:20:14.616 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Ordures ménagères) Found next collection date: 24/04, that is in 4 days

@thetux07  this is what i did to make it work
state_display: |
    [[[
      if (entity.state == 'today') return 'Aujourdhui';
      if (entity.state == 'tomorrow') return 'Demain';
    ]]]


chore(feat-multi-module-components): release 0.86.3

:robot: I have created a release beep boop
0.86.3 (2023-09-26)
Misc

Don't ignore envrc file (#203) (97c1a0b)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/vincenthsh/fogg/releases/tag/v0.86.3 :sunflower:


[Backport main] Bugfix/metric-loading-loop (#1309)

Description
Badkport #1309 "Metric Loading Loop fix" to main
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Lint CI is failing here due to a configuration change pending in PR: https://github.com/opensearch-project/dashboards-observability/pull/1317


Modify fileLocation for problemMatcher

The problem matcher is useful because it allows to simply click on an error in the Problems list, and the problematic source file opens right where the error occurred.
To do this, the problemMatcher needs to know where the source file is located. That location is configured by the fileLocation setting (in tasks.json) which can either be absolute or relative.
I am describing an use case where neither absolute nor relative works.
I am not sure whether this is a bug or a feature request.
I am using the Windows Subsystem for Linux (WSL) which is no more than a regular shell.
I am editing a file called main.c and its location for Windows looks like:
C:\Users\<user>\Desktop\main.c
But its location from WSL is:
/mnt/c/Users/<user>/Desktop/main.c
For the sake of this issue I wrote this dummy main:
int main()
{
    return x;
}

When compiling with gcc main.c, this appears:
main.c: In function ‘main’:
main.c:4:12: error: ‘x’ undeclared (first use in this function)
     return x;
            ^

But when compiling with gcc $(realpath main.c) or gcc /mnt/c/Users/<user>/Destkop/main.c, this appears:
/mnt/c/Users/GUILLIAMS.S/Desktop/testdir/main.c: In function ‘main’:
/mnt/c/Users/GUILLIAMS.S/Desktop/testdir/main.c:4:12: error: ‘x’ undeclared (first use in this function)
     return x;
            ^

I cannot use absolute because to VS Code, /mnt does not exist
I cannot use relative because it is not a relative path
Even if I could find the root filesystem of WSL inside C:\ and then use relative path to it, this won't work because /mnt is a mount point (if I find /mnt on disk, it will be empty)
Some users cannot use gcc main.c because of several reasons.

I can't invoke gcc with relative path because our huge build system is configured like that in my company.
But I guess there are probably other use cases.
That poor guy has the same problem.
One possible fix would be to add a new option called fileLocationTruncate or fileLocationReplace or something.
In my case this would look like this:
"fileLocation": ["relative", "C:\"],
"fileLocationTruncate": "/mnt/c"

I also need such a feature.
I think the solution which will answer the most use cases, will be to provide a more complex ProblemMatcher or at least the ProblemMatcher.uriProvider.
I personally will be happy if I could provide one in the Task constructor or as a general ProblemMatcher, this I believe will answer a lot of needs and will give us, extension developers greater flexibility in helping our users understand errors.
Alternative solution is to have default case where if the file wasn't found using the current options, search for it throughout the workspace and give back the 1st result (as multiple files can be found)
BTW, my use case is both operating in a Windows system with a Linux build server and having a build system which only gives the file name in the error path (some variation of make) the file folder is a few lines after or before.

Need the same thing. If it's helpful you can use mklink /j to create a junction for the mnt location (& and gitignore the mnt directory).

We just announced remote development with VS Code, check out the blog post for details https://code.visualstudio.com/blogs/2019/05/02/remote-development

verified in Version: 1.34.0-insider (user setup)
Commit: daf71423252a707b8e396e8afa8102b717f8213b
Remote - WSL 0.32.0


DIRECTORY LISTING - IMFORMATION DISCLOSURE BUG

sir/mam,
i have found DIRECTORY LISTING BUGS IN these URLs:
http://webconverger.org/blog/2015/
http://webconverger.org/blog/2017/
http://webconverger.org/blog/2008/
http://webconverger.org/blog/2012/
http://webconverger.org/blog/2016/
http://webconverger.org/blog/entry/
http://webconverger.org/ikiwiki/login-selector/
http://webconverger.org/img/2014/
http://webconverger.org/img/2015/
http://webconverger.org/img/2016/
https://webconverger.org/static/2015/
SECURITY IMPACT
An attacker can see the files located in the directory and could potentially access files which disclose sensitive information.
ACTIONS TO TAKE
1.Change your server configuration file. A recommended configuration for the requested directory should be in the following format:
<Directory /{YOUR DIRECTORY}>
Options FollowSymLinks

2.Remove the Indexes option from configuration. Do not forget to remove MultiViews, as well.
Configure the web server to disallow directory listing requests.
3.Ensure that the latest security patches have been applied to the web server and the current stable version of the software is in use.
Please patch this vulnerability as soon as possible.
Thanking you
PRASANNA DASH

Please vet these before mass-filing...


[Docs] Add full npm install command

Add explicit command for npm install bringing also the peer dependencies

:tada: This issue has been resolved in version 1.4.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Roll Engine from d6c05fe8847a to fd04c5808cd5 (3 revisions)

https://github.com/flutter/engine/compare/d6c05fe8847a...fd04c5808cd5
2021-07-22<EMAIL_ADDRESS>Roll Dart SDK from b6150c16af27 to ae3d41572581 (1 revision) (flutter/engine#27644)
2021-07-22<EMAIL_ADDRESS>Roll Skia from 64e67c346c3f to ff322968e901 (1 revision) (flutter/engine#27643)
2021-07-22<EMAIL_ADDRESS>Roll Skia from bc6d93397f9c to 64e67c346c3f (1 revision) (flutter/engine#27641)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


How to make Time Grain in Chart calculate day based on local time zone

I have a postgresql table with colume like this:
create_time   timestamp without time zone
resource_id   varchar(32)
Then I set the chart like this:

I found in super set log , the sql is like this:
SELECT DATE_TRUNC('day', create_time) AS __timestamp, count(resource_id) AS "COUNT(resource_id)"
FROM dbadmin.de_billing
WHERE create_time >= '2020-03-29 00:00:00' AND create_time <= '2020-04-29 00:00:00' GROUP BY DATE_TRUNC('day', create_time) ORDER BY "COUNT(resource_id)" DESC
LIMIT 50000
which means Time Grain calculate the day in this  way :  DATE_TRUNC('day', create_time) ,
for example : UTC 2020-04-28 00:00:00 to UTC 2020-04-29 00:00:00
But what I want is  showing the count of resource_id every day based on local timezone
my local time zone is Asia/Shanghai, which is utc+8  hour
so I want it calculate in this way  , for example,  UTC 2020-04-27 16:00:00 to UTC 2020-04-28 16:00:00  , which means local time 2020-04-28 00:00:00 to local time 2020-04-29 00:00:00, the day of the local time
First I tried this way: add a new calculated columu , e8_create_time =  create_time + INTERVAL '8 hour'
,then select the e8_create_time  as the time colume in chart.

But I have a lot of tables! This  method is very complex, I must add one or more new colomn for every table!
The I found in table settings there is a offset setting, But it did not work as I want,

when I set 8 here,  it seems not calculate a whole day from 00:00:00 to 00:00:00, it shows 08 AM here

I search this question on internet ,  many anserwers say set superset config.py DRUID_TZ = tz.gettz('Asia/Shanghai'),  but  I  did not use druid as the datasource, My database is  here and druid datasources is empty

Is there a better way to achieve my goal? Thanks!!!

anyone help?

Which database do you use? Maybe in the extra field you could set the timezone.

Let me know what db you use and I can try to find the answer. Every database is different,

@eugeniamz I use the postgresql

You can update the base query for the data source. Go to sources > Tables > Edit record and under SQL, add:
    SELECT *, create_time at time zone 'Asia/Shanghai' at time zone 'utc' as create_time_zone
    FROM dbadmin.de_billing;

and the column create_time_zone will be available for all charts using that source.
So you use that instead of create_time in your charts.


How to disable previous dates (not clickable)

I am creating an inline datepicker with following functionalities.

It should be date range picker
The first 12 days with in the range should be in different color
Previous dates should be disabled (not active and clickable)

I have already achieved the first two criteria's, but don't know how to implement the third one.

This is what my calendar look like now.  And I need to disable the dates before current date.
Here is my code
 <div class="input-box-container">
 <input angular-mydatepicker [min]="minDateValue" style="display: none;" class="input-box" placeholder="Click to select a date" angular-mydatepicker name="mydate" (click)="dp.toggleCalendar()" [(ngModel)]="model" [options]="myDpOptions" #dp="angular-mydatepicker"                         (dateChanged)="onDateChanged($event)" (rangeDateSelection)="onRangeDateSelection($event)" />
 </div>
component.ts
`onRangeDateSelection(event: IMyRangeDateSelection): void {
let { isBegin, date, jsDate } = event;
let options: IAngularMyDpOptions = this.getCopyOfOptions();
if (isBegin) {
  this.ngxdp.writeValue({
    isRange: true,
    singleDate: null,
    dateRange: {
      beginDate: { year: 0, month: 0, day: 0 },
      endDate: { year: 0, month: 0, day: 0 }
    }
  });
  this.ngxdp.setHostValue('');
  let d = new Date(jsDate.getTime());
  let freeSlots = parseInt(this.freeSlotRange);
  d.setDate(d.getDate() + parseInt(this.freeSlotRange));
  options.disableDateRanges = [{ begin: { year: event.jsDate.getFullYear(), month: event.jsDate.getMonth() + 1, day: event.jsDate.getDate() },
    end: { year: d.getFullYear(), month: d.getMonth() + 1, day: d.getDate() - 1 } }];
  this.myDpOptions = options;
}
else {
  // end date selection - remove disableSince option
  options.disableSince = { year: 0, month: 0, day: 0 };
  this.myDpOptions = options;
  let d: Date = new Date();
  let month: any = d.getMonth() + 1;
  if (month < 10) {
    month = '0' + month;
  }
}

}
getCopyOfOptions(): IAngularMyDpOptions {
return JSON.parse(JSON.stringify(this.myDpOptions));
}`

Hi @geethzz
Here https://github.com/kekeh/angular-mydatepicker/wiki/disable-until-yesterday is example on how to disable dates before current date.
With the disableDates option you can disable dates with styles: https://github.com/kekeh/angular-mydatepicker/wiki/usage-of-disableDates-option
All examples: https://github.com/kekeh/angular-mydatepicker/wiki


Ability to copy out FontIcon in C#

In addition to copying the XAML FontIcon code, it would be nice in some situations to be able to copy code for making a new C# FontIcon with the correct glyph code.

The latest build adds basic support for this, in that you can go into Settings can change the output language of all the developer features between C# & XAML


Add fastats mailing list / google group links

Created a new google group - let's use that for questions/issues

Looks good


Map the Travis CI environment variables to similar GitHub Actions equivalents.

Why:
This PR adds the required content for https://github.com/github/docs/issues/1862
What's being changed:

Added a new table that maps Travis variables to similar GitHub Actions equivalents.
Added small edits to environment variable descriptions.

Changes in this PR

Article in staging
Changes

“Migrating from Travis CI to GitHub Actions”
Added new table that maps Travis variables to GH Actions.

“Workflow syntax for GitHub Actions”
Updated description for jobs.<job_id>.

Check off the following:

[ ] All of the tests are passing.
[x] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[x] For content changes, I have reviewed the localization checklist
[x] For content changes, I have reviewed the Content style guide for GitHub Docs.

👍

😎✅

My pleasure, it was a great pleasure to work with you all
On Wed, 30 Dec 2020, 19:25 Global 66<EMAIL_ADDRESS>wrote:

@stevenans9859 approved this pull request.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/github/docs/pull/1869#pullrequestreview-560009538,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGD4RH6UWIIWVGCMPB6LRM3SXMEZNANCNFSM4UP6JK5A
.

Gracias

Gracias

Sorry @martin389! It looks like our new action inadvertently closed this :upside_down_face:


texlab: 4.3.1 -> 4.3.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for texlab is: "An implementation of the Language Server Protocol for LaTeX"
meta.homepage for texlab is: "https://texlab.netlify.app"
meta.changelog for texlab is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.3.2 with grep in /nix/store/r19jfwa2ndgf3mdymkx51csk6i7lz1qv-texlab-4.3.2
found 4.3.2 in filename of file in /nix/store/r19jfwa2ndgf3mdymkx51csk6i7lz1qv-texlab-4.3.2

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
texlab

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/r19jfwa2ndgf3mdymkx51csk6i7lz1qv-texlab-4.3.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A texlab https://github.com/r-ryantm/nixpkgs/archive/7c8d7b8d1c3387dbf04f12f73aac1254dd36e780.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/r19jfwa2ndgf3mdymkx51csk6i7lz1qv-texlab-4.3.2
ls -la /nix/store/r19jfwa2ndgf3mdymkx51csk6i7lz1qv-texlab-4.3.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

texlab

Maintainer pings
cc @doronbehar @kira-bruneau for testing.

Result of nixpkgs-review pr 202489 run on x86_64-linux 1

1 package built:

texlab


Adds config option to disable LIST command arguments

This pull requests adds a config option to disable the LIST command arguments. It is useable for newer FTP servers, like FileZilla Server versions > 1.1.0, were the FTP command LIST is no longer supporting arguments like "-A" or "-aln".
The additional commit adds the root folder to the writeStream and readStream methods, since CURLOPT_URL needs an absolute URL and the CWD command inside the setConnectionRoot method has no effect for the two operations.

Tests are failing. Could you please take a look?

I just traveled back in time down to version 2.1.0 and tests were already failing without my additions. Maybe docker images broken or updated since first written tests?


Use sccache.

If this works well, we could ditch the "attach workspace" step. It takes really long.

do we close this then?


verify-blob-attestation: allow multiple subjects in in_toto attestation

Signed-off-by: Priya Wadhwa<EMAIL_ADDRESS>
Summary

Release Note

Documentation

Codecov Report

Merging #2341 (dad830d) into main (797033c) will increase coverage by 0.01%.
The diff coverage is 100.00%.

:exclamation: Current head dad830d differs from pull request most recent head 38c85ad. Consider uploading reports for the commit 38c85ad to get more accurate results

@@            Coverage Diff             @@
##             main    #2341      +/-   ##
==========================================
+ Coverage   29.85%   29.87%   +0.01%
==========================================
  Files         134      134
  Lines        8287     8289       +2
==========================================
+ Hits         2474     2476       +2
  Misses       5482     5482
  Partials      331      331

Impacted Files
Coverage Δ

cmd/cosign/cli/verify/verify_blob_attestation.go
27.36% <100.00%> (+1.56%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


feat(whiskers): add read_file function

Adds a read_file function for reading the raw contents of files into templates. Workaround for usecases which would usually involve the include builtin but we cannot use it as a) it requires static paths (e.g. you can do {% include "abc.tera" %} but not {% include flavor.identifier ~ ".tera" %}) and b) it preloads all template paths provided by the glob which doesn't allow for the various encodings Whiskers itself supports. EDIT: Also useful for places where including the contents of the LICENSE file is needed.

Code seems fine, though I'm thinking it might be more predictable to go from the path of the tera file itself? Thoughts?

Code seems fine, though I'm thinking it might be more predictable to go from the path of the tera file itself? Thoughts?

What do you mean? That is what it does.

Usage of cwd in the code would imply to me that it goes from the invocation directory, maybe some docs / rename to make this clearer? Upon closer inspection it seems it does what I'd want it to do, so no qualms about the implementation as such now!

Yay! Figured out why tests were failing - turns out whitespace control is undocumented for usage in expressions, but you can do it (https://github.com/Keats/tera/pull/919)!


[Feature][Jetcaster] Connectivity Checking Improvement

Jetcaster
Improving Connectivity Check Function Using Network Capabilities on SDK >= M

Thanks!


chore: use Maps rather than objects as cache holders

Summary
Maps are about twice as fast for larger data sets in Chrome 80, very much likely this applies to Node as well: https://stackoverflow.com/a/55711780/1850276
Similar to #8232, but applied to all caches.
~(Includes #9900 as I forgot to switch to master first and can't be bothered to fix the conflict twice 😀 Please review second commit until I rebase)~

Test plan
Green CI.

Ah, this of course breaks pretty hard when the user does something after teardown


Updated API Documentation

Updated the API Documentation with latest changes.

Changelog not required since these are just documentation updates.


Orchard Dirty Reads Clarification - WITH(NOLOCK)

In version 1.10.3 there were some concurrency issues resolved by using WITH(NOLOCK), this stategy is also referred to as "dirty reads" where queries are able to read uncommited data.
Here is the fix that was merged into master: https://github.com/OrchardCMS/Orchard/pull/8094
I am planning on using this fix in Orchard v.<IP_ADDRESS>. I have already patched it and my concurrency issues have resolved themselves.
However on pull request: https://github.com/OrchardCMS/Orchard/pull/8094 @yorek comments that the use of WITH(NOLOCK) is a bad idea.
Any thoughts @sebastienros @MatteoPiovanelli-Laser ?
Thanks

@armanforghani Do you have any thoughts on this? I noticed you raised an issue around similar aspects of the code. I can't seem to get a response from  @sebastienros @MatteoPiovanelli-Laser and it's quite urgent. Thanks

@armanforghani  @sebastienros @MatteoPiovanelli-Laser @heskew sorry I was referring to the wrong pull request! The correct pull request is 8054 that has all the concurrency fixes. It's a synthesis of:
#7720
#8019
#7708
#8025
#8028
#8040
#8052
Can you please advise?
Thanks

I have already patched it and my concurrency issues have resolved themselves.

What is the issue you are asking us to solve then? It might be better to no have to use nolock, but in this case there was no other solution.

@sebastienros Thanks for getting back to me, it's much appreciated.  We were getting SQL error timeouts on web page requests:
Exception: GenericADOException { SqlString: "select scheduledt0_.Id as Id50_, scheduledt0_.TaskType as TaskType50_, scheduledt0_.ScheduledUtc as Schedule3_50_, scheduledt0_.ContentItemVersionRecord_id as ContentI4_50_ from Scheduling_ScheduledTaskRecord scheduledt0_ inner join Orchard_Framework_ContentItemVersionRecord contentite1_ on scheduledt0_.ContentItemVersionRecord_id=contentite1_.Id where contentite1_.ContentItemRecord_id=@p0", Message: "could not execute query [ select scheduledt0_.Id as Id50_, scheduledt0_.TaskType as TaskType50_, scheduledt0_.ScheduledUtc as Schedule3_50_, scheduledt0_.ContentItemVersionRecord_id as ContentI4_50_ from Scheduling_ScheduledTaskRecord scheduledt0_ inner join Orchard_Framework_ContentItemVersionRecord contentite1_ on scheduledt0_.ContentItemVersionRecord_id=contentite1_.Id where contentite1_.ContentItemRecord_id=@p0 ] Name:p1 - Value:Orchard.ContentManagement.Records.ContentItemRecord [SQL: select scheduledt0_.Id as Id50_, scheduledt0_.TaskType as TaskType50_, scheduledt0_.ScheduledUtc as Schedule3_50_, scheduledt0_.ContentItemVersionRecord_id as ContentI4_50_ from Scheduling_ScheduledTaskRecord scheduledt0_ inner join Orchard_Framework_ContentItemVersionRecord contentite1_ on scheduledt0_.ContentItemVersionRecord_id=contentite1_.Id where contentite1_.ContentItemRecord_id=@p0]", Data: [], InnerException: SqlException { Errors: [SqlError { Source: ".Net SqlClient Data Provider", Number: -2, State: 0, Class: 11, Server: "livesqlclust2.nice.org.uk", Message: "Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.", Procedure: "", LineNumber: 0 }]
I discovered that if any process in Orchard accessed tables Orchard_Framework_ContentItemVersionRecord and Orchard_Framework_ContentItemRecord then any other process attempting to access the tables would lock because it appears Orchard uses an 'IX' lock on queries. Since I applied the concurrency fixes it has resolved the issue. I'm curious to  know when you say "in this case" what exactly was the case?
I suppose we would have upgraded to the next version anyway and these changes would have been included by default so eventually we would have used these changes but I am curious to know if you can think of any negative impact these changes could have in our use case. We simply use Orchard as a CMS to publish web content and various background tasks that run to clean up old content, clear varnish caches via signals etc.

@sebastienros @MatteoPiovanelli-Laser or anyone explain what the dev branch is exactly? I noticed there's branches 1.10.x and 1.10.2. I'm using 1.10.2. I've manually picked out all the changes in this pull request and applied it to our code base. Can you see any issues with this approach? I didn't realise until today that there's a dev branch so not sure if this will have any adverse effects because the changes in that pull request I believe are based on the dev branch so all your testing was really directed at the dev branch and not 1.10.2 so I'm concerned if these changes will have any adverse impact on my version.

hello,
We have fixed a bunch more concurrency issues in the past couple of weeks.
In #8367 you'll find a brief explanation of the kind of issues we tackled, as well as links to corresponding issues and PRs (some were merged in 1.10.x, some were merged in dev).
Also worth pointing out that on a tenant we are actively stress testing we have set the following tables to always use a NOLOCK hint (on select statements):
Orchard_Framework_ContentItemVersionRecord, Title_TitlePartRecord, Orchard_Framework_ContentItemRecord, Common_CommonPartRecord, Orchard_Framework_ContentTypeRecord.
These are set from a Sites.mytenant.config file in the Config folder of Orchard.

Hi @MatteoPiovanelli-Laser thanks for letting me know about these. I have some comments which I'll make in #8367


Secure HTTP/JSON wrapper for RCON

Hi,
I've made a plugin for palworld-server-docker with this addition, users can protect the palworld RCON end-point with a Bearer token and access it via HTTP protocol. It also has a feature that onlinePlayers,serverTitle and serverVersion publicly accessible even if the RCON is protected.
Check it out here:

https://github.com/valamidev/palworld-rcon-buddy

Sorry have not been able to pay much attention to enhancements, will add this to the official docs :)


[VL] Respect prefix when register functions and convert function name

Description
Background
Gluten now use Velox codebase's presto function and implement spark specific version if it has same name but different behavior, and Velox already has prefix when register functions.
Propose
Use such prefix to distinguish presto function and spark function which has same name, it bring benefits

when we want change few codes but hard to submit/wait Velox PR
avoid invoke wrong implementation, current register codes require ensure invoke order.
better readability.

Needed works:

invoke registerFunction with prefix, such as registerFunction("presto_") and registerSparkFunction("spark_").
do conversion work in native side, maintain a function name maps which map function name to target, such as [sum -> presto, avg -> spark], then convert substrait function name to mapped Velox function.

cc @zhouyuan @rui-mo

Here are my thoughts: https://github.com/oap-project/gluten/pull/2336#issuecomment-1774255145.

In the long term, I think we will only register spark sql functions after all the needed functions are supported. Currently, presto sql functions are registered just because the lack of functionality in spark sql functions.

I agree the future plan, but I believe it can not be achieved and no one would like implement duplicate functions from presto to spark, unless if your folks have this plan, and meta/velox will not accept too I think.
I just want know the concern about the idea of this propose, does this introduce any misleading idea? I believe choose accurate function always has benefits and help us to identify how many presto functions were used and spark used now.

To achieve that, we do not need to implement duplicate functions in presto and spark sql. It is a usual way in Velox to include a header from presto sql, and register it as a spark sql function if their semantics are the same.

I just want know the concern about the idea of this propose, does this introduce any misleading idea? I believe choose accurate function always has benefits and help us to identify how many presto functions were used and spark used now.

The proposal looks nice. I'm wondering how much this work is to distinguish function names, and if it's worth doing that considering the benefits it can bring. The work I can think of includes:

Add correct prefix for all function names before passing to Velox.
During function validation, firstly use spark prefix to compile. If there's error, use presto prefix to try again.
Use correct function name in the code when referring to one function.

@marin-ma Maybe we could have a discussion here on how to finally resolve the registration issue you met. It seems below two options both require some extra work.

Remove Presto functions' registration from Gluten.
Use a prefix to register Presto or Spark functions.

@marin-ma Maybe we could have a discussion here on how to finally resolve the registration issue you met. It seems below two options both require some extra work.

Remove Presto functions' registration from Gluten.
Use a prefix to register Presto or Spark functions.

@rui-mo Thanks. I vote for adding prefix to Presto function. With this approach, we will need to establish and maintain a clear mapping to identify which functions still use presto implementation.

we will need to establish and maintain a clear mapping to identify which functions still use presto implementation.

@marin-ma That makes sense to me. After figuring out and establishing the full list of Presto functions, is the next step to register these functions under Spark in Velox? Possibly this work cannot be completed in a short time, but it seems finally we can remove the registration for Presto functions, and the function list is also not needed. How do you think?

we will need to establish and maintain a clear mapping to identify which functions still use presto implementation.

@marin-ma That makes sense to me. After figuring out and establishing the full list of Presto functions, is the next step to register these functions under Spark in Velox? Possibly this work cannot be completed in a short time, but it seems finally we can remove the registration for Presto functions, and the function list is also not needed. How do you think?

@rui-mo Do we need to register back to Velox? If the presto implementation already aligns with Spark's, then the function mapping can provide such information.

do conversion work in native side, maintain a function name maps which map function name to target

Any reason maintain another mapping? We already have one mapping file https://github.com/oap-project/gluten/blob/main/shims/common/src/main/scala/io/glutenproject/expression/ExpressionNames.scala.
The topic would be valid to me since one of the advantages is that we may be able to avoid overwriting during registration:
https://github.com/oap-project/gluten/blob/f80408c9bfa36c51bd8bae2716a292389c03b572/cpp/velox/operators/functions/RegistrationAllFunctions.cc#L71-L74
Which brings some uncertainty to our code. (E.g., when an untested Spark function is newly added)

@zhztheplayer It is to solve an issue met in recent rebase. Currently a quick fix is added, and please check https://github.com/oap-project/velox/commit/e09bf6c24a109e0f50a886fb494b95ccddbafdd0. Glad to hear your opinions. Thanks.

I encounter the same issue, so any guide on how to solve it?
Thanks.
https://github.com/apache/incubator-gluten/pull/5150#issuecomment-2024633762


Rendering issue when linearGradient with alpha stops is set on fill or stroke

We have some Inkscape-generated SVG files that don't seem to be rendering properly in resvg — the common thread seems to be that linearGradients that have stop-opacity set in the <stop> members will have their opacity ignored when used as the fill or stroke for text objects. All of those things are documented as a supported features, maybe it's the combination of all of them together that's causing issues.
Easiest thing is to provide an example. Here's our file Bar_1.svg as rendered by ImageMagick (which will run inkscape as its SVG rendering delegate), then composed over a checkerboard pattern, using the commands:
convert -background none Bar_1.svg Bar_1_magick.png
convert \( -size 1920x1080 tile:pattern:checkerboard \) Bar_1_magick.png \
  -compose over -composite Bar_1_magick2.png

Now here's the output of resvg, if I construct the image the same way:
rendersvg Bar_1.svg Bar_1_resvg.png
convert \( -size 1920x1080 tile:pattern:checkerboard \) Bar_1_resvg.png \
  -compose over -composite Bar_1_resvg2.png

The issue is most visible in the (lack of) fading on the "reflected" line of text, but even the fill for the upright text is less transparent in the resvg rendering, than in the Inkscape-rendered version.
The unmodified Bar_1.svg file used to generate both images: Bar_1.zip
We originally discovered this using the Qt backend, since the surrounding code calling in to the resvg API is Qt code, but I've since reproduced it using the raqote backend as well. The image above was generated with rendersvg built from the latest git HEAD, using the raqote backend.

but even the fill for the upright text is less transparent in the resvg rendering, than in the Inkscape-rendered version.

I take that part back, it may appear that way but it's a trick of perception. Using Gimp's eyedropper tool on pixel-for-pixel scaled views of both images, the fill color over the darker checkerboard squares measures the same: #2b4aaa.

Here's the (cropped and inverted) result of loading both images as layers in Gimp, then applying a Difference blend mode to the top layer. At 1:1 scale, it's clear the differences are confined to the stroke of the upright text, and both the fill and stroke of the reflected text.

Can confirm. This is due to invalid transform processing during text-to-path conversion.

Done. I think that this is a good opportunity to release 0.9.0, unless you have any other issues.

@RazrFalcon None that aren't our fault, AFAIK. Thanks for the quick response!

Thanks @RazrFalcon for the help! You Rock!


fix: Update to use node20

Not sure what the contribution rules are, but here I go :D
This PR attempts to fix #280
It updates the runner to use node20 and also adds an engine definition to force node20.
Code builds and jest tests pass (locally)

Thank you. I'm planning to update all my actions in the coming week.


Flutter 2 & null safety support

Make the package support flutter 2

Sorry, I've been really busy with Uni recently. I might try updating over christmas. Feel free to improve the pakage and submit a pull request


v1+

Codecov Report

Merging #1845 into master will increase coverage by 1.07%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1845      +/-   ##
==========================================
+ Coverage   84.87%   85.95%   +1.07%
==========================================
  Files          80       78       -2
  Lines        2275     2101     -174
  Branches      296      273      -23
==========================================
- Hits         1931     1806     -125
+ Misses        244      202      -42
+ Partials      100       93       -7

Impacted Files
Coverage Δ

demo/src/app/app.component.ts
38.7% <100%> (-1.92%)
:arrow_down:

src/tabs/tab-heading.directive.ts
83.33% <0%> (-2.39%)
:arrow_down:

src/tabs/ng-transclude.directive.ts
72.72% <0%> (-2.28%)
:arrow_down:

src/typeahead/typeahead-utils.ts
73.52% <0%> (-0.76%)
:arrow_down:

src/tabs/tabset.component.ts
61.66% <0%> (-0.63%)
:arrow_down:

src/alert/alert.component.ts
88.88% <0%> (-0.4%)
:arrow_down:

src/positioning/ng-positioning.ts
68.18% <0%> (-0.36%)
:arrow_down:

src/tooltip/tooltip.directive.ts
68.81% <0%> (-0.34%)
:arrow_down:

src/progressbar/bar.component.ts
92% <0%> (-0.31%)
:arrow_down:

... and 35 more

Continue to review full report at Codecov.

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


ppxo_pptm_script_error in wechat browser

Description

the picture show the error is appeared when open my web page in wechat on my iphone,but use browser to open this web page is ok,by the way,in android phone also no problem, please look at this error,thank you~
paypal.version is 4.0.x

Do you see any specific problems, or just the error message?

@littleWeber can you elaborate on my question?
@brunops I don't see the cause here -- but I wonder if there's a CSP rule for paypalobjects but not paypal... maybe we could log a little less noisily for pptm failures given that it's a best-effort component in most cases.

@benmurden i had solved this problem, but wechat app maybe forbid the iframe tag shown, anyway, thank you very much.

I have the same problem... did you solve this?

@alfredrumss -- can you share the specific error you get?

I'm having similar issues as well...

@bluepnume my guess would be it's related to CSP as well, don't see a problem with logging it less noisily
@alfredrumss / @tinyjacky do you see the error also in WeChat or somewhere else?

@brunops Yes. Wechat in-app browsers in iOS. Saw the log via Wechat's debugging tools

Wee are facing the same issue on our website. Can you please explain what is the issue? there is any solution? workaround?
Thanks

Thanks for the feedback, will look into this tonight.
@bluepnume feel free to solve it before though

@littleWeber did you successfully make the button appear in wechat browser?
@bluepnume this problem is still there, and the button does not appear, when inspecting on Wechat Dev tools, the contents of iFrame appears to be not loaded.

This happens to me as well in Chrome.
Although I do get the error, the button shows up just fine and the checkout flow works as intended.
Something that may be of help, by disabling the Ublock Origin extension on Chrome, the error goes away


Update cats-core to 2.0.0

Updates org.typelevel:cats-core from 1.6.0 to 2.0.0.
Release Notes/Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "cats-core" } ]

labels: semver-major

Superseded by https://github.com/coursier/coursier/pull/1601.


Command Readme doesn't work

whenever i'm typing the readme command it doesn't even accepts the enter button it's just doesn't work
here is the readme link i had inserted:
https://raw.githubusercontent.com/tassosmak/master/README.md

Fixed it. it was a typo sorry


Clean up redundant cs-mongodump pv and pvc before restore process

fix for issue: https://github.ibm.com/IBMPrivateCloud/roadmap/issues/57765

Look into spec.volumeName in a specific PVC named cs-mongodump yaml to get exact one PV instead of using oc get pv | grep cs-mongodump as PV is a cluster scoped value.
Clear previously used restore resources before starting the new restore process, and this will prevent script errors out when running it multiple times.

@bluzarraga
I tried to add piece of codes to clean up thecs-mongodump PV and PVC resources before the restore process. Do you think this is feasible? If so, I will re-organize the code again to eliminate some duplicate codes.
and attached my test result:
./backup_restore_mongo.sh --bns test --rns test-restore -b -r
MongoDB Backup and Restore v1.0.0
/usr/local/bin/oc
/usr/local/bin/yq
[✔] Prerequisites present.
#  Preparing for Mongo backup in namespace test
-----------------------------------------------------------------------
[INFO] Checking for necessary backup files...
[INFO] mongodbbackup.yaml already present
[INFO] mongo-backup.sh already present
[✔] Backup prep complete
#  Backing up MongoDB in namespace test
-----------------------------------------------------------------------
[1] Cleaning up from previous backups...
[✔] Cleanup Complete
[3] Backing Up MongoDB
persistentvolumeclaim/cs-mongodump created
Starting backup
Warning: would violate PodSecurity "restricted:v1.24": allowPrivilegeEscalation != false (container "cs-mongodb-backup" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "cs-mongodb-backup" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "cs-mongodb-backup" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "cs-mongodb-backup" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
job.batch/mongodb-backup created
Waiting for mongodb-backup pod(s) to start ...
mongodb-backup-9fpqt                                    0/1   Completed   0     16s
[✔] Dump completed: Use the [oc logs mongodb-backup-9fpqt -n test] command for details on the backup operation
[INFO] Backup logs can be found in backup_from_test_for_test-restore.log. Job pod will be cleaned up.
[INFO] Verify cs-mongodump PVC exists...
[INFO] Backup PVC cs-mongodump found
persistentvolume/pvc-3975521c-a78b-4c8f-8dcb-49c4faf710fb patched
[INFO] Backup PVC cs-mongodump successfully bound to persistent volume provisioned by rook-cephfs storage class.
[✔] MongoDB successfully backed up
#  Pepare for restore in namespace test-restore
-----------------------------------------------------------------------
[INFO] Checking for necessary restore files...
[INFO] mongodbrestore.yaml already present
[INFO] set_access.js already present
[INFO] mongo-restore.sh already present
job.batch "mongodb-backup" deleted
persistentvolumeclaim "cs-mongodump" deleted
persistentvolume/pvc-3975521c-a78b-4c8f-8dcb-49c4faf710fb patched
PVX: pvc-3975521c-a78b-4c8f-8dcb-49c4faf710fb PV status: Available
[INFO] Persistent Volume pvc-3975521c-a78b-4c8f-8dcb-49c4faf710fb available. Moving on...
persistentvolumeclaim "cs-mongodump" deleted
persistentvolume/pvc-b45b21c8-a46d-48ba-92fb-ba0670dfe10f patched
persistentvolume "pvc-b45b21c8-a46d-48ba-92fb-ba0670dfe10f" deleted
persistentvolumeclaim/cs-mongodump created
[INFO] Persitent Volume pvc-3975521c-a78b-4c8f-8dcb-49c4faf710fb bound. Checking PVC...
[INFO] PVC cs-mongodump successfully bound to backup PV pvc-3975521c-a78b-4c8f-8dcb-49c4faf710fb
[✔] Preparation for Restore completed successfully.

This is much cleaner and where the old script was outputting confusing warnings or outright failing, this version is succeeding clearly. Nice job @YCShen1010

/lgtm


Declarative GitHub configuration tool

Is your feature request related to a problem? Please describe.
The GitHub permission model is not fine-grained enough. Only org owners can change settings everywhere. This means that the infra team either all get org owner and have the take over or delete the org (I'm thinking if their account gets hacked for example). Or they can't handle all of the requests that teams have.
Clicking around in the GitHub UI is also a bad thing. There are too many opportunities to mess things up by mistake. And the changes are not visible to everybody so it can take a while to know what changed.
Describe the solution you'd like
I would like us to deploy a tool that can run and apply configuration declared in a public repo.
It could be as simple as a bunch of Terraform code using the GitHub provider, and executed by GitHub Actions.
Or we deploy something like https://github.com/uwu-tools/peribolos
Describe alternatives you've considered
Giving all the admins org owner, with the caveat listed above.
Additional context
This has been a recurring issue. See for example:

https://discourse.nixos.org/t/policy-change-pushing-to-protected-branches-is-now-blocked/31719/22?u=zimbatm
#303

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/policy-change-pushing-to-protected-branches-is-now-blocked/31719/23

POC: https://github.com/NixOS/nixos-org-configurations/pull/360


Writing TLMS file is OS-Local dependent

The current way the landmarks are written to a TLMS file depends on the OS language settings. The punctuation that is written in floats and doubles can change from points to commas. However the reader is expecting points. So we need to force a local scheme that ensures points as proposed in this PR.

Thanks!
I was not even aware of that problem :)


No known conditions for "." specifier in "vite-aliases" package

node_modules/.pnpm/registry.npmmirror.com+esbuild@0.16.17/node_modules/esbuild/lib/main.js:1365:27: ERROR: [plugin: externalize-deps] Failed to resolve entry for package "vite-aliases". The package may have incorrect main/module/exports specified in its package.json: No known conditions for "." specifier in "vite-aliases" package at failureErrorWithLog

"dependencies": {
"vite": "^4.1.1"
},
"devDependencies": {
"vite-aliases": "^0.10.0"
}

Failed to resolve entry for package "vite-aliases". The package may have incorrect main/module/exports specified in its package.json: No known conditions for "." specifier in "vite-aliases" package
The only successful way is to import in this way
import { ViteAliases } from "./node_modules/vite-aliases/dist/index"
It seems that the path of "." of export in package.json has not been found, but I compared the package. json of vite and did not find any difference, and did not try to find a solution. I think the problem should not be in package.json

Hey there! Sorry for the late response!
So this issue has been posted multiple times already, but i cant seem to replicate it! I have asked the other issue creators before, if they could provide a test repo and check if the example of vite-aliases runs for them! - It works perfectly for me (using linux), but i unfortunately cannot test against windows anymore..

I'm also getting it on MacOS. It might related to types.
https://github.com/sveltejs/kit/issues/2384

This solved it for me:

For those searching this error, it also gets triggered if you don't put type: module in your package.json.

from https://github.com/sveltejs/vite-plugin-svelte/issues/556#issuecomment-1399812785

Hey there! Sorry for the late response!
So this issue has been posted multiple times already, but i cant seem to replicate it! I have asked the other issue creators before, if they could provide a test repo and check if the example of vite-aliases runs for them! - It works perfectly for me (using linux), but i unfortunately cannot test against windows anymore..

It  happens on linux, too. One project I have works, the second doesnt. Havent figured out the difference yet.

This issue seems to appear only if you dont have
"type": "module"

in your package.json.


Unable to compile Makefile.

I am using ubuntu 20.04 LTS. I have all fftw library in place as directed in the manual.
I am constantly getting the error in Makefile.

What are the contents of your make.inc?  The default is that this is a symbolic link to the file make.inc.gcc, but this may need to be customized for your system.

The haven't modified  anything. Yes make.inc is linking make.inc.gcc. What exactly I need to modify?
I am using Ubuntu 20.04 LTS, my gcc and g++ version is 9.3.0. I have installed the fftw library 3.3.9, as mentioned in the manual.

This is likely due to the use of tabs vs. spaces in make.inc. See the link below:
https://stackoverflow.com/questions/16931770/makefile4-missing-separator-stop

Actually, if you go through make.inc or make.inc.gcc they have no indentation(tabs).
However, the Makefile in the root has lots of indentation. I tried to replace them with tabs, didn't work.

Okay, finally someone helped me to solve the problem. We had a long discussion on stackexchange and steeldriver helped me out. Here is our full discussion https://unix.stackexchange.com/questions/648048/unable-to-make-file-in-linux-ubuntu-20-04-lts
Actually that is not how a symbolic link is made. This command can be used to make a symbolic link ln -sf make.inc.gcc config/make.inc. Now, i can use the package as directed in the manual.

Great—glad it is working now.