SoundCloud download failure: HTTP 501

Checklist

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

Verbose log
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'best', '-o', '%YTD_FS%', 'soundcloud.com/nocopyrightsounds/tracks', '--verbose']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2019.08.13
[debug] Python version 3.7.4 (CPython) - Windows-8.1-6.3.9600-SP0
[debug] exe versions: ffmpeg N-94303-g39db2af0c2-gaf5f770113, ffprobe N-94303-g39db2af0c2-gaf5f770113, rtmpdump 2.4-20190330-gc5f04a5-GnuTLS_3.6.8-x86_64-static
[debug] Proxy map: {}
WARNING: The url doesn't specify the protocol, trying with http
[soundcloud:user] nocopyrightsounds: Downloading user info
[soundcloud:user] 16069159: Downloading track page 1
[soundcloud:user] 16069159: Downloading track page 2
[soundcloud:user] 16069159: Downloading track page 3
[soundcloud:user] 16069159: Downloading track page 4
[soundcloud:user] 16069159: Downloading track page 5
[soundcloud:user] 16069159: Downloading track page 6
[soundcloud:user] 16069159: Downloading track page 7
[soundcloud:user] 16069159: Downloading track page 8
[soundcloud:user] 16069159: Downloading track page 9
[soundcloud:user] 16069159: Downloading track page 10
[soundcloud:user] 16069159: Downloading track page 11
[soundcloud:user] 16069159: Downloading track page 12
[soundcloud:user] 16069159: Downloading track page 13
[soundcloud:user] 16069159: Downloading track page 14
[soundcloud:user] 16069159: Downloading track page 15
[soundcloud:user] 16069159: Downloading track page 16
[soundcloud:user] 16069159: Downloading track page 17
[soundcloud:user] 16069159: Downloading track page 18
[soundcloud:user] 16069159: Downloading track page 19
[soundcloud:user] 16069159: Downloading track page 20
[download] Downloading playlist: NCS (Tracks)
[soundcloud:user] playlist NCS (Tracks): Collected 609 video ids (downloading 609 of them)
[download] Downloading video 1 of 609
[soundcloud] nocopyrightsounds/max-brhon-cyberpunk-ncs-release: Downloading webpage
[soundcloud] nocopyrightsounds/max-brhon-cyberpunk-ncs-release: Downloading info JSON
[soundcloud] 673226525: Downloading track url
[soundcloud] 673226525: Downloading m3u8 information
[soundcloud] 673226525: Downloading m3u8 information
[debug] Invoking downloader on 'https://cf-media.sndcdn.com/X3A97BKjYsP9.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20vWDNBOTdCS2pZc1A5LjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1NjcyNjY0Nzl9fX1dfQ__&Signature=E9634fM23eHKYu569lnruWeL-2vBQcNvtnFGOQGhcuZHr412XaLAkbz2KMnVhp1jIGmIt5z1~kmUPwVMa3NGlra7ySAmnlKxyfhP~iZ5Tr867ku6VakQYeCU2Nfi2KARB4K0kRq3~LlIzVMbxZT5R2pSF0DEjUm8krG-KAYzgyh~e8XzQr4edwoJDymSgobv2ta9h4957Oi1yWV~MncVNsQZjL5jzU~L1yzcvGRTPjvFLMW2fp-SdrHxzjQGUkhZcKNzsi5lH5zhXhlaVa3JB1Z0EPAW0DJGeyepxu1cFuCfAkzMGD7eqmMK1SZfCvRLMDqQ6mHPkCRUoc~6sfa-Ww__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ'
[download] Destination: Max Brhon - Cyberpunk [NCS Release].mp3
[download] 100% of 3.28MiB in 00:04
...
[download] Downloading video 48 of 609
[soundcloud] nocopyrightsounds/whales-ggnoaa-paranoia-ncs-release: Downloading webpage
WARNING: Unable to download webpage: HTTP Error 503: Service Unavailable
Traceback (most recent call last):
  File "c:\users\nullptr\appdata\local\programs\python\python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\nullptr\appdata\local\programs\python\python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\nullptr\AppData\Local\Programs\Python\Python37\Scripts\youtube-dl.exe\__main__.py", line 9, in <module>
  File "c:\users\nullptr\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\__init__.py", line 474, in main
    _real_main(argv)
  File "c:\users\nullptr\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\__init__.py", line 464, in _real_main
    retcode = ydl.download(all_urls)
  File "c:\users\nullptr\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 2010, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "c:\users\nullptr\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 807, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "c:\users\nullptr\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 868, in process_ie_result
    extra_info=extra_info)
  File "c:\users\nullptr\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 807, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "c:\users\nullptr\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 1006, in process_ie_result
    extra_info=extra)
  File "c:\users\nullptr\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 868, in process_ie_result
    extra_info=extra_info)
  File "c:\users\nullptr\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "c:\users\nullptr\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "c:\users\nullptr\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\soundcloud.py", line 446, in _real_extract
    info_json_url, full_title, 'Downloading info JSON')
UnboundLocalError: local variable 'info_json_url' referenced before assignment

Description
I was trying to download all the tracks of a user from SoundCloud. I went doing some other work and left it running in background. When I came back and inspected the console and noticed the operation was interrupted. I retried but alas, it didn't work.
Each time I download the tracks an issue pops up. Such as — 401: Unauthorized, 503: Service Unavialable. It never occurred with any other link (aleast what I remember).
I have two suspects. Either SoundCloud is working improperly or the Extractor code for SoundCloud is malfunctioning. Hope, the information gave might solve the issue.

I wasn't able to reproduce the issue. Everything downloads perfectly for me.
Maybe because I'm on a Mac (don't have access to Windows machines atm)
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--ignore-config', u'-v', u'https://soundcloud.com/nocopyrightsounds/tracks']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.08.13
[debug] Python version 2.7.16 (CPython) - Darwin-18.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.4, ffprobe 4.1.4, rtmpdump 2.4
[debug] Proxy map: {}
[soundcloud:user] nocopyrightsounds: Downloading user info
[soundcloud:user] 16069159: Downloading track page 1
[soundcloud:user] 16069159: Downloading track page 2
[soundcloud:user] 16069159: Downloading track page 3
[soundcloud:user] 16069159: Downloading track page 4
[soundcloud:user] 16069159: Downloading track page 5
[soundcloud:user] 16069159: Downloading track page 6
[soundcloud:user] 16069159: Downloading track page 7
[soundcloud:user] 16069159: Downloading track page 8
[soundcloud:user] 16069159: Downloading track page 9
[soundcloud:user] 16069159: Downloading track page 10
[soundcloud:user] 16069159: Downloading track page 11
[soundcloud:user] 16069159: Downloading track page 12
[soundcloud:user] 16069159: Downloading track page 13
[soundcloud:user] 16069159: Downloading track page 14
[soundcloud:user] 16069159: Downloading track page 15
[soundcloud:user] 16069159: Downloading track page 16
[soundcloud:user] 16069159: Downloading track page 17
[soundcloud:user] 16069159: Downloading track page 18
[soundcloud:user] 16069159: Downloading track page 19
[soundcloud:user] 16069159: Downloading track page 20
[download] Downloading playlist: NCS (Tracks)
[soundcloud:user] playlist NCS (Tracks): Collected 609 video ids (downloading 609 of them)
[download] Downloading video 1 of 609
[soundcloud] nocopyrightsounds/max-brhon-cyberpunk-ncs-release: Downloading webpage
[soundcloud] nocopyrightsounds/max-brhon-cyberpunk-ncs-release: Downloading info JSON
[soundcloud] 673226525: Downloading track url
[soundcloud] 673226525: Downloading m3u8 information
[soundcloud] 673226525: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://cf-media.sndcdn.com/X3A97BKjYsP9.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20vWDNBOTdCS2pZc1A5LjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1NjczNDM3Nzl9fX1dfQ__&Signature=TEjgyuThSO2hh~pX8PvadbzYqAuRfDrNUTrp8QawtvBf~DHRGH26W7fAubBumq88JT9I~xcSdwSzu7Nkgj2e-K3PHjZ4BDcA5Sx9zPZwvQjXSvJbni1eFPJZDwqU7pbztXHOyTfQUNqstdfOpC478XtskWgRdRg0a-3Up7s-sRGrvzcX0iNRLI72gEMCtA9bPAOqXLTXv0qxMtDP~XU18yjwuIEhVhelOjX83iahd3TmHKk320rfMNr4WHAlcK9apT4HkB1zvl8f6KzHnbfNnoEuQJqxV5mbF9c73CLZI87k33eQP2xTX-w9LBw09bnzTVGwsIu71ilBT~vgbHS6RQ__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ'
[download] Destination: Max Brhon - Cyberpunk [NCS Release]-673226525.mp3
[download] 100% of 3.28MiB in 00:14
[download] Downloading video 2 of 609
[soundcloud] nocopyrightsounds/ascence-about-youmaster-wav: Downloading webpage
[soundcloud] nocopyrightsounds/ascence-about-youmaster-wav: Downloading info JSON
[soundcloud] 655303598: Downloading track url
[soundcloud] 655303598: Downloading m3u8 information
[soundcloud] 655303598: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://cf-media.sndcdn.com/izpYDvD8OAbr.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20vaXpwWUR2RDhPQWJyLjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1NjczNDM3ODh9fX1dfQ__&Signature=SbjyYLT0D7r8MEWdKzn3CV1A-s4O2RZ24jr8BvEfP3FXVOF7stpLG3z2Mc6bShS~UPV59W2cwhH3s097Y-HEt5MAv5IpBDjiqXsV2VoMNQo4BDePfRwieLhS8yRGW3B7mlTWxDVOjsGqUlZn2EU3Ou~9GmBI0yoo9W1pOy46~BSPJcuxC8r4Y2xg4uIfbOXYYqqwiI0TS7II38F8CoH2dRkmHXYYWKS8r-iYM49IXINUXCv7eUJ0OGIeHZ2fCihXs4vzNwJJAQZaOQpv5ml-1sL2-qW4mYUycyrl~GFbTVal55DhOSsKQwY0~S4gc89vrE0Gkx1wDY~pqu8XY3ws9g__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ'
[download] Destination: Ascence - About You [NCS Release]-655303598.mp3
[download] 100% of 2.81MiB in 01:45
[download] Downloading video 3 of 609
[soundcloud] nocopyrightsounds/roy-levy-roy-breathe-me-in-ncs-release: Downloading webpage
[soundcloud] nocopyrightsounds/roy-levy-roy-breathe-me-in-ncs-release: Downloading info JSON
[soundcloud] 655302629: Downloading track url
[soundcloud] 655302629: Downloading m3u8 information
[soundcloud] 655302629: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://cf-media.sndcdn.com/LtrF7hQumb5q.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20vTHRyRjdoUXVtYjVxLjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1NjczNDM5NDF9fX1dfQ__&Signature=DNCNW84KU6Oe0fEaaP3cje5rO~8UXCVAWLxAtp3e1fVcZ8p2XLjAFKTMFcA5E4F2IU7Vzxe89ToDqmGaUYvRKpPUSdZMT9JScz2urJ0FhglPxEu8aM6ETHKfXMZIr19dc4YIMtp2mWgt7HfKHuYrncahDCA93xgOw4FAki0UkhE~qkXY8lJoC5F14w7ci-8PG~dEz~qkkCy4To6Q2lh~F3-dyE4wU5SmqnX5xS2FgCzx9WJnEpl0SEeFJa6VazBYA77kE~Mp5NtGDHCeioRmg2kpjtZlBEc80e0BKpPPm87HnGigvHoZTLz7ZXzdOPHnqsZHSGMLKqLvWMd75Ur73A__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ'
[download] Destination: ROY - Breathe Me In [NCS Release]-655302629.mp3
[download] 100% of 3.02MiB in 00:05
...

