text:
fixed sample

Put replay buffer sample into internal function for all sample code to use and removes augmentation for next_obs for SVEA because if I understand the paper correctly it should not be augmented.

Thanks! I have merged the proposed changes into main.

authors: DexiongYung nicklashansen


text:
模型训练出错

请问模型训练中需要的labels.json是怎么生成的？

执行tools/collect_labels.py
该程序会搜集origin目录里面的标签字符串

source: gharchive/issue

authors: ChenDuxiunotset nickliqian

license_type: permissive

license_source: github-api


text:
Update jquery-accessible-tabs.js to disable a tab

So I can make a tab disabled.
ex:
[aria-disabled="true"], [aria-disabled="true"]:hover{
  background-color: #ddd;
  color: #666;
  cursor: not-allowed;
}

Hi @gdurelle ,
sorry for the response time, I was sick. This is a good idea, I did not think to this feature.
However, it needed some more updates (for keyboard management, selection of first tab, etc.). I'm going to commit them in a few minutes.
See you,
Nicolas

Here are updates : https://github.com/nico3333fr/jquery-accessible-tabs-aria/commit/c0f4d15d65b237cf4cef009a796f99fdd5bf9840
Thanks and see you ;)

Thank you. amazing work on accessible components, I try use them every time I can.

@gdurelle if you have examples of plugins used, do not hesitate to share, I try to make a simple list of where they have been used :)

source: gharchive/pull-request

license: mit

license_source: bigquery


text:
Not all hubs are loaded

Describe the bug
Hello @nicoduj I have today a third Harmony Hub in operation. This I wanted to have now added to config.json. After a restart home bridge-harmony, the "Sz Harmonyhub" is no longer loaded but the new hub in the nursery "Kz Harmonyhub".
I think my config is correct or?. I hope you can help me?
Screenshots

Config
{
"bridge": {
"name": "homebridge-harmony",
"username" : "xxxxx",
"port" : xxxx,
"pin": "xxxxxxx,
"manufacturer": "xxxxxx",
"model": "Ak-SHS-1",
"advertiser": "avahi",
"bind": ["eth0"]
},
"plugins": [
"homebridge-harmony"
],
"accessories": [
],
"platforms": [
{
"platform": "HarmonyHubWebSocket",
"name": "Wz Harmonyhub",
"hubIP": "192.168.178.52",
"showCommandsAtStartup" : "false",
"showTurnOffActivity": "false",
"TVAccessory" : "false",
"switchAccessories" : "true",
"publishSwitchActivitiesAsIndividualAccessories": "false",
"addAllActivitiesToSkippedIfSameStateActivitiesList": "true",
"mainActivity" : "TV",
"devicesToPublishAsAccessoriesSwitch": [
],
"otherPlatforms": [{
"name": "Sz Harmonyhub",
"hubIP": "192.168.178.53",
"showCommandsAtStartup" : "false",
"showTurnOffActivity": "false",
"TVAccessory" : "false",
"switchAccessories" : "true",
"publishSwitchActivitiesAsIndividualAccessories": "true",
"addAllActivitiesToSkippedIfSameStateActivitiesList": "true",
"mainActivity" : "TV",
"devicesToPublishAsAccessoriesSwitch": [
]
}
],
"otherPlatforms": [{
"name": "Kz Harmonyhub",
"hubIP": "192.168.178.116",
"showCommandsAtStartup" : "false",
"showTurnOffActivity": "false",
"TVAccessory" : "false",
"switchAccessories" : "true",
"publishSwitchActivitiesAsIndividualAccessories": "true",
"addAllActivitiesToSkippedIfSameStateActivitiesList": "true",
"mainActivity" : "TV",
"devicesToPublishAsAccessoriesSwitch": [
]
}
]
}
]
}

There was an error in my config.json after all. Thanks anyway!
Here is the solution maybe it helps someone else .-)
{
"bridge": {
"name": "homebridge-harmony",
"username" : "",
"port" : ,
"pin": "",
"manufacturer": "@",
"model": "Ak-SHS-1",
"advertiser": "avahi",
"bind": ["eth0"]
},
"plugins": [
"homebridge-harmony"
],
"accessories": [
],
"platforms": [
{
"platform": "HarmonyHubWebSocket",
"name": "Wz Harmonyhub",
"hubIP": "192.168.178.52",
"showCommandsAtStartup" : "false",
"showTurnOffActivity": "false",
"TVAccessory" : "false",
"switchAccessories" : "true",
"publishSwitchActivitiesAsIndividualAccessories": "false",
"addAllActivitiesToSkippedIfSameStateActivitiesList": "true",
"mainActivity" : "TV",
"devicesToPublishAsAccessoriesSwitch": [
],
"otherPlatforms": [{
"name": "Sz Harmonyhub",
"hubIP": "192.168.178.53",
"showCommandsAtStartup" : "false",
"showTurnOffActivity": "false",
"TVAccessory" : "false",
"switchAccessories" : "true",
"publishSwitchActivitiesAsIndividualAccessories": "true",
"addAllActivitiesToSkippedIfSameStateActivitiesList": "true",
"mainActivity" : "TV",
"devicesToPublishAsAccessoriesSwitch": [
]
},
{
"name": "Kz Harmonyhub",
"hubIP": "192.168.178.116",
"showCommandsAtStartup" : "false",
"showTurnOffActivity": "false",
"TVAccessory" : "false",
"switchAccessories" : "true",
"publishSwitchActivitiesAsIndividualAccessories": "true",
"addAllActivitiesToSkippedIfSameStateActivitiesList": "true",
"mainActivity" : "TV",
"devicesToPublishAsAccessoriesSwitch": [
]
}
]
}
]
}

repo: nicoduj/homebridge-harmony

license: Unlicense


text:
Secure contact way

Display my public key.
Maybe a link to keybase.io/nicobo ?

Done with 1df249e


text:
"ReferenceError: regeneratorRuntime is not defined" after making the tutorial

Hi,
I am stuck. I did make the Tic Tac Toe tutorial but I dont get the Bot running. There comes up an Reference Error. I compared my code to CodeSandBox and there were a dev dependency for babel. I think that has to do with the error, but it did not fix my problem. Can anyone help me please?

Hi @Buzzele is this the React or the Plain JS tutorial?
regeneratorRuntime is a package that converts async functions for compatibility with old browsers, so it could be that your build is trying to do that for some reason, but not including the required module.
If you’re following the plain JS tutorial, you can explicitly declare that you don’t want to support old browsers with a browserslist field in package.json:
"browserslist": "> 0.4% and not ie 11"

This works like a charm! Thank you. Perhaps this could be added to the tutorial? Just to be safe for beginners like me. Now I am eager to dive deeper in boardgame.io.

authors: Buzzele delucis

license: MIT


text:
Can´t activate Alarm

Alarmo Version
v1.9.10
HA Version
2023.7.2
Bug description
I cannot activate the alarm. When I try to do this, the inactive button remains grayed out.
With the standard manual alarm control of Home Assistant this works without problems.
I don't know what the problem is and I haven't found any error messages in the log file.
Steps to reproduce
Reinstall
Relevant log output
nothing found

I have the same problem.
For me it seems to be caused by the state of some sensors. Apparently they are not in a desired state for the alarm to activate. These binary_sensors represent the state of the doors and their state seems to be inverted in HA.
So HA thinks the door is 'open' and therefore does not want to activate the alarm.
When I remove the door sensors and just have the motion sensors, the alarm is able to arm.
Luckily it's simpel for me to invert these sensors since they are KNX sensors and the KNX Binary sensor has an 'invert: true' option.
After adding this to all door sensors, and I had to unlock, open, close, lock the doors for HA to get the correct status, then I was able to arm the alarm and when opening a door the alarm was triggered.

@Romero-KCBS2003 This doesn't look like a valid bug report to me.
Consider to install the alarmo-card or set up a notification for 'failed to arm' event, both ways will let you know what's wrong.
This is not the right place to ask for support on how to set up alarmo.

authors: Romero-KCBS2003 diversit nielsfaber

repo: nielsfaber/alarmo


text:
Do you have any plans to support asp.net core?

Hi,
Thank you for the interesting project I just wonder to know if you plan to support asp.net core version?

I will investigate upon release of .NET Core 2.0 (currently in preview 2).

I'm going to try and make this one happen now :-)

There is another similar extension https://github.com/BenasJacikas/swashbuckle-flow-extension-core

Any update on this? Some versions released meanwhile. Is it up for grab?

Any update on this?

There is another similar extension https://github.com/BenasJacikas/swashbuckle-flow-extension-core

This package does not contain x-ms-trigger

I laid some basic foundation for ASP.NET Core support - https://github.com/NETWORG/TRex, there are some things missing and not working yet, but I got it to more or less import to Logic Apps as connector.

authors: AiHaibara RFlipper hajekj nihaue skalahonza

repo: nihaue/TRex


text:
[1/X] Enforce user login before commenting and add user email to comment using login status.

Currently, the user has to type in their email when submitting a comment. In this change, we force the user to log in before they can post a comment by hiding the comment form unless they login. Additionally, the email that is displayed for the comment is retrieved using the Authentication API after sign such that the user does not have to type their email when submitting a comment.

I will make use of CommonUtils.java on the next PR after I merge the last PR and the current PR since the last PR has the refactoring of common methods into CommonUtils.java.

repo: nikhitashanker/step-portfolio


text:
Looking to call exec-and-forget with parameters

I'd like to be able to start my terminal app (kitty in my case) with some parameters.
alt-semicolon = 'exec-and-forget open -n /Applications/kitty.app/Contents/MacOS/kitty --single-instance --instance-group=main'
Opening up a bunch of terminals fills up the dock, but kitty has the option of making new windows come up under the same instance. I'm sure there could be other use cases for this. I had tried doing this through a script, but it was opening up a Terminal.app to start kitty, but I'm probably just unaware of how to do this in MacOS.

Yup, just me not understanding MacOS. Nothing to see here...
alt-semicolon = 'exec-and-forget /Applications/kitty.app/Contents/MacOS/kitty --single-instance --instance-group=main'
I noticed something like this might work by reading the deprecated section for exec-and-wait in the commands docs, might be worth a note, but probably just me.

repo: nikitabobko/AeroSpace


text:
Going full screen swaps side by side windows

Hi, I noticed a problem on side by side windows after going full screen with one of them.
Basically, I started with the video on the left, went full screen, pressed esc, and the original placement swapped.

Initial state

Full Screen on the video

Press esc

