ServicePrincipalSelector UI element returns empty objectId for 'Create new'

Hello,
Creating a new Service Principal with the service principal selector only returns the appId and not the objectId.
However, selecting an existing one returns the objectId array correctly, and even 'Select existing' the just created service principal above in the same session returns the objectId correctly this time.
In our use-case, we let the user create a new service principal and we perform roleAssignment which requires the objectId.
It appears as potentially a timing issue, but it drastically changes the user experience if they have to create and then select existing.
If this isn't the right place to report this issue, please direct me to where it's more appropriate.
Regards,
iotmani.

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

ID: d6d4e7a2-3c67-101c-98b2-afeaf203138b
Version Independent ID: 75456add-857a-f13b-9b55-0bfd67b6321c
Content: ServicePrincipalSelector UI element - Azure Managed Applications
Content Source: articles/azure-resource-manager/managed-applications/microsoft-common-serviceprincipalselector.md
Service: managed-applications
GitHub Login: @davidsmatlak
Microsoft Alias: davidsmatlak

@iotmani - Thank you for providing the document details. It looks like you have an issue with the product itself and this feedback is not related to the doc's improvement. In this forum, we focus on improving the docs and feedback related to docs only.
Do you mind posting your question on Microsoft QnA as our engineers and community are actively working on answering questions related to the product on the forum.
At this moment, Since there is no doc update required, We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Hi @MonikaReddy-MSFT, sure thank you very much!


Availability-related fixes with keypaths, _modify, and/or property wrappers

Fixes for rdar://problem/65152582:

Key path literal type checking did not take into account the availability of the setter, allowing statically WritableKeyPaths to be formed in contexts where the setter is unavailable
Synthesized opaque setter implementations did not inherit the availability of the declarations they get synthesized from, such as property wrapper implementations and/or _modify or addressor accessors

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha -<PHONE_NUMBER>b0d9fa0c5ff408506b43ea9aeb018e

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha -<PHONE_NUMBER>b0d9fa0c5ff408506b43ea9aeb018e

Build failed
Swift Test OS X Platform
Git Sha -<PHONE_NUMBER>b0d9fa0c5ff408506b43ea9aeb018e

@swift-ci Please test Linux


OpenSSL tar 404 not found - URL needs to be updated.

$ brew update
Already up-to-date.

$ brew install openssl
==> Downloading https://www.openssl.org/source/openssl-1.0.2a.tar.gz

curl: (22) The requested URL returned error: 404 Not Found
Trying a mirror...
==> Downloading https://raw.githubusercontent.com/DomT4/LibreMirror/master/OpenSSL/openssl-1.0.2a.tar.gz

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "openssl"
Download failed: https://raw.githubusercontent.com/DomT4/LibreMirror/master/OpenSSL/openssl-1.0.2a.tar.gz

After making this changes to the formula it works:
diff --git a/Library/Formula/openssl.rb b/Library/Formula/openssl.rb
index d2bc738..b038f51 100644
--- a/Library/Formula/openssl.rb
+++ b/Library/Formula/openssl.rb
@@ -1,12 +1,12 @@
 class Openssl < Formula
   desc "OpenSSL SSL/TLS cryptography library"
   homepage "https://openssl.org"
-  url "https://www.openssl.org/source/openssl-1.0.2a.tar.gz"
-  mirror "https://raw.githubusercontent.com/DomT4/LibreMirror/master/OpenSSL/openssl-1.0.2a.tar.gz"
-  sha256 "15b6393c20030aab02c8e2fe0243cb1d1d18062f6c095d67bca91871dc7f324a"
+  url "https://www.openssl.org/source/openssl-1.0.2c.tar.gz"
+  mirror "https://github.com/DomT4/LibreMirror/blob/master/OpenSSL/openssl-1.0.2c.tar.gz"
+  sha256 "0038ba37f35a6367c58f17a7a7f687953ef8ce4f9684bbdec63e62515ed36a83"
   # Work around this being parsed as an alpha version by our
   # version detection code.
-  version "1.0.2a-1"
+  version "1.0.2c"

   bottle do
     revision 1

Ah - Sorry about this; OpenSSL pull old tarballs off the main download link, and I pull them off my mirror one release later - It just happened this time the two releases were so close to each other my mirror vanished unusually early.

Closed via https://github.com/DomT4/LibreMirror/commit/67a35c4635dbb1137bbe6690bdfa2fc60424bccf.
Shaun will resync Linuxbrew soon I expect. Hopefully Homebrew's OpenSSL will be updated by the end of tonight; We had to wait overnight whilst OpenSSL resolved some accidental API breakage upstream.

Thanks for the quick response!

Shaun will resync Linuxbrew soon I expect.

Usually every Monday (or Tuesday).


Logo swap from the logo to a new one

Hey, the os looks nice tho itll be better if the bootloop and the site has this logo:

That logo is not ours, so we can't use it.

Have fun with the logo!


npm run all fails on Node 17.1

npm run all on Node 17.1 results in this error:
><EMAIL_ADDRESS>build:data
> shx mkdir -p dist/data && node scripts/build_data.js

node:internal/errors:464
    ErrorCaptureStackTrace(err);
    ^

TypeError [ERR_IMPORT_ASSERTION_TYPE_MISSING]: Module "file:///home/emerson/repos/test/RapiD/node_modules/cldr-core/supplemental/territoryInfo.json" needs an import assertion of type "json"
    at new NodeError (node:internal/errors:371:5)
    at validateAssertions (node:internal/modules/esm/assert:74:15)
    at defaultLoad (node:internal/modules/esm/load:25:3)
    at ESMLoader.load (node:internal/modules/esm/loader:353:26)
    at ESMLoader.moduleProvider (node:internal/modules/esm/loader:274:58)
    at new ModuleJob (node:internal/modules/esm/module_job:66:26)
    at ESMLoader.#createModuleJob (node:internal/modules/esm/loader:291:17)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:255:34)
    at async ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:81:21)
    at async Promise.all (index 11) {
  code: 'ERR_IMPORT_ASSERTION_TYPE_MISSING'
}

Node.js v17.1.0
ERROR: "build:data" exited with 1.
ERROR: "build" exited with 1.

which is apparently a new error added in Node 17.1.
I opened this here instead of in iD because the latest commit of iD at this point (f91ae8902fd17f8e9477c6d4c11cbf8ff96158a5) builds fine.

