Long passwords or passwords with spaces don't work (One of the two)

Set my password to "agape wichita laden bavaria audacity", tried to log in, and it failed.

I just tested auth by setting user/pass via command line options and env variable using your example password and everything works. Could you provide full command that you're using to start pgweb? Also, which version are you on?

Sure. The setup is via the "Deploy To Heroku" button.

I pressed the button.
I created the instance.
I deleted the hobby addon.
I added a new Standard 0 database.
I restarted.
I changed the AUTH_PASS url to the password.
I restarted.
I tried to login, failed.
I changed to xxxx.
I restarted.
I successfully log in.

Ah, i see. You're trying to set password with spaces as an environment variable. AFAIK that wont work on Heroku and thats why you're getting auth failures.

Dang!
On Fri, Dec 30, 2016 at 10:53 AM, Dan Sosedoff<EMAIL_ADDRESS>wrote:

Ah, i see. You're trying to set password with spaces as an environment
variable. AFAIK that wont work on Heroku and thats why you're getting auth
failures.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sosedoff/pgweb/issues/210#issuecomment-269808114, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAUb2aKbtfzLtQC8aWdBu7MrllJVfGg3ks5rNVMhgaJpZM4LUsSQ
.

--
Kurtis Rainbolt-Greene, Software Developer
Founder of Difference Engineers
2985 San Marino St.
Los Angeles, CA 90006
202-643-2263

Closing this since the issue has nothing to do with pgweb.


Support for Pentiment

Game name: Pentiment

WGS Zip: wgs.zip

Game package name: Microsoft.OE-Missouri_8wekyb3d8bbwe

Duplicate of #60


How to import multiple images with same UPC ?

i just try to populate product with command in django oscar
sites/sandbox/manage.py oscar_import_catalogue_images sites/sandbox/fixtures/images.tar.gz
and its work, but only for one image in one UPC.

I don't think you can. The importer is very much a barebones tool that is intended primarily to get the sandbox site running quickly - if you want to import your own data you will very likely have to extend the built-in importer class to do so.

Try to add another gzip file or dir and that images will be attached as secondary

what do you mean is in the main zip file there are another zip files?

No. Just a few zips images-1.gzip images-2.gzip etc. And pass it one by one to the importing command as parameter15:00, 8 мая 2018 г., robbiibadi notifications@github.com:what do you mean is in the main zip file there are another zip files?
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.
Отправлено из мобильной Яндекс.Почты: http://m.ya.ru/ymail

I believe the topic is already covered, so closing the issue.
In case of new questions/issues, feel free to re-open or create a new one.


Creative Cloud Panels not working anymore

Microsoft PowerToys version
0.57.2
Running as admin

[X] Yes

Area(s) with issue?
General
Steps to reproduce
Open any pop up window in inDesign, Illustrator
✔ Expected Behavior
The window should open with all the settings (does work in older versions)
❌ Actual Behavior
Either a blank window opens with no settings whatsoever (however, you can still controll it using the arrow keys) or only the shadow of the window appeares.
Other Software
InDesign 1.17.2

You have to activate either "Allow popup windows snapping" or "Allow child windows snapping" in the FancyZones settings.


Documentation for many cmdlets in this module is missing.

There are many more cmdlets in this module than listed in the document. Here is the current list:
Connect-AADCloudSyncTools
Export-AADCloudSyncToolsLogs
Get-AADCloudSyncToolsInfo
Get-AADCloudSyncToolsJob
Get-AADCloudSyncToolsJobSchedule
Get-AADCloudSyncToolsJobSchema
Get-AADCloudSyncToolsJobScope
Get-AADCloudSyncToolsJobSettings
Get-AADCloudSyncToolsJobStatus
Get-AADCloudSyncToolsServiceAccount
Get-AADCloudSyncToolsServicePrincipal
Install-AADCloudSyncToolsPrerequisites
Invoke-AADCloudSyncToolsGraphQuery
Remove-AADCloudSyncToolsGroupMembers
Repair-AADCloudSyncToolsAccount
Restart-AADCloudSyncToolsJob
Resume-AADCloudSyncToolsJob
Set-AADCloudSyncToolsJobSchema
Set-AADCloudSyncToolsTenantId
Start-AADCloudSyncToolsVerboseLogs
Stop-AADCloudSyncToolsVerboseLogs
Suspend-AADCloudSyncToolsJob
Who owns this doc and keeps it up to date?

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

ID: 21a64be2-e521-00c7-1e9a-a79056381520
Version Independent ID: c1003cf0-4077-a140-7c54-ac8c10e9b047
Content: AADCloudSyncTools PowerShell module for Azure AD Connect cloud sync - Microsoft Entra
Content Source: articles/active-directory/cloud-sync/reference-powershell.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@RobdeJong
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@billmath
Can you please check and add your comments on this doc update request as applicable.

Thank you for submitting this issue.  Unfortunately, due to high volumes I was unable to respond to this in a timely manner.  At this point, I am going to close this due to it's age and the possibility that it may have been addressed.  If this is still a problem, please consider submitting a new issue.  Thank you.
#please-close


Move ghe_domain to Environment value

https://github.com/whywaita/myshoes/pull/61 changed the method of authentication.
one myshoes uses one GitHub Apps.
So, myshoes host only one ghe_domain.
targets table does not need to has a ghe_domain column.

hi @whywaita how can i help with this task ?

hi @Damola12345!
I added How to contribute in README. https://github.com/whywaita/myshoes/pull/144
Please check it.


TP Link Tapo?

Not a bug report.  Future enhancement possibly.
Are there any plans to support TP-Link Tapo devices in the future?
Thanks for your work on this plugin!
John

I too would like this feature.
Paul


Add Jörmungandr binary decoders for legacy funds

Issue Number

#779
Overview

[x] I have force the legacy API to use only 'Mainnet discrimination (even on the Testnet!). Addresses in the genesis file will be Mainnet addresses, so we need the ability to recognize them even if running on testnet.

[x] I have started a first implementation of binary decoder for the legacy funds. The format for legacy funds is different from the format used for standard genesis fund. The message payload contains only a list of txout (address, value) with no associated inputs? It is still unclear to me what these inputs should be and how we could realistically handle these legacy funds

bors try

Merged intoo #916


Refactor _get_ordering

Depends on django-nonrel/djangoappengine#9

Looks better than before and works at least on the dev server (provided you merge both the toolbox and appengine changes).

Your changes look great!

Okay seems to work out great on both MongoDB and App Engine so I consider this Ready-To-Merge (tm)
I'm going to wait for additional feedback for a few hours to give people with absurd time zones to chance to have a look into it :-)

Added some simple tests. All works on GAE production server too; +1 for a merge.

Let's do it


[Bug] Clicking on request result in runner cause Bruno app to be completely empty

After clicking on request result in Runner tab whole Bruno application changes to empty and I have to restart it to be able continue working with it.

Affected version: 0.26.0
It looks like this bug was introduced in #622

Yep, looks like I missed that one in my PR, Thanks for the quick fix.
We also should look into having some kind of "error boundary" to show an error message instead of a blank screen.

We already have an Error Boundary, but for some reason it's not working right, in the release build. After building Bruno locally, the Error Boundary Works:

Yeah, its quite strange. In the production build, the error boundary works at some places, but doesn't at others.
Closing this ticket as the fix has been delivered by @martinsefcik in v0.27.0


Internal Assessment of bias correction methods

We agreed with our Met Office colleagues the metrics to be used to assess bias correction methods (there's a summary of that here).

MVP: 1 method
Stretch Goal: 3 methods

I will put together an example notebook of what to be applied. Once that's done the tasks would be:

[ ] Rewrite in python (be interesting to compare assessment metrics across R and python)
[ ] Run for debiased data (separately for each method or package) for the 3 cities
[ ] There are further considerations about the variable specific metrics to use (eg how to calc drought, and precip)

Next steps:

Upload HTML to Github to share first notebook draft

Would it make sense to tie this to #97 ?


Adding shipping/invoice countries

According to the Getting Started guide, I should be able to set the shipping and invoice, as well as the default shipping country (under "Shop -> Preferences -> Default Values").
However, the only choice available to me for all three is "USA".
How would I go about adding more countries?

Go to Django's admin / countries and add the countries you need.
K.
--
IQ++
Tel: +49 361 / 6636700
Fax: +49 361 / 6636702
Mail<EMAIL_ADDRESS>Web: http://www.iqpp.de
Skype: kai.diefenbach

Am 16.02.2015 um 08:21 schrieb Happy-Ferret<EMAIL_ADDRESS>According to the Getting Started guide, I should be able to set the shipping and invoice, as well as the default shipping country.
However, the only choice available to me for all three is "USA".
How would I go about adding more countries?
—
Reply to this email directly or view it on GitHub.


Upgrade terraform-provider-kafka to v0.5.3

This PR was generated via $ upgrade-provider pulumi-kafka.

Upgrading terraform-provider-kafka from 0.5.2 to 0.5.3.
Upgrading pulumi-terraform-bridge from v3.38.1 to v3.44.3.
Fixes #145

This update is BLOCKED until https://github.com/Mongey/terraform-provider-kafka/issues/329 is resolved.


ci: revise azure pipelines config to report branch and service name to coveralls

See the screenshot of results when combined with #1557, as was the case for this WIP commit before I broke it up into two PRs.


MAUI eBook configuration management

Summary
Configuration management chapter for .NET MAUI eBook

These are the warnings that are causing build errors (that will need to be addressed before approving and merging):
The docs/architecture/maui/index.md file:

Line 73: [Warning] Link 'https://docs.microsoft.com/en-us/dotnet/maui/get-started/first-app' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 77: [Warning] Link 'https://docs.microsoft.com/en-us/dotnet/maui/' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 84: [Warning] Invalid file link: 'introduction.md'.
Line 73: [Suggestion] Absolute link 'https://docs.microsoft.com/en-us/dotnet/maui/get-started/first-app' will be broken in isolated environments. Replace with a relative link.
Line 77: [Suggestion] Absolute link 'https://docs.microsoft.com/en-us/dotnet/maui/' will be broken in isolated environments. Replace with a relative link.

I'd recommend removing the locales from all URLs, they're not needed and cause warnings/errors. Instead of absolute links, use relative.
The docs/architecture/maui/toc.yml file:

Line 5: [Warning] Invalid file link: 'preface.md'.
Line 7: [Warning] Invalid file link: 'introduction.md'.
Line 9: [Warning] Invalid file link: 'mvvm.md'.
Line 11: [Warning] Invalid file link: 'dependency-injection.md'.
Line 13: [Warning] Invalid file link: 'communicating-between-components.md'.
Line 15: [Warning] Invalid file link: 'navigation.md'.
Line 17: [Warning] Invalid file link: 'validation.md'.
Line 21: [Warning] Invalid file link: 'micro-services.md'.
Line 23: [Warning] Invalid file link: 'authentication-and-authorization.md'.
Line 25: [Warning] Invalid file link: 'unit-testing.md'.
Line 27: [Warning] Invalid file link: 'accessing-remote-data.md'.

I'd recommend adding these files, even if they're empty. This will remove the warnings/errors, and allow you to have a solid outline for the eBook.


Add experimental support for DANE / TLSA

This commit adds experimental support for DANE validation of TLS server certificates with the libval library from the DNSSEC-Tools package, like the irssi implementation.
You have to patch Csocket to use it, as the library requires the ssl object to test the certificate(s) directly. I'll open a PR there if this one is well received.
I've tested the PKIX-EE(1) and DANE-EE(3) usages with both valid and invalid records, I was unable to test PKIX-TA(0) or DANE-TA(2). DANE-EE should be the most common usage anyway, it's the one that validates self-signed certs.
As this is the biggest C++ patch I've ever written, I'll appreciate any feedback. :-)
Fix #784.