It is by design
When you fullscreen the window, the window detaches from the tree. When you exit fullscreen, the window attaches back to the tree
When the window attaches back to the tree, we need to find the position where to attach it. The current algorithm is to attach it after the most recently used window in the tree
In general case, after you detach window from the tree, the tree could be changed in an unpredictable way, so when you want to attach the window back, there is such thing as "windows previous position", the tree has changed
In version 0.8.x, AeroSpace didn't detached and attached windows but kept fullscreen windows in the tree. Keeping the windows in the tree leads to phantom "holes" in the tree. See #18

Oh I see, thank you for the quick response!

I second this. It's not very nice when you transform your browser to be at a certain position + of a certain size and then lose all that by simply fullscreening a video.

authors: bndkkmn nikitabobko tomfran


text:
14 destructured objects

WIP
Closes #14

Thanks for your PR. As I've commented I think this is something worth supporting if the bundle size increase is manageable.
However, I'd ask you do a couple of things:

Do not separate existing and new tests (what is the benefit)?
Clearly and thoroughly test different cases

Semantics of mixed $inject and destructuring logic
Nested destructuring

Cover default values
Do not mix general documentation improvements and object destructuring
Works for all standard destructuring cases (including newlines, default values, argument renaming). I believe without that the implementation is too fragile to be merged.

Closing due to inactivity.

authors: basejump nikku

repo: nikku/didi


text:
An issue with Arabic punctuation marks

There is an issue with the Arabic punctuation mark, as its location is incorrect, as in the following picture:
https://imgur.com/AsYfDej
orignal text
قال الله تعالى: { أَفَحَسِبْتُمْ أَنَّمَا خَلَقْنَاكُمْ عَبَثًا وَأَنَّكُمْ إِلَيْنَا لَا تُرْجَعُونَ ﴿١١٥﴾ فَتَعَالَى اللَّهُ الْمَلِكُ الْحَقُّ ۖ لَا إِلَٰهَ إِلَّا هُوَ رَبُّ الْعَرْشِ الْكَرِيمِ ﴿١١٦﴾ وَمَن يَدْعُ مَعَ اللَّهِ إِلَٰهًا آخَرَ لَا بُرْهَانَ لَهُ بِهِ فَإِنَّمَا حِسَابُهُ عِندَ رَبِّهِ ۚ إِنَّهُ لَا يُفْلِحُ الْكَافِرُونَ ﴿١١٧﴾ وَقُل رَّبِّ اغْفِرْ وَارْحَمْ وَأَنتَ خَيْرُ الرَّاحِمِينَ ﴿١١٨﴾ }صدق الله العظيم [المؤمنون].

☹

I am having a similar issue, Does anyone have a fix for this?

Fixed

Fixed

authors: evisat naseemln


text:
Fixed issue

Description
Fix issue

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects. Just click here to find more. These projects contain real issues that you can help resolve. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!

authors: nikohoffren umutonuryasar

repo: nikohoffren/fork-commit-merge


text:
ODBC header files: how to install them and make a new image

I dont have ODBC header files on your machine.
I need to install
sudo apt install unixodbc-dev
But how to rebuild the image with this

I dont have ODBC header files on your machine.
I need to install
sudo apt install unixodbc-dev
But how to rebuild the image with this

Hey! You need to build your own image and use this as a base image, f.ex using the latest tag:
Dockerfile:
FROM nikolaik/python-nodejs:latest
RUN sudo apt-get install unixodbc-dev

If you create a github repo with something similar to the above Dockerfile you can let Docker Hub keep it up to date for you with automated builds.
You can read more here and here.

repo: nikolaik/docker-python-nodejs


text:
Add Binance exchange

Not a Python guy but here is my try on adding Binance exchange :smiley:

Merged with thanks :) Made a small change because of the IOTA name discrepancy (IOT/IOTA).

authors: bluppfisk taskula

repo: nilgradisnik/coinprice-indicator


text:
Website is not looking good in mobile View and toggle is also not working

🐛 Bug Report
(A clear and concise description of what the bug is.)
Website is not looking good in mobile View and toggle is also not working it needs modification as its looking ugly in other devices except Desktop View
Add relevant screenshot or video (if any)
(Add here)

will you please assign me this @nilisha-jais  under LGM-soc'21

Assigned @Kartikey0205 , go ahead.

repo: nilisha-jais/Musicophilia


text:
Updated README.md File

Description
As assigned, I have made the README.md file in a more captivating way.
Checklist

[x] I am making a proper pull request, not a spam.
[x] I've checked the issue list before deciding what to submit.

Related Issues or Pull Requests
#96
Add relevant screenshot or video (if any)

Hey @nilisha-jais ,
Kindly Review my PR as soon as possible !

Hey @niloysikdar ,
Kindly Review my PR !


text:
Add build cache

Test PR to add a build cache

Codecov Report

Merging #15 into feature/like-operator will not change coverage.
The diff coverage is n/a.

@@                  Coverage Diff                   @@
##           feature/like-operator      #15   +/-   ##
======================================================
  Coverage                  76.04%   76.04%
======================================================
  Files                         24       24
  Lines                        643      643
======================================================
  Hits                         489      489
  Misses                       154      154

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 b2ac2e8...cac384b. Read the comment docs.

authors: codecov-commenter nils-braun

repo: nils-braun/dask-sql


text:
bug with adaptInterval=1 for RW_block

It runs (which I was thinking it might not because of 1-d vs 2-d allocation for the samples saved for calculating the covariance), but in a simple example, there are no acceptances. @danielturek or I should look into for 1.3.0 release.
code <- nimbleCode({
    y[1:2] ~ dmnorm(z[1:2],pr[1:2,1:2])
})
m <- nimbleModel(code, inits = list(z=rep(0,2), pr=diag(2)))
m$y = rnorm(2)

conf  <- configureMCMC(m, nodes=NULL)
conf$addSampler(target='y', type='RW_block', control = list(adaptInterval=1))
mcmc <- buildMCMC(conf)
cm <- compileNimble(m)
cmcmc <- compileNimble(mcmc,project=m)
cmcmc$run(1000)
tmp=as.matrix(cmcmc$mvSamples)

@paciorek The issue is essentially, when RW_block sampler estimates the empirical covariance from the recent samples (specifically, using the samples collected during the most recent adaptation period), that estimation of a 2nd order statistic (variance-covariance matrix) will fail when there's only 1 sample in each adaptation period (when adaptInterval = 1).
Looking the the code for the RW_block sampler, this problem manifests itself around line 745 or so, when first the "centering" of the empircal samples (here, a single sample), centers them to become all zero:
empirSamp[, i] <<- empirSamp[, i] - mean(empirSamp[, i])

and then worse, when it divides by $n-1$, or here timesRan-1, that's dividing by 0, which seems to give NaN, or something similar, and then the chol fails, and I guess it's downhill from there.
Maybe we could restrict adaptInterval to be at least 2?  Or, set adaptScaleOnly = TRUE in the case when adaptInterval = 1, so that no adaptation of the proposal covariance happens?  Or, modify the RW_block sampler it always uses more than 1 sample for this estimation?  Just ideas..

authors: danielturek paciorek

repo: nimble-dev/nimble


text:
Warnings in HA Core log on startup

System Health details
System Information

version
core-2024.5.4

installation_type
Home Assistant OS

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.12.2

os_name
Linux

os_version
6.6.29-haos

arch
x86_64

timezone
Australia/Sydney

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

GitHub API Calls Remaining
4882

Installed Version
1.34.0

Stage
running

Available Repositories
1462

Downloaded Repositories
15

Home Assistant Cloud

logged_in
true

subscription_expiration
3 June 2024 at 10:00 am

relayer_connected
true

relayer_region
ap-southeast-1

remote_enabled
true

remote_connected
true

alexa_enabled
false

google_enabled
false

remote_server
ap-southeast-1-1.ui.nabu.casa

certificate_status
ready

instance_id
5ed6a2304786423a8e093715817678d7

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Home Assistant OS 12.3

update_channel
stable

supervisor_version
supervisor-2024.05.1

agent_version
1.6.0

docker_version
25.0.5

disk_total
62.3 GB

disk_used
33.8 GB

healthy
true

supported
true

board
ova

supervisor_api
ok

version_api
ok

installed_addons
File editor (5.8.0), Samba share (12.3.1), Terminal & SSH (9.14.0), Mosquitto broker (6.4.0), Node-RED (17.0.12), Rhasspy Assistant (2.5.11), openWakeWord (1.10.0), Whisper (2.0.0), Piper (1.5.0), ESPHome (2024.5.0), Music Assistant BETA (2.1.0b0)

Dashboards

dashboards
2

resources
8

views
7

mode
storage

Recorder

oldest_recorder_run
9 May 2024 at 10:54 pm

current_recorder_run
20 May 2024 at 9:47 am

estimated_db_size
426.37 MiB

database_engine
sqlite

database_version
3.44.2

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

Describe the issue
I have noticed two errors on startup in the HA Core log which seem to come from chime.tts.  I don't know if they are expected, or might be related to other issues I am experiencing (recently reported in separate issues by other users), so I am raising them separately.
To aid debugging I have done a reinstall, using the v1.1.0.beta6 and tried to turn debugging on (in configuration.yaml - not sure if successful).
Detected blocking call to import_module with args ('custom_components.chime_tts',) in /usr/src/homeassistant/homeassistant/loader.py, line 1041: ComponentProtocol, importlib.import_module(self.pkg_path) inside the event loop
/usr/local/lib/python3.12/asyncio/base_events.py:1989: RuntimeWarning: coroutine 'ChimeTTSQueueManager.queue_processor' was never awaited handle = None # Needed to break cycles when an exception occurs.
Reproduction steps

installed ChimeTTS v1.1.0-beta6
rebooted HA
look in Home Assistant Core log