I was able to build RapiD just fine from the main branch just now using node v17.1.
clarkben@clarkben-mbp ~ % cd working/RapiD
clarkben@clarkben-mbp RapiD % npm run clean; npm install; npm run all```

I got a message about the lockfile being slightly incompatible with the new version of node, but the build did complete. Admittedly, we haven't looked much at npm 17 yet.

If it helps, the build I ran seems to have pulled in the following version of cldr-core:

"cldr-core": {
  "version": "39.0.0",
  "resolved": "https://registry.npmjs.org/cldr-core/-/cldr-core-39.0.0.tgz",
  "integrity": "sha512-ZSElD4Ckl2W3ApP+jz8XXOWen+UqELaO76P0J1H6SKxWuwkba1zmE5gU0grNyuI1RAYwBRUhbeIV+YTsJ7yw3g==",
  "dev": true
},

Oh yeah this was related to the new import assertions syntax for importing .json files in node.
This ended up getting fixed around 0a1628877


Caching times out

We see gradle hanging up and timing out while trying to cache gradle jars. I don't have any more verbose logging unfortunately. This occurs during the post-build callback
Warning: Failed to save cache entry generated-gradle-jars-ab3c970dde8daf60f6604d65ff0a4c5b: Error: reserveCache failed: connect ETIMEDOUT <IP_ADDRESS>:443

Can you explain what you mean by "gradle hanging up and timing out"?

Is your Gradle build failing/hanging?
Is your GitHub actions pipeline failing/hanging?

The connect ETIMEDOUT failure is coming from the GitHub actions cache infrastructure. The Warning: Failed to save cache entry message is coming from gradle-build-action, which catches, reports and ignores this failure. I don't understand how that is causing "gradle hanging up and timing out".

Thanks. I suggest you raise an issue for this problem with GitHub Actions cache. The timeout is happening inside a call to the GitHub Actions cache API.

I don't have the familiarity with actions' API to know what to report there :/. I think you should feel free to, but I can only offer this surface level report here

Thanks anyway for reporting. Without more details about when and how this occurred, I can't really make a useful report. I'll close this issue, but feel free to comment if this issue persists or gets worse.


enhancementAdd metric for exec_state prepare function

Proposed changes
Issue Number: close #xxx
Problem summary
Previously, we found out that sometimes the rpc service might timeout due to the extremely time consuming operation during exec_state prepare, thus this pr adds one metric to monitor the prepare time cost of each single fragment.
After compiling with this commit, BE would be able to generate data compatible with grafana, and you can watch the data using dashboard like below.

As for the total time consumption of all the fragments prepare, you can refer to the brpc port to watch the rpc metric for more detailed message.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[x] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[x] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

please update the figure above.

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 38.53 seconds
load time: 558 seconds
storage size:<PHONE_NUMBER>8 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221028043958_clickbench_pr_35107.html

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 39.13 seconds
load time: 572 seconds
storage size:<PHONE_NUMBER>5 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221028115203_clickbench_pr_35384.html


BBC Sounds - Upgrade to V6 of BBC Open Live API (open.live.bbc.co.uk) and Fix Timeouts During Extraction and Eliminate Port 80 Requests

Checklist

[X] I'm reporting a broken site support issue
[X] I've verified that I'm running youtube-dl version 2020.12.29
[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

ytdl --verbose https://www.bbc.co.uk/sounds/play/m000qlyg
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.bbc.co.uk/sounds/play/m000qlyg']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.12.29
[debug] Python version 3.9.1 (CPython) - Linux
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1
[debug] Proxy map: {}
[bbc.co.uk] m000qlyg: Downloading video page
[bbc.co.uk] m000qlyg: Downloading playlist JSON
[bbc.co.uk] m000qlyf: Downloading media selection XML
[bbc.co.uk] m000qlyf: Downloading MPD manifest
[bbc.co.uk] m000qlyf: Downloading m3u8 information
WARNING: Failed to download m3u8 information: <urlopen error [Errno 60] Operation timed out>
[bbc.co.uk] m000qlyf: Downloading m3u8 information
...

Description

BBC Sounds (including programme and sounds urls) get stuck at the "Downloading m3u8 information" stage (at least here outside the UK) and loops on "Operation timed out" until eventually (sometimes) extracting (this is after making requests to aod-dash-ww-live.akamaized.net or aod-hls-ww.live.bbcfmt.hs.llnwd.net). I note that youtube-dl still uses v5 of the Open Live MediaSelector API (open.live.bbc.co.uk) as opposed to v6 which returns in JSON.
Something seems to be going wrong regarding extraction of the media URLs (href in the API output from https://open.live.bbc.co.uk/mediaselector/6/select/version/2.0/mediaset/iptv-all/vpid/VPID where the corresponding VPID is found using https://bbc.co.uk/programmes/PID/playlist.json). I have managed to make a simple shell script call the APIs manually and play/extract instantly, so surely this should not be that difficult to implement...
I also noted that the extractor was making requests on port 80 at times as well as 443 to all the relevant APIs (open.live.bbc.co.uk, bbc.co.uk, aod-hls-ww.live.bbcfmt.hs.llnwd.net, etc...) which seems unnecessary and something which should be eliminated since all the endpoints support TLS.

I note that youtube-dl still uses v5 of the Open Live MediaSelector API (open.live.bbc.co.uk) as opposed to v6 which returns in JSON.

You are wrong! This is no longer the case since https://github.com/ytdl-org/youtube-dl/commit/c32a059f52ccb76703785dccdd91ae9ce947a824, which already landed in v2020.12.26

I also noted that the extractor was making requests on port 80 at times as well as 443 to all the relevant APIs (open.live.bbc.co.uk, bbc.co.uk, aod-hls-ww.live.bbcfmt.hs.llnwd.net, etc...) which seems unnecessary and something which should be eliminated since all the endpoints support TLS.

Well, I'm opposed to that proposed change, since I frequently use plain HTTP proxies to access geo-fenced audio/video BBC content; if only secure BBC connections were supported by yt-dl, then HTTPS proxies are much harder to come across and use...
Also, because of the overhead of HTTPS connections, these consume somewhat higher resources (CPU cycles), which might be an issue for users on old/underpowered hardware... Not to mention yt-dl users on old Python installations (with possibly broken cert chains), these would be also affected by that change...
As long as the Beeb keep both options available (HTTP+HTTPS), I'm OK with that!

I note that youtube-dl still uses v5 of the Open Live MediaSelector API (open.live.bbc.co.uk) as opposed to v6 which returns in JSON.

You are wrong! This is no longer the case since https://github.com/ytdl-org/youtube-dl/commit/c32a059f52ccb76703785dccdd91ae9ce947a824, which already landed in v2020.12.26

I also noted that the extractor was making requests on port 80 at times as well as 443 to all the relevant APIs (open.live.bbc.co.uk, bbc.co.uk, aod-hls-ww.live.bbcfmt.hs.llnwd.net, etc...) which seems unnecessary and something which should be eliminated since all the endpoints support TLS.

Well, I'm opposed to that proposed change, since I frequently use plain HTTP proxies to access geo-fenced audio/video BBC content; if only secure BBC connections were supported by yt-dl, then HTTPS proxies are much harder to come across and use...
Also, because of the overhead of HTTPS connections, these consume somewhat higher resources (CPU cycles), which might be an issue for users on old/underpowered hardware... Not to mention yt-dl users on old Python installations (with possibly broken cert chains), these would be also affected by that change...
As long as the Beeb keep both options available (HTTP+HTTPS), I'm OK with that!

Just putting a +1 that this seems to be the case in the US, and the UK via VPN as well. I'm running 2021.01.08. Here is the log. It's a slightly different problem but feels similar? not sure
 youtube-dl -f 'bestaudio[ext=m4a]' --add-metadata -v https://www.bbc.co.uk/sounds/play/m000r3jn

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-f', u'bestaudio[ext=m4a]', u'--add-metadata', u'-v', u'https://www.bbc.co.uk/sounds/play/m000r3jn']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2021.01.08
[debug] Python version 2.7.16 (CPython) - Linux-3.16.85-62-aarch64-with-debian-10.7
[debug] exe versions: ffmpeg 4.1.6-1, ffprobe 4.1.6-1, rtmpdump 2.4
[debug] Proxy map: {}
[bbc.co.uk] m000r3jn: Downloading video page
[bbc.co.uk] m000r3jn: Downloading playlist JSON
[bbc.co.uk] m000r3jm: Downloading media selection JSON
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading MPD manifest
WARNING: Failed to download MPD manifest: HTTP Error 403: Forbidden
[bbc.co.uk] m000r3jm: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading MPD manifest
WARNING: Failed to download MPD manifest: HTTP Error 403: Forbidden
[bbc.co.uk] m000r3jm: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[debug] Invoking downloader on u'https://aod-dash-uk-live.akamaized.net/usp/auth/vod/piff_abr_full_audio/a3b00e-m000r3jm/vf_m000r3jm_8e49469f-1eb9-4be6-b757-c3f9e19d1926.ism.hlsv2.ism/iptv_hd_abr_v1_uk_dash_master.mpd?__gda__=1610564776_2c0b9e5cbd65143e66550bed14fab35b'
[dashsegments] Total fragments: 564

`

Just putting a +1 that this seems to be the case in the US, and the UK via VPN as well. I'm running 2021.01.08. Here is the log. It's a slightly different problem but feels similar? not sure
 youtube-dl -f 'bestaudio[ext=m4a]' --add-metadata -v https://www.bbc.co.uk/sounds/play/m000r3jn

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-f', u'bestaudio[ext=m4a]', u'--add-metadata', u'-v', u'https://www.bbc.co.uk/sounds/play/m000r3jn']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2021.01.08
[debug] Python version 2.7.16 (CPython) - Linux-3.16.85-62-aarch64-with-debian-10.7
[debug] exe versions: ffmpeg 4.1.6-1, ffprobe 4.1.6-1, rtmpdump 2.4
[debug] Proxy map: {}
[bbc.co.uk] m000r3jn: Downloading video page
[bbc.co.uk] m000r3jn: Downloading playlist JSON
[bbc.co.uk] m000r3jm: Downloading media selection JSON
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading MPD manifest
WARNING: Failed to download MPD manifest: HTTP Error 403: Forbidden
[bbc.co.uk] m000r3jm: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading MPD manifest
WARNING: Failed to download MPD manifest: HTTP Error 403: Forbidden
[bbc.co.uk] m000r3jm: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[debug] Invoking downloader on u'https://aod-dash-uk-live.akamaized.net/usp/auth/vod/piff_abr_full_audio/a3b00e-m000r3jm/vf_m000r3jm_8e49469f-1eb9-4be6-b757-c3f9e19d1926.ism.hlsv2.ism/iptv_hd_abr_v1_uk_dash_master.mpd?__gda__=1610564776_2c0b9e5cbd65143e66550bed14fab35b'
[dashsegments] Total fragments: 564