You have to patch Csocket to use it, as the library requires the ssl object to test the certificate(s) directly. I'll open a PR there if this one is well received.

I highly doubt this is merged until there is PR at Csocket.
https://github.com/jimloco/Csocket

Ok, I've put the DNS query in another thread if HAVE_THREADED_DNS is defined. However, as it is the first time I use threads in C++, I would really appreciate if someone could verify I did not do something stupid.
I've also tested PKIX-TA(0) or DANE-TA(2), which work.

Right now ZNC creates 2 jobs in separate threads for sockets: DNS resolving of target host, and DNS resolving of bind host. Maybe this should just be a third one?

Yes, it should be easier :)
Thanks @psychon for your feedback. You were right, there was an issue with the destructor. With @DarthGandalf's suggestion, it's gone and there no need for CThreadPool::waitForJob() either.

@ahf you're more familiar with DANE than me. Does this look fine?

Rebased on top of master and replaced NULL by nullptr.

Rebased on top of master.
I've try to comply with the new coding style, but I may have forgotten some bits, please review it.

I've hopefully fixed the 2 issues, and added a comment to explain the reason behind the branch.
However, further testing has shown that the library I've used, libval 2.0, suffers from major flaws that prevent it from being used. The implementation of usage DANE-TA(2) is broken and allow to bypass the certificate validation entirely.
Some possible solutions:

Disable DANE-TA(2):

DANE-EE(3) is more likely to be used, as it works with any type of certificates, including self-signed ones;
DANE-TA(2) requires a self-signed CA used to sign several certificates, which is less common; and these certificates need to be valid (not expired, and match the server name);
DANE-TA(2) can be replaced by DANE-EE(3) by listing all the possible certificate in the DNS;

Use libval 2.1, which is much more secure, but is not yet packaged and has a different API;
Use another library. Maybe gnutls?
Wait until DANE support is added to openssl.

I will try to use libval 2.1 instead, in the meantime, this PR should not be used.

Hm.
Good that you've noticed the issue.

Is there an upstream bug, or maybe CVE, about it?

Use another library. Maybe gnutls?

GNUTLS won't work, because it's DANE depends on Unbound which again depends on OpenSSL and Debian and other distributions aren't packaging it with DANE support for this reason.
Via https://github.com/weechat/weechat/pull/121

Is there an upstream bug, or maybe CVE, about it?

I've not found any CVE nor bug report, even though the developers have been aware of the issue since 2013, from a review on the DANE working group mailing-list.
However, version 2.0 is no longer supported and has been replaced by version 2.1. The main reason I've used it is because it's the version packaged in Debian testing.

GnuTLS issue on unbound (and OpenSSL or nss) depedency: https://gitlab.com/gnutls/gnutls/issues/21

For those of you who were interested, here is the Debian bug report for libval


Definition of Done for Homelessness MVP Release?

Adding user stories below - please comment on what we should, and should NOT be doing.
The biggest priorities for me:

User Story: As a member of the Joint Office of Homelessness, I want to be able to upload the 2017 PIT data to update the API's, and the site.
Tasks: Finish existing cards - kill bugs, clean up
Add onboarding card.

@meganmckissack could you update this with the general timeframe/roadmap info when that's available?

We're already tracking this by way of the Github project, and some of what's here is already out of date, so killing this one...


Table sticky headers/footer scrollbar position

Bug, feature request, or proposal:
proposal
What is the expected behavior?
Show scrollbar for table body.
What is the current behavior?
Scrollbar showed for table with header and footer.

What are the steps to reproduce?
https://stackblitz.com/edit/angular-kzamgk?file=app%2Ftable-sticky-header-example.html
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material 6.4.7
Is there anything else we should know?

@Knoxvillekm it's not clear what you're referring to here

One problem, when the scroll bar is located in the content only, is that the header of the table gets offset and you have to add some additional js to detect the overflow and correct the header width to fit the table width.
Depending on how you implement it, you might have some problems with the header's columns width  not matching the columns of the table's content.
This effect varies depending on the width constrains and overflow rules you might apply.
In my opinion, it implies a big overhead for a very small benefit.
I admit I think it would looks a tiny little bit better,
but again I think it's fine as it is and I would prefer to avoid additional js bindings.

@RudolfFrederiksen https://codepen.io/manju-reddys/pen/YRQNVO no script used.

@manju-reddys The table headers are  not aligned anymore with the content, that's what a script is needed for: to detect if you have a scrollbar or not, and adjust the header accordingly.

We use the browser's native sticky positioning, so changing the appearance is out of our control


Skipped a division by zero in ImageDataGenerator that occurs with 0'ed arrays

When ImageDataGenerator attempts to write arrays to image files (if one is using the save_to_dir arg), it divides by the max value in the array as part of its conversion to pixels. If the entire array was 0's, the process fails because it cannot divide by 0. In this case, the process can be skipped because it does not effect the augmented data.
For my own testing with the occasional completely blank (0s) image mask, I wrote this fix for the division by zero problem on blank images. If it looks appropriate, please merge it with the repo. Thanks!

LGTM


change the name of the project pls.

I'm sad to see what the project has become :')

it is much better than apollo. that one cannot eat one


pipenv: add completion

Motivation for this change
Add bash, zsh, fish shell completions for pipenv.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Use installShellCompletion instead of doing it manually

Use installShellCompletion instead of doing it manually

Thanks for the review :) I made a change for pipenv to use installShellCompletion


Removed client token from MinecraftProtocol

Client token is NOT part of the Minecraft protocol.
In fact it's only used by the Mojang authentication that is going to be discontinued soon.
This change is required for: https://github.com/GeyserMC/MCAuthLib/pull/1

Going to hold off on merge to see how the linked PR ends up first.

Yes, that was the idea.
Btw I fixed a typo in the first comment

MCAuthLib changes are still pending, but I'm going to go ahead and merge this since I think it would be a good idea to start encouraging doing authentication outside of MinecraftProtocol.


dart-internal engine drones should not show in build dashboard

https://flutter-dashboard.appspot.com/#/build?repo=engine&branch=flutter-3.13-candidate.0
Drone builds can have several duplicate results, and are irrelevant to the CI status. For example, the release branch should be completely red, but these give a false positive by showing green.

@CaseyHillers Security has been working on functionality so that dart-internal drone builds appear in the dashboard, instead of having to check two places (flutter-dashboard and the luci console), so it's intended that they are there. Could you clarify what you mean by "False positive"? It seems like those dart-internal builds did succeed.
I'm currently investigating the issue with the duplicate drone builds not showing up in different columns like they should.

Could you clarify what you mean by "False positive"?

No build should have successfully ran on these branches as the recipe bundle didn't exist. I filed https://github.com/flutter/flutter/issues/new for tracking that as a separate issue.
Regardless, the drones aren't the final state. A drone build can be retried several times by the parent build, and showing that in the build dashboard will create noise.
Lastly, in the engine v2 world, a given commit will have ~100 drone builds, and showing that all in 3 columns is misleading.

Regardless, the drones aren't the final state. A drone build can be retried several times by the parent build, and showing that in the build dashboard will create noise.
Is there a frontend change we can make to make it clear that these builds are dart-internal, to avoid the noise? I created https://github.com/flutter/flutter/issues/124632 a while ago but have not determined a good way to do so.

Lastly, in the engine v2 world, a given commit will have ~100 drone builds, and showing that all in 3 columns is misleading.
This is an issue I'm looking into right now, and is unintended. Each build should have its own column.

@CaseyHillers I thought about it a bit and realized that I don't understand the context around why we decided to publish results on the drones instead of their parent. With that being said, I'm not seeing a reason we couldn't instead publish results after the release_builder recipe instead, which is the parent of the entire set. That would also significantly reduce noise, as there would only be 3 results, one for each platform.

The issues that brought about this bug are also related to https://github.com/flutter/flutter/issues/130516, so I will close this in lieu of that issue.


Use Cloud drives without installing different software

What's the Problem?
Please. Just fix the name of this post.
Different software you have to install to get access to cloud storage also eat processing power and take a long time. We can solve that by making you be able to log in cloud services via their API.
Support:
*Google Drive
*OneDrive
*iCloud Drive
*Dropbox
*Box
*MEGA
*MediaFire
*Calyx cloud
Solution/Idea
Add support to log in to cloud services via this app. Their API allows it.
Support:
*Google Drive
*OneDrive
*iCloud Drive
*Dropbox
*Box
*MEGA
*MediaFire
*Calyx cloud
Alternatives
Installing all the software
Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

Files Version
Not installed because my laptop has a slow hard drive.
Windows Version
Android 10.0 "Queen Cake", planning to get a PC
Comments
No response

Also add:
*iCloud Photos
*Google Photos
*Google Contacts
*Google Calender
*iCloud Contacts
*iCloud Calender
*Microsoft Contacts, Calender, and to do
*iCloud iOS Backup
*Google Drive Android Backup

Should note that the extras in your comment are not cloud drives.

@yaichenbaum

Thank you for your feedback, maintaining each API is a project on its own and we don't have the bandwidth to support this.


Make the frames version a separate output mode

Original reporter: duncan
The frames version of the html haddock output is almost universally ignored. That is the files:
frames.html
index-frames.html
mini_$MODULE.html

which are generated to support the frames view.
Since nobody uses the frames view and it takes extra space and clutter, how about making it a separate mode.
--html         output in HTML
--html-frames  output in HTML using frames