You can try the following:

Update to the latest version of youtube-dl (2019.09.01 is released just a few hours ago)
Run with no command arguments
Try opening the page on the browser on multiple devices. If it throws an error, loads very slow or doesn't load at all (even with good internet) then maybe SoundCloud blocks your IP address (not sure about this one, I had similar issue a while back after downloading many tracks)

I'd try the newest version. And, I will report if any error occurs.

Oh crap, it happend again. This error is haunting me like a ghost.
[download] Downloading video 1 of 593
[soundcloud] nocopyrightsounds/marin-hoxha-endless-ncs-release: Downloading webpage
[soundcloud] nocopyrightsounds/marin-hoxha-endless-ncs-release: Downloading info JSON
[soundcloud] 582849012: Downloading track url
WARNING: Unable to download JSON metadata: HTTP Error 401: Unauthorized
[soundcloud] 582849012: Checking fallback video format URL
[soundcloud] 582849012: fallback video format URL is invalid, skipping
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

For my job I'm using (2019.09.01) version. Still, errors are being occurred!

Does the page loads fine in your browser?

It loads, perfectly fine in my browser. No issues!

Some information about my System. I hope it would help the developers debug.
Browser: Google Chrome
Version: 76.0
Host OS: Windows 8.1
Shell: bash


add tracker to deactivateProjects call

We would like to notify users that their project has been deactivated, by an admin or someone on their account.
we need to create a analytics.track call for when the mutation happens in the impact-graph the information we need is sent to segment that can be passed along into an auotmated email informing the user.
in project.resolvers.ts this is the specific mutation we're looking at
@Mutation(returns => Boolean)
  async deactivateProject (
    @Arg('projectId') projectId: number,
    @Ctx() ctx: MyContext
  ): Promise<Boolean> {
    try {
      const user = await getLoggedInUser(ctx)
      return await this.updateProjectStatus(projectId, ProjStatus.can, user)
    } catch (error) {
      Logger.captureException(error)
      throw error
      return false
    }
  }

and this is an example of the track call that currently is used for when projects are created on giveth.io
const segmentProject = {
      email: project.users[0].email,
      projectOwnerEmail: project.users[0].email,
      title: project.title,
      projectOwnerLastName: project.users[0].lastName,
      projectOwnerFirstName: project.users[0].firstName,
      projectOwnerId: project.admin,
      slug: project.slug,
      projectWalletAddress: project.walletAddress
    }

    analytics.track(
      'Project created',
      `givethId-${ctx.req.user.userId}`,
      segmentProject,
      null
    )

Once we can test this on staging and hook it up to autopilot and ensure the flow works as intended we can close this one out!


Publish page gets stuck in edit mode on claim that's not owned

Tried to repro but couldn't, not sure how it go into this state. Jeremy said it continued even after he signed out/in. I think the fix was to edit another claim and then clear. Clearing before that still left the claim name (maybe that's the short term fix - clear it)

This is the root cause https://github.com/lbryio/lbry-desktop/issues/3482


Update version of checkconfig in sample

Not really sure how best to keep this evergreen but at least this matches what's in the sample kubernetes configs today

/lgtm
/approve


add logo  and give better look to the home page

The game does not have a logo and a good look. I want to add a logo and some CSS property.
@iamparas0  please assign this issue to me.

I want to do this task, please assign me


Ark server wont start

it is a fresh install and it says
[ .... ] Starting ark-server: arkserversession not found: ark-server
[ FAIL ] Starting ark-server: Unable to start arkserver
Any ideas?

Hi,
Can you try to run the "validate" command ?

Thanks for the reply! It sadly Didn't work. Also tried to delete it and install it again. Still same problem.

What OS ?
What dos say the script log ?

OS: Debian 7.5
And the script log just says:
Jan 16 21:08:52 ark-server: Starting: Unable to start arkserver
Jan 16 21:08:57 ark-server: Starting: arkserver
Jan 16 21:08:58 ark-server: Starting: Rotating log files

./arkserver debug will help

Start parameters:
./ShooterGameServer TheIsland?listen
Use for identifying server issues only!
Press CTRL+c to drop out of debug mode.
Warning! If ark-server is already running it will be stopped.
Continue? [Y/n]y
[ INFO ] Debug ark-server: Stopping any running servers
[ FAIL ] Stopping ark-server: arkserver is already stopped
[  OK  ] Debug ark-server: Starting debug
/home/niko/ARK/functions/command_debug.sh: line 60: ./ShooterGameServer: No such file or directory
This is what came out.

I cannot find the executable for the server. Are you sure the files have downloaded? in to serverfiles?

./arkserver validate didn't help. Just for the sake of it i deleted in and re-downloaded it again. It seems to be working now. Thanks for the help and keep up the good work!


Vespa tenants vs document types trade-offs

We manage search platform for 38+ document schemas. We would like to understand

the trade-off between managing these in different doc types versus different tenants
how to perform feed and search for a given tenant?

Open-source Vespa is primarily used in single-tenant mode. Refer to https://docs.vespa.ai/en/schemas.html#multiple-schemas and https://docs.vespa.ai/en/federation.html to understand multi-schema usage.
By default, Vespa queries all schemas.
If an application query is across all 38 schemas, Vespa works out of the box, a higher query timeout might be needed  Note that this translates to 38 queries inside Vespa, thread tuning might be needed to lower latency.
If an application query is within one or a few schemas use restrict to query only the required schemas. https://docs.vespa.ai/en/reference/query-api-reference.html#model.restrict . It seems to me from your question that a tenant in your case maps to a schema.
In any case, use https://docs.vespa.ai/en/query-api.html#query-tracing to understand behavior and performance.

Thanks @kkraune , that's helpful!


docs(): fix broken link

Awesome. Thank you!

@JayKan 👍  just update to latest dev 😄

rebase with dev please @JayKan


HTML Elements in addedTypes.json are mapped tagName -> Interface

Fixing Microsoft/TypeScript#21669
See diff without whitespace changes here.
Possible controversial topics in this PR:

I modified inputfiles/sample.json to include an HTML element with a tagNames field.
I added a tagNames field to inputfiles/addedTypes.json's HTMLSlotElement

I figured this was the correct-most way to find associations between tag names and interfaces
It causes duplication of the slot property. See here.

I added the "addedTypes" to iNameToIDependList 's getExtendList but not the getImplementList

It was required to get through the condition in EmitHTMLElementTagNameMap
No InputJson.ItemKind.Interface has an implements. This would have required more edits to inputfiles/sample.json.
I was on the fence on whether to add it to one or none at all.

My F# is 🙅♂ sharp so thanks for the review!

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

thanks!


Should support fully declarative behaviour

I don't want to call any functions other than ReactThreeRenderer.render, and perhaps setState
If I change anything in the scene, it should re-render automatically
Perhaps like this?

// Following https://github.com/mrdoob/three.js/wiki/Getting-Started

import * as React from "react";
import * as THREE from "three";
import ReactThreeRenderer from "react-three-renderer";

ReactThreeRenderer.render(<webGLRenderer
  width={800}
  height={600}

  clearColor={0xdddddd}
  clearAlpha={1}
>
  <render
    camera={<perspectiveCamera
      fov={35}
      aspect={800 / 600}
      near={0.1}
      far={10000}
      position={new THREE.Vector3(-15, 10, 10)}
      lookAt={new THREE.Vector3(0, 0, 0)}
    />}
    scene={<scene>
      <mesh>
        <boxGeometry width={5} height={5} depth={5} />
        <meshLambertMaterial
          color={0xFF0000}
        />
      </mesh>
      <pointLight
        position={new THREE.Vector3(10, 0, 10)}
        color={0xFFFF00}
      />
    </scene>}
  >
  </render>
</webGLRenderer>, document.getElementById("example"));

this is kind of done already


Ability To Ping Role(s) When A Raid Is Posted

Currently you have to manually ping roles when a raid is posted. It'd be pretty neat if we could just post a raid and specify which roles will be pinged so they get notified of the raid sign-up.

Currently this would be done automatically ~ 45 mins to ~ 1 hour before the raids starts by pinging all the users on raid. Will add stuff later on to fine tune this with more control for the creators if necessary. Closing this for new feel free to open tickets with specific requests that are needed on top of the basic functionality available now.


added hello world in python

There is already a Hello World program in Python. So try using another language or contribute in another way.

I was added hello world in ruby, can you merge please
Pada tanggal Sen, 12 Okt 2020 12:22 PM, Mustafiz Kaifee <
<EMAIL_ADDRESS>menulis:

There is already a Hello World program in Python. So try using another
language or contribute in another way.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Mustafiz04/Contribute-to-HacktoberFest2020/pull/118#issuecomment-706869127,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOKFLZBM4MGQL3YYT4UKZ5LSKKHB3ANCNFSM4SLXV22A
.


Update package dependencies

Is this project no longer maintained?

Did you see the disclaimer at the top of the README?


[VISUAL BUG] Gamer axe

When right-clicking with the gamer axe equipped (to activate it) it shortly transforms into a sick-looking axe, but then transforms back to a stick. It sometime stays in axe mode for 1 or 2 seconds, but most of the time only 0.5s or less.

EDIT : Installing the Fire Aspect module doesn't do anything. Might just be a consequence to the previous bug ?
I believe this is a bug, if not, I'd love an explanation on how to keep the gamer axe in axe mode.
Love the mod, keep up the good work

Just making sure, does it have energy?

 Thank you for your quick reaction !
PS : Maybe a prompt "Out of energy" could help ?

I'll add a message for that, thanks!


WIP: Add support for oauth2 providers

Allow the token server to provide an oauth2 configuration which a client may use to get an authorization code.
Provide tools for handling oauth2 authentication headers and authorization redirects.
Implements #1708

Marked as WIP since this still needs unit tests and spec approval.

[Current coverage][cc-pull] is 54.29%

Merging [#1749][cc-pull] into [master][cc-base-branch] will decrease coverage by 7.53%

4 files (not in diff) in ...istry/storage/driver were modified. more

Misses +807
Partials -93
Hits -743

2 files (not in diff) in registry/storage were modified. more

Misses -5
Partials +1
Hits -17

2 files (not in diff) in registry/client were modified. more

Misses +6
Hits -6

2 files (not in diff) in registry were modified. more

Misses -3
Hits -2

File .../schema2/manifest.go (not in diff) was modified. more
File blobs.go (not in diff) was modified. more
File ...er/base/regulator.go (not in diff) was deleted. more

@@             master      #1749   diff @@
==========================================
  Files           121        121
  Lines         10605      10564    -41
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           6556       5735   -821
- Misses         3444       4318   +874
+ Partials        605        511    -94

[][cc-pull]

Powered by Codecov. Last updated by [596ca8b...cff5d2f][cc-compare]
[cc-base-branch]: https://codecov.io/gh/docker/distribution/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/docker/distribution/compare/596ca8b86acd3feebedae6bc08abf2a48d403a14...cff5d2f92f706803e035250248204626bd91ae4e
[cc-pull]: https://codecov.io/gh/docker/distribution/pull/1749?src=pr

Is this something that should block the v3 release or can this be pushed to a later milestone?

I'm going to remove this from the milestone. There hasnt been any movement and neither do I anticipate any. Pointless to keep it part of the milestone

Accidentally closed this....GH UX is a major sadsack.


Make the initial loading screen part of the nav graph

This PR:

Uses some of the concepts from https://github.com/android/nowinandroid/pull/347/commits/d108459bda50d84b383072b0fe0d9d670729775f

no more ConfettiDestination abstract class
instead each deeplink gets its own "Key", like on Wear OS
In NIA, they're called Args but it's the same pattern
TBD if we want those "type safe deeplinks" part of "shared" or not

Puts SpeakersDetailsViewModel in shared if we ever want to use it from iOS
Adds an optional "splash screen" destination. The "splash screen" is responsible for loading the current conference setting. It's very fast but if you open the app from a deeeplink that contains "conference" already, it'll skip that step completely.

Looks cleaner

Does it fit with this guidance? https://developer.android.com/develop/ui/views/launch/splash-screen/migrate

I'm pretty sure not, this touches the code once the app is running, it doesn't touch the Theme or anything like this

Does it fit with this guidance? https://developer.android.com/develop/ui/views/launch/splash-screen/migrate

I'm pretty sure not, this touches the code once the app is running, it doesn't touch the Theme or anything like this

No objection from me, it's an awkward problem.
Another option using the splashscreen API - https://developer.android.com/develop/ui/views/launch/splash-screen#suspend-drawing

Another option using the splashscreen API

I named this PR wrong, it's not about a SplashScreen as per https://developer.android.com/develop/ui/views/launch/splash-screen but more initial loading screen, when the app starts to draw. I'll rename things.

Another option using the splashscreen API

I named this PR wrong, it's not about a SplashScreen as per https://developer.android.com/develop/ui/views/launch/splash-screen but more initial loading screen, when the app starts to draw. I'll rename things.

Sure, but I think dragging out the splashscreen slightly, might be better than

Splashscreen
Loading Indicator (avoid this)
Content

Agreed, will do in a separate PR


🛠 Tooling: Migrate to create-typescript-app@1

Bug Report Checklist

[X] I have tried restarting my IDE and the issue persists.
[X] I have pulled the latest main branch of the repository.
[X] I have searched for related issues and found none that matched my issue.

Overview
Tracking https://github.com/JoshuaKGoldberg/create-typescript-app/issues/734 in this repository.
Additional Info
No response

@all-contributors please add @joshuakgoldberg for maintenance.

🤖 Beep boop! This comment was added automatically by all-contributors-auto-action.
Not all contributions can be detected from Git & GitHub alone. Please comment any missing contribution types this bot missed.
...and of course, thank you for contributing! 💙


Properties Page doesn't load some times

Repro
Open a RoslynDev Hive
Create a console application
Right click the project and select properties
Expected
Properties page should load
Actual
you some times get this error

or will see some thing like
The project configuration "Debug|AnyCPU" was not found in the project manifest.

The issue lies here https://github.com/dotnet/roslyn-project-system/blob/d84bb9c78b4a0f86cbd7f6f4cc176cee01ca4001/src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/Configurations/TargetFrameworkProjectConfigurationDimensionProvider.cs#L63
comment that check and properties page should load fine.
@manish has more context on this ..

Should get fixed with https://github.com/dotnet/roslyn-project-system/pull/534 - but I'll try to create a separate PR just for this change.


Filter struct parameter names

While I was trying to find out whether we can actually use crystal structs for GObject structs or not, I was greeted by a compiler error telling me that structs cannot have a finalize method. It turned out that GLib::SourceFuncs has a property called finalize, which crystal would register with the GC.
This PR filters protected keywords from struct parameter names and adds finalize as a protected keyword.

This is a feature, not a bug , crystal let us use most keywords as method names, and this is good.
Better write foo.begin = x rather than foo._begin = x, same for keyword parameters, when they are keywords we use the feature that allows us to define a out param name and a inner param name in a method, so people could use:
foo(begin: x) instead of foo(_begin: x), there are tests for that at https://github.com/hugopl/gi-crystal/blob/master/spec/basic_spec.cr#L235
There's is the finalize issue, for sure, like we had with a method named initialize solved by https://github.com/hugopl/gi-crystal/pull/11, I believe we must take care of finalize/initialize methods names different from other keywords where there's no problem having methods with the names.


Intercept requests from a specific process. Closes #227

Intercept requests from a specific process. Closes #227

I tested this on Windows and it works well, I used --watchpids to intercept requests from an instance of PostMan and --watch-process-names  to intercept request from msedge. Both sets of requests to graph were shown in the logs.
Restarting PostMan resulted in requests not being intercepted as they were from a new process and hence processId.
I will say that getting the specific processId for edge proved rather tricky and I actually gave up and used the process name as Edge (And Chromium in general) spawns so many processes. Do you have good trick for isolating the processId that should be used when looking to bind a single Chromium instance?
Tested the validation of the process id and that's working nicely out of the box:

This is crazy cool!


Only the first occurence of a variable is properly set in a string of a custom template

Here is our global semantic release configuration:
module.exports = {
  plugins: [
    '@semantic-release/commit-analyzer',
    '@semantic-release/release-notes-generator',
    '@semantic-release/changelog',
    '@semantic-release/npm',
    '@semantic-release/git',
    '@semantic-release/github',
    [
      'semantic-release-slack-bot',
      {
        markdownReleaseNotes: true,
        notifyOnSuccess: true,
        notifyOnFail: false,
        onSuccessTemplate: {
          text: "📦 $package_name@$npm_package_version has been released!",
          blocks: [{
            type: 'section',
            text: {
              type: 'mrkdwn',
              text: '*New `$package_name` package released!*'
            }
          }, {
            type: 'context',
            elements: [{
              type: 'mrkdwn',
              text: "📦  *Version:* <$repo_url/releases/tag/v$npm_package_version|$npm_package_version>"
            }]
          }, {
            type: 'divider',
          }, {
            type: 'section',
            text: {
              type: 'mrkdwn',
              text: '$release_notes'
            }
          }],
        },
        packageName: 'forest-express',
      }
    ],
  ],
}

As you can see we have a string
"📦  *Version:* <$repo_url/releases/tag/v$npm_package_version|$npm_package_version>"
that uses $npm_package_version twice.
The link generated is good, but not the displayed text for the link:

I think the replace function below, replaces only the first occurence:
https://github.com/juliuscc/semantic-release-slack-bot/blob/master/lib/template.js#L7

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Testcontainer mysql: use get version, managed by dependabot

related to https://github.com/jhipster/jhipster-lite/issues/615

@DanielFran : there are some Sonar code smells after this merge. Can you have a look plz? Otherwise, I'll do it later

@pascalgrimaud In fact the code was already duplicated between Mysql and Postgresql, do not know why only now this is reported. We can move the code to a Generic database class maybe?

Yes, there is this ticket https://github.com/jhipster/jhipster-lite/issues/419
I can take care of it, as I know how to do

I cannot work on this until Friday probably, so it is up to you to start this refractor before if you have time... otherwise I can look at it on Friday.

@DanielFran : it's ok, the code smells have been fixed :)


After update of mattermost and bridge, the bridge can't connect to mattermost

We updated our infrastructure here:
https://github.com/btcpayserver/btcpayserver-infra/pull/14
This was working fine before.
Now it fails connecting
time="2020-01-11T16:00:41Z" level=info msg="Starting bridge: mattermost.btcpay " prefix=router
time="2020-01-11T16:00:41Z" level=info msg="Connecting using login/password (sending and receiving)" prefix=mattermost
time="2020-01-11T16:00:41Z" level=info msg="Connecting btcpay_bot (team: btcpayserver) on chat.btcpayserver.org" prefix=mattermost
time="2020-01-11T16:00:41Z" level=debug msg="trying login btcpayserver btcpay_bot chat.btcpayserver.org" prefix=matterclient
time="2020-01-11T16:00:41Z" level=fatal msg="Starting gateway failed: Bridge mattermost.btcpay failed to start: " prefix=main

The error is not so helpful so I am at loss knowing what happen.
We tried to downgrade the bridge, but same issue. I guess the new version of mattermost broke something then?

That's very strange that there is no error listed after "failed to start:"
Is that all the debug info there is from mattermost/matterclient output?

FYI, I upgraded my test setup to 5.18.1, works fine
[0018]  INFO router:       Starting bridge: mattermost.testwim
[0018]  INFO mattermost:   Connecting using login/password (sending and receiving)
[0018]  INFO mattermost:   Connecting wim@test (team: wim) on test
[0018]  INFO matterclient: Found version <IP_ADDRESS>.18.1.1b362fc768d984cb23c2f750067c823d.false

So yes, I am sure there was no more messages after that. The container just restart.
That said we also have another unrelated issue in mattermost, which may have the same root cause of this bug. (Maybe a mattermost DB issue?)
I will edit around more tomorrow and keep you up to date.

Thanks for checking @42wim .
I updated after I saw that users could not register anymore.
After the update, this bug happened on the bridge. You could not reproduce, so I suspected that both issues were from the same source.
After trying to execute some requests of mattermost by hand, I noticed that a table was corrupted.
I followed the instructions on this blog post, and this solved the problem.
That said, I think there is a bug in the mattermostbridge concerning the logs:
"Starting gateway failed: Bridge mattermost.btcpay failed to start: "  The string after : is empty, which seem weird.
Anyway closing this issue as this is unrelated.


Support preview Protected Branches API

Fixes #876.
Closes #934.

Actually, now that I'm looking at the final results of the merge, all the important things have been addressed, and the extra omitemptys are really not desirable anyway because these fields can't be omitted as they are not pointers.
Closing.


When running rubocop in a PR to ensure the code style is valid it shows offence "Class has too many lines. [321/320]"

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
The PR template shows to run rubocop to ensure the code style is valid:
bundle exec rubocop -a

When I do this for my PR it shows:
Offenses:

frameit/lib/frameit/editor.rb:2:3: C: Class has too many lines. [321/320]
  class Editor ...
  ^^^^^^^^^^^^

973 files inspected, 1 offense detected

The solution by a team member is to use a trivial work-around by adding comments in the Class to disable the check:
https://stackoverflow.com/questions/40221797/rails-rubocop-disable-class-has-too-many-lines-error
I think it's good practise to have checks, but they should be meaningful.
A max limit of 320 code lines for a class seems not much.
Is it possible to reevaluate this value and increase it, instead of forcing coders to disable the check on files?
Complete output when running fastlane, including the stack trace and command used

[INSERT OUTPUT HERE]
Environment

[INSERT OUTPUT HERE]

Hey @funnel20, I think the preference would be to refactor some code out into another class so that they arent getting too big and too responsible for so many things. Is there an opportunity to do that with your PR? How many lines over 320 are you?

1 line

Is there a empty new line you can delete just to fix this problem and not worry about it at the moment. Classes over 320 lines definitely are too long, and while it may seem arbitrary, we do have to have some checks here.

No sorry, all lines are functional. I expect the check doesn't count comments.
One of the drawbacks of this check is that the fixer (me) is now the problem owner of a file that is too large. While I only modified a fraction of the file, to solve an issue.

Really sorry about that @funnel20, I know some of the process can be annoying. What would your ideal situation be for this issue?

I'm aware of guidelines to limit the lines of code within functions (or methods, don't know what the nomenclature is in Ruby). That makes sense, because for readability and testability.
But I don't understand why a class should be limited. Moving parts to another class, doesn't always contribute to a better readability.
Let's say I create a ViewController in macOS with 32 buttons. Your rule then limits that every button can have 10 lines of code on average. 2 lines are already required to define each button callback, resulting in 8 functional lines per button. Will this check result in better code? I don't believe it, because I have to open dozens of other classes to view the logic behind  the buttons.
Another example; the header of Apple's own UIViewController contains already 1,700 lines. Let alone the implementation file. As a professional software company tis proofs that they don't use this check, or have the limit at a significant higher level.
The current check restricts freedom and creativity and jeopardises readability:

One solution is to merge different lines of code, which creates only 1 line and let's the check pass. But this line becomes unreadable.
Another solution is to disable the check by adding the comment. From an architect perspective this makes the entire check obsolete.
If a developer sees a countdown of remaining lines while writing code, he might be forced to cut corners. In the aforementioned issue that I solved, this might have been the case since just a single .crop command was used.
Super efficient in lines of code, but totally undesired side effects for the end result.

As long as I don't know what the rational for your existing check is, and why it's limited to 320 I can't say what to change. But I hope my concerns are valid and understandable.

I totally understand your point and while I think there are nicer ways to handle 32 buttons all in one view controller rather than using container view controllers containing smaller, child view controllers in iOS, Ruby is fundamentally very different than Swift and even more so than ObjC. The 320 line limit assumes (probably, more often than not, correctly) that if the class is that big likely there are too many responsibilities shared by that class and things could be encapsulated in some smaller classes.
All of this being said, we deeply care for our community and want to make our contributors as happy as possible. What would be your ideal outcome of this situation and we can help you get there 😄

Since you're the masters of Ruby, I have no value here.
This Class contains a lot of helper related methods, like getting settings from the Framefile, loading fonts, etc. In this case I would suggest to make a new Class and move these methods to it, so the current class will stay within the max line limit.
What I don't want to hear is "as a work-around just disable the check".
Or "we don't accept the PR because there are too many lines". Yeah, that's because other colleagues wrote those 310 lines before me.
In my ideal world the fixer of an issue who just hits this limit, is not responsible to solve this situation.
So someone from the team should accept the PR and alter the class architecture afterwards.
This will result in a win-win:

The fixer is satisfied that his fix is accepted, while he doesn't have to break his head about architecture. So he keeps motivated to contribute again on small portions of the code, instead of having full responsibility of the software architecture.
The team stays in control about the architecture, because they are likely the pro and know all the ins and outs.

Hey, @funnel20, again, I totally understand the frustration that this length check is causing. And I understand that those two steps you listed make a lot of sense.
I hope that you can understand that we do need to have some guard rails in place to make sure that our code base doesn't get out of control. Given the fact that we need to have some checks in place, this situation is bound to happen.
I will submit a commit on top of your PR to handle the line number issue so that you wont have to worry about changing any architecture or refactoring anyone else's code and then we can make sure we set you up for success the next time (we hope) you want to contribute something! 😄 🚀

@ohayon Thanks for reading my concerns.
As mentioned, I don't have problems with checks, but there needs to be an acceptable workflow to make them pass.
Thanks for making the change to my PR by reducing the code with 1 line to let the check pass.
Although I hope that you agree that the inline solution doesn't contribute to readability 😈.
Should we create an issue/task for refactoring this Class to prevent any future failing line check?

I definitely agree that the inline solution is not ideal!
We have created a task for our team to follow up with a refactor to the class so that we can have more flexibility (we don't typically use GitHub issues for our task tracking, rather we only use it for handling user support). I wonder if rubocop can warn us when classes are getting close to 320 so we have a chance to refactor things before this type of frustration is imposed on anyone?
All of this being said, we would really love to get your change merged in, and then we can go ahead with a refactor, just waiting to see if we can find a solution to the CLA issue. 😄
If you don't mind, I'd like to close this issue as we have created the task to refactor the code and discuss the situation internally and it is not surfacing an actual bug in the fastlane code which is what we ideally use GitHub Issues for. Let me know your thoughts! 🐙

Please close it


Files not ignored

It looks like files in the ignore array are not being ignored. This happens even with the default value for it. This becomes a big issue when it fails to ignore node_modules which causes atom to crash.
"ignore": [
    ".remote-sync.json",
    ".git/**",
    "node_modules/**"
]

Anyone having the same issue?

Yes, I am having the same issue.


[SPARK-11507] [MLlib] add compact in Matrices fromBreeze

jira: https://issues.apache.org/jira/browse/SPARK-11507
"In certain situations when adding two block matrices, I get an error regarding colPtr and the operation fails. External issue URL includes full error and code for reproducing the problem."
root cause: colPtr.last does NOT always equal to values.length in breeze SCSMatrix, which fails the require in SparseMatrix.
easy step to repro:
val m1: BM[Double] = new CSCMatrix[Double] (Array (1.0, 1, 1), 3, 3, Array (0, 1, 2, 3), Array (0, 1, 2) )
val m2: BM[Double] = new CSCMatrix[Double] (Array (1.0, 2, 2, 4), 3, 3, Array (0, 0, 2, 4), Array (1, 2, 1, 2) )
val sum = m1 + m2
Matrices.fromBreeze(sum)

Solution: By checking the code in CSCMatrix, CSCMatrix in breeze can have extra zeros in the end of data array. Invoking compact will make sure it aligns with the require of SparseMatrix. This should add limited overhead as the actual compact operation is only performed when necessary.

Merged build triggered.

Merged build started.

Test build #45218 has started for PR 9520 at commit 50eee83.

Test build #45218 has finished for PR 9520 at commit 50eee83.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/45218/
Test PASSed.

Close the PR for now.

Test build #53774 has started for PR 9520 at commit 50eee83.

Test build #53774 has finished for PR 9520 at commit 50eee83.

This patch fails R style tests.
This patch does not merge cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53774/
Test FAILed.

Build finished. Test FAILed.

Test build #53777 has started for PR 9520 at commit 75181e4.

Test build #53777 has finished for PR 9520 at commit 75181e4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53777/
Test PASSed.

Test build #2712 has started for PR 9520 at commit 75181e4.

LGTM pending tests.

Test build #2712 has finished for PR 9520 at commit 75181e4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.


Auto update all machines with latest Playbooks

By way of AWX (Ansible Tower) configure a weekly schedule to deploy the latest Ansible playbooks to all systems.

This will ensure there isn't any drift between how the systems are configured and the latest changes to the playbooks are applied.

This is easily setup using AWX's scheduler, however we need away to ensure they are not currently in use by Jenkins. A method to temporarily disable the system(s) (take off-line) run the playbook then re-enable the system(s).

It's possible via the Jenkins web interface to mark a node as temporarily offline. Maybe that's what we need to do, and maybe there's an API that would allow us to do that from Ansible. I'll see what I can find. We'd still need to make sure the node was not busy when we did that though.

Issue #185 discusses the challenges faced when running a Jenkins backup. That discusses putting Jenkins into "quiet" mode before the backup is made, but tat there's a known bug where doing that can cause job to freeze. If that gets fixed, then maybe the same approach (or even the same window) could be used to update all machines with the latest playbooks. However, both the backup and the machine update needs to figure out what to do with busy nodes. Wait for them all to finish?

Other option would be to run the playbook without considering if its busy with a job. Once a machine has been configured, a weekly update ideally wouldn't change anything unless something new is added. The playbooks shouldn't be reinstalling the same thing over and over.

Scheduling the playbooks to update all systems from within AWX is simple enough to do.
Utilizing the limit feature would allow us to split or stager it to run on a per vendor/provider basics, limiting our exposer in the event of failure (miss configuration) caused by an erroneous playbook.
We need to take into consideration performance jobs, jobs that are timed, etc. Although in most cases very little to nothing will change on the system and the additional low will be minimal, it doesn’t sound like a great idea to allow changes to occur while a job is running.
Trigger it from Jenkins seems like a better way to go about it.

If you were to have a Jenkins job that "occupied" a machine, kicked off the playbook, for only that machine, and somehow waited around till the playbook was finished, it would work. I'm not sure exactly how you would do it. I was under the impression that kicking off a playbook for a single machine wasn't easy, maybe it is now with the inventory file?

You'd need to ensure that all machines eventually ran the playbook.

I want to look into a method to do this via Jenkins.
The Ansible Tower Plugin looks promising
This solution would ensure there aren't any jobs running the systems at the same time the playbooks are running.

On AWX...

Create a userid that you want Jenkins to use when it sends jobs over.
Allow this user to be able to use/execute playbooks/inventories/templates.

On Jenkins...

Create a credential for the userid you created in AWX.
Install the Ansible Tower plugin.
Set up the Ansible Tower settings in Configure System.
Create a freestyle project (job) for running the playbooks (I'll refer to it as awx-job here) that has an Ansible Tower build step.
In that build step, fill in the details of the AWX server...

Set Tower server to the one you defined in Configure System (pick it from the dropdown).
Set Template type to job  (pick it from the dropdown).
Set Template ID to the name of the playbook you want to run.
Set Limit to $NODE_NAME
Set Inventory to the name of the inventory on AWX.
Set Credential to the credential defined on AWX.

Create a pipeline project (job) for orchestrating the running of the playbook across all slaves that are online. Use the following pipeline script...

def getSlaves() {
    def slaves = []
    hudson.model.Hudson.instance.slaves.each {
        computer = it.getComputer()
        if ( computer.isOnline() ) {
            println it.name + " is online - adding job"
            slaves << it.name
        }
        else {
            println it.name + " is offline - not adding job"
        }
    }
    return slaves
}

def jobs = [:]

getSlaves().each {
    def slave = it
    jobs[slave] = {
        node(slave) {
            build '<name-of-the-playbook-project>' // Replace this with the name of that job
        }
    }
}

parallel jobs

Happy to help out here. I'll PM you

@geraintwjones and @AdamBrousseau - did this get completed?

Related #695

Related #695

I'm going to close this and allow the work to progress under 695


Declarative API

I wonder if when function builders have formally been added to Swift a declarative API with function builders could be made akin to this library: https://github.com/carson-katri/swift-request

We certainly could. However, I remain unconvinced that a declarative syntax actually buys us that much.
Here is the readme’s example of a complex request:
Request {
    Url("https://jsonplaceholder.typicode.com/posts")
    Method(.post)
    Header.ContentType(.json)
    Body(Json {
        JsonProperty(key: "title", value: "foo")
        JsonProperty(key: "body", value: "bar")
        JsonProperty(key: "usedId", value: 1)
    }.string)
}

Is this actually more concise than our API? It doesn’t seem that it is. Nor does it seem clearer, at least to me. It also raises many questions: what happens if you specify URL twice? What about method? Are header names custom coded requiring a new method for any header name you want, or is it a dynamic property lookup that analyses the string to determine hyphenation?
I am profoundly unconvinced that a declarative style actually gains us anything in the area of declaring HTTP request objects.

Incidentally, the part of this that may be worth analysing is the chained and grouped requests feature. We could build sugar on top of our API to allow that DSL style of declaring control flow. However bear in mind that the control flow there does not allow parameter passing or any kind of data flow from one request to another; so it’s unlikely to be useful in non-trivial programs.

Sorry for the slow response - these are all valid points.
I had come across that library in a few threads and thought it might be something worthwhile to sit on awhile :)


Configure repo for ApexDoc generation

The Jenkins job is in place to build the ApexDoc and the gh-pages branch is in the repo.  The remaining tasks for enabling the ApexDoc build are:

Add the config to cumulusci.properties
Include homepage and banner in the repo

Just checked and the homepage/banner are already set up in the repo.  This pull request should be ready to merge.  Once merged, manually trigger the 15_hedap_rel_apexdoc job in Jenkins and pass it the latest beta tag to generate the docs.


Full configuration resolution

Things still missing:

[ ] add configuration to ResolvedDependencyResult, and use it instead of traversing ResolvedDependencys
[ ] drop SelfResolvingDependency from ProjectDependency
[ ] figure out what to do when a transitive project dependency is replaced by an external dependency
[ ] clean up commits

We'll do the re-resolving configuration story in another pull request.

Thanks for the pull request. We'll take a look at it soon. A few initial thoughts:

This will be a breaking change, because the configurations are resolved early but not re-resolved if modified during task execution (I don't think). So we probably can't apply this PR until that work is done.
We'll need to consider the performance aspects of realising and traversing both the ResolvedConfiguration and the ResolutionResult. I can't recall exactly, but I think we're serializing one of these to disk in a normal resolve, only loading into memory on demand.
I think that we're going to want to break the automatic mapping of 'configuration' value from 3rd party dependencies to project dependencies. It looks like we're going to need to introduce some modelling of "components" in a project based on configurations, and then we'd provide a way to specify a dependency on a particular component. Something to discuss on the dev list.
For a first cut, I would simplify things by always using the default project configuration:  that should also eliminate the need to traverse the ResolvedConfiguration.

Hey, thanks for the reply.

Maybe we should do the configuration re-resolve things here in this PR as well. If it doesn't make sense without that change, there's no point in doing a separate PR.

Our plan for today was to make DefaultConfiguration.resolveNow() work with only the ResolutionResults by adding the configuration to ResolvedDependencyResult. We failed spectacularly. I'll explain a little later what we found.

I like the idea of introducing a new abstraction level for a specific configuration of a module, and I agree that we should not do this right now.

I'm not sure about defaulting to the default configuration is necessary to make things work without this new abstraction, though. My recommendation would be to keep the original metadata of the dependency for now. I've added some integration tests that show that things work pretty well for the use-case when you want to replace a dependency without changing the target configuration. I think keeping all the excludes and whatnot makes sense as well for now. Later, with an extended DSL, it could be possible to change configuration, excludes rules etc. But I think the feature is useful enough for a first version as it is now.

...and all the above depends on whether we can keep track of the target configuration of a dependency via ResolutionResults. I think it should be possible, but we should talk about it first.

@adammurdoch is there something you want us to do to get this merged? Thanks

Closing this, has been split into PR#411, PR#412 and PR#417.


refactor(@angular/cli): align e2e tsconfig outDir to other outDirs

instead of setting the outDir of tsconfig.e2e.json to '../dist/out-tsc-e2e' align it with the other tsconfig outDir settings and set it to '../out-tsc/e2e'

Thank you for the contribution.  However an existing PR already covers this change (https://github.com/angular/angular-cli/pull/5220).

Superseded by #5220.


Birthday error response

Add check to ensure birthdays are in the past.
Fix error message when an invalid date is given.
closes #112
closes #114
closes #122
closes #130

Codecov Report

Merging #185 (baf40d5) into master (8184ed9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #185   +/-   ##
=========================================
  Coverage     63.17%   63.17%
  Complexity      658      658
=========================================
  Files           111      111
  Lines          2422     2422
  Branches        271      271
=========================================
  Hits           1530     1530
  Misses          793      793
  Partials         99       99

Impacted Files
Coverage Δ

...main/java/seedu/address/model/person/Birthday.java
72.72% <ø> (ø)

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


Transparent Canvas ?

Hello.
Can we set a transparent background in the composer.
i've got
  const renderer = new WebGLRenderer({
    powerPreference: "high-performance",
    stencil: false,
    depth: false,
    canvas: canvas.value,
    alpha: true,
    antialias: true
  })

When i use
  const render = () => {
    renderer.render(scene, camera)
  }

But i've got a black background when i render
  const render = () => {
    composer.render(clock.getDelta())
  }

Any idea ?
Thank you !

Hi!
How do you solve this?

@vanruesc Thanks a lot for your answer !
It work as expected and it looks great.
Your package is really great, by the time I was using spite/Wagner and it was really nice. Thank you for providing us your awesome work.
I will remember your advice ;) (#issue)


Update sinon js

Update 8 years-old Sinon.js 1.7.3 to 9.0.3
Get rid of the polyfill needed back then.

See:

https://github.com/sinonjs/sinon/issues/185
https://github.com/sinonjs/sinon/pull/334

Note that built-in Sinon FakeXMLHttpRequest returns one more event per 200 what led to a differently number event array (what is fixed in the corresponding test)

Nice, finally some progress after 7 years 🥇


env.cfg - [closed]

In GitLab by @guyingyan on May 18, 2018, 06:33
Merges dev-jenkin-ci-update -> dev

In GitLab by @wknet123 on Nov 13, 2019, 10:56
closed


[BUG] Android App crashes when phone allowed two SMS at the same time.

Describe the bug
When the android phone receives two SMS at the same time, and the user allows the two OTPs, the app crashes.
Below is the error found in the logs.
E/AndroidRuntime( 4770): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2, result=-1, data=Intent { (has extras) }} to activity {com.sample.app/com.sample.app.MainActivity}: java.lang.IllegalStateException: Reply already submitted
E/AndroidRuntime( 4770): 	at android.app.ActivityThread.deliverResults(ActivityThread.java:5506)
E/AndroidRuntime( 4770): 	at android.app.ActivityThread.handleSendResult(ActivityThread.java:5547)
E/AndroidRuntime( 4770): 	at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51)
E/AndroidRuntime( 4770): 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
E/AndroidRuntime( 4770): 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
E/AndroidRuntime( 4770): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2307)
E/AndroidRuntime( 4770): 	at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime( 4770): 	at android.os.Looper.loop(Looper.java:246)
E/AndroidRuntime( 4770): 	at android.app.ActivityThread.main(ActivityThread.java:8506)
E/AndroidRuntime( 4770): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 4770): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
E/AndroidRuntime( 4770): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
E/AndroidRuntime( 4770): Caused by: java.lang.IllegalStateException: Reply already submitted
E/AndroidRuntime( 4770): 	at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:164)
E/AndroidRuntime( 4770): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:238)
E/AndroidRuntime( 4770): 	at ru.surfstudio.otp_autofill.OTPPlugin.onActivityResult(OTPPlugin.kt:122)
E/AndroidRuntime( 4770): 	at io.flutter.embedding.engine.FlutterEngineConnectionRegistry$FlutterEngineActivityPluginBinding.onActivityResult(FlutterEngineConnectionRegistry.java:741)
E/AndroidRuntime( 4770): 	at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.onActivityResult(FlutterEngineConnectionRegistry.java:426)
E/AndroidRuntime( 4770): 	at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onActivityResult(FlutterActivityAndFragmentDelegate.java:749)
E/AndroidRuntime( 4770): 	at io.flutter.embedding.android.FlutterActivity.onActivityResult(FlutterActivity.java:651)
E/AndroidRuntime( 4770): 	at android.app.Activity.dispatchActivityResult(Activity.java:8541)
E/AndroidRuntime( 4770): 	at android.app.ActivityThread.deliverResults(ActivityThread.java:5499)
E/AndroidRuntime( 4770): 	... 11 more
I/Process ( 4770): Sending signal. PID: 4770 SIG: 9

Steps to Reproduce

Send SMS to the phone at the same time.
Two user consent modals will show.
Click the allow button on the two modals.

What is the expected behavior?
The app should not crash when clicking the allow button and the latest OTP must be displayed on the field.

Hi, any updates on this issue? Thank you.

Hi, any updates on this issue? Thank you.

Thx for issue, looks like bug in native part, we will check is it trouble in our part or system.

@dalerugs Can you add code example to reproduce behavior which you get? You get this on every device? We try to reproduce it, but get only one modal. Need more information.

Hello @dalerugs,
We tried to reproduce described error but we failed. However, we managed to get similar error in console while incorrect subscription initialization. We have suspicions that you could write an incorrect code and we would like to help to resolve it.
Can you please provide us with the following data:

Code for error reproduction.
What simulator or emulator was used with the operating system?
If you used phone, what was the model of the phone and what operating system is installed of the phone where error occurred?
Flutter doctor.
Video record of an error.

Thank you.

I/flutter (19097): signature - 0VH2py/xFgh
I/Timeline(19097): Timeline: Activity_launch_request time:593250429
I/Timeline(19097): Timeline: Activity_launch_request time:593250439
V/PhoneWindow(19097): DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@6e7ac29, this = DecorView@7cefbae[MainActivity]
I/flutter (19097): Your Application receive code - 1308
I/Timeline(19097): Timeline: Activity_launch_request time:593278665
D/AndroidRuntime(19097): Shutting down VM
E/AndroidRuntime(19097): FATAL EXCEPTION: main
E/AndroidRuntime(19097): Process: ru.surfstudio.otp_autofill, PID: 19097
E/AndroidRuntime(19097): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2, result=-1, data=Intent { (has extras) }} to activity {ru.surfstudio.otp_autofill/ru.surfstudio.otp_autofill_example.MainActivity}: java.lang.IllegalStateException: Reply already submitted
E/AndroidRuntime(19097): 	at android.app.ActivityThread.deliverResults(ActivityThread.java:5195)
E/AndroidRuntime(19097): 	at android.app.ActivityThread.handleSendResult(ActivityThread.java:5236)
E/AndroidRuntime(19097): 	at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51)
E/AndroidRuntime(19097): 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
E/AndroidRuntime(19097): 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
E/AndroidRuntime(19097): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2187)
E/AndroidRuntime(19097): 	at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime(19097): 	at android.os.Looper.loop(Looper.java:236)
E/AndroidRuntime(19097): 	at android.app.ActivityThread.main(ActivityThread.java:8057)
E/AndroidRuntime(19097): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(19097): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:620)
E/AndroidRuntime(19097): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1011)
E/AndroidRuntime(19097): Caused by: java.lang.IllegalStateException: Reply already submitted
E/AndroidRuntime(19097): 	at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:431)
E/AndroidRuntime(19097): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:267)
E/AndroidRuntime(19097): 	at ru.surfstudio.otp_autofill.OTPPlugin.onActivityResult(OTPPlugin.kt:122)
E/AndroidRuntime(19097): 	at io.flutter.embedding.engine.FlutterEngineConnectionRegistry$FlutterEngineActivityPluginBinding.onActivityResult(FlutterEngineConnectionRegistry.java:840)
E/AndroidRuntime(19097): 	at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.onActivityResult(FlutterEngineConnectionRegistry.java:441)
E/AndroidRuntime(19097): 	at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onActivityResult(FlutterActivityAndFragmentDelegate.java:772)
E/AndroidRuntime(19097): 	at io.flutter.embedding.android.FlutterActivity.onActivityResult(FlutterActivity.java:685)
E/AndroidRuntime(19097): 	at android.app.Activity.dispatchActivityResult(Activity.java:8516)
E/AndroidRuntime(19097): 	at android.app.ActivityThread.deliverResults(ActivityThread.java:5188)
E/AndroidRuntime(19097): 	... 11 more
I/Process (19097): Sending signal. PID: 19097 SIG: 9
Lost connection to device.

My device is: xiaomi redmi note 8 pro.
I use the example Code.
Flutter doctor
flutter doctor -v
[✓] Flutter (Channel stable, 2.10.0, on macOS 12.1 21C52 darwin-arm, locale
en-PS)
• Flutter version 2.10.0 at /Users/wesamsalama/Flutter/flutter_sdk
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 5f105a6ca7 (4 weeks ago), 2022-02-01 14:15:42 -0800
• Engine revision 776efd2034
• Dart version 2.16.0
• DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/wesamsalama/Library/Android/sdk
• Platform android-31, build-tools 31.0.0
• Java binary at: /Applications/Android
Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
[✓] VS Code (version 1.64.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.34.0
[✓] Connected device (2 available)
• Redmi Note 8 Pro (mobile) • aaaqof8xhuqwmrdi • android-arm64  • Android 11
(API 30)
• Chrome (web)              • chrome           • web-javascript • Google
Chrome 98.0.4758.109
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!

bug senario is:
1 - Resave the first code and press allow ( controller will filled with code)
2 - Resave the second code , when i press allow the app will craches

i got the errors too, when 2sms sends otp to phone at the same time.

also when the listen for otp  method fails to get otp. then otp arrives later it crashes.

i got same issue , when 2 otp arrives it crash.
mine when otp doesnt arrive in the expected time. then it arrives later the app crashes.
its like the method stoplistsen for otp does not work.

Any update? Absolutely the same situation here. Receive the code for the first time, then on the second one the app crashes

If you are using  retriever that needs the app signature at SMS , the only solution I got is to use other package.

I used sms_autofil package and it worked even with spamming sms. App did not crash.


feat: POC for getting card name

Summary
Please review this code for getting the card name on pow signal.
It's triggered via:
Run the full stack, then
go run .  pow-signal  --network dev
Did I put the code in right place?
Does it need to be refactored?
I am using webhook for now. If we need to replace it with our api endpoint, lets do it.
For now the data is saved to:
https://docs.google.com/spreadsheets/d/1Ldva1Ivb42Re3WX6eTzDhooqGrODXi-VhfkHheQ5RwM/edit?usp=sharing

I think we can close this one in favor of #316 - right @arsen3d ?


adding connectome sideloading

do we have connectome_fafb, connectome_l1em and connectome_hemibrain related sparql queries

Nope.  Probably better to hack in as direct (robot) merge of relevant OWL files (assuming the are accessible from here) in the goal.  If you make these into dependencies, this should be outside of the patsub.

Ref https://github.com/VirtualFlyBrain/vfb-pipeline-dumps/issues/24#issuecomment-1021351141

I've linked the owl files previously loaded in at collectdata stage. Test still running ATM.

If current approach doesn't work, I can implement this function both in this branch and generic_pipeline. I can read EXTERNAL_ONTOLOGIES (aka. CONNECTOMICS) from environment variables and directly feed to the robot if any.

Well, we've officially made it slower but as we are now doing the merge twice it's not unexpected but it is running very inefficiently as using only 5% of a single CPU and 138G RAM for the last few days but still seems to be going. Could do with --vvv but I'll give it the weekend to finish.

Well, we've officially made it slower but as we are now doing the merge twice it's not unexpected but it is running very inefficiently as using only 5% of a single CPU and 138G RAM for the last few days but still seems to be going. Could do with --vvv but I'll give it the weekend to finish.

@Robbie1977  - do you have edits outside this PR that pull in the additional files and merge them?  Not seeing anything here that would what we planned. This would https://github.com/VirtualFlyBrain/vfb-pipeline-dumps/pull/26#pullrequestreview-864087404 (see suggested code in second box).
BTW - the merge shouldn't take long.  I think it would be best to sprinkle echo statements through the Makefile that print time so that we have a clear idea which steps are slow.


Tilemap collision is not updated right away when changing tile (update done in the next collision resolution step)

Godot version:
3.3
OS/device including version:
Arch Linux
Issue description:
I need to change a tile then query it's collision status immediately.
This works:
func _physics_process(delta):
	print($RayCast2D.is_colliding())

	if Input.is_action_just_pressed("ui_left"):
		print("Removing tile")
		$TileMap.set_cell(1, 0, -1)
		$TileMap.update_dirty_quadrants()
		$RayCast2D.force_raycast_update()
		print($RayCast2D.is_colliding())

True
True
Removing tile
False
False
False
False

This doesnt:
func _physics_process(delta):
	print($RayCast2D.is_colliding())

	if Input.is_action_just_pressed("ui_right"):
		print("Changing to different tile")
		$TileMap.set_cell(1, 0, 1)
		$TileMap.update_dirty_quadrants()
		$RayCast2D.force_raycast_update()
		print($RayCast2D.is_colliding())

True
True
Changing to different tile
False
True
True
True

Minimal reproduction project:

test2.zip

Sorry for bumping an old issue, but since I'm moving on past this project and closing the issue for myself, I present my use case and thoughts for future reference for others (why I need to query collision status of tilemap in the same frame it was changed).
Simplified use case

Player states are {Idle, Falling}
Tiles are {Ground, CrackedGround}, both have collision
Tiles can change from Ground => CrackedGround => destroyed
Player is standing on Ground / CrackedGround
Events can change tiles, which signals player to check for possible transition from Idle to Falling
Changing tile from Ground to CrackedGround causes Raycast to report no collision on that frame, causing Player to incorrectly transition to Falling

Workarounds

I can directly check against tile id instead of it's collision. But in a more complex example where only some tiles have collision and others don't, Player would be polluted with needing to know the collision state of all tiles
I can delay the transition by one frame, after the collision resolution has been updated, but this has noticeable effect on responsiveness. If Ground is destroyed at Frame 10, Player should transition from Idle to Falling at end of Frame 10, and be Falling at start of Frame 11
I could re-engineer my state machine transitions to the beginning of frame i.e. check for Idle => Falling transition at start of Frame 11. But... I don't think it really makes sense to perform FSM transitions at start of frame, I'd have to carry over too much state information from previous frame to the next frame


Product Backlog Items and iterations

Summary
I exported my Jira content successfully (I guess) and now, I can import it to DevOps but something is missing...
Current Behavior
Iterations
My iterations are created successfully (from the project settings):

but not "recognize" by DevOps. From Sprints view, I have no sprint available:

Product Backlog Iteration
If I fix manually the issue with iteration and I'm selecting one from the Sprints view, I have no Product Backlog is appearing...

I have to edit and save each Product Backlog Item (bug and tasks too) and after that I can see them to the Sprint
I did something wrong?
Something is missing?

Hi @Laul0. Can you share your config file?

Hi @MOlausson, yes:
{
  "source-project": "GOC",
  "target-project": "GOC-From-Jira",
  "query": "project = GOC ORDER BY Rank ASC",
  "workspace": "C:\\Temp\\JiraExport\\",
  "epic-link-field": "Epic Link",
  "sprint-field": "Sprint",
  "batch-size": 20,
  "log-level": "Debug",
  "attachment-folder": "Attachments",
  "user-mapping-file": "users.txt",
  "base-area-path": "",
  "base-iteration-path": "",
  "ignore-failed-links": true,
  "process-template": "Scrum",
  "link-map": {
    "link": [
      {
        "source": "Epic",
        "target": "System.LinkTypes.Hierarchy-Reverse"
      },
      {
        "source": "Parent",
        "target": "System.LinkTypes.Hierarchy-Reverse"
      },
      {
        "source": "Relates",
        "target": "System.LinkTypes.Related"
      },
      {
        "source": "Duplicate",
        "target": "System.LinkTypes.Duplicate-Forward"
      }
    ]
  },
  "type-map":{
    "type": [
      {
        "source": "Feature",
        "target": "Feature"
      },
      {
        "source": "Epic",
        "target": "Epic"
      },
      {
        "source": "Story",
        "target": "Product Backlog Item"
      },
      {
        "source": "Bug",
        "target": "Bug"
      },
      {
        "source": "Task",
        "target": "Product Backlog Item"
      },
      {
        "source": "Sub-task",
        "target": "Task"
      }
    ]
  },
  "field-map": {
    "field": [
      {
        "source": "summary",
        "target": "System.Title",
        "mapper": "MapTitle"
      },
      {
        "source": "assignee",
        "target": "System.AssignedTo",
        "mapper": "MapUser"
      },
      {
        "source": "description",
        "target": "System.Description"
      },
      {
        "source": "priority",
        "target": "Microsoft.VSTS.Common.Priority",
        "mapping": {
          "values": [
            {
              "source": "Blocker",
              "target": "1"
            },
            {
              "source": "Critical",
              "target": "1"
            },
            {
              "source": "Highest",
              "target": "1"
            },
            {
              "source": "Major",
              "target": "2"
            },
            {
              "source": "High",
              "target": "2"
            },
            {
              "source": "Medium",
              "target": "3"
            },
            {
              "source": "Low",
              "target": "3"
            },
            {
              "source": "Lowest",
              "target": "4"
            },
            {
              "source": "Minor",
              "target": "4"
            },
            {
              "source": "Trivial",
              "target": "4"
            }
          ]
        }
      },
      {
        "source": "Sprint",
        "source-type": "name",
        "target": "System.IterationPath",
        "mapper": "MapSprint"
      },
      {
        "source": "labels",
        "target": "System.Tags",
        "mapper": "MapTags"
      },
      {
        "source": "comment",
        "target": "System.History"
      },
      {
        "source": "status",
        "target": "System.State",
        "for": "Task",
        "mapping": {
          "values": [
            {
              "source": "To Do",
              "target": "To Do"
            },
            {
              "source": "Done",
              "target": "Done"
            },
            {
              "source": "In Progress",
              "target": "In Progress"
            }
          ]
        }
      },
      {
        "source": "status",
        "target": "System.State",
        "for": "Bug,Product Backlog Item",
        "mapping": {
          "values": [
            {
              "source": "To Do",
              "target": "New"
            },
            {
              "source": "Done",
              "target": "Done"
            },
            {
              "source": "In Progress",
              "target": "Committed"
            }
          ]
        }
      },
      {
        "source": "status",
        "target": "System.State",
        "for": "Epic,Feature",
        "mapping": {
          "values": [
            {
              "source": "To Do",
              "target": "New"
            },
            {
              "source": "Done",
              "target": "Done"
            },
            {
              "source": "In Progress",
              "target": "In Progress"
            }
          ]
        }
      },
      {
        "source": "Story Points",
        "source-type": "name",
        "target": "Microsoft.VSTS.Scheduling.Effort",
        "not-for": "Task"
      },
      {
        "source": "timeestimate",
        "target": "Microsoft.VSTS.Scheduling.RemainingWork",
        "mapper": "MapRemainingWork",
        "for": "Bug,Task"
      },
      {
        "source": "description",
        "target": "Microsoft.VSTS.TCM.ReproSteps",
        "for": "Bug"
      }
    ]
  }
}

Thanks @Laul0 this will help us troubleshoot the issue. I'll also check how sprint dates are handled.

Hi @Laul0 I finally got to check this. Currently we don't create sprints as part of the import, we only create iterations. And we don't migrate dates so I'll add this as a separate thing to consider. Then for your real problem, I can reproduce this and if I set the area for the team to include sub items then they will show in the backlog and board. Can you check if this solves the problem for you?

Hi @MOlausson
I tested your suggestion and you right 🙂 by changing iteration and include 'sub-areas', all tasks are appearing into the backlog.
And now, I just have to add existing sprint to show them, cool !

Hi again @Laul0, this workaround led me to believe there was something else not working. Turned out not all area/iteration properties got set so I changed implementation in the 2.2.10 release. Feel free to give it a try.

I'll do ! Thank you for your investigation 💪🏻


Additional hooks for cart module

Related issues
closes #3388
Short description and why it's useful
I've added new hooks in the cart module but not all of them that were mentioned in the issue, because similar hooks are already implemented (ref: https://github.com/DivanteLtd/vue-storefront/blob/develop/core/modules/cart/hooks/index.ts). Basically I added these ones when I was working on the cart module (@filrak remember?). Because of list provided by @pkarw is a bit different, please look at both this PR and already available hooks - maybe we need to change them? or we'll keep as it is now
Which environment this relates to

[x] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[x] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[x] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[ ] I've updated the Upgrade notes and Changelog on how to port existing VS sites with this new feature

Contribution and currently important rules acceptance

[x] I read and followed contribution rules
[x] I read the TypeScript Action Plan and adjusted my PR according to it
[x] I read about Vue Storefront Modules and I am aware that every new feature should be a module

Good job


Is there any guide or demos about creating Privileged Enclaves (P-Enclave) and Host User Enclaves (HU-Enclave)?

Following the paper's statements in Section 4, Flexible Enclave Operation Mode, HyperEnclave supports the creation of flexible enclaves. Could you please provide some guides or demos to present this feature?

Hi, @bronzeMe, we have shown how to reproduce evaluation result stated in the paper, see the "Artifact Appendix" section in the paper for details.

@Bonjourz By the way, is there any demos about performing remote attestation?

Hi @bronzeMe , in current production environment, HyperEnclave's attestation relies on some infrastructure service from Ant Group, so its demo has not been published under our decision.
Could you please show what is the your purpose of trying remote attestation? What is the scenarios in your case? Let us  take look that whether we can provide some assistance for your case.

@Bonjourz Hi, we recently plan to deploy HyperEnclave on the Hygon hardware platform and test the entire process, including the measurement calculation during the offline phase, TPM trusted boot during the startup phase, and remote attestation during the runtime phase. Our goal is to successfully complete the entire process and eventually make it practical for use in products.

 Could you give some tips? Thanks.

Is the source code for libtpm.a available?

Hi @bronzeMe , currently the libtpm's source code is not open-sourced.

 Could you give some tips? Thanks.

@Bonjourz About this question, could you provide some suggestions？

 Could you give some tips? Thanks.

@Bonjourz About this question, could you provide some suggestions？

Hi @bronzeMe , as discussed on the meeting, we are now working to provide FAKE Remote attestation demo equipped with fake TPM. If all goes well, the demo will be available next week 😁.

@Bonjourz Thanks!
By the way, are the source codes of the patches for both Intel SGX SDK and RUST SGX SDK available? We did not find them.

@Bonjourz Thanks! By the way, are the source codes of the patches for both Intel SGX SDK and RUST SGX SDK available? We did not find them.

Hi @bronzeMe , they are not available now. We are considering whether to open source them. If there are any updates, we will show them on README.

@Bonjourz Thanks! By the way, are the source codes of the patches for both Intel SGX SDK and RUST SGX SDK available? We did not find them.

Hi @bronzeMe , we have updated Fake Remote Attestation demo. See README.md in demos/RemoteAttestation.

@Bonjourz Thanks !! we try it now.

@Bonjourz Thanks! By the way, are the source codes of the patches for both Intel SGX SDK and RUST SGX SDK available? We did not find them.

Hi @bronzeMe , we have updated Fake Remote Attestation demo. See README.md in demos/RemoteAttestation.

@Bonjourz Hi,  the function  ret = sgx_verify_quote((uint8_t*)p_isv_quote, QUOTE_SIZE, report_data, report_data_len, &cert_chain); implemented inside hyperenclave SDK perform the specific TPM-quote-based attestation operations, is it right?
Q1： When will this function be open source?
Q2 What is the detailed difference about performing attestation between NO_CA mode and CA mode?

@Bonjourz Thanks! By the way, are the source codes of the patches for both Intel SGX SDK and RUST SGX SDK available? We did not find them.

Hi @bronzeMe , we have updated Fake Remote Attestation demo. See README.md in demos/RemoteAttestation.

@Bonjourz Hi, the function  ret = sgx_verify_quote((uint8_t*)p_isv_quote, QUOTE_SIZE, report_data, report_data_len, &cert_chain); implemented inside hyperenclave SDK perform the specific TPM-quote-based attestation operations, is it right?
Q1： When will this function be open source? Q2 What is the detailed difference about performing attestation between NO_CA mode and CA mode?

The question has nothing to do with the title of this issue: "Is there any guide or demos about creating Privileged Enclaves (P-Enclave) and Host User Enclaves (HU-Enclave)?"
Could you please open another new issue to discuss it?
It seems that the your question described by the title "Is there any guide or demos about creating Privileged Enclaves (P-Enclave) and Host User Enclaves (HU-Enclave)?" has been answered. If you agree with this, let us close this issue.


Playback error in Safari

Records ok, playback bar on Safari Mac 16.1 says "Error" in the player bar
The downloaded wbem file plays in Chrome but not Safari if you just drag it in.
There are some audio glitches and artifacts in the start of recording when made on Safari that are not there on Chrome.

Oh, interesting. I don't think Safari had support for MediaRecorder when I built this. Perhaps the support it has now is not quite up to scratch. I'll have a play around with it and see.

Been doing a little testing myself. Safari appears to record just fine as long as you pause for a half-second between pressing record and speaking (not an issue on Chrome). Then Safari doesn't seem to like to playback the webm as a blob(even though the data is stored and usable), but when I changed the content type to mpeg both Safari and Chrome were happy. It's a little hacky, but I got it to work by adding a 500ms pause before the UI indicates the person should start speaking and of course, I had to use mpeg over webm. If you have any better ideas let me know:
https://web-recorder-safari-hacks.glitch.me
https://glitch.com/edit/#!/web-recorder-safari-hacks


Fix _copyDir / _mirrorDir shortcuts

commited the Cest first so you can see the old behaviour.
the mirrorDir test is not that helpful, as it only tests copying (and not updating), but as you do not have a test for the MirrorDir task, I simply copied the copyDir test (too much copying indeed! ;)
needed to alias _copyDir as public shortcutCopyDir, because else the build did not pick it up. Can you elaborate why (underscore)?

Fixes #115

Hmm, the more I think about it, the shortcuts should check for an array of $src and use that directly for the constructors or else feed an array $src => $dst.
Ideally, CopyDir would be able to do this, but it uses the BaseDir constructor (which could of course also be overridden).
Any thoughts about this?

ping @DavertMik

Thanks for the fix. I didn't have time to take a look at it earlier.
I think we can leave current syntax for shortcuts (without array support).
Probably If user needs to do multiple copying/mirroring it is a good idea to write a task call instead of shortcut,


[Proposal] Handling N+1

This package cant handle n+1 problems
$users = User::with('roles')->get(); //query to database
$users->first()->hasRole('admin'); //query to database

Solution
/**
 * Get all roles as collection.
 *
 * @return Collection
 */
public function getRoles()
{
    $this->loadMissing('roles');

    return $this->roles ?: $this->roles = $this->getRelation('roles');
}

Those are 2 queries as well.

It's for handling this package which called "cache" without using additional trait property.
If already loaded with eager loading, it wont query again.

@Firtzberg I updated my statement to make it clear.


Audio plays as soon as an instance is created

This packages has an annoying bug which makes it totally useless and that is playing without even calling the .play() method.
This only happens on Android. The issue is the fact that the method is being called inside of the callback of Sound:
var whoosh = new Sound('whoosh.mp3', Sound.MAIN_BUNDLE, (error) => {
  if (error) {
    console.log('failed to load the sound', error);
    return;
  }
  // loaded successfully
  console.log('duration in seconds: ' + whoosh.getDuration() + 'number of channels: ' + whoosh.getNumberOfChannels());

  // Play the sound with an onEnd callback
  whoosh.play((success) => {
    if (success) {
      console.log('successfully finished playing');
    } else {
      console.log('playback failed due to audio decoding errors');
    }
  });
});

And if the method of .play() isn't called inside of it, it won't work at all.

Hey, @n-ii-ma, does this example fix the issue?
App.tsx
import React from 'react';
import { View, Button, StyleSheet } from 'react-native';
import Sound from 'react-native-sound'

Sound.setCategory('Playback');
var whoosh = new Sound('whoosh.mp3', Sound.MAIN_BUNDLE, (error) => {
  if (error) {
    console.log('failed to load the sound', error);
    return;
  }
});

function App(): JSX.Element {

  function playSound() {
    whoosh.play((success) => {
      if (!success) { console.log('Playback failed due to decoding errors') }
    });
  }

  return (
    <View style={styles.container}>
     <Button title='Play Sound' onPress={playSound} />

    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent:'center',
    alignItems:'center'
  }
})

export default App;

Environment

package
version

react-native
0.71.3

react-native-sound
0.11.2

Hey, @n-ii-ma, does this example fix the issue?
App.tsx
import React from 'react';
import { View, Button, StyleSheet } from 'react-native';
import Sound from 'react-native-sound'

Sound.setCategory('Playback');
var whoosh = new Sound('whoosh.mp3', Sound.MAIN_BUNDLE, (error) => {
  if (error) {
    console.log('failed to load the sound', error);
    return;
  }
});

function App(): JSX.Element {

  function playSound() {
    whoosh.play((success) => {
      if (!success) { console.log('Playback failed due to decoding errors') }
    });
  }

  return (
    <View style={styles.container}>
     <Button title='Play Sound' onPress={playSound} />

    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent:'center',
    alignItems:'center'
  }
})

export default App;

Environment
package	version
react-native	0.71.3
react-native-sound	0.11.2

On iOS it does work in this way but on Android I have to call the .play() method inside the callback of creating the Sound instance for it to work and that results in it playing as soon as it's created.

Hmm that is weird, it works on my Android device. What can you see in the Android Studio logcat when pressing the button to play the sound? (without having the .play() inside the callback)
I get those 2 lines everytime the audio is played:

At first it logs the same lines as you but then logs these:

Might be because I'm calling the .play method inside a useEffect since by doing a button press it does actually play.

I just tried calling the .play() method with a button and still nothing. It seems that the asset won't get played at first but then it will.
Getting a lot of headaches with this library, TBH.

You can solve it using the useState() hook, this way, you can display a loading screen until the asset has been loaded properly & then dismiss it. Also, wrap the function with useMemo() so that it will only be executed on the first render, like this:
const [loading, setLoading] = useState(true)
const whoosh =  useMemo(() => {
  return (
    new Sound('whoosh.mp3', Sound.MAIN_BUNDLE, (error) => {
      if (error) {
        console.log('failed to load the sound', error);
        return;
      }
      setLoading(false)
    })
  )
},[]);

You might be over-complicating things with .release(), try this instead:
useEffect(() => {
  if(loading) return

  if (hasOrders && isObjEmpty(acceptedOrder)) {
    Vibration.vibrate([1000, 1000], true);
    orderMusicAudio.play((success) => {
      if (!success) { console.log('Playback failed due to decoding errors') }
    });
  } else {
    orderMusicAudio.stop()
  }

},[loading, hasOrders, acceptedOrder])

Let me know if it works now!

Yeah this does work indeed but since no cleanup is done in the useEffect, closing the app while the audio is still playing doesn't release the resource and stop the audio.
On workaround I found was to just stop playing the sound inside the cleanup function yet I'm wondering if not releasing the audio might lead to memory leak issues.

This will help https://www.youtube.com/watch?v=vVI7ZAZq5e0


Deduplicate onboarding

Mitigates https://github.com/Azure/azure-sdk-for-js/issues/17455
Full fix requires a more thorough reproduction process.

Docs Build status updates of commit 7956c0d:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-PullRequestMergeConflict] Cannot sync git repo to specified state. Please make sure the pull request is mergeable.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

This will be merged by other means.


feat: add GetRequestIDFromContext

Hello !
I added a function to get the request ID from the context directly.
Currently I'm using this workaround:
fakeRequest := (&http.Request{}).WithContext(ctx)
sloghttp.GetRequestID(fakeRequest)

GetRequestIDFromContext makes it more straightforward

merci!


webhook sms:received never sends

Describe the Bug
when sending an sms to the device with the app installed. all the API functions are working. apart from checking recived messages. when a message is sent to the device. the webhook is never sent.
To Reproduce

make sure the server is running and a webhook endpoint is added.
send a message to the server.
no webhook data is sent to the configured endpoint

Environment

App Version: latest
Mode: local
Operation: receiving SMS
Network Type: WiFi/Mobile Data

Smartphone

Device: galaxy note 10+
OS: android 12
SIM Card Count: 1

More Informtation
had the device hooked up to android studio to access logcat. i never see any type of event trigger to initiate the webhook

Hello!
Please consider checking the following:

Do any other webhooks work in the app?
Are you using the default messaging app on the device? Third-party apps can sometimes block SMS-related events.
Verify that you have provided permissions for receiving SMS messages to the app.
Are there any logs regarding this messaging issue in the app's Settings tab, under the Logs section? In Local mode, you can also access the logs through the API: https://sms-gate.app/features/logging/#accessing-logs

If none of these steps resolve the issue, please provide more details about your setup and any error messages you encounter.

thanks for the reply,

other webhooks are working.
yes the default messaging app is used.
app has all permissions required.
logs work but only for other webhooks not sms:received

device is a samsung galaxy note 10+
messenger app is the only one on the device as default.  (device was factory reset before app install)
permissions are as follows:
read phone status and identity
send and view sms messages
receive text messages
it would appear that incomming sms never trigger the webhook.
is there a SMS app that is know to work. i belive the default one on this device is samsung messenger.

To clarify, have you sent messages to yourself from the same phone? And what do you mean by "don't register with the device"?

no the messages are from a different samsung device.   after more testing. i had people send sms to it from iphones. and it works.
and some people from android and it did not work.
this lead me to belive there is somthing else going on.
and i belive i have found the problem.   RCS messages dont trigger the webhook.
after going into the message app and forcably disableing RCS messages on the device with the app.  it now appears to be working.
it may be worth adding to the documentation on how to disable RCS messages
i installed googles SMS messenger. and disabled samsungs.  then i went into message settings > RCS chats    and turned it off.  Samsung messenger does not have this option from what i can see.
this only has to be done on the recieving device. not the sender.