text:
BRANCH VLAN追加・削除時処理の自動化

支線VLAN（VLAN Role = BRANCH）は、coreがVRRPによるGWとなる運用。
新規作成および削除処理を最小化する仕組みを構築する。
新規作成時

NBでVLANを新規作成（VLAN Role = BRANCH）
　- GWとなるキャンパスに応じてIRB-O or IRB-Sタグを設定
当該VLANに割り当てるIPアドレスプレフィックスを作成
　- VRRP Maste, VRRP Backup, VRRP VIPのタグをIPアドレスに設定
nbckを実行することで以下をNBに作成
　- IRB-O/IRB-Sタグを元に、coreにIRB IFを作成し、VRRP設定を投入
　- coreのIFにVRRP関連のIPアドレスをそれぞれ設定
ansibleにてVRRPタグによるIRB IFの作成と設定を実機投入
　- 対象はcoreスイッチ
*1~3を別スクリプトで実現することも想定
*ansibleではIRB IFに対しての追加・削除処理の追加実装が必要

支線VLANに対するRIPおよびRA(現状利用なし)の設定もansibleに必要

VLAN999を参考に他も同じ構成になるようにnbckで自動投入したい

ステップ1-2のVLANIDとIPアドレス採番（タグ付与）は人間がやってNBに登録する。ステップ3でnbckがIRBインターフェイス作成とVRRP設定をやる
ステップ4でNBに従いAnsibleで設定投入する。VRRPのConfigテンプレートなど

@kitaguch

投入するConfigのサンプル

仕様作成しました。

NBでVLANを新規作成 (VLAN Role = BRANCH)

GWとなるキャンパスに応じてIRB-O or IRB-Sタグを設定

例 VLAN 999, tag IRB-O, VLAN-O

NBで当該VLANに割り当てるIPアドレスプレフィックスを作成 (IP Role = BRANCH)

当該VLANの"Prefixes"にIPプレフィックスを設定

例 131.112.126.0/26
2403:4440:3:999::/64

VRRP Master, VRRP Backup, VRRP VIPのタグをIPアドレスに設定

例 131.112.126.42/26 VRRP VIP
131.112.126.46/26 VRRP Backup
131.112.126.47/26 VRRP Master
2403:4440:3:999::a/64 VRRP VIP
2403:4440:3:999::6/64 VRRP Backup
2403:4440:3:999::7/64 VRRP Master

nbckを実行することで以下をNBに作成

VRRPタグからFHRP Groupを作成

例 FHRP Group IDはVIDの1/10の値(990~999まで同じ99という意味)
FHRP Groups:
Group: 99         *INT(/10)
Name: 999         *を入れる(Netbox 3.4系で実装)
Description: noc-life-o *VLANのdescription
Virtual IP Addresses:
IP Assress: 131.112.126.42/26
IP Assress: 2403:4440:3:999::/64

IRB-O/IRB-Sタグを元に、coreにIRB IFを作成し、VRRP設定を紐付け

例 IRB-Oなので、core-honkan (Master), core-gsic (Backup)に
irb. IFを作成し、IPアドレスを紐付け
Name: irb.999
Type: Virtual
MTU: 1500
802.1Q Mode: Access
untagged VLAN: 999
IP Address:
IP Assress: 131.112.126.47/26 (core-honkan)
IP Assress: 131.112.126.46/26 (core-gsic)
IP Assress: 2403:4440:3:999::7/64 (core-honkan)
IP Assress: 2403:4440:3:999::6/64 (core-gsic)
Role: VRRP
FHRP Groups:
Group: 99
Protocol: VRRPv3
Virtual IPs: 131.112.126.42/26
Virtual IPs: 2403:4440:3:999::a/64
Priority: 1 (core-honkan)
Priority: 0 (core-gsic)

ae0 (拠点core間VRRP用MCLAG IF) に当該VLANを追加

例 ae0に999を追加

VLAN-OかつVLAN-Sの場合、ae1 (キャンパス間MCLAG IF) に当該VLANを追加

例 VLAN-Oのみなので追加しない

ansibleにてVRRPタグによるIRB IFの作成と設定を実機投入

VLAN作成
[共通]

    set vlans v999_noc-life-o vlan-id 999
    set interfaces ae0 unit 0 family ethernet-switching vlan members 999

IRB IFの作成とVRRP設定 *VRRP Master側からCommitする必要あり
[core-honkan]

    set interface irb unit 999 apply-groups vrrp-master
    set interface irb unit 999 description noc-life-o
    set interface irb unit 999 family inet mtu 1500
    set interface irb unit 999 family inet address 131.112.126.47/26 vrrp-group 99
    set interface irb unit 999 family inet address 131.112.126.47/26 virtual-address 131.112.126.42
    set interface irb unit 999 family inet6 mtu 1500
    set interface irb unit 999 family inet6 address 2403:4440:3:999::7/64 vrrp-group 99
    set interface irb unit 999 family inet6 address 2403:4440:3:999::7/64 virtual-address 2403:4440:3:999::a

[core-gsic]

    set interface irb unit 999 apply-groups vrrp-backup
    set interface irb unit 999 description noc-life-o
    set interface irb unit 999 family inet mtu 1500
    set interface irb unit 999 family inet address 131.112.126.46/26 vrrp-group 99
    set interface irb unit 999 family inet address 131.112.126.46/26 virtual-address 131.112.126.42
    set interface irb unit 999 family inet6 address 2403:4440:3:999::6/64 vrrp-group 99
    set interface irb unit 999 family inet6 address 2403:4440:3:999::6/64 virtual-address 2403:4440:3:999::a

[共通]

    set vlans v999_noc-life-o l3-interface irb.999

RIPの設定
[共通]
    set protocols rip group shisen neighbor irb.999

VRRP設定では以下のグループ設定が存在していることが前提
VRRP-COMMON {
    interfaces {
        <*> {
            unit <*> {
                family inet {
                    address <*> {
                        vrrp-group <*> {
                            preempt {
                                hold-time 600;
                            }
                            accept-data;
                            authentication-type md5;
                            authentication-key "$9$T3/ArlM-VYO1-bw2GUqmf5Q3n/CAuOQF"; ## SECRET-DATA
                        }
                    }
                }
                family inet6 {
                    address <2403:4440:*/64> {
                        vrrp-inet6-group <*> {
                            virtual-link-local-address fe80::a;
                            preempt {
                                hold-time 600;
                            }
                            accept-data;
                        }
                    }
                    address fe80::7/64 {
                        vrrp-inet6-group <*> {
                            virtual-link-local-address fe80::a;
                            preempt {
                                hold-time 600;
                            }
                            accept-data;
                        }
                    }
                }
            }
        }
    }
}
VRRP-MASTER {
    interfaces {
        <*> {
            unit <*> {
                family inet {
                    address <*> {
                        vrrp-group <*> {
                            apply-groups VRRP-COMMON;
                            priority 200;
                        }
                    }
                }
                family inet6 {
                    address <2403:4440:*/64> {
                        vrrp-inet6-group <*> {
                            apply-groups VRRP-COMMON;
                            priority 200;
                        }
                    }
                    address fe80::7/64 {
                        vrrp-inet6-group <*> {
                            apply-groups VRRP-COMMON;
                            priority 200;
                        }
                    }
                }
            }
        }
    }
}
VRRP-BACKUP {
    interfaces {
        <*> {
            unit <*> {
                family inet {
                    address <*> {
                        vrrp-group <*> {
                            apply-groups VRRP-COMMON;
                            priority 150;
                        }
                    }
                }
                family inet6 {
                    address <2403:4440:*/64> {
                        vrrp-inet6-group <*> {
                            apply-groups VRRP-COMMON;
                            priority 150;
                        }
                    }
                    address fe80::7/64 {
                        vrrp-inet6-group <*> {
                            apply-groups VRRP-COMMON;
                            priority 150;
                        }
                    }
                }
            }
        }
    }
}

タグの制御仕様も更新
https://docs.google.com/spreadsheets/d/1F88mVO5Qo0lxmAqMoHjY_FvEIMfbBqJkjqSxsicRbZk/edit?usp=share_link

branch.BranchVlan.exec_add()

VLANが存在するか確認→しなければfail
Prefixを作成→重複する場合はfail

こっちで管理。クローズ
https://github.com/yamaoka-kitaguchi-lab/tn4-player/issues/80

https://github.com/yamaoka-kitaguchi-lab/tn4-player/issues/25#issuecomment-1432902158
configが間違っている
set interfaces irb unit 999 apply-groups VRRP-MASTER
set interfaces irb unit 999 description noc-life-o
set interfaces irb unit 999 family inet mtu 1500
set interfaces irb unit 999 family inet address 131.112.126.47/26 vrrp-group 99 virtual-address 131.112.126.42
set interfaces irb unit 999 family inet6 address 2403:4440:3:999::7/64 vrrp-inet6-group 99 virtual-inet6-address 2403:4440:3:999::a

license: Unlicense


text:
Allow question marks in plain scalars in flow collections

See http://yaml.org/spec/1.1/#id907281
The question mark isn't mentioned as something special here, only
,[]{}
This commit will allow
[foo?bar]
[foo ? bar]

The PR does only change the behaviour when the question mark is in the middle or at the end of the string, not at the beginning, e.g. [?foo] is handled by a different part of the code.

Note: add test to yaml-test-suite:
- [foo?bar]
- [foo ? bar]

Is it easy to allow foo?bar and foo? bar and foo bar?, but not allow foo ? bar or foo ?bar?

I think that's not so easy.
And if the ? marker will be removed in flow style in the next YAML version, then this would remove any ambiguity.

source: gharchive/pull-request

repo: yaml/libyaml

license: mit

license_type: permissive

license_source: bigquery


text:
[Dynamic Darkness - Mayor issue] Screen-Tearing like lag when using Optifine

What version are you using?
Forge: 1.12.2-forge-14.23.5.2854
Dynamic Darkness: darkness-forge-1.12.x-0.4.2
Optifine: OptiFine_1.12.2_HD_U_G5
Does this issue reproduce with the latest release?
Since 0.4.2 is the latest, yes
Which other mods do you have installed?
Optifine
What did you do?

the issue is more visible when using more mods (to cause more tension (lag) in the computer), but you can try this: (videos more below)
1.- add Dynamic Darkness and Optifine
2.- Enter to a world
3.- Move from side to side
What did you expect to see?
(Without optifine)
The movement is perfectly smooth: https://streamable.com/f464rf
What did you see instead?
(With optifine)
you will notice a slightly screen-tearing that increases the more mods you add
Dynamic Darkness and Optifine only: https://streamable.com/dn2h9k
Additional Notes
i tried a personal modpack with and without Dynamic Darkness and the screen-tearing was so noticeable, sadly i know that issues with Optifine will mostly never be fixed since it is close-source, so if you simply have no idea if this will be fixed, please write it down
Original Comment:
https://www.curseforge.com/minecraft/mc-mods/dynamic-darkness?comment=48

@gatoborrachon, thanks for tracking it down to Optifine! I’ve seen some reports on CurseForge regarding performance issues but didn’t know where to start since most players have huge modpacks.
That’s definitely something I’d like to fix, though I’m not sure when I’d have enough courage to dive into Optifine code (let’s hope that it’s not obfuscated).