Note: when extracting the frames code from the normal code, make sure to omit the on-load code from the html head:
<SCRIPT TYPE="text/javascript">
window.onload = function () {
  setSynopsis("mini_Distribution-Simple.html")
};
</SCRIPT>

Frames are obsolete in HTML5, so eliminating them is probably a good idea in the long run.  That being said, a (collapsible?) navigation panel can still be useful.


iso 100 template seems to erroneously reference tenkeyless

"This file contains the `defsrc' configuration for a standard ISO ten-key-less
keyboard. Modelled on a standard European 100% keyboard."
This sentence looks weird to me, since the configuration very clearly contains a numpad.

Someone forgot to change this while copying the template :)  Fancy opening a PR?

The template was probably copied from the ten-key less template; someone
just forgot to adjust the message.  Would you like to open a PR that
fixes this?


Would it be possible to make a release?

If we change the code then yes. That's probably pretty unlikely at this point though.


fix: get deepest descendent for mobile tabs

trying to render children didn't work for mobile tabs from MDX pages because the text we need to render is nested two components deep. this change traverses the children of the component passed in until we get to an element that has no children and renders that, which for tabs is just a string

@LizBaker i removed a bit of debugging code i accidentally left in the commit, it stale-ized your review but nothing of consequence actually changed


Ikea-L1616: fix author and created_at

See https://github.com/bramstroker/homeassistant-powercalc/pull/797

Thanks, must be some bug somewhere in script I made to get first committer from commit history.

Yeah, figured that could be the case. No worries :)


Zoneminder Cameras no longer working v0.79.1

Home Assistant release with the issue:
0.79.1
Last working Home Assistant release (if known):
0.78.1
Operating environment:
Ubuntu 16.04 python venv
Component/platform:
zoneminder
Description of problem:
Cameras are not longer visible in home assistant front end

There are no exceptions in log file.

Could be related to #16527.
@rohankapoorcom, could you please take a look at this? Thanks

Sure, it's likely related to that change. My guess is that the image url is different within @smingoli's environment.
@smingoli can you get me the debug log that should be created here? You'll have to make the zoneminder component log at debug to do so. See these instructions to do so.

@rohankapoorcom I'm trying to get the logs but the only thing I get is this:
2018-10-01 16:59:59 INFO (SyncWorker_11) [homeassistant.components.camera.zoneminder] Initializing camera 1 2018-10-01 16:59:59 INFO (SyncWorker_11) [homeassistant.components.camera.zoneminder] Initializing camera 2 2018-10-01 16:59:59 INFO (SyncWorker_11) [homeassistant.components.camera.zoneminder] Initializing camera 3 2018-10-01 17:00:30 DEBUG (SyncWorker_17) [homeassistant.components.camera.zoneminder] Updating camera state for monitor 1 2018-10-01 17:00:30 DEBUG (SyncWorker_6) [homeassistant.components.camera.zoneminder] Updating camera state for monitor 2 2018-10-01 17:00:30 DEBUG (SyncWorker_3) [homeassistant.components.camera.zoneminder] Updating camera state for monitor 3 2018-10-01 17:01:01 DEBUG (SyncWorker_19) [homeassistant.components.camera.zoneminder] Updating camera state for monitor 1
Maybe I'm setting the logs wrong:
logger:
default: warn
logs:
homeassistant.components.camera.zoneminder: debug

I think you'll need to set the log level to debug for homeassistant.components.zoneminder as well.

Just tried with that too.... no luck

Hmm, I thought that was supposed to set the logging so that you get the library output too. Can you try setting the global logging level to debug and seeing if you get the output?

That url looks different than mine. I have:
http://ZONEMINDER_HOST/zm/cgi-bin/nph-zms?mode=jpeg&buffer=1000&monitor=1

Are you using authentication?
Can you post your zoneminder config from configuration.yaml?

@rohankapoorcom here is my config
zoneminder:
  host: ZONEMINDER_HOST
  ssl: False
  path_zms: cgi-bin-zm/nph-zms
  username: ZONEMINDER_USER
  password: ZONEMINDER_PWD
camera:
  - platform: zoneminder

As you can see I do use authentication.....
That noauth in the log was suspicious to me......

Maybe worth a try: look at the access logs of the Apache where ZoneMinder is running. Then compare the requests of 0.79.1 and 0.76. Also maybe the error log there since that may give hints why it is failing.

@danielperna84  very good advice.
on 0.79.2
XXX.XXX.XXX.XXX - - [03/Oct/2018:09:08:13 +0200] "GET /zm/cgi-bin-zm/nph-zms?mode=single&buffer=0&monitor=2&user=USER_ID&pass=USER_PASSWORD HTTP/1.1" 404 219 "-" "HomeAssistant/0.79.2 aiohttp/3.4.4 Python/3.6"

on 0.78.1
XXX.XXX.XXX.XXX - - [03/Oct/2018:09:26:32 +0200] "GET /cgi-bin-zm/nph-zms?mode=single&buffer=0&monitor=2&user=USER_ID&pass=USER_PASSWORD HTTP/1.1" 200 - "-" "HomeAssistant/0.78.1 aiohttp/3.4.4 Python/3.7"

The problem is where HASS looks for the cgi-bin, correct with 0.78.1 and wrong with 0.79.2
I took a look at my config again and notice that my path_zms didn't have a leading slash before cgi-bin-zm
path_zms: cgi-bin-zm/nph-zms

so I changed it took
path_zms: /cgi-bin-zm/nph-zms

Now the cameras are back up and running. So I guess it's not a bug but just a change in how you have to configure HASS.

Guess we can close the issue. Thanks

@smingoli - there is definitely a bug here. zm-py is currently building the absolute zms path by combining the path with the path_zms which is incorrect since the path_zms should be everything needed to get the correct path. In your case since you were not specifying a path, the default path of /zm/ was prepended.
I've written a unit test for zm-py to catch this and will be fixing it in the next release of the library.


added new android dev course

also add in readme , will they provide free certificate ?

there is an error and please create another pr and add in both file readme and json file


Add note to avoid ADD and use COPY instead.

Docker best practices (1) and a blog post (2) recommends to use COPY instead of ADD. This PR makes it clear.

Thanks!


Fixed broken path in YAML for splade_distil_cocodenser_medium regression

Codecov Report

Merging #1838 (27d9eb2) into master (2ce877e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1838   +/-   ##
=========================================
  Coverage     57.48%   57.48%
  Complexity     1052     1052
=========================================
  Files           178      178
  Lines         10103    10103
  Branches       1392     1392
=========================================
  Hits           5808     5808
  Misses         3809     3809
  Partials        486      486

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 2ce877e...27d9eb2. Read the comment docs.


Integrate a small number of heuristics to correct common mnemonic errors

Duplicate of https://github.com/celo-org/celo-monorepo/issues/7060


Replace grafana-api-golang-client with grafana-openapi-client-go

The OpenAPI client is auto generated from the up-to-date Grafana API specification and offers more features.

For reference, this is the new client: https://github.com/grafana/grafana-openapi-client-go


"using assembly" can't find assembly in scriptdir on non-Windows because of bug in Parser.cs line:5136

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
create an assembly and run a script with the following content:
using assembly mydll.dll
[mydll.mytype]

Expected behavior
no errors

Actual behavior
ParserError: /Users/james/bin/testit.ps1:1
Line |
   1 |  using assembly mydll.dll
     |                 ~~~~~~~~~~~~~~~~~~
     | Cannot load assembly 'mydll.dll'.

Error details
line 5136:
assemblyFileName = workingDirectory + @"\" + assemblyFileName
on a Unix System, \ is not a directory separator but a valid filename character.
The fix is:
assemblyFileName = Path.Combine(workingDirectory, assemblyFileName);
Environment data
> $psversiontable

Name                           Value
----                           -----
PSVersion                      7.4.0
PSEdition                      Core
GitCommitId                    7.4.0
OS                             Darwin 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:28:58 PST 2023; root:xnu-10002.81.5~7/RELEASE_X86_64
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

FWIW, there's a "simple" one line "fix" in this same location to actually address https://github.com/PowerShell/PowerShell/issues/18482 but I hesitate to suggest it (adding Assembly.Load a few lines lower right before the ast is returned). I'm not convinced that the parser should do such a thing as load an assembly during parsing and it seems ill advised for the parser to change the state of the process (even if it already does, why add more bad actions). I haven't investigated further, but there might be a way to do a metadata load but not sure what other follow-on impact that would have.
Also, we have some pending tests which I will likely re-enable (and add to) in the PR I'm preparing.

Resolved by #21169


Frontend files UI

This PR adds the file UI in the phenopacketpage, it also adds some level of persistence between the UI components

Hi @belkassaby thanks for the code!
In overall, the File component is working like expected. There are a few things that need to be done to be 100% from my point of view:

Content of the file Description is not synchronized with column of the summary row. I'ts likely a bug, the URI is synchronized. Please add an ellipsis ([...]) of some sort to make it look reasonable with long descriptions.
When adding a mapping between sample/biosample ID and ID present in the file, we should offer from IDs present in the
Phenopacket/Family/Cohort. Right now, we offer few hard-coded values. I guess this may be a bit tricky, to keep track
of changing number of sample/biosample IDs.. :/ Do you think this can be solved?
We assume there is at most 1:1 (not 1:n) mapping between sample/biosample ID and file ID (even though
this is not explicitly stated in the docs). Therefore, once a mapping for the sample/biosample ID is added, we should
not further offer it in the combo box.
The same applies to attribute IDs. The assumption is that the file has only one fileFormat and one genomeAssembly. Once we add the pill, we should not offer the corresponding ID in the combo box.
It should be possible to add a custom attribute. Right now, only fileFormat and genomeAssembly can be added,
but in principle any key-value pair should work here. Please feel free to re-arrange the UI if it is too complicated to offer values for fileFormat and genomeAssembly IDs, and not for custom attributes. I am not fluent with Angular & Material, so I'm not sure what is easy and what's not. Perhaps a small Tab pane similar to entering age, where we have 3 tabs: fileFormat, genomeAssembly, and custom?
When adding File format and Genome assembly, it would be good to provide some suggestions. This is to prevent having variants of the same value, e.g. GRCh38, GRCH38, or VCF, vcf. We should allow any value though. We should offer the following:

file formats: VCF, BAM, SAM, BED, FASTQ, PED.
genome assemblies, let's offer GRCh37, GRCh38 (human), GRCm38, GRCm39 (mouse).

The X symbol that appears in the Attribute > Value text field does nothing. I think it should not even be there.
The Remove file dialog should ask Remove file {URI} from list? (include URI) instead of just Remove file from list?

Hi @ielis below are the answers to your questions:

Hi @belkassaby thanks for the code! In overall, the File component is working like expected. There are a few things that need to be done to be 100% from my point of view:
* Content of the file Description is not synchronized with column of the summary row. I'ts likely a bug, the URI is synchronized. Please add an ellipsis (`[...]`) of some sort to make it look reasonable with long descriptions.

This has been fixed in the later commits.

* When adding a mapping between sample/biosample ID and ID present in the file, we should offer from IDs present in the
  Phenopacket/Family/Cohort. Right now, we offer few hard-coded values. I guess this may be a bit tricky, to keep track
  of changing number of sample/biosample IDs.. :/ Do you think this can be solved?

Yes. For now I have hardcoded the list of available of Ids. But I will update this with a dynamically populated combo from the Ids available in the given phenopacket.

* We assume there is at most `1:1` (not `1:n`) mapping between sample/biosample ID and file ID (even though
  this is not explicitly stated in the docs). Therefore, once a mapping for the sample/biosample ID is added, we should
  not further offer it in the combo box.

Yes I assumed that too. I left it so it can be reselected and its value changed if needed. (it is a map so with unique keys for each id).

* The same applies to attribute IDs. The assumption is that the file has only one `fileFormat` and one `genomeAssembly`. Once we add the pill, we should not offer the corresponding ID in the combo box.

Same as above. If the user wants to change it, instead of having to delete it and re-adding it again, here we just need to reselect the wanted id and change the value.

* It should be possible to add a custom attribute. Right now, only `fileFormat` and `genomeAssembly` can be added,
  but in principle any key-value pair should work here. Please feel free to re-arrange the UI if it is too complicated to offer values for `fileFormat` and `genomeAssembly` IDs, and not for custom attributes. I am not fluent with Angular & Material, so I'm not sure what is easy and what's not. Perhaps a small Tab pane similar to entering age, where we have 3 tabs: `fileFormat`, `genomeAssembly`, and `custom`?

Yes we can do that: something like "other" or "custom", and in that case the UI would be changed from a combo selection to a input field for the custom id name.

* When adding File format and Genome assembly, it would be good to provide some suggestions. This is to prevent having variants of the same value, e.g. `GRCh38`, `GRCH38`, or `VCF`, `vcf`. We should allow any value though. We should offer the following:

  * file formats: `VCF`, `BAM`, `SAM`, `BED`, `FASTQ`, `PED`.
  * genome assemblies, let's offer `GRCh37`, `GRCh38` (human), `GRCm38`, `GRCm39` (mouse).

Since we are allowing any value, the suggestion could come as a tooltip or non exhaustive list in the given input field for the value (where it would be greyed out but give some suggestion as what to put in.)

* The `X` symbol that appears in the `Attribute > Value` text field does nothing. I think it should not even be there.

Ok Ill remove it, yes I think i thought of adding a "clear out" feature to the input. the button is there but not the function to do it.

* The `Remove file` dialog should ask `Remove file {URI} from list?` (include URI) instead of just `Remove file from list?`

Ok, I will change that.
thanks for your feedbacks!!!

Hi @ielis I think i've addressed all the points in your comment. Please let me know if that corresponds to your expectations. Thks!

Hi @belkassaby , based on the meeting, there are several items left to implement in the file UI.
Mapping between ID and file ID
Right now we have a row-like element showing the mapping. We can assume the rows represent mappings that were loaded/imported from and existing phenopacket.
Adding a new mapping
The user can add a mapping between phenopacket ID and file ID by clicking on a button. The adding is done in a popup. The popup shows a searchable input for phenopacket ID (Subject ID) and a text field for file ID (File ID). phenopacket ID lets the user choose from the existing IDs with no mappings (we assume there is 1..1 mapping between phenopacket ID and file ID).  If there is no phenopacket ID, the popup states the corresponding warning (e.g. as a red text at the bottom of the popup) and does not allow to add the mapping.
The file ID, can be set to arbitrary identifier.
Editing an existing mapping
The user can edit the mapping after double-clicking on the row or after clicking more "Angulary" thing. I do not know if an element for editing exists similar to the element for deleting (there is a small thrash bin button in Outlook to delete an e-mail, there are cross symbols at the very right ends of rows for deleting, etc.). Please select the appropriate way to edit the row.
The editing opens the same popup as for adding a new mapping, however, with one difference. The user can also keep the original ID, even if it does not exist in phenopacket, to support imported/loaded phenopackets. Otherwise, the user can only select from the existing phenopacket IDs where no mapping exists. It is not possible to enter arbitrary ID, only the original ID or the existing unmapped ID.
The file ID, can be set to arbitrary identifier.
File format
Even though the file attributes are arbitrary key-value pairs, there are 2 attribute key-value that we want to standardize: genomeAssembly and fileFormat. We should "standardize" the chip colors for these two attributes, e.g. to make sure the genome assembly is always red, file format is always blue, etc. The remaining attributes should use other colors. However, I'm generally bad in choosing colors, so let's consult this with some other people if you don't feel you can make that decision.. :)
Regarding the attribute entry/editing popup, I changed the Figma design to make it easier to implement. Please check the design and implement the changes in the popup.


Update his-update-center.md

#sign-off

@ecfan, can you help merge this? Thanks.

Resolved conflicts with recent changes.


Update AutoMLSearch to support WoodWork DataTables

Closes #1286, closes #1142, closes #1124

Holding merge until Woodwork is added to conda forge.


layers/meta-balena: Use alexgg/udevcleanup

This is a test PR to pass leviathan testing - do not merge.

@balena-ci retest

@balena-ci retest

Replaced with running a manual leviathan job https://jenkins.product-os.io/job/leviathan-raspberrypi4-64/967/console


feat: allow querying for unknown fields

Adds the ability to query for fields defined in Prismic but without content.
Use Case
A Page custom types includes a title field, but has no value on any instance of Page. Because the field is empty everywhere, Gatsby does not know it exists. Querying for the field in a GraphQL query will cause the query runner to throw an error.
This is especially useful for Prismic since fields cannot be marked as required in Prismic.
Progress

[x] Parse Prismic JSON schema into GraphQL schema

[x] Color
[x] Select
[x] Text
[x] UID
[x] StructuredText
[x] Number
[x] Date
[x] Timestamp
[x] GeoPoint
[x] Embed
[x] Image
[x] Link
[x] Group
[x] Slice
[x] Slices

[x] Create node relationships

[x] Group (no relationship, but must be processed recursively)
[x] Slice (no relationship, but must be processed recursively)
[x] Slices (no relationship, but must be processed recursively)
[x] Image
[x] Link

[x] Create and delete temporary nodes
[x] Refactor
[x] Document
[x] Publish to NPM as alpha

File fields should be mocked in createTemporaryAccessoryMockNodes by using createRemoteFileNode. I assume we need to download an actual image for the sharp transformers to kick in.

@simplesessions Do you have experience with embed fields? Is there a standard set of fields returned?
This is what I'm seeing for a Gist:
embed: {
  gist: "angeloashmore/f7a2566b65de04b0810df4c6f92cf382"
  embed_url: https://gist.github.com/angeloashmore/f7a2566b65de04b0810df4c6f92cf382
  type: "rich"
  version: "1.0"
  title: "React Preload Component"
  author_name: null
  author_url: null
  provider_name: "GitHub"
  provider_url: https://gist.github.com
  cache_age: null
  thumbnail_url: https://gist.github.com/fluidicon.png
  thumbnail_width: null
  thumbnail_height: null
  html: "<script src="https://gist.github.com/angeloashmore/f7a2566b65de04b0810df4c6f92cf382.js"></script>"
}

@angeloashmore I've used embed fields for YouTube videos before and that seems to match what Prismic was handing me back for their oEmbed support.

@simplesessions Ok thanks, we'll start with that then.

Link's document___NODE field can be mocked with instances of all custom types. Since the plugin always defaults to an array with one item, this should be compatible.
NOTE: Need to be careful about circular deps.

Published to NPM as v2.3.0-alpha.1

The feature is amazing, can't wait it being released! Great job 👍

@angeloashmore are you any closer to alpha 6 release? Would love to get the empty fields issue resolved.

@like-vyk Our hope is to release a beta of a new major version by the end of this week including the schema integration and client-side previews.
There are breaking changes in this release that fix several long-standing issues so we'll still need others to test before releasing v3.0. We are testing internally with our existing Prismic clients and so far everything is working as expected.

Closing in favor of #96


Created test generator. Some fixes pending for series tests.

This is the branch where I will put the commits for the automated test generation, as well as the generated tests.

Coverage remained the same at 0.0% when pulling e3bc69602e88201218e571c357df4d5f9bc2e35c on generate-tests into 7aa4262d4cc00846371e8d2b2c17552ecaf92abd on highchart6-import.

@mtabacman I think you missed the new packages in the Baseline, so the tests are not running (or the regular expression in .smalltalk.ston file don't matches the package name)

Coverage increased (+77.05%) to 77.045% when pulling<PHONE_NUMBER>43680c610d02e48ffd5d1651a1f859 on generate-tests into 7aa4262d4cc00846371e8d2b2c17552ecaf92abd on highchart6-import.


vuetify UI support

Is there a way that we can use or intergrate ui frameworks like vuetify in form renderer/builder?

@jomellelastrilla I suppose Vue Form Builder should work fine for both Bootstrap and Material Design.
I think you can try to see, we did add some additional classes to support Material, thanks.
Feel free to open this again if there is anything unclear.

@jomellelastrilla please were you able to find a way to use vuetify framework?


Update line 67 of README.md

change psuedodistributed to pseudodistributed
oops didn't see the contributor guidelines immediately:

Name of PR: Minor typo correction of line 67 of README.md
Code changes: Not Applicable, this is just a documentation typo correction
I don't think there's an existing JIRA issue for this or that I need to open a new JIRA ticket for this

Description of PR
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'BIGTOP-3638. Your PR title ...')?
[ ] Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/

Thanks for the contribution, @pageman.
Could you file a issue on ASF JIRA first? The title of pull request must be prefixed with the issue id like "BIGTOP-xxxx. Fix typo in README.".

https://issues.apache.org/jira/projects/BIGTOP
https://cwiki.apache.org/confluence/display/bigtop/how+to+contribute

You also should avoid mentioning line number in the title since the code/docs are chaging.


mysql.bulk_upsert - Strict Mode

MySQL's bulk_upsert was working because I did not have strict mode on.
This PR makes bulk_upsert compatible with strict mode.

Current coverage is 99.79% (diff: 100%)

Merging #42 into master will not change coverage

@@             master        #42   diff @@
==========================================
  Files            18         18
  Lines           477        477
  Methods          18         18
  Messages          0          0
  Branches         18         18