Debug logs
2024-05-20 10:07:49.665 WARNING (SyncWorker_6) [homeassistant.loader] We found a custom integration mass which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-05-20 10:07:49.665 WARNING (SyncWorker_6) [homeassistant.loader] We found a custom integration nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-05-20 10:07:49.665 WARNING (SyncWorker_6) [homeassistant.loader] We found a custom integration chime_tts which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-05-20 10:07:49.666 WARNING (SyncWorker_6) [homeassistant.loader] We found a custom integration zha_toolkit which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-05-20 10:07:49.667 WARNING (SyncWorker_6) [homeassistant.loader] We found a custom integration tuya_local which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-05-20 10:07:49.667 WARNING (SyncWorker_6) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-05-20 10:07:49.668 WARNING (SyncWorker_6) [homeassistant.loader] We found a custom integration bureau_of_meteorology which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-05-20 10:07:50.773 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from rhasspy-0 (192.168.1.86). Requested URL: '/media/local/sounds/temp/chime_tts/cover.png'. (Music Player Daemon 0.21.5)
2024-05-20 10:07:50.813 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from rhasspy-0 (192.168.1.86). Requested URL: '/media/local/sounds/temp/chime_tts/cover.jpg'. (Music Player Daemon 0.21.5)
2024-05-20 10:07:50.841 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from rhasspy-0 (192.168.1.86). Requested URL: '/media/local/sounds/temp/chime_tts/cover.tiff'. (Music Player Daemon 0.21.5)
2024-05-20 10:07:50.942 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from rhasspy-0 (192.168.1.86). Requested URL: '/media/local/sounds/temp/chime_tts/cover.bmp'. (Music Player Daemon 0.21.5)
2024-05-20 10:07:51.689 DEBUG (ImportExecutor_0) [custom_components.chime_tts.queue_manager] Queue reset
2024-05-20 10:07:51.690 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module with args ('custom_components.chime_tts',) in /usr/src/homeassistant/homeassistant/loader.py, line 1041: ComponentProtocol, importlib.import_module(self.pkg_path) inside the event loop
2024-05-20 10:07:51.691 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Queue reset
2024-05-20 10:07:51.692 INFO (MainThread) [custom_components.chime_tts] The Chime TTS integration is set up.
2024-05-20 10:07:51.692 DEBUG (MainThread) [custom_components.chime_tts] Chime TTS Configuration Values:
2024-05-20 10:07:51.692 DEBUG (MainThread) [custom_components.chime_tts]  - queue_timeout: 60
2024-05-20 10:07:51.692 DEBUG (MainThread) [custom_components.chime_tts]  - tts_platform: ''
2024-05-20 10:07:51.692 DEBUG (MainThread) [custom_components.chime_tts]  - offset: 0
2024-05-20 10:07:51.692 DEBUG (MainThread) [custom_components.chime_tts]  - fade_transition: 500
2024-05-20 10:07:51.692 DEBUG (MainThread) [custom_components.chime_tts]  - temp_chimes_path: '/media/sounds/temp/chime_tts/chimes/'
2024-05-20 10:07:51.692 DEBUG (MainThread) [custom_components.chime_tts]  - temp_path: '/media/sounds/temp/chime_tts/'
2024-05-20 10:07:51.692 DEBUG (MainThread) [custom_components.chime_tts]  - www_path: '/config/www/chime_tts/'
2024-05-20 10:07:51.692 DEBUG (MainThread) [custom_components.chime_tts]  - media_dir: 'local'
2024-05-20 10:07:51.692 DEBUG (MainThread) [custom_components.chime_tts]  - custom_paths:
2024-05-20 10:07:51.692 DEBUG (MainThread) [custom_components.chime_tts]    - custom_chime_path_1:
2024-05-20 10:07:51.692 DEBUG (MainThread) [custom_components.chime_tts]    - custom_chime_path_2:
2024-05-20 10:07:51.692 DEBUG (MainThread) [custom_components.chime_tts]    - custom_chime_path_3:
2024-05-20 10:07:51.692 DEBUG (MainThread) [custom_components.chime_tts]    - custom_chime_path_4:
2024-05-20 10:07:51.692 DEBUG (MainThread) [custom_components.chime_tts]    - custom_chime_path_5:
2024-05-20 10:07:51.696 WARNING (MainThread) [py.warnings] /usr/local/lib/python3.12/asyncio/base_events.py:1989: RuntimeWarning: coroutine 'ChimeTTSQueueManager.queue_processor' was never awaited
  handle = None  # Needed to break cycles when an exception occurs.