glad to be helpful, and yeah, the only way i had in mind was to see Optifine's Code directly, and well, i can only say that anybody would need BON 2 to de-obfuscate (if necessary) and JD-Gui to decompile, but i think you already know this

heya, any updates on this issue? Players of my modpack have been experiencing it too

Likely related to #40 (that was fixed in v0.5.0 release). Needs confirmation and testing w/ Optifine.

source: gharchive/issue

authors: CalaMariGold gatoborrachon tie

repo: yamporg/mods

license_source: github-api


text:
Update gitlab-runner.md

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=ru
Description of changes:
Неверное имя параметра runnerRegistrationToken при создании раннера с помощью helm

Все готово!
Commit: 5a2538396546568b6c2efa8861cf38f5ac19763f
Проверьте результат: RU.
Check the result: EN.

Все готово!
Commit: b4bdb8a71d62a0597cfd6173f5072ac11cfb6532
Проверьте результат: RU.
Check the result: EN.

@trin4ik здравствуйте. Проверил ваш ПР. Да, действительно в инструкции есть ошибка, дело вот в чем:
Параметр Registration Token deprecated начиная GitLab 15.6: https://docs.gitlab.com/runner/install/kubernetes.html#required-configuration.
Хотя у нас в Marketplace и Managed Service for GitLab уже версия 16.7, тем не менее Registration Token все еще работает, но чтобы избежать возможных неполадок в будущем, лучше использовать Runner authentication token, как описано в:
https://docs.gitlab.com/ee/ci/runners/runners_scope.html#create-a-project-runner-with-a-runner-authentication-token.
Еще раз все проверим и поправим документацию в части получения токена примерно вот так:

Получите Runner authentication token:

Для настройки GitLab Runner для всего инстанса GitLab (требуются права администратора GitLab):

Нажмите кнопку Menu и выберите пункт Admin Area.
Выберите пункт CI/CD → Runners.
Нажмите кнопку New instance runner.
В поле Tags укажите метки операций или выберите опцию Run untagged jobs.
Нажмите кнопку Create runner.
В открывшемся окне скопируйте значение параметра runner authentication token, он понадобиться в дальнейшем.

Для настройки GitLab Runner для группы или проекта:

Выберите необходимую группу или проект.
В открывшемся окне слева нажмите кнопку Settings и выберите пункт CI/CD.
В блоке Runners нажмите кнопку Expand.
В блоке Project runners нажмите кнопку New project runner.
В поле Tags укажите метки операций или выберите опцию Run untagged jobs.
Нажмите кнопку Create runner.
В открывшемся окне скопируйте значение параметра runner authentication token, он понадобиться в дальнейшем.

Спасибо за внимательность, ПР закрываю. Часть про получение runnerToken поправим через наш внутренний процесс.

authors: trin4ik vnkiryushkin yfm-team

repo: yandex-cloud/docs


text:
Wallet.build_obtain_token_url не задает параметр "&response_type=code" в URL запроса авторизации

Wallet.build_obtain_token_url() не задает response_type, который требуется, иначе не работает и выдается чудное сообщение "Этому приложению отказано в доступе. Свяжитесь с его разработчиком и укажите сведения об ошибке (invalid_request)"
Поправьте.

Has been fixed by https://github.com/yandex-money/yandex-money-sdk-python/pull/2

authors: Sovetnikov romkavt

repo: yandex-money/yandex-money-sdk-python


text:
SummingMergeTree - select returns values for partition field that don't exist in partitions

Short: table is partitioned with 3 fields (dspid, tenantid, toYYYYMMDD(eventDate))
When we insert data we have only value 1 for tenantid (2nd field of partition).
If we list partitions using system parts (select partition from system.parts where database='test5ssp' and table='sspimps_raw_sum1h' and active=1) we have all parts only with tenantid=1 (full output):
(0, 1, 20180926)
(0, 1, 20180926)
(0, 1, 20180927)
(2, 1, 20180926)
(2, 1, 20180926)
(2, 1, 20180927)
(2, 1, 20180927)
(2, 1, 20180927)
(2, 1, 20180927)
(3, 1, 20180926)
(3, 1, 20180926)
(3, 1, 20180927)
However if we check
select distinct tenantid from test5ssp.sspimps_raw_sum1h
we get 226 distinct numbers. (output is shortened for clarity)
80 234 2 187 235 215 76 233 ...... ...... 1 ...... 107 146 181 143 123
select uniq(tenantid) from test5ssp.sspimps_raw_sum1h
228

What are we doing wrong, that server returns values, that are never inserted and not even in partitions list?
DDL:
CREATE TABLE test5ssp.sspimps_raw_sum1h ( tenantid Int64,  dspid Int64,  dspseatid Int64,  adprocesstype Int64,  publisherid String,  siteid String,  adzoneid String,  adomain String,  campaignid String,  creativeid String,  dealid String,  geocountry3 String,  region String,  city String,  eventtype Int64,  eventsubtype Int64,  currency String,  dlvtaken Int64,  reason Int64,  screenwidth Int64,  screenheight Int64,  measurablevisibility Int64,  eventDate Date,  eventTimestamp DateTime,  mediacost Int64,  floorprice Int64,  bidprice Int64,  totalbidscount Int64,  quantity Int64,  datacost Int64,  sspfee Int64,  publisherrevenue Int64,  segmentslist String,  impressions Int64,  vimpressions Int64,  clicks Int64)  ENGINE = SummingMergeTree() PARTITION BY (dspid, tenantid, toYYYYMMDD(eventDate))  ORDER BY (publisherid, siteid, dspseatid, campaignid, creativeid, currency, reason, dealid, dlvtaken, adomain, adzoneid, geocountry3, eventtype, segmentslist, eventsubtype, screenwidth, screenheight, adprocesstype, city, region, eventDate)  SETTINGS index_granularity = 8192
select partition,name,active,rows,partition_id,database,table,engine,path from system.parts where database='test5ssp' and table='sspimps_raw_sum1h' and active=1  (full output below)
uporabnik@ubuntu:~$ echo "select partition,name,active,rows,partition_id,database,table,engine,path from system.parts where database='test5ssp' and table='sspimps_raw_sum1h' and active=1 FORMAT PrettyCompact" | curl 'http://chserver.local:8123/' --data-binary @-
┌─partition────────┬─name───────────────────┬─active─┬─rows─┬─partition_id─┬─database─┬─table─────────────┬─engine───────────┬─path────────────────────────────────────────────────────────────────────────┐
│ (0, 1, 20180926) │ 0-1-20180926_2_41_3    │      1 │ 1229 │ 0-1-20180926 │ test5ssp │ sspimps_raw_sum1h │ SummingMergeTree │ /var/lib/clickhouse/data/test5ssp/sspimps_raw_sum1h/0-1-20180926_2_41_3/    │
│ (0, 1, 20180926) │ 0-1-20180926_45_45_0   │      1 │ 1183 │ 0-1-20180926 │ test5ssp │ sspimps_raw_sum1h │ SummingMergeTree │ /var/lib/clickhouse/data/test5ssp/sspimps_raw_sum1h/0-1-20180926_45_45_0/   │
│ (0, 1, 20180927) │ 0-1-20180927_46_734_57 │      1 │ 1412 │ 0-1-20180927 │ test5ssp │ sspimps_raw_sum1h │ SummingMergeTree │ /var/lib/clickhouse/data/test5ssp/sspimps_raw_sum1h/0-1-20180927_46_734_57/ │
│ (0, 1, 20180927) │ 0-1-20180927_737_737_0 │      1 │ 1198 │ 0-1-20180927 │ test5ssp │ sspimps_raw_sum1h │ SummingMergeTree │ /var/lib/clickhouse/data/test5ssp/sspimps_raw_sum1h/0-1-20180927_737_737_0/ │
│ (2, 1, 20180926) │ 2-1-20180926_1_40_3    │      1 │ 4233 │ 2-1-20180926 │ test5ssp │ sspimps_raw_sum1h │ SummingMergeTree │ /var/lib/clickhouse/data/test5ssp/sspimps_raw_sum1h/2-1-20180926_1_40_3/    │
│ (2, 1, 20180926) │ 2-1-20180926_43_43_0   │      1 │ 3017 │ 2-1-20180926 │ test5ssp │ sspimps_raw_sum1h │ SummingMergeTree │ /var/lib/clickhouse/data/test5ssp/sspimps_raw_sum1h/2-1-20180926_43_43_0/   │
│ (2, 1, 20180927) │ 2-1-20180927_44_736_57 │      1 │ 4639 │ 2-1-20180927 │ test5ssp │ sspimps_raw_sum1h │ SummingMergeTree │ /var/lib/clickhouse/data/test5ssp/sspimps_raw_sum1h/2-1-20180927_44_736_57/ │
│ (3, 1, 20180926) │ 3-1-20180926_3_42_3    │      1 │   20 │ 3-1-20180926 │ test5ssp │ sspimps_raw_sum1h │ SummingMergeTree │ /var/lib/clickhouse/data/test5ssp/sspimps_raw_sum1h/3-1-20180926_3_42_3/    │
│ (3, 1, 20180926) │ 3-1-20180926_47_47_0   │      1 │   17 │ 3-1-20180926 │ test5ssp │ sspimps_raw_sum1h │ SummingMergeTree │ /var/lib/clickhouse/data/test5ssp/sspimps_raw_sum1h/3-1-20180926_47_47_0/   │
│ (3, 1, 20180927) │ 3-1-20180927_48_735_57 │      1 │   24 │ 3-1-20180927 │ test5ssp │ sspimps_raw_sum1h │ SummingMergeTree │ /var/lib/clickhouse/data/test5ssp/sspimps_raw_sum1h/3-1-20180927_48_735_57/ │
│ (3, 1, 20180927) │ 3-1-20180927_738_738_0 │      1 │   16 │ 3-1-20180927 │ test5ssp │ sspimps_raw_sum1h │ SummingMergeTree │ /var/lib/clickhouse/data/test5ssp/sspimps_raw_sum1h/3-1-20180927_738_738_0/ │
└──────────────────┴────────────────────────┴────────┴──────┴──────────────┴──────────┴───────────────────┴──────────────────┴─────────────────────────────────────────────────────────────────────────────┘select distinct tenantid from test5ssp.sspimps_raw_sum1h (full output)
79 230 2 184 231 212 75 229 6 182 204 43 228 1 168 205 30 171 4 14 9 11 12 13 3 10 7 8 5 221 186 200 128 225 209 224 202 222 226 211 219 170 223 213 214 175 220 227 194 217 207 159 215 198 154 201 203 193 101 178 216 146 206 176 210 172 173 183 115 138 189 218 147 169 188 124 152 197 158 190 130 196 102 174 162 208 137 192 131 143 157 118 145 163 165 134 153 195 181 125 199 180 109 136 191 123 177 150 22 160 151 144 185 129 187 111 58 28 23 46 55 57 48 89 47 34 87 82 69 15 19 83 90 86 122 119 97 59 16 232 40 92 52 84 36 78 81 60 35 106 112 100 50 31 29 27 94 98 88 135 91 62 25 65 70 33 72 53 113 105 41 95 99 61 132 133 66 39 44 51 93 17 42 45 37 49 18 71 67 80 38 26 120 110 126 108 54 68 64 20 85 121 127 76 116 32 74 24 117 21 56 63 148 179 139 104 73 96 140 142 77 114 103 107 149 141
Clickhouse version:
select version()
18.12.17

