text:
Feature/initial update setup

Description:
This pull request introduces necessary updates to facilitate easy customization and implementation of environment variables through the use of .env. The incorporation of environment variables enhances the flexibility and security of our application by allowing configurable settings without hardcoding sensitive information.
Key Changes:

Environment Variable Integration: The codebase has been modified to seamlessly integrate with environment variables, promoting a more modular and configurable setup. This implementation involves the use of a .env file, providing a convenient and standardized way to manage configuration parameters.

Email Backend Handler Update: Specifically, the EMAIL_BACKEND setting has been updated to use the more robust handler, "django.core.mail.backends.smtp.EmailBackend". This change ensures a reliable and efficient email backend for improved communication within the application.

These updates aim to simplify customization, enhance security, and improve the overall maintainability of our codebase.

Sorry I forgot to squash commit


text:
Unable to download youtube video

[x ] I've verified and I assure that I'm running youtube-dl 2017.07.15
[x ] At least skimmed through README and most notably FAQ and BUGS sections
[ x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

c:\downloads>youtube-dl -v https://www.youtube.com/watch?v=Pk_0kftCQdA >debug_log.txt
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=Pk_0kftCQdA']
[debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252
[debug] youtube-dl version 2017.07.15
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-83280-gcba4f0e, ffprobe N-83280-gcba4f0e
[debug] Proxy map: {}
WARNING: Requested formats are incompatible for merge and will be merged into mk
v.
ERROR: unable to download video data: [Errno 22] Invalid argument: 'Turandot, li
ve from The Royal Opera House-Pk_0kftCQdA.f137.mp4.ytdl'
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp9jcmgxq0\bu
ild\youtube_dl\YoutubeDL.py", line 1842, in process_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp9jcmgxq0\bu
ild\youtube_dl\YoutubeDL.py", line 1790, in dl
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp9jcmgxq0\bu
ild\youtube_dl\downloader\common.py", line 361, in download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp9jcmgxq0\bu
ild\youtube_dl\downloader\dash.py", line 42, in real_download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp9jcmgxq0\bu
ild\youtube_dl\downloader\fragment.py", line 112, in _append_fragment
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp9jcmgxq0\bu
ild\youtube_dl\downloader\fragment.py", line 82, in _write_ytdl_file
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp9jcmgxq0\bu
ild\youtube_dl\utils.py", line 454, in sanitize_open
OSError: [Errno 22] Invalid argument: 'Turandot, live from The Royal Opera House
-Pk_0kftCQdA.f137.mp4.ytdl'

-

Can't reproduce.
PS E:\Test> youtube-dl -U
youtube-dl is up-to-date (2017.07.15)
PS E:\Test> youtube-dl --ignore-config 'https://www.youtube.com/watch?v=Pk_0kftCQdA'
[youtube] Pk_0kftCQdA: Downloading webpage
[youtube] Pk_0kftCQdA: Downloading video info webpage
[youtube] Pk_0kftCQdA: Extracting video information
[youtube] Pk_0kftCQdA: Downloading MPD manifest
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[dashsegments] Total fragments: 2562
[download] Destination: Turandot, live from The Royal Opera House-Pk_0kftCQdA.f137.mp4
[download]   0.5% of ~2.91GiB at  4.04MiB/s ETA 28:42
ERROR: Interrupted by user
PS E:\Test>

Write permission for this specific file system location?

Oops, I forgot to mention: it doesn't happen right at the beginning, the download would start and fail a little later (at various points)

> py -3.6 .\youtube_dl\__main__.py Pk_0kftCQdA  -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['Pk_0kftCQdA', '-v']
[debug] Encodings: locale cp1251, fs utf-8, out utf-8, pref cp1251
[debug] youtube-dl version 2017.07.15
[debug] Git HEAD: bb176df
[debug] Python version 3.6.0 - Windows-10-10.0.10240-SP0
[debug] exe versions: ffmpeg N-85653-gb4330a0, ffprobe N-85653-gb4330a0, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] Pk_0kftCQdA: Downloading webpage
[youtube] Pk_0kftCQdA: Downloading video info webpage
[youtube] Pk_0kftCQdA: Extracting video information
[youtube] Pk_0kftCQdA: Downloading MPD manifest
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on 'https://r1---sn-ug5onuxaxjvh-v8cl.googlevideo.com/videoplayback/id/3e4ff491fb4241d0/itag/137/source/youtube/requiressl/yes/gcr/ru/ei/7oVvWZykOM66YLvrjIgN/mn/sn-ug5onuxaxjvh-v8cl/initcwndbps/2067500/pl/20/mv/m/ms/au/mm/31/ratebypass/yes/mime/video%2Fmp4/otfp/1/gir/yes/clen/3724712492/lmt/1500305115633637/dur/13109.760/key/dg_yt0/signature/8385B64D60B4CA1D08216B2FED53A9E936D3B486.7B8E380C79BA2EFF76CA964E07837BE3696974C8/mt/1500480884/ip/109.171.17.81/ipbits/0/expire/1500502607/sparams/ip,ipbits,expire,id,itag,source,requiressl,gcr,ei,mn,initcwndbps,pl,mv,ms,mm,ratebypass,mime,otfp,gir,clen,lmt,dur/'
[dashsegments] Total fragments: 2562
[download] Destination: Turandot, live from The Royal Opera House-Pk_0kftCQdA.f137.mp4
[download] 100% of 3.47GiB in 34:22
[debug] Invoking downloader on 'https://r1---sn-ug5onuxaxjvh-v8cl.googlevideo.com/videoplayback?key=yt6&lmt=1500356383969798&dur=13109.801&initcwndbps=2067500&source=youtube&signature=A7D1C816A093E055F6B7AAF77E84437204F477BA.9340446CCAFB95FC4355AA08BD561D57047D0050&gir=yes&requiressl=yes&ipbits=0&id=o-ANJ5QeaImaEI-y5qbAUDWqT1ar-SPoV-67X0hntal8MS&gcr=ru&mn=sn-ug5onuxaxjvh-v8cl&mm=31&keepalive=yes&sparams=clen%2Cdur%2Cei%2Cgcr%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&ms=au&itag=251&ei=7oVvWbilDcnUYO-yutgF&mv=m&mt=1500480884&pl=20&mime=audio%2Fwebm&ip=109.171.17.81&clen=207794496&expire=1500502606&ratebypass=yes'
[download] Destination: Turandot, live from The Royal Opera House-Pk_0kftCQdA.f251.webm
[download] 100% of 198.17MiB in 00:22
[ffmpeg] Merging formats into "Turandot, live from The Royal Opera House-Pk_0kftCQdA.mkv"
[debug] ffmpeg command line: ffmpeg -y -i "file:Turandot, live from The Royal Opera House-Pk_0kftCQdA.f137.mp4" -i "file:Turandot, live from The Royal Opera House-Pk_0kftCQdA.f251.webm" -c copy -map "0:v:0" -map "1:a:0" "file:Turandot, live from The Royal Opera House-Pk_0kftCQdA.temp.mkv"
Deleting original file Turandot, live from The Royal Opera House-Pk_0kftCQdA.f137.mp4 (pass -k to keep)
Deleting original file Turandot, live from The Royal Opera House-Pk_0kftCQdA.f251.webm (pass -k to keep)

Post complete log.

source: gharchive/issue

authors: Hrxn dstftw virgilash

license: Unlicense

license_type: permissive

license_source: github-api


text:
Problem to download and convert TED talks

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.07.29. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.07.29

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2018.07.29
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://www.ted.com/talks/christoph_niemann_you_are_fluent_in_this_language_and_don_t_even_know_it
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
I use another software, which include Youtube DL, so I coudln't provide every materials on this issue. This is problem of downloading TED talks.

@Giovani93 run it from console, and show log
it works for me
test is you have installed ffmpg
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-F', u'https://www.ted.com/talks/christoph_niemann_you_are_fluent_in_this_language_and_don_t_even_know_it']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.07.29
[debug] Git HEAD: 15ec1c15f
[debug] Python version 2.7.13 (CPython) - Linux-4.9.0-6-amd64-x86_64-with-debian-9.4
[debug] exe versions: ffmpeg 3.2.12-1, ffprobe 3.2.12-1, phantomjs 2.1.1
[debug] Proxy map: {}
[ted] christoph_niemann_you_are_fluent_in_this_language_and_don_t_even_know_it: Downloading webpage
[ted] christoph_niemann_you_are_fluent_in_this_language_and_don_t_even_know_it: Downloading m3u8 information
[info] Available formats for 20089:
format code     extension  resolution note
hls-600k-Audio  mp4        audio only [en]
hls-67          mp4        audio only   67k , mp4a.40.2@  0k
low             mp4        320x180
medium          mp4        512x288
high            mp4        854x480
hls-160         mp4        320x180     160k , avc1.42c00c, mp4a.40.2
hls-735         mp4        512x288     735k , avc1.42c015, mp4a.40.2
hls-1096        mp4        512x288    1096k , avc1.42c015, mp4a.40.2
hls-1684        mp4        640x360    1684k , avc1.42c01e, mp4a.40.2
hls-2053        mp4        853x480    2053k , avc1.4d401f, mp4a.40.2
hls-2341        mp4        512x288    2341k , avc1.42c015, mp4a.40.2
hls-3455        mp4        1280x720   3455k , avc1.640028, mp4a.40.2 (best)


text:
Problem downloading niconico playlist, KeyError: u'url'

F:>youtube-dl -v http://www.nicovideo.jp/mylist/39968249
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.nicovideo.jp/mylist/39968249']
[debug] Encodings: locale cp932, fs mbcs, out cp932, pref cp932
[debug] youtube-dl version 2015.02.04
[debug] Python version 2.7.8 - Windows-8-6.2.9200
[debug] exe versions: ffmpeg N-67731-gce80f9f, ffprobe N-67731-gce80f9f
[debug] Proxy map: {}
[NiconicoPlaylist] 39968249: Downloading webpage
[download] Downloading playlist: のぞえりRadioGarden
[NiconicoPlaylist] playlist のぞえりRadioGarden: Collected 57 video ids (downlo
ding 57 of them)
[download] Downloading video 1 of 57
[niconico] so22543406: Downloading webpage
[niconico] so22543406: Downloading video info page
[niconico] so22543406: Downloading webpage
[niconico] so22543406: Downloading flv info
Traceback (most recent call last):
File "main.py", line 19, in
File "youtube_dl_init_.pyo", line 382, in main
File "youtube_dl_init_.pyo", line 372, in _real_main
File "youtube_dl\YoutubeDL.pyo", line 1352, in download
File "youtube_dl\YoutubeDL.pyo", line 630, in extract_info
File "youtube_dl\YoutubeDL.pyo", line 789, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 683, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 619, in extract_info
File "youtube_dl\extractor\common.pyo", line 268, in extract
File "youtube_dl\extractor\niconico.pyo", line 117, in _real_extract
KeyError: u'url'

Thanks for the report! This playlist can be downloaded in the next version of youtube-dl.


text:
Pornhub embeds via Tumblr broken, regex error (NSFW link)

youtube-dl --verbose http://seattle255.tumblr.com/post/119634745287/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'http://seattle255.tumblr.com/post/119634745287/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.06.04.1
[debug] Python version 2.7.9 - Linux-3.19.0-18-generic-x86_64-with-Ubuntu-15.04-vivid
[debug] exe versions: avconv 11.2-6, avprobe 11.2-6, rtmpdump 2.4
[debug] Proxy map: {}
[Tumblr] 119634745287: Downloading webpage
ERROR: Unable to extract iframe url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 650, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 273, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/tumblr.py", line 60, in _real_extract
webpage, 'iframe url')
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 555, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract iframe url; 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.