2024-05-20 10:07:52.466 WARNING (MainThread) [homeassistant.components.switch] Platform broadlink not ready yet: None; Retrying in background in 30 seconds
2024-05-20 10:07:52.658 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/mashumaro/core/meta/types/unpack.py:182: UserWarning: music_assistant.common.models.config_entries.ConfigValueOption.value (typing.Union[str, int, float, bool, tuple[int, int], list[str], list[int], list[tuple[int, int]], None]): In the next release, data marked with Union type containing 'str' and 'bool' will be coerced to the value of the type specified first instead of passing it as is
  warnings.warn(

2024-05-20 10:07:52.665 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/mashumaro/core/meta/types/unpack.py:182: UserWarning: music_assistant.common.models.config_entries.ConfigEntry.default_value (typing.Union[str, int, float, bool, tuple[int, int], list[str], list[int], list[tuple[int, int]], None]): In the next release, data marked with Union type containing 'str' and 'bool' will be coerced to the value of the type specified first instead of passing it as is
  warnings.warn(

2024-05-20 10:07:52.670 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/mashumaro/core/meta/types/unpack.py:182: UserWarning: music_assistant.common.models.config_entries.ConfigEntry.value (typing.Union[str, int, float, bool, tuple[int, int], list[str], list[int], list[tuple[int, int]], None]): In the next release, data marked with Union type containing 'str' and 'bool' will be coerced to the value of the type specified first instead of passing it as is
  warnings.warn(

2024-05-20 10:07:52.802 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-05-20 10:08:49.801 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('kodi', '75d3cbc3e2f4cf6023378ecd2522995c'): 2998.11789393}
2024-05-20 10:09:49.859 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('kodi', '75d3cbc3e2f4cf6023378ecd2522995c'): 2998.11789393}
2024-05-20 10:10:05.016 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.helpers.event. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from event directly at custom_components/hacs/base.py, line 630: self.hass.helpers.event.async_track_time_interval(, please create a bug report at https://github.com/hacs/integration/issues
2024-05-20 10:12:24.267 WARNING (MainThread) [homeassistant.components.kodi.media_player] Unable to connect to Kodi via websocket

Diagnostics dump
where do I find the diagnostics dump ?

I have similar warnings  on startup.
HAOS 2024.5.5
Chime TTS v1.1.0-beta6
2024-05-25 12:29:59.675 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module with args ('custom_components.chime_tts',) in /usr/src/homeassistant/homeassistant/loader.py, line 1046: ComponentProtocol, importlib.import_module(self.pkg_path) inside the event loop
2024-05-25 12:29:59.681 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=chime_tts, service=say>
2024-05-25 12:29:59.682 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=chime_tts, service=say_url>
2024-05-25 12:29:59.682 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=chime_tts, service=clear_cache>
2024-05-25 12:29:59.683 WARNING (MainThread) [py.warnings] /usr/local/lib/python3.12/asyncio/base_events.py:1989: RuntimeWarning: coroutine 'ChimeTTSQueueManager.queue_processor' was never awaited
  handle = None  # Needed to break cycles when an exception occurs.

2024-05-25 12:29:59.701 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=chime_tts>

I have released a new version, v1.1.0-beta10, which should address the issue.

I don't know if this is related, but after updating HA version 2024.6 and updating Chime 1.1.0-beta10, I get errors every time I activate voice notification
Logger: homeassistant.util.loop
Zdroj: util/loop.py:84
První výskyt: 20:00:01 (18 výskyty)
Naposledy logováno: 21:00:05

Detected blocking call to open inside the event loop by custom integration 'chime_tts' at custom_components/chime_tts/helpers/filesystem.py, line 157: audio.export(audio_full_path, format="mp3") (offender: /usr/local/lib/python3.12/site-packages/pydub/audio_segment.py, line 962: with open(os.devnull, 'rb') as devnull:), please create a bug report at https://github.com/nimroddolev/chime_tts/issues Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/config/custom_components/chime_tts/queue_manager.py", line 38, in async_process_queue result = await asyncio.wait_for( File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for return await fut File "/config/custom_components/chime_tts/__init__.py", line 161, in async_say_execute return await async_prepare_media(hass, params, options, media_players_array, is_say_url, start_time) File "/config/custom_components/chime_tts/__init__.py", line 255, in async_prepare_media audio_dict = await async_get_playback_audio_path(params, options) File "/config/custom_components/chime_tts/__init__.py", line 695, in async_get_playback_audio_path output_audio = await async_process_segments(hass, File "/config/custom_components/chime_tts/__init__.py", line 916, in async_process_segments tts_audio = helpers.change_speed_of_audiosegment(tts_audio, segment_tts_speed, temp_folder) File "/config/custom_components/chime_tts/helpers/helpers.py", line 506, in change_speed_of_audiosegment return self.ffmpeg_convert_from_audio_segment(audio_segment=audio_segment, File "/config/custom_components/chime_tts/helpers/helpers.py", line 358, in ffmpeg_convert_from_audio_segment temp_audio_file = filesystem_helper.save_audio_to_folder(audio=audio_segment, File "/config/custom_components/chime_tts/helpers/filesystem.py", line 157, in save_audio_to_folder audio.export(audio_full_path, format="mp3")
Detected blocking call to open inside the event loop by custom integration 'chime_tts' at custom_components/chime_tts/helpers/helpers.py, line 374: ret_val = AudioSegment.from_file(str(converted_audio_file)) (offender: /usr/local/lib/python3.12/site-packages/pydub/utils.py, line 60: fd = open(fd, mode=mode)), please create a bug report at https://github.com/nimroddolev/chime_tts/issues Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/config/custom_components/chime_tts/queue_manager.py", line 38, in async_process_queue result = await asyncio.wait_for( File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for return await fut File "/config/custom_components/chime_tts/__init__.py", line 161, in async_say_execute return await async_prepare_media(hass, params, options, media_players_array, is_say_url, start_time) File "/config/custom_components/chime_tts/__init__.py", line 255, in async_prepare_media audio_dict = await async_get_playback_audio_path(params, options) File "/config/custom_components/chime_tts/__init__.py", line 695, in async_get_playback_audio_path output_audio = await async_process_segments(hass, File "/config/custom_components/chime_tts/__init__.py", line 916, in async_process_segments tts_audio = helpers.change_speed_of_audiosegment(tts_audio, segment_tts_speed, temp_folder) File "/config/custom_components/chime_tts/helpers/helpers.py", line 506, in change_speed_of_audiosegment return self.ffmpeg_convert_from_audio_segment(audio_segment=audio_segment, File "/config/custom_components/chime_tts/helpers/helpers.py", line 374, in ffmpeg_convert_from_audio_segment ret_val = AudioSegment.from_file(str(converted_audio_file))
Detected blocking call to open inside the event loop by custom integration 'chime_tts' at custom_components/chime_tts/helpers/filesystem.py, line 144: audio.export(audio_full_path, format="mp3") (offender: /usr/local/lib/python3.12/site-packages/pydub/utils.py, line 60: fd = open(fd, mode=mode)), please create a bug report at https://github.com/nimroddolev/chime_tts/issues Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/config/custom_components/chime_tts/queue_manager.py", line 38, in async_process_queue result = await asyncio.wait_for( File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for return await fut File "/config/custom_components/chime_tts/__init__.py", line 161, in async_say_execute return await async_prepare_media(hass, params, options, media_players_array, is_say_url, start_time) File "/config/custom_components/chime_tts/__init__.py", line 255, in async_prepare_media audio_dict = await async_get_playback_audio_path(params, options) File "/config/custom_components/chime_tts/__init__.py", line 717, in async_get_playback_audio_path new_audio_file = filesystem_helper.save_audio_to_folder(output_audio, _data.get(initial_save_folder_key, None)) File "/config/custom_components/chime_tts/helpers/filesystem.py", line 144, in save_audio_to_folder audio.export(audio_full_path, format="mp3")
Detected blocking call to open inside the event loop by custom integration 'chime_tts' at custom_components/chime_tts/helpers/filesystem.py, line 144: audio.export(audio_full_path, format="mp3") (offender: /usr/local/lib/python3.12/site-packages/pydub/audio_segment.py, line 962: with open(os.devnull, 'rb') as devnull:), please create a bug report at https://github.com/nimroddolev/chime_tts/issues Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/config/custom_components/chime_tts/queue_manager.py", line 38, in async_process_queue result = await asyncio.wait_for( File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for return await fut File "/config/custom_components/chime_tts/__init__.py", line 161, in async_say_execute return await async_prepare_media(hass, params, options, media_players_array, is_say_url, start_time) File "/config/custom_components/chime_tts/__init__.py", line 255, in async_prepare_media audio_dict = await async_get_playback_audio_path(params, options) File "/config/custom_components/chime_tts/__init__.py", line 717, in async_get_playback_audio_path new_audio_file = filesystem_helper.save_audio_to_folder(output_audio, _data.get(initial_save_folder_key, None)) File "/config/custom_components/chime_tts/helpers/filesystem.py", line 144, in save_audio_to_folder audio.export(audio_full_path, format="mp3")
Detected blocking call to open inside the event loop by custom integration 'chime_tts' at custom_components/chime_tts/__init__.py, line 733: duration = len(AudioSegment.from_file(new_audio_file)) / 1000.0 (offender: /usr/local/lib/python3.12/site-packages/pydub/utils.py, line 60: fd = open(fd, mode=mode)), please create a bug report at https://github.com/nimroddolev/chime_tts/issues Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/config/custom_components/chime_tts/queue_manager.py", line 38, in async_process_queue result = await asyncio.wait_for( File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for return await fut File "/config/custom_components/chime_tts/__init__.py", line 161, in async_say_execute return await async_prepare_media(hass, params, options, media_players_array, is_say_url, start_time) File "/config/custom_components/chime_tts/__init__.py", line 255, in async_prepare_media audio_dict = await async_get_playback_audio_path(params, options) File "/config/custom_components/chime_tts/__init__.py", line 733, in async_get_playback_audio_path duration = len(AudioSegment.from_file(new_audio_file)) / 1000.0

Thank you @pepe59. I have found and fixed these issues and they'll be part of the next release.
Do you experience any issues as a result of these warnings?

No there are no problems just these warnings in the HA log.
Thank you for a great component works perfectly.

Thank you 🙏 I’m glad to hear it’s working well for you!
I just released another beta version, v1.1.0-beta11, which includes fixes for the cause of the warnings you shared.

I can confirm that the warning issue is fixed v1.1.0-beta11.
Thanks

same problems for me... how to change the HACS repo to use latest beta? I'm on 1.0.0

confirm working on 1.1.0-beta13

The fix has been included in the latest stable release, v1.1.0.


text:
how to stop installation 32 bit OS

In MSI i am able to restrict to install the software in 32 bit OS,
Question : I am using bundle setup. Want to stop the installation when bundle setup exe launched. Is it possible?

The restriction is not directly part of this extensions :)
Please check the Wix documentation and corresponding method in Wixsharp library.
You can either wirte your own custom action, or maybe some more elegant solution is available, too.
...

class MyCustomAction : CustomAction, ILoadAware
{
    public void OnLoad(SetupEventArgs e)
    {
       // TODO: check OS version using .NET method (Environment.Is64BitOperatingSystem) or access the "e" argument properties.
    }
}

authors: saiprabhur yurislav

repo: ninedigit/wixsharpextensions


text:
PR requested: boost::numeric_cast<> type function

See discussion here: https://github.com/ninja-build/ninja/pull/1671#discussion_r345972221

I don't think we have enough casts where this matters. For the few where it does, an assert should be enough.
(I've updated my comment in the PR, the "Yes :)" was directed at the assert)

authors: jhasse jonesmz

repo: ninja-build/ninja


text:
MST++ Inference with dataset ARAD_1K

MST++ Inference with dataset ARAD_1K

Please fix errors to merge, ASAP!

Yesterday you merged it.

Yesterday you merged it.

Please submit your progress today too!

repo: ninjalabo/hsicomp


text:
Handle private repo depencies properly

Good idea for a project, @ninoseki .
Could you add a feature to properly handle private repo dependencies so that
[tool.poetry.dependencies]
bingo-kit = {git = "git@github.com:bongo/bingo.git"}

becomes
dependencies = [
    "bingo-kit>=2.7",
    ...
]

[tool.uv.sources]
bingo-kit = { git = "ssh://git@github.com/bongo/bingo.git" }

?
Here's ChatGPT tackling the issue, in case that helps...
Understood, thank you for the clarification. You want to modify the bukowski tool so that it properly handles private Git repositories specified via SSH URLs in your pyproject.toml, and transforms them into the appropriate format for UV.
Here's what you have:
Input (pyproject.toml):
[tool.poetry.dependencies]
bingo-kit = {git = "git@github.com:bongo/bingo.git"}

Desired Output (UV format):
dependencies = [
    "bingo-kit>=2.7",
    # ... other dependencies
]

[tool.uv.sources]
bingo-kit = { git = "ssh://git@github.com/bongo/bingo.git" }

Your goal is to modify bukowski to perform this transformation, correctly handling the syntax of private repositories specified via SSH URLs.

Step-by-Step Guide to Modify bukowski
1. Understand the Current Implementation
First, we need to understand how bukowski currently handles dependencies in pyproject.toml.
In the bukowski codebase, dependencies are parsed and converted into a different format. However, it seems that git dependencies specified via SSH URLs are not being handled correctly, especially for private repositories.
2. Locate the Dependency Parsing Logic
Find the part of the code where dependencies are parsed. In bukowski, this is likely in a function or section that reads the [tool.poetry.dependencies] section from pyproject.toml.
Example:
def parse_dependencies(pyproject_data):
    dependencies = pyproject_data.get('tool', {}).get('poetry', {}).get('dependencies', {})
    # ... rest of the code

3. Modify the Dependency Parsing to Handle Git Dependencies
We need to adjust the parsing logic to detect git dependencies, especially those specified via SSH URLs.
Updated Parsing Logic:
def parse_dependencies(pyproject_data):
    dependencies = pyproject_data.get('tool', {}).get('poetry', {}).get('dependencies', {})
    parsed_dependencies = []
    git_sources = {}

    for package, spec in dependencies.items():
        if isinstance(spec, dict) and 'git' in spec:
            git_url = spec['git']
            # Handle SSH URLs
            if git_url.startswith('git@'):
                git_url = f"ssh://{git_url}"
            # Collect git sources for [tool.uv.sources]
            git_sources[package] = {'git': git_url}
            # Add a version constraint or handle appropriately
            # Since git dependencies don't have a version, you might need to specify one
            parsed_dependencies.append(f"{package}>=0.0.0")
        else:
            # Handle regular dependencies
            parsed_dependencies.append(format_dependency(package, spec))

    return parsed_dependencies, git_sources

4. Handle Version Constraints for Git Dependencies
Since git dependencies might not have a version specified, you may need to assign a default version or handle it according to your requirements.
Example:
# Assign a default version if none is specified
parsed_dependencies.append(f"{package}>=0.0.0")

Alternatively, if you can extract a version from somewhere else, you can use that.
5. Adjust the Output Formatting
After parsing, ensure that the output is formatted correctly for UV.
Example Output Generation:
def generate_uv_format(parsed_dependencies, git_sources):
    uv_dependencies = f"dependencies = [\n"
    for dep in parsed_dependencies:
        uv_dependencies += f'    "{dep}",\n'
    uv_dependencies += "]\n\n"

    uv_sources = "[tool.uv.sources]\n"
    for package, source in git_sources.items():
        git_url = source['git']
        uv_sources += f'{package} = {{ git = "{git_url}" }}\n'

    return uv_dependencies + uv_sources

6. Full Code Example
Putting it all together, here's how you might modify the bukowski code:
import toml

def format_dependency(package, spec):
    if isinstance(spec, str):
        return f"{package}=={spec}"
    elif isinstance(spec, dict):
        # Handle other types of specifications if necessary
        pass
    # Default case
    return package

def parse_dependencies(pyproject_data):
    dependencies = pyproject_data.get('tool', {}).get('poetry', {}).get('dependencies', {})
    parsed_dependencies = []
    git_sources = {}

    for package, spec in dependencies.items():
        if isinstance(spec, dict) and 'git' in spec:
            git_url = spec['git']
            # Handle SSH URLs
            if git_url.startswith('git@'):
                git_url = f"ssh://{git_url}"
            # Collect git sources for [tool.uv.sources]
            git_sources[package] = {'git': git_url}
            # Assign a default version or handle as needed
            parsed_dependencies.append(f"{package}>=0.0.0")
        else:
            # Handle regular dependencies
            parsed_dependencies.append(format_dependency(package, spec))

    return parsed_dependencies, git_sources

def generate_uv_format(parsed_dependencies,

Great, this is working now with regular dependencies!
Thanks, @ninoseki !
But the feature is not working with dev dependencies: [tool.uv] dev-dependencies = [..<private-project>...]

repo: ninoseki/bukowski


text:
[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 12:33:29 on 2023.07.27
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 2, errors out: 0
Original problem ID: 33165
Event details in Zabbix: http://192.168.232.99/tr_events.php?triggerid=23483&eventid=33165

Problem has been resolved in 12m 0s at 12:45:29 on 2023.07.27
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 33165


text:
GUI screen showed up, then closed automatically while testing to run plot_label_foci.py

=======================
Generate Surface Labels
Define a label that is centered on a specific vertex in the surface mesh. Plot
that label and the focus that defines its center.
Exception occurred in traits notification handler for object: <mayavi.core.ui.mayavi_scene.MayaviScene object at 0x7f03197a1a90>, trait: disable_render, old value: True, new value: False
Traceback (most recent call last):
File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/traits/trait_notifiers.py", line 342, in call
self.handler(*args)
File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/tvtk/pyface/tvtk_scene.py", line 900, in _disable_render_changed
self.render()
File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/tvtk/pyface/ui/qt4/scene.py", line 351, in render
self._vtk_control.Render()
File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/tvtk/pyface/ui/qt4/QVTKRenderWindowInteractor.py", line 560, in Render
self.update()
RuntimeError: wrapped C/C++ object of type _VTKRenderWindowInteractor has been deleted

hi, did you fix it?

Come cross the same question, hope pysurfer team solve this problem :D
https://9to5answer.com/pyqt-runtimeerror-wrapped-c-c-object-has-been-deleted

authors: XinQi7788 gygzhang ruilongXIA

repo: nipy/PySurfer


text:
List Whitelist

can anybody help me?
I am trying to view the tags in the list using php. I don't know how to use the API.

Getting the users on the whitelist can be done like this:
require_once 'vendor/autoload.php'; // Load Composer's autoloader

use Nitrapi\Nitrapi;

$nitrapi = new Nitrapi('your_api_key', 'your_api_secret');

// Define the server ID for the game server you want to retrieve the whitelist for
$serverId = 'your_server_id';

try {
    // Get the whitelist for the specified server
    $whitelist = $nitrapi->gameservers->getServerWhitelist($serverId);

    // Print the whitelist entries
    foreach ($whitelist as $entry) {
        echo "Player: " . $entry->getUsername() . "\n";
    }
} catch (Exception $e) {
    echo "Error: " . $e->getMessage();
}

Whitelist not longer working, now display a 501 error

authors: ItsMeStevieG ampsite ozonostudio

repo: nitrado/NitrAPI-PHP


text:
Access token

Hi,
I'm looking to start a Windows 10 App using your API but not sure how to get an access token, you say:
"For using the NITRAPI you need as first setup a new application. Please go to https://server.nitrado.net and login to your own nitrado.net user account. After you are logged in please register a own application at the developer area."
I don't see a developer area and https://server.nitrado.net/eng/developer/applications only shows the applications I don't have!
Can you help?
What am I missing?
Thanks
Dave.

Hello David,
please post your Nitrado user id. Your account needs to be enabled for the Nitrapi Beta. After your activation you are able to add new applications. You will receive a client id and client secret after this.
Please use this documentation http://nitrado.github.io/Nitrapi/oauth/ to use the oAuth endpoint for authentication. After a successful oAuth login you will receive a valid access token.
Notice: For oAuth2 on a native application instead of a web application your app needs to register a uri scheme on the operating system to use the redirect url. It's a little bit tricky.
Regards,
Alexander

Hi Alexander,
My User ID is 795909
I've used oAuth before with the 3 legged auth so hopefully it won't cause too much of an issue; thanks for the heads up though.
Not sure how far I'll get on this little project, but I'll see what I can do.
Cheers
Dave.

Your account has been activated for the Nitrapi Beta.
Have fun. :)

Thanks Alexander, looking forward to playing with this!

Hi
I want to acces to your Nitrapi to manage my servers via a custom website.
But... I don't find any documentation to sign in. You always need to manually activate account ?
Thanks
Kayzore.

@kayzore You need a access token to use the NitrAPI endpoints. To get one, you need to do one of the following things:

Use the OAuth-Flow to login and gather a access/refresh-token. I've wrote a tutorial how to do that here (german): https://aaron-fischer.net/wae There are also a log of libs available who handle the oauth flow for you.
Generate a long life token and use that. Go to nitrado.net, login, "My Account", "Developer Portal", "Long-Life Tokens" (top right corner)

authors: BirknerAlex davidkslack f0086 kayzore

repo: nitrado/Nitrapi


text:
Fix/javascript runtime

Fixes #117

Codecov Report

Merging #118 (9e3767c) into develop (ba61075) will decrease coverage by 4.64%.
The diff coverage is 14.28%.

@@             Coverage Diff             @@
##           develop     #118      +/-   ##
===========================================
- Coverage    37.44%   32.79%   -4.65%
===========================================
  Files           40       43       +3
  Lines         2823     3308     +485
===========================================
+ Hits          1057     1085      +28
- Misses        1664     2120     +456
- Partials       102      103       +1

Flag
Coverage Δ

unittests
32.79% <14.28%> (-4.65%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/runtime/javascript.go
26.31% <0.00%> (-5.95%)
:arrow_down:

pkg/stack/options.go
65.59% <100.00%> (+1.14%)
:arrow_up:

pkg/provider/pulumi/aws/aws.go
63.43% <0.00%> (-1.14%)
:arrow_down:

pkg/codeconfig/function.go
0.00% <0.00%> (ø)

pkg/codeconfig/codeconfig.go
7.73% <0.00%> (ø)

pkg/codeconfig/server.go
0.00% <0.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 ba61075...9e3767c. Read the comment docs.

authors: codecov-commenter davemooreuws

repo: nitrictech/cli


text:
Add aarch64 NixOS flake output

This repo seems to work pretty great on my Windows Arm laptop. So thanks for that!
This adds an aarch64 convenience to the nixosConfigurations flake outputs.
It would be cool to see aarch64 integrated into the GitHub build and release actions so people can just download a prebuilt image. I had some luck getting it to work on the GitHub runner via binfmt.

Not a fan of using binfmt. In the past I've often seen regressions like that execing binaries suddenly took over a 100 times longer.

repo: nix-community/NixOS-WSL


text:
plugins/emmet: remove to strict typing on option 'mode'

Values such as "inv" should be allowed.

CI fails seem unrelated

Indeed, now passes.

authors: GaetanLepage traxys

repo: nix-community/nixvim


text:
Polish v1 & v2 documentation

With the merge of #166 we are in a bit of a weird situation with the documentation.
The documentation was updated for the changed API that was developed as part of support the version 2 of the NPM lock files. Somewhere along the path it was decided that these new changes should be exposed as a dedicated attribute. This will keep the old (called v1) code alive and we can introduce the new features as v2.

[ ] Proof read the API.md
[ ] Split v1 documentation into API-v1.md
[ ] Move the v2 documentation into API-v2.md
[ ] Make the API.md describe that we expose two versions of the api and link to those

im polish so this is very anticipated, would make it way easier to understand. Keep up the good work!

authors: andir zmrocze


text:
nix run  results in a error (setting outside of group: MenuBar=Disabled)

I get this error whenever I run the command:
nix run github:nix-community/plasma-manager

[spiderunderurbed@daspidercave:~]$ nix run github:nix-community/plasma-manager
Traceback (most recent call last):
  File "/nix/store/q577g3687yhlzf130ajsj868qcnzldqi-rc2nix.py", line 286, in <module>
    Rc2Nix.App(sys.argv[1:]).run()
  File "/nix/store/q577g3687yhlzf130ajsj868qcnzldqi-rc2nix.py", line 190, in run
    rc.parse()
  File "/nix/store/q577g3687yhlzf130ajsj868qcnzldqi-rc2nix.py", line 143, in parse
    self.process_setting(key, val)
  File "/nix/store/q577g3687yhlzf130ajsj868qcnzldqi-rc2nix.py", line 162, in process_setting
    raise Exception(
Exception: /home/spiderunderurbed/.config/dolphinrc: setting outside of group: MenuBar=Disabled

I will close this since this is a duplicate of #17. Any further discussions can be done there.

authors: HeitorAugustoLN SpiderUnderUrBed

repo: nix-community/plasma-manager


text:
implement clock_gettime, clock_getres, clock_settime

See: https://pubs.opengroup.org/onlinepubs/007908799/xsh/clock_settime.html
Again related to: https://github.com/CraneStation/wasi-common/issues/16
Conditional inclusion of clock IDs based on looking through libc.

Was making some of the changes but getting on a flight now...will follow up with the rest

You should be able to fix the test failures by rebasing now.

Ok, I think this is good, but you need to squash before we can merge.

Squashed a while ago and just rebased again for the changelog. Hopefully good to merge now.

I've seen this before.  I think it's a bug in glibc.  It's certainly nothing to do with your PR.
bors retry

Please rebase to fix the musl failure.

I'm interested in some of these functions too for #1275. @kevinwern do you mind if I pick up this PR to implement them?

Can we close this one after #1281?

Yep

authors: asomers cemeyer kevinwern xonatius

repo: nix-rust/nix


text:
PA Review: Sample State

Sample State

[x] State shape is flat!
[ ] State's keys are camelCased
[x] All keys within the values in the state are accessible in the schema
[x] Correctly formatted

[x] Sample state is rendered with triple backticks, and the language ```javascript...```). This will display the state as a code block instead of a giant line of text
[x] Top level slices

[x] entities
[x] session
[x] errors (here or in ui)
[x] ui (if needed)

[x] Should NOT have nested slices, aka  comments inside of posts

Some info from other tables is ok, for instance:

the author username and imageurl for a post. basically any info that the user can't change
like count and a boolean on whether the user likes the post instead of a likes slice

camelCase product_name

repo: njpietrow/The-Verve


text:
Add bbbhltz.codeberg.page

url: bbbhltz.codeberg.page
size: 57.32 kB
size according to Firefox
CloudFlare says 72.71 kB
https://radar.cloudflare.com/scan/af5b8375-6ddf-4f29-a878-2d270161afbf
Good work on keeping this list up to date

Great content, thank you for sharing!
Welcome to the 250kB Club! You'll find your page at https://250kb.club/bbbhltz-codeberg-page

Thanks. I actually have a domain now at https://bobbyhiltz.com

authors: bbbhltz nkoehring


text:
Long runs have a large memory footprint

Running the simulation in excess of 1,000 timesteps (given a successful seed with a thriving population) leads to a large memory footprint (> 8GB). There is likely one or more significant memory inefficiencies at play that should be diagnosed and patched. This will eliminate a bottleneck preventing more simulations running in parallel during data collection.

On my test with benthamHalfLookaheadBinary, at 1000 timesteps, there were 2 million dictionaries taking up half a gigabyte of memory. The memory graph is consistently going up. Looks like they aren't being garbage collected — I'll look into this further.

Preliminary results: it seems to be that the social networks are keeping references to dead agents, which still have their own social networks which keep references, etc. so they build up over time. I removed everything from dead agents' social networks except children and debtors (which are still needed) and the number of dictionaries at 1000 timesteps went from 2 million to 350,000. I still need to check to see if the simulation behaves the same. I'm going to do a small overhaul of interaction between dead agents and social networks and see what happens.

Update: The memory leak is mostly, solved, but the memory usage is still slowly increasing over time. Most, if not all, of the remaining dictionaries are loans whose references are somehow avoiding removal.

Solved by #39.

authors: colinhanrahan nkremerh

repo: nkremerh/sugarscape


text:
Maven project structure and fix tests

@jrixon
I've updated the project's directory structure to match maven's standard directory structure. It was getting annoying having to modify the project properties in IntelliJ every time I did a maven clean in the terminal.
I also broke some tests in the previous build, so this fixes those. This includes fixing the Travis CI config to use JDK8. Tests should now pass successfully for pull requests to the amberv2 branch.

SonarQube analysis reported 3694 issues

 13 blocker
 109 critical
 1092 major
 2425 minor
 55 info

Top 10 issues

 AmberEdge.java#L89: This class overrides "equals()" and should therefore also override "hashCode()".
 AmberVertex.java#L64: This class overrides "equals()" and should therefore also override "hashCode()".
 Copy.java#L389: Close this "AmberSession".
 Copy.java#L461: Close this "AmberSession".
 Copy.java#L550: Close this "AmberSession".
 File.java#L244: Close this "AmberSession".
 DateParser.java#L88: NullPointerException might be thrown as 'dateRangeExpr' is nullable here
 PdfTransformerFop.java#L80: Remove this throw statement from this finally block.
 Copy.java#L484: NullPointerException might be thrown as 'ac' is nullable here
 TElementDiff.java#L176: NullPointerException might be thrown as 'elem2' is nullable here

Build finished.

authors: nlabuilder yetti

repo: nla/amberdb


text:
#Most efficient way to search for child parameters (recursive find?)

Hello All-
I have an application where I have a hierarchical set of JSON objects.  Meaning that I have objects that in turn have child JSON objects and so on.  I need to have the ability to allow the user to query  the value of one of the objects using something akin to a file path.  For example, example if my JSON object looks like:
{
         "One":1,
         "Two":2,
         "Child":{
                 "Child1":1
                 "Child2":2
                 }
         "Three":3
}

I want to provide a method that will return the value of any parameter by passing a 'path' to the parameter.  Using the example above, if I wanted the value of the parameter "Child2", I could request it using the path 'Child/Child2', which would return the value 2.  I have it working with the code below:
std::filesystem::path path(parameterPath);
for (const auto &parameterName : path) {
   nlohmann::json::iterator iterator = parameterValue.find(parameterName);
   if (iterator != parameterValue.end()) {
      parameterValue = *iterator; //  This makes a copy of the parameter, which is overkill, I just want a reference to it.
      }
     else {
         parameterValue.clear();
         break;
     }
}

However I suspect that this is inefficient because I am creating a copy of the parameters as I traverse the tree. I have also thought about iterators and pointers, but thought I would reach out to the community to to see if anyone has already solved this problem, hopefully in a more efficient manor.
Any suggestions?
Thanks!
Jim

The library supports JSON Pointer, see https://github.com/nlohmann/json#json-pointer-and-json-patch. You could write j["/Child/Child2"_json_pointer] to access the value you described with Child/Child2.

@JimAtCanon Do you need further assistance?

Thanks for checking back! And thanks for the hint - I shall add a paragraph to the documentation.

authors: JimAtCanon nlohmann

repo: nlohmann/json


text:
Generated natvis is invalid XML

Description
The natvis generator inserts comments before the xml node, which is invalid and causes parsing to fail.
Reproduction steps

Using VS2022
Add the generated natvis to your project
Go to Tools -> Options -> Debugger -> Output Window
Set Natvis diagnostic messages to verbose
Attempt to debug project and have natvis work
json\nlohmann_json.natvis(4,3): Fatal error: Invalid xml declaration. appears in the output window

Opening up the generated natvis in the editor within visual studio shows a red squiggly, hovering over it reveals:

Unexpected XML declaration. The XML declaration must
be the first node in the document and no white space
characters are allowed to appear before it.

Expected vs. actual results
Expected:
generated natvis starts with:
<?xml version="1.0" encoding="utf-8"?>

Reality:
generated natvis starts with:
<!-- * * * * * * * * AUTO-GENERATED FILE  * * * * * * * * -->
<!-- Edit ./tools/generate_natvis/nlohmann_json.natvis.j2 -->
<!-- * * * * * * * * AUTO-GENERATED FILE  * * * * * * * * -->
<?xml version="1.0" encoding="utf-8"?>

Minimal code example
No response
Error messages
`json\nlohmann_json.natvis(4,3): Fatal error: Invalid xml declaration.`

Compiler and operating system
Microsoft Visual Studio Community 2022 Version 17.4.2
Library version
a3e6e26dc83a726b292f5be0492fcc408663ce55
Validation

[X] The bug also occurs if the latest version from the develop branch is used.
[X] I can successfully compile and run the unit tests.

You are right - having a comment before the <?xml tag is indeed an error.

Can you please try the XML in PR #3863?


text:
add channels optional argument to usergroups.update

usergroups.update allows an optional argument, channels, for setting the list of default channels for the User Group. We should send this argument if it's provided.

LGTM, mind just rebasing off master and I'll merge.

Thanks @james-lawrence - I rebased!

hm wonder why its not applying cleanly?

Hi there, I've been taking on work that depends on this change & wonder if you can try merging again? If there are any problems with the patch, I can take a stab at getting it to apply cleanly.

@asf-stripe - I don't have merge permissions. I'm not sure how to help trouble shoot at this point but maybe @james-lawrence can take another shot.

Hah, yep, sorry @an-stripe - I meant to address @james-lawrence with that message, since he has the merge permissions after all ((:

Looks like this made it into the code base in c33a46b52751322265b0e3f6243aaa462c738684 after all! \o/!!

authors: an-stripe asf-stripe james-lawrence

repo: nlopes/slack


text:
I have some question about using biomedicus

I am doing research based on Biomedicus.
I would like to know how to Train the Word Model and Suffix Model stored in RocksDB.
And I want to receive Train Data of both models.
I saw the code related to Train.
But I do not understand it, so I'd like you to know how to use it.
I'll wait for your kind reply.
Thanks for reading.

Hello,
What version are using / do you want to use?
I'll work on a documentation page for part of speech training and how the data is stored in RocksDB.

I added some documentation related to training TnT part-of-speech models. You can find it here. You may need to read some UIMA documentation for a introduction on how to run UIMA pipelines.

Thanks for reply.
I understood everything you said.
I also tried Training tests with test data.http://www.nltk.org/nltk_data/ is TestData
I do not know what data you used to train. (Meaning that data in PTB format can not be found)
I want you to give me the data you used.
I'll be waiting for a kind reply.

We used the Penn Treebank III - https://www.ldc.upenn.edu/language-resources/data/obtaining and the MiPaCQ Treebank - https://www.ncbi.nlm.nih.gov/pubmed/23355458. Unfortunately I can't provide either of the corpora, Penn Treebank is licensed and MiPaCQ is not public.

Hello,
I have a question.
Why did you train TNT Model in Penn TreeBank format?
I have had this question because you support parsing separately with Stanford Parser and SyntaxNet.

For performance reasons the parser is not enabled by default. Currently, we plan on only using it on a small percentage of sentences for social history / family history detection.

So why use the Penn treebank structure for tnt training?

PTB contains part-of-speech tags, and those are just the corpora we had available.

Hi @benknoll-umn, is there a way to get MiPaCQ corpus. I would like to conduct research in domain adaptation. This corpus can play an important role as test bed. Thanks.

authors: GaryYufei benknoll-umn bindl159

repo: nlpie/biomedicus


text:
Error while trying to Summarize Raw Text Input by the downloaded trained model

I use dev branch and put the downloaded model, bertext_cnndm_transformer.pt, into models folder.
I then go into src folder, and run  ./train.py -task ext -mode test_text -model_path ../models/bertext_cnndm_transformer.pt -text_src ../raw_data/temp_ext.raw_src -test_from ../models/bertext_cnndm_transformer.pt -log_file ../logs/cnndm.log
Am I missing something? It can't find "../models/bertext_cnndm_transformer.pt/events.out.tfevents.1588910784.[myMachineName]"
Here's the log:
Namespace(accum_count=1, alpha=0.6, batch_size=140, beam_size=5, bert_data_path='../bert_data_new/cnndm', beta1=0.9, beta2=0.999, block_trigram=True, dec_dropout=0.2, dec_ff_size=2048, dec_heads=8, dec_hidden_size=768, dec_layers=6, enc_dropout=0.2, enc_ff_size=512, enc_hidden_size=512, enc_layers=6, encoder='bert', ext_dropout=0.2, ext_ff_size=2048, ext_heads=8, ext_hidden_size=768, ext_layers=2, finetune_bert=True, generator_shard_size=32, gpu_ranks=[0], label_smoothing=0.1, large=False, load_from_extractive='', log_file='../logs/cnndm.log', lr=1, lr_bert=0.002, lr_dec=0.002, max_grad_norm=0, max_length=150, max_ndocs_in_batch=6, max_pos=512, max_tgt_len=140, min_length=15, mode='test_text', model_path='../models/bertext_cnndm_transformer.pt', optim='adam', param_init=0, param_init_glorot=True, recall_eval=False, report_every=1, report_rouge=True, result_path='../results/cnndm', save_checkpoint_steps=5, seed=666, sep_optim=False, share_emb=False, task='ext', temp_dir='../temp', test_all=False, test_batch_size=200, test_from='../models/bertext_cnndm_transformer.pt', test_start_from=-1, text_src='../raw_data/temp_ext.raw_src', text_tgt='', train_from='', train_steps=1000, use_bert_emb=False, use_interval=True, visible_gpus='-1', warmup_steps=8000, warmup_steps_bert=8000, warmup_steps_dec=8000, world_size=1)
[2020-05-08 11:07:54,143 INFO] loading configuration file https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-uncased-config.json from cache at ../temp/4dad0251492946e18ac39290fcfe91b89d370fee250efe9521476438fe8ca185.7156163d5fdc189c3016baca0775ffce230789d7fa2a42ef516483e4ca884517
[2020-05-08 11:07:54,144 INFO] Model config {
"architectures": [
"BertForMaskedLM"
],
"attention_probs_dropout_prob": 0.1,
"finetuning_task": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"num_labels": 2,
"output_attentions": false,
"output_hidden_states": false,
"pad_token_id": 0,
"pruned_heads": {},
"torchscript": false,
"type_vocab_size": 2,
"vocab_size": 30522
}
[2020-05-08 11:07:55,371 INFO] loading weights file https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-uncased-pytorch_model.bin from cache at ../temp/aa1ef1aede4482d0dbcd4d52baad8ae300e60902e88fcb0bebdec09afd232066.36ca03ab34a1a5d5fa7bc3d03d55c4fa650fed07220e2eeebc06ce58d0e9a157
gpu_rank 0
Traceback (most recent call last):
File "/Users/suchanun/.pyenv/versions/3.7.0/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 51, in open_file
factory = REGISTERED_FACTORIES[prefix]
KeyError: '../models/bertext_cnndm_transformer.pt/events.out.tfevents.1588910879.suchanuns-mbp'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./train.py", line 155, in
test_text_ext(args)
File "/Users/suchanun/Documents/Nice/Senior/PreSumm/src/train_extractive.py", line 266, in test_text_ext
trainer = build_trainer(args, device_id, model, None)
File "/Users/suchanun/Documents/Nice/Senior/PreSumm/src/models/trainer_ext.py", line 45, in build_trainer
writer = SummaryWriter(tensorboard_log_dir, comment="Unmt")
File "/Users/suchanun/.pyenv/versions/3.7.0/lib/python3.7/site-packages/tensorboardX/writer.py", line 257, in init
self._get_file_writer()
File "/Users/suchanun/.pyenv/versions/3.7.0/lib/python3.7/site-packages/tensorboardX/writer.py", line 321, in _get_file_writer
**self.kwargs)
File "/Users/suchanun/.pyenv/versions/3.7.0/lib/python3.7/site-packages/tensorboardX/writer.py", line 93, in init
logdir, max_queue, flush_secs, filename_suffix)
File "/Users/suchanun/.pyenv/versions/3.7.0/lib/python3.7/site-packages/tensorboardX/event_file_writer.py", line 107, in init
self._logdir, "events"), filename_suffix)
File "/Users/suchanun/.pyenv/versions/3.7.0/lib/python3.7/site-packages/tensorboardX/event_file_writer.py", line 43, in init
self._py_recordio_writer = RecordWriter(self._file_name)
File "/Users/suchanun/.pyenv/versions/3.7.0/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 113, in init
self._writer = open_file(path)
File "/Users/suchanun/.pyenv/versions/3.7.0/lib/python3.7/site-packages/tensorboardX/record_writer.py", line 54, in open_file
return open(path, 'wb')
NotADirectoryError: [Errno 20] Not a directory: '../models/bertext_cnndm_transformer.pt/events.out.tfevents.1588910879.suchanuns-mbp'
Any help/explanation is very appreciated!

Try to remove -model_path ../models/bertext_cnndm_transformer.pt and make sure you're using the dev branch.

It works now, thank you!

authors: STEMlib suchanun

repo: nlpyang/PreSumm


text:
Adding documentation and error handling to the senna module.

Four new Exceptions were introduced. Documentation added to all four classes. Examples and doctests added to explain the interface usage scenarios.

Beautiful, thanks =)

authors: aboSamoor xim

repo: nltk/nltk


text:
dispersion plot shows incorrect data when multiple words selected

if multiple words are inputted, the graph shows correct data, however the lables are offset by 1

Same.
Describe the current behavior
When using nltk to produce a dispersion plot, the plot's labels show up in incorrect order.
Describe the expected behavior
The plot's labels should line up with the data they represent.
Additional context
https://gist.github.com/aaronmaxcarver/b6e8ecac4d0c9ad86825d47e1a1e595b

Is this fixed by #3150?

The labels are inversed, not offset. #3150 didn't fix it.

authors: SamuelSilverio123 aaronmaxcarver kvmilos rmalouf


text:
Mistake/bleu score.py

i just found a little mistake in nltk/translate/bleu_score.py where the comments of function Smoothing7 is wrong.
It should be
"
| Smoothing method 7:
| Interpolates methods 4 and 5.
"
rather then
"
| Smoothing method 7:
| Interpolates methods 5 and 6.
"

Thanks @shushengyuan

authors: shushengyuan stevenbird


text:
Check indentation of multi-line commands in command subs

E.g. the following should flag a violation:
set foo [cmd \
arg1]

Closing, indentation checks have been removed as of tclint v0.5.

repo: nmoroze/tclint


text:
Dates

Does this preserve the photo taken dates or does the Google photos date become the uploaded date?

Is there any update or progress on retaining metadata? This is the one thing holding me back from using gphotos-uploader-cli at the moment. I have a new headless home server setup (was previously running Windows 10 headless), and backing up my photos to Google Photos is the one last missing piece

I don't see this happening, was something fixed?

I mostly see metadata being used as well. Uploaded thousands of photos from the mid 2000s successfully this week. I suspect the photos that uploaded with today's date had no metadata (I didn't check).

All metadata is uploaded with the file.But Google Photos remove (ignore) part of these metadata

authors: driv kapone3047 latitudehopper pacoorozco ryanov

repo: nmrshll/gphotos-uploader-cli


text:
Minor Scss syntax issues breaking a few Vuetify Styles

_content.scss : line 11, "--wrap" should be "__wrap"
theme.scss: lines 5 & 12 have an extra space. ".application .theme--dark.#{$name}" should be ".application.theme--light.#{$name}" and .application.theme--dark.#{$name}

Hey! Sorry I've been really busy lately so the package has fallen behind the development of Veutify. I'm working on catching it back up right now. Those changes were introduced in Vuetify@v1.2.0 so once this package catches up it should be all fixed. Just keep an eye out for the newer versions! Thanks!


text:
Option to unregister flip

I've been having fun with flip.  Thanks!
I've built a simple memory game with flip.  Each tile is registered to flip on a click or tap.  But once a match is found, I'd like to turn off flip.  I attempted to call $('#tileId').flip( { trigger: 'manual' } )  but that is my best guess as to how to do it.  Any suggestions?

In the future flip will work the way you've just described. A little busy lately but I will get around to it soon hopefully.

As @JemarJones, we can add unbind feature in the next release. For now, you need to { trigger: manual } and control the interaction yourself or you can try unbind the event that you use in the trigger from your DOM, for example, if you use click you can do $('#tileld').unbind('click');. However, this is a bit tricky as it will unbind all click events from your DOM (not just the flip one). We will add the event namespace in future.

