youtube_dl.utils.ExtractorError: Cannot download embed-only video without embedding URL.

Checklist

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

[01/03/21 15:39:35] [debug] System config: []
[01/03/21 15:39:35] [debug] User config: []
[01/03/21 15:39:35] [debug] Custom config: []
[01/03/21 15:39:35] [debug] Command-line args: ['--newline', '-i', '-o', 'C:\\Users\\tiffa\\Dropbox\\My PC (DESKTOP-02M7SHU)\\Downloads\\%(title)s.%(ext)s', '-v', '--ignore-config', '--hls-prefer-native', '-v', '--add-header', 'Origin: https://player.vimeo.com/video/467431044?dnt=1&app_id=122963', 'https://player.vimeo.com/video/467431044?dnt=1&app_id=122963']
[01/03/21 15:39:35] [debug] Adding header from command line option Origin: https://player.vimeo.com/video/467431044?dnt=1&app_id=122963
[01/03/21 15:39:35] [debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252
[01/03/21 15:39:35] [debug] youtube-dl version 2021.01.03
[01/03/21 15:39:35] [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[01/03/21 15:39:35] [debug] exe versions: ffmpeg 3.3.2, ffprobe 3.3.2
[01/03/21 15:39:35] [debug] Proxy map: {}
[01/03/21 15:39:35] ERROR: Cannot download embed-only video without embedding URL. Please call youtube-dl with the URL of the page that embeds this video.
[01/03/21 15:39:35] Traceback (most recent call last):
[01/03/21 15:39:35]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7n_m4vnl\build\youtube_dl\extractor\common.py", line 632, in _request_webpage
[01/03/21 15:39:35]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7n_m4vnl\build\youtube_dl\YoutubeDL.py", line 2248, in urlopen
[01/03/21 15:39:35]   File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
[01/03/21 15:39:35]   File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
[01/03/21 15:39:35]   File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
[01/03/21 15:39:35]   File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
[01/03/21 15:39:35]   File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
[01/03/21 15:39:35] urllib.error.HTTPError: HTTP Error 403: Forbidden
[01/03/21 15:39:35]
[01/03/21 15:39:35] During handling of the above exception, another exception occurred:
[01/03/21 15:39:35]
[01/03/21 15:39:35] Traceback (most recent call last):
[01/03/21 15:39:35]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7n_m4vnl\build\youtube_dl\extractor\vimeo.py", line 595, in _real_extract
[01/03/21 15:39:35]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7n_m4vnl\build\youtube_dl\extractor\common.py", line 665, in _download_webpage_handle
[01/03/21 15:39:35]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7n_m4vnl\build\youtube_dl\extractor\common.py", line 650, in _request_webpage
[01/03/21 15:39:35] youtube_dl.utils.ExtractorError: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[01/03/21 15:39:35] Traceback (most recent call last):
[01/03/21 15:39:35]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7n_m4vnl\build\youtube_dl\extractor\common.py", line 632, in _request_webpage
[01/03/21 15:39:35]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7n_m4vnl\build\youtube_dl\YoutubeDL.py", line 2248, in urlopen
[01/03/21 15:39:35]   File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
[01/03/21 15:39:35]   File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
[01/03/21 15:39:35]   File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
[01/03/21 15:39:35]   File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
[01/03/21 15:39:35]   File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
[01/03/21 15:39:35] urllib.error.HTTPError: HTTP Error 403: Forbidden
[01/03/21 15:39:35]
[01/03/21 15:39:35] During handling of the above exception, another exception occurred:
[01/03/21 15:39:35]
[01/03/21 15:39:35] Traceback (most recent call last):
[01/03/21 15:39:35]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7n_m4vnl\build\youtube_dl\extractor\vimeo.py", line 595, in _real_extract
[01/03/21 15:39:35]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7n_m4vnl\build\youtube_dl\extractor\common.py", line 665, in _download_webpage_handle
[01/03/21 15:39:35]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7n_m4vnl\build\youtube_dl\extractor\common.py", line 650, in _request_webpage
[01/03/21 15:39:35] youtube_dl.utils.ExtractorError: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[01/03/21 15:39:35]
[01/03/21 15:39:35] During handling of the above exception, another exception occurred:
[01/03/21 15:39:35]
[01/03/21 15:39:35] Traceback (most recent call last):
[01/03/21 15:39:35]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7n_m4vnl\build\youtube_dl\YoutubeDL.py", line 803, in wrapper
[01/03/21 15:39:35]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7n_m4vnl\build\youtube_dl\YoutubeDL.py", line 824, in __extract_info
[01/03/21 15:39:35]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7n_m4vnl\build\youtube_dl\extractor\common.py", line 532, in extract
[01/03/21 15:39:35]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7n_m4vnl\build\youtube_dl\extractor\vimeo.py", line 605, in _real_extract
[01/03/21 15:39:35] youtube_dl.utils.ExtractorError: Cannot download embed-only video without embedding URL. Please call youtube-dl with the URL of the page that embeds this video.
[01/03/21 15:39:35]

Description

Was downloading some videos with a login wall, things were great until it stopped working.
I updated Youtube-DL at this point, tried again and it wasn't working. I since cleared the log unfortunately because I did a LOT of things, but I believe it was a very similar error about an embedded video.
I did a lot of researching on reddit and on here for previous issues for embed only videos. I tried things like -refer and "origin: URL" from here: https://www.reddit.com/r/youtubedl/comments/cvvfy8/private_vimeo_video_problem_maybe_my_commands_are/ and other places.
I tried also playing the video and opening up the developer tools, right clicking on the video link and any content playing in the Network tab, Copying Header, pasting into a text file and looking for something called Origin as suggested in some other posts, and tried to find the m3u4 code/ID or whatever it is.
I also added my login info for the site, which didn't work.
I cleared my Youtube-dl cache, as well.
I'm not sure what else to do. It looks like when I open the actual Vimeo link it says it's a private video, which makes sense.
This account is something I can't give out, as it's to a very small website with course videos on it, but I can assure you that the videos work in the browsers. Is there a way around that?
Feel free to ask me anything, I am very n00b at this so if you can would you make your explanations very simple? Think ELI5 haha! Thank you so so much for any help!
The original url:
https://member.ruthsoukup.com/lessons/4-design-your-essential-assets/
The vimeo URL:
https://player.vimeo.com/video/467431044?dnt=1&app_id=122963

Again: you must pass the original URL yo youtube-dl not vimeo embed URL.

Again: you must pass the original URL yo youtube-dl not vimeo embed URL.

Again: you must pass the original URL to youtube-dl not vimeo embed URL.

When I do this, it downloads the intro video to the main part of the site. Before it broke, I had to go into the developer tools and use the actual vimeo video. Using the original URL doesn't work because there are two videos embedded. One that's in a player on the page, and one that is attached to a button that pops up, which doesn't have it's own page, therefore no link.
Perhaps I should open up another case with that issue, instead?

Again: you must pass the original URL to youtube-dl not vimeo embed URL.

When I do this, it downloads the intro video to the main part of the site. Before it broke, I had to go into the developer tools and use the actual vimeo video. Using the original URL doesn't work because there are two videos embedded. One that's in a player on the page, and one that is attached to a button that pops up, which doesn't have it's own page, therefore no link.
Perhaps I should open up another case with that issue, instead?

You must pass authenticated cookies as well, read FAQ.

You must pass authenticated cookies as well, read FAQ.


Tests fail: ValueError: Could not find the operator torchvision::nms. Please make sure you have already registered the operator and (if registered from C++) loaded it via torch.ops.load_library.

🐛 Describe the bug
===>   py39-torchvision-0.17.1 depends on file: /usr/local/bin/python3.9 - found
cd /usr/ports/misc/py-torchvision/work-py39/vision-0.17.1 && /usr/bin/env XDG_DATA_HOME=/usr/ports/misc/py-torchvision/work-py39  XDG_CONFIG_HOME=/usr/ports/misc/py-torchvision/work-py39  XDG_CACHE_HOME=/usr/ports/misc/py-torchvision/work-py39/.cache  HOME=/usr/ports/misc/py-torchvision/work-py39 PATH=/usr/local/libexec/ccache:/usr/ports/misc/py-torchvision/work-py39/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/usr/ports/misc/py-torchvision/work-py39/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " CCACHE_DIR="/tmp/.ccache" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" /usr/local/bin/python3.9 -m pytest -k '' -rs -v -o addopts=
ImportError while loading conftest '/usr/ports/misc/py-torchvision/work-py39/vision-0.17.1/test/conftest.py'.
test/conftest.py:7: in <module>
    from common_utils import (
test/common_utils.py:22: in <module>
    from torchvision import io, tv_tensors
torchvision/__init__.py:6: in <module>
    from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
torchvision/_meta_registrations.py:164: in <module>
    def meta_nms(dets, scores, iou_threshold):
/usr/local/lib/python3.9/site-packages/torch/_custom_ops.py:253: in inner
    custom_op = _find_custom_op(qualname, also_check_torch_library=True)
/usr/local/lib/python3.9/site-packages/torch/_custom_op/impl.py:1076: in _find_custom_op
    overload = get_op(qualname)
/usr/local/lib/python3.9/site-packages/torch/_custom_op/impl.py:1062: in get_op
    error_not_found()
/usr/local/lib/python3.9/site-packages/torch/_custom_op/impl.py:1052: in error_not_found
    raise ValueError(
E   ValueError: Could not find the operator torchvision::nms. Please make sure you have already registered the operator and (if registered from C++) loaded it via torch.ops.load_library.
*** Error code 4

Versions
$ python3.9 collect_env.py
Collecting environment information...
PyTorch version: 2.1.0a0
Is debug build: False
CUDA used to build PyTorch: Could not collect
ROCM used to build PyTorch: N/A

OS: freebsd14
GCC version: Could not collect
Clang version: 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
CMake version: version 3.28.3
Libc version: N/A

Python version: 3.9.18 (main, Dec 10 2023, 01:22:40)  [Clang 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1 (64-bit runtime)
Python platform: FreeBSD-14.0-STABLE-amd64-64bit-ELF
Is CUDA available: False
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 2060
Nvidia driver version: 535.104.05
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: False

CPU:

Versions of relevant libraries:
[pip3] flake8==6.1.0
[pip3] mypy==1.8.0
[pip3] mypy-extensions==1.0.0
[pip3] numpy==1.25.0
[pip3] pytest-flake8==1.1.1
[pip3] pytest-mypy==0.10.3
[pip3] torch==2.1.0a0+gitunknown
[pip3] torchvision==0.17.1+06c0f5e
[conda] Could not collect

Hi @yurivict

[pip3] torch==2.1.0a0+gitunknown
[pip3] torchvision==0.17.1+06c0f5e

You will need torch 2.2.1 for it  to work with torchvision 0.17.1. Try to update torch and LMK if the issue persists.


[QUERY] Data factory list pipeline api does not have 'state' and 'onInactiveMarkAs' properties on Activity

Query/Question
The properties ActivityOnInactiveMarkAs and ActivityState mentioned in the api documentation for data factory are not available in the SDK. I went through the repo but didn't find it. Am I missing something?
Why is this not a Bug or a feature Request?
It's just a query at this moment.
Setup (please complete the following information if applicable):

Library/Libraries: com.azure.resourcemanager:azure-resourcemanager-datafactory:1.0.0-beta.22

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[X] Query Added
[X] Setup information Added

The spec is added about 3 months ago. The last SDK release is earlier than that.
Planning a new SDK release with latest spec.

1.0.0-beta.23 released
https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-datafactory/1.0.0-beta.23

Thank you for the quick turnaround. When will this be GA'ed?

The OpenAPI 2.0 spec of the datafactory service appears not stable at present (there is still lots of breaking changes in recent releases https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md)
Hence we may not able to have it GAed soon. If you or your corporation has specific requirement on the dependency libs, please let us know. We might need to sync with PM as well.

We are using datafactory module and were hoping it would reach GA soon. We primarily use the list and get APIs in the library.


Remove EMAIL_HOST, EMAIL_PORT for console backend

django.core.mail.backends.console.EmailBackend is an in memory backend
so EMAIL_HOST and EMAIL_PORT does not need to be specified in this case.

Thanks for this change.


Autoconfigurable correlationScopeDecorator doesn't use builder from Spring Context

The correlationScopeDecorator creates CorrelationScopeDecorator.Builder via new operator and fully ignores builder bean:
https://github.com/spring-cloud/spring-cloud-sleuth/blob/fc5f26a11fe3a1e4de3b542a3485cc13525132a7/spring-cloud-sleuth-autoconfigure/src/main/java/org/springframework/cloud/sleuth/autoconfig/brave/BraveBaggageConfiguration.java#L207
Looks like bug because there's conditional
@ConditionalOnBean(CorrelationScopeDecorator.Builder.class)
over this bean.
Thus there's no way to customize builder for correlationScopeDecorator (for example if we want to add custom SingleCorrelationField with flushing on update).
I suggest to inject the builder as method parameter in java configuration of correlationScopeDecorator bean and use it.

fixed via https://github.com/spring-cloud/spring-cloud-sleuth/pull/2285


IVCT Component Status

There should be status overview for the running IVCT components, like the TC.runner, LogSink

This will be done by a heartbeat command

this features has been implemented and is in included in the development branch


#70 Generate sample Documents for testing

In PR I added the sample_documents_generator folder with the sample_documents_generator.py file. I have tested the functions.
I did add venv/ to the .gitignore file, thought it's generally a good idea to exclude it.
I used the faker library to generate fake data. The necessary libraries are saved in the requirements.txt file.

Hi @to-sta,
Thank you for your contribution :)


Fully verified Sign

Thx for this library. I think it would be possible to turn certificates into fully verified ones by also adding a chain of trust after the cert keys. Here's an example: https://stackoverflow.com/a/55703927

You can already do this when providing a “full chain” certificate that contains both the certificate and intermediates.


azp: unable to resolve relative paths from within external repositories

Consider the following:
# /pipeline.yml@self

resources:
  repositories:
  - repository: shared
    name: project/repo
    type: git
    ref: main

jobs:
- template: /templates/job.yml@shared

# /templates/job.yml@shared

jobs:
- job: job1
  steps:
  - template: steps.yml # <-- relative reference within shared

# /templates/steps.yml

steps:
- script: exit 0

Results in the IFileProvider attempting to resolve project/repo@main /steps.yml instead of /templates/steps.yml

I think I have a fix for this. I'll post a PR shortly.


Disagree!

No, and I'm pretty sure it shouldn't. If crossorigin.me supported those verbs, you could do some pretty messed up stuff.

That's, uh, not how it works. The requests would be sent from your end, and as you said, you don't forward cookies (even if you did, what's the worst they could do?).
In any case, nobody really uses PUT and DELETE anymore. People just gave up on the whole "semantic HTTP" thing and use GET/POST for everything—if you're lucky, they pay attention to idempotency.
POST requests, by the way, would be incredibly useful, since so many APIs listen to them.
Oh, and while I'm at it about security: you should either enable a legit SSL cert on your domain (non-free with Heroku) or tell folks that they can use atcors.herokuapp.com for secure connections. Otherwise they're open to mitming (again, what's the worst they can do?).

Yeah, POST would be a good idea I guess - I'm just worried about people doing sketchy stuff with requests besides GET and crossorigin.me getting the blame. I'm open to suggestions.

I have an SSL cert from namecheap, but I can't set that up with heroku :(

What sketchy stuff do you expect? (Also, you can write a disclaimer to un-get blame.)

Please tell us ....herokuapp.com so that we can use it for secured request

@ansarizeeshan atcors.herokuapp.com

[x] HTTPS support
[ ] POST request support
@Hardmath123 convince me about POST request stuff and I'll add it.

I don't see why you would choose not to. You should be asking someone to convince you not to do it.

@Hardmath123: Reasons I can think of not to support it by default:

Adds quite a lot of complexity to the codebase (not an end user concern, but a concern none the less)
Opens the server up to being thrashed by overly large POST packets (I'm thinking 50mb+ files, etc; possible mitigation: hard limit the file sizes...?)
With POST open there might be increased legal responsibilty (depending on your juristiction) as someone with stolen or ill-gotten log in credentials could use this server to hide their attack vector (as on the other side it would look like the 'attacker' was the crossorigin.me server; mitigations: ???)

I'm not necessarily against the idea of POST support, per se, but would definitely love to hear your thoughts on the issues above (and feel free to add things I've not considered, and their mitigation strategies)

First of all thanks for providing crossorigin.me. Very Useful!
+1 for POST requests. I need them for uploading PGP public keys to SKS servers (which don't support CORS atm) from the web.

@Hardmath123 convince me about POST request stuff and I'll add it.

Great! Any news on the progress. How can I help to test?
Thanks!

Adds quite a lot of complexity to the codebase
Actually the other way around. Limiting the verbs requires more code than to leave a default / single code path for all scenarios. Depends on implementation though, but implementation might be more efficient, for example if proxy is done with nginx configuration and requires zero programming at all.

With POST open there might be increased legal responsibilty
People who hide their attack vector use a vpn or better else someone's else computer. The law doesn't distinguish between get and post

Opens the server up to being thrashed by overly large POST packets
The server is opened for being trashed by many many small packets at the moment. Substituting it with few big packets ain't any different. Though limit on packet size and duration of transmission should be configured.
For an attacker it's economically more efficient to produce many small packages, rather than few big (as he has a limit on network as well), because he can capitalize on the overhead each connection costs the server

Post is more risky for site owners
Not true. It depends on the security of the site itself and as many sites are vulnerable regardless of the http verb used. It's up to the site developers to use CSRF protection and whatever else.

crossorigin.me can be used for attacking websites
True, but, its an economically poor decision.  Performing an attack via crossorigin.me is a bad idea, as crossorigin.me will end up the server under attack and crash the chain first before reaching the final destination or just slow down attack attempts.

Why this site exists?
You wanted to provide comfort for the users, but well, avoiding 10 out 11 http verbs doesn't make the use of the service much comfortable. Remember that the problem you are solving is browsers who impose weird error messages on the client side. Using any other tool (like postman) or 'curl' from cli doesn't impose this restrictions and the effect on destination api-server side is the same. Therefore you are solving a client-side problem, and clients, hereby, ask to implement POST :)

thanks for the service

Bah, looked at the code
Taking my words back. Implementing POST will add a bit of code

posts requests would be nice but people could use that to try and send Gigabytes through your servers and if you have an bandwidth limit that may not end out good

Post requests would make crossorigin so much better

POST requests are fundamental for testing API requests, since one of the biggest purpose of tool for me is testing quicly a remote API with a javascript fiddler

Looking at implementing this for version 2.

POST implementation is a pain in the ass, even PUT and DELETE, get is like just getting and returning a string but POST is a little bit more tricky, plus POST is a bit risky in the security side

@technoboy10 how long till version 2?

@herohamp I'll be working on it during winter break this year. That means the timeline is roughly Q1 2017 for the release.

Will it be in this repo? As I would be willing to help as I have a ok knowledge of nodeJS

@herohamp The updated code for the proxy will be on the github repo, yes. I expect that a lot of the work will be infrastructure related, which won't be in the repo.

ok

Following.

not implementing POST will make this service useless for quite some people which is unfortunate but not a big issue as there are other services out there providing similar functionality AND POST!
this is what i'm using right now for running tests against pandorabots.com:
curl 'https://cors-anywhere.herokuapp.com/https://www.pandorabots.com/pandora/talk-xml?botid=812ca0c0de36a3ad' --data 'botid=a04d9fbb3e31906d&input=hallo%3F&custid=123' -H 'x-requested-with: curl'

Tracking this in the feature/POST branch.


docs, ci, test/l4lb: use latest cilium-cli release according to stable.txt

This will make sure users download the latest release marked as stable
by developers in stable.txt on the master branch, instead of the latest
release according to GitHub releases [1]. The latter might point at a
release built from the v0.10 release branch, which would potentially
cause problems when running with Cilium 1.11 and later.
[1] https://github.com/cilium/cilium-cli/releases/latest

Q: why are we downloading the latest version in these workflows, whereas in others we have pinned the CLI version?

I'm not sure to be honest. I think this was fine as long as there were only releases from cilium-cli master branch, but now that the latest release might be from the v0.10 branch, we better change these to use the pinned version as well. Will change the workflows accordingly.


feat: change default time range in sql lab explore

Retry https://github.com/apache/incubator-superset/pull/9439 in a new branch.

CATEGORY

[x] Enhancement (new features, refinement)

SUMMARY
Currently when clicking on "Explore" button in SQL Lab results, it defaults the time range to "100 years ago : infinity", which is basically equivalent to no filter for most datasources. However, it has implication on how the x-axis will be plotted in certain charts (e.g., recently, the Big Number chart introduced a fixed range option).
This PR changes the default to "No filter" so the time range filter can be more properly utilized.
There is also a global default value "Last week", which is applied when users create a new chart from /chart/add. We are not changing this default value in this PR.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
When clicking on Explore in SQL Lab:

Before

After

TEST PLAN

Go to any query results in SQL Lab
Click on "Explore"

ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS
@kristw

Well... Travis passed yet GitHub integration stuck again...

ugh........ this is frustrating.

Kinda surprise to see #9485 and #9487 passed tho.

Can someone with admin privilege just force merge this? It seems we'll never get Travis CI work for my PRs.
cc @mistercrunch

@ktmud would you mind trying one more rebase=force push?

OMG, this passed, too!!!!!!!


Add ability to configure an admin user who can import on other users' behalf

@steve-fischer-200 This is done, right?

Closing this as unimplemented.  The implementation in this PR is incomplete, and we now have a more standard way of overriding a user ID (proxy-user-id) in container core.  We would use that here to implement this capability, but given how close VDI is to going out the door, it is not worth that work+testing.


MINOR: Upgrade to Gradle 8.1

Release notes:
https://docs.gradle.org/8.1/release-notes.html
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

I think it's enough to use a bin distribution type instead  instead of all  one for Gradle wrapper

A new big fix release is available 8.1.1 and the release notes mention: "We recommend users upgrade to 8.1.1 instead of 8.1."
I would suggest to discard this PR and instead review https://github.com/apache/kafka/pull/13625

It's a little odd to create a new PR instead of simply updating the one that's open...

@ijuma  Apologies, may be it's more wise to close the one I created and keep updating this one, I'll update my pull request since it contains also some Gradle plugin upgrades

In the future, please try to work with the contributor who submitted a PR instead of creating your own. In this case, I went ahead and merged your PR and closing this one.

@ijuma  Yes of course, I'll do that , this is the first PR ever for me in this repo, I'll keep learning from all of you

Thank you for making this is a teaching moment @ijuma. I will try to do better reviews, keeping in mind your suggestion in future.


Change firebase.json path location, update .gitattributes

Description
Change firebase.json to correct location, license is autocollapsed in github diff
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

I have completed these steps when making this pull request:

[ ] I have assigned my name to the issue
[ ] I have moved the issue to the In Progress column
[ ] I have labelled the PR appropriately
[ ] I have assigned myself to the PR

Before opening the PR for review:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I have added attributions to new dependencies and resources
[ ] I have moved the linked issue to the Review in Progress column

Why is the lockfile/husky changing? I haven't made any changes to this. Just so much 'magic' going on with this tooling.

Why is the lockfile/husky changing? I haven't made any changes to this. Just so much 'magic' going on with this tooling.

mine has been doing the same

also please go through PR checklist before merging. You will also need to create a bug report.

Looks like the linter is just surrounding a path in quotes for the shell scripts in husky


Each gateway can refer to the envoyproxy resource independently.

Description:

As I know, The issue arises when the Gateway resource references the EnvoyProxy resource, as it creates the corresponding resource based on the GatewayClass. This means that all Gateways use the same EnvoyProxy configuration, making it impossible to differentiate Gateways based on different EnvoyProxy configurations.

Here's a simple example - let's say we have both a test and production Envoy Gateway. It's clear that they may require different replica numbers - for instance, the test environment may need 2 replicas, while the production environment needs 10 replicas. If there's only one EnvoyProxy configuration, we won't be able to differentiate between them.
Perhaps such a functionality already exists currently. Could you please let me know? If not, we could discuss the possibility of implementing such a feature.
[optional Relevant Links:]

Any extra documentation required to understand the issue.

This requires multi-gatewayClass support.

Refer: https://github.com/envoyproxy/gateway/issues/1231

I want to reference resources from envoyproxy through a gateway, and I think this can be achieved by customizing the envoyproxy configuration for each individual gateway. I'm not sure if this idea conflicts with the current design.

hey @misstick86 at this point in time

Infra settings live in Gateway API (linked to EnvoyProxy) so all Gateways linked to that GatewayClass will get identical infra settings. This approach was taken because the GatewayClass has a dedicated extension point parametersRef to add such settings

Maybe if the upstream API introduces another extension point similar to parametersRef at the Gateway level, your use case may be possible. Another option that upstream Api may introduce that might help this use case is, if a user can bring their own infra/gateway and link it to GatewayClass and Gateway

To satisfy your use case, as @Xunzhuo suggested, you can create multiple EG controllers and create a new GatewayClass per controller

Lets keep this issue open for a bit longer to gather more feedback

for others reaching this page, these docs https://gateway.envoyproxy.io/v0.4.0/user/deployment-mode.html should hopefully help

@arkodg  That's great, Thank you very much.

great closing this issue for now, please reopen again if needed


Segfault running query command with no arguments

If I run
> osmx query path/to/db.osmx
Segmentation fault

I get a segfault attempting to read argv[3]: https://github.com/protomaps/OSMExpress/blob/master/src/cmd.cpp#L48
The docs indicate that calling the query in this form should be possible: https://github.com/protomaps/OSMExpress#command-line
As a temporary workaround, providing some random third arg so that the code falls back into the else case works:
> osmx query path/to/db.osmx print
locations: 20377226
nodes: 418210
ways: 2168392
relations: 31391
cell_node: 20377226
node_way: 22504715
node_relation: 27683
way_relation: 393230
relation_relation: 1459
Timestamp: 2020-04-02T20:59:01Z
Sequence #: 2572

@CloudNiner should be fixed, can you confirm by pulling master? also cleaned up some of the help output logic

Works great, nice fix there adding the fallback to print the help if an invalid query command is provided 🎉


#[17] Business

Codecov Report
Attention: Patch coverage is 0% with 63 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (2327722) to head (712cbca).
Report is 25 commits behind head on main.

Additional details and impacted files

Files
Coverage Δ

crates/framework/src/features/business.rs
0.00% <0.00%> (ø)

...tructs/business/business_opening_hours_interval.rs
0.00% <0.00%> (ø)

...ramework/src/structs/business/business_location.rs
0.00% <0.00%> (ø)

...k/src/structs/business/business_message_deleted.rs
0.00% <0.00%> (ø)

...s/framework/src/structs/business/business_intro.rs
0.00% <0.00%> (ø)

...mework/src/structs/business/business_connection.rs
0.00% <0.00%> (ø)

...ork/src/structs/business/business_opening_hours.rs
0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes


[Feature request] Import & Export option

Firstly, Thank you @dream-num for this awesome open-source project - very helpful & works really fast and well. ♥
As i see there is already a plugin to import & export xlsx file but the plugin is buggy and has not been updated recently.
During import, it only works if the xlsx file is created using ms office but if the file is created using lucksheet itself then import is not working.
Error while importing

Inbuilt support for this will be really nice to have or if you can update the plugins that will also serve the purpose.

The download option example isn't provided directly, this logic can be implemented for download:
https://github.com/dream-num/Luckyexcel/blob/5a0be428b9fead1479a0890d19fb26ae0a291a1c/src/index.html#L109


Samsung Smartthings contact sensors

I had a bunch of old smartthings multi sensors. (https://blog.smartthings.com/how-to/getting-to-know-the-smartsense-multi/)
I got the open/close contact sensor to work, yet not the vibration, orientation temp and battery.

Thanks!


Register VersionCatalogsExtension before beforeProject lifecycle hooks

Expected Behavior
As per documentation of Gradle::beforeProject, the block is called immediately before the project is evaluated. I would expect version catalogs (via VersionCatalogsExtension) to be available in this block. Since version catalogs are built from settings, I don't see an obvious reason for why they would not be ready there.
Specifically, I would expect this (and similar) logic to work (in settings.gradle.kts):
gradle.lifecycle.beforeProject {
    extensions.getByType(VersionCatalogsExtension::class)
}

Current Behavior (optional)
In a project plugin registered via settings plugin in beforeProject, I cannot access version catalogs because the extension is not registered at this stage. The snippet above fails with Extension of type 'VersionCatalogsExtension' does not exist..
Context
I have multiple repositories that have the same subproject layout. To deduplicate build logic, I planned to create a settings plugin that does the following:

Register an external version catalog
Including the usual subprojects
Applying project plugins to each subproject

The project plugins would have used dependencies from the catalog - and this is where the idea fails due to the current behavior.

This issue needs a decision from the team responsible for that area. They have been informed. Response time may vary.

This feature request is in the backlog of the relevant team and is prioritized by them.

We should check if the legacy beforeProject or allprojects callbacks can access this extension. It makes sense to have the extension available in both.

We should check if the legacy beforeProject or allprojects callbacks can access this extension. It makes sense to have the extension available in both.

If you're referring to the Gradle::beforeProject and Gradle::allProjeccts methods, I checked and they suffer from the same issue.

Yes, allprojects also suffers from the extension not being available. I tried using the allprojects block in an init script and got the same error. This is what I was trying out.


deck: migrate to pkgs/by-name

Description of changes
deck: migrate to pkgs/by-name

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Thanks for the review. The only reason for this migration is to use nixpkgs-merge-bot as soon as I can.

I completely forgot about that!

Can anyone please merge this one?


⚠ ComboForum has degraded performance

In 994d69b, ComboForum (https://comboforum.com) experienced degraded performance:

HTTP code: 200
Response time: 3862 ms

Resolved: ComboForum performance has improved in 4a2c231.


chore: enable pre-commit

What does this PR do?

Enables pre-commit hook for the repo.
Runs the pre-commit plugins on the files in the repo and applied the relevant changes.

How to test this PR?
pip install pre-commit
pre-commit install
pre-commit run --all-files

Thanks @maryamtahhan, I do not think podman-desktop are familair with pre-commit, on podman-desktop repository we seems to be using husky, we also have an issue related to using it on ai-lab https://github.com/containers/podman-desktop-extension-ai-lab/issues/1633

Thanks for your contribution. However, it requires Python which is too much. Podman Desktop uses Husky for such, would you mind going that direction ?

No problem - I can break down the issues the pre-commit hooks picked up into separate PRs (without the actual pre-commit hook itself)...
I will have a look at the husky route.

also for the trailing spaces, EOF the repository is using prettier but maybe some files are ignored/skipped explaining why few files have problems


DHCP client renewal breaking networking

Having issues with my network breaking when the dhcp client renews a lease.
I have two interfaces, one being an onboard LAN port (WAN1) and the other a USB ethernet port (WAN2).
Both get their IPs via DHCP.
The LAN/WAN1 port has a renewal of around 129600 seconds. The USB/WAN2 port is around 270 - 300 seconds.
I originally had an issue with DNS and access via the USB/WAN2 port (https://forum.opnsense.org/index.php?topic=433.0) which I believe is down to the provider on that port.
So I set the LAN/WAN 1 as the default gateway and it all seemed to worked OK. I then noticed that I periodically couldn't do DNS lookups with a 'no route to host'.
It seems that when the dhcp client runs it adds a default route to the wrong WAN port or the routing is broken altogether - I guess it must be ignoring a setting from the web panel somewhere.
May 18 15:04:01 OPNsense dhclient: Starting delete_old_states()
May 18 15:04:01 OPNsense dhclient: Comparing IPs: Old: <IP_ADDRESS> New: <IP_ADDRESS>
May 18 15:04:01 OPNsense dhclient: Starting add_new_address()
May 18 15:04:01 OPNsense dhclient: ifconfig ue0 inet <IP_ADDRESS> netmask <IP_ADDRESS> broadcast <IP_ADDRESS>
May 18 15:04:01 OPNsense dhclient: New IP Address (ue0): <IP_ADDRESS>
May 18 15:04:01 OPNsense dhclient: New Subnet Mask (ue0): <IP_ADDRESS>
May 18 15:04:01 OPNsense dhclient: New Broadcast Address (ue0): <IP_ADDRESS>
May 18 15:04:01 OPNsense dhclient: New Routers (ue0): <IP_ADDRESS>
May 18 15:04:01 OPNsense dhclient: Adding new routes to interface: ue0
May 18 15:04:01 OPNsense dhclient: /sbin/route add default <IP_ADDRESS>
May 18 15:04:01 OPNsense dhclient: Creating resolv.conf
The default route should actually be (and remain as) <IP_ADDRESS>
I think the problem might be in /usr/local/sbin/dhclient.ex under add_new_routes()
I've tried to fathom the problem but my command of route is not good.....
I can see that if the interface that has changed is not the existing default it fails the "if" at 224 and then it goes here:
234				else
235					$ROUTE add default $router
236					echo $ROUTE add default $router | $LOGGER
237					echo $router > /tmp/${interface}_router
238				fi
239				ADDED_ROUTE=yes
240				# 2nd and subsequent default routers error out, so explicitly
241				# stop processing the list after the first one.
242				break
243			done
I get a file called /tmp/ue0_router
Line 235 then sets the new IP as the default route.....
I can confirm that the new route gets used with traceroute.
root@OPNsense:/ # route default show
route to: default
destination: default
mask: default
gateway: <IP_ADDRESS>
fib: 0
interface: em1
flags: <UP,GATEWAY,DONE,STATIC>
recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire
0         0         0         0      1500         1         0
root@OPNsense:/ # traceroute www.opnsense.org
traceroute to www.opnsense.org (<IP_ADDRESS>), 64 hops max, 52 byte packets
1  <IP_ADDRESS> (<IP_ADDRESS>)  0.301 ms  0.278 ms  0.357 ms
Blah....
Now the interface updates and we get the following:
root@OPNsense:/ # route show default
route to: default
destination: default
mask: default
gateway: <IP_ADDRESS>
fib: 0
interface: ue0
flags: <UP,GATEWAY,DONE,STATIC>
recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire
0         0         0         0      1500         1         0
root@OPNsense:/ # traceroute www.demon.net
traceroute to www.demon.net (<IP_ADDRESS>), 64 hops max, 52 byte packets
1  <IP_ADDRESS> (<IP_ADDRESS>)  2.004 ms  1.844 ms  1.842 ms
root@OPNsense:/ # route show default
route: writing to routing socket: No such process
root@OPNsense:/ # ping www.demon.net
PING www.demon.net (<IP_ADDRESS>): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host
^C
--- www.demon.net ping statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss
root@OPNsense:/ # ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host
^C
--- <IP_ADDRESS> ping statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss
root@OPNsense:/ # ping www.opensense.org
PING www.opensense.org (<IP_ADDRESS>): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host
^Cping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
^C
--- www.opensense.org ping statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss
I also get a state where the routing/network is broken completely
Latest log
May 19 16:07:45 OPNsense dhclient: Starting delete_old_states()
May 19 16:07:45 OPNsense dhclient: Comparing IPs: Old: <IP_ADDRESS> New: <IP_ADDRESS>
May 19 16:07:45 OPNsense dhclient: Starting add_new_address()
May 19 16:07:45 OPNsense dhclient: ifconfig ue0 inet <IP_ADDRESS> netmask <IP_ADDRESS> broadcast <IP_ADDRESS>
May 19 16:07:46 OPNsense dhclient: New IP Address (ue0): <IP_ADDRESS>
May 19 16:07:46 OPNsense dhclient: New Subnet Mask (ue0): <IP_ADDRESS>
May 19 16:07:46 OPNsense dhclient: New Broadcast Address (ue0): <IP_ADDRESS>
May 19 16:07:46 OPNsense dhclient: New Routers (ue0): <IP_ADDRESS>
May 19 16:07:46 OPNsense dhclient: Adding new routes to interface: ue0
May 19 16:07:46 OPNsense dhclient: Creating resolv.conf
May 19 16:07:50 OPNsense dhclient[29534]: bound to <IP_ADDRESS> -- renewal in 300 seconds.
May 19 16:12:45 OPNsense dhclient[4738]: DHCPREQUEST on ue0 to <IP_ADDRESS> port 67
May 19 16:12:46 OPNsense dhclient[4738]: DHCPREQUEST on ue0 to <IP_ADDRESS> port 67
May 19 16:12:48 OPNsense dhclient[4738]: DHCPREQUEST on ue0 to <IP_ADDRESS> port 67
May 19 16:12:51 OPNsense dhclient[4738]: DHCPREQUEST on ue0 to <IP_ADDRESS> port 67
May 19 16:12:59 OPNsense dhclient[4738]: DHCPREQUEST on ue0 to <IP_ADDRESS> port 67
May 19 16:13:19 OPNsense dhclient[4738]: DHCPREQUEST on ue0 to <IP_ADDRESS> port 67
May 19 16:14:05 OPNsense dhclient[4738]: DHCPREQUEST on ue0 to <IP_ADDRESS> port 67
May 19 16:14:36 OPNsense dhclient[4738]: DHCPREQUEST on ue0 to <IP_ADDRESS> port 67
May 19 16:15:11 OPNsense dhclient[4738]: DHCPREQUEST on ue0 to <IP_ADDRESS> port 67
May 19 16:15:19 OPNsense dhclient[4738]: DHCPREQUEST on ue0 to <IP_ADDRESS> port 67
May 19 16:15:32 OPNsense dhclient[4738]: DHCPREQUEST on ue0 to <IP_ADDRESS> port 67
May 19 16:15:54 OPNsense dhclient[4738]: DHCPREQUEST on ue0 to <IP_ADDRESS> port 67
May 19 16:17:02 OPNsense dhclient[4738]: DHCPREQUEST on ue0 to <IP_ADDRESS> port 67
May 19 16:17:02 OPNsense dhclient[4738]: DHCPACK from <IP_ADDRESS>
May 19 16:17:02 OPNsense dhclient: RENEW
root@OPNsense:/ # ping www.demon.net
PING www.demon.net (<IP_ADDRESS>): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host
root@OPNsense:/ # ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host
root@OPNsense:/ # route show default
route: writing to routing socket: No such process
Not sure what else to do right now ! Happy to help debug this with some guidance.

John, does this still happen for you?

Not tested latest release as I have been up to my in other stuff but will test for you

Thanks, clearing out/pinging tickets to see where we're at. Feedback is enough. Take your time. :)

Timeout. :(


Incorrect usage of AddDllDirectory

Tested versions
4.3
System information
Windows 11
Issue description
Loading GDExtension dll files on Windows does not work if the project has been exported as a .pck file and the .exe is launched from a different folder. This is because AddDllDirectory is called with a relative path and fails. According to the documentation AddDllDirectory needs to be called with an absolute path.

The AddDllDirectory function can be used to add any absolute path to the set of directories that are searched for a DLL.

It works if the addons folder is next to the .exe because then LoadLibraryExW gets the correct relative path.
Steps to reproduce
Add GDExtension addon to project
export as .pck
copy the addon folder next to the .pck
place the .exe in a different folder
run the .exe from the folder containing the .pck
Minimal reproduction project (MRP)
|- test.pck
|- addons/
|- bin/
|--test.exe

Thanks!
Unfortunately, I'm not able to reproduce this.
I tested with Godot v4.3 using the godot-jolt extension and its sample project. When I export, the DLL gets placed in the same folder as the EXE, which loads just fine. Then I tried moving the EXE so that it was in the same path as it was in the project, so I put it under addons/godot-jolt/windows/godot-jolt_windows-x64.dll - this also worked fine!
The only way I could prevent it from being loaded was to put it under some random directory, that wasn't the same as the directory that's specified in the godot-jolt.gdextension file. But it makes sense that it can't load it, because how's it supposed to know which directory its in?
I also re-ran these tests with Godot v4.2.2, and it behaved exactly the same. If the DLL was either next to the EXE, or in the path specified in the godot-jolt.gdextension, then it loads fine. If I put in some arbitrary directory below the EXE, then it doesn't load. So, this doesn't appear to be a regression.
Can you give some more details about how to reproduce? Am I missing a step?

Your folder structure is incorrect. But I see now that the diagram I added maybe wasn't that clear about it:
│    launcher.exe
│    game.pck
├───bin
│      game.exe
├─────addons
│       └───godot-jolt
│           └───windows
│                   godot-jolt_windows-x64.dll

results in platform\windows\os_windows.cpp(383): OS_Windows::open_dynamic_library> Condition "!FileAccess::exists(path)" is true. Returning: ERR_FILE_NOT_FOUND
│    launcher.exe
│    game.pck
├───bin
│      game.exe
├───addons
│     └───godot-jolt
│         └───windows
│                 godot-jolt_windows-x64.dll

results in
<platform\windows\os_windows.cpp(455): OS_Windows::open_dynamic_library> Parameter "p_library_handle" is null.:
Can't open dynamic library: addons/godot-jolt/windows/godot-jolt_windows-x64.dll. Error: Error 126: The specified module could not be found..

Placing the .dll in the same folder as the .exe does indeed work. The call to AddDllDirectory is still incorrect though.

Ah, ok, thanks!
Using that directory structure, I am able to reproduce the issue, and I can confirm that passing an absolute path to AddDllDirectory() fixes it. (I'm simulating having a launcher.exe by launching Godot from cmd.exe with the current directory set to the directory of the launcher.)
Here's PR https://github.com/godotengine/godot/pull/96192 which makes that change


chrome webrtc leak your real IP

With Chrome (48+) even behind a VPN, your real IP is leaked.
https://github.com/rentamob/WebRTC-Leak-Prevent
with this extension, the leak is 'closed'.
don't forget to activate its private mode authorization or the leak will be there!
https://whoer.net/
https://diafygi.github.io/webrtc-ips/
to verify if your real IP is leaked

Chrome config can be edited manually too:
https://support.zenmate.com/hc/en-us/articles/201259661-How-can-I-protect-myself-from-IP-leaks-caused-by-Flash-or-WebRTC-#Chrome_FP
The extension above, also for Firefox.

https://whoer.net/blog/article/how-to-disable-webrtc-in-various-browsers/

I'm still looking through WebRTC blocking extensions and other solutions for Chrome. I was using uBlock Origin, but I'm not certain it still does the job with Chrome 48+. See https://github.com/gorhill/uBlock/wiki/Prevent-WebRTC-from-leaking-local-IP-address
For now, I can't recommend using Chrome if leaking private IP information is of importance. You are probably better off with Tor Browser or hardened Firefox, though they each have their own respective disadvantages as well.

https://github.com/rentamob/WebRTC-Leak-Prevent
this works, tested on several sites and vpn, for chrome, not tested for FF.
Must check this, not sure
one solution use an 'intermediate' server, so the leak always shows this one
which means for privacy you are going through that server
the other is that you can do manually, my 2nd post, I think it is just turn webrtc off.

A bit stupid but IP6 must be enabled 'everywhere'...
mine was not in my routeur when I made the first tests... so everything seems ok... hopefully I remember the router add IP6 off.


consider linking https://github.com/ralphtheninja/open-funding

consider linking https://github.com/ralphtheninja/open-funding
Seems to be also a valuable resource, especially for grants section ( https://github.com/ralphtheninja/open-funding#grants may be linked ).
For example I found nlnet through their list what resulted in a funded grant.

I considered making a direct PR, but I see two quite old PRs that are neither merged nor rejected.


Add support for core.simd, intel-intrinsics, or inlined assembly

Having some form of acceleration would benefit everyone, which this module currently lacks.
Options:

core.simd -- Supported everywhere, I think.
intel-intrinsics DUB package -- Somewhat supports all compilers.
Inlined assembly -- If all fails, at least x86 users would benefit. But limited to AVX/AV2 and not SSE* at best (because DMD).

The plan is to try options 1 and 2 and see which yields the best results (through benchmark and godbolt).
NOTE: The reason this wasn't implemented at first is because this module was once a contestant to get into Phobos.

Or I could do like the std.digest.sha package does and at least support SSSE3 (version USE_SSSE3 is used from D_InlineAsm_X86 and D_InlineAsm_X86_64). At least I already have experience using the inline assembler under DMD, GDC, and LDC.

I don't really think this needs SIMD this much because when compiled with LDC or GDC, I get similar performance results compared to OpenSSL.
Test env:

sha3-d 1.2.1 with a buffer of 64 KiB (in ddh 1.3).

All compiled with release-nobounds.

openssl 1.1.1f with default settings.
Processor: Intel Core i7-3700
Machine: VirtualBox 6.1.30 with KVM and guest additions
OS: Ubuntu 20.04 LTS (5.11.0-43-generic)

Results (input: pv -r /dev/urandom piped):

openssl dgst -sha3-256: 111-127 MiB/s
ddh sha3-256 with dmd 2.098.1: 32-34 MiB/s (worse than 2.090.1 which is more around the 42 MiB/s mark)
ddh sha3-256 with gdc 10.3: 90-91 MiB/s (worse since I upgraded dmd?!)
ddh sha3-256 with ldc 1.20.1: 119-124 MiB/s

New test under Windows (pv from Cygwin, supporting /dev/urandom) evaluates sha3-d at 140 MiB/s and OpenSSL-Win64 3.0.1 at 232 MiB/s so yeah I do see the difference now.

In any case, a version Sha3dUseSIMD or Sha3dUseIntrinsics should be provided. Selecting it should be manual, feels better this way, to me at least.

Plan:

Use XCKP's SSE, AVX, and AVX2 implementation variants.
version (D_AVX): Use AVX impl.
version (D_AVX2): Use AVX2 impl.

Notes:

Only DMD defines version D_SIMD.

Will have to try using the compiles trait
At best core.simd will adapt to using SSE or AVX somehow

No compilers define versions AVX and AVX2 by default.

DMD defines both with -mcpu=avx2
LDC defines both with -mattr=+avx2


How to cancel a scheduled calculate job

I don't recall ever creating scheduled recalculations of my rollups using the 'Schedule Calculate' button, but a significant amount of records continue to update nightly at 2am with my user listed as the one making the modification(s). How can I delete any existing scheduled calculate jobs?

Yes these can be viewed under the Setup menu, search for Scheduled

This should be documented a bit better than it is now. I figured that the jobs would be visible somewhere in Setup ->Jobs, but couldn't really decipher the list until I realized that the names included DLRS record ids. Just adding a couple words to the Schedule Calculate view along the lines of "The Calculate job can be managed at Setup -> Jobs -> Scheduled Jobs; its name will be rollup_XXXXXXXXXXXXXXX."

Yeah sorry about that @neonb , another poster raised this enhancement request which once implemented i think will do the trick. Thanks for your feedback! 👍

Re-opened this as it also relates to having some inline help on where to find the scheduled job.

Fixed v2.8.


Improving complex unique_constraint docs

Adding clarification about the use of the first parameter in these cases, as
well as some exemplification for it.

@josevalim asked me to open a PR for this on this forum topic: https://elixirforum.com/t/ecto-changeset-unique-constraint-3-for-clustered-index/2388.

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


Update sbt-scoverage to 1.8.1

Updates org.scoverage:sbt-scoverage from 1.8.0 to 1.8.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scoverage", artifactId = "sbt-scoverage" } ]

labels: sbt-plugin-update, semver-patch

Codecov Report

Merging #467 (e4bae00) into master (9fa189a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #467   +/-   ##
=======================================
  Coverage   86.31%   86.31%
=======================================
  Files         108      108
  Lines        1425     1425
  Branches       40       40
=======================================
  Hits         1230     1230
  Misses        195      195

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 9fa189a...e4bae00. Read the comment docs.

Superseded by #492.


App crash when clicking in and out of DHCP DMR input field

When starting a DMR entry and then clicking out and back in to the input field, the app crashes.

Resolved by removing use of "bad_value" before first input attempt.


Content of the collapsible area gets cut when on iOS

Hi! Thanks for such an amazing library!
I'm using it in an app I'm currently building and it works perfectly. However, I've noticed that when using it in iOS the text within the collapsible area gets cut.
Here's how it looks on Android:

And here's on iOS:

As you can see, the final sentence appears complete when on Android, but it gets cut in iOS.
Any ideas as to why would this happen?
Thanks again!

The issue seems to be the duration prop. Setting it to 0 fixed the issue for me on iOS. Probably not the idea since the animation makes it look nicer, but it was messing the behavior at least in my app.


Use provider admin

Use provider_admin user for internal actions since customer may change admin user credentials.

Thanks Dustin.  This bit us last night so will be good to fixup.

tests pass, alright, lets get this in. Target backport to 1.1.x


feat: handle gitlab MR draft status

User description
closes #1160
As reported in the issue, this MR adds the possibility to skip MR in draft status, default is false when enabled every command is logged and discarded.

PR Type
Enhancement

Description

Added functionality to handle GitLab merge requests (MRs) in draft status
Implemented logic to skip processing of draft MRs:

For newly opened or reopened MRs
For comments on existing MRs

Added logging to inform when a draft MR is being skipped
This change allows for more efficient processing by ignoring MRs that are not ready for review

Changes walkthrough 📝
Relevant filesEnhancement

gitlab_webhook.pyHandle GitLab merge request draft status

pr_agent/servers/gitlab_webhook.py
Added logic to check if a merge request is in draft status  Implemented skipping of draft merge requests for both new MRs and comments on existing MRs  Logged information about skipping draft MRs

+11/-0

💡 PR-Agent usage:
Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

/review

/improve

@paolomainardi
simplify and shorten this PR.
I prefer not to do 'refactoring' of some sort and logic change in the same PR.
It should be three lines:
draft = data['object_attributes'].get('draft')

if draft
    return JSONResponse(status_code=status.HTTP_200_OK, content=jsonable_encoder({"message": "success"}))

Ok @mrT23, I simplified it as requested and removed the refactoring part.

/describe

/review

/describe

thanks @paolomainardi

@mrT23 I am wondering if it is ok the scenario where we don't process comments when the MR is in the draft status; I see scenarios where you are developing and /improve could be very useful before changing it to the ready state.
What do you think @mrT23 ? If I understood correctly, the GitHub app excludes just the MR open event when in the draft.

people can always do online commenting
we are talking here about auto comments

With this MR even manual comments are inhibited when the MR is in draft.


[Feature Request] smc menubar action封装到FxAction中

Checklist

[X] I searched exising issues and no one else requests similar feature.
[X] I think that 25%+ users are positive towards this feature.

Describe the feature
todo
Additional context
No response

about action 中graphic设置修改


Server side support

Hi, I'm wondering, does this project has any plans to continue support of server side, because telegram-mtproto v1 use to handle this. This question may looks strange because you already have test which works on node telegram-mtproto/test/node.test.js, but there are 2 points preventing from normal usage on server side:

"dependencies": { "worker-loader": "^0.8.0" }, with "peerDependencies": {   "webpack": ">=0.9 <2 || ^2.1.0-beta || ^2.2.0" }
es6 import/export

It's not a problem for client-side projects which are usually build with babel/webpack, but on server side vanilla es6/es5 without babel is still quite popular solution.
Initially I thought, that removing webpack dependency and renaming dist/mtproto2-browser.js to dist/mtproto2.js will be enough, but in dev brach, which soon will be master dist folder is removed and plug-in "worker-loader" persists.
I believe it's good time to make such decision before new major version, because it's seems like now node js ecosystem doesn't have good telegram client library for server usage since nowadays telegram.link is deprecated.

+1 for server side use

If you want to work directly on the code you'll have to npm prepublish it

worker-loader provides webpack building; I will throw it off as soon as I get to this code part.
Just for the note: during the release building, source code goes through several stages, whereby final file list in npm differs from what you see in a repository
Mtproto already contains pure node commonjs build and single browser bundle and chooses the version which fits your environment. You can easily use it in nodejs without any transpilation
var MTProto = require('telegram-mtproto').MTProto;

Ok, so I've just checked it out, and
npm i<EMAIL_ADDRESS>npm i telegram-mtproto@beta

then
const MTProto = require('telegram-mtproto').MTProto;

is workable, because the package is pre-published in lib directory, so the point about es6 is not problem, but webpack dependency should be removed, because it blows out node_modules. Since you have such plans, you can rename this issue to "Remove direct dependency from webpack" and close this when it will be resolved. For now node packages ecosystem is in safe 😄

@zerobias i think this can be closed?

@goodmind sure


Add ethernet support for risc-v/MPFS

Summary
Add ethernet mac support  for MPFS SoC and Icicle board
Impact
New driver.
dual mac support is untested and multi queue not implemented.
Testing
Tested on Icile board with TCP-blaster and telnet.

all recommended fixes applied. thanks...
checkpatch failed me with tabs :-/
I was using different editor than usually and missed the tabs.
Should the checkpatch/nxstyle detect the TAB char: 🤔

following configs needs update:

esp32c3-devkit/ble
bl602evb/wifi

need to add: CONFIG_NETDEV_LATEINIT for those to disable call to riscv_netinitialize() like on arm world.

Tested also on aries m100pfs , seems to be working great


Non existing github blob files are reported as 200

It looks like lychee is reporting some github address with result HTTP OK 200, while they should be NOT FOUND 404
$ cat example.md
[](https://github.com/lycheeverse/lychee/blob/master/README.md)

[](https://github.com/lycheeverse/lychee/blob/master/NON_EXISTENT_FILE.md)

$ lychee example.md --github-token MY_GITHUB_TOKEN

🔍 2 Total ✅ 2 OK 🚫 0 Errors

$ lychee --version
lychee 0.8.1

$ curl -I https://github.com/lycheeverse/lychee/blob/master/README.md 2>&1 | grep HTTP
HTTP/2 200

$ curl -I https://github.com/lycheeverse/lychee/blob/master/NON_EXISTENT_FILE.md 2>&1 | grep HTTP
HTTP/2 404

Thanks for the report. This was fixed in master with https://github.com/lycheeverse/lychee/pull/445. There will be a new release soon. In the meantime you can try with cargo install --git https://github.com/lycheeverse/lychee.

Went ahead and published a new version (0.8.2).
Can you try again with one of the binaries or with cargo install lychee?

Thanks for the quick answer @mre
Unfortunately, it looks like the same issue appears both on master and in released version 0.8.2
$ lychee --version
lychee 0.8.2
$ lychee example.md --github-token MY_GITHUB_TOKEN
🔍 2 Total ✅ 2 OK 🚫 0 Errors

Very strange. Does it work without the token? (It does for me.)

Here's the result without the token
$ lychee example.md
Issues found in 1 input(s). Find details below.

[example.md]:
✗ https://github.com/lycheeverse/lychee/blob/master/NON_EXISTENT_FILE.md: GitHub token not specified. To check GitHub links reliably, use `--github-token` flag / `GITHUB_TOKEN` env var.

🔍 2 Total ✅ 1 OK 🚫 1 Error (HTTP:1)

I would say however that the error should be reported even when the token is available.
Sorry but I could not look into lychee code myself, I may be able to do it next weekend.

I would say however that the error should be reported even when the token is available.

Absolutely. The issue is certainly in the fallback for Github.
Here's what we should do:

Don't check files with the API, only repositories. That's a bug in lychee. 🐛
Add tests for the above. ✅

That said, I tried it yesterday and it worked for me (even with the token set), so I don't know what's going on.

See #384 for a possible fix. Does it work with that?

Should be fixed in master now. Please reopen if it's still not working. A new version will be published in the near future.
Thanks for creating an issue. 👍


Add basic TypeScript support.

TypeScript allows you to write JavaScript, but with strong type-checking. For big and complex APIs like Gmail.js this ensures all objects, functions and returned values are used correctly, not to mention having a reliable and correct in-editor auto-completion.
According to Definitely Typed the recommended way of adding support to existing libraries is to send a PR to the library itself.
So here it is: This PR contains a type-declarations for the existing gmail.js code.
This enables TypeScript users to use gmail.js in their project and maintain type-safety by simply referencing the provided gmail.d.ts-file.
As long as the gmail.js API does not change, no changes will need to be made to the gmail.d.ts file either.
To develop and test the type declarations-file you will need to do the following things:
# get npm dependencies
npm install
# get typescript jquery type-declarations file
./node_modules/.bin/typings install
# compile and verify gmail.js type-declarations
./node_modules/.bin/tsc

I think this PR would be a nice addition to gmail.js and really hope you will consider merging it.

Typings has been obsoleted for npm @types.
I'm closing this PR and will re-open another one with more up-to-date code.


fixed story sorting functionality

Signed-off-by: Hrishikesh Agarwal<EMAIL_ADDRESS>Issue Number
fixes #222

Describe the changes you've made
I have fixed the functionality of sorting in the stories component. I have updated the backend for the same. Currently, the sorting is done only on the frontend hence because of pagination the desired result is not achieved so the sorting must be done on the backend and sent back to the frontend. PR for changes in the backend https://github.com/EOS-uiux-Solutions/strapi/pull/32

Additional context (OPTIONAL)
https://userstory.eosdesignsystem.com/story/60ede6e1bdb8130015a83154
Test plan (OPTIONAL)

Visit the home page.
Try to toggle the sorting dropdown

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] The title of my pull request is a short description of the requested changes.

@codetheorem
Please fix the conflicts

@codetheorem Please fix the conflicts

@kailash360 done

@codetheorem Please fix the conflicts

@kailash360 done

It would be great if you can make the changes for the tests. It would be a problem in deployment later on.

@codetheorem Please fix the conflicts

@kailash360 done

It would be great if you can make the changes to fix the tests. It would be a problem in deployment later on.

@kailash360 updated !

LGTM 🚀
However, we need to merge the PR 32 of EOS User Story strapi to enable the sorting logic.


Adds editable tableView example

Hi, guys I've added editable tableView example setup if you don't mind 😀

Hey @sergdort,
Thanks for this example. Do you know what would be the best way to have multiple SectionModelTypes in the same dataSource?
I have a Table view with different cells and would like to configureCell: method to configure them.
Thanks

Hi, @thonydam
Well, I think that your SectionModelTypes should be related somehow, because you will not be able to use RxTableViewSectioned...DataSource
Then in your cellFactory
dataSource.cellFactory = { (tableView, indexPath, model ) in
          if let someModel  = model as? SomeModel {
                  // configure and return cell
          }
          if let someOtherModel  = model as? SomeOtherModel {
                  // configure and return cell
          }
    }

Also there is a way to do this with associated enum
In this case you will need to switch over it in the cellFactory and return configured cell
But I haven't tried this idea yet :)

@sergdort,
Yeah the RXTableViewSectionedDataSource is compatible with only one model type.
Checking the modelType in the configureCell is definitely the way to go. I will need to figure how to build a datasource with multiple SectionModelTypes

@thonydam having different models works fine for me, you can have a look at an example here: https://github.com/icanzilb/EventBlankApp/blob/bleeding-edge/EventBlank/EventBlank2-iOS/ViewControllers/SpeakersDetails/SpeakerDetailsViewModel.swift#L25

Hi @sergdort ,
thnx :+1:
I'll merge this.
It would also be great if we could have also an editing example that doesn't modify the data source data, but uses a more pure transformation using scan operator for rows.
Something like we have in RxExample app.
        let deleteUserCommand = tableView.rx_itemDeleted.map(TableViewEditingCommand.DeleteUser)
        let moveUserCommand = tableView.rx_itemMoved.map(TableViewEditingCommand.MoveUser)

        let initialState = TableViewEditingCommandsViewModel(favoriteUsers: [], users: [])

        let viewModel =  Observable.of(initialLoadCommand, deleteUserCommand, moveUserCommand)
            .merge()
            .scan(initialState) { $0.executeCommand($1) }
            .shareReplay(1)

Adding another example is ok, or modifying this one.

Ha, @kzaher  that is very good point 👍


Update Fabric to 1.20.2

Hello, this pull request adds the support for Fabric 1.20.2.
You can try it! Please let me know if you have any issues with the following version :D
LuckPerms-Fabric-5.4.102.zip

I'm sorry, I didn't see this!

@Aurelien30000 Can you re-open the PR? I'd like 1.20.2 support very much.

@MCMDEV this commit adds fabric 1.20.2 support. no reason to reopen a pr that adds something that is already supported
https://github.com/LuckPerms/LuckPerms/commit/331a3287714956df9b03bc836e0138acd0e0f867

@MCMDEV this commit adds fabric 1.20.2 support. no reason to reopen a pr that adds something that is already supported 331a328

I seemed to have missed that.


deploy does not log failure events

Description
According to the README, levant claims:

Upon a deployment failure, Levant will inspect each allocation and log information about each event, providing useful information for debugging without the need for querying the cluster retrospectively.

However when I try to perform a deploy, levant is not living up to this promise.
# levant deploy -log-level=DEBUG -var version=2.0-3845 backoffice.nomad
2019-07-23T00:01:05-04:00 |DEBU| template/render: no variable file passed, trying defaults
2019-07-23T00:01:05-04:00 |DEBU| helper/files: no default var-file found
2019-07-23T00:01:05-04:00 |INFO| helper/variable: using command line variable with key version and value 2.0-3845
2019-07-23T00:01:05-04:00 |DEBU| levant/plan: triggering Nomad plan
2019-07-23T00:01:06-04:00 |INFO| levant/deploy: triggering a deployment job_id=backoffice
2019-07-23T00:01:07-04:00 |INFO| levant/deploy: evaluation 44215704-3054-944d-e395-a8711e961780 finished successfully job_id=backoffice
2019-07-23T00:01:07-04:00 |INFO| levant/deploy: job is not configured with update stanza, consider adding to use deployments job_id=backoffice
2019-07-23T00:01:07-04:00 |DEBU| levant/job_status_checker: running job status checker for job job_id=backoffice
2019-07-23T00:01:07-04:00 |INFO| levant/job_status_checker: job has status running job_id=backoffice
2019-07-23T00:01:07-04:00 |INFO| levant/job_status_checker: task backoffice in allocation 88a06bc9-b4c7-b2db-fe19-f172dfbb2c09 now in pending state job_id=backoffice
2019-07-23T00:01:42-04:00 |INFO| levant/job_status_checker: task backoffice in allocation 88a06bc9-b4c7-b2db-fe19-f172dfbb2c09 now in dead state job_id=backoffice
2019-07-23T00:01:42-04:00 |ERRO| levant/deploy: job deployment failed job_id=backoffice

So we see that the job failed, without any indication why. If I inspect the service, and then inspect the last failed allocation on that service, I see:
Recent Events:
Time                       Type                      Description
2019-07-23T00:02:55-04:00  Killing                   Sent interrupt
2019-07-23T00:02:55-04:00  Not Restarting            Exceeded allowed attempts 2 in interval 30m0s and mode is "fail"
2019-07-23T00:02:55-04:00  Failed Artifact Download  failed to download artifact "http://myartifactserver.com/backoffice.tar": bad response code: 404
2019-07-23T00:02:55-04:00  Downloading Artifacts     Client is downloading artifacts
2019-07-23T00:02:38-04:00  Restarting                Task restarting in 17.276746233s
2019-07-23T00:02:38-04:00  Failed Artifact Download  failed to download artifact "http://myartifactserver.com/backoffice.tar": bad response code: 404
2019-07-23T00:02:38-04:00  Downloading Artifacts     Client is downloading artifacts
2019-07-23T00:02:20-04:00  Restarting                Task restarting in 17.406498416s
2019-07-23T00:02:20-04:00  Failed Artifact Download  failed to download artifact "http://myartifactserver.com/backoffice.tar": bad response code: 404
2019-07-23T00:02:20-04:00  Downloading Artifacts     Client is downloading artifacts

So this clearly tells me the artifact download failed. But I had to go chasing down references to find it.

Output of levant version:
# levant version
Levant v0.2.7
Date: 2019-03-19T08:28:42Z
Commit: 9e952d55f171e63f5c7955e826401eac91ed0b28
Branch: 0.2.7
State: 0.2.7
Summary: 9e952d55f171e63f5c7955e826401eac91ed0b28

Output of consul version:
# consul version
Consul v1.4.4
Protocol 2 spoken by default, understands 2 to 3 (agent will automatically use protocol >2 when speaking to compatible agents)

Output of nomad version:
# nomad version
Nomad v0.9.3 (c5e8b66c3789e4e7f9a83b4e188e9a937eea43ce)

I have a similar issue. I have to log in to the nomad client to check the alloc errors


Consolidate ABTesting UITests

Consolidate internal and external UITests
Add GoogleService-Info.plist to project file to avoid needing to modify the project file to run with CI.
I'll follow with PRs for the other tests.

cc: @ollkorrect


Migrate to GitHub Actions

Background
Travis costs money now or we have to regularly (monthly?) beg for OSS allowance or something
Changes
What this PR does in Detail

Add rudimentary GitHub action "workflows" to

build on push to any branch
deploy on push of a SemVer tag (including snapshots)

Remove files related to travis deployment
Update the doc/README.md to reflect the deployment changes
Clean up the pom.xml

Update versions of dependencies & plugins
Remove unused dependencies
No longer inherit from com.mercateo.oss.parent:oss-parent-pom (temporarily)

our parent hasn't been updated for 4 years
it still depends on org.sonatype:oss-parents
which hasn't been updated in ~10 years, is deprecated and archived

some inpiration: there is a DSL for GH Actions that makes using them much easier:
https://krzema12.github.io/github-workflows-kt/user-guide/getting_started/
example:
https://github.com/factcast/factcast/blob/master/.github/kts/

@uweschaefer

some inspiration: there is a DSL for GH Actions that makes using them much easier: https://krzema12.github.io/github-workflows-kt/user-guide/getting_started/
example: https://github.com/factcast/factcast/blob/master/.github/kts/

Thx for tip! Problem is, I don't know an ounce of Kotlin :sweat_smile: and just wanted to be able to build & potentially release this project again, even if it's a q&d hack. Maybe a more permanent solution for the entire Org will be based on that DSL.

@m-kn i understand you want to limit the scope of the change. however - for the record - you don't need any kotlin knowledge to use and profit from the DSL.


Long press listener

In my app I needed to create an event on long press of a day. I implemented a long press listener very easily since I didn't to much more than copying what has been done for the simple day click listener.
Would @SundeepK and others be interested in a pull-request?

I've also added an attribute for the header text color, to color in a different way the Days Header, if shown


tests/cpu-program/gfx-smoke.slang fails on local test

Problem description
One of the slang-test tests started failing as a regression.
tests/cpu-program/gfx-smoke.slang

This test is disabled on CI but when you run it on a local machine, it fails.
The regression started happening from the following commit,
b7e82434 Wed Jun 12 12:46:24 2024 -0400 Add slangc flag to `-zero-initialize` all variables (#3987)

Note that there was a build break that causes the specific commit to have a compile error.
You will need to cherry-pick the right next commit.
Repro step
Checkout the commit that caused the regression and cherry-pick to fix the compile error,
git checkout b7e82434
git cherry-pick 8bf7d11
build slang-test.exe
slang-test.exe tests/cpu-program/gfx-smoke.slang

When the issue is reproduced, the error looks like following,
tests/cpu-program/gfx-smoke.slang(7): note 99999: an internal error threw an exception while working on code near this location
    gfx.DeviceDesc deviceDesc = {};
                   ^~~~~~~~~~
(0): error 99999: Slang compilation aborted due to an exception of class Slang::InternalError: unexpected: InitializerListType

    void SemanticsDeclBodyVisitor::visitAggTypeDecl(AggTypeDecl* aggTypeDecl)

	//...
        ensureDecl(m->getDefaultDeclRef(), DeclCheckState::DefaultConstructorReadyForUse); // crash is introduced indirectly from this line
	//...

detailed explanation of the problem: https://github.com/shader-slang/slang/pull/4491#issuecomment-2194872824


make it sandbox

https://github.com/Re-Dream/redream-gamemode/commit/7bc62e305355e6c465c2209c0e0c19e7cad879b8


Specific outputs for users (Add to list if you think of one)

Things to export:

Sites
Density
Volume

Export to:

[ ] Matlab

I think it will be increasingly difficult to achieve this if we are going down the road of disentangling the original SitesData/Trajectory structures in favour of a hierarchical class structure.
Users can easily achieve this by themselves. The numpy data output can be saved to matlab files via scipy.io.savemat and the dataframes via csv or other columnar format.


V2 dev trimop

Add trimming operator

TrimOp implements a subset of SubSample. Given their similarity, and the better performance of the latter for methods beyond just apply/adjoint(), I have refactored TrimOp to piggy-back onto SubSample.
This PR is hence accepted.


[WEB - SDK] - Add Payment Method with Dynamic Field Rendering - Affirm

The Hyperswitch SDK is a versatile tool built to streamline payment integration for developers. It simplifies the process of adding multiple payment methods, allowing you to quickly implement support for various gateways without the need to manually integrate each one. With Hyperswitch, you can efficiently manage payments across platforms, reducing complexity and boosting development speed.
Getting started

Get familiar with ReScript.
Check the README.md for project structure and setup instructions.
To setup locally, follow these steps

#  Clone repository
cd hyperswitch-web
yarn install
yarn run server     # This starts the mock server
yarn run re:start   # In another terminal

# Start Demo App in another terminal
cd hyperswitch-react-demo-app
yarn install
yarn run start        # This starts the demo app

Description:
We are looking to implement a new payment method in our WebSDK that supports dynamic field rendering. The goal is to allow the backend to define the fields required for the payment method and have the frontend WebSDK render these fields dynamically based on the response.
This feature should be flexible enough to handle different payment methods, each potentially requiring different types of input fields (e.g., text fields, dropdowns, checkboxes, etc.).

Requirements:

Payment Method Integration Details:
In this section, we provide details on the payment call response and the confirm call payload for the newly integrated payment method. Ensure you have configured the payment method at Hyperswitch Dashboard correctly. The backend already includes support for this payment method, so no additional configuration is needed.
Payment Method List Response for Affirm -
{
  "payment_method": "pay_later",
  "payment_method_types": [
    {
      "payment_method_type": "affirm",
      "payment_experience": [
        {
          "payment_experience_type": "redirect_to_url",
          "eligible_connectors": ["adyen"]
        }
      ],
      "card_networks": null,
      "bank_names": null,
      "bank_debits": null,
      "bank_transfers": null,
      "required_fields": {
        "billing.address.first_name": {
          "required_field": "payment_method_data.billing.address.first_name",
          "display_name": "card_holder_name",
          "field_type": "user_full_name",
          "value": "joseph"
        },
        "billing.address.state": {
          "required_field": "payment_method_data.billing.address.state",
          "display_name": "state",
          "field_type": "user_address_state",
          "value": "California"
        },
        "payment_method_data.billing.phone.number": {
          "required_field": "billing.phone.number",
          "display_name": "phone_number",
          "field_type": "user_phone_number",
          "value": null
        },
        "billing.address.city": {
          "required_field": "payment_method_data.billing.address.city",
          "display_name": "city",
          "field_type": "user_address_city",
          "value": "San Fransico"
        },
        "billing.phone.country_code": {
          "required_field": "payment_method_data.billing.phone.country_code",
          "display_name": "dialing_code",
          "field_type": "user_phone_number_country_code",
          "value": "+91"
        },
        "billing.address.line2": {
          "required_field": "payment_method_data.billing.address.line2",
          "display_name": "line2",
          "field_type": "user_address_line2",
          "value": "Harrison Street"
        },
        "billing.address.last_name": {
          "required_field": "payment_method_data.billing.address.last_name",
          "display_name": "card_holder_name",
          "field_type": "user_full_name",
          "value": "Doe"
        },
        "billing.address.country": {
          "required_field": "payment_method_data.billing.address.country",
          "display_name": "country",
          "field_type": {
            "user_address_country": {
              "options": ["US"]
            }
          },
          "value": "US"
        },
        "billing.address.zip": {
          "required_field": "payment_method_data.billing.address.zip",
          "display_name": "zip",
          "field_type": "user_address_pincode",
          "value": "94122"
        },
        "billing.address.line1": {
          "required_field": "payment_method_data.billing.address.line1",
          "display_name": "line1",
          "field_type": "user_address_line1",
          "value": "1467"
        },
        "billing.email": {
          "required_field": "payment_method_data.billing.email",
          "display_name": "email",
          "field_type": "user_email_address",
          "value"<EMAIL_ADDRESS>        },
        "shipping.address.line1": {
          "required_field": "shipping.address.line1",
          "display_name": "line1",
          "field_type": "user_address_line1",
          "value": "1467"
        },
        "shipping.address.line2": {
          "required_field": "shipping.address.line2",
          "display_name": "line2",
          "field_type": "user_address_line2",
          "value": null
        },
        "shipping.address.zip": {
          "required_field": "shipping.address.zip",
          "display_name": "zip",
          "field_type": "user_address_pincode",
          "value": "94122"
        },
        "shipping.address.city": {
          "required_field": "shipping.address.city",
          "display_name": "zip",
          "field_type": "user_shipping_address_city",
          "value": null
        },
        "shipping.address.country": {
          "required_field": "shipping.address.country",
          "display_name": "country",
          "field_type": {
            "user_address_country": {
              "options": ["US"]
            }
          },
          "value": "US"
        }
      },
      "surcharge_details": null,
      "pm_auth_connector": null
    }
  ]
}

Confirm call Payload should look like:
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_NjinrcPO8hJCWRArZdNLxS5u3H04sKbrP0RWPsJ53UbLDb2nmFg6eIy5mUOcxNZt' \
--data-raw '{
	"amount": 1000,
	"currency": "USD",
	"confirm": true,
	"capture_method": "automatic",
	"capture_on": "2022-09-10T10:11:12Z",
	"amount_to_capture": 1000,
	"phone_country_code": "+1",
	"description": "Its my first payment request",
	"authentication_type": "no_three_ds",
	"return_url": "https://duck.com",
	"payment_method": "pay_later",
	"payment_method_type": "affirm",
	"payment_method_data": {
 	"pay_later": {
     	"affirm_redirect": {}
 	},
    	"billing": {
 	"address": {
     	"line1": "1467",
     	"line2": "Harrison Street",

     	"city": "San Fransico",
     	"state": "US",
     	"zip": "04386040",
     	"country": "US",
     	"first_name": "joseph",
     	"last_name": "Doe"
 	},
 	"phone": {
     	"country_code": "+91",
     	"number": "9123456789"
 	},
 	"email"<EMAIL_ADDRESS>	}
	},
	"shipping": {
 	"address": {
     	"line1": "1467",
     	"line2": "Harrison Street",
	"zip": "94122",
	"country": "US"
	}

	}
}'

Dynamic Field Rendering:

Based on the backend response, the WebSDK should dynamically generate the necessary input fields.
Each field should be properly validated (e.g., required, length, pattern matching) based on the backend specifications.
Support different types of fields such as:

Text fields (e.g., for name, card number)
Select dropdowns (e.g., for country or card type)
Checkbox fields (e.g., for terms and conditions)

User Inputs:

Once the user fills in the fields, the WebSDK should package the input data and send it back to the backend for payment processing.

Contribution Guidelines:

Fork the repository and create a new branch for your work.
Ensure the WebSDK follows best practices for API integration and field rendering.
Write clean, well-documented code with clear commit messages.
Add unit tests to ensure the dynamic field rendering works as expected.
Make sure to follow our coding standards and contribution guidelines.

Helpful Resources:

Link to WebSDK documentation: WebSDK Docs
Link to the API endpoint specifications: API Docs

Submission Process:

Ask the maintainers for assignment of the issue, you can request for assignment by commenting on the issue itself.
Once assigned, submit a pull request (PR).
Maintainers will review and provide feedback, if any.
Maintainers can unassign issues due to inactivity, read more here.

Refer here for Terms and conditions for the contest.
If you have any questions or need help getting started, feel free to ask in the comments!

I would like to work on this. Can you assign it to me

@programmersoham Assigning you this issue.

Thank you !

I have started working on this. I am setting up the local dev environment.

Hey @programmersoham  ,
Quick check-in on the status of this issue. If you have any questions or need assistance, feel free to reach out in the community.

I am stuck in setting up the dev environment. Getting a ton of errors while running yarn install.

Hey @programmersoham,
Kindly let us know, if you're still working on the issue? If you have any questions or need assistance, Kindly reach out in the community.

@gorakhnathy7 I am not working on this. Please unassign

@gorakhnathy7 Can you assign this to me?


Margin for PNG output

As parameter on URL.

Why do you need this? Is it possible to use border or padding in HTML/CSS instead?


Error in Explaining a linear regression model?

Hi,
I came across this in the linear regression explainer -
"If for example we were to measure the age of a home in minutes instead of years, then the coefficients for the AGE feature would become 0.0007∗365∗24∗60=367.92."
Wouldn't this mean that a one-unit increase in age-in-minutes would have a 365∗24∗60 greater effect than a one-unit increase in age-in-years? So the coefficient for age-in-minutes should instead be  0.0007/(365∗24∗60), correct?
Apologies if I'm making some trivial error

You're absolutely right, see #1587


error from reset of R plugin

:8801/1444f3a/beaker/plugins/eval/r/r.js:202 Uncaught TypeError: this[action] is not a function
try the R examples tutorial.

looks like R and Kdb have copy-pasted spec in their .js-definitions, while they really don't have any working 'reset' and 'killAllThreads' methods


Specify disambiguation rules in YAML

What?
Disambiguation rules in heuristics.rb are specified with a DSL in a very structured way. It should be possible to move this to YAML instead of Ruby.
Why?
We work on a linguist port to Go: enry. Most of the Go code is generated from the YAML files in the linguist project. The disambiguation rules are also generated, but using a custom parser, written ad hoc for the heuristics.rb file. Having these rules specified in YAML would make it easier to reuse them in other languages.
This is something we've been thinking about for a long time, but I didn't make the proposal yet since I was not sure there is any benefit for the linguist project itself. However, it came to my knowledge that there is other people interested in porting linguist to other languages (e.g. C++), so it would be also good for them to have something like this.
The way I see it, the biggest value of linguist is not the code itself, but all the knowledge about language detection that is included in it, and making this knowledge more accessible from other software would benefit everyone by making it easier to collaborate.
How?
If you think this is worth it, I can work on a specific implementation proposal and PR.

cc @vmg

Hi @smola!
Sorry for the late reply, you caught me on holidays. I really like this idea. It should make contributing to Linguist easier for people who don't know Ruby, and it will let you kill the custom parser in enry, which I know you really want to do. :)

If you think this is worth it, I can work on a specific implementation proposal and PR.

Absolutely, I'll merge a PR like that if it has identical functionality to the existing code. Let' see it!

I'm implementing this in https://github.com/github/linguist/pull/4087. It's still work in progress, but the YAML syntax should already be pretty stable.

Merged.


eli: add missing tk build input

Before the change eli was failing to link against -ltk8.6:
https://hydra.nixos.org/build/154304087

Tk should already be included with the --with-tcltk configure flag. I bisected this issue to 98b8fc35791d1883cc8e43c755507a712f8c40c4 and found the root cause. See #139783.
Thanks for bringing this to my attention :) I'll close this PR since the change won't be necessary after #139783.

Aha, that explains why my workaround worked as well.
Thank you!


Creating a GCE VM with salt-cloud with a conflicting disk name gives very confusing error messages

How to reproduce:

Create a GCE disk with the name "vm-1"
Set up your salt-cloud configs so you'll be creating a machine called "vm-1"
Try and create that with: salt-cloud -P -m /path/to/server.map

Expected result:
A human readable error message, in red, such as:
ERROR!

Failed to create disk for VM vm-1, a disk image with a conflicting name already exists.

Actual result:
The following exception was thrown by libcloud when trying to run the initial deployment:
{u'domain': u'global', u'message': u"The resource 'projects/my-test-project/zones/europe-west1-b/disks/vm-1' was not found", u'reason': u'notFound'}
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/salt/cloud/clouds/gce.py", line 1889, in create
    node_data = conn.create_node(**kwargs)  # pylint: disable=W0142
  File "/etc/salt/src/apache-libcloud/libcloud/compute/drivers/gce.py", line 1212, in create_node
    ex_disk_type=ex_disk_type)
  File "/etc/salt/src/apache-libcloud/libcloud/compute/drivers/gce.py", line 1492, in create_volume
    return self.ex_get_volume(name, location)
  File "/etc/salt/src/apache-libcloud/libcloud/compute/drivers/gce.py", line 2476, in ex_get_volume
    response = self.connection.request(request, method='GET').object
  File "/etc/salt/src/apache-libcloud/libcloud/common/google.py", line 593, in request
    *args, **kwargs)
  File "/etc/salt/src/apache-libcloud/libcloud/common/base.py", line 695, in request
    response = responseCls(**kwargs)
  File "/etc/salt/src/apache-libcloud/libcloud/common/base.py", line 118, in __init__
    self.object = self.parse_body()
  File "/etc/salt/src/apache-libcloud/libcloud/common/google.py", line 222, in parse_body
    raise ResourceNotFoundError(message, self.status, code)
ResourceNotFoundError: {u'domain': u'global', u'message': u"The resource 'projects/my-test-project/zones/europe-west1-b/disks/vm-1' was not found", u'reason': u'notFound'}
[ERROR   ] Caught Exception, terminating workers
TRACE: 'bool' object has no attribute 'pop'
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/salt/cloud/__init__.py", line 58, in _call
    ret = func(*args, **kw)
  File "/usr/lib/python2.6/site-packages/salt/cloud/__init__.py", line 2100, in create_multiprocessing
    output.pop('deploy_kwargs', None)
AttributeError: 'bool' object has no attribute 'pop'
Error: There was a query error: Exception caught
Caught Exception, terminating workers
TRACE: 'bool' object has no attribute 'pop'
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/salt/cloud/__init__.py", line 58, in _call
    ret = func(*args, **kw)
  File "/usr/lib/python2.6/site-packages/salt/cloud/__init__.py", line 2100, in create_multiprocessing
    output.pop('deploy_kwargs', None)
AttributeError: 'bool' object has no attribute 'pop'

Hi @lietu - thanks for flagging the poor error handling here (and sorry for not seeing this sooner).
I'll see about cleaning this up in my next pass through the GCE provider.


🧑💻: remembering playback state

:red_circle: Title : remembering playback state
:red_circle: Enhancement Aim : To open up the same episode from which the user had closed the window
:red_circle: Changes :
Add a feature that will save the episode number and will open up the same episode when the user opens the website
Screenshots 📷

N/A

:white_check_mark: To be Mentioned while taking the issue :

Full name : Mayuresh
What is your participant role? (Mention the Open Source Program name. Eg. GSOC, GSSOC, SSOC, JWOC, etc.)GSSOC, SSOC

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

can i work on this issue

@nishant0708 Actually I have the prototype ready and started working on the issue. There are still many issues open, you can work on them.
Regards.

@Mayureshd-18 go ahead.
@nishant0708 raise your own issue and wait for assigning ok.


Paper Sending Machine (Fax Machines)

About the PR
This PR adds fax machines, you'd expect NT to use some fancier tech but nope. They made a bluespace fax machine. This machine is able to fax to the nearest CentCom outpost (admins) or even other departments!
To-do

[x] Fax Machine RSI
[x] Fax Machine Prototype
[ ] Component/System
[ ] UI
[ ] Commands
[ ] Polish
[ ] Wait for review
[ ] Do reviews
[ ] Be happy

Screenshots
The below is NOT AN INGAME SCREENSHOT. IT'S ONLY THE REFERENCE FOR CENTCOM FAX.

Changelog

:cl: eclips_e

add: Added fax machines, a neat way to talk to CentCom or for CentCom to talk to you!