Issue when starting cleverhans_tutorial on MAC OS X

Hi, there:
After installed cleverhans by pip install cleverhans --user on my machine, I'd like to run a tutorial to see if everything's ok. Unfortunately, I received the following error mesage after running python mnist_tutorial_tf.py:
Traceback (most recent call last):
  File "mnist_tutorial_tf.py", line 19, in <module>
    from cleverhans.loss import CrossEntropy
ModuleNotFoundError: No module named 'cleverhans.loss'

Then I checked the version by python -c 'import cleverhans; print(cleverhans.__version__) and the version number is 2.0.0-8d4c955f2a5a269a78a612198cf754a4.
When running the trouble line from cleverhans.loss import CrossEntropy in the console, same error exists! So, anyone could help? Thanks.

When using python2.7, I get:
Traceback (most recent call last):
  File "mnist_tutorial_tf.py", line 19, in <module>
    from cleverhans.loss import CrossEntropy
ImportError: No module named loss

If you just want to get cleverhans working, the easiest way is to use "git clone" and set your PYTHONPATH manually. That's how I always install.
We know that pip tends to install cleverhans in weird locations that are not on the PYTHONPATH. None of the main cleverhans developers including myself know enough about pip or setup.py to tell exactly what is going wrong. If you could tell us where pip does put cleverhans on your Mac, that might help us. Alternately, if anyone who does understand pip and setup.py happens to see this issue, we could use your help.

Another possibility is that we have not updated pypi in a long time (because we updated pypi when incrementing Cleverhans to 2.0) and for that reason the loss module might not have existed at that time.

What happens if you run python -c "import cleverhans"? If that fails then the whole library is not installed on the PYTHONPATH.
How did you install the tutorials? Did they come from the same pip command as the library?

If you just want to get cleverhans working, the easiest way is to use "git clone" and set your PYTHONPATH manually. That's how I always install.
We know that pip tends to install cleverhans in weird locations that are not on the PYTHONPATH. None of the main cleverhans developers including myself know enough about pip or setup.py to tell exactly what is going wrong. If you could tell us where pip does put cleverhans on your Mac, that might help us. Alternately, if anyone who does understand pip and setup.py happens to see this issue, we could use your help.

Sorry for the late reply. I adopted your suggestion and clouds gone, both on Mac and linux.

i the same
python -c 'import cleverhans; print(cleverhans.version)'
2.0.0-8d4c955f2a5a269a78a612198cf754a4
but
python -c "from cleverhans.loss import CrossEntropy"
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'cleverhans.loss'
i install use   pip install cleverhans

and path is ;
/mnt/opt/anaconda2/envs/book5/lib/python3.6/site-packages/cleverhans

i know why 。there is some wrong with setup.py
git clone https://github.com/tensorflow/cleverhans
cp -fr cleverhans cleverhans_tutorials /mnt/opt/anaconda2/envs/book5/lib/python3.6/site-packages/
can solve it


Fix closure changes

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @huonw (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see CONTRIBUTING.md for more information.

Exactly the same as #36

Dupe of https://github.com/rust-lang/semver/pull/36, but thanks!


build fail with nvcc_options?

 (It's helpful if you fill out the issue template you see when you click on 'new issue'!)

it's centOS 6.5

@martinwicke this probably needs more info to debug but I'm not sure what specifically to ask for.

How did you build it? With GPU support, I assume? Any other options, or just --config=cuda -c opt?

I use bazel build -c opt --config=cuda //tensorflow/cc:tutorials_example_trainer

@justdark Hello, I had exactly the same error when accidentally change the gcc tool path in CROSSTOOL https://github.com/tensorflow/tensorflow/blob/v0.9.0/third_party/gpus/crosstool/CROSSTOOL#L49 to my own gcc. make sure  clang/bin/crosstool_wrapper_driver_is_not_gcc and change the path in crosstool_wrapper_driver_is_not_gcc file if necessary-- it works for me (centos 6.7, tensorflow v0.9.0)

@wyli thanks a lot.

Looks like the issue was resolved.
Closing the issue.


Reduce workflow warnings

Besides the Node16 warnings, our workflows also have "The set-output command is deprecated and will be disabled soon" and "The save-state command is deprecated and will be disabled soon" errors, even in workflows that don't use those commands. I updated various actions we use to their newest versions incorporating the new Node version and environment files.
On workflows that use the set-output command, I replaced with the GITHUB_OUTPUT file, as recommended.

@dmytrotsko I heard you've worked on workflows most recently, so I thought you'd be the best reviewer! The content of the repo isn't relevant to the changes here :+1:


Show error/validity state issues in source create flow

Ended up just using the very simplest client-side validation.


THRIFT-4639: Use correct sequence number for multiplexed protocol

Client: lib/nodejs

How does one run the NodeJS tests? Unfortunately I don't find it obvious from the Makefiles and/or the Travis outputs

To run the node tests, follow the instructions in the docker README for creating your test image.
You can then either run the full test suite with autotools.sh, or if you want to just run the nodeJS tests you should be able to run make check within the node lib directory. Alternatively, if you understand how grunt files work you can just use that directly.

I honestly don't have time enough to dig into the the test cases. To me it actually seems like the NodeJS Thrift server implementation in one way or another is broken.
I use NodeJS client against Java multiplexed server and that triggers completely different behaviors. Actually without this patch i get JS errors (TypeError: this.seqid is not a function) in NodeJS client rather than just the strange sequence number behaviors that appears when running unit tests against NodeJS server.

Author indicated insufficient time to complete the PR, and the changes don't appear to actually change anything other than a variable name.  In addition the tests did not pass.  This will be closed in favor of THRIFT-4405 verifying correctness.

I was able to use local changes in THRIFT-4780 to prove this is not necessary; nodejs is sending sequence numbers just fine.


Scrum 1253

Processing a single PMID should now update md5sum in s3.  Generalized functions.

@valearna while trying to fix the functional tests I had to restart a devserver database and api, which I attached to the dev elasticsearch.  Maybe I shouldn't have done that ?  The devserver api on dev4006-literature-rest is now pretty slow.  If this helps debug pgsync, I just ran the functional test, wiped some tables, ran the functional test, and so on a few times.

@valearna the test_runner in docker-compose uses ENV_STATE: "${ENV_STATE}"  Where would I look in github actions to see what values it's using ?  The xml_to_json is now downloading md5sum, updating md5sum, uploading new md5sum, but github doesn't seem to have permissions to s3.  I think that's fine, because we don't need the test runner to update our develop/ md5sum file everytime it runs, but if we wanted it to, do you know how we'd give github permission to ?  I would think it's from AWS_ACCESS_KEY_ID and  AWS_SECRET_ACCESS_KEY, but the test_runner should already have those values in github actions.

Hi @valearna  I think this is all finally working properly and ready to review :)

Thanks @valearna


Unable to establish phoenix channel websocket connection 501

I've created a fairly trivial chat application using phoenix channels.
It is deployed to https://chatter-193110.appspot.com
Running locally, I'm able to connect from multiple hosts on my local network.
However once deployed to gcloud, I get websocket connection errors:
app-206e4dc53bfa5121d23ba99ca788f34c.js?vsn=d:1 WebSocket connection to 'wss://chatter-193110.appspot.com/socket/websocket?token=undefined&vsn=2.0.0' failed: Error during WebSocket handshake: Unexpected response code: 501

Help appreciated!

@mbuhot would you mind confirming that this issue is resolved?

@zeroaaterisk sorry I no longer have a GCP account.

@zeroasterisk, I can confirm that websockets work in GAE Flex for you:

I'm using Phoenix 1.4.3 deployed with the latest Elixir runtime.

I've found that I can't connect to my phoenix app's websocket (channel) using the custom domain I setup. I can only connect to the websocket using the appspot url. Is that the case for everyone else?


Integrate Friends Results w/ Facebook Integration

Integrate Laravel Socialité with the API and integrate the Results with Frontend.

We need wait for Facebook developers.


added phpstom file api to formatStacktrace

Hi,
i implemented the pjpstorm file api for stack traces.

Coverage decreased (-0.6%) to 91.013% when pulling 950165e0dd6372be7cb28868a7bef4557d38da56 on smart-devs:phpstorm-file-api into 086e0edd519536a978e3cc87985eaeb684839c35 on madalinoprea:master.

I would accept the pull request if there is a way to have all the html and js logic in the templates in some external js files. e.g dump current file path into some html, register a js callback that fetches all rows that contain paths and register a click callback that makes an ajax call.


Preview the Template

I am facing this error when i import it in an another module for pages
BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.
Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.

how can i save or preview the template?? <asw-preview-template [formContainer]="jsonData">
is not working?

Thanks for your input on this.
Our technical team is working on this will update you soon.


BugFix: Fix the wrong checksum when exit be graceful

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] others

Which issues of this PR fixes ：

Fixes #4373
Problem Summary(Required) ：

When exit BE graceful, the checksum will be wrong. Under this circumstance, the calculation should return error status instead of wrong checksum

pay attention to the tsscancode


connect error

        let db =  try Connection("db.sqlite3",readonly: false);

      connect error

     error info  below
      Error Domain=SQLite.Result Code=0 "(null)"

Hi @yanglichuan , did you work this out?  Do you have more information?  I'm closing this now as we don't have enough information to help you more, but if you can please try with the latest release and provide more information we'd love to help out.
In case this helps, here is an example that contains what you're trying to do and it works in a Playground without any problems:
import SQLite

let db = try! Connection("db.sqlite3", readonly: false)
db.trace { print($0) }

let emails = Table("emails")
let to = Expression<String>("to")
let subject = Expression<String?>("subject")

try! db.run(emails.create(ifNotExists: true) {t in t.column(to); t.column(subject)} )
try! db.run(emails.insert(to <-<EMAIL_ADDRESS>subject <- "Hello, world!" ))

for user in try db.prepare(emails) {
    print("id: \(user[to])")
}

try db.run(emails.delete())```


⚠ TorrentLeech has degraded performance

In d242e98, TorrentLeech ($TL) experienced degraded performance:

HTTP code: 200
Response time: 1880 ms

Resolved: TorrentLeech performance has improved in cd7d80a after 16 minutes.


No scandata while activated scan range filter

If the scan range filter is enabled, no scandata are available. If scan range filter is disabled, scandata are available.

Im using a multiScan136. For your evaluation... the sensor was launched with no activated filters. After launching the multiScan, the rangeFilter was activated. With default setting-90° ...90°` it was working, but there is a point of adjustment, where the pointcloud is freezing in rviz
Working range