`

And I'll also get this error when downloading sometimes:
7ERROR: unable to download video data: <urlopen error [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:727)>
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1936, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1875, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/dash.py", line 48, in real_download
    success, frag_content = self._download_fragment(ctx, fragment_url, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/fragment.py", line 104, in _download_fragment
    success = ctx['dl'].download(fragment_filename, fragment_info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 351, in real_download
    establish_connection()
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 116, in establish_connection
    raise err
URLError: <urlopen error [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:727)>

I restart the DL once or twice and it eventually finishes without erroring out

And I'll also get this error when downloading sometimes:
7ERROR: unable to download video data: <urlopen error [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:727)>
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1936, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1875, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/dash.py", line 48, in real_download
    success, frag_content = self._download_fragment(ctx, fragment_url, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/fragment.py", line 104, in _download_fragment
    success = ctx['dl'].download(fragment_filename, fragment_info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 351, in real_download
    establish_connection()
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 116, in establish_connection
    raise err
URLError: <urlopen error [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:727)>

I restart the DL once or twice and it eventually finishes without erroring out

@jmburges
Using the official win32 binary;
youtube-dl -f "bestaudio[ext=m4a]" "https://www.bbc.co.uk/sounds/play/m000r3jn" -v

DIRECT from a South-European location: limelight CDN is auto-chosen:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'bestaudio[ext=m4a]', 'https://www.bbc.co.uk/s
ounds/play/m000r3jn', '-v']
[debug] Encodings: locale cp1253, fs mbcs, out cp737, pref cp1253
[debug] youtube-dl version 2021.01.08
[debug] Python version 3.4.4 (CPython) - Windows-Vista-6.0.6003-SP2
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[bbc.co.uk] m000r3jn: Downloading video page
[bbc.co.uk] m000r3jn: Downloading playlist JSON
[bbc.co.uk] m000r3jm: Downloading media selection JSON
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[debug] Invoking downloader on 'https://aod-dash-ww-live.bbcfmt.s.llnwi.net/usp/
auth/vod/piff_abr_full_audio/a3b00e-m000r3jm/vf_m000r3jm_8e49469f-1eb9-4be6-b757
-c3f9e19d1926.ism.hlsv2.ism/iptv_hd_abr_v1_nonuk_dash_master.mpd?s=1610545207&e=
1610588407&h=afd3dd0a1fafffd49150a08836b1fcab'
[dashsegments] Total fragments: 564
[download] Destination: Diplo and Friends, Damian Lazarus in the Mix-m000r3jm.m4
a
[download] 100% of 41.58MiB in 08:03
[ffmpeg] Correcting container in "Diplo and Friends, Damian Lazarus in the Mix-m
000r3jm.m4a"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Diplo an
d Friends, Damian Lazarus in the Mix-m000r3jm.m4a" -c copy -f mp4 "file:Diplo an
d Friends, Damian Lazarus in the Mix-m000r3jm.temp.m4a"

Result is a 96kbpsABR HE-AAC encode (41.5 MiB)

Using a whitelisted UK VPN: limelight CDN is auto-chosen:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'bestaudio[ext=m4a]', 'https://www.bbc.co.uk/s
ounds/play/m000r3jn', '-v']
[debug] Encodings: locale cp1253, fs mbcs, out cp737, pref cp1253
[debug] youtube-dl version 2021.01.08
[debug] Python version 3.4.4 (CPython) - Windows-Vista-6.0.6003-SP2
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[bbc.co.uk] m000r3jn: Downloading video page
[bbc.co.uk] m000r3jn: Downloading playlist JSON
[bbc.co.uk] m000r3jm: Downloading media selection JSON
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[debug] Invoking downloader on 'https://aod-dash-uk-live.bbcfmt.s.llnwi.net/usp/
auth/vod/piff_abr_full_audio/a3b00e-m000r3jm/vf_m000r3jm_8e49469f-1eb9-4be6-b757
-c3f9e19d1926.ism.hlsv2.ism/iptv_hd_abr_v1_uk_dash_master.mpd?s=1610545982&e=161
0589182&h=675dffcaea12f41b3bb8ca61e0a44125'
[dashsegments] Total fragments: 564
[download] Destination: Diplo and Friends, Damian Lazarus in the Mix-m000r3jm.m4
a
[download] 100% of 136.91MiB in 17:46
[ffmpeg] Correcting container in "Diplo and Friends, Damian Lazarus in the Mix-m
000r3jm.m4a"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Diplo an
d Friends, Damian Lazarus in the Mix-m000r3jm.m4a" -c copy -f mp4 "file:Diplo an
d Friends, Damian Lazarus in the Mix-m000r3jm.temp.m4a"

Result is a 320kbpsABR AAC-LC encode (137 MiB)
As you can see, yt-dl is nowhere at fault here...
If I may comment on parts of your logs:

[debug] Python version 2.7.16 (CPython)

You should update at least to 2.7.18, which is the EOL version of py2.7; better yet, consider updating to the latest py3.x version for your distro and make sure yt-dl is using that!

WARNING: Failed to download MPD manifest: HTTP Error 403: Forbidden
(snipped)
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
(snipped)
WARNING: Failed to download MPD manifest: HTTP Error 403: Forbidden
(snipped)
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden

Your commercial VPN's UK IP address has been blacklisted on some of the available CDN nodes...

URLError: <urlopen error [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:727)>

This is a TLS-related secure connection error in either
a) your client (python modules), or
b) your VPN's server, or
c) both
when trying to establish secure (HTTPS) connections with various endpoints in the BBC Sounds/iPlayer infrastucture...
None of the above "issues" can be managed by yt-dl itself... 😉
And...
People should remember this is a yt-dl bugs tracker, NOT a support forum...
The two main devs have only got definite amounts of development time to invest on actually fixing broken things/implementing new features; non-coder volunteers (such as I), I believe, are welcome by the devs (?) to manage other aspects here, but...

@jmburges
Using the official win32 binary;
youtube-dl -f "bestaudio[ext=m4a]" "https://www.bbc.co.uk/sounds/play/m000r3jn" -v

DIRECT from a South-European location: limelight CDN is auto-chosen:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'bestaudio[ext=m4a]', 'https://www.bbc.co.uk/s
ounds/play/m000r3jn', '-v']
[debug] Encodings: locale cp1253, fs mbcs, out cp737, pref cp1253
[debug] youtube-dl version 2021.01.08
[debug] Python version 3.4.4 (CPython) - Windows-Vista-6.0.6003-SP2
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[bbc.co.uk] m000r3jn: Downloading video page
[bbc.co.uk] m000r3jn: Downloading playlist JSON
[bbc.co.uk] m000r3jm: Downloading media selection JSON
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[debug] Invoking downloader on 'https://aod-dash-ww-live.bbcfmt.s.llnwi.net/usp/
auth/vod/piff_abr_full_audio/a3b00e-m000r3jm/vf_m000r3jm_8e49469f-1eb9-4be6-b757
-c3f9e19d1926.ism.hlsv2.ism/iptv_hd_abr_v1_nonuk_dash_master.mpd?s=1610545207&e=
1610588407&h=afd3dd0a1fafffd49150a08836b1fcab'
[dashsegments] Total fragments: 564
[download] Destination: Diplo and Friends, Damian Lazarus in the Mix-m000r3jm.m4
a
[download] 100% of 41.58MiB in 08:03
[ffmpeg] Correcting container in "Diplo and Friends, Damian Lazarus in the Mix-m
000r3jm.m4a"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Diplo an
d Friends, Damian Lazarus in the Mix-m000r3jm.m4a" -c copy -f mp4 "file:Diplo an
d Friends, Damian Lazarus in the Mix-m000r3jm.temp.m4a"

Result is a 96kbpsABR HE-AAC encode (41.5 MiB)

Using a whitelisted UK VPN: limelight CDN is auto-chosen:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'bestaudio[ext=m4a]', 'https://www.bbc.co.uk/s
ounds/play/m000r3jn', '-v']
[debug] Encodings: locale cp1253, fs mbcs, out cp737, pref cp1253
[debug] youtube-dl version 2021.01.08
[debug] Python version 3.4.4 (CPython) - Windows-Vista-6.0.6003-SP2
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[bbc.co.uk] m000r3jn: Downloading video page
[bbc.co.uk] m000r3jn: Downloading playlist JSON
[bbc.co.uk] m000r3jm: Downloading media selection JSON
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading MPD manifest
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[bbc.co.uk] m000r3jm: Downloading m3u8 information
[debug] Invoking downloader on 'https://aod-dash-uk-live.bbcfmt.s.llnwi.net/usp/
auth/vod/piff_abr_full_audio/a3b00e-m000r3jm/vf_m000r3jm_8e49469f-1eb9-4be6-b757
-c3f9e19d1926.ism.hlsv2.ism/iptv_hd_abr_v1_uk_dash_master.mpd?s=1610545982&e=161
0589182&h=675dffcaea12f41b3bb8ca61e0a44125'
[dashsegments] Total fragments: 564
[download] Destination: Diplo and Friends, Damian Lazarus in the Mix-m000r3jm.m4
a
[download] 100% of 136.91MiB in 17:46
[ffmpeg] Correcting container in "Diplo and Friends, Damian Lazarus in the Mix-m
000r3jm.m4a"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Diplo an
d Friends, Damian Lazarus in the Mix-m000r3jm.m4a" -c copy -f mp4 "file:Diplo an
d Friends, Damian Lazarus in the Mix-m000r3jm.temp.m4a"

Result is a 320kbpsABR AAC-LC encode (137 MiB)
As you can see, yt-dl is nowhere at fault here...
If I may comment on parts of your logs:

[debug] Python version 2.7.16 (CPython)

You should update at least to 2.7.18, which is the EOL version of py2.7; better yet, consider updating to the latest py3.x version for your distro and make sure yt-dl is using that!

WARNING: Failed to download MPD manifest: HTTP Error 403: Forbidden
(snipped)
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
(snipped)
WARNING: Failed to download MPD manifest: HTTP Error 403: Forbidden
(snipped)
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden

Your commercial VPN's UK IP address has been blacklisted on some of the available CDN nodes...

URLError: <urlopen error [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:727)>

This is a TLS-related secure connection error in either
a) your client (python modules), or
b) your VPN's server, or
c) both
when trying to establish secure (HTTPS) connections with various endpoints in the BBC Sounds/iPlayer infrastucture...
None of the above "issues" can be managed by yt-dl itself... 😉
And...
People should remember this is a yt-dl bugs tracker, NOT a support forum...
The two main devs have only got definite amounts of development time to invest on actually fixing broken things/implementing new features; non-coder volunteers (such as I), I believe, are welcome by the devs (?) to manage other aspects here, but...

None of the quoted test URIs/URLs are active now (404) because the BBC has forgotten the point of them.
Also, I agree with the comment above.
Unless an active test URL is provided, I think this issue could be closed.

@dirkf wrote:

None of the quoted test URIs/URLs are active now (404)
because the BBC has forgotten the point of them.

When a BBC radio/audio programme has expired and is no longer available on BBC Sounds as AOD, the */sounds/play/* URIs will 404, or at least that's my understanding of this... 😉 ; however, because every radio/audio programme (on Sounds) has been assigned a unique PID string (which lasts, practically, for ever), the */programmes/pid URIs remain valid, e.g.
https://www.bbc.co.uk/sounds/play/m000r3jn => https://www.bbc.co.uk/programmes/m000r3jn =>
BBC Radio 1 - Diplo and Friends - Damian Lazarus in the Mix
First broadcast:  Sun 10 Jan 2021 00:00
Sorry, this episode is not currently available

... so, actually, the BBC hasn't forgotten the details of that particular programme ...
Of course, trying now
youtube-dl https://www.bbc.co.uk/programmes/m000r3jn
you'll simply get:
[bbc.co.uk] m000r3jn: Downloading video page
ERROR: Sorry, this episode is not currently available

BTW, thanks for the vote of confidence! 😃


Broken link in the docs, section 'Learning resources'

There's a broken link in this page of the docs: https://redux.js.org/introduction/learning-resources
The broken link is: https://www.pshrmn.com/tutorials/react/redux/
I don't see any tutorial now in https://www.pshrmn.com (otherwise I'd open a pull request)

That's how it looked like in the past: https://web.archive.org/web/20170425122319/http://www.pshrmn.com/tutorials/react/redux/

Hmm.  Thanks for the pointer.  I pinged the author to see what's up with that.


Auto generate doc for RESTful API

I think it should be possible to auto generate docs for RESTFul API.
We know what's the routers are, what's the params of the controller functions are, so we should be able to do it.
Another web framework beego has supported it. It will be cool if I could use this feature in revel.
Thanks.

I am well into this.. as reverse Gen of the docs.. ;-))))))))))))

I am well into this.. as reverse Gen of the docs.. ;-))))))))))))

Related to #779

This generator https://github.com/yvasiyarov/swagger looks like it can do this


[evm] fix logical not and other small issues

Motivation
This PR fixes an issue regarding logical not. Right now we use Yul's builtin not for logical not but that not is bitwise so that means both not(true) and not(false) evaluate to something nonzero. I have changed the implementation to use iszero instead and added a test case for it. There are also small bug fixes regarding U256 and a small change in test reporting to include the function's name as well.

/land


Improve loading UX in the asset library

The asset library will now fade when loading pages instead of displaying a progress bar, which is a more common design pattern when browsing an online resource's pages.
A "Loading..." text will be displayed before the first page loads.

Thanks!


ValueError: cannot reshape array of size 712080 into shape (60,20000,3)

Thank you for your great work! I meet an error when I run the online_demo.py. The command I use is
CUDA_VISIBLE_DEVICES=7 python vis_demo/online_demo.py --config configs/ESAM-E/ESAM-E_online_scannet.py --checkpoint ./work_dirs/tmp/ESAM-E_online_epoch_128.pth
Then I meet the error below:
Traceback (most recent call last):
File "/data0/xxh/online_semantic_segmentation/ESAM/vis_demo/online_demo.py", line 138, in
main()
File "/data0/xxh/online_semantic_segmentation/ESAM/vis_demo/online_demo.py", line 115, in main
points_color = pred_seg_color.reshape(points.shape[0], points.shape[1], 3)
ValueError: cannot reshape array of size 712080 into shape (60,20000,3)
Did I use the command right? Should I use another model?

Hello! We have updated the model code in the mixformer3d.py file while uploading the demo code, allowing it to provide per-frame segmentation results instead of the final interpolation to reconstructed point cloud for performance metric calculation. The issue you encountered may have been caused by not updating the model code. If you still face problems after the update, please feel free to let us know!

Thank you for your quick answer! But the error is still the same.

We're sorry that we've found a typo in the online_demo.py file at line 97. The original model.map_to_ori_pcd should be changed to model.map_to_rec_pcd. The code has been corrected now.

That's right! Thank you very much. Now it runs successfully.


Storing data

We have to come up with a strategy for storing data in a secure manner that can be used for data analysis. At the same time, we should come up with a policy framework for analysing our data. Looking for suggestions!

Anonymization techniques can help protect the privacy of individuals whose data is being collected and analyzed. Use techniques such as de-identification and differential privacy to ensure that sensitive information is not disclosed.

There are a few libraries in Python that you can use for de-identification of data

Faker
Anonymizer
Deidentify

This sounds wonderful. Do you want to start coding up a solution to de-identify data_set in a CSV file?
We can start with the ScholarX 2021 student application data set and the CSV file would have the following columns
Timestamp | Full Name | Email address | Please share your LinkedIn profile | University/ Institution | Department/ Major | Grade Point Average (GPA) | CV Submission | Describe your achievements to us | Describe any professional experience you have gained in your field to us | Please let us know your top areas of interest (maximum 5 areas) | Please elaborate your career aspirations/ goals to us | Please select the skills/ related fields that you are most interested in developing/ pursuing | First Choice | What do you expect to gain from the ScholarX program through this mentor choice? | Second Choice | What do you expect to gain from the ScholarX program through this mentor choice? | Third Choice | What do you expect to gain from the ScholarX program through this mentor choice? | Would you like to join the ScholarX Management Team as a volunteer to help make the program successful for next year?
Let me know if you need further information. We can set up a call when you have some code developed and I we can run the code to anonymize the data_set.

lets start from cleaning the data set put some analyse such as graph or something , then there are some preprocess step available for train the de-identify model can you add the data set in this repo ?
reference for the model -  https://bmcmedinformdecismak.biomedcentral.com/articles/10.1186/s12911-019-0935-4


FindBugs

Fixes a problem in #76 which was not caught since @fcojfernandez has no write permission to the repository, and so his change to build against 2.73.x was never actually tested.
@reviewbybees

@reviewbybees done


2024-05-07-unraveling-the-impact-of-training-samples

OpenReview Submission Thread

Checklist before opening a PR

[ ] I am opening a pull request against the main branch of the 2024 repo.
[ ] The title of my PR is exactly the name of my markdown file

i.e. _posts/2024-05-07-[SUBMISSION NAME].md would require a PR name 2024-05-07-[SUBMISSION NAME]

[ ] I have anonymized my post: my author's list is Anonymous, and there is no potential
content which can reveal my/my collaborators identities.
[ ] My post matches the formatting requirements, including (but not limited to):

[ ] I have ONLY MODIFIED files in the following locations (failure to do so will result in
your PR automatically being closed!):

a Markdown (or HTML) file in _posts/ with the format _posts/2024-05-07-[SUBMISSION NAME].md (or .html)
static image assets added to assets/img/2024-05-07-[SUBMISSION NAME]/
interactive HTML figures added  to assets/html/2024-05-07-[SUBMISSION NAME]/
citations in a bibtex file in assets/bibliography/2024-05-07-[SUBMISSION NAME].bib

[ ] I have a short 2-3 sentence abstract in the description field of my front-matter (example)
[ ] I have a table of contents, formatted using the toc field of my front-matter (example)
[ ] My bibliography is correctly formatted, using a .bibtex file as per the sample post

Any other comments

The author information was not de-anonymize. Please provide author information and let me know once this is done


Extend Storage support to relative local FS paths

Closes #711.
Add support for relative paths in local FS storage, keeping the rest of the functionality intact. An example how this can be helpful can be seen here https://github.com/splitgraph/seafowl/pull/744/files.

Hey @gruuya Thanks for creating this PR. Unfortunately, Iceberg does not support relative paths. There is a long open issue https://github.com/apache/iceberg/issues/1617 but it is pretty complex to implement. As an example, merge-on-read uses absolute paths to know which files to apply the deletes to. Adding support for relative paths makes this very brittle since the path might not be matched correctly, resulting in data correctness issues.
Instead, for testing, I would suggest symlinking similar to what I did in https://github.com/pola-rs/polars/pull/10375/ or running a MinIO S3 container, similar to the integration tests of iceberg-rust itself: https://github.com/apache/iceberg-rust/blob/main/crates/catalog/rest/testdata/rest_catalog/docker-compose.yaml

@gruuya No worries, thanks for your understanding.


Modifying flash size for a new FPGA target

Hi,
I'm adding the Nexys A7 board as a new target for fusesoc and want to know how to automatically modify the flash size.  I've added new constraints and a top level for the A7 and my aim is that someone can run fusesoc with the relevant VLNV and have it built.
I asked on the Zulip channel how to do this and was pointed at issue #1285 but this doesn't seem to clearly define what is going on here.  Having modified hw/top_earlygrey/data/top_earlgrey.hjson, I can see that the Vivado run now succeeds but I notice that the top level params are not modified.  Is my following statement correct?  The params in top_pkg.sv define the maximum size of the flash but modifying the HJSON results in reduced address bus widths that mean Vivado can optimize away the unused BRAMs?
Finally, going back to my goal of creating a new target, how do I update fusesoc, or whatever, such that this HJSON file is modified for this Nexys A7 target?  Or is that not an option, in which case, do I need to create a new toplevel of top_earlgrey.sv that should be used for this new target?

Hi @sjgitty , no, I was sent here from Zulip so waiting on an update.  I've got as far as creating new .core files etc but now just need to understand how to edit the flash sizes without doing it manually.

Got it, we'll try and get an answer for you soon.

Just to make sure we're on the same page: You will need to modify the hjson and then re-run topgen, there's no parameter that you can pass to fusesoc or any other tool to do it for you on the fly.

Sorry for late reponse. @tjaychen can comment the details but as far as I know, flash size is defined in the top_pkg.sv. As the size is also relevant to the flash_ctrl, it is defined into the common package. @tjaychen correct me if I am wrong.

sorry for the late reply.
Yes @eunchan is right, flash was not designed the right way, and to change
it we have to modify the parameters inside top_pkg.sv
It's actually on my list of todo's to fully transfer flash into top_gen /
template, so then it can really be re-configured from the core files.
On Wed, Feb 12, 2020 at 10:39 AM Eunchan Kim<EMAIL_ADDRESS>wrote:

Sorry for late reponse. @tjaychen https://github.com/tjaychen can
comment the details but as far as I know, flash size is defined in the
top_pkg.sv. As the size is also relevant to the flash_ctrl, it is defined
into the common package. @tjaychen https://github.com/tjaychen correct
me if I am wrong.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/1492?email_source=notifications&email_token=AAH2RSVLP4UNKZCLOE32MA3RCQ66ZA5CNFSM4KQ4AQPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELR5CKI#issuecomment-585355561,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSTGETH626VJKWJE3ITRCQ66ZANCNFSM4KQ4AQPA
.

@tjaychen, I'm not sure if this will fix the issue or not but perhaps I'm misunderstanding the flow.  I'm new to fusesoc so am still learning what's possible.
Let's take the example of top_earlgrey.  What I'm trying to do is target an FPGA that doesn't have enough BRAM to fit the default emulated flash size.  So I need to modify the top_earlgrey.hjson 'memory' section.  I don't need to touch top_pkg.sv in this case as I'm reducing the size rather than increasing it.  So what I've done is create all the relevant .core files for my new FPGA target including creating a new top_earlgrey_nexysa7.core file.
Assuming you fix the parameter issue by allowing top_gen to read the memory section in top_earlgrey.core, will it be possible for a parent core file to override this somehow?  Do the parameters defined in a core file pass down through the hierarchy, in this case top_earlgrey_nexysa7.core->top_earlgrey.core?

sorry for the late reply!
Unfortunately, if you're changing the size, i think you do need to modify
top_pkg.sv right now.
See here
https://github.com/lowRISC/opentitan/blob/master/hw/top_earlgrey/data/top_earlgrey.sv.tpl#L476,
the actual instantiations of memories is actually dependent on the
parameters passed in.
Inside the flash controller, it also does address calculation based on the
same parameters.
When I eventually fix it to be fully template, the generated top_earlgrey.sv
/ flash_phy / flash_ctrl will all obey the top_earlgrey.hjson file (
https://github.com/lowRISC/opentitan/blob/master/hw/top_earlgrey/data/top_earlgrey.hjson)
when
top_gen is run.
So it won't really follow the parent core file parameters at the moment.
Although that is certainly something worth discussing, and maybe can be
support depending on how template the variables we need.
On Thu, Feb 13, 2020 at 4:30 AM Shareef Jalloq<EMAIL_ADDRESS>wrote:

@tjaychen https://github.com/tjaychen, I'm not sure if this will fix
the issue or not but perhaps I'm misunderstanding the flow. I'm new to
fusesoc so am still learning what's possible.
Let's take the example of top_earlgrey. What I'm trying to do is target an
FPGA that doesn't have enough BRAM to fit the default emulated flash size.
So I need to modify the top_earlgrey.hjson 'memory' section. I don't need
to touch top_pkg.sv in this case as I'm reducing the size rather than
increasing it. So what I've done is create all the relevant .core files for
my new FPGA target including creating a new top_earlgrey_nexysa7.core file.
Assuming you fix the parameter issue by allowing top_gen to read the
memory section in top_earlgrey.core, will it be possible for a parent core
file to override this somehow? Do the parameters defined in a core file
pass down through the hierarchy, in this case
top_earlgrey_nexysa7.core->top_earlgrey.core?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/1492?email_source=notifications&email_token=AAH2RSUGHKR6HLHY57ND6ATRCU4QDA5CNFSM4KQ4AQPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELUZGMY#issuecomment-585732915,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSUJ5E7CTOAMZ5LCKPDRCU4QDANCNFSM4KQ4AQPA
.

this has been updated.  There are now two parameters exposed in top_earlgrey.hjson that allows flash size to be increased or decreased.  Please have a look.


unexpected indents

the whole thing has  unexpected indents and stuff pls fix

gonna need more info 😂
maybe provide the python version, error message, and system (Windows or unix)


Is pybuilder.plugins part of public API?

I'd like to use filter_resources at other times than @after('package'), can I just use the filter_resource function from the pluging or is that subject to change in the future? I.e. build.py:
from pybuilder.plugins.filter_resources_plugin import filter_resource, ProjectDictWrapper

@task
def prepare(project, logger):
    conf_py = 'src/doc/conf.py'
    filter_resource(os.path.abspath(conf_py), conf_py, ProjectDictWrapper(project, logger), logger)

By the way, is there an irc channel or such for quick questions or are issues preferred?

I would say yes if it's a public method. I've been using the same approach for UT and IT dynamically. It's not that they'll never change, but they are pretty stable.

Great, thanks.

There is no irc channel so issues are fine. We could consider setting up a gitter, perhaps.


Early client impl and docs scaffolding

What was changed

Added client impl

Supporting new core approach
TLS, worker binary ID, etc

Added docs scaffolding
Exceptions
Tests

Enough consensus reached, merging.


Easy 32bit patches

This is a series of easy fixes for the atomic access alignment issues that plague 32bit architecture builds.
I'm motivated to have 32bit ARM work.  With my patches it seems to work just fine so I'm going to try to upstream them.
I audited use of sync/atomic and only found a few issues.  Mostly it looks as though there is no mechanism to find regressions.  The codebase, including the 3rd party vendored code, is full of comments stating the need to keep some items 64bit aligned, but others seemed to slip through the cracks.  I patch those that do here.
Interesting I only found one issue in the 3rd party code.  I've already submitted a pull request for the upstream prometheus client code.

Closed, there were silly gofmt issues.  Will open a new request once I clean things up.


Tab for music recommendation

Make the music recommendation tab, wherein playlist best suited to the weather of entered place is suggested.

Coool!

Fixed issue without conflicts.


bitcoin: Release tracking PR: v0.32.0-rc1 - oh yeah!

This PR is just the final patch, primarily the changelog. Pretty happy with my effort, check it out: https://github.com/tcharding/rust-bitcoin/blob/04-04-release-bitcoin-rc1/bitcoin/CHANGELOG.md

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

3 of 9 (33.33%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.117%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bitcoin/src/psbt/mod.rs
3
9
33.33%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
19186

Relevant Lines:
23083

💛  - Coveralls

If #2655 merges (and releases) I rekon we should add an update to the lockfiles (to pick up units 0.1.1) either to this or as the first thing on the RC branch, might be a good test of the branching process we discussed @apoelstra, for everyone else, and to clarify I understand the process, we are going to branch off a 0.32.0 branch from the first release candidate tagged patch  then keep working on master, add changes for the 0.32.0 release to that branch and apply them to master as well.

Flagging that units v0.1.1 has not docs link on crates.io and no page at docrs - might be because the build infrastructure is still spinning since we only just published. Verify docs link here:

https://crates.io/crates/bitcoin-units/0.1.1

And that this page exists:

https://docs.rs/bitcoin-units/0.1.1/bitcoin_units/

There is trailing whitespace in CHANGELOG.md, but that's fine, I won't hold up the release for it.

Tagged and published.

@apoelstra  I created a branch 0.32.x for fixes to the RCs as discussed. For others (and again making sure I have got it) all PRs that fix bugs in the RC releases will target the 0.32.x branch and also be ported to master. Then we cut the 0.32.0 release from the 0.32.x branch and keep the branch for later point releases (as is customary).

@tcharding yes -- except that we should merge things to master and then port them to 0.32.x rather than the other way around. (Excepting things like "update version numbers in Cargo.toml" which would go to the 0.32.x branch and never to master.)

Added three new "port" lables.


Source binaries from the PATH

I think it would be preferable to source binaries from the PATH.   This is a well-known and understood way of finding executables, and inventing new ways of doing it adds complexity to little benefit.

cc: @timothysc

We thought about just using or falling back to $PATH but decided against doing that by default. We wanted to guard against silently using whatever version of the binaries users might have in their path by accident. Right now a user needs to explicitly specify a binary to test with/against or put that binary into the directory the framework expects them to be in. Otherwise it will fail.
Having said that, a user can opt in to using whatever binary is in the path by specifying not a absolut path but only a name of an executable to the APIServer/Etcd:
cp := &ControlPlane{
  Etcd: &Etcd{ Path: "etcd" },
  APIServer: &APIServer{ Path: "kube-apiserver" },
}

This will not do the defaulting of the Path and will do a lookup of the executable in the $PATH when the exec.Cmd is Start()ed.
But maybe that's trying to be too clever and we should really just use whatever we find in the $PATH, as this is -- as @marun stated -- a well-known and understood mechanism?
Also that seems to be related to #34.
Any input on that @totherme, @apelisse, @pwittrock?


Video duration added on thumbnail (as seen in youtube)

PR Fixes:

1 Added the total video duration on the thumbnail
So that Just to check video duration we don't need to start every video (or check mobile app for)

Resolves #329
Checklist before requesting a review

[x] I have performed a self-review of my code

[x] I assure there is no similar/duplicate pull request regarding same issue

Added duration

Sir, Is it good or should I remove the green tick enhancement, or improve the duration UI, or any other changes from your side.

/bounty $25


Make command() mimic getopt parsing

Description
While making tests for my generators PR, I've noticed that we cannot pass in a multi-worded option value to command() simply because we are making an explode on the string input using the spaces. With this, command('command -d "some value"') will be broken into array(0 => 'command', '-d' => '"some', 1 => 'value"'), instead of the expected array(0 => 'command', '-d' => 'some value') just like how getopt will give it.
After searching the net, I came across this solution from Symfony's StringInput::tokenize which perfectly did the job right.
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPdocs
[x] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

Add reference comment, for proper attribution.

Thanks! Looks great.


Unable to cast Python instance to C++ type

RuntimeError                              Traceback (most recent call last)
<ipython-input-8-407e53f9ba21> in <module>()
     65         faceOrig = imutils.resize(img[yw1:yw1 + h, xw1:xw1 + w], width=256)
     66
---> 67         faceAligned = fa.align(img, gray, rect)
     68
     69         path = '/home/saadi/Learningfolder/croped images/'

/home/saadi/.virtualenvs/keras-latest/local/lib/python2.7/site-packages/imutils/face_utils/facealigner.pyc in align(self, image, gray, rect)
     22         def align(self, image, gray, rect):
     23                 # convert the landmark (x, y)-coordinates to a NumPy array
---> 24                 shape = self.predictor(gray, rect)
     25                 shape = shape_to_np(shape)
     26

RuntimeError: Unable to cast Python instance to C++ type (compile in debug mode for details)

I am trying to run this code in jupyter notebook. this is the error that I am getting.
If I run the code in simple python environment it runs perfectly.  Any suggestions???

It's strange that it would work perfectly in a Python virtual environment but not in a Jupyter Notebook. I'm assuming you installed and launched your Jupyter Notebook from your Python virtual environment? You might want to double-check that.
My only suggestion is that this is a dlib error. The predictor would be your facial landmark predictor which is a dlib function. If you still have the issue I would suggest opening an issue on the dlib GitHub page.

Closing due to inactivity.


Merge Conflict screen

Type: Feature Request
The new updated mere conflicted screen is not looking ood can u please put a existing option with select option (the user will select either the latest or exist one) please it kind of look sucks....
VS Code version: Code 1.70.1 (6d9b74a70ca9c7733b29f0456fd8195364076dda, 2022-08-10T06:08:33.642Z)
OS version: Windows_NT x64 10.0.19044
Modes:

See the git.mergeEditor setting.
/duplicate

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Uploadplugin changes

Issue link: https://project-sunbird.atlassian.net/browse/SB-7316
@pallakartheekreddy  @vinukumar-vs

closing this pr due base is wrong branch


239 | Sliding Window Maximum | C++

Sliding Window Maximum -
What will change -
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

The solution to sliding window maximum is not available, please assign it to me I will add the solution

I would like to provide an efficient solution to this can you please assign it to me?

would love ans this. Can you pls assign it to me?

[x] Assigning to @sau-rav for issue creation.


E2532 allow new string pattern for ActionID version

Issue #, if available:
#761
Description of changes:
Modified CodePipeline rule to accept version strings as defined in API docs:
https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_ActionTypeId.html#CodePipeline-Type-ActionTypeId-version
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

To note:  We cannot extend the spec in this scenario as we are looking at some embedded json where the spec isn't defined.  So there is no ability to add AllowedPatternRegex to the spec as it exists today.


Change of Keras API

When I run pix2pix-keras.ipynb, in the fifth block
if K._BACKEND == 'theano':

raises
AttributeError: module 'keras.backend' has no attribute '_BACKEND'

In the current Keras version (2.2.5), the proper API has changed to K.backend().
Would you please fix that, or should I draft a PR?
Besides, consider that the repo is created 2-3 years ago, there may be a lot of such API change and will be troublesome to fix them all. Would it be helpful to add a requirements.txt stating all the proper version of used packages, to avoiding such problems?
Thanks!

Thanks, I will modernize the code soon, and move old code to a legacy folder and hopefully make a requirements.txt for them.

Much thanks!


Mail Server?

Can this be used as a mail server? The introduction is not very clear. For example, i have a domain (mysupercooldomain.com). Can i run postal on a VPS and just use it as a regular mail server ? and use mail client (outlook...) to connect to it?

It can receive incoming emails, however you will need to forward these on to somewhere else, for example another email address or mail server. Postal does not provide mailboxes or IMAP/POP3. You cannot connect to Postal and receive email messages via Outlook etc.

I'm just wondering why postal has incoming email capability, is there a particular reason for this seeing that it doesn't offer mailboxes.

If you run a web application that needs to accept incoming e-mail you might use it with the HTTP endpoints to convert incoming emails into HTTP requests. You can also use it to redirect mail to other mail servers (either using SMTP or to another e-mail address).

@adamcooke I now understand postal does not have IMAP support but how I don't understand how to make it useful for the common email use case.
For example: Is it possible to use a Gmail account to receive the messages to<EMAIL_ADDRESS>and to setup Gmail to send valid emails as<EMAIL_ADDRESS>via postal?
I still have a hard time to understand what role postal has and what it has not, and how and with what to integrate it to get common business email support (receive / archive incoming email support & send emails with a company domain).

@ConneXNL In Postal, you can setup routes that determine what happens when an incoming email gets received. They can either be turned into a Web request, or forwarded to another email address.
For example, if you sent out a mass email from the address<EMAIL_ADDRESS>and wanted to forward replies to your mass email (that would be sent to<EMAIL_ADDRESS>to your own email address, you could setup an SMTP Route that forwards any emails received (incoming) to your email address. This means you no longer have to send emails from "noreply" addresses, and can appropriately handle responses.
It also allows you to handle cases when, for example, someone replies to a promotional email with the subject "Unsubscribe". Normally, this email would bounce, however you could pass this information onto a HTTP endpoint (via a webhook) that automatically unsubscribes people from your mailing lists.
Postal does not store the incoming emails in a mailbox, and does not expose them via a MDA like Dovecot, nor should it. Postal is design to replace large scale mail delivery infrastructure that is used in web applications and send mass emails (on the scale of thousands to millions). It is not designed to replace your day to day email account (eg. Gmail), nor should you want to.

So basically, say I have a working email domain and website, all hosted reliably, I could stop sending my newsletter from those resources and start using a 3rd party like sendgrid or roll my own with postal while continuing to use whatever service I use for my day to day emails, right?
The benefit of postal vs. rolling my own postfix solution would be the possibility to create companies and users, the tracking, API, endpoints, etc. etc. ?

@ovizii Yes, that's correct. The benefit of Postal is the increased administrative control and insight you have into mail delivery vs that of a plain postfix install. It's basically postfix with a nice GUI and easy configuration.
I would say that, if you are sending a large set of emails, say anything past 50, you should be doing so via a service that is dedicated to doing that. Sending mass emails or newsletters from your own personal email account will only negatively impact the deliverability of your day to day email, and potentially your standing with your email provider (who may have rate limits in place).
A better solution would be to setup Postal (or sign up for the free plan of SendGrid unless you are relatively verse in Linux administration), and setup your domain in it. You can then add Postal or SendGrid's SMTP Relay as a send only email account with a dedicated email address in Outlook or another email client and use this to send your mass emails and newsletters.
Be aware that if you are sending any less than 1000 or so (probably even more), then you are much better off going with the SendGrid solution. Email is very vulnerable to a "warm up period" where receiving ISPs learn the quality of the emails coming from a certain service and/or IP address and are a lot more skeptical of emails coming from servers that they haven't seen a large quantity of email from yet. You'll also need to ensure that your own IPs stay off block lists, something SendGrid does for you.


Clean file from Git view not reload it in file view

VSCode Version: Version 0.10.10
Commit 5b5f4db87c10345b9d5c8d0bed745bcad4533135
OS Version: Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux

When a versioned file is deleted from ui, then clean from Git view, it's doesn't show up in File view.
Steps to Reproduce:

Delete a versioned file
Clean it from Git view
The file doesn't come up in the file view

Can't reproduce, but sounds like a lack of file system events.
If you create a new file in the directory open in Code, does it appear in the file view?

A number of days has past without answer on the questions asked. I am thereby going to close this issue to clean up our backlog of issues. Once you can answer on the questions, the issue can be reopened again. Thanks for understanding this process!


can not create private endpoint for automation account

Environment Summary
Linux-4.19.104-microsoft-standard-x86_64-with-glibc2.29, Ubuntu 20.04.4 LTS
Python 3.8.12
Installer: DEB

azure-cli 2.34.1 *

Extensions:
automation 0.1.1
azure-devops 0.18.0
aks-preview 0.5.14
aks-virtual-node 0.2.0
front-door 1.0.16

Dependencies:
msal 1.16.0
azure-mgmt-resource 20.0.0

When trying to create a private endpoint for an Automation Account i get an error message.
Steps :
export LOCAL="WestEurope"
export RGCOMMON="COMMON-RG"
export RGDEPLOY="DEPLOY-RG"
export ENVIR="PROD"
export ENVIRLOW=$(echo $ENVIR | tr '[:upper:]' '[:lower:]')
export DEFTAGS="ENV=$ENVIR"
export VNETDEPLOY="DEPLOY-VNET"
az automation account create --automation-account-name automation-account-$ENVIRLOW-$LOCAL -g $RGCOMMON --location $LOCAL --sku Basic --tags $DEFTAGS
export AUTOMATIONID=$(az resource show -g $RGCOMMON -n automation-account-$ENVIRLOW-$LOCAL --resource-type "Microsoft.Automation/AutomationAccounts" --query "id" -o tsv)
az network private-endpoint create --name automation-account-$ENVIRLOW-$LOCAL-PrivateEndpoint --resource-group $RGCOMMON
--subnet /subscriptions/$SUBSCRIPTION/resourceGroups/$RGDEPLOY/providers/Microsoft.Network/virtualNetworks/$VNETDEPLOY/subnets/deploy-subnet
--private-connection-resource-id $AUTOMATIONID
--group-id Webhook --connection-name automation-account-$ENVIRLOW-$LOCAL-Connection --tags $DEFTAGS
(InternalServerError) Call to Microsoft.Automation/AutomationAccounts failed.
Code: InternalServerError
Message: Call to Microsoft.Automation/AutomationAccounts failed.
The Private Endpoint creation using Azure Portal is working OK

Hi ：
@Totoman， It works well at myside as below picture and my CLI version is 2.35.0, maybe you should update your CLI version  and try again ,notice that the network is well, the command I used as below:

Best wishes.

OK will give it a try tomorrow. thx. I'll keep you informed here.


[Feature Request] Real-time analytics

Hi Appcenter, I'm migrating from Fabric. Everything is great but I'm missing the real-time analytics so much:

Ability to view the number of online users.
Compare to the previous real-time metrics (day, week, month ago).

I can't find this feature on the Roadmap or Iteration Plan for March 2019, so are you going to add it?
Thank you for your hard work

We're looking at better ways to leverage existing Microsoft tools like PlayFab for this. While you wait on us I would highly recommend checking out playfab.com to get started. It's most commonly used with games, but can be used with any app.


4X4 grid

"if pieces == 16:
clickReloadButton()"
here is it possible to solve for 4X4 grid too instead of reloading it, i mean will you add it in future releases?
thanks for checking out my question

The model is trained for 3x3 mesh images, theoretically it is possible to reduce 4x4 to a size that and 3x3 but I think the quality will be lost and it will not be practical


Typo in reamde?

On your README is the follwing starting but not ending sentence:
Different Jenkins hostname as server url. May

Thanks. Fixed it


AF-557: Add breadcrumbs on the Admin perspective

Part of an ensemble:

https://github.com/AppFormer/uberfire/pull/766
https://github.com/kiegroup/kie-wb-common/pull/968

jenkins retest this


Check for duplicate AUTHORS

Duplicates are hard to spot, but we can automate it using the magic of computers 🪄💻.
Yes I realise this is a bit over the top. I happened to notice one duplicate, then wondered how you'd automate that, and then a few minutes later there was code 🤷🤓

Genius line
diff <(sort AUTHORS) <(sort AUTHORS | uniq)

I moved the test because Earthfile's test-all is not used anymore.


Graph structure doesn't work

The graph feature doesn't work when I try click graph button even on base example json. Please fix it

And I have an issue with pasting my own schema.json data into editor. Is it possible? I could paste json data only.


Update README.md

small updates to the README

Suggestion to change this sentence:
To use MATLAB Online for free
to
MathWorks provides a free basic version of MATLAB Online

@ehennestad good point. I've updated the README accordingly. Also I've added now the logo. Please let me know if you like it.

Awesome, I love it!


Contrib: Add docs on the rustbot ready command

This adds some brief docs on the use of @rustbot shortcuts.

@ehuss: no appropriate reviewer found, use r? to override

@bors r+

:pushpin: Commit a9ece2518c547397fdfbeb0be25ad4ef2958af52 has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit a9ece2518c547397fdfbeb0be25ad4ef2958af52 with merge 3ccf7dc93baf439cb0c877938384aee030b87129...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing 3ccf7dc93baf439cb0c877938384aee030b87129 to master...


Translation to Latin Spanish!

Hi. SMF 2.1 is UTF-8 only and as such does not need these extra utf8 files.

ah, I had not looked at it, sorry.


Allow for assignment of a channel that the bot can post into for discord servers

This allows us to also directly write to the server's moderators whenever something goes wrong and will also let us push updates to tickets too. This would be extremely handy for communication, and responses as well.
Something like this could be accomplished with a /setup command the bot could have that would bring up a custom modal with instructions and assignment.

Closed in 148be194f7204739e99fbed73aa043b3bdd3ec9c


python310Packages.aioairzone: 0.5.2 -> 0.5.3

Diff: https://github.com/Noltari/aioairzone/compare/refs/tags/0.5.2...0.5.3
Changelog: https://github.com/Noltari/aioairzone/releases/tag/0.5.3
Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

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

3 packages built:

home-assistant-component-tests.airzone
python310Packages.aioairzone
python311Packages.aioairzone


Open license?

Is it possible to assign a license to this repository (e.g. by adding a LICENSE file)?  Without that, I can't take a look at it.
Best would be to use one of the SPDX listed licenses that is truly open.
e.g. https://spdx.org/licenses/CC-BY-4.0.html or https://spdx.org/licenses/CC0-1.0.html
Thanks!

Hey! I have uploaded the License (MIT), thank you for letting us know it was missing!
Additionally, if you are interested in the ontology, we are going to publish in the following days a new version making it more compliant with the FAIR principles in KhaosResearch/REmoteSEnsingOntology, and this respository will be archived with the original version linked in the article.


ocamlPackages.sel init at 0.4.0

Description of changes
Add ocamlPackages.sel package
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

CC @vbgl

@vbgl Thanks a lot for your review, I applied all your suggestions.

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

I was able to build it.

Thanks!


Node-serialport not available for node v.51

When running a fresh install for particle-cli with Node v51 it fails since it tries to install node-serialport 3.1.2 which doesn't exists for this node version. Could we update to serialport v4 which has binaries built for node v51?

Hello,
The serialport module has been a difficult dependency. It has prebuilt binaries for most platforms and most versions of node, but not always. I'm not sure which version you mean by saying v51, but we have people running the CLI with node 0.10, 0.12, 4.x, 5.x, 6.x and 7.x successfully.

Node v51 refers to the ABI (application binary interface) version number of Node.js. So that is Node.js v7.1.0
As you can see here https://github.com/EmergingTechnologyAdvisors/node-serialport/releases there is no prebuilt binaries for 3.1.2 of Serialport and Node v51 but just for the 4.0. I pulled down the particle-cli repository and updated the Serialport in the package.json file to 4.0 which then installed nicely and I could get my photon up and running. But not sure if that broke things at other places.

Thanks a lot for the clarification. We'll take a look at this.

I'm having the same problem but for Node 7.2, it's trying to download the same serialport version @monkbroc mentions. I'll follow his lead and clone the repo and make that change myself. For some reason I have a Photon which my phone detects with the Particle app, but cannot connect to the Photon, so thought I'd try the CLI.

Thanks for the comment. Right after the new year I'll review all the dependencies and bump the old ones to avoid further issues like this.

This was fixed in 1.19.0 - https://github.com/spark/particle-cli/commit/722821226057ce63fde57455f78fab371261ae14


fix: util to enforce rfc1123 name reqs for k8s things, apply that to volumes for deployments

haven't tested yet :)

yolo merging. will test further before next release


Support revision

Currently, document is saved revision by revision.
However, some essential feature is not provided (like getting old revision, revert to old revision)

We need more discussion, so not include next release.


Add Login UI and Register UI with connection to database to add users

Description
Frontend:

Added Login UI
Added Register UI

Backend:

Integrated Register UI to add user to database
Added api to patch user details
Added api to confirm user's login credentials (integration with Login UI is still awaiting JWT implementation)

Type of change

[ ] Bug fix
[X ] New feature
[ ] Refactoring
[ ] Documentation

Problem
Needed a UI and Register Page to authenticate users and block inappropriate accesses.
Solution description

Add Login and Register UI using bootstrap
Connected to Redux global store so that when a user registers, they're name and email is stored globally
Add APIs for adding user, finding user credentials and patching user's data (which is probably relevant when we get to working one a Profile page)

Tests
No tests have been written yet, we'll target next PI hopefully
Relevant document/ link (if any)
N/A
Risk
Medium

I have added back the publications stuff, would be great if someone from Scholar can check if everything is working well with the publications.
Also, regarding the usingRp variable in client/src/api/api.js, I think it may be handy if we can set that variable through common line arguments passed into npm run start. Something to look into for next PI perhaps?

Also, give me some time I'll fix the conflicts

I have added back the publications stuff, would be great if someone from Scholar can check if everything is working well with the publications.
Also, regarding the usingRp variable in client/src/api/api.js, I think it may be handy if we can set that variable through common line arguments passed into npm run start. Something to look into for next PI perhaps?

Yep, I’ve acknowledged that this is an inconvenience & set up a trello ticket to think up a solution for later: https://trello.com/c/Ebs7RQ2f/3-environment-variables-in-react-to-toggle-usage-of-revers-proxy-used-in-production-environment
We can definitely look into the solution you proposed

All requests have been entertained, Feel free to review again :)


Runtime events

Is it possible to get some examples on how to use these events?

Nice.  I'm definitely going to check out the event based additions this weekend.


Project Structure: services for code that connect to third party services

I request services for code that connect to third party services, manager for reusable queryset with Django Manager.
Originally posted by @NorakGithub in https://github.com/C0D1UM/technical-standard/pull/1#issuecomment-772210047

FYI krub @NorakGithub


[Snyk] Upgrade i18next from 19.7.0 to 19.8.4

Snyk has created this PR to upgrade i18next from 19.7.0 to 19.8.4.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 5 versions ahead of your current version.
The recommended version was released 3 months ago, on 2020-11-18.

The recommended version fixes:

Severity
Issue
PriorityScore (*)
Exploit Maturity

Prototype Pollution SNYK-JS-I18NEXT-585930
561/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 4.8
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Release notes

Package name: i18next

19.8.4 - 2020-11-1819.8.4

19.8.3 - 2020-10-2519.8.3

19.8.2 - 2020-10-0619.8.2

19.8.1 - 2020-10-0319.8.1

19.8.0 - 2020-10-0219.8.0

19.7.0 - 2020-08-1919.7.0

    from i18next GitHub release notes

Commit messages

Package name: i18next

ba564b3 19.8.4
1816290 prepare new release
1ed5a71 Updated FormatFunction signature to match codebase (#1520)
2516e89 Update config.yml
94dd384 Update config.yml
877e250 commit build result
fa98508 Merge pull request #1518 from KristjanESPERANTO/patch-1
749519e Update URLs
03ef4ed 19.8.3
ed6169f fix prototype pollution with constructor
5d808cd updated @ babel/runtime to ^7.12.0, runtime file extensions issue resolved (#1513)
cb780ad 19.8.2
d736006 allow nesting recursively with context (could theoretically generate infinite loop, prevented in #1480)
685aa0f 19.8.1
b44f64c log optimizations for clone instances
ba2613b 19.8.0
4e988d2 rebuild
be8d2bb Merge pull request #1508 from markdon/master
9f53732 add missing parameter on fallback function type def
f48409a update FallbackLng type for fallback function
b9f6692 allow fallbackLng as function

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

PR #2449 upgrades to a higher version.


Why supabase method signInWithOAuth works only sometimes and not every single time?

When working on Nuxt 3 + supabase project, I get this problem that
supabase.auth.signInWithOAuth({
provider: 'github'
});
works not every time like it should, instead it successfully sign in randomly when I try 5-6 times, but my internet connection is fast. So the main problem is that there is no user from useSupabaseUser() every time after sign in (which works randomly and not every single time like it should)

I don't see any redirect to confirm page, do you use it in your project?


BLIP2 VQA Questions

Hi, thanks for the great work on BLIP2, and also for open-sourcing the model and code!
I was trying to apply 'blip_t5' with model type "pretrain_flant5xxl" to VQA settings, and I suspect I'm missing something because so far I haven't been able to come close to the paper results -- in particular, I am getting 33.55 on GQA vs the paper's 44.7.
I've tried with the following settings, per the paper:

Prompt: "Question: {} Short answer:"
Beam search with width 5
Length penalty -1

Otherwise all settings are left to the defaults. I'm using the .generate function per the Jupyter notebook.
Are there other settings, postprocessing, evaluation details, etc that are important for performance, or specific to GQA?
I know the full VQA evaluation script is coming soon https://github.com/salesforce/LAVIS/issues/97#issuecomment-1416745600 , and I'm happy to just look off of that if it's released in the next few days. Otherwise it would be great to have some of these details while the full script is being prepared, if possible! Thanks again and great work!

Can you reproduce the VQAv2 performance? Have you observed this gap for other models?
These are the same settings that I used. I don't think any hyperparameter can cause this much a gap.

Prompt: "Question: {} Short answer:"
Beam search with width 5
Length penalty -1

Thanks for your quick reply. I haven't tried VQAv2 or other models yet, but I can try them tomorrow and let you know.
If it helps narrow down what could be the issue -- the results are all qualitatively reasonable, they're just (often) not correct. Here are some examples from the GQA train split.

This #100 might be the reason for generating wrong answers?

It's definitely possible, that's why I wanted to check about that too. But, because I wondered about that, I did a subset of 2000 from GQA one by one with the original unmodified code and the performance between the two matched, plus it seemed correct to you in the other thread; so I'd be surprised if it were the cause, but not impossible. Running the whole dataset one by one is too slow -- any other recommended way to batch things?
(Also, VQAv2 should finish tonight but the results actually look reasonable so far (halfway through val).)

Hi Junnan, I'm really sorry for the confusion. I realized something I was doing resulted in the length_penalty not being passed through correctly. With the correct length_penalty=-1., I get 42.2 on GQA testdev, which is much closer to the paper result.
Now I'm pretty confident everything is correct (only change is the batching from #100) but the performance is still 2.5% less than the lowest Flan model in the paper, which is non-negligible for GQA -- any ideas on what might still be missing? (What was your seed, just to standardize?)
Sorry again and thanks!

Thanks for the clarification @sachit-menon .
It's also related to the issue I opened: https://github.com/salesforce/LAVIS/issues/97
I think it will be very helpful to clarify which hyperparameters should be called for every task. For example that length penalty should be -1, while it isn't -1 in the default parameters. Without this clarification people can report incorrect accuracies using BLIP2 that will cause confusion, and the reported results will be below the actual results that can be reported using the correct parameters. @LiJunnan1992 is something like that possible? 🙂
Thanks

We are working on BLIP-2 VQA evaluation scripts @yonatanbitton. Meanwhile please refer to our paper for hyperparameters.

We are working on BLIP-2 VQA evaluation scripts @yonatanbitton. Meanwhile please refer to our paper for hyperparameters.

Hi, thanks for the wonderful work. I have not found  the VQAv2 evaluation code in https://github.com/salesforce/LAVIS/tree/main/run_scripts/blip2/eval . When will the VQAv2 evaluation code (for blip2) be open source？

@kebijuelun we are working on the evaluation script. Please keep an eye on https://github.com/salesforce/LAVIS/tree/dev0.4.
Expecting to finish in the coming few days. Thanks.

Hi @dxli94 , I saw that some of this work (VQAv2 and OKVQA) has landed now -- thanks for that!
I'm particularly interested in GQA, and still unable to reproduce that result (42.2% vs 44.7%, which would no longer be SOTA as it is a bit less than your own group's work on PNP-VQA).
Any chance that GQA can also be added to this soon? I would really appreciate if it were made a priority and it would finish off the VQA set of experiments :) .

@sachit-menon GQA has been added.

Amazing, thanks for the quick update! I'll look into this today. (From a glance at the eval yaml, one difference might be from max_len=10 in the script vs the default value of 30, but I'll find out properly.)

With your script I am getting about the accuracy reported in the eval yaml (~44.) for GQA, thanks again!
What is the correct way to run on test-dev? (I noticed there's also a split "test" instead of "val" which I imagined was the test-dev split, so I tried to run that but got an error in dataloading that it just produced Nones.) I am particularly interested in getting the 44.7 that the XXL model achieves.


Added nestedModulesSpace to schema and updated the types

Stats doesn't have a nestedModulesSpace property as mentioned in the docs. I have added the property to schema and updated the types. Also, this PR closes #12163.

What kind of change does this PR introduce?
It adds nestedModulesSpace property to stats.

Did you add tests for your changes?
Yes. I have added the tests.

Does this PR introduce a breaking change?
No.

What needs to be documented once your changes are merged?
None. It's already documented here.

Thanks

Thanks


ISPN-10883 Concurrent server stop

https://issues.jboss.org/browse/ISPN-10883

Failures are unrelated

Thanks @tristantarrant


Remove waiting time when using filters

Find an UI solution instead of having a new API call and reloading everything.

Duplicated (#212)


Cannot connect externally or locally to a SQL Server 2019 image

I thought I would create a basic setup of SQL Server 2019 by running a few commands in a PowerShell terminal
https://learn.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker?view=sql-server-linux-ver15&preserve-view=true&pivots=cs1-powershell#connect-to-sql-server
docker pull mcr.microsoft.com/mssql/server:2019-latest
docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=<MyPassword>" `
   -p 1433:1433 --name sql1 --hostname sql1 `
   -d `
   mcr.microsoft.com/mssql/server:2019-latest