==========================================
  Hits            476        476
  Misses            1          1
  Partials          0          0

Powered by Codecov. Last update b6eb5af...ec36c12


Fix failing discovery.yml tests

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1059
Originally created by @mbergeron on 2019-09-26 17:38:23

We have a failing master after !https://gitlab.com/meltano/meltano/merge_requests/939 was merged.
We might have to rethink the way we publish this file in the future so that this doesn't happen.

View 2 previous comments from the original issue on GitLab


Rawresponse not being sent to the promise callback when pagination is not used

I am using Talent-solution module for creating, updating and deleting Jobs. Also, in the meanwhile I am sending the client events as well, for which the request_id is required of the previous calls. But, when the API is being called without any pagination, the raw response is being sent back to the callback. Need this response in order to capture the request id.
Line that needs change - https://github.com/googleapis/gax-nodejs/blob/master/src/paginationCalls/pagedApiCaller.ts#L145
Need it changed to the following
canceller.callback(null, allResources, null, response);

@Shrek-DevMasterRobo :+1: thank you for the bug report; would happily accept a failing test if you have time :+1:

Hi @Shrek-DevMasterRobo, just to confirm - you're getting all the resources in the same "page" but still want to have rawResponse there, right? That's surely possible but I'd like to know more about the use case - which call is it?
Also, if you don't need any auto-pagination at all and just need the response as is, pass { autoPaginate: false } as an options object for your request.

Hi @alexander-fenster , yes I still wanted the rawResponse. This was the Create Event for Cloud talent solution, where in the request ID is required in order to make it better.
By using { autoPaginate: false } in the options, I got the response as I wanted, that helped.
Thanks a lot @alexander-fenster !

Hi @alexander-fenster , yes I still wanted the rawResponse. This was the Create Event for Cloud talent solution, where in the request ID is required in order to make it better.
By using { autoPaginate: false } in the options, I got the response as I wanted, that helped.
Thanks a lot @alexander-fenster !


OpenVPN for Windows support

Is it possible to use openvpn-ui with OpenVPN for Windows?

I also faced a similar problem so,
If you have deployed OpenVPN in AWS, you must set the DNS server to the VPC Resolver IP in the server settings, not <IP_ADDRESS>.
If the VPC CIDR is <IP_ADDRESS>/16, VPC Resolver IP is <IP_ADDRESS>.


KeyError: 'ZK_SYNC_LIBRARY_PATH'

My code is:
from web3 import Account, Web3, HTTPProvider
from zksync_sdk import ZkSyncProviderV01, HttpJsonRPCTransport, network, ZkSync, EthereumProvider, Wallet, ZkSyncSigner,
EthereumSignerWeb3, ZkSyncLibrary
import asyncio
def main():
# env = TestEnv()
library = ZkSyncLibrary()
provider = ZkSyncProviderV01(provider=HttpJsonRPCTransport(network=network.rinkeby))
account = Account.from_key("XXX")

async def get_contract_address():
    ret = await provider.get_contract_address()
    return ret

loop = asyncio.get_event_loop()
task = loop.create_task(get_contract_address())
loop.run_until_complete(task)
contracts = task.result()

w3 = Web3(HTTPProvider(endpoint_uri="https://rinkeby.infura.io/v3/XXX"))
# Setup zksync contract interactor
zksync = ZkSync(account=account, web3=w3,
                zksync_contract_address=contracts.main_contract)
# Create ethereum provider for interacting with ethereum node
ethereum_provider = EthereumProvider(w3, zksync)
ethereum_signer = EthereumSignerWeb3(account=account)

# Initialize zksync signer, all creating options were described earlier
signer = ZkSyncSigner.from_account(account, library, network.rinkeby.chain_id)
# Initialize Wallet
wallet = Wallet(ethereum_provider=ethereum_provider, zk_signer=signer,
                eth_signer=ethereum_signer, provider=provider)

if name == "main":
main()
however, I get the error.
library_path = os.environ["ZK_SYNC_LIBRARY_PATH"]
File "/usr/lib/python3.8/os.py", line 675, in getitem
raise KeyError(key) from None
KeyError: 'ZK_SYNC_LIBRARY_PATH'

also getting this issue, anyluck?

download zks-crypto-aarch64-apple-darwin.dylib
set environ ZK_SYNC_LIBRARY_PATH
os.environ['ZK_SYNC_LIBRARY_PATH'] ='/zks-crypto-aarch64-apple-darwin.dylib'

I have downloaded zksync-crypto-library,and set env variable ZK_SYNC_LIBRARY_PATH with a path to the downloaded library.but It is still error in ZK_SYNC_LIBRARY_PATH

~ echo $ZK_SYNC_LIBRARY_PATH
......../zks-crypto-aarch64-apple-darwin.a

download zks-crypto-aarch64-apple-darwin.dylib set environ ZK_SYNC_LIBRARY_PATH os.environ['ZK_SYNC_LIBRARY_PATH'] ='/zks-crypto-aarch64-apple-darwin.dylib'

I have downloaded zksync-crypto-library,and set env variable ZK_SYNC_LIBRARY_PATH with a path to the downloaded library.but It is still error in ZK_SYNC_LIBRARY_PATH
~ echo $ZK_SYNC_LIBRARY_PATH
......../zks-crypto-aarch64-apple-darwin.a


Updates TipTap to v2.6.6.

Fixes #1214
Checklist

[ ] ~I have made corresponding changes to the documentation.~
[ ] ~I have updated the types definition of modified exports.~
[x] I have verified the functionality in some of the neeto web-apps.
[x] I have added the necessary label (patch/minor/major - If package publish
is required).

Reviewers

@AbhayVAshokan  _a please review.


Add clifford gates to collect_cliffords

Summary
This PR adds some Clifford gates to the CollectClifford() transpiler pass.
Details and comments
This is an immediate bugfix which does not handle the following problems:

When adding a gate to the Clifford class, it should be added in other places of the code,
and there is no single list of gates that the Clifford class supports.
https://github.com/Qiskit/qiskit/blob/6b57b7832feaf5334b0b8ec671943c0b7a81ec50/qiskit/transpiler/passes/optimization/collect_cliffords.py#L27
and
https://github.com/Qiskit/qiskit/blob/fa3d6df04f57d6a5bcc658a7f1a6e5a99984b949/qiskit/circuit/random/utils.py#L290

The current Clifford class can handle certain u gates (for certain angles), and this does not appear in the docs, neither in the code above:
https://github.com/Qiskit/qiskit/blob/fa3d6df04f57d6a5bcc658a7f1a6e5a99984b949/qiskit/quantum_info/operators/symplectic/clifford_circuits.py#L100

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
8 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.008%) to 89.886%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
8
91.86%

Totals

Change from base Build<PHONE_NUMBER>:
-0.008%

Covered Lines:
65732

Relevant Lines:
73128

💛  - Coveralls

Thanks @ShellyGarion, this looks good! If we want a more general approach that supports whatever is supported by clifford_circuits, what do you think about changing the filter_fn to the following:
def _is_clifford_gate(node):
    """Specifies whether a node holds a clifford gate."""
    if getattr(node.op, "condition", None) is not None:
        return False
    is_clifford_gate = True
    try:
        Clifford(node.op)
    except QiskitError:
        is_clifford_gate = False
    return is_clifford_gate

or
def _is_clifford_gate(node):
    """Specifies whether a node holds a clifford gate."""
    if getattr(node.op, "condition", None) is not None:
        return False
    if node.op.name in clifford_gate_names:
        return True
    # test other gates
    is_clifford_gate = True
    try:
        Clifford(node.op)
    except QiskitError:
        is_clifford_gate = False
    return is_clifford_gate

My only concern with this suggestions is whether they are not prohibitively slow for large clifford circuits.

another suggestion: can we use _BASIS_1Q and _BASIS_2Q defined at the end of clifford_circuits.py?

@alexanderivrii - thanks for your suggestion. I also fixed random_clifford_circuit in a similar way.
I think it's a good solution, although it still does not handle certain u gates (and other 1 and 2-qubit gates) which are clifford for certain angles.


Flash Player Pepper Api Updated

Issue description
Currently, Flash Player with/for Pepper Api can't be downloaded anymore as it points to an old version that seems to have been removed from Adobe server.
Steps to reproduce
Use
    nixpkgs.config.chromium = {
        enablePepperFlash = true; # Chromium removed support for Mozilla (NPAPI) plugins so Adobe Flash no longer works
    };

In your configuration.nix for getting the flash player. It will try to download it from
https://fpdownload.adobe.com/pub/flashplayer/pdc/<IP_ADDRESS>/flash_player_ppapi_linux.x86_64.tar.gz
which results in a 404.
New version is available at
https://fpdownload.adobe.com/pub/flashplayer/pdc/<IP_ADDRESS>/flash_player_ppapi_linux.x86_64.tar.gz
Technical details

System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)

18.03pre117163.d9091f8181 (Impala)

Nix version: (run nix-env --version)

nix-env (Nix) 1.11.15

Nixpkgs version: (run nix-instantiate --eval "<nixpkgs>" -A lib.nixpkgsVersion)

"18.03pre117583.d9a03761de"

Sandboxing enabled: (run grep build-use-sandbox /etc/nix/nix.conf)

build-use-sandbox = false

Thanks for reporting this. This is a great example of what will become a very straight forward PR. Do you feel like giving that a go?

I leave that to the pros :)

It has already hit master in 628c039326 so I'm closing this.

sorry for maybe dumb question but why do my nix still tries to get old flash player archive if update is already in the master and I use nixos-unstable? Do I need to use some special magic here?

Unstable got updated only 5h ago -https://howoldis.herokuapp.com
It didn't get updated for more than 11 days I think. So if rebuild now with --update it should work.

oh, I didn't know about that site, thanks @sjau
But I run it just minutes ago...
I guess you meant --upgrade as there seem to be no --update option for nixos-rebuild? I run sudo nixos-rebuild switch --upgrade and it fails because of 404

yeah, meant --upgrade
No idea why it fails... does it still point to old url?

yep, it does

hmmm, don't know then...


Extension not available for on premisis installation

Hello,
when we tried to install your extension for our on premisis setup, we noticed that we could not find it in the marketplace, since it is marked as available for 'Azure DevOps Services' but not marked as available for Azure DevOps Server. Since the extension you forked from is available for on premisis installation, we are going to run with that for now. Could you please consider enabling the on premisis installation?
Kind regards,
Malte Vesper

Hey Malte,
I've modified the configuration json as of 1.2.7, it should be available for Azure DevOps Server now. If you have any issues, let me know.


Allow customization of type display format in hover tooltips