start angle theta: >= -18°
stop angle theta: <=75°

There is also s.th. wrong with the layer filter. If Layer 1 or 16 is disabled the pointcloud is freezing as well

Thanks for additional informations. Compact- and msgpack-format behave different in case of angle range filters. If an angle range filter is activated, fullframe pointclouds are currently published with mspack, but not necessarily when using compact-format. We will adapt the fullframe check for compact data with angle range filters and provide an update.

An update is available in branch https://github.com/SICKAG/sick_scan_xd/tree/feature/issue_update, which corrects the fullframe pointclouds with activated angle range and layer filter. Please checkout this update and rebuild sick_scan_xd.


API should close connection by default

To close connection we require our customers to explicitly do it via "Connection" header like so:
curl -i http://localhost:3000/api/override-default-heade  -H "Connection: close"

This is not a standard expected behaviour and creates unnecessary additional load on the servers

@kahmali FYI

https://github.com/kahmali/meteor-restivus/blob/b95f879c0ebc52e0a7cd85e91fbc8ba5118026eb/lib/iron-router-error-to-response.js#L24


Issue connecting to API

Been mulling over this issue looking for a workaround for like 2 weeks now. Tried fresh install and multiple devices. I'm very new to programming so the issue could be painfully obvious.
Followed directions in the README and got up to the point of Connect API, at which point I input the sleep API request and get hit with an AssertionError.
Occurs on garth/http.py at line 127 with "assert self.oauth1_token".
Storing my login info and password seems to have worked. The oauth1 & ouath2 tokens also seem to be created.
I believe the tokens have been created because after inputting my username and password, a .garth folder is created in my user directory, and the JSON files pertaining to the tokens reside in there. Maybe that has something to do with it?

Hi @jnolan95, you're almost there.

Let me know if that works for you.

Ahh your code was correct in the .save and .resume functionality and where it was saved to as .garth. I was trying to figure it out myself which led me down the token path but turns out that wasn't the issue.
As I said, I'm new to programming and saw your README and implemented the "attempt to resume session" code created in one python file and attempted to connect to the API and make calls in another file.
You actually pointed me in the right direction with the resume/load reference. I see now resume has to be called in the same instance as an API call which makes a lot of sense.
Thanks for the help and I love what you did with this code and I'm looking forward to using it


Fixes missing plugin dependecy

Missing dependency: net.virtual-void#sbt-dependency-graph;0.5.1 fixed by updating to 0.8.2

> sbt.ResolveException: unresolved dependency: net.virtual-void#sbt-dependency-graph;0.5.1: not found
https://travis-ci.org/janisz/marathon/builds/178113608
0c5486c99eda2741266442004b465353626a3420 is the first bad commit
commit 0c5486c99eda2741266442004b465353626a3420
Author: Tim Harper<EMAIL_ADDRESS>Date:   Tue Nov 22 12:20:09 2016 -0800

    Lock plugin dependency versions and use SSL

    Summary:
    - Using SSL protects against DNS spoofing / man-in-the-middle attacks by validating the authenticity of the server from which an artifact is being downloaded
    - Setting specific plugin versions helps to improve compatibility with dependency management plugins such as Coursier

    Test Plan: - Blow away maven cache. With a fresh SBT instance, run test:compile and packaging steps

    Reviewers: jasongilanfarr

    Reviewed By: jasongilanfarr

    Subscribers: jasongilanfarr, marathon-team

    Differential Revision: https://phabricator.mesosphere.com/D205

:100644 100644 ee2fd6fe4b789cce998933fed3509ea6db8b226d 3e5ddb46d6bb030d33bd7971bd4d657f60cb7582 M	build.sbt
:040000 040000 008e178001378908c0c5cf7ab7e9d4923a14cd23 c38c43a69bc74cc5b2381d43c548e3191d344ebd M	project

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@timcharper already has the fix about to land


Twitch VOD download breaks at fixed points

Checklist

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

User Log
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-f', '720p60', '--all-subs', 'https://www.twitch.tv/videos/66775413']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.8.5 (CPython) - Linux-5.8.0-41-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Proxy map: {}
[twitch:vod] 66775413: Downloading stream metadata GraphQL
[twitch:vod] 66775413: Downloading video access token GraphQL
[twitch:vod] 66775413: Downloading m3u8 information
[info] Writing video subtitles to: Dekay hat mal wieder in der Mülltonne rum gewühlt - Wildes Tier-Rennen-v66775413.rechat.json
[debug] Invoking downloader on 'https://dqrpb9wgowsf5.cloudfront.net/aafc46d0ca_herrdekay_20408790320_423767420/chunked/highlight-66775413-muted-PK4XCBTOS1.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1291
[download] Destination: Dekay hat mal wieder in der Mülltonne rum gewühlt - Wildes Tier-Rennen-v66775413.mp4
[download]  45.5% of ~1.13GiB at 19.56MiB/s ETA 00:50