Will be fixed in the next version. Thanks for the report.

authors: dstftw vxbinaca


text:
Support for video.meta.ua

Please add support for meta.ua (big site in Ukraine).
Example video: http://video.meta.ua/2092838.video

This looks like copyrighted content. youtube-dl does not support sites dedicated to copyright infringement. Do they have rights to distribute this? If not provide an example URL that does not violate any copyrights.

Good point, but this is for personal use and it's a big video site (just like YT) so there's all kinds of stuff on there.
I also updated the example video to something more suitable.

authors: EnginePod dstftw


text:
[doc] coding conventions: add hint to linter

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[x] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
This patch makes it easier for potential new contributors to discover that we actually do have (and should use) a linter.

Current wording is clear enough about what and should do and how.

Current wording is clear enough about what and should do and how.

Your opinion surprises me. It might be clear enough indeed, but not really accessible. Why should you care about UX in this case? Because some amount of your time and your effort was wasted.
How?
In your comment to #14388 you had to tell me "flake8.", meaning that indeed we do have a linter. I assume you also had to perform some kind of check in order to discover that I had not linted.
Why?
Yesterday the checbox in the issue lead me to the coding conventions. I read them, and couldn't find any sign of a linter in that chapter. I couldn't believe a project like this would do without, so I searched the text of the page for the word "lint". No match. I thus assumed we wouldn't use a linter here, and thus submitted my PR without linting.

For this particular code I didn't run flake8. It's pretty obvious even after a brief look that the code does not meet PEP 8.
The same checkbox leads to the tutorial (it goes even before mentioning coding conventions) that describes everything needed step by step. You've searched for "lint" other may have searched for "pyflakes", "checker", "flake" or whatever they used to call it. This does not mean all these keywords should be mentioned. There are also many other specific aspects apart from code style that may also be referred differently and it's pointless to include all possible buzzwords for them. All you have to do is to read everything that is linked in template carefully.

I see. Thanks for explaining.

source: gharchive/pull-request

authors: dstftw mk-pmb


text:
[Gamekings] Fix 404 when large isn't available

When trying to download some GameKings videos, not all worked. This was
because not all videos had a "/large"-URL available. The extractor
checks now if the /large URL is available, if it isn't, it tries to get
the normal URL.

I'm sorry, I should have tested it more thoroughly. This pull request still gives the error:
ERROR: unable to download video data: HTTP Error 404: Not Found

Instead of normally
[debug] Invoking downloader on 'http://stream.gamekings.tv/http://player.vimeo.com/external/large/118933752.hd.mp4?s=951736e73099d4929870d12fd54483b6'

The newer GameKings videos are uploaded on Vimeo instead of their own servers, this causes the problem.

I would suggest extracting from rss playlist rather than these heuristic substitutions.
There is a playlist id in page's source code:
gogoVideo(94393,"aHR0cDovL3BsYXllci52aW1lby5jb20vZXh0ZXJuYWwvMTE4OTMzNzUyLmhkLm1wND9zPTk1MTczNmU3MzA5OWQ0OTI5ODcwZDEyZmQ1NDQ4M2I2LGh0dHA6Ly93d3cuZ2FtZWtpbmdzLnR2L3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDE1MDIwMl9NYWpvcmFzbWFza19zcGxhc2gxLTEwMjR4NTc2LmpwZyxUaGUgTGVnZW5kIG9mIFplbGRhOiBNYWpvcmEmIzgyMTc7cyBNYXNr",pseudo);

That can used to grab a playlist with valid video URLs:
http://www.gamekings.tv/wp-content/themes/gk2010/rss_playlist.php?id=aHR0cDovL3BsYXllci52aW1lby5jb20vZXh0ZXJuYWwvMTE4OTMzNzUyLmhkLm1wND9zPTk1MTczNmU3MzA5OWQ0OTI5ODcwZDEyZmQ1NDQ4M2I2LGh0dHA6Ly93d3cuZ2FtZWtpbmdzLnR2L3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDE1MDIwMl9NYWpvcmFzbWFza19zcGxhc2gxLTEwMjR4NTc2LmpwZyxUaGUgTGVnZW5kIG9mIFplbGRhOiBNYWpvcmEmIzgyMTc7cyBNYXNr

That's a better way indeed. It already downloads the playlist now, but to be honest, I've never worked with XPath, so I didn't extract the information yet. Does someone else want to do it or should I read more into XPath?

I'm fixing it now, so don't bother. :) It's going fine.

Done!

Thanks, merged with minor changes. Would you like to be credited as one of the authors of youtube-dl? If so, under what name?

Sure! You can add me as one of the authors under the name 'Robin de Rooij'


text:
Remove extra spaces & trim title

This removes extra spaces in title, also removes any leading and trailing whitespace, before title size check and after title is copied to 'fulltitle'. Repeated spaces can waste space in a filename, leading spaces can mess up sorting, and make file handling more difficult.

Extra whitespace may be intentional, even the trailing one. Particular extractor should handle this individually.

Title whitespace intentional? Any example of this? How about a commandline option to offer users a choice about this?

Title whitespace intentional? Any example of this?

Say, I'm the author of some YouTube video and I want it to be entitled "A   B", and don't want it to be "A B" under no cirsumstances. Beforehand you don't know my intentions whether it's intentional or not.

Then it could be perhaps a command line option, like: --trim-title ... That way users could use it when needed.

I don't see much point for such specific options. Also idiomatic trim does not trim inner whitespace so suggested name does not reflect the semantics properly. Moreover there are lots of other textual options apart from title adding option for each is overkill.

Then it can be renamed to something else. I see no reason not to allow one option to clean white space, not sure why are you opposed to it either. It is useful option to have, required one simple line of code, and it can be Off by default, so there is nothing change if it is not explicitly used.

I've already pointer out why - it's too specific.
Why only trim all whitespace, somebody may want to trim only inner, add another one option for that? One may want to trim only left or right, or only tabs - another bunch of options? Why only title, there are description/uploader/series/etc, add options for them also?

Because title goes to filename. Some videos have leading and trailing spaces and it creates files with those, which is generally not desired. This could also be done at the end with the final filename, not limited to the title -- filename is more important. I am in no rush to add this, but it could be an useful option, limited to filenames, similar to --restrict-filenames, just for whitespace removing.

Hehe, did you know underscores "_" are already trimmed and collapsed? Try with IKZhQnc5cc8 -- so what now if someone wants a title like super__cool__title .... it doesn't work. And it is not extractor-specific, it is inside utils.py. :)

It's just buggy legacy filename sanitize implementation.

It's because sanitization can result in multiple consequent _ and those are later collapsed. Not sure what's buggy about that, it works OK for what it does.

It should not collapse the original underscores but only those that represent invalid characters. Moreover I don't even see much point collapsing underscores that were previously invalid characters.

It should do the same thing for spaces, nobody needs extra spaces in filenames.


text:
🛑 Sito Web is down

In 3301024, Sito Web (https://www.comune.preganziol.tv.it) was down:

HTTP code: 403
Response time: 828 ms

Resolved: Sito Web is back up in 841327c after 38 minutes.

repo: rglauco/upptime

license: MIT


text:
Users report multi-word playlists don't work well

There are consistent reports that multi-word playlists & favorites don't work well.  Need to investigate how multi-word playlists are being interpreted by Alexa.

Don't get me wrong, this is a way cool skill. But this bug seriously limits the flexibility of the application. Is there any way we can fetch the current playlists/favorites and have that information ready for Alexa in advance so there's less guess-work?

@nbroberg - yes, you can pre-populate the utterances with as many examples as you like

The issue is not really the number of utterances, it's the values in the slot called preset.  You need to populate the preset slot values with all the favorites you want to play for accuracy.  Unfortunately you have to do this in advance so far as I know.  There is no mechanism to dynamically update the slot values.
For example, my preset slot values are
ambient
baroque
blues
blues radio
classical
country
drone zone
electronic
gangsta rap
gangster
hearts of space
jazz
kera
lounge
ocean waves
persian
quiet classical
rock
sahara sunset
secret agent
shit kicker
smooth jazz
space station
this weeks show
thunder toads
ocean waves
which corresponds to every favorite I want it to play.

In theory, if you give it enough examples, Alexa should be able to pattern match against the examples to make the right decisions.  In practice, it would seem like it needs some work

authors: kshartman nbroberg rgraciano

repo: rgraciano/echo-sonos

license: mit

license_source: bigquery


text:
Only showing the main progress bar and hiding all the child progress bars

I read every page of the documentation and even tried it myself but couldn't figure out a way to only show the main progress bar. Can you please help me?

You should be able to set the child progress bar options to hidden with ProgressBarOpts::hidden().

I tried that but it just reverts child progress bar back to default rather than hiding it.

Oh! Since trauma calls the hidden() function of the indicatif library, that might also be a bug there. I'll try to see how to reproduce that problem. I see that there is also a newer version of indicatif that we may want to try.

Yes, thank you it would be a great help, and I'll be waiting to the update.

This issue should be fixed in 2.1.1.
If you are still encountering the problem, feel free to re-open this issue and post a minimal reproducible example.

repo: rgreinho/trauma


text:
BUG-Image comparison

Image comparison cannot open right-click menu。

I can't seem to reproduce this. The menu opens fine for me.
Can you open your Browser DevTools Console (usually F12) and check if there are any new errors that appear when you right-click in the comparison node?

ComfyUI_NestedNodeBuilder    I checked if there is a conflict with this, just delete it

repo: rgthree/rgthree-comfy


text:
Enhance the requirements for the edge cluster.

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please select the appropriate options:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] This change is a documentation update

Testing
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Test Configuration:

Versions:
Hardware:

Checklist

[ ] I have performed a self-review of my own code
[ ] If a change is adding a feature, it should require a change to the README.md and the review should catch this.
[ ] If the change is a fix, it should have an issue. The review should make sure the comments state the issue (not just the number) and it should use the keywords that will close the issue on merge.
[ ] A change should not be merged unless it passes CI or there is a comment/update saying what testing was passed.
[ ] PRs should not be merged unless positively reviewed.

cc @flaper87

for https://issues.redhat.com/browse/MGMT-11284


text:
operator-sdk should be updated to v0.11.0+

v0.12.0 is released but requires an updated go as well, so perhaps v0.11.0 is the better move at the moment.
I've tried upgrading to both but I run into what appear to be go module issues, along the lines of this:
https://github.com/kubernetes/kubernetes/issues/79384
Perhaps because of/related to this:
https://github.com/operator-framework/operator-sdk/issues/2030

