text:
Download  Youtube video but "videoplayback.mp4" name

Hello
I'm genarete video source via youtube-dl app and add &title option to source url.
Exp: http://x.googlevideo.com/xx.mp4&blabla&title=MY_NEW_TITLE
Enter video source url on my pc with chrome and save as video.
Always always download name "videoplayback.mp4".
https://github.com/jeckman/YouTube-Downloader
This php script this style working and download with &title= name.
Thank you for Youtube-dl.
Best app for all timesé!
How to solution this ?
The reason for the difference between these two applications ?
using
"#root youtube-dl -g -f 18 b3HeLs8Yosw"

You are not allowed to modify final download URL otherwise there are no guarantees it will work. You also not guaranteed this will work this way at all since download request should come from the same IP with the same HTTP headers.

Actually, you can.
Watch this : https://www.youtube.com/watch?v=XKUEvqOwgdc

That say - using Content-Disposition header is out of the scope of youtube-dl as the latter handles filenames on its own. If you want to see a friendly filename in browsers, a way is writing a wrapper around youtube-dl. As mentioned above, you take the risk of invalidate final URLs.
For further discussions, please move to #13325.

license: Unlicense


text:
source tars

The downloads on http://rg3.github.io/youtube-dl/download.html don't contain source downloads. Only mixed downloads. I'd like to see a source only file on the downloads page.
Anyone downloading the source doesn't need the binary anyway, so no point in including it, but here are one million 4 hundred thirty one thousand and four hundred reasons for a source only download:
# wget -nv https://yt-dl.org/downloads/2017.06.12/youtube-dl-2017.06.12.tar.gz && gzip -cd youtube-dl-2017.06.12.tar.gz | tar x && rm youtube-dl/youtube-dl && tar c youtube-dl | gzip -c6 > youtube-dl-2017.06.12.src.tar.gz && gzip -cd youtube-dl-2017.06.12.tar.gz | gzip -c6 >youtube-dl-2017.06.12.bin.tar.gz && ls -l
2017-06-16 09:47:00 URL:https://github-production-release-asset-2e65be.s3.amazonaws.com/1039520/495761be-4f16-11e7-8c38-4efeffc58f2e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170616%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170616T074646Z&X-Amz-Expires=300&X-Amz-Signature=ba4d32fba3cc651495ba85ad1fe9a621a6f2b8d1440ad39640d5bc2fb6a6166a&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dyoutube-dl-2017.06.12.tar.gz&response-content-type=application%2Foctet-stream [2727978/2727978] -> "youtube-dl-2017.06.12.tar.gz.1" [1]
insgesamt 9272
drwxr-xr-x 7 root root    2048 16. Jun 09:47 youtube-dl
-rw-r--r-- 1 root root 2727978 16. Jun 09:47 youtube-dl-2017.06.12.bin.tar.gz
-rw-r--r-- 1 root root 1296578 16. Jun 09:47 youtube-dl-2017.06.12.src.tar.gz
-rw-r--r-- 1 root root 2727978 11. Jun 21:24 youtube-dl-2017.06.12.tar.gz

Oh, and a tip: lzma is much better (and widely used by now), and -9 also:
 # gzip -cd youtube-dl-2017.06.12.src.tar.gz | lzma -c9 >youtube-dl-2017.06.12.src.tar.lzma
-rw-r--r-- 1 root root  902691 16. Jun 09:47 youtube-dl-2017.06.12.src.tar.lzma

Download it from github https://github.com/rg3/youtube-dl/archive/master.tar. gz

Ok. How do I get version 2017.06.12 from there?

Ok. How do I get version 2017.06.12 from there?

https://github.com/rg3/youtube-dl/archive/2017.06.12.tar.gz
For lzma - I think a 1.2MB tarball is not a problem for machines used to download videos and audios :) Of course pull requests are welcome.

To download specific version download using a specific  commit https://github.com/rg3/youtube-dl/archive/cb1e6d898532e86b0752117337b7519d22c63274.tar.gz (in this case i used the commit when 2017.06.12 was released)

Ok, thank you very much.
About the "pull requests are welcome" part: I investigated the Makefile but only found the code to generate https://yt-dl.org/downloads/2017.06.12/youtube-dl-2017.06.12.tar.gz. How is the other file https://github.com/rg3/youtube-dl/archive/2017.06.12.tar.gz generated?
Also, the exclude list of that make target names "__pycache" but the directories are called "pycache" (maybe they were called "__pycache" in the past?). So the archive ends up with 5 (luckily empty) directories:
# find -name __pycache__ -exec ls -lA {} +
./youtube-dl/test/__pycache__:
insgesamt 0

./youtube-dl/youtube_dl/downloader/__pycache__:
insgesamt 0

./youtube-dl/youtube_dl/extractor/__pycache__:
insgesamt 0

./youtube-dl/youtube_dl/postprocessor/__pycache__:
insgesamt 0

./youtube-dl/youtube_dl/__pycache__:
insgesamt 0

And about the "1.2 MB is not much" thing. Please remember, stuff adds up:
# du -sh /var/cache/portage/distfiles
60G     /var/cache/portage/distfiles

So, if all packages there could be shrunk by 50%, you can calculate for yourself how many more videos I could download. Also, there are people, who only download videos temporarily to not needing to watch them in browser.

FYI: https://bugs.gentoo.org/show_bug.cgi?id=621958

How is the other file https://github.com/rg3/youtube-dl/archive/2017.06.12.tar.gz generated?

It's automatically created by Github.
To create xz tarballs for each release, I guess the possible way is: Add a new target in Makefile and modify devscripts/release.sh

Also, the exclude list of that make target names __pycache but the directories are called __pycache__

That's a real bug! Thanks for finding this; I've fixed it in 4f90d2aea

And about the "1.2 MB is not much" thing. Please remember, stuff adds up:

I bet 60G contains something other than youtube-dl tarballs. There are < 1000 releases since 2008, so the total won't be more than 3G :)

source: gharchive/issue

authors: bothie gfabiano yan12125

license_type: permissive

license_source: github-api


text:
How can I set cookies when embedding youtube-dl?

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 2017.08.06. 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 2017.08.06

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

What is the purpose of your issue?

[ ] 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)
[X] Question
[ ] Other

I have a Python script, in which I've embedded youtube-dl. Now, I'd like to download a video, but I need to pass a few cookies to it so that youtube-dl can actually extract the password protected video URL. How can I do this?
I've looked at the documentation and I can't find an option to do so.

https://github.com/rg3/youtube-dl/blob/master/youtube_dl/YoutubeDL.py#L206

authors: dstftw squarefractal


text:
Subtitles from Burns Vietnamese version

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 2017.09.24. 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 2017.09.24

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[ ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] 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)
[x] 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 2017.09.24
[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://youtu.be/BaW_jenozKc
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 was unable to write-sub, write-auto-sub at http://www.pbs.org/video/riding-the-tiger-1961-1963-vietnamese-xbzjlf/ or any of the other VN language episodes
I could get subs from all English language versions.
ERROR MSG say m3u8 download detected but asks for ffmpeg or avconv
I don't understand why the complication. didn't need another program for english subs


text:
Unable to download webpage: <urlopen error [Errno 65] No route to host> behind a proxy

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 2017.10.20. 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 2017.10.20

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

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)
[x] Question
[ ] Other

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

the full verbose output as follows:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--proxy', u'127.0.0.1:12567', u'https://www.youtube.com/watch?v=M1G4rwnIO48', u'--verbose', u'--call-home']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.10.20
[debug] Python version 2.7.10 - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {u'http': u'127.0.0.1:XXXX', u'https': u'127.0.0.1:XXXX'}
[debug] Public IP address: 2xx.xx.xx.xx
[youtube] M1G4rwnIO48: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 65] No route to host> (caused by URLError(error(65, 'No route to host'),))
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 503, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2195, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 449, in _open
    '_open', req)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1086, in https_open
    req, **kwargs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1197, in do_open
    raise URLError(err)

Description of your issue, suggested solution and other information
It works fine before. but after I updated my proxy software, dl threw this errors. I tried following commands which all did not work:
youtube-dl --proxy 127.0.0.1:XXX
youtube-dl --proxy "127.0.0.1:XXX"
youtube-dl --proxy "https://127.0.0.1:XXX"
youtube-dl --proxy "http://127.0.0.1:XXX"

Thanks

Obviously your proxy does not work properly.

The proxy works with Youtube in Chrome, just does not work for dl. proxychains4 works with my proxy well, too.

authors: dstftw xiaji


text:
use SPF for faster web data download

youtube is using spf (Structured Page Fragments) so you can download structured data of a video faster and readable
try: https://www.youtube.com/watch?v=yNe_HdayTtY&spf=navigate

Returns just {"reload":"now"}.

authors: dstftw urit


text:
Empty Playlist error

The link works in Chrome:
D:\youtube-dl>youtube-dl.exe --verbose "http://video.scholastic.com/services/player/bcpid75580074001?bckey=AQ~~,AAAAAFv844g~,BASb5BU03X_l9AdwGvsCRhRAI
3eFS6eT&bclid=0&bctid=3695093189001"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://video.scholastic.com/services/player/bcpid75580074001?bckey=AQ~~,AAAAAFv844g~,BASb5BU03X_l9AdwGvsCRhR
AI3eFS6eT&bclid=0&bctid=3695093189001']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2014.10.05.2
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[generic] bcpid75580074001?bckey=AQ~~,AAAAAFv844g~,BASb5BU03X_l9AdwGvsCRhRAI3eFS6eT&bclid=0&bctid=3695093189001: Requesting header
WARNING: Falling back on generic information extractor.
[generic] bcpid75580074001?bckey=AQ~~,AAAAAFv844g~,BASb5BU03X_l9AdwGvsCRhRAI3eFS6eT&bclid=0&bctid=3695093189001: Downloading webpage
[generic] bcpid75580074001?bckey=AQ~~,AAAAAFv844g~,BASb5BU03X_l9AdwGvsCRhRAI3eFS6eT&bclid=0&bctid=3695093189001: Extracting information
[generic] Brightcove video detected.
[download] Downloading playlist: Book Fairs Single Video
[generic] playlist Book Fairs Single Video: Collected 1 video ids (downloading 1 of them)
[download] Downloading video #1 of 1
[Brightcove] AQ~~,AAAAAFv844g~,BASb5BU03X_l9AdwGvsCRhRAI3eFS6eT: Downloading playlist information
ERROR: Empty playlist; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete
 output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
  File "youtube_dl\YoutubeDL.pyo", line 524, in extract_info
  File "youtube_dl\extractor\common.pyo", line 193, in extract
  File "youtube_dl\extractor\brightcove.pyo", line 195, in _real_extract
  File "youtube_dl\extractor\brightcove.pyo", line 233, in _get_playlist_info
