text:
Is there a way to proceed or revert a destructive action based on dialog?

I would like to know if it's possible to begin a swipe or click on the button and show a dialog, upon which the swipe would conclude if the user taps on "Yes" while revert it back if the user cancels/dismiss it.
So, basically:

If the user taps on the delete button on the indented cell, the dialog should appear.
If the user swipes until the end, it should revert to the indented or initial state and present the dialog as well.

If the users taps "yes", I should call some method to delete the cell from the tableview, (the destructive action). Otherwise, the cell would stay as it is and the dialog would just be dismissed.
Since I know how to handle the dialog, I would just like guidance on whether this is possible and what I should do on the swipe cell delegate methods to achieve this behavior.

Hey Luke, thanks for the answer.
I had figured out the action.fulfill(with: .delete). I tried your approach to hidesWhenSelected = false but it was quite bad to get the cell back.
I figured out the best way to do what I want is to have expansionStyle = .none such that the cell can never leave the screen by a swipe, but rather be at maximum at the indentation point where "cancel order" button appears. By clicking on "cancel order" the dialog appears, by which if the user dismiss it by swiping or clicking on "dismiss". If the user clicks on "yes", then I fulfill the deletion with self.arr.remove(at: indexPath.row) and action.fulfill(with: .delete). The deletion doesn't play as nice as a destructive action though.
If you can come up with a way to have a destructive action that can at most be indented (cell never leaves screen until action.fulfill: is called), that would be great

repo: SwipeCellKit/SwipeCellKit


text:
fix: image checks for some oci images failed

This occurs because some images (most likely when they support multiple architectures) have an index instead of just a manifest. An OCI index refers to a set of images. But when we were checking for images we were only checking for the manifest and did not have the option to support an index content type.
/deploy

You can access the deployment of this PR at https://renku-ci-nb-1995.dev.renku.ch

source: gharchive/pull-request

authors: RenkuBot olevski

repo: SwissDataScienceCenter/renku-notebooks

license_type: permissive

license_source: github-api


text:
Bring consistency in layers for Sprite / Canvas

The feature I would like to see upgraded
The layering feature for Canvas / Sprite
What needs to be enhanced
The layer attribute in Sprite are a signed int whereas on Canvas it's an unsigned int.
It means we can have negative layers on Sprite but not on Canvas.
Either is fine but both should work the same way.

Allowing negative values probably makes things easier as 0 acts as a "default" point, making more room for things in front of the default layer

source: gharchive/issue

repo: Sygmei/ObEngine

license: mit

license_source: bigquery


text:
in-place copy for trees

Should also help bring down GC allocations in combination with #112

Pull Request Test Coverage Report for Build 12288201527
Details