🔍 Search Terms

customization type display
Array or T[]

✅ Viability Checklist

[X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[X] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
[X] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

⭐ Suggestion
In TypeScript, when hovering over a variable, the inferred type is displayed in a specific format.
For instance, an array of numbers is shown as number[].
However, some developers, including myself, prefer the alternative format Array<number> for readability and consistency with other generic types.
📃 Motivating Example
I have noticed that there is an WriteArrayAsGenericType flag in the Abstract Syntax Tree (AST) that can convert T[] to Array<T>.
I would like to request the addition of a configuration option in tsconfig.json to enable this flag, allowing developers to choose their preferred format for array types in hover tooltips.
For example:
{
  "compilerOptions": {
    "typeDisplayFormat": "generic" // Options could be "generic" for Array<number> or "shorthand" for number[]
  }
}

💻 Use Cases
Complex Type Readability: I frequently write functional code that can lead to complex types like Task<Maybe<Task<Maybe<T[]>>[]>>[]. The shorthand [] notation can make it difficult to understand the nested generic relationships. Displaying these types as Array<T> would significantly improve readability and comprehension.
Consistency: Most other generic types use angle brackets (e.g., Promise<T>, Map<K, V>), and only array types use the special shorthand (number[]). Aligning array types with this convention would ensure consistency across all types and improve clarity.

See also #59029

I found a temporary workaround that helped me with this issue.
I modified this file: C:\Users\<your_username>\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\typescript.js, and searched for WriteArrayAsGenericType. Here's the segment I found:
            if (context.flags & 2 /* WriteArrayAsGenericType */) {
              const typeArgumentNode = typeToTypeNodeHelper(typeArguments[0], context);
              return factory.createTypeReferenceNode(type2.target === globalArrayType ? "Array" : "ReadonlyArray", [typeArgumentNode]);
            }

I changed the condition context.flags & 2 to true. After restarting VSCode, it worked for me.
I believe this will stop working after a VSCode update, so it's just a temporary solution.

@lsby can we collaborate to have a permanent solution for this?

@Webmekanic
I believe the permanent solution would be for the TypeScript team to add the configuration option we want, but there hasn't been a response so far.
Perhaps we could consider using a VSCode plugin to address this issue.
Do you have any other ideas?


Fallback to acquireTokenRedirect/popup when silent fails in msal-angular/angularjs interceptor

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ *] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Browser:

[ *] Chrome version XX
[* ] Firefox version XX
[* ] IE version XX
[* ] Edge version XX
[* ] Safari version XX

Library version
msal-angular /msal-angularjs

Library version: any version

## Current behavior
This issue was originally created as part of PR. I am just creating a github issue for tracking purpose.
https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/464/files
This was discussed internally with the team and it was approved as a valid feature request.

Currently there is no way to fallback to acquireTokenRedirect/popup if acquireTokenSilent call fails in the interceptor.

## Expected behavior
There should be a flag to configure if user wants to fallback to interactive flow of acquireTokenSilent fails in the interceptor. Flag could be called fallbackToInteractive. Apart from this flag we also need to use the config.popup flag to determine if we need to call acquireTokenRedirect/popup

## Minimal reproduction of the problem with instructions

Linking this with #786, We have this as a pattern in the core sample today, ensure it is integrated into the angular wrapper as the angular devs do not have a UI/Code control to call the fallback when aquireTokenSilent fails.

linked to #945

We did not get to this in MSAL Angular v1, but is a follow up improvement we want to make. Reopening and tracking.

This is now possible is MSAL Angular v2: https://github.com/AzureAD/microsoft-authentication-library-for-js/releases/tag/msal-angular-v2.0.0-alpha.0
Closing.


configure deployment with minified css and js files

https://github.com/fossasia/open-event-webapp/pull/42
doing via this pull request


boards.greenhouse.io

Issue(s):

[x] Whitelist
[ ] Blacklist
[ ] App Broken
[ ] Website Broken
[ ] Request
[ ] Other Issue

Pack(s):
Write the name of the pack(s) you are using.

Pack(s) Name: Blu

Domain(s):
If you are submitting this issue for whitelist/blacklist issue, send us the domain(s) for whitelisting/blacklisting here. Kindly use the Code Tag to prevent tracking.

Domain(s):

https://boards.greenhouse.io/

Your Config:

Your Issue Detail:

Not able to view boards.greenhouse.io
This problem is mainly for url's which have .io

I don't think this domain is blocked.

I for one get redirected to www.greenhouse.io when I attempt to load the example site.

I can see boards.greenhouse.io and greenhouse.io in Energized Unblock now, which is the centralised whitelist, so this seems like a solved case to me.


git commit fails, ultimately causing lost work

This seems like it might be related to #550, #561, possibly #387, possibly #75... I'm really not sure, but just want to share where my investigation has led me.
This exact issue has happened twice to me, and while I'm not sure what the cause of it is, we reasoned it was related to husky so uninstalled it. Turns out, husky just sets up pre-commit hooks for us which we define, and the only one we're using is: lint-staged I'm on a Windows, using MINGW64 git version 2.19.1.windows.1, Node v8.12.0. Here is the flow of events, including the error:
PPirault@Dev38 MINGW64 ~/Desktop/proj (feature/transfers-description)
$ git status
On branch feature/transfers-description
Your branch is up to date with 'origin/feature/transfers-description'.

Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

        modified:   app/components/account-selector/account-selector.spec.js
        modified:   app/components/checkbox/checkbox.spec.js
        new file:   app/components/input-field/input-field.spec.js
        modified:   app/components/selector/select.js
        renamed:    app/components/transfers-screen/transfers-screen.spec.js -> app/components/transfers-form/transfers-form.spec.js

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        modified:   app/components/checkbox/checkbox.spec.js
        modified:   app/components/input-field/input-field.js
        modified:   app/components/transfers-screen/transfers-screen.js
        modified:   bin/scaffold-component-test.js

PPirault@Dev38 MINGW64 ~/Desktop/proj (feature/transfers-description)
$ git commit
husky > pre-commit (node v8.12.0)
Stashing changes... [started]
Stashing changes... [failed]
→ Error: Command failed: git checkout-index -af
error: unable to create file README.md: Permission denied

Error: Command failed: git checkout-index -af
error: unable to create file README.md: Permission denied

husky > pre-commit hook failed (add --no-verify to bypass)

PPirault@Dev38 MINGW64 ~/Desktop/proj (feature/transfers-description)
$ git status
On branch feature/transfers-description
Your branch is up to date with 'origin/feature/transfers-description'.

Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

        modified:   app/components/account-selector/account-selector.spec.js
        modified:   app/components/checkbox/checkbox.spec.js
        new file:   app/components/input-field/input-field.spec.js
        modified:   app/components/selector/select.js
        renamed:    app/components/transfers-screen/transfers-screen.spec.js -> app/components/transfers-form/transfers-form.spec.js

Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        deleted:    README.md