ExtractorError: Empty playlist; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its
 complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.

I get the same error message with a Brightcove type video for this test URL:
http://www.tg4.tv/play.php?pid=4268526703001&title=Olive the Ostrich&series=Olive the Ostrich

Also getting the same error.
youtube-dl --verbose 'http://video.scholastic.com/services/player/bcpid75580074001?bckey=AQ~~,AAAAAFv844g~,BASb5BU03X_l9AdwGvsCRhRAI3eFS6eT&bclid=0&bctid=3695093189001' [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--verbose', u'http://video.scholastic.com/services/player/bcpid75580074001?bckey=AQ~~,AAAAAFv844g~,BASb5BU03X_l9AdwGvsCRhRAI3eFS6eT&bclid=0&bctid=3695093189001'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2016.03.18 [debug] Python version 2.7.9 - Linux-3.16.0-4-amd64-x86_64-with-debian-8.3 [debug] exe versions: ffmpeg 2.6.8, ffprobe 2.6.8, rtmpdump 2.4 [debug] Proxy map: {} [generic] bcpid75580074001?bckey=AQ~~,AAAAAFv844g~,BASb5BU03X_l9AdwGvsCRhRAI3eFS6eT&bclid=0&bctid=3695093189001: Requesting header WARNING: Falling back on generic information extractor. [generic] bcpid75580074001?bckey=AQ~~,AAAAAFv844g~,BASb5BU03X_l9AdwGvsCRhRAI3eFS6eT&bclid=0&bctid=3695093189001: Downloading webpage [generic] bcpid75580074001?bckey=AQ~~,AAAAAFv844g~,BASb5BU03X_l9AdwGvsCRhRAI3eFS6eT&bclid=0&bctid=3695093189001: Extracting information [generic] Brightcove video detected. [download] Downloading playlist: Book Fairs Single Video [generic] playlist Book Fairs Single Video: Collected 1 video ids (downloading 1 of them) [download] Downloading video 1 of 1 [brightcove:legacy] AQ~~,AAAAAFv844g~,BASb5BU03X_l9AdwGvsCRhRAI3eFS6eT: Downloading playlist information ERROR: Empty playlist; 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 668, in extract_info     ie_result = ie.extract(url)   File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 320, in extract     return self._real_extract(url)   File "/usr/local/bin/youtube-dl/youtube_dl/extractor/brightcove.py", line 244, in _real_extract     return self._get_playlist_info(player_key[0])   File "/usr/local/bin/youtube-dl/youtube_dl/extractor/brightcove.py", line 281, in _get_playlist_info     raise ExtractorError('Empty playlist') ExtractorError: Empty playlist; 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.

can be downloaded using:
youtube-dl http://link.brightcove.com/services/player/bcpid75580074001?bctid=3695093189001
[brightcove:legacy] 3695093189001: Downloading webpage
[brightcove:legacy] 3695093189001: Extracting information
[download] Destination: PRE FAIR Commercial-3695093189001.mp4
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 8926k  100 8926k    0     0   591k      0  0:00:15  0:00:15 --:--:--  535k
[curl] Downloaded 9140662 bytes
[download] 100% of 8.72MiB in 00:15

authors: BonzoFestoon DestyNova KonomiKitten remitamine


text:
Add metadata from video title parser

This allows the addition of actual metadata from music to the output file.
Example:
youtube_dl -f bestaudio https://www.youtube.com/watch?v=066CyIM-PDk --add-metadata --metadata-from-title '%(artist)s - %(title)s' adds the Artist name 'Feint' and the title 'Pastels' to the output file.
A currently missing addition would be to allow the added tags to be integrated into the filename - for which this postprocessor would probably need to be run before writing the video. I wasn't sure how to do that so I left it out for now.
(checked with flake8)

any thoughts, @phihag / @dstftw / @jaimeMF ? this is very useful for music

I don't know why you need a special songtitle, you can just override title.
The fmtToRegex function seems to work, but I need to read it again.
I would prefer to use the new python format syntax ({title} - {artist}'), which offers a nice function for splitting the format string. But for consistency with the --output option, I think it's ok to use the older.

I wasn't sure if title is used for anything else / if any other part assumes title is the complete video title.

I would prefer to use the new python format syntax ({title} - {artist}')

me too, but I thought having it the same as the other parts was better.
(I also admittedly did not really understand the meaning of the output of that function, literal_text seems to be the text before each mach)

I wasn't sure if title is used for anything else / if any other part assumes title is the complete video title.

I think the only one that uses after that is the metadata postprocessor.

(I also admittedly did not really understand the meaning of the output of that function, literal_text seems to be the text before each mach)

I also had some problems understanding it, I ended up just running it with some format strings. I think this is how the function would be implemented:
import re
import string

def fmtToRegex(fmt):
    regex = ''
    for literal, field, _, _ in string.Formatter().parse(fmt):
        if literal:
            regex += re.escape(literal)
        if field:
            regex += '(?P<' + field + '>.+)'
    return regex

fmts = [
    '{title} - {artist}',
    '{title}, by {artist}',
]

for f in fmts:
    print(repr(f), '->', repr(fmtToRegex(f)))

Okay, that makes sense. Also pretty similar to how I implemented it for the other syntax.
Which syntax shall we use?
And do you know how it would be possible to run this before the file saving? (That might also influence the necessity of songtitle)

Which syntax should we use?

Keep it as it is now. If we change the output template to the new format we'll update it.

And do you know how it would be possible to run this before the file saving? (That might also influence the necessity of songtitle)

It could be run inside a YoutubeDL method, but I think it currently has enough code. I don't know if it would make sense to add something like a preprocessor.
If nobady else complains, I'll merge it (I'll delete the songtitle usage`).

thanks!

Merged, thanks.

source: gharchive/pull-request

authors: jaimeMF phiresky


text:
[utils] Change Firefox 44 to 47

See commit title.

Thanks!

Note to future readers: there are some details in #9753


text:
Audio Problems (Satellite / Base)

I'm following the Tutorial (https://rhasspy.readthedocs.io/en/latest/tutorials/), specifically the section on "Test Microphone". I can select my microphone from the PyAudio menu, but when I test it, it just reverts to the "Default Device".
I've tried multiple mics (all USB), with the same effect. My USB speaker does work, for reference. The microphones work with arecord, so that's a plus, just not PyAudio.
I also keep losing text-to-speech, as well as the recorded audio of the last command. The intent is still sent and subsequently recognized by the base server (timeout error is the reported problem). This is the same whether I run TTS on the satellite or on the base server. My USB speaker still beeps when woken.
I'm running on a Raspberry Pi 3B+, as a remote site with a Hassio connected base station.
If it's of interest, the error log. It seemed to start after I was trying to get intent working with Hassio.
Traceback (most recent call last):
  File "/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/quart/app.py", line 1821, in full_dispatch_request
    result = await self.dispatch_request(request_context)
  File "/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/quart/app.py", line 1869, in dispatch_request
    return await handler(**request_.view_args)
  File "/usr/lib/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/__main__.py", line 1692, in api_text_to_speech
    results = await asyncio.gather(*aws)
  File "/usr/lib/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/__main__.py", line 1678, in speak
    say_chars_per_second=say_chars_per_second,
  File "/usr/lib/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/__init__.py", line 616, in speak_sentence
    handle_finished(), messages, message_types, timeout_seconds=timeout_seconds
  File "/usr/lib/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/__init__.py", line 994, in publish_wait
    result_awaitable, timeout=timeout_seconds
  File "/usr/lib/python3.7/asyncio/tasks.py", line 423, in wait_for
    raise futures.TimeoutError()
concurrent.futures._base.TimeoutError
[DEBUG:2021-06-17 19:49:19,894] rhasspyserver_hermes: Handling TtsSayFinished (topic=hermes/tts/sayFinished, id=a1a5e538-8f49-4238-8ebd-3d4c62e2e672)
[DEBUG:2021-06-17 19:49:18,884] rhasspyserver_hermes: Publishing 122 bytes(s) to hermes/tts/say
[DEBUG:2021-06-17 19:49:18,882] rhasspyserver_hermes: -> TtsSay(text='test', site_id='', lang=None, id='43b482ab-f865-4e43-bf02-a09407128905', session_id='', volume=1.0)
[DEBUG:2021-06-17 19:49:18,877] rhasspyserver_hermes: Subscribed to hermes/error/audioServer/play
[DEBUG:2021-06-17 19:49:18,875] rhasspyserver_hermes: Subscribed to hermes/audioServer//playBytes/#
[DEBUG:2021-06-17 19:49:18,873] rhasspyserver_hermes: Subscribed to hermes/error/tts
[DEBUG:2021-06-17 19:49:18,872] rhasspyserver_hermes: Subscribed to hermes/tts/sayFinished
[DEBUG:2021-06-17 19:49:18,869] rhasspyserver_hermes: TTS timeout will be 30 second(s)```

So I'm looking at my Hassio base station, and the logs suggest more timeouts.
[DEBUG:2021-06-17 21:59:02,322] rhasspyserver_hermes: TTS timeout will be 30 second(s)
[DEBUG:2021-06-17 21:59:02,322] rhasspyserver_hermes: -> TtsSay(text='this is a test', site_id='default', lang=None, id='6d007b7f-ddfd-480f-ab19-8dea61060ecf', session_id='', volume=1.0)
[DEBUG:2021-06-17 21:59:02,322] rhasspyserver_hermes: Publishing 139 bytes(s) to hermes/tts/say
[DEBUG:2021-06-17 21:59:02,365] rhasspytts_cli_hermes: <- TtsSay(text='this is a test', site_id='default', lang=None, id='6d007b7f-ddfd-480f-ab19-8dea61060ecf', session_id='', volume=1.0)
[DEBUG:2021-06-17 21:59:02,365] rhasspytts_cli_hermes: ['nanotts', '-v', 'en-US', '-o', '/tmp/tmphlmjb96q.wav']
Using Lingware directory: /usr/lib/rhasspy/.venv/lib/nanotts/pico/lang
read: 14 bytes from stdin
using lang: en-US
wrote "/tmp/tmphlmjb96q.wav" (35884 bytes)
[DEBUG:2021-06-17 21:59:02,387] rhasspytts_cli_hermes: Got 35884 byte(s) of WAV data
[DEBUG:2021-06-17 21:59:02,387] rhasspytts_cli_hermes: -> AudioPlayBytes(35884 byte(s)) to hermes/audioServer/default/playBytes/6d007b7f-ddfd-480f-ab19-8dea61060ecf
[DEBUG:2021-06-17 21:59:02,388] rhasspytts_cli_hermes: Waiting for play finished (timeout=1.37)
[DEBUG:2021-06-17 21:59:02,389] rhasspyserver_hermes: Handling AudioPlayBytes (topic=hermes/audioServer/default/playBytes/6d007b7f-ddfd-480f-ab19-8dea61060ecf, id=59704492-de8f-4b3c-bbb6-ed32f2b30403)
[WARNING:2021-06-17 21:59:03,760] rhasspytts_cli_hermes: Did not receive playFinished before timeout
[DEBUG:2021-06-17 21:59:03,761] rhasspytts_cli_hermes: -> TtsSayFinished(site_id='default', id='6d007b7f-ddfd-480f-ab19-8dea61060ecf', session_id='')
[DEBUG:2021-06-17 21:59:03,761] rhasspytts_cli_hermes: Publishing 84 bytes(s) to hermes/tts/sayFinished
[DEBUG:2021-06-17 21:59:03,762] rhasspyserver_hermes: Handling TtsSayFinished (topic=hermes/tts/sayFinished, id=59704492-de8f-4b3c-bbb6-ed32f2b30403)
[DEBUG:2021-06-17 21:59:03,763] rhasspyserver_hermes: -> AudioToggleOn(site_id='default')
[DEBUG:2021-06-17 21:59:03,763] rhasspyserver_hermes: Publishing 21 bytes(s) to hermes/audioServer/toggleOn

Issue resolved.
When I was doing some other work, I had accidentally removed the site ID "default". The box is pre-populated with a slightly grayed out "default", which caused me to overlook it.

repo: rhasspy/rhasspy

license: MIT


text:
[devops:bot] update deps in nix/sources.json (from: rhino-core@37de60f

update nix refernces for rhino-core and|or nixpkgs to match https://github.com/rhinofi/rhino-core/blob/37de60f22e1c1ac3dbf1e5eb3f3daa7008f3cf91/nix/sources.json (branch: dev)

superseded by #129

repo: rhinofi/logger


text:
🛑 BOS2 is down

In c487ae1, BOS2 ($URL_BOS2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BOS2 is back up in ed8da5d after 22 minutes.

repo: rholak/upptime


text:
🛑 BOS2 is down

In 28f4304, BOS2 ($URL_BOS2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BOS2 is back up in 6b7a9a6 after 7 minutes.


text:
🛑 BOS2 is down

In 1822890, BOS2 ($URL_BOS2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BOS2 is back up in 5785ef4 after 50 minutes.


text:
🛑 ms.math.mcmaster.ca is down

In 1883020, ms.math.mcmaster.ca (http://ms.math.mcmaster.ca/uptimerobot) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ms.math.mcmaster.ca is back up in a6e3c32.

repo: rhpcs-mcmaster/downtime


text:
👑⚡ Adding TDD virtual exercise (instructions and slides)

This PR includes an extension for the DDD, BDD & DDD slides for:

Practical example to deliver in Virtual edition with a Miro Board as a playground
Instructions, images, and guideline to deliver the practical exercise

This exercise requires a Playground in a virtual board (mostly Miro) similar to:

This panel includes:

Instructions box
Tests box
Attendees's workspaces

This extension could be defined as a separate deck only to cover that part and not modify the current deck for testing.
Feedback? Comments?
PS: This content was defined and used in a real virtual enablement run.

hi @rmarting .. looks great .. my only comment would be around the use of Minecraft ? not sure about copyright .. but because TL500 is a paid for offering we may need to be careful when introducing content like that. To be fair it may just be fine "fair usage" since its demonstrating TDD practice ... @springdo WDYT ? (think .. Pet Battle, DVO Book .. and the images stuff)

@eformat Renamed from Minecraft to Virtual Blocks (sorry I couldn't find other "name"), but at least it is something not related with real products. Anyway open to use other concept/name to this activity.

authors: eformat rmarting

repo: rht-labs/tech-exercise


text:
Attendees validating

several commits

Lines longer than 75 characters now folding as per spec - issue #49
Enums now converted ToUpperInvariant, thus enum values like OPAQUE will now validate - issue #36.
The same dict.TryGetValue pattern as a commit #53, but applied to the GroupedList class. Also removed checks for dict.ContainsKey prior to Remove application wide, as dict.Remove simply returns false if the key is not found.
Looking through the GroupedList code, I share (at least a small fraction of) your pain - your ideas of removing event subscription and using inbuilt lists/dictionaries is absolutely spot on - I really hope you can find the fortitude to have another shot.  I couldn't help myself and added a few notes for myself before I realised just how tenuous the design of this class is - simultaneously maintaining a dictionary and list each pointing to the same objects seems a recipe for tangled code. Most of these comments are signed with BM (Brent McSharry).
UTC DateTime now meeting spec - issue #56

this leaves only 2 of my tests failing, and failing appropriately - removing an attendee and adding timezone information
If the v3 plan will be to move more properties to enums (which makes assigning properties valid values very easy given intellisense, and does not require knowing string constants are in some namespace somewhere), further changes will need to be made to the EnumSerializer class. The options to serialize hyphenated values like 'REQ-PARTICIPANT' would include (in my voted order of preference):

An AngularJS style PascalCase to hyphenated  e.g. PASCAL-CASE. in that way evt.Role = Roles.ReqParticipant.
The EnumSerializer examines the enum Attributes collection for a DescriptionAttribute, and uses this in preference if it is present .

I really hope you can find the fortitude to have another shot. I couldn't help myself and added a few notes for myself before I realised just how tenuous the design of this class is - simultaneously maintaining a dictionary and list each pointing to the same objects seems a recipe for tangled code. Most of these comments are signed with BM (Brent McSharry).
It'll get done. "When" is just a function of time and energy. :)

Go ahead and merge; I gave you permissions to the repo. Please continue to open pull requests, though; likely I'll leave some feedback and a :+1:
(It's not reflective of your development skill; all code is reviewed at work before being merged, and I find it's a model that works well for maintaining a high code quality standard.)

Go ahead and merge; I gave you permissions to the repo. Please continue to open pull requests, though; likely I'll leave some feedback and a 👍  (It's not reflective of your development skill; all code is reviewed at work before being merged, and I find it's a model that works well for maintaining a high code quality standard.)

Thank you - in truth I really appreciate the review. I learnt to code as an early teenager in C++ and Pascal, and at the end of the day it is not my day job, so I learn a heap - for instance in your changes I learnt about the $"{}" notation in place of string.Format (syntactic sugar, but very nice), and the ReadOnlyList (wrapper).

authors: mcshaz rianjs

license: mit

license_source: bigquery


text:
Webtool to create config.yaml?

Proposed by @shahpr and discussed at 26 August 2020 meeting.
The suggestion is to write a webtool to allow users an "easy way" to set up the config.yaml file, that they can download and run riboviz nextflow locally.

Focussing on semi-expert users currently; this may surface.

Deprecated by #389? If so then this issue can be closed.

Agreed this is deprecated by #389.

authors: ewallace kavousan mikej888

repo: riboviz/riboviz


text:
Not Downloading Every File

The script does download some files, I don't know how it chooses them but when multiple recordings are present for a link like sepperate;

Gallery View with Shared Screen
Speaker View with Shared Screen
Shared Screen Only

it only downloads one, I don't know exactly which one tho.
This could cause major problems depending on what the files are stored for.

Apparently downloads all the the recording types but since the naming is the same, it just overwrites the existing file with the last downloaded.


text:
Arduino nano 1 MHz

Hi!
Have you tried using the Arduino Nano with 1MHz?
I'm trying to do this but the device sends only 1 or 2 messages and stops sending.
I wonder if you can help me with this. I am doing this to reduce the consumption of the device.
Thanks in advance.

Hello.
I always use 8MHz and sleep for some time.
Maybe with 1MHz, the SPI clock is too high or something.
If you want to slow down your MCU you can change by code.
#include <avr/power.h>

void setprescaler(void)
{
  //clock_prescale_set(clock_div_1);
  //clock_prescale_set(clock_div_2); // 8M Hz - 0.62mA
  //clock_prescale_set(clock_div_16); // 1M Hz - 0.45mA - 450uA / 5uA
  //clock_prescale_set(clock_div_256);
}

void setup() {
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
  // Blink with 1 second
  clock_prescale_set(clock_div_1);
  digitalWrite(LED_BUILTIN, HIGH);
  delay(1000);
  digitalWrite(LED_BUILTIN, LOW);
  delay(1000);

  // Blink with 2 second
  clock_prescale_set(clock_div_2);
  digitalWrite(LED_BUILTIN, HIGH);
  delay(1000);
  digitalWrite(LED_BUILTIN, LOW);
  delay(1000);
}

This code breaks with the delay() and millis()
Probably is not a good idea to change the clock with SPI running.
You should try your code with 8HMz and see if works or breaks.
See yaa!

Thank you very much!
I will do these tests.
If I use the internal oscillator can it influence the operation too?
But I believe that it is, because I am using the MCCI LMIC to try to do this and I changed the SPI frequency to the lowest one and it still doesn't work.
This library takes up a lot of Atmega328p memory, I don't know what I'm going to do to make it consume less.

Hello,
Yep LMIC is really big and Atmega328p memory is small for the library.
I kinda create a really simple LoraWAN package to use with the Lora.h.

https://github.com/ricaun/LoRaWanPacket

The library only handles the encryption and decryption of the LoRaWAN protocol and ignore mac commands.
The frequency, SF, and other specifications of the LoRa you need to control or make a one channel node.
See yaa!

Thanks a lot for the help!
I'll start using and testing this one.

authors: Samuel-ZDM ricaun


text:
Add examples for the db_tbl() function

Right now, the db_tbl() function has no examples. But they would be useful! So, there should be a variety of examples available for this function, including those that use the function in typical pointblank workflows.

Finished with https://github.com/rich-iannone/pointblank/commit/e8e50b0ac3f4f478001e544aac32fc6e082c4a0c.

Finished with https://github.com/rich-iannone/pointblank/commit/e8e50b0ac3f4f478001e544aac32fc6e082c4a0c.

repo: rich-iannone/pointblank


text:
Spelling, Grammar and other minor text enhancements (first batch)

Checked up to lab4. Generally good just lots of typos and a few grammar mistakes. A few ^M EOL chars too.

Fixes part of #21

repo: richarvey/techshift-modernise


text:
Make it easier to use Chrome’s device orientation emulation

Chrome’s devtools are able to emulate device orientation on a desktop computer that lacks orientation hardware, which is very handy for development. However, this is not possible if you use the recommended FULLTILT.getDeviceOrientation( [options] ) and FULLTILT.getDeviceMotion( [options] ) functions, because they will just report that “Device{Orientation,Motion} is not supported”.
You could use the new FULLTILT.Device{Orientation,Motion}( [options] ) constructors directly for this case, but the down-side is that those constructors return objects directly, while the .get* methods return Promises, so switching to the constructors for development isn’t really practical because of the flow control differences.
It would be great if it was easier to make use of Chrome’s devtools.

I found that you can use emulation if you enable it after initializing  FULLTILT.   Still a bit awkward as one has to remember to disable-reload-enable on each dev. cycle, but better than nothing.

Maybe this is what you were saying but basically if I move the emulator within 1 second of starting my app it works. After 1 second it assumes there's no sensor. An override would be good too but for now just remembering to nudge the emulator after refresh works for me.

I am looking in to enabling this emulation once again. Last time I looked at this I didn't get very far because once the sensor check completes a lot of the subsequent code paths tend to rely on device orientation data being present (which would not be the case with emulation unless you've enabled that emulation manually in the console).
I'm pleased that there is a way to 'trick' the library but you should also be aware of https://github.com/richtr/Full-Tilt/issues/12 which makes deviceorientation emulation through Chrome very unreliable. Building a device orientation web app against the Chrome emulator is not going to produce the right output on mobile devices. The only way to currently test this is against real devices (browsers on real iOS and Android devices).

Mostly all I care about is to get any orientation events sent, to check that mu apps  effects are triggered

So I recently created an in-browser Device Orientation emulator called doe that should be used to debug Full-Tilt based web applications from now on due to numerous problems I had been having with the Chrome Device Orientation Emulation Tool.
There are a number of serious issues with the Chrome device orientation emulation tool (see https://github.com/richtr/Full-Tilt/issues/12). It does not reflect how the user holds a device, how the device really rotates in physical space and it does not account for any rolling of a device's screen.
doe does not suffer from any of those issues. Please consider using that from now on and if you like it, tell other people it exists and kicks ass :)

authors: fergusg greggman lydell richtr

repo: richtr/Full-Tilt


text:
Cannot change height in Internet Explorer

Reported by Mike E: changes in height do not affect size of widget in Internet Explorer.
links = [
    {'source':'a_','target':'a','value':0},
    {'source':'a_','target':'b','value':4811.5},
    {'source':'a_','target':'c','value':6809},
    {'source':'b_','target':'a','value':3528.5},
    {'source':'b_','target':'b','value':0},
    {'source':'b_','target':'c','value':1307},
    {'source':'b_','target':'d','value':1342},
]

layout = Layout(width="300", height="100")
def sankey(margin_top=10, **value):
    """Show SankeyWidget with default values for size and margins"""
    return SankeyWidget(layout=layout, scale=0.001,
                        margins=dict(top=margin_top, bottom=0, left=100, right=100),
                        **value)
sankey(links=links)

Closing this as Internet Explorer is no longer a common browser

repo: ricklupton/ipysankeywidget


text:
触发SB

[self performSegueWithIdentifier:@"bookstore" sender:nil];
当我触发SB中的bookstore这条show模式的线，跳过去之后，左上角直接显示了一个back，返回按钮都没了，这个怎么解释

destinationController 有没有实现 -rt_customBackBarItemWithTarget:action ？

authors: rickytan wangkejiaGitHub

repo: rickytan/RTRootNavigationController


text:
deinit ******ViewController控制台输出的信息，界面无法 push

push pop 来回操作，又用到了地图，不停地拖动地图后，再进行push 操作，控制台就会显示 deinit ******ViewController，界面不动，没有任何跳转。

看起来对象销毁了？

authors: fttios rickytan


text:
Compile error on Xcode 9.4.1

Hello,
From a fresh git checkout, using Xcode 9.4.1 Build version 9F2000, MacOS 10.13.6, I get the following compilation error:
HexFiend/framework/sources/HFTextRepresenter.m:34:29: error: no
      known class method for selector 'alternatingContentBackgroundColors'
            return [NSColor alternatingContentBackgroundColors];
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

** BUILD FAILED **

Is there a known workaround ?

You can comment out that line of code for now. Currently the project requires Xcode 10 to build.

OK thanks!

authors: dplr kainjow

repo: ridiculousfish/HexFiend


text:
State prep compiler broken for small program

The following reliably trips up the compiler, raising an error due to broke colinearity:
(progn
  (setf quil::*compress-carefully* t
        quil::*enable-state-prep-compression* t)
  (quil::compiler-hook
   (quil::parse-quil "H 0
H 1
X 0
CPHASE(pi/2) 0 1")
   (quil::build-nq-linear-chip 2 :architecture :cphase)))

The issue was introduced around 585d3f52.

Closed by #578.

repo: rigetti/quilc


text:
[Play] - Lints and Formats

Issue:
Lints and formats code after Jest testing PRs have been merged.
Resolution:
Linting and formatting via eslint and prettier.

something weird happened here where the code merged but github isn't noting it. Closing with this comment, note that the merge is logged in dev

repo: rightoneducation/righton-app


text:
Fix potential large memory allocation in DerInputStream

The object length limit check was adding 2 int values which could result in an overflow exception, allowing very large lengths to bypass the limit enforcement. Now the limit check casts the value to a long before doing addition to avoid integer overflow.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.77%. Comparing base (f50ad63) to head (c79b2cf).

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #43      +/-   ##
============================================
+ Coverage     82.32%   82.77%   +0.44%
- Complexity      174      176       +2
============================================
  Files            33       33
  Lines          1126     1126
  Branches         99       99
============================================
+ Hits            927      932       +5
+ Misses          153      149       -4
+ Partials         46       45       -1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

authors: codecov-commenter nhartner

repo: ripple/crypto-conditions


text:
Fix #1999

The scons_to_ninja file has problems with parsing the way SCons compiles protocol buffers. This is a workaround that directly writes the build rules in the generated ninja file instead of generating them dynamically.
There's probably a better/proper way to do it that likely involves changes to the Protoc handler in SCons. This works for the time being and maybe CMake anyways will in the future be able to emit proper ninja files in case you decide to migrate away from SCons.

@MarkusTeufelberger could you take https://github.com/bachase/rippled/commit/02adabe3fe39aacce2b05e991f8fa7f303d9d6f6 for a spin?  It is still a bit of a hack, but slightly less so.
Did you have issues using CMake to generate the ninja build files?  We are looking to move to CMake, but the transition will take some time.

I didn't try with CMake yet, my method was to generate a few Dockerfiles with general rippled dependencies on various distributions and run https://github.com/ripple/rippled/blob/develop/Builds/build_all.sh in there. This is to see what is missing where, since the build process documentation is a bit lacking and rippled does not build without warnings on some non-Debian distros (which might also improve rippled itself).
I'll try this today and report if it worked, if you want to switch to CMake or at least also support it next to scons, it might make sense to add it to the Test.py script which can build and test all possible build variants. :-)

Stdlib itertools module has good combinatorial iterators, suitable for
build matrices. 3bery loves Raymond

Which is why itertools is used in Test.py. I don't see how  it should help with Ninja file generation, could you please clarify your comment?

Just bored, blathering, and a fan of Raymond H's work there. Haven't seen
Test.py

@bachase - Yes, your commit works too and it looks definitely cleaner than my version, so I'd be more than happy if your version makes it into rippled soon. I didn't yet try Ninja file generation with CMake, I'll still report on that one.

Ok, to compile with Ninja using CMake:
Run "mkdir -p build && cd build && cmake -Dtarget=gcc.debug -G Ninja .. && ninja" (or any other target).
It would be nice to document CMake builds (-Dsan=[address/thread] for example). Unlike the Scons build though, the CMake build manages to correctly apply the necessary flags for the sanitizer builds on Arch Linux. :-)
I'll see what I can do to add CMake support to Test.py so it can be automatically tested. In the long run I'm a big fan of Bazel (https://bazel.build/) - though since you have just started switching to CMake it might be a tough sell internally.

Awesome, thanks for testing!  The cmake question was a loaded one, as I had tested it myself before asking ;).  Last time I checked Bazel, it didn't support windows very well.  I see that is improving, but we'd probably want it to mature more before even considering.
I'll go ahead and open a PR with the new change and close this one.

The 0.5 release has Windows C++ support as explicit goal and will likely be released this or next month (https://bazel.build/roadmap.html). So far windows is still not a first class citizen though (and I highly doubt that there are many production rippled servers out there running on windows either).
Thanks for moving this forward, hopefully in 1-2 beta releases I can start checking again if rippled builds actually work on various distros/platforms.

authors: MarkusTeufelberger bachase sublimator

repo: ripple/rippled

license: ISC


text:
Request to split fnmadd.d_b15, fmadd.d_b15, fmsub.d_b15, and fnmsub.d_b15 in rv32i_m

Is there a plan to split the fnmadd.d_b15, fmadd.d_b15, fmsub.d_b15, and fnmsub.d_b15 in rv32i_m test case to what was done in commit 0d6fa5ca1dceaa916180d7d800781ca67a554931?
While performing the ACT-Test on our 4-issue out-of-order core, these cases require simulation with terabytes of memory. This seems to place excessive demands on the hardware.

@2X-ercha Thank you for notifying the issue. The tests have been split in PR #486. It will be merged soon

repo: riscv-non-isa/riscv-arch-test


text:
Supervisor-level iprio configurability

The AIA spec says

For a given interrupt number, if the corresponding bit in sie is read-only zero, then the interrupt’s priority number in the supervisor-level iprio array must be read-only zero as well.

Does it include the case when sie[n] is read-only zero because corresponding mideleg[n] & mvien[n] bits are both set to zero?
I'm assuming here that either mideleg[n] or mvien[n] (or both) is writable and can be set to 1.

First, I should add a correction:  When the H (hypervisor) extension is implemented, the AIA spec should say, "if the corresponding bit is read-only zero in both sie and hie, then the interrupt’s priority number in the supervisor-level iprio array must be read-only zero as well."

Does it include the case when sie[n] is read-only zero because corresponding mideleg[n] & mvien[n] bits are both set to zero?

Yes, it does.

I'm wondering if there is any requirements for s-mode iprio[n] value when iprio[n] field stops being read-only zero after we write 1 to corresponding mideleg[n] or mvien[n]?

This question is answered by the Privileged ISA spec, in the section titled "CSR Field Modulation":

If a write to one CSR changes the set of legal values allowed for a field of a second CSR, then unless specified otherwise, the second CSR’s field immediately gets an UNSPECIFIED value from among its new legal values.

authors: evgeniy-paltsev jhauser-us

repo: riscv/riscv-aia


text:
Elaborate address map possibilities

I understand that section 15 leaves the precise CLIC address map as a platform-specific choice. However, I think that it would be helpful to elaborate the possibilities further, particularly for the case of a multi-hart implementation. For example, in a multi-hart system, would each CLIC occupy the same address (which would mean that each hart could only see its local CLIC) or non-overlapping addresses (which would mean that one hart could program another hart's CLIC), or is either choice possible?
Sections 12 and 14 contain some useful examples and recommendations that are not mandatory but provide useful context. Something similar in section 15 giving one or more examples of a candidate memory map would be very useful.

This is related to pull request #129. Before that change, section 3.11 used to say:

In a system with multiple harts, the M-mode CLIC regions for all the harts are placed contiguously in the memory space, followed by the S-mode CLIC regions for all harts.

This was the only reference in the document  to the fact that M and S regions occupy different addresses in the address map. I think the change was prompted by Krste's response to issue #64 :

This is generally a platform issue. The spec itself focuses on the structure within each aperture not the location of the apertures in the global physical memory space. Each platform needs to define a discovery mechanism to determine the memory map locations.

We should remove or downgrade to commentary the recommendation on the layout of multiple harts and multiple privilege modes, as different platforms will want to handle these differently.

I think too much information may have been removed here. Is it still the case that M and S regions should have different addresses? A plausible implementation might be that they occupy the same address but that the loads and stores are sensitive to processor mode. Clarification of the intent with examples would be extremely helpful.

repo: riscv/riscv-fast-interrupt


text:
Make libart a submodule

This change would introduce libart as a submodule instead of copying in the code directly. The main benefit is that it's now much easier to pull in libart changes.
This pulls in a version of libart that seems stable (the latest commit on master). This means, among other things, that we can benefit from the fixed warnings in armon/libart@43fed7c.
If pulling an already-cloned repo with this change, you'll probably have to delete the existing libart directory so that git doesn't get confused about a directory existing with the same version as the new submodule. Then do git submodule --init to pull in the new submodule.

Definitely agree it's much easier to manage as a submodule. Looks good to me!

authors: mattkelly mvertescher

repo: rishid/turtle


text:
refactor: always apply flow control on source/chain

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
as title
will apply config changes in following pr

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] 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).
[x] 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.

After this PR I suppose we will always have flow_control for each mv / sink / index?

yes for mv and sink. I am not sure about index.

repo: risingwavelabs/risingwave


text:
#226 locate config file

#226
@ritiek Please Review the PR and let me know if I there is any need to do any modification.
Also, I want to write a test to check this functionality. Please guide me on how I should proceed with it.

@linusg I will make the requested changes and update the PR.

@linusg Made the changes as with respect to your comments.

Sure, I will make the changes

@linusg Made changes as per your suggestions.

@linusg :slightly_smiling_face:  yeah that will be helpful.

Alright, let's see. Just getting some work finished and heading home.

okay. so please comment on how I should proceed with writing test case once you are free.

Sorry for the delay. You could start with this:
https://github.com/ritiek/spotify-downloader/blob/master/test/test_dry_run.py
Just create a new file in tests/, like tests/test_config.py. Then look at the source of  loader.load_defaults():
https://github.com/ritiek/spotify-downloader/blob/master/test/loader.py#L7
Write a config file in python (with open...) and adapt this:
handle.get_arguments(raw_args='', to_group=False, to_merge=False)

so raw_args says raw_args=['--config', '/path/to/config.yml']. Now proceed as in the test case I linked above, just test for something you've changed in the custom config, so it's different from the defaults.
Sorry, it's a little bit hard to explain. Feel free to ask further, you may need to try around a little though. You can test locally as described in the README: https://github.com/ritiek/spotify-downloader#running-tests
When they pass, just make another PR (don't know if we can add files here after it's merged).

Okay, I will start working on it, and will a New PR

repo: ritiek/spotify-downloader


text:
Extension issue

Issue Type: Bug
Extension Name: LiveServer
Extension Version: 5.6.1
OS Version: Windows_NT x64 10.0.18363
VSCode version: 1.47.3

:warning: We have written the needed data into your clipboard. Please paste! :warning:

{
	"messages": [],
	"activationTimes": {
		"codeLoadingTime": 18068,
		"activateCallTime": 5,
		"activateResolvedTime": 4,
		"activationReason": {
			"startup": true,
			"extensionId": {
				"value": "ritwickdey.LiveServer",
				"_lower": "ritwickdey.liveserver"
			},
			"activationEvent": "*"
		}
	},
	"runtimeErrors": []
}

* Issue Type: `Bug`

* Extension Name: `LiveServer`

* Extension Version: `5.6.1`

* OS Version: `Windows_NT x64 10.0.18363`

* VSCode version: `1.47.3`

⚠ We have written the needed data into your clipboard. Please paste! ⚠

repo: ritwickdey/vscode-live-server


text:
Interaction animation doesn't work

Description
When I use a .riv file on android that supports interactions (user selecting an element with simple animation), it doesn't work properly. Selection animation freezes and continues only when I continue interacting with RiveAnimationView (tapping and moving my finger in it).
I have tried to integrate the view differently(compose, compose-xml, xml) and tried to use different rendering engines but nothing helps. Please, look at the video and example repository to understand the problem.
Provide a Repro
A repo with empty android app that reproduces an error:
https://github.com/AlexIzh/rive-android-problem
Source .riv/.rev file
Here is a .riv file:
streak_calendar.riv.zip
Expected behavior
Animation works smoothly when I tap/click on an interactive element.
Screenshots
Here is a video how it behaves (riv file is a different from example but it behaves the same)
https://github.com/user-attachments/assets/c6ed0622-b012-4e04-b1fb-25abf5645285
Device & Versions (please complete the following information)

Device: Tried on various android emulators (API 34) and android device with API 30

Hi @AlexIzh, I can reproduce the issue thank you for reporting. We'll get this fixed soon.
The issue is that if the parent artboard is not animating (has settled) then the nested artboards will not continue advancing. There is a logic flaw in the Rive Android runtime that is not considering this.

Any thoughts or estimates on when you think this issue will be resolved @HayesGordon?

This should now be resolved in v9.9.4

authors: AlexIzh HayesGordon grEvenX

repo: rive-app/rive-android


text:
fix: default build creation

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

#582  👈
#578 : 1 other dependent PR (#580 )
#573
#572
#571
#570
#566
#565
#579
main

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

Join @MasterPtato and the rest of your teammates on  Graphite

repo: rivet-gg/rivet


text:
Error: attempt to write a readonly database

I'm loading sqlite in a worker like the example. I've made a database with a table 'test' that includes 1 value called "testvalue". I've prepared the db according to Phiresky, by doing:
pragma journal_mode = delete; -- to be able to actually set page size
pragma page_size = 1024;

It succeeds loading the database by URL, but any query results in the error that it tries to write to the database.
importScripts('https://cdn.jsdelivr.net/gh/riyaz-ali/sqlite3.js@master/dist/sqlite3.js')
await sqlite3.load(file => `https://cdn.jsdelivr.net/gh/riyaz-ali/sqlite3.js@master/dist/${file}`)
console.log('sqlite worker is ready');

// open a new connection
let connection = new sqlite3.open(dbUrl); // opens a new in-memory connection

console.log('sqlite connection opened');

// let's try out a query
let stmt = connection.prepare("SELECT * from test");
while(stmt.step()) { console.log(stmt.get()) } // will print out each row to console
stmt.finalize();

Ah! interesting. Can you share the steps to create the database file?

#in Makefile
sqlite3 catalog.sqlite3 < ./init

# in ./init script
-- see https://github.com/phiresky/sql.js-httpvfs
pragma journal_mode = delete; -- to be able to actually set page size
pragma page_size = 4096; -- trade off of number of requests that need to be made vs overhead.

-- create Full-Text-Search table
CREATE VIRTUAL TABLE artist_names USING fts5(name, name_sort);

-- sqlite should read csv's exported from musicbrainz
.mode csv

-- import table data for artists
.import ./data/artists.csv artists

-- copy text data to FTS table
INSERT INTO artist_names SELECT name, sort_name FROM artists;

-- Evaluating the special "optimize" command, an SQL statement of the form "INSERT INTO <fts-table>(<fts-table>) VALUES('optimize')", causes FTS to merge all existing index b-trees into a single large b-tree containing the entire index. This can be an expensive operation, but may speed up future queries.
INSERT into artist_names(artist_names) values ('optimize');

vacuum; -- reorganize database and apply changed page size

.quit

authors: Tails riyaz-ali


text:
rm_broken_tests Could not extract method body

Hi @rjust ,
I'm having a problem with fixing my test suite. Here is my test suite that need to be fixed.
Csv-3f-randoop.15.zip
Running the 'fix_test_suite.pl' gives a bug similar to the one reported here
Remove uncompilable test method(s)......................................... Use of uninitialized value $class:: in concatenation (.) or string at /home/islam/MyWork/Code/defects4j/framework/util/rm_broken_tests.pl line 252.
Could not extract method body for test00915 at /home/islam/MyWork/Code/defects4j/framework/util/rm_broken_tests.pl line 252.
I can solve this by manually removing the method causing the problem (test00915 in this case). Rerunning the fix_test_suite.pl script can now fix the test suite. However, this is happening a lot in other test suites, which I think there is a bug in the "rm_broken_tests.pl".
I hope this can be fixed, or report me a better way to solving it.
Thanks and best,
Islam

Hi @islamelgendy,
I pushed a fix for this to the test-extraction branch. I'll merge this into master soon.
Let me know if the test-method extraction chokes on other generated test methods.
Thanks,
René

authors: islamelgendy rjust


text:
Having difficulty using with jest / enzyme

Hi,
I might be doing this wrong, but I'm having a hard time trying to use this inside jest using enzyme's mount to mount my root component. It seems that the Select2 object is not rendered into the DOM when I mount my root component.
This doesn't happen with other components I'm using so I'm not sure whether I'm doing something wrong or rather it is a limitation of this component.
Any help would be greatly appreciated.

I found a way of interacting with the underlying jquery instance, it isn't exactly a clean method of doing this but I guess it is something:
const $select = $(component.find('Select2 select').getDOMNode());
$select.select2('open');

I'm leaving this open just in case someone else has a better way of doing this.

@aberonni how did you integrate the code above with your Jest tests? Did you add it to the setup or was it inside of the component you were trying to mount. Can you post a little more info? I'm running into the same issue.

@CWSites I believe that code was inside the jest test, but I'm relying on my memory. I don't have access to that codebase anymore, sorry.

Thanks anyways @aberonni!

authors: CWSites aberonni


text:
add buffer flag for payment command

check for ongoing parking session with desired filters
if it exists, retrieve the end time and wait until the session expires
start the payment routine again (I've found it's necessary to log into paybyphone again since the session seems to die after a while)

Thanks for this. Got merged in #7 - could not use this PR because it got automatically closed when merging the branch is based on.

authors: HamletDuFromage rklf


text:
stage1/init/units: keep journald running while apps are shutting down

This prevents a race when apps are writing to their stdout/err (and
output is being sent to stage1's journal) while shutting down. If
journald terminates before the apps finish shutting down, their output
will be lost.
Signed-off-by: Fabio Kung fabio.kung@gmail.com

ok to test

authors: fabiokung squeed

repo: rkt/rkt


text:
Fix show_buf

Fix show_buf function. It can't work for this simple code snippet
;
#true

:+1:


text:
🛑 Portal84 is down

In 378ed5b, Portal84 (http://trackingpy.idretail.com/o3web/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portal84 is back up in 2be6e47 after 26 minutes.

repo: rlealw/uptime


text:
🛑 Portal84 is down

In 9591172, Portal84 (http://trackingpy.idretail.com/o3web/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portal84 is back up in e0c525c after 45 minutes.


text:
🛑 Website is down

In 947a4e3, Website (https://cvsu.edu.ph) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Website is back up in a33ac29 after 20 hours, 29 minutes.

repo: rlvillacarlos/cvsu-site-monitor


text:
Merge developer branch to main branch (#2)

Update README

add new scripts and update readme

re-upload scripts and readme

update readme

re-update readme

modified:  README.md

update loss_functions and readme

add unfinished network object

update scripts and experimentation

repo: rmateusc/multilayer-perceptron


text:
Elements can render in thread executor

Adds a 'run_in_executor' keyword argument to the element decorator that allows users to run a render function in a thread executor. This is useful because certain long running operations will prevent the next render from taking place and thus halt the view until the operation completes. Processing these long running updates in a thread executor unblocks the rendering loop.
In order to make this happen some underlying changes to the Layout and communication protocol were made. In short, renders are not run at the time Layout.render is called. They are scheduled to be computed immediately and added to a queue when they complete. The Layout.render function then pull from that queue. The communication protocol was changed to include the ID of the layout's root element because it may not be the first element to get rendered and thus be placed in the queue.
Other minor changes were made - see RenderBundle type to see.
Closes: #63

There's still a bit of work to do here.

Tests not passing due to animation timing
asyncio.ensure_future suppresses error messages. Is there an nice way to await those futures?

in the Layout.render function using asyncio.wait instead of the Queue might allow them to be awaited.
for animation hook there might be a way to do it on unmount?

repo: rmorshea/idom


text:
Enhancement: calendar entry generation + download

Title.
Good use for structured output

Structured output + validators = file generation


text:
[Epic] Mint FWBFest Choodles

Criteria
Given all choodles that were made during FWB Fest (that aren't tests or inappropriate), they should be minted in a collection, 100% onchain.
Tasks

[ ] using: Polygon

a way to get back in touch with Polygon team

[ ] store 100% onchain, no dependencies
[ ] wallet: use ledger (RMX wallet)
[ ] start with requested mints: do manually (@anothermadeline to deliver list of requested choodles to mint)
[ ] mint all choodles made during FEST: exclude tests and inappropriate images
[ ] 1 of 1 NFTs
[ ] Metadata #141

Questions

are we doing anything re: user IDs?

Design Reference
Sanity: https://choodle-sanity-studio.vercel.app/desk/choodle

@rmx-party/contributors minting has been done for the scope of FWB FEST, and I'm caught up on airdrop requests for the 4 addresses we have received so far. Let's call this done and make new tickets for additional requests so we can track them easily.

absolutelyyy. Thank you for tracking so much within this — it wasn't the intention, but gravity took the wheel 😅
Thank you!! ✅✅✅

authors: brandondees paigel

repo: rmx-party/choodle


text:
Embeds?

@jsierles is there a way to embed the output from the simulator?

At the moment we're only given permission graciously by Appetize to use the simulator output on rnplay.org - these are real simulators running on macs, which normally come at cost. However, I'll ask about this possibility! It may not be an issue as long as usage doesn't spike too much. Where would you want to use it?

Blogging on mapbox.com. This could generate some decent traffic however...

If the goal is more a product demo, one option here would be to use appetize.io independently from the playground. They only charge after 100 minutes so it might be enough to try. Also means you can customize the embed and such without asking us to implement anything.

authors: bsudekum jsierles

repo: rnplay/rnplay-web


text:
Release v0.5.31

This is a draft of changelog for the v0.5.31 release.
Here you can find all related translations changes: v0.5.30...master.

⚠ Do not merge this pull request manually ⚠
You should approve this pull request instead. After approving, I will automatically update it (release date needs to be adjusted), merge, and tag a new release.

Show release notes preview
v0.5.31

Dodano wsparcie dla nowych rozszerzeń:

clarkwinkelmann/flarum-ext-discussion-bookmarks

Zaktualizowano tłumaczenia dla rozszerzeń:

fof/discussion-language
nearata/flarum-ext-twofactor

Wszystkie zmiany: v0.5.30...v0.5.31.

Success! Now you can announce new release on forum:
## Wersja [`v0.5.31`](https://github.com/rob006-software/flarum-lang-polish/releases/tag/v0.5.31)

**Dodano wsparcie dla nowych rozszerzeń**:

* [`clarkwinkelmann/flarum-ext-discussion-bookmarks`](https://github.com/clarkwinkelmann/flarum-ext-discussion-bookmarks)

**Zaktualizowano tłumaczenia dla rozszerzeń**:

* [`fof/discussion-language`](https://github.com/FriendsOfFlarum/discussion-language)
* [`nearata/flarum-ext-twofactor`](https://github.com/Nearata/flarum-ext-twofactor)

Wszystkie zmiany: [v0.5.30...v0.5.31](https://github.com/rob006-software/flarum-lang-polish/compare/v0.5.30...v0.5.31).

Aby zaktualizować:

```console
composer update rob006/flarum-lang-polish
php flarum cache:clear
```


text:
Songs are not added to que from Soundcloud

Context: Soundcloud.com (webplayed)
Scenario:

Successfully set up Sonos speakers' IP Address. (notice the green checkbox)
Click the N* button under any selected track on Soundcloud (responsible for adding the )
The button is loading
The button color turns red (indicating that the song was not added to que)
Check Sonos que, nothing is added

Kindly note that I attempted to debug the extension files in order to try to fix the extension; Here's my findings:

Extension files are developed based on an earlier version of Google Chrome currently I am using Version 112.0.5615.138 (Official Build)
The extension's "Manifest" file is based on "Manifest V2" while current Chrome version requires "Manifest V3"
I attempted to upgrade the manifest version but failed in updating the code found in ""background.js" file.

Is this project still active?

authors: GeorgeHicham HaukeCornell


text:
Docker build error (unable to select packages)

I ran into the following error, so I will share the situation.
version: v1.5.0
Step 3/6 : RUN apk add --no-cache -q     bash     curl     jq
   ---> Running in ae6d5c417541
    bash (no such package):
  ERROR: unable to select packages:
      required by: world[bash]
    curl (no such package):
      required by: world[curl]
    jq (no such package):
      required by: world[jq]
The command '/bin/sh -c apk add --no-cache -q     bash     curl     jq' returned a non-zero code: 3
  Warning: Docker build failed with exit code 3, back off 5.943 seconds before retry.

It looks like an error happened in Docker build step because it is unable to install the package.

Sorry for my lack of confirmation.
https://dl-cdn.alpinelinux.org is now unavailable.
$ curl https://dl-cdn.alpinelinux.org -I
HTTP/2 503

How did You correct this error? I am facing the same while installing Python3

repo: robburger/terraform-pr-commenter


text:
Completion moves the current line up deleting older command output

I am running the latest Oh My Zsh on Ubuntu 14.04. Here is a screenshot of the bug.
From left to right, then top to bottom: Normal command output, start one auto completion, start and finish one auto completion, start and finish one auto completion and then start another.

If more command had been completed, the terminal would completely overwrite everything.

TL;DR you're implementation of the multiline prompt is buggy. What theme are you using? I recall having problems of that sort but I'd have to freshen up on my multiline prompt knowledge...

I actually created my own theme based off of the josh theme. The modified version is here: http://paste.ubuntu.com/10347952/
The same bug happens on the original josh theme, but does not happen another another randomly chosen multiline prompt (candy). I'll update my theme to be based off of candy.
Thank you for your help! I think there is a bug to be addressed here, at the very least the josh theme is buggy, so I'll leave this issue open.

I had to mess around that when I was modifying a theme from Nettuts+. I remember it took me a long time to figure out, and a lot of googling around. As I said, I don't remember what worked exactly, but you can take a look at my current theme and compare.

I'm unable to reproduce, with either the josh theme, or the one you posted at http://paste.ubuntu.com/10347952/. I set up a fresh oh-my-zsh installation for a user on Ubuntu 14.04, added that to my custom themes, and did autocompletion in the terminal using both themes, but never saw the text-moving-upward behavior.
Is this still happening?
Maybe it was a setting from .zshrc or somewhere outside the theme definition that was causing it?

I'm having the same issue using any "multi-line" theme
zsh 5.3.1 (x86_64-debian-linux-gnu)

UPD: I've found  this - https://github.com/robbyrussell/oh-my-zsh/issues/5767
And this is my case - turning off dots fixes issue

Ok, closing this as the culprit is COMPLETION_WAITING_DOTS.

authors: apjanke jsirex lezed1 mcornella

repo: robbyrussell/oh-my-zsh


text:
installation problems with colors, compinit and git plugin

Hi All,
I have installed the latest version of oh-my-zsh.
I am having the following errors:
/home/ic71/.oh-my-zsh/lib/theme-and-appearance.zsh:2: colors: function definition file not found
/home/ic71/.oh-my-zsh/oh-my-zsh.sh:77: compinit: function definition file not found
/home/ic71/.oh-my-zsh/plugins/git/git.plugin.zsh:74: command not found: compdef
/home/ic71/.oh-my-zsh/plugins/git/git.plugin.zsh:83: command not found: compdef
/home/ic71/.oh-my-zsh/plugins/git/git.plugin.zsh:89: command not found: compdef
/home/ic71/.oh-my-zsh/plugins/git/git.plugin.zsh:98: command not found: compdef
/home/ic71/.oh-my-zsh/plugins/git/git.plugin.zsh:107: command not found: compdef
/home/ic71/.oh-my-zsh/plugins/git/git.plugin.zsh:109: command not found: compdef
/home/ic71/.oh-my-zsh/plugins/git/git.plugin.zsh:118: command not found: compdef
/home/ic71/.oh-my-zsh/plugins/git/git.plugin.zsh:120: command not found: compdef
/home/ic71/.oh-my-zsh/plugins/git/git.plugin.zsh:128: command not found: compdef
/home/ic71/.oh-my-zsh/plugins/git/git.plugin.zsh:134: command not found: compdef
/home/ic71/.oh-my-zsh/plugins/git/git.plugin.zsh:136: command not found: compdef
/home/ic71/.oh-my-zsh/plugins/git/git.plugin.zsh:141: command not found: compdef
/home/ic71/.oh-my-zsh/plugins/git/git.plugin.zsh:144: command not found: compdef
/home/ic71/.oh-my-zsh/plugins/git/git.plugin.zsh:146: command not found: compdef
/home/ic71/.oh-my-zsh/plugins/git/git.plugin.zsh:159: command not found: compdef
/home/ic71/.oh-my-zsh/plugins/git/git.plugin.zsh:170: command not found: compdef
/home/ic71/.zshrc:107: compinit: function definition file not found
Any ideas on how to solve this?
echo $ZSH   gives  ~/.oh-my-zsh
zsh --version
zsh 4.3.10 (x86_64-redhat-linux-gnu)

I had these exact same errors when I first set up zsh and oh-my-zsh, but only when I ran zsh through Guake. It worked fine in Gnome Terminal. The problem was solved in Guake by setting the default shell to /bin/zsh and checking "Run command as a login shell." In what terminal do you get your errors?
You might also check your $fpath to make sure the oh-my-zsh folders are included.

I got same issue on OS X, tried everything I could find, still nothing.

I got this error when update this week on CentOS 7

I believe I got a workaround for this problem.
The first thing to do is verify your FPATH variable content: echo $FPATH. In a normal situation return something like that: /home/charmander/.oh-my-zsh/plugins/git:/home/charmander/.oh-my-zsh/functions:/home/charmander/.oh-my-zsh/completions:/home/charmander/.oh-my-zsh/plugins/python:/home/charmander/.oh-my-zsh/plugins/pip:/home/charmander/.oh-my-zsh/plugins/git:/home/charmander/.oh-my-zsh/functions:/home/charmander/.oh-my-zsh/completions:/usr/share/zsh/site-functions:/usr/share/zsh/5.0.2/functions.
In my case it returned: /opt/intel/composer_xe_2011_sp1.7.256/mkl/include. When I try to remove .oh-my-zsh and run only zsh returned this: /usr/share/zsh/5.0.2/scripts/newuser:6: zsh-newuser-install: function definition file not found. Search in web I found this bug report: zsh: Many function definitions are missing zsh-newuser-install, compinit, etc that say it could have a variable overwrite made by intel compiler :/
So a workaround to this problem could be insert the following lines to your .bash_profile, if you can not run this command chsh -s $(which zsh).
FPATH=/home/modelagem/beatriz.fonseca/.oh-my-zsh/plugins/python:/home/modelagem/beatriz.fonseca/.oh-my-zsh/plugins/pip:/home/modelagem/beatriz.fonseca/.oh-my-zsh/plugins/git:/home/modelagem/beatriz.fonseca/.oh-my-zsh/functions:/home/modelagem/beatriz.fonseca/.oh-my-zsh/completions:/usr/share/zsh/site-functions:/usr/share/zsh/5.0.2/functions

export FPATH

I hope it help

I got the similar  error these days.
And I have fixed it by removing composer_xe_** .sh from /etc/profile.d
'''shell
sudo rm /etc/profile.d/compiler_intel-composer_xe*

Got the same problem as @anyint today on Fedora 28, don't have compiler_intel-composer_xe* though.
Initial fpath includes /usr/share/Modules/init/zsh-functions only which is provided by environment-modules package. But this directory lacks zsh functions which are still in /usr/share/Modules/init/zsh-functions.
A quick workaround was to update my .zshrc with:
fpath=(/usr/share/zsh/5.5.1/functions/ $fpath)

I had the same problem on Fedora 29 and fixed it by adding the line mentioned above at the beginning of .zshrc. I just added a check for the correct zsh version.
fpath=(/usr/share/zsh/`zsh --version | awk '{print $2}'`/functions/ $fpath)

I had the same problem on Fedora 29 and fixed it by adding the line mentioned above at the beginning of .zshrc. I just added a check for the correct zsh version.
fpath=(/usr/share/zsh/$ZSH_VERSION/functions/ $fpath)

nice job!

I found myself in this situation. I used Homebrew to install zsh. Adding the following to my .zshrc:
fpath=(/usr/local/Cellar/zsh/5.8/share/zsh/functions/ $fpath)
and ensuring /usr/local/bin/zsh was added to the end of my /etc/shells file fixed it all.

authors: OMGloom anyint autumnlansing beatorizu gavin971 isidroc julianoes pawelniewie travisneids


text:
Ctrl-B Ctrl-K Ctrl-F Del do not work in vi-mode

I love the vi-mode plugin.
However my high frequently used Ctrl-B, Ctrl-K, Del,  Ctrl-F do not work well in insert mode.
Expected action for Ctrl+B: move cursor backward a word
Expected action for Ctrl-K: delete till end of line
Expected action for Del: delete current char under the cursor. It is so weird that this key make current char uppercase and change to normal mode
Ctrl-E, Ctrl-A work well though.
Please fix

Hey @tranvansang did you find any workaround to this?

hi @schnie : it does not require a lot work to do this. Ctrl-b, ctrl-k, ctrl-f have been fixed.
del looks like more complicated, i am not sure how it should work even in normal vi
ctrl-y was also bound to yank (paste what was killed by ctrl-k)

This is supported in the vim-mode plugin add-on.

authors: schnie softmoth tranvansang


text:
Duration also for authentication message

Also some refactor/rename

Looks good, thanks!

authors: FanDjango robinrodricks

repo: robinrodricks/FluentFTP


text:
ModuleNotFoundError: No module named 'dbaccounting'

Hi,
Thanks for making the project available.
I follow your instructions.

Installing through PIP
Adding to the settings
Adding to the url

But it gives me a modulenotfounderror.
You can see an illustration video here:
https://user-images.githubusercontent.com/52109229/124943947-81ca1c80-e03f-11eb-8d75-7b9f7edc9c41.mp4

Hey @bentraje thanks for bringing this up, this seems to be a first and I suspect may be related to dependencies, but I will look into it this week.

Hi @robml
Just found the solution. I think its just a namespace problem.
Your package/folder, when installed, is named as "django_dbaccounting".
I just manually renamed to "dbaccounting". And everything works now as expected.
Cheers!

Perfect, will send a push later tonight.

authors: bentraje robml


text:
[QUESTION] How to attach python debugger properly ?

I would like to know how to configure python debugger properly. Before, I could just debug tests and use breakpoints in python code but I can't seem to do it properly. When it hits a breakpoint it does not open the file the breakpoint is in and I can't see variables values.
I can see that it's stopped on a breakpoint :

If I go to the file it's stopped in, I can't seem to see variables values :

Here is my actual configuration
"launch": {
        "version": "0.2.0",
        "configurations": [
            {
                "name": "RobotCode: Run Current",
                "type": "robotcode",
                "request": "launch",
                "cwd": "${workspaceFolder}",
                "target": "${file}"
            },
            {
                "name": "RobotCode: Run All",
                "type": "robotcode",
                "request": "launch",
                "cwd": "${workspaceFolder}",
                "target": "."
            },
            {
                "name": "RobotCode: Default",
                "type": "robotcode",
                "request": "launch",
                "purpose": "default",
                "presentation": {
                    "hidden": true
                },
                "attachPython": true,
                "pythonConfiguration": "RobotCode: Python",
                "args": [
                    "--debugFile", "debug",
                    "--loglevel", "TRACE"
                ],
            },
            {
                "name": "RobotCode: Python",
                "type": "debugpy",
                "request": "attach",
                "presentation": {
                    "hidden": true
                },
                "justMyCode": false,
            }
        ]
    }

VS Code Version 1.90.0
RobotCode Version 0.83.1
OS: Windows
Python Version 3.12.2
RobotFramework Version 7.0

Normally you don't need a launch.config, just search for robotcode.debug.attachPython in VSCode settings an enable it. If you want debug also python system libraries or python libraries that are not part of the workspace, enable the debugpy.debugJustMyCode setting.

Thank you for your time !
Apparently you are right I don't need the launch config but if I can remember right I made it to use breakpoints correctly. Maybe I'm wrong. However the debugger still doesn't open file in which breakpoint is set when it reaches it.

I just saw this, it might be related to my problem :
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.

I finally found the solution to my problem, I downgraded to VSCode v1.89.1 (Python Debugger Issue)

very good! Thanks for the info!

authors: BriceBoy d-biehl

repo: robotcodedev/robotcode


text:
Update Easter.py

None Shall Pass !

Is the old way to embed the video outdated or why should it be changed? If there are problems, fixing them before Easter is obviously very high priority. =)

The linked video was not available anymore and youtube suggests this way of implementation. So I updated video and way of embedding. I'm glad to hear, that development priorities are fully grounded and long-sighted the same time. :-)

Thanks for the PR and happy Easter!

This change broke a test we had but I fixed it. At the same time noticed a small problem with the code and fixed that as well. The code problem was related to this:
>>> len('Beginning \
...      end')
18
>>> len('Beginning'
...     'end')
12

authors: MisterChild pekkaklarck

repo: robotframework/robotframework


text:
Tutorial Publisher/Subscriber

Simple publisher and subscriber nodes to get started with ROS.

Cool, send your email to software@ram.umd.edu and I'll add you to slack

authors: OrangeChris rbaehr

repo: robotics-at-maryland/qubo


text:
[WIP] Github Actions support

I used this repository as a testbench for Github Actions. This is a first WIP multiplatform version I developed.
From these first tests, Github Actions are amazing :) The platform is very generic and it allows sharing actions through repositories. Given its generality, we should discuss f2f how to proceed organization-wise :tada:
cc @traversaro @pattacini @vtikha @claudiofantacci

Thanks @diegoferigo for these early tests 👍
I had GitHub Actions on my radar since a while, knowing that it would have represented a real breakthrough once delivered.
However, my personal opinion is that iCub Tech should stay focus on a few "organizational" things in the upcoming weeks. After this start, we can come back to this.

However, my personal opinion is that iCub Tech should stay focus on a few "organizational" things in the upcoming weeks. After this start, we can come back to this.

I totally agree, this is not a priority at the moment. This PR was originated from just personal curiosity :)

Go ahead @diegoferigo don't refrain your curiosity, absolutely!
I was only referring to our availability.

Very nice @diegoferigo. Not sure whether you are still trying something or not. If it is the case, could you please rename the PR with a prefix [WIP]? Otherwise, please squash the commits into one and let me know so that I can merge the PR right away! 🚀

Let's wait a bit more before merging, I'd like to clean the file.
I'm not sure why the tests are not running in this PR. They work fine on my fork.

Not sure whether you are still trying something or not. If it is the case, could you please rename the PR with a prefix [WIP]?

This may help out: https://github.blog/2019-02-14-introducing-draft-pull-requests.

This may help out: https://github.blog/2019-02-14-introducing-draft-pull-requests.

@pattacini I was not sure if CI is triggered on draft PRs.

@diegoferigo some related topics:

https://travis-ci.community/t/draft-pull-requests-not-being-built/2434/17
https://changelog.travis-ci.com/draft-pull-requests-support-105121

According to the last one, Draft PR's should be built.

I found this documentation on pull request events for forked repositories. I suspect that if there is no Actions configuration upstream, the pipeline does not start.

Cleaned and ready to merge. This is the pipeline running on my fork. Hopefully after merging it will be enabled also in this repository.
The badge link should be correct, though we'll discover it only after merging.

Cleaned and ready to merge. This is the pipeline running on my fork. Hopefully after merging it will be enabled also in this repository.

I totally agree.

Travis failures are not related with this PR (somehow ccache is not found in the macOS PATH despite ccache support is enabled).
The culprit seems to be a missing brew update execution. This goes beyond the scope of this PR though.

Thanks for merging! Everything seems working as expected, badge included :heart_eyes:

authors: claudiofantacci diegoferigo pattacini traversaro

repo: robotology/how-to-export-cpp-library


text:
Correctly iterate over row major sparse matrices

Changes createOsqpSparseMatrix to iterate to eigenSparseMatrix.outerSize() instead of cols().

Hi @mpowelson. Thanks a lot for the PR! Out of sheer curiosity, how did you manage to find this? Do you have some piece of code that is failing without this change?

We are using osqp-eigen in trajopt_ros and our matrices are row major. I don't remember the symptoms, but something was going wrong and when I debugged it, I saw the matrix was the wrong size.

Thanks for the explanation! I tried to investigate a little more the issue. Actually, when developing we mainly focused on "Compressed Sparse-Column" (CSC) as this is what osqp is expecting (https://github.com/oxfordcontrol/osqp/blob/master/include/types.h#L21-L29l). I guess that by passing a  "Compressed Sparse-Row" (CSR) the net effect is that the matrix may result transposed.
On the Eigen side, it is possible to pass from CSR to CSC with a simple assignment. Probably it is safer to save the input matrix into a CSC to avoid this kind of problem. I tried to implement this in https://github.com/robotology/osqp-eigen/pull/57. @mpowelson can you try to check that out to see if it solves your problem?

Yes, it seems like that solves it. I'll close this.

authors: S-Dafarra mpowelson

repo: robotology/osqp-eigen


text:
matchlistapi: Raise ValueError if no Season type is given.

Raises ValueError if no Season type is given so user gets a proper error message.

See #47

Please see my last comment on #47

authors: jjmaldonis sbrodehl

repo: robrua/cassiopeia


text:
Restart semantics

In https://github.com/robur-coop/miragevpn/pull/247 and an earlier commit the HALT, EXIT and RESTART control channel messages were implemented. In the implementations they exit on all three commands. At an earlier point I tried to reconnect (in the client), but it was problematic because the pulled config was still present in the state's config and thus the PUSH_REPLY sent by the server was unexpected (because our config has ifconfig already - and this shows it is maybe not the right way to determine if this is the first PUSH_REPLY).
Probably we can get away with using a fresh (client) state rather than try to clean up the client state when receiving RESTART (and maybe EXIT as well).

We could create a fresh client value using the Miragevpn.client function.

A slightly annoying quirk of using a fresh client is that it would not keep track of the last remote tried. In some cases you want to retry the same remote, in others you want to try the next remote. I would not spend time on implementing that for now unless someone has the need for this semantics.

authors: hannesm reynir

repo: robur-coop/miragevpn