text:
Interpretation types in Prismic need to handle title, label and messaging independently

What is it and who's it for?

Content editors who need to add interpretationType to Events

The interpretationType in Prismic contains these 4 fields:

Title
Abbreviation
Message
Message if primary interpretation

The Title of an interpretationType is used for two purposes:

Identifying the content item in a Prismic list (see screenshot below)
Adding the label text to the card's yellow label

We need a way to split out these functions so that they are independent of each other.
Why?
The Editorial team create a new interpretationType to accommodate variant messaging about the event's interpretation. But because the label needs to be consistent in order to appear on the card in the right way, we end up with multiple interpretation types with the same name - making it difficult for the Editors to choose which one goes with their content.

The messages attached to each instance are:
Audio described
This event will be audio described for visitors who are blind or partially sighted. Places are free but very limited. If you would like to come along, email
Audio described (online)
This event is audio described, which may be useful for people who are blind or partially sighted. For any assistance, please email us at .
Auto-captioned (online)
There will be auto-generated captions for this event. For any assistance, please email us at
British Sign Language (1)
This event will have British Sign Language interpretation. If you would like to come along, email us at .
British Sign Language (2)
This event will be delivered in British Sign Language, with English voiceover. If you would like to come along, email us at .
British Sign Language (online)
This event is British Sign Language interpreted. A signer will be on screen describing the event. For any assistance, please email us at
Captioned
This event will be Captioned and the captions will be visible throughout the performance space.
Captioned - online
The main panel discussion will be captioned by StageText, and the introduction and Q&A will be auto-captioned by Bluejeans, the videoconferencing platform.
Hearing loop
There will be an induction loop at this event for visitors with hearing aids.
Relaxed performance
This is a relaxed performance, which means that if you need to, you are welcome to move around and make noise at any time.
Speech-to-text
This event will have live speech-to-text transcription for visitors who are D/deaf or hard of hearing.
Speech-to-text (online)
This event will have live speech-to-text transcription, which may be useful for people who are D/deaf or hard of hearing.
Proposed solution

Allow title of interpretationType to be anything - in order to help Editors choose it from the list of interpretations
Add extra label text field in the content item so Editors can choose commonly-accepted labels (British Sign Language, Audio Described, etc).

Thinking about filters for these, if we have /events?with=bsl* - would we expect all of the BSL options to be in that list?
* pseudo implementation

My preference would be that we have BSL as one option (and either deal with the variant multiples differently)
The list of filters would look like this:
Access:
British Sign Language
Audio described
Auto-captioned
Captioned
Relaxed performance
Speech to Text

@jennpb a few questions here:

This event will be delivered in British Sign Language, with English voiceover

Should this then be BSL and English voiceover?

(Online)

What we could do is just add a field to the interpretationType called onlineDescription and render that if the event is flagged as isOnline.

This has been handled here.
Things todo:

[ ] Content team to go in and slim down list to just 1 BSL and other interpretation types
[ ] Anything to do with filters?

No filters work just now (see comment)

We said that we might add different descriptions onto access modes, and a free text box, similar to contributors, to add extra information.
We started with the latter half of that and add flexibility as @dannybirchall  said, we’re still finding our feet. We’ve added an “Extra information” box to the access mode. It the appends this info to the access mode description.
The info box is now always available for people to see whereas it was hidden on past events.
I’ve attached screenshots, but you should be able to go into Prismic and see how it works.

@jennpb A content task would be to go through and make sure we are using 1 BSL etc I've added it to the description of this issue.

authors: jamesgorrie jennpb


text:
user research: viewer round 2 & date filters (23.05.19)

Aims/Purpose
viewer:

validate workflow with new design: overview (thumbnails) to double page view
check understanding of new icons/all controls
validate vertical scrolling across both views
check assumptions for the information panel

date filters:

how do people use date filters?

Tasks

[x] Check with devs re build of thing to be tested and set deadline
[x] Write script
[x] Review script with data team/UX
[x] Pilot (optional)
[x] Think about extras we could add in to the test
[x] Update room booking
[x] Send Bluejeans links to transcribers
[x] Book testing room
[x] Email Reception with participants' names
[x] Check Bluejeans set up is working
[x] Book viewing room
[x] Email team with viewing room invite
[x] Print consent forms/script
[x] Add link to script on Sharepoint to this issue
[x] print out observation answer sheet/email link to observers for transcription.

Link to script in sharepoint. Prompt questions aren't written down as it will depend on what they talk about but I will be prompting on what they think all the buttons do along with general feedback about the order of screens https://wellcomecloud.sharepoint.com/:w:/s/wcdigitalexperience/EfhKuhTk7pFEnyx6Mc3CWRMBY0K6vXCINNWuGxJGTnoHnw?e=JOoHRW

Only had 3 participants this week so will follow up again to gather more info on date search filters. I think we can do this with an online survey as most questions are checklist answers. It also means we can gather more data that will be useful as it's not the usual usability type test where we only need 5.
insights so far:

researchers know what date range they want to focus on usually near the start of the project/research
alphabetical list of results when using date filters isn't all that helpful
sorting chronologically (either oldest to newest for those looking at primary material, and newest to oldest for those looking for commentary on older works/later editions first) is useful
when items have date estimates on them it's still useful to have them included in the results list rather than omitting them.

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Shunt images offscreen instead of fading out

What is this PR trying to achieve?
Scrolly-shove instead of fading out the sticky elements in the right-hand rail. Fixes #574.

[x] Test perf – looks like it could get quite janky.
[x] Squash bugs.

What does it look like?

For interface components

[x] Browser testing - Have you checked the component in our supported browsers
[x] No javascript - Have you checked the component with javascript disabled

No more jank. No more listening for scroll events. :boom:

Really nice

source: gharchive/pull-request

authors: davidpmccormick gestchild


text:
python binding local build failed

Describe the bug
the WeNet python binding fails to built locally after the latest update.
error: [Errno 2] No such file or directory: '/home/wenet/runtime/binding/python/fc_base/openfst-subbuild/openfst-populate-prefix/lib/libfstscript.so'
Tried in following OS (please complete the following information):

MacOS 11.2.2
Ubuntu 20.04.3 LTS

Additional context
install_log.txt

Try again.


text:
不使用glog和gflags编译runtime

glog和gflags比较大，我想使用openfst默认的flags和log。我将kaldi和openfst中patch的代码替换回去了，但是出现了大量的如下的错误，请问是什么原因导致的以及如何修改呢？

重写openfst.cmake解决


text:
moe模型的适配问题

请问一下目前moe模型只能用pt模型测试吗，能否在runtime上运行；moe模型的转onnx是否适配；
在大数据集上训练的1B的moe模型训练速度能到多少

只能pt；libtorch的runtime可以无缝跑；转onnx因为有分支操作，所以需要适配；速度见paper

只能pt；libtorch的runtime可以无缝跑；转onnx因为有分支操作，所以需要适配；速度见paper https://arxiv.org/pdf/2404.16407

请问下，使用libtorch的runtime跑MoE的jit script，RTF反而比没有MoE的模型还高，是测试方法不对吗？

authors: programYoung srdfjy xingchensong


text:
about the dino logger

非常感谢您可以开源这个项目，我最近再根据您的项目复现dino，您可以提供一下eacpa-tdnn在dino的训练日志吗，我前几轮的eer我发现都有14.多。 非常感谢

后面就下降了

我是用一张3090 train的，目前40轮的结果是7.6 。请问目前是正常的吗，还有我在训的时候我发现train loss并不是单调下降的

抱歉，之前训练的log并没有保存。
这个issue先暂时关闭了，如果还有任何疑问，欢迎随时讨论。

authors: Hunterhuan JINzezhong7 wntg


text:
How to up length decoded character output (now limit is 50 character)

Hi man.
Your model very useful with me. I appreciate it, but length of output decoder just 50 character, how can i change it.

I found some variable to set limit characters in script https://github.com/wenwenyu/PICK-pytorch/blob/master/data_utils/documents.py
MAX_BOXES_NUM = 70
MAX_TRANSCRIP_LEN = 50
i solved my issue so i will close topic thank u

repo: wenwenyu/PICK-pytorch


text:
如果用 msys2 和 clang 编译wke 会遇到哪些问题？

如果用 msys2 和 clang 编译wke
主要会 遇到些什么障碍
不知道作者能否讲一讲

[我在msys2下，在vs下使用clang都不能创建窗口，出现0xC0000005错误。原因未知，大神好像也没时间回答问题。

license_source: bigquery


text:
宿主、app插件和lib插件之间能够互相调用代码这种设计的意义何在？为什么不做完全的隔离

宿主、插件间能够直接调用对方代码的话，那插件的意义是什么呢？

公共部分也能最为插件，实现动态更新

完全独立的可以用360的， small偏重于项目模块插件化

我理解插件应该是独立完整的，如果需要依赖其他插件或者宿主也需要通过其他插件或宿主提供服务接口来支持，做到接口隔离，否则代码都可以互相调用那跟aar有什么区别，每个modle规定自己的资源带上固定前缀就能解决资源冲突问题啊，所以真正的意义在哪里？

1.不同module带上前缀不能解决id冲突问题，因为发生冲突的是id，不是资源名，而id是在编译时aapt自动生成的
2.aar类型的依赖提供了classe和R.txt也就是说其资源是要在最后打包的时候才会进行编译的，这时候才会为每个资源生成id，可以找一个aar文件解压看看，里面只有R.txt，并没有R.class
3.插件之间虽然在运行时是可以相互访问的，在编译阶段是隔离的，即两个业务独立的插件你不能显示的调用另一个插件的类，因为并没有引入另一个插件的依赖

嗯，有点道理，能够在开发期间把业务模块隔离开，但是这样子的目的完全隔离插件一样能够做到，而且更清晰，再说下aar，我想表达的意思是small的插件就是动态加载了一个aar，不要纠结于aar里面的具体实现，现在说的是设计上的意义和对开发的好处，再比如说这样子开发出来的插件只能够自己用，其他产品想用怎么办，如果完全隔离的插件其他产品直接复用，倒不是说像360的那种那么彻底，只是我还没发现small存在的真正意义

@sxsx0723
可能是我文档不够清晰，让你导致了误解，这三者的关系大致如下：

宿主：作为一个壳，功能只有一个，就是加载插件，启动主插件
lib.*插件：作为公共库插件，API、资源可以直接被app.*插件调用，同时可以作为独立插件发布且不影响app.*插件
app.*插件：业务模块插件

Small的场景立足于一个应用本身，其意义在于：

开发时：让你完全透明的像开发普通工程一样完成插件开发
编译时：自动化的帮助你分离各个公共库、业务模块插件（插件仅保留自身的代码跟资源，达到最小化）
运行时：运用最少量的Hook无缝的将各个插件并入宿主，让代码跟资源完全融合，自由调用

所以撇开开发者不用关注的(2)来说，Small的目的就是要做到保证开发者「畅快开发」的体验，以及App使用者「顺畅使用」的体验。
插件化方案有很多，很难有统一的形态，各有各的适用场景。如果你需要分发你的插件给别人使用，Small无法满足；如果你想利用插件化拆分、重组自己的应用，我认为Small在这方面已经走在了前面，并且将不断完善，做到极致。
同时，我认为开源本身就是一种意义。「引发思考」的价值要比「拿来能用」的价值大的多。我希望大家更多的是抱着一种学习的心态，一起静下心来研究一些有意思的东西，促进共同进步。
最后，如果有兴趣了解更多Small的细节的话，可以看下Wiki。

解答的很好！谢谢

repo: wequick/Small


text:
编译运行sample问题

[x] 我已阅读并理解 贡献指南，严格遵循其约定。

错误报告
你做了什么？
按照官方指引运行sample
你期望的结果是什么？
运行small 的sample
实际结果是什么？
点击run按钮的时候出现编译错误
错误日志
Error:Execution failed for task ':app+stub:transformClassesAndResourcesWithSyncLibJarsForRelease'.

java.io.IOException: Could not delete path 'D:\devolop\demo\Small\Android\Sample\app+stub\build\intermediates\bundles\default\libs\assets.jar'.

Small环境
gradle-small plugin : 1.3.0-beta3 (maven)
small aar : 1.3.0-beta3 (maven)
small binding aar : 1.1.2 (maven)
gradle core : 4.0-milestone-1
android plugin : 2.3.0
OS : Windows 7 6.1 (amd64)

### Bundles

| type |      name      |  PP  | sdk |  aapt  | support |        file         |   size   |
|------|----------------|------|-----|--------|---------|---------------------|----------|
| host | app            |      | 26  | 26.0.1 | 25.1.0  |                     |          |
| stub | app+stub       |      | 26  | 26.0.1 | 25.1.0  |                     |          |
| app  | app.main       | 0x77 | 26  | 26.0.1 | 25.1.0  | *.main.apk          | 11.7 KB  |
| app  | app.mine       | 0x16 | 26  | 26.0.1 |         | *.mine.apk          | 48.1 KB  |
| app  | app.ok-if-stub | 0x6a | 26  | 26.0.1 |         | *.appok_if_stub.apk | 19.7 KB  |
| app  | app.detail     | 0x67 | 26  | 26.0.1 | 25.1.0  | *.detail.apk        | 5.8 KB   |
| app  | app.home       | 0x70 | 26  | 26.0.1 |         | *.home.apk          | 6.4 KB   |
| lib  | lib.analytics  | 0x76 | 26  | 26.0.1 |         | *.analytics.apk     | 126.6 KB |
| lib  | lib.utils      | 0x73 | 26  | 26.0.1 | 25.1.0  | *.utils.apk         | 6.8 KB   |
| lib  | lib.style      | 0x79 | 26  | 26.0.1 | 25.1.0  | *.style.apk         | 5.7 KB   |
| web  | web.about      |      | 26  | 26.0.1 | 25.1.0  | *.about.apk         | 24.5 KB  |

我也有同样的问题，你解决没有

同样有这样的问题

这个问题一般都是这个资源被其他的进程使用，导致无法删除， 你可到这个文件路径里尝试手动删除， 如果是windows系统就会提示你这个问题被什么进程占用了，然后到任务管理器关闭这个进程就好了。像这个问题应该是 open JDK binary 占用了这个文件。

同样出现问题  关掉java进程也没有用

https://jingyan.baidu.com/article/fea4511a38ee62f7ba912568.html  根据这个网站 把占用的进程删除,然后把build的文件删除就可以了

authors: JohnsonChow hao321 jackdong0224 longlyboyhe realicing xingzjx


text:
chore: release 2.10.3

:robot: I have created a release *beep* *boop*
2.10.3 (2024-08-15)
Bug Fixes

build, buildah, stapel: prevent sensitive data exposure by not printing user commands (b95670c)
deploy: invalid labels/annotations silently remove all user labels/annotations for the resource (35a2fe7)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/werf/werf/releases/tag/v2.10.3 :sunflower:

repo: werf/werf


text:
Getting 404, on some sizes of images

We are seeing
{"status": "error", "code": 404, "message": "The hostname of the origin is unresolvable (DNS) or blocked by policy." }
On requests on some image sizes. If we change the image size the image appears as expected.
In the nginx error.log on we see the following lines

[error] 7#0: wrong ident 51546 in DNS response for firebasestorage.googleapis.com, expect 61389
[error] 7#0: wrong ident 56714 in DNS response for firebasestorage.googleapis.com, expect 19598
[error] 7#0: wrong ident 24211 in DNS response for firebasestorage.googleapis.com, expect 24813
[error] 7#0: wrong ident 24632 in DNS response for firebasestorage.googleapis.com, expect 7164
[error] 7#0: wrong ident 41805 in DNS response for firebasestorage.googleapis.com, expect 61819
[error] 7#0: wrong ident 38646 in DNS response for firebasestorage.googleapis.com, expect 38720

This issue seems a bit above my experience with nginx, any pointers would be appreciated.

Sounds like the DNS server is not properly configured. Is this with Docker? If so, see: https://github.com/weserv/images/issues/206#issuecomment-1752740666.

@nilsmakeable Were you able to make any progress with this?

I'll close this issue for now, please feel free to re-open if there's still a problem.

authors: kleisauke nilsmakeable

repo: weserv/images


text:
🛑 Mumble (CN) is down

In b88a4f3, Mumble (CN) (mumble.winterco.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mumble (CN) is back up in 3e17209.

repo: wfjsw/status-winterco-org


text:
FIX: fixed .travis.yml aspell and duplicates

Add: added aspell and aspell-en to needed packages

Remove: Removed generating the ansible.cfg from .travis.yml

Resolves: #7"

@donvipre @Cinux90 may one of you review this PR?
After the merge i'll start #11 in the same branch.

@donvipre it's in the tests-scripts, so it will be more portable to other tools and not "travis-exclusive"
For local testing it was built in there.

repo: while-true-do/ansible-galaxy-skeleton


text:
Maybe use ready package for listing files to publish

https://github.com/timoxley/pkgfiles
https://github.com/thlorenz/irish-pub

Probalby not.

repo: whitecolor/yalc


text:
Update brew install command

Update command as shown at https://formulae.brew.sh/cask/qlstephen#default.
brew cask install qlstephen fails with Error: Unknown command: cask in brew 3.3.9.

Haha, there are about 10 open pull requests for this... ping @whomwah

Fixed in https://github.com/whomwah/qlstephen/pull/108

authors: mmontag whomwah

repo: whomwah/qlstephen

license: mit


text:
74 efficient calculation for stats on homeview

Ram auslastung minimiert
berechnungen werden auf sql ausgelagert
limit für query in bahnhof view hinzugefügt

Hier bräuchte ich mal please ein emergency review, dann würde ich alles neue heute gleich deployen weil die auslastung teilweise echt kritisch ist @whosFritz

startzeit erheblich reduziert

startzeit erheblich reduziert

das freut den mac wahrscheinlich, dann zerruppt es die kiste nicht wieder

repo: whosFritz/Rail-Insights


text:
🛑 TVBS新聞網 is down

In 0ae8df5, TVBS新聞網 (https://www.tvbs.com.tw/) was down:

HTTP code: 404
Response time: 260 ms

Resolved: TVBS新聞網 is back up in 050df4e after 11 minutes.

repo: whosawhosa/upptime


text:
Connection Pooling

Is there any way to configure CPR to take advantage of the underlying libcurl functionality to share connections between http requests to the same IP:Port?

Yes, and no.
You are able to reuse a connection if you use a cpr::Session object (Docs).
An actual connection pool does not exist. A while back there existed a PR (#330) for thread shared connection pools.
But this PR has never been merged since it lacked a couple of things.

repo: whoshuu/cpr


text:
青龙面板新建视图的筛选文件要是支持"或"和"且"同时使用就好了

Clear and concise description of the problem
青龙面板新建视图的筛选文件要是支持"或"和"且"同时使用就好了……
装了 2.15.17 发现还是没有
或和且只能单独使用的话，这种场景，只能手动分拆或和且建立多个视图，或者想办法手动加唯一的标签或者填上唯一的完整的命令什么的，不然只部分关键字，每个视图会多出一堆东西……
如果能同时使用的话，就只需要一个视图就能筛选出 个人精选内容 了(
Suggested solution
支持同时使用“或”和“且”筛选
例如：
1.需要"或"的项目均被满足的"且“：
"名称包含A 或 名称包含B 或 名称包含C"
且 (都) 命令包含 D
2.每个"或"的项目单独需要匹配的"且":
a.名称包含"xx"且状态为已启用 或 标签属于"yy"且状态为已禁用
b.名称包含"xx"且状态为已启用 或  命令blahblah 或 blahblah blahblah
（突然好像想到还有更复杂的嵌套筛选操作，比如：
1.且里面还有或，"(xx 或 yy 或 zz) 且 (AA 或 BB 或 CC)"，也就是且的条件只需要满足其中之一。
如果写成 "xx"且"AA" 或 "xx"且"BB" 或  "xx"且"CC" 或  "yy"且"AA" 或  "yy"且"BB" 或  "yy"且"CC" 或  "zz"且"AA" 或  "zz"且"BB" 或  "zz"且"CC" 会变得非常冗长，而且变成了在手工枚举所有的"组合"……
或者
2.且里面还有且，"(xx 或 yy 或 zz) 且 (AA 且 BB 且 CC)" 那就是要多个且的条件同时满足。
那就包含: "xx” 且  (AA 且 BB 且 CC) 或 yy 且 (AA 且 BB 且 CC) 或 zz 且 (AA 且 BB 且 CC)
也就是"xx 满足 而且 AA 与 BB 与 CC 筛选条件都同时满足，或者 "yy 满足 而且 AA 与 BB 与 CC 筛选条件都同时满足 或者 zz 满足 而且 AA 与 BB 与 CC 条件都同时满足
这种现在如果使用且，就没办法在同一个视图弄出多个了，上面的两个例子就得分拆成多个视图了……）
Alternative
No response
Additional context
No response
Validations

[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

PR is welcoming

authors: dyingsu whyour

repo: whyour/qinglong


text:
运行脚本日志直接就结束了

老哥，这种怎么解决啊？
![image](https://user-images.githubusercontent.com/51164894/120610181-7f473680-c485-11eb-9d91-a23cbf66760d.png

手动在容器内执行呢


text:
🛑 Girasol 🇪🇸 (es) is down

In a156369, Girasol 🇪🇸 (es) (https://holiday-lescala.com/es/h/casa-girasol/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Girasol 🇪🇸 (es) is back up in 2ae7ba3 after 35 minutes.

repo: whytspace/upptime-holiday-lescala


text:
🛑 Francoli 🇫🇷 (fr) is down

In 5c4593e, Francoli 🇫🇷 (fr) (https://holiday-lescala.com/fr/h/maison-francoli/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Francoli 🇫🇷 (fr) is back up in b8abb56 after 12 minutes.


text:
3v3-5v support for the address bus?

I'm seeing that in the schematics the address bus is connected directly to the PI Pico without any level shifting. Does this means that it's only compatible with 3v3 ROM interfaces and not 5v?

I have used it exclusively with 5v systems. The RP2040 is not specced as being 5v tolerant, but it seems to handle it pretty well. I wouldn't sell it in this form but I have used it like this for hundreds of hours now without problems. Fitting two more level shifters on there would be pretty difficult and would probably require putting components on the other side of the board.
I use a buffer and level shifter on the data pins because I wanted to ensure it was driving the data lines at a high enough voltage and I also wanted to protect the data pins from 5v input while they were configured as an output, which apparently can be an issue. It also simplified the Output Enable and Chip Select logic in the firmware.
https://hackaday.com/2023/04/05/rp2040-and-5v-logic-best-friends-this-fx9000p-confirms/

Neat! Thank you :D

Just wanted to add, I read somewhere that one of the designers said that the IOs are practically 5V tolerant, but they couldn't officially claim that for some minor detail .. or so :)

authors: giulioz ramapcsx2 wickerwaka

repo: wickerwaka/PicoROM


text:
Odd behavior importing relative files

I have run into two issues while trying to import relative local tsx files.
FIrst when I moved buckaroo to ipyreact, I got the following error:
404 Not Found https://esm.sh/ColumnsEditor?external=react,react-dom imported from blob:http://localhost:8888/9844a197-0bbd-4643-9ba4-1d21f6754e0a

from the following widget python code:
class BuckarooWidget(ipyreact.ReactWidget):
    _esm = pathlib.Path("js/components/ipyreact-dcf.tsx")
BuckarooWidget()

in ipyreact-dcf.tsx , here is the relevant line:
import {ColumnsEditor} from './ColumnsEditor';
https://github.com/paddymul/buckaroo/blob/feat/ipyreact/js/components/ipyreact-dcf.tsx

Then I tried to make a reduced test case just in a notebook.  In this case the other file (comp1) isn't even imported... but no error is thrown.
comp_1 = """
import React from 'react';
export function comp1(){
console.log("comp1");
    return
comp1

}
"""
open("ipyreacttry/comp1.tsx", "w").write(comp_1)

comp_2 = """
import React from 'react';
import {comp1} from "./comp1";
export default function comp1(){
console.log("comp2");
    return (

comp2

                <comp1></comp1>

);
}
"""
open("ipyreacttry/comp2.tsx", "w").write(comp_2)
class ImportWidget(ipyreact.ReactWidget):
    _esm = pathlib.Path("ipyreacttry/comp2.tsx")
ImportWidget()

that is not supported, but using the https://github.com/widgetti/ipyreact#import-maps you should be able to translate that to a URL that is reachable (via jupyter or an external HTTP server)

I'm digging into the source code and trying to figure out how to get the behavior that I want.  Here is what I'm looking for

Using IPYReact with a react component that is built from multiple files
When any of those files changes, hot reloading works as it does for the existing single file specified via _esm = Path
I don't mind listing out each file in my component explicitly via a dictionary (I expect I could write a simple python tree walker which would automatically build this dictionary for me.

Serving these file via URL from jupyter wouldn't work with hot code reloading, without extra work.
--
Currently I'm reading through the source code and documentation of IPYReact and Sucrase to figure out the approach that will enable this.
I think we want to use sucrase on each individual file.
Without the ability to work with multiple files, IPYReact will be limited to fairly simple widgets and concepts.

I made this toy example to showcase the direct use of React components with  anywidget, which ipyreact is build upon.
It can easily support multiple react components and custom css.

Hope it can be helpful

Thanks @wangqianwen0418! I’ve tried to document this approach in several places, and thank you for your repo contribution!

https://github.com/manzt/anywidget/issues/97#issuecomment-1483977643
https://anywidget.dev/en/bundling/

@manzt, absolutely! I recently introduced anywidget to a friend who, like several others, is familiar with react but found it challenging to understand how to use react with anywidget. Hence, I created that toy example to aid his understanding.
And thanks for pointing out these resources. I hadn't realized that AnyWidget comes with a Vite plugin - that's super cool!

This is now documented at https://github.com/widgetti/ipyreact?tab=readme-ov-file#bundled-esm-modules using esbuild.

authors: maartenbreddels manzt paddymul wangqianwen0418

repo: widgetti/ipyreact


text:
Select widget is not being displayed in a full screen ipyleaflet map

I'm trying to include some ipyvuetify widgets inside an ipyleaflet map, however, when I try to open the items in the Full-screen mode, they are not displayed.

from ipyleaflet import Map, WidgetControl, FullScreenControl
import ipyvuetify as v

map_=Map(center=[4,-74], zoom=5)
map_.add_control(FullScreenControl())

dropdown = v.Select(items=[1,2,3,4,5,])
widget_control = WidgetControl(widget=dropdown)
map_.add_control(widget_control)

map_

This is without full-screen mode

And this is how is displayed in the full-screen map

ipyvuetify injects a special element in the notebook to be able to display overlays (like the item list of a select). This element is probably not part of the DOM that is used in full-screen.

I know that's an old one but I have news on this issue:
So when you use the fullscreen option of the map the div that contains the map get the maximum z-index via the user agent (https://stackoverflow.com/questions/18578244/displaying-elements-other-than-fullscreen-element-html5-fullscreen-api).
the rest of the component are shown without problem because they have the following structure:

...

According to what I've understand everything that live outside of the "fullscrened" component (in this case the "leaflet-container") will be hidden.
That's the case of the menus as they are living in the "overlay" component.

...

So @mariobuikhuizen the element is still part of the DOM the only issue is that it's outside of the computed "rendered_cell"
 tag
That being said i don't have any solution or css trick to avoid this situation

Here is the start of a solution. I created a custom fullsreenControl that fake the fullscreen behaviour by manually setting the dimensions of the map. as I keep control over the z-index, I can set it under the one of the "overlay" component (802).
from ipywidgets import Button, Layout
from ipyleaflet import WidgetControl
from IPython.display import Javascript, display
import ipyvuetify as v

class FullScreenControl(WidgetControl):

    ICONS = ["expand", "compress"]
    METHODS = ["embed","fullscreen"]

    def __init__(self, **kwargs):

        self.zoomed = False

        # create a btn
        self.w_btn = Button(
            tooltip="set fullscreen",
            icon=self.ICONS[self.zoomed],
            layout=Layout(width="30px", height="30px", line_height="30px", padding="0px"),
        )

        # overwrite the widget set in the kwargs (if any)
        kwargs["widget"] = self.w_btn
        kwargs["position"] = kwargs.pop("position", "topleft")
        kwargs["transparent_bg"] = True

        # create the widget
        super().__init__(**kwargs)

        # add javascrip behaviour
        self.w_btn.on_click(self._on_click)

        # template with js behaviour
        self.template = v.VuetifyTemplate(template="""

        """)
        display(self.template)

    def _on_click(self, widget):

        # change the zoom state
        self.zoomed = not self.zoomed

        # change icon
        self.w_btn.icon = self.ICONS[self.zoomed]

        # zoom
        self.template.send({"method": self.METHODS[self.zoomed], "args": []})

        return

from ipyleaflet import Map, WidgetControl
import ipyvuetify as v

map_=Map(center=[4,-74], zoom=5)
map_.add_control(FullScreenControl(position="topleft"))

dropdown = v.Select(label="titi", items=["toto",2,3,4,5,], v_model=None)
widget_control = WidgetControl(widget=dropdown)
map_.add_control(widget_control)

map_

it works well in voila dashboard but lead to funny results in JupyterNotebook windows. @dfguerrerom I think I will include this component and refine it in sepal-ui directly

I think this is now solved. The solution is complex and involved CSS and JS tricks. I would suggest anyone coming here to use sepal-ui to use ipyvuetify on maps, we already took care of most of the issues.

authors: 12rambau dfguerrerom mariobuikhuizen

repo: widgetti/ipyvuetify


text:
label corruption

There seems to be something wrong with the label generation... possibly to do with removing HTML char encodings, leading to a label "Fatty Aanion "head-out"" in WP1902 rev 81630. I confirmed that there is no "Aanion" is in the GPML, suggesting the problem is in the conversion.

fixed in current version

authors: RyAMiller egonw


text:
Add a return to home button on leaderboard page

Might not be the most intuitive to have our navbar link as the only way to return to home quickly after someone finishes a game

Please assign it to me.

I think @dqian3 already completed this

repo: wikispeedruns/wikipedia-speedruns


text:
OVERPASS_STOP_AFTER_INIT has no effect in the clone mode

I can see that in the clone mode the config OVERPASS_STOP_AFTER_INIT is ignored and the container is restarting regardless of the value of the flag.
My question is are there any technical limitations or this is just a bug.
If that's just a bug I can propose a PR to fix that.

I'm pretty sure that this was overlooked and it's a bug. PR is most welcomed.

authors: CezaryTarnowski-TomTom wiktorn

repo: wiktorn/Overpass-API


text:
How to we catch and handle Postmark::InvalidMessageError

I noticed in my error log today a number of these:
Postmark::InvalidMessageError
You tried to send to a recipient that has been marked as inactive. Found inactive addresses:

Since we don't do anything special except use Rails 2.3's normal ActiveMailer for sending mail, how do we capture and act on these errors that the Gem is returning?

We would also be interested in handling these within a delayedjob configuration.

Yeah that would be great.  That largest problem with the recommended solution is that DJ reports (via Airbrake or Exceptional or whatever) the DJ caught error, NOT the actual error that occurred.  This makes it extremely difficult to debug.

@temochka’s link seems to be old, this seems to be the new one: http://developer.postmarkapp.com/developer-api-bounce.html#activate-bounce

Found a way to catch these:
begin
  client.deliver(...)
catch => e
  if e.full_response['ErrorCode'] == 406
    // email address deactivated, ignore
  else
    // important error happened
    raise
end

this is what #full_response usually contains:
{"ErrorCode"=>406, "Message"=>"You tried to send to a recipient that has been marked as inactive.\nFound inactive addresses: {redacted}.\nInactive recipients are ones that have generated a hard bounce or a spam complaint. "}

This works fine for us....Rails 4.2 sending with a Postmark Template through Delayed Job.  You can just match the specific class of Postmark error you want to rescue.
begin
      postmark_client.deliver_with_template(
      ..........
      )
rescue Postmark::InvalidMessageError => error
     // mark as bounced or take other action...
end

Sorry to comment on such an old issue, but in my case these Postmark::InvalidMessageError exceptions started blowing up my Sentry error reports while I was testing Rebound with an intentional hard bounce. I send my emails in a background job with Sidekiq, so it would keep retrying the job for the next few days if I didn't delete it manually.
To prevent this from happening in the future, I ignored the exception in my Raven configuration:
# config/initializers/_sentry.rb
Raven.configure do |config|
  config.excluded_exceptions << 'Postmark::InvalidMessageError'
end

Hope this helps someone else!

authors: bithavoc chrispa ndbroadbent noctivityinc ssurfr2819 zykadelic

repo: wildbit/postmark-rails


text:
Fix for WFCORE-5877, Upgrade galleon plugins to 5.2.11.Final

Issue: https://issues.redhat.com/browse/WFCORE-5877

Core - Full Integration Build 11338 outcome was FAILURE using a merge of 66da7ca1abb30aa3445ff463da70660708939efd
Summary: Tests failed: 1 (1 new), passed: 3988, ignored: 41 Build time: 02:00:13
Failed tests
org.jboss.as.test.clustering.cluster.jpa.ClusteredJPA2LCTestCase.testEntityCacheReplication: java.lang.AssertionError
	at org.jboss.as.test.clustering.cluster.jpa.ClusteredJPA2LCTestCase.testEntityCacheReplication(ClusteredJPA2LCTestCase.java:115)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at jdk.internal.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at jdk.internal.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
------- Stdout: -------
Warning! The CLI is running in a non-modular environment and cannot load commands from management extensions.
 [0m14:24:01,643 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location /opt/buildAgent/work/37b47ae8b9c60325/full/testsuite/integration/clustering/target/wildfly-jpa-dist-1/standalone/data/content/b1/6fca3b08ffcccb15eb213c846fbf1688c1185e/content
 [0m [0m14:24:01,647 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027: Starting deployment of "ClusteredJPA2LCTestCase.war" (runtime-name: "ClusteredJPA2LCTestCase.war")
 [0m [0m14:24:01,703 INFO  [org.jboss.as.jpa] (MSC service thread 1-7) WFLYJPA0002: Read persistence.xml for MainPU
 [0m [0m14:24:01,716 INFO  [org.jipijapa] (MSC service thread 1-6) JIPIORMV53020253: Second level cache enabled for ClusteredJPA2LCTestCase.war#MainPU
 [0m [0m14:24:01,730 INFO  [org.jboss.weld.deployer] (MSC service thread 1-8) WFLYWELD0003: Processing weld deployment ClusteredJPA2LCTestCase.war
 [0m [0m14:24:01,776 INFO  [org.jipijapa] (MSC service thread 1-3) JIPIORMV53020253: Second level cache enabled for ClusteredJPA2LCTestCase.war#MainPU
 [0m [0m14:24:04,824 INFO  [org.jgroups.protocols.pbcast.GMS] (ServerService Thread Pool -- 8) node-1: no members discovered after 3001 ms: creating cluster as coordinator
 [0m [0m14:24:04,840 INFO  [org.infinispan.CONTAINER] (ServerService Thread Pool -- 21) ISPN000556: Starting user marshaller 'org.wildfly.clustering.infinispan.marshalling.jboss.JBossMarshaller'
 [0m [0m14:24:04,849 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 21) ISPN000078: Starting JGroups channel `ejb`
 [0m [0m14:24:04,852 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 21) ISPN000094: Received new cluster view for channel ejb: [node-1|0] (1) [node-1]
 [0m [0m14:24:04,854 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 21) ISPN000079: Channel `ejb` local address is `node-1`, physical addresses are `[0:0:0:0:0:0:0:1:7600]`
 [0m [0m14:24:04,883 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 21) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'ClusteredJPA2LCTestCase.war#MainPU'
 [0m [0m14:24:04,884 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 21) HHH000204: Processing PersistenceUnitInfo [
	name: MainPU
	...]

Thanks, @jfdenise

authors: bstansberry jfdenise wildfly-ci

repo: wildfly/wildfly-core