select distinct tenantid,_partition_id from test5ssp.sspimps_raw_sum1h
1	3-1-20180926 9	0-1-20180927 3	0-1-20180927 240	0-1-20180927 202	0-1-20180927 217	0-1-20180927 141	0-1-20180927 245	0-1-20180927 229	0-1-20180927 244	0-1-20180927 219	0-1-20180927 243	0-1-20180927 227	0-1-20180927 1	0-1-20180927 239	0-1-20180927 242	0-1-20180927 241	0-1-20180927 230	0-1-20180927 238	0-1-20180927 186	0-1-20180927 231	0-1-20180927 247	0-1-20180927 246	0-1-20180927 232	0-1-20180927 189	0-1-20180927 249	0-1-20180927 234	0-1-20180927 208	0-1-20180927 236	0-1-20180927 235	0-1-20180927 237	0-1-20180927 224	0-1-20180927 173	0-1-20180927 248	0-1-20180927 201	0-1-20180927 215	0-1-20180927 168	0-1-20180927 218	0-1-20180927 221	0-1-20180927 197	0-1-20180927 198	0-1-20180927 112	0-1-20180927 193	0-1-20180927 228	0-1-20180927 199	0-1-20180927 226	0-1-20180927 163	0-1-20180927 191	0-1-20180927 222	0-1-20180927 214	0-1-20180927 220	0-1-20180927 187	0-1-20180927 128	0-1-20180927 233	0-1-20180927 153	0-1-20180927 2	0-1-20180927 204	0-1-20180927 160	0-1-20180927 210	0-1-20180927 132	0-1-20180927 166	0-1-20180927 213	0-1-20180927 225	0-1-20180927 169	0-1-20180927 170	0-1-20180927 194	0-1-20180927 206	0-1-20180927 140	0-1-20180927 158	0-1-20180927 216	0-1-20180927 209	0-1-20180927 110	0-1-20180927 192	0-1-20180927 177	0-1-20180927 149	0-1-20180927 156	0-1-20180927 145	0-1-20180927 172	0-1-20180927 211	0-1-20180927 184	0-1-20180927 196	0-1-20180927 125	0-1-20180927 144	0-1-20180927 203	0-1-20180927 154	0-1-20180927 146	0-1-20180927 250	0-1-20180927 185	0-1-20180927 176	0-1-20180927 180	0-1-20180927 143	0-1-20180927 223	0-1-20180927 195	0-1-20180927 134	0-1-20180927 181	0-1-20180927 121	0-1-20180927 207	0-1-20180927 188	0-1-20180927 133	0-1-20180927 212	0-1-20180927 4	0-1-20180927 12	0-1-20180927 24	0-1-20180927 6	0-1-20180927 164	0-1-20180927 155	0-1-20180927 183	0-1-20180927 142	0-1-20180927 147	0-1-20180927 174	0-1-20180927 165	0-1-20180927 137	0-1-20180927 161	0-1-20180927 1	2-1-20180926 1	0-1-20180926 2	2-1-20180926 4	2-1-20180926 3	2-1-20180926 7	2-1-20180926 12	2-1-20180926 13	2-1-20180926 14	2-1-20180926 5	2-1-20180926 6	2-1-20180926 10	2-1-20180926 9	2-1-20180926 11	2-1-20180926 8	2-1-20180926 87	3-1-20180927 250	3-1-20180927 2	3-1-20180927 198	3-1-20180927 251	3-1-20180927 231	3-1-20180927 81	3-1-20180927 249	3-1-20180927 6	3-1-20180927 200	3-1-20180927 224	3-1-20180927 48	3-1-20180927 248	3-1-20180927 1	3-1-20180927 181	3-1-20180927 222	3-1-20180927 34	3-1-20180927 186	3-1-20180927 229	3-1-20180927 1	2-1-20180927 64	2-1-20180927 32	2-1-20180927 27	2-1-20180927 49	2-1-20180927 58	2-1-20180927 60	2-1-20180927 51	2-1-20180927 99	2-1-20180927 52	2-1-20180927 40	2-1-20180927 79	2-1-20180927 92	2-1-20180927 88	2-1-20180927 76	2-1-20180927 245	2-1-20180927 244	2-1-20180927 236	2-1-20180927 243	2-1-20180927 247	2-1-20180927 242	2-1-20180927 246	2-1-20180927 17	2-1-20180927 239	2-1-20180927 18	2-1-20180927 20	2-1-20180927 89	2-1-20180927 97	2-1-20180927 4	2-1-20180927 75	2-1-20180927 39	2-1-20180927 134	2-1-20180927 132	2-1-20180927 137	2-1-20180927 126	2-1-20180927 107	2-1-20180927 65	2-1-20180927 16	2-1-20180927 59	2-1-20180927 5	2-1-20180927 61	2-1-20180927 248	2-1-20180927 45	2-1-20180927 55	2-1-20180927 38	2-1-20180927 241	2-1-20180927 85	2-1-20180927 83	2-1-20180927 90	2-1-20180927 84	2-1-20180927 66	2-1-20180927 35	2-1-20180927 114	2-1-20180927 124	2-1-20180927 122	2-1-20180927 116	2-1-20180927 109	2-1-20180927 6	2-1-20180927 12	2-1-20180927 34	2-1-20180927 29	2-1-20180927 30	2-1-20180927 33	2-1-20180927 31	2-1-20180927 96	2-1-20180927 98	2-1-20180927 102	2-1-20180927 108	2-1-20180927 95	2-1-20180927 43	2-1-20180927 149	2-1-20180927 145	2-1-20180927 131	2-1-20180927 140	2-1-20180927 100	2-1-20180927 62	2-1-20180927 26	2-1-20180927 36	2-1-20180927 8	2-1-20180927 73	2-1-20180927 87	2-1-20180927 74	2-1-20180927 28	2-1-20180927 125	2-1-20180927 111	2-1-20180927 121	2-1-20180927 46	2-1-20180927 240	2-1-20180927 9	2-1-20180927 10	2-1-20180927 104	2-1-20180927 106	2-1-20180927 135	2-1-20180927 159	2-1-20180927 143	2-1-20180927 144	2-1-20180927 48	2-1-20180927 67	2-1-20180927 72	2-1-20180927 63	2-1-20180927 56	2-1-20180927 25	2-1-20180927 113	2-1-20180927 80	2-1-20180927 15	2-1-20180927 19	2-1-20180927 238	2-1-20180927 44	2-1-20180927 47	2-1-20180927 41	2-1-20180927 82	2-1-20180927 24	2-1-20180927 42	2-1-20180927 2	2-1-20180927 235	2-1-20180927 14	2-1-20180927 94	2-1-20180927 130	2-1-20180927 123	2-1-20180927 119	2-1-20180927 37	2-1-20180927 11	2-1-20180927 71	2-1-20180927 54	2-1-20180927 50	2-1-20180927 69	2-1-20180927 23	2-1-20180927 22	2-1-20180927 105	2-1-20180927 129	2-1-20180927 81	2-1-20180927 128	2-1-20180927 101	2-1-20180927 91	2-1-20180927 78	2-1-20180927 21	2-1-20180927 139	2-1-20180927 53	2-1-20180927 68	2-1-20180927 233	2-1-20180927 7	2-1-20180927 232	2-1-20180927 103	2-1-20180927 142	2-1-20180927 3	2-1-20180927 160	2-1-20180927 146	2-1-20180927 189	2-1-20180927 203	2-1-20180927 181	2-1-20180927 191	2-1-20180927 183	2-1-20180927 86	2-1-20180927 115	2-1-20180927 93	2-1-20180927 141	2-1-20180927 138	2-1-20180927 117	2-1-20180927 77	2-1-20180927 70	2-1-20180927 57	2-1-20180927 13	2-1-20180927 229	2-1-20180927 118	2-1-20180927 120	2-1-20180927 110	2-1-20180927 152	2-1-20180927 148	2-1-20180927 150	2-1-20180927 136	2-1-20180927 225	2-1-20180927 237	2-1-20180927 133	2-1-20180927 156	2-1-20180927 151	2-1-20180927 155	2-1-20180927 154	2-1-20180927 206	2-1-20180927 201	2-1-20180927 193	2-1-20180927 194	2-1-20180927 127	2-1-20180927 234	2-1-20180927 112	2-1-20180927 166	2-1-20180927 157	2-1-20180927 199	2-1-20180927 178	2-1-20180927 192	2-1-20180927 147	2-1-20180927 153	2-1-20180927 158	2-1-20180927 200	2-1-20180927 195	2-1-20180927 197	2-1-20180927 173	2-1-20180927 231	2-1-20180927 4	3-1-20180926 14	3-1-20180926 9	3-1-20180926 11	3-1-20180926 12	3-1-20180926 13	3-1-20180926 3	3-1-20180926 12	0-1-20180926 10	0-1-20180926 11	0-1-20180926 6	0-1-20180926 13	0-1-20180926 14	0-1-20180926 9	0-1-20180926 7	0-1-20180926 8	0-1-20180926 4	0-1-20180926 5	0-1-20180926 3	0-1-20180926 2	0-1-20180926

At the moment we think, that the error was caused in that we have not added field in PARTITION BY fields to ORDER BY fields list.

repo: yandex/ClickHouse


text:
Is there a way to allocate more resources to the merge operation?

Hi,
I have a clickhouse cluster setup with distribution and replication. I have a backup node which has replicas of all the shards in the cluster. I am getting the following errors only on my backup node
 executeQuery: Code: 252, e.displayText() = DB::Exception: Too many parts (304). Merges are processing significantly slower than inserts.
My backup node is not serving any queries so I can allocate more resources to the merge process. Is there a configuration to do that?
Regards

https://github.com/yandex/ClickHouse/issues/3174#issuecomment-423074171
https://github.com/yandex/ClickHouse/issues/2811#issuecomment-414464589

Thanks @den-crane

authors: den-crane wasaeshoaib


text:
🛑 Umami is down