@ebaron maybe you're more familiar with go modules than I am, could you try updating the version?

$ operator-sdk print-deps
Error: print deps failed: (go.mod:5: invalid module version "v0.10.x": version must be of the form v1.2.3
go.mod:30: invalid module version github.com/prometheus/prometheus: version must be of the form v1.2.3)

repo: rh-jmc-team/container-jfr-operator


text:
Luxembourgish phoneme.txt file added

I want to add Luxembourgish as additional language to Rhasspy/Gruut.

Thanks, Marco!

authors: mbarnig synesthesiam

repo: rhasspy/gruut-ipa


text:
EV3-G API: touch sensor

Need to get screenshots of the touch sensor blocks

@dlech wrong image :)

Buttons are a touch sensor of sorts :wink:
Here is the correct screenshot:

---> This may be relevant when looking to replicate EV3-G, including or excluding original bugs.
If that post doesn't make sense, ask away :)

@dlech does ev3dev support the bumped value?  I've been cat value0 over and over while touching the sensor but I only ever see 0 or 1

@dwalton76 ev3dev's built-in touch sensor driver doesn't support bumped; it only reports whether or not the button is pressed (which I think is the correct behavior). If we want to support that logic, we'll have to implement it in Python. I'd say we should just omit it for now.

works for me

authors: WasabiFan dlech dwalton76 laurensvalk


text:
fix: README prop desc

Fix

README.md

The name and default value for prop wrapperColor was wrong.

Closing since this is not the only prop that's not relevant.


text:
Build problem on feature/express-routing branch

I'm trying to run the builded version of the branch with: node public/index.js
and getting:
Error: Cannot find module './server/api'
Not sure why webpack isnt the api.

Snap! You're right. The node server code is not bundled by webpack. Gotta fix that. Thanks for reporting.

Fixed this by implementing a webpack build for src/index as well (#10).

Nice. You did a good job in this repo, btw. Thanks.

Thanks! :-) If there are any requests, optimizations or the like, please open an issue, as it helps to improve the quality and usefulness even further

authors: jorgeitenjr rherwig


text:
🛑 BOS2 is down

In c2da7e7, BOS2 ($URL_BOS2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BOS2 is back up in 284636b after 7 minutes.

repo: rholak/upptime


text:
BOJ15991 1,2,3 더하기 - 6 문제 질문 드립니다

안녕하세요  류호석 강사님
풀이 중 홀수 개를 더한 경우의 코드를 이해하지 못해서 질문 드립니다.

n=0
1
2
3
4

1
1
1+1
1+1+1
1+1+1+1

2
3
1+2+1

2+2

dy[0]
dy[1]
dy[2]
dy[3]
dy[4]

1
1
2
2
3

이 문제를 파티셔닝을 하게 되면 가운데 숫자를 기준으로 맨 앞뒤에 1,2,3이 붙게되는 것으로 생각됩니다.
이 때 n=4일 때 홀수 개를 더하기 위한 코드에서 mid가 2일 경우 Dy[(x - mid) / 2]가  Dy[1]로 되고
Dy[1]의 덧셈식은 1인데 해당 값을 어떤 이유로 더해주는 지 궁금합니다. (n=4 : 2+2 덧셈식과 대응이 안되는 것으로 생각되서요)
감사합니다~~
// 홀수 개를 더한 경우
 for (int mid = 1; mid <= 3; mid++)  // 가운데에 mid 를 더한 상황
        if (x - mid >= 0 && (x - mid) % 2 == 0) {  // 양쪽이 대칭을 이루게 더하기 위함
            res += Dy[(x - mid) / 2];
            res %= MOD;
        }

// 짝수 개를 더한 경우 (사실상 위에서 mid 가 0 인 경우. 즉, for loop을 0 부터 시작해도 됨)
if (x % 2 == 0) {  // 양쪽이 대칭을 이루게 더하기 위함
    res += Dy[x / 2];
    res %= MOD;
}

4=2+2  로 표현한 값은 짝수 개를 더한 경우에서 카운트 됩니다. (2+2 는 두 개의 수가 더해졌기 떄문입니다.)
홀수개의 수를 더해서 x를 만들기 위해서는, 가운데에 mid 라는 수가 더해지고 그 양쪽이 대칭이어야 합니다. 즉, (Something) + mid + (Something의 대칭) = x 인 식의 개수를 구해야 합니다. 식을 정리해보면 Something = (x - mid) / 2 을 만드는 경우의 수를 알아야 합니다. 때문에 그러한 경우의 수가 이미 계산되어 있는 Dy[(x - mid) / 2] 의 값을 가져오는 것입니다.

드디어 깨우쳤습니다 답변 감사합니다!!


text:
Switch mvn out for mvnw

This is a simple change to fix the build error Exception in thread "main" java.lang.NoSuchMethodError: org.eclipse.aether.transfer.TransferResource.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/io/File;Lorg/eclipse/aether/RequestTrace;)V using the latest jenkins-slave-mvn.

LGTM

Thanks @gsampaio-rh!

authors: gsampaio-rh jacobsee

repo: rht-labs/open-management-portal-backend


text:
maven parse error when specifying restart policy

[ERROR] Failed to execute goal org.jolokia:docker-maven-plugin:0.11.2-SNAPSHOT:start (default-cli) on project rest-api: Unable to parse configuration of mojo org.jolokia:docker-maven-plugin:0.11.2-SNAPSHOT:start for parameter restartPolicy: Cannot create instance of class org.jolokia.docker.maven.config.RestartPolicy: Class org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter can not access a member of class org.jolokia.docker.maven.config.RestartPolicy with modifiers "private" -> [Help 1]

merged, closing

repo: rhuss/docker-maven-plugin


text:
Invalid edition [free] for addon rias/statamic-data-import

Statamic Version: 3.2.31
Hello, I attempted to install this package, but upon installation an error is thrown when attempting to access the Addon via the Statamic Control Panel:
Invalid edition [free] for addon rias/statamic-data-import

Try to set it via : composer require rias/statamic-data-import

repo: riasvdv/statamic-data-import


text:
Module name conventions

@abunashir We should follow the asciidoctor extension module naming conventions. Thanks!
e.g.
https://github.com/riboseinc/asciidoctor-bibtex/blob/master/lib/asciidoctor-bibtex/asciidoctor.rb

I'm not currently using any extensions/macros that aren't built in, but I may not be understanding this. @paolobrasolin , if you understand this better, could you take this ticket over as part of your cleanup?

If this was part of the asciidoctor core it would live in Asciidoctor::Converter::RFC2Converter (et. anal. for v3).
The naming convention for extensions would be to name it asciidoctor-rfc and use the base namespace Asciidoctor::RFC. (asciidoctor-bibtex and asciidoctor-bibliography itself are non kosher, actually). Of course there is some variability, but that's what popular extensions seem to be doing.
On side note, I saw two version.rb, one for each api. I'm not particuarly convinced by that, (I'd go with one gem, one version). I'll open an issue about that when I'm actively refactoring.
@opoudjis Sure!

The two version.rb files are indeed wrong, and I was hoping you wouldn't notice. :-) There is no compelling reason to version v3 and v2 separately. Happy for you to get rid of this, or for me to.

authors: opoudjis paolobrasolin ronaldtse

repo: riboseinc/asciidoctor-rfc


text:
🛑 FIR is down