for the time being I haven't changed the password as recommended
run some checks
docker ps -a
CONTAINER ID   IMAGE                                        COMMAND                  CREATED       STATUS          PORTS                    NAMES
b2061de2a836   mcr.microsoft.com/mssql/server:2019-latest   "/opt/mssql/bin/perm…"   5 hours ago   Up 34 minutes   <IP_ADDRESS>:1433->1433/tcp   sql1

get the ip address of SQL1
docker inspect --format='{{.Name}} - {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq)
/sql1 - <IP_ADDRESS>

docker exec -it sql1 "bash"
mssql@sql1:/$ /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P  '<my pw>'
Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login failed for user 'SA'..

lets see if we can check what SQL Server is listening to
ssql@sql1:/$ /opt/mssql/bin/mssql-conf list
Warning: could not create log file for mssql-conf at /var/opt/mssql/log/mssql-conf/mssql-conf.log.
This program must be run as superuser or as a user with membership in the mssql
group.

And my bash shell doesn't know about "sudo", so I am stuck once again!
Oh I get the same depressing results outside the container in
sqlcmd -S <IP_ADDRESS>,1433 -U sa -P '<my pw>'
Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : TCP Provider: The wait operation timed out.

🥹....hmmmm I am already missing windows.

I thought I would have another attempt at this in PowerShell Core Teminal. Now the docs seem to suggest single quotes but I didn't get good results with this approach
docker run  -e "ACCEPT_EULA=Y" -e "MSSQL_PID=Standard" -e "MSSQL_SA_PASSWORD = MYPASSWORD" -e "MSSQL_TCP_PORT=1433"  -p 1433:1433 --name sql2019_2 --hostname sql2019_2   -d mcr.microsoft.com/mssql/server:2019-latest
Looking at the the logs , I seem to have a valid server  temp db started and Database 'model' upgraded to 904
ok still from my SQL Server terminal
docker exec -it sql2019_2 "bash" /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P "MYPASSWORD"
2023-06-26 14:25:29.39 Logon       Error: 18456, Severity: 14, State: 7.
2023-06-26 14:25:29.39 Logon       Login failed for user 'SA'. Reason: An error occurred while evaluating the password. [CLIENT: <IP_ADDRESS>]
Note the password follows this criteria
The password contains characters from three of the four categories:
Latin uppercase letters: "F", "I", "C"
Latin lowercase letters: "r", "e", "a", "m"
Base 10 digits: "1", "3"
Non-alphanumeric characters: "&", "!"
The password is 14 characters long, which exceeds the minimum requirement.