Thanks for the tip.  I'll do as suggested until some future release.   Thanks again for the fun plugin!

Flip can be easily unbind from version v1.0.19 once  #68 is merged

authors: JemarJones c-a-m nnattawat

repo: nnattawat/flip


text:
feat/ sitemap동적,정적설정, robot.txt설정

✅ 작업 사항

sitemap동적,정적설정
robot.txt설정
구글 애널리틱스, 구글 검색엔진, 네이버 검색엔진 등록완료 ( HTML head 인증완료)

📸 스크린샷

🧑💻 기타

접근성 제한 이야기 나누면 좋을 것 같아요
사이트맵 main에 배포된 후 google 검색엔진과 naver 검색엔진에 추가 필요 (http://www.dream-card.co.kr/sitemap.xml)

혹시 스크린샷 내용이 저희 메인페이지, create/card 페이지, review 페이지 이렇게만 검색엔진에 등록이 되고 크롤링이된다고 이해하면 될까용??

혹시 스크린샷 내용이 저희 메인페이지, create/card 페이지, review 페이지 이렇게만 검색엔진에 등록이 되고 크롤링이된다고 이해하면 될까용??

네 맞습니다~! review페이지는 동적으로 설정했어요!

authors: nninyeong sHyunis

repo: nninyeong/challenge-b


text:
Axis Settings

Is there a way to use non-numeric y-axis data points? Couldn't find any information on this in GH Issues.
Here's an example of what I'm looking to achieve:
http://worrydream.com/MagicInk/p/train_graph.png
Just for additional information, I'm using angular-chart (by jtblin)

@sos0 this isn't possible in either v1 or v2. V2 doesn't seem to be able to support this, it looks like there is some drawing bug.

Given the type of chart you are creating, I think the best course of action would actually be to create a new dataset controller. There is some documentation on the matter here: http://nnnick.github.io/Chart.js/docs-v2/#advanced-usage-writing-new-chart-types
Feel free to join our Slack channel (see button on Readme) and I can answer any questions in detail

Looks like people have been using this type of hack:
http://jsfiddle.net/6xV78/294/


text:
[Wait for #72][recipe/NNS] Add testcases

This commit does:

Add unittests for if, rate, tizen_capi, cppfilter

$ bitbake core-image-minimal -c testimage
Signed-off-by: Yongjoo Ahn yongjoo1.ahn@samsung.com
Self evaluation:

Build test: [X]Passed [ ]Failed [ ]Skipped
Run test: [X]Passed [ ]Failed [ ]Skipped

@anyj0527 Great! I will check your PR ASAP.

@anyj0527 Great! I will check your PR ASAP.

@wooksong
I think those fails are caused by shortage of disk space.
I made a PR for reduce disk usage during test: https://github.com/nnstreamer/nnstreamer/pull/3047

:octocat: cibot: @anyj0527, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/meta-neural-network/ci/repo-workers/pr-checker/63-202102081622100.7288920879364-66d02574c02f73e73e0aade145d6a7bae79f3bec/.

:octocat: cibot: @anyj0527, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/meta-neural-network/ci/repo-workers/pr-checker/63-202102081631480.93357610702515-672439a01cf0f2321260de76414fc04b5cfe91a1/.

@anyj0527 If you answer questions by @wooksong , I can merge this right away.

@anyj0527 Ping!

We generate a report if there are dangerous coding constructs in your code. Please read http://nnstreamer.mooo.com/meta-neural-network/ci/repo-workers/pr-checker/63-202108060011530.57971906661987-43a86449afbbce5e122b210438a982f4c8b353b0/report/pylint_result.txt.

Update:

Fix to be built and run
Disable SSAT tests

We generate a report if there are dangerous coding constructs in your code. Please read http://nnstreamer.mooo.com/meta-neural-network/ci/repo-workers/pr-checker/63-202108091638530.31398701667786-8e5b6cb2486f479f11c02a4a8c58b86f300563d5/report/pylint_result.txt.

:octocat: cibot: @anyj0527, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/meta-neural-network/ci/repo-workers/pr-checker/63-202108091638530.31398701667786-8e5b6cb2486f479f11c02a4a8c58b86f300563d5/.

We generate a report if there are dangerous coding constructs in your code. Please read http://nnstreamer.mooo.com/meta-neural-network/ci/repo-workers/pr-checker/63-202108091705120.065938949584961-11ca33e44ad2418958aea3373d7db034b3bfef28/report/pylint_result.txt.

We generate a report if there are dangerous coding constructs in your code. Please read http://nnstreamer.mooo.com/meta-neural-network/ci/repo-workers/pr-checker/63-202108091711460.46220993995667-1a1d97c9118bb6cd6cfabebbeb27e80f3e54dca5/report/pylint_result.txt.

We generate a report if there are dangerous coding constructs in your code. Please read http://nnstreamer.mooo.com/meta-neural-network/ci/repo-workers/pr-checker/63-202108091715410.66493701934814-6757f0e10afba6980d232d3b7bab9b1791001cf9/report/pylint_result.txt.

:octocat: cibot: @anyj0527, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/meta-neural-network/ci/repo-workers/pr-checker/63-202108091715410.66493701934814-6757f0e10afba6980d232d3b7bab9b1791001cf9/.

We generate a report if there are dangerous coding constructs in your code. Please read http://nnstreamer.mooo.com/meta-neural-network/ci/repo-workers/pr-checker/63-202108091748360.13024306297302-c947e3417f0528d068ae7ff16efeab3926d6f086/report/pylint_result.txt.

We generate a report if there are dangerous coding constructs in your code. Please read http://nnstreamer.mooo.com/meta-neural-network/ci/repo-workers/pr-checker/63-202108091925230.47453904151917-25672ccbf699ab5562781b9527af045c744e7864/report/pylint_result.txt.

UPDATED: CI test for yocto build is enabled

authors: anyj0527 myungjoo taos-ci wooksong

repo: nnstreamer/meta-neural-network


text:
Update nntrainer tensorfilter to use c++ API

Update nntrainer tensorfilter to use c++ API than nntrainer directly.

:octocat: cibot: Thank you for posting issue #696. The person in charge will reply soon.

authors: kparichay taos-ci

repo: nnstreamer/nntrainer


text:
JSON Decode Error and possible cause

Hello,
Adding an ongoing issue to the issues, we've been in touch separately via email but flagging it here.
There appears to be an intermittent error when uploading some files into rAPId that causes a JSON decode error:

This does not affect all datasets we have attempted to upload, and doesn't appear to be tied to row/column size. Several datasets across entirely different commisions and domains are being affected by the problem.
We've looked into this a bit further; it appears to be the rAPId Cloudfront configuration labelling some dataframe uploads as SQL injection attacks.

Removing the rule from Cloudfront manually appears to avoid this error but the setting is hardcoded into the rAPId module so updates to rAPId will reenforce this.

Here is chart from Cloudfront WAF:

Request for file upload contains parquet file what generates suspiciously looking string. According to AWS documentation it can generate false positives: link
I can modify terraform code to enable disabling SQL injection protection. I can add parameter to main module that will be responsible for this. Would you be willing to merge this into the main branch.

Hi, that's an excellent spot, thanks for flagging this! We're happy to implement the change if you push some code for it. Alternatively I'll try and find some time to do it this week!

@lcardno10 flagging

authors: JOrjales-CDDO Jarek-Rolski MotwaniM


text:
[IDEA] Superconductors

Have you read the code of conduct?

[X] I have read the code of conduct.

Has this idea already been presented?

[X] My idea has not been presented yet.

Description of your idea
Add section about superconducting at room temp
Links
No response
Anything else?
No response

superconductors in trains and hoverboards

repo: noClaps/blog


text:
Evaluation DanceTrack

Hello,
I ran the evaluation code "python tools/run_ocsort_dance.py -f exps/example/mot/yolox_dancetrack_val.py -c pretrained/bytetrack_dance_model.pth.tar -b 1 -d 1 --fp16 --fuse --expn /output", and got the dancetrack0004.txt like this:

"1,3.0,772.2,309.5,261.9,767.8,-1,-1,-1,-1
1,2.0,969.3,414.5,299.7,579.2,-1,-1,-1,-1"
what are the means of these numbers, and how can i use them?

, , , , , , , -1, -1, -1

frame, id, bb_left, bb_top, bb_width, bb_height, conf, -1, -1, -1

What are the means of conf and -1,-1,-1,-1

What are the means of conf and -1,-1,-1,-1

I ran the evaluation code "python tools/run_ocsort_dance.py -f exps/example/mot/yolox_dancetrack_val.py -c pretrained/bytetrack_dance_model.pth.tar -b 1 -d 1 --fp16 --fuse --expn /output", and got an error like this. What is the "_C" of yolox?

@iTruffle _C is the module for interaction between C lib and python interfaces. Looks like you didn't install the dependency properly.

Thank you for your responding. I have another question.

I finished the evaluation code of DanceTrack Val set and DanceTrack Test set. How can i get the datas in this form?  Or where i can find the datas?

Did not i save the datas?

Follow TrackEval for evaluation. It supports the raw data format of MOT17/DanceTrack, you don't have to do data convert, just setup the data path.

@iTruffle Regarding the output line10-line24, I believe the result files are saved.

Thank you very much.

i can't find "bytetrack_dance_model.pth.tar".

https://musetransfer.com/s/jcivrsxmu（有效期至5月13日）｜【Muse】你有一份文件待查收，请点击链接获取文件
I forget the download link, but i have the file in my desktop. So i upload into this link, you can get it.

authors: LamnouarMohamed MargeryLab iTruffle noahcao


text:
Feature request: support ansi and rgb color names

for cavemen (and women) like me who have difficulties remembering what Cornflower Blue is for color.
https://www.ditig.com/256-colors-cheat-sheet
Maybe names like
ansi<number>
rgb<R><G><B>

ov uses the color specification of tcell as it is
You can also specify something like "#2a2a2a".
https://github.com/noborus/ov#style-customization
Let me know if this is not enough.

ANSI 256 colors is more practical and is used in many other packages but if the lib you're using doesn't support it then what you wrote above is fine and please close this ticket.

I'll close it.Please reopen if necessary.

authors: nkh noborus

repo: noborus/ov


text:
[WEB] Iterative Output for Demo

Wouldn't it be cool to see the progress image while running diffusion ?
Added support for Gradio's Iterative Output to the web demo.
This might be even nicer than having a progressbar #601, though we could also add a seperate progressbar mis-using a label or waiting for tqdm integration.
Update currently set to every 20 step iterative_output_step = 20

Thank you for the contribution. We used to have the "live preview" option before and we dropped it. If there is interest in having it we can add it and merge this change. But I think we should have it as a radio button turned off by default.

will add the radio button

added a dropdown

Do you forsee any other option in the drop down ? If not best to have it as a radio button. It should be there in prior git history and the rdna branch probably has it

btw if you view it in dark mode the UI looks a little better (or set your windows theme to dark). We need to fix that.

I added the dropdown, because you can choose the steps instead of a fixed value
choices=["None", "5", "10", "20"],
https://github.com/cpietsch/SHARK/blob/patch-2/web/index.py#L115

Thanks for the PR. Just a heads up we plan to move the UI into the main stable Diffusion script so expect some churn but then you can interchangeably just cli and webui.

Please fix the CI lint failures. Just need to run black

fixed lint failures
great to see moving the web stuff into the main script - first I was confused seeing 2 times the diffusion script in the repo

finally the merge of the scripts happened. Lets close this and open a a new one if required.

authors: cpietsch powderluv

repo: nod-ai/SHARK


text:
Fix path for roofline plot generation.

This commit fixes the path for roofline plot generation, so we don't try to add a dtype string after the file extension.

Closing in favor of https://github.com/nod-ai/iree-kernel-benchmark/pull/10

repo: nod-ai/iree-kernel-benchmark


text:
Set expiry property to 0 is not working properly

I need to send APN push notifications to only online devices. So I had to set expiry property to 0 as suggested below:
note.expiry = 0;

apnProvider.send(note, deviceToken).then( (result) => {
  // see documentation for an explanation of result
});

But expiry property is not setting apns-expiration header to 0 by which I am not able to stop notification for offline devices.

If the value for apns-expiration is non-zero, delivery will be attempted once until the non-zero value (interpreted as a UNIX timestamp) is reached.
Thus, you should be fine with setting note.expiry = Date.now().
However, per the documentation, 0 is a valid value to send with a specific meaning and this should be treated as a defect in node-apn.

authors: balram-devnow-io oliversalzburg

repo: node-apn/node-apn


text:
What is PersistantFile ?

I noticed, an instance of PersistentFle is being logged when I try to log files. However, I didn't get any idea about what it is on the internet. Can you explain, how it is used? Or, can you provide any article explaining the same question?

It is the name of the class defined here
https://github.com/node-formidable/formidable/blob/master/src/PersistentFile.js

@GrosSacASac  is there any useful method that makes our life easier?

toString() and toJSON()

repo: node-formidable/formidable


text:
Error thrown when installing 0.20.6

What are the steps to reproduce?
sudo npm i -g node-red
What happens?
The current version on npm (0.20.6) depends on @node-red/util@0.20.6 which seems to be not available yet.
Installing the last version (0.20.5) tries to build bcrypt@3.0.5 but node-gyp throws on EACCESS npm-install.log.
What do you expect to happen?
Install proceed normally.
Please tell us about your environment:

[x] Node-RED version: 0.20.6
[x] node.js version: 12.4.0
[x] npm version: 6.9.0
[x] Platform/OS: darwin
[x] Browser: N/A

@node-red/util@0.20.6 has now been published.

authors: knolleary vicary

repo: node-red/node-red


text:
Allow flows to be stopped and started manually

This PR builds on top of #3642
It simplifies some of the api changes in the original PR to make use of the runtime events to get state sent back to the connected editors.
The GET /flows/state endpoint returns an object:
{
   "state": "stop|start|safe"
}

The runtime notification used has id runtime-state and a payload: { state: 'stop|start|safe', deploy: true/false }. The deploy flag tells us if this state change is due to a change in flows. That allows the editor to not show a toast notification for the state change as we'll get a single 'deploy' notification once all the work is done.
It also improves the runtime logging output:
Starting Node-RED in 'stopped' state
    29 Jun 10:30:59 - [info] Active project : Scratch
    29 Jun 10:30:59 - [info] Flows file     : /Users/nol/.node-red/projects/Scratch/flow.json
    29 Jun 10:30:59 - [info] Stopped flows

Deploying whilst stopped
    29 Jun 10:31:35 - [info] Updated flows

Starting a stopped runtime
    29 Jun 10:32:05 - [info] Starting flows
    29 Jun 10:32:05 - [info] Started flows

Deploying whilst started
    29 Jun 10:32:42 - [info] Stopping flows
    29 Jun 10:32:42 - [info] Stopped flows
    29 Jun 10:32:42 - [info] Updated flows   <--- this line is new
    29 Jun 10:32:42 - [info] Starting flows
    29 Jun 10:32:42 - [info] Started flows

Stopping a started runtime
    29 Jun 10:33:32 - [info] Stopping flows
    29 Jun 10:33:32 - [info] Stopped flows

Coverage increased (+0.05%) to 68.335% when pulling b59a3b15f361283d97ddd14bba27fac3841aece1 on pr_3642 into 95f7ea9fc02f8519f58fd0461aff3a21a1ae395e on master.

authors: coveralls knolleary