In 0db25a7, Umami (https://umami.icloudnative.io) was down:

HTTP code: 503
Response time: 1709 ms

Resolved: Umami is back up in 5e8fe99.

repo: yangchuansheng/upptime

license: MIT


text:
🛑 Google is down

In ae9ff1f, Google (https://google.icloudnative.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Google is back up in d2da9e9.


text:
🛑 Docker Hub Mirror is down

In e0c1abd, Docker Hub Mirror (https://docker.icloudnative.io) was down:

HTTP code: 503
Response time: 15741 ms

Resolved: Docker Hub Mirror is back up in 74418a7.


text:
意図しない読み上げが生じる

以下のものは素直に読み上げるべきではない。

URI
Spoiler
絵文字
コードブロック
ユーザーメンション
ロールメンション

とりあえず、URIとコードブロックに関してはどうにかしたが…。

Spoilerは、まあとりあえず対応しない方針で、解決。


text:
about the number of sample point

Thanks your great work,ｙour work helps me a lot.
I can set batch size to 12 using one rtx2080 for my own model.I see that the number of your sample point is that:1280,320,80,40. Do you mean let me increase the number of sample points to improve performance more in my network?
By the way,Do you think the same network sampled on different datasets S3DIS and Semantickitti should have different number of sample points? Because the number of pints in Semantickitti is 10240, and the number of pints in s3dis is 4096.

Hi, @longmalongma , using more point as input can partly improve the performance (i.e., using 20480 points rather than 10240). The sampled points of each layer should be fixed by certain ratio (i.e., 0.25 or 0.1), which is a hyper-parameter and needs to be finely adjusted :)

Hi, @longmalongma , using more point as input can partly improve the performance (i.e., using 20480 points rather than 10240). The sampled points of each layer should be fixed by certain ratio (i.e., 0.25 or 0.1), which is a hyper-parameter and needs to be finely adjusted :)

Thanks for your reply. You mean the number of sampling points should be fixed on different datasets with different input points? Now I have a question.
Should the number of sample points increase with the number of input points in different data sets?

Thanks for the kind answer!
Could you share the detailed sample points on S3DIS and SCANNET, for classifcation and for semantic segmentation? Thanks again!

authors: longmalongma tangbohu yanx27


text:
这个好不好？

可以再加个批量压缩的功能

我的定义是轻量级，只做相册，压缩和裁剪不做进来。相册、压缩、裁剪应该是独立的三个模块。

authors: aquanstudy yanzhenjie

repo: yanzhenjie/Album


text:
Change the key formatting to avoid crash if URL contains encoding with %

I tested and it's working fine with the change suggested.

👍 Merged to master.

authors: gmogames trevorstout

repo: yapstudios/YapImageManager


text:
multi-task-learning-example pytorch notebook

Hi! This is a pytorch version of the notebook
Results are marginally lower than the keras version of the notebook.
standard deviations: Keras: [8.6481799024418997, 0.92546439885191034]
standard deviations: pytorch: [8.587499618530273, 0.9198104739189148]

@yaringal Any possibility of merging this to the master branch?

repo: yaringal/multi-task-learning-example


text:
TypeError: can't convert np.ndarray of type numpy.int32. The only supported types are: float64, float32, float16, int64, int32, int16, int8, uint8, and bool.

Hi, I missed a problem when  first ran this code.  The Model printed successfully

But Problems happened during training
Detected GPUs: 1 Requested: 1
0%|                                                                                | 0/1323 [00:00<?, ?it/s]Traceback (most recent call last):
File "train.py", line 61, in
main(config, args.resume)
File "train.py", line 42, in main
trainer.train()
File "G:\pytorch_segmentation\base\base_trainer.py", line 101, in train
results = self._train_epoch(epoch)
File "G:\pytorch_segmentation\trainer.py", line 49, in _train_epoch
for batch_idx, (data, target) in enumerate(tbar):
File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\tqdm_tqdm.py", line 1017, in iter
for obj in iterable:
File "G:\pytorch_segmentation\base\base_dataloader.py", line 76, in iter
self.preload()
File "G:\pytorch_segmentation\base\base_dataloader.py", line 64, in preload
self.next_input, self.next_target = next(self.loaditer)
File "C:\Users\Administrator\Anaconda3\lib\site-packages\torch\utils\data\dataloader.py", line 346, in next
data = self.dataset_fetcher.fetch(index)  # may raise StopIteration
File "C:\Users\Administrator\Anaconda3\lib\site-packages\torch\utils\data_utils\fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "C:\Users\Administrator\Anaconda3\lib\site-packages\torch\utils\data_utils\fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "G:\pytorch_segmentation\base\base_dataset.py", line 132, in getitem
label = torch.from_numpy(np.array(label, dtype=np.int32)).long()
TypeError: can't convert np.ndarray of type numpy.int32. The only supported types are: float64, float32, float16, int64, int32, int16, int8, uint8, and bool.

Looking forward to your reply.Thanks

This is the same issue as in https://github.com/yassouali/pytorch_segmentation/issues/31#issue-533712628
See a possible solution: https://github.com/yassouali/pytorch_segmentation/issues/31#issuecomment-562510155

authors: DarrenmondZhang yassouali


text:
1 Project kickstart with SemVer Explainer

Document SemVer
Best practices for Issues, PR and Tags.

Squashed to have cleaner GitHub History!

I'll rename the commit to match the issue number..

The only commit. https://github.com/yaya2devops/terraform-beginner-bootcamp-2023/commit/e984c0907ede1f5885204e28414b8b52d4054f22
That has no direction to the issue.
For a great reason.
To get your attention on this.


text:
Is this licensed for use?

I see no license in this project.  Is it just well-hidden?  Did you forget to include a license?  Do you just want to make it illegal for others to use this?  Your licensing intentions are not clear.

Ignore that.  I somehow missed the license at the bottom of the README.  I'll submit a pull request for a LICENSE file and gemspec update.

Hi @apotheon
Thanks. Just make sure to use licence (noun) and license (verb) and I'll accept it :-)
Regards,
yb66

I've updated the name of the LICENCE file.  Nothing else in the actual commit contains "license", unless it's legal text (which I don't typically mess with when copying a specific legal document) or a configuration property (which I'd expect to break the gem).  Do you want me to delete the branch and start over so the commit log contains only Britishisms?


text:
🛑 BLOG is down

In e131226, BLOG (https://dogcraft.top) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BLOG is back up in 15a4c72.


text:
请问下为什么储存的图片要设置为ext格式的？而不是jpg格式的？

rt

代码注释中的ext只是表明该图片的扩展名，具体什么格式要看网站给出的图片链接是什么扩展名。比如jpg扩展名的就保存为.jpg，png扩展名的就保存为.png，并非每张图片都保存为.ext。

authors: kouyiwei ychenracing

repo: ychenracing/Spiders


text:
#449 - Begin Java CCM.

#449
To calculate NCC correctly, we will use Java Graph instead of XSL. This PR introduces Java based CCM Calculus and adds todos for further work.

@0crat status

@0crat status (here)

@vzurauskas This is what I know about this job in C7JGJ00DP, as in §32:

The job #477 is not in scope
Job footprint (restricted area)

@paulodamaso This PR is not in scope for some reason. Can you add it in?

@0crat in

This pull request #477 is assigned to @victornoel/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @paulodamaso/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; there will be a monetary reward for this job

@vzurauskas any news?

@victornoel Done.

@paulodamaso looks good to me

@victornoel/z this job was assigned to you 5days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.

@vzurauskas ping

@victornoel @paulodamaso Done.

@vzurauskas @victornoel Thanks!

@rultor merge

@rultor merge

@paulodamaso OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@paulodamaso Done! FYI, the full log is here (took me 14min)

@0crat status

@0crat status  (here)

@victornoel This is what I know about this job in C7JGJ00DP, as in §32:

The job #477 is in scope for 12days
The role is REV
The job is assigned to @victornoel/z for 12days
There is a monetary reward attached
@victornoel/z will get 25% of their hourly rate for this job
The job doesn't have any impediments
The budget is 15 minutes/points
These users are banned and won't be assigned:

@vzurauskas/z: This user reported the ticket

Job footprint (restricted area)

@paulodamaso can you tell 0crat out, it seemed to have missed this closing event :/

@0crat out

@sereshqua/z please review this job completed by @victornoel/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed

Code review was too long (12 days), architects (@paulodamaso) were penalized, see §55

@vzurauskas please make sure you start all your comments with the name of the user they are referred to, see

@sereshqua Yep, missed one, sorry.

@0crat quality acceptable

authors: 0crat paulodamaso rultor sereshqua victornoel vzurauskas


text:
able to get channel overrides* (properly)

I was attempting to add mute guild (/channel) /group chat support for gord but then ran into this issue with the discordgo fork
Edit: to clarify, there is no possible way to get channel overrides currently (due to this issue)

What is the purpose of making the channel id an interface{}? so it's effectively dynamically typed?

Discord causes it to either be a float64 or a string (I believe it's random) but yeah I believe they did it to stop custom discord clients (or just some dev at discord had an aneurysm) but to convert it from the interface{} you could just use code like this
(it was put in the issue by the original cordless maintainer but never accepted due to it being user account only 624
func convertChannelID(channelID interface{}) string {
	switch reflect.TypeOf(channelID).String() {
	case "float64":
		return fmt.Sprint(channelID.(float64))
	case "string":
		return channelID.(string)
	}

	return ""
}

Discord causes it to either be a float64 or a string

That's... very stupid. Welp okay I guess, makes sense.

nice music in that vid btw

Discord causes it to either be a float64 or a string

That's... very stupid. Welp okay I guess, makes sense.

Extremely and ik the amazing 10 seconds of it that sounds like I'm listening to a clock thank you lmao here's the full thing
https://open.spotify.com/track/5zHPOglU6vWzaaJJRN7c7z?si=79451d4cda2b499a

authors: Not-Cyrus yellowsink

repo: yellowsink/discordgo


text:
Missing information for CUB TTI data_dir2

Hello,
To reproduce the TTI experiment an input parameter for data_dar2 is required and the commands provided have the value of CUB. Looking at the function this command calls I have assumed this is for the complete CUB dataset in the same format as the processed version of CUB. I cannot find details on this however and am receiving the error message AssertionError: len(instance_attr_labels): 631546, len(b_attr_labels): 648928 which I am assuming is due to the mask list generated having the following following value: [  1   4   6   7  10  14  15  20  21  23  25  29  30  35  36  38  40  44 45  50  51  53  54  56  57  59  63  64  69  70  72  75  80  84  90  91 93 101 104 106 110 111 116 117 119 126 131 132 134 145 149 151 153 157 158 163 164 168 172 173 178 179 181 182 183 187 188 193 194 196 202 203 208 209 211 212 213 218 220 221 235 236 238 239 240 242 243 244 249 253 254 259 260 262 268 274 277 283 289 292 293 294 298 299 304 305 308 310 311]. Comparing this to the concept in processed cub it is missing the concepts 99, 125, 152, 198, 225 and 309 while gaining the concepts 104, 173 and 182.
The attributes of each entry in train.pkl is as follows:
id: image ID
img_path: path to image file
class_label: label of image classification
attribute_label: list of length 312 containing 1 if concept at index is present and 0 if not
attribute_certainty: list of length 312 containing value of concept certainty where the index is the concept number

Is the AssertionError being thrown due to the mask value (the assert is defined on line 27 of tti.py)? And is it possible to have a copy of train.pkl and test.pkl for data_dir2 provided to reproduce the results in the paper?
Edit: I have also generated train and test files with data_processing.py with a similar outcome

based on the assertion error message it seems like b_attr_labels has 112 attributes/ image (which is the right number after aggregrating attributes on class levels), while instance_attr_labels only has 109. To clarify data_dir2 is the directory where CUB with class-level attribute values is saved and we named it something like class_attr_data_10 as the default. Did you follow the data processing instructions (first section of README.md)? The full processed data could also be found here.

Hello @thaonguyen19,
Thank you for your reply. I have now managed to get TTI working. The issue turned out to be the N_ATTRIBUTES value in CUB/config.py. By default this is 312 but needed to be 112 for the class level concepts version of CUB.
I did not need to run generate_new_data.py in the end but I noticed this may not be functioning. The function get_class_attributes_data in this file is defined but does not seem to be used. It also is a bit unclear the command to run for data processing from the instructions.

Hello @JackFurby,
Thank you for your solution. I also had that issue, and now it works. BTW, after running tti on my joint0.01 model, I discovered that the accuracy is acturally decreasing as the increase of the concept groups. Do you have similar issue?

authors: JackFurby SheltonZhaoK thaonguyen19

repo: yewsiang/ConceptBottleneck


text:
train.py出现EOFError: Ran out of input

大佬，我将cn-celeb数据创建好后，进行训练的时候出现了如下错误，貌似是多线程的问题，但是设置的参数明明是0

@InedibleMushrooms 你拉下最新代码试试

好的

authors: InedibleMushrooms yeyupiaoling

repo: yeyupiaoling/Kersa-Speaker-Recognition


text:
🛑 Glitch is down

In 672a126, Glitch (https://chief-outgoing-trowel.glitch.me) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Glitch is back up in 4172ef9 after 9 minutes.

repo: yidasanqian/uptime


text:
Create 0000-01-02-yiheng0123.md

0

0


text:
专业术语表

短的术语表可以直接加在prompt里。
外置一个csv，然后prompt+=f"下列单词应当按照：{术语表} 来翻译"
但如果是很长的术语表，估计每次都放在prompt里有点浪费。

哦，对了，可以设定一个预处理epub文件，先把所有的术语直接按术语表里替换，
然后再把预处理epub文件交给ChatGPT翻译。
加一个中间层，可能性高很多

我覺得中間層著個想法很不錯，之後可以提供並維護一個類似集合術語的資料庫。
當然，目前我想先重構好，再來規劃下一步。
還是要等作者大大了～

谢谢大家，白天要带娃，试验下得晚上了

开始搞专业术语表，大致思路如下：
用户随便从哪里搞个术语表，是txt或者csv文件，一行内有专业词汇的中文和英文，但应该放在一行里。估计能够搞来的csv文件都应该满足要求。
对每一行做embedding，得到embedding向量，保存在术语库中。
对于待翻译的text，先做embedding，然后计算与术语库中每项的cosine_similarity，选出最接近的n个，也就是说，找到这段待翻译的text中所包含的专业词汇。
在交给ChatGPT的翻译prmopt中加入这些专业词汇表，让ChatGPT酌情参考使用。

我試過了，他不一定會照著翻譯

@kj-huang
那就用另一种思路，拿到一段原文以后，先去术语表里查字典，直接替换成术语翻译，然后再把中英参杂的语句交给ChatGPT翻译

這個好，我來實驗看看

@kj-huang 有试验结果吗，很期待

挺成功的，我已經給一家廠商試跑，效果不錯

authors: DennySORA goldengrape kj-huang lindeer yihong0618


text:
Add support PHP 8.1 tests.

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

👍

authors: samdark terabytesoftw

repo: yiisoft/db-oracle


text:
leftJoin ON array BUG Yii2, 2.0.10-dev

        $item = Item::find();
        $item
            ->alias('a')
            ->leftJoin('easyii_article_categories b',['b.category_id'=>'a.category_id'])
            ->andWhere(['a.status'=>Item::STATUS_ON])
            ->andWhere(['b.slug'=>$slug])
        ;

SELECT `a`.* FROM `easyii_article_items` `a` LEFT JOIN `easyii_article_categories` `b` ON `b`.`category_id`='a.category_id' WHERE (`a`.`status`=1) AND (`b`.`slug`='top-10')

VarDumper::dump($item->all(),100,1); die; return empty array
        $item = Item::find();
        $item
            ->alias('a')
            ->leftJoin('easyii_article_categories b','b.category_id=a.category_id')
            ->andWhere(['a.status'=>Item::STATUS_ON])
            ->andWhere(['b.slug'=>$slug])
        ;

SELECT `a`.* FROM `easyii_article_items` `a` LEFT JOIN `easyii_article_categories` `b` ON b.category_id=a.category_id WHERE (`a`.`status`=1) AND (`b`.`slug`='top-10')

works nice

Note that the array format of where() is designed to match columns to values instead of columns to columns, so the following would not work as expected: ['post.author_id' => 'user.id'], it would match the post.author_id column value against the string 'user.id'. It is recommended to use the string syntax here which is more suited for a join:

http://www.yiiframework.com/doc-2.0/yii-db-query.html#join()-detail

authors: cebe izemize


text:
PHP 7.2: count(): Parameter must be an array or an object that implements Countable

What steps will reproduce the problem?
A lot of tests on PHP 7.2 are failing with
count(): Parameter must be an array or an object that implements Countable

https://travis-ci.org/yiisoft/yii2/jobs/255175595#L670
count() throws a warning since PHP 7.2 in case a scalar or non-countable object is passed. We rely on this behavior in many places so code needs to be adjusted.
More info

https://wiki.php.net/rfc/counting_non_countables
http://php.net/manual/en/function.count.php

same

https://travis-ci.org/yiisoft/yii2/jobs/283264298

authors: cebe samdark tmli3b3rm4n


text:
Why can't an action parameter be an array?

https://github.com/yiisoft/yii2/blob/master/framework/web/Controller.php#L134 determines that if you pass an array as an action parameter, this is considered invalid and will raise a BadRequestHttpException. Why is that? I can pass any other value, including objects, and it will be fine - the error is only raised in case of an array. This is a show stopper in JSON-RPC server implementations such as https://github.com/georgique/yii2-jsonrpc which need to be able to pass any JSON-compliant value as a parameter to actions.

Arrays are valid, you just need to specify the type.
public function actionTest(array $param)
{
}

I see, thanks, this worked. I was using a generic "echo" action to test my JSON-RPC client which had an untyped parameter. I added a special echo-array action for the array type. Still, I don't really understand what makes the array so special in this case...

This API is designed for handling regular web requests with params fetched from $_GET. In that case param may be either a scalar (as string) or array. In most cases array is not expected and may lead to exceptions or even create security issues, that is way explicit type in method signature is required for arrays. There is no special treatment for other non-scalar types, because there is no way that client could pass for example an object as $_GET.

Ok, thank you for the explanation!

authors: alex-code cboulanger rob006


text:
Fix unit tests, see #12745

Q
A

Is bugfix?
yes

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
#12745

Some namespaces uses were missing in 3e1588b5b9cfc2d2b09a2352586eb464dfae81b0

Even though this would be the obvious way, it should be fixed by using generic classes instead of db specifc ones. I have fixed it in fa96756. Thanks anyway!

authors: cebe mytskine


text:
19693 command cache null scalar

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Fixed issues
#19693,#17349

That makes null a valid result for caching. Looks alright but tests are needed.

I added a simple unit test.
I am not sure this is what you wanted, tell me if we need something else :)

authors: Arkeins samdark


text:
bug: list render error

Link to minimal reproduction:
https://repl.it/@liaoyinglong/fre-list-bug
Steps to reproduce

first render     A...E  button        √

click button
expected     C  D  E  button      √
actually        C D button    E      ×

repeat  click           ×

I have fixed this bug

authors: liaoyinglong yisar

repo: yisar/fre


text:
请问一下大航海怎么搞快一点

需要修改哪些参数？

啥快一点，说清楚

参加的话必须要有一个必要延迟3秒，否则会导致不必要的重复进入房间。guard_raffle_handler这里的check里面有个延迟，https://github.com/yjqiang/bili2.0/blob/master/tasks/guard_raffle_handler.py#L37 改了max值，这个就是最大延迟。

好的，谢谢
发自我的 iPhone
在 2019年2月25日，00:30，yjqiang <notifications@github.commailto:notifications@github.com> 写道：
参加的话必须要有一个必要延迟3秒，否则会导致不必要的重复进入房间。guard_raffle_handler这里的check里面有个延迟，https://github.com/yjqiang/bili2.0/blob/master/tasks/guard_raffle_handler.py#L37 改了max值，这个就是最大延迟。
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/yjqiang/bili2.0/issues/58#issuecomment-466791877, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AO4lpH6sJe1x8MKJwiKcdZkuDgqo91jIks5vQr4kgaJpZM4bOmxQ.

authors: Jutean yjqiang


text:
🛑 SII - ItIstmo is down

In 4c017e2, SII - ItIstmo (https://sii.itistmo.edu.mx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SII - ItIstmo is back up in 51c0d1f.

repo: ymiranda-web/istmo-status


text:
🛑 Cliente Istmo is down

In a42d6c4, Cliente Istmo (https://sit.istmo.tecnm.mx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Cliente Istmo is back up in c059b17.


text:
General: Expose cleanup plugin settings

Changelog Description
Expose the clean up plugins settings so they can be enabled/disabled.
This also exposes the optional key on all the clean up plugins so they could be optionally disabled during the publish. However, is the optional key having any effect in the new publisher?
Before

After

Testing notes:

Open the Studio Settings and disable the Explicit Clean up plugin

Open the Studio Settings and disable the Explicit Clean up plugin

I'm sorry, I'm looking at this PR, and I forgot what was the reason to have option to disable the plugin?

Open the Studio Settings and disable the Explicit Clean up plugin

I'm sorry, I'm looking at this PR, and I forgot what was the reason to have option to disable the plugin?

Because I didn't want any plugins to "explicitly" delete anything, I wanted to be the one that "explicitly" chose when I actually want things to be deleted so I wanted to have the option to disable the plugin

Open the Studio Settings and disable the Explicit Clean up plugin

I'm sorry, I'm looking at this PR, and I forgot what was the reason to have option to disable the plugin?

Because I didn't want any plugins to "explicitly" delete anything, I wanted to be the one that "explicitly" chose when I actually want things to be deleted so I wanted to have the option to disable the plugin

It's been that long though that I no longer know if it still has any impact on my fork but I do remember experiencing some files being deleted due to the Explicit Clean Up that I actually didn't want deleted

It's been that long though that I no longer know if it still has any impact on my fork but I do remember experiencing some files being deleted due to the Explicit Clean Up that I actually didn't want deleted

Can you please revisit that? Because I know we had issues and they should be resolved now. I don't think it's good idea to have setting to disable this plugin.

Does this PR allow me to disable the feature? that on a render publish from deadline that it DELETES the source render files? There've been quite a few times where one machine messed up in the render - the sequence got published; all source renders were deleted and we now have to re-render the full sequence instead of just 2 frames to publish it again. Drives us mad.
How can we disable the feature to remove the "render files" from the work/staging area - in our case referring to Maya + Fusion.

Does this PR allow me to disable the feature? that on a render publish from deadline that it DELETES the source render files? There've been quite a few times where one machine messed up in the render - the sequence got published; all source renders were deleted and we now have to re-render the full sequence instead of just 2 frames to publish it again. Drives us mad.
How can we disable the feature to remove the "render files" from the work/staging area - in our case referring to Maya + Fusion. Is there a setting for that somewhere?

Right? I feel the same way, I want to have full control of when files get deleted as I've been in the same situation where in the farm the staging temporary files get deleted and it would have been very useful to be able to toggle that off so I can debug what happened or pick it up from those intermediate files

Does this PR allow me to disable the feature? that on a render publish from deadline that it DELETES the source render files? There've been quite a few times where one machine messed up in the render - the sequence got published; all source renders were deleted and we now have to re-render the full sequence instead of just 2 frames to publish it again. Drives us mad.
How can we disable the feature to remove the "render files" from the work/staging area - in our case referring to Maya + Fusion. Is there a setting for that somewhere?

Right? I feel the same way, I want to have full control of when files get deleted as I've been in the same situation where in the farm the staging temporary files get deleted and it would have been very useful to be able to toggle that off so I can debug what happened or pick it up from those intermediate files

I owe @iLLiCiTiT a test to confirm whether these changes actually have any effect

Boys, because we're splitting OpenPype into ayon-core and individual host addons, this PR would have to be re-created to target one of those. Also it probably needs to be properly re-validated :)
We're closing it down, but we'll he happy for a new PR to ynput/ayon-blender repository once it's up.

authors: BigRoy fabiaserra iLLiCiTiT mkolar

repo: ynput/OpenPype


text:
Pools and Groups user overrides during publish

Is your feature request related to a problem? Please describe.
As mentioned in ynput/OpenPype#3051 PR we can continue improving pools and groups handling during publish
Describe the solution you'd like
We should expose pools and groups in render instances for users so these can be overridden from the default values we set in project settings. (in all hosts where it is actually possible, definitely in Maya, Nuke, Houdini, Blender, etc.)
Render farm resources management can be quite complex. So far we have per-project settings to allow fine-tunning the requirements based on production needs.
Sometimes it is necessary to alter these settings on a scene level to allow user control. For example, we need to restrict the machines with 256GB ram to render or only machines with GPU installed etc.
It will be also valuable to expose these values (the group is hidden in settings now) so it will be much easier to double-check if submission settings are correct.
We should expose pools and groups fields as text fields so it would be possible to add/change the assignment.

[cuID:OP-3096]

Transfering this issue since it's still todo apparently for Blender.

authors: BigRoy m-u-r-p-h-y

repo: ynput/ayon-deadline


text:
basic networking

Changelog Description
Adds basic support for loading representations into a network-managed OpenRV session from TrayLoader.
It uses OpenRVs networking feature to send custom events from any network source to a running instance of OpenRV.

adds Open in RV Loader action
implements ayon_load_container RV event
adds networking and imageio server settings

Additional Info
Your need to launch RV with -network in the host settings.

ayon+settings://applications/applications/openrv
Unfortunately I know of no way to launch RV with a specific port. If you launch multiple instances of RV with -network they will each increment their socket port. Depending on the order of closing the instances RV might remember the "wrong" port resulting in further pings to fail. In that case either reset RV's networking to default or set the new port in server settings.
The server network settings default to RV's
When using Open in RV to launch with multiple representations it may happen that loading the media exceeds the ping timeout. If you already have an open session you should be fine.
Testing Notes

open TrayLoader
select supported products
click Open In RV

i'd say for the first iteration this should be good.
@BigRoy I addressed all your suggestions (massive thanks again!) except for the one about openpype support. but i think i can just drop it since (as you said) openrv was never intended to be used with openpype

I am not sure if this could be applicable for the networking but posting it here for inspiration anyway.
We are using Websocket comunication mainly in TVPaint and AfterEffects.
https://github.com/ynput/ayon-core/blob/a4fb13d476e244c188419d9ad9a5c185cd31857a/client/ayon_core/hosts/tvpaint/api/communication_server.py#L65
I believe the library @kalisp was using in AfterEffects might be more handy but I might be wrong.
https://github.com/ynput/ayon-core/blob/develop/client/ayon_core/hosts/aftereffects/api/ws_stub.py
We were already discussing it internally (@mkolar @m-u-r-p-h-y ) and the transformation of networking module could be done by us.

Yeah also chatted with ondrej about the rpc.
I have a private branch in which i explored this approach a bit.
Would be very cool if you could give me some hints about implementing this.

after chatting with @antirotor and @kalisp I'll merge in the latest develop,
expose amount of sleep after sending the close event as an environment variable AYON_RV_NETWORK_TIMEOUT`
and update the PR description to also show any pitfalls/caveats that are present

I reworked get_*_plugin methods as we were loosing them inside of OpenRV.
Not totally sold on name universal_loader (which was actions before, which Kuba didn't like). Regular OpenRV load plugins must be in separate folder from Play in OpenRV as they are importing rv. Open for better name, maybe return back to actions??

I like the fact that at least it refers to loaders - since that's what it is. But I agree that universal is new terminology I haven't seen in AYON yet. I have heard of global before however. I wonder if load_global or even a subfolder of load/global would be better.
But by starting the folder with or inside of load then at least it appears closely related to that.

I like the fact that at least it refers to loaders - since that's what it is. But I agree that universal is new terminology I haven't seen in AYON yet. I have heard of global before however. I wonder if load_global or even a subfolder of load/global would be better.

That's in fact true, rather add subfolders global and openrv inside load folder.

I like the fact that at least it refers to loaders - since that's what it is. But I agree that universal is new terminology I haven't seen in AYON yet. I have heard of global before however. I wonder if load_global or even a subfolder of load/global would be better.

That's in fact true, rather add subfolders global and openrv inside load folder.

i refactored that in https://github.com/ynput/ayon-openrv/pull/1/commits/8dea72f197f6dd5eb406f0e8c14c20634201520d
should be fine right?

Retested, still works.

@kalisp just made me aware that all my comments didn't show up on your sides. Sorry didn't know i had to submit my comments.
thought that PENDING flag meant the conversation was not resolved and thus pending 🤦

Merged, we can continue with next PRs.
Thanks for contribution! :)

authors: BigRoy iLLiCiTiT jakubjezek001 kalisp tweak-wtf

repo: ynput/ayon-openrv


text:
fix: Use brighter colors for better accessibility

Resolves #3
Replace all Colors:DarkCOLOR with Colors:COLOR
The reason for the very dark colors before was the double darkening due to: a) background and b) dark version.
With this PR things are actually readable:

This is current main:

I installed jnv using brew just now, but the color seems not changed?

@rrfeng This pull request is not yet merged. So the color theme is still v0.1.0 instead.

@rrfeng This pull request is not yet merged. So the color theme is still v0.1.0 instead.

Oh I missed the status of this pull request :D

I've updated the PR as requested @ynqa

Excellent! Now just a new release 😎

authors: corneliusroemer rrfeng ynqa

repo: ynqa/jnv


text:
Handaling false positive resources

Need to think about false positive resources.
There are many resources which will be marked as unused but not necessary unused. It might be ok for ad-hoc script run but it might be problem when running in K8S as services and specially when alerts are configured. One might get alert which are not genuine.
In order to tackle above a user can provide a list of resources which getting marked as false positive and before sending output we can remove such resources.

Not enough free time to implement.


text:
Sync mastodon -> twitter?

I like using mastodon, but I can not force all my network to switch from twitter.
So I'm searching for a way to keep the twitter part informed (and invite them with each post to our mastodon :).
Can you imagine to support the way back in your bot or do you say "that's clearly outside"?

It shouldn't be too hard to go the other way. Now that mastodon and twitter parts are in separate namespaces, it should be pretty clean to go the other way. It might make sense to move the content of the -main function to mastodon namespace, and then create an equivalent in the twitter namespace. The -main could then decide which one to use based on the config settings.

authors: jerger yogthos

repo: yogthos/mastodon-bot


text:
refactor: core pkg uses slog

The pull request depends #407

Codecov Report

Merging #410 (52772cc) into master (1c41ec0) will increase coverage by 0.62%.
The diff coverage is 63.31%.

@@            Coverage Diff             @@
##           master     #410      +/-   ##
==========================================
+ Coverage   59.44%   60.06%   +0.62%
==========================================
  Files          41       40       -1
  Lines        2796     2827      +31
==========================================
+ Hits         1662     1698      +36
+ Misses       1008     1003       -5
  Partials      126      126

Impacted Files
Coverage Δ

core/core.go
100.00% <ø> (ø)

core/frame/frame.go
32.20% <ø> (+0.95%)
:arrow_up:

options.go
33.87% <0.00%> (ø)

rx/runtime.go
0.00% <0.00%> (ø)

rx/stream_operator.go
32.82% <0.00%> (ø)

sfn.go
23.71% <16.66%> (ø)

zipper_notwindows.go
26.31% <20.00%> (+1.31%)
:arrow_up:

core/listener_default.go
50.00% <33.33%> (ø)

source.go
47.16% <33.33%> (ø)

zipper.go
27.15% <38.46%> (+1.32%)
:arrow_up:

... and 11 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

authors: codecov-commenter woorui

repo: yomorun/yomo


text:
.storekit path incorrect in the .xcscheme file

Hello,
While we set the storeKitConfiguration parameter to be something like storeKitConfiguration: Configuration/App-Development.storekit in the project.yml file and then generate the project file, in the respective scheme, the storekit path is not being set correctly by the Xcodegen. The path that it adds in the scheme is ../../Configuration/App-Development.storekit, while the real path that actually works is ../Configuration/App-Development.storekit.
Can someone please look into this?
Thank you.
Anand

You can control the prefix with options.schemePathPrefix https://github.com/yonaskolb/XcodeGen/blob/master/Docs/ProjectSpec.md#options

Hello, I have a similar issue that the StoreKit config just does not get set in the scheme, I already tried all kind of variations like with & without schemePathPrefix, with ../ and ../../ and even run XcodeGen locally to print out what get's set internally and it seems to be set correctly. I even compared the configs path with the value that is shown in source control when I set the configuration manually in Xcode; and even though the path's match correctly, it still does not get set. Am I doing something wrong or could it be that this is currently just not working? I set the scheme in my project.yml file like this:
schemes:
    MTExamples - StoreKit Tests:
        build:
            targets:
                MTExamples: all
            parallelizeBuild: true
            buildImplicitDependencies: true
        run:
            storeKitConfiguration: "MTExamples/SupportingFiles/StoreKitTestConfiguration/Configuration.storekit"

I am just running a bit out of ideas - thanks in advance!

You can control the prefix with options.schemePathPrefix https://github.com/yonaskolb/XcodeGen/blob/master/Docs/ProjectSpec.md#options

Thank you.

authors: TemperMichael anandios yonaskolb

repo: yonaskolb/XcodeGen


text:
Add .nvmrc

Since the app doesn't build on node version < 12, we need to make sure that this is the version being used.

Cool. wasn't aware of this feature .

If you are on Mac, checkout fnm

authors: splintor yonatanm

repo: yonatanm/TheJewsAreComing


text:
Resolve the to real paths when calculating relative path for file upload

This will resolve #181

Also note that I am not a NodeJS developer, so feel free to rewrite the fix as you see fit.

To elaborate on the problem:
The variable @projectPath in ScpTransport.coffee contains path to the Project, this path contains a symlink. For example:
@projectPath = '/home/user/projects/atom/amazing-project'
But the projects directory in /home/user/ is a symlink to /media/disk/projects .
When uploading the file using 'Upload File' command or when using uploadOnSave the following path is passed:
localFilePath = '/media/disk/projects/atom/amazing-project/upload.file'
But when using 'Upload Folder' command, the following path is passed:
localFilePath = '/home/user/projects/atom/amazing-project/upload.file'
This is causing the value of targetFilePath to contain wrong relative path.

repo: yongkangchen/remote-sync


text:
Check for FOREIGN KEYS upfront

To avoid avoid the tool crash if it finds some

Done in v 1.7.2

repo: yorek/smartbulkcopy


text:
🛑 Hacker News is down

In 083ba56, Hacker News (https://news.ycombinator.com) was down:

HTTP code: 502
Response time: 58 ms

Resolved: Hacker News is back up in 03551ed.

repo: yoshi-jotaeyang/upptime


text:
Inferring on any instance in the kitti-raw dataset

Thank you for your great work. I want to infer on any instance in the kitti-raw dataset, but the structure of kitti-raw and KITTI-DC is not consistent. That is to say, given a frame of raw image, raw lidar data and the relationship parameters between the two, can I directly obtain the completed result with the pretrained model? Can you give me some help, such as a script? thank you!

{
"rgb": "rawdata/2011_09_30/2011_09_30_drive_0028_sync/image_03/data/0000001643.png",
"depth": "data_depth_velodyne/train/2011_09_30_drive_0028_sync/proj_depth/velodyne_raw/image_03/0000001643.png",
"gt": "data_depth_annotated/train/2011_09_30_drive_0028_sync/proj_depth/groundtruth/image_03/0000001643.png",
"K": "rawdata/2011_09_30/calib_cam_to_cam.txt"
}

非常感谢您的回复！您的模型是在KITTI_DC数据集上训练和测试的，这个数据集提供了列表中的depth和gt。我现在想在KITTI上的其它数据集上使用您的预训练模型来进行推理，比如KITTI Odometry数据集，这个数据集只包含了rgb图像、原始点云数据以及一些转换参数。所以我想实现输入rgb图像和原始点云，将点云投影到图像平面上获取深度，然后直接接入您的预训练模型上进行推理，请问您可以帮忙吗？（因为我没有找到KITTI_DC中depth和gt的生成方式）非常感谢！

Hi,
Okay, I got your points. To project the 3D point cloud into depth image, maybe you can infer to this. I think it would help.
Best,

Thanks a bunch!

repo: youmi-zym/CompletionFormer


text:
Batch Update using VTGate V3 API

This feature will give support to bulk updates (DML)
eg.
insert into test_table(msg) values ('abc')
update test_table set msg = 'xyz' where pk = 10
delete test_table where pk = 1
All the queries are send in one call and response is returned as array of integer type(Update Count)
There is a need for this feature. Therefore, raising a feature request to initiate discussion.

Closing this by #2404
Further performance improvement will follow.

repo: youtube/vitess


text:
Fix CallInfo related problem in test.

@alainjobart @yaoshengzhe @henryanand

LGTM


text:
完善hook的系统函数

任务列表

[x] #16

已经完成


text:
Searching everytime I open the app

Even after my phone is connected to the app,
It spends a few seconds searching for devices before showing that the phone is actually connected.
It is not a functionality issue but just a visual improvement that I think would make this app better.
Thanks again for the app.

Sorry, I can't reproduce this issue on my computer. Can you post a video or gif?

Hi,
I hope this gif is clear enough to illustrate the problem.
It's a very minor thing but as you can see the phone had already been connected,
but it still shows the "Make sure the device is connected" message every time I click on the taskbar icon.


text:
Home页文章概览，每篇文章内容显示完了才显示more按钮

你好，
我配置好之后，发现Home页列出的文章显示了所有内容，而不是只显示一小部分内容。另外，建议在文章详情页中的导航栏再往右边靠一点，使文章有更多的空间显示！
谢谢！

see #7

Thx，另外，详情页中的导航栏可以控制往右移一点吗？

你可以修改 source/css/_partial/layout/.less 中 169 行，调整 width 数值。
但需要注意对不同屏幕尺寸的适配，能适配到笔记本的宽度 1366 就可以。再小的宽度有响应式控制，无需考虑。

非常感谢！

authors: jianglan-dev yscoder

repo: yscoder/hexo-theme-indigo

license: unlicense


text:
How to install nightly

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
I install yt-dlp all the time with sudo python3.9 -m pip install --upgrade git+https://github.com/yt-dlp/yt-dlp.git@release
Can somebody tell me how I can install the nightly version with this code pip install .?!
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#update
# To install nightly with pip:
python3 -m pip install -U --pre "yt-dlp[default]"

Hi! I had version 03.12.2024 - now I have version after the command from you 2023.11.16
How come?

authors: BBugato seproDev

repo: yt-dlp/yt-dlp


text:
can you create a symlink - current version

Checklist

[X] I'm asking a question and not reporting a bug/feature request
[X] I've looked through the README
[X] I've read the guidelines for opening an issue
[X] I've searched the bugtracker for similar questions including closed ones

Question
Hi,
is it possibile that you create a link like this:
https://github.com/yt-dlp/yt-dlp/releases/download/current/yt-dlp
so that can download the newst version by the same link
thanks
Verbose log
No response

https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp

thanks


text:
--extract-audio flags makes yt-dlp to download again already downloaded audio files

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2022.09.01 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
--extract-audio flags makes yt-dlp to download again already downloaded audio files (maybe its because of changed extension of file - from .webm to .opus?)
without --extract-audio flag it shows **.webm has already been downloaded
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
user@pi:/downloads/youtube/test$ yt-dlp --extract-audio -f bestaudio https://www.youtube.com/watch?v=S6eZHnIA__A
[youtube] S6eZHnIA__A: Downloading webpage
[youtube] S6eZHnIA__A: Downloading android player API JSON
[info] S6eZHnIA__A: Downloading 1 format(s): 251
[download] Destination: Miles Davis - Miles In The Sky (1968) full album [S6eZHnIA__A].webm
[download] 100% of 50.10MiB in 00:05 at 8.36MiB/s
[ExtractAudio] Destination: Miles Davis - Miles In The Sky (1968) full album [S6eZHnIA__A].opus
Deleting original file Miles Davis - Miles In The Sky (1968) full album [S6eZHnIA__A].webm (pass -k to keep)
user@pi:/downloads/youtube/test$ ls
'Miles Davis - Miles In The Sky (1968) full album [S6eZHnIA__A].opus'
user@pi:/downloads/youtube/test$ yt-dlp -vU --extract-audio -f bestaudio https://www.youtube.com/watch?v=S6eZHnIA__A
[debug] Command-line config: ['-vU', '--extract-audio', '-f', 'bestaudio', 'https://www.youtube.com/watch?v=S6eZHnIA__A']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out UTF-8, error UTF-8, screen UTF-8
[debug] yt-dlp version 2022.09.01 [5d7c7d6] (zip)
[debug] Python 3.7.3 (CPython 64bit) - Linux-5.10.63-v8+-aarch64-with-debian-10.11 (glibc 2.28)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg N-62475-g130d19bf20-static (setts), ffprobe N-62475-g130d19bf20-static
[debug] Optional libraries: certifi-2018.08.24, sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Loaded 1670 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.09.01, Current version: 2022.09.01
yt-dlp is up to date (2022.09.01)
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=S6eZHnIA__A
[youtube] S6eZHnIA__A: Downloading webpage
[youtube] S6eZHnIA__A: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[info] S6eZHnIA__A: Downloading 1 format(s): 251
[debug] Invoking http downloader on "https://rr3---sn-5hnednss.googlevideo.com/videoplayback?expire=1662664918&ei=duwZY5L7IZO57QS94piQAw&ip=185.193.159.150&id=o-AC_fDD5YGn7JaUPZAl2KPSbOhw6nbXM9M2sutzSIUppC&itag=251&source=youtube&requiressl=yes&mh=mJ&mm=31%2C29&mn=sn-5hnednss%2Csn-5hne6n6l&ms=au%2Crdu&mv=m&mvi=3&pl=24&initcwndbps=1483750&spc=lT-Kht7zWX4AnXQKR2iEAlsjZuD0xh0&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=52534941&dur=3113.321&lmt=1612966607990179&mt=1662643029&fvip=1&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&rbqsm=fr&txp=5431432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhANLQCh21FzX_0INqi0u_G8EmkevM_0-yB8mk9bogJPBDAiBUHtIh5q4N0JebO58bvui-OeD1UVqNAZ5d-tpppjGoeQ%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAJzv8D-_1f6t_ux26GgemuWpYAhcAg6Pd_bPy00cT7IuAiEAnwFZVMk1Txv5blVdcC6jnyk8DexzH35qr_WGd9Yaq2k%3D"
[download] Destination: Miles Davis - Miles In The Sky (1968) full album [S6eZHnIA__A].webm
[download] 100% of 50.10MiB in 00:06 at 8.09MiB/s
[debug] ffmpeg command line: ffprobe -show_streams 'file:Miles Davis - Miles In The Sky (1968) full album [S6eZHnIA__A].webm'
[ExtractAudio] Destination: Miles Davis - Miles In The Sky (1968) full album [S6eZHnIA__A].opus
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Miles Davis - Miles In The Sky (1968) full album [S6eZHnIA__A].webm' -vn -acodec copy -movflags +faststart 'file:Miles Davis - Miles In The Sky (1968) full album [S6eZHnIA__A].opus'
Deleting original file Miles Davis - Miles In The Sky (1968) full album [S6eZHnIA__A].webm (pass -k to keep)
user@pi:/downloads/youtube/test$

This is expected behavior. Use --download-archive or explicitly set an --audio-format

authors: pukkandan thehotery


text:
Multiple subs, same language

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2023.02.17 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
Consider the following video: https://www.arte.tv/fr/videos/080962-000-A/sciences-nazies-la-race-le-sol-et-le-sang/
It contains 4 subs in 2 languages: one regular subtitles, and one closed caption.
$ yt-dlp --list-subs https://www.arte.tv/fr/videos/080962-000-A/sciences-nazies-la-race-le-sol-et-le-sang/
[ArteTV] Extracting URL: https://www.arte.tv/fr/videos/080962-000-A/sciences-nazies-la-race-le-sol-et-le-sang/
[ArteTV] 080962-000-A: Downloading JSON metadata
[ArteTV] 080962-000-A: Downloading m3u8 information
[ArteTV] 080962-000-A: Downloading m3u8 information
[ArteTV] 080962-000-A: Downloading m3u8 information
[ArteTV] 080962-000-A: Downloading m3u8 information
[info] Available subtitles for 080962-000-A:
Language Formats
fr       vtt, vtt
de       vtt, vtt

This seems to show that two subs are listed for each language, but even --sub-langs all --write-subs appears to write only the closed captions.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
$ yt-dlp -vU --sub-langs all --write-subs -f VOF-STF-431 https://www.arte.tv/fr/videos/080962-000-A/sciences-nazies-la-race-le-sol-et-le-sang/
[debug] Command-line config: ['-vU', '--sub-langs', 'all', '--write-subs', '-f', 'VOF-STF-431', 'https://www.arte.tv/fr/videos/080962-000-A/sciences-nazies-la-race-le-sol-et-le-sang/']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.02.17 [a0a7c01] (pip)
[debug] Python 3.10.9 (CPython x86_64 64bit) - Linux-5.19.0-32-generic-x86_64-with-glibc2.35 (OpenSSL 3.0.8 7 Feb 2023, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2
[debug] Optional libraries: Cryptodome-3.16.0, brotlicffi-1.0.9.2, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1782 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2023.02.17, Current version: 2023.02.17
yt-dlp is up to date (2023.02.17)
[ArteTV] Extracting URL: https://www.arte.tv/fr/videos/080962-000-A/sciences-nazies-la-race-le-sol-et-le-sang/
[ArteTV] 080962-000-A: Downloading JSON metadata
[ArteTV] 080962-000-A: Downloading m3u8 information
[ArteTV] 080962-000-A: Downloading m3u8 information
[ArteTV] 080962-000-A: Downloading m3u8 information
[ArteTV] 080962-000-A: Downloading m3u8 information
[info] 080962-000-A: Downloading subtitles: fr, de
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] 080962-000-A: Downloading 1 format(s): VOF-STF-431
Deleting existing file Sciences nazies - La race, le sol et le sang [080962-000-A].fr.vtt
[info] Writing video subtitles to: Sciences nazies - La race, le sol et le sang [080962-000-A].fr.vtt
[debug] Invoking hlsnative downloader on "https://arte-cmafhls.akamaized.net/am/cmaf/080000/080900/080962-000-A/230226065712/medias/080962-000-A_st_VF-MAL.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1
[download] Destination: Sciences nazies - La race, le sol et le sang [080962-000-A].fr.vtt
[download] 100% of  176.11KiB in 00:00:00 at 710.13KiB/s
Deleting existing file Sciences nazies - La race, le sol et le sang [080962-000-A].de.vtt
[info] Writing video subtitles to: Sciences nazies - La race, le sol et le sang [080962-000-A].de.vtt
[debug] Invoking hlsnative downloader on "https://arte-cmafhls.akamaized.net/am/cmaf/080000/080900/080962-000-A/230226065712/medias/080962-000-A_st_VA-MAL.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1
[download] Destination: Sciences nazies - La race, le sol et le sang [080962-000-A].de.vtt
[download] 100% of  211.84KiB in 00:00:00 at 794.27KiB/s
[debug] Invoking hlsnative downloader on "https://arte-cmafhls.akamaized.net/am/cmaf/080000/080900/080962-000-A/230226065712/medias/080962-000-A_v216.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 977
[download] Destination: Sciences nazies - La race, le sol et le sang [080962-000-A].mp4
[download] 100% of  208.80MiB in 00:02:12 at 1.57MiB/s
[debug] ffprobe command line: ffprobe -hide_banner -show_format -show_streams -print_format json 'file:Sciences nazies - La race, le sol et le sang [080962-000-A].mp4'

https://github.com/yt-dlp/yt-dlp/issues/946

authors: pukkandan rgoubet


text:
Is it slow to get URL from YouTube?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.10.07 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
Last month, it took about 10 seconds to get the URL.
But now, it takes about 50 seconds.
Is it only me?
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
$ date
Tue Oct 10 03:50:43 JST 2023

[debug] Command-line config: ['-vU', '-f', 'b', '-g', 'https://www.youtube.com/watch?v=EHfx9LXzxpw', '--cookies', 'cookies.txt']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.10.07 [377e85a17] (zip)
[debug] Python 3.8.10 (CPython x86_64 64bit) - Linux-5.4.0-163-generic-x86_64-with-glibc2.29 (OpenSSL 1.1.1f  31 Mar 2020, glibc 2.31)
[debug] exe versions: none
[debug] Optional libraries: certifi-2019.11.28, secretstorage-2.3.1, sqlite3-3.31.1
[debug] Proxy map: {}
[debug] Loaded 1886 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version: stable@2023.10.07, Current version: stable@2023.10.07
Current Build Hash: 47743cde1f66f16f8ef8440b78171877122b1277f906dbebfb7d49fb4c64ab0b
yt-dlp is up to date (stable@2023.10.07)
[youtube] Extracting URL: https://www.youtube.com/watch?v=EHfx9LXzxpw
[youtube] EHfx9LXzxpw: Downloading webpage
[youtube] EHfx9LXzxpw: Downloading ios player API JSON
[youtube] EHfx9LXzxpw: Downloading android player API JSON
[youtube] EHfx9LXzxpw: Downloading m3u8 information
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[info] EHfx9LXzxpw: Downloading 1 format(s): 18
https://rr1---sn-oguesnds.googlevideo.com/videoplayback?expire=1696899086&ei=rkskZa_4BMns2roPzr-gkAM&ip=160.251.23.61&id=o-ALl9c6rSDWa7eDgD1uzy_SyLNqUxRSwSLGmJpzqkguZ2&itag=18&source=youtube&requiressl=yes&mh=b2&mm=31%2C29&mn=sn-oguesnds%2Csn-oguelnle&ms=au%2Crdu&mv=u&mvi=1&pl=24&spc=UWF9f3ivfdnCkwsr5KJ1vZAxxxBEh28&vprv=1&svpuc=1&mime=video%2Fmp4&cnr=14&ratebypass=yes&dur=381.596&lmt=1664308248373705&mt=1696876909&fvip=2&fexp=24007246&beids=24350018&c=ANDROID&txp=4530434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AGM4YrMwRAIgaCEG-lxAqqiBB7ls6Kcl9cFU-hoz6IX0aKxL7HEHE3oCIBc7p1F-WJ-UrbhgwY-mXIAHBfgfFr_AfIRDAUcVj0vU&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl&lsig=AK1ks_kwRQIhAK94YToRixvSuyKMSDnR_0GlN7RfEZoabSrIXY0zh8TtAiAHQOgHe5uouidbcT-5MpDlXdqXOFtbOkASsvVDrhcYxw%3D%3D

$ date
Tue Oct 10 03:51:31 JST 2023

It was very fast when I added the -4 option.
Thank you!

Try adding -4 or -6 to your command (only one at a time) to see if that helps

@bashonly, you absolute angel.  Like @MimuraKyosuke, I suddenly started having speed trouble with yt-dlp, and after a bunch of unsuccessful attempts at solving the problem, forcing connection via IPv4 was precisely the fix I needed.  Thank you! 😊

Are you sure it works? I added it too, but the incoming urls are working very slowly.
yt-dlp --get-url --force-ipv4 https://www.youtube.com/watch?v=xxx --ignore-no-formats-error --no-warnings --print-json
https://r4---sn-u0g3oxu-pnuz.googlevideo.com/videoplayback?expire=1703661015&ei=d3mLZfWHJsCei9oP3JqFiAo&ip=xxx.xxx.xxx.xxx&id=o-AGGpsafXe3uCy2ZGoSUtVpgatNbyt97U8l5zX3bojXC6&itag=139&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&gcr=de&vprv=1&svpuc=1&mime=audio%2Fmp4&gir=yes&clen=1136826&dur=186.316&lmt=1703297812865275&keepalive=yes&fexp=24007246&c=IOS&txp=4532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cgcr%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRAIgdbIIYObTBqA_ykbyUcZ-q-XOTDCpqHr1EtOKInj79j0CIBOp0U3JB6A1hzsl4vhs74LqQkc-Rfx8744Kst54WcUt&cms_redirect=yes&mh=hO&mip=xxx.xxx.xxx.xxx&mm=31&mn=sn-u0g3oxu-pnuz&ms=au&mt=1703639594&mv=m&mvi=4&pl=24&lsparams=mh,mip,mm,mn,ms,mv,mvi,pl&lsig=AAO5W4owRQIhANLkEVvfTdGOZ77WHtdg8Pv2P7zpgyse_RlqLlL-UqHyAiBglDTta_kUJUs3_01EGBTclmdAdzjKCWQTBZBv3-ahZg%3D%3D

authors: MimuraKyosuke Smokietr alikazerani


text:
Update jiosaavn.py

updated code to pull highest quality 320 kbps
IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information

ADD DESCRIPTION HERE
Fixes #
Template

Before submitting a pull request make sure you have:

[ ] At least skimmed through contributing guidelines including yt-dlp coding conventions
[ ] Searched the bugtracker for similar pull requests
[ ] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

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

What is the purpose of your pull request?

[x] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[x] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

Please fill out the PR template properly, otherwise this can not be merged.
There are five quality levels available: 16, 32, 64, 128, 320
Does it make sense to request all five and list them as formats?

Please fill out the PR template properly, otherwise this can not be merged.
There are five quality levels available: 16, 32, 64, 128, 320 Does it make sense to request all five and list them as formats?

You mean Instead of selecting highquality, its better to list formats and select one of the,. Am icorrect?

Yes that would be the idea. It would come at the cost of making 5 instead of 1 HTTP request. I think that's fine, but maybe others disagree. I would at least request both the 128 and 320 format.

Sure i will work on that accordingly

it might be appropriate to have this configurable by extractor-arg, e.g:
        formats = []
        # available bitrates are 16, 32, 64, 128, 320
        for bitrate in self._configuration_arg('bitrate', ['128', '320'], ie_key='JioSaavn'):
            media_data = self._download_json(
                'https://www.jiosaavn.com/api.php', audio_id, f'Downloading format info for {bitrate}',
                fatal=False, data=urlencode_postdata({
                    '__call': 'song.generateAuthToken',
                    '_format': 'json',
                    'bitrate': bitrate,
                    'url': song_data['encrypted_media_url'],
                }))
            if not media_data.get('auth_url'):
                self.report_warning(f'Unable to extract format info for {bitrate}')
                continue
            formats.append({
                'url': media_data['auth_url'],
                'ext': media_data.get('type'),
                'format_id': bitrate,
                'abr': int(bitrate),
                'vcodec': 'none',
            })

Hey thanks for your suggested. I have updated my code accordingly. instead on two i have added all formats and we can use to below command to download certain format song.
--match-filter "abr = 320"

Below is the output i got when i use '-f 320' for downloading songs in 320kbps'
log.txt

authors: alien-developers bashonly seproDev


text:
[test] Add http proxy tests

IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information

ADD DESCRIPTION HERE

adds tests for http/https proxies (standard and CONNECT)
fixes https proxies in curl-cffi
various minor test suite improvements

Template

Before submitting a pull request make sure you have:

[X] At least skimmed through contributing guidelines including yt-dlp coding conventions
[X] Searched the bugtracker for similar pull requests
[X] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

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

What is the purpose of your pull request?

[ ] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[X] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

One of the tests were failing for Requests due to a potential bug in urllib3. I've skipped it for requests for now.
https://github.com/urllib3/urllib3/issues/3374