In 6f0b98d, FIR ($FIR_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FIR is back up in 73691ff after 11 minutes.

repo: ricardoheil/test-uptime


text:
Problema na home

Descrição:
Ao usuário clicar no banner ele recebe um erro 500

Resolvemos o problema alterando a função x, conforme pull request 2


text:
dont start

where logs
game version 1.5.78.11833
windows 10

Same, also doesn't work with 1.4.9.2.

Still dont work (dec 2021)

Null pointer exception when trying to start the second to newest version, newest one does not give an error before it exits.
************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: uriString
at System.Uri..ctor(String uriString)
at ModInstaller.ModManager.CheckApiInstalled()
at ModInstaller.ModManager.Form2_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Downgrade to beta 32-bit compatability. You can look up a guide for that.

Wait what

Oh i made this issue

repo: ricardosouzag/ModInstaller


text:
Please provide a better worked example

I'm trying to use syng and the documentation appears to be out of date.
The example usage has syng -o fAulStu2 -k -b -S fAulStu2-reads.1seq.  The actual program however has no -b or -S flag and -k takes a parameter.
Also I can't figure out how to get it to work.  I tried extracting a chunk of Revio HG002 data (the chr1 centromere) as fastq and it crashes.
./syng -o test in.fq
k, w, seed are 16 1023 7
sequence file 1 in.fq type fastq:
had 33385 sequences (0 filtered) 515435467 bp, yielding 1422788 syncs with 418056 extra syncmers
user	10.287280	system	0.548212	elapsed 5.931787	alloc_max 1581	max_RSS	724928
Total for this run 33385 sequences, total length 515435467
Overall total 1422788 instances of 418056 syncmers, average 3.40 coverage
Segmentation fault

If I build with debugging enabled it doesn't segmentation fault, so I cannot get a stack trace.  However it also produced no output and no files named test*.
If I try converting in.fq to in.1seq and running with that, as per the worked example, it bails out instantly.
./syng -o test in.1seq
k, w, seed are 16 1023 7
free(): invalid pointer
Aborted

It appears to be a hard fail on my input format not matching the expected byte stream, but I don't know anything about 1seq nor why my 1seq is a different format to the expected one.
Breakpoint 1, seqIOopenRead (filename=0x7fffffffd87e "in.1seq", convert=0x55555577e020 <dna2indexConv>,
    isQual=false) at seqio.c:33
33	  SeqIO *si = new0 (1, SeqIO) ;
(gdb) n
34	  if (!strcmp (filename, "-")) si->gzf = gzdopen (fileno (stdin), "r") ;
(gdb)
35	  else si->gzf = gzopen (filename, "r") ;
(gdb)
36	  if (!si->gzf) { free(si) ; return 0 ; }
(gdb) p si->gzf
$1 = (gzFile) 0x5555558abc50
(gdb) n
37	  si->bufSize = 1<<24 ; // 16 MB
(gdb)
38	  si->b = si->buf = new (si->bufSize, char) ;
(gdb)
39	  si->convert = convert ;
(gdb)
40	  si->isQual = isQual ;
(gdb)
41	  si->nb = gzread (si->gzf, si->buf, si->bufSize) ;
(gdb)
42	  if (!si->nb)
(gdb)
47	  si->line = 1 ;
(gdb)
48	  if (*si->buf == '>')
(gdb)
52	  else if (*si->buf == '@')
(gdb)
75	  else if (*si->buf == 'b')
(gdb)
103	  else if (*si->buf == '1')
(gdb)
104	    { gzclose (si->gzf) ; si->gzf = 0 ;
(gdb)
free(): invalid pointer

I get further if I bgzip the in.1seq file as the gzclose is failing due to the input not being gzipped.  However then it gets a SEGV soon after as it cannot open the 1seq file.
I thought that perhaps it needs a custom gzip, like bgzip but perhaps different.  I noticed gaffer/seqconvert has the statement ".gz ending outfile name implies gzip compression", but it doesn't work:
@ seq4d[quantum/syng]; ./gaffer/seqconvert -t -o in.1seq.gz in.fq
reading from file type fastq
Segmentation fault

It works if I don't specify the .gz there.

repo: richarddurbin/syng


text:
🛑 CTLT Events is down

In 15e401d, CTLT Events (https://events.ctlt.ubc.ca) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CTLT Events is back up in d4fdbeb after 6 minutes.

repo: richardtape/ubcupptime


text:
How do I add gaps to workspacer?

I want to add gaps to workspacer like there are in i3-gaps and other window manager. I do not see any keybinds or configuration that will allow me to have gaps? Can someone please help me?

There seems to be a PR for this, but it has yet to be merged:
https://github.com/rickbutton/workspacer/pull/161

what about like config or something?

You could take a look at the PR #193.

#193 Was recently merged adding the option to add inner and outer gaps, you can see dalylsaac's config file that implements it. You can check the unstable release which should already have this (or else build from source and wait until the next stable release).

For example:
#r "C:\Program Files\workspacer\plugins\workspacer.Gap\workspacer.Gap.dll"

using workspacer.Gap;

...

var gap = 20;
context.AddGap(
    new GapPluginConfig()
    {
        InnerGap = gap,
        OuterGap = gap / 2,
        Delta = gap / 2,
    }
);

authors: Kawaiiaz dalyIsaac josteink system32uwu

repo: rickbutton/workspacer


text:
README issues or questions

1. scrypt in node's "crypto"
The README still points to node-scrypt - last updated 4 years ago (related issue: #18).
However, it seems node.js's own crypto module supports scrypt so maybe the link should just say to use that implementation?
https://nodejs.org/api/crypto.html#crypto_crypto_scrypt_password_salt_keylen_options_callback
2. Code example reference to "buffer.js"
EDIT invalid, for some reason I overlooked the "thirdparty" folder. Text removed.
3. Why Buffer?
Why not just use a TypedArray? I'm missing an explanation for why I'm told to use the node.js Buffer emulation.
That soft dependency seems like significant overhead overhead, it's far more than the scrypt package itself!
4. Return type
Document the return type.
On node.js I get a Buffer. Here it seems I get an Array (I only looked at the source? Of what exactly? Without TypeScript-like types it's really hard to see what I get - maybe add a ".d.ts" file with that information as TypeScript types? The example code just uses console.log, which because of implicit JS type conversions toString() does not tell me anything useful. Normally I would expect a Buffer, no?

Sorry for the long delay.
I've added TypeScript files and updated the README.
The Buffer dependency is only for the web demo, which could easily be removed in the future; I think I only use it for things which my strings library could handle, I just haven't had time to do it and it is fairly low priority, I think?
I'm going to close this now, but please feel free to re-open if you feel something wasn't addressed.
Thanks! :)

repo: ricmoo/scrypt-js


text:
Not able to Capture image from camera in release apk in flutter.

I am calling below code to capture still image. This code works in dev mode but when i tested release apk it is throwing an exception.
 photoCapture.takePicture((fileUrl) {
    }, (exception) {
   // getting this error in release apk. works in dev mode.

    // PlatformException(NotConnectedException, com.ricoh360.thetaclient.transferred.UnknownResponse cannot be cast to
    // com.ricoh360.thetaclient.transferred.TakePictureResponse, null, null)
          });

@kishanj918 I have confirmed to run demo-flutter in release mode without problems.
Would you try to add "proguard-rules.pro" file to your application? Please see issue #33.

@kishanj918
Thanks for your comment.
Could you please output the complete error log from Android Studio or console
and share it with us ?
Thank you very much.

@kishanj918
Please add following line to your  "proguard-rules.pro" file.
-keep class kotlinx.serialization.** { *; }

authors: LassicYM kishanj918 simago

repo: ricohapi/theta-client


text:
Allow ViewModel suffix for page models

I propose to extend FreshMvvm naming convention and allow not only "PageModel", but "ViewModel" suffix for page models. This just looks more standard for MVVM frameworks and will simplify legacy code refactoring.

+1 for this. The PageModel convention works for simple scenarios, but in some applications we want to have pages with nested view model structures and this change allows a pagemodel -> viewmodel[] structure without having to place both pages + views in the same folder to please the reflection lookup of the models.


text:
Add support for extensions

https://www.prisma.io/docs/concepts/components/prisma-schema/postgresql-extensions
With the current implementation, this code:
datasource: {
  // rest
  extensions: `[pg_tgrm, zombodb]`,
  // rest
}

Evaluates to:
extensions = "[pg_tgrm, zombodb]"

@KrzysztofZawisla What if you provide an array of strings? Can add type support as well, but that should work unless I'm horribly wrong.

@KrzysztofZawisla Added to https://github.com/ridafkih/schemix/pull/53, if you'd like to test, otherwise I'll have this merged in tomorrow! :)

Has been merged and released in v1.8.4

@KrzysztofZawisla What if you provide an array of strings? Can add type support as well, but that should work in the meantime unless I'm horribly wrong.

Sorry, I was out of programming vibe for these 4 days, so I didn't even check replies on this issue. It's important to not have items in array as string, because they will also be evaluated to string in prisma schema. Prisma requires passing extensions not as string to properly highlight syntax. In free time I will check the new release if it solves that problem.

@KrzysztofZawisla Thanks for letting me know! I'll make this adjustment tonight.

@KrzysztofZawisla Alright, #54 should address this fair and square. I was actually looking at the project you're contributing to the other day that implemented Schemix, and was impressed by the scale at which you guys took the library. Was very happy to see that.
Since you guys are really using the library well, if you have any other suggestions, feature requests, or bug reports, let me know and I'll be sure to address them as soon as I can.

Released in v1.8.5 since the change does not touch any other components, let me know if that addresses that and I will close this issue.

@ridafkih I have checked the new release (1.8.5) and everything works perfectly good.
I'm also happy about the fact that you have created that library, and we found it. Unique and well-done documented library in this field. Our Prisma schema expanded dramatically, and we thought that have to be separated + we had issues with stuff that must have done programmatically like country codes or enums generated based on typescript enums. We will make a PR or report issue in case when we will found a way to improvement something, but firstly we need to make our PostgreSQL, MongoDB, and FaunaDB schemas/structure and migrations 😅.
Best Regards,
Krzysztof Zawisła and @borys-malinowski

authors: KrzysztofZawisla ridafkih

repo: ridafkih/schemix


text:
Add configurable X-Cascade header support.

Closes #95.
Signed-off-by: Dane Jensen dane@rightscale.com

LGTM

authors: blanquer careo

repo: rightscale/praxis


text:
Incorrect documentation regarding "no_dns_buckets" option for S3

In lib/cloud/aws/s3/manager.rb on line 330 we're given the example:
link = RightScale::CloudApi::AWS::S3::Link::Manager::new(key, secret, endpoint, :no_dns_buckets => true)

It should be:
link = RightScale::CloudApi::AWS::S3::Link::Manager::new(key, secret, endpoint, :cloud => { :no_dns_buckets => true })

I'll fix it, thanks

fixed

authors: konstantin-dzreev mdchaney


text:
Can't scroll inside a component

Hello, I have my view inside a
Uncaught TypeError: Cannot read property 'scrollTop' of null at vue-scrollto.js?28ea:253
This is my view:
<template>
  <v-ons-page>
    <v-ons-toolbar class="home-toolbar">

        <v-ons-toolbar-button @click="$emit('toggleMenu')">
          <v-ons-icon icon="ion-navicon, material:md-menu"></v-ons-icon>
        </v-ons-toolbar-button>

{{ msg }}

    </v-ons-toolbar>

    <v-ons-list-title id='titulo'>Vue.js Essential Links</v-ons-list-title>
    <v-ons-list>
      <v-ons-list-item v-for="item in essentialLinks" @click="goTo(item.link)" :key="item.link">

<v-ons-icon fixed-width :icon="item.icon"></v-ons-icon>

{{ item.label }}

<v-ons-icon icon="fa-external-link"></v-ons-icon>

      </v-ons-list-item>
    </v-ons-list>

    <v-ons-button v-scroll-to="{ el: '#element_name4', container: 'v-ons-page' }">Scroll al ultimo elemento</v-ons-button>

    <v-ons-list-title>Vue.js Ecosystem</v-ons-list-title>
    <v-ons-row>
      <v-ons-col>
        <v-ons-card @click="goTo('http://router.vuejs.org/')">vue-router</v-ons-card>
      </v-ons-col>
      <v-ons-col>
        <v-ons-card @click="goTo('http://vuex.vuejs.org/')">vuex</v-ons-card>
      </v-ons-col>
    </v-ons-row>
    <v-ons-row>
      <v-ons-col>
        <v-ons-card @click="goTo('http://vue-loader.vuejs.org/')">vue-loader</v-ons-card>
      </v-ons-col>
      <v-ons-col>
        <v-ons-card @click="goTo('https://github.com/vuejs/awesome-vue')">awesome-vue</v-ons-card>
      </v-ons-col>
    </v-ons-row>
<v-ons-list v-bind:scrollTop="scroll_top">

<v-ons-list-item>
<v-ons-input placeholder="Input your name" float
            v-model="name0"
          >
          </v-ons-input>
</v-ons-list-item>
<v-ons-list-item>
<v-ons-input placeholder="Input your name" float
            v-model="name1"
          >
          </v-ons-input>
</v-ons-list-item>
<v-ons-list-item>
<v-ons-input placeholder="Input your name" float
            v-model="name2"
          >
          </v-ons-input>
</v-ons-list-item>
<v-ons-list-item>
<v-ons-input placeholder="Input your name" float
            v-model="name3"
          >
          </v-ons-input>
</v-ons-list-item>
<v-ons-list-item id='element_name4'>
<v-ons-input placeholder="Input your name" float
            v-model="name4" id='id_name4' v-scroll-to="{ el: '#titulo', container: 'v-ons-list' }"
          >
          </v-ons-input>
</v-ons-list-item>
</v-ons-list>

  </v-ons-page>
</template>

and this is the script code:

Is this a bug maybe or am I doing something wrong? Thank you!

You need to give a valid selector, or an actual element. With components the easiest would be to add
the ref attribute to the v-ons-page element:
<v-ons-page ref="page">
...

<v-ons-button v-scroll-to="{ el: '#element_name4', container: $refs.page }">Scroll al ultimo elemento</v-ons-button>

...
</v-ons-page>


text:
Confused width and height

yolo_cam/base_cam.py
def get_target_width_height
code:
width, height = np.shape(input_tensor)[0],np.shape(input_tensor)[1]
problem: np.shape returns the height first, then the width
fix:
height, width = np.shape(input_tensor)[0],np.shape(input_tensor)[1]

created pull request to fix this issue https://github.com/rigvedrs/YOLO-V8-CAM/pull/7#issue-1912152498


text:
Error in CompanyAnsweringRuleRequest

class CompanyAnsweringRuleRequest
extension property should be type CompanyAnsweringRuleExtensionInfoRequest  not CompanyAnsweringRuleCallersInfoRequest
JIMB

The code is auto generated based on API spec.
I will talk to the maintainer of the API spec.

Confirmed the issue, I created an internal ticket to track it.

Fixed

authors: mediocreguy tylerlong


text:
Suggestion: async

Kudos for great work, i like the minimalistic approach.
One thing i've missed though was async support, blocking calls should be avoided. Perhaps something for 1.1.0 release.

@dariusdamalakas Thanks for the note. Auth is a special area because we don't want to have API calls being sent with an expired or invalid token while an authorization flow is in progress. We'll look into what we can do here.

@grokify , auth is tricky challenge, especially as you invalidate previously issued access_tokens (docs claim that, and i've run a simple demo to check this is true). There is no way for the client to know if the current access_token is still valid or not, as using a refresh_token to obtain a new token pair invalidates the previously issued access_token.
So in essence the IsAccessToken method does not actually do what is says. Itonly checks the ttl (refresh_token_expires_in) value, but the token might be already invalidated by the authorization server. I guess the only way to check if access_token is still valid is to hit some API endpoint.

I think it is a good suggestion to support async.
For auth, if token is invalidated from server side, the client won't be notified. Currently client code needs to catch exceptions about auth and obtain new token again.

It is a good idea to support async. Our JS SDK supports it.
@tylerlong It would be good to check with @kirill-konshin on the JS SDK to coordinate efforts.

We have another repository which supports full async: https://github.com/ringcentral/ringcentral-csharp-client

authors: dariusdamalakas grokify tylerlong

repo: ringcentral/ringcentral-csharp


text:
Update ListExtensionDevicesParameters.java

Add perPage and page parameters

That part of code is auto generated according to swagger spec https://github.com/ringcentral/RingCentral.Net/blob/master/code-generator/rc-platform.yml
If those parameters are missing from the spec, kindly let me know and I will notice the team to fix the spec first.
Thanks.

I've created an internal ticket for the spec team.

Fixed

authors: halyna-mykhalska tylerlong

repo: ringcentral/ringcentral-java


text:
Constructor mapping with MapProperty and nameof

Is your feature request related to a problem? Please describe.
When configuring mapping, it's convenient to use nameof.
but the following code does not work:
public class Mapping
{
    [MapProperty(nameof(A.BId), nameof(B.Id))]
    private partial B Map(A source);
}

class A
{
    public long BId { get; }
}

class B
{
    public long Id { get; }

    public B(long id) { Id = id; }
}

To make it work it's necessary to use [MapProperty(nameof(A.BId), "id")]
Describe the solution you'd like
Search in MemberConfigsByRootTargetName uses ignoreCase.

Thank you for opening this issue. This would be a nice improvement :+1: Note that the case-insensitivity should only apply to the constructor parameters but not everything else, except if PropertyNameMappingStrategy.CaseInsensitive is set on the mapper. Feel free to open a PR 😉

Would you prefer to use LINQ to find a key as case insensitive or to create a second dictionary in the context with StringComparer.InvariantCultureIgnoreCase?

I think a secondary dictionary would be the better option as with a lot of members the linq option could get quite slow.

authors: latonz trejjam

repo: riok/mapperly


text:
add formatting for 2.1 compatibility

This adds a format string, like in cqlsh itself, for datetimes in the cqlsh copy tests. This should fix this test, which is broken on 2.1.

+1

authors: mambocab ptnapoleon

repo: riptano/cassandra-dtest


text:
Change jal to call in zkVM entrypoint

As described in https://github.com/risc0/risc0/issues/1243, our use of the jal instruction in our entrypoint breaks when the jump distance becomes too far. This PR changes the instruction to the call psuedo-instruction to allow the assembler flexibility to solve this issue and implement a far jump.
Co-authored-by: @weikengchen
Resolves: https://github.com/risc0/risc0/issues/1243

@nategraf you'll likely need to update the image ID's for the guest methods

(That was what I meant by difficulty to update the Image IDs, which makes me reluctant to submit a PR.)

In general, ImageIDs change pretty easily and so this has never really been a determinant on whether we make a change.

(That was what I meant by difficulty to update the Image IDs, which makes me reluctant to submit a PR.)

Hi @weikengchen, thanks for your contributions. I really appreciate your thoroughness and care that you take in describing issues and solutions! We're working on a contributor guide that would describe this but here's how to generate the image ID's for the test:

run docker daemon (on mac os, launch the docker desktop app)
run cargo risczero build --manifest-path risc0/zkvm/methods/guest/Cargo.toml directions are here
update generated output values here

I hope this explanation makes it less painful!

authors: SchmErik flaub nategraf weikengchen


text:
Update verifier.sol

Update the verifier solidity contract exported when generating this proving key 2024-01-15/stark_verify_final.zkey.gz
Add bootstrap-groth16 to automatically parse the required constants from the solidity contract and copy them over the groth16 verifier in rust. It also updates the Ethereum contracts with ControlID and TestReceipt.

#1250 should be merged first as this PR includes most of those changes already.

Closing in favour of #1356


text:
fix: typos in documentation files

This pull request contains changes to improve clarity, correctness and structure.
Description correction:
Corrected enabaled to enabled
Corrected datsheet to datasheet
Please review the changes and let me know if any additional changes are needed.

@pdg744 Hi! I’ve just submitted a pull request. Could you please review it when you have a chance? I’d appreciate your feedback and any comments. Thank you!


text:
[Qualcomm feedback] Chapter 5.1. Clarify TSM access to memory regions

Reference: link

A TVM and/or TSM
needs to access both types of memory:
◦ Confidential memory - used for TVM code, data
◦ Non-confidential memory - used for communication between TVM and the non-TCB host
software and/or non-TCB IO devices.

The examples below only show why TVMs needs access to both. Why do TSMs? Is that for case (1), where TSM is nesting the TVM at the same privilege level?

right. added a clarification

A TVM and/or TSM needs to access both types of memory:

Confidential memory - used for TVM/TSM code and security-sensitive data;
including state such as 1st-stage, G-stage page tables.
Non-confidential memory - used only for shared data, e.g. communication
between the TVM/TSM and the non-TCB host software and/or non-TCB IO devices.

Closing as addressed in PR #70
cc @ozkoyuncu

repo: riscv-non-isa/riscv-ap-tee


text:
Error in CTG commands for generating floating point riscv-tests

The command to generate floating point assembly tests in the fadd.d_b1-01.S filehttps://github.com/riscv-non-isa/riscv-arch-test/blob/main/riscv-test-suite/rv32i_m/D/src/fadd.d_b1-01.S does not work when invoked in the riscv-ctg repository via the corresponding cgf file https://github.com/riscv-software-src/riscv-ctg/blob/master/sample_cgfs/sample_cgfs_fext/RV32D/fadd.d.cgf.
The command in the comment is  missing some arguments(--base-isa) which had to be passed along with --flen instead of --xlen.
Even after passing the arguments as requested by riscv-ctg, the following error pops up :

I believe the error in your screenshot is due to the fact that you haven't specified the configuration file for the dataset. Even if you're using the "randomize" parameter, you still need to specify the dataset.
Furthermore, due to the limitations of the configuration (as stated below), it seems that fadd.d only supports flen=64. In fact, that's the case. You may need to specify flen as 64.
fadd.d:
  sig:
    stride: 2
    sz: 'SIGALIGN'
  val:
    stride: 2
    sz: 'FLEN/8'
    val_template: "'NAN_BOXED($val,$width,FLEN)'"
    load_instr: "FLREG"
  xlen: [32,64]
  isa:
    - IFD_Zicsr
  flen: [64]
  rm_val_data: '[7,0,1,2,3,4]'
  fcsr_data: '[x<<5|y for x,y in itertools.product([0,1,2,3,4],range(0,2**5))]'
  std_op:
  formattype: 'rformat'
  rs1_op_data: *all_fregs
  rs2_op_data: *all_fregs
  rd_op_data: *all_fregs
  template: |-

Additionally, when executing the instruction, you may encounter the issue related to #102 . Although I'm not entirely sure what issues are involved in the merge, if you want to attempt generating a test file, you can modify it based on #102 first.
And you can try:
riscv-ctg --base-isa rv64i --flen 32 --cgf ./sample_cgfs/dataset.cgf --cgf ./sample_cgfs/sample_cgfs_fext/RV32D/fadd.d.cgf -d ./tests/ --randomize -v debug -p2

to generate test . It takes time , however

authors: KotorinMinami Shreesh-Kulkarni

repo: riscv-software-src/riscv-ctg


text:
Exponent decode using XOR instead of SUB?

I very much like the removal of the in-memory/internal format split by moving the logic into the bounds decode rather than the load/store to keep the all-zero representation of NULL.
One question I have here is why the exponent value is subtracted from CAP_MAX_E instead of being XOR'ed. An XOR should reduce the critical path by a tiny amount compared to a subtraction or does this not matter since it's only 6/5 bits?
Is the rationale for the subtract that the in-memory format still looks like a counter rather than an opaque bit pattern? I'd argue that this shouldn't really matter since I can't imagine anyone trying to decode the values by hand instead of feeding them into a tool.
I'd propose using E = CAP_MAX_E ^ ( (XLENMAX == 32) ? { T8, TE, BE } : { TE, BE } ) instead of the current subtraction or am I missing the rationale for subtraction?

Hi Alex, yes that is certainly an option. I asked Jon Woodruff recently to remind me why we went for this scheme and his reply was:

I think we were happy with XORing; you all were concerned about the clarity of the spec.
I don't think we were thinking that the "actual exponent" was CAP_MAX_E - EXP , but that EXP was the amount we shift the T or B down from the top.

So the idea is that the exponent causes the shift to be in the reverse direction, not that it strictly needs the subtraction first and then going into the existing logic.
@andresag01 wrote the equations, is this your understanding too?

Hi @arichardson, thanks for reviewing and merging the draft specification!
The motivation to remove the in-memory/internal format split was to simplify the spec and avoid confusion. Relying on XORing CAP_MAX_E with the exponent would only achieve this partially! Also, keeping the XOR is likely to increase the critical path because the bounds decoding are dependent on the output of the XOR.
We felt that removing the XOR altogether was ideal, so the proposed solution is to "invert" the sense of the exponent. That is, where the T/B were shifted left (up from LSBs to MSBs, for example here) from 0 now they are shifted right (down from MSBs to LSBs) from CAP_MAX_E. The easiest way to represent the right shift is with a subtraction in the pseudo-code of the draft spec -- note that this pseudo-code is otherwise almost identical to the pseudo-code of the CHERI v9 spec!
As @tariqkurd-repo mentioned, the subtraction is not needed in hardware implementations. The XOR was completely removed so, in addition to being simpler, the expectation is that the critical path is also trimmed with the current proposal in the draft spec.
I hope the rationale behind this design decision is helpful. What do you think @arichardson?

Just to add to the heap; the orientation of EXP in the draft so far is not "how much bigger you are than the most-fine-grained capability", but "how far you have descended from the almighty capability," and is just a right shift from the top rather than a left shift from the bottom.  The fact that there is a subtract in the spec should just be convenience for expression; maybe there is a clearer way to express it?

Thanks for explaining the rationale - I was just looking at the pseudocode so didn't think about reversing the shift. I agree that the subtraction is indeed cleaner and has the same complexity (at least for hardware).
I wonder if it makes sense to add a note about this strategy (maybe a v9 difference note that can be disabled)?

@arichardson: Agreed, implementation and v9 notes here would be helpful. Also, please note that this pseudo-code is provisional and ideally this will eventually become Sail.

@arichardson are we ok to close this one?

@arichardson are we ok to close this one?

This discussion definitely resolved my question but the note hasn't been added yet so I think we should keep it open as an "enhancement" (P4) bug.

authors: andresag01 arichardson jonwoodruff tariqkurd-repo

repo: riscv/riscv-cheri


text:
riscv-tests vs riscv-compliance

What are the differences in the goals of the two projects? It seems there is some overlap so I am slightly confused.

This is the repository of the RISC-V compliance task group. It aims to provide a set of tests which any implementation must pass to be certified as compliant with the RISC-V specification.  Note that this is not comprehensive verification of a design, just sufficient to give confidence that the implementation meets the specification.
riscv-tests is a repository of unit tests for RISC-V processors, largely maintained by the SiFive engineering team. It includes tests of things like semihosting, which are about the software architecture built on top of the RISC-V hardware.
HTH

Understood. Thanks

repo: riscv/riscv-compliance


text:
[RV64] encoding of "packw" will conflict with "zext.h" if rs2 field of "packw" is equal to zero

Hi,
I have a question about instruction encoding.
=> Do we need to adjust instruction encoding of packw under RV64 configuration because encoding of packw will conflict with zext.h if rs2 field of packw is equal to zero ?
[RV64, B-extension] "zext.h" encoding

[31:25]: 0000100, [24:20]: 00000, [19:15]: rs field, [14:12]: 100, [11:7]: rd field, [6:0]: 0111011

[RV64, Scalar-Crypto] "packw" encoding

[31:25]: 0000100, [24:20]: rs2 field, [19:15]: rs1 field, [14:12]: 100, [11:7]: rd field, [6:0]: 0111011

Thanks!

Hi there - sorry about the long reply time, I've been on holiday over Christmas in the UK.
So, the packw encoding was re-used from the original one proposed by the bitmanip task group, so any encoding issues or rationale questions might be better asked there. I'll need to investigate properly when I have time, but this might have been deliberate because the operations overlap somehow. I.e. you could do zext.h and packw with the same underlying instruction, but just changing the register addresses.

Thank you for the reply.
This issue has been resolved in bitmanip task group (https://github.com/riscv/riscv-bitmanip/issues/170).
Please close this ticket.

authors: ben-marshall yichanfeng

repo: riscv/riscv-crypto


text:
All bytes of instruction fetch matching the same PMP entry?

https://github.com/riscv/riscv-isa-manual/blob/190ed91590f6f58f3ac3236a8c7081aec1643ae0/src/machine.tex#L3757
The Privileged spec states that:
"The matching PMP entry must match all bytes of an access, or the access fails, irrespective of the L, R, W, and X bits."
For instruction fetch, does it mean that every bytes of the physical access related to the instruction fetch shall all match the same PMP entry?
Due to C-ext, 32-bit instruction could across virtual page boundary, and lead to non-continuous physical accesses for a single instruction fetch. Is it required that the 2 non-continuous physical memory accesses related to the instruction fetch have to match the same PMP entry to pass PMP check?

As I understand it... it's complicated. If the access goes out as a
single transaction, then yes.
But, if it crosses the boundary and is broken up into separate
transactions (which would be typical),
then each of them individually needs to pass PMP checks - but each could be
a different PMP entry..
On Mon, Aug 8, 2022 at 6:19 AM ma142857 @.***> wrote:

https://github.com/riscv/riscv-isa-manual/blob/190ed91590f6f58f3ac3236a8c7081aec1643ae0/src/machine.tex#L3757
The Privileged spec states that:
"The matching PMP entry must match all bytes of an access, or the access
fails, irrespective of the L, R, W, and X bits."
For instruction fetch, does it mean that every bytes of the physical
access related to the instruction fetch shall all match the same PMP entry?
Due to C-ext, 32-bit instruction could across virtual page boundary, and
lead to non-continuous physical accesses for a single instruction fetch. Is
it required that the 2 non-continuous physical memory accesses related to
the instruction fetch have to match the same PMP entry to pass PMP check?
—
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-isa-manual/issues/880, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJTIITW64YZTGI355UDVYECNZANCNFSM555DKJKQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks @allenjbaum for the quick response!
As you state, an access could be broken up into more than one transactions.  Personally I don't foresee a problem if e.g. all the transactions related to an access pass PMP but falls in different PMP entries. But the statement in the privileged spec is definitely confusing since an access  usually means the whole fetch/load/store access itself architecturally (instead of broken up transactions).  Could you update the privileged spec to clarify this?
BTW, I think that also align with Spike implementation.

This is already there in the PMP section of the privileged spec:

Failed accesses generate an instruction, load, or store access-fault exception. Note that a single instruction may generate multiple accesses, which may not be mutually atomic. An access-fault exception is generated if at least one access generated by an instruction fails, though other accesses generated by that instruction may succeed with visible side effects. Notably, instructions that reference virtual memory are decomposed into multiple accesses.

On some implementations, misaligned loads, stores, and instruction fetches may also be decomposed into multiple accesses, some of which may succeed before an access-fault exception occurs.

The privileged spec does not use the term "transaction". One instruction (e.g. SD) can be broken up into multiple accesses (if misaligned), including two for the instruction fetch and two more for the store.

I don’t believe any spec updates are necessary, as the following paragraph covers this case: https://github.com/riscv/riscv-isa-manual/blob/master/src/machine.tex#L3785

Note that a single instruction may generate multiple accesses, which may not be mutually atomic.
I see, the following sections further defines what does access means for the previous section.
Usually the term should be defined first then referred...
But I agree, it is okay to not update the spec. Thanks everyone for the clarification.

repo: riscv/riscv-isa-manual


text:
clashing interpretation of enums

Hi there,
Have been using this package for a while now and it has saved me a lot of time! Thank you.
One issue that I have been regularly facing is that enums from Prisma's generated client are of the form:
/**
 * Enums
 */

export const Role: {
  admin: 'admin',
  customer: 'customer'
};

export type Role = (typeof Role)[keyof typeof Role]

However nestjs-zod-prisma exports actual TS enums:
export enum Role {
  admin = "admin",
  customer = "customer"
}

I prefer that actual enums are exported, but often find that I have issues when I use the types/schemas generated by Prisma client and nestjs-zod-prisma interchangeably:
Type 'import("/Users/oldo/node_modules/.prisma/client/index").Role' is not assignable to type 'import("/Users/oldo/packages/zod/src/enums").Role'.
Type '"admin"' is not assignable to type 'Role'.

Would it be possible to generate enums in the same way as Prisma client does? As far as I can tell, there is no way to modify the way Prisma client generates enums...

did you fix it ?

I just wanted to let you know that the below works for me.
/**
 * schema.prisma
 */

model Dispute {
  id               String        @id
  status           DisputeStatus @default(pending) ///@z.union([z.literal('pending'),z.literal('resolved')])
  resolutionDetail String        @db.VarChar(250)
}

enum DisputeStatus {
  pending
  resolved
}

Final outcome
export const DisputeSchema = z.object({
  id: z.string(),
  status: z.union([z.literal('pending'), z.literal('resolved')]),
  resolutionDetail: z.string(),
});

authors: mohrazzak oldo stilyng94


text:
Bug(ctl): "start a runtime from within a runtime."

2024-08-08T17:44:15.27620676+08:00  INFO risingwave_rt::panic_hook: coredump on panic is likely to be enabled limit=18446744073709551615
2024-08-08T17:44:15.27673965+08:00  INFO risingwave_ctl::common::meta_service: using meta addr from `RW_META_ADDR`: consul:[risingwave.rw](http://risingwave.rw/)-cn-test-cluster1.meta-node
thread 'main' panicked at /root/.cargo/registry/src/[rsproxy.cn](http://rsproxy.cn/)-0dccff568467c15b/tokio-1.37.0/src/runtime/scheduler/multi_thread/[mod.rs:86](http://mod.rs:86/):9:
Cannot start a runtime from within a runtime. This happens because a function (like `block_on`) attempted to block the current thread while the thread is being used to drive asynchronous tasks.
stack backtrace:
   0:     0x55b49b5caf69 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h78bb173879226e7e
                               at /rustc/ab5bda1aa70f707014e2e691e43bc37a8819252a/library/std/src/../../backtrace/src/backtrace/[libunwind.rs:105](http://libunwind.rs:105/):5
   1:     0x55b4908378eb - core::fmt::write::h84af2867d7d195ca
                               at /rustc/ab5bda1aa70f707014e2e691e43bc37a8819252a/library/core/src/fmt/[rt.rs:142](http://rt.rs:142/):9
   2:     0x55b49b5c3edf - std::io::Write::write_fmt::h50f2bab801a3fbad
                               at /rustc/ab5bda1aa70f707014e2e691e43bc37a8819252a/library/std/src/io/[mod.rs:1843](http://mod.rs:1843/):15
   3:     0x55b49b5cad3e - std::sys_common::backtrace::print::h5b9583e9ade67c9b
                               at /rustc/ab5bda1aa70f707014e2e691e43bc37a8819252a/library/std/src/sys_common/[backtrace.rs:47](http://backtrace.rs:47/):5
   4:     0x55b49b5cc149 - std::panicking::default_hook::{{closure}}::hfcbfda6a0b8af12c
   5:     0x55b49b5cbe5d - std::panicking::default_hook::he4d5c9ef4fcd6b21
                               at /rustc/ab5bda1aa70f707014e2e691e43bc37a8819252a/library/std/src/[panicking.rs:291](http://panicking.rs:291/):9
   6:     0x55b498e6355b - std::panicking::update_hook::{{closure}}::he3cffa29d96dd83c
                               at /rustc/ab5bda1aa70f707014e2e691e43bc37a8819252a/library/alloc/src/[boxed.rs:2032](http://boxed.rs:2032/):9
   7:     0x55b49b5cc794 - std::panicking::rust_panic_with_hook::h75c9fa15c80e870b
                               at /rustc/ab5bda1aa70f707014e2e691e43bc37a8819252a/library/alloc/src/[boxed.rs:2032](http://boxed.rs:2032/):9
   8:     0x55b49b5cc50d - std::panicking::begin_panic_handler::{{closure}}::h0af6b83a00b058d2
                               at /rustc/ab5bda1aa70f707014e2e691e43bc37a8819252a/library/std/src/[panicking.rs:649](http://panicking.rs:649/):13
   9:     0x55b49b5cb429 - std::sys_common::backtrace::__rust_end_short_backtrace::h5d136cf2ede03798
                               at /rustc/ab5bda1aa70f707014e2e691e43bc37a8819252a/library/std/src/sys_common/[backtrace.rs:171](http://backtrace.rs:171/):18
  10:     0x55b49b5cc287 - rust_begin_unwind
                               at /rustc/ab5bda1aa70f707014e2e691e43bc37a8819252a/library/std/src/[panicking.rs:645](http://panicking.rs:645/):5
  11:     0x55b490833c46 - core::panicking::panic_fmt::h6300da8ef47aad32
                               at /rustc/ab5bda1aa70f707014e2e691e43bc37a8819252a/library/core/src/[panicking.rs:72](http://panicking.rs:72/):14
  12:     0x55b493464b6b - tokio::runtime::context::runtime::enter_runtime::h1ad34b24d7ce0f1d
                               at /root/.cargo/registry/src/[rsproxy.cn](http://rsproxy.cn/)-0dccff568467c15b/tokio-1.37.0/src/runtime/context/[runtime.rs:68](http://runtime.rs:68/):5
  13:     0x55b493447fe1 - tokio::runtime::runtime::Runtime::block_on::h1032b2166b6e00f1
                               at /root/.cargo/registry/src/[rsproxy.cn](http://rsproxy.cn/)-0dccff568467c15b/tokio-1.37.0/src/runtime/scheduler/multi_thread/[mod.rs:86](http://mod.rs:86/):9
  14:     0x55b4934699d4 - <risingwave_common::util::meta_addr::MetaAddressStrategy as core::str::traits::FromStr>::from_str::h3d929761a22708a4
                               at /opt/tiger/compile_path/src/[code.byted.org/inf/RisingWave/src/common/src/util/meta_addr.rs:93:32](http://code.byted.org/inf/RisingWave/src/common/src/util/meta_addr.rs:93:32)
  15:     0x55b492aad09a - risingwave_ctl::common::context::CtlContext::meta_client::{{closure}}::h81c1c521f7df09d9
                               at /rustc/ab5bda1aa70f707014e2e691e43bc37a8819252a/library/core/src/str/[mod.rs:2420](http://mod.rs:2420/):9
  16:     0x55b492ab975a - risingwave_ctl::cmd_impl::meta::reschedule::unregister_workers::{{closure}}::hdcdb1bde64c27f78
                               at /opt/tiger/compile_path/src/[code.byted.org/inf/RisingWave/src/ctl/src/cmd_impl/meta/reschedule.rs:245:45](http://code.byted.org/inf/RisingWave/src/ctl/src/cmd_impl/meta/reschedule.rs:245:45)
  17:     0x55b492aa651b - risingwave_ctl::start_impl::{{closure}}::h6e3cd3729c2f981d
                               at /opt/tiger/compile_path/src/[code.byted.org/inf/RisingWave/src/ctl/src/lib.rs:832:14](http://code.byted.org/inf/RisingWave/src/ctl/src/lib.rs:832:14)
  18:     0x55b492c4d793 - <tracing::instrument::Instrumented<T> as core::future::future::Future>::poll::h75ad7eefaf44fff2
                               at /opt/tiger/compile_path/src/[code.byted.org/inf/RisingWave/src/ctl/src/lib.rs:612:45](http://code.byted.org/inf/RisingWave/src/ctl/src/lib.rs:612:45)
  19:     0x55b492e2f217 - tokio::runtime::park::CachedParkThread::block_on::h0e4b5755d3f8b2ce
                               at /root/.cargo/registry/src/[rsproxy.cn](http://rsproxy.cn/)-0dccff568467c15b/tokio-1.37.0/src/runtime/[park.rs:281](http://park.rs:281/):63
  20:     0x55b492e30017 - tokio::runtime::context::runtime::enter_runtime::h473345d8dcdeea23
                               at /root/.cargo/registry/src/[rsproxy.cn](http://rsproxy.cn/)-0dccff568467c15b/tokio-1.37.0/src/runtime/context/[blocking.rs:66](http://blocking.rs:66/):9
  21:     0x55b492ef5a31 - tokio::runtime::runtime::Runtime::block_on::h303f4f63e9c48e5f
                               at /root/.cargo/registry/src/[rsproxy.cn](http://rsproxy.cn/)-0dccff568467c15b/tokio-1.37.0/src/runtime/scheduler/multi_thread/[mod.rs:86](http://mod.rs:86/):9
  22:     0x55b493011ba7 - risingwave_rt::main_okk::h7795e5b157298930
                               at /opt/tiger/compile_path/src/[code.byted.org/inf/RisingWave/src/utils/runtime/src/lib.rs:76:5](http://code.byted.org/inf/RisingWave/src/utils/runtime/src/lib.rs:76:5)
  23:     0x55b49204157f - risingwave::main::ha517ab8929b603b4
                               at /opt/tiger/compile_path/src/[code.byted.org/inf/RisingWave/src/cmd/src/lib.rs:62:5](http://code.byted.org/inf/RisingWave/src/cmd/src/lib.rs:62:5)
  24:     0x55b492046333 - std::sys_common::backtrace::__rust_begin_short_backtrace::h639b7cba948e29fe
                               at /rustc/ab5bda1aa70f707014e2e691e43bc37a8819252a/library/core/src/ops/[function.rs:250](http://function.rs:250/):5
  25:     0x55b4920483a9 - std::rt::lang_start::{{closure}}::h79a2f4841bcbbd78
                               at /rustc/ab5bda1aa70f707014e2e691e43bc37a8819252a/library/std/src/[rt.rs:159](http://rt.rs:159/):18
  26:     0x55b49b5b9124 - std::rt::lang_start_internal::hfee626c788d7b722
                               at /rustc/ab5bda1aa70f707014e2e691e43bc37a8819252a/library/core/src/ops/[function.rs:284](http://function.rs:284/):13
  27:     0x55b492041cbc - main
  28:     0x7f9cd7ef71ca - <unknown>
  29:     0x7f9cd7ef728b - __libc_start_main
  30:     0x55b48f85602a - _start
  31:                0x0 - <unknown>
Aborted (core dumped)

SELECT VERSION();
PostgreSQL 13.14.0-RisingWave-1.9.0-alpha (unknown)

Interesting. However I can't find how <risingwave_common::util::meta_addr::MetaAddressStrategy as core::str::traits::FromStr>::from_str::h3d929761a22708a4 lead to tokio::runtime::runtime::Runtime::block_on::h1032b2166b6e00f1.

repo: risingwavelabs/risingwave


text:
bug: streaming TPC-H Q21 outputs empty result

Describe the bug
The MView shows 0 results, while the batch query gives 1 rows.
To Reproduce
After #5292 being merged, just uncomment the Q21 in the e2e test
Expected behavior
No response
Additional context
No response

Looks like there's some issue with anti/semi join. Could you please help to take a look? @yuhao-su

authors: BugenZhao fuyufjh


text:
chore: add some comments for creating streaming job

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Current dependencies on/for this PR:

main

PR #14510   👈

PR #14171

PR #14172

PR #14465

This stack of pull requests is managed by Graphite.


text:
fix: support more types in kafka sink

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
PLEASE DO NOT LEAVE THIS EMPTY !!!
Please explain IN DETAIL what the changes are in this PR and why they are needed:

Summarize your change (mandatory)
How does this PR work? Need a brief introduction for the changed logic (optional)
Describe clearly one logical change and avoid lazy messages (optional)
Describe any limitations of the current code (optional)

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note
Please create a release note for your changes. In the release note, focus on the impact on users, and mention the environment or conditions where the impact may occur.
Refer to a related PR or issue link (optional)
pending #6718

#6759

authors: fuyufjh tabVersion


text:
feat: display rw version with pg version in version()

Signed-off-by: tabVersion tabvision@bupt.icu
I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
This section will be used as the commit message. Please do not leave this empty!
behavior:

display rw version with psql version

Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.

SQL commands, functions, and operators

Release note
Please create a release note for your changes. In the release note, focus on the impact on users, and mention the environment or conditions where the impact may occur.
as described above
updating src/common/src/lib.rs should be part of release process
Refer to a related PR or issue link (optional)
None

Recommend to include in the version()
https://github.com/risingwavelabs/risingwave/blob/226578364540e2c43406505550204e8a1c130dd4/src/frontend/src/binder/expr/function.rs#L335
e.g. "PostgreSQL 13.9-RW-0.1.15"

behavior:

When building in debug mode, return the latest git commit hash
When building in release mode, return the latest version num (v0.1.15 for now)

Seems not matched.

behavior:

When building in debug mode, return the latest git commit hash
When building in release mode, return the latest version num (v0.1.15 for now)

Seems not matched.

fixed

Does it help that we always get a 0.1.15 constant for each nightly build? Not to mention that the actual version is 0.2.0-alpha. Imagine that someone reports an issue with rw_version() = 0.1.15, and we can't even be sure whether it's caused by some issues that are before 0.1.15 releasing, or after that.

authors: BugenZhao fuyufjh tabVersion


text:
Documentation

Is there any documentation or tutorial please ?

No. This is just a random project I was working on a while ago. I haven't worked on it in  a while. However, if you want a tutorial about hexagonal maps in unity, you may want to check out quill18creates series on it or this article: http://www.redblobgames.com/grids/hexagons/

authors: Mediaticsvc ritobanrc


text:
mgie inference error

Traceback (most recent call last):
File "/content/ml-mgie/extract_ckpt.ipynb", line 5, in
"execution_count": null,
NameError: name 'null' is not defined

How can I solve the problem? I want to test the model on Colab

I change 'null' of code to 'None'. Then no error but it seems doesn't work.

@Zerycii I think you are trying to run code from this repository: https://github.com/apple/ml-mgie
In that case I think its best if you raise this issue in that repository
Also you are trying to run an .ipynb file using the !python command
That only works for .py files, you can copy-paste the cells of a python notebook (.ipynb) inside a colab and get them to work.
All the best :)

authors: Zerycii ritwikraha

repo: ritwikraha/Open-Generative-Fill


text:
fix: update architecture diagram

Fixes RVT-4055
Changes

#1521  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

revised figma

left a few couple comments.
let's add an architecture diagram page under advanced > internal in the docs too. you can link directly to the architecture image file from the readme so we don't have to dupe it.
nit: let's use png export since it's lossless.

Do we need it to be lossess? Its also a massive image file

@NathanFlurry revised again

left a few couple comments.
let's add an architecture diagram page under advanced > internal in the docs too. you can link directly to the architecture image file from the readme so we don't have to dupe it.
nit: let's use png export since it's lossless.

Do we need it to be lossess? Its also a massive image file

My export was 404 kb. PNG is really good at compression.

authors: MasterPtato NathanFlurry

repo: rivet-gg/rivet


text:
Add mm-sustain load test

Changes

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #324

PR #314

PR #310

PR #311

PR #312

PR #313

PR #315

PR #316


text:
RAML

Make a RAML and addapt the API if needed.
This way we can use this RAML as help/reference guide.
This RAML can for example also be used to generate GO code via GORAML to generate client code that can than easily talk with the rivine deamon.

Not sure if this is high priority, but I could jump on this one if you want. Would give me a chance to also see and understand the entire API.

Fixed by https://github.com/rivine/rivine/commit/1d9a04ace0ad828f946661247feb0b76b7a78cc0

Wasn't part of this issue to also use the generated code (using the RAML) within the codebase?

Wasn't part of this issue to also use the generated code (using the RAML) within the codebase?

To generate client it could, but I don't think you should touch the server side that is already in place.

authors: GlenDC nvinken robvanmieghem zaibon

repo: rivine/rivine


text:
ModuleNotFoundError: No module named 'duckietown_world'

When i run:
python log.py
I got this error:
Traceback (most recent call last):
File "log.py", line 7, in
from duckietown_rl.gym_duckietown.simulator import Simulator
File "../duckietown_rl/gym_duckietown/simulator.py", line 10, in
from duckietown_world.world_duckietown.pwm_dynamics import get_DB18_nominal, get_DB18_uncalibrated
ModuleNotFoundError: No module named 'duckietown_world'

Hi Shitianyu,
As the error says, you are lacking the module "duckietown_world" and you can resolve the issue by installing that module.
I assume you are executing the code on your local PC, cause there is no such error when executing the code on Colab. You might want to install the packages the way they are installed on Colab. But, one might install "duckietown_world" module with the following code:
pip install duckietown-world
The code on Colab does not actually install "duckietown-world" but another version of it which is specifically built for the "daffy" branch of "gym-duckietown" module (See here). And it's installed with the following code:
pip install duckietown-world-daffy==5.1.2

Thanks for your reply! It works now!👍

authors: SHITIANYU-hue rizavelioglu


text:
Make has_submenu_items a property (for programatically setting option)

Hi,
I am spinning up some fake data for my site using FactoryBoy/faker, including Wagtail Menus.  I noticed that MenuPage objects have the has_submenu_items getter method, but I would like to programatically set this option from a python script.
I am guessing it would be a trivial fix to make the method a property instead.
If this seems plausible, i'd be happy to attempt a PR.
(maybe this is implemented in the Wagtail Menus API #302 ? )

@schlich I'm not sure changing code to facilitate such a test is the best idea. Plus, making it a 'property' would not make the value settable unless you used cached_property, or added a dedicated setter method, neither of which do I think fit the design very well.
If you do need to control the method result, why not update your factory to replace the method on the instances it creates? The unittest.mock library in python core is perfect for this kind of thing.

authors: ababic schlich

repo: rkhleics/wagtailmenus


text:
Importance Sampling

First of all, thanks for this implementation.
One question however: I see that the weights for the importance sampling are calculated and returned when a batch is sampled.
However, the weights aren't used further in the code.
Is this some legacy code from a feature that didn't work? Or is the code not finished yet?
Andreas

I think it's just returned for debugging. You could use them to see what kind of weightings each of your samples have.

I think each sample in a minibatch of losses should be multiplied by the corresponding IS weights. However, torch by default returns an averaged MSE loss over the minibatch. Hence, to multiply each loss value in a batch by its corresponding weight, the MSE loss should be calculated by setting reduce flag in the torch.nn.functional.mse_loss() to False Also, I like to calculate the loss values in a minibatch by passing the targets and the predictions in the format   [ [loss for sample1], [loss for sample 2], .... [loss for sample n] ] instead of [loss for sample 1, loss for sample 2,........., loss for sample n]. Not sure if the second format is a correct method or not. After multiplication, the batch of this weighted loss can then be averaged using tensor.mean() and then you can call backward() on this.

In the original paper, the loss is also multiplied by the TD-error. Seems if we calculate the gradient of your loss, there is no TD-error as a factor in the coefficient? @stormont

authors: ChampagneAndfragrance VAndreasV being-aerys stormont

repo: rlcode/per


text:
Both "update.bat" and "update" won't work right in previously empty directories

On OSX it chokes on a bunch of things, like missing directories, and "MissingResourceException" errors.

Suggest new "bootstrap.bat" and "bootstrap" files to do the other stuff to start from scratch, SINCE "update" assumes directory structure, assumes Calc is already more-or-less up-to-date and in the PATH, and that .class files are available already.  Bootstrapping needs to do this differently in order to start from nothing.

repo: rlwhitcomb/utilities


text:
IOS Transporter Delivery Error

Environment

Dev OS: [OSX 14.6.1]
@rnmapbox/maps version: [^10.1.31]
React Native version: [0.74.5]
Expo version: [~51.0.34]

Since I upgraded to xcode 16, when I try to send my app to app store connect via Transporter I am getting this error on sending.
The build process works perfectly.

Asset validation failed (90482)
Invalid Executable. The executable 'SpeedLou.app/Frameworks/MapboxCoreMaps.framework/MapboxCoreMaps' contains bitcode. (ID: 429b18ba-0520-4fac-81c5-e79f8604223e)
Asset validation failed (90482)
Invalid Executable. The executable 'SpeedLou.app/Frameworks/MapboxMobileEvents.framework/MapboxMobileEvents' contains bitcode. (ID: e0a07491-dab2-44c0-93da-349ae17522c0)
Asset validation failed (90482)
Invalid Executable. The executable 'SpeedLou.app/Frameworks/MapboxCommon.framework/MapboxCommon' contains bitcode. (ID: 5153ba72-0efa-4171-bf35-4ffdbe39e0d4)
Upload failed.
Asset validation failed
Invalid Executable. The executable 'SpeedLou.app/Frameworks/MapboxCommon.framework/MapboxCommon' contains bitcode. (ID: 5153ba72-0efa-4171-bf35-4ffdbe39e0d4)
2024-09-24 11:44:56.272  INFO: [ContentDelivery.Uploader]
UPLOAD FAILED with 3 errors.

Also tried uploading through EAS and got this error
[altool] 2024-09-24 04:13:40.117 *** Error: Asset validation failed Invalid Executable. The executable 'SpeedLou.app/Frameworks/MapboxMobileEvents.framework/MapboxMobileEvents' contains bitcode. (ID: 7b824ab0-c9b2-49f6-a27b-adf65b46ce27) (90482)
[altool]  {
[altool]     NSLocalizedDescription = "Asset validation failed";
[altool]     NSLocalizedFailureReason = "Invalid Executable. The executable 'SpeedLou.app/Frameworks/MapboxMobileEvents.framework/MapboxMobileEvents' contains bitcode. (ID: 7b824ab0-c9b2-49f6-a27b-adf65b46ce27)";
[altool]     NSUnderlyingError = "Error Domain=IrisAPI Code=-19241 "Asset validation failed" UserInfo={status=409, detail=Invalid Executable. The executable 'SpeedLou.app/Frameworks/MapboxMobileEvents.framework/MapboxMobileEvents' contains bitcode., id=7b824ab0-c9b2-49f6-a27b-adf65b46ce27, code=STATE_ERROR.VALIDATION_ERROR.90482, title=Asset validation failed, NSLocalizedFailureReason=Invalid Executable. The executable 'SpeedLou.app/Frameworks/MapboxMobileEvents.framework/MapboxMobileEvents' contains bitcode., NSLocalizedDescription=Asset validation failed}";
[altool]     "iris-code" = "STATE_ERROR.VALIDATION_ERROR.90482";
[altool] }

Have you tried to downgrade the mapbox version?

Have you tried to downgrade the mapbox version?

No but seems like I need to upgrade it, it defaults to version 10 when using, I did not have the version specified and version 11 does not use bitcode anymore

40 builds later I was able to solve it.
Mapbox version 10 is no longer going able to be launched into app store connect because it contains bitcode.
I had some issues with some scopes when transitioning into v11 but was able to solve them.
After that version 11.3.0 and version 11.4.0 were giving me build errors so I tried 11.6.0 and it worked
{
"RNMapboxMapsDownloadToken": "MAPBOX_DOWNLOADTOKEN",
"RNMapboxMapsVersion": "=11.6.0"
}
If you transition into version 11 be aware of the scopes associated to your token, as this was not letting me build my app until I have set them right

It worked for me too, thanks a lot for sharing @lourxd

Thanks you, worked without issues @lourxd

Glad to help.
Just a small notice, you wont be able to build on android with "RNMapboxMapsVersion": "=11.6.0"
Replace the "=11.6.0" for "11.6.0", for IOS its not an issue, but on android was giving me a build error

Where do you set this RNMapboxMapsVersion variable?

Where do you set this RNMapboxMapsVersion variable?
edit: you can set it in your podfile by adding this line:
$RNMapboxMapsVersion = '= 11.6.0'

you can also set it in the app.config.js file as described here:
https://rnmapbox.github.io/docs/install?install-module=expo#using-v11

authors: jbcrestot lcfarias1501 lourxd sabuhiteymurov tomruijgrok woerchri

repo: rnmapbox/maps


text:
Arrow and cross symbols disappeared from the prompt for Mac OS 10.14.4 beta

On my Mac OS 10.14.4 Beta prompt looks like this:

Note green and yellow underscore in the beginning and the end of the line, it should look like this:

Everything was fine until I've upgraded Mac OS to 10.14.4 Beta

This has nothing to do with oh-my-zsh, since it works in iTerm just fine, but doesn't work when I'm launching tmux

repo: robbyrussell/oh-my-zsh


text:
termsupport: add chpwd hook for setting pwd in Apple Terminal.app

In termsupport, add a chpwd hook that notifies Apple Terminal.app of current working directory changes using the undocumented '\e]7;%s\a' sequence, instead of the normal window/icon title controls.
Fixes https://github.com/robbyrussell/oh-my-zsh/issues/2646, letting new tabs always open in the correct directory.
This is done using chpwd_functions instead of the prompt/preexec hooks and is intentionally not controlled by DISABLE_AUTO_TITLE, so the directory is properly updated even when auto-titling is off (e.g. when user is setting window and icon titles themself).

Thanks team!

authors: apjanke robbyrussell


text:
Update Archlinux aliases

Add support for aurman as pacaur is depreciated and no longer recommended

Aurman support has been terminated. The maintainer of this wrapper recommended migration to yay.

I count 18 aur helpers in the aur.
I think i need to refactor the plugin to ease adding and removing helpers.

authors: D-sha mrvik


text:
🛑 Divulgación de la Ciencia UNAM is down

In 2bfb782, Divulgación de la Ciencia UNAM (https://www.dgdc.unam.mx) was down:

HTTP code: 502
Response time: 3147 ms

Resolved: Divulgación de la Ciencia UNAM is back up in 7bde23b after 41 minutes.

repo: robertormzg/upptime-dgdc


text:
Bump to v0.8.9

Added

original_date and original_date_format for adding the original tweet's creation date to the post body

Fixed

URL expansion when regex match doesn't include protocol (http, https)

Codecov Report

Merging #53 (1b8b7e4) into master (eeb9561) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #53   +/-   ##
=======================================
  Coverage   99.66%   99.66%
=======================================
  Files           8        8
  Lines         901      901
=======================================
  Hits          898      898
  Misses          3        3

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 eeb9561...1b8b7e4. Read the comment docs.

authors: codecov-commenter robertoszek

repo: robertoszek/pleroma-bot