Same issue here! But using a docker-file
version: '3.4'

services:
  mssql-server:
    image: mcr.microsoft.com/mssql/server:latest
    user: root #required due to issues with permissions with the mssql image writing data file
    environment:
      ACCEPT_EULA: "Y"
      MSSQL_SA_PASSWORD: "Pa$$word12345678"
      MSSQL_PID: Developer
    ports:
      - "1433:1433"
    platform: linux/amd64

This was just updated a couple of days ago and this is an issue for me.  Running this on Ubuntu 20.04 via WSL2.  I follow all of these steps and my SA password meets all the requirements.  I grep the container logs once it's running and I see the "SQL Server is now ready for client connections".  I run this command as the doc indicates:
sudo docker exec -it sql1 "bash"
I'm in the container and try to logon with my pw and get "Login failed for user 'sa'" Extremely frustrating.
Not sure if some special characters are messing it up.  But I had a $ and ! in mine each time I set up a pw.  When I went with something like this ThisIsMyP*ssw0rd.  It worked!


Convert xterm.js to TypeScript!

Part of #335
This PR does the following:

Moves contents of xterm.js to Terminal.ts
Expose entrypoint at xterm.ts
Convert Terminal to a class
Moved old 'static' Terminal.member to functions/variables scoped to file
Replaced the majority of usages of Terminal[optionsKey] with Terminal.options[optionsKey]
The type any is used in many places to get the conversion over with quickly, these can be refined later