44 of 47 (93.62%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall first build on reduce-allocs at 95.374%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/ParametricExpression.jl
10
13
76.92%

Totals

Change from base Build 12287719693:
95.4%

Covered Lines:
2515

Relevant Lines:
2637

💛  - Coveralls

authors: MilesCranmer coveralls


text:
Lazily load Zygote.jl for faster TTL

This will only load Zygote.jl when autodiff is enabled.
The big remaining TTL contributor is LoopVectorization.jl (direct) and VectorizationBase.jl (indirect), which are also optional. However, since LoopVectorization.jl is used for a macro, I'm not sure whether it can be loaded lazily?

Already implemented with an extension

Pull Request Test Coverage Report for Build 5095560559
Warning: This coverage report may be inaccurate.
We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

24 of 26 (92.31%)  changed or added relevant lines in 3 files are covered.
16 unchanged lines in 2 files lost coverage.
Overall coverage increased (+3.3%) to 97.173%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/EvaluateEquationDerivative.jl
7
9
77.78%

Files with Coverage Reduction
New Missed Lines
%

src/EvaluateEquationDerivative.jl
7
89.8%

src/OperatorEnumConstruction.jl
9
89.38%

Totals

Change from base Build 5095018727:
3.3%

Covered Lines:
928

Relevant Lines:
955

💛  - Coveralls


text:
spontaneous field is quoted if it is a 1, not quoted if zero

Description of the issue:
It is just annoying when you read it in, you have to do some formatting, convert to number etc.
Expected feature/value/output:
Current feature/value/output:
Reproducing these results:
I hereby confirm that I have:

[ ] Tested my code on my own computer for running the model
[ ] Done this analysis in the master branch of the repository
[ ] Checked that a similar issue does not exist already

Note: replace [ ] with [X] to check the box. PLEASE DELETE THIS LINE

just to be clear, no quotes would be preferrable

@johan-gson the spontaneous  info was introduced by #162 as a numeric field

you will get the field as double type, if using the importTsvFile function provided by Human-GEM.

@johan-gson is right, the file currently has quotes around 1s. Someone must have accidentally modified this at some point.
It should be easily fixable by importing/re-exporting using the importTsvFile and exportTsvFile functions, respectively.

So, I can use the proper import function, I just think it is weird, and it messes things up a bit if you want to load it in R or something.

Yes, it's not supposed to be like that, and should be fixed such that they're all numeric.

Ah, that's weird.
Some considerations:

Add introduction of tsv structure and manipulation to README
Add tests to tsv structure in sanityCheck

With a bit of git bisect, it looks like the extra quoates slipped through in commit 98eb520aac6137aa013265f37f29fb490c669226 . @Hao-Chalmers good idea to also test the tsv files.

resolved in #263

authors: Hao-Chalmers JonathanRob johan-gson mihai-sysbio

repo: SysBioChalmers/Human-GEM


text:
🛑 Maxhouse is down

In 68f6858, Maxhouse (https://maxhousevietnam.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Maxhouse is back up in b148feb after 23 minutes.

license: MIT


text:
🛑 Fnb storefront is down

In 35167e4, Fnb storefront (https://fnb39.com) was down:

HTTP code: 504
Response time: 16081 ms

Resolved: Fnb storefront is back up in 7bf40de after 6 minutes.


text:
Remove old point system

Overview
The old point system is still being used. Remove anything that invovles the SHPE google sheets points
Task

[x] Remove retrieving points from google sheets in firebaseUtils.ts
[x] Modify point leaderboard to query firebase instead

https://github.com/TAMUSHPE/MobileApp/pull/302

authors: JasonIsAzn LucientZ

repo: TAMUSHPE/MobileApp


text:
Clean up Protocols guide

markdown not resolved to link
editor notes in live version
add inline code snippets

preview: https://deploy-preview-464--tbd-website-developer.netlify.app/docs/web5/learn/protocols

Done in 32432bd

authors: ALRubinger angiejones


text:
Remove full-stops from all method descriptions

What type of PR is this? (check all applicable)

[ ] ♻ Refactor
[ ] ✨ New Feature
[ ] 🐛 Bug Fix
[X] 📝 Documentation Update
[ ] 👷 Example Application
[ ] 🧑💻 Code Snippet
[ ] 🎨 Design
[ ] 📖 Content
[ ] 🧪 Tests
[ ] 🔖 Release
[ ] 🚩 Other

Description

This PR removes all the fullstops from the descriptions of methods in web5JS sub pages since they are not complete sentences.
Related Tickets & Documents
Resolves #835
Mobile & Desktop Screenshots/Recordings

Added code snippets?

[ ] 👍 yes
[ ] 🙅 no, because they aren't needed

Added tests?

[ ] 👍 yes
[X] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

No tests? Add a note
No test required
Added to documentation?

[ ] 📜 readme
[ ] 📜 contributing.md
[ ] 📓 general documentation
[X] 🙅 no documentation needed

No docs? Add a note
No documentation required
[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

thanks so much @Smartmind12! @EbonyLouis -hacktoberfest


text:
Improve graph nodes

Module nodes should be draggable now

So beautiful 🥲

authors: alecthomas wesbillman


text:
feat: hook up filters to steaming endpoint

Timeline controls should be fully functional now

@EdwardIrby FYI


text:
[BUG]ERROR: Cannot read properties of undefined (reading 'delta')

使用的是最新的代码部署在cloudflare,无论是使用代理azure模式(模拟openai)还是直接指定azure模式均返回ERROR: Cannot read properties of undefined (reading 'delta')

版本号是什么，试一下最新dev分支的版本看看应该会有不一样的报错

版本号是什么，试一下最新dev分支的版本看看应该会有不一样的报错

今天试了，还是一样的问题，我确认api接口没有问题，在apifox和postman中调用都可以正确返回

只有这个地方读了delta，但是dev分支已经加了可选判断，按理说不会undefined，除非连data也是空
https://github.com/TBXark/ChatGPT-Telegram-Workers/blob/6f292617bad3ec1accefe8ff39ff5bb5bfb2bb2c/src/openai.js#L107

不过如果data是null，那么报错应该会变成TypeError: Cannot read properties of null (reading 'choices')

下面是api调用返回的数据
data: {"id":"","object":"","created":0,"model":"","prompt_filter_results":[{"prompt_index":0,"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}}}],"choices":[]}
data: {"id":"chatcmpl-8mu3YaOsM96g9zbk5J3Bftu0bBVdp","object":"chat.completion.chunk","created":1706665916,"model":"gpt-4-32k","choices":[{"finish_reason":null,"index":0,"delta":{"role":"assistant"},"content_filter_results":{}}]}
data: {"id":"chatcmpl-8mu3YaOsM96g9zbk5J3Bftu0bBVdp","object":"chat.completion.chunk","created":1706665916,"model":"gpt-4-32k","choices":[{"finish_reason":null,"index":0,"delta":{"content":"Hello"},"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}}}]}
data: {"id":"chatcmpl-8mu3YaOsM96g9zbk5J3Bftu0bBVdp","object":"chat.completion.chunk","created":1706665916,"model":"gpt-4-32k","choices":[{"finish_reason":null,"index":0,"delta":{"content":"!"},"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}}}]}
data: {"id":"chatcmpl-8mu3YaOsM96g9zbk5J3Bftu0bBVdp","object":"chat.completion.chunk","created":1706665916,"model":"gpt-4-32k","choices":[{"finish_reason":null,"index":0,"delta":{"content":" How"},"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}}}]}
data: {"id":"chatcmpl-8mu3YaOsM96g9zbk5J3Bftu0bBVdp","object":"chat.completion.chunk","created":1706665916,"model":"gpt-4-32k","choices":[{"finish_reason":null,"index":0,"delta":{"content":" can"},"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}}}]}
data: {"id":"chatcmpl-8mu3YaOsM96g9zbk5J3Bftu0bBVdp","object":"chat.completion.chunk","created":1706665916,"model":"gpt-4-32k","choices":[{"finish_reason":null,"index":0,"delta":{"content":" I"},"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}}}]}
data: {"id":"chatcmpl-8mu3YaOsM96g9zbk5J3Bftu0bBVdp","object":"chat.completion.chunk","created":1706665916,"model":"gpt-4-32k","choices":[{"finish_reason":null,"index":0,"delta":{"content":" assist"},"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}}}]}
data: {"id":"chatcmpl-8mu3YaOsM96g9zbk5J3Bftu0bBVdp","object":"chat.completion.chunk","created":1706665916,"model":"gpt-4-32k","choices":[{"finish_reason":null,"index":0,"delta":{"content":" you"},"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}}}]}
data: {"id":"chatcmpl-8mu3YaOsM96g9zbk5J3Bftu0bBVdp","object":"chat.completion.chunk","created":1706665916,"model":"gpt-4-32k","choices":[{"finish_reason":null,"index":0,"delta":{"content":" today"},"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}}}]}
data: {"id":"chatcmpl-8mu3YaOsM96g9zbk5J3Bftu0bBVdp","object":"chat.completion.chunk","created":1706665916,"model":"gpt-4-32k","choices":[{"finish_reason":null,"index":0,"delta":{"content":"?"},"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}}}]}
data: {"id":"chatcmpl-8mu3YaOsM96g9zbk5J3Bftu0bBVdp","object":"chat.completion.chunk","created":1706665916,"model":"gpt-4-32k","choices":[{"finish_reason":"stop","index":0,"delta":{},"content_filter_results":{}}]}
data: [DONE]

😂 复现不出来

我也遇到了同样的问题，我设置了AI_PROVIDER为azure.

不过我的报错是：
    "TypeError: Cannot read properties of null (reading 'USER_DEFINE')"

不过我的报错是：
    "TypeError: Cannot read properties of null (reading 'USER_DEFINE')"

9acef355  dev分支改了一下，你试一下这个版本

authors: TBXark cpedia zyjia

repo: TBXark/ChatGPT-Telegram-Workers


text:
Update speed of githubusercontent a problem

If you edit a spec, save it, then navigate away and back, or reload the page, the content will (probably) appear to be unchanged. This appears to be due to the relatively slow speed of updating raw.githubusercontent.com, which can happen minutes after a commit is pushed.
Two possibilities: warn users of this issue, so they don't panic and think the tool isn't working, or try to retrieve the file via the API (which would mean walking down from the HEAD commit to find the file blob).

File from the HEAD is now retrieved via the API.

its been 2 hours since I commited and it still hasnt updated

authors: LopenaFollower hcayless


text:
ERROR [com.tfy.bam.pri.BambuPrinterStream] (vert.x-eventloop-thread-1) GAMMA: clientFailure: io.netty.channel.AbstractChannel$AnnotatedConnectException - Connection refused

Hi!
I'm getting the Connection Refused error on the live stream of the video feed of the X1C cameras, all my P1P cameras work, so I guess I must have forgotten a setting somewhere?
The error:
2024-06-12 11:52:59,991 ERROR [com.tfy.bam.pri.BambuPrinterStream] (vert.x-eventloop-thread-1) GAMMA: clientFailure: io.netty.channel.AbstractChannel$AnnotatedConnectException - Connection refused: /192.168.1.114:6000
(same error for each X1C)
The sample .env for X1C definition:
bambu.printers.myprinter11.name=GAMMA
bambu.printers.myprinter11.enabled=true
bambu.printers.myprinter11.device-id=00xxxxxxxxxx
bambu.printers.myprinter11.access-code=xxxxxxxxx
bambu.printers.myprinter11.ip=192.168.1.114
bambu.printers.myprinter11.stream.enable=true
bambu.printers.myprinter11.bed-levelling=true
bambu.printers.myprinter11.flow-calibration=false
bambu.printers.myprinter11.model=x1c
What am I missing?
Thanks!

Please check item 2 and 3 in the Features / Supported Devices section.
For the X1C & LiveStream, you need to enable LAN Mode Liveview and run the solution via docker (or ffmpeg manually)

Oh wow what a hassle just to get a few frames from the live view! Thanks. :'(

Did you get it to work?

Honestly I found it overcomplicated for just a couple I own vs the rest of P1P farm...
May be they want to try if the open X1+ firmware Is easier?

authors: TFyre bolsoncerrado tommy4111

repo: TFyre/bambu-farm


text:
PR was opened but not automatically merged

A PR was opened but not automatically merged and I had to manually merge it
 errors: [
    {
      resource: 'PullRequest',
      code: 'custom',
      message: 'A pull request already exists for antirez:unstable.'
    }

Should be fixed in 1.1.3


text:
[ONNX格式转换] <目前该模型是否支持模型转换> 现在想试着转一下到ONNX格式，但是不知道张量那块怎么填，有没有转过的，想学习一下

Is your feature request related to a problem? Please describe.
https://www.zhihu.com/org/mnntuan-dui
用这个知乎里的张量不知道填什么， 感觉值不对
`def model_export(model, model_args: tuple, output_path: str, ordered_input_names, output_names, dynamic_axes, opset):
from torch.onnx import export
export(model, model_args, f=output_path,
input_names=ordered_input_names, output_names=output_names,
dynamic_axes=dynamic_axes, do_constant_folding=True,
opset_version=opset, verbose=False
)
model = AutoModel.from_pretrained("THUDM/chatglm-6b", trust_remote_code=True, resume_download=True).float().cpu()
model_export(model,
model_args=(
torch.randn(4, 1, 4096),
torch.tensor([[[[False, False, False,  True],
[False, False, False,  True],
[False, False, False,  True],
[False, False, False, False]]]]),
torch.tensor([[[0, 1, 2, 3], [0, 0, 0, 1]]]),
torch.zeros(2, 0, 1, 32, 128)
),
output_path= "dyn_model/glm_block_{}.onnx".format(sys.argv[1]),
ordered_input_names=["inputs_embeds", "attention_mask", "position_ids", "past_key_values"],
output_names=["hidden_states", "presents"],
dynamic_axes={
"inputs_embeds" : { 0: "seq_len" },
"attention_mask" : { 2: "seq_len", 3: "seq_len" },
"position_ids" : { 2: "seq_len" },
"past_key_values" : { 1: "history_len" }
},
opset= 14)`
Solutions
1.具体导出ONNX的例子？
2.张量如何定义？
Additional context
No response

+1

authors: Crazybean-lwb Wukuku


text:
V1.5版本生成视频闪烁

System Info / 系統信息
None
Information / 问题信息

[x] The official example scripts / 官方的示例脚本
[ ] My own modified scripts / 我自己修改的脚本和任务

Reproduction / 复现过程
https://github.com/user-attachments/assets/b996a3d3-3994-41cd-8f20-dd836255fdb0
A panda, dressed in a small, red jacket and a tiny hat, sits on a wooden stool in a serene bamboo forest. The panda's fluffy paws strum a miniature acoustic guitar, producing soft, melodic tunes. Nearby, a few other pandas gather, watching curiously and some clapping in rhythm. Sunlight filters through the tall bamboo, casting a gentle glow on the scene. The panda's face is expressive, showing concentration and joy as it plays. The background includes a small, flowing stream and vibrant green foliage, enhancing the peaceful and magical atmosphere of this unique musical performance.
测试了几个case，发现1.5版本的文本following强很多，但是为什么会出现闪烁，已经上面的case里，周围的熊猫很奇怪，V1版本好像没有这个问题。
Expected behavior / 期待表现
如何改善生成质量

1.5版本在发布第一个版本可能配置没有正确，但是模型权重是正确的，确保使用diffusers最新的依赖和最新的HF模型仓库来进行使用。

repo: THUDM/CogVideo


text:
merge lora

微调后merge lora和不合并有什么区别呢

merge lora后保持参数量和原来模型完全一致，否则会新增一部分lora参数。

authors: Sleepychord threeColorFr


text:
custom dataset retrieval

First of all, thank you for sharing your excellent research with the community.
I have a small question: Can you provide a tutorial or script to make UniIR compatible with custom datasets? This will provide greater help and impact to the community.

Hi,
Thank you for your kind words and interest in UniIR!
We are currently developing an API that will make UniIR easily adaptable to user-provided datasets.
I will keep you updated on our progress, and notify you as soon as the API is ready for use.

Hi, Thank you for your kind words and interest in UniIR! We are currently developing an API that will make UniIR easily adaptable to user-provided datasets. I will keep you updated on our progress, and notify you as soon as the API is ready for use.

thanks! And could you provide API for inference the multimodal retrieval , which you said  in paper , Figure 3? I really need this API.

Thanks, I have an ongoing project and I'll be interested in that, too. Will be very beneficial for the community to use and cite.

repo: TIGER-AI-Lab/UniIR


text:
Question regarding CLIP Zero-shot Evaluation Methodology in Table 6 of the paper

Thank you for your good work!
I have a question regarding the evaluation methodology for CLIP Zero-shot as presented in Table 6 of the paper.
It seems that this section utilizes the original CLIP model, which inherently does not support multimodal joint encoding. Specifically, in tasks such as q_t-->(c_i, c_t), how are the (c_i, c_t) pairs encoded? Are you also directly subject to score-level fusion?
I would greatly appreciate any insights you could provide on this matter.

Thanks for your interest!
This is correct. In short, we use score-level fusion (element-wise addition) for all tasks except task 6 and 8 (Section 6.2).


text:
Lyhytosoitteet (tim.pm)

Pääideana on että
tim.pm/XXX

ohjautuu haluttuun osoitteeseen (joka voi olla muuallakin kuin itse timissä poiketen r.jyu.fi, missä
kohde voi olla vain jyu.fi-domainissa).
r.jyu.fi-palvelun ongelmia joita pyritään poistamaan:

lyhenteitä voi osoitteita tehdä vain jyu.fi-käyttäjät
lyhenteet voivat ohjata vain jyu.fi-domainiin
lyhennettä ei voi muokata muuta kuin niin, että omistaja poistaa sen

Toteutusehdotuksen esimerkki ohj1 uudelleen ohjaukselle:
tim.pm/ohj1 olisi vain tiedosto tyyliin
tim.jyu.fi/view/r/ohj1
ja sen sisältönä pelkkä
https://tim.jyu.fi/view/kurssit/tie/ohj1/vuosi/2023/syksy/koti
Lyhenteiden muokkailu voitaisiin silloin hoitaa ihan normaalina tiedostona käyttäen normaaleja TIMin
muokkaustoimintoja ja oikeuksia.
Eli
tim.pm/XXXX
kävisi hakemassa redirect osoitteen tim.jyu.fi/r/XXXX dokusta. Silloin itse timiin ei tarvitsisi koodata oikeastaan mitään. Nuo r-hakemiston (voihan se olla redirect nimikin jos pidemmän haluaa) tiedostot voivat kai olla view anonymous, koska
niiden sisällöthän saisi joka tapauksessa selville katsomalla mihin menee. Ja kuka r-hakemistoon tekeekin tiedoston, voisi laittaa edit oikeuden mille ryhmälle haluaa. Oletuksena r-hakemiston dokujen lisäys jyu.fi-tunnuksilla ja sitten voi tarpeen mukaan lisätä.
Haasteita:

miten näkee vain omistamansa lyhenteet?  Jos ei omista lyhennettä (kuulu sen omistajaryhmään),
niin näkeekö sen kuitenkin tim.jyu.fi/view/r?
miten estetään lyhenteiden liika varailu?  Riittääkö ihan katsoa mitä tapahtuu ja ylläpito
puuttuu jos tulee väärinkäytöksiä

Tekoälyn ehdotus skriptiksi tim.pm osoitteeseen :-)
#!/usr/bin/env python3

import cgi
import os

print("Content-Type: text/html")  # CGI-otsikko
print()  # Tyhjä rivi erottaa otsikot ja sisällön

# Hae URL-osoitteen polku-osa
path_info = os.environ.get('PATH_INFO', '')

# Jos polku-osa on olemassa, poista ensimmäinen kauttaviiva
if path_info.startswith('/'):
    path_info = path_info[1:]

# Uusi osoite, johon ohjataan
new_url = f"https://tim.jyu.fi/view/r/{path_info}"

# HTTP-otsikko uudelleenohjaukseen
print(f"Status: 302 Found")
print(f"Location: {new_url}")
print()

Tämä kortti on nyt olennaisilta osin toteutettu, ja mergetty päähaaraan. Merkitsen kortin jatkokehityskohteeksi, sillä kortissa on vielä joitakin huomioita, joita ei ole käsitelty toteutuksessa.

authors: dezhidki saviit vesal

repo: TIM-JYU/TIM


text:
还是需要验证密码的，提醒下大家

然后不会立刻出现，还是重启登录微信才显示

输入密码是为了修改微信的所有权，使插件能够写入。若怕有后门，可以自行查看代码。

thanks

authors: TKkk-iOSer catroom

repo: TKkk-iOSer/WeChatPlugin-MacOS


text:
功能建议

“远程控制MAC“ 可否加入自定义命令，实现其他灵活的自定义功能

😂


text:
Type error when using strictTemplates

Getting this type error when running with "angularCompilerOptions": { "strictTemplates": true }
ERROR in src/app/components/side-menu/side-menu.component.html:11:15 - error TS2322: Type 'string' is not assignable to type 'Observable<boolean>'.

11 <ng-container *ngxSubscribe="let isSideMenuCollapsed of isSideMenuCollapsed$">
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Component
export class SideMenuComponent {
  // type is Observable<boolean> and is coming from an Akita query
  public readonly isSideMenuCollapsed$ = this.sideMenuQuery.isSideMenuCollapsed$;

  ...
}

HTML
<ng-container *ngxSubscribe="let isSideMenuCollapsed of isSideMenuCollapsed$">
   ...
</ng-container>

UPDATE
This works
<ng-container *ngxAlias="isSideMenuCollapsed$ | async as isSideMenuCollapsed">
Perhaps it's not related to strictTemplates but me misunderstanding  ngxSubscribe

Thanks for opening this issue (and sorry for accidentally closing it for a second there)!
I believe that this is the following language service issue I've raised last year: https://github.com/angular/vscode-ng-language-service/issues/651
Unfortunately until that is fixed in the language service I don't think there is much we can do from library side.

This happens because the desugared form of <ng-container *ngxSubscribe="let isSideMenuCollapsed of isSideMenuCollapsed$">{{isSideMenuCollapsed}}</ng-container> is
<ng-template ngxSubscribe let-isSideMenuCollapsed [ngxSubscribeOf]="isSideMenuCollapsed">
  <ng-container>{{isSideMenuCollapsed}}</ng-container>
</ng-template>

The interesting part is that ngxSubscribe plays two roles -- it is both the selector for the NgxSubscribeDirective and an input to the directive. In the above template, the Angular compiler further expands the desugared form to be
<ng-container ngxSubscribe="" let-isSideMenuCollapsed="$implicit" [ngxSubscribeOf]="isSideMenuCollapsed">
  <ng-container>{{isSideMenuCollapsed}}</ng-container>
</ng-template>

So the value passed to the ngxSubscribe input is an empty string.
A user can work around this by specifying the desugared form of the structural directive explicitly, something like
<ng-container ngxSubscribe [ngxSubscribe]="myDummyObservable" let-isSideMenuCollapsed [ngxSubscribeOf]="isSideMenuCollapsed">
  <ng-container>{{isSideMenuCollapsed}}</ng-container>
</ng-template>

On the library side, a solution is to remove the ngxSubscribe input or to break up the *ngxSubscribe="let data of data$" and *ngxSubscribe="data$; then thenTemplate ..." use cases into two separate directives.

I'm not sure I completely understand. I thought language services were used to make squiggles in editors.
Doesn't the error come from the angular compiler?

Yes, this is a compile error and unrelated to the language service.

Thanks @ayazhafiz, I really appreciate your input on this, and sorry for the confusion with the language service issue. It is rather unfortunate that the compiler expands it to an empty string, but nothing we can do about that for now.
I'll use this issue so that for now we update the docs on how the directive needs to be used (and why).
@snebjorn Sorry for the inconvenience here, but by using the desuggared form directly you should have a way to proceed, right?

I was able to proceed in this specific case using ngxAlias but I'll soon need the template support from ngxSubscribe. I'll report back when I've tried that out

Actually we can probably for the ngxSubscribe input also accept string and simply do nothing if a string was passed. That should make the typings happy.

@snebjorn I've released this as version 1.1.1. Can you give it a try to see if it resolves your issue?

I can confirm it works! 🚀

Awesome, thanks for confirming!

authors: Airblader ayazhafiz snebjorn

repo: TNG/ngx-structurals


text:
(JOSS) New references in the JOSS Paper Draft

A few additions to the citations would be appropriate, including:

on the use of hyperelastic models to model biological materials or polymeric materials (first paragraph of the statement of need)
Optimization.jl as it directly used in the fitting

@fb456 Thank you. The appropriate references have been added to the paper.


text:
[Radarr] Update of French CFs and guide

Purpose
An update of the French guide and Custom Formats.
Open Questions and Pre-Merge TODOs
Check all boxes as they are completed

[x] Update the non-tiered CFs
[x] Update the tiered CFs
[ ] Add UHD tier
[ ] Update the guide to reflect the changes

Learning
If you're adding a new Custom Format make sure you follow the Radarr/Sonarr Custom Format (JSON) Guidelines.
Requirements
Check all boxes as they are completed

[x] These changes meet the standards for contributing.
[x] I have read the code of conduct.

After some test from people, it seems I will have to make some big precisions on the UHD Bluray side there.
The “How to” section will change quite drastically. I am hoping to finish this by this weekend.

@TRaSH- when you have time :)
It is ready for review.

repo: TRaSH-/Guides


text:
Tum Live Lecture VOD [Mathemathik Vorkurs Informatiks 16.09.24] appears to be damaged and can't be watched with good quality

The TUMLive VOD of the Lecture on 16.09.24 for the Mathematik Vorkurs for Informatik can be watched but it the footage appears to be "corrupted" (for lack of a better word) and has extremely poor quality. Also..the original lecture was around 2hrs long and the VOD appears to be 13hrs+ long now.
Steps to reproduce the behavior:

Go to https://live.rbg.tum.de/w/vmi24/47612
Click on start video [Play Button]
Watch aprox 1 min of footage to get first impression.4.
Click on random intervals of the timeline to assess that the footage is "corrupted" throughout the whole VOD
See timeline of the video (look for the length of the lecture, must be around 13:49:46 hours long)

Expected behavior:
I wanted and expected to be able to watch the repetition of a lecture.
Screenshots

Desktop (please complete the following information):

OS: [MacOS]
Browser [Safari or Opera (tried it on both)]

Additional context:
I was told I could report it here. If not I'd appreciate to be informed where I can report the bug. (Also I know nothing about coding and I'm new to GitHub)

We tried to re-convert and repair the original. However it might be that the original is already corrupted. We'll keep you updated.

I'm sorry but we tried everything to fix the video but it already got corrupted during the streaming, so we can't fix it.

authors: Marya-bitte SebiWrn kordianbruck

repo: TUM-Dev/gocast


text:
List Jira issues in commit verification message

It is useful to have the list of Jira issues you commited against printed out to the console. This would help prevent a fat finger problem where you intended to commit to JIRA-123 and instead commited against JIRA-132.
So instead of
$ git commit
Commit message successfully verified

It might be something like
$ git commit
JIRA-123 - Some new feature
JIRA-1234 - Some subtask
Commit message successfully verified

That would be nice, we take pull requests :wink:

:+1:

repo: TWExchangeSolutions/jira-precommit-hook


text:
Generate Last Updated Table

To easily allow report builders and consumers to see when individual SSAS Tabular model tables were last processed

I copied this repo and added your file to the following Repo: https://github.com/PowerBI-tips/TabularEditor-Scripts/blob/main/Basic/Create Build direct or indirect dependency tree of selected or all measures.csx
You are welcome to continue to contribute to this repo as I am actively maintaining the Tabular Editor scripts there: https://github.com/PowerBI-tips/TabularEditor-Scripts

authors: MikeCarlo irfancharania

repo: TabularEditor/Scripts


text:
500未知错误

card_fpm-fcgi-2023-03-30.log

这个解决了，但是进后台就提示未知错误
![image](https://user-images.githubusercontent.com/966
card_fpm-fcgi-2023-03-31.log
40500/228898794-e4f5408f-5f3f-4de4-a9aa-e0b725bdfe13.png)

你好，请看常见问题，100% 能解决你的问题。

回复时间过于长久，且程序经过多人使用并无问题，该问题为用户环境问题，并非程序问题，将结束 issues，如有问题，请重新发起。


text:
Nixpkgs need fix

Dependencies:
https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/python-modules/unidata-blokcs
https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/python-modules/character-encoding-utils
https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/python-modules/bdffont
https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/python-modules/pcffont
https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/python-modules/pixel-font-builder
Project:
https://github.com/NixOS/nixpkgs/tree/master/pkgs/by-name/ar/ark-pixel-font

Dependencies clean up at: https://github.com/NixOS/nixpkgs/pull/317143

repo: TakWolf/ark-pixel-font


text:
Avoid string allocation by providing a mechanism for listeners to receive binary text data

Currently, when a text frame is received, ReadingThread automatically converts this to a UTF8 String.  This is obviously expected behaviour for most use cases, but in my use case I'll immediately parse this information using a library which will call String.getBytes().
That's a lot of un-necessary work, which can be entirely avoided by receiving the byte[] directly.
I have hacked ReadingThread.callOnTextMessage(byte[] data)  myself to call ReadingThread.onBinaryMessage(byte[]) to bypass the string allocation, however it would be great if there was a standard mechanism to directly obtain the byte[] when it's a text message.
(Thanks for a great library by the way!)

Released nv-websocket-client 2.6 including the feature described below.

Direct Text Message
When a text message was received, onTextMessage(WebSocket, String) is called. The implementation internally converts the byte array of the text message into a String object before calling the listener method. If you want to receive the byte array directly without the string conversion, call setDirectTextMessage(boolean) with true, and onTextMessage(WebSocket, byte[]) will be called instead.
// Receive text messages without string conversion.
ws.setDirectTextMessage(true);

That's excellent, thanks, exactly what I was hoping for. This should provide a significant performance boost.

authors: TakahikoKawasaki willtemperley

repo: TakahikoKawasaki/nv-websocket-client


text:
Websocket disconnects automatically after 30 seconds

Hi! I have an issue with this library. It disconnects after 30 seconds. I also tried to setPingInterval to 60 seconds but it closed automatically with close error 1000.

Try setting the underlying TCP connection's timeout through WebSocketFactory.setConnectionTimeout()
Check if the software at the other end of your WebSocket channel has configurable ping interval (for example, browsers might not support it).
Finally, check if some firewall is killing idle connections.

Thanks for your answer. I implemented this library in android and set all of this methods that you mentioned. but still, i see that socket disconnects after 30 seconds

It could be something Android specific then. Here is SO question and solution regarding a similar 30 seconds disconnect on Android.

authors: kvhadzhiev mohammadmirdar


text:
Publish to Maven Central

So we can depend on it in Moshi!
https://github.com/square/moshi/pull/435/files

@swankjesse Couldn't it be released on jcenter instead? If not, I'm curious to learn the reasons.

It is released in jcenter... https://bintray.com/takhion/maven/kotlin-metadata

My understanding is that libraries published to Maven Central (such as Moshi) need to have their dependencies on Maven Central.

@Takhion bintray can sync to maven central. This is what kotshi does according to its RELEASING.md guide. This could be your solution.

Fixed in v1.3.0 🎉

authors: ChrisAckerman LouisCAD Takhion swankjesse

repo: Takhion/kotlin-metadata


text:
How to make spotlight persistence. If the current Configuration changes, from port to landscape, then spotlight index should persist.

Consider a situation when there are some configuration changes. In the current spotlight, I don't think there is any way we can persist the targeted index. In my experience, if the screen is rotated, then the spotlight restart from the beginning.
Also, consider if the user is using a different UI for different orientations, then in that case we will have to use a different layout for each target. But the thing is, the spotlight takes predefined layout targets. How can we conditionally or with some other method  can change the target layout during runtime?

Everything is recreated on rotation, so the target should move with the anchored view. The only thing that would need to be adjusted are your buttons and possibly the text view, but if you are using a ConstraintLayout, then they will move as well with the rotation. If your views are that different with different orientations, you'll have to check the orientation before setting the target/spotlight layout and set it accordingly.

repo: TakuSemba/Spotlight


text:
OIDC4VC test 3 fails as credentila request is wrong as it is draft 11

received
credential endpoint request {
    "proof": {
        "proof_type": "jwt",
        "jwt": "eyJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCIsImFsZyI6IkVTMjU2Iiwia2lkIjoiZGlkOmtleTp6RG5hZVk1MUpaaHNyUzlnbm1tcGtYNXhIMXY1bmtFRkFtV3A0eFRIMmNhdlFXaGpkI3pEbmFlWTUxSlpoc3JTOWdubW1wa1g1eEgxdjVua0VGQW1XcDR4VEgyY2F2UVdoamQifQ.eyJpc3MiOiJkaWQ6a2V5OnpEbmFlWTUxSlpoc3JTOWdubW1wa1g1eEgxdjVua0VGQW1XcDR4VEgyY2F2UVdoamQiLCJub25jZSI6ImE4NDZiZWE3LTk0ZmUtMTFlZS04NTdiLTM1YTNiN2MyYWNmYiIsImlhdCI6MTcwMTk1MzE5ODYyMzU2NywiYXVkIjoiaHR0cDovLzE5Mi4xNjguMC4yMDozMDAwL2lzc3Vlci9vb3Jvb21vbHlkIn0.BQnrz_z3Ee4anUWjdm3GZqMnGfY3db3MyLQuDs3t2DSGVvMmHHnZSTOWC-NtpAVV5ocnzieyRiI6loX3SXBlMQ"
    },
    "type": "PhoneProof",
    "format": "ldp_vc"
}

should be "types" with a json oject

error

repo: TalaoDAO/AltMe


text:
Simplify Spring integration

It appears it's enough to close the database connection on Spring.after_fork. This works for me, and it's what rom-rails does as well. This allows removing the monkey-patch.

Hi @janko, thanks a lot for the improvement!

authors: JonathanTron janko

repo: TalentBox/sequel-rails


text:
Possible problem with type narrowing in react-query version 5.0.0

Describe the bug
I'm testing the new version 5 of react-query and it seems as if the type narrowing of the data is no longer working as expected. Before version 4 the following example would have used TypeScript type narrowing and result in data to be of type string but after upgrading to version 5 it is still string or undefined:
import {useQuery} from '@tanstack/react-query';

const foo = (): string => {
    const {data, isLoading, isError} = useQuery({queryKey: ['foo'], queryFn: () => Promise.resolve('foo')});

    if (isLoading) {
	    return '';
    }

    if (isError) {
	    return '';
    }

    return data;
};

Your minimal, reproducible example
https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbwK4GcCmBFJaoE8C+cAZlBCHAOQACMAhgHYp0DGA1gPRRq3MwC0AR2x4KAbgCwAKCnMIjeEQgQ4AXjgAKAJQAuOEyjB6Ac1UA+RFLhW4s+YgAmtOgBo4wFABkIte4aOv3AFEoUihCNVRMYVx1BCEcXABpNFxdAG0KRQgKAF1XeLwAMXpdLTM4AAVSEHc0ADouFAgAGwA3NHVMpQpNfE0JaUlrNyINdy8fP00LSQBIYa4YJCh6SjFLa3wpDatgUfUgkOhphCl560Xl1Yp1oc3tu6tLlbhHOgH8AaA
Steps to reproduce
TypeScript does show a type error when returning data
Expected behavior
data should have type narrowed down to string
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
macOS
Tanstack Query adapter
react-query
TanStack Query version
5.0.0
TypeScript version
5.2.2
Additional context
No response

that's because isLoading now no longer derived from a status, but a derived flag, so this is on purpose. The 3 main states that discriminate data are:

status === 'pending`` or isPending` - we have no data yet
status === 'success' or isSuccess- we have data
status === 'error' or isError- we have an error

in v5, isLoading is the same as isInitialLoading was in v4 - a derived flag that describes that you can display a loader, meaning the query is pending and the fetchStatus is fetching. There are cases where you are in pending state but are not fetching, mainly when the query is enabled: false. It was the most critiqued thing in v4 that a query is "loading" when its disabled, so it's not really "loading".
If you use isPending as the migration guide suggests, you get proper narrowing:
https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbwK4GcCmBFJaoE8C+cAZlBCHAOQACMAhgHYp0DGA1gPRRq3MwC0AR2x4KAbgCwAKCnMIjeEQgQ4AXjgAKAJQAuOEyjB6Ac1UA+RFLhW4s+YgAmtOgBo4wFAAU09e4aOv3AFEoUihCNVRMYVx1BCEcXABpNFxdAG0KRQgKAF1XeLwAMXpdLTM4D1IQdzQAOi4UCAAbADc0dUylCk18TQlpSWs3Ig13Lx8-TQtJAEghrhgkKHpKMUtrfCl1q2AR9SCQ6CmEKTnrBaWVijXBja3bqwvluEc6fvx+oA

authors: TkDodo doberkofler

repo: TanStack/query


text:
Deploy your Docker image to Kubernetes

As a DevOps
I needDeploy your Docker image to Kubernetes
So that [benefit]
Details and Assumptions
* [document what you know]

Acceptance Criteria
gherkin
Given [some context]
When [certain action is taken]
Then [the outcome of action is observed]

OK


text:
Feature/board

한 일
권한이 ROLE_MEMBER라면 수정권한 없음
권한별 콘트롤러 분배

앞으로 할 일
test코드 작성
comment 로직 작성

update contoroller에 delete service가 들어가서 수정했습니다

repo: Team-Ampersand/Dotori-server


text:
Main Menu setup

A potential initial Main menu setup

Test DemoScene and click the Start Button

For local update: Update build setting to allow test scene to be loaded

repo: Team-Keito/Eco-Defender


text:
🛑 Team Vegan.at Membership Portal is down

In 2d1ed6f, Team Vegan.at Membership Portal (https://mitgliedschaft.teamvegan.at) was down:

HTTP code: 502
Response time: 708 ms

Resolved: Team Vegan.at Membership Portal is back up in 36ebbe2 after 18 minutes.

repo: Team-Vegan-at/upptime


text:
transform_feature_names for FeatureUnion

And some test harnesses.

Codecov Report

Merging #181 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #181      +/-   ##
=========================================
+ Coverage    97.3%   97.3%   +<.01%
=========================================
  Files          41      41
  Lines        2487    2490       +3
  Branches      469     470       +1
=========================================
+ Hits         2420    2423       +3
  Misses         35      35
  Partials       32      32

Impacted Files
Coverage Δ

eli5/sklearn/transform.py
100% <100%> (ø)
:arrow_up:

Thanks @jnothman!

authors: codecov-io jnothman kmike


text:
added calendar actions and reducers

actions and reducers added to calendar

No way this works.

authors: kocsenc vuzDylan

repo: TeamMartinez/YOLO-Client


text:
🛑 vyper.me is down

In c0e0a96, vyper.me (https://yapi.vyper.me/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: vyper.me is back up in b04392e after 10 minutes.

repo: TeamPiped/piped-uptime


text:
🛑 esmailelbob.xyz is down

In 66a9806, esmailelbob.xyz (https://pipedapi.esmailelbob.xyz/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: esmailelbob.xyz is back up in 96b97dd.


text:
🛑 vyper.me is down

In 3022b82, vyper.me (https://yapi.vyper.me/healthcheck) was down:

HTTP code: 404
Response time: 498 ms

Resolved: vyper.me is back up in 7c69900 after 1 hour, 10 minutes.


text:
🛑 privacydev.net is down

In cca37e4, privacydev.net (https://api.piped.privacydev.net/healthcheck) was down:

HTTP code: 502
Response time: 5833 ms

Resolved: privacydev.net is back up in db8dbbb after 9 minutes.


text:
🛑 privacydev.net is down

In c07f34f, privacydev.net (https://api.piped.privacydev.net/healthcheck) was down:

HTTP code: 502
Response time: 278 ms

Resolved: privacydev.net is back up in a79563b.


text:
[BUG] some notes are invisible on gh charts if using autogen steps on other gamemodes

already mentioned it in the discord
its essentially just autogen doesnt know about gh

example if needed

its essentially just autogen doesnt know about gh
no its not, absolutly not, its because the noteskins dont support hopo's and gems so they arnt shown, I dont consider this a bug cuz you shouldnt use hopo's and gems on dance, but I'm open for opinions from other members.

its essentially just autogen doesnt know about gh

no its not, absolutly not, its because the noteskins dont support hopo's and gems so they arnt shown, I dont consider this a bug cuz you shouldnt use hopo's and gems on dance, but I'm open for opinions from other members.

interesting

Fixed

authors: Jousway Scraticus arceuss

repo: TeamRizu/OutFox


text:
Video wont play,afted several months of using the app i am suddenly not able to watch video anymore, i have a black screen with this text on it "this content is not available for this app"

I have a samsung a13 and i updated and reinstalled the app but nothing change

new problem

all Gmail request request

69e58sotzigzitco

continuously email id request notification sent why and please fix sir

what is the meaning this spellings

authors: Itzeppujorge Robinuk1 Thibault-Cart

repo: TeamVanced/VancedMicroG


text:
Add logo to nuget package

from https://docs.oasis-open.org/emergency/edxl-cap-logo/v1.0/edxl-cap-logo-v1.0.html

Done.

repo: TeamnetGroup/cap-net


text:
🛑 Tax Portal is down

In 3611de1, Tax Portal (https://portail.tax.gov.ma) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tax Portal is back up in b5b3e95.

repo: TebbaaX/DownTime-Score


text:
Icon Component updated to v1 API

This is a rebase of @jamiehill's work in #279.

[Current coverage][cc-pull] is 92.56%

No coverage report found for master at bcdb7d9.

Powered by Codecov. Last updated by [bcdb7d9...d0d5989][cc-compare]
[cc-base-branch]: https://codecov.io/gh/TechnologyAdvice/stardust/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/TechnologyAdvice/stardust/compare/bcdb7d999f01e0748824404d6eb23b19046d5119...d0d598977cb2849e95d74890e9b80e08b17dc780?src=pr
[cc-pull]: https://codecov.io/gh/TechnologyAdvice/stardust/pull/343?src=pr

@jamiehill please take a look and make sure I didn't miss anything in the rebase.  I'll merge this later today.  Thanks again.

Note to self, remove in line code todos for icons.

Another Codecov issue reported, merging.

authors: codecov-io levithomason

repo: TechnologyAdvice/stardust