before testing ,Need prepare all data by following the steps in WorldDreamer?

I want to test the WorldDreamer base on the pretrained sdf weights and dreamer weights and the demo data,but when i run
python tools/test.py runner.validation_index=demo resume_from_checkpoint=./dreamer_pretrained/SDv1.5_mv_single_ref_nus/weight-S200000
error happen,do you have any idea？

and then the program finish

I just prepare the worlddreamer day but without the description part

The description update issue alone should not trigger this type of error. Based on the screenshot provided, I am unable to determine the cause of the program termination. Could you please share additional configurations and relevant information to help diagnose the problem?

i add a printf in here

it called in here

To ensure compatibility with the nuPlan dataset, we check the data source from filename in this code section, but this does not affect the image generation pipeline. We recommend pulling the latest code base as we have fixed several bugs. It looks like you are currently running inference in demo mode, so filename is missing here, and your screenshots indicate that the image generation process seems functioning correctly. The generated images should be stored in the folder DriveArena/WorldDreamer/dreamer-log/test/xxx. Could you please check whether there are any images generated?

To ensure compatibility with the nuPlan dataset, we check the data source from filename in this code section, but this does not affect the image generation pipeline. We recommend pulling the latest code base as we have fixed several bugs. It looks like you are currently running inference in demo mode, so filename is missing here, and your screenshots indicate that the image generation process seems functioning correctly. The generated images should be stored in the folder DriveArena/WorldDreamer/dreamer-log/test/xxx. Could you please check whether there are any images generated?

yes i found out the img there,does it work?But all img include in a folder, it's a little bit weird

The images are indeed saved in one folder, and you can also modify the save path in test.py yourself.

Ok i got it ,thanks for you quick reply and your great work！


Use annotated git tags for releases

$> git -C ../tinuous/ describe
fatal: No annotated tags can describe 'ecdaf1ec6ad2d2f8c4c491fa03e799e12c11343b'.
However, there were unannotated tags: try --tags.

$> git -C ../tinuous/ describe --tags
0.1.0-20-gecdaf1e

@yarikoptic The 0.1.0 tag actually was annotated; I just didn't push it properly.  That should be fixed now.  Any future tags will be created by auto and thus should automatically be annotated.


ECL-511: Welsh Content for My ECL account

Can you switch on the welsh config by default and disable in app-config-production for now please.
https://github.com/hmrc/economic-crime-levy-account-frontend/blob/ea20b72de4ceb752b51fc3073e419a699bcba4c7/conf/application.conf#L107


Exception when generating atlas on Unity 2020.2.6 and later

Caused by the following Unity regression: https://issuetracker.unity3d.com/product/unity/issues/guid/1318332
Please vote by the link above to make the issue fixed as soon as possible.

Fixed in 2020.3.3f1.


Allow custom hl for winbar

