Don’t clear the prompt once confirmed

Is your feature request related to a problem? Please describe.
Currently, when a  user confirms a prompt such as an input, or a select for instance, and confirm it, his choice is clear from the terminal. It’s kind of frustracting when you came back few times later and what to check what you did.
Describe the solution you'd like
Add a parameter to each field, named for instance Persist, that will trigger this behavior.
Describe alternatives you've considered
N/A
Additional context
It was the default behavior of survey.

I think the problem with persisting the answers is that the user can move back and forth in groups. When this is not the case, you can easily achieve the same behavior by printing the group view as in the example below.
orderGroup := huh.NewGroup(
	huh.NewMultiSelect[string]().
		Title("Toppings").
		Options(
			huh.NewOptions("Letuce", "Tomatoes", "Jalapeños", "Cheese", "Vegan Cheese", "Nutella")...,
		).
		Value(&a.Toppings),

	huh.NewConfirm().Title("Extra sauce?").Value(&a.ExtraSauce),
)

form := huh.NewForm(orderGroup)

err := form.Run()
if err != nil {
	panic(err)
}

fmt.Println(orderGroup.WithShowHelp(false).View())
fmt.Println("Thank you for your order!")

@tetienne @tetienne-zenchef Is this issue still required or is the workaround sufficient?

Awesome @tetienne-zenchef! I'm going to close this issue for now, but please feel free to re-open or create a new issue if anything comes up!


ceylon --config does not work

I tried it and it just failed miserably with confusing errors.

Can you be more specific? I just tried it here and it seems to work fine.

 ceylon --config $HOME/.ceylon/config copy --out . --with-dependencies javax.transaction.api/1.2 org.jboss.narayana.jta/5.2.7.Final
ceylon: '/home/stephane/.ceylon/config' is not a ceylon command
Run 'ceylon help' for more help

Ah yes, but that's actually a different problem, it's that for options that are to be passed to the ceylon command itself, like --config and --cwd, the flag cannot be separate from the value, you must use =.

The underlying problem has to do with a very old issue: #4821


Command executed when opening a certain page

Add the possibility to execute a command when opening a specified page of the book

It's not possible due to Minecraft limitations.


Movelibbeat/opt and libbeat/common/transform packages

These packages are requried by the new repo elastic-agent-system-metrics: https://github.com/elastic/elastic-agent-system-metrics

:broken_heart: Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-03-31T14:36:06.658+0000

Duration: 8 min 6 sec

Test stats :test_tube:

Test
Results

Failed
1

Passed
875

Skipped
6

Total
882

Test errors
Expand to view the tests failures
Test / Matrix - PLATFORM = 'windows-2019 && windows-immutable', GO_VERSION = '1.17' / Test / TestMain –

Expand to view the error details
 Failed

Expand to view the stacktrace
 PASS
panic: Log in goroutine after TestHTTPOverNamedPipe has completed:
	Error Trace:	listener_windows_test.go:48
	            				asm_amd64.s:1581
	Error:      	Received unexpected error:
	            	use of closed network connection
	Test:       	TestHTTPOverNamedPipe

goroutine 8 [running]:
testing.(*common).logDepth(0xc00014e4e0, {0xc0001ba1a0, 0xc9}, 0x3)
	C:/Users/jenkins/workspace/ger_elastic-agent-libs-mbp_PR-33/.gvm/versions/go1.17.windows.amd64/src/testing/testing.go:779 +0x4c9
testing.(*common).log(...)
	C:/Users/jenkins/workspace/ger_elastic-agent-libs-mbp_PR-33/.gvm/versions/go1.17.windows.amd64/src/testing/testing.go:761
testing.(*common).Errorf(0x112f588, {0x1111d88, 0xe1b0e7}, {0xc00019a040, 0x10b90a0, 0x1})
	C:/Users/jenkins/workspace/ger_elastic-agent-libs-mbp_PR-33/.gvm/versions/go1.17.windows.amd64/src/testing/testing.go:817 +0x4c
github.com/stretchr/testify/assert.Fail({0x11850e0, 0xc00014e4e0}, {0xc0001a4040, 0x3b}, {0x0, 0x0, 0x0})
	C:/Users/jenkins/workspace/ger_elastic-agent-libs-mbp_PR-33/pkg/mod/github.com/stretchr/testify@v1.7.0/assert/assertions.go:262 +0x384
github.com/stretchr/testify/assert.NoError({0x11850e0, 0xc00014e4e0}, {0x1184aa0, 0xc000050640}, {0x0, 0x0, 0x0})
	C:/Users/jenkins/workspace/ger_elastic-agent-libs-mbp_PR-33/pkg/mod/github.com/stretchr/testify@v1.7.0/assert/assertions.go:1332 +0x105
github.com/stretchr/testify/require.NoError({0x118a640, 0xc00014e4e0}, {0x1184aa0, 0xc000050640}, {0x0, 0x0, 0x0})
	C:/Users/jenkins/workspace/ger_elastic-agent-libs-mbp_PR-33/pkg/mod/github.com/stretchr/testify@v1.7.0/require/require.go:1231 +0x96
github.com/elastic/elastic-agent-libs/api/npipe.TestHTTPOverNamedPipe.func2()
	C:/Users/jenkins/workspace/ger_elastic-agent-libs-mbp_PR-33/src/github.com/elastic/elastic-agent-libs/api/npipe/listener_windows_test.go:48 +0xa5
created by github.com/elastic/elastic-agent-libs/api/npipe.TestHTTPOverNamedPipe
	C:/Users/jenkins/workspace/ger_elastic-agent-libs-mbp_PR-33/src/github.com/elastic/elastic-agent-libs/api/npipe/listener_windows_test.go:46 +0x265
FAIL	github.com/elastic/elastic-agent-libs/api/npipe	0.577s

Steps errors
Expand to view the steps failures

Running Go tests

Took 0 min 29 sec . View more details here
Description: gotestsum --format testname --junitfile junit-report.xml -- -v ./...

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

/test

/test


Difficulty distinguishing between folders and files in the printed tree

In the printed tree structure, specifically when a folder contains no subfolders or files, it becomes challenging to distinguish between a folder and a file. An effective solution is to visually differentiate folders by providing them with a distinct background, as demonstrated in the tree command output in Ubuntu, as shown in the image below (for _mk_dataset folder)

Hi @hahv, this is what the Mode property is for, it represents a flag in the FileAttributes enum, i.e.: a is for Archive, d is for Directory, h is for Hidden, r is for ReadOnly and so on.

@santisq oh I see, thank you.
I suppose my suggestion could be a feature improvement
I'll close this issue.

@hahv I actually had this idea in the past, i.e. adding emojis for files and folders but I wasn't sure if I should cause that would be breaking folks using older terminals. But I like the idea about coloring, might do something like that in the future. Tho, the other problem is that pwsh 7+ console background is black by default whereas pwsh 5.1 is blue so that is also something to consider, not all colors look good in blue background consoles. I'm open to suggestions!

That's great. I look forward to seeing it in action. Thank you.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Santiago Squarzon @.>
Sent: Wednesday, March 20, 2024 12:24:04 PM
To: santisq/PSTree @.>
Cc: Hoang Van-Ha @.>; Mention @.>
Subject: Re: [santisq/PSTree] Difficulty distinguishing between folders and files in the printed tree (Issue #27)
@hahvhttps://github.com/hahv I actually had this idea in the past, i.e. adding emojis for files and folders but I wasn't sure if I should cause that would be breaking folks using older terminals. But I like the idea about coloring, might do something like that in the future. Tho, the other problem is that pwsh 7+ console background is black by default whereas pwsh 5.1 is blue so that is also something to consider, not all colors look good in blue background consoles. I'm open to suggestions!
—
Reply to this email directly, view it on GitHubhttps://github.com/santisq/PSTree/issues/27#issuecomment-2008606301, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB5V6KT3BTGNPFP5GCGUVL3YZD6NJAVCNFSM6AAAAABE6VN7LCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBYGYYDMMZQGE.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @hahv, I remember you mentioned having colored output. Do you like how this looks? It's using the same colors as Get-ChildItem (I'm not convinced on how it looks 🤣)

@santisq it seems ok for me. At least, I can got a quick glance and know what to find (folders or files)

Hey @hahv, v2.2.0 will be published in a few minutes. Hope you like it :)

@santisq great. Thank you for your effort.


Duplicate pipeline execution on tag event

When I tag/release two builds are executed. One of them does the when: event: tag part and the other does not. I think this is because one of the builds is executed because Woodpecker sees a new branch.

Weirdly enough, if I add a branches: master the build will time out saying exit code 0 on all steps without any further info from the step execution. [Might be a separate issue]
My .drone.yml:
pipeline:
  build:
    image: debian
    pull: true
    commands:
      - echo "HALLO WELT, KANNST DU MICH HOEREN"
    when:
      event: [push, tag]

  package:
    image: debian
    pull: true
    commands:
      - echo "zap"
    when:
      event: tag

# Not working :/
#branches: master

I am using Gitea as my VCS and have enabled all 4 webhook triggers in the settings.

I think this is because the webhook is fired by Gitea for a new tag generation and the push to this new tag. Can you check the webhook history in Gitea.
Maybe you could try something like:
when:
      event: [push, tag]
      branch: master

Indeed, Gitea fires two events.
The intended event contains this:
  "sha": "2f299a873e96cff01379ef59b1c72597c73dc836",
  "ref": "14.14.14",
  "ref_type": "tag",

The unintended event contains this instead:
  "ref": "refs/tags/14.14.14",
  "before": "0000000000000000000000000000000000000000",
  "after": "2f299a873e96cff01379ef59b1c72597c73dc836",
  "compare_url": "https://gitea.my-domain.com/",
  "commits": [],
  "head_commit": null,

Might this be because it triggers on tag and branch according to a "create" event?

Weirdly enough, if I add a branches: master the build will time out saying exit code 0 on all steps without any further info from the step execution.

Should I create a separate issue for this? This doesn't sound too related.

Indeed, Gitea fires two events.
Maybe we can improve the webhook filter to ignore "push" events to tags. I will try to debug it a bit.

Should I create a separate issue for this? This doesn't sound too related.
Would be nice I think.


feat: add withdrawal address for staker

Motivation
https://github.com/AleoHQ/ARCs/discussions/51