As you can see, there is a git checkout-index -af (happening under lint-staged's hood?), which is clobbering the unstaged changes. At that point, the only way (that I know of) to recover the lost work is to comb through git fsck --unreachable and inspect each blob (or grep through them if I can remember a change) to find the changes. This happened intermittently and we have been using lint-staged in our project without issues for the last 2 months, with an average of 5 git commits per weekday. The two occurrences happened only within the last week. Please correct me if this is not lint-staged's issue.

@FlorianWendelborn sorry for the late response. I'm on windows 10 home basic(version 1803), git version 2.14.2.windows.1, node v8.11.1

There is a reason for that. It is required to support partially staged files. Feel free to experiment with stash since there is a good test coverage in place.

Ideally if someone could add a failing test for Windows that would be a great help already.

We've simply opted to just no longer use lint-staged for the time being as this "Stashing changes" feature has proven to be incredibly unsafe, especially since we're still waiting on PR #573 to be merged and published as well.
If this issue persists, I'll see if I can set aside more time to help with this but that might take a few months.

Experiencing this sporadically myself. Super scary. Thought it was related to having webpack watching or something, but then it happened while that wasn't running either, so...
Shortened log from latest incident below. Just cut out a lot of the "error: unable to create file ... " errors, as there were quite many. Most of the files listed weren't even staged or changed.
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c credential.helper= -c credential.helper="C:/Users/tbe/AppData/Local/ATLASS~1/SOURCE~1/GIT_EX~1/git-credential-manager.exe" commit -q -F C:\Users\tbe\AppData\Local\Temp\mswsakom.dgz
husky > pre-commit (node v11.2.0)
Stashing changes... [started]
Stashing changes... [completed]
Running linters... [started]
Running tasks for app/**/*.scss [started]
Running tasks for app/**/*.ts [started]
Running tasks for app/**/*.scss [skipped]
→ No staged files match app/**/*.scss
prettier --write [started]
prettier --write [completed]
tslint -c tslint.json --fix [started]
tslint -c tslint.json --fix [completed]
eslint -c .eslintrc --fix [started]
eslint -c .eslintrc --fix [completed]
git add [started]
git add [completed]
Running tasks for app/**/*.ts [completed]
Running linters... [completed]
Updating stash... [started]
Updating stash... [completed]
Restoring local changes... [started]
Restoring local changes... [failed]
→ Error: Command failed: git checkout-index -af
error: unable to create file README.md: Permission denied
error: unable to create file app/components/order/assets/downloadButton/controller.ts: Permission denied
error: unable to create file app/components/order/assets/rows/view.tag: Permission denied
error: unable to create file app/components/order/data/document/index.ts: Permission denied
error: unable to create file app/components/order/dataEditor/view.tag: Permission denied
error: unable to create file app/components/order/messages/create/view.tag: Permission denied
error: unable to create file app/components/orderAddress/editor/view.tag: Permission denied
error: unable to create file app/components/orderCollection/referenceEditor/view.tag: Permission denied
error: unable to create file app/components/orderCollection/sidebar/orders/controller.ts: Permission denied
error: unable to create file app/components/organization/editParameters/controller.ts: Permission denied
error: unable to create file app/components/organization/editParameters/editor/index.ts: Permission denied
error: unable to create file app/components/organization/search/view.tag: Permission denied
error: unable to create file app/components/organization/sidebar/departments/controller.ts: Permission denied
error: unable to create file app/components/organization/sidebar/departments/styles.scss: Permission denied
error: unable to create file app/components/organization/type/controller.ts: Permission denied
...
error: unable to create file app/services/orderData.ts: Permission denied
error: unable to create file app/services/url/authentication/departments.ts: Permission denied
error: unable to create file app/services/url/authentication/organizations.ts: Permission denied
error: unable to create file app/services/url/productCatalog/base.ts: Permission denied
error: unable to create file app/services/url/shopping/base.ts: Permission denied
error: unable to create file postcss.config.js: Permission denied
husky > pre-commit hook failed (add --no-verify to bypass)
Completed with errors, see above.

i should also mention that it would happen in our case without watchers running as well. Just simply on the lint-staged pre-commit hook, and failing on a file which wasn't even open or modified: in our case README.md. Although the nature of the error message indicated to me that it was a file-lock issue with that file.

Is anyone here would be able to create a failing test case at least? It sounds like the issue is with git on Windows but I have no idea what it might be and I’m not a windows user. So please everyone don’t rely on me with fixing this and take over this issue. I need your contributions here.

It sounds like the issue is with git on Windows

We have macOS and Linux users experiencing this issue. We're effectively removing lint-staged from our workflow, because this has now caused us to lose many hours of work twice.
It's easily reproducible, as documented in #550, so the lack of acting is a bit worrying.

It sounds like the issue is with git on Windows

We have macOS and Linux users experiencing this issue. We're effectively removing lint-staged from our workflow, because this has now caused us to lose many hours of work twice.
It's easily reproducible, as documented in #550, so the lack of acting is a bit worrying.

I'm as frustrated as you with this, but to be fair @okonet has reached out for assistance multiple times about this issue, and none of us have stepped up. I also see that in the issue you linked, he specifically asked you for more info, and you haven't answered or yet provided a repo with a minimal example.
@okonet I'm sorry I haven't had the time to follow up on this. I was planning to at least try implementing  the workaround mentioned earlier. I'll bump it to the top of my list after the next project deadline...

@larskinn I wouldn’t go as far as to say I haven’t answered any of their questions, but I haven’t prioritized creating a repro to reproduce the issue, correct.
I’m more annoyed at leaving such a glarring and major issue in a project of this scale in what’s supposedly a stable release. That’s my main critique and in my opinion inexcusable.

I’m more annoyed at leaving such a glarring and major issue in a project of this scale in what’s supposedly a stable release. That’s my main critique and in my opinion inexcusable.

I’m also annoyed by the assumption that I’m going to jump on the issue that doesn’t even have a reproducible case and fix it for you. It’s not my full time job and I’m not getting paid for any work I did in this repo.
Instead of telling me you’re removing it from your company’s workflow (I couldn’t care less tbh) you could ask the company to allocate time and developers to fix the issue. But I guess open source reached the point there i have to explain how it works.
I’m blocking this conversation since none of the recent comments moved us closer to the resolution nor the root cause.
If someone has something valuable to add, create a PR with a fix or a failing test case.

:tada: This issue has been resolved in version 9.5.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Feat/integration script

Buggy but functional python script that allows the filter monitor to be configured from within OBS.

Accidental pull request to the main repo. Meant to keep within the fork for the time being.


Multiple values support for typeahead

Please add support of multiple values in typeahead like http://jqueryui.com/demos/autocomplete/#multiple

+1

I'll look into adding this in a future release

+1

It would be great if there was ability to provide a custom tokenizer to distinguish the various substrings.

please merge following pull request
https://github.com/twitter/bootstrap/pull/2007

closing for duplicate of #2007


cluster  k8s >=1.15 do not deploy in 2.3.0 and 2.3.2

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Deploy cluster using k8s - 1.15, 1.16 and 1.17
The cluster fails to come up
etcd container logs:

2020-03-28 01:44:40.270970 I | embed: rejected connection from "ip:42920" (error "tls: failed to verify client's certificate: x509: certificate signed by unknown authority (possibly because of \"crypto/rsa: verification error\" while trying to verify candidate authority certificate \"kube-ca\")", ServerName "")
2020-03-28 01:46:53.878418 I | embed: rejected connection from "ip:41891" (error "EOF", ServerName "")
2020-03-28 01:47:05.883684 I | embed: rejected connection from "ip:42954" (error "tls: failed to verify client's certificate: x509: certificate signed by unknown authority (possibly because of \"crypto/rsa: verification error\" while trying to verify candidate authority certificate \"kube-ca\")", ServerName "")
2020-03-28 01:47:11.027567 I | embed: rejected connection from "ip:42958" (error "tls: failed to verify client's certificate: x509: certificate signed by unknown authority (possibly because of \"crypto/rsa: verification error\" while trying to verify candidate authority certificate \"kube-ca\")", ServerName "")
2020-03-28 01:47:16.171899 I | embed: rejected connection from "ip:42960" (error "tls: failed to verify client's certificate: x509: certificate signed by unknown authority (possibly because of \"crypto/rsa: verification error\" while trying to verify candidate authority certificate \"kube-ca\")", ServerName "")

Expected Result:
cluster should be deployed successfully
Environment information

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

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): rke do
Kubernetes version (use kubectl version):

1.15, 1.16 and 1.17

Can we make the min version for the templates shipping with v2.3.6 to only be Rancher v2.3.3+?

We will need to leave this ticket open to at least check out what's going on with the later versions to see if we need to add other min versions, but this should unblock us for when we release v2.3.6 and v2.4.

This is related to the new Canal/Calico templates that brought along the updateStrategy block and the toYaml function that is only available in the vendored RKE in Rancher v2.3.3 and higher.
The options we have here is to limit the new k8s versions with the new Canal/Calico template to Rancher v2.3.3 and higher, or introduce new templates without the ability to set updateStrategy. The first option is the cleanest option, but we have to state that you need to upgrade Rancher to use the latest k8s versions.

Note: This will be fixed outside of v2.3.7, but added it to v2.3.7 as a tracking mechanism.

Verified on 2.3.2, with KDM branch: dev-v2.3

The available k8s -

User is able to deploy clusters successfully using all the network providers and k8s versions.

@sowmyav27 I just hit this issue with a new Rancher v2.3.2 install, are you sure this works for v1.15.11?

@Oats87 she's using the dev-v2.3 branch but it hasn't been moved to release-v2.3 At this point, I can't easily move what's in dev into the release branch.


Replace the shelled out openssl pem to der conversion,  in favor of l…

…ua-resty-core conversion method cert_pem_to_der, this will now preserve the full certificate chain

Fixes #872.
Started in on adding tests, but importing "ngx.ssl" breaks the tests with
/usr/local/share/lua/5.1/ngx/ssl.lua:5: module 'resty.core.base' not found:No LuaRocks module found for resty.core.base
I am not too familiar with this ecosystem, so a nudge in the right direction would be very welcome :)

This error occurs because in spec/plugins/ssl/access_spec.lua, the kong.plugins.ssl.ssl_util module is being unit tested, so it is required here. Because this does not run inside Nginx, resty.core.base is not in the LUA_PATH.
iirc, this is the reason why the module is required inside the functions, such as here, so they can be required while unit testing. I am not a fan of this solution, I think a patch that properly requires ngx.ssl at module-level for this plugin (and removing the unit tests in access_spec.lua) would be an improvement.  Do you want some time to update yours?

Looking forward to see a test for this, so we can close the issue.

By the way it seems like the new version of OpenResty is also going to ship with priv_key_pem_to_der which will allow us to never use OpenSSL for both conversions (key/cert to DER).

Fixed with #968.


revert: remove enable_stream_row_count config #10261

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR contains user-facing changes.

Click here for Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note

Interesting. May I ask for the motivation?

With 500+ MV on a single machine, one user's Prometheus takes 16GB.

I am thinking just giving MV and sinks two dedicated metrics, or judging actor_id_string or other similar things to enable row_executor_count just for MV and sinks.

Added a sink_info metric into Prom so that we can get the actor_id -> sink_name when building the panel

After this PR, the resulted file size reduces from 600MB to 100MB:
curl -v http://<IP_ADDRESS>:[cn prometheus port]/api/v1/query
Though it's still large, at least grafana can present it now.

Storage metric takes up 80%.
zzzzz:~ z28wang$ grep "store" cn.prom_query.2.log |wc -l
 4236203
zzzzz:~ z28wang$ grep "stream" cn.prom_query.2.log |wc -l
 1435195
zzzzz:~ z28wang$ cat cn.prom_query.2.log | wc -l
 5821215
zzzzz:~ z28wang$ du -h cn.prom_query.2.log
464M	cn.prom_query.2.log


Window transparency does not work

Godot version
v4.0.stable.official [92bee43ad]
System information
Windows 11 v4.0.stable.official
Issue description
The window of the project run test becomes black instead of transparent with these transparency-settings (only visible in advanced project settings):
Project-Settings -> Window -> Size -> Transparent = on
Project-Settings -> Window -> per pixel Transparency -> Allowed = on
Project-Settings -> Rendering -> Environment -> Default Clear Color = 0,0,0,0 (fully transparent)
Project-Settings -> Rendering -> Viewport -> Transparent Background = on
Steps to reproduce
Start a new project, open the project-settings and set the window to fullscreen, not resizable and no border and set the transparency settings from above as shown there.
Minimal reproduction project
N/A

It still appears in Godot v4.1.1.stable.official [bd6af8e0e]

Does it work if you switch the rendering method to Compatibility in the top-right corner of the editor?

with Compatibility the black disappears.

with Compatibility the black disappears.

Which graphics card model are you using?

There seems to be some issue with the latest nvidia and amd drivers. Prior to the september driver updates transparency with vulkan worked fine. Now only OpenGL is working on my dedicated GPU. However, if I switch to my iGPU Vulkan transparency is working.
I noticed that on my iGPU it does not matter if I set
get_tree().get_root().set_transparent_background(true)

to true or false. As long as I have per pixel transparency enabled and
DisplayServer.window_set_flag(DisplayServer.WINDOW_FLAG_TRANSPARENT, true)

set to true the window is transparent.
I inspected the frames with Frame Doctor and the swapchain image always has a transparent background irrespective of set_transparent_background. For some reason the background color changes between black and grey though. Also reverting WINDOW_FLAG_TRANSPARENT to false does not make the background opaque again.
The only difference I could find so far is that my nvidia card only supports VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR while the iGPU also supports VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR however this is true with both the latest driver and the nvidia 531 driver where transparency still works

I did some further testing compiling the engine myself. Forcing https://github.com/godotengine/godot/blob/066e7d483a8f699fd94e7133ac23978cd460a72d/drivers/vulkan/vulkan_context.cpp#L2128 to
VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR or VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR has no change on transparency on both th iGPU and my dedicated GPU. So this doesn't seem to be the culprit.

Closing in favor of https://github.com/godotengine/godot/issues/76167, as this is likely the same underlying issue.
@0x0ACB I suggest you post your findings in the linked issue :slightly_smiling_face:

I have added it to the other issue. However I do not think this is necessarily related. I think the hybrid GPU issue is more of a Windows DWM problem since the transparency issues where fixed if you ran godot on the same GPU that was running the window manager.

I found a solution, which could be considered temporary
You have to change the rendering mode to compatibility, since the others don't work
I don't know if it's because of vulcan or amd


Don't launching with OpenFM

Whild have this mod, Minecraft do not launching at all. No crash-reports. No errors. No logs.

If you remove the mod and make no other changes, does Minecraft launch?

I'm not sure where to even start here..
Minecraft version, Forge version, OpenFM version, Java version, OS version... matter of fact if it has a version number, I'd like to see it.

Minecraft 1.7.10
Forge
OpenFM latest for 1.7.10
Java 8u131-win64
Windows 10 Creators update
MCP 9.05
FML <IP_ADDRESS>
Minecraft Forge <IP_ADDRESS>4
It launching without OpenFM.
modlist:
UCHIJA	mcp{9.05}
UCHIJA	FML{<IP_ADDRESS>}
UCHIJA	Forge{<IP_ADDRESS>4}
UCHIJA	appliedenergistics2-core{rv3-beta-6}
UCHIJA	CodeChickenCore{<IP_ADDRESS>}
UCHIJA	ivtoolkit{1.2.1}
UCHIJA	NotEnoughItems{<IP_ADDRESS>}
UCHIJA	OpenComputers|Core{<IP_ADDRESS>}
UCHIJA	RenderPlayerAPI{1.3}
UCHIJA	OpenModsCore{0.10}
UCHIJA	appliedenergistics2{rv3-beta-6}
UCHIJA	BiblioCraft{1.11.5}
UCHIJA	clearingblock{0.3}
UCHIJA	colorblocksplus{1.0}
UCHIJA	davincing{1710.1.8}
UCHIJA	grim3212core{V0.2 - 1.7.10}
UCHIJA	doubledoors{V0.1 - 1.7.10}
UCHIJA	IronChest{<IP_ADDRESS>2}
UCHIJA	JABBA{1.2.2}
UCHIJA	MoarSigns{1.2.4}
UCHIJA	Monoblocks{1.10.39}
UCHIJA	MonoblocksMultipart{1.10.39}
UCHIJA	cfm{3.4.7} [§9MrCrayfish's Furniture Mod]
UCHIJA	MrTJPCoreMod{<IP_ADDRESS>}
UCHIJA	OpenMods{0.10}
UCHIJA	OpenBlocks{1.6}
UCHIJA	OpenComputers{<IP_ADDRESS>}
UCHIJA	plantmegapack{4.02}
UCHIJA	ResourceLoader{1.3}
UCHIJA	CustomMainMenu{1.9.2}
UCHIJA	wallcraftmod{1.0}
UCHIJA	Ztones{1.7.10}
UCHIJA	betterstorage{<IP_ADDRESS>}
UCHIJA	endercore{1.7.10-<IP_ADDRESS>_beta}
^
|
don't care about it, I copied that from logs

A. How much RAM do you have allocated to MC?
B. Try launching it with only OpenComputers and OpenFM

thx, i'll try...
My players tried to use 3GB(usually 2GB is more than need), but it still not launching

Is this an issue you are personally experiencing, or is it someone on your server?

Can you zip your mods and config folder and put it somewhere I can download?

kk, now in pack will be some new(not listed) mods because I not created modpack completely. Mods in "noload" just to use it in future(My internet 2MiB/S....)
https://yadi.sk/d/NiRVpLdJ3HxtBB
I found logs(why before it not recorded???), but too late and uploaded it as second file: https://yadi.sk/d/q_-hnFZj3HxtTM

Both of those links show up as broken

idk why(my megahands), but...

just copy-paste link

They work if you copy/paste them, github's URL parser derped...

Ah, my bad

Well... I don't have any of your custom resources, but the game loads fine for me with your mods and config dirs

wtf... which java you using?

My desktop is Java 8_111

Have you tried it without your custom resources?

Your log seems to stall when OpenFM tries to extract the SPI jars... and ALL of your paths seem very... odd.  How are you launching MC?

It sashok's launcher, very popular in Russia... With it, Imy project have custom authentication, skins and caps + hash checker(anticheat)
Idk more because I responsible only for mods and their configs...

I'd like to also mention that pirated launchers are illegal, and you are breaking copyright laws by not paying for MC

^ This too.


DNS SD: If all targets disappear, Prometheus keeps them.

What did you do?
Configured a job with dns_sd_configs. At some point, the DNS entry disappeared completely:
$ dig +short SRV all.telemetry.xxx.srv.s-cloud.net
$

What did you expect to see?
The targets should disappear from Prometheus.
What did you see instead? Under which circumstances?
The targets were kept by Prometheus, appearing on the targets page as down, up==0 etc., triggering corresponding alerts
Environment

System information:

Linux 3.16.7- x86_64

Prometheus version:

prometheus, version 1.6.0 (branch: master, revision: 10f645382988add09c8e3420d0d7ff2dc4d36a29)
build user:       root@0816a56aa81c
build date:       20170414-18:36:18
go version:       go1.8.1

Alertmanager version:

n/a

Prometheus configuration file:

[...]
- job_name: xxx
  dns_sd_configs:
  - names:
    - all.telemetry.xxx.srv.s-cloud.net
    refresh_interval: 10s
[...]

Alertmanager configuration file:
n/a

Logs:
n/a

I'm hitting this bug pretty consistently while renaming services, causing targets to get scraped twice with old and new labels.

The bug is pretty readable in the code, we simply interpret any empty result set as an error: https://github.com/prometheus/prometheus/blob/master/discovery/dns/dns.go#L193-L198

I understand the issue now. The behavior to continue as long as no results are returned was originally introduced in 8c08a503 in order to support search domains. I don't think we should use the length of the returned result as indicator here, but we should check the returned rcode.

@grobie That's not the right behavior: If you're using multiple search domains and the name you're looking for is available on the next server, you can't check for NXDOMAIN to determine whether to continue or not.
It's also not clear to me how that code would cause it. It looks like it's returning the first non-empty response or the last one with error in which case I would assume prometheus removes the targets. But that probably doesn't happen? So we should return err=nil + the last response with didn't have SERVFAIL etc?

Coming from another side, should we be supporting search domains? I would have expected the user to have to provide the FQDN.

Not having energy for this discussion. Going to unsubscribe from the thread, ping me if you have questions about the issue itself.

In any case, a DNS SRV entry that has gone away entirely needs to remove the Prometheus target entirely. Thanks, @grobie, for spotting the issue here. :supergrover:

Yes, we need search domains, especially because we expect people to have "one Prometheus per cluster". Search domains are not without issues but such is life when using DNS for Service Discovery. Even musl/alpine eventually saw the light here and implemented them.
So, if the current code does inscrutable things … let's spec out the behaviour we want and go from there?

@grobie if you are too busy during your trip, I can give it a try. Just let me know because we really cannot afford to work on it in parallel.

I take the lock on this for now.

The discussion around search domains is irrelevant here, we have to change the implementation regardless.
What we have to change is the handling of empty DNS responses. We currently assume that any DNS response with an empty resource records answer list is invalid and return an fmt.Errorf("could not resolve %s: no server responded", name) error. This is partially beneficial as the DNS discovery already degrades gracefully in case of DNS outages as described in #2924.
It's not correct to conclude from the number of returned resource records whether a query was successful or not. The DNS protocol provides the rcode field for that.
First we need to decide which rcodes indicate an error for which we want to keep the current behavior (returning an error, ignoring the result and keeping the cached targets list) and which rcodes indicate a successful query. There are at least 20 rcodes defined by the IANA: https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-6
The most common response codes in practice are NoError, NXDomain and ServFail. The first two would be clear "success, use the returned result" and the last a clear "return an error and don't store the (empty) result". I'm unsure about all others, we could start with treating them as errors.
Implementation wise, we need to change the len(response.Answer) shortcut in the loop to response.Rcode == dns.RcodeSuccess and continue in all other cases. Instead of always returning an error at the end, we need a switch on the rcode.

Given the course of events (and my workflow, and the fact that I'm going on vacation on Friday), I'll pass the lock onto @grobie (who has quite some detailed ideas already, anyway).

This bug is going to bite me Real Soon Now (about to start using dns_sd_config in anger).  Is this on your plate to fix in the next, say, few days or so, @grobie?  Or would you be happy to accept a suitable PR based on your last comments (which I think are right on the button)?

I would be even more than happy to review and accept a pull request! I'm
not working on this issue and neither will have time for it during the next
couple of weeks.
Ideally we'd first finally write a test setup to ensure the correct
behavior in all cases. Though, I haven't found a DNS server mock
implementation yet, so it might either mean writing one on our own or
writing more like integration tests with a real DNS server.
On Mon, Sep 4, 2017, 04:06 Matt Palmer<EMAIL_ADDRESS>wrote:

This bug is going to bite me Real Soon Now (about to start using
dns_sd_config in anger). Is this on your plate to fix in the next, say,
few days or so, @grobie https://github.com/grobie? Or would you be
happy to accept a suitable PR based on your last comments (which I think
are right on the button)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/prometheus/issues/2799#issuecomment-326850334,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAANaGp3txaa89EzEng67I_npq-IqJcmks5se1sigaJpZM4NuDB4
.

I'm not sure I'm up for large-scale refactorings... I can make myself understood in Go, but I'm far from literate.  I'll give it a go, but don't expect too much.

I think the fix here is relatively easy. The more challenging part is to set up proper testing as described by @grobie to make sure similar things will not bite us again in the future.

OK, PR created.  Things got a bit out of hand there... not really a one-liner any more...
Without a test suite already in place for the discovery module, I was lost trying to comprehensively test the changes.  Instead, I commented the bejeebers out of all the code, and did a fair bit of refactoring (including making the function names more descriptive) to make it painfully obvious what exactly is going on.  I also exercised the changes in a variety of ways to try and shake out any remaining corner cases.

Fixed in #3138.

I have a same problem with prometheus 2.1.0.

Well, given the problem reported here was fixed nearly a year ago, you're probably going to be better served by opening a new issue.


Add option for date format

It's an idea for new feature

Why would it be useful?
One can always change the date format in client app.

Because Android iOS are not the same format:

iOS : "yyyy-MM-dd'T'HH:mm:ssZZZZZ"
Android : "yyyy-MM-dd HH:mm a z"

I can change it if you want?

Ok, I libraryItem that getLibrary() returns contains creationDate property.
If I understand right, now it is string.
I think it should be JavaScript Date object. If it will be Date object, it has no format. So our problem is that creationDate is still string?

From now on, creationDate is provided as Date object.