ERROR: Did not get any data blocks
  File "/usr/local/bin/youtube-dl", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/__init__.py", line 475, in main
    _real_main(argv)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/__init__.py", line 465, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 2055, in download
    res = self.extract_info(
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 799, in extract_info
    return self.__extract_info(url, ie, download, extra_info, process)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 806, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 838, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 872, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 1679, in process_video_result
    self.process_info(new_info)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 1963, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 1902, in dl
    return fd.download(name, info)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/downloader/hls.py", line 149, in real_download
    success, frag_content = self._download_fragment(
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/downloader/fragment.py", line 104, in _download_fragment
    success = ctx['dl'].download(fragment_filename, fragment_info_dict)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/downloader/http.py", line 352, in real_download
    return download()
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/downloader/http.py", line 322, in download
    self.report_error('Did not get any data blocks')
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/downloader/common.py", line 165, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 628, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 590, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

Description
Twitch VOD download throws "ERROR: did not receive any data blocks" in specific cases. This happens always at the same percentage (I suppose the same fragment). Trying to resume the download causes it to fail with "ERROR: did not receive any data blocks" immediately.

Other examples of broken VODs

https://www.twitch.tv/videos/66775604 (At 28.6%)
https://www.twitch.tv/videos/15981529 (At 36.0%)

The error trace is identical

Try with --skip-unavailable-fragment

Unfortunately this didn't change anything. Still getting same error with exact same trace.

i was able to download & playback the video using the m3u8 file.

Can confirm. Downloading the m3u8 file and using ffmpeg to download the actual video works.

I tried to reproduce with current master but got 403:
[twitch:vod] 66775413: Downloading stream metadata GraphQL
[twitch:vod] 66775413: Downloading video access token GraphQL
[twitch:vod] 66775413: Downloading m3u8 information
ERROR: Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); […]

(Show trace)
[…] please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/mnt/████/youtube_dl/extractor/common.py", line 665, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/mnt/████/youtube_dl/YoutubeDL.py", line 2461, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.8/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Please open a new issue for this according to #30839 if appropriate, having regard to existing issues such as #22677, #30945, #31683.
I'll close this issue for now: let's see if it comes back with the next version of the extractor.


Requires service.ibmcloud instances to be created in the default namespace

It's not finding the secret in the default namespace.
olm $ oc describe service.ibmcloud
Name:         mypersonality
Namespace:    ibmcloud
Labels:       <none>
Annotations:  kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"ibmcloud.ibm.com/v1alpha1","kind":"Service","metadata":{"annotations":{},"name":"mypersonality","namespace":"ibmcloud"},"spec":{"plan":"...
API Version:  ibmcloud.ibm.com/v1alpha1
Kind:         Service
Metadata:
  Creation Timestamp:  2019-07-10T19:29:16Z
  Generation:          1
  Resource Version:    16373
  Self Link:           /apis/ibmcloud.ibm.com/v1alpha1/namespaces/ibmcloud/services/mypersonality
  UID:                 017c240f-a349-11e9-8052-229d59c3b269
Spec:
  Plan:           lite
  Service Class:  personality-insights
Status:
  Context:
    Org:
    Region:
    Resourcegroup:
    Resourcelocation:
    Space:
  Message:             Secret "seed-secret" not found
  Plan:                lite
  Service Class:       personality-insights
  Service Class Type:
  State:               Failed
Events:                <none>

I just fixed that bug and I am about to submit a PR

nice!

Verified PR #22 works and resolves this issue.


ytsearchdateall only returns the first page (20 videos) of results

Checklist

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

Verbose log

PASTE VERBOSE LOG HERE

[youtube:search:date] query "machine learning": Downloading page 1
[download] Downloading playlist: machine learning
[youtube:search:date] playlist machine learning: Collected 20 video ids (downloading 20 of them)
[download] Downloading video 1 of 20
[youtube] UhU29HoyCUk: Downloading webpage
[youtube] UhU29HoyCUk: Downloading m3u8 information
[youtube] UhU29HoyCUk: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 2 of 20
[youtube] GyI3WE5PKpY: Downloading webpage
[youtube] GyI3WE5PKpY: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 3 of 20
[youtube] fDNmxbh6prM: Downloading webpage
[youtube] fDNmxbh6prM: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 4 of 20
[youtube] 6Uv9AvFP844: Downloading webpage
[youtube] 6Uv9AvFP844: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 5 of 20
[youtube] Sh4liFq-mOo: Downloading webpage
[youtube] Sh4liFq-mOo: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 6 of 20
[youtube] 4aLAlfmBEEM: Downloading webpage
[youtube] 4aLAlfmBEEM: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 7 of 20
[youtube] M1hTjmzbza8: Downloading webpage
[youtube] M1hTjmzbza8: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 8 of 20
[youtube] aQ5lwcFprhI: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 9 of 20
[youtube] xS3_b0BsSes: Downloading webpage
[youtube] xS3_b0BsSes: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 10 of 20
[youtube] vgM16UvHbZQ: Downloading webpage
[youtube] vgM16UvHbZQ: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 11 of 20
[youtube] d7wmrnlLisw: Downloading webpage
[youtube] d7wmrnlLisw: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 12 of 20
[youtube] 7QBhBlBJzjI: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 13 of 20
[youtube] rVrhuuGKxuM: Downloading webpage
[youtube] rVrhuuGKxuM: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 14 of 20
[youtube] C8s7_FZJlrA: Downloading webpage
[youtube] C8s7_FZJlrA: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 15 of 20
[youtube] pDw_JHHvj-0: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 16 of 20
[youtube] uYqlBUfVFik: Downloading webpage
[youtube] uYqlBUfVFik: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 17 of 20
[youtube] 60c4rMq-aH0: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 18 of 20
[youtube] yoLpcelanpI: Downloading webpage
[youtube] yoLpcelanpI: Downloading m3u8 information
[youtube] yoLpcelanpI: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 19 of 20
[youtube] TmYKQZQTgjE: Downloading webpage
[youtube] TmYKQZQTgjE: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 20 of 20
[youtube] yfIOBHkS3yk: Downloading webpage
[youtube] yfIOBHkS3yk: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[download] Finished downloading playlist: machine learning
Description

WRITE DESCRIPTION HERE
I am trying to use "ytsearchdate" to get videos sorted by uploaded date, but it only returns the first page (20 videos) of results.
Tried "ytsearchdateall" and still have the same behavior.
The code:
ydl = youtube_dl.YoutubeDL({"ignoreerrors": False, 'verbose':True})
query="machine+learning"
ydl.extract_info("ytsearchdateall:{}".format(query), download=False)
Youtube-dl is updated to the latest version.
Thanks for the help.

This is happening to me w/ ytsearchall as well. Please fix this!

Same here!

This is happening to me too. How can we use extract_info from youtube-dl to extract 30, 40, 50 or more videos on the youtube page, please ?


Add Prosaic Unit Objects

Pursuant to a conversation with Geoffrey, I would be nice if prosaic units are modeled as objects in the database. That is, basically, segments separated with |. Note that these segments can, but do not always, align with a formal syntactic unit, such as words or sentences. Since prosaic units are important/interesting from a research standpoint, having them as individual objects would make for some nice querying possibilities.
This would give the database the following structure:
text
    paragraph
        line
            sentence
                subsentence
                prosa
                    word
                        morpheme
                            char

Note that the prosa object is different from the others, since it might sometimes be larger than or smaller than the units listed above or below it here. That is due to its nature as a semantic rather than syntactic object.

I agree. I have thought about implementing this, but as I was not entirely sure I have left it as it was so far.
Although you do say that prosaic units do not necessarily align with other syntactic units, I do think they must always align with words, am I not right? The word being the unit that is stressed or not.

Prosaic unit implemented in https://github.com/CambridgeSemiticsLab/nena_corpus/commit/9ffd36ad42c8335b9f4f2938e0ce7b8da23a2c6e


chore(release): v0.11.6

:robot: I have created a release beep boop
0.11.6 (2023-08-05)
Bug Fixes

prefers media variables not work without directives. (e4d3912)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/sira-design/sira/releases/tag/v0.11.6 :sunflower:


CHAOSPLT-159: Check if iptables rules exists after failing to delet…

…e them
What does this PR do?

[ ] Adds new functionality
[ ] Alters existing functionality
[ ] Fixes a bug
[ ] Improves documentation or testing

Please briefly describe your changes as well as the motivation behind them:

Follow-up from #786
I forgot to consider that the two different disruption kinds are running different injector pods, so their Clean action will happen in parallel, meaning we can't safely check if rules exist and then delete them. It's more practical to always attempt the deletion, and if it fails, check if it exists or not. If it doesn't, we can ignore the error

Code Quality Checklist

[ ] The documentation is up to date.
[ ] My code is sufficiently commented and passes continuous integration checks.
[ ] I have signed my commit (see Contributing Docs).

Testing

[ ] I leveraged continuous integration testing

[ ] by depending on existing unit tests or end-to-end tests.
[ ] by adding new unit tests or end-to-end tests.

[x] I manually tested the following steps:

x
[x] locally following the steps Joris put in the ticket
[ ] as a canary deployment to a cluster.

After enough surprise restarts of a target, I'm able to see the expected log indicating we tried to double delete:
{"level":"info","ts":1698247305463.128,"caller":"network/iptables.go:76","message":"iptables rule doesn't exist anymore, skipping cleaning","disruptionName":"dns","disruptionNamespace":"chaos-demo","targetName":"demo-curl-bbc858869-r727t","targetNodeName":"lima-philip-thompson","targetLevel":"pod","target":"write-file","table":"mangle","chain":"POSTROUTING","rulespec":["-m","cgroup","--path","kubepods.slice/kubepods-pod84e50685_e114_4277_8961_919e0b228732.slice/cri-containerd-35765297e8393a3185f696a635c35f00636a6869f1984b95c166ab8d223935a7.scope","-j","MARK","--set-mark","0x00020002"]}

and no pods get stuck on cleanup.


Is there anyway to clear the Cookie property in request header with HtmlUnit?

I'm trying to access a page and there is some problem with the cookie property in request header. When I compare with the header received from another browsers (like Chrome), the cookie seems to be different.
The cookie I got from Chrome: ADRUM_BTa= xxxx
The cookie I got from Htmlunit:  AMCVS_xxxx
The AMCVS cookie leads me to a 401 code.
Please help

Any chance to provide some code to let me reproduce this?
Outside of this you can access all the cookies (and manipulate) using the Cookie manager from the WebClient.

Sorry, It was a bad question, I will close this and open a new one If I have more detail on this case

Thanks for the feedback - will be great if you can provide a more detailed case.


Added a very simple style to the codeblock in the readme

Added a very simple style to the codeblock in the readme

Added a very simple style to the codeblock in the readme


MatAutoComplete and CDKVirtualScrollViewPort issues with selected indicator

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
I don't know if this is a regression with Angular 15 MDC, as we only tried using this recently, and not on a previous angular version.
Description
When trying to use a cdk-virtual-scroll-viewport with a mat-autocomplete the selected checkmark indicator is repeatedly displayed for unselected options, and regular intervals, based on where the actual selected item is in the list.
Reproduction
    <mat-autocomplete #auto="matAutocomplete" [displayWith]="supplierDisplayFn">
      <cdk-virtual-scroll-viewport [ngStyle]="{height: '200px'}" itemSize="25">
        <mat-option *cdkVirtualFor="let l of filteredSuppliers | async" [value]="l">
          {{ l.supplierCode }} - {{ l.supplierName }}
        </mat-option>
      </cdk-virtual-scroll-viewport>
    </mat-autocomplete>

Expected Behavior
Only the actual selected item should be shown selected with the checkmark icon.
Actual Behavior
if the second item is selected, then when the viewport is refreshed with the next set of items, the 2nd item of the new set is also selected.
Environment

Angular: 15.2.7
CDK/Material: 15.2.7

Closing since we don't support virtual scrolling in the autocomplete yet.


Theme change button

There must be a theme change button . Please assign me this task under gssoc-extended , hacktober fest and with appropriate level.

@Devanshu1603 assigned!, label will be awarded after the review of PR

@Devanshu1603 resolved this issue!


Link preview

Sorry, I'm developing for fun and I don't know much about github, so please forgive my ignorance.
I have an idea to be added to alright (nice job, by the way @Kalebu ):

A function to send a link with link preview.

First I added another wait in init:
        self.wait2 = WebDriverWait(self.browser, 5)
Then the new function:
    def send_link(self, message):
        try:
            inp_xpath = '//*[@id="main"]/footer/div[1]/div[2]/div/div[1]/div/div[2]'
            lnk_xpath = '//*[@id="main"]/footer/div[2]/div[1]/div[5]/div[1]/div[1]'
            input_box = self.wait.until(
                EC.presence_of_element_located((By.XPATH, inp_xpath)))
            input_box.send_keys(message + Keys.SPACE)
            try:
                input_box2 = self.wait2.until(
                    EC.presence_of_element_located((By.XPATH, lnk_xpath)))
            except:
                pass
            input_box.send_keys(" " + Keys.ENTER)
            print(f"Message with link sent successfuly to {self.mobile}")
        except (NoSuchElementException, Exception) as bug:
            print(bug)
            print(f'Failed to send a message with link to {self.mobile}')

        finally:
            print("send_link() finished running ")

It waits for 5 seconds for the preview to load, if it didn't load, then it sends the message anyway without preview.

Create a pull request to add your function.
See https://opensource.com/article/19/7/create-pull-request-github to learn how

Hello @amelsakka, You're warmly welcomed to the team of alright  contributors.
Hope that the link shared by @vadolasi  will help you figure out on making your feature added to alright.
Let us know if you will face any issues in the process of making your contribution.
Wish you the best of luck
Best regards
Kalebu


Patch quorum fix server 4.0

Description
T9s v4 doesn't have the Quorum scrubbed users fix, and is also missing the fix for correct Read/Write scopes on socket connection. Cherry-picking some commits:

server: provided user was not an azure user fixes (microsoft#20150)
786abfa

server: fix mutable quorum snapshot (microsoft#20329)
5de9472

fix: send correct connection scopes for client (microsoft#20312)
7d07fc5

I think it would be good to document what commits this cherry-picks in the PR description and commit message. Probably also include the changesets associated with those fixes (or however server does its release notes generation) since the release notes should really include that this fix is in the release.

Updated the PR description to include the PR, commit sha, and commit message. Working on adding changelogs


Add pystack to debug hanging linux test

Description
Pystack is bloomberg stack analysis tool for live debugging python process that includes also C stack.
It has ability to attach to running process and print stactrace.
The pytest-pystack plugin do this for test. If test is not finished under given period (60 seconds here) it will print trace to show where process is.
As we have problem oh hanging test I think it may be worth to try this.
Unfortunately this solution is linux only.

Let's try, merging to start a fresh week tomorrow with stacks !


_create() not fetching relations. Shouldn't it use insertGraphAndFetch()

_create(), which uses internal class method _getCreatedRecords() is not fetching relations. However, _update() and _patch() do fetch relations but is using upsertGraphAndFetch().
Does it make sense that _create() should use insertGraphAndFetch(), similarly to patch/update? Is there some reason I'm don't see, favoring _getCreatedRecords() over insertGraphAndFetch()?

Hi @bslayton, I have no idea, but Maybe @mdmitry01 can answer this one.


decouple time_interval from observable

A minor update -- decoupled time_interval from observable.
Please review.
Thank you,
Grigoriy

Thank you!


Make message updates generic

Supersedes https://github.com/telegraf/telegraf/pull/1691.

Why only for messages and nothing else? This is inconsistent.

Callback query updates are also unions. So but it was your intention to apply this pattern to the complete API?

They aren't actual unions. Changing them to match would be breaking, and is thus out of scope.

LGTM


TypeError: Cannot read property 'unshift' of undefined

Steps:

npm install -g ndb
Run ndb script.js:

Thanks!
This one should be fixed. This error related to old ndb package that most likely was not updated yet when you installed ndb.


Ids not URL-encoded in 2.0.0-alpha2

In the 1.7.1 release an id like, for example, 'my/id' would be URL-encoded in the HTTP request, but this no longer happens in 2.0.0-alpha2.

Thanks for reporting this @joelse huge oversight! Its why we co-created PUrify in the first place so that / are always properly escaped :smile:
Thanks for catching this before we did our first 2.0 release!


Update tested AGP versions

from 8.0.0-beta02 to 8.0.0-beta03
from 8.1.0-alpha03 to 8.1.0-alpha05

@bot-gradle test AST, APT, AFT

I've triggered the following builds for you:

AllSmokeTestsPullRequestFeedback build
AllPerformanceTestsReadyForRelease build
AllFunctionalTestsPullRequestFeedback build

@bot-gradle test and merge

I've triggered a build for you.


[BUG] - SNR of water spectra not correct - OspreyProcess - Richard Edden

Describe the bug
Water spectra SNR values are extremely low, because they are incorrectly calculated from the 2 ppm region of the spectrum.
To Reproduce
Steps to reproduce the behavior:
Compare water and metabolite SNR values.
Expected behavior
Water SNR should be calculated based on the water signal

Solved in #764 Osprey 2.6.5


release page cosmetic fix

remove extra v prefix in release workflow !cosmetic

Replaced by https://github.com/PennyDreadfulMTG/pystache/pull/12 which does the same thing because my github-fu is not strong enough to make the conflict with master go away on someone else's PR.


mongodb: Add custom database name

Hi @Tirke,
I added the option to use a custom database.
Added tests and updated the readme similar to the custom collection name feature.

thanks for the change @tim-hoffmann could I ask you to generate the changeset by running pnpm changeset and following the instructions? Minor patch should be good.

thanks for the change @tim-hoffmann could I ask you to generate the changeset by running pnpm changeset and following the instructions? Minor patch should be good.

Thanks for the quick response! I created the changeset.

thanks for the PR @tim-hoffmann


Multiple eslint-plugin package approach that may fix #8

Continue on the https://github.com/eslint-react/eslint-react/tree/flat-config branch if we need to do this.

@hyoban if we can not keep the same rule name format like jsx/no-array-index-key in FlatConfig, you can make PR in this approach to help with refactoring into multiple packages.
I'd really appreciate it.

I began to think about replacing  / with -, but this affects our original intention for classification. It may be a better way to cut it into different packages. This is also beneficial for us to maintain the relevant rules.

I'm very interested in this project. Can you invite me to join this team? I will try my best to do some work.

I'm very interested in this project. Can you invite me to join this team? I will try my best to do some work.

Sure, I'll send an invitation.

I began to think about replacing  / with -, but this affects our original intention for classification. It may be a better way to cut it into different packages. This is also beneficial for us to maintain the relevant rules.

agree.


More concise documentation

Documentation for genentropy methods can be combined to avoid duplication.
Documentation for probabilities methods can be combined to avoid duplication.

Done in #24.


Cant see watch sass

Hey there,
I can't sadly see watch sass button. No clue why.
My settings:

The extension only activates when a SASS/SCSS file is open (or in the workspace), you currently have a CSS file open.

Did this work @Valvepl ?

Closing as looks to be used error


Added instruction on how to remove an entry from the quick menu

I think you should note that you also must write the buffer :w and not just close the menu.

@MattTaylorQuodd Yep, you're right, will add, thanks.


Fixed the CSS URL when inside of a directory tree

This commit fixes a bug where the error page's CSS will 404 while inside of a directory tree.

Thanks bae :sparkling_heart: :hibiscus: :purple_heart: :blue_heart: :green_heart: :blue_heart: :purple_heart: :hibiscus: :sparkling_heart:


Unwanted rerender when dependencies change

I'm using a Popover with a component inside that emit change events to the outer component.
I've noticed that something inside this plugin causes the popover to hide whenever a value changes that's being used inside the popover. I can see the following in the events:

Document click
Hide
Update:open
Dispose

I'm struggling to figure out what I can do to prevent this from happening. I've tried setting the global options regarding hidiing VTooltip but nothing seems to work.

Please provide a minimal runnable reproduction. :pray:


add licenses

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.15 out of 16 committers have signed the CLA.:white_check_mark: cloud1305:white_check_mark: Youngwb:white_check_mark: Seaven:white_check_mark: Pslydhh:white_check_mark: dirtysalt:white_check_mark: sduzh:white_check_mark: starrocks-xueli:white_check_mark: kangkaisen:white_check_mark: Astralidea:white_check_mark: wyb:white_check_mark: HangyuanLiu:white_check_mark: liuyehcf:white_check_mark: Linkerist:white_check_mark: mklzl:white_check_mark: jaogoy:x: 李蛟李蛟 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Support Swoole

Could you optimize all the std::string temporary objects, which have a greater impact on performance in the critical path, thanks 😁


Fix cake path

Moving question.html up a level in path invalidated the path to cake.

Thanks! Adding @eyurko to review to check compatibility with server version.

Btw, @eyurko -- we should also make sure our e2e test paths cover this sort of thing. I can see it being a common issue since the cake isn't displayed on the page at the outset.


Startup Argument Testing

Test:

if locality of object matters

try Storage in global and Storage in local scope

if size of object matters
if concrete reference to class matters
if location of cast matters

Fixed in a5168d368db17decaf9007ae27e40d8f3830be89


Canvas elements not garbage collected on iOS 12

Describe the bug
Safari on iOS 12 has a bug where it doesn't properly garbage collect canvas elements unless you explicitly give the canvas elements a width and height of 0 when they are no longer meant to be used. See https://bugs.webkit.org/show_bug.cgi?id=195325 and the reduced testcase I attached to that bug report.
I previously described this bug in https://github.com/openlayers/openlayers/issues/9166 but I'm creating a new issue now that I have more information since my bug is a bit different.
To Reproduce
Steps to reproduce the behavior:

Open https://dist-gkmkekevph.now.sh on an iPhone running iOS 12 (I'm using iOS 12.1.4 on an iPhone X)
If possible, connect the iPhone to a Mac and debug Safari on the iPhone via Safari on the Mac using devtools
Click the Destroy map button and then the Create map button
Repeat step 3 several times (it takes me about 14 destroy/create clicks before I get the error)
Safari either fails with the message "This web page was reloaded because a problem occured", or the map silently fails and becomes white and the console tab in devtools (if you did step 2) will show the message "Total canvas memory use exceeds the maximum limit (288 MB)."

Expected behavior
The map should continue to work fine no matter how many times you destroy and recreate the map in step 3.
Further information
The testcase uses<EMAIL_ADDRESS>and the source is available on https://github.com/esseb/openlayers-ios-canvas-memory
The testcase may make it seem like this bug is extremely obscure and unlikely to occur in the wild, but the severity of the bug depends on how developers use the map. My testcase doesn't create or hide a lot a of layers in order make it as simple as possible. I can hit the bug very quickly on https://www.yr.no/en/map/weather/1-72837/Norway/Oslo/Oslo/Oslo if I go from the "Map" tab to the "Overview" tab and back to the "Map" again a single time on an iPhone X.
Based on the reduced testcase I created for the bug report I sent to WebKit (see the description at the top) I believe OpenLayers has to explicitly give canvas elements a width and height of 0 when they are no longer necessary.

No problems on iOS 11 (tested on browserstack, I don't know the exact OS version since they don't list it).
No problems on Chrome v72.0.3626.121 on Samsung S9.
This issue is visible in Safari on Mac also, not just iPhone, but the higher canvas memory limit makes it much more difficult to trigger the bug there. However, if you open the testcase on Safari on Mac, open devtools and switch to the "Canvas" tab, then follow the test instructions to destroy/create the map several times you can see the list of canvas elements increase each time the map is recreated and (almost) never decrease.

We set the canvas width and height to 0 already for labels and vector tiles. We'd gladly accept a pull request to do the same elsewhere.

Do you have any hints where to begin? The canvas code in OpenLayers was a bit challenging to unwrap when I attempted yesterday.

@esseb we've added more canvas cleaning in #9306

@fredj I updated https://github.com/esseb/openlayers-ios-canvas-memory to use 6.0.0-beta-3 now, which includes your fix, available at https://dist-ccrpdkwnih.now.sh
Unfortunately there is no change. Safari warns "Total canvas memory use exceeds the maximum limit (288 MB)." after recreating the map about 9 times.

See #9556 and #9561

Is this possible that this problem is also present in<EMAIL_ADDRESS>

Yes, it was only fixed in ol@6

Would it be possible to provide a backport to v5, since v6 might not come out very soon?

Please install v6, the betas are very mature already.
npm install ol@beta

I am using<EMAIL_ADDRESS>and facing the same issue! I am using openlayers with ionic and I have a lots of layers to load on map! After loading them for the second time i will get this issue. Total canvas memory use exceeds the maximum limit (224 MB) and after that non of the layers will load on map. Is there any work around or hack to solve this issue?

There has been a lot of work around this since 6.1.1. Please upgrade to the latest.

@ahocevar I upgraded the ol to 6.3.1 and I also set the pixel ratio property on the Map to 1.
this.map = new Map({ pixelRatio: Math.min(window.devicePixelRatio, 1), projection: this.mapProjection, layers: [this.googleLayer] })
and I still have the same issue.

Then you probably have too many layers. The solution is to re-organize your app to show less layers at the same time.


Getting Error Loading Image to DeepFace

Hi Mr Sefik, thanks for this awesome deepface
Current DeepFace version am using is deepface==0.0.37 tried with many different versions, and it's still giving me the same error.
I also get similar errors when testing https://github.com/serengil/deepface/blob/master/tests/Ensemble-Face-Recognition.py
here are the following images showing the errors that am going through.
there are some issues in https://github.com/serengil/deepface/blob/master/deepface/commons/functions.py
https://github.com/serengil/deepface/blob/5ffeaa436ee3e8c36fe71e652058960ad00e3e8e/deepface/commons/functions.py#L104

Idk what am doing wrong here, i got similar error while testing model in here too https://github.com/serengil/tensorflow-101/blob/master/python/openface-real-time.py and same to this one and other https://github.com/serengil/tensorflow-101/blob/master/python/fb-deepface-real-time.py

Exception message says everything. There is not target.jpg in the first one, and face area could not be detected in target.jpg in the second one. You can set enforce_detection = False as mentioned in the message.
BTW, is there a _ character in My Drive folder? If there is not, please add.

I've set enforce_detection = False as well. it's still the same issues.
it could be there is some issues in my end. bc i tried couple of different way it's the same issues. I haven't tested on the same datasets that you provided on here https://github.com/serengil/deepface/tree/master/tests/dataset and still get some issues
this is the issues i got into

perhaps you could tell me how to avoid these two issues raised by https://github.com/serengil/deepface/blob/5ffeaa436ee3e8c36fe71e652058960ad00e3e8e/deepface/commons/functions.py#L104
1-  ValueError: Face could not be detected. Please confirm that the picture is a face photo or consider to set enforce_detection param to False.
2- attached picture
3- ValueError: ('Confirm that ', 'target.jpg', ' exists')
perhaps u could share if u do have sample data that i could test without getting this kind of errors as well
Thanks.

Is this really exists? "your current directory/deepface/tests/dataset/img1.jpg"

Yes it does exist Sir

fixed thanks for response 👌🏾👌🏾


make text to be selectable in output windows (specially in disassembly view window in c++ extesion)

Feature Request

This is the disassembly view window in c++ extesion.

We can't select text in the disassembly view window.
This window cannot be implemented as a readonly text buffer for the reason described here
It would be convenient if you could select text visible on the screen and copy it.

I don't think we should try to make the whole thing selectable, since it is virtualized. But we could add a "copy all" context menu item, which I would do as part of this issue to support a context menu: https://github.com/microsoft/vscode/issues/171548


List of CVE in Crate DB

I have been checking the NVD and mitre for vulnerability in cratedb. I have not found any.
I have checked the github issues and also community for the same but only one vulnerability was reported which was related to log4j.
I would like to know if there is any other link where I can find the vulnerability in cratedb or where vulnerabilities are reported.

@mfussenegger Please let me know if there is any other link for vulnerability in cratedb.

Hi @pooja1pathak,
Thank you very much for this important question.
Please have a look at the bug fixes in our github repositories. If you find potential security issues, please report them directly to<EMAIL_ADDRESS>Thank you,
Christian

Hi @pooja1pathak,
we also enabled the Private Security Vulnerability Reporting for the crate repository.
https://github.com/crate/crate/security/advisories


locale resource times out after 600 s

Description

Cooking a node with a recipe that includes:

locale 'set locale' do
    lang "en_US.UTF-8"
end

fails before completed.
I'm lacking a way to extend the timeout value.
Chef Version

Chef Infra Client, version 16.6.14
Platform Version

Ubuntu 20.04 LTS
Replication Case

This is too hard to replicate. I am cooking the same node as the Chef Workstation runs on using a modified version of knife solo.
Client Output

  * locale[set locale] action update

    ================================================================================
    Error executing action `update` on resource 'locale[set locale]'
    ================================================================================

    Mixlib::ShellOut::CommandTimeout
    --------------------------------
    Command timed out after 600s:
    Command exceeded allowed execution time, process terminated
    ---- Begin output of locale-gen ----
    STDOUT: Generating locales (this might take a while)...
      aa_DJ.ISO-8859-1... done
      aa_DJ.UTF-8... done
     :
      sm_WS.UTF-8...
    STDERR:
    ---- End output of locale-gen ----
    Ran locale-gen returned
    :

Stacktrace

N/A

We should be able to just kick up the timeout in the shell_out call in this method. I've tagged this for our sustaining engineering team so it can be updated. Thanks for the issue @janskarvall


[21.05] gitea: startup script changes

Motivation for this change
Backports of https://github.com/NixOS/nixpkgs/pull/129861, https://github.com/NixOS/nixpkgs/pull/132882
Things done

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

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

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.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

[x] Fits CONTRIBUTING.md.

Can you elaborate on the need to backport these ? Notably #129861 looks like a performance improvement only, so not obviously worth the risk backporting.
https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#criteria-for-backporting-changes

The performance difference I'm seeing is from hours to seconds. systemctl start gitea would routinely timeout when starting gitea before these changes.
Perhaps I've just hit a pathological case, but I'm running this on stable with no issues.

I think the rule for backporting is there to limit the amount of PRs we have to deal with as maintainers.
Given the fact that this helps people, how about we make an exception ?
I don't feel this would set a precedent, and I think that the rule about backporting has been made clear.
@symphorien I am happy to go both ways, if you feel strongly about this.

no strong feelings either way. I you tested it and it works please go ahead!

Amazing. I'm just about to test it on monday. I'll update when I've had a run.

finally had the chance to test. Looks good.


MaliputViewer: Road geometry configuration

Context
When loading a RoadGeometry it is probably that the configuration used to build the lanes is needed to be changed
For example, when using maliput_malidrive backend to load a xodr map it would be great to select from UI the different flags that could be passed to the builder.
Given that not all the backend use the same flags providing a way to load a dictionary of strings from the UI and the to be parsed internally and generate the correspondent road geometry configuration is a good way to solve this.
Victory condition
Load a road network with the possibility to tune the configuration for the builder by introducing a pair key-value to a field (dynamic table?)

Note: Issue's description has evolved to a more general one. For reference, this is the old one:
Even though after https://github.com/ToyotaResearchInstitute/maliput_malidrive/pull/77 the tolerance is automatically selected probably it would be nice to be able to introduce a base linear tolerance before hitting the load button.

At the moment the used linear tolerance is just `1e-3`.
So according to the automatic tolerance selection algorithm it is at maximum tolerance of `1e-3*(1.1)^20 ~= 7e-3`.
So it could fail.

Now that we have maliput_osm this necessity has been raised again.
It would be nice to have:

A dropdown menu for selecting an available plugin(backend)
A way to add/visualize the key-value pairs parameters that are used for road geometry creation.

From proposal during the weekly meeting:
Support for maliput backends as plugins
Context:

Nowadays we are compiling against the backends

We have to manually add support and the configuration options for each backend are hardcoded

Proposal:

Load backends as plugins

Users will be able to quickly visualize their own backends

Modify UI to be able to

select the backend you want to use based on the plugin discovery when the app is opened.
change the parameters to be passed to the loaders.

Pros:

Parameters can be modified
User can try their own backends
SImply create the backend and register the road network loader plugin correctly

Effort: Medium(~1 week)


problems with installing pip3 dependencies

I'm getting pip install errors on my latest Kali VM. Any updates regarding requirements.txt  ?
Also how do I import/run the python3 module without setup.py ?

me too, i can't install requirements.txt

@greckko and @N-X-T change the requirements.txt to:
plotly
numpy
scipy
matplotlib
scikit_learn==0.22.2.post1```


to solve shadingRule, ShardingRuntimeContext init two.

Hi,i will find shadingRule and ShardingRuntimeContext have init 2 times，
this pr can fix it.

Codecov Report

Merging #4854 into master will decrease coverage by <.01%.
The diff coverage is 75%.

@@             Coverage Diff              @@
##             master    #4854      +/-   ##
============================================
- Coverage     56.09%   56.09%   -0.01%
  Complexity      449      449
============================================
  Files          1166     1166
  Lines         20900    20899       -1
  Branches       3889     3889
============================================
- Hits          11724    11723       -1
  Misses         8448     8448
  Partials        728      728

Impacted Files
Coverage Δ
Complexity Δ

...on/api/OrchestrationShardingDataSourceFactory.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...ing/boot/OrchestrationSpringBootConfiguration.java
88.37% <100%> (ø)
0 <0> (ø)
:arrow_down:

...al/datasource/OrchestrationShardingDataSource.java
94.87% <100%> (-0.13%)
0 <0> (ø)

...ml/YamlOrchestrationShardingDataSourceFactory.java
56.25% <100%> (ø)
0 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d252810...2058894. Read the comment docs.

Pull Request Test Coverage Report for Build 10409

3 of 4 (75.0%)  changed or added relevant lines in 4 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.007%) to 59.634%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sharding-jdbc/sharding-jdbc-orchestration/src/main/java/org/apache/shardingsphere/shardingjdbc/orchestration/api/OrchestrationShardingDataSourceFactory.java
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

sharding-orchestration/sharding-orchestration-core/sharding-orchestration-core-registrycenter/src/main/java/org/apache/shardingsphere/orchestration/core/registrycenter/util/IpUtils.java
3
76.0%

Totals

Change from base Build 1121:
-0.007%

Covered Lines:
12463

Relevant Lines:
20899

💛  - Coveralls


Add extensions to beachball

Adds msal-node-extensions to the beachballrc

Do you want to generate a change file for extensions as part of this PR, to have it make the proper bump for teh next release?


Development

Coverage increased (+5.8%) to 71.64% when pulling e6ad0d3f5fbc88d710f1c12eaac5c5161ddb3f9c on development into 107b6ef2a551fec54a85bc9477b28c4342526bda on master.


feat(data-table): add expanded-row-remain-sticky option

close #3485

补一下 changelog

要不要加个什么 expand-sticky 之类的 option？还是说直接放 breaking changes 里

要不要加个什么 expand-sticky 之类的 option？还是说直接放 breaking changes 里

加一个吧

Codecov Report

Merging #3488 (2b97ddd) into main (60015b1) will decrease coverage by 0.00%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main    #3488      +/-   ##
==========================================
- Coverage   62.99%   62.99%   -0.01%
==========================================
  Files        1056     1056
  Lines       21923    21925       +2
  Branches     5719     5720       +1
==========================================
+ Hits        13811    13812       +1
  Misses       6623     6623
- Partials     1489     1490       +1

Impacted Files
Coverage Δ

src/data-table/src/DataTable.tsx
70.93% <ø> (ø)

src/data-table/src/TableParts/Body.tsx
62.98% <0.00%> (-0.23%)
:arrow_down:

src/data-table/src/interface.ts
100.00% <ø> (ø)

src/data-table/src/styles/index.cssr.ts
100.00% <ø> (ø)

src/data-table/src/use-expand.ts
61.76% <100.00%> (+1.15%)
:arrow_up:

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

343d032f6ab4133e47f8d142bb6569b28403d4d3
我重新写了一下，body width 那块说明你对渲染性能还不够熟悉


Quick search box in BQL doc returns nothing for important keywords

Trying the quick-search box for the  BQL doc for the keywords generator and csv returns an empty page as result.
Ideally, it would have told me what queries are documented that contain those keywords.

It looks like the search function generated by sphinx is just completely broken.  I can't get any answers out of it.

Should be fixed at http://probcomp.csail.mit.edu/bayesdb/doc/ by b2ca081f


Texture Inspector Tools

Adds many features related to tools

Enables the toolbar UI on the left
Adds a color picker for choosing the color to paint with
Adds three default tools, paintbrush, floodfill, and eyedropper
Adds a button for importing external tools from JS files

Also adds several other features:

Texture resizing
Texture uploading
Performance improvements
Responsive UI: top tabs only show if the screen is wide enough for them
Fixes bugs with inverted textures

linting issue else LGTM

Good job Buddy!


ladder is too slow (few games + badly chosen opponents + illegal scoring)

The problem consists of many parts, all of them leading to a poor AI developer experinence:

First, there are too few games played. I've submitted my AI 2 days ago, and even though it's TOP 50 (or better), it only played one game so far. 1 win, 0 losses for 2 days.

There are players whose code is incorrect for more than a year, and they are still in TOP-10 (one of them is TOP-1, see https://codecombat.com/play/ladder/multiplayer-treasure-grove#ladder

opponents are chosen badly. So far my AI (blue team, player "heavy") has played 61 games, winning all of them. Yet, it's still only TOP-60, because the server did not assign strong enough opponents for my AI. (I know they exist because some of the TOP-10 actually beat me, as I've observed locally.) Anyway, the problem is that the server does not assign players with relatively the same strength as my AI is, but it should.

Note: I'm simulating a lot recently, about 20k games were simulated in the last days. It probably helps, but things are still bad (see 1-st problem).

Offtopic: psychology studies say that people are most enthusiastic to improve some skill if they have about 50% of successes/failures (solved or not problems from a collection, wins/losses etc). Addressing the 3-rd problem I wrote could actually make the ratio closer to 50% for lots of the player, which could (I'm obviously speculating) improve the interest for the users.

We just happened to be discussing another strategy for this in Slack, so I'll save that discussion here, too:
danny: I was just looking at codecombat/server/queues/scoring/getTwoGames.coffee to try to understand how simulations are done better.  How is this interpretation:

Try to do a match against players that are in the same clan as the simulator first, failing that, do a match amongst any players.
Select 2 sessions to match against each other.
a. One will be weighted toward recent submissions
b. Other will be random of all matches
c. Randomly choose which side will be which (edited)

danny: Questions I have.  Would it be resource efficient to have the selections for the sessions to be:

Select 'humans' or 'ogres' at random.
From the side selected, randomly select from sessions that don't have at least 200 matches played.
a. If all have at least 200 matches, select a random session weighted toward recent submissions.
From other side randomly select from all, but weighted toward sessions that have had the longest time since last simulation.
a. If these 2 have a result already, if so, return to step 3.
b. If ten attempts have been made and all are repeats, default to just random against random.

nick: unfortunately we would need to create new database index fields for steps 2 and 3
so something like that is possible now with Mongo 3.4, but would take a long time to reconfigure
I wonder what the perfect simulation system would be. If we are going to do a large changes to it, I’d want to get big bang out of it. The scheme you proposed fixes part of the problem, but doesn’t fix the human vs. ogre imbalance problem, doesn’t do anything to help people simulate the matches they care about seeing results for now, and doesn’t help simulate against the AI opponents
danny: I'd love to see a way that a user could target a specific player to get a simulation done for that battle.
OK, so what if first stage of simulation for all sessions is to make their way up the AI opponent list until they fail to beat an AI, then the session is ranked against others that have matched the same number of AIs.  So if I can't beat the first AI, my random matches are only against others that can't be the first AI.  Then the rankings would be based off of which AI was defeated first, then off of performances against other opponents.
nick: mm, interesting approach
brings back some of the complexities of a multi-stage process, but if we rewrite most of this logic in a more modern architecture, maybe none of this has to be so complicated that it couldn’t work
could merge that with the original Bayesian ranking thing that Michael had put together for playing opponents around your skill level
danny: I guess then, when you submit for ranking, you should fairly quickly be able to see what tier you are in.  I assume that could be stored to the database and retrieved when picking matches.

Thanks. Ok, I think the first problem one has to answer is -- what exactly are we trying to fix?
Things I know of:

outdated info, like the top1 player's AI not compiling.
show the player both great AIs and weak ones, to have a bigger picture, not give up etc. I would personally say 30-70% win percent is a valid goal.
show non-obvious opponents and tactics. Obviously, that's complex. Maybe selecting "contradictory" players will help (those with unstable rank that can beat stringer gyus/gals but loose to weaker).
make rank determination fast. Less games to get a good estimate. Less time for the player to wait.
Reduce server load. Players with good-enough estimations should be less engaged. Some other things to consider here?

To be continued...
Sent from my mobile device. Please excuse my brevity.

I won't suggest very concrete algorithms, but something among the line of those algos could work:

for 2,4 -- try to assign big part of the games with relatively similar opponents. For example, just pick a number following a normal distribution around hero-s own strength, and take the opponent closest to the chosen value.

for 1, reset statistics (by rolling model or instantly) because of non-compatible code format. This way the visible list of TOP AI algorithms will actually contain good code that one can fight against. Yeah, it feels bad for the "old heroes", but the reason is code incompatibility anyway, not outdated statistics.

for the 7 part, the server could send a clique (as in graph theory and social sciences) of players for simulating, and expect the client to return the results of each player playing against each other. This way, the server will have less outgoing traffic, maybe less incoming traffic (if the client can send it in pack), and the client can reuse parts like code transformation (if there is such a step at all). Maybe in practice this thing is of little importance, IDK.

Thoughts? Questions?

EDIT: added another case --^

@schmatz what do you think–how would you do it today?

Will think about it and get back to you.

@schmatz thanks! It'd be cool to address some of those problems.

So glad this is getting some traction again.  All I want for Christmas is an improved ladder system!


[Bug] Crashes when using shift enter or creating a new line in channel text box

Describe the Bug

creating a new line from too many characters or using shift enter to create a new line will crash the app
To Reproduce

sue enough characters to create a new line or press shift enter
Expected Behavior

the client wouldn't crash and a new line would be created
Screenshots

N/A
Discord Version

Stable
Additional Context

Tested with someone on stable non-BD and they didn't crash, all BD users crashed however

reinstall BD

duplicate of #568 and already fixed

See above


Add real Questions in FAQ.

Right now the website shows dummy questions in the FAQ section. ( with lorem ipsum text )

We can add real questions to make the website more professional.
I’d be happy to work on this issue and contribute to improving the overall user experience.

@aasiflm10 hello feel free to add FAQ but add professional and related to problem we are solving. create pull request with dev branch after completing the issue.

sure. working on it.

I have included the following questions to help users understand what NexMeet is all about and how to use it:
Q1. What is NexMeet?
NexMeet is your go-to platform for organizing college and social events. Whether it's a campus fest, a chill hangout, or any gathering, NexMeet makes it super easy to plan, manage, and enjoy. We’re all about bringing people together and making event planning fun and hassle-free!
Q2. How do i register for Events?
Registering for events on NexMeet is a breeze! Just hop onto the platform, browse through the events that catch your eye using Explore events tab, and hit the "Register" button. Fill in the details, and boom—you’re in! Now, all you have to do is show up and have fun!
Q3. Where can I view the events I've registered for?
You must Signin to keep track of your registered events. To check out your registered events, just head to your profile on NexMeet. You'll see a list of all the events you’ve signed up for—easy access, all in one place! Time to plan your social calendar like a pro!
Q4. Can I create my own custom events?
Absolutely! With NexMeet, you can create your own events and invite your crew. Just head over to your Profile page, click on "Organise Your Own Event", fill in the details, and share it with your community. It’s as simple as that—your event, your rules!
Here's a preview of how the FAQ UI looks:

If you have any other questions you'd like to add, feel free to let me know! Otherwise, if this looks good, I can go ahead and create a pull request.

make PR but i thinks its chatgpt generate change the content don't write that much info make point to point and add more questions

I am out of questions to write in FAQ.
Please check if any of the following questions are worth adding?

How do I cancel my event registration?

Can I edit the details of my event after it's created?

Is there a way to invite my friends to an event?

How do I discover trending or popular events?

Is there a limit to how many events I can create?

Can I get notifications for upcoming events?

Okay Add And Make PR but the answer should be one liners or two

Merged Successfully Don't Open PR now

thx :)


After installing node via nvm, the command is not working properly

After installing node, the folder v10.24.1 can be found, but it cannot work properly.

I have solved the problem that I couldn't create a shortcut for nosejs through symlink in my external hard drive. I installed nvm on the local disk and the problem was resolved. Sorry for the inconvenience.


Add Py34 support

closes #27

I am out of the office until 10/08/2016.
For urgent matter, please contact the TEP Core Team (tepcoreteam@esa.int).
Note: This is an automated response to your message
"[EGI-FCTF/cloud-bdii-provider] Add Py34 support (#28)" sent on 7/18/2016
11:46:33 AM.
This is the only notification you will receive while this person is away.
This message and any attachments are intended for the use of the addressee or addressees only.
The unauthorised disclosure, use, dissemination or copying (either in whole or in part) of its
content is not permitted.
If you received this message in error, please notify the sender and delete it from your system.
Emails can be altered and their integrity cannot be guaranteed by the sender.
Please consider the environment before printing this email.

I am out of the office until 10/08/2016.
For urgent matter, please contact the TEP Core Team (tepcoreteam@esa.int).
Note: This is an automated response to your message  "Re:
[EGI-FCTF/cloud-bdii-provider] Add Py34 support (#28)" sent on 7/18/2016
11:52:31 AM.
This is the only notification you will receive while this person is away.
This message and any attachments are intended for the use of the addressee or addressees only.
The unauthorised disclosure, use, dissemination or copying (either in whole or in part) of its
content is not permitted.
If you received this message in error, please notify the sender and delete it from your system.
Emails can be altered and their integrity cannot be guaranteed by the sender.
Please consider the environment before printing this email.


Constantly getting 404 errors for base images that exist and can be pulled by the Docker CLI

I am currently trying to use a custom base image for one of my containers, but for some reason I keep getting 404 errors from the "CreateNewImage" task provided by container builds.
Here is the exception that I get when I attempt to pull a private image from ghcr.io:
/Users/kirk/.nuget/packages/microsoft.net.build.containers/0.3.2/build/Microsoft.NET.Build.Containers.targets(114,9): error MSB4018: The "CreateNewImage" task failed unexpectedly. [/Users/kirk/repos/jatango/Jatango/src/Infinity.Host/Infinity.Host.csproj]
/Users/kirk/.nuget/packages/microsoft.net.build.containers/0.3.2/build/Microsoft.NET.Build.Containers.targets(114,9): error MSB4018: System.AggregateException: One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).) [/Users/kirk/repos/jatango/Jatango/src/Infinity.Host/Infinity.Host.csproj]
/Users/kirk/.nuget/packages/microsoft.net.build.containers/0.3.2/build/Microsoft.NET.Build.Containers.targets(114,9): error MSB4018:  ---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found). [/Users/kirk/repos/jatango/Jatango/src/Infinity.Host/Infinity.Host.csproj]
/Users/kirk/.nuget/packages/microsoft.net.build.containers/0.3.2/build/Microsoft.NET.Build.Containers.targets(114,9): error MSB4018:    at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() [/Users/kirk/repos/jatango/Jatango/src/Infinity.Host/Infinity.Host.csproj]
/Users/kirk/.nuget/packages/microsoft.net.build.containers/0.3.2/build/Microsoft.NET.Build.Containers.targets(114,9): error MSB4018:    at Microsoft.NET.Build.Containers.Registry.GetManifest(String repositoryName, String reference) in D:\a\_work\1\s\Microsoft.NET.Build.Containers\Registry.cs:line 136 [/Users/kirk/repos/jatango/Jatango/src/Infinity.Host/Infinity.Host.csproj]
/Users/kirk/.nuget/packages/microsoft.net.build.containers/0.3.2/build/Microsoft.NET.Build.Containers.targets(114,9): error MSB4018:    at Microsoft.NET.Build.Containers.Registry.GetImageManifest(String repositoryName, String reference, String runtimeIdentifier, String runtimeIdentifierGraphPath) in D:\a\_work\1\s\Microsoft.NET.Build.Containers\Registry.cs:line 100 [/Users/kirk/repos/jatango/Jatango/src/Infinity.Host/Infinity.Host.csproj]
/Users/kirk/.nuget/packages/microsoft.net.build.containers/0.3.2/build/Microsoft.NET.Build.Containers.targets(114,9): error MSB4018:    --- End of inner exception stack trace --- [/Users/kirk/repos/jatango/Jatango/src/Infinity.Host/Infinity.Host.csproj]
/Users/kirk/.nuget/packages/microsoft.net.build.containers/0.3.2/build/Microsoft.NET.Build.Containers.targets(114,9): error MSB4018:    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) [/Users/kirk/repos/jatango/Jatango/src/Infinity.Host/Infinity.Host.csproj]
/Users/kirk/.nuget/packages/microsoft.net.build.containers/0.3.2/build/Microsoft.NET.Build.Containers.targets(114,9): error MSB4018:    at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) [/Users/kirk/repos/jatango/Jatango/src/Infinity.Host/Infinity.Host.csproj]
/Users/kirk/.nuget/packages/microsoft.net.build.containers/0.3.2/build/Microsoft.NET.Build.Containers.targets(114,9): error MSB4018:    at Microsoft.NET.Build.Containers.Tasks.CreateNewImage.GetBaseImage() in D:\a\_work\1\s\Microsoft.NET.Build.Containers\CreateNewImage.cs:line 81 [/Users/kirk/repos/jatango/Jatango/src/Infinity.Host/Infinity.Host.csproj]
/Users/kirk/.nuget/packages/microsoft.net.build.containers/0.3.2/build/Microsoft.NET.Build.Containers.targets(114,9): error MSB4018:    at Microsoft.NET.Build.Containers.Tasks.CreateNewImage.Execute() in D:\a\_work\1\s\Microsoft.NET.Build.Containers\CreateNewImage.cs:line 97 [/Users/kirk/repos/jatango/Jatango/src/Infinity.Host/Infinity.Host.csproj]
/Users/kirk/.nuget/packages/microsoft.net.build.containers/0.3.2/build/Microsoft.NET.Build.Containers.targets(114,9): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/Users/kirk/repos/jatango/Jatango/src/Infinity.Host/Infinity.Host.csproj]
/Users/kirk/.nuget/packages/microsoft.net.build.containers/0.3.2/build/Microsoft.NET.Build.Containers.targets(114,9): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/Users/kirk/repos/jatango/Jatango/src/Infinity.Host/Infinity.Host.csproj]

This is the .csproj config file for that specific project:
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
    <AssemblyName>Infinity.Host</AssemblyName>
    <RootNamespace>Infinity.Host</RootNamespace>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
    <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
    <ContainerImageName>=infinity</ContainerImageName>
    <ContainerImageTag>latest</ContainerImageTag>
    <ContainerBaseImage>ghcr.io/jatango/infinity-base:latest</ContainerBaseImage>
    <Configurations>Debug;Release;Publish</Configurations>
    <Platforms>AnyCPU</Platforms>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.NET.Build.Containers" />
  </ItemGroup>

</Project>

This issue is also present when pulling base images from other registries including the Docker Hub (docker.io). I see no reason why this should fail given that the URL is in the correct format and a tag is present.
To verify that I am correctly authenticated, I ran docker pull ghcr.io/jatango/infinity-base:latest after logging into ghcr.io and everything worked perfectly, but when I re-ran dotnet publish, it continued to error out.
Version: 0.3.2
Platform: macOS 13.2 (arm64)
Dotnet: 7.100

After further investigation it appears that this stems from the way that GitHub deals with multi-arch builds. When just publishing an linux/amd64 or linux/arm64 image, everything works perfectly, but when adding additional architectures, it begins to fail. Recently, I noticed that they have added a new unknown/unknown architecture, which is when this issue started occurring. We need to make sure that if unknown/unknown is available, we default to either linux/arm64 or linux/arm64 depending on the publish profile and machine architecture.

Wow, that's not was I was expecting to see at all - do you know of any publish-ish packages on ghcr.io that behave in this way? It would be good to have examples to test against.

Here is my build script, unfortunately I cannot publish the private image, but I might be able to push a public one for you to try.
docker buildx build --push --platform linux/arm64,linux/amd64 -f ./src/Infinity.Host/Base.Dockerfile -t ghcr.io/jatango/infinity-base:latest ./src/Infinity.Host

I think we could do the dotnet/runtime and/or dotnet/aspnet ones from https://github.com/dotnet/dotnet-docker and get into the same scenario but with fully-OSS packages. If that sounds good I'll try building and pushing those to this repo's ghcr package repository as persistent test artifacts for the future.

Yeah, might as well try, I want to see what happens when you use docker buildx to build and push those. I've tried doing it on darwin/arm64, darwin/amd64 and linux/amd64, same issue every time. If you just push the image by itself -> fine, push different tags for different archs -> fine, BUT only when you do a multiarch build and then push all at the same time under the same tag does it produce that unknown/unknown target.

@baronfel Ok, here are my conclusions based on what I have found:
The Issue with Attestations
Apparently, docker buildx build appends some additional entires into the manifest for images called attestations, these take the form of additional hashes (one per arch), which have an annotation (vnd.docker.reference.digest) pointing them to the original arch's hash and a hash indicating that the entry is an attestation (vnd.docker.reference.type:   attestation-manifest).
Example from the Docker Docs:
{
  "mediaType": "application/vnd.oci.image.index.v1+json",
  "schemaVersion": 2,
  "manifests": [
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:23678f31b3b3586c4fb318aecfe64a96a1f0916ba8faf9b2be2abee63fa9e827",
      "size": 1234,
      "platform": {
        "architecture": "amd64",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:02cb9aa7600e73fcf41ee9f0f19cc03122b2d8be43d41ce4b21335118f5dd943",
      "size": 1234,
      "annotations": {
        "vnd.docker.reference.digest": "sha256:23678f31b3b3586c4fb318aecfe64a96a1f0916ba8faf9b2be2abee63fa9e827",
        "vnd.docker.reference.type": "attestation-manifest"
      },
      "platform": {
         "architecture": "unknown",
         "os": "unknown"
      }
    }
  ]
}

We can see here that there are two different manifests, one for the architecture, and one for the attestation. The attestation references the original image using the digest annotation and declares it's type as attestation-manifest.
I believe that GitHub Container Registry has an issue with this and incorrectly lists these attestations under the unknown/unknown arch since that is what they are reporting as their platform. Hence why we see three entries for a two arch package: linux/arm64, linux/amd64, and unknown/unknown. This appears to be a GitHub bug, so we don't need to worry about it other than the fact that it's confusing and helpfully indicates there might be a problem.
The Docker CLI must be able to navigate these attestations and determine image hash that needs to be pulled for a given arch. It appears that container builds cannot yet do this type of navigation within the manifest.
Temporary Solution
It appears that the temporary fix for this problem is to just tell docker buildx build to not produce any attestations. There are two types provenance and sbom, both of which must be disabled for this to work properly.
Here is the updated command to fix this:
docker buildx build -f <DOCKERFILE> -t <TAGS> --platform <PLATFORMS> --push --provenance=false --sbom=false <CONTEXT>

This tells Docker Buildx to totally ignore all attestations and they will not be uploaded to the registry with the image, thus allowing the container builds to successfully pull them.
Actual Solution
To fix this issue, we need to add support for navigating these manifest files with the attestations included. I'll take a look at the source code to see if I can help, but I am a bit busy right now. A PR on this would be super appreciated as it should fix any issues encountered by anyone who uses Docker Buildx and container builds.


Fix dump-jump with local fadvice macro.

I'll have to turn this PR down. I'm hesitant to extract doom-with-advice into its own macro just for one usage. I'm currently trying out a slightly different solution to this in develop, as of https://github.com/hlissner/doom-emacs/commit/4c3f5e8cc28831b2fe6041a7cfbe452366056b2e.
If it isn't much too trouble, please give it a try.


Large transactions fail, torba should handle into smaller transactions

If you try to send a tx with too many inputs, the tx will fail like below. Torba should be able to batch these into separate transactions automagically.
(lbry-venv) C:\Users\thoma\Documents\lbry>lbrynet account send 44.3 bQ5CD8cpLzTXwbP5HT1DpH63RSX4EXzpZC
{
  "code": -32500,
  "data": [
    "Traceback (most recent call last):",
    "  File \"lbrynet\\extras\\daemon\\Daemon.py\", line 570, in _process_rpc_call",
    "  File \"lbrynet\\extras\\daemon\\Daemon.py\", line 1350, in jsonrpc_account_send",
    "  File \"site-packages\\torba\\client\\basenetwork.py\", line 31, in send_request",
    "  File \"site-packages\\torba\\client\\basenetwork.py\", line 28, in send_request",
    "  File \"site-packages\\torba\\rpc\\session.py\", line 481, in send_request",
    "torba.rpc.jsonrpc.RPCError: (1, 'the transaction was rejected by network rules.\\n\\n64: tx-size\\n[01000000fddc030ecaf8c96cd8698bad4725273e8f1817ddb1f04f18240f5a7d7743b045594e09000000006a4730440220268412149eaf1a394f77f4cc184cf0f4699fa7cdaa88faa55d992498ff524ae602206931ad5d91eeddcfd3543c41549ecca8848607708fde6a1002a141529faf2ab0012103185fbbb3530fcfaf61fe73125ef01627c13d54553869c7436336e77b41040e7bffffffffe682ff2282f6389d633813c1f817a8bbca9c853b120b9d79104ea7031e14388c000000006a47304402201714b912c4dbcd21bbd8949258ea8272d4af61a8893ca6185a21eaca2afc75bd022026955a163acf6abe3d40ead05d4ba574882f714200522e5a6e44e39620802d240121027b483d61992c524d7b9f73a6b2a1c8615c8dfd845d3c2d820fd004800a715345ffffffff2e661464a893ea6657efdfe398fe68178e7ecdbadb056be816eee1363328a042010000006b483045022100a6e2515090b73c89bd15f5dc0646eb0c11c9128557204a54f4a6b1e346f38cf602201822817753259056427b288bcfc5b8136a3fc8a026fb21c150e610a86b6129ef012102fb882d9e33b4d075c564ab8eb81e96fca6bf72698f4585b6759b851b45b3a098ffffffffb8318fb44a7d9edbd612fb81b3937c27bc19e81758348b1c87a585e5d8630d82010000006a473044022067fcce6d7a12574498feffd4696bf55c0d10580bb889eeb22c63fe2e98947ea402203daefcf662cdc2916ede2f8592abe3cd57a49823893af648cc233c6ede238644012103116ef923eec1a05645d825fc63305f0e8ecda5d2d0a6a37eb1e7c3d97980d9adffffffff5844af3192773a4ae69580d3c8ece50747d76c500b07687a350819a50a87a747010000006a4730440220421a3041818fe834988e3d76390e99248d6ef5ad8b6c379c38535f746222f2c50220739407b5cba87bfaf4dc1954d057aa05b2bba1a392f273c3e699b1467812a717012102ddf8b90c591f00a2685f7d336da6cd6670bcf58d1b0eed57d60adab01f05eb42fffffffffe5a1ee23a5c0b8a4bd0

Users are running into this after claiming their tips because it produces lots of UTXOs. They have to keep trying smaller amounts until it works, that's poor UX. Can we get this prioritized after some of the other major work is complete?


Fix map load with small tweak

Closes #221.

Wooooo! I knew it could be something small.


Support relative path within settings

I guess this is a known issue. Just thought of documenting it.
Support relative path within settings. The context shall be the workspace folder.
Example:
  "needls.buildPath": "build",
  "needls.docsRoot": "docs",

Could be also resolved by supporting ${workspaceFolder} var from #17, or not?

I think ../ should get resolved inside an absolute path.
Internally I would also like to work with absolute paths only.
So the reading-code of configs and co. should deal with any kind of transformation from a templated-based, relative path to an absolute path.
We have too many players here (vs code, the vs code extension, and the needls server) and all of them may handle relative paths differently or have another working directory set.
Saying this, the python code gets only absolute paths :)
So for the moment, I will close this in favor of #17.
If we see real use cases, I have no problem reopening it.


Swift conversion

What does this PR do? :soccer:

Lowers the deployment target to iOS 11 (current version -1)
Adds a bridging header file and exposes MBProgressHud to Swift.
Converts Objective-C code to Swift.

Tell me about any important implementation details. :construction:

How can this PR be tested? :mag:

Regression testing should be done

@SlaunchaMan @jeffaburt
I've updated some Obj-C code to swift, I'd appreciate it if I could get a review from one of you. Any and all feedback is welcomed 😁

@BritneyS Thanks for the feedback Britney, I envisioned having the color asset catalog as the singe source of truth for getting and updating colors. Then if a crash were to happen there would be only one place to look at, the asset catalog. But it is safer to have a fallback color if it crashes so I’ll make those changes 😄. We just need to remember that if we make updates to a color we need to update it in the asset catalog and within the extension.


It stops at firstfactor, and now I need help.

I started with the bare example, single machine; that worked.
Now, I want to be able to get to the second factor, using two machines.
So, I have a test setup:
host one (my desktop): {
ldap server (user dn is uid=john,ou=People,dc=testing,dc=local),
authelia (listening on 4221),
nginx (location login.example.com),
no docker, no mongo, no redis
}
host two (a VM, running inside my desktop): {
nginx (location private.example.com)
}
I have been trying to piece together how to make it all work, and I am 5% successful.
I am using self signed certificates.
I copied a lot of stuff from around here, mainly that closed issue 173 that was added to the wiki.
Everything starts without errors, both machines.
It appears my problem is, host one does not reply back to host two.
On host two, I open the web page login.example.com.
I enter the user john, and the super secure password password.
Press the submit button.
On host one, the authelia output:
debug: date='Mon Jul 09 2018 13:43:03 GMT-0600 (Central Standard Time)' method='POST', path='/api/firstfactor' requestId='dd032820-8814-43e2-be9f-5db89562eee5' sessionId='c0klGlP9NUnHll9DJ95qluldJ-7bTLeu' ip='<IP_ADDRESS>' message='Headers = {"host":"login.example.com","x-real-ip":"<IP_ADDRESS>","x-forwarded-for":"<IP_ADDRESS>","x-forwarded-proto":"https","connection":"upgrade","content-length":"31","accept":"*/*","origin":"https://login.example.com","x-requested-with":"XMLHttpRequest","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36","content-type":"application/x-www-form-urlencoded; charset=UTF-8","referer":"https://login.example.com/?rd=https%3A%2F%2Fprivate.example.com%2F","accept-encoding":"gzip, deflate, br","accept-language":"en-GB,en-US;q=0.9,en;q=0.8"}'
info: date='Mon Jul 09 2018 13:43:03 GMT-0600 (Central Standard Time)' method='POST', path='/api/firstfactor' requestId='dd032820-8814-43e2-be9f-5db89562eee5' sessionId='c0klGlP9NUnHll9DJ95qluldJ-7bTLeu' ip='<IP_ADDRESS>' message='Starting authentication of user "john"'
debug: date='Mon Jul 09 2018 13:43:03 GMT-0600 (Central Standard Time)' method='POST', path='/api/firstfactor' requestId='dd032820-8814-43e2-be9f-5db89562eee5' sessionId='c0klGlP9NUnHll9DJ95qluldJ-7bTLeu' ip='<IP_ADDRESS>' message='Authentication session c0klGlP9NUnHll9DJ95qluldJ-7bTLeu was undefined. Resetting.'
info: date='Mon Jul 09 2018 13:43:03 GMT-0600 (Central Standard Time)' method='POST', path='/api/firstfactor' requestId='dd032820-8814-43e2-be9f-5db89562eee5' sessionId='c0klGlP9NUnHll9DJ95qluldJ-7bTLeu' ip='<IP_ADDRESS>' message='No regulation applied.'
debug: LDAP: Bind user 'cn=ldapadm,dc=testing,dc=local'
debug: Computed users filter is cn=john
debug: LDAP: searching for user dn of john
debug: LDAP: retrieved user dn is uid=john,ou=People,dc=testing,dc=local
debug: LDAP: Bind user 'uid=john,ou=People,dc=testing,dc=local'
debug: LDAP: Unbind user 'uid=john,ou=People,dc=testing,dc=local'

on host one, nginx error.log:
2018/07/09 13:44:03 [error] 8636#0: *88 upstream timed out (110: Connection timed out) while reading response header from upstream, client: <IP_ADDRESS>, server: login.example.com, request: "POST /api/firstfactor HTTP/2.0", upstream: "http://<IP_ADDRESS>:4221/api/firstfactor", host: "login.example.com", referrer: "https://login.example.com/?rd=https%3A%2F%2Fprivate.example.com%2F"

On host two, the error log:
2018/07/09 11:51:35 [error] 12152#0: *158 auth request unexpected status: 502 while sending to client, client: <IP_ADDRESS>, server: private.example.com, request: "GET / HTTP/2.0", host: "private.example.com"
2018/07/09 11:51:35 [error] 12152#0: *158 auth request unexpected status: 502 while sending to client, client: <IP_ADDRESS>, server: private.example.com, request: "GET /favicon.ico HTTP/2.0", host: "private.example.com", referrer: "https://private.example.com/"

I do not know how to get any further. Any help would be appreciated.

Hello @DonaldKevin, sorry for the delay. I would need the nginx configuration you are using.

The version numbers for node, npm (if you're using it) and authelia could help as well - this looks similar to the issue I had a few months ago (#229), which turned out to conflict related to running the latest version of Node (10.4.1 at the time) rather then running the latest Carbon LTS release (which is what clems tests against)

@DonaldKevin , please reopen this issue if you still need some help from us.
Thanks.