This design is broken.
A malicious attacker who compromises a validator can use the compromised private key to set a new withdrawal address (to the attacker's address) and steal the validator's funds.

This design is broken.
If the withdrawal address has not been set, a malicious attacker who compromises a validator can use the compromised private key to set a new withdrawal address (to the attacker's address) and steal the validator's funds.

The main purpose of this design is to separate the starker worker address from the owner address.  For large funds or validator, it is necessary to first set up a withdrawal address first. And once set , can't change.

Closing as this was superseded by https://github.com/AleoHQ/snarkVM/pull/2385.


OSX BigSur installation issue

Description
https://craftcms.com/docs/nitro/2.x/installation.html
4. Move the binary into your path with sudo mv ./nitro /usr/local/bin.
On a fresh install of a new OSX, this fails. Trying to cd to /usr/local/bin also fails with "not a directory"

Nitro version: 2beta6
OSX version: 11.2.1

@MattWilcox can you provide the output of this command?
echo $PATH

mattwilcox@Matts-iMac nitro_darwin_x86_64 % cd /usr/local/bin
cd: not a directory: /usr/local/bin
mattwilcox@Matts-iMac nitro_darwin_x86_64 % echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

OSX is also apparently zsh now rather than bash... I am not entirely happy about that.

mattwilcox@Matts-iMac nitro_darwin_x86_64 % cd /usr/local
mattwilcox@Matts-iMac local % ls -la
total 29976
drwxr-xr-x   3 root        wheel        96 25 Feb 16:42 .
drwxr-xr-x@ 11 root        wheel       352  1 Jan  2020 ..
-rwxr-xr-x@  1 mattwilcox  staff  15343840 24 Feb 23:19 bin

Doesn't seem to be a symlink either - but I'm not used to zsh's output.

Willing to be that /bin didn't exist and the command has put the nitro file as bin. Not got it booted at the moment, but will check... may need to pass a -p flag on the command to ensure if bin isn't there it gets created.

That appears to have been the issue - on a default new OSX 11 install, there is no /usr/local/bin directory.
Now I've manually made that the instruction works, but trying to run nitro results in
“nitro” cannot be opened because the developer cannot be verified.
macOS cannot verify that this app is free from malware.

Right Click > Open allows that to run.
Then did xattr -dr com.apple.quarantine /usr/local/bin/nitro
Then got the following error...
mattwilcox@Matts-iMac ~ % nitro init
Checking Nitro…
  … creating network ✓
  … pulling image ✓
  … creating volume ✓
  … creating proxy ✓
Checking network…
  ✓ network ready
Checking proxy…
  ✓ proxy ready
Checking databases…
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x16a2295]

goroutine 1 [running]:
github.com/craftcms/nitro/command/apply.NewCommand.func2(0xc00038e000, 0x1d96ad8, 0x0, 0x0, 0x195f640, 0x1d96ad8)
	/home/runner/work/nitro/nitro/command/apply/apply.go:235 +0x695
github.com/craftcms/nitro/command/initialize.NewCommand.func1(0xc000395340, 0x1d96ad8, 0x0, 0x0, 0x0, 0x0)
	/home/runner/work/nitro/nitro/command/initialize/initialize.go:107 +0x696
github.com/spf13/cobra.(*Command).execute(0xc000395340, 0x1d96ad8, 0x0, 0x0, 0xc000395340, 0x1d96ad8)
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:850 +0x47c
github.com/spf13/cobra.(*Command).ExecuteC(0x1d5aa20, 0x0, 0x174d720, 0xc00007e058)
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:958 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:895
main.main()
	/home/runner/work/nitro/nitro/cmd/nitro/main.go:11 +0x2a
mattwilcox@Matts-iMac ~ %

Can you provide the output of echo $PATH to show what the default paths are on your machine?

/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

It's in the path, but by default on this fresh machine, /usr/local didn't have a bin directory, and I think it was totally empty. It now has a lib directory, but I've installed other things since then.

I wonder if Brew is adding that path as most of use have that running. I will look into this a little more.

Just for clarification; I'm not using Brew (I avoid it in general).


remix routes does not work with vite

Reproduction
Make a vite-based remix app with a custom route config
System Info
System:
    OS: macOS 13.6.3
    CPU: (10) arm64 Apple M1 Max
    Memory: 9.93 GB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.10.0 - ~/n/bin/node
    Yarn: 1.22.17 - ~/n/bin/yarn
    npm: 10.2.3 - ~/n/bin/npm
    pnpm: 7.25.0 - /opt/homebrew/bin/pnpm
    bun: 1.0.0 - ~/.bun/bin/bun
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 121.0.6167.184
    Safari: 17.2.1
  npmPackages:
    @remix-run/css-bundle: 2.7.2 => 2.7.2
    @remix-run/dev: 2.7.2 => 2.7.2
    @remix-run/eslint-config: 2.7.2 => 2.7.2
    @remix-run/express: 2.7.2 => 2.7.2
    @remix-run/node: 2.7.2 => 2.7.2
    @remix-run/react: 2.7.2 => 2.7.2
    @remix-run/serve: 2.7.2 => 2.7.2
    @remix-run/server-runtime: 2.7.2 => 2.7.2
    @remix-run/testing: 2.7.2 => 2.7.2
    vite: ^5.1.4 => 5.1.4

Used Package Manager
npm
Expected Behavior
I expect remix routes to show my routes
Actual Behavior
It does not show my routes

Currently, npx remix routes only processes the remix.config.js file. If you are configuring the Remix plugin directly from vite.config.js, that is why it doesn't work.
In my remix-vite-template, I still keep remix.config.js and import it into my vite config.


AmazonPay API Key rotation till 12.03.21 - Payone Plugin still working? - Urgent

Hello,
right now some merchants get a message, that they should change (rotate) their AmazonPay API Keys till 12.03.21?
When changing the keys, is the Oxid Payone Plugin still working with AmazonPay or does the merchant need to send the new keys to Payone, so Payone can put them into their configuration?

Hi @jabommi,
When changing the Amazon API Keys, Amazon won't work anymore until the new keys are registered in your merchant account by our Merchant Service Team.
Please contact them to solve this issue.


support PVC capacity expand

close https://github.com/juicedata/juicefs-csi-driver/issues/345

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

Comparison is base (e9e3bf6) 40.32% compared to head (badce8d) 39.74%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #679      +/-   ##
==========================================
- Coverage   40.32%   39.74%   -0.58%
==========================================
  Files          32       32
  Lines        3750     3802      +52
==========================================
- Hits         1512     1511       -1
- Misses       2096     2149      +53
  Partials      142      142

Impacted Files
Coverage Δ

pkg/config/config.go
0.00% <ø> (ø)

pkg/driver/controller.go
61.70% <0.00%> (-26.30%)
:arrow_down:

pkg/driver/provisioner.go
10.67% <0.00%> (-0.44%)
:arrow_down:

pkg/juicefs/juicefs.go
49.81% <0.00%> (-0.58%)
:arrow_down:

tests/sanity/fake_juicefs_provider.go
65.38% <0.00%> (-2.62%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


conformance: add attachedRoutes to conformance tests

What type of PR is this?
/kind feature
/area conformance
What this PR does / why we need it:
Add attachedRoutes to conformance tests.
Which issue(s) this PR fixes:
(https://github.com/kubernetes-sigs/gateway-api/issues/1543)
Does this PR introduce a user-facing change?:
NONE

/easycla

/easycla


Review mutations

investigating about missed donation

@MoeNick I think the logs that we improved on a previous card are enough in terms of backend, we notify segment, save locally the log and send the error to frontend.
After lots of testing I did not find any issue with the backend saving donations.
I did a final test with @mateodaza today, regarding how it handles errors sent by the backend at it seems the issue is on the frontend. Even if there is an error it was still showing ok, when it shouldn't and not taking into account the status error code.
So Mateo is working on fixing that. After he fixes it it should complement what he did before regarding retrying donations.

Moving to done with the findings documented. And creating a new card with the issue.


[FEATURE] Make the product section responsive for mobile view

hey @codervivek5 , The product section is not set for mobile view. Please assign me to fix this issue.

i am GSSOC'23 contributor
i would like to do this project using kotlin
so kindly assign me this project
@codervivek5

i am GSSOC'23 contributor
i would like to do this project using kotlin
so kindly assign me this project
@codervivek5


Add janilowski.pl to sites

This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[x] I used the uncompressed size of the site
[x] I have included a link to the Cloudflare report
[x] This site is not an ultra minimal site
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[x] Check to confirm

 domain: janilowski.pl
  url: https://janilowski.pl/
  size: 70.89
  last_checked: 2024-04-13

Cloudflare Report:
https://radar.cloudflare.com/scan/0a46b727-dacf-4deb-842b-4842d778d7aa/summary

Thanks!


** FORKED LIB VERSION ** ?

Is there a forked version of this library anywhere that's maintained? This pkg is stagnent and out of date with no response or contributor response or handing off the torch to community contributors to keep it alive.

@crobinson42
The repo of this project is unmaintained more than a year, and we had build new version https://www.npmjs.com/package/@react-google-maps/api
We had rewrite it to TypeScript, and updating it frequently: https://github.com/JustFly1984/react-google-maps-api/tree/master/packages/react-google-maps-api
You can enjoy autocomplete.
You can see our docs: https://react-google-maps-api-docs.netlify.com/
Also a lot of examples: https://react-google-maps-api-gatsby-demo.netlify.com/ https://github.com/JustFly1984/react-google-maps-api/tree/master/packages/react-google-maps-api-gatsby-example/src/examples
The bundle size is much smaller: https://bundlephobia.com/result?p=<EMAIL_ADDRESS>Our Spectrum community: https://spectrum.chat/react-google-maps
Enjoy!


[BUG] - Permission checks on secret keys too restrictive

Internal/External
Internal   if an IOHK staff member.
Area
Other   Any other topic (Delegation, Ranking, ...).
Summary
The node when started as a block producing node fails to start up if privileges are given at group level. This is overly restrictive and encourages users to work around sane POSIX permissions.
The main drawback here is if a user wants to allow only the node to have read permissions but have another admin user on the machine that administers have write. In this case, the user needs to make that admin user the same user that runs the node, which leads to an insecure configuration, or sudo to the node service to make any changes (another not ideal situation), or they keep a shadow copy of the secrets and copy them somewhere for the node to use and set permissions that way, which creates an extra step to making changes that could be missed for example when rotating opcert or replacing a compromised VRF skey. Another undesirable work-around is do all maintenance as root.
Another use case for this would be deployment tooling, that does automated tasks such as rotate the KES key needs to sudo to the node user (or root) when doing maintenance tasks.
The negative side to doing this is if a user shares a machine with other users and they're all in a default group, that other user can read the secret keys. However; I would argue that this is a system configuration issue to remedy and not the domain of the node to try to prevent.
Steps to reproduce
Steps to reproduce the behavior:
chmod g+r vrf.skey
restart node
Expected behavior
Node would start with group read permissions on a key file
System info (please complete the following information):

OS Name: [e.g. Ubuntu]
OS Version [e.g. 20.04]
Node version (output of cardano-node --version)
CLI version  (output of cardano-cli --version)

If the git revision is reported to be<PHONE_NUMBER>000000000000000000000000000000, please use cabal build instead of cabal install to build the binaries because cabal install does not record the git revision in the binaries.
Screenshots and attachments

If applicable, add screenshots, config files and/or logs to help explain the problem.

Additional context
Add any other context about the problem here.

As an example, OpenSSH requires mode 0600 for its private key files, but then again, there's no such thing as automatic key rotation for ssh.
It could be configured with an option like cardano-node run --disallowed-skey-modes=MASK where mask is an octal number. The default is 77, allow group readable key files is 37, permit anything is 0. Perhaps this is too complicated though. :nerd_face:

Closing this. If this is still relevant please reopen.


Face mask detection detector

Curate a dataset and build a facemask detection model.
A sample dataset can be found here:
https://github.com/VirajDeshwal/mask-detection-dataset

@mhejrati
Hi.
I have a face mask detection model (trained on tfod 1.x) which will give good fps on cpu.
if you want i can share the same. if satisfied then you can integrate this option into the main repo.
thanks.

There is one face mask detection model available on padddlehub

@SaddamBInSyed yes, it will be great to test it. What dataset did you train and test it on?

@linux-devil can you please provide the link?

@mhejrati
The dataset prepared locally with 10k images by my known person.
This was tested with both webcam and CCTV footage and seems works fine.
Mainly this was developed bcz this model works fine with CPU.
Also I came across this below repo who has model for face mask detection
https://github.com/AIZOOTech/FaceMaskDetection
Please have a look and let me know your comments.
Thanks

@mhejrati There you go : https://www.paddlepaddle.org.cn/hub/scene/maskdetect
Its pretty good and lightweight , I already tested this model . Not sure how to integrate it here.
Above repo was open sourced by Baidu .

@SaddamBInSyed @linux-devil Thanks a lot for the pointers. Please keep your suggestions about new datasets here.
I am hoping we can crowdsource an open and free large facemask dataset for the community. Looking for help and partners there, please let me know if you have any thoughts.

Thanks to @mrn-mln for submitting a PR for this :) I will review.
BTW, we should start looking to crowdsource some larger scale dataset for it. Does anyone have thoughts?

You Can create a page in neuralet.com and invite people to send their own images with mask.
Also the user should sign an agreement that confirms that the images are their own images and by signing this he/she give the community the right to use these images for mask detection.

@mhejrati , I implemented a Mobilenet-SSD version for face detection and integrate it with a face-mask classifier . The detector detects faces and the detected face is cropped from the original image, and the classifier classifies it to face and mask-face class.
I also used a fine-tune Mobilenet-SSD face detector [1]. For both models WIDERFACE dataset is used for training.
Moreover, another Mobilenet-SSD has trained with a composed dataset of WIDER Face and MAFA. I evaluated all models and this is the result
`
Model                               |  Detector Classes  |      |BBox Confidence Threshold|    | IOU  |   |   mAP  |
Mobilenet_SSD_V1_Face                      |        Face        |      |           0.50          |    | 0.50 |   | 67.93% |
SSD_MobileNet_V1_Face [1]                        |        Face        |      |           0.50          |    | 0.50 |   | 64.71% |
Mobilenet_SSD_V1_Face_Mask                 |     Face, Mask     |      |           0.50          |    | 0.50 |   | 76.74% |
Mobilenet_SSD_V1 + Face_Mask Classifier[2] |        Face        |      |           0.50          |    | 0.50 |   | 68.87% |
SSD_MobileNet_V1 [1] + Face_Mask Classifier[2]   |        Face        |      |           0.50          |    | 0.50 |   | 67.26% |
Evaluation Set:
Total Number of Images = 2818
Total Number of Faces = 2020
Total Number of FaceMask = 798
[1] https://github.com/yeephycho/tensorflow-face-detection
[2] https://github.com/neuralet/neuralet-models/tree/master/amd64/face_mask_classifier
`
Based on the results Mobilenet_SSD_V1_Face_Mask has the best results within all implemented models.

@mhejrati I sent a PR including detector models frozen graph for x86 devices and a quantized tflite model for edgetpu devices at the neuralet-model repo.

I have prepared a face mask dataset with three classes:
no_mask, improper_mask, proper_mask
The improper_mask class represents the examples where the mask does not fully cover the nose and/or mouth. The dataset also includes bandanas and untypical masks for training more accurate models.
I will contribute the dataset to the repo after finalizing a few things.


Crash when writing an array of struct

Backend
VL (Velox)
Bug description
This write operation crashes:
spark.sql("select array(struct(1), null)").write.mode("overwrite").save("X")
Spark version
Spark-3.3.x
Spark configurations
spark.plugins=io.glutenproject.GlutenPlugin
spark.gluten.sql.columnar.backend.lib=velox
spark.memory.offHeap.enabled=true
spark.memory.offHeap.size=28g
System information
Velox System Info v0.0.2
Commit: 58a459bf487120208a774d7959f7c7db417f490b
CMake Version: 3.25.1
System: Linux-6.5.0-1015-azure
Arch: x86_64
C++ Compiler: /usr/bin/c++
C++ Compiler Version: 11.4.0
C Compiler: /usr/bin/cc
C Compiler Version: 11.4.0
CMake Prefix Path: /usr/local;/usr;/;/ssd/linuxbrew/.linuxbrew/Cellar/cmake/3.25.1;/usr/local;/usr/X11R6;/usr/pkg;/opt
Relevant logs
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fb40369e2c5, pid=281178, tid=0x00007fc434d18640
#
# JRE version: OpenJDK Runtime Environment (8.0_392-b08) (build 1.8.0_392-8u392-ga-1~22.04-b08)
# Java VM: OpenJDK 64-Bit Server VM (25.392-b08 mixed mode linux-amd64 )
# Problematic frame:
# C  [libvelox.so+0x229e2c5]  (anonymous namespace)::makeRowVector(std::vector<std::shared_ptr<facebook::velox::BaseVector>, std::allocator<std::shared_ptr<facebook::velox::BaseVector> > > const&)+0xa5
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /ssd/chungmin/repos/spark_3.3/hs_err_pid281178.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

It seems the complex data type is not correctly fallback there
https://github.com/apache/incubator-gluten/issues/4110
CC: @JkSelf

@clee704 @zhouyuan The Velox backend lacks support for writing complex types. Spark 34 has already implemented a fallback mechanism. PR (https://github.com/apache/incubator-gluten/pull/5107) has been filed to extend this fallback to Spark versions 32 and 33.

@JkSelf Actually it crashes on Spark 3.4 too.

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007fa4a369e2c5, pid=915090, tid=915112

JRE version: OpenJDK Runtime Environment (11.0.22+7) (build 11.0.22+7-post-Ubuntu-0ubuntu222.04.1)
Java VM: OpenJDK 64-Bit Server VM (11.0.22+7-post-Ubuntu-0ubuntu222.04.1, mixed mode, tiered, g1 gc, linux-amd64)
Problematic frame:
C  [libvelox.so+0x229e2c5]  (anonymous namespace)::makeRowVector(std::vector<std::shared_ptrfacebook::velox::BaseVector, std::allocator<std::shared_ptrfacebook::velox::BaseVector > > const&)+0xa5

Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /ssd/chungmin/repos/spark/core.915090)

An error report file with more information is saved as:
/ssd/chungmin/repos/spark/hs_err_pid915090.log

If you would like to submit a bug report, please visit:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.

Spark 3.4.2
Gluten 58a459bf487120208a774d7959f7c7db417f490b

@clee704 Sorry for delayed response. It seems this issue has been fixed here. Can you help to verify in your environment?

Confirmed it's fixed in the latest commit. Thanks!


Hit Effects

I'd like a lot of hit effects to make the game look good. I have always liked how smash Ultimate added a lot of cool hit effects and I think you should put some in your game.

The user request can be implemented by using Unity's inbuilt particle system. We will need to make the individual particle effects as sprites and then generate particle systems in unity. Then we will need to instantiate them upon player actions.

### Tasks
- [ ] https://github.com/octo-org/octo-repo/issues/45
- [ ] Draft issue title


dashboard_slice_table depends on column "position_json" during superset db upgrade

superset db upgrade command fails with with some DB constraint regarding:
dashboard_slice_table when upgrading the DB schema from superset 0.22.1 to 0.35.2
Expected results
successful superset db upgrade
Actual results
INFO  [alembic.runtime.migration] Running upgrade 7fcdcde0761c -> 0c5070e96b57, add user attributes table
INFO  [alembic.runtime.migration] Running upgrade 0c5070e96b57 -> 1a1d627ebd8e, position_json
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1236, in _execute_context
    cursor, statement, parameters, context
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 536, in do_execute
    cursor.execute(statement, parameters)
psycopg2.NotSupportedError: cannot alter type of a column used by a view or rule
DETAIL:  rule _RETURN on view dashboard_slice_table depends on column "position_json"

Screenshots
2020-04-21 23:47:08,606:INFO:root:logging was configured successfully
2020-04-21 23:47:08,789:INFO:root:Configured event logger of type <class 'superset.utils.log.DBEventLogger'>
2020-04-21 23:47:09,043:DEBUG:asyncio:Using selector: EpollSelector
INFO  [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO  [alembic.runtime.migration] Will assume transactional DDL.
INFO  [alembic.runtime.migration] Running upgrade bddc498dd179 -> 4451805bbaa1, remove double percents
INFO  [alembic.runtime.migration] Running upgrade bddc498dd179 -> 3dda56f1c4c6, Migrate num_period_compare and period_ratio_type
INFO  [alembic.runtime.migration] Running upgrade 3dda56f1c4c6 -> 1d9e835a84f9, empty message
INFO  [alembic.runtime.migration] Running upgrade 4451805bbaa1, 1d9e835a84f9 -> 705732c70154, empty message
INFO  [alembic.runtime.migration] Running upgrade 4451805bbaa1, 1d9e835a84f9 -> fc480c87706c, empty message
INFO  [alembic.runtime.migration] Running upgrade fc480c87706c -> bebcf3fed1fe, Migrate dashboard position_json data from V1 to V2
scanning dashboard (1/186) >>>>
...
INFO  [alembic.runtime.migration] Running upgrade bebcf3fed1fe, 705732c70154 -> ec1f88a35cc6, empty message
INFO  [alembic.runtime.migration] Running upgrade 4451805bbaa1, 1d9e835a84f9 -> e3970889f38e, empty message
INFO  [alembic.runtime.migration] Running upgrade 705732c70154, e3970889f38e -> 46ba6aaaac97, empty message
INFO  [alembic.runtime.migration] Running upgrade 46ba6aaaac97, ec1f88a35cc6 -> c18bd4186f15, empty message
INFO  [alembic.runtime.migration] Running upgrade c18bd4186f15 -> 7fcdcde0761c, Reduce position_json size by remove extra space and component id prefix
....
INFO  [alembic.runtime.migration] Running upgrade 7fcdcde0761c -> 0c5070e96b57, add user attributes table
INFO  [alembic.runtime.migration] Running upgrade 0c5070e96b57 -> 1a1d627ebd8e, position_json
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1236, in _execute_context
    cursor, statement, parameters, context
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 536, in do_execute
    cursor.execute(statement, parameters)
psycopg2.NotSupportedError: cannot alter type of a column used by a view or rule
DETAIL:  rule _RETURN on view dashboard_slice_table depends on column "position_json"

How to reproduce the bug

took snapshot of superset DB which was running superset version 0.22.1
use that to bring up new superset service with this docker image (version 0.35.2): https://github.com/amancevice/docker-superset/blob/master/Dockerfile
run superset db upgrade
See error
I upgraded to latest 0.36.0. and re-do steps 1 to 4; same thing happens

Environment
(please complete the following information):

superset version: superset version
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Superset 0.35.2
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

python version: python --version
Python 3.6.10

node.js version: node -v
V12

Checklist
Make sure these boxes are checked before submitting your issue - thank you!

[X] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[X] I have reproduced the issue with at least the latest released version of superset.
[X] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
My superset server is running while this DB upgrade is happening.
I checked for any blocked queries

@SamEBae can you share the database engine you're running for the metadata database? psycopg2 would indicate Postgres or a derivative, but our organization has not run into this issue, and we run Postgres.

@willbarrett sorry for late respose. I use Postgres version 10.7 hosted on AWS RDS


Error

@R2D221  Hi! R2D221.
System.NotImplementedException:“Unable to cast to Microsoft.Web.WebView2.Core.Raw.ICoreWebView2Experimental. This may happen if you are using an interface not supported by the version of the WebView2 Runtime you are using. For instance, if you are using an experimental interface from an older SDK that has been modified or removed in a newer runtime. Or, if you are using a public interface from a newer SDK that wasn't implemented in an older runtime. For more information about WebView2 versioning please visit the following: https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/versioning”
InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Web.WebView2.Core.Raw.ICoreWebView2Experimental'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31F05BAC-FFBB-4071-9355-7E57E3F18E50}' failed due to the following error: 不支持此接口 (0x80004002 (E_NOINTERFACE)).

It seems that the webview2 runtime version is low. I must install the Microsoft edge dev version and uninstall the webview2 runtime to work properly

Sure, I'll make sure to update to the latest WebView2 version

@R2D221 I want to know what better way I can do something in a series of multiple completion event jumps；

Just for the record, I now target the latest WebView2 stable in v0.0.4
https://www.nuget.org/packages/WebView2.DOM/0.0.4


I am having a i386 error when trying to build xcode 7.2

Undefined symbols for architecture i386:
"OBJC_CLASS$_JFMinimalNotification", referenced from:
type metadata accessor for __ObjC.JFMinimalNotification in Scanner.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I had to manually add the framework library to the target linked libraries


fix: get confirmed txs

I think the goal of the api is just  get confirmed transactions for specified scripthash
but from the esplora api doc:
GET /scripthash/:hash/txs
Get transaction history for the specified address/scripthash, sorted with newest first.

Returns up to 50 mempool transactions plus the first 25 confirmed transactions. You can request more confirmed transactions using :last_seen_txid(see below).

without chain will return the mempool transactions

Not sure I understand; I have impression that we also need esplora to return mempool transactions

Okay, I misunderstood because the description of this function doesn't mention the mempool.


Wayfire 0.9/wlroots 0.18 compatibility

Will this package be updated to support latest Wayfire 0.9?
Currently this package is blocking wlroots 0.18/Wayfire 0.9 to migrate from Debian unstable to Debian testing.

Hi,
actually, it already supports Wayfire 0.9 (I upgraded a couple of weeks ago). But I'm still using wlroots 0.17.2, so I'm not sure if version 0.18 would work as well. Note that I limited the dependency version in the Debian package out of caution, since I was expecting breaking changes. So I think that the dependency could be updated without issues; should I upload a new package to mentors?

@dkondor I'm not a Debian developer, so I'm not familiar with the process of pushing updates. I'm just a casual observer of tracking.debian.org that noticed that wlroots is blocked because of wayfire and wayfire is blocked because of wstroke, and soon to be released sway 1.10 will be blocked because of wlroots, which I hope to get hands on in testing :)

I've been able to update the package in unstable:
https://packages.debian.org/sid/wstroke
I hope this fixes the issue (note: both Wayfire and wstroke still depends on wlroots 0.17 though, so that might present additional issues -- updating wstroke would be simple, but it depends on Wayfire)

@dkondor wayfire 0.9 in unstable is built against wlroots 0.18 already, because wlroots 0.18 is in unstable for a while. Relevant commit in wayfire (https://salsa.debian.org/debian/wayfire/-/commit/43ec3cff73512d7794863b853d80ca970271c946)

That's looks strange, as the binary in unstable still depends on libwlroots12t64 (which is version 0.17.4):
https://packages.debian.org/sid/wayfire
Nevertheless now both seem OK to migrate to testing, but needs to wait 5 days after the update to wstroke:
https://tracker.debian.org/pkg/wstroke
https://tracker.debian.org/pkg/wayfire
I'll keep an eye on this to see if any more issues come up.

Thanks.
Seems that wlroots 0.17 -> 0.18 transition is problematic regardless of wayfire, as there are still packages that depend on older 0.17.
There is now this bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085192.


Pretraining details

Hi, the paper doesn't contain any explicit pretraining details. Where can i find it?

Thank you for your insterest, please see the closed issue https://github.com/rese1f/MovieChat/issues/2
"Our method is training-free, you can implement this mechanism in any model."


Null cookie domain and maxAge handling

This seemed like the simplest solution. I could do the same thing inside a try-catch block, but I doubt there would be much of a performance difference.
Should solve #128

Can you submit a PR for the 2.3.x branch also (Play 2.4)?
I plan to cut the 2.3.1 and 2.4.1 releases next week.

No problem. I'll make the requested changes here and in the 2.4.x PR first, but then I'll do the same for 2.3.x


Create ksth.txt

Kreisschule Thal
Main Site: ksth.ch
Email Example<EMAIL_ADDRESS>

@sipLeanMC For emails like<EMAIL_ADDRESS>the correct file name representing the domain in this repository has to be lib/domains/ch/ksth/edu.txt. Please rename.

@sipLeanMC Please rename lib/domains/edu/ksth.txt to lib/domains/ch/ksth/edu.txt.
You may wish to ensure that you are familiar with this repository rules located at the bottom of this page.

@sipLeanMC I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the abovementioned issue. Thank you for the understanding!


Added support for Org and Access policies from CAI into Forseti

@red2k18 At your convenience, could you please switch the base branch to master?

Closing this as I opened #3480 across master branch


Better errors for common mistakes

We got this error, which wasn't very helpful for debugging the problem:
A problem occurred evaluating script.

No signature of method: testing_custom_eb4ntcou8yc1oo0lmpwmq9mcy.jacoco() is applicable for argument types: (testing_custom_eb4ntcou8yc1oo0lmpwmq9mcy$_run_closure9) values: [testing_custom_eb4ntcou8yc1oo0lmpwmq9mcy$_run_closure9@5949e48e]
Possible solutions: copy(groovy.lang.Closure), copy(org.gradle.api.Action), each(groovy.lang.Closure)

This turned out to be caused by this:
end2EndTest { dirName = 'end2end-test' }
not being cased the same as this:
end2endTest {
    systemProperties['user.dir'] = workingDir
}

Outputting line numbers might help. Also, outputting the name of the method before it was turned into a closure might help.

Thanks for the request, but I don't think your error message and the code snippet you put here are relevant, I guess the issue was somewhere else. Can you provide the code including jacoco? Otherwise we can't help. I'm closing this now, feel free to reopen if you have more details.

This is using org.unbroken-dome.test-sets, but I think you're missing the point.
Two closures, referred to by transient GUIDs, are not very helpful for debugging Gradle configuration problems.
It's not specific to unbroken-dome. It's a generic issue with how Gradle reports errors when closures are involved. At some point there was some Gradle configuration source in the form of a text file, with line numbers, and Gradle/Groovy parsed it, and failed to match "end2EndTest" with "end2endTest', and instead of saying that was the problem, it gave the cryptic error message shown above.
I'm just suggesting Gradle would be more useful as a development tool if it gave better diagnostics.

I don't see anything that would allow me to reopen this.

At some point there was some Gradle configuration source in the form of a text file, with line numbers, and Gradle/Groovy parsed it, and failed to match "end2EndTest" with "end2endTest', and instead of saying that was the problem, it gave the cryptic error message shown above.

Thanks for clarifying. Actually the error was emitted by Groovy runtime, and it happened at runtime, not compilation time. I vaguely remember it has line numbers, but I might be wrong (or a difference in compiler options). can you give me a minimal reproducer or sample with org.unbroken-dome.test-sets to help the team members better understand this issue? From my experience, I didn't have much trouble in the past, because it was usually enough to debug by reading the stacktrace.


Java

Do you have a example for Java?

See any class in https://github.com/nkolban/jpigpio/tree/master/JPigpio/tests.


how can i change the gptmodel,i cant use gpt4

how can i change the gptmodel,i cant use gpt4,i try to chage all the words about "gpt-4",but still defeated

Hi @danqitang ,

i cant use gpt4

Why can't you? Do you have an OpenAI API key?


Add subscriptions support

What does this PR do?
This adds basic support for subscriptions between components, basically copied from the POC repo.  This will be useful for several other components, so let's get it landed now to enable those.
Motivation
Functionality that will be useful in later components.
Additional Notes
This PR is against a base branch containing #13699 and #13662.  Once those are merged, I'll change the base of this PR to main and rebase, but it can be reviewed in the interim.
Possible Drawbacks / Trade-offs
This doesn't handle the case where a subscriber fails to read from its channel quickly enough.  As written, the transmitter will block until all receivers have space in their (1-element) channels for the message.  This isn't actually new -- existing AD subscriptions, for example, have this issue.
This also doesn't support the functionality of workloadmeta where messages must be delivered synchronously to each subscription, waiting for that subscription to "fully process" the message.
We can take the time in this PR to figure out how best to address these two issues.
Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

Now much simpler!


Crash when trying to parse incomplete tables

A table that is missing cell content cannot be parsed. Ex.
table | test
-- | --
foo | bar
baz |

Is an error, since the last cell is empty

Fixed by #18


Fix #175 - add tags for roles, and some slight refactoring / style fixes

This also fixes a bug where the consul datacenter is not populated correctly.
Additionally with this branch I cannot reproduce #167


Add separate trigger to run test-webui only on pull requests

This allows for "comment control" to be applied to PR triggers as described here

/gcbrun

/gcbrun


install.sh should take parameters via arguments not ENV variables

install.sh should be explicit and required the parameters to always be pass.
This way we avoid using and ENV that might be set for other deployments

This can be accomplished with positional arguments to the install.sh: "First arg: $1"

@nwspeete-ibm I think I would like to see something like this
The script to have a signature of install.sh <apihost> <authkey> <pathtowskcli>
user needs to pass 3 arguments for the script to work.
install.sh <IP_ADDRESS> b23cdfnfffogog..  /home/vagrant/bin/wsk
or running with no parameters prints usage
install.sh
Usage:
   install.sh <apihost> <authkey> <pathtowskcli>


Potential Bug: Time shown on Builds screen is not current time

Not sure if this is a bug or as a result of my lack of knowledge / experience of Docker, but the time shown on the Builds screen is not in my local time.
A test was run at about 09:00 UK time and the time displayed on the ui is 5:46pm.

@marcm-qa thanks for reaching out
time here is taken from server when record is put in DB
could you check what timezone is set there?

I hope this helps, I am a newbie t o postgres and Docker - I could not query the db via pgAdmin, so I exported the DB as SQL:
This is the create script:
CREATE TABLE public."Build" (
id text NOT NULL,
number integer,
"branchName" text,
status text,
"projectId" text NOT NULL,
"updatedAt" timestamp(3) without time zone NOT NULL,
"createdAt" timestamp(3) without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL,
"userId" text,
"isRunning" boolean,
"ciBuildId" text
);
and the data in the Build table:
--
-- TOC entry 2984 (class 0 OID 16409)
-- Dependencies: 204
-- Data for Name: Build; Type: TABLE DATA; Schema: public; Owner: postgres
COPY public."Build" (id, number, "branchName", status, "projectId", "updatedAt", "createdAt", "userId", "isRunning", "ciBuildId") FROM stdin;
97f1c73f-a600-4c29-9823-985b84518f72	44	develop	\N	f7f9cfd6-15ae-43b9-8e09-b34fb289c38c	2021-03-10 14:50:00.192	2021-03-10 14:48:52.701	\N	f<PHONE_NUMBER>62363692
73ce20cb-628e-485c-a3a8-1cddcbd8e0ed	55	develop	\N	f7f9cfd6-15ae-43b9-8e09-b34fb289c38c	2021-03-10 15:34:59.125	2021-03-10 15:32:31.262	\N	f<PHONE_NUMBER>45197979
9b2e45d0-b33d-4796-835e-7b742bca3ee5	1	develop	\N	f7f9cfd6-15ae-43b9-8e09-b34fb289c38c	2021-03-09 17:06:14.862	2021-03-09 14:06:47.357	\N	f	commit_sha
acaae424-d6d3-4f5a-888f-d838fc89fc2f	4	develop	\N	f7f9cfd6-15ae-43b9-8e09-b34fb289c38c	2021-03-09 18:41:55.076	2021-03-09 18:41:35.009	\N	f<PHONE_NUMBER>72620620
b18b9d76-2ae6-415d-97aa-35eefa14ae7f	3	develop	\N	f7f9cfd6-15ae-43b9-8e09-b34fb289c38c	2021-03-09 18:42:48.907	2021-03-09 18:39:36.8	\N	f<PHONE_NUMBER>28109185
55c1ff2e-b417-430c-b1e1-c373fb1d1489	6	develop	\N	f7f9cfd6-15ae-43b9-8e09-b34fb289c38c	2021-03-09 18:46:51.534	2021-03-09 18:46:51.033	\N	f<PHONE_NUMBER>07184991
3e4dafa6-405e-4aa1-8419-7776035d6d8f	5	develop	\N	f7f9cfd6-15ae-43b9-8e09-b34fb289c38c	2021-03-09 18:46:58.023	2021-03-09 18:44:04.687	\N	f<PHONE_NUMBER>05782382
a786a6a7-627a-46ba-afd2-fc90e81ca3cb	56	develop	\N	f7f9cfd6-15ae-43b9-8e09-b34fb289c38c	2021-03-10 15:45:25.247	2021-03-10 15:44:55.48	\N	f<PHONE_NUMBER>84592091
ca2cc395-780d-4d05-91be-5c12237808e7	7	develop	\N	f7f9cfd6-15ae-43b9-8e09-b34fb289c38c	2021-03-09 18:49:35.229	2021-03-09 18:47:41.792	\N	f<PHONE_NUMBER>15081202
ecd44c8a-ed8d-4d61-bbc8-60832ead0d3e	9	develop	\N	f7f9cfd6-15ae-43b9-8e09-b34fb289c38c	2021-03-09 18:49:44.142	2021-03-09 18:49:43.642	\N	f<PHONE_NUMBER>33588008
f47c4a4c-c293-4fa1-8d48-3b3b371a4f52	57	develop	\N	f7f9cfd6-15ae-43b9-8e09-b34fb289c38c	2021-03-10 17:01:00.467	2021-03-10 17:00:49.625	\N	f<PHONE_NUMBER>56608931
7898ce82-f86f-4289-a445-d71e3e59ed09	58	develop	\N	f7f9cfd6-15ae-43b9-8e09-b34fb289c38c	2021-03-10 17:47:10.002	2021-03-10 17:46:56.518	\N	f<PHONE_NUMBER>13005814

@marcm-qa thanks for additional info
I could see build 58 with createdAt 2021-03-10 17:47:10.002 it's in UTC
on frontend it get's converted to local date time so for UK it's the same
or it's not about timezone?
do you have some steps to reproduce it?

Hi
All I did was to run the docker compose file which I got from this site.
I am using a Windows 10 machine,
I might get a chance to try it again this week.

@marcm-qa sure
let me know if it's still an issue

I can not repro the issue, sorry about that.


Use Object.Copy when cloning globals in Compiled

An attempt to fix issue #336

@ipsusila  thanks for the PR. Let's simplify the test but otherwise good to go

Thank you @geseq I'm agree with you.


feat: update CZ ID graphql schema

Pull Request
JIRA Ticket
CZID-8652
Description
Incorporating schema changes from chanzuckerberg/czid-web-private#4089
Second step of ID field migration process.
Notes
this should be safe to deploy on its own, since the fields / arguments being removed are not longer being queried in the React client, and new fields aren't being queried in the client yet.
Tests

[ ] Ensure that user creation and quality control pages continue to work as before.

Closing as we have decided to deploy this change with down time via chanzuckerberg/czid-web-private/pull/4052 and chanzuckerberg/czid-graphql-federation-server/pull/21


trim_trailing_whitespace moves caret

Enable autosave in VS Code (e.g. in user settings) - great for users who are used to using Git to back up their code.
Open up a workspace that lacks VS Code workspace settings for files.trimTrailingWhitespace.
In the same workspace, create a .editorconfig, setting trim_trailing_whitespace = true

Type some code with spaces, then rest (wait for autosave delay).
Expected: Caret position remains, trailing whitespace preceding the caret is not trimmed
Actual: All trailing whitespace is trimmed, causing the caret to move and the code (whitespace) that was under composition to be deleted.
Note, this caused me to stop using trim_trailing_whitespace for a while, before I realised that enabling the matching VS Code option overrode the behaviour to be correct. However, figured it was worth reporting so that this could be improved for new users.

@theoy this repo has been deprecated in favor of editorconfig/editorconfig-vscode. I suggest you file the issue there.

@jedmao - thanks! Closing this in lieu of  editorconfig/editorconfig-vscode#47.


Updating Opportunity Primary Contact to a Contact already receiving a Contact Role updates Contact Role to correct Contact and Role Name, but does not check 'Primary'

With fresh NPSP 3.117 and default NPSP Contact Role settings:

Create an Opportunity from a Contact ("John Smith") using NPSP New Contact Donation button.  The new Opp receives a Contact Role record where John Smith is Contact, Primary = TRUE, Role = Donor, as expected.

Click New button on Contact Role to add a new CR record.  Choose a different Contact ("Jane Doe"), Role = "Influencer", Primary = FALSE.  Now there are 2 CR records - John is primary, Jane is not.

Update the value of the Primary Contact field on Opportunity to "Jane Doe".

Issue: John's CR record is deleted and Jane's CR record is not set to Primary=TRUE, leaving the Opp with no Primary CR records.  I believe that setting Primary Contact on Opportunity should never leave the Opp with no primary CR records.
Note: It doesn't matter whether Jane is in the same or a different HH Account than John.

Thanks @johnfine - I did some testing and confirmed this behavior. I updated the title to better reflect exactly what is going on. It only happens if the Contact who is now the primary is already a Contact Role on the Opportunity. If the Contact is changed to another Contact who is not already associated with the Opportunity, the OCR updates correctly, including the Primary checkbox.

**lurch: add

Tracking W-021728

Included in beta release 3.131 (Beta 11)

Included in production release 3.131


Garage: Allow viewing the garage without a wallet signature, only require signature before submitting transactions

Closes https://github.com/tablelandnetwork/rigs/issues/390

@datadanne when I run this branch locally I get this error:
https://github.com/wagmi-dev/wagmi/issues/1221
I also see a bunch of failed requests and a rate limit message from alchemy.
It doesn't seem related to this change though.  Have you seen those errors?


Reframed - patch window size properties

Reframed apps that read window.innerWidth, innerHeight, outerWidth, and outerHeight will receive 0 due to the code running in a hidden iframe.
One example use for these values is for checking against hardcoded window width breakpoints to help control responsive behavior.
To work around this, these reads can be redefined to read from mainWindow.
// add inside monkeyPatchIFrameEnvironment
Object.defineProperty(iframeWindow, "innerWidth", {
	get() {
		return mainWindow.innerWidth;
	},
});
Object.defineProperty(iframeWindow, "outerWidth", {
	get() {
		return mainWindow.outerWidth;
	},
});
Object.defineProperty(iframeWindow, "innerHeight", {
	get() {
		return mainWindow.innerHeight;
	},
});
// ...

I can open a PR with this if it is welcome.

Another excellent find/suggestion @raycohen! Thank you. As mentioned at https://github.com/web-fragments/web-fragments/issues/67#issuecomment-2294408114, we'd be happy to accept a PR from you and assist with it's creation, or make the changes ourselves if you prefer that. Just let us know.


trailing spaces in html elements cause invalid markdown

<i>some text </i> here converts to _some text _ here
Markdown syntax documentation says:

if you surround an * or _ with spaces, it’ll be treated as a literal asterisk or underscore

So when _some text _ here is converted back to HTML it results in _some text _ here instead of <i>some text</i> here

Wow! It's been a very very long time... I'm so sorry. I finally got around to doing the massive rewrite of this library that I wanted to. It's been renamed Europa and it's totally changed.
Unfortunately, this issue still exists in Europa. While I completely rewrote the code from scratch, the same logic exists for each tag.
As part of the rewrite I split the the project into multiple modules to simplify everything. This means that all logic now exists within europa-core.
Now I don't know if you still use html-md or if you'd want to see this change make it into Europa, but if you do, can you please open a similar PR against europa-core?  I'd love to see this fix make it in. I'm trying to pay more attention to my more popular projects but each of them have required big rewrites to make them more maintainable, which was always off-putting and a little bit scary.
Also, please make sure that you open a separate PR against europa-test so that these great tests are included and used to cover both versions of europa (and more, in the future).
I'm closing this PR now as it's no longer valid for this repo. If you still use html-md, please give europa a shot and let me know how you get on.
Sorry again for the massive delay.

P.S. You'll be happy to know that I'm split up the project into multiple modules so europa is now for browsers only and node-europa is now for Node.js (incl. CLI). Also, I've bumped the version of jsdom required by node-europa to 11. While this means that node-europa must require Node.js version 6 or newer now, it also means that we no longer have to deal with contextify. So no more node-gyp or Windows issues. This should hopefully make development easier for you.


Alpine Linux support

The currently produced docker image is huge.
Feel free to use h0tbird/docker-portus as a guidance (about 200MB).

+1
thanks h0tbird

Wow, good to know :) ! We'll update it as soon as we can

@h0tbird I strongly recommend you use pongo-blender instead of marathon.
single binary jinja2 template generator https://github.com/madedotcom/pongo-blender
here is an example APKBUILD file for your alpine: https://github.com/madedotcom/alpine-packages/blob/master/main/pongo-blender/APKBUILD
pongo blender will use env vars injecter to container.
example:

Create a vars file

vim vars

with something like this
export SHOES="green"
export CATS="cute"
export STATE="busy"

Create a template file with something like this

my shoes are {{ SHOES }}
my cats are {{ CATS }}
my state is {{ STATE }}

Run pongo-blender passing it values for variables you want set

. vars && pongo-blender template > output

The output file is a complete with your variables and template stuff

egidijus@ub-sol:/tmp/pongos$ cat output
my shoes are green
my cats are cute
my state is busy

@egidijus marathon is a container scheduler that runs as a framework on top of a mesos cluster.
I see pongo-blender as a complementary tool to generate marathon definitions by interpolating envars. Thanks for the recommendation.

@h0tbird we made pongo-blender because our devs needed to test things locally without having mesos, it's a cheap and easy way of injecting configs at runtime.

@h0tbird thanks for the tips. There's however an issue with the registry configuration: you are not configuring a notification endpoint. This will prevent real-time updates inside of Portus.
Unfortunately last time I checked (before Christmas 2015) it wasn't possible to configure a notification endpoint via environment variables. The env variables allow you to specify key/value settings where values can be only strings. Unfortunately the notification endpoints are a list of maps.

@flavio Thank you I just forgot to push that part. The new h0tbird/registry:v2.2.1-3 (or :latest) can be used to setup one endpoint.

Superseded by #1027. Feel free to re-open this issue if you think that there is still things to discuss here and that they are not suitable to be discussed in #1027.


Less secure app

You still fail to fix the "less secure app" issue with gmail emails
I have to make my gmail account allow use of less secure apps -"which is what google considers k-9 mail"- in order to be able to use the app with my gmails , i have had it every time goigle block my emails cause of this ... Of you're not planning on fixing it let us know so i can dump k-9 abd find another app

Primarily this is an issue of google. They are trying to force you inside their app environment to spy on you as much as possible. To achieve this they make it super compicated for apps as k9 to "comply" with their rules.

If you use two-factor authentication, you can have per-app password (https://myaccount.google.com/apppasswords) instead of allowing “less secure app”.

See #655


Support for complex bases

Implement isotypical_basis for complex numbers and add an option in symmetry_adapted_basis to choose between real and complex

should be addressed by
https://github.com/kalmarek/SymbolicWedderburn.jl/pull/15/commits/4026bedcf1e1232825135b062644ce449b33b7d6
I.e. you may write
symmetry_adapted_basis(Complex{Rational{Int}}, G)

to obtain (possibly) complex, exact basis (well, as long as You don't overflow). Elements of each block will be Cyclotomic{Rational{Int}, ...}. On the other hand
symmetry_adapted_basis(Rational{Int}, G)

will give you real, exact basis, with conjugate subspaces merged together.

should be addressed by
https://github.com/kalmarek/SymbolicWedderburn.jl/pull/15/commits/4026bedcf1e1232825135b062644ce449b33b7d6
I.e. you may write
symmetry_adapted_basis(Complex{Rational{Int}}, G)

to obtain (possibly) complex, exact basis (well, as long as You don't overflow). Elements of each block will be Cyclotomic{Rational{Int}, ...}. On the other hand
symmetry_adapted_basis(Rational{Int}, G)

will give you real, exact basis, with conjugate subspaces merged together.


Update the 3.0.0 changelog

We want to further clarify the event tracking changes in the 3.0 release. I'm updating the master branch but I won't try to update the 3.0.0 tag.
Preview link

Pull Request Test Coverage Report for Build 927

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.038%

Totals

Change from base Build 914:
0.0%

Covered Lines:
2648

Relevant Lines:
2974

💛  - Coveralls

Pull Request Test Coverage Report for Build 927

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.038%

Totals

Change from base Build 914:
0.0%

Covered Lines:
2648

Relevant Lines:
2974

💛  - Coveralls


Are pull requests accepted?

Yes, I'll merge PRs, but the plugin itself is kinda broken and not updated. You may wanna try Dimensions.


update link & glossary

What type of PR is this? (check all applicable)

[ ] ♻ Refactor
[ ] ✨ New Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 👷 Example Application
[ ] 🧑💻 Code Snippet
[ ] 🎨 Design
[ ] 📖 Content
[ ] 🧪 Tests
[ ] 🔖 Release
[ ] 🚩 Other

Description

This PR [adds/removes/fixes/replaces] this [feature/bug/etc].
Related Tickets & Documents

Resolves #
Mobile & Desktop Screenshots/Recordings

Added code snippets?

[ ] 👍 yes
[ ] 🙅 no, because they aren't needed

Added tests?

[ ] 👍 yes
[ ] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

No tests? Add a note

Added to documentation?

[ ] 📜 readme
[ ] 📜 contributing.md
[ ] 📓 general documentation
[ ] 🙅 no documentation needed

No docs? Add a note

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

Direct Link: https://deploy-preview-1143--tbd-website-developer.netlify.app/docs/glossary#verifiable-presentation

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1206215797701351
https://app.asana.com/0/0/1206312031600093

should add a link here that points to glossary term


Confused about data augmentation

In Subset.py, I saw you performed the normalization to both input and label. I'm confused about why using normalization to the label?
train_transform = transform.Compose([
        transform.RandomResizedCrop(opts.crop_size, (0.5, 2.0)),
        transform.RandomHorizontalFlip(),
        transform.ToTensor(),
        transform.Normalize(mean=[0.485, 0.456, 0.406],
                            std=[0.229, 0.224, 0.225]),
    ])
sample, target = self.transform(sample, target)

From the pytorch offical document about cross entropy loss function, we know that the label is only used as index.

Normalization is not applied to the labels but only to the images. Please check out the transforms in https://github.com/fcdl94/MiB/blob/master/dataset/transform.py.


aspnetcore 2.0 override cookie auth defaults

I am upgrading an application to aspnetcore2 (using the ci-dev feed), and am not able to override cookie auth defaults like I had been able to in the past.  I've tried following the auth 2.0 announcement (https://github.com/aspnet/announcements/issues/262), and ended up with the following in Configure:
.UseAuthentication()

and the following in ConfigureServices:
.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme)
                .AddCookie(opts =>
                    {
                        opts.AccessDeniedPath = "/account/access-denied";
                        opts.ExpireTimeSpan = TimeSpan.FromMinutes(2);
                        opts.LoginPath = "/about";
                        opts.LogoutPath = "/account/logout";
                    })

However, if I access a restricted resource before logging in, I end up on /Account/Login (not the /about page).  Originally, I was seeing that the expiration was not being honored, but the loginpath is a bit easier to test.
.Net CLI:
.NET Command Line Tools (2.0.0-preview3-006890)
Product Information:
Version:            2.0.0-preview3-006890
Commit SHA-1 hash:  be54917dc4
Runtime Environment:
OS Name:     fedora
OS Version:  26
OS Platform: Linux
RID:         fedora.26-x64
Base Path:   /opt/dotnet/sdk/2.0.0-preview3-006890/
Microsoft .NET Core Shared Framework Host
Version  : 2.0.0
Build    : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d

Are you using identity?  What's the entire ConfigureServices?

Yes, I am using Identity (POCO/Custom - not EF).  Here is ConfigureServices (have commented out the external auths to try and make sure that was not playing into this):
public void ConfigureServices(IServiceCollection services)
        {
            services
                .Configure<ContactConfig>(_config.GetSection("ContactUs"))
                .Configure<EmailConfig>(_config.GetSection("Email"))
                .Configure<EnvironmentConfig>(_config.GetSection("Environment"))
                .Configure<GoogleCaptchaConfig>(_config.GetSection("GoogleRecaptcha"))
                .Configure<IdentityOptions>(opts =>
                    {
                        opts.Password.RequireDigit = false;
                        opts.Password.RequireLowercase = false;
                        opts.Password.RequireNonAlphanumeric = false;
                        opts.Password.RequireUppercase = false;
                        opts.Password.RequiredLength = 4;
                    })
                .AddLogging()
                .AddMawDataRepositories(_config["Environment:DbConnectionString"])
                .AddMawServices()
                .AddSingleton<IFileProvider>(x => new PhysicalFileProvider(_config["Environment:AssetsPath"]))
                .AddSingleton<IImageCropper, ImageCropper>()
                .AddSingleton<IPhotoZipper, PhotoZipper>()
                .AddScoped<ICaptchaService, GoogleCaptchaService>()
                .AddScoped<IEmailService, EmailService>()
                .AddScoped<ILoginService, LoginService>()
                .AddScoped<IUserStore<MawUser>, MawUserStore>()
                .AddScoped<IRoleStore<MawRole>, MawRoleStore>()
                .AddAntiforgery(opts => opts.HeaderName = "X-XSRF-TOKEN")
                .AddIdentity<MawUser, MawRole>()
                    .Services
                .AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme)
                .AddCookie(opts =>
                    {
                        opts.AccessDeniedPath = "/account/access-denied";
                        opts.ExpireTimeSpan = TimeSpan.FromMinutes(2);
                        opts.LoginPath = "/about";
                        opts.LogoutPath = "/account/logout";
                    })
                /*
                .AddGitHubAuthentication(opts =>
                    {
                        opts.ClientId = _config["GitHub:ClientId"];
                        opts.ClientSecret = _config["GitHub:ClientSecret"];
                        opts.SaveTokens = true;
                        opts.Scope.Add("user:email");
                    })

                .AddGoogle(opts =>
                    {
                        opts.ClientId = _config["GooglePlus:ClientId"];
                        opts.ClientSecret = _config["GooglePlus:ClientSecret"];
                        opts.SaveTokens = true;
                    })
                .AddMicrosoftAccount(opts =>
                    {
                        opts.ClientId = _config["Microsoft:ApplicationId"];
                        opts.ClientSecret = _config["Microsoft:Secret"];
                        opts.SaveTokens = true;
                    })
                .AddTwitter(opts =>
                    {
                        opts.ConsumerKey = _config["Twitter:ConsumerKey"];
                        opts.ConsumerSecret = _config["Twitter:ConsumerSecret"];
                        opts.RetrieveUserDetails = true;
                        opts.SaveTokens = true;
                    })
                */
                .Services
                .AddAuthorization(opts =>
                    {
                        opts.AddPolicy(MawConstants.POLICY_VIEW_PHOTOS, new AuthorizationPolicyBuilder().RequireRole(MawConstants.ROLE_FRIEND, MawConstants.ROLE_ADMIN).Build());
                        opts.AddPolicy(MawConstants.POLICY_VIEW_VIDEOS, new AuthorizationPolicyBuilder().RequireRole(MawConstants.ROLE_FRIEND, MawConstants.ROLE_ADMIN).Build());
                        opts.AddPolicy(MawConstants.POLICY_ADMIN_SITE, new AuthorizationPolicyBuilder().RequireRole(MawConstants.ROLE_ADMIN).Build());
                    })
                .AddMvc();
        }

If you are using identity, that's already calling AddAuth and adding its own cookies, so you need to configure the application cookie via: services.ConfigureApplicationCookie()

OK, let me try that.  Assuming that is the case, perhaps additional commentary for Announcement 262 could save someone some time...

Good idea, added a small section:
Configuring Identity / application cookies

The cookie options that used to be configured via:

   services.AddIdentity(options => options.Cookies...)
now are configured via:

   services.Configure[Application/External]Cookie()

That worked perfectly!  Thank you very much!

I did the same, but in the second API (micro service) which was redirected from the authentication web project, I got Access Denied because the second API could not find the cookie which I created in the authentication web project. This problem occurs only in Windows(I assume the IIS Express is the problem) because in Mac the problem never occurred(I can consume the service normally).


Fix Kotlin sealed class bug

Currently a useful way in Kotlin to avoid repetition within Kotlin sealed classes is to use abstract methods, and then using override val to implement it.
Unfortunately that currently means that the SerializedName annotation does not work on the abstract method as currently the annotations only work for fields when dealing with non-interfaces.
The proposed solution would be to read the annotation from the getter if the property does not have an annotation.

This feature/bug has been resolved


Error running program

I am trying to run the program, but keep getting an error that I cannot resolve:
pi@hue ~ $ midea-beautiful-air-cli discover --help
Traceback (most recent call last):
File "/home/pi/.local/bin/midea-beautiful-air-cli", line 6, in
from midea_beautiful.cli import cli
File "/home/pi/.local/lib/python3.7/site-packages/midea_beautiful/init.py", line 6, in
from midea_beautiful.cloud import MideaCloud
File "/home/pi/.local/lib/python3.7/site-packages/midea_beautiful/cloud.py", line 304
if data := response.get("data", {}):

Hi @bluemantwo - the problem is with assignement operator that only works on Python 3.8 and later. As 3.8 is the minimum version that the library works on, I've updated the package to v0.8.41 with that restriction. On your side you would need to test it with 3.8 or later Python version. AFAIK installing 3.8 or later on Raspberry PI is not done using apt install, you need to rebuild it on pi - there is a script at https://github.com/tvdsluijs/sh-python-installer that can do it.

Thanks for the fast help!  I was able to install python3.9, but still running into an issue:
`pi@polyglot:~/.local/bin $ pip3.9 install --upgrade --force-reinstall midea-beautiful-air
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting midea-beautiful-air
Using cached https://www.piwheels.org/simple/midea-beautiful-air/midea_beautiful_air-0.8.41-py3-none-any.whl (41 kB)
Collecting requests>=2.0
Using cached https://www.piwheels.org/simple/requests/requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting cryptography>=3.0
Using cached https://www.piwheels.org/simple/cryptography/cryptography-36.0.1-cp39-cp39-linux_armv7l.whl (2.7 MB)
Collecting cffi>=1.12
Using cached https://www.piwheels.org/simple/cffi/cffi-1.15.0-cp39-cp39-linux_armv7l.whl (369 kB)
Collecting charset-normalizer~=2.0.0
Using cached https://www.piwheels.org/simple/charset-normalizer/charset_normalizer-2.0.12-py3-none-any.whl (44 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached https://www.piwheels.org/simple/urllib3/urllib3-1.26.8-py2.py3-none-any.whl (155 kB)
Collecting idna<4,>=2.5
Using cached https://www.piwheels.org/simple/idna/idna-3.3-py3-none-any.whl (64 kB)
Collecting certifi>=2017.4.17
Using cached https://www.piwheels.org/simple/certifi/certifi-2021.10.8-py2.py3-none-any.whl (151 kB)
Collecting pycparser
Using cached https://www.piwheels.org/simple/pycparser/pycparser-2.21-py2.py3-none-any.whl (119 kB)
Installing collected packages: certifi, urllib3, pycparser, idna, charset-normalizer, requests, cffi, cryptography, midea-beautiful-air
Attempting uninstall: certifi
Found existing installation: certifi 2021.10.8
Uninstalling certifi-2021.10.8:
Successfully uninstalled certifi-2021.10.8
Attempting uninstall: urllib3
Found existing installation: urllib3 1.26.8
Uninstalling urllib3-1.26.8:
Successfully uninstalled urllib3-1.26.8
Attempting uninstall: pycparser
Found existing installation: pycparser 2.21
Uninstalling pycparser-2.21:
Successfully uninstalled pycparser-2.21
Attempting uninstall: idna
Found existing installation: idna 3.3
Uninstalling idna-3.3:
Successfully uninstalled idna-3.3
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 2.0.12
Uninstalling charset-normalizer-2.0.12:
Successfully uninstalled charset-normalizer-2.0.12
Attempting uninstall: requests
Found existing installation: requests 2.27.1
Uninstalling requests-2.27.1:
Successfully uninstalled requests-2.27.1
Attempting uninstall: cffi
Found existing installation: cffi 1.15.0
Uninstalling cffi-1.15.0:
Successfully uninstalled cffi-1.15.0
Attempting uninstall: cryptography
Found existing installation: cryptography 36.0.1
Uninstalling cryptography-36.0.1:
Successfully uninstalled cryptography-36.0.1
Attempting uninstall: midea-beautiful-air
Found existing installation: midea-beautiful-air 0.8.41
Uninstalling midea-beautiful-air-0.8.41:
Successfully uninstalled midea-beautiful-air-0.8.41
Successfully installed certifi-2021.10.8 cffi-1.15.0 charset-normalizer-2.0.12 cryptography-36.0.1 idna-3.3 midea-beautiful-air-0.8.41 pycparser-2.21 requests-2.27.1 urllib3-1.26.8
pi@polyglot:~/.local/bin $ midea-beautiful-air-cli
Traceback (most recent call last):
File "/home/pi/.local/bin/midea-beautiful-air-cli", line 8, in
sys.exit(cli())
`
The midea file does correctly list my python3.9 location in the first line, so not sure why still not working.  Again, thanks for the hand holding on this.  I am sure it is not a bug, but rather something I am not doing right.

Indeed there was regression that was not caught by unit tests. It's fixed now in new v0.8.42.

Well, we are getting closer!  Still erroring out however.  Sorry to bother you with this, and I really appreciate your sharing your code.
pi@polyglot:~ $ midea-beautiful-air-cli discover Traceback (most recent call last):   File "/home/pi/.local/bin/midea-beautiful-air-cli", line 8, in <module>     sys.exit(cli())   File "/home/pi/.local/lib/python3.9/site-packages/midea_beautiful/cli.py", line 296, in cli     return function(args)   File "/home/pi/.local/lib/python3.9/site-packages/midea_beautiful/cli.py", line 78, in _run_discover_command     appliances = find_appliances(   File "/home/pi/.local/lib/python3.9/site-packages/midea_beautiful/__init__.py", line 85, in find_appliances     return do_find_appliances(   File "/home/pi/.local/lib/python3.9/site-packages/midea_beautiful/scanner.py", line 193, in do_find_appliances     discovery.broadcast(   File "/home/pi/.local/lib/python3.9/site-packages/midea_beautiful/scanner.py", line 99, in broadcast     scanned_appliances = list(self._collect_appliances(addresses))   File "/home/pi/.local/lib/python3.9/site-packages/midea_beautiful/scanner.py", line 55, in _collect_appliances     appliance = LanDevice(data=data)   File "/home/pi/.local/lib/python3.9/site-packages/midea_beautiful/lan.py", line 209, in __init__     self._init_from_data(data)   File "/home/pi/.local/lib/python3.9/site-packages/midea_beautiful/lan.py", line 252, in _init_from_data     reply = self._security.aes_decrypt(data[40:-16])   File "/home/pi/.local/lib/python3.9/site-packages/midea_beautiful/crypto.py", line 338, in aes_decrypt     decryptor = cipher.decryptor()   File "/home/pi/.local/lib/python3.9/site-packages/cryptography/hazmat/primitives/ciphers/base.py", line 98, in decryptor     from cryptography.hazmat.backends.openssl.backend import backend   File "/home/pi/.local/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/__init__.py", line 6, in <module>     from cryptography.hazmat.backends.openssl.backend import backend   File "/home/pi/.local/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 64, in <module>     from cryptography.hazmat.bindings.openssl import binding   File "/home/pi/.local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 14, in <module>     from cryptography.hazmat.bindings._openssl import ffi, lib ImportError: /usr/lib/arm-linux-gnueabihf/libssl.so.1.1: version OPENSSL_1_1_1' not found (required by /home/pi/.local/lib/python3.9/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so)
`

You seem to be using debian 9 (stretch) and openssl doesn't exist in version 1.1.1 for it. You can try to force install cryptography 3.x (https://pypi.org/project/cryptography/#history). Otherwise you may upgrade to debian 10 buster as stretch will be out of LTS by end of June this year (https://wiki.debian.org/LTS).

That I am sure was it.  I had that one Pi running an old OS for another program.  I will move to a Pi with updated OS.  Thanks again for all the help!


Tests - setup

In relation with #40, this PR brings the following:

[x] adds a CI workflow for running tests with GH Actions
[x] adds tests coverage with istanbuljs, rollup-plugin-istanbul, nyc, jest and playwright-test-coverage
adds tests base:

[x] unit tests (Jest + istanbuljs)
[x] integration (Jest + istanbuljs)
[x] end-to-end (Playwright)

[x] coverage report merging (NYC) from all test types
[ ] implements testing of - at least - the following (as in #40):

[ ] dragging on all types of charts is working
[ ] dragging on stacked charts is working
[ ] dragging to 0 is working
[ ] the callbacks are provided with the correct function arguments
[x] rounding of values is working correct
[ ] dragData: false within a dataset is working as expected
[ ] touch device support probably no proper API in Playwright exists for that

[ ] implements tests having a reasonable code coverage level
[ ] code coverage CI integrated with a cloud coverage platform for bot report comments, history & badges

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


xSQLServerScript complains about duplicates when reusing scripts

Details of the scenario you try and problem that is occurring:
I am using an xSQLServerScript to restore four databases.  After perfecting the first one, i am unable to reuse the scripts in their entirety.
Now, i am trying to run this four different times, changing the name of each section and the variable i am using to pass the parameters.  I see no reason that i cannot reuse the scripts as i have written them to be generic enough to pass unique information each time i change the variables.
But right now, the only way I can make this work is to copy and paste the test file script and rename it for each new database I restore.
Here is the TSQL script I am using:
RESTORE DATABASE [$(TSQL_DB)] FROM DISK = '$(TSQL_SRC)' WITH  MOVE '$(TSQL_DATA)' TO '$(TSQL_DATA_FILE)',  MOVE '$(TSQL_LOG)' TO '$(TSQL_LOG_FILE)',  RECOVERY, REPLACE, STATS = 10;
If these keys are required, then I propose a fifth key to allow the uniqueness to be defined.
The DSC configuration that is using the resource:
    xSQLServerScript RestoreDB {
        ServerInstance       = "localhost"
        SetFilePath          = "C:\source\sqlscripts\xScript_CreateDBFromBackup.sql"
        TestFilePath         = "c:\source\sqlscripts\xScript_TestForBackup.sql"
        GetFilePath          = "c:\source\sqlscripts\xScript_TestForBackup.sql"
        Variable             = $Node.RestoreDBParms
        PsDSCRunasCredential = $Node.LocalAdminAccount
        DependsOn            = "[File]RestoreBackupFile"
    }

Version of the Operating System and PowerShell the DSC Target Node is running:
Windows 2012 R2 with WMF 5.1
Version of the DSC module you're using:
xSQLServer <IP_ADDRESS>

@DarenDaigle Since this is SQLServer specific, please make sure you post your Issue in the xSQLServer repo: https://github.com/powershell/xsqlserver. Thanks

Wow, i was on the wrong screen.  please close this...


Not setting temperature accurately

I setup the app to work with my new Alexa. It seems to have trouble setting the temperature accurately and some functions are not supported.
Example:
Current setting is 72. "Computer, set Thermostat to 74" results in thermostat getting set to 77.
Current setting is 72. "Computer, increase Thermostat by 2 degrees" results in thermostat getting set to 78.
"Computer, what the is the temperature of my Thermostat" results in "Thermostat doesn't support that"
"Computer, what is Thermostat set to?" results in "Thermostat doesn't support that"

Upgraded to version 2.0 and it's now working. Closing.


Test: Add NACK message in log checks.

Refactored the log messages checker and added NACK message
Fix #4003
Signed-off-by: Eloy Coto<EMAIL_ADDRESS>

test-me-please

test-me-please

test-me-please


How to config sending alert to email

What did you do?
I installed prometheus-operator. Now I want to config to send an alert to my gmail. But I don't know where is the config file. I didn't found any configmap for alertmanager. How can I do that ?
Did you expect to see some different?
Environment

Prometheus Operator version:

Labels:                 app=prometheus-operator-operator                         chart=prometheus-operator-8.5.0                         heritage=Helm                         release=prometheus-operator

Kubernetes version information:
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.1", GitCommit:"d647ddbd755faf07169599a625faf302ffc34458", GitTreeState:"clean", BuildDate:"2019-10-02T17:01:15Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.7", GitCommit:"6c143d35bb11d74970e7bc0b6c45b6bfdffc0bd4", GitTreeState:"clean", BuildDate:"2019-12-11T12:34:17Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:
I installed k8s using kubeadm on bare metal

Manifests:

insert manifests relevant to the issue

Prometheus Operator Logs:

insert Prometheus Operator logs relevant to the issue here

Anything else we need to know?:

See also https://www.robustperception.io/sending-email-with-the-alertmanager-via-gmail for an example of Alertmanager configuration sending alerts to Gmail.

@simonpasquier : Thank you. But I resolved my problem. I edited the configmap "prometheus-operator-grafana". And add blow code in grafana.ini section, and turn off the feature in gmail "Less secure app access", the it done
[smtp]
    enabled = true
    host = smtp.gmail.com:587
    user = buichitai
    password = "mypasss"
    ;cert_file =
    ;key_file =
    ;skip_verify = false
    from_address =<EMAIL_ADDRESS>    from_name = Taibc
    ;ehlo_identity = dashboard.example.com


map.forEachFeatureAtPixel in 3d View

Hello,
first of all: cesium is awesome! I'm struggling to find a function like map.forEachFeatureAtPixel, which will work in the 3d view. I'd like to select multiple features, which overlay each other in the same location. Any help would be much appreciated!

It is not the appropriate place for Cesium API questions.
You can certainly find answers in the Cesium API reference doc or using the Cesium mailinglist
https://groups.google.com/forum/#!forum/cesium-dev.

Relevant discussion: https://github.com/openlayers/ol3-cesium/issues/344#issuecomment-214098148


Add Stack v2.13.1

Stack v2.13.1 was released with official support for GHC 9.6.X and is now also present in GHCup (haskell/ghcup-metadata#132).

Thanks for the alert!


Create Token.sol

Basic token + basic functions?

Can you please merge into the token branch so that we can have your final version there to be merged with governance's files?

Hello, Yuren, could you please request review all of us next time?
I remeber that for Devops group, we have 4 people: Calida, Stellen,Yuren and Yunjie. But why when you did something, you only assigned and requested review from Calida and Stellen and did not send me any message on github or in our whatsapp group?
Considering that Professor will look at our github activities, I advice you to treat all teammates fairly when you try to do something.
Please don't do things secretly. Please remember that we work as a team and I have always participated in teamwork. Please don't create the illusion that I don't participate in github activities! Thank you in advance!


Make some file specific commands work in both explorer and editor

Some of our commands are duplicated to either run in explorer or the active editor:

Copy File Path
Reveal File in OS

Some of our commands are only supported in the explorer:

Delete (move to trash & bypass trash)
Rename

We should align this and have 1 command for each that works from either explorer or active editor:

[ ] : copyFilePath to replace workbench.action.files.copyPathOfActiveFile
[ ] : revealFileInOS to replace workbench.action.files.revealActiveFileInWindows
[ ] : moveFileToTrash
[ ] : deleteFile
[ ] : renameFile

Will revisit this when redoing the context menu in files explorer, closing as dupe.


throw a useful error message when the timeline is empty

this just got me. forgot to push anything onto the timeline and the error was cryptic at best.

Is the error also thrown when the timeline is undefined? Only when the timeline is defined as an array object but remains empty timeline.length == 0? Or both? It might be helpful to create verbose error messages for each, especially given the core nature of timelines.

Verbose errors for both seems like the right way to go.
(This is a general problem across the project that needs attention. Lots of places where we could provide more descriptive error messages.)


gets settings from metadata when adding sources

A picture tells a thousand words
Before this PR

After this PR

Coverage decreased (-0.6%) to 36.727% when pulling f8fb1e3c1d846c237adba1ebe1b88d327681f29c on minMaxZoomAndBoundsFromJson into 0f0ac7c3c6121fd5ffd908e0c54ef8d3db960c93 on master.


Unable to download file: Error: RegexNotFoundError: Unable to extract uploader id;

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.12.17
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

PASTE VERBOSE LOG HERE

shree@trinetra:~/Music/AsthaChattani$ youtube-dl -v https://www.youtube.com/watch?v=-mKGz-8m2Jw
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=-mKGz-8m2Jw']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 2.7.17 (CPython) - Linux-5.4.0-139-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.11, ffprobe 3.4.11
[debug] Proxy map: {}
[youtube] -mKGz-8m2Jw: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Description

WRITE DESCRIPTION HERE
I was trying to download a YouTube video as usual, but this time it was not downloaded. I was suggested to upgrade using youtube-dl -U, and even after that it was showing the error.  I recopied the link from browser and tried it and then also the error persists.

[x] I've searched the bugtracker for similar bug reports including closed ones

Learn how by reading #30839 (again?).

[x] I've read bugs section in FAQ

Apply this.


sst_importer: make the download speed limit global

Signed-off-by: kennytm<EMAIL_ADDRESS>
What have you changed?
Support the new gRPC SetDownloadSpeedLimit. This sets the speed limit for the entire TiKV service, unlike the previous version which the limit is per-download.
What is the type of the changes?

Improvement (a change which is an improvement to an existing feature)

How is the PR tested?

Unit test

Does this PR affect documentation (docs) or should it be mentioned in the release notes?
No
Does this PR affect tidb-ansible?
No
Refer to a related PR or issue link (optional)
Blocked by pingcap/kvproto#485
Benchmark result if necessary (optional)
Any examples? (optional)

/run-all-tests #3902
PTAL @overvenus @5kbpers

/test #5676

/merge


CCH22-21: Adjust the snippets/kotlinDsl/multiProjectBuild sample for configuration cache

The sample project located under subprojects/docs/src/snippets/kotlinDsl/multiProjectBuild does not meet the configuration cache requirements.
The build script in the kotlin part of the sample project needs to be adjusted to follow the requirements.
Context
This issue is a part of the Gradle Configuration Cache Hackathon 2022.
If you wish to participate and contribute the fix, please follow the suggested workflow.
Expected behavior

The sample project is fixed so that the related documentation tests pass with configuration cache enabled.
The tests related to this sample project are removed from the testsToBeFixedForConfigurationCache list in subprojects/docs/build.gradle. You can find the test IDs below.
The doc pages that include the snippets from this sample project might need to be updated to be consistent with the sample. Feel free to ask the team for help with this! You can find the pages listed below.

Test failure details
These tests running in :docs:docsTest check the sample project and are failing with configuration cache enabled:

snippet-kotlin-dsl-multi-project-build_kotlin_build.sample(Build Scan)Could not resolve all files for configuration ':domain:compileClasspath'.

How to reproduce
To reproduce the failure in the Gradle documentation tests, run the following in the gradle/gradlerepository:
./gradlew :docs:docsTest \
    -PrunBrokenConfigurationCacheDocsTests=true \
    -PenableConfigurationCacheForDocsTests=true \
    --tests "*snippet-kotlin-dsl-multi-project-build_kotlin_build.sample"

In the test build outputs, which you can find in the test report, the configuration cache problems are listed along with the URL pointing to the detailed HTML problems report that can help investigating the violation.
You can find more instructions on working with the sample projects in the FAQ.
Docs including the snippets from this sample project
The following doc pages include the snippets from this sample project:

subprojects/docs/src/docs/userguide/api/kotlin_dsl.adoc;

Hello, I'd like to work on this one.

@molmsted98 thanks, have fun!

@molmsted98 how's it going? Need any guidance or resources?

Hi, I would like to claim this :)

Hack away!

Ready for review!


Contact Us Form

Description
Responsive Contact Us form
Screenshots

Additional information
No response

I would like to work on this issue. Could you please assign this issue to me?

I would like to work on this issue if this not resolve yet.
Could you assign this issue to me?


Add install sections to README

Fixes #51

Codecov Report

Merging #53 into master will not impact coverage.

@@          Coverage Diff          @@
##           master    #53   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           5      5
  Lines          82     82
=====================================
  Hits           82     82

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 4c6dbfb...c1a8557. Read the comment docs.


Values flag from stdin

We would like to use the README-generator for our special case where we have multiple helm-repositories, each with their own values.yaml file. We would like to "condense" the different parameters into a single README-file.
This does indeed work, if we firstly concat all the values.yaml files into one and the let the generator use that yaml (it even understands multiple mentions of the same section and sorts them together!).
Is it possible to pipe the values.yaml from stdin? That way, we could pipe all values.yaml's into one call. If not, what would be the intended way to do what we are trying to do?

This may be closed. I was missunderstanding how to use the tool / pre-commit. I guess the "preferred" way is to have one README per values file. With the pre-commit hook I can simply add multiple such "mappings".