Verification done:
Testing done in Chrome 51 and Firefox 50

[x] npm test
[x] ls -lR
[x] Scrolling via mouse/keyboard
[x] tmux input/split/scroll
[x] vim input/scroll

Great! I got two proposals before moving on a full review:

We wait to merge all hanging PRs first, before dealing with this, since it's the biggest one.
Keep xterm.ts as xterm.js just for reference to the project's name. The syntax looks like it can stay exactly the same.

Sounds good, the line wrap PR is the main thing that needs to move before this to prevent some merge headaches.

Nice too meet you.
I worked without noticing pullrequest.
Please refer if you like.
https://github.com/hsk/xterm.js/blob/master/src/xterm.ts
This work difference strict types than your Convert.

@hsk the reason this wasn't merged is because it's a large diff and there were (and still are) community PRs out that would cause bit headaches for contributors. Pulling things out of xterm.js slowly is probably the better approach but probably not until https://github.com/sourcelair/xterm.js/pull/609 is merged


Algorithm or Data Structure name | C++

Adding Data Structure type -
what will change -
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Self Check

Ask for issue assignment before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Happy Coding,

@Pysche666 Add more details and specifics on what you want to implement/contribute to!


fix the Syntax rendering error

What type of PR is this?

[ ] Enhancement
[x] Displaying
[ ] Typo
[ ] Doc Request

Which issue(s) this PR fixes:
issue #
What this PR does / why we need it: