Progressbar: Float division by zero

Guten Abend
Seitdem die Progressbar mit der neuen Bibliothek (Paket rich) implementiert wurde, erscheint sporadisch diese Fehlermeldung bei einem beliebigen Download:
2020-05-17T22:05:56  CRITICAL <class 'ZeroDivisionError'>: float division by zero                                                                                File "mtv_dl.py", line 1168, in <module>                                                                                main()                                                                                File "mtv_dl.py", line 1151, in main                                                                                downloader.download(quality_preference,  # type: ignore                                                                                File "mtv_dl.py", line 1005, in download                                                                                subtitles_xml_path = list(self._download_files(temp_path, [self.show['url_subtitles']]))[0]                                                                                File "mtv_dl.py", line 814, in _download_files                                                                                yield destination_file_path                                                                                File "/usr/lib/python3.8/contextlib.py", line 120, in __exit__                                                                                next(self.gen)                                                                                File "mtv_dl.py", line 246, in progress_bar                                                                                yield progress                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/progress.py", line 420, in __exit__                                                                                self.stop()                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/progress.py", line 402, in stop                                                                                self.refresh()                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/progress.py", line 550, in refresh                                                                                self.console.print(self._live_render)                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/console.py", line 720, in print                                                                                extend(render(renderable, render_options))                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/console.py", line 495, in render                                                                                yield from self._render(renderable, options or self.options)                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/console.py", line 471, in _render                                                                                for render_output in iter_render:                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/live_render.py", line 35, in __console__                                                                                lines = console.render_lines(self.renderable, options, style, pad=False)                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/console.py", line 523, in render_lines                                                                                lines = list(                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/segment.py", line 110, in split_and_crop_lines                                                                                for segment in segments:                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/segment.py", line 65, in <genexpr>                                                                                return (                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/console.py", line 495, in render                                                                                yield from self._render(renderable, options or self.options)                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/console.py", line 475, in _render                                                                                yield from self.render(render_output, render_options)                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/console.py", line 495, in render                                                                                yield from self._render(renderable, options or self.options)                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/console.py", line 471, in _render                                                                                for render_output in iter_render:                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/table.py", line 324, in __console__                                                                                yield from self._render(console, options, widths)                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/table.py", line 488, in _render                                                                                lines = console.render_lines(                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/console.py", line 523, in render_lines                                                                                lines = list(                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/segment.py", line 110, in split_and_crop_lines                                                                                for segment in segments:                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/segment.py", line 65, in <genexpr>                                                                                return (                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/console.py", line 495, in render                                                                                yield from self._render(renderable, options or self.options)                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/console.py", line 471, in _render                                                                                for render_output in iter_render:                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/padding.py", line 83, in __console__                                                                                lines = console.render_lines(self.renderable, child_options, style=style)                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/console.py", line 523, in render_lines                                                                                lines = list(                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/segment.py", line 110, in split_and_crop_lines                                                                                for segment in segments:                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/segment.py", line 65, in <genexpr>                                                                                return (                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/console.py", line 495, in render                                                                                yield from self._render(renderable, options or self.options)                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/console.py", line 471, in _render                                                                                for render_output in iter_render:                                                                                File "/home/schui/.local/lib/python3.8/site-packages/rich/bar.py", line 65, in __console__                                                                                complete_halves = int(width * 2 * completed / self.total)
Aktuelles Beispielt wäre: 2020-05-17T22:39:26  INFO     Saved show 'Extra 3 vom 13.05.2020 mit Christian Ehring' (ARD, 'extra 3', 2020-05-13 21:10:00, 39190c75c9c)
Danke für den Fix.
Gruss schui95

Toll, Danke dass du so fleißig testest. Guck ich mir direkt mal an.


Vector geometry problem in IE8

If create geometry and add to map:
var coords = [[54.98, 82.87], [54.975, 82.91]];
var mapp = L.map('map', {
    center: [54.98, 82.89],
    zoom: 14
});
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png').addTo(mapp);
var geometry = L.polyline(coords);
geometry.addTo(mapp);

We see the following in IE8:

But after geometry.removeFrom(mapp).addTo(mapp) line loses style and looks like:

Yeah, looks like the same issue as reported in #2809. Fixing for beta2.


Can't get this working

Here are all the steps I did to try to get this working. Would someone mind telling me what I did wrong?
(Also please note that, as I am based in the UK, I use the graph-eu01-euwest1 SmartThings API.)
Setup
I started off by installing the sd card flashed with the Hassbian image.
Then I did:

sudo apt-get update
sudo apt-get upgrade

Then to install MQTT:

sudo ./hassbian-scripts/install_mosquitto.sh
I entered a username 'pi' and a password 'secret' when prompted.

I then installed node.js

wget https://nodejs.org/dist/v4.3.2/node-v4.3.2-linux-armv6l.tar.gz
tar -xvf node-v4.3.2-linux-armv6l.tar.gz
cd node-v4.3.2-linux-armv6l
sudo cp -R * /usr/local/

Then installed smarthings-mqtt-bridge via NPM

sudo apt-get install npm
sudo npm install -g smartthings-mqtt-bridge

And then installed pm2 via NPM

sudo npm install pm2 -g

I then edited the smartthings-mqtt-bridge config

sudo cp /usr/local/lib/node_modules/smartthings-mqtt-bridge/_config.yml ~/config.yml
sudo nano ~/config.yml

---
mqtt:
  # Specify your MQTT Broker's hostname or IP address here
  host: <IP_ADDRESS>
  # Preface for the topics $PREFACE/$DEVICE_NAME/$PROPERTY
  preface: smartthings

  # Suffix for the state topics $PREFACE/$DEVICE_NAME/$PROPERTY/$STATE_SUFFIX
  # state_suffix: state
  # Suffix for the command topics $PREFACE/$DEVICE_NAME/$PROPERTY/$COMMAND_SUFF$
  # command_suffix: cmd

  # Other optional settings from https://www.npmjs.com/package/mqtt#mqttclients$
  username: pi
  password: secret

  # Port number to listen on
  port: 8080

I then setup the Device Handler and SmartApp following: https://github.com/stjohnjohnson/smartthings-mqtt-bridge
Device Settings
IP: <IP_ADDRESS>
MAC: ma:ca:dr:es:s
Port: 8080

And then added this to the HA configuration.yaml
mqtt:
  broker: <IP_ADDRESS>
  port: 1883
  client_id: home-assistant-1
  username: pi
  password: secret

And then added a switch to the configuration.yaml
switch:
  - platform: mqtt
    name: "MQTT Left Lamp"
    state_topic: "smartthings/Left Lamp/switch"
    command_topic: "smartthings/Left Lamp/switch"
    payload_on: "on"
    payload_off: "off"
    retain: true

Then

pm2 restart smartthings-mqtt-bridge
sudo systemctl restart home-assistant.service

I also did a reboot at the end and checked that both services were running
Logs
So here are the SmartThings logs when the switch is turned on (the smarttapp logs):
653e9a65-edb7-4603-b11e-6476d4a52d09  12:41:58 PM: debug Forwarding device event to bridge: {"path":"/push","body":{"name":"Left Lamp","value":"on","type":"switch"}}
653e9a65-edb7-4603-b11e-6476d4a52d09  12:41:57 PM: debug Forwarding device event to bridge: {"path":"/push","body":{"name":"Left Lamp","value":"turningOn","type":"switch"}}

And here are the SmartThings logs when the switch is turned on (the device logs):
a61bb2ab-d453-471b-8d20-f0a187df4895  12:41:58 PM: debug Sending '{"path":"/push","body":{"name":"Left Lamp","value":"on","type":"switch"}}' to device
a61bb2ab-d453-471b-8d20-f0a187df4895  12:41:57 PM: debug Sending '{"path":"/push","body":{"name":"Left Lamp","value":"turningOn","type":"switch"}}' to device

The HA log:
17-03-11 12:35:36 WARNING (Thread-11) [homeassistant.components.recorder] Ended unfinished session (id=6 from 2017-03-11 11:04:59.344912)
17-03-11 12:35:36 WARNING (Thread-11) [homeassistant.components.recorder] Found unfinished sessions

And the pm2 logs:
pm2 logs smartthings-mqtt-bridge
[PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2
[PM2] PM2 Successfully daemonized
[TAILING] Tailing last 15 lines for [smartthings-mqtt-bridge] process (change the value with --lines option)
[STREAMING] Now streaming realtime logs for [smartthings-mqtt-bridge] process

So what should I do to fix this?
I see the switch in the HA UI but turning it on or off does nothing (same if I turn it on or off via the SmartThings app)
As I already said at the begging: as I am based in the UK, I use the graph-eu01-euwest1 smartthings api. So if any of the scripts use the datbase I might need to change the api?
Also there is no portforwarding to do if I am correct?

Part 1.
Hi, I have having the same problem and have at this point achieved some but not total success. I would thank the code authors for some great work. However there does not seem like there is much in the way of diagnostics if things aren't working after a person follows direction in getting things installed. I am a newbie to Linex, SmartThings, Raspberry Pi, and Networking, which is also a problem
So here are some of approaches I used to trouble shoot. First, get the various pieces running on different computers. I installed Mosquito on my windows PC, along with a free Microsoft Networking Monitoring Tool. I installed Ubuntu Linux on an old laptop, and then the Docker Utility, and finally the Mqtt-Bridge itself. I also installed a free networking monitoring utility called Wireshark. Then I left the HomeAssistant running on the RPi.
After that I was able to work on the HA config and Mosquito config to verify that Mosquito was working and talking to HA. This took some trial and error, as getting the HA config file working was problematic for me. Note there is also several free iOS applications that I was able to download on my iPad to test out the MQTT itself. Finally it was instructive to watch the network traffic back and forth on the network monitor (Microsoft Network Monitor).
I will continue in part 2. After a break.

Part 2.
Per my count there are 5 significant software pieces to this system:

HA on the RPi
Mosquito MQTT Broker (temporarily running on a windows PC)
MQTT-Bridge (temporarily running on an old laptop with UBantu)
MQTT-Bridge and associated device (on the ST Hub)
MQTT-Smart App (on the ST Hub)

I believe that it qualifies as a complex system.
I have renamed the ST hub pieces to reduce ambuiguity. The MQTT-Bridge I  remamed the MQTT-Bridge-Driver, and the associated device that showed up in ST app I call the MQTT-Bridge-Device. The name for the smart app seems good but one can make some minor code edits to get this to show up in the ST web development pages.
Next I worked on getting the ST to MQTT interface working. For a while it seemed that the ST hub was not sending out messages. As I changed the IP address in ST to send test messages to my PC where I had the network monitor, and there weren't any received packets. Then I commented out the call to "hubAction" at the end of the driver code and experimented with my own test hubAction calls and finally got the hub to send out TCP messages.
At this point I installed the MQTT-Bridge on the old laptop with UBantu  and found that the Bridge was sending back error messages to the ST hub. (I was now monitoring the network with the wireshark program). My substitute call to the hubAction routine was not sending out proper messages. I went back and tried the original code for hubAction and found it was now working and in fact everything was working. I don't know why things weren't working in the first place.
My next steps will be to try and integrate everything onto the RPi.
Note: one possible problem may be (not sure of this) that during the first call to set things up in Docker one needs to specify a port. Subsequently one also needs to specify a port in the MQTT-Bridge configuration file. I suspect that the docker port and the bridge port refer to different config values, however they must be the same for things to work. I changed the bridge port to 9090 because other software uses 8080. But the Docker startup value was still 8080 in the RPi setup. On the UBantu laptop I was careful to use 9090 in both places. Another potential problem is that the raspberry pi Docker file is different from the regular Docker file on gitHub. I am pretty sure I used the regular Docker file when I was first started out with the RPi. Later I tried the correct file, but still it was not working at that point.
So my purpose in writing this is not really to give information on installation points that may be wrong, but to suggest some tools that a person could use to do some trouble shooting.
Another note: sometimes the MQTT-Bridge was sending messages to the Docker website. I think this may have been when things weren't working. This is probably harmless, but may be a privacy concern to some.

@TheCellMC Did you ever get this working? Figure out what you did wrong? I am having the same issue

Yes I did finally get it to work quite a while ago. I believe the secret is to get experience with the individual pieces so that you can troubleshoot the communication problems. I would recommend starting with the mosquitto MQTT. There are some utilities out there (some can run on my iPad) that can manually send and receive messages. Make sure your HA setup is sending out and receiving the verification messages when you switch something.
I would note that I have stopped using the raspberry pi as it started to have some reliability problems (especially with the flash). I now use an Intel nuc running UBuntu, and I have been much more happy with that.


Quill image and video resizing doesn't work / isn't implemented

Is your feature request related to a problem? Please describe.
If you copy an image / insert a vidoe into the quill component, resizing isn't possible
Describe the solution you'd like
Something like this should be implemented: https://github.com/kensnyder/quill-image-resize-module, he has a video resize module as well.

Tried to get it working in various ways, haven't been successful yet, will look more at it later. (May need to build my own version. npm version is definitely not working)

In an old project I got it working:

https://github.com/RobbinBaauw/Zaagmolen/tree/master/Website/src/assets/plugins
https://github.com/RobbinBaauw/Zaagmolen/blob/master/Website/src/main.js

Dont ask me how, but I found references in these files (also please ignore the awful code, it just had to work ;)


Add new metrics to exporter, and add name labels to every metric

Additionally, it adds docker-compose to be able to run the environment more easily from local.

Thanks for taking the time to file a PR. Regrettably this is mixing several unrelated feature requests. Hence it cannot be merged as is.
I generally recommend to open an issue for a feature request first so as to give people an opportunity to discuss viability and approach.
That said:

Deployment recipes should go in the wiki (docker compose).
Additional labels on resources will lead to duplicated time series in cluster setups. Read the comments in #54 and the linked blog posts for hints on how to join labels on pve_guest_info or pve_storage_info to the metrics.
I personally will not merge anything which touches ClusterNodeConfigCollector or which wants to iterate through self._pve.nodes.get(). This has been a source of trouble for many users in the past. If there is somebody who wants to maintain that part and understands its quirks and also support people whose clusters are running into errors because of that, then please see #84.

Please don't be sad because of this rejection. I'm trying to answer/decide on PRs early instead of letting them float around eternally.


AttributeError: 'NoneType' object has no attribute '_tree_manager'

Hi Marc,
after https://github.com/EuroPython/epcon/pull/206 I have this error:
python manage.py run server:
AttributeError: 'NoneType' object has no attribute '_tree_manager'
Last version of epcon used, the only difference is this: https://github.com/EuroPython/epcon/pull/208

Sounds like a missing requirement. Here's the freeze from my installation:
BeautifulSoup==3.2.1
Django==1.5.11
Fabric==1.10.1
Pillow==2.6.0
PyJWT==0.4.1
Pygments==2.0.2
South==1.0.1
Unidecode==0.04.17
akismet==0.2.0
-e git+https://github.com/EuroPython/assopy.git@762837829a0caa12e467f04a4cee6ca1e25b64c6#egg=assopy-master
cmsplugin-filer==0.10.1
-e git+https://github.com/EuroPython/conference.git@87a922f196ecb281a87a4cc80fd83b89ae0830cb#egg=conference-master
django-appconf==1.0.1
django-authority==0.4
django-classy-tags==0.6.1
django-cms==3.0.6
django-crontab==0.4.2
django-filebrowser-no-grappelli==3.5.7
django-filer==0.9.8
django-markitup==2.2.2
django-mptt==0.6.1
django-page-cms==1.5.3
-e git://github.com/dcramer/django-paypal.git@4d58224317e9c0f4c9c2ee88bd1a6b8de8891800#egg=django_paypal-master
django-pingback==0.3
django-polymorphic==0.6.1
django-recaptcha-works==0.3.4
django-rosetta==0.7.4
django-sekizai==0.8.1
django-tagging==0.3.1
django-taggit==0.9.3
django-templatesadmin==0.7
django-xmlrpc==0.1.5
djangocms-admin-style==0.2.5
djangocms-grid==1.1
djangocms-text-ckeditor==2.4.1
easy-thumbnails==2.2
ecdsa==0.13
fancy-tag==0.2.0
gunicorn==19.2.1
-e git+https://github.com/pythonitalia/hcomments.git@4ec18851a377cc5ec6a59fe20dc561d77d476712#egg=hcomments-master
html2text==2015.2.18
html5lib==0.95
httplib2==0.9
lxml==3.4.2
markdown2==2.3.0
-e git+https://github.com/pythonitalia/microblog.git@201633c4fae5c859ed7d8a53480b82d9075e765f#egg=microblog-master
oauthlib==0.7.2
paramiko==1.15.2
polib==1.0.4
pycrypto==2.6.1
python-memcached==1.48
python-oembed==0.2.1
python-openid==2.2.5
python-social-auth==0.2.2
python-twitter==2.2
pytz==2014.10
raven==5.1.1
requests==2.5.3
requests-oauthlib==0.4.2
simplejson==3.6.5
six==1.9.0
stripe==1.19.1
suds==0.4
Could you check whether one of these is missing in your installation ?

I checked the code: the ._tree_manager attribute is monkey patched into Django models by the package django-mptt.

This is missing from the requirements.txt.

So there is something wrong with the current https://github.com/EuroPython/epcon/blob/ep2016/requirements.txt
There are like half of your list there.

That's well possible. The pip freeze output will also include packages that are pulled in as dependencies, so the repo requirements.txt doesn't need to list all packages, but it's certainly better style and safer to pin all versions.

I've updated the requirements.txt file to my working set. Could you please try again with this one ?

At least python manage.py run server is working....

Using pipdeptree I created a dependency tree for the installed packages:
arning!!! Possible confusing dependencies found:

django-cms==3.0.6 -> html5lib [installed: 0.95]
django-page-cms==1.5.3 -> html5lib [required: ==0.95, installed: 0.95]
djangocms-text-ckeditor==2.4.1 -> html5lib [installed: 0.95]
requests-oauthlib==0.4.2 -> oauthlib [required: >=0.6.2, installed: 0.7.2]
python-social-auth==0.2.2 -> oauthlib [required: >=0.3.8, installed: 0.7.2]
django-appconf==1.0.1 -> six [installed: 1.9.0]
python-social-auth==0.2.2 -> six [required: >=1.2.0, installed: 1.9.0]
django-rosetta==0.7.4 -> six [required: >=1.2.0, installed: 1.9.0]
cmsplugin-filer==0.10.1 -> django-sekizai [required: >=0.4.2, installed: 0.8.1]
django-cms==3.0.6 -> django-sekizai [required: >=0.7, installed: 0.8.1]
django-cms==3.0.6 -> django-classy-tags [required: >=0.5, installed: 0.6.1]
django-sekizai==0.8.1 -> django-classy-tags [required: >=0.3.1, installed: 0.6.1]
django-paypal==0.1.3 -> Django [required: >=1.4, installed: 1.5.11]
easy-thumbnails==2.2 -> django [required: >=1.4.2, installed: 1.5.11]
cmsplugin-filer==0.10.1 -> Django [required: >=1.4, installed: 1.5.11]
django-cms==3.0.6 -> Django [required: >=1.4, installed: 1.5.11]
django-filer==0.9.8 -> Django [required: >=1.4, installed: 1.5.11]
django-classy-tags==0.6.1 -> Django [required: >1.3, installed: 1.5.11]
fancy-tag==0.2.0 -> Django [required: >=1.0, installed: 1.5.11]
django-rosetta==0.7.4 -> Django [required: >=1.3, installed: 1.5.11]
django-mptt==0.6.1 -> Django [required: >=1.4.2, installed: 1.5.11]
python-social-auth==0.2.2 -> requests-oauthlib [required: >=0.3.0, installed: 0.4.2]
python-twitter==2.2 -> requests-oauthlib [installed: 0.4.2]
hcomments==0.1.1 -> django-mptt [installed: 0.6.1]
django-cms==3.0.6 -> django-mptt [required: ==0.5.2, installed: 0.6.1]
django-filer==0.9.8 -> django-mptt [required: ==0.5.2, installed: 0.6.1]
requests-oauthlib==0.4.2 -> requests [required: >=2.0.0, installed: 2.5.3]
python-social-auth==0.2.2 -> requests [required: >=1.1.0, installed: 2.5.3]
django-rosetta==0.7.4 -> requests [required: >=2.1.0, installed: 2.5.3]
stripe==1.19.1 -> requests [required: >=0.8.8, installed: 2.5.3]
python-twitter==2.2 -> requests [installed: 2.5.3]
django-cms==3.0.6 -> south [required: >=0.7.2, installed: 1.0.1]
django-page-cms==1.5.3 -> south [installed: 1.0.1]

django-crontab==0.4.2
django-paypal==0.1.3

Django [required: >=1.4, installed: 1.5.11]
hcomments==0.1.1
django-mptt [installed: 0.6.1]

Django [required: >=1.4.2, installed: 1.5.11]

django-recaptcha-works [installed: 0.3.4]
django-tagging==0.3.1
gunicorn==19.2.1
akismet==0.2.0
BeautifulSoup==3.2.1
cmsplugin-filer==0.10.1
Django [required: >=1.4, installed: 1.5.11]
django-cms [required: >=3.0, installed: 3.0.6]

south [required: >=0.7.2, installed: 1.0.1]
html5lib [installed: 0.95]
django-sekizai [required: >=0.7, installed: 0.8.1]

django-classy-tags [required: >=0.3.1, installed: 0.6.1]

Django [required: >1.3, installed: 1.5.11]

django-classy-tags [required: >=0.5, installed: 0.6.1]

Django [required: >1.3, installed: 1.5.11]

django-mptt [required: ==0.5.2, installed: 0.6.1]

Django [required: >=1.4.2, installed: 1.5.11]

djangocms-admin-style [installed: 0.2.5]
Django [required: >=1.4, installed: 1.5.11]

django-sekizai [required: >=0.4.2, installed: 0.8.1]

django-classy-tags [required: >=0.3.1, installed: 0.6.1]

Django [required: >1.3, installed: 1.5.11]

easy-thumbnails [required: >=1.0, installed: 2.2]

django [required: >=1.4.2, installed: 1.5.11]
pillow [installed: 2.6.1]

django-filer [required: >=0.9, installed: 0.9.8]

Django [required: >=1.4, installed: 1.5.11]
easy-thumbnails [required: >=1.0, installed: 2.2]

django [required: >=1.4.2, installed: 1.5.11]
pillow [installed: 2.6.1]

django-mptt [required: ==0.5.2, installed: 0.6.1]

Django [required: >=1.4.2, installed: 1.5.11]

django-polymorphic [required: >=0.2, installed: 0.6.1]

setuptools

Unidecode [required: >=0.04, installed: 0.4.17]

django-appconf [installed: 1.0.1]

six [installed: 1.9.0]
django-filebrowser-no-grappelli==3.5.7
django-templatesadmin==0.7
httplib2==0.9
Pygments==2.0.2
pytz==2015.7
python-memcached==1.48
python-oembed==0.2.1
django-markitup==2.2.2
python-social-auth==0.2.2

requests [required: >=1.1.0, installed: 2.5.3]
oauthlib [required: >=0.3.8, installed: 0.7.2]
six [required: >=1.2.0, installed: 1.9.0]
PyJWT [required: ==0.4.1, installed: 0.4.1]
python-openid [required: >=2.2, installed: 2.2.5]
requests-oauthlib [required: >=0.3.0, installed: 0.4.2]

oauthlib [required: >=0.6.2, installed: 0.7.2]
requests [required: >=2.0.0, installed: 2.5.3]
django-page-cms==1.5.3

html5lib [required: ==0.95, installed: 0.95]
south [installed: 1.0.1]
Fabric==1.10.1
paramiko [required: >=1.10, installed: 1.15.2]

pycrypto [required: >=2.1, installed: 2.6.1]
ecdsa [required: >=0.11, installed: 0.13]
raven==5.1.1
markdown2==2.3.0
djangocms-grid==1.1
django-rosetta==0.7.4

six [required: >=1.2.0, installed: 1.9.0]
Django [required: >=1.3, installed: 1.5.11]
requests [required: >=2.1.0, installed: 2.5.3]
polib [required: ==1.0.4, installed: 1.0.4]
microblog==0.1.3
lxml [installed: 3.4.2]
django-pingback [installed: 0.3]

django-xmlrpc [required: >=0.1.0, installed: 0.1.5]

html2text [installed: 2015.2.18]
python-twitter [installed: 2.2]

requests-oauthlib [installed: 0.4.2]

oauthlib [required: >=0.6.2, installed: 0.7.2]
requests [required: >=2.0.0, installed: 2.5.3]

requests [installed: 2.5.3]

django-taggit [installed: 0.9.3]
fancy-tag [installed: 0.2.0]

Django [required: >=1.0, installed: 1.5.11]
simplejson==3.6.5
djangocms-text-ckeditor==2.4.1

Pillow [installed: 2.6.1]
html5lib [installed: 0.95]
django-cms [required: >=3.0, installed: 3.0.6]

south [required: >=0.7.2, installed: 1.0.1]
html5lib [installed: 0.95]
django-sekizai [required: >=0.7, installed: 0.8.1]

django-classy-tags [required: >=0.3.1, installed: 0.6.1]

Django [required: >1.3, installed: 1.5.11]

django-classy-tags [required: >=0.5, installed: 0.6.1]

Django [required: >1.3, installed: 1.5.11]

django-mptt [required: ==0.5.2, installed: 0.6.1]

Django [required: >=1.4.2, installed: 1.5.11]

djangocms-admin-style [installed: 0.2.5]
Django [required: >=1.4, installed: 1.5.11]
stripe==1.19.1

requests [required: >=0.8.8, installed: 2.5.3]
django-authority==0.4
suds==0.4

It shows a few problems, but all dependencies are resolved. This one could need some attention, even though I don't think it has caused us any problems in the past:
django-cms==3.0.6 -> django-mptt [required: ==0.5.2, installed: 0.6.1]


Minor Updates

hi @aminja,
conda.yaml
I tried to reproduce your contribution but some how it wasn't working at first place.
I found that pip dependency structure would require == or >= for version so I updated.
Later given dependent versions were throwing errors so I moved to latest versions and finally I was able to make it.
Tweets.csv
I have reduce the size of the data file to keep the repository size in control.
I would request to add README steps on how to obtain this file and in general over all details about the file structure.

dear @lucky-singh I have checked the changes and they are fine to be merged. That was my bad for the mismatched versions. I will attach the original data source for the reduced one.


Execute-code is not working properly with other plugins manipulating code-blocks

Describe the bug
I'm trying to use Execute-code while using another plugin Shiki Highlighter but run button is not displayed
The other plugin works as expected
Is there some conflict? because both plugins manipulate code-blocks
Software Version
mac: 14.3
execute-code: 1.12.0
obsidian: 1.6.7
To Reproduce
Install and enable execute-code
Install and enable shiki highlighter
Create a simple bash code block.
Run button doesn't show up. (Even with run- in editing mode or with reading mode)
BUT shiki highlighter is ok.
Expected behavior
Both plugins work as expected (be able to run code)
Additional context
Your plugins is honestly awesome! Thx for it

I do not know which plugin interferes with this, but I have no "run code" button anywhere on the page.


azure: fix another SP propagtion delay

./create-azure-service-principal.sh is meant to fix propagation issues, but it only fixes it for the RBAC Role Assignment.
As it turns out, this same problem can occur if Terraform fires up too quickly after the role assignment. For now, the best I can do is introduce a sleep and hope that's sufficient.
If 10 seconds isn't enough, users can simply re-execute make deploy and it should eventually succeed.
This stacks on top of #224 .

ping @mikedanese, please merge (or remove Travis from this repo)


Implement CommonJS + AMD + Browser Globals pattern (Fixes #3)

This commit modifies the function form of the module to implement
a pattern, that loads the module in CommonJS, AMD and Browser
Globals. Therefore it tackles #3.
Sprint can now be loaded in any CommonJS-like environment,
AMD-like environments and regularly in the browser.

Call the function wrapper with the global this
Make Sprint a local variable
Export Sprint for AMD and CommonJS
Set this.$ and this.Sprint for browsers

+1


ESP32-C6: spi_loopback_dma example broken (but apparently not just the example)

Bug description
Running the example prints this on ESP32-C6
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9] .. [73, 74, 75, 76, 77, 78, 79, 7a, 7b, 0]
[0, 1, 0, 0, 0, 0, 0, 1, 1, 1] .. [1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
[0, 2, 0, 0, 0, 0, 0, 1, 1, 1] .. [1, 1, 1, 1, 1, 1, 1, 1, 1, 1]

So, it's failing after the first iteration
The tests don't fail because they only test one transfer
Seems the offending commit is b5f0246129187dfc9342f4c170e281028138f7e1
To Reproduce
Run the example
Expected behavior
Example works as before
Environment
Chip type:         esp32c6 (revision v0.0)
Crystal frequency: 40 MHz
Flash size:        4MB
Features:          WiFi 6, BT 5
MAC address:       60:55:f9:f6:01:78
esp-hal commit 562c891ef9bfbb085755ba3029b6efabd9b72935

It's probably the DMA timing issue now that TX is done after RX. See https://github.com/esp-rs/esp-hal/pull/1856#issuecomment-2266175855


Hub live subscription events tend to miss userdata events specifically username event when a new user signs up

What is the bug?
Hub is subscribed to consume live events like link, userdata, verification address etc. It does not emit username(UserData) event specifically. But it can be queried through hub using getUserDataByFidInBatchesOf.
we're using older version of hubReplicator.
How can it be reproduced? (optional)
Hub Live subscription can reproduce this. we're using
"@farcaster/hub-nodejs": "^0.10.5" and latest version of the hub.
Additional context (optional)
Does the old hubReplicator has missing event issues? I see different implementation of hub replicator.
Not completely sure if its a bug, but we're facing issues with this. Any help here is appreciated. 🙏

Sorry for the delay in response.
If you're still seeing this with hub-nodejs 0.11.12 or newer, let us know!


Move URL to env for local/preview testing

This restores our ability to test the Hub API by pointing the meltano CLI at it, having all of the ref, docs, logo urls go to the right place.
More info: https://docs.netlify.com/configure-builds/environment-variables/#deploy-urls-and-metadata

@edgarrmondragon @rwfeather I think the urls are missing a slash - when I tried to add I got this:
Invalid URL 'https:/hub.meltano.com/meltano/api/v1/plugins/extractors/tap-xero--singer-io': No host supplied


fix: update to eye v4.13.1

fix: update to eye v4.13.1

:tada: This PR is included in version 6.3.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v6.3.1

Your semantic-release bot :package::rocket:


Adding Greasemonkey and derivatives userscript support

Added support for Axios to be used in Greasemonkey and other userscripting derivatives (such as Tampermonkey for Chrome) for making GM_xmlhttpRequest() calls.

Hey Matt,
This is a simple contribution that allows Axios to be easily used in browser userscripts, such as Greasemonkey, Tampermonkey etc.  The patch is quite modest in terms of changes.
I fixed up the PR with a second commit according to the Travis-CI checks relating to the Node.js Style Guide.
Unfortunately, the Greasemonkey API includes a function name that doesn't conform to the style guide, and is thus failing the Travis-CI check.  So I'm not sure how I can get around this.
The Greasemonkey API has the function GM_xmlhttpRequest which is equivalent to the usual xmlHttpRequest, except that it isn't restricted by cross-site limitations - a prominent feature of userscripting.
Will you accept this PR?
Regards,
Damien.

Hey Matt,
Fixed the Travis-ci errors.
Could you please advise if you plan to merge this PR or not?
Cheers,
Damien.


V0.5rc changes

Coverage decreased (-1.06%) to 68.953% when pulling 9fe00b59a202355d71c56862e16428a730522c35 on develop into 8336eb8011b39c706491cd687dfb7d83b8848808 on master.

Coverage decreased (-1.06%) to 68.953% when pulling fc785e1a1e26cb4bdc36a6ed49ea8810f0d8ed99 on develop into 8336eb8011b39c706491cd687dfb7d83b8848808 on master.


<EMAIL_ADDRESS>is incomplete

Describe the bug
Turns out the newly added<EMAIL_ADDRESS>is incomplete, at least on my macOS (only the C extensions got installed, none of the Python modules). The spack build went through, we'll need to check the logs and see what happened. Maybe some new dependencies that I didn't add to the spack recipe?
To Reproduce
After loading the py-h5py, run
python3
import h5py
help(h5py.File)

if that fails, it's incomplete
Expected behavior
A complete installation of<EMAIL_ADDRESS>System:
macOS Monterey<EMAIL_ADDRESS>Additional context
n/a

Closed via https://github.com/NOAA-EMC/spack-stack/pull/532


Selecting value from map not working with embeddables with hibernate

We should report that problem and maybe provide a workaround.

Actually it works for map when using the VALUE function but not for other element collections like set or list.

Value function fix included in: 73d9f3d39ae718eba57c116f08c24d5e447f1ca7

Reported https://hibernate.atlassian.net/browse/HHH-10508


additional feedback

My laptop has a 1440x900 screen and cannot properly display the app.  I suspect this is due to the issues you list earlier with horizontal stretch, etc.  Anyway, it makes using the app difficult as the control box overlays and obscures the gcode box; the mdi box overlays the grbl box, both overlay the position box.  Also when not maximized, there is no scroll bar, but when maximized, there is.  Very odd.
Overall, a very nice start.  I particularly like the setting tab.  Other minor nits are already covered by yours and others comments and feedback.
Looking forward to the next release.

Finally fixed in V<IP_ADDRESS>


Use let/const instead of var in Traffic Portal

To prevent "hoisting" that could result in unintended undefined values, it'd be ideal for block-scope variables to be declared with let/const (as appropriate) rather than var.
Global-scope variables (e.g. controllers, nearly anything that gets directly added to module.exports) can probably use var. I have no idea what switching that would do to our build system.

Hi @ocket8888, I I am interested to contribute to this issue and several other issues relating to Traffic Ops and Traffic Portal.
I have been trying to read the documentation and get started with the project by setting up the backend (i.e., Traffic Ops) and frontend (i.e., Traffic Portal) but I have been struggling for a week and have not been able to make much progress. Despite trying several ways to start the application, I have not been successful so far.
These are the ways I have tried:

After following the instructions on https://traffic-control-cdn.readthedocs.io/en/latest/development/index.html# and cloning the repository, I executed source dev/atc.dev.sh and ran atc build and atc start with no errors on my Mac machine where Docker is installed. However, upon running atc ready, nothing is printed on the console and commands like atc trafficops or atc trafficportal seem to be waiting indefinitely. Additionally, attempting to access the Traffic Portal interface via https://localhost:60443/ or https://localhost:8080/ has not been successful. Despite multiple attempts at restarting the process, the issue persists.
I attempted to build Traffic Control using the pkg command following the instructions provided in the link https://traffic-control-cdn.readthedocs.io/en/latest/development/building.html#build-using-pkg. To ensure I was in the correct directory, I cloned the repo and in $GOPATH/src/github.com/apache/trafficcontrol, I ran pkg -a. However, the only output I saw was "Building weasel." and it appeared to be stuck indefinitely. This was attempted on my Mac machine and I have tried restarting the process multiple times, but the issue persists.
After following the instructions in https://traffic-control-cdn.readthedocs.io/en/latest/development/building.html#build-using-docker-compose, I ran the command docker-compose build with no errors. However, I am unable to access the Traffic Portal interface at https://localhost:60443/ or https://localhost:8080/. Despite restarting the process multiple times, the issue persists.
After referring to https://traffic-control-cdn.readthedocs.io/en/latest/development/building.html#building-individual-components, I attempted to execute build/clean_build.sh. However, I encountered errors during the process , per the below.

==================================================
WORKSPACE: /private/tmp/go/src/github.com/apache/trafficcontrol
BUILD_NUMBER: 12425.72b2332e
RHEL_VERSION: el7
TC_VERSION: 7.1.0
--------------------------------------------------
-rw-r--r--  1 zhuzikun  staff  50950600 Apr  3 22:37 dist/apache-trafficcontrol-7.1.0.tar.gz
+ for project in '"$@"'
+ [[ 0 -eq 1 ]]
+ ./build/build.sh traffic_monitor
+ tee dist/build-traffic_monitor.log
/opt/homebrew/bin/realpath
-----  Building traffic_monitor ...
/opt/homebrew/bin/realpath
git is /opt/homebrew/bin/git
go is /opt/homebrew/bin/go
/private/tmp/go/src/github.com/apache/trafficcontrol/build/functions.sh: line 173: type: rpmbuild: not found
rpmbuild not found in PATH
Error on line 97 of traffic_monitor/build/build_rpm.sh
traffic_monitor failed: traffic_monitor/build/build_rpm.sh
The following subdirectories had errors:
   traffic_monitor
Error on line 110 of ./build/build.sh
+ exit_code=1
+ '[' 1 -ne 0 ']'
+ echo 'Error on line 77 of build/clean_build.sh'
Error on line 77 of build/clean_build.sh
+ cleanup
++ id -u
+ '[' 501 -eq 0 ']'
+ exit 1

After installing CentOS Stream 9 on my Mac machine using Parallels, I followed the instructions in https://traffic-control-cdn.readthedocs.io/en/latest/development/traffic_portal.html#installing-the-traffic-portal-developer-environment, except for step 4.2 where I didn't modify api.base_url to point to my Traffic Ops API endpoint. After this, I was able to access https://localhost:60443/. I then attempted to follow the instructions in https://traffic-control-cdn.readthedocs.io/en/latest/development/traffic_ops.html#installing-the-developer-environment, but encountered an error while attempting step 4, which involved using the reset and upgrade commands of admin (see app/db/admin for usage) to set up the traffic_ops databases. The error message is shown below.

I am new to open-source. I would greatly appreciate if you could advise me on how to get started.
Thank you for your time reading this and have a nice day!

upon running atc ready, nothing is printed on the console

That's normal, it would only print anything if it fails.

commands like atc trafficops or atc trafficportal seem to be waiting indefinitely.

That is strange - because those aren't valid commands. What should happen in that case is you get an exit failure code and a usage message. This is what I see when I try that:
$ atc trafficops
Usage: atc OPERATION

Valid OPERATIONs:
  build   Build the images for the environment, but do not start it
  connect Connect to a shell session inside a dev container
  exec    Run a command in a dev container
  ready   Check if the development environment is ready
  restart Restart the development environment
  start   Start up the development environment
  stop    Stop the development environment

Additionally, attempting to access the Traffic Portal interface via https://localhost:60443/ or https://localhost:8080/ has not been successful.

That would be because Traffic Portal does not listen on either of those ports. Nothing listens on port 60443, so I'm not sure where you even got that. It's similar to port 6443 which is used by Traffic Ops - not Traffic Portal. Port 8080 is used by Traffic Server. Traffic Portal listens on port 444, so that's where you should look for it.
You can see all these ports while the containers are running with docker ps.
For further help, please reach out in our Slack server.

@ocket8888 Thank you for your reply!

That's normal, it would only print anything if it fails.

Thank you for the clarifications.

commands like atc trafficops or atc trafficportal seem to be waiting indefinitely.

I apologize for the mistake. What I intended to convey was atc ready --wait trafficops or atc ready --wait trafficportal seemed to be waiting indefinitely.

That would be because Traffic Portal does not listen on either of those ports. Nothing listens on port 60443, so I'm not sure where you even got that. It's similar to port 6443 which is used by Traffic Ops - not Traffic Portal. Port 8080 is used by Traffic Server. Traffic Portal listens on port 444, so that's where you should look for it.
You can see all these ports while the containers are running with docker ps.

Thank you for pointing it out! I was looking at line 27 of https://github.com/apache/trafficcontrol/blob/master/traffic_portal/conf/configDev.js and this caused confusion. However, I tried to visit https://localhost:444/ just now, it could be loaded but I saw the errors in the below screenshot.

For further help, please reach out in our Slack server.

I just sent an email to<EMAIL_ADDRESS>requesting a Slack invite. Thank you so much for your help!


Host Stuck Indefinitely in Removing State

Rancher Version:
1.1.0
Docker Version:
1.10.3
OS and where are the hosts located? (cloud, bare metal, etc):
RHEL 7.2 / AWS
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
HA
External Db (RDS)
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
Unknown. The sequence of events was that a host went into 'ReConnecting' state (reason unknown) and on trying to deactivate and then delete that host it has entered 'Removing' state, apparently indefinitely.
Results:
This Rancher forum post (raised by me) explains the situation : https://forums.rancher.com/t/host-stuck-in-removing-state/3878
As mentioned by in another forum post (https://github.com/rancher/rancher/issues/3506), another Rancher user decided to hack the Rancher Db to resolve the same problem. I could try that, but I’m a bit reluctant to do so unless there is no other choice.
The host in 'Removing' state has now been so for more than a week and it has become a high priority problem, hence escalating as an issue rather than just a forum topic.
Expected:
Clean removal of the Rancher host.

Can you go to Admin->Process in the UI and look for a host.remove process that has been running for a long time.    If you click expand all on one of them you should get the call tree of what it was doing.  Also click the "hazard" looking icon and it should show an exception.  Can you send screen shots of that stuff?

Hey Darren,
please find attached screen shots -

Hosts_Demo.jpg

This shows the hosts from the demo environment. I have highlighted the host (one of the LOAD-BALANCER) that is stuck in the Removing state (its been like that for over a week).  The other hosts (HOST_TYPE=HOST) I guess are shown as re-connecting because they are stopped overnight on a schedule (note all are EC2 instancs in AWS) and will come back up again in the morning. TBH its the first time I have seen this !

processes.jpg

From Admin -> Processes  (again a first for me). I hadn't realised there would as many (probably around 40 !) I have highlighted the 3 that relate to the host.remove per your request. As you can see they are 11 days old. Only the third had any detail (the first 2 just reported the process id).

Stack_Trace.jpg

There are a LOT of child execution details here albeit the last suggests is was a 'day ago' so I don't know if they rotate ?. Anyway, there were only 2 which showed up as RED and both appeared to have the same stack trace.
The cause was : io.cattle.platform.engine.process.impl.ProcessExecutionExitException
PROCESS_ALREADY_IN_PROGRESS ?
HTHs
Fraser.

Sorry didn't mean to close it !

Hey Darren, yeah sure :-)

Any further information or advice ? This issue is now blocking all deployments using Rancher and we have been forced to just use native Docker.

@goffinf This is an odd one.  The best thing would be if you can send me a DB dump.  That might have more information in it that you care to share.  In that case if you could just share the process_execution and process_instances tables that would help.  Those tables don't have any sensitive info in them.  You can email the dump directly to me<EMAIL_ADDRESS>Full Dump
mysqldump -ucattle -p cattle  > dump.sql

Just the two tables
mysqldump -ucattle -p cattle process_execution process_instance > dump.sql

@ibuildthecloud, could you let me know the exact steps that can cause the host to be stuck in "removing" state ?

@sangeethah The situation is when the network agent is in a restarting state and you go to remove a host.  I'm not sure how to exactly reproduce it.  I just know a restarting network agent is stuck because the host is removing and the host is stuck removing because the network agent is restarting.

Tested with rancher-server version - v1.1.4-rc3
Tested the following scenario multiple times and host got to "removed" state without being stuck in "removing" state forever:
Restart network Agent. When Network agent is still in restarting state , remove the host.
Host removal was successful.
Closing this issue for now.
@goffinf: This issue should be fixed with v1.1.4-rc3 . Could you please upgrade to 1.1.4 (should be available in the next few days)  and see if this issue is not seen anymore for you.

Indeed, we are eagerly awaiting the 1.14 drop (can't go with release candidates other than in our sandbox).
On a more general note, the whole experience of working thru this issue has been very positive. Not only has the principle problem been resolved but also a couple of other pending issues identified and remedied. I would encourage anyone using Rancher to contribute, you are likely to get more than you bargained for ... in a good way :-)


Training vs tensorboard metrics

Will my training yield better results over time? Currently, the training took about 9 hours.
I have 1500 wav samples, with a total audio length of approximately 2 hours.

What other metrics should I pay attention to in TensorBoard?

Update after ~34h:
Little improvement visible but note sure should I keep it longer because of the flattening.

We usually look at g/total, and from your graph, it seems to be decreasing pretty well. But I’m not sure if 2 hours of training data is enough; I initially used around 8 to 10 hours for training.

We usually look at g/total, and from your graph, it seems to be decreasing pretty well. But I’m not sure if 2 hours of training data is enough; I initially used around 8 to 10 hours for training.

@jeremy110 Thank you for your response! I’m honestly a bit hooked on watching the progress as it keeps going down, so I can’t seem to stop checking in :-)
Currently at 68 hours.

I’m planning to create an 8-10 hour audio dataset for the next training session. Could you suggest what kind of text data I should gather for it? So far, I’ve used random articles and some ChatGPT-generated data, but I’ve heard that people sometimes read books, for example. Is there perhaps a dataset available with quality English sentences that covers a variety of language phenomena? I tried to find it but no results.

@smlkdev
Basically, this training can be kept short since it’s just a fine-tuning session; no need to make it too long. Here’s my previous tensorboard log for your reference(https://github.com/myshell-ai/MeloTTS/issues/120#issuecomment-2105728981).
I haven’t specifically researched text types. My own dataset was professionally recorded, with sentences that resemble reading books. I’m not very familiar with English datasets—are you planning to train in English?

This is my first attempt with ML/training/voice cloning and decided to use english. I read briefly Thai thread and it was way too complex for me to start with.
Your training was 32 hours long and for me (I'm not the expert) infer voice matched original :) That's really nice. Is it a voice that had 8-10 hours of audio as you mentioned earlier?

Yes, that's correct. I tried both single-speaker and multi-speaker models, and the total duration is around 8-10 hours.
If this is your first time getting into it, I recommend you try F5-TTS. There are a lot of people in the forums who have trained their own models, and some even wrote a Gradio interface, which is very convenient.

@jeremy110 thank your for your responses.
Is F5-TTS better than MeloTTS in terms of quality?
I just realized that my cloned MeloTTS voice doesn’t add breaks between sentences. I have to add them manually—by splitting the text into sentences, breaking it down into smaller parts, generating and then merging it back together after adding pauses. It can be made automatically of course but still a bit of work.

In terms of quality, I think F5-TTS is quite good. You can try it out on the Hugging Face demo.
The pauses within sentences mainly depend on your commas (","). The program adds a space after punctuation to create a pause. However, if the audio files you trained on have very little silence before and after the speech, the generated audio will also have little silence. Of course, you can add the pauses manually, but you could also address it by adjusting the training data.

@smlkdev I am training the melotts model with sentiment data. But I couldn't get the tensorboard graphs to work. Can you share your sample code?

These are written in the train.log file. Training is still ongoing. Are these important?
2024-11-19 09:22:10,339	example	ERROR	enc_p.language_emb.weight is not in the checkpoint
2024-11-19 09:22:10,340	example	ERROR	emb_g.weight is not in the checkpoint

@jeremy110 Hello, I would like to inquire about the data preparation process when training on multiple speakers. Is it necessary for each speaker to have a comparable amount of data? For instance, if Speaker A has 10 hours of audio and Speaker B only has 1 hour, is it possible to create a good model, or does Speaker B also require approximately 10 hours of audio? Thank you

@manhcuong17072002 Hello~
In my training, some speakers had 1 or 2 hours of audio, while others had 30 minutes, and in the end, there were about 10 hours of total data. I was able to train a decent model, but for speakers with less data, their pronunciation wasn't as accurate.

@jeremy110 Oh, if that's the case, that's wonderful. Collecting data and training the model will become much easier with your idea. So, when training, you must have used many speaker IDs, right? And do you find their quality sufficient for deployment in a real-world environment? I'm really glad to hear your helpful feedback. Thank you very much!

@manhcuong17072002
Yes, there are about 15 speakers. Of course, if you have enough people, you can continue to increase the number. After 10 hours, the voice quality is quite close, but if you want better prosody, you might need more speakers and hours.
From the TTS systems I've heard, the voice quality is about above average, but when it comes to deployment, you need to consider inference time. For this, MeloTTS is quite fast.

@jeremy110 Thank you for the incredibly helpful information. Let me summarize a few points:

Training data: 8 to 10 hours of audio is sufficient to train the MeloTTS model, and more data is always welcome.
Number of speakers: 15. 30 minutes to 2 hours of data per speaker yields good results. More data per speaker leads to better results.
Deployment speed: MeloTTS is relatively fast to deploy.

However, I've experimented with various TTS models and noticed that if the text isn't broken down into smaller chunks, the generated speech quality degrades towards the end of longer passages. Have you tested this with MeloTTS? If so, could you share your experimental process? Thank you so much.

@manhcuong17072002
You're welcome, your conclusion is correct.
Normally, during training, long audio files are avoided to prevent GPU OOM (Out of Memory) issues. Therefore, during inference, punctuation marks are typically used to segment the text, ensuring that each sentence is closer to the length used during training for better performance. MeloTTS performs this segmentation based on punctuation during inference, and then concatenates the individual audio files after synthesis.

@jeremy110  I'm so sorry but I suddenly have a question about training on a multiple speakers dataset. Is it possible for Speaker A to pronounce words that exist in other speakers but not in A? Because if not, dividing the dataset into multiple speakers would be pointless and the model would not be able to cover the entire vocabulary of a language. Have you tried this before and what are your thoughts on this? Thank you.

@manhcuong17072002
If we consider 30 minutes of audio, assuming each word takes about 0.3 seconds, there would be around 5000–6000 words. These words would then be converted into phoneme format, meaning they would be broken down into their phonetic components for training. With 6000 words, the model would learn most of the phonemes. However, when a new word is encountered, it will be broken down into the phonemes it has already learned. I haven't done rigorous testing, but in my case, the model is able to produce similar sounds.

@jeremy110  Thanks for your useful information

@jeremy110 Even if latest messages were not addressed directly to me - I want to thank you as well, you are giving me a fresh point of view how to look at dataset.

Using your suggestion, I'm currently testing how F5-TTS works and what effects it produces. Here are my charts (same dataset as in this thread). Should I stop fine-tuning now that the LR has dropped so low or can it still improve nicely?

And how should I choose the right/best checkpoint? Is it a matter of listening to the dialogue, or should I rely on the loss from the chart, i.e., lower = better? Of course it is hard to get very exact checkpoint when I'm doing save every 2.5k steps.

If I wanted to create a short dataset from scratch, how many times should each word appear in the audio recordings to make it meaningful? Would just once be enough? I imagine that if I were creating a dataset to perform exceptionally well in a specific field, like "cooking," I could build one using words more frequently used in that domain, such as "flour," "knife," or "tomato." I’m also guessing that the sentences in the dataset should include the most commonly used words in English along with niche-specific words, so my model performs as well as possible in that area (though it might struggle in something like "aviation" niche).

@smlkdev

Basically, fine-tuning usually requires less than 10 epochs; the settings from others are used as a reference.

Typically, a model trained for 10 epochs is already good for use, and the last one is usually the best.
If you're training a new language, a small dataset is not ideal; it still needs to be of a certain length to achieve better learning.
Since I'm not sure if you're training a new language, if you are, I tested small datasets and found that around 20–40 hours of audio is necessary, with each clip lasting 2–10 seconds. It can be either multiple speakers or a single speaker, but zero-shot performance is poor with a single speaker. Additionally, I tested with 350 hours of audio and about 300 speakers, and the zero-shot performance was excellent. Using my own voice as a reference, the synthesized voice was very close to my own. Finally, for F5-TTS to generate good audio, the reference is crucial. In my tests, 6–10 second clips worked best. So, for your third question, you can include these specific words in your reference, and the inference quality for this domain will improve.

@jeremy110
https://huggingface.co/datasets/reach-vb/jenny_tts_dataset I am training this dataset. I made 10 epochs from the config settings. There is epoch 30 in the train.log file and it is still training. What should I fix?
How do you think the graphs are? Can you interpret them?

@kadirnar hello~
Typically, the parameters would be read from the YAML file, but it's okay. You can stop it at the appropriate time. I’ve kind of forgotten how many steps I originally set for training, but you can refer to my TensorBoard.
I’m not very experienced in the TTS field, but for MeloTTS, it mainly uses loss functions common in GANs, involving the Discriminator and Generator. Personally, I check the loss/g/total and loss/g/mel to assess whether the training results are as expected.
From your graphs, since there is no loss/g/total, I cannot judge the result. From my own training, the values typically range from 45 to 60, depending on your dataset.

@jeremy110 What do you think if I have a small dataset and I combine the audios in the dataset to create a larger one? For example, initially we have 2 audios A and B. We combine the 2 audios as follows: Audio A + Audio B = Audio C, from which we get 3 audios A, B, C. Do you think this will significantly affect the training results compared to the original small dataset? Thank you.

@manhcuong17072002
This approach can indeed enhance the data and may provide a slight improvement, but several points need to be considered. Since MeloTTS uses BERT to extract feature vectors, if we randomly concatenate the text of two audio files and then extract feature vectors, can it still effectively represent the prosody of the text?
You could try it out and see how it performs.

@jeremy110 Thanks for your help. The sound quality is better now.  I am training with a larger dataset. The train.log file says these error messages. How can I fix this?
2024-11-26 18:12:12,084	example	ERROR	enc_p.encoder.attn_layers.0.emb_rel_k is not in the checkpoint
2024-11-26 18:12:12,084	example	ERROR	enc_p.encoder.attn_layers.0.emb_rel_v is not in the checkpoint
2024-11-26 18:12:12,084	example	ERROR	enc_p.encoder.attn_layers.1.emb_rel_k is not in the checkpoint
2024-11-26 18:12:12,084	example	ERROR	enc_p.encoder.attn_layers.1.emb_rel_v is not in the checkpoint
2024-11-26 18:12:12,084	example	ERROR	enc_p.encoder.attn_layers.2.emb_rel_k is not in the checkpoint
2024-11-26 18:12:12,084	example	ERROR	enc_p.encoder.attn_layers.2.emb_rel_v is not in the checkpoint
2024-11-26 18:12:12,084	example	ERROR	enc_p.encoder.attn_layers.3.emb_rel_k is not in the checkpoint
2024-11-26 18:12:12,084	example	ERROR	enc_p.encoder.attn_layers.3.emb_rel_v is not in the checkpoint
2024-11-26 18:12:12,084	example	ERROR	enc_p.encoder.attn_layers.4.emb_rel_k is not in the checkpoint
2024-11-26 18:12:12,084	example	ERROR	enc_p.encoder.attn_layers.4.emb_rel_v is not in the checkpoint
2024-11-26 18:12:12,084	example	ERROR	enc_p.encoder.attn_layers.5.emb_rel_k is not in the checkpoint
2024-11-26 18:12:12,084	example	ERROR	enc_p.encoder.attn_layers.5.emb_rel_v is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.0.enc.attn_layers.0.emb_rel_k is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.0.enc.attn_layers.0.emb_rel_v is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.0.enc.attn_layers.1.emb_rel_k is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.0.enc.attn_layers.1.emb_rel_v is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.0.enc.attn_layers.2.emb_rel_k is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.0.enc.attn_layers.2.emb_rel_v is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.2.enc.attn_layers.0.emb_rel_k is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.2.enc.attn_layers.0.emb_rel_v is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.2.enc.attn_layers.1.emb_rel_k is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.2.enc.attn_layers.1.emb_rel_v is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.2.enc.attn_layers.2.emb_rel_k is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.2.enc.attn_layers.2.emb_rel_v is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.4.enc.attn_layers.0.emb_rel_k is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.4.enc.attn_layers.0.emb_rel_v is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.4.enc.attn_layers.1.emb_rel_k is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.4.enc.attn_layers.1.emb_rel_v is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.4.enc.attn_layers.2.emb_rel_k is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.4.enc.attn_layers.2.emb_rel_v is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.6.enc.attn_layers.0.emb_rel_k is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.6.enc.attn_layers.0.emb_rel_v is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.6.enc.attn_layers.1.emb_rel_k is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.6.enc.attn_layers.1.emb_rel_v is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.6.enc.attn_layers.2.emb_rel_k is not in the checkpoint
2024-11-26 18:12:12,085	example	ERROR	flow.flows.6.enc.attn_layers.2.emb_rel_v is not in the checkpoint
2024-11-26 18:12:12,117	example	INFO	Loaded checkpoint './logs/example/G_0.pth' (iteration 5)
2024-11-26 18:12:12,230	example	INFO	Loaded checkpoint './logs/example/D_0.pth' (iteration 5)
2024-11-26 18:24:00,697	example	INFO	Train Epoch: 5 [94%]
2024-11-26 18:24:00,698	example	INFO	[2.5422043800354004, 2.1978163719177246, 8.537149429321289, 20.567224502563477, 2.303469181060791, 2.3287158012390137, 400, 9.99875e-05]
2024-11-26 18:24:21,757	example	INFO	====> Epoch: 5
2024-11-26 18:31:56,010	example	INFO	====> Epoch: 6


Lei/use zustand

Use zustand as state management

Add buttons in home page to enter conversation page

Dropdown style consistency

Add Model select description

Complete the function of share character.

Looking good! merge it


4.6 crashes on project that compiles fine with 4.5 (at BinaryExpressionStateMachine.onEnter)

Bug Report
I have a quite large TS project (www.3d-decks.com) that compiles fine under 4.5 but 4.6 crashes. See error details below.
What can I do to track down this one?
Unknown output:                 throw e;
Unknown output:                 ^
Unknown output:     at BinaryExpressionStateMachine.onEnter (C:\Program Files (x86)\Microsoft SDKs\TypeScript\4.6\tsc.js:77139:21)
Unknown output:     at Array.enter (C:\Program Files (x86)\Microsoft SDKs\TypeScript\4.6\tsc.js:29608:50)
Unknown output:     at trampoline (C:\Program Files (x86)\Microsoft SDKs\TypeScript\4.6\tsc.js:29756:52)
Unknown output:     at C:\Program Files (x86)\Microsoft SDKs\TypeScript\4.6\tsc.js:77127:30
Unknown output:     at checkExpressionWorker (C:\Program Files (x86)\Microsoft SDKs\TypeScript\4.6\tsc.js:78215:28)
Unknown output:     at checkExpression (C:\Program Files (x86)\Microsoft SDKs\TypeScript\4.6\tsc.js:78089:38)
Unknown output:     at checkExpressionCached (C:\Program Files (x86)\Microsoft SDKs\TypeScript\4.6\tsc.js:77753:38)
Unknown output:     at C:\Program Files (x86)\Microsoft SDKs\TypeScript\4.6\tsc.js:76312:32
Unknown output:     at traverse (C:\Program Files (x86)\Microsoft SDKs\TypeScript\4.6\tsc.js:15189:28)
Unknown output:     at visitNodes (C:\Program Files (x86)\Microsoft SDKs\TypeScript\4.6\tsc.js:29816:30)
🔎 Search Terms
BinaryExpressionStateMachine.onEnter
🕗 Version & Regression Information
Problem started with 4.6.

This is a crash
This changed between versions 4.5 and 4.6

⏯ Playground Link
💻 Code
🙁 Actual behavior
🙂 Expected behavior

I'm speculating, but it looks like you should be able to narrow this down by trying to remove more and more files from your compilation until the crash goes away. When you've narrowed down the file(s?) that trigger the crash, you can try removing more and more code from these files until you have something that's smaller than 20 lines of code.


Symbolizing by value > category reuses color for first two values

In the store locator smoke test example, the step after creating 6 clusters is to color each cluster by cluster_no using categorical colors.
Even though six unique colors are shown in the style properties:

And in TurboCarto:
marker-fill:
ramp([cluster_no],
(#A6CEE3, #1F78B4, #B2DF8A, #33A02C, #FB9A99, #E31A1C),
("0", "1", "2", "3", "4", "5")
);

The last color (#E31A1C -- red) isn't getting applied. Instead, the first color, (#A6CEE3 -- light blue) is being applied to cluster_no = 0 and cluster_no = 1:

I think this is related with the issue on the way we generate category with turbo-carto. @javierarce, should this be fixed now that you fixed the other related issue?

I think this issue is related to https://github.com/CartoDB/turbo-carto/issues/40

Ok, after further research, the issue is that when the selected column contains numbers we still send the values as string (using "").

@makella: I think this is working fine now. After I applied the style to the cluster analysis I obtained the following CartoCSS:
 marker-fill: ramp([cluster_no], (#ffc6c4, #f29ca3, #da7489, #b95073, #93345d, #672044), quantiles);
Could you confirm it's working fine and in that case close this issue, please?

@javierarce i did the same and got this.
  marker-fill: ramp([cluster_no], (#5B3F95, #1D6996, #129C63, #73AF48, #EDAD08, #E17C05), (0, 1, 2, 3, 4, 5), category);
Looks good to me!


Release 1.1.0

Version 1.1.0 🎉
Additions ➕

Every resource now includes a serialize method to serialize the resource into a dictionary.
Datetimes are now correctly parsed into objects when objetizing the API's response data.

Changes ➖

There is now an additional dependency to dateutil

Fixes 🐛

Fix the release process to include the release PR's description on the release tag.

Codecov Report

Merging #18 (ed0b214) into stable (366154a) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            stable       #18   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           37        37
  Lines          355       380   +25
=========================================
+ Hits           355       380   +25

Impacted Files
Coverage Δ

fintoc/mixins/resource_mixin.py
100.00% <100.00%> (ø)

fintoc/resources/account.py
100.00% <100.00%> (ø)

fintoc/resources/link.py
100.00% <100.00%> (ø)

fintoc/utils.py
100.00% <100.00%> (ø)

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 366154a...ed0b214. Read the comment docs.


Can't open temp files

Hi! This issue is weird and I don't know where to begin.
The problem is that voice2json can't read temporary files.
This might be not an issue of voice2json but I just don't have a clue.
I run voice2json through docker. I'm using ubuntu 21.
In the graphic below I first run aplay with the audio file and works, then I run voice2json and it can't find the file.

If the audio file is in my home directory, the file is played 🤷🏼
I set the permissions for the audio file to 777, but that didn't work either.
Any help is welcome.
Thanks for your great work, voice2json is awesome.

 This is a Docker issue. I think you have to pass --tmpfs /tmp to the docker run command, otherwise it creates it's own private copy of /tmp.

You were right on the issue, however, this is what worked for me:
docker run -i \
       --init \
       -v /tmp:/tmp  \
       -v "${HOME}:${HOME}" \
       -v "/dev/shm/:/dev/shm/" \
       -w "$(pwd)" \
       -e "HOME=${HOME}" \
       --user "$(id -u):$(id -g)" \
       synesthesiam/voice2json "$@"

Notice the -v /tmp:/tmp.
It happened to me first when I tried the recipe launch_program.
Do you think this should be fixed on the docs? Or in the recipe?
If it is just updating the docs, I can create a PR if it makes sense.
Thanks!

Sure, I'd appreciate a PR :+1:
Thanks!


Add coherence, population methods and basic tests

Fixes #156.

Pull Request Test Coverage Report for Build 163

39 of 39 (100.0%)  changed or added relevant lines in 2 files are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.2%) to 91.544%

Files with Coverage Reduction
New Missed Lines
%

maxwellbloch/mb_solve.py
7
90.95%

Totals

Change from base Build 159:
0.2%

Covered Lines:
1364

Relevant Lines:
1490

💛  - Coveralls


Expose @types/_internal

Is your feature request related to a problem? Please describe.
I'm working on vue-tinybase (really early-stage for now), and I use types defined as "internal" for some type computations. Is it an option to expose internal types too?
Describe the solution you'd like
Add "_internal" as an exported path to package.json
Describe alternatives you've considered
I could import using absolute path and make esbuild "bundle" that types, feels very hacky tho.
I am copy/pasting the "internal" types into the source code to be able to migrate to v5 but that doesn't feel very good either.
Additional context

I think this should be OK. Type system is pretty large and a few extra complexities on the edges won't hurt.

I look at this and some parts of it are pretty large to expose and document. Are there any key types you would really want to prioritize? Most easily I can just promote them up into the main packages.


Default action for Ctrl Left Click

Hi! The last update of CTags remove standart bindings for multi-cursors by Ctrl+Left Click.

Ah. Gotcha. Will fix asap.
"You have enemies? Good. That means youve stood up for something,
sometime in your life." ~ Winston Churchill
On Fri, Dec 9, 2011 at 10:08 AM, Vasiliy Sheredeko <
<EMAIL_ADDRESS>
wrote:

Hi! The last update of CTags remove standart bindings for multi-cursors by
Ctrl+Left Click.

Reply to this email directly or view it on GitHub:
https://github.com/SublimeText/CTags/issues/17

Updated to ctrl+shit+left-click


fix(STADTPULS-607): Set bg of scrollup button in docs

On hover it is still opacity 10%

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Can't change Location info for Digital Item & Service listings

Brief Description: When I create a listing as "Physical Item" I can specify "Ships to Canada" and the location will indicate Canada as expected.
But if I create a "Digital Item" or a "Service" the location defaults to "United States" and I can't seem to change it.
Operating System (OS and version):  Ubuntu 14.04 x86_64
OpenBazaar version:  1.0.7
Hardware: Dual-quad Intel(R) Xeon(R) CPU X5450  @ 3.00GHz 12 GB RAM
Reproducible: Always
Steps to reproduce:

Create a new listing with Type: "Digital Item" or "Service"
Select "Save"

Observed Behavior:
The Location info defaults to "United States".
Expected Behavior:
I'd expect to be able to change the location for "Digital Items" and "Service" types.
Additional info (links, images, etc go here):

@JoshuaOpolko  Where do you see the location set to United States?

It's on the "Store" tab. I've attached a screenshot.
On 16-03-08 02:00 PM, Josh Jeffryes wrote:

@JoshuaOpolko https://github.com/JoshuaOpolko Where do you see the
location set to United States?
—
Reply to this email directly or view it on GitHub
https://github.com/OpenBazaar/OpenBazaar-Client/issues/1017#issuecomment-193916165.


Elaboration of Getting Started Guide

Users who belong to the target group of the Furo Web Stack should be able to create a minimal executable example within a maximum of 30 minutes.
We also need descriptions of the core concepts including examples.

The tutorial can be found here: https://furo.pro/docs/guides/ebook-tutorial/


Lab03

Here are Lab03 two jupyter notebook files.

Nice to see your work!
It is somehow not complete.


can we use shiptip to synchronize mongo dbs ?

@koraysels I don't know, since you can run remote and local command, I would say yes. But I never had this use case.

Check out shipit-db


Hyprland 'magic' workspace shows up on waybar after connecting and disconnecting from external display

I'm using waybar with hyprland, and I'm not completely sure if this is a problem with waybar or hyprland to be entirely honest. I will open a similar problem on hyprland's github if the problem doesn't seem to lie with waybar.
Expected Behavior: the 'magic' workspace should never be shown on waybar under any circumstances.
Actual Behavior: the 'magic' workspace will display on waybar after connecting and disconnecting from another display.
The 'magic' workspace will also disappear again if I reconnect the external display. It only shows on the primary screen, and only after an external display has been connected and disconnected.

Another small detail about this odd behavior, if the last monitor where the 'magic' workspace was viewed is the primary monitor the behavior described above does not occur. The 'magic' workspace only shows up if the last time it was viewed was on a monitor that is now disconnected.

The magic workspace is a special workspace which probably only is on your external monitor for some reason. Set this in hyprland/workspace
"hyprland/workspaces": {      "ignore-workspaces": [          "magic"      ],      "show-special: false  }
You probably set show special to true or something like that


Event support

Provide support for emitting event data

Addressed by https://github.com/wavefrontHQ/wavefront-sdk-go/pull/31.


Array

Submission Title
Array
Submission Type
STL
Submission Description
The array is a collection of elements of the same data type stored in continuous memory locations. C++ standard library contains many libraries that support the functioning of arrays.
Contributors

[x]  C++ -

Please assign me this. I've read and will follow the contributing guidelines.

Finally,what we do.either implement code or any description about arrays.

I would like to work on this issue. I can implement this in c++. I know STL well. Please allow me to work on this issue. I'll also add an explanation in my code.

thanks @souvickroy02 :v:


#17698 Set Application Name property for Db2

This parameter should be set to the product name (DBeaver) now.

SELECT APPLICATION_NAME, CLIENT_APPLNAME FROM TABLE(MON_GET_CONNECTION(NULL, -2)) WHERE CLIENT_APPLNAME IS NOT NULL ORDER BY CLIENT_APPLNAME;

Verified


Updates

Made the view designable in storyboards and now you can set the shadow color, shadow opacity, radius, offset width and offset height right from the inspector

Sweet! I'm noticing that the shadow offset doesn't display properly in interface builder though... lemme see if I can figure it out :stuck_out_tongue:

Yeah, I'm not sure! Maybe it's a bug with Xcode? It's something to do with masks or clipping, dunno.

I noticed that too in the Interface Builder but when on device or emulator it seems to work ok


Improve Search History

Keep search histories across runs of VSCode (don't lose them on exit)
Have some sort of pulldown menu, or some such, to see list of history and pick from with mouse

(See Visual Studio for possible examples of both of these)
#2 would also help with discoverability of even having a search history

1 already should work, they are saved per workspace. If it doesn't work for you, please give some more details.
2 is tracked here: https://github.com/microsoft/vscode/issues/23099

The ctrl+f history is saved per file, and persisting it could end up producing a ton of data. So I think this is by design.

Thankfully, the ctrl+f history is NOT per file, at least not in typescript files (what I mainly edit).  That would be a pain.
Actually, I would not mind if ctrl+f history was shared with the global search history (like Visual Studio).  There are a lot of times I search local to a file, then end up doing a global search for the same thing.
But if others find a shared history not viable for some reason, then I would still request that the ctrl+f history be persisted.
From: Rob Lourens<EMAIL_ADDRESS>Sent: Thursday, October 17, 2019 10:44 AM
To: microsoft/vscode<EMAIL_ADDRESS>Cc: David Stradley<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [microsoft/vscode] Improve Search History (#82731)
The ctrl+f history is saved per file, and persisting it could end up producing a ton of data. So I think this is by design.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_vscode_issues_82731-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DALUMVVRD4CQDJTJJG3722DLQPCB4LA5CNFSM4JBR6GQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBQRZDI-23issuecomment-2D543235213&d=DwMCaQ&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=4QTZVVAc2EekxePDC6c1ejEtbueWbz4n1_4gQnP3_zE&m=dFphdoRedU2lsBgSTwb-ZJaqED_gsvaejAd1HaYa69I&s=NMj2zQbBZBA-efbw1CjYuj_ssM51vuG3OZ2MXzG8Pwg&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALUMVVQWFMHAKHTZ2QQPDKDQPCB4LANCNFSM4JBR6GQQ&d=DwMCaQ&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=4QTZVVAc2EekxePDC6c1ejEtbueWbz4n1_4gQnP3_zE&m=dFphdoRedU2lsBgSTwb-ZJaqED_gsvaejAd1HaYa69I&s=rg1wrYlnsfbtASVk6_fXCiWhsiiSZybvrh62gzRiFzM&e=.


Admonition formatting

I want to change the text formatting for standard Sphinx (actually in JupyterBooks) admonitions. I find that I can change the title format (in a private css file that's passed). But the body formatting in the text is inherited from
 it seems so if my body is san serif, like the standard layout, the body of all admonitions is likewise sans serif.
I'd like to have it stand out more from the text and so I'd like to change it to serif font formatting, but I cannot figure out what needs to be changed in order to do that.
Is this a good place to ask this question? I'm here because I stumbled on a now closed Issue that was very close to this question in spirit.
thanks

the basic structure of, e.g., a warning seems to be

Warning

admonition content here.

If you're content to have your formatting apply to both the title and the content, you can define a CSS rule like
div.admonition > p {
    font-family: serif;
}

(the > indicates direct child node, so only a p right below a div with class admonition will get that rule applied).
If you don't want the title to be affected, write the above rule and then a second rule that changes the title back to sans-serif (it will override the first by virtue of being a more specific selector):
div.admonition > p.admonition-title {
    font-family: sans-serif;
}

that said, it might not be a bad idea to add a class to the admonition content paragraphs, to make them easier to target 🤷🏻

Thanks. That worked. It’s a level deeper than my css learned-on-the-street knowledge covered. I appreciate it.
Would this then create a new admonition?

NEW

admonition content here.

Somewhere the color for the band of NEW would have to be defined.
This all has the potential to make my book look a lot less boring.
thanks
On Jul 13, 2021, at 2:46 PM, Daniel McCloy<EMAIL_ADDRESS>wrote:
the basic structure of, e.g., a warning seems to be

Warning
admonition content here.

If you're content to have your formatting apply to both the title and the content, you can define a CSS rule like
div.admonition > p {
font-family: serif;
}
(the > indicates direct child node, so only a p right below a div with class admonition will get that rule applied).
If you don't want the title to be affected, write the above rule and then a second rule that changes the title back to sans-serif (it will override the first by virtue of being a more specific selector):
div.admonition > p.admonition-title {
font-family: sans-serif;
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/pydata/pydata-sphinx-theme/issues/431*issuecomment-879317670__;Iw!!HXCxUKc!mGUl81k7v4iGo7DOyvQTmATCOv2WiSjdpXM56jK-w3fP7b_sF44nOVbiOEH5Iyc$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ABCOLTNTYVBVPBJZ54P42O3TXSCZDANCNFSM5AJTA5LA__;!!HXCxUKc!mGUl81k7v4iGo7DOyvQTmATCOv2WiSjdpXM56jK-w3fP7b_sF44nOVbiIWp_l_s$.

Raymond Brock  *  University Distinguished Professor
Department of Physics and Astronomy, Michigan State University
Adjunct Professor of Physics
Department of Physics, Arizona State University
MSU address:
3210 BPS Building
Michigan State University  *  East Lansing, MI  48824
sent from<EMAIL_ADDRESS>MSU office:<PHONE_NUMBER>/884-5579
open fax:<PHONE_NUMBER>
secure fax:<PHONE_NUMBER>
Vidyo personal room: http://goo.gl/AgiDJ4
CERN Office: 32 2-B03 * 76-71756

Would this then create a new admonition?

NEW

admonition content here.

Yes, that is what the HTML would look like for a custom admonition called NEW.  And yes, as you say, you would need to define (in your custom CSS) a class NEW that defines the properties you want it to have (like the color). You can look at the properties defined for warning to get inspiration:
https://github.com/pydata/pydata-sphinx-theme/blob/e5b9765d383ce6217d443053906a979b1da1f301/src/scss/_admonitions.scss#L79-L89
I think you can create it without actually having to define a new sphinx directive, maybe like this?
.. rst-class:: admon_new
.. admonition:: NEW!
    Guess what's new?  This thing.

(above I've changed the class name to admon_new just to distinguish it more clearly from the title)

that said, it might not be a bad idea to add a class to the admonition content paragraphs, to make them easier to target 🤷🏻

That might be something to bring up with upstream sphinx.
@chipbrock I think your original question is resolved, so this issue can be closed?

hi
Yes. thanks. I did manage to fix it with the help provided.
On Aug 9, 2021, at 7:08 AM, Joris Van den Bossche<EMAIL_ADDRESS>wrote:
that said, it might not be a bad idea to add a class to the admonition content paragraphs, to make them easier to target 🤷🏻
That might be something to bring up with upstream sphinx.
@chipbrockhttps://urldefense.com/v3/__https://github.com/chipbrock__;!!HXCxUKc!nKB8AlCXoIrgnbrSAYEwzEQo8gyFHkeYir2ZVrvB7YRM1UNt_FM9LX0GPLf37Y0$ I think your original question is resolved, so this issue can be closed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/pydata/pydata-sphinx-theme/issues/431*issuecomment-895136102__;Iw!!HXCxUKc!nKB8AlCXoIrgnbrSAYEwzEQo8gyFHkeYir2ZVrvB7YRM1UNt_FM9LX0Gck1aM8A$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ABCOLTKULW7SX4GYVNOUELLT36ZKHANCNFSM5AJTA5LA__;!!HXCxUKc!nKB8AlCXoIrgnbrSAYEwzEQo8gyFHkeYir2ZVrvB7YRM1UNt_FM9LX0GTyBE6y0$.

closing this issue since I think it's addressed, feel free to re-open if there's something else to discuss! 🎉


Deprecate 'Docker bridge address' field

Rancher version:
v2.7-0b2f7fa0f878c3402ddf416a5b622327949b9348-head
aks-operator:v1.1.3-rc1

Cluster Type: Downstream AKS cluster
Describe the bug
Docker Bridge CIDR field has been removed from AKS API. (Ref: https://github.com/Azure/AKS/releases/tag/2023-05-07)
The same can be deprecated from AKS operator
Found while validating https://github.com/rancher/rancher/issues/42496

After discussing the deprecation of the field with @mjura, this will have to be addressed as part of #287. We're currently using an older version of the AKS API that's still using Docker Bridge CIDR and we'll need to update this before removing the option.

The migration to the new Azure SDK is now done for the v2.9 branch. But I don't think it's worth introducing a new CRD version that does not include this field in order to deprecate it. I suggest we remove any logic that relies on this field (i.e. validation) and update the docs to reflect that this field is no longer used. I'm not sure whether this work should happen only on v2.9 or in all currently supported versions. Thoughts @mjura @salasberryfin ?

The migration to the new Azure SDK is now done for the v2.9 branch. But I don't think it's worth introducing a new CRD version that does not include this field in order to deprecate it. I suggest we remove any logic that relies on this field (i.e. validation) and update the docs to reflect that this field is no longer used. I'm not sure whether this work should happen only on v2.9 or in all currently supported versions. Thoughts @mjura @salasberryfin ?

Only for v2.9

it is done


SQL Strings with "ALTER TABLE" are not highlighted

When trying to type
"ALTER TABLE table_name ADD COLUMN column_name datatype"

the extension does not highlight the SQL string

DROP TABLE table_name

also isn't highlighted


await message.mentionSelf() It always gets false

"wechaty": "^0.56.6"
await message.mentionSelf() It always gets false

@zhihuifanqiechaodan +1
Is there any solution now?

i got same issute, it takes my for hours...

It depends on what puppet you are using. See: https://wechaty.js.org/docs/puppet-providers/
And it might also related to #2247


Switch document generation to use the snippets package

Switch document generation to use the snippets package instead of the snippets code in the Flutter repo.
This will allow the snippets package to be developed separately from the Flutter repo, and reduce the code in the Flutter repo.
The snippets code is deleted in this PR.
I also converted some comments in the snippet templates to be regular comments instead of doc comments, because having a doc comment block before the imports causes the Dart import sorter to lose the comment. They should have been regular comments in the first place.
The snippets package resides in the assets-for-api-docs repo.

Looks like luci is unhappy, though.

Yeah, LUCI, what the heck?
It's possible that it spawned too many processes too fast: I've seen that when the snippets tool takes too long, since dartdoc doesn't seem to throttle the invocation of the tools.

Yeah, LUCI, what the heck?

I was summoned  because I thought I broke something :-)
Is the expectation that we will need to increase the memory on the LUCI bots as well? IIRC we're running 8 GB for the framework VMs

Is the expectation that we will need to increase the memory on the LUCI bots as well? IIRC we're running 8 GB for the framework VMs

Yeah, we might have to. I have no idea how to change that, however.

Actually, I'm wondering if dartdoc has a bug in its tool invocation throttling. I know that if I make a snippets tool that takes a while to run, I can get my machine up to a load average of 1000 or so. This current setup doesn't do that, but maybe on a slower server it does. I'll investigate that today.

Yeah, we might have to. I have no idea how to change that, however.

If we can't get it down, sign up for go/flutter-infra-office-hours and we can discuss it more (it's more of a logistics issue)

Indeed, Dartdoc seems to not throttle non-Dart tool invocations.
Filed https://github.com/dart-lang/dartdoc/issues/2728

This PR is just waiting for the next Dartdoc release (and bump in the Flutter repo) to pick up the concurrency fix that is causing the OOM failure in the tests here.


Added support for a fully qualified SNS topic via ARN.

Added support for providing the full resource ARN to an existing SNS topic.  This allows the function to subscribe to a topic across regions and/or across accounts (permission permitting.)

Coverage decreased (-2.8%) to 88.136% when pulling 0cb104ff7fbf6a6b23d1e8834bfca74e6ef3641f on leaplegal:feature/support_full_arn_topic into da2671021eb4153bd67de73499f30f6d71c0455d on silvermine:master.

Coverage decreased (-1.08%) to 89.831% when pulling 280e70b1f11413a944ddc8e67fdf2381b5e64fc4 on leaplegal:feature/support_full_arn_topic into da2671021eb4153bd67de73499f30f6d71c0455d on silvermine:master.

Coverage increased (+1.2%) to 92.063% when pulling 6f860a70f89e201ebabc9364ee0690f799d5248e on leaplegal:feature/support_full_arn_topic into da2671021eb4153bd67de73499f30f6d71c0455d on silvermine:master.

Coverage increased (+1.2%) to 92.063% when pulling fdd0ae63cb180c02a983ed389271fbf136ce8a77 on leaplegal:feature/support_full_arn_topic into da2671021eb4153bd67de73499f30f6d71c0455d on silvermine:master.

Coverage increased (+1.2%) to 92.063% when pulling fdd0ae63cb180c02a983ed389271fbf136ce8a77 on leaplegal:feature/support_full_arn_topic into da2671021eb4153bd67de73499f30f6d71c0455d on silvermine:master.

Sorry about all the superfluous coverall failures.  It took me a few goes to get the tests right.  But I did squash the extra commits into a single one.

Hello! I wanted to "vote" for the review and merge of this feature if all is found to be working. Being able to pass a public SNS topic ARN would be great. If there's already a way to do that and there's an example that could be referenced, I would appreciate it. Thanks!


Firezone interface and firewall rules don't persist after reboot

As reported in #283, the wg-firezone interface and firezone netfilter table don't persist after a reboot.
Firezone should check to ensure these are enabled and configured properly on application startup.

This feature is mostly expected by me. Yesterday accidentally rebooted the server and had to uninstall and install Firezone again. Number 2 is the possibility to set custom DNS server in config/disable it.
Hope to see these features soon.