Cannot set different background for winbar and float/popups
https://github.com/neovim/neovim/issues/26037
Proposal
Allow set custom Saga* highlights for winbar (configurable prefix https://github.com/nvimdev/lspsaga.nvim/blob/283a3fc8e01191095d33c078031c577e8f9427b9/lua/lspsaga/symbol/winbar.lua#L10C23-L10C23 )

can have an option to receive a background color or config SagaWinbarxx with a background color in your config.

Same issue for borders (for example diagnostic.border_follow) :(

follow to false then it will use SagaBorder

Yes, I just report. Perhaps the best way is to create own highlights and link them to current ones.

yes. DiagnosticBorder for use


Animation direction

Hi, there,
compliments, very useful...
I think there is only one problem: it seems to me that it does not take into account the property animation-direction when is set to alternate.
Does this seem possible to you?
Thank you in advance

Thanks for the feedback, I'll try and take a look and see what I can do.

Hope to address this with #3


Move to py3.10, django 3.2 and heroku stack 22

Description

Okay, this started out as the wish to be able to have a recaptcha when registering to make live for our spammers at least a bit harder, but then it turned out to be a bit more work given that our deployment was a bit behind in terms of heroku stack.
So in short this one:

Updates our heroku stack to 22
Bumps the Python version from 3.6 to 3.10 (as that is supported on Heroku stack 22)
Bumps the Django library to 3.2 (from 2.2) (and many downstream libraries), as those are needed for the newer Python version.
Finally adds in the captcha, which started this journey

Related Issue

Testing
I've mainly tested it on our staging deployment on Heroku, which I bumped to Stack22 already, the deployment there seems to work as far as I could see.

@beaugunderson I've tagged you in, as I think you'd be most likely in the position to give this a look to see if that all makes sense or not. You'll also have access to the heroku stacks to see everything there I think :-)

Thanks @beaugunderson! Did you have a chance to run the tests locally? I didn't yet myself but can try to sort that out over the WE hopefully!

Thanks @beaugunderson! Did you have a chance to run the tests locally? I didn't yet myself but can try to sort that out over the WE hopefully!

there are failures:
======================================================================
FAIL: test_authorize_if_already_authorized (private_sharing.tests.DirectSharingOAuth2Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/beau/p/open-humans/private_sharing/tests.py", line 247, in test_authorize_if_already_authorized
    self.assertTrue(b"Project previously authorized." in response.content)
AssertionError: False is not true

======================================================================
FAIL: test_authorize_if_logged_in (private_sharing.tests.DirectSharingOAuth2Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/beau/p/open-humans/private_sharing/tests.py", line 238, in test_authorize_if_logged_in
    self.assertEqual(response.status_code, 200)
AssertionError: 302 != 200

----------------------------------------------------------------------
Ran 76 tests in 13.755s

FAILED (failures=2, errors=5, skipped=7)

Additionally, I did not have AMQP running so both test_message_member tests hung, I commented them out to see if the rest succeeded.

Thanks, I just tried reproducing both of those tests in the staging environment and the joining for the on-site worked, as did the "previously joined" warning!


python synthesize.py --model="Tacotron" ValueError: There aren't any elements to reflect in axis 0 of array

Hello, @day9011
Cool issue! Should anyone just guess what caused this issue? I think, that because of dogs.

I had the same error when running
python synthesize.py --model='Tacotron' --text_list='sentences.txt'
The full error message is

File "synthesize.py", line 100, in
main()
File "synthesize.py", line 90, in main
_ = tacotron_synthesize(args, hparams, taco_checkpoint, sentences)
File "/Tacotron-2/tacotron/synthesize.py", line 136, in tacotron_synthesize
return run_eval(args, checkpoint_path, output_dir, hparams, sentences)
File "/Tacotron-2/tacotron/synthesize.py", line 67, in run_eval
mel_filenames, speaker_ids = synth.synthesize(texts, basenames, eval_dir, log_dir, None)
File "/Tacotron-2/tacotron/synthesizer.py", line 194, in synthesize
wav = audio.inv_mel_spectrogram(mel.T, hparams)
File "/Tacotron-2/datasets/audio.py", line 108, in inv_mel_spectrogram
return inv_preemphasis(_griffin_lim(S ** hparams.power, hparams), hparams.preemphasis, hparams.preemphasize)
File "/Tacotron-2/datasets/audio.py", line 122, in _griffin_lim
angles = np.exp(1j * np.angle(_stft(y, hparams)))
File "/Tacotron-2/datasets/audio.py", line 130, in _stft
return librosa.stft(y=y, n_fft=hparams.n_fft, hop_length=get_hop_size(hparams), win_length=hparams.win_size)
File "/home/USER/anaconda3/lib/python3.6/site-packages/librosa/core/spectrum.py", line 160, in stft
y = np.pad(y, int(n_fft // 2), mode=pad_mode)
File "/home/USER/anaconda3/lib/python3.6/site-packages/numpy/lib/arraypad.py", line 1420, in pad
" in axis {} of array".format(axis))
ValueError: There aren't any elements to reflect in axis 0 of array

The solution is to delete the blank lines in sentences.txt.

Remove empty lines from your file. That helped me.

@YMaks  Your advice works, thank you dear!


Deploy Sparkle 73 front

My local dev env is fucked, so I could not test it -_-.
Normally should not be breaking in any way.
Can you try it out?

Ok unfucked my local seem to work fine.


[WIP] 0.4.2 Release

We are tracking towards the release of 0.4.2.  This thread is to discuss what needs to be finalized before we can cut the release.  If there are any PRs or open issues that should be added to the list, please comment below.
Features
Bug fixes
Wants

[ ] #881 CHANGELOG.md - @ilanbiala

Looks like I'm not doing anything for 0.4.2, yay!
But seriously, how do we want to approach 0.4.2 from planning perspective? should we start adding here all the open PRs that we wish to merge to 0.4.2 or rather should we just use Github's milestone option and simply assign to 0.4.2, wouldn't that be easier to track and handle?
We can keep this issue open to track/discuss 0.4.2 release items in general.

@lirantal let's track everything in the milestone, and as we approach the end of the milestone based on the progress bar, we'll update the list here and this may act as a changelog of sorts?

Great

Quite a few issues still for v0.4.2 to resolve: https://github.com/meanjs/mean/pulls?q=is%3Aopen+milestone%3A0.4.2+is%3Apr

@rhutchison can you update the list? @lirantal I think we can say that this is the cutoff for 0.4.2?

Yep

@lirantal @codydaig whenever you close an issue in the future, please add it to this list so we don't have to do it all at once.

what do you mean? to which list should we add it?

The list in this issue at the top.

@ilanbiala looks like the Changelog is the only thing holding 0.4.2 back?
Any suggestions what we can do about speeding it up?

@lirantal @ilanbiala Here are the open PRs marked for 0.4.2. However, I'm not opposed to moving those out to the next release. https://github.com/meanjs/mean/pulls?q=is%3Aopen+is%3Apr+milestone%3A0.4.2
Also, is the next release going to be 0.4.3 or 0.5.0? I'm voting for 0.5.0

Next release should probably be 0.5.0. I think everything but the Lusca should be taken care of in 0.4.2.

We also have a defect or two to handle IIRC in that queue

In which queue?

This queue: https://github.com/meanjs/mean/milestones/0.4.2

Gotcha

@lirantal @codydaig do we want to add all the issues to the top or do you think that's unnecessary now that we have the changelog?

@ilanbiala Just use the changelog. Ryan started this to start discussion on what should be included in 0.4.2 and I personally think this issue can be closed at this point.

@ilanbiala @lirantal So we're just waiting on final review of the new commit message PR and the domain PR. I'm voting to move the domain PR and get 0.4.2 released this week.

Totally agree, already updated that PR.
We don't have any out-standing issues left anymore so 0.4.2 is good to go when we're ready.
Let's put up a plan for it?

PR to merge 0.4.2 to master
Create a release/tag in Github for 0.4.2 after we merged to master
Updated Changelog file
Update generator? package.json? anything else?

What else?

@lirantal 0.4.2 is master, so we just create a tag on master.

Right @ilanbiala !

@codydaig @ilanbiala I created a tag for 0.4.2
Hoping we covered everything in the PRs so I am closing this issue and we can continue with the next release.
0.5.0 I assume?

@lirantal Thank you! I'm pretty sure it was decided to jump to 0.5.0 next.
Quite a few big things on the plate for 0.5.0. Should be a fun one :)


Adding new SCSS variables for letter-spacing

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
New SCSS Variables
$letter-spacing-base: normal !default; // Global default

$headings-letter-spacing: null !default; // Headings
$display-letter-spacing:  null !default; // Display sizes

$input-btn-letter-spacing: null !default; // Input and Button
$btn-letter-spacing: $input-btn-letter-spacing !default;
$input-letter-spacing: $input-btn-letter-spacing !default;
$form-select-letter-spacing: $input-letter-spacing !default;

These variables offer default values and null placeholders for customizable overrides, providing a flexible foundation for developers to adjust letter-spacing according to their design requirements.
Motivation and context
Some brands use tighter letter-spacing for headlines to create a sense of sophistication or to improve legibility at large sizes, which is not universally achievable with the current Bootstrap typography settings. Providing SCSS variables for letter-spacing makes it a lot easier to adapt Bootstrap more closely to brand standards.

Closed per #39866.


graph: fix ownership link override

This patch fixes the ownership link
overide mechanism that is involved
in ovsdb and netlink probes.

run skydive-functional-tests-backend-elasticsearch


T6 Pro

Describe The Bug:

My thermostat, a T6 Pro, does not appear in HomeKit
To Reproduce:

Follow procedure to set up device like normal via homebridge config plugin (go to honeywell developer, make an app, get the key and secret, paste it in, sign in with honeywell account, etc)
Expected behavior:

The thermostat should have appeared in my HomeKit setup
Logs:

[9/3/2020, 2:07:30 PM] [HB Supervisor] Starting Homebridge with extra flags: -I
[9/3/2020, 2:07:30 PM] [HB Supervisor] Started Homebridge v1.1.3 with PID: 31063
[9/3/2020, 2:07:32 PM] Loaded config.json with 0 accessories and 4 platforms.
[9/3/2020, 2:07:32 PM] ---
[9/3/2020, 2:07:33 PM] Loaded plugin<EMAIL_ADDRESS>[9/3/2020, 2:07:33 PM] Registering platform 'homebridge-config-ui-x.config'
[9/3/2020, 2:07:33 PM] ---
[9/3/2020, 2:07:33 PM] Loaded plugin<EMAIL_ADDRESS>[9/3/2020, 2:07:33 PM] Registering platform 'homebridge-honeywell-home.HoneywellHome'
[9/3/2020, 2:07:33 PM] ---
[9/3/2020, 2:07:35 PM] Loaded plugin<EMAIL_ADDRESS>[9/3/2020, 2:07:35 PM] Registering platform 'homebridge-ring.Ring'
[9/3/2020, 2:07:35 PM] ---
[9/3/2020, 2:07:35 PM] Loaded plugin<EMAIL_ADDRESS>[9/3/2020, 2:07:35 PM] Registering platform 'homebridge-smartthings-v2.SmartThings-v2'
[9/3/2020, 2:07:35 PM] ---
[9/3/2020, 2:07:35 PM] Loading 4 platforms...
[9/3/2020, 2:07:35 PM] [SmartThings-v2] Initializing SmartThings-v2 platform...
[9/3/2020, 2:07:36 pm] [SmartThings-v2] INFO: Homebridge Version: 2.6
[9/3/2020, 2:07:36 pm] [SmartThings-v2] INFO: SmartThings-v2 Plugin Version: 2.3.4
[9/3/2020, 2:07:36 pm] [SmartThings-v2] INFO: Checking Package Version for Updates...
[9/3/2020, 2:07:36 PM] [Config] Initializing config platform...
[9/3/2020, 2:07:36 PM] [Config] Running in Service Mode
[9/3/2020, 2:07:36 PM] [Ring] Initializing Ring platform...
[9/3/2020, 2:07:36 PM] [HoneywellHome] Initializing HoneywellHome platform...
[9/3/2020, 2:07:36 PM] [Ring] Configuring cached accessory (this is my doorbell)
[9/3/2020, 2:07:36 PM] [Ring] Configuring cached accessory (this is my doorbell)
[9/3/2020, 2:07:36 pm] [SmartThings-v2] INFO: Fetching SmartThings-v2 Devices. NOTICE: This may take a moment if you have a large number of device data is being loaded!
[9/3/2020, 2:07:36 pm] [SmartThings-v2] GOOD: Refreshing All Device Data | Source: (First Launch)
Setup Payload:
X-HM://0024XZL1QI1CL
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    ┌────────────┐
    │ XXX-XX-XXX │
    └────────────┘

[9/3/2020, 2:07:36 PM] Homebridge is running on port 51575.
[9/3/2020, 2:07:37 PM] [HoneywellHome] Got access token: XXXXXXXXXXXXXXXXXXXXXXXXXX
[9/3/2020, 2:07:37 PM] [HoneywellHome] New refresh token: XXXXXXXXXXXXXXXXXXXXXXXXXX
[9/3/2020, 2:07:37 PM] [HoneywellHome] Homebridge config.json has been updated with new refresh token.
[9/3/2020, 2:07:37 pm] [SmartThings-v2] NOTICE: Temperature Unit is Now: (F)
[9/3/2020, 2:07:37 pm] [SmartThings-v2] NOTICE: Updating Global Values | HubIP: <IP_ADDRESS> | UseLocal: false
[9/3/2020, 2:07:37 pm] [SmartThings-v2] WARN: Devices to Remove: (0) []
[9/3/2020, 2:07:37 pm] [SmartThings-v2] INFO: Devices to Update: (4)
[9/3/2020, 2:07:37 pm] [SmartThings-v2] GOOD: Devices to Create: (0) []
[9/3/2020, 2:07:37 pm] [SmartThings-v2] ALERT: Total Initialization Time: (1 seconds)
[9/3/2020, 2:07:37 pm] [SmartThings-v2] NOTICE: Unknown Capabilities: ["Three Axis"]
[9/3/2020, 2:07:37 pm] [SmartThings-v2] INFO: SmartThings DeviceCache Size: (4)
[9/3/2020, 2:07:37 pm] [SmartThings-v2] INFO: WebServer Initiated...
[9/3/2020, 2:07:37 pm] [SmartThings-v2] INFO: Sending StartDirect Request to SmartThings | SendToLocalHub: (false)
[9/3/2020, 2:07:37 pm] [SmartThings-v2] INFO: Direct Connect Active | Listening at <IP_ADDRESS>:8000
[9/3/2020, 2:07:38 PM] [HoneywellHome] # of Locations Found: 1.
[9/3/2020, 2:07:38 PM] [HoneywellHome] Getting devices for Home...
[9/3/2020, 2:07:38 PM] [HoneywellHome] Failed to refresh access token. device.groups is not iterable

Homebridge Config:
{
    "bridge": {
        "name": "Homebridge 72E7",
        "username": "XX:XX:XX:XX:XX:XX",
        "port": 51575,
        "pin": "XXX-XX-XXX"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "SmartThings-v2",
            "app_url": "https://graph-na04-useast2.api.smartthings.com:443/api/smartapps/installations/",
            "app_id": "XXXXXXXXXXXXXXXXXXXXXXXXX",
            "access_token": "XXXXXXXXXXXXXXXXXXXXXXX",
            "direct_port": 8000,
            "temperature_unit": "F",
            "validateTokenId": false,
            "logConfig": {
                "debug": false,
                "showChanges": true,
                "hideTimestamp": false,
                "hideNamePrefix": false,
                "file": {
                    "enabled": true,
                    "level": "good"
                }
            },
            "platform": "SmartThings-v2"
        },
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "refreshToken": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
            "platform": "Ring"
        },
        {
            "name": "HoneywellHome",
            "credentials": {
                "consumerKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
                "consumerSecret": "XXXXXXXXXXXXXXXX",
                "refreshToken": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
                "notice": "Keep your tokens a secret!"
             So that I can get more details about your thermostat.

T6 Pro

@snopas576 I am working on redo how devices are discovered so if I can see the info from your device then I can make sure it works for you.

Okay, I totally re-did the device discovery, can you test the latest beta? v7.2.1-beta.0

@snopas576, I just pushed out a new beta. can you test it?
To Install:
sudo npm install -g --unsafe-perm homebridge-honeywell-home@beta

To Revert:
sudo npm install -g --unsafe-perm homebridge-honeywell-home@latest

@snopas576 does your device's deviceID start with an LLC or a TCC?

  deviceID: 'XXX-XXXXXXXXXXXX',

v7.2.2-beta.0

@snopas576 this should be taken care of in the next release if you could follow #231, and test the latest beta.
Going to close.


i need help making audio transcription work well on windows (bounty size TBD yet)

i need help making audio transcription work well on windows (bounty size TBD yet)
is audio transcription working on your windows machine?
if not you can help on this! and make money :)

https://github.com/huggingface/candle/pull/2523/files
might be useful to try to resamble and other stuff directly in the core.rs audio instead of later in stt

I'm still having issues with this for some reason. my audio for my microphone is scarlett 2i2 USB and for my speakers it's scarlett 2i2 USB I also use a routing audio software voicemeeter but have tried it without that installed and still no success

Is this fixed now? @louis030195

fixed


Update open-a-pr.md

Under "What's Next" The path is ../reviewing/revewing-prs when it should be /review/reviewing-prs, Resulting in a 404.
First PR!

Seems my Github desktop had old credentials which got affixed to the PR. Lion's Way has a signed CLA! https://identity.linuxfoundation.org/system/files/clas/signed/cla_corporate-d400a20f0f2634e28e663697c37ce273a8a88672.pdf I am looking into the issue.

another PR has solved this: 072d04c91291610d3edd3b3e10db6ba844897fc1
/close


Support multiple claims maps

make it so the player can add multiple nation's claim maps

moved project to https://github.com/VastInfiniteNet/Herm
made a copy of issue: https://github.com/VastInfiniteNet/Herm/issues/1


fix some edits

Hello - there are many many other issues that need to be corrected in this document. Can you please make those updates and resubmit the PR (pull request)?

I correct some misspelled words

I'm going to close this PR so others can complete the assignment. There are a few more typos but this is good enough


Problem of Augmenting Geometric Style

Thanks for your great work. I want to verify whether you release the code of Augmenting Geometric Style?

Hello, the geometric augmenting part is here. For ease of testing, we provide the base deformation space shared by the three test datasets. You can change the parameters to change the distribution space. The computation of the geometric distribution from an image set is similar to the construction of the style distribution but replaces the texture embeddings with warping features.


feat: Add ServersTransport annotation to k8s ingress provider

What does this PR do?
This PR adds a traefik.ingress.kubernetes.io/service.serverstransport annotation to the k8s ingress provider.
It allows the user to specify a ServersTransport that should be used when connecting to this service.
It functions similarly to the existing ingress middleware annotation in that it only allows you to reference an already existing ServersTransport but cannot create them itself.
Motivation
Traefik 2.4 adds support for per service mTLS configurations but doesn't provide a straight forward way to do this from the k8s ingress provider.
Considering we use mTLS for most of our service to service authentication, this feature would greatly simplify our setup.
More

[x] Added/updated tests
[x] Added/updated documentation

Additional Notes

The build failed on a test unrelated to my changes (seems it timed out trying fetch something from alibaba cloud).
I'm fairly certain this is a spurious failure, but I don't know how to rerun the build.


Fix onValueChangeFinished dispatched before onValueChange on tap

Fixes #43.

Nice observation!

Thanks for the merge!


[VRV.co] Failed to download m3u8 information: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>

Checklist

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

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', '--verbose', '-u', 'PRIVATE', '-p', 'PRIVATE', 'https://vrv.co/watch/GRNV9WVG6/SING-YESTERDAY-FOR-ME:A-Spring-Storm']
[debug] Encodings: locale cp932, fs mbcs, out cp932, pref cp932
[debug] youtube-dl version 2020.06.06
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg git-2019-10-23-1f327f5, ffprobe git-2019-10-23-1f327f5
[debug] Proxy map: {}
[vrv] None: Downloading webpage
[vrv] Downloading Token Credentials JSON metadata
[vrv] GRNV9WVG6: Downloading resource path JSON metadata
[vrv] GRNV9WVG6: Downloading CMS Signing JSON metadata
[vrv] GRNV9WVG6: Downloading object JSON metadata
[vrv] GRNV9WVG6: Downloading video JSON metadata
[vrv] GRNV9WVG6: Downloading streams JSON metadata
[vrv] GRNV9WVG6: Downloading dash-audio-ja-JP information
WARNING: Failed to download MPD manifest: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading dash-audio-ja-JP-hardsub-ar-ME information
WARNING: Failed to download MPD manifest: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading dash-audio-ja-JP-hardsub-ru-RU information
WARNING: Failed to download MPD manifest: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading dash-audio-ja-JP-hardsub-fr-FR information
WARNING: Failed to download MPD manifest: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading dash-audio-ja-JP-hardsub-es-LA information
WARNING: Failed to download MPD manifest: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading dash-audio-ja-JP-hardsub-de-DE information
WARNING: Failed to download MPD manifest: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading dash-audio-ja-JP-hardsub-en-US information
WARNING: Failed to download MPD manifest: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading dash-audio-ja-JP-hardsub-it-IT information
WARNING: Failed to download MPD manifest: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading dash-audio-ja-JP-hardsub-es-ES information
WARNING: Failed to download MPD manifest: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading dash-audio-ja-JP-hardsub-pt-BR information
WARNING: Failed to download MPD manifest: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading hls-audio-ja-JP information
WARNING: Failed to download m3u8 information: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading hls-audio-ja-JP-hardsub-ar-ME information
WARNING: Failed to download m3u8 information: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading hls-audio-ja-JP-hardsub-ru-RU information
WARNING: Failed to download m3u8 information: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading hls-audio-ja-JP-hardsub-fr-FR information
WARNING: Failed to download m3u8 information: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading hls-audio-ja-JP-hardsub-es-LA information
WARNING: Failed to download m3u8 information: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading hls-audio-ja-JP-hardsub-de-DE information
WARNING: Failed to download m3u8 information: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading hls-audio-ja-JP-hardsub-en-US information
WARNING: Failed to download m3u8 information: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading hls-audio-ja-JP-hardsub-it-IT information
WARNING: Failed to download m3u8 information: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading hls-audio-ja-JP-hardsub-es-ES information
WARNING: Failed to download m3u8 information: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
[vrv] GRNV9WVG6: Downloading hls-audio-ja-JP-hardsub-pt-BR information
WARNING: Failed to download m3u8 information: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpd0boo4lk\build\youtube_dl\YoutubeDL.py", line 797, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpd0boo4lk\build\youtube_dl\extractor\common.py", line 530, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpd0boo4lk\build\youtube_dl\extractor\vrv.py", line 206, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpd0boo4lk\build\youtube_dl\extractor\common.py", line 1350, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Trying to download an episode on VRV, but I get a WARNING: Failed to download m3u8 information: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)> error. I can indeed watch the video on Chrome 83 Stable.
Example URL: https://vrv.co/watch/GRNV9WVG6/SING-YESTERDAY-FOR-ME:A-Spring-Storm
Local time: 2020-06-13 14:21 EST

I have a feeling this might just be an expired certificate, as passing --no-check-certificate causes this to work just fine.
I am also experiencing the same issue as #25541.

Manually building youtube-dl with Python 3.8.2 + PyInstaller 3.6 causes this error to disappear. Version of Python used to build .exe the cause of this error?

This is also happening on xvideos since the beginning of the month. --no-check-certificate fixes it. I'm guessing that since browsers work around the bad config they won't ever fix it.

Python 3.8.2 has newer openssl. This happened becasue Addtrust expired.

Also experiencing this problem with Soundcloud and the Windows-version of yt-dl (2<IP_ADDRESS>), but already on JSON metadata.
ERROR: Unable to download JSON metadata: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)> (caused by URLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)'),))

This failure is because of an expired cert. Duplicate of https://github.com/ytdl-org/youtube-dl/issues/883


fix(CX-1577): featured fair show more button doesn't work

The type of this PR is: Bugfix

This PR resolves CX-1577
Description

Original report is that 'Show more' button doesn't work. This button should be removed and changed to infinite scroll. Discussion: https://artsy.slack.com/archives/C01B2P6LJUU/p1625139230356700
The issue:
https://user-images.githubusercontent.com/27921300/123990113-c9123680-d9c9-11eb-8a88-ac7f0328ba9b.mov
The fix for the case when we need to fetch more data:
https://user-images.githubusercontent.com/27921300/124141825-02aa7680-da8a-11eb-9691-6c7f596d3131.mov
The fix for the case when the end of the list is reached:
https://user-images.githubusercontent.com/27921300/124141666-e0b0f400-da89-11eb-80ff-42b07b5178ac.mov
Note: my simulator works super slow, so videos are kinda glitchy, sorry for that.
PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a CHANGELOG.yml entry or my changes do not require one.

Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

#squashongreen


dynamic routing/code splitting?

Does it work with react-router dynamic routing/code splitting?

hi @ngocketit. there shouldn't be any reason it wouldn't work w/code-splitting, so long as the container has a RouteTransition. all this package does is provide animation hooks for mounting/unmounting components.
going to close this, feel free to reopen if you're unable to get it working.

Thanks @maisano! I tried and it indeed works. The only problem is that the new view usually comes blank for a while until the async data is loaded. This probably can be mitigated with a simple spinner.

@ngocketit great! glad that worked out. feel free to submit a pr with an example if you get it working and want to share that. no worries if not tho!


Update Ruby version in the Dockerfile for bookinfo-details app

Update the version of the base image from ruby:2.3-slim to ruby:2.6.3-slim.
This is part of series of fixes to update the base images to their latest
versions to make sure they have the latest security updates.
Fixes Bug: #13262

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: johnma14
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: frankbu
If they are not already assigned, you can assign the PR to them by writing /assign @frankbu in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

samples/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/assign @linsun

@johnma14: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
c5cbf4b0835733015e13ee20ba3305f1013a0539
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@linsun: changing LGTM is restricted to assignees, and assigning you to the PR failed.

In response to this:

/lgtm
/approve

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: johnma14, linsun
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

samples/OWNERS [linsun]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Uncaught Selenium Exception: StaleElementReferenceException

Describe the bug
I'm running mintapi in a container headless on AWS and it has been working fine for months even through occasional Chrome and package version updates. It runs through the login flow fine, but then after it enters MFA it is erroring on a StaleElementReferenceException. I ran same script without headless mode on my Mac and was able to confirm that it is happening right after the MFA soft-token flow completes.
What version of MintAPI are you using?

mintapi==1.60

What command[s] did you run / steps to reproduce?
Tried a couple ways:

Building driver through Chrome Opts:    mint = mintapi.Mint()
    mint.driver = Chrome(executable_path=f'/opt/chromedriver', chrome_options=chrome_opts())
    mint.status_message, mint.token = mintapi.sign_in(email, password, driver=mint.driver, mfa_method="soft-token", mfa_token=token)

Using driver on path:
mint = mintapi.Mint(email=email, password=password, use_chromedriver_on_path=True, headless=True, mfa_method="soft-token", mfa_token=token)

Stacktrace/error received:
  (Session info: headless chrome=96.0.4664.110)

Traceback (most recent call last):
  File "/var/task/mintapi/api.py", line 235, in login_and_get_token
    self.status_message, self.token = sign_in(
  File "/var/task/mintapi/signIn.py", line 482, in sign_in
    driver.find_element_by_id(
  File "/var/task/selenium/webdriver/remote/webelement.py", line 477, in send_keys
    self._execute(Command.SEND_KEYS_TO_ELEMENT,
  File "/var/task/selenium/webdriver/remote/webelement.py", line 633, in _execute
    return self._parent.execute(command, params)
  File "/var/task/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "/var/task/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: element is not attached to the page document

What did you expect to happen?
Successfully login and the Mint object gets data that it is looking for
What actually happened?
Getting above error when using the mfa soft-token flow.
Additional context
I was able to get this to run fine by installing mintapi from a local project where I added the above exception to be caught here. I didn't want to create a PR before opening an issue in case you want to throw a warning or something instead? Not sure if there are any genuine scenarios where you'd want to throw that exact Selenium exception to the users, or at least let them know we are suppressing it. Let me know if you want any more info.

Confirming the same issue, fixed by modifying that line 488 to this:
except (NoSuchElementException, ElementNotInteractableException, StaleElementReferenceException):
(thanks for showing me where to add this @jeremyehack !)

I am hacking, not sure exactly what is going on here - but adding this:
driver.implicitly_wait(20)  # seconds
...just above that Try block also seems to fix without ignoring the exception - not sure how long that wait needs to be.

Good find, that is probably better than suppressing the exception. I don't think it even needs 20 seconds, I think 1-2 would be fine. I'll fiddle around with that and see what I get

implicitly_wait is probably not what you think it is. It sets the setting for the driver to wait for every DOM interaction. You are thinking of the builtin time.sleep or better yet an explicit wait.
Does the added exception handler in the except not sufficient to fix what you are seeing? If the element goes stale, it should catch the updated element on the next iteration of the while loop when using the except.

Confirming the same issue, fixed by modifying that line 488 to this:
except (NoSuchElementException, ElementNotInteractableException, StaleElementReferenceException):
(thanks for showing me where to add this @jeremyehack !)

Same problem, same solution.
Thanks!
@jeremyehack I would say to go for the PR, adding the StaleElementReferenceException
As @jaron-l pointed out, you're not suppressing the exception, but merely causing another go-round with the while-loop

Awesome. please do submit a PR for that and I'm happy to review and merge it :)

Created #391 to address this.

#391 is merged, so this can be fixed by pulling the latest main :)

@mrooney thanks for taking care of this, I was out of the country the past week and didn't have my laptop with me.


pkg/ansible,pkg/helm: import client-go auth plugins

Description of the change:
Imports all known Kubernetes client-go auth plugins in the Helm and Ansible operators
Motivation for the change:
For Go operators, we plan to add documentation about how users can add auth plugins to their cmd/manager/main.go file.
However, users of the Ansible and Helm operators don't have that option unless the convert their operator to a hybrid operator using operator-sdk migrate.
This closes #1178 and closes #1196

Why don't we add all the auth providers to the go cmd.go scaffold as well? We currently add the gcp auth provider by default: https://github.com/operator-framework/operator-sdk/blob/master/pkg/scaffold/cmd.go#L55
Is there a reason to include just the gcp provider by default in the go operators? Or should that be removed and instead be left to the users to handle for go based operators?
/cc @hasbro17

@AlexNPavel Nice, I didn't realize we were doing that. I'll update the PR to include that.
Based on this comment, I'll also move the import closer to the top in a separate section, so we don't accidentally break things if we change imports later.

@AlexNPavel I think originally we thought it's an unnecessary dependency to include auth plugins that you won't use so we were initially intending for users to include them in their Go based operators as needed.
However since more and more users were running into issues on running the operator locally outside GKE we just added the gcp plugin by default.
To be more consistent we can either remove all plugins for Go operators and document clearly what users need to add. Or just add everything for them. I'm leaning towards the latter since it works out of the box.
And for Helm/Ansible operators we'll definitely need them by default since users can't add the imports themselves.

I'm now debating where the imports for the Ansible and Helm operators should go.
In this PR, they're currently in both pkg/ansible/run.go and pkg/helm/run.go, but I'm now considering if it would be better to have the imports appear only in main functions in:

the hybrid ansible operator main.go template
the hybrid helm operator main.go template
commands/operator-sdk/main.go to cover operator-sdk up local and operator-sdk run

go-lint warns that blank imports should only be in main functions (or have a comment to justify placement elsewhere). Also, putting them in the main functions of hybrid operators would line up more with the go operator and give developers of hybrid operators a hint that auth plugin imports can be tweaked.
Thoughts?

@joelanford That seems reasonable to me.
So long as we have up local and run covered by having the imports defined in cmd/operator-sdk/main.go

@hasbro17 @AlexNPavel PTAL


nomad: 0.6.2 -> 0.7.1

Semi-automatic update. These checks were performed:

built on NixOS
ran /nix/store/glm49diswdg3qi1vxpffqmdrzmkykvqj-nomad-0.7.1-bin/bin/nomad -h got 0 exit code
ran /nix/store/glm49diswdg3qi1vxpffqmdrzmkykvqj-nomad-0.7.1-bin/bin/nomad --help got 0 exit code
ran /nix/store/glm49diswdg3qi1vxpffqmdrzmkykvqj-nomad-0.7.1-bin/bin/nomad -v and found version 0.7.1
ran /nix/store/glm49diswdg3qi1vxpffqmdrzmkykvqj-nomad-0.7.1-bin/bin/nomad --version and found version 0.7.1
ran /nix/store/glm49diswdg3qi1vxpffqmdrzmkykvqj-nomad-0.7.1-bin/bin/nomad version and found version 0.7.1
found 0.7.1 with grep in /nix/store/glm49diswdg3qi1vxpffqmdrzmkykvqj-nomad-0.7.1-bin
found 0.7.1 in filename of file in /nix/store/glm49diswdg3qi1vxpffqmdrzmkykvqj-nomad-0.7.1-bin

cc "@rushmorem @pradeepchhetri @ehmry @lethalman"

Success on x86_64-linux (full log)
Partial log (click to expand)
/nix/store/71rspc8yg3yly2cgmdnhb8yzjsr4yhfh-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/github.com/prometheus/procfs/ttar: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/71rspc8yg3yly2cgmdnhb8yzjsr4yhfh-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/github.com/posener/complete/test.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/71rspc8yg3yly2cgmdnhb8yzjsr4yhfh-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/github.com/ugorji/go/codec/tests.sh: interpreter directive changed from "/bin/bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/71rspc8yg3yly2cgmdnhb8yzjsr4yhfh-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/github.com/ugorji/go/codec/prebuild.sh: interpreter directive changed from "/bin/bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/71rspc8yg3yly2cgmdnhb8yzjsr4yhfh-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/google.golang.org/grpc/coverage.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/71rspc8yg3yly2cgmdnhb8yzjsr4yhfh-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/google.golang.org/grpc/codegen.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/71rspc8yg3yly2cgmdnhb8yzjsr4yhfh-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/golang.org/x/sys/unix/mkall.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/71rspc8yg3yly2cgmdnhb8yzjsr4yhfh-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/golang.org/x/sys/unix/mkerrors.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
checking for references to /tmp/nix-build-nomad-0.7.1.drv-0 in /nix/store/71rspc8yg3yly2cgmdnhb8yzjsr4yhfh-nomad-0.7.1...
/nix/store/glm49diswdg3qi1vxpffqmdrzmkykvqj-nomad-0.7.1-bin

Success on aarch64-linux (full log)
Partial log (click to expand)
/nix/store/41q7v6bhn9dx3i8v7w6vjj2bx458h3sw-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/github.com/ugorji/go/codec/prebuild.sh: interpreter directive changed from "/bin/bash" to "/nix/store/xb5jmm0qvf472sa1v2s4aqakfr7lrw33-bash-4.4-p12/bin/bash"
/nix/store/41q7v6bhn9dx3i8v7w6vjj2bx458h3sw-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/github.com/ugorji/go/codec/tests.sh: interpreter directive changed from "/bin/bash" to "/nix/store/xb5jmm0qvf472sa1v2s4aqakfr7lrw33-bash-4.4-p12/bin/bash"
/nix/store/41q7v6bhn9dx3i8v7w6vjj2bx458h3sw-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/github.com/ulikunitz/xz/make-docs: interpreter directive changed from "/bin/sh" to "/nix/store/xb5jmm0qvf472sa1v2s4aqakfr7lrw33-bash-4.4-p12/bin/sh"
/nix/store/41q7v6bhn9dx3i8v7w6vjj2bx458h3sw-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/golang.org/x/sys/unix/mkall.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/xb5jmm0qvf472sa1v2s4aqakfr7lrw33-bash-4.4-p12/bin/bash"
/nix/store/41q7v6bhn9dx3i8v7w6vjj2bx458h3sw-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/golang.org/x/sys/unix/mkerrors.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/xb5jmm0qvf472sa1v2s4aqakfr7lrw33-bash-4.4-p12/bin/bash"
/nix/store/41q7v6bhn9dx3i8v7w6vjj2bx458h3sw-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/google.golang.org/grpc/codegen.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/xb5jmm0qvf472sa1v2s4aqakfr7lrw33-bash-4.4-p12/bin/bash"
/nix/store/41q7v6bhn9dx3i8v7w6vjj2bx458h3sw-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/google.golang.org/grpc/coverage.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/xb5jmm0qvf472sa1v2s4aqakfr7lrw33-bash-4.4-p12/bin/bash"
/nix/store/41q7v6bhn9dx3i8v7w6vjj2bx458h3sw-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/website/scripts/deploy.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/xb5jmm0qvf472sa1v2s4aqakfr7lrw33-bash-4.4-p12/bin/bash"
checking for references to /build in /nix/store/41q7v6bhn9dx3i8v7w6vjj2bx458h3sw-nomad-0.7.1...
/nix/store/3i9pjag5ss0cywrka32n4ss38cz8f6h3-nomad-0.7.1-bin

@GrahamcOfBorg build nomad

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘nomad-0.7.1’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/applications/networking/cluster/nomad/default.nix:20 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Partial log (click to expand)
/nix/store/71rspc8yg3yly2cgmdnhb8yzjsr4yhfh-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/scripts/example_weave.bash: interpreter directive changed from "/bin/bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/71rspc8yg3yly2cgmdnhb8yzjsr4yhfh-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/scripts/vagrant-linux-priv-ui.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/71rspc8yg3yly2cgmdnhb8yzjsr4yhfh-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/scripts/update_docker.sh: interpreter directive changed from "/bin/bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/71rspc8yg3yly2cgmdnhb8yzjsr4yhfh-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/scripts/travis-mac-priv.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/71rspc8yg3yly2cgmdnhb8yzjsr4yhfh-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/scripts/dist.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/71rspc8yg3yly2cgmdnhb8yzjsr4yhfh-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/scripts/vagrant-linux-priv-vault.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/71rspc8yg3yly2cgmdnhb8yzjsr4yhfh-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/scripts/vagrant-linux-priv-go.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/71rspc8yg3yly2cgmdnhb8yzjsr4yhfh-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/website/scripts/deploy.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
checking for references to /tmp/nix-build-nomad-0.7.1.drv-0 in /nix/store/71rspc8yg3yly2cgmdnhb8yzjsr4yhfh-nomad-0.7.1...
/nix/store/glm49diswdg3qi1vxpffqmdrzmkykvqj-nomad-0.7.1-bin

Success on aarch64-linux (full log)
Partial log (click to expand)
/nix/store/2mlchrrbi12y6syxw1fpphnrn69b9kyv-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/github.com/ugorji/go/codec/prebuild.sh: interpreter directive changed from "/bin/bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/2mlchrrbi12y6syxw1fpphnrn69b9kyv-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/github.com/ugorji/go/codec/tests.sh: interpreter directive changed from "/bin/bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/2mlchrrbi12y6syxw1fpphnrn69b9kyv-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/github.com/ulikunitz/xz/make-docs: interpreter directive changed from "/bin/sh" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/sh"
/nix/store/2mlchrrbi12y6syxw1fpphnrn69b9kyv-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/golang.org/x/sys/unix/mkall.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/2mlchrrbi12y6syxw1fpphnrn69b9kyv-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/golang.org/x/sys/unix/mkerrors.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/2mlchrrbi12y6syxw1fpphnrn69b9kyv-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/google.golang.org/grpc/codegen.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/2mlchrrbi12y6syxw1fpphnrn69b9kyv-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/vendor/google.golang.org/grpc/coverage.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/2mlchrrbi12y6syxw1fpphnrn69b9kyv-nomad-0.7.1/share/go/src/github.com/hashicorp/nomad/website/scripts/deploy.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
checking for references to /build in /nix/store/2mlchrrbi12y6syxw1fpphnrn69b9kyv-nomad-0.7.1...
/nix/store/w53sdvnkzskyic0rp710ffpj3yaqrvyd-nomad-0.7.1-bin


RHINENG-14812 remove database use in clowdapp

These resources are still being called in some places of the code. Need to close.


irrigation demand

I have exported the water_flux file through the following code, but why is the irrigation amount fixed at 15mm per day (Irr Day), as I understand it, the irrigation amount should not be the same every day. My total irrigation is set to 300mm.：
from aquacrop import AquaCropModel, Soil, Crop, InitialWaterContent, IrrigationManagement
from aquacrop.utils import prepare_weather, get_filepath
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from scipy.optimize import fmin
import os
smts = [80]*4
max_irr_season = 300 # 300 mm (water)
path = get_filepath('champion_climate.txt')
wdf = prepare_weather(path)
year1 = 2018
year2 = 2018
maize = Crop('Maize',planting_date='05/01') # define crop
loam = Soil('ClayLoam') # define soil
init_wc = InitialWaterContent(wc_type='Pct',value=[40]) # define initial soil water conditions
#irrmngt = IrrigationManagement(irrigation_method=4,NetIrrSMT=30)
irrmngt = IrrigationManagement(irrigation_method=1,SMT=smts,MaxIrrSeason=max_irr_season) # define irrigation management
model = AquaCropModel(f'{year1}/05/01',f'{year2}/10/31',wdf,loam,maize,
irrigation_management=irrmngt,initial_water_content=init_wc)
model.run_model(till_termination=True)
module_dir = os.path.dirname(os.path.abspath(file))
irr_origin = os.path.join(module_dir, 'drought-irrigation.csv')
water_out = model._outputs.water_flux
water_out.to_csv(irr_origin)

Hi,
This is an issue left after one of the tests recently. Also, see the issue below.
https://github.com/aquacropos/aquacrop/issues/132
Below any official update, you may need to change the code by yourselves (line 178 in aquacrop/aquacrop/solution
/irrigation.py). Like:
            Irr = min(IrrMngt_MaxIrr, IrrReq)

            #Irr = 15 # hard-code in 15mm depth for tests

extremely grateful


Fix: cgroupsv2 never returns ErrCgroupDeleted

I noticed that this code is checking for cgroupsv2.ErrCgroupDeleted
However, cgroupsv2.LoadManager() will never return this error type, rendering
the cgroupsv2.NewManager() code to be unused.
Even if cgroupsv2. would be used, calling NewManager() with a nil resources
would produce an error ("resources reference is nil");
https://github.com/containerd/cgroups/blob/v1.0.1/v2/manager.go#L169-L172
func NewManager(mountpoint string, group string, resources *Resources) (*Manager, error) {
    if resources == nil {
        return nil, errors.New("resources reference is nil")
    }

This patch removes checks for cgroupsv2.ErrCgroupDeleted, as it is not used
in cgroups v2. As outlined above, this change should not affect the current
behavior.
Question remains: should containerd create a new manager? In the current
codebase, cgroupsv2.NewManager() is not used, which means that the cgroup
path is never (explicitly) created, and controllers are never enabled (by
containerd); https://github.com/containerd/cgroups/blob/v1.0.1/v2/manager.go#L176-L192
Cgroup paths will be created implicitly, as the code continues with cg.AddProc(),
which:

calls writeValues() https://github.com/containerd/cgroups/blob/v1.0.1/v2/manager.go#L319

calls Value.write() https://github.com/containerd/cgroups/blob/v1.0.1/v2/manager.go#L162

calls ioutil.Writefile() https://github.com/containerd/cgroups/blob/v1.0.1/v2/manager.go#L147.
which creates files when missing: https://pkg.go.dev/io/ioutil#WriteFile

WriteFile writes data to a file named by filename. If the file does not exist,
WriteFile creates it with permissions perm (before umask) (...)

Cgroup paths will be created implicitly, as the code continues with cg.AddProc(),
which:

Actually, this is not correct, because it won't create the parent path, so we will fail in this case; https://play.golang.org/p/6noxWN225Dh
package main

import (
        "fmt"
        "io/ioutil"
)

func main() {
        err := ioutil.WriteFile("/no/such/path/myfile.txt", []byte("hello world"), 0755)
        fmt.Println(err)
}

So (if I see it correctly) apply() will currently return an ErrNotExist if the cgroup path isn't there.
Perhaps LoadManager should return  ErrCgroupDeleted  (or perhaps it should be a ErrInvalidGroupPath) if it doesn't exist. However then we need to call NewManager() with a non-nil resources
Alternatively, we modify cg.AddProc() to create the cgroup path (depending on what the desirable behavior is).

If this is ready to be reviewed, can you rebase to get the tests passing?

This was included in https://github.com/containerd/containerd/commit/18d483b236b2bf999441c2324b70ae52a48a7cb7, so no longer needed


Example event callbacks need a way to access example members

Description
With our current event handling design we need an instance of the event handler in order to get the events, the default one worked well until we needed to handle some events, like we have with the resize event on http://github.com/Devsh-Graphics-Programming/Nabla-Examples-and-Tests/pull/8
Now the problem statement is "How can the event handler access the members of our example class" i.e the relation between the two. This might get used for other event handlers in examples in the future.
Description of the related problem
http://github.com/Devsh-Graphics-Programming/Nabla-Examples-and-Tests/pull/8
Solution proposal
Solution 1 - examples inherit CommonAPIEventHandler
Let the examples that use window inherit from CommonAPIEventHandler and then user passes the event handler itself in InitParams instead of letting CommonAPI construct it for them.
this way user can override the callbacks it needs.
I'm not so sure about this one because it has a dependency on logger and input system, which common API provides for us, but we can simply have setter functins for them.
If we make it work, this solution would be convenient and better than the currentnt one and we wouldn't even need to have ResizeEventHandler
Solution 2 - register std::function
Our examples don't inherit from anything but ResizeEventHandler contains a bunch of std::functions with correct signatures like std::function<void(uint32_t,uint32_t)>
unless there is some weird reason not to use a std::function this is a pretty good choice.
Solution 3 - the event functions in ApplicationFramework
This is the currently implemented mitigation for resize event callbacks on the afforementioned PR.
This solution has the GraphicalApplication (or maybe IGraphicalApplicationFramework) define virtual functions like onResize, and the CommonAPI::CommonAPIEventCallback stores a IGraphicalApplicationFramework* and has a function like setGraphicalApp and we can so something like:
bool onWindowResized_impl(uint32_t w, uint32_t h) override
{
	m_logger.log("Window resized to { %u, %u }", nbl::system::ILogger::ELL_DEBUG, w, h);
        if (graphicalApp)
           graphicalApp->onResize(w,h);
	return true;
}

The issue with this solution is we're re-defining some function like onResize similar to onWindowResized_impl again as opposed to Solution#1 where we straight up inherit from CommonAPI::CommonAPIEventCallback and the example will be its own event handler, if we had more callbacks we'd need to duplicate them in IGraphicalApplicationFramework as well.
The problem with Solution#1 is having to decide at compile time whether our example will need window and events but It's not a big deal.
We can combine this with Solution#1 and Have GraphicalApplication inherit ICommonAPIEventCallback or even one step further and nbl::ui::IGraphicalApplicationFramework inherit nbl::ui::IWindow::IEventCallback -- this has the same downside of Solution#1 where we have to move the callback creation out of CommonAPI::Init and probably put it in InitParams.
Additional context

See new comments on your PR, esp:
https://github.com/Devsh-Graphics-Programming/Nabla-Examples-and-Tests/pull/8/files#r940222261

Description
With our current event handling design we need an instance of the event handler in order to get the events, the default one worked well until we needed to handle some events, like we have with the resize event on http://github.com/Devsh-Graphics-Programming/Nabla-Examples-and-Tests/pull/8
Now the problem statement is "How can the event handler access the members of our example class" i.e the relation between the two. This might get used for other event handlers in examples in the future.
Description of the related problem
http://github.com/Devsh-Graphics-Programming/Nabla-Examples-and-Tests/pull/8
Solution proposal
Solution 1 - examples inherit CommonAPIEventHandler
Let the examples that use window inherit from CommonAPIEventHandler and then user passes the event handler itself in InitParams instead of letting CommonAPI construct it for them. this way user can override the callbacks it needs.
I'm not so sure about this one because it kinda has dependancy on logger and input system which common apu provides for us, but we can simply have setter functins for them.
IF we make it work This solution would be convenient and better than the currentnt one and we wouldn't even need to have ~Resize~EventHandler
Solution 2 - register std::function
Our examples don't inherit from anything but ~Resize~EventHandler contains a bunch of std::functions with correct signatures like std::function<void(uint32_t,uint32_t)>
unless there is some weird reason not to use a std::function this is a pretty good choice.
Solution 3 - the event functions in ApplicationFramework
This is the currently implemented mitigation for resize event callbacks on the afforementioned PR.
This solution has the GraphicalApplication (or maybe IGraphicalApplicationFramework) define virtual functions like onResize, and the CommonAPI::CommonAPIEventCallback stores a IGraphicalApplicationFramework* and has a function like setGraphicalApp and we can so something like:
bool onWindowResized_impl(uint32_t w, uint32_t h) override
{
	m_logger.log("Window resized to { %u, %u }", nbl::system::ILogger::ELL_DEBUG, w, h);
        if (graphicalApp)
           graphicalApp->onResize(w,h);
	return true;
}

The issue with this solution is we're re-defining some function like onResize similar to onWindowResized_impl again as opposed to Solution#1 where we straight up inherit from CommonAPI::CommonAPIEventCallback and the example will be it's own event handler, if we had more callbacks we'd need to duplicate them in IGraphicalApplicationFramework as well.
The problem with Solution#1 is having to decide at compile time whether our example will need window and events but It's not a big deal.
We can combine this with Solution#1 and Have GraphicalApplication inherit ICommonAPIEventCallback or even one step further and nbl::ui::IGraphicalApplicationFramework inherit nbl::ui::IWindow::IEventCallback -- this has the same downside of Solution#1 where we have to move the callback creation out of CommonAPI::Init and probably put it in InitParams.
Additional context

Solution 1
Is fair idea, if you need special/overriden beehaviour, then inherit and override.
Solution 2
A plain no, function signatures are ugly and provide no encapsulation
Solution 3
Its a pain to read, I don't think this idea was thought out.

Solution 1 is the only one I'll accept.

@deprilula28 Please put this on your TODO as Solution 3 which was the easiest at the moment was implemented

Solution 1 is the only one I'll accept.

I misread the original description, what I meant is..
If you want the handler to do something else define a custom EventHandler which inherits from CommonAPIEventHandler in the application main.cpp then it can be aware of all the extra stuff and the actual type of the application which itself inherits from IGraphicalApplication
UNDER NO CIRCUMSTANCE have the application inherit from event handler


Create a blog post of best practices

[ ] How to use ids
[ ] Minifiers
[ ] What is Tonic.match
[ ] Using this.querySelector(...) and document.querySelector.

More ideas

[ ] Tonic.getTagName(component) — https://github.com/socketsupply/tonic/pull/94 and https://github.com/socketsupply/tonic/issues/91#issuecomment-1251848304


The payload sent to the RC webhook does not match the specification

Expected Behaviour
The implementation of the RC webhook which receives the analysis results from Smarti expects the parameters conversationId and channelId.
Actual Behaviour
When using GET /conversation/{conversationId}/analysis asynchronously, Smarti passes the plain analysis results to the given webhook. The response does not include  the channelId. Without caching channelId <-> conversationId in the chat application (e.g. Rocket.Chat), it is not possible to notify the room/channel for an update.
Steps to Reproduce
Use the /conversation/{conversationId}/analysis?callback={you-callback-url} in an external chat application and try to find out to which channel/room ID the analysis results belongs to.
Note
In earlier version of Smarti (0.6.x) this has been different. By introducing Smarti 0.7.0 the SmartiAdapter in assistify/Rocket.Chat has been changed from using asynchronous calls to synchronous calls.

https://github.com/assistify/Rocket.Chat/commit/45ded30ccec55d7f9f77be93883f6fb633612c85#diff-c3988ccd682eb623c73cea3a52bb9783
https://github.com/assistify/Rocket.Chat/blob/master/packages/assistify-ai/server/SmartiRouter.js#L19.

Environment

Smarti-Version: 0.7.3
Java-Version: 8
Additional Components: https://github.com/assistify/Rocket.Chat/tree/develop

The mapping conversationId and channelId is in the responsibility of the client. Only in older Version this mapping was managed by Smarti as part of the RocketchatEndpoint
AFAIK the Smarti Rocket.Chat widget stores the mappings in a collection of the MongoDB used by Rocket.Chat. I am sure @Peym4n can provide more information.
In case we want to provide the channelId with analysis responses I see only a single possibility: The client is free to store any kind of information in the conversation metadata. If the client stores the channelId in the metadata we could include the conversation metadata in analysis responses

For now I fetch the roomId by the livechat-external-messages which caches the mapping between roomId <-> conversationId. This resolves the dependencies to Smarti for now and we can make use of asynchronous communication between Smarti an Assistify.Chat.
What worries me a little is that with the introduction of 0.7.0 the analysis call was simply changed from asynchronous to synchronous.

@ruKurz As you noticed, currently the widget backend is using livechat-external-messages to map roomId and conversationId. Should I add channelId to the metadata?

What worries me a little is that with the introduction of 0.7.0 the analysis call was simply changed from asynchronous to synchronous.
When I was implementing the new API I was told to not use any webhooks.

We decided that the analysis result shouldn't contain the roomId.


Thread-local threads mentioned in postcondition are erroneously deleted

Example:
C sbsc

{ x = 0; y = 0; }

void P0(atomic_int *x, atomic_int *y) {
  int a;
  atomic_store_explicit(x, 1, memory_order_relaxed);
  a = atomic_load_explicit(y, memory_order_relaxed);
}

void P1(atomic_int *x, atomic_int *y) {
  int b;
  atomic_store_explicit(y, 1, memory_order_relaxed);
  b = atomic_load_explicit(x, memory_order_relaxed);
}

exists (0:a == 0 /\ 1:b == 0)

The generated locations stanza for the litmus test should be x; y; t0a; t1b.  Instead, it is x; y, because t0a and t1b are (rightly) treated as local variables, but (wrongly) considered not to be publicly visible.

I believe I've fixed this, but found a related (XY!) problem: the postcondition itself isn't being propagated properly (see #61).


Client.executeQuery will "reset" all the default values of client

When using the Client.executeQuery function, it seems all the default values are dropped (fetchOptions, fetch, etc...).
It seems related to how the options are defined here. This object will be passed down to the executeQuery function which will spread it here.
The issue is that the previous properties will be replaced by the new ones, with value "undefined":
Client.executeQuery(~client, ~request, ());

// Will generate an opts as follow:

let optsJs: Types.partialOperationContext = {
  additionalTypenames,
  fetchOptions: undefined, // since the type is option('fetchOptions),
  fetch: undefined, // since the type is option('fetchImpl),
  // ...
};

When spread in the createOperationContext method:
{
  url: this.url,
  fetchOptions: this.fetchOptions,
  fetch: this.fetch,
  // ...
  ...opts,
  // ...
};

Which is the same as
{
  url: this.url,
  fetchOptions: this.fetchOptions,
  fetch: this.fetch,
  // ...
  fetchOptions: undefined,
  fetch: undefined,
  // ...
};

So
{
  url: this.url,
  // ...
  fetchOptions: undefined,
  fetch: undefined,
  // ...
};

Since the properties are spread after the default values (which is necessary to allow for default values override).
A solution is to make the clientOptions type abstract (just like PartialOperationContextJs).
But I'm too sure about the urql api, so maybe I missed something? 😅

You're right here @gaku-sei and I do think we can fix this by reverting partialOperationContext back from a record to a<EMAIL_ADDRESS>abstract] (as it previously was). I was at first concerned that ReScript didn't support this syntax, since it isn't documented 😱 but just tested it out in the playground and it works. I'll put up a PR later today!


Send an init event with an Installation, ID even if Stats are disabled.

We would like to asses how many installations out there have stats disabled. This will help us get an idea.

@einato @NoyDavidson2 nowadays we're sending on a 12-hour interval security audit event, and on the other hand, we have the stats (for those who enabled them).
Calculating both metrics should give us the number of installations that didn't enable stats and make this one redundant, isn't it?

It isn't. The security check is sent without an installation ID, and in a random time between 12-14 hours. It is therefore useless for BI purposes. We tried to cross it with IP and failed to get meaningful results. We know other OSS projects send a daily ping to server without opt out, and we may be too conservative. We can add an installation ID to the security check and send it every 24 hours, exactly 24 hours....That can be helpful.

It isn't. The security check is sent without an installation ID, and in a random time between 12-14 hours. It is therefore useless for BI purposes. We tried to cross it with IP and failed to get meaningful results. We know other OSS projects send a daily ping to server without opt out, and we may be too conservative. We can add an installation ID to the security check and send it every 24 hours, exactly 24 hours....That can be helpful.

I see... thanks for the clarification. I'll check if we can change the security check to support it, and if not, we'll prioritize it as a dedicated event.

Verified that it doesn't violate our OSS commitment, so the required changes:

Set a fixed (24h) interval for the security events
Associate anonymous installation_id property to the security event

Updated in the issue description

@einato @NoyDavidson2 addressed in https://github.com/treeverse/lakeFS/pull/4271


add: shortcut to get single element

TODO: tests
TODO: docs

After some thought, I decided that MAYBE it would be better to create another method .getOne or getSingle and return one value instead of array.
But there's catch: There would be no distinguish between null/undefined value and it's absense.
So I'm still thinking...

We can invoke callback with RangeError as the first argument if no records match criteria


support snapshot

#98

Pull Request Test Coverage Report for Build 271

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

Totals

Change from base Build 268:
0.0%

Covered Lines:
2026

Relevant Lines:
2982

💛  - Coveralls

Pull Request Test Coverage Report for Build 271

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

Totals

Change from base Build 268:
0.0%

Covered Lines:
2026

Relevant Lines:
2982

💛  - Coveralls


The metadata autocomplete queries should be sent to the server, not run on the client

Currently the metadata autocomplete works by fetching all metadata fields and all schemas and querying them client side. This blocks the UI 10 - 30 seconds on pages where it used.
It got a lot worse since #697 removed the hacks in the response parser that stored embedded schemas as direct properties of the fields. Since those schema's use alternative links, they can't be cached until #652 is merged. As a consequence the metadata autocomplete got a lot slower still. So #749 will disable the autocomplete and validation for now.
We should re-implement both of those after a search endpoint for metadatafields is added, and those queries can happen on the rest side.
Required REST implementation: https://github.com/DSpace/DSpace/pull/2899

Closing, as this was fixed by #860


Deregister from scroll event on scope destroy

There is a memory leak in the window service as it keeps references to destroyed scopes and calls them when scrolling. This patch makes sure the scopes are removed from the window service array when destroyed.

Very good catch! Thanks a lot!


Clang importer: Global vars imported as static member properties are final.

@swift-ci Please test

@swift-ci Please test

I will also run the builder's validation set up on this hash

check-swift-all-macosx-x86_64 passes for me, and I have very high confidence.
I will continue to monitor the builder (poor little Mac mini, trying as hard as it can to keep up), but will merge to un-block other work .


Variable Sliders

[x] A slider should exist for Psi0 , when interacted with the graph should change (new function call)

[x] A slider should exist for C00 , when interacted with the graph should change (new function call)

[x] An input box should exist with a number for the above variables, the user should be able to type a number into this box, when confirmed the graph should update

[x] When input boxes are updated, the slider should shift to that value

Completed


[capstone] update to 5.0.0-rc2

Describe the pull request
This PR upgrades the capstone port to 5.0.0-rc2 version.
This update allows us to simplify the portfile.cmake thanks to recent improvements.

Which triplets are supported/not supported? Have you updated the CI baseline?

They are all supported, no update was made to ci.baseline.txt

Does your PR follow the maintainer guide?

Yes

@theblackunknown ,Thanks for your pr, looks the ci tested failed on many triplets,
This is error log, Please take a look
install-x86-windows-dbg-out.log

@JonLiu1993 Indeed, the triton port has been impacted.
I have just pushed a series of changes which should solves this, I'll check later the CI results.

Commit 978e854 is irrelevant to this PR but I have noticed an error in the way the library linkage was done for triton.

@theblackunknown ,Fixed a lot of triplets, now only UWP is left,
install-x64-uwp-dbg-out.log

Looks @JonLiu1993 ! It is all green !

Thanks!


wrong sorting order to Zabbix Problems

Hello,
Grafana v7.0.3
Plugin 3.12.4
Zabbix 5.0
I try to sort by severity, doesn't work, if I try to click in the title of column, not sorting by other column

Originally posted by @pliniosampaio in https://github.com/alexanderzobnin/grafana-zabbix/issues/921#issuecomment-666481562

duplicates #921


Allow to reload window several times after failure

I'm using vscode remote dev plugin to work in a remote machine. And when I disconnected, vscode provide a choice of "reload window", which could save all my tabs and content. It's very useful. But if I failed to "reload window", then I can only input my password to reconnect(when I was connecting using Kerberos to identify, I couldn't connect with a empty password), then I can only press esc, then retry, which could help me reconnect, but lose all my window.
So I hope I could reload window several times after disconnect, thank you.

@oi-songer Are you using remote SSH ?

@alexdima Yes, I'm using remote SSH to connect.

@alexdima I suddenly realize I might submit to wrong repo? Should I just ask this in vscode-remote-release repo?

I'll forward to @roblourens and ask him to continue..


Bitbucket Collector

Bitbucket version in readme.md is 1.0 v/s in the bitbucket resources folder it is 2.0 - and that is really very confusing...also, you should provide some sample of Bitbucket or stash url that we could add to the dashboard... 1.0 and 2.0 urls looks  different and we are not getting the data from bitbucket as expected....

@softwareklinic is this still an issue...?

@softwareklinic is this still an issue?

No - closing - we have these sorted out


agent: return client-provided anonymous user ID from localStorage

(From https://github.com/sourcegraph/jetbrains/issues/281#issuecomment-1884680142)
The telemetry logger was not being created with the anonymous user ID provided by the agent client for events that were created using a singleton globalAnonymousUserID. The recipe events dont https://sourcegraph.com/github.com/sourcegraph/cody@85355f1ca72073518ab7adeb1dcc14d14fc1449a/-/blob/agent/src/agent.ts?L327, as well as events created on the jetbrains plugin side (e.g. CodyInstalled), but CodyJetBrainsPlugin:Auth:connected and others do.
As a result, each agent startup would create a new ID and use that for most of its events instead of the one created by clients.
Disclaimer: no ☕ has been had yet, but I think I've gotten the situation correct here
Test plan
console.log showed created === true here before the change, and false after the change

Thank you!
I'm not 100% sure how the agent works. Will this update make it so that this function will return the value passed from the client? Or would this file have to explicitly request it using globalState.get?
The path to that point is:

The "auth:connected" event is logged here
Which calls log and then logEvent in the telemetry service
The globalAnonymousUserID value is set here using that function above

If you feel confident that this will work, feel free to merge. How quickly could we get this deployed? Is that a question for the JB channel/team?


Field name username is not valid for model User.

I use custom user model. I thought that by defining the following settings it will ignore 'username'. However, I still hit the same error.
Field name username is not valid for model User.
~/lib/python3.6/site-packages/rest_framework/serializers.py in build_unknown_field, line 1258
ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
ACCOUNT_AUTHENTICATION_METHOD = 'email'
ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_USER_MODEL_USERNAME_FIELD = None
ACCOUNT_USERNAME_REQUIRED = False
ACCOUNT_UNIQUE_EMAIL = True
REST_USE_JWT = True
JWT_SERIALIZER = True
REST_USE_JWT=True

I am going nuts implementing this stuff. What am I missing? Lets assume that email is verified, I'd like to login and get JWT in the response. Do I need to implement custom LoginSerializer? But, then if you look at how it is configured by default, you can see that it has some logic that checks what kind of credentials have been used on login attempt. I am lost.

You have to override UserDetailsSerializer to remove username from the fields option. Hopefully this should solve the problem.

It is correct - when using custom user model that does not have one of Django built-in attributes like username, email, first_name, last_name, etc. you need to define custom UserDetailsSerializer


heya

Hi Remi - thanks for getting this set up! Are you at Acadia now? Let me know anything I can do to help, and when you have your first event set up I'll add you to the Study Group map and let everyone know!

I'm not there yet, flying out on the 31st. I'm just getting things started before the move. It sounds like there is enough interest for a SWC workshop and the idea is to run that early in the semester to get the grad students 'on the right track'. We could then plug the study group at the workshop and kick it off afterwards. I will let you know when we have things scheduled! Thanks for the help!

That sounds like an awesome plan! Let me know anything you need.

OK, full disclosure, much of how the inner workings of the website is currently a little above my head, but I'm keen to learn. I just git jekyll working on my Windows machine today and I can now test things without having to commit to github and waiting.
One thing I'd like to change is to have the location/date/time on a separate line like the SFU group has done. I find it easier to read. I perused the commits on @ttimbers 's repo, but I couldn't identify where that change was made.

No problem, jekyll definitely takes some getting used to!  Let me know if I can help!

So easy when you know!! Thanks, that worked like a charm!

Hey @BillMills, I just posted our first event, it's going to be before the SWC workshop, but right after an R introductory session (similar to what would be covered for R in SWC). We're still going to run the SWC workshop, but in mid October

Nice - you're on the map! Let me know how those first sessions go, and do please report back on any lesson notes or webcasts you make so we can share them back. Also, did I mention the mailing list to you yet? We're using this list to organize communication and meetings between all the Study Group leads. Jump in there too!


[v2prov] Set machine join URL annotation on plan secret if not already set when loading plan

Issue:
https://github.com/rancher/rancher/issues/42856
Problem
In certain cases, it is possible to encounter errors as the join URL annotation was added to a later version of Rancher. If the join URL was not already set on the plan secret, the planner may error out.
Solution
Set the join URL on loading the plan.
Testing
Engineering Testing
Manual Testing
Ran through the test case
Automated Testing

Test types added/modified:

Unit

QA Testing Considerations

Regressions Considerations
I attempted to cover regression potential with the unit test cases I added.

@Oats87 , is this still relevant? Reopening meanwhile.
@jakefhyde , could you please review?

Force-pushed a rebase onto release/v2.9 for the purposes of re-running this PR through GHA


Join two tables across two different schemas ( One database)

Hello,
How can we implement table join across two different schemas but the same database.
Technically schemas are just logical separation of tables within the same database so while writing a SQL query all we need to is prefix them with schema name.
For example,
select *
from user_schema.users as users
inner join account_schema.accounts  as accounts
on users.users.id = accounts.user_id

I could probably write below kenx.js. Does that look good ?
knex.from('user_schema.users as users').innerJoin('account_schema.accounts as accounts',
'users.id', 'accounts.user_id')

But then i saw .withSchema option with knex.js What is the advantage of using that option instead of prefixing the table name with schema. How can I use .withSchema option to join join tables from two different schemas ?
Knex.js Documentation
------------------------
.withSchema([schemaName])
Specifies the schema to be used as prefix of table name.

knex.withSchema('public').select('*').from('users')

Outputs:
select * from `public`.`users`

any solution for this one?

The document says Identifier Syntax, ie, table name, column name, has no place for selecting schema, so if you are doing schemaName.tableName, query might be rendered wrong.
It suggested use .withSchema('schemaName') instead.
But I found .withSchema only work in one schema all over the builder block.
As so far, I have the following temporary sollutins:
- Do not use `.withSchema` at all in speasure query, include schema name in table name string.
	This against the document.

- Use sub-query with `.withSchema`

    {
        let rows = await knex.withSchema("sandbox1")
            .select('first_name', 'last_name', 'phone', 'site', "sites.name as sname")
            .from('users')
            .leftJoin(
                knex.withSchema('public')
                    .table('sites')
                    .select()
                    .as("sites"),
                "sites.id",
                "users.site")
        console.log(rows)
    }

This way need use `.as` in sub query.

- Use `.joinRaw()`

    {
        let queryBuilder = knex.withSchema("sandbox1")
            .select('first_name', 'last_name', 'phone', 'site', "sites.name as sname")
            .from('users')
            .joinRaw("left join public.sites as sites ON sites.id = users.site", [])
        let sql = queryBuilder.toSQL().toNative()
        let rows = await queryBuilder

        console.log((sql))
        console.log(rows)
    }

- Use `.raw()`

	{
        let { rows ,rowCount } = await knex
            .raw('SELECT users.first_name, users.last_name, users.phone, users.site, sites.name as sname FROM sandbox1.users, public.sites WHERE sites.id = users.site;');

        console.log(rows)
    }

This hasl less benifits to use knex.

- Use other libarary or ORMs or drivers.

The final power.

The document says Identifier Syntax, ie, table name, column name, has no place for selecting schema, so if you are doing schemaName.tableName, query might be rendered wrong.
It suggested use .withSchema('schemaName') instead.
But I found .withSchema only work in one schema all over the builder block.
As so far, I have the following temporary sollutins:

Do not use .withSchema at all in speasure query, include schema name in table name string.
This against the document.

Use sub-query with .withSchema

    {
        let rows = await knex.withSchema("sandbox1")
            .select('first_name', 'last_name', 'phone', 'site', "sites.name as sname")
            .from('users')
            .leftJoin(
                knex.withSchema('public')
                    .table('sites')
                    .select()
                    .as("sites"),
                "sites.id",
                "users.site")
        console.log(rows)
    }

This way need use .as in sub query.

Use .joinRaw()

    {
        let queryBuilder = knex.withSchema("sandbox1")
            .select('first_name', 'last_name', 'phone', 'site', "sites.name as sname")
            .from('users')
            .joinRaw("left join public.sites as sites ON sites.id = users.site", [])
        let sql = queryBuilder.toSQL().toNative()
        let rows = await queryBuilder

        console.log((sql))
        console.log(rows)
    }

Use .raw()

    {
        let { rows ,rowCount } = await knex
            .raw('SELECT users.first_name, users.last_name, users.phone, users.site, sites.name as sname FROM sandbox1.users, public.sites WHERE sites.id = users.site;');

        console.log(rows)
    }

This has less benifits to use knex.

Use other libarary or ORMs or drivers.

The final power.

Adding one more detail to @codinggirl 's answer:
Using joinRaw() you can bind the parameters like this,
    {
        const queryBuilder = knex.withSchema("sandbox1")
            .select('first_name', 'last_name', 'phone', 'site', "sites.name as sname")
            .from('users')
            .joinRaw("left join ?? ON ?? = ??", ["public.sites", "sites.id", "users.site"])
        const sql = queryBuilder.toString()
        console.log(sql)
    }

PG:
select "first_name", "last_name", "phone", "site", "sites"."name" as "sname" from "sandbox1"."users" left join "public"."sites" ON "sites"."id" = "users"."site"
MSSQL:
select [first_name], [last_name], [phone], [site], [sites].[name] as [sname] from [sandbox1].[users] left join [public].[sites] ON [sites].[id] = [users].[site]
Meanwhile, without binding, it would always generate:
select "first_name", "last_name", "phone", "site", "sites"."name" as "sname" from "sandbox1"."users" left join public.sites ON sites.id = users.site


Remove fall damage when landing in water

Changed the getFallLocation function to return the string "water" if the block below the player's feet is of type water.
Changed the getFallDamage function to return 0 as the damage number if the block below the player's feet when they land is water.
Partially closes issue https://github.com/TogAr2/MinestomPvP/issues/31#issue-2283944685

I agree with Gatt, since it’s a simple fix, and providing this behaviour in MinestomPvP would require more extensive fluid support. It might be added in the future, but this is probably not the way to go.


Look like TheArchive no longer work in GTFO on the last update

i have done everything in installation instructure and the and play the moded game in R2MM but nothing showing up in the menu

Yeah, I can see what might have happened here haha
I haven't set the latest version as a proper release, so the instructions link to an older version ...
Make sure to grab the latest pre-release (v0.7.1) from the Releases page instead and then it should work.
Sorry! haha

I got the latest 0.7.1 to work but it got bug about showing weapon stat, there's only melee stat other function it work for me


Run tests according to selectors

Previously, the utest runner would not take the selectors that are set in an input TaskDef when deciding what to run.
With this patch, utest will inspect the selector and, if a TaskDef contains only NestedTestSelector, it'll run only the tests whose path match that defined in the selector.

@lefou Hi! Would you mind please taking a look at this PR?


FM-DW lock bug

This one is sometimes annoying. When listening to FM broadcast the radio still listens to the active VFO ( the passive is used for broadcast FM). That is what it should do. ( it should be noted this is not clear from the original manual, but during FM broadcast the DW option is not available )
If the active VFO's receives a signal that signal is given priority and activated. Again as it should be.
But .. now the keyboard is locked! I have to wait for the transmission to end before I can exit or change anything. Only way out is turning off the radio.
Testing: set the active VFO to any test frequency. Than turn on broadcast reception. Now have a signal generator transmit on the test frequency. The keyboard is locked.
This is not! an egzumer bug but also present in the QS firmware. So I don't dare say that it is solvable.

The real bug is that dualwatch is not working while in FM radio mode.
The issue that you have is solved by simply pressing exit button, this turns off FM radio. The question is how one wants it to function, I agree this is not perfect, but otherwise you will have to solve another issue. What do you do with the FM radio mode when you start changing something, do you still bring it back?

Ah I see where I made a mistake. When you press the exit button there is no feedback so it looks like nothing happens.
When the HT goes out of FM mode to normal VFO when something is received there is no visual clue that the HT is actually still in FM mode. Pressing exit therefore seems to do nothing.
For me I would like 2 changes:

visual indication that FM radio mode is active when the HT changes to normal VFO reception.
when in FM radio VFO mode , long press on up/down could start manual scan until next signal.
Am I correct that this manual scan is missing in your firmware? I can only start auto scan. The QS firmware can start a manual scan with F-3. It will scan untill next signal. From there up/down continues manual scan.

I agree, it is difficult to decide what are usefull funtions.

Short press * is manual scan, longpress * is auto-scan.


ui rating stars are not vertically aligned with text on same line

http://jsfiddle.net/n8bmg7Lh/

The icon font for rating ends up rendering slightly different. I've been able to correct line height just by removing the font-family declaration (if icons are available).
I'll have to regenerate the font and play with it. This will have to wait till 2.1

Thanks. I'm baffled by your productivity :)


infra, bug fix - various changes to make sure demo is stable

Why?
The demo ran into a couple of issues

Wordpress Import code was making blank commits
Cron was running, but we did not have visibility into each run and when it was triggered

Changes

Ensures wordpress imports only commits actual changes within source_files/en folder.
Adds a timestamp to cron logs
Multiple languages support (this was not an issue, it worked fine in the demo)

Nice!


ghc: add 8.8.3 (copied from 8.8.2)

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build haskell.compiler.ghc883

@GrahamcOfBorg build haskell.compiler.ghc883

Remains to be fixed:

[ ] squash
[ ] figure out CI failure

@GrahamcOfBorg build haskell.compiler.ghc883
@ggreif The CI failure is probably from some other problem in haskell-updates.  It is likely this PR didn't cause it, so you can probably ignore it.


Mosaics Fee dropdown list is not fully visible

Desktop v0.13.8
WTR:

Go to Mosaics page
Click Add metadata button
Select Fee

Result: you can see that dropdown list is not fully visible

fixed on latest integration


Allow subsetting TreeOfLifeClassifier

Provide a way to predict using a subset of the TreeOfLifeClassifier embeddings.
This came out of #54.

Each embedding is associated with a set of values: kingdom, phylum, class, order, family, genus, species_epithet, species, and common_name. Example:
kingdom,phylum,class,order,family,genus,species_epithet,species,common_name
Animalia,Chordata,Mammalia,Carnivora,Ursidae,Ursus,arctos,Ursus arctos,Kodiak bear

To use a subset of the TOL embeddings from the command line I was thinking a user could supply a CSV using the column names.
For example to subset for the orders within mammals create a CSV with contents:
class
Rodentia
Chiroptera
Eulipotyphla
Primates
Artiodactyla
Carnivora
...

Within python this could be a DataFrame with the particular columns.

Fixed by #59 and #63


Add home page

Add view for a splash page and create a template with links to the playground, dashboard, and storefront.

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[x] Changes are mentioned in the changelog

Are "STOREFRONT_URL" and "DASHBOARD_URL" set in saleor-platform?

@fowczarek, there is PR for it right now: https://github.com/mirumee/saleor-platform/pull/24


kernel/mem_slab.c: Improve code coverage to 100%

Improve code coverage for this file. At present, the code coverage command below reports the following:
Commit ID: 3dea408405fd8958f94ef24ab5d5251d6288841c
Line coverage ( %  hit/total): 100% 50/50
function coverage ( %  hit/total): 100% 5/5
branch coverage ( %  hit/total): 87.5% 14/16
./scripts/sanitycheck --coverage --coverage-platform mps2_an385 -p mps2_an385 --coverage-platform qemu_x86 -p qemu_x86 --coverage-platform qemu_x86_nommu -p qemu_x86_nommu --gcov-tool /opt/zephyr-sdk-0.10.0/sysroots/x86_64-pokysdk-linux/usr/bin/i586-zephyr-elf/i586-zephyr-elf-gcov -T tests/kernel -T tests/subsys/logging

I believe we can close this one since it is the __ASSERT(condition) condition==true branch that were not covered

@cinlyooi-intel : You may want to have LCOV exclusions in the code for statements which are not meant to be covered (as self documentation of the exclusions). That way the coverage will also be reported as 100% .

@aescolar : Thanks for the heads up. One reason for creating this ticket is I was not 100% certain that I can ignore all __ASSERT() (and Z_OOPS()), particularly those with complex branching arrangement.