text:
Fixing a Path Traversal Vulnerability

Hello,
It's possible that you don't use this code in production or the project is not maintained anymore, but we wanted to also increase security awareness and make the public codes more secure when they are being learnt by LLMs. Sorry if it bothers you.
We are a group of researchers from Leiden University, and found a vulnerability in your project.
Due to unsafe usage of path.join, this project is vulnerable to Local File Inclusion vulnerability.
You can read more about this vulnerability and its side effects here: https://cwe.mitre.org/data/definitions/22.html
The vulnerable code is at ./src/static-server.js file, which you can access online via: https://raw.githubusercontent.com/TekuConcept/KanjiTrees/HEAD/src/static-server.js
If any of path.join arguments is a relative path to the parent directory (../), the returned path can be outside the intended directory and this might lead to leakage of sensitive files.
Running the project:
We used node command to run the file directly: node ./src/static-server.js
Verified proof-of-concept(poc) to read passwd file(Path traversal vulnerability):
curl --path-as-is server_address:port/../../../../../../../../../../../../../../../../../../../etc/hostname

Denial of service vulnerability:
We also verified that this vulnerability can also lead to a Denial of Service attack, as it first loads the whole file content into memory, then tries to send the response.
Loading a large file (for example reading /dev/urandom/) can use all the memory within a few seconds and crash the server.
By default, running the vulnerable file opens a port in the network scope. Thus the Attack Vector (AV) of CVSS is: (N)etwork
Impact:
We've calculated the base score of the vulnerability as 9.1, with a severity of "Critical" using following the following vector_string: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
You can view the CVSS score online via: https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
This patch is generated with the help of LLMs, we verified it's working and doesn't break application functionality but still we recommend you verify that it correctly mitigates the bug and doesn't hurt the functionality of your software.
Credits: Jafar Akhoundali and Hamidreza Hamidi
Feedback:
We would like to know your opinion about the quality of this report by filling a really brief survey with 4 questions:
https://leidenuniv.eu.qualtrics.com/jfe/form/SV_4JkS2loxBXVDlum

It's possible that you don't use this code in production...

That is correct. The static-server was just a way to run the project locally while supporting mjs and cors. It doesn't look like there are any problems with this requested addition - all looks good! :)

authors: JafarAkhondali TekuConcept

repo: TekuConcept/KanjiTrees


text:
Ut ocmp se98a

Summary
Unit test case for ocmp_se98a
Valid configuration has been taken from the /ec/platform/oc-sdr/cfg/OC_CONNECT_GBC.c for the test cases.
Test Plan
Run Unit Tests (make clean test) and verify that all tests pass including new test cases.
Run firmware build and verify no error is reported.
Issues
#90

Logs:
ocmp_se98a_logs.docx

source: gharchive/pull-request

repo: Telecominfraproject/OpenCellular

license_type: permissive

license_source: github-api


text:
【Mobile：DropdownMenu】组件示例文档翻译

总体目标

将 docs/mobile/api_v2 文件夹下的 xx.en-US.md 等文件翻译成英文

翻译示例

将 xx.en-US.md 文档的中文内容翻译成英文
以 Button 为例

验收标准

翻译正确，合入仓库

IssueShoot

预估时长: 1
期望完成时间: 2023-07-03 00:00:00 +0000 UTC
开发难度: 低
参与人数: 1
验收标准: 实现期望改造效果，提 PR 并通过验收无误
备注: 最终激励以实际提交 pull request 并合并为准

已在 #1529  处理完毕

source: gharchive/issue

repo: Tencent/tdesign-common

license: MIT


text:
CSS BEM 规范类名调整

BEM: https://github.com/Tencent/tdesign-common/blob/develop/css-naming.md

Table 表格组件

原类名
新类名
是否已合入 develop

t-table-row--disabled
t-table__row--disabled
Vue(✅)、React（无）、VueNext（✅）

t-table-row--selected
t-table__row--selected
Vue(✅)、React（无）、VueNext（✅）

table-body
t-table__body
Vue(x)、React（✅）、VueNext（x)

align-center
t-align-center
Vue(x)、React（✅）、VueNext（x)

align-left
t-align-left
Vue(x)、React（✅）、VueNext（x)

align-right
t-align-right
Vue(x)、React（✅）、VueNext（x)

text-ellipsis
t-text-ellipsis
Vue(x)、React（✅）、VueNext（x)

t-table-pagination
t-table__pagination
Vue(x)、React（✅）、VueNext（x)

t-table-sort-icon
t-table__sort-icon
Vue(x)、React（✅）、VueNext（x)

t-table-double-icons
t-table__double-icons
Vue(x)、React（✅）、VueNext（x)

t-table-sort-icon-active
t-table__sort-icon--active
Vue(x)、React（✅）、VueNext（x)

t-table-expand-box
t-table__expand-box
Vue(x)、React（✅）、VueNext（x)

t-table-sort-icon-active
t-table__sort-icon--active
Vue(x)、React（✅）、VueNext（x)

t-table-content
t-table__content
Vue(x)、React（✅）、VueNext（x)

t-table-expandable-icon-cell
t-table__expandable-icon-cell
Vue(x)、React（✅）、VueNext（x)

t-table-selection-cell
t-table__selection-cell
Vue(x)、React（无）、VueNext（x)

t-table--empty
t-table__empty
Vue(x)、React（✅）、VueNext（x)

t-table-valign__top
t-table--align-top
Vue(x)、React（✅）、VueNext（x)

t-table--loading-async
t-table__async-loading
Vue(✅)、React（✅）、VueNext（x)

t-table--loading-status-loading
t-is-loading
Vue(✅)、React（✅）、VueNext（x)

t-table--loading-status-load-more
t-is-load-more
Vue(✅)、React（✅）、VueNext（x)

t-table-filter-icon
t-table__filter-icon
Vue(x)、React（✅）、VueNext（x)

t-table-filter-pop
t-table__filter-pop
Vue(x)、React（✅）、VueNext（x)

t-table-filter-pop-content
t-table__filter-pop-content
Vue(x)、React（✅）、VueNext（x)

t-table-filter-pop-content__inner
t-table__filter-pop-content-inner
Vue(x)、React（✅）、VueNext（x)

t-table-filter-pop-content__button
t-table__filter-pop-content-button
Vue(x)、React（无）、VueNext（x)

t-table-content--scrollable-to-left
t-table__content--scrollable-to-left
Vue(x)、React（✅）、VueNext（x)

t-table-content--scrollable-to-right
t-table__content--scrollable-to-right
Vue(x)、React（✅）、VueNext（x)

t-table-expanded-cell
t-table__expanded-cell
Vue(x)、React（✅）、VueNext（x)

Menu 菜单组件

原类名
新类名
是否已合入develop
备注

t-menu-group-title
t-menu-group__title
x

t-menu-mode__normal
t-menu--normal
x
无用，已移除

t-menu-mode__popup
t-menu--popup
x
无用，已移除

Dropdown 下拉菜单

原类名
新类名
是否已合入 develop

t-dropdown__menu__column
t-dropdown__menu-column
Vue(✅)、VueNext（✅）、React(✅)

t-dropdown__item__content
t-dropdown__item-content
Vue(✅)、VueNext（✅）、React(✅)

t-dropdown__item__content_text
t-dropdown__item-text
Vue(✅)、VueNext（✅）、React(✅)

has-suffix
t-dropdown--suffix
Vue(✅)、VueNext（✅）、React(✅)

children-suffix
t-dropdown__item-icon
Vue(✅)、VueNext（✅）、React(✅)

t-dropdown__split
可移除
✅

Divider 分割线

原类名
新类名
是否已合入 develop

t-divider-inner-text
t-divider__inner-text
Vue(✅)、VueNext（✅）、React(✅)

Drawer 抽屉

原类名
新类名
是否已合入 develop

t-drawer-attach
t-drawer--attach
Vue(✅ )、VueNext（✅）、React(✅)

t-drawer-left
t-drawer--left
Vue(✅ )、VueNext（✅）、React(✅)

t-drawer-right
t-drawer--right
Vue(✅ )、VueNext（✅）、React(✅)

t-drawer-top
t-drawer--top
Vue(✅ )、VueNext（✅）、React(✅)

t-drawer-bottom
t-drawer--bottom
Vue(✅ )、VueNext（✅）、React(✅)

t-drawer-open
t-drawer--open
Vue(✅ )、VueNext（✅）、React(✅)

t-drawer-no-mask
t-drawer--without-mask
Vue(✅ )、VueNext（✅）、React(✅)

t-drawer-confirm
t-drawer__confirm
Vue（✅ ）、VueNext（✅）、React(✅)

t-drawer-cancel
t-drawer__cancel
Vue（[✅ ）、VueNext（✅）、React(✅)

Pagination 分页

原类名
新类名
是否已合入 develop

t-pagiantion__btn--prev
t-pagiantion__btn-prev
Vue(✅ )、VueNext（✅）、React(✅)

t-pagiantion__btn--next
t-pagiantion__btn-next
Vue(✅ )、VueNext（✅）、React(✅)

more-quickprev
移除
✅

Message 全局提示

原类名
新类名
是否已合入 develop

t-message-close
t-message__close
Vue(✅)、VueNext（✅）、React(✅)

t-message-list
t-message__list
Vue(✅)、VueNext（✅）、React(✅)

Notification 消息通知

原类名
新类名
是否已合入 develop

t-notification__detail--item
t-notification__detail-item
Vue(✅)、VueNext（✅）、React(✅)

Anchor 锚点

原类名
新类名
是否已合入 develop

t-anchor_line
t-anchor__line
Vue(✅)、React（✅）、VueNext（✅）

t-anchor-item
t-anchor__item
Vue(✅)、React（✅）、VueNext（✅）

t-anchor-item_link
t-anchor__item-link
Vue(✅)、React（✅）、VueNext（✅）

t-anchor-target
t-anchor__target
Vue(✅)、React（✅）、VueNext（✅）

cursor-wrapper
t-anchor__line-cursor-wrapper
Vue(✅)、React（✅）、VueNext（✅）

cursor
t-anchor__line-cursor
Vue(✅)、React（✅）、VueNext（✅）

t-copy
t-anchor__copy
Vue(✅)、React（✅）、VueNext（✅）

Select 选择器

原类名
新类名
是否已合入 develop

t-select-wrap
t-select__wrap
VueNext（✅）Vue（✅）

t-select-right-icon
t-select__right-icon
VueNext（✅）Vue（✅）

t-select-left-icon
t-select__left-icon
VueNext（✅）Vue（✅）

t-select-placeholder
t-select__placeholder
VueNext（✅）Vue（✅）

t-select-input
t-select__input
VueNext（✅）Vue（✅）

t-select-popup-reference
t-select__popup-reference
VueNext（✅）Vue（✅）

t-select-dropdown
t-select__dropdown
VueNext（✅）Vue（✅）

t-select-empty
t-select__empty
VueNext（✅）Vue（✅）

t-select-loading-tips
t-select__loading-tips
VueNext（✅）Vue（✅）

t-select-selectedSingle
t-select__single
VueNext（✅）Vue（✅）

t-option-group
t-select-option-group
VueNext（✅）Vue（✅）

t-option-group__divider
t-select-option-group__divider
VueNext（✅）Vue（✅）

t-option-group-header
t-select-option-group__header
VueNext（✅）Vue（✅）

t-select-right-icon__clear
t-select__right-icon-clear
VueNext（✅）Vue（✅）

t-select-active-icon
t-select__active-icon
VueNext（✅）Vue（✅）

Slider 滑块

原类名
新类名
是否已合入 develop

t-slider-contianer
t-slider__container
Vue(✅)、VueNext（✅）、React(✅)

t-slider-input-container
t-slider__input-container
Vue(✅)、VueNext（✅）、React(✅)

center-line
t-slider__center-line
Vue(✅)、VueNext（✅）、React(✅)

t-slide-vertical
t-slide--vertical
Vue(✅)、VueNext（✅）、React(✅)

Form 表单

组件
原类名
新类名
是否已合入 develop

Form 组件
t-form__controls--content
t-form__controls-content
Vue(✅)、VueNext（✅）、React(✅)

Badge 徽标

原类名
新类名
是否已合入 develop

t-badge-static
t-badge--static
Vue(✅)、VueNext（无）、React(✅)

List 列表

原类名
新类名
是否已合入 develop

t-list-items
t-list__inner
Vue(✅)、VueNext（✅）、React(✅)

Cascader 级联选择器

原类名
新类名
是否已合入 develop

t-cascader-placeholder
t-cascader__placeholder
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-content
t-cascader__content
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-is-multiple
t-cascader--multiple
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-dropdown
t-cascader__dropdown
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-panel
t-cascader__panel
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-menu
t-cascader__menu
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-item
t-cascader__item
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-item--highlight
t-cascader__item--highlight
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-item-have-icon
t-cascader__item--with-icon
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-item-is-leaf
t-cascader__item--leaf
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-item__label
t-cascader__item-label
Vue(✅)、VueNext（✅）、React(x)

t-cascader-item__label--filter
t-cascader__item-label--filter
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-item__is-empty
t-cascader__empty
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-menu__seperator
t-cascader__menu-seperator
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-menu__filter
t-cascader__menu-filter
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-search-input
t-cascader__search-input
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-icon
t-cascader__icon
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-item-icon
t-cascader__item-icon
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-panel
t-cascader__panel
Vue(✅)、VueNext（✅）、React(✅)

Cascader 级联选择器

原类名
新类名
是否已合入 develop

t-cascader-placeholder
t-cascader__placeholder
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-content
t-cascader__content
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-is-multiple
t-cascader--multiple
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-dropdown
t-cascader__dropdown
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-panel
t-cascader__panel
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-menu
t-cascader__menu
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-item
t-cascader__item
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-item--highlight
t-cascader__item--highlight
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-item-have-icon
t-cascader__item--with-icon
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-item-is-leaf
t-cascader__item--leaf
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-item__label
t-cascader__item-label
Vue(✅)、VueNext（✅）、React(x)

t-cascader-item__label--filter
t-cascader__item-label--filter
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-item__is-empty
t-cascader__empty
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-menu__seperator
t-cascader__menu-seperator
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-menu__filter
t-cascader__menu-filter
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-search-input
t-cascader__search-input
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-icon
t-cascader__icon
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-item-icon
t-cascader__item-icon
Vue(✅)、VueNext（✅）、React(✅)

t-cascader-panel
t-cascader__panel
Vue(✅)、VueNext（✅）、React(✅)

Calendar 日历

原类名
新类名
是否已合入 develop

t-is-now
t-calendar__table-body-cell--now
Vue(✅)、VueNext（✅）、React(✅)

t-calendar__table-body-cell-value
t-calendar__table-body-cell-display
Vue(✅)、VueNext（✅）、React(✅)

DatePicker 日期选择

原类名
新类名
是否已合入 develop

t-date-picker-popup-reference
t-date-picker__popup-reference
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-picker--container
t-date-picker__container
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-form-controls
删除
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-picker--panels
t-date-picker__panels
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-picker-header
t-date-picker__header
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-picker-header-title
t-date-picker__header-title
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-header__btn
t-date-picker__header-btn
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-picker-header-controller
t-date-picker__header-controller
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-picker-datetime-range
删除
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-cell__wrapper
t-date-picker__cell-wrapper
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-picker-year
t-date-picker--year
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-picker-month
t-date-picker--month
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-picker-date
t-date-picker--date
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-picker-range
t-date-picker--range
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-cell__text
t-date-picker__cell-text
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-picker--ranges-show
删除
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-picker-presets
t-date-picker__presets
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date
t-date-picker__panel
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-cell--now
t-date-picker__cell--now
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-cell--active
t-date-picker__cell--active
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-cell--disabled
t-date-picker__cell--disabled
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-cell--highlight
t-date-picker__cell--highlight
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-cell--active-start
t-date-picker__cell--active-start
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-cell--active-end
t-date-picker__cell--active-end
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-cell--additional
t-date-picker__cell--additional
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-cell--first-day-of-month
t-date-picker__cell--first-day-of-month
Vue(✅ )、VueNext（✅ ）、React(✅ )

t-date-cell--last-day-of-month
t-date-picker__cell--last-day-of-month
Vue(✅ )、VueNext（✅ ）、React(✅ )

Grid 栅格
| 原类名 | 新类名 | 是否已合入 develop |
|-----|-----|-----|-----|
| t-row-start | r-row--start | Vue(✅ )、VueNext（✅）、React(✅) |
| t-row-center | r-row--center | Vue(✅ )、VueNext（✅）、React(✅) |
| t-row-end | r-row--end | Vue(✅ )、VueNext（✅）、React(✅) |
| t-row-space-between | t-row--space-between| Vue(✅ )、VueNext（✅）、React(✅) |
| t-row-space-around | t-row--space-around  | Vue(✅ )、VueNext（✅）、React(✅) |
| t-row-top | t-row--top | Vue(✅ )、VueNext（✅）、React(✅) |
| t-row-middle | t-row--middle | Vue(✅ )、VueNext（✅）、React(✅) |
| t-row-bottom | t-row--bottom | Vue(✅ )、VueNext（✅）、React(✅) |

Layout 布局

原类名
新类名
是否已合入 develop

t-layout-has-sider
t-layout--with-sider
Vue(✅ )、VueNext（✅）、React(✅)

t-layout--header
t-layout__header
Vue(✅ )、VueNext（✅）、React(✅)

t-layout--content
t-layout__content
Vue(✅ )、VueNext（✅）、React(✅)

t-layout--sider
t-layout__sider
Vue(✅ )、VueNext（✅ ）、React(✅)

t-layout--footer
t-layout__footer
Vue(✅ )、VueNext（✅）、React(✅)

Popconfirm

原类名
新类名
是否已合入 develop

t-popconfirm--position-hidden
移除
-

t-popconfirm__arrow
移除
-

t-popconfirm--position-bottom
移除，方位类名全部移除。有 Popup 方位类名即可
-

t-popconfirm--position-bottom-left
移除
-

t-popconfirm--position-top
移除
-

t-popconfirm--position-top-left
移除
-

t-popconfirm--position-left
移除
-

t-popconfirm--position-bottom
移除
-

t-popconfirm--position-right
移除
-

t-popconfirm--position-right-top
移除
-

t-popconfirm--position-right-bottom
移除
-

t-popconfirm--position-bottomRight
移除
-

t-popconfirm--position-topRight
移除
-

Popup

原类名
新类名
是否已合入 develop

t-popup-content
t-popup__content
React(✅) VueNext（✅）,Vue（✅）

t-popup-reference
t-popup__reference
React(✅) VueNext（✅）,Vue（✅）

t-popup_animation-enter
t-popup--animation-enter
React(✅) VueNext（✅）,Vue（✅）

t-popup_animation-enter-from
t-popup--animation-enter-from
React(✅)VueNext（✅）,Vue（✅）

t-popup_animation-exiting
t-popup--animation-exiting
React(✅)VueNext（✅）,Vue（✅）

t-popup_animation-leave-to
t-popup--animation-leave-to
React(✅)VueNext（✅） ,Vue（✅）

t-popup_animation-enter-to
t-popup--animation-enter-to
React(✅)VueNext（✅）,Vue（✅）

t-popup_animation-entering
t-popup--animation-entering
React(✅)VueNext（✅）,Vue（✅）

t-popup_animation-leave-from
t-popup--animation-leave-from
React(✅) VueNext（✅）,Vue（✅）

t-popup_animation-leave
t-popup--animation-leave
React(✅) VueNext（✅）,Vue（✅）

t-popup_animation-enter-active
t-popup--animation-enter-active
React(✅)VueNext（✅）,Vue（✅）

t-popup_animation-leave-active
t-popup--animation-leave-active
React(✅)VueNext（✅）,Vue（✅）

Tooltip

原类名
新类名
是否已合入 develop

t-tooltip-light
t-tooltip--light
React(✅) VueNext（✅）,Vue（✅）

t-tooltip-default
t-tooltip--default
React(✅) VueNext（✅）,Vue（✅）

t-tooltip-primary
t-tooltip--primary
React(✅) VueNext（✅）,Vue（✅）

t-tooltip-success
t-tooltip--success
React(✅) VueNext（✅）,Vue（✅）

t-tooltip-danger
t-tooltip--danger
React(✅) VueNext（✅）,Vue（✅）

t-tooltip-warning
t-tooltip--warning
React(✅)VueNext（✅） ,Vue（✅）

t-tooltip-reference
移除
React(✅)VueNext（✅）,Vue（✅）

Progress

原类名
新类名
是否已合入 develop

t-progress--inner
t-progress__inner
Vue(✅ )、VueNext（✅ ）、React(✅)

t-progress--info
t-progress__info
Vue(✅ )、VueNext（✅）、React(✅)

t-progress--icon
t-progress__icon
Vue(✅ )、VueNext（✅）、React(✅)

t-progress--bar
t-progress__bar
Vue(✅ )、VueNext（✅）、React(✅)

t-circle--outer
t-progress__circle-outer
Vue(✅ )、VueNext（✅ ）、React(✅)

t-circle--inner
t-progress__circle-inner
Vue(✅ )、VueNext（✅ ）、React(✅)

Radio

原类名
新类名
是否已合入 develop

t-radio-group-outline
t-radio-group__outline
Vue(✅ )、VueNext（✅）、React(✅)

t-radio-group-filled
t-radio-group--filled
Vue(✅ )、VueNext（✅）、React(✅)

t-radio-group-filled-bg-block
t-radio-group__bg-block
Vue(✅ )、VueNext（✅）、React(✅ )

t-radio-group-primary-filled
t-radio-group--primary-filled
Vue(✅ )、VueNext（✅）、React(✅)

t-radio-group-small
t-size-s
Vue(✅ )、VueNext（✅）、React(✅)

t-radio-group-medium
t-size-m
Vue(✅ )、VueNext（✅）、React(✅)

t-radio-group-large
t-size-l
Vue(✅ )、VueNext（✅）、React(✅)

Steps

原类名
新类名
是否已合入 develop

t-steps-item-content
t-steps-item__content
x

t-steps-item-title
t-steps-item__title
x

t-steps-item-icon
t-steps-item__icon
x

t-steps-item-description
t-steps-item__description
x

t-steps-item-canclick
t-steps-item--clickable
x

default-step-icon
t-steps__default-icon
x

TimePicker

原类名
新类名
是否已合入 develop

t-time-picker-panel__container
t-time-picker__panel-container
Vue(✅ )、VueNext（✅）、React(✅)

t-time-picker-panel
t-time-picker__panel
Vue(✅)、VueNext（✅）、React(✅)

t-time-picker-panel__body
t-time-picker__panel-body
Vue(✅)、VueNext（✅）、React(✅)

t-time-picker-panel-section
t-time-picker__panel-section
Vue(✅ )、VueNext（✅）、React(✅)

t-time-picker-panel-section__body
t-time-picker__panel-section-body
Vue(✅ )、VueNext（✅）、React(✅)

t-time-picker-panel-section__footer
t-time-picker__panel-section-footer
Vue(✅ )、VueNext（✅）、React(✅)

Transfer

原类名
新类名
是否已合入 develop

t-transfer-list
t-transfer__list
x

t-transfer-list-source
t-transfer__list-source
x

t-transfer-list-target
t-transfer__list-target
x

t-transfer-list__header
t-transfer__list-header
x

t-transfer-list__body
t-transfer__list-body
x

t-transfer-list-with-search
t-transfer__list--with-search
x

t-transfer-list-search-wrapper
t-transfer__search-wrapper
x

t-transfer-list__content
t-transfer__list-content
x

t-transfer-list__item
t-transfer__list-item
x

t-transfer-list__wrapper
t-transfer__list-wrapper
x

t-transfer-list__pagination
t-transfer__list-pagination
x

t-transfer-list__footer
t-transfer__list-footer
x

t-transfer-operations
t-transfer__operations
x

t-transfer-search
t-transfer__search
x

t-transfer-with-tree
t-transfer--with-tree
x

t-transfer-pagination
t-transfer__pagination
x

t-transfer-footer
t-transfer__footer
x

t-transfer-wrapper
t-transfer__wrapper
x

Tree

原类名
新类名
是否已合入 develop

t-tree--fx
t-tree--transition
Vue(✅)、VueNext（✅）、React(✅)

t-tree-toggle-enter-active
t-tree__item--enter-active
Vue(✅)、VueNext（✅）、React(✅)

t-tree-toggle-leave-active
t-tree__item--leave-active
Vue(✅)、VueNext（✅）、React(✅)

Upload

原类名
新类名
是否已合入 develop

t-upload-icon-delete
t-upload__icon-delete
Vue(✅)、VueNext（✅）、React(✅)

t-upload-list__file
t-upload__list-file
Vue(✅)、VueNext（无）、React(无)

t-upload-list__item
t-upload__list-item
Vue(✅)、VueNext（无）、React(无)

t-upload-list__name
t-upload__list-name
Vue(✅)、VueNext（无）、React(无)

t-upload-list__content
t-upload__list-content
Vue(✅)、VueNext（无）、React(无)

t-upload-list__controll
t-upload__list-controll
Vue(✅)、VueNext（无）、React(无)

t-upload-list__img
t-upload__list-img
Vue(✅)、VueNext（无）、React(无)

t-upload__highlight
t-upload--highlight
Vue(✅)、VueNext（✅）、React(✅)

t-upload-dialog
t-upload__dialog
Vue(✅)、VueNext（✅）、React(✅)

t-upload-card__mask-disabled
t-is-disabled
Vue(✅)、VueNext（✅）、React(无)

t-upload__small
t-size-s
Vue(✅)、VueNext（✅）、React(✅)

t-display-text--margin
t-upload__display-text--margin
Vue(✅)、VueNext（✅）、React(✅)

t-upload-card-container
t-upload__card-container
Vue(✅)、VueNext（✅）、React(无)

t-upload-card
t-upload__card
Vue(✅)、VueNext（✅）、React(✅)

t-upload-card__item
t-upload__card-item
Vue(✅)、VueNext（✅）、React(✅)

t-upload-card__name
t-upload__card-name
Vue(✅)、VueNext（✅）、React(✅)

t-upload-card__content
t-upload__card-content
Vue(✅)、VueNext（✅）、React(✅)

t-upload-card__mask__item
t-upload__card-mask-item
Vue(✅)、VueNext（✅）、React(✅)

t-upload-card__status-wrap
t-upload__card-status-wrap
Vue(✅)、VueNext（✅）、React(无)

t-upload-card__content-border
t-is-bordered
Vue(✅)、VueNext（✅）、React(无)

t-upload-card__status
t-upload__card-status
Vue(✅)、VueNext（✅）、React(无)

t-upload-card__mask
t-upload__card-mask
Vue(✅)、VueNext（✅）、React(✅)

t-upload-dialog__body-img-box
t-upload__dialog-body-img-box
Vue(✅)、VueNext（✅）、React(✅)

改完了吗

authors: Duncan-zjp xiaosansiji


text:
[t-steps] 提示内存溢出

tdesign-miniprogram 版本
0.21.1
重现链接
https://t.wss.ink/f/9dq8e69vs97
重现步骤
使用t-steps组件，直接就提示内存溢出
steps-item中赋值parent，报错，提示内存溢出，自行注释掉，就不报错了
截图地址：https://t.wss.ink/f/9dq8e69vs97
使用开发者工具，没复现这种情况
期望结果
不报内存溢出
实际结果
输出： Maximum call stack size exceeded
框架版本
0.21.1
浏览器版本
谷歌浏览器 版本 103.0.5060.66（正式版本） （64 位）
系统版本
Windows
Node版本
14.16.0
补充说明
在我项目中存在问题，单独代码片段没复现

感觉使用的是旧的版本，是不是下载了新版本但是没有执行”构建npm“

authors: LeeJim misscheng

repo: Tencent/tdesign-miniprogram


text:
[Select] showArrow 属性设置为 false，右侧箭头依然显示

tdesign-vue-next 版本
最新版
重现链接
https://codesandbox.io/s/bug-td-select-showarrow-cf9ucw?file=/src/main.js
重现步骤
<t-select placeholder="请选择" :style="{ width: '150px', marginRight: '12px' }" :show-arrow="false" />

期望结果
No response
实际结果
No response
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
以及 TreeSelect 组件，是否可以增加是否显示右侧箭头的选项。

0.15.1 已修复

authors: Crazymuyang pengYYYYY

repo: Tencent/tdesign-vue-next


text:
Reproducing editing results

Hi,
Thanks for your brilliant work!
I used the vanilla implementation provided in playground_real.ipynb for image editing, without making any modifications, but got unexpected results.
For example, when using the target prompt "a photo of a pixar superhero in NYC," the structure of the edited image did not align well with the original image.
I've installed the correct version of diffusers (0.15.0). The base model is SD v1.4.
Have you encountered similar cases on your end? Any insights or suggestions you could provide would be greatly appreciated.
Thanks for your support in advance.
Here are my editing results:
Target prompt: "a photo of a pixar superhero in NYC"

Target prompt: "a photo of a bronze horse in a museum"

Hi @momopusheen, thanks for your attention. Note that MasaCtrl is designed for non-rigid editing that tries to maintain content consistency after editing. If you want to keep the layout unchanged after editing (change the global style or local object), you can use the following attention editor:
class MutualSelfAttentionStyle(AttentionBase):
    """
    Change the style of the orginal image
    """
    def __init__(self, end_step=25):
        super().__init__()
        self.end_step = end_step

    def forward(self, q, k, v, sim, attn, is_cross, place_in_unet, num_heads, **kwargs):
        if not is_cross:
            if self.cur_step < self.end_step:
                attn_u_ref, attn_u_cur, attn_c_ref, attn_c_cur = attn.chunk(4)
                attn = torch.cat([attn_u_ref, attn_u_ref, attn_c_ref, attn_c_ref], dim=0)

        return super().forward(q, k, v, sim, attn, is_cross, place_in_unet, num_heads, **kwargs)

Hope the above can help you.

authors: ljzycmd momopusheen

repo: TencentARC/MasaCtrl


text:
fixed MOSI/MISO and channel naming on CH32V003 parts

MOSI and MISO were swapped, and the timer channel naming conventions were inconsistent (some were prefixed with 'Tx', some weren't)

I think we should drop the T1 / T2 in favour of just using the label colours to keep it as short as possible

Personally, i had a hard time distinguishing the colors

What colours would you recommend to make it more legible. With the T1/T2 in front the label size would have to be adjusted and make the whole image even wider

ill play around tomorrow sometime and see if i can propose something

Hmm, on second thought, the colors look fine on my monitor. Must just be my phone screen that's hard to read.


text:
🛑 Arma 3 Server is down

In 7a4ba85, Arma 3 Server (https://arma3-servers.net/api/?object=servers&element=detail&key=$ARMA3_API) was down:

HTTP code: 200
Response time: 483 ms

Resolved: Arma 3 Server is back up in e372a86.

repo: Terra-Isles-Roleplay/TRP-Status


text:
🛑 Arma 3 Server is down

In 93a983e, Arma 3 Server (https://arma3-servers.net/api/?object=servers&element=detail&key=$ARMA3_API) was down:

HTTP code: 200
Response time: 358 ms

Resolved: Arma 3 Server is back up in f4eb5b1.


text:
🛑 Arma 3 Server is down

In 55902c8, Arma 3 Server (https://arma3-servers.net/api/?object=servers&element=detail&key=$ARMA3_API) was down:

HTTP code: 200
Response time: 490 ms

Resolved: Arma 3 Server is back up in 21eceb5.


text:
crash when attempting to open game menu

this only happens when I have Mod Menu installed
hitting escape to open the game menu results in a crash:
minecraft 1.21
Mod Menu 11.0.1
crash report:
https://mclo.gs/A3L2KPP

Hi, I had a similar crash but turns out it was actually a different mod causing the crash, once i removed that one mod menu didn't crash my game anymore. (the mod for me causing the crash was VersionChanger)
Try removing some of your mods to find out which one is causing it.

hmm, I don't have version changer, but i do have via version, I can't test it tonight, but I'll try it out tomorrow and see how that goes.
although, if it does have to do with viaversion, then while it's a different mod to yours, it still serves a similar purpose, and I would think it would still be a modmeanu issue: some sort of incompatibility with how those mods jigger around some of the back end stuff, and still worth a look

Same crash at ModMenu v11.0.1 and v.11.0.1 https://mclo.gs/W6tqhj1

Same crash at ModMenu v11.0.1 and v.11.0.0 https://mclo.gs/W6tqhj1

Had the same crash anyone got a fix?

The same bug, If unload ModMenu, the game will run normally

finally got a chance to test, and it wasn't ViaFabricPlus (I was mistaken on which mod I was using) I still crashed when trying to open the game menu with it removed. so def something going on with ModMenu itself

Can you post a new crash log without ViaFabric?  I just want to see the same error
callback mixins.modmenu.json:MixinGameMenu

here's one from tonight, no ViaFabricPlus
https://mclo.gs/9xpgE3S

Yeah so the relevant lines are:
org.spongepowered.asm.mixin.injection.throwables.InjectionError: LVT in net/minecraft/class_433::method_20543()V has incompatible changes at opcode 239 in callback mixins.modmenu.json:MixinGameMenu from mod modmenu->@Inject::onInitWidgets(Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;Lnet/minecraft/class_7845;Lnet/minecraft/class_7845$class_7939;Lnet/minecraft/class_2561;)V.
net.minecraft.client.gui.screen.GameMenuScreen.initWidgets(GameMenuScreen.java:120)

Which I have not seen this looking at thee code at all, and the mixin should work as expected, IMO.
Perhaps something else is messing with the GameMenu that isn't Mod Menu, such as a Launcher issue.

welp, now I'm confused as heck,
I started doing a binary search to figure out which of my other mods was causing the conflict.... and now it's working perfectly.
I have ALL of the mods running that I was running when previously experiencing the crash and I am no longer crashing.
I have no idea what is going on
(advancement Info reloaded did update last night, (and I also added Replay Mod,) so maybe it was advancement info reloaded and the update fixed whatever the problem was, idek, but it's working now and my head hurts )

GG

This is caused by https://github.com/TerraformersMC/ModMenu/blob/1.21/src/main/java/com/terraformersmc/modmenu/mixin/MixinGameMenu.java#L31 when another mod's mixin causes a change to the local variables.
You should still see the error in the log, even if it doesn't crash the game.
It can be fixed by rewriting the ModMenu mixin, or by changing the priority in the other mod's mixin to make it apply later.

authors: FakeDomi Haitch-1 Hmzn14 TheCaJlaT alien-sunset liangmiQwQ sakura-ryoko

repo: TerraformersMC/ModMenu


text:
N-Meetings in one Room C++

💥 Proposal
I would like to add code for the Maximum number of meetings that can be done in one room, given the start and end times of various appointments, in C++ with proper comments
Pls do assign the issue to me (GSSOC'21)
Have you read the Contributing Guidelines on Pull Requests?
Yes

/assign

@iamrajiv @bhav09 Can u pls assign me this issue?

@gokulkannan7 Hi, I assigned you. Happy Coding!😊

Hey , I am participant in GSSOC'21. Can you please assign this to me?

@rk05-lenavo Actually Someone else is already working on C++. So Can you select any other language you want to work?

@ankitaggarwal23 okay I can also work on java,Python.

@ankitaggarwal23 okay I can also work on java,Python.

@rk05-lenavo Hi, you can open a new one with the same concept but with implementation in a different programming language. We will assign it to you then. Happy Coding!😊

@ankitaggarwal23, I have created a PR, can you check once? It was wriiten resolve conflicts, how shall i solve that problem?

@ankitaggarwal23, I have created a PR, can you check once? It was written resolve conflicts, how shall I solve that problem?

repo: TesseractCoding/NeoAlgo


text:
check for subsequence in C

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Check for Subsequence in C language as a part of CH20
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)
#993

Kindly review this PR @iamrajiv @Kajol-Kumari @SKAUL05 @siddharth25pandey


text:
Anagram String Code

Have you read the Contributing Guidelines on Pull Requests?
Yes.
Description
An anagram of a string is another string that contains the same characters, only the order of characters can be different.
For example, “abcd” and “dabc” are an anagram of each other.
Checklist

[X] I've read the contribution guidelines.
[X] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Fixed #1969. I have linked my code in readme file and also made the changes required for pull request.

Please review #2843, my new pull request for same issue.
Thanks @HarshCasper @atarax665 for your support.


text:
Improve shard count validation

#579

Codecov Report

Merging #585 into master will increase coverage by 0.05%.
The diff coverage is 71.42%.

@@             Coverage Diff              @@
##             master     #585      +/-   ##
============================================
+ Coverage     76.79%   76.84%   +0.05%
- Complexity      604      608       +4
============================================
  Files            81       81
  Lines          2245     2250       +5
  Branches        317      320       +3
============================================
+ Hits           1724     1729       +5
  Misses          308      308
  Partials        213      213

authors: bootstraponline codecov-io

repo: TestArmada/flank


text:
DumpSettings causes a crash when some properties are null

DumpSettings doesn't allow for a null value on most properties. This causes a problem particularly when it is called as a result of a validation error. The Target and TasksToExecute properties are especially problematic, since the error occurs before Setup has run.

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:

GitHub Release
NuGet Package


text:
🛑 Jellyfin is down

In 7db95da, Jellyfin (https://jellyfin.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Jellyfin is back up in 6de0aeb.

repo: TetraGG/Upptime


text:
🛑 Proxy is down

In 8d82936, Proxy (https://proxy.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxy is back up in f558330.


text:
🛑 Nextcloud is down

In 73ded00, Nextcloud (https://nextcloud.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nextcloud is back up in c13fe6b.


text:
🛑 Jellyfin is down

In 6ca92f7, Jellyfin (https://jellyfin.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Jellyfin is back up in ce201bc.


text:
🛑 Proxy is down

In ea8a19c, Proxy (https://proxy.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxy is back up in 6368e29.


text:
🛑 Proxy is down

In 4809acb, Proxy (https://proxy.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxy is back up in 44fa735.


text:
🛑 Proxy is down

In 2d3e861, Proxy (https://proxy.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxy is back up in 86732ab.


text:
🛑 Proxy is down

In da63d34, Proxy (https://proxy.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxy is back up in 32b1847.


text:
🛑 Proxy is down

In 20b6dc7, Proxy (https://proxy.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxy is back up in c5b0a38.


text:
🛑 Proxy is down

In 243a4b5, Proxy (https://proxy.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxy is back up in 8d54b2f.


text:
User Dashboard First Pull Request

User Dashboard First Pull Request
Branch involved: isaac-master-image isaac-all-modules-routes
This Pull Request contains three parts:

Adding new modules into the master to support the functionalities of the user dashboard.
Adding app-routing.module to enable of mapping path to certain components.
Adding all the source files of the dashboard's components, services, and types, but leaving them as empty files (ready for future PRs)

Modules

Modify the current package.json and package-lock.json to add in the new packages and update the existing package's version. This change includes some core file updates. For example, the angular/cli is updated from 6.1.4 to 6.1.5. Based on the package updates, the node-modules will update automatically.

Modify the app.module.ts, adding all the dashboard's components (except the child components in each component) into the file, adding HttpModule (should be similar to HttpClientModule), adding FormModule into custom-ng-material.module.ts

Routing

app-routing.module.ts is added to implement routing system in Texera. A good server-side structure needs to utilize the routing system. The buttons in feature bar trigger different routes and different paths map to different components in feature container.

Since the workspace becomes a part of the routing system (the default page), we modify the app.component.html to enable the routing. The workspace is included in the selector , so we remove the texera-workspace selector but leave the texera-product-tour.

Routes Mapping

Path
Component

'/'
Workspace component

'/Dashboard'
Dashboard homepage

'/Dashboard/SavedProject'
Saved Project section

'/Dashboard/UserDictionary'
Running Job section (upcoming)

'/Dashboard/Resource'
Resource section (upcoming)

Adding '/:id' into routing
We plan to add '/:id' to the routing in order to fetch specific information for the exact user from the server side. More details will be specified in the API documents.

the Dashboard's Frame
User Dashboard
|
|---Top Bar (logo)
|     |
|     |---User Login Component
|
|---Feature Bar
|
|---Feature Container
|
|---Saved Project Section
|     |
|     |---Add Project
|     |
|     |---Remove Project
|
|---User Dictionary Section
|     |
|     |---View/Modify Dictionary
|     |
|     |---Add Dictionary
|     |
|     |---Remove Dictionary
|
|---Running Job Section
|
|---Resource Section

@zuozhiw

I first left a lot of defaulted Angular Components (empty) and services for importing purpose. Now I remove most of them, only leaving the major component for the dashboard.

The 100755 → 100644 issue (we now call it an issue) is caused by the Unix file permissions modes.
755=rwxr-xr-x
644=rw-r--r--
My files were in 644 mode so I need to add executable flag +x into them, I used:
git update-index --chmod=+x <path>
while remember to unchange the config file.mode:
git config core.filemode true

@zhaominl Thanks a lot for figuring out the cause of this issue. Good job :-)
There’s some merge conflict lines in the first file, vscode json file. Please fix that.
Others look good. @henrychen2020 Please also take a look

authors: zhaominl zuozhiw

repo: Texera/texera


text:
Fix sending tv4 standard message with broadcasted backend validation err...

In documentation it is mentioned that you can broadcast tv4- standard error messages in backend validation, but this is will not work as the code runs the validation just after receiving the broadcasted error. [Link to documentation] (https://github.com/Textalk/angular-schema-form/blob/development/docs/index.md#inject-errors-into-form-aka-backend-validation)

Oh, good catch. Thanks!

authors: davidlgj mqamhieh

repo: Textalk/angular-schema-form

license: mit

license_source: bigquery


text:
[BUG] rich reverts to legacy Windows APIs when stdout is redirected

[x] I've checked docs and closed issues for possible solutions.
[x] I can't find my issue in the FAQ.

Describe the bug
I have an application which invokes pdm python install ... in a subprocess. This works fine with Unicode installation paths when run from Windows terminal (pdm uses rich, and one of the items it prints is the full path to the Python executable being installed).
It fails when the same command is run under pytest, and the traceback shows that rich has autodetected the legacy windows console, and is trying to use the mbcs APIs instead of the fully Unicode capable Windows APIs ignoring all of PYTHONUTF8, PYTHONIOENCODING, PYTHONLEGACYWINDOWSFSENCODING and PYTHONLEGACYWINDOWSSTDIO which are set (or explicitly unset in the case of the latter two) to indicate that the legacy Windows APIs should NOT be used (and UTF-8 should be used instead).
Edit: when filling this issue, I forgot the affected process was running in isolated mode, so ignoring the Python level settings would actually have been the right thing to do. Explicitly enabling UTF-8 mode in the isolated subprocess eliminated the misbehaviour.
Presumably the source of the failed detection is something pytest is doing (since turning off console capturing also makes the error go away), but when Python has been explicitly configured to NOT use the legacy Windows IO APIs because I know they won't work, it would be preferable if rich failed on startup, rather than trying to continue and then failing with a Unicode error at some later time.
I also can't report the issue to pytest yet, because I couldn't work out from the documentation or the code exactly how rich is deciding which set of Windows APIs to use and how pytest might be affecting that detection process, so I decided to start here, and then hopefully have something to refer to from a pytest issue report later.
The last several lines in the failing traceback showing the use of the legacy Windows console:
... snip ...
  File "S:\work\.tox\py3.12\Lib\site-packages\pdm\cli\commands\python.py", line 157, in install_python
    ui.echo(f"[info]Executable:[/] {python_info.path}")
  File "S:\work\.tox\py3.12\Lib\site-packages\pdm\termui.py", line 204, in echo
    console.print(message, **kwargs)
  File "S:\work\.tox\py3.12\Lib\site-packages\rich\console.py", line 1673, in print
    with self:
  File "S:\work\.tox\py3.12\Lib\site-packages\rich\console.py", line 865, in __exit__
    self._exit_buffer()
  File "S:\work\.tox\py3.12\Lib\site-packages\rich\console.py", line 823, in _exit_buffer
    self._check_buffer()
  File "S:\work\.tox\py3.12\Lib\site-packages\rich\console.py", line 2027, in _check_buffer
    legacy_windows_render(buffer, LegacyWindowsTerm(self.file))
  File "S:\work\.tox\py3.12\Lib\site-packages\rich\_windows_renderer.py", line 19, in legacy_windows_render
    term.write_text(text)
  File "S:\work\.tox\py3.12\Lib\site-packages\rich\_win32_console.py", line 403, in write_text
    self.write(text)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]

tox also provokes this failure, as when the test suite is run via tox -e py3.12 instead of directly, pdm install still reports the same exception, even though pytest is being run with -s
Setting NO_COLOR=1 in the environment does not fix the Unicode compatibility problem.

Click to expand...
Platform
Windows 10, running Windows Terminal.
If you're using Rich in a terminal:
> .\.tox\py3.12\Scripts\python.exe -m rich.diagnose
╭───────────────────────── <class 'rich.console.Console'> ─────────────────────────╮
│ A high level console interface.                                                  │
│                                                                                │
│ ╭──────────────────────────────────────────────────────────────────────────────╮ │
│ │ <console width=192 ColorSystem.TRUECOLOR>                                    │ │
│ ╰──────────────────────────────────────────────────────────────────────────────╯ │
│                                                                                │
│     color_system = 'truecolor'                                                   │
│         encoding = 'utf-8'                                                       │
│             file = <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'> │
│           height = 63                                                            │
│    is_alt_screen = False                                                         │
│ is_dumb_terminal = False                                                         │
│   is_interactive = True                                                          │
│       is_jupyter = False                                                         │
│      is_terminal = True                                                          │
│   legacy_windows = False                                                         │
│         no_color = False                                                         │
│          options = ConsoleOptions(                                               │
│                        size=ConsoleDimensions(width=192, height=63),             │
│                        legacy_windows=False,                                     │
│                        min_width=1,                                              │
│                        max_width=192,                                            │
│                        is_terminal=True,                                         │
│                        encoding='utf-8',                                         │
│                        max_height=63,                                            │
│                        justify=None,                                             │
│                        overflow=None,                                            │
│                        no_wrap=False,                                            │
│                        highlight=None,                                           │
│                        markup=None,                                              │
│                        height=None                                               │
│                    )                                                             │
│            quiet = False                                                         │
│           record = False                                                         │
│         safe_box = True                                                          │
│             size = ConsoleDimensions(width=192, height=63)                       │
│        soft_wrap = False                                                         │
│           stderr = False                                                         │
│            style = None                                                          │
│         tab_size = 8                                                             │
│            width = 192                                                           │
╰──────────────────────────────────────────────────────────────────────────────────╯
╭── <class 'rich._windows.WindowsConsoleFeatures'> ───╮
│ Windows features available.                         │
│                                                     │
│ ╭─────────────────────────────────────────────────╮ │
│ │ WindowsConsoleFeatures(vt=True, truecolor=True) │ │
│ ╰─────────────────────────────────────────────────╯ │
│                                                     │
│ truecolor = True                                    │
│        vt = True                                    │
╰─────────────────────────────────────────────────────╯
╭────── Environment Variables ───────╮
│ {                                  │
│     'TERM': None,                  │
│     'COLORTERM': None,             │
│     'CLICOLOR': None,              │
│     'NO_COLOR': None,              │
│     'TERM_PROGRAM': None,          │
│     'COLUMNS': None,               │
│     'LINES': None,                 │
│     'JUPYTER_COLUMNS': None,       │
│     'JUPYTER_LINES': None,         │
│     'JPY_PARENT_PID': None,        │
│     'VSCODE_VERBOSE_LOGGING': None │
│ }                                  │
╰────────────────────────────────────╯
platform="Windows"

Writing a short test program to report those details from pytest (passing -s to turn off pytest's console capturing changes the diagnostic output to resemble the above):
> .\.tox\py3.12\Scripts\pytest.exe rich_test
===================================================================================== test session starts =====================================================================================
platform win32 -- Python 3.12.4, pytest-8.3.1, pluggy-1.5.0
rootdir: S:\work\
configfile: pyproject.toml
plugins: anyio-4.4.0
collected 1 item

rich_test\test_console.py F                                                                                [100%]

========================================================================================== FAILURES ===========================================================================================
__________________________________________________________________________________ test_console_diagnostics ___________________________________________________________________________________

    def test_console_diagnostics():
        from rich.diagnose import report
        report()
>       assert False
E       assert False

rich_test\test_console.py:4: AssertionError
------------------------------------------------------------------------------------ Captured stdout call -------------------------------------------------------------------------------------
┌────────────────────── <class 'rich.console.Console'> ───────────────────────┐
│ A high level console interface.                                             │
│                                                                             │
│ ┌─────────────────────────────────────────────────────────────────────────┐ │
│ │ <console width=79 None>                                                 │ │
│ └─────────────────────────────────────────────────────────────────────────┘ │
│                                                                             │
│     color_system = None                                                     │
│         encoding = 'utf-8'                                                  │
│             file = <_io.TextIOWrapper name='<tempfile._TemporaryFileWrapper │
│                    object at 0x0000019BE86E11C0>' mode='r+'                 │
│                    encoding='utf-8'>                                        │
│           height = 25                                                       │
│    is_alt_screen = False                                                    │
│ is_dumb_terminal = False                                                    │
│   is_interactive = False                                                    │
│       is_jupyter = False                                                    │
│      is_terminal = False                                                    │
│   legacy_windows = True                                                     │
│         no_color = False                                                    │
│          options = ConsoleOptions(                                          │
│                        size=ConsoleDimensions(width=79, height=25),         │
│                        legacy_windows=True,                                 │
│                        min_width=1,                                         │
│                        max_width=79,                                        │
│                        is_terminal=False,                                   │
│                        encoding='utf-8',                                    │
│                        max_height=25,                                       │
│                        justify=None,                                        │
│                        overflow=None,                                       │
│                        no_wrap=False,                                       │
│                        highlight=None,                                      │
│                        markup=None,                                         │
│                        height=None                                          │
│                    )                                                        │
│            quiet = False                                                    │
│           record = False                                                    │
│         safe_box = True                                                     │
│             size = ConsoleDimensions(width=79, height=25)                   │
│        soft_wrap = False                                                    │
│           stderr = False                                                    │
│            style = None                                                     │
│         tab_size = 8                                                        │
│            width = 79                                                       │
└─────────────────────────────────────────────────────────────────────────────┘
┌─── <class 'rich._windows.WindowsConsoleFeatures'> ────┐
│ Windows features available.                           │
│                                                       │
│ ┌───────────────────────────────────────────────────┐ │
│ │ WindowsConsoleFeatures(vt=False, truecolor=False) │ │
│ └───────────────────────────────────────────────────┘ │
│                                                       │
│ truecolor = False                                     │
│        vt = False                                     │
└───────────────────────────────────────────────────────┘
┌────── Environment Variables ───────┐
│ {                                  │
│     'TERM': None,                  │
│     'COLORTERM': None,             │
│     'CLICOLOR': None,              │
│     'NO_COLOR': None,              │
│     'TERM_PROGRAM': None,          │
│     'COLUMNS': None,               │
│     'LINES': None,                 │
│     'JUPYTER_COLUMNS': None,       │
│     'JUPYTER_LINES': None,         │
│     'JPY_PARENT_PID': None,        │
│     'VSCODE_VERBOSE_LOGGING': None │
│ }                                  │
└────────────────────────────────────┘
platform="Windows"

Given that changing the subprocess invocation to explicit pass -X utf8 to the isolated Python child process eliminated the misebehaviour, it doesn't look like there is anything specific for rich to do here (unless it was to mention -X utf8 and PYTHONUTF8=1 as potential options for improving the handling of redirected standard streams on Windows when invoking rich-enabled applications on Windows somewhere in the docs or FAQ).
The long-term fix will come in Python 3.15, when https://peps.python.org/pep-0686/ makes UTF-8 mode an opt-out default, rather than its current opt-in behaviour.

repo: Textualize/rich


text:
update jwt library

dependabot alert  Authorization bypass in github.com/dgrijalva/jwt-go shows  is high severity - this library has been migrated to new repo, and no security fixes available  on this repo.
New repo is: https://github.com/golang-jwt/jwt - there are v3.2.1 and v3.2.2 versions which should fix the issue.  There are also v4.x versions, but will require work to determine comatibility

Yes if possible try to move to the 3.2.2 version of golang-jwt
Thanks in advance
Envoyé depuis Workspace ONE Boxer
Le 2 nov. 2022 09:53, John Grange @.***> a écrit :
dependabot alert Authorization bypass in github.com/dgrijalva/jwt-go shows https://github.com/ThalesGroup/sshizzle/security/dependabot/1 is high severity - this library has been migrated to new repo, and no security fixes available on this repo.
New repo is: https://github.com/golang-jwt/jwt - there are v3.2.1 and v3.2.2 versions which should fix the issue. There are also v4.x versions, but will require work to determine comatibility
—
Reply to this email directly, view it on GitHubhttps://github.com/ThalesGroup/sshizzle/issues/13, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOVF4T2XN35PCMGMAZDEVCTWGITZVANCNFSM6AAAAAARU2ZDZM.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

authors: Sebastienlejeune jgrangethales

repo: ThalesGroup/sshizzle


text:
Jsoncpp traits no longer uses deprecated Reader

The jsoncpp trait made use of the deprecated Reader.
This PR fixes this. Safer and no more deprecation warnings when compiling.

1.4 when we are using 1.9 I don't think it's a breaking change to requie this but it's worth noting.

1.4 when we are using 1.9 I don't think it's a breaking change to requie this but it's worth noting.

It has been marked as Deprecated since 1.4 😁
So quite likely that the deprecated Reader gets dropped some time soon in an upcoming version of jsoncpp.
And also very likely that people that are using jsoncpp (in combination with jwt-cpp) will use a more recent version of jsoncpp. At least 1.4.
Who doesn't want to get rid of these deprecated messages. And when incorporating something new like jwt-cpp, getting these deprecated messages does not bring joy 😉

I see only 1 linter failed, https://github.com/Thalhammer/jwt-cpp/actions/runs/10100944975/job/27938470947?pr=357#step:5:82
If you don't there's instructions to fix it quickly, of not I will do my best to make time to push it myself.

I see only 1 linter failed, ...

I saw that as well, but it is the 'process linter results' step 😁
Not something I think I can/should fix. Or did I overlook something?

It's telling you there are changes to be applied to the PR 😜  again it tells you the exact command to run to fix it sonics just a copy paste... the code diff is there too if you expand it.

Ah.. ok.. I need to read better 😜 Will have a look asap and apply the fixes...

@prince-chrismc , you just beat me to it 😁 thx

My pleasure :) Thanks for the contribution! 🚀

authors: kiddigital prince-chrismc

repo: Thalhammer/jwt-cpp


text:
Need to create .ignore file

Need to create .ignore file for .zip and .xlsb files

Apologies, no need to create, but need to update for .zip and .xlsb files.

Done


text:
Add clock tree metal layer constraints

@jjcherry56 points out that Openlane is not constraining the clock tree metal layers. Depending on the process, we might want to use upper/larger metal layers.
We need a few changes:

Environment variables in open_pdks for the clock min/max layers. open_pdks does have:

set ::env(CLOCK_WIRE_RC_LAYER) "met5"

However met5 seems a bit of an odd setting. We really want variables for min and max layers (eg met3-met5). CLOCK_MIN_LAYER/CLOCK_MAX_LAYER perhaps?

Telling global routing the layers to use (remembering to cap the max layer if we are taping out a macro):

set_routing_layers -clock $::env(CLOCK_MIN_LAYER)-$::env(CLOCK_MAX_LAYER)

Telling STA what layer to use for RC estimates:

set_wire_rc -clock -layer $::env(CLOCK_MIN_LAYER)

RT_CLOCK_MIN_LAYER and RT_CLOCK_MAX_LAYER exist?

Staled out.

authors: antonblanchard donn

repo: The-OpenROAD-Project/OpenLane


text:
.rpt files are empty

As i see scripts/openroad/or_cts.tcl shows dumping all reports, even other stages too. But in reports directory all xxx.rpt files are empty/ 0Bytes.
Refer attachement: or_cts_tcl.png and report_files.png first image
Enhancement need:
Expecting respective xxx.rpt files to be dumped in each stage of flow.

A fix for this was merged. (#515 for posterity.)


text:
Error is coming in placement while executing my design

As, I am executing my design in openlane then error is coming in placement and I don't able to resolve this issue
I have used           ./flow.tcl -design dvsd_cmp        this command for execution but error is coming in placement It is showing this error

Hello Vanishka, is there any particular reason you did not fill out the issue template?

@vanishka-tanwar  attach your RTL or its small code.. u can copy paste here

@donn  even i tested that code in my latest openlane version. its tiny design with cell count 15. Its failing at detailed_placement_or stage.

Well, thank you for verifying the version, but I do need the design in order to isolate the issue.

@donn  copy the below code. design has no clock.

//***************************************
// Vanshika Tanwar
//Verilog file: dvsd_cmp.v
//***************************************
module dvsd_cmp(
//Input A
A_in,
//Input B
B_in,
//When A is less than B, it is high
less_than,
//When A is equal to B, it is high
equal_to,
//When A is greater than B, it is high
greater_than
);
//Declaration of Input Ports.
input [3:0] A_in;
input [3:0] B_in;
//Declarations of Output Ports.
output less_than;
output equal_to;
output greater_than ;
//Internal variables
//reg declarations
reg less_than;
reg equal_to;
reg greater_than;
//When the inputs  A or B are changed then execute this block
always @(A_in or B_in)
begin
//This block checks if A is Greater than B, Greater than is high
if(A_in > B_in)
begin
less_than = 4'b0;
equal_to =4'b0;
greater_than = 4'b1;
end
//This block checks if A is equal to B, Equal to is high
else if(A_in == B_in)
begin
less_than = 4'b0;
equal_to = 4'b1;
greater_than = 4'b0;
end
//Otherwise -This block checks for A less than B, Less than is high
else
begin
less_than = 4'b1;
equal_to = 4'b0;
greater_than =4'b0;
end
end
//End of a module
endmodule

@donn  with this openlane 2021.08.17_03.26.57 version able run successfully. I got struck with openlane v0.22-3-g3c0f2fd throwing error in detailed routing. We can ask @vanishka-tanwar  to update to latest version maybe.

@donn
//***************************************
// Vanshika Tanwar
//Verilog file: dvsd_cmp.v
//***************************************
module dvsd_cmp(
//Input A
A_in,
//Input B
B_in,
//When A is less than B, it is high
less_than,
//When A is equal to B, it is high
equal_to,
//When A is greater than B, it is high
greater_than
);
//Declaration of Input Ports.
input [3:0] A_in;
input [3:0] B_in;
//Declarations of Output Ports.
output less_than;
output equal_to;
output greater_than ;
//Internal variables
//reg declarations
reg less_than;
reg equal_to;
reg greater_than;
//When the inputs  A or B are changed then execute this block
always @(A_in or B_in)
begin
//This block checks if A is Greater than B, Greater than is high
if(A_in > B_in)
begin
less_than = 4'b0;
equal_to =4'b0;
greater_than = 4'b1;
end
//This block checks if A is equal to B, Equal to is high
else if(A_in == B_in)
begin
less_than = 4'b0;
equal_to = 4'b1;
greater_than = 4'b0;
end
//Otherwise -This block checks for A less than B, Less than is high
else
begin
less_than = 4'b1;
equal_to = 4'b0;
greater_than =4'b0;
end
end
//End of a module
endmodule

@donn  with PL_TARGET_DENSITY 0.8 able to resolve the above issue. Default taken 0.6 @vanishka-tanwar  try this update in config.tcl

Yes, after updating config .tcl , now it is running smoothly in latest version .
I am closing this issue now .

authors: donn vanishka-tanwar vijayank88


text:
Rsz hier

Preliminary work on resizer on hierarchical db. This pull request covers repairHold only.
Unit test repair_hold1_hier added.

is this ready for review?

Hi, Matt,
This is ready for review.  Please note I am thinking through apis for using the hierarchy calls  and will update the dbNetwork to include a cleaned up version after doing the RepairSetup once I know more about the apis needed. For example the buffer creation stuff in rsz uses an Instance* as the parent scope (see create buffer code) which feels wrong ! I think it best to get through the RepairSetup part and then rework the code with some cleaner apis so please note there are a lot of low level dbSta/Stadb calls which need to be pushed into api calls in dbNetwork.cc, once we know what those calls should be.

Matt, I addressed all the comments posted, let me know if there is more needed to have this minor pull request accepted. The setup fixing is clearly going to be an order of magnitude more challenging for review.

authors: andyfox-rushc maliberty

repo: The-OpenROAD-Project/OpenROAD


text:
Users/Password List ?

Great Tool!
Is there any way to provide a list of users and passwords? like what is available for Targets  -Target "C:\Targets.txt"
PsMapExec -Targets all -Username c:\users.txt -Password c:\passwords.txt -Method wmi -Command "hostname"

Scenario: If i have 3 valid username/passwords. with -username and -password i have to run the above command 9 times. If the script accept user/pass list then single command will check wmi access for all credentials sets.
Thanks!

Thanks for the feedback.
This is something I would like to add and should be quite reasonable to implement. However, there is an underlying issue where if you run PsMapExec as one user then immediately run it again using the same protocol as a different user it sometimes pollutes the permissions on the second run with the account used in the first run. I think the issue is a limitation in Windows rather than the tool (I might be wrong) so its been quite difficult to pinpoint a solution.
I will keep this issue open for the time being, hopefully if the polluting issue can be resolved I can then add this recommendation.

repo: The-Viper-One/PsMapExec


text:
feat: added modular division algorithm

Description of Change

Program to find the division of two numbers under modulo p (p is a prime number).
Checklist

[x] Added description of change
[x] Added file name matches File name guidelines
[x] Added tests and example, test must pass
[x] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
[x] Relevant documentation/comments is changed or added
[x] PR title follows semantic commit guidelines
[x] Search previous suggestions before making a new one, as yours may be a duplicate.
[x] I acknowledge that all my contributions will be made under the project's license.

Notes:

Yes, I used the uint64_t because the input value can be large.

Yes, I used the uint64_t because the input value can be large.

Thank you so much for your help 😃

Thank you so much for your help 😃

repo: TheAlgorithms/C-Plus-Plus


text:
Create Divide Search

Description of Change

Checklist

[x] Added description of change
[x] Added file name matches File name guidelines
[x] Added tests and example, test must pass
[x] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
[x] Relevant documentation/comments is changed or added
[x] PR title follows semantic commit guidelines
[x] Search previous suggestions before making a new one, as yours may be a duplicate.
[x] I acknowledge that all my contributions will be made under the project's license.

Notes:

Hey @madhavkaushik  I think that this program is already there in search directory as binary_search.cpp

authors: anuran-roy madhavkaushik


text:
Replace {{project-name}} with {{crate_name}} in audio.rs

In cargo-generate branch, in the src/audio.rs file, there are code examples in the documentation for the Music and SoundEffect components that use incorrect placeholders. The current placeholders {{project-name}} should be replaced with {{crate_name}}.

Ah, true. We don't want hyphens there. Thanks :)

Fixed with https://github.com/TheBevyFlock/bevy_quickstart/commit/33c9cc6f68afdd50948b19169b1a340ed84d6ec5.

authors: benfrankel kristoferssolo


text:
Automatically adding sub modules

Is there a way to connect the sub modules automatically when you first download a copy of Hazel? It is not that hard to add the sub modules through git before using the bat file but I was wondering if there was a way to do this automatically, so that we do not have to go and find each sub module on git hub and then manual add each one. It could become an issue if Hazel uses a slightly different version of the sub modules than the one the the person connects and it would be a big help for those of us who are still fairly new to coding and using git. Thanks.

You have 2 options:

You can clone Hazel with setting an extra flag:

git clone --recurse https://github.com/TheCherno/Hazel.git

Change your global settings to always (as in, for all github projects) pull the submodules in:

git config --global submodule.recurse true

repo: TheCherno/Hazel


text:
CI actions for building on every push to main

This was one of the least painfull actiosn in my life.....
Also some gitignore casue you need it

Much obliged.

repo: TheCurle/Purpuri


text:
[Temp] C API sketch

For #293 this PR presents an initial implementation of the C API for the basic ManagerInterface consisting of only identifier() and displayName() methods. A markdown doc is included detailing the design choices made.
This PR is just to provoke discussion and will not be merged.
See here for rendered markdown output (EDIT: updated to latest version).

Superseded by #320 and #312.

authors: feltech foundrytom

repo: TheFoundryVisionmongers/OpenAssetIO


text:
Create User authentication and Permission

PhenopacketLab should have User authentication and permission with all the relevant user session persistence. Implement with Auth0.
Definition of done

the application that will be served on a VM/GCP should have user authentication/permission
the application that will be available as a single executable file (with embedded tomcat ee) won't need to have that feature.

#251

authors: belkassaby iimpulse

repo: TheJacksonLaboratory/PhenopacketLab


text:
Download failed

I'm getting download failed in some posts, no matter if they are public or private. Can you fix that?
I'm using Firefox 123.0 on Android 11

Hello, you can try the latest version(2.0.5) to see whether the problem still exists.

authors: TheKonka VanHoevenTR


text:
🛑 Maloja is down

In 1645fe3, Maloja (https://maloja.sny.sh) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Maloja is back up in 9db67e0 after 19 minutes.

repo: TheLastZombie/upptime


text:
🛑 Faircamp is down

In fd78047, Faircamp (https://faircamp.sny.sh) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Faircamp is back up in eafc451 after 21 minutes.


text:
🛑 Forgejo is down

In 68a3d1f, Forgejo (https://forgejo.sny.sh) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Forgejo is back up in d7b00ad after 8 minutes.


text:
🛑 Prosody is down

In bdc0646, Prosody (https://prosody.sny.sh) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Prosody is back up in 67cd95e after 22 minutes.


text:
🛑 AdGuard is down

In 8a12252, AdGuard (https://adguard.sny.sh) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AdGuard is back up in ac7c9dd after 12 minutes.


text:
[PP-1775] Ensure ssl connections to postgres work when ssl required

Description
When we upgraded to Postgres 16 in the tpp-dev environment, VLC was failing because PG 16 requires SSL connections by default.
This update fixes the problem in the docker container.  In order to verify SSL connections are happening I enabled SSL for postgres 16 in the docker compose script and for extra certainty that the client is using SSL I updated the dev settings to specify the pg ssl mode.
THIS PR should be merged after https://github.com/ThePalaceProject/virtual-library-card/pull/285 is merged.

Motivation and Context
https://ebce-lyrasis.atlassian.net/browse/PP-1775

How Has This Been Tested?
Manually tested using docker compose up.   Without the update to the docker image I was getting the same error we were seeing in tpp-dev.  With it I, I am able to connect.

Checklist

[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.

Thank you for the thorough review :)

repo: ThePalaceProject/virtual-library-card


text:
Good Bye message logging

2.4 End User Data.
“End User Data” means all data associated with the content within the functionality enabled by the API or SDK, including but not limited to message content, message metadata, voice data and voice metadata. You acknowledge and agree that Discord and its end users, as applicable, retain all worldwide right, title and interest in and to the End User Data. If you have access to End User Data, you shall ensure that your Applications do not collect, use and/or disclose End User Data except (a) as necessary to exercise your rights under this Agreement, (b) as expressly permitted by the End Users, and (c) in accordance with Discord’s Privacy Policy. You shall not sell, license or otherwise commercialize any End User Data. You may not use End User Data to target End Users for marketing or advertising purposes. You may not disclose End User Data to any ad network, data broker or other advertising or monetization related service. You shall permanently delete all End User Data upon Discord’s or the End User’s request and within seven (7) days following the End User’s termination of the End User’s account. You may only retain chat logs as necessary for the operation of your Applications. Discord’s offering of an API or SDK that allows you to reproduce or display End User message content is not an express or implied license to such content from Discord. You must seek permission from End Users.
This means that any bot that logs messages or even stores user IDs now breaks the terms of service, unless it explicitly asks the user it's logging for permission. This outlaws logging bots, bots with features like temp ban, bots which reassign roles when rejoining, etc.
Source: The New TOS

Its a selfbot? It runs on the user's account. Any data the user has access to, the selfbot will have access to it as well. The selfbot does not store any data from discord. Discord already as a feature that notifies a user when he was mentioned. All the notifications on this selfbot are "send and forget" type. Meaning no data is actually stored. I believe that since this runs on a user account, the user is responsible for it, meaning it is subject to the same Terms of service (of the user, not the api). All the data that the selfbot exposes in notifications can also be seen in discord itself (meaning the user already gets access to this data?) by the user himself if he chooses to.
Please correct me on ANY of this if I am wrong. But I only provide an app (not even the app itself, just the code and tools to run it), and since it runs on your own account you are responsible for it? The new TOS as I see it, is only directed to active discord bots that run on a server, and not the user account.

authors: TheRacingLion alktbihd

repo: TheRacingLion/Discord-SelfBot


text:
Hearing ads on top of youtube video

Script version
Version 5.5
Describe the bug
When I play a video, I hear an ad but the video is also playing. I do not see the ad, but both sounds play at the same time. The issue sometimes resolves itself if I refresh the page once or twice.
Desktop (please complete the following information):
Brave: Version 1.66.118 Chromium: 125.0.6422.147 (Official Build) (64-bit)]
OS: Windows 10 Pro, 19045.4412, just updated

Same here

it's also showing on some channels that all of the content is not viewable

Me to, it's double the video in 1 tap, the one on top is free ads and good but there's another video, same video on the back somewhere that the ads is not blocked, and some video is black screen and only audio....

same

same
solution i found (for Chrome)  is to pause the video in the audio tab icon on the top right, which will stop the video in the youtube player also, then hit play again in the youtube player.

Same...last update was good where ads are sped up instead of blocking them..in this update i am getting tha video but ad is also playing in the background..which is kinda annoying

same

this fixed it for me https://github.com/TheRealJoelmatic/RemoveAdblockThing/issues/544#issuecomment-2156076563

repo: TheRealJoelmatic/RemoveAdblockThing


text:
feat: bump up fabric example react-native Android

Summary

Relative PR for bumping up iOS first
modified native layers of FabricExample/android for RN 0.73.2
implemented iOS native files for RN 0.73.2

Motivation

Trying to implement Fabric iOS and Android but couldn't test fabric in RN 0.71.6

Changes

Nothing has been changed except for bumping up with react-native-upgrade-helper
this PR was checked out from coldsurfers:feat/rn-bump-up-fabric-example-ios branch, so suggest review this PR after merge this PR
turned off buildDir settings in android/build.gradle for correct codegen location https://github.com/TheWidlarzGroup/react-native-video/pull/3957/commits/62ec8d739b1f21906972eb935fc934e87294a8e6

Test plan
First, add this on package.json (root dir)
"codegenConfig": {
        "name": "RCTVideo",
        "type": "components",
        "jsSrcsDir": "./src/specs"
    }

and paste this code fragment exactly same to src/specs/VideoNativeComponent.ts
/* eslint-disable @typescript-eslint/ban-types */
import type {HostComponent, ViewProps} from 'react-native';
import {NativeModules} from 'react-native';
import type {
  DirectEventHandler,
  Double,
  Float,
  Int32,
  WithDefault,
} from 'react-native/Libraries/Types/CodegenTypes';
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';

// -------- There are types for native component (future codegen) --------
// if you are looking for types for react component, see src/types/video.ts

type Headers = ReadonlyArray<
  Readonly<{
    key: string;
    value: string;
  }>
>;

type VideoMetadata = Readonly<{
  title?: string;
  subtitle?: string;
  description?: string;
  imageUri?: string;
}>;

export type VideoSrc = Readonly<{
  uri?: string;
  isNetwork?: boolean;
  isAsset?: boolean;
  shouldCache?: boolean;
  type?: string;
  mainVer?: Int32;
  patchVer?: Int32;
  requestHeaders?: Headers;
  startPosition?: Float;
  cropStart?: Float;
  cropEnd?: Float;
  metadata?: VideoMetadata;
  textTracksAllowChunklessPreparation?: boolean; // android
}>;

type DRMType = WithDefault<string, 'widevine'>;

type DebugConfig = Readonly<{
  enable?: boolean;
  thread?: boolean;
}>;

type Drm = Readonly<{
  type?: DRMType;
  licenseServer?: string;
  headers?: Headers;
  contentId?: string; // ios
  certificateUrl?: string; // ios
  base64Certificate?: boolean; // ios default: false
  useExternalGetLicense?: boolean; // ios
}>;

type TextTracks = ReadonlyArray<
  Readonly<{
    title: string;
    language: string;
    type: string;
    uri: string;
  }>
>;

type SelectedTextTrackType = WithDefault<string, 'system'>;

type SelectedAudioTrackType = WithDefault<string, 'system'>;

type SelectedTextTrack = Readonly<{
  type?: SelectedTextTrackType;
  value?: string;
}>;

type SelectedAudioTrack = Readonly<{
  type?: SelectedAudioTrackType;
  value?: string;
}>;

type SelectedVideoTrackType = WithDefault<string, 'auto'>;

type SelectedVideoTrack = Readonly<{
  type?: SelectedVideoTrackType;
  value?: string;
}>;

export type Seek = Readonly<{
  time: Float;
  tolerance?: Float;
}>;

type BufferConfigLive = Readonly<{
  maxPlaybackSpeed?: Float;
  minPlaybackSpeed?: Float;
  maxOffsetMs?: Int32;
  minOffsetMs?: Int32;
  targetOffsetMs?: Int32;
}>;

type BufferingStrategyType = WithDefault<string, 'Default'>;

type BufferConfig = Readonly<{
  minBufferMs?: Float;
  maxBufferMs?: Float;
  bufferForPlaybackMs?: Float;
  bufferForPlaybackAfterRebufferMs?: Float;
  maxHeapAllocationPercent?: Float;
  backBufferDurationMs?: Float; // Android
  minBackBufferMemoryReservePercent?: Float;
  minBufferMemoryReservePercent?: Float;
  cacheSizeMB?: Float;
  live?: BufferConfigLive;
}>;

type SubtitleStyle = Readonly<{
  fontSize?: Float;
  paddingTop?: WithDefault<Float, 0>;
  paddingBottom?: WithDefault<Float, 0>;
  paddingLeft?: WithDefault<Float, 0>;
  paddingRight?: WithDefault<Float, 0>;
  opacity?: WithDefault<Float, 1>;
}>;

type OnLoadData = Readonly<{
  currentTime: Float;
  duration: Float;
  naturalSize: Readonly<{
    width: Float;
    height: Float;
    orientation: WithDefault<string, 'landscape'>;
  }>;
  audioTracks: {
    index: Int32;
    title?: string;
    language?: string;
    bitrate?: Float;
    type?: string;
    selected?: boolean;
  }[];
  textTracks: {
    index: Int32;
    title?: string;
    language?: string;
    /**
     * iOS only supports VTT, Android supports all 3
     */
    type?: WithDefault<string, 'srt'>;
    selected?: boolean;
  }[];
}>;

export type OnLoadStartData = Readonly<{
  isNetwork: boolean;
  type: string;
  uri: string;
}>;

export type OnVideoAspectRatioData = Readonly<{
  width: Float;
  height: Float;
}>;

export type OnBufferData = Readonly<{isBuffering: boolean}>;

export type OnProgressData = Readonly<{
  currentTime: Float;
  playableDuration: Float;
  seekableDuration: Float;
}>;

export type OnBandwidthUpdateData = Readonly<{
  bitrate: Int32;
  width?: Float;
  height?: Float;
  trackId?: Int32;
}>;

export type OnSeekData = Readonly<{
  currentTime: Float;
  seekTime: Float;
}>;

export type OnPlaybackStateChangedData = Readonly<{
  isPlaying: boolean;
}>;

export type OnTimedMetadataData = Readonly<{
  metadata: {
    value?: string;
    identifier: string;
  }[];
}>;

export type OnAudioTracksData = Readonly<{
  audioTracks: {
    index: Int32;
    title?: string;
    language?: string;
    bitrate?: Float;
    type?: string;
    selected?: boolean;
  }[];
}>;

type OnTextTracksData = Readonly<{
  textTracks: {
    index: Int32;
    title?: string;
    language?: string;
    /**
     * iOS only supports VTT, Android supports all 3
     */
    type?: WithDefault<string, 'srt'>;
    selected?: boolean;
  }[];
}>;

export type OnTextTrackDataChangedData = Readonly<{
  subtitleTracks: string;
}>;

export type OnVideoTracksData = Readonly<{
  videoTracks: {
    index: Int32;
    tracksId?: string;
    codecs?: string;
    width?: Float;
    height?: Float;
    bitrate?: Float;
    selected?: boolean;
  }[];
}>;

export type OnPlaybackRateChangeData = Readonly<{
  playbackRate: Float;
}>;

export type OnVolumeChangeData = Readonly<{
  volume: Float;
}>;

export type OnExternalPlaybackChangeData = Readonly<{
  isExternalPlaybackActive: boolean;
}>;

export type OnGetLicenseData = Readonly<{
  licenseUrl: string;
  loadedLicenseUrl: string;
  contentId: string;
  spcBase64: string;
}>;

export type OnPictureInPictureStatusChangedData = Readonly<{
  isActive: boolean;
}>;

type OnReceiveAdEventData = Readonly<{
  data?: {};
  event: WithDefault<string, 'AD_BREAK_ENDED'>;
}>;

export type OnVideoErrorData = Readonly<{
  error: Readonly<{
    errorString?: string; // android
    errorException?: string; // android
    errorStackTrace?: string; // android
    errorCode?: string; // android
    error?: string; // ios
    code?: Int32; // ios
    localizedDescription?: string; // ios
    localizedFailureReason?: string; // ios
    localizedRecoverySuggestion?: string; // ios
    domain?: string; // ios
  }>;
  target?: Int32; // ios
}>;

export type OnAudioFocusChangedData = Readonly<{
  hasAudioFocus: boolean;
}>;

type ControlsStyles = Readonly<{
  hideSeekBar?: boolean;
  seekIncrementMS?: Float;
}>;

export type OnControlsVisibilityChange = Readonly<{
  isVisible: boolean;
}>;

export interface VideoNativeProps extends ViewProps {
  src?: VideoSrc;
  drm?: Drm;
  adTagUrl?: string;
  allowsExternalPlayback?: boolean; // ios, true
  maxBitRate?: Float;
  resizeMode?: WithDefault<string, 'none'>;
  repeat?: boolean;
  automaticallyWaitsToMinimizeStalling?: boolean;
  textTracks?: TextTracks;
  selectedTextTrack?: SelectedTextTrack;
  selectedAudioTrack?: SelectedAudioTrack;
  selectedVideoTrack?: SelectedVideoTrack; // android
  paused?: boolean;
  muted?: boolean;
  controls?: boolean;
  filter?: WithDefault<string, ''>;
  filterEnabled?: boolean;
  volume?: Float; // default 1.0
  playInBackground?: boolean;
  preventsDisplaySleepDuringVideoPlayback?: boolean;
  preferredForwardBufferDuration?: Float; //ios, 0
  playWhenInactive?: boolean; // ios, false
  pictureInPicture?: boolean; // ios, false
  ignoreSilentSwitch?: WithDefault<string, 'inherit'>; // ios, 'inherit'
  mixWithOthers?: WithDefault<string, 'inherit'>; // ios, 'inherit'
  rate?: Float;
  fullscreen?: boolean; // ios, false
  fullscreenAutorotate?: boolean;
  fullscreenOrientation?: WithDefault<string, 'all'>;
  progressUpdateInterval?: Float;
  restoreUserInterfaceForPIPStopCompletionHandler?: boolean;
  localSourceEncryptionKeyScheme?: string;
  debug?: DebugConfig;
  showNotificationControls?: WithDefault<boolean, false>; // Android, iOS
  bufferConfig?: BufferConfig; // Android
  contentStartTime?: Int32; // Android
  currentPlaybackTime?: Double; // Android
  disableDisconnectError?: boolean; // Android
  focusable?: boolean; // Android
  hideShutterView?: boolean; //	Android
  minLoadRetryCount?: Int32; // Android
  reportBandwidth?: boolean; //Android
  subtitleStyle?: SubtitleStyle; // android
  useTextureView?: boolean; // Android
  useSecureView?: boolean; // Android
  bufferingStrategy?: BufferingStrategyType; // Android
  controlsStyles?: ControlsStyles; // Android
  onControlsVisibilityChange?: DirectEventHandler<OnControlsVisibilityChange>;
  onVideoLoad?: DirectEventHandler<OnLoadData>;
  onVideoLoadStart?: DirectEventHandler<OnLoadStartData>;
  onVideoAspectRatio?: DirectEventHandler<OnVideoAspectRatioData>;
  onVideoBuffer?: DirectEventHandler<OnBufferData>;
  onVideoError?: DirectEventHandler<OnVideoErrorData>;
  onVideoProgress?: DirectEventHandler<OnProgressData>;
  onVideoBandwidthUpdate?: DirectEventHandler<OnBandwidthUpdateData>;
  onVideoSeek?: DirectEventHandler<OnSeekData>;
  onVideoEnd?: DirectEventHandler<{}>; // all
  onVideoAudioBecomingNoisy?: DirectEventHandler<{}>;
  onVideoFullscreenPlayerWillPresent?: DirectEventHandler<{}>; // ios, android
  onVideoFullscreenPlayerDidPresent?: DirectEventHandler<{}>; // ios, android
  onVideoFullscreenPlayerWillDismiss?: DirectEventHandler<{}>; // ios, android
  onVideoFullscreenPlayerDidDismiss?: DirectEventHandler<{}>; // ios, android
  onReadyForDisplay?: DirectEventHandler<{}>;
  onPlaybackRateChange?: DirectEventHandler<OnPlaybackRateChangeData>; // all
  onVolumeChange?: DirectEventHandler<OnVolumeChangeData>; // android, ios
  onVideoExternalPlaybackChange?: DirectEventHandler<OnExternalPlaybackChangeData>;
  onGetLicense?: DirectEventHandler<OnGetLicenseData>;
  onPictureInPictureStatusChanged?: DirectEventHandler<OnPictureInPictureStatusChangedData>;
  onRestoreUserInterfaceForPictureInPictureStop?: DirectEventHandler<{}>;
  onReceiveAdEvent?: DirectEventHandler<OnReceiveAdEventData>;
  onVideoPlaybackStateChanged?: DirectEventHandler<OnPlaybackStateChangedData>; // android only
  onVideoIdle?: DirectEventHandler<{}>; // android only (nowhere in document, so do not use as props. just type declaration)
  onAudioFocusChanged?: DirectEventHandler<OnAudioFocusChangedData>; // android only (nowhere in document, so do not use as props. just type declaration)
  onTimedMetadata?: DirectEventHandler<OnTimedMetadataData>; // ios, android
  onAudioTracks?: DirectEventHandler<OnAudioTracksData>; // android
  onTextTracks?: DirectEventHandler<OnTextTracksData>; // android
  onTextTrackDataChanged?: DirectEventHandler<OnTextTrackDataChangedData>; // iOS
  onVideoTracks?: DirectEventHandler<OnVideoTracksData>; // android
}

export type VideoComponentType = HostComponent<VideoNativeProps>;

export type VideoSaveData = {
  uri: string;
};

export interface VideoManagerType {
  save: (option: object, reactTag: number) => Promise<VideoSaveData>;
  seek: (option: Seek, reactTag: number) => Promise<void>;
  setPlayerPauseState: (paused: boolean, reactTag: number) => Promise<void>;
  setLicenseResult: (
    result: string,
    licenseUrl: string,
    reactTag: number,
  ) => Promise<void>;
  setLicenseResultError: (
    error: string,
    licenseUrl: string,
    reactTag: number,
  ) => Promise<void>;
  setVolume: (volume: number, reactTag: number) => Promise<void>;
  getCurrentPosition: (reactTag: number) => Promise<number>;
  setFullScreen: (fullScreen: boolean, reactTag: number) => Promise<void>;
}

export interface VideoDecoderPropertiesType {
  getWidevineLevel: () => Promise<number>;
  isCodecSupported: (
    mimeType: string,
    width: number,
    height: number,
  ) => Promise<'unsupported' | 'hardware' | 'software'>;
  isHEVCSupported: () => Promise<'unsupported' | 'hardware' | 'software'>;
}

export const VideoManager = NativeModules.VideoManager as VideoManagerType;
export const VideoDecoderProperties =
  NativeModules.VideoDecoderProperties as VideoDecoderPropertiesType;

export default codegenNativeComponent<VideoNativeProps>(
  'RCTVideo',
) as VideoComponentType;

Lastly, before build or gradle sync android of FabricExample,
run next command to generate codegen for android in FabricExample/android directory.
./gradlew generateCodegenArtifactsFromSchema

@freeboub I will merge this one as this is "only" example and change to build.gradle was reverted

authors: KrzysztofMoch yungblud

repo: TheWidlarzGroup/react-native-video


text:
🛑 Language Explorer production is down

In 6b541f4, Language Explorer production (https://app.languageexplorerapp.co.uk/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Language Explorer production is back up in b10bbf6.

repo: TherapyBox/upptime


text:
🛑 Outlook is down

In 41b702c, Outlook (https://outlook.live.com) was down:

HTTP code: 417
Response time: 161 ms

Resolved: Outlook is back up in b247b5e after 12 minutes.

repo: Thexyz/Email-Monitoring


text:
🛑 Outlook is down

In 480bcff, Outlook (https://outlook.live.com) was down:

HTTP code: 417
Response time: 117 ms

Resolved: Outlook is back up in 24524b4 after 12 minutes.


text:
Update image.mdoc for a spelling mistake

"in" instead of "it"

Thanks for this, @NikharPandya 🙏

authors: NikharPandya simonswiss

repo: Thinkmill/keystatic


text:
Update VulkanHelper to support surface creation on macOS

Overview
This PR updates VulkanHelper class to support creation of surfaces on macOS and introduces SimpleCocoaWindow to work with NSWindow.
VulkanHelper changes:

adds methods to create Vulkan surface on macOS using both deprecated and newer Vulkan extensions;
alters Vulkan library loading to try MoltenVk first, then generic libvulkan;
slightly refactors CreateWindowSurface() method to split it into a set of platform specific methods and thus reduce complexity a bit.

SimpleCocoaWindow:

is macOS only, does not support CocoaTouch;
uses a basic Objective-C runtime interop layer to invoke methods on classes like NSView and NSWindow.

Testing
I've written this while trying to make Ryujinx workable on macOS after fixing JIT memory access issues on M1.
Unfortunately Ryujinx requires Vulkan extensions that are not implemented by MoltenVk. So logic is tested by running Ryujinx up to the moment where it checks extensions and throws error on failure to find VK_EXT_transform_feedback not implemented by MoltenVk. This means that initialisation logic in VulkanHelper itself works fine and devices enumeration, extensions enumeration, etc in Ryujinx have no issues.

I think it's probably a better idea to pass an NSView as the "window" for this one. I've messed with this and GTK, and it seems that our approach for trying to pull an embedded window out of a DrawingArea doesn't work. What did work is creating an NSView, adding it as a child and positioning it manually to match the GTK component (recaluclates when component moves). I can imagine a similar approach working for Avalonia.
Were you able to get embedded window creation working on the GTK side?
As for general stuff, code comments are generally correctly capitalized and well punctiated, like // Example comment.

I think it's probably a better idea to pass an NSView as the "window" for this one

NSWindow is needed for Show()/Hide() implementation. I believe it is possible to get NSWindow through NSView.window (if NSView is attached to window) but seems like an extra hop. The change is small though, should be easy to implement.

Were you able to get embedded window creation working on the GTK side?

Can you elaborate on what do you mean by embedded window?
I've tested complete Vulkan initialisation with Silk, surface creation aside (for which I used SPB VulkanHelper) and rendering of triangle in main window of GTK#/Glade app plus showing/hiding it on key press event through SimpleCocoaWindow methods.

As for general stuff, code comments are generally correctly capitalized and well punctuated, like // Example comment.

Sure, will fix it.

Sorry for the unusually long delay, the example project would be Ryujinx.

The embedded window is the DrawingArea that the game is rendered into. Our strategy for doing that is getting a native representation of the widget's Window and creating the context with that, though when I tried this on macos it gave me the whole window rather than just the drawing area. When creating a metal context with that, it replaced all GTK elements, which wasn't great as it made it impossible to see the status bar and menus.
I don't really have a simpler example on hand.

Since https://github.com/marysaka/SPB/commit/21b6f4be46c3094e16d00e8f4db0b580f9de4d09 is a thing now...
It might still be a good idea to port use the more fleshed out ObjectiveC class in this PR rather than the rather simple MacOS one for interop.
Supporting generating the layer from a window could also be useful.

Sorry, a bit busy week. Will catch up with comments later.
I get your concern now. I am not sure that GTK widgets are mapped to per-widget NSView (as GTK layout/rendering is used instead). Will check it.

Sorry, a bit busy week. Will catch up with comments later.
I get your concern now. I am not sure that GTK widgets are mapped to per-widget NSView (as GTK layout/rendering is used instead and thus all drawing area, including menu, is the same view). Will check it.

I may have forgot about that PR and made some changes on https://github.com/marysaka/SPB/commit/21b6f4be46c3094e16d00e8f4db0b580f9de4d09 while working on my GBA emu 😅
Could you maybe rebase or maybe close and split the changes?
I think the surface creation split in the VulkanHelper class could be nice to have.
I still am not to sure with the design of SimpleMetalWindow I made, for now all CAMetalLayer creation need to be handled externally.

authors: marysaka riperiperi taleks

repo: Thog/SPB


text:
Viewscreen

Discussed in https://github.com/Thorium-Sim/thorium-nova/discussions/41 and https://github.com/Thorium-Sim/thorium-nova/discussions/320
This issue encapsulates all of the features needed for the first iteration of ship's viewscreen. This isn't meant to be all-inclusive, just enough to get started.

[x] #421
[x] #415
[x] #416
[x] #417
[x] #420
[x] #418
[ ] Viewscreen - Create a system for displaying overlays on the viewscreen.
[ ] Viewscreen - Create a card for the crew to control what is displayed on the viewscreen.
[ ] Viewscreen - Create a widget that allows any crew member to view the viewscreen on their computer.

In part of design for this. One of the frustrating things when participating in a bridge sim is that the Flight Director has full control of the viewscreen. This is addressing that issue certainly, but the controls for what is on the viewscreen should be in full control of the crew.

Yes, crew should be able to affect what's on the view screen. The challenge is that the view screen is one of the primary ways the crew gets information about stuff they should be focusing on. So there's probably going to be a good bit of automation, where the simulation overrides the crew's view screen choices to show information that's crucial to the mission.
This could take many forms, including a notification indicating the crew to choose to adjust their view screen to the view that the simulation wants.
How all that shakes out is TBD, but you're on the right track. Not necessarily full control, but crew does have control.

If there were alerts guiding people to the correct thing, that could also help. I'm basing this off of StarCraft. Almost the entire time you have full control of where you are looking at. There are alerts and buttons that pop up that can direct your attention to something and on occasion forces you to look at a specific thing.
With Nova being more crew driven with a flight enhancer for those who use it, having the ability to give maximum control to crew would also help immersion.

Thinking through it, I imagine that several stations can send information to the main viewscreen. For example, if there are interesting readings from operations, they can show it onscreen for everyone to see. The pilot can show the outboard cameras so planets can be seen and much more. It becomes a collective space where the captain can direct what they want to see at the moment. This helps fulfill the fantasy of the captain giving the order "on screen" and they can have everyone view what is happening.
This also let's the captain talk to individuals for information that doesn't need the full attention of everyone.
An example of this was when I was last at CMSC. I was first officer and I triaged information for the captain where possible because there is a ton of information coming in all the time. I could speak with different officers at their station and if anything needed a decision from the captain I could bring it up and the captain could have it put on the viewscreen.
Another consideration is that for flights without a director, every station will need access to the viewscreen individually which is something we can set up as a base line.
This is getting into conversations of what the "standard" ship size should be and while it is a blast to play with 8-10 people. A feasible amount for at home play would be 3-4. But that conversation is best held elsewhere and another time, right now we are just getting functionality coded.

I was curious what choices we would go for. Starting with small and large configuration is a good place for sure and most of those questions can't really be answered until we get some prototype and start testing.
The only other thing I want to make clear, since part of the design is for people to play in their homes or even over the internet, it is expected that most players will only have one monitor available to them so having a viewscreen button available to people is certainly a good thing to keep in mind. But we'll leave most of that conversation for when more parts are starting to come together, as I might be wrong altogether.

repo: Thorium-Sim/thorium-nova


text:
Update sbt-sonatype to 3.9.20

About this PR
📦 Updates org.xerial.sbt:sbt-sonatype from 3.9.2 to 3.9.20
📜 GitHub Release Notes - Release Notes
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (3.9.2).
You might want to review and update them manually.
project/plugins.sbt

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.xerial.sbt", artifactId = "sbt-sonatype" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.xerial.sbt", artifactId = "sbt-sonatype" }
}]

labels: sbt-plugin-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Superseded by #136.


text:
Idea: Separate eventstore/${driver.go} into eventstore/${driver} packages

If there's more drivers, then perhaps
import "esja/pkg/eventstore/sql"

sql.NewStore[MyAggregate](...)

would be better than
import "esja/pkg/eventstore"

eventstore.NewSQLStore[MyAggregate](...)

Besides, we could have separate go.mods for those drivers, so that the main lib doesn't have to depend on postgres or sqlite

Interesting idea with go.mods 🤔 Although it might also be confusing for users that you need additional go get for a package inside the library.

An interesting side-effect of adding a dedicated go.mod to the example is that now there are no dependencies other than testify in the main package.

repo: ThreeDotsLabs/esja