text:
Описать требования к сервису логирования

Необходимо проработать сервис логилрования. Он должен писать ходы игроков в базу данных

Сервис должен принимать на вход: событие, описание(ход, старт сессии, окончание сессии, завершение сессии), идентификатор сессии, временную метку

Событие - действие пользователя, которое изменяет (или создаёт запрос на изменение) данных в БД сервиса.
Для упрощения выделим две большие группы событий, которые должны порождать запись в логе.
Игровые события, к которым следует относить:

создание партии
прекращение партии с различными статусами: ничья/победа/прерывание. Дополнительно статусы должны включать комментарии
ничья:

по соглашению сторон
недостаточно материала
позиционная ничья ("крепость" или "мёртвая позиция", равенство материала) -- не стоит считать отдельно, слишком много вариантов
троекратное повторение позиции
50 ходов без взятия/продвижения пешек
прерывание:
отмена партии одним из игроков до своего первого хода
отключение клиента по определённому timeout
долго висящая без активности партия
победа:
- игрок сдался
- поставлен мат
- упал флаг (при реализации игры на время)

сделан валидный ход
предложена ничья (в рамках одной партии каждый игрок имеет только одно предложение ничьей). Принятие - в п 2,  отказ не логируется.
Важно решить: при активном предложении на ничью время идёт и доска неактивна (всплывающее модальное окно) или партия продолжается в нормальном режиме?

Неигровые события, требующие логирования:
- регистрация в системе  (новый игрок)
- подтверждение регистрации
- авторизация в системе
- изменение данных аккаунта
- изменение пароля
- блокировка аккаунта
- удаление аккаунта
- добавление игроков в friendlist
- добавление игроков в blacklist
- системные ошибки доступа к БД
-многократные (5+) попытки авторизации с некорректной парой логин-пароль
Общий формат сообщения в логе событий:
timestamp -  метка времени на сервере
IN_GAME|SYSTEM - тип события, игровой или системный
SOURCE_MICROSERVICE - порождающий микросервис
severity_level - уровень события, [debug/notification/warning/error/critical]
в том случае, если событие игровое, указать идентификатор (и может быть краткое текстовое описание партии, наприм. "#00232345 Carpov-Korchnoi, Bagio 1973 mv 6")
В рамках реализации рекомендуется использовать Синглтон, вызывая МС логирования первым при старте вообще всего проекта.
Не изобретая велосипед, взять какой-то готовый логгер (logrus?)

repo: sadmadrus/chessBox


text:
Invoice line item edit delete

Edit and delete New line item from the table.
Checklist:

[ ] I have manually tested all workflows
[ ] I have performed a self-review of my own code
[ ] I have added automated tests for my code

@apoorv1316 Please test this on priority.

@apoorv1316 @supriya3105

The hours and minutes issue is resolved.
we will integrate delete when api is ready.
react date picker is not used there, which we will have to use there to change the format. it will take time to do that, so not doing in this pr.

source: gharchive/pull-request

repo: saeloun/miru-web

license: MIT

license_type: permissive

license_source: github-api


text:
add pulsechain mainnet v1.4.1 and v1.3.0 contracts

add pulsechain mainnet v1.4.1and v1.3.0 contracts
Explorer: https://scan.pulsechain.com/

Could you please sort out the conflicts?

repo: safe-global/safe-deployments


text:
Fix Readme

Fix Readme

/bounty $100

/attempt 7XBsZuGnmzMsJztcdpUJghiChxnJ5MgPeCiMqpjiqWzH

source: gharchive/issue


text:
On kubernetes environment it does not find the internal dns names

On a kubernetes container using aiodns gives this error when needs to find internal services using the internal DNS server:
aiodns.error.DNSError: (11, 'Could not contact DNS servers')

I'm not sure how to help you here... aiodns just uses whatever is configured in the system.

authors: bloodbare saghul

repo: saghul/aiodns

license: mit

license_source: bigquery


text:
Added power support

Thanks for your code, its working good. Added power support for the travis.yml file with ppc64le. This is part of the Ubuntu distribution for ppc64le. This helps us simplify testing later when distributions are re-building and re-releasing. For more info tag @gerrith3.

closing this PR, due to some technical glitch of multiple commits. Raised new PR #90  with single commit and signoff tag and clean code.


text:
"Execute Command" log becomes too verbose

Describe The Bug

Take the example in readme as an example:  https://github.com/sagiegurari/cargo-make#simple-example

Now it becomes:
❯ cargo make --makefile simple-example.toml my-flow
[cargo-make] INFO - cargo make 0.36.4
[cargo-make] INFO - Project: aaa
[cargo-make] INFO - Build File: simple-example.toml
[cargo-make] INFO - Task: my-flow
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: legacy-migration
[cargo-make] INFO - Execute Command: Command {
    program: "cargo",
    args: [
        "cargo",
        "fmt",
        "--",
        "--emit=files",
    ],
    stdin: Some(
        Inherit,
    ),
    stdout: Some(
        Inherit,
    ),
    stderr: Some(
        Inherit,
    ),
}
[cargo-make] INFO - Execute Command: Command {
    program: "cargo",
    args: [
        "cargo",
        "clean",
    ],
    stdin: Some(
        Inherit,
    ),
    stdout: Some(
        Inherit,
    ),
    stderr: Some(
        Inherit,
    ),
}
[cargo-make] INFO - Execute Command: Command {
    program: "cargo",
    args: [
        "cargo",
        "build",
    ],
    stdin: Some(
        Inherit,
    ),
    stdout: Some(
        Inherit,
    ),
    stderr: Some(
        Inherit,
    ),
}
   Compiling aaa v0.1.0 (/Users/xxchan/Projects/aaa)
   ...

It might be better if such detailed logging is only shown when -v
To Reproduce

Error Stack
The error stack trace

Code Sample
/// paste code here

while i totally agree, this actually doesn't happen to me.
i created a new machine via gitpod, installed cargo make, created a new lib crate via cargo and tested:
cargo make --makefile simple-example.toml my-flow
[cargo-make] INFO - cargo make 0.36.4
[cargo-make] INFO - Project: _temp1
[cargo-make] INFO - Build File: simple-example.toml
[cargo-make] INFO - Task: my-flow
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: legacy-migration
[cargo-make] INFO - Execute Command: "cargo" "fmt" "--" "--emit=files"
[cargo-make] INFO - Execute Command: "cargo" "clean"
[cargo-make] INFO - Execute Command: "cargo" "build"
   Compiling _temp1 v0.1.0 (/workspace/cargo-make/target/_temp1)
    Finished dev [unoptimized + debuginfo] target(s) in 0.41s
[cargo-make] INFO - Execute Command: "cargo" "test"
   Compiling _temp1 v0.1.0 (/workspace/cargo-make/target/_temp1)
    Finished test [unoptimized + debuginfo] target(s) in 0.39s
     Running unittests src/lib.rs (target/debug/deps/_temp1-1f98102cfa961eb9)

running 1 test
test tests::it_works ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests _temp1

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

[cargo-make] INFO - Build Done in 1.89 seconds.

@xxchan any chance you modified cargo-make code? or something else global in that machine/rust installation?

After I re-install cargo-make, the problem disapperd. It's quite weird.. Thanks for your quick response anyway!

Hi @sagiegurari I observed the behavior again...
https://buildkite.com/risingwavelabs/pull-request/builds/17098#01863558-a17c-4e39-a2d3-66ad92f7b56d
FWIW the CI runs inside this docker image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230208_05

from where do these dockers getting cargo-make installation? maybe its some local thing you modified?

I find the reason: It's due to this PR (merged on Dec 27, 2022) More verbose `Debug` implementation of `std::process:Command` by kraktus · Pull Request #97176 · rust-lang/rust
So this line of cargo-make is affected:
https://github.com/sagiegurari/cargo-make/blob/7941d5eb13c8be7259a7ec40856d33c1f073a804/src/lib/command.rs#L183
It happens if the latest nightly rust toolchain is used (in our repo we are using nightly-2023-01-18, so ...)

awesome find! ya, i can lower the detail in the print from debug format to fix that.
or would you like to submit a PR for that?

PR submitted 😄

The new cargo-make version is now published.

authors: sagiegurari xxchan

repo: sagiegurari/cargo-make


text:
🛑 codecurateurs.com ( Achal ) is down

In 151b5ce, codecurateurs.com ( Achal ) (https://codecurateurs.com) was down:

HTTP code: 410
Response time: 670 ms

Resolved: codecurateurs.com ( Achal ) is back up in 67abd36 after 2 days, 19 hours, 59 minutes.

repo: sahajananddigital/status


text:
Add DB support

Tasks:
[x] Use sqlite as a data source
[x] Store post info like user, type and message contents in the db
[x] Add interface to interact with the sqlite database

Fixed in https://github.com/sahilthapar/meeple-market-bot/commit/c6795e9fcb74c5f94c242f5ade7242df35cf5209

repo: sahilthapar/meeple-market-bot


text:
🛑 Forum Sumiswald is down

In 8d975d9, Forum Sumiswald (https://www.forum-sumiswald.ch) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Forum Sumiswald is back up in 9a9d0c7 after 12 minutes.


text:
Send in the problem 2 file

please do the problem 2 file

Thanks will close it now

Thanks will close it now

okay fine

okay fine


text:
代码块符号显示不正常

代码块里面的<=，>=，!=，==全部被渲染成公式的格式，就像下面这样。

这应该是因为使用了字体JetBrains Mono中的连笔字，更换一个字体就不会显示成这样了，你可以试试修改https://github.com/saicaca/fuwari/blob/f438ea4252ec3773038648747a085d0dfac89a25/src/components/misc/Markdown.astro#L155
这一行代码来更换字体

这是主题使用的代码字体 JetBrains Mono 自身的 ligatures 效果。除了更换字体以外，在上述 css 位置设置 font-variant-ligatures: none 也可以禁用 ligatures

谢谢谢谢，问题已经解决了😀

authors: HyperCherry Motues saicaca

repo: saicaca/fuwari


text:
[nemo-qml-plugin-email] Move attachment model has a property of Email.

With decryption on the fly, decrypted mail
structure will never be saved to the mail
store. It thus requires for part with
attachments to be linked to the decrypted
Email object and not fetched from mail
store anymore.
EmailAgent::downloadAttachment() with a
messageId is thus replaced by a new
EmailMessage::downloadAttachment().
AttachmentListModel, previously based on
a messageId, has been modified to become
a property of an EmailMessage object.
@pvuorela, not in a hurry at all. Just publishing early so you can give me feedback on the intent when you have time to. This PR reworks the attachment model for changes coming with decryption. Indeed, as mentioned in the commit message, decrypted messages are not saved in mail store. So everything that reload the current message, displayed in the UI, from its messageId will not work with decrypted messages.

The body of the message can easily be changed on decryption inside an EmailMessage object and signals emitted accordingly.
But attachments are currently handled by a list model based on a messageId. So decrypted attachments are not displayed. There are different ways to handle this, but I choose to modify the attachment list model not to be based on a messageId anymore but being a property of an EmailMessage. It then allows to deal with dynamic changes of the EmailMessage object itself.
Tapping on an attachment in the UI, also calls downloadAttachment() from the email agent. Which in turns reload the message from the mail store to see if the attachment is already available. This is changed in favour of an invocable method in EmailMessage, which can pass its internal QMailMessage to the email agent, instead of reloading it.

I'm currently testing these changes to see if there is any regression. So far it seems to work well with POP3. But I prefer to give it some time, and also to test more extensively IMAP4.
One side effect of this move is to consume less memory in the attachment list model, which was duplicating in memory the full QMailMessage (including in memory content of all the attachments) as m_message and also each QMailMessagePart (with the in-memory attachments) in the Attacment::part attributes.
It is a change of API, so it requires some changes in jolla-email, that I'm addressing in a dedicated PR.

I'm testing it with the decryption PR and I'm quite happy with it. @pvuorela, may you give a look to this PR when you have time, please ? Thank you in advance. No hurry here, it can wait for the next release to be out first or even later, of course.

repo: sailfishos/nemo-qml-plugin-email


text:
Add a QML example

Note: the QML API is still experimental and subject to change.

It's clear that the QML API is very much still work-in-progress, as even a simple example like this required some additions to the QML plugin API.  (I tried writing the example due to a question from community member, see https://github.com/sailfishos/sailfish-secrets/issues/57)

It's clear that the QML API is very much still work-in-progress, as even a simple example like this required some additions to the QML plugin API. (I tried writing the example due to a question from community member, see #57)

I know gh is probably not the best place to ask but seeing how in your example code you are using two weird tricks (buffer -> uint8array and weird reading char by char and then the weird trick qt.btoa(qt.atob(string))) for some workaround against qt <5.8) how do you pass a cutout from html page in webview to decryptrequest.data? I am getting 'Failed to encrypt.' (best I got is 'Unexpected reply signature: got "(iiis)ayi, expected "(iiis)ay(i)" zero results anywhere about this type of error) no matter how I pass the "ciphertext". No amount of cutting out trailing '='s and/or Qt.atob'ing works, I maybe have to cut out CR/LFs? The console.log of privkey and the ciphertext do work in online decrypters but they probably do some extra tricks, I just don't know, would be really greatful for a hint

I'm not sure what you mean by "a cutout from a html page" or what the issue might be there.  From the point of view of the sailfish-secrets classes, it is just dealing with arrays of bytes, so the source of the data should not matter - but perhaps I am misunderstanding.
But, regarding the got (iiis)ayi, expected "(iiis)ay(i) one, this sounds like a bug.  The error is from QtDBus, it's saying it expected data of the form:
struct containing (integer, integer, integer, string), followed by
array of unsigned byte, followed by
struct containing (integer)

but it got:
struct containing (integer, integer, integer, string), followed by
array of unsigned byte, followed by
integer

Note the missing struct around the final integer.
I expect that this is for: QDBusPendingReply<Result, QByteArray, CryptoManager::VerificationStatus> from DecryptRequest.
Note that serialization.cpp has the following:
QDBusArgument &operator<<(QDBusArgument &argument, const CryptoManager::VerificationStatus verificationStatus)
{
    argument.beginStructure();
    argument << static_cast<int>(verificationStatus);
    argument.endStructure();
    return argument;
}

which should be correct.  However, it also has the following:
QDataStream& operator<<(QDataStream& out, const CryptoManager::VerificationStatusType &v)
{
    quint32 temp = static_cast<quint32>(v);
    out << temp;
    return out;
}

I suspect the wrong one is chosen in some codepath, resulting in the error.  Perhaps the way we define the serialization for the VerifiedDataResult in the daemon code is incorrect?
If you do manage to find and fix the issue, please create a PR.

Thanks, beginning to think it's an issue with Qt.atob, if I try to do a round trip atob->btoa I'm getting:
Before atob'ing: SRiHemgtOE9q+WhHsQ/4YDKq7qQN8jjO4huOii7c3lU6vzPb2Y1HGufnfgcS
z7ZupXxZiYH6uLyMgxYuXn+03PjjPBh/mQrN9/Uq3HE12u28kZfLYMrF2pJq
VMCkCKqEjT4wONtRWYl4Bk2p/szuYyPVDhRrPwFpo/GDEZf4RYPxsc1Bd9ls
Eb2HXDt32EwveVwmT8xpTH39GIy/B4/55Ot6/6jBTkFkfKu9RCz+Q1TKfo5i
Vg/gmMQXu+xPehOYGRGywE6htINyzf+esXvY3jC9S6al8ZOH3GzqGaWXRHZ0
C4DQhZ3Hvt31K2Jz0fF0WHaQPynFhzujhY6CTpTZTw==
After atob/btoa: SRjvv716aC04T2rvv71oR++/vQ/vv71gMu+/ve+/ve+/vQ3vv70477+977+9G++/ve
+/vS7vv73vv71VOu+/vTPvv73ZjUca77+977+9fgcSz7Zu77+9fFnvv73vv73vv73vv73vv73vv73vv
70WLl5/77+977+977+977+9PBh/77+9Cu+/ve+/ve+/vSrvv71xNe+/ve+/ve+/ve+/ve+/ve+/vWDv
v73vv73akmpU77+977+9CO+/ve+/ve+/vT4wOO+/vVFZ77+9eAZN77+977+977+977+9YyPvv70OFGs
/AWnvv73vv73vv70R77+977+9Re+/ve+/ve+/ve+/vUF377+9bBHvv73vv71cO3fvv71ML3lcJk/vv7
1pTH3vv70Y77+977+9B++/ve+/ve+/ve+/vXrvv73vv73vv71OQWR877+977+9RCzvv71DVO+/vX7vv
71iVg/vv73vv73vv70X77+977+9T3oT77+9GRHvv73vv71O77+977+977+9cu+/ve+/ve+/ve+/vXvv
v73vv70w77+9S++/ve+/ve+/ve+/ve+/ve+/vWzvv70Z77+977+9RHZ0C++/vdCF77+9x77vv73vv70
rYnPvv73vv710WHbvv70/KcWHO++/ve+/ve+/ve+/vU7vv73vv71P
I would expect them to look the same
On Monday, 8 November 2021, Chris Adams wrote:

I'm not sure what you mean by "a cutout from a html page" or what the issue might be there.  From the point of view of the sailfish-secrets classes, it is just dealing with arrays of bytes, so the source of the data should not matter - but perhaps I am misunderstanding.
But, regarding the got (iiis)ayi, expected "(iiis)ay(i) one, this sounds like a bug.  The error is from QtDBus, it's saying it expected data of the form:
struct containing (integer, integer, integer, string), followed by
array of unsigned byte, followed by
struct containing (integer)

but it got:
struct containing (integer, integer, integer, string), followed by
array of unsigned byte, followed by
integer

Note the missing struct around the final integer.
I expect that this is for: QDBusPendingReply<Result, QByteArray, CryptoManager::VerificationStatus> from DecryptRequest.
Note that serialization.cpp has the following:
QDBusArgument &operator<<(QDBusArgument &argument, const CryptoManager::VerificationStatus verificationStatus)
{
    argument.beginStructure();
    argument << static_cast<int>(verificationStatus);
    argument.endStructure();
    return argument;
}

which should be correct.  However, it also has the following:
QDataStream& operator<<(QDataStream& out, const CryptoManager::VerificationStatusType &v)
{
    quint32 temp = static_cast<quint32>(v);
    out << temp;
    return out;
}

I suspect the wrong one is chosen in some codepath, resulting in the error.  Perhaps the way we define the serialization for the VerifiedDataResult in the daemon code is incorrect?
If you do manage to find and fix the issue, please create a PR.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/sailfishos/sailfish-secrets/pull/173#issuecomment-96274654

--
Sent from my Jolla

Ok, finally managed to get it working using functions from solution 2 here:
https://developer.mozilla.org/en-US/docs/Glossary/Base64#appendix_decode_a_base64_string_to_uint8array_or_arraybuffer
Thank you for all the help!
On Monday, 8 November 2021, Chris Adams wrote:

I'm not sure what you mean by "a cutout from a html page" or what the issue might be there.  From the point of view of the sailfish-secrets classes, it is just dealing with arrays of bytes, so the source of the data should not matter - but perhaps I am misunderstanding.
But, regarding the got (iiis)ayi, expected "(iiis)ay(i) one, this sounds like a bug.  The error is from QtDBus, it's saying it expected data of the form:
struct containing (integer, integer, integer, string), followed by
array of unsigned byte, followed by
struct containing (integer)

but it got:
struct containing (integer, integer, integer, string), followed by
array of unsigned byte, followed by
integer

Note the missing struct around the final integer.
I expect that this is for: QDBusPendingReply<Result, QByteArray, CryptoManager::VerificationStatus> from DecryptRequest.
Note that serialization.cpp has the following:
QDBusArgument &operator<<(QDBusArgument &argument, const CryptoManager::VerificationStatus verificationStatus)
{
    argument.beginStructure();
    argument << static_cast<int>(verificationStatus);
    argument.endStructure();
    return argument;
}

which should be correct.  However, it also has the following:
QDataStream& operator<<(QDataStream& out, const CryptoManager::VerificationStatusType &v)
{
    quint32 temp = static_cast<quint32>(v);
    out << temp;
    return out;
}

I suspect the wrong one is chosen in some codepath, resulting in the error.  Perhaps the way we define the serialization for the VerifiedDataResult in the daemon code is incorrect?
If you do manage to find and fix the issue, please create a PR.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/sailfishos/sailfish-secrets/pull/173#issuecomment-96274654

--
Sent from my Jolla

Yikes, interesting!  Thank you for mentioning this, clearly the Qt methods aren't properly round-trip stable!  I should update the example to use the methods you found instead...

Yikes, interesting! Thank you for mentioning this, clearly the Qt methods aren't properly round-trip stable! I should update the example to use the methods you found instead...

The issue is that the Qt methods don't specify the appropriate Base64Options (QByteArray::KeepTrailingEquals and QByteArray::Base64UrlEncoding) so they are not round trip stable when dealing with URL encoded data, it seems.  I've added some helper methods to the QML manager types to avoid this problem (and added another helper to directly convert a QByteArray to a QString, and used that one directly in the test).

Merging this one, I think having the example is useful.  The QML API isn't stable anyway, and the changes I made to that were additions.

I guess in 4.3.1 or 4.4 will be able to replace those ugly js functions with secretmanager ones (tobase64 and from), awesome, thanks again!
On Wednesday, 10 November 2021, Chris Adams wrote:

Yikes, interesting! Thank you for mentioning this, clearly the Qt methods aren't properly round-trip stable! I should update the example to use the methods you found instead...

The issue is that the Qt methods don't specify the appropriate Base64Options (QByteArray::KeepTrailingEquals and QByteArray::Base64UrlEncoding) so they are not round trip stable when dealing with URL encoded data, it seems.  I've added some helper methods to the QML manager types to avoid this problem (and added another helper to directly convert a QByteArray to a QString, and used that one directly in the test).
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/sailfishos/sailfish-secrets/pull/173#issuecomment-96488715

--
Sent from my Jolla

It will be 4.4 I think.  Thank you for your investigations also, and for prompting me to add the examples.

authors: chriadam szopin

repo: sailfishos/sailfish-secrets


text:
A question about vs2022 packaging

When I open the source code for compilation with vs2022, I find that my files seem to be missing. How do I deal with this, boss

Not sure to fully understand your issue. Do you have a screenshot or error message to share?

authors: sailro zhongmof

repo: sailro/EscapeFromTarkov-Trainer


text:
Sails, not Rails ;)

Changed routes.rb to routes.js

Oops! Thank u :)

authors: wub yedhukrishnan


text:
Additional Low Contrast

I really love the Everforest theme. I use it on VS Codium.
For example, to hightlight with red the selected text with this theme is exquisite, and many other details. Everforest should be better known.
Also I like that the normal text is NOT white (dark version). And I would like to be able to adjust the brightness of the normal text, It's this possible? (To further accentuate the low contrast.)
Thanks in advance for attention

Absolutely, you can use a Vim autocmd to change the color of any highlight group.
Vim
" .vimrc

" Apply custom highlights on colorscheme change.
" Must be declared before executing ':colorscheme'.
augroup custom_highlights_everforest
  autocmd!
  " cursorline
  autocmd ColorScheme everforest
  \       hi Normal guifg=#ffffff
augroup END

colorscheme everforest

-- init.lua (Neovim)

-- Apply custom highlights on colorscheme change.
-- Must be declared before executing ':colorscheme'.
grpid = vim.api.nvim_create_augroup('custom_highlights_everforest', {})
vim.api.nvim_create_autocmd('ColorScheme', {
  group = grpid,
  pattern = 'everforest',
  callback = function()
    vim.api.nvim_set_hl(0, 'Normal', { guifg = '#ffffff' })
  end
})

vim.cmd'colorscheme everforest'

I'm in VS Code/Codium, how do I access a similar configuration? Maybe editing settings.json file....
It would be great to add that possibility (setting font brightness) to the basic configurations of the extension

Oh, my bad, I didn't get that you were not referring to the Vim color scheme (this repo) but to the VS Code extension.
I am not a VS Code user myself, so only @sainnhe can answer that, but please consider that VS Code is nowhere as configurable as Vim, so your best option is probably to create your own theme in VS Code based on the one you found in the store.

Sorry for late reply. You can change the color of a token via settings.json, check this doc: https://code.visualstudio.com/api/extension-guides/color-theme
Btw, this repo is for vim/neovim only, so closed since it's unrelated.

authors: Pantybra antoineco sainnhe

repo: sainnhe/everforest


text:
Mongoose error

when I add the bot on a server, it doesn't respond to commands and gives this error on the console:
mongoError: E11000 duplicate key error collection: test.guilds index: id_1 dup key: { id: null }

It seems like you have manually edited something in mongodb guilds collection. Check _id field if it's duplicated

how do i know if i moved something manually?

how do i know if i moved something manually?

Try to create a fresh mongoose database and check it still the error occurred

the problem was in the old database, I made a new one and it worked! thanks

repo: saiteja-madha/discord-js-bot


text:
webhook

Describe the bug
The bot wont start due to something to do with webhooks
To Reproduce
Steps to reproduce the behavior:
start the bot from hosting
Expected behavior
I expected the bot to start and run easy as illustrated
Screenshots
If applicable, add screenshots to help explain your problem.
If possible

NodeJS version:18
Bot version:The newest one you have updated

Additional context

WebhookClient.zip
Here is the problem file according to the console but where would i put my webhooks to make them 'right'

Follow the steps in the docs and it should work. Alternatively, feel free to join our Discord server.


text:
SAKIII-5022 dont add spacing to carousel if not needed

https://jira.sakaiproject.org/browse/SAKIII-5022

Squashed and merged

authors: croby jsloane


text:
SAK-31944 Fix Calendar tool Month display name

See #3582 for previous discussion.

Closing this as I can't push to the branch.

repo: sakaiproject/sakai


text:
Use route redirect with parameters

In my opinion it is better to use native Laravel router to perform redirects, than creating own URL. So I changed it little bit.
And I also removed 301 Redirect code, because it is cached for really long time. If someone try to access not published version, it could be super hard to get there when it will be published finally.
As there is no functionality change, also no test is added/changed

Thank you @arxeiss, pretty cool 💯

authors: arxeiss saleem-hadad

repo: saleem-hadad/larecipe


text:
Invoices are filled with the customer's info in place of the company's info.

What I'm trying to achieve
This blog post shows invoices looking like this:

However, the default template fills the top left section with the customer's billing address instead of the company's info:

            {{ order.billing_address.company_name }}

            {{ order.billing_address.street_address_1 }}

            {% if order.billing_address.street_address_2 %}
                {{ order.billing_address.street_address_2 }}

            {% endif %}
            {{ order.billing_address.city }}

            {{ order.billing_address.postal_code }}

            {% if order.billing_address.phone %}
                {{ order.billing_address.phone }}

            {% endif %}
            {{ order.get_customer_email }}

System information

Saleor version:

[x] dev (current main)
[x] 3.0
[ ] 2.11
[ ] 2.10

Operating system:

[ ] Windows
[ ] Linux
[ ] MacOS
[ ] Other

Hello @zyp 👋
Thank you for your report. We added it to our backlog and will let you know as soon as it's done.
Have a nice day 🌷

The invoices plugin has been deprecated and removed. We do not intend to provide an invoices solution as we found most of the companies integrating with Saleor have separate solutions for that area.

authors: aniav peelar zyp

repo: saleor/saleor


text:
Add number to webhook order payload

Add missing order number to webhook order payload.
Port of #10712

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-7825 Order number not available in ORDER_CONFIRMED event

authors: IKarbowiak patrys


text:
How to design pagination?

How should pagination be designed for use with the data table. Below is a sample of a simple (back, next) button pagination design. I have also heard something about a continues scroll. Which or are either of these the correct UX for implementing this?

We are going with data tables should not be paginated as the UX patttern standard. Closing.

repo: salesforce/design-system-react


text:
Wr/parking orbit

What does this PR do?
updates to core3 command5 (not published yet)
needs heavy testing and QA
What issues does this PR fix or reference?
@W-10743791@
@W-10811265@

QA Notes • 2022.04.05 updates
auth:list
⚪ All aliases are listed as undefined

Working now 🟢

⚪ Unrelated to plugin:auth: All Instance URLs are truncated, is there a way to show the whole string?

Working now 🟢

auth:list --json
⚪ JSON contract changed! alias is now an array with the key aliases

Alias is no longer an array 🟢
Alias key is always added (alias: "") 🔴

Probably not a big deal but users could be checking that alias is undefined or that the alias key does not exist. This has the potential to break conditionals.

auth:device:login
⚪ Not working with V3!

Working now 🟢

auth:sfdxurl:store --json
⚪ JSON contract changed (V3 missing clientSecret but it is empty :thinking:)

Working now 🟢

🔴 auth:accesstoken:store is asking to override an auth file that doesn't exist.

sfdx force:org:create -s -f config/project-scratch-def.json
sfdx force:org:display

You’ll need Access Token and Instance URL

sfdx auth:logout
ls -lah ~/.sfdx

Note that there is not an auth file for logged out user

sfdx auth:accesstoken:store -s -r THE_INSTANCE_URL

Paste in the Access Token
It will ask you if you want to override non-existent file

I think we're good! 🚀 Was able to log in with all of the auth methods:
sfdx auth:web:login
sfdx auth:jwt:grant
sfdx auth:sfdxurl:store
sfdx auth:device:login
sfdx auth:accesstoken:store

authors: WillieRuemmele iowillhoit

repo: salesforcecli/plugin-auth


text:
chore: update lwr version

What does this PR do?
This PR updates lwr packages to .
What issues does this PR fix or reference?
@W-XXXXXXX@

testing CI

repo: salesforcecli/plugin-lightning-dev


text:
🛑 Blog is down

In 5f053f3, Blog (https://saltbo.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Blog is back up in 696ea5e after 7 minutes.

repo: saltbo/status


text:
Switching between Themes plugins

When multiple theme plugins are installed you cannot switch between them
Now you just can remove  themes plugins to switch between them
Add button ON for theme plugins
The new button ON will activate particular theme plugin.
Other plugins will be disabled automatically in this case.

themes are currently assigned to each role under the roles tab of the user and security settings menu. this is how you can choose between multiple themes when these are installed. does this work for your case?

Yes, this is fine.

authors: AleksandrSokolov glutamate

repo: saltcorn/saltcorn


text:
Default Timeout for Relay Messages

We should specify a default timeout for relay messages.

There's no ACK-like message for relay messages, so timeouts are implicitly handled by the underlying TCP connection. If we encounter issues with not having ACK-like messages in the future, I propose sending a ping message (data: CSN) directly after another send to enforce a response. @dbrgn This might be relevant for the upcoming beta test.

repo: saltyrtc/saltyrtc-meta


text:
Progression for fastify plugin

Progression for fastify plugin
Hello @samchon. I found your article from this link
and I saw this.

I know that you are developing the plugin to make Typia integrate with fastify.
I very interest your lib. I am looking for migrate my code that use Typebox for schema validation to typia.
Your typia is very interesting because, I can make a type with Pure Typescript
I want to know your progression of fastify plugin. If almost finish, pls point me to your references.
Thank you.

Currently, you can use fastify in NestJS with nestia, and it dramatically enhances performance.
This nestia was my 1st goal for supporting fastify.

Nestia Project: https://github.com/samchon/nestia
Benchmark Result: https://github.com/samchon/nestia/tree/master/benchmark/results/11th Gen Intel(R) Core(TM) i5-1135G7 %40 2.40GHz

About pure plugin of fastify, I'll start it at next month July.

@samchon Thank you for your reply. I hope that your lib will provide in official fastify docs soon 🙏

authors: samchon tawanchaiii

repo: samchon/typia


text:
How to mapping type with entity typeorm?

Question
I get a error when  save to DB use typeorm. Can you show me the solutions? If possible, please give me a visual example
this.userRepository.save(createUserDto);
Overload 1 of 4, '(entities: DeepPartial<User>[], options?: SaveOptions | undefined): Promise<(DeepPartial<User> & User)[]>', gave the following error.
    Argument of type 'CreateUserDto' is not assignable to parameter of type 'DeepPartial<User>[]'.
      Type 'CreateUserDto' is missing the following properties from type 'DeepPartial<User>[]': length, pop, push, concat, and 29 more.
  Overload 2 of 4, '(entity: DeepPartial<User>, options?: SaveOptions | undefined): Promise<DeepPartial<User> & User>', gave the following error.
    Argument of type 'CreateUserDto' is not assignable to parameter of type 'DeepPartial<User>'.
      Type 'CreateUserDto' is not assignable to type '{ id?: number | undefined; username?: string | undefined; email?: string | undefined; dateOfBirth?: DeepPartial<Date | null | undefined>; password?: string | undefined; ... 4 more ...; updatedBy?: number | undefined; }'.
        Types of property 'email' are incompatible.
          Type '(string & Format<"email">) | null | undefined' is not assignable to type 'string | undefined'.
            Type 'null' is not assignable to type 'string | undefined'.

19     return this.userRepository.save(createUserDto);

CreateUserDto.ts
import typia, { tags } from 'typia';

export const checkCreateUserDto = typia.createIs<CreateUserDto>();

export interface CreateUserDto {
  name: string & tags.MaxLength<10>;
  email?: null | (string & tags.Format<'email'>);
  dateOfBirth: null | (string & tags.Format<'date'>);
}

UserController.ts
export class UserController {
  constructor(private readonly userService: UserService) {}

@TypedRoute.Post()
  create(@TypedBody() createUserDto: CreateUserDto) {
    return this.userService.create(createUserDto);
  }
}

UserService.ts
@Injectable()
export class UserService {
  constructor(
    @InjectRepository(User)
    private readonly userRepository: Repository<User>,
  ) {}

  create(createUserDto: CreateUserDto) {
    return this.userRepository.save(createUserDto);
  }

Where is your User type?

@samchon
here 🙇
@Entity('users')
export class User extends BaseEntity {
  @Column({
    type: 'varchar',
    length: 255,
    unique: true,
  })
  username: string;

  @Column({
    name: 'email',
    type: 'varchar',
    length: 255,
    nullable: true,
  })
  email: string;

  @Column({
    name: 'date_of_birth',
    type: 'date',
    nullable: true,
  })
  dateOfBirth?: null | Date;

  @Column({
    type: 'varchar',
    length: 255,
  })
  password: string;
}

export abstract class BaseEntity {
  @PrimaryGeneratedColumn('increment', { type: 'int', unsigned: true })
  id: number;

  @CreateDateColumn({
    type: 'datetime',
    default: () => 'NOW()',
    precision: 0,
  })
  createdAt: Date;

  @UpdateDateColumn({
    type: 'datetime',
    default: () => 'NOW()',
    onUpdate: 'NOW()',
    precision: 0,
  })
  updatedAt: Date;

...
}

Define same email type, then be fixed (or re-define with as string casting)

authors: samchon trangianhuan


text:
test_yaml_get_serializer failing

A test is failing in the testsuite:
[    4s] ======================================================================
[    4s] FAIL: test_yaml_get_serializer (tests.serializer.ResourceTestCase)
[    4s] ----------------------------------------------------------------------
[    4s] Traceback (most recent call last):
[    4s]   File "/home/abuild/rpmbuild/BUILD/slumber-0.7.1/tests/serializer.py", line 43, in test_yaml_get_serializer
[    4s]     self.assertEqual(result, "{foo: bar}\n")
[    4s] AssertionError: 'foo: bar\n' != '{foo: bar}\n'
[    4s]
[    4s] ----------------------------------------------------------------------
[    4s] Ran 35 tests in 0.012s

Could you please help me understand why?

Here is the fuill build log:
https://build.opensuse.org/public/build/home:pgajdos:fail/openSUSE_Tumbleweed/x86_64/python-slumber/_log

repo: samgiles/slumber


text:
🛑 Frankfurt is down

In 38258b9, Frankfurt ($IP_FRA) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Frankfurt is back up in f1bc08f after 13 minutes.

repo: samj/status


text:
Manually muted videos play sound on refresh

Expected behaviour
A muted video should never play sound.
Actual behaviour
Muted videos play sound in an edgecase described below.
Steps to reproduce
Manually pull the volume slider all the way down, then refresh the page. Volume icon will display as muted but will play sound anyway.
Environment

Browser: Chrome
Version: 79.0.3945.117
Operating System: Windows 10

Link to where the bug is happening
https://plyr.io/#youtube

Here is a video of what they're referring to:
https://streamable.com/ej1a8

repo: sampotts/plyr


text:
Webm don't load on ipad/iphone

Hello,
I'm currently testing the playing in a webapp and it seem that webm video are loading for ever on ipad/iphone and not able to play. MP4 are working well.
Is it a known issue or there is anything that can be done to make it work? Or is it related to the webm encoding? (i see partial support on caniuse)
Thanks in advance.

iOS does not support WebM/VP8 except for WebRTC (Real-time communication/Video calls)
You can read more here: https://webkit.org/blog/8672/on-the-road-to-webrtc-1-0-including-vp8/

I see, thanks for the details.

authors: RichardGG christopheSeeka


text:
integrate widget in https server

Issues

If you're having trouble with Articulate we definitely want to help you. If you can provide a little bit of information it will make our troubleshooting job easier.

Please describe the issue you are having here and answer the question below.
How can I integrate widget on an site with https(chatbot doesn't work).
I think that is because converse link which is http.
Is possible te make an choice for widget construction (http or https)
Thank you

Did you download a release or pull from Master? Which release?latest
What operating system are you running?CentOS
Are you running locally or in the cloud?Locally
Which browser are you using?firefox/Chrome/Edge

Feature Request

If you've got a feature request we want to hear it

Please desribe the feature you would like us to add.
If possible provide the use case for the feature and how you would use it.

Example
http://www.ocpisv.ro
https://ocpisv.ro

You will likely need to re-configure your Articulate installation to use SSL, which you should anyway.

and how do that?
I'm neewbie in use docker, so please explein to me step by step
thank you

authors: aermike wrathagom

repo: samtecspg/articulate


text:
Fix issue #701 Max recursion when stepping into Pydantic models with …

…smart debuggers: @peter-boers @pfrederiks

Change Summary
Make sure self.__values__ exists on the BaseModels for smart debuggers

Related issue number
Solves #701

Checklist

[x] Unit tests for the changes exist
[x] Tests pass on CI and coverage remains at 100%
[x] Documentation reflects the changes where applicable
[x] HISTORY.rst has been updated

thanks so much for this, it's actually fixed by #712 which makes some other big improvements to pydantic.
I'm going to close this but copy the test from here into #712.

authors: peter-boers samuelcolvin

repo: samuelcolvin/pydantic


text:
chore(main): release 0.8.0

:robot: I have created a release beep boop
0.8.0 (2023-03-04)
Features

enhance please-release action (9f56059)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/samuele-cozzi/obsidian-marp-slides/releases/tag/v0.8.0 :sunflower:

repo: samuele-cozzi/obsidian-marp-slides


text:
Unable to execute PHPMD command (phpmd) - works fine on local file with Windows, but not with WinSCP

Hello,
I am using VS Code with phpmd, and the tool works fine on local php files. ( I installed php and compose in C:/bin, and added it to user vars. Wherever I type phpmd in command line the tool works.
I set the
When I open a file with WinSCP I get this error message though:
Unable to execute PHPMD command (phpmd)
Any tips?
in VsCode:

in cmd

Could you please attach the verbose logging from the output panel, maybe I can help you then.

Closing since there has been no response on the request for the verbose logging output

repo: sandhje/vscode-phpmd


text:
Could you please add documentation of avondale installation?

Thank you.

Was Avondale ever released as Open Source?

authors: XidaoW webmaven

repo: sandialabs/grandmaster


text:
javafx.application does not exist

When i run "npm run nxt", i am getting this error..
Can you please tell me what is problem?
I have installed OpenJDK and OpenJFX on ubuntu Server .
Thanks in advance.

Have you set up the path correctly?
Try to install this version maybe:
https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html

What do you mean in path?
I have cloned the "Proof-of-Stake-Cryptocurrency-generator" Source  under /var/Proof-of-Stake-Cryptocurrency-generator folder.
And I have run "npm install" and "npm run nxt" .
after that, i am getting the error..
I have installed openjdk and openjfx on ubuntu system.


text:
Descripción general del proyecto y definición de objetivos

Descripción:
Describir brevemente y de forma general en qué consiste el proyecto y definir sus objetivos.
Tareas:

[x] Elaborar una descripción general del proyecto
[x] Definir y redactar los objetivos del proyecto

Descripción general y objetivos incorporados a la memoria.

repo: sandralopez/tfm-master-ing-informatica


text:
DPL-944 JS banner not being displayed

As an SSR (Liz C) I am using the “request additional sequencing” button, however every time I put in the information and click “create”, the page just reloads and doesn’t make the request.
(nts) This is because the study the did not have the correct accessioning profile and should be displaying a JS banner informing the user that the study OR sample required accessioning
RT Ticket Number
RT789966

It should not allow requesting additional sequencing when the study data release strategy is open and data release timing is standard, without an accession number. It is not triggering validations and going on with creating the requests. The problem is not only showing the banner it seems. However, it showed the validation banner and not allowed the request in both unit test and a manual test with copied production data.

The deployment projects sets disable_accession_check: true for training environment. This flag is set to true for all environments except production. I have set this configuration to false for training and deployed the fix again.
When the study has the data release strategy open and the data release timing is standard, requesting additional sequencing fails with validation errors and the request is rejected as expected.

There are three possible errors added in check_data_release_and_accession_for_submission method of AccessionBehaviour.
The first one is for empty data release strategy and timing. If any of them is empty, "#{study.name}: Please fill in the study data release information" is shown. Although they are validated, it is not possible to produce this error by user as they are set using combo and radio boxes in the form for editing the study details.
The second is for missing accession number for a study. "#{study.name} and all samples must have accession numbers" is shown. This case is covered in the previous comment.
The third is for missing accession number for any of the samples that require accession. "The following samples are missing accession numbers: #{unaccessioned_samples}" is shown. I have set an ENA number for the study and tried requesting a new sequencing. A validation error is shown for the samples as expected.

The tests above clearly show that the page banner now displays error messages to inform the user of issues when requesting additional sequencing after the bug-fix.

authors: neilsycamore yoldas

repo: sanger/sequencescape


text:
X915 enforcing linting

Added lefthook to handle pre-commit checks
Added eslint and prettier config
Prettier'd entire repo
Updated readme
Updated github actions to include prettier and lint check

Going to remake branch off of devel as the merge conflicts would take longer than redoing the work.

repo: sanger/stan-client


text:
🛑 o11y.space is down

In 9f3155f, o11y.space (https://o11y.space/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: o11y.space is back up in 647fe93 after 9 minutes.

repo: santiagolator/upptime


text:
[Bug]: write_to_file replacing content instead of appending

Which API Provider are you using?
Anthropic
Which Model are you using?
Claude 3.5 Sonnet
What happened?
When asked to update an existing file, it is always replacing the content.  It shows the text
# ... (keep all existing code)
and adds the new content below this line.
However, the (keep all existing...) is actually entered in place of the entire content of the file.  If you approve the edit, all is left is the comment and the new code!
Steps to reproduce

Give an task to update an existing project
I tried on a Django project. The urls.py was updated correctly, but the view file were overwritten

Relevant API REQUEST output
No response
Additional context
No response
Before you submit

[X] I have checked existing issues
[X] I am using the latest version of Claude Dev and VSCode

There is a little button for you to click between the old & new screens to disapprove individual edits like this.

authors: CiberNin sumith

repo: saoudrizwan/claude-dev


text:
fix: Fix error caused when input data is mixed with datetime and string types

@AkiraUra @kimusaku
Fix error caused when input data contains a mix of datetime and string types that rarely convert to datetime types.
Please check.

@tashiro-akira Could you make this PR pass the lint check? Thanks.

You can check the error by creating and running the following main.py
import numpy as np
import pandas as pd
from sapientml import SapientML

from pandas.api.types import infer_dtype
from pandas.core.dtypes.common import is_bool_dtype
import datetime

df = pd.DataFrame({'a': [1,2]*10, 'b': ["moji"]*19+[datetime.datetime.now()], 'y': [1,0]*10})

cls_ = SapientML(
    target_columns=['y'],
    task_type='classification',
)
cls_.fit(
    training_data=df,
)

All the points of the review have been reflected.

authors: AkiraUra tashiro-akira

repo: sapientml/preprocess


text:
Documentation: moving wiki to docs folder

Will be migrating the wiki to the docs/ folder, accessible via github pages.
This allows for better control of the layout, plus version history with possibility for pull requests for the documentation
Source = https://github.com/ivanfemia/abap2xlsx/tree/master/docs
Display at http://ivanfemia.github.io/abap2xlsx/

@larshp
I will close this one
For reference the new documentation is available at
http://sapmentors.github.io/abap2xlsx/

authors: ivanfemia larshp


text:
README.md Video can't be played because the file is corrupt.

I can't reproducible

authors: dpthegrey sapondanaisriwan

repo: sapondanaisriwan/youtube-row-fixer


text:
test: increase test coverage for email validation

TODO:

[x] The statement if (email.length - lastDotIndex > 63) return false; is currently uncovered and I also have no idea what input to give to cover it. Please advice.
[ ] Giving short-account-name@domain-name.-that-has-more-than-sixty-three-characters.com as input throws a ReferenceError, unknown why. This should be solved.

Codecov Report

Merging #70 (1e3cfc3) into main (c6d02a7) will increase coverage by 0.08%.
The diff coverage is n/a.

:exclamation: Current head 1e3cfc3 differs from pull request most recent head 86e5643. Consider uploading reports for the commit 86e5643 to get more accurate results

@@            Coverage Diff             @@
##             main      #70      +/-   ##
==========================================
+ Coverage   99.24%   99.33%   +0.08%
==========================================
  Files          46       46
  Lines        1199     1199
  Branches      253      253
==========================================
+ Hits         1190     1191       +1
+ Misses          8        7       -1
  Partials        1        1

Impacted Files
Coverage Δ

src/constraints/util/emailValidator.ts
100.00% <0.00%> (+4.76%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c6d02a7...86e5643. Read the comment docs.

authors: codecov-commenter favna

repo: sapphiredev/shapeshift


text:
MA - Review of the translated screens for how to get a GitHub account

File to review is here:
This file is required for any winning suppliers who are french speaking and who must work on GitHub but don't have an account yet.
https://014gc.sharepoint.com/:w:/r/sites/GCDevEx/Shared Documents/User documentation/Admin/rejoindre GitHub.docx?d=w90c507c08a854834b8f58877b34d41d5&csf=1&web=1&e=uAaMQR

Reviewed and good to go! 👍

authors: RachelMuston gabrielcossette

repo: sara-sabr/ITStrategy


text:
Clone instead of Copy bound for faer::Entity?

Is your feature request related to a problem? Please describe.
I had to work on exact solvers for Linear programming.
The main problem with linear algebra libraries was that the numbers had to be Copy, but arbitrary precision numbers are usually represented by rationals with a Vec behind, which is not Copy.
Describe the solution you'd like
Replacing the Copy bound by a Clone bound.
Describe alternatives you've considered
I have no alternative since Rust does not allow to bypass this restriction.
Additional context
Although it adds many .clone() in the code, I managed to implement a few routines without the Copy bound.
I am not sure how possible it would be to do in faer.

i considered it for a while, but that would require a more elaborate design
the main issue with arbitrary precision numbers is that the precision can vary between elements of the same matrix.
for example 1.25 can be represented with a handful of bits, while finer values would need more.
for unary/binary operations, we can just take the max precision of the operands, but for things like sqrt(2.0), faer needs a way to know the precision of the computation, which would require carrying around a "context" type that we can use to perform the operations. this would require a redesign of the Entity trait, and might also make the implementation a lot more verbose unless i figure out a good abstraction for it.
it's something i plan on doing eventually, but it'll take time

authors: saona-raimundo sarah-ek

repo: sarah-ek/faer-rs


text:
Code Release?

Hello!
Thanks for your interesting and significant work! Just wondering when the code will be released.

Hi Weihang,
Thanks for your interest in my work. So, right now I'm cleaning up the
code. However, I'll have to ask for licence permission from Adobe, and I'm
unsure how long this could take. But I'll be happy if you have questions
about it, and in the meantime, I can describe to you in detail how I did it.
Thanks again, let me know if you have any questions.
Sara
On Fri, Aug 16, 2024 at 11:31 AM Weihang Ran @.***>
wrote:

Hello!
Thanks for your interesting and significant work! Just wondering when the
code will be released.
—
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/sararoma95/DATENeRF/issues/1__;!!Nmw4Hv0!2FnKXm98X1R5TGCXHxd9hI3t_vETv-atQNLf4cIclr0d3b78TmZoyg2hORC-cSAW-faKU7t7JRHTg_CyBWnlh9j62TYe6RKwf4U$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AWZC2PNHFMEZAB2EJFS4LMDZRXII7AVCNFSM6AAAAABMT2BOVKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ3DSOJYGY4TAMY__;!!Nmw4Hv0!2FnKXm98X1R5TGCXHxd9hI3t_vETv-atQNLf4cIclr0d3b78TmZoyg2hORC-cSAW-faKU7t7JRHTg_CyBWnlh9j62TYe_D4u19E$
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Best,
Sara Rojas
--
This message and its contents, including attachments are intended solely
for the original recipient. If you are not the intended recipient or have
received this message in error, please notify me immediately and delete
this message from your computer system. Any unauthorized use or
distribution is prohibited. Please consider the environment before printing
this email.


text:
add zstd compression support

Was unable to extract a fedora rpm using this tool due to their move to zstd to compress the embedded cpio archive.
This change just adds the de-compressor for zstd.

Thanks for the contribution! This would add a hard requirement on CGo that wasn't needed before. Could you please swap out a suitable pure replacement and/or put the DataDog dependency into a separate file guarded by a cgo build tag?

Thanks for the contribution! This would add a hard requirement on CGo that wasn't needed before. Could you please swap out a suitable pure replacement and/or put the DataDog dependency into a separate file guarded by a cgo build tag?

@mtharp https://github.com/klauspost/compress/tree/master/zstd seems like a decent good implementation, however since this returns a io.Reader instead of a io.ReadCloser, I believe it would leak goroutines without additional changes, although the cgo solution leaks memory also right now. :neutral_face:
no-cgo branch

@mtharp https://github.com/klauspost/compress/tree/master/zstd seems like a decent good implementation, however since this returns a io.Reader instead of a io.ReadCloser, I believe it would leak goroutines without additional changes, although the cgo solution leaks memory also right now. :neutral_face:
no-cgo branch

Take a look at e5cf0f808585c10c36b3c133f0a524b93afd34d1 and see if that does what you need. I pulled in both implementations depending on whether cgo is on, and added calls to Close in each place the decompressor is used. Your patch changing the signature to ReadCloser would be the best way if it were new code but I don't want to break the call signature of cpio. I also added a test to verify that no goroutines leak.

Take a look at e5cf0f808585c10c36b3c133f0a524b93afd34d1 and see if that does what you need. I pulled in both implementations depending on whether cgo is on, and added calls to Close in each place the decompressor is used. Your patch changing the signature to ReadCloser would be the best way if it were new code but I don't want to break the call signature of cpio. I also added a test to verify that no goroutines leak.

I believe this solves my needs, and wants are in your TODO list for v2, so I think I am good.

I believe this solves my needs, and wants are in your TODO list for v2, so I think I am good.

authors: bluestealth mtharp

repo: sassoftware/go-rpmutils


text:
Selecting date inside a form causes a form to submit

Suggested change - add type="button" attribute on each button in the picker.

addressed in v5.0.0

repo: sassy-labs/datepicker


text:
[Datastore] Refactoring - Create as separate Project

Create Datastore as separate maven project

Done

repo: sathishk/zols


text:
feat: navigation link added in profile dropdown

Currently no action perform on click on profile dropdown

billing tab not their so moving it to setting page

Thanks for your PR.

authors: rakrisi satnaing

repo: satnaing/shadcn-admin


text:
New Develop Version

#43 is now additionally solved

I must admit I have no idea which conflicts there are and how to resolve them.
As far as I'm aware all updates should be newer than your last develop version.

Most likely the conflict in the the compiled css and js files. You have layout changes in this pull request!

Yes, I changed the login screen and I changed the history view

Since I have no clue (and I tried to follow github instructions) how to solve the conflict, can you merge anyway and just ignore the compiled stuff?
How can I avoid this from now on?

Some of the changes in this pull request were merged.
Changes not merged:

Login page style changes.
User restricted status.
gitignore & composer changes.

Did you leave out the status 'restricted' or the complete option to deactivate a user?

Just removed the constants 'restricted' because it is not used.

Ah ok.
What about the login background image? I thought when we give the visuals a little overhaul - we might also give the admin an option to upload his own login background image, his own little logo and let him select his favorite color which we use for certain highlighting purposes later. That a good idea?

It is nice to have personalised application. I think it should be seperate task to complete.

Agreed


text:
No dark mode styles available

🐛 Bug Report
Have you read the Contributing Guidelines on issues?

[x] Yes

Description
I am using MacOS and enabled dark mode on a system level. This propagates into the browser and makes Docusarus automatically use dark mode too. However the Sauce specific styles don't have a dark mode version yet (it seems only on the front page and header) making the site look like this:

To Reproduce
Switch do dark mode in your system and open the app.
Expected Behavior
I suggest to have some Sauce specific Dark Mode styles 🌕 🕶
Actual Behavior
A mix of both
Scripts and configuration needed to reproduce this issue (if applicable)

Your Environment

OS: OSX
Node version:
Docusaurus version:
Browser version:

Hi @christian-bromann! James turned on the dark-mode option for the docs, so we now have a selection toggle that applies the dark mode theme.

I believe it defaults to whichever system setting you have set, but you can also override the system setting as desired. Does this adequately solve your issue? Thanks!

Hi.  We're very happy to announce that we've added Dark Mode.  If we missed anything, please let us know.
Thanks,
Matt Wyman
Chief Product & Growth Officer, SauceLabs

repo: saucelabs/sauce-docs


text:
this brings python & ruby options code and tests into alignment

I updated the Ruby code with some of the features implemented in Python, as well as applicable tests.
Mostly this is a big update to the Python code ("look ma, I wrote real Python code")
It might not be Pythonic? It might not be what we want to do? It probably has PEP issues?
Essentially, I metaprogrammed the __getattr__ and __setattr__ similar to how I would do it in Ruby, rather than creating a million @property. The advantage is all of the values can be directly accessed; hopefully this is good for Python?
I'm a little concerned with inconsistency between camel case and snake case. I think latest PEP says snake for everything except class name? Or is that just people on SO?
I removed the default test name, since we want Sauce to default to the "Untitled blah blah blah" rather than having all the tests with the same generic name.
I removed the ability for Options class to take ChromeOptions, etc, since we should be implementing that in Session. (at least that's what I was arguing for last week, we can reconsider if we don't like the code).
Let me know what you think of my Python and if it is doing anything especially weird or has some extra duplication. Looking forward to feedback on the approach.

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 2
- Added 1

Complexity decreasing per file
==============================
+ python/simplesauce/options.py  -1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 2

Complexity decreasing per file
==============================
+ python/simplesauce/options.py  -1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 2

Complexity decreasing per file
==============================
+ python/simplesauce/options.py  -1

See the complete overview on Codacy

This needs to go in a different direction, so I'm closing it. I merged in the build name updates to master since we seem to agree that's the right direction. I'll PR something new soon.

authors: nadvolod titusfortner


text:
Cant create a new line in notification

Hello Firstly,
I need a huge notification toast for my project. When i used sentences more than one, i cant create new line between 2 sentences. Is there a bug or something here is the example:
const notification = new Notification({
                    text: 'asdasdasd\n asdasdsadasd\n asdadasd',
                    position: 'top-center',
                    style: {
                        "background": '#2e344e',
                        "color": '#ffffff',
                    },
                    autoClose: 20000,
                    pauseOnHover:false
                });

Hi, bbketen
I fixed the issue :)

authors: bbketen saulgavrilov

repo: saulgavrilov/notification-library


text:
new tab open on the left of the current one instead of right as usual

New Issue Checklist (tick off like this: [x])

[ ] I checked existing issues (open and closed) for possible duplicates
[x] I can reproduce the problem on the latest stable version (not nightly!)

What is your browser?

[ ] Firefox
[ ] Chrome
[x] Microsoft Edge

What is your operating system?

[ ] Linux
[ ] Mac
[x] Windows

Description (please include examples/screenshots where applicable)
Now, the extension open the new tab on the left of current one instead of right as usual

I don't use Edge, but I've seen problems on the latest Chrome release. Assuming it's the same problem, I think I've got a fix, will just do a bit more testing.

Pushed new version, should be fixed now.

authors: sblask thsecmaniac


text:
Are any connections made to unfiltered links before sending to filtered links?

@sblask
Wanting to ask you directly if Skip Redirect makes any connections of any kind, in any way, to the unfiltered link before connecting to the filtered link? Other similar extensions seem to connect to the uncleaned tagged address first before the cleaned, intended address. Is this the case with Skip Redirect?
Please understand that this is in no way, even remotely intended to be accusatory, I just like to understand exactly what's running on my machine, that's all. Feel free to pitch in: https://github.com/ghacksuserjs/ghacks-user.js/issues/249
Thanks.

As I use a blocking onBeforeRequest (https://github.com/sblask/webextension-skip-redirect/blob/master/background.js#L187) no connection should be made unless the browser does some funny stuff.

Even if it seems so because the unfiltered URL appears in the location bar until the final page is loaded...

Even if it seems so because the unfiltered URL appears in the location bar until the final page is loaded...

This was my primary reason for even questioning it. Great that you brought it up without even having been mentioned. Thanks for taking a second to clarify this.

I stumbled over this once and thought skipping is not working, but it's just that the location bar is updated when loading reached a certain point...

authors: grauenwolfe sblask

repo: sblask/webextension-skip-redirect


text:
'elm-package' is not recognized as an internal or external command, operable program or batch file

After invoking command "Elm: install packages/dependencies",  "Elm: REPL Start" or "Elm: Reactor Start", my output window shows: 'elm-package' is not recognized as an internal or external command,
operable program or batch file, and the same message with 'elm-repl' or 'elm-reactor'.
My configuration:

Windows 10
Elm Platform 0.16.0 (downloaded via Windows installer)
VS Code 1.0.0

"Elm: Make" command actually does nothing and show empty output window. When executing elm make via cmd, it works ok.

Resolved. The issue was that windows installer created environment variable ELM_HOME which does not contained path to bin but to share

repo: sbrink/vscode-elm


text:
Reduce the test noise by making id more realistic

Fixes #3893
First increase the ScalaCheck run from 100 to 10000 to reduce the flakiness. If there's a failure, this will now fail all the time.
Then I attempted to fix the flaky ParserSpec by making the id generation more realistic ASCII identifiers.

[info] + Key parser test.An unspecified task axis resolves to Zero: OK, passed 10000 tests.
[info] Elapsed time: 4 min 20.308 sec
[info] + Key parser test.An explicitly specified axis is always parsed to that explicit value: OK, passed 10000 tests.
[info] Elapsed time: 4 min 39.504 sec
[info] + Key parser test.An unspecified project axis resolves to the current project: OK, passed 10000 tests.
[info] Elapsed time: 4 min 6.673 sec
[info] + Key parser test.An unspecified configuration axis resolves to the first configuration directly defining the key or else Zero: OK, passed 10000 tests.
[info] Elapsed time: 4 min 15.355 sec

Adding 17 minutes is a bit too much. Maybe I should reduce the number of ScalaCheck run once it passes Travis CI.

Do you know what causes the test to fail?
Also, watch out not to break the invariants when the generators shrink.

I am not sure when the identifiers started including non-ASCII, but my guess is that it's been flaky since then. It's just that the sample size was too small to hit it often, but it seems that Dbuild hits it more frequently than Travis CI (though I've seen it on Travis a number of times).

Maybe an upstream ScalaCheck. change.  Or maybe it always used non-ASCII but the test can't shrink down to ASCII.

It's entirely possible that newer ScalaCheck is better at coming up with breaking examples, and the failures are legit. I did use a lot of listOfN as opposed to listOf which can produce single letter identifiers that are prone to get duplicates. Maybe I can circle back later, but for now I just want the build to catch new / 1.3.x bugs.

repo: sbt/sbt


text:
Infinite Compile Fix

To prevent the infinite compile, when we have transitive invalidations include recomplied classes in the next incremental compile round.
Resolves:

https://github.com/sbt/zinc/issues/1120
https://github.com/sbt/sbt/issues/6183

At least one commit author (carston.schilds@visier.com) is not linked to a user. See https://help.github.com/en/articles/why-are-my-commits-linked-to-the-wrong-user#commits-are-not-linked-to-any-user

authors: CarstonSchilds lightbend-cla-validator

repo: sbt/zinc


text:
Scala 2.12.6 and other dependencies

sbt 1.1.4
Scala 2.12.6
ScalaCheck 1.14.0
ScalaTest 3.0.5

To validate this pull request against other sbt modules, please visit this link.


text:
iOS getting error "No ad to show Code=1" for Rewarded Video ads

Any reason why this might be happening?
All of the other ads work. I coded it similar to interstitials, which work well.

I think my linking was wrong.
Anyway, I tried a pod install / adding the .framework to iOS, clean and build, and got my first rewarded video to show.
It seems like it fails most of the time though with "No ad returned from any server Code=9" now though.

repo: sbugert/react-native-admob


text:
Update scalajs-dom to 2.2.0

Updates org.scala-js:scalajs-dom from 2.0.0 to 2.2.0.
GitHub Release Notes - Version Diff
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 (2.0.0).
You might want to review and update them manually.
package-lock.json

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-js", artifactId = "scalajs-dom" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequest = { frequency = "@monthly" },
  dependency = { groupId = "org.scala-js", artifactId = "scalajs-dom" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, old-version-remains, commit-count:1

Superseded by https://github.com/scala-js/scala-js-macrotask-executor/pull/55.

authors: armanbilge scala-steward

repo: scala-js/scala-js-macrotask-executor


text:
Expose factories

Every collection now has a iterableFactory method that returns the IterableFactory associated with the collection type. fromIterable now is defined only once in terms of IterableFactory.
This lets us revive fully generic forms of TraverseTest.
We could go further and have a subset of Factories that have newBuilder methods. (Lazy collections should not offer such a method). We could then avoid using an intermediate collection in traverse test for the building, and instead use the builder of the target collection directly.

Need to get dotty #2435 in, then it should build OK.

I rebased this PR and introduced a subtype of IterableFactory named IterableFactoryWithBuilder. This factory type is intended to be implemented by any strict collection that supports a newBuilder operation.
This new type of factory makes it possible to use a builder that targets the right collection type, in TraverseTest (instead of using an intermediate ArrayBuffer, which is the default behavior).

authors: julienrf odersky

repo: scala/collection-strawman


text:
Change infrastructure so it's not managed on Kelley's personal AWS account

This will enable more people to own the website

Also allows us to expense the website costs more easily

repo: scalabridge/website


text:
feat(components): create ScalarHeader component

Creates a standardized ScalarHeader component which can be used across Scalar apps. It also extracts some variables like header height (48px) into the core Scalar tailwind config.
This PR just updates the header in the API client to use the tailwind config but doesn't use the ScalarHeader component in the client yet because the clients navbar / header is still fairly bespoke and complicated.
The design is 90% the client header design (bottom border, background 2) which I'm thinking we should adopt for docs.scalar.com and dashboard.scalar.com. If we want them to be different though it's easy to override.
Layout
The slot layout is designed to center the middle content relative to the overall header rather than preserving equal space between the sections (e.g. justify between). This is what we do for docs.scalar.com.

Responsiveness
The slots are designed to preserve their content's size for as long as possible and then overflow the viewport. The idea being that a mobile menu should be swapped into the slots at small screen sizes.
https://github.com/user-attachments/assets/fc47dfc9-e2c6-41dd-aed6-a06fe5d817a3
Buttons
The header also comes with a ScalarHeaderButton component which standardizes the button design. Once again it's 90% based on the API Client header button. This PR also adjusts the ScalarMenuButton to match the other header buttons at 32px high.
https://github.com/user-attachments/assets/520811a6-0d75-43ee-82bb-68caaeb10cde

Sick work!

Sick work! Can we use that for @scalar/api-reference, too? 👀

We could but we don't actually include a header there by default since it's custom themed based on the config and this is Scalar branded (in theory).

authors: hanspagel hwkr

repo: scalar/scalar


text:
Bench the new mv_cesa kernel module

http://marc.info/?l=linux-arm-kernel&m=142859188107287&w=2
http://marc.info/?l=linux-arm-kernel&m=142859194807313&w=2

See with @aimxhaisse and I for details

repo: scaleway/kernel-tools


text:
documentation: S3C-4012 Add milestone 2 requirements

added milestone 2 definition and reorganized the docs/ folder.

Hello terrydervaux,
My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.
Status report is not available.

Waiting for approval
The following approvals are needed before I can proceed with the merge:

the author

2 peers

/approve

/help

Help page
The following options and commands are available at this time.
Options

name
description
privileged
authored

:arrow_right: bypass_incompatible_branch
Bypass the check on the source branch prefix
:star:

:arrow_right: bypass_leader_approval
Bypass the pull request leaders' approval
:star:

:arrow_right: bypass_peer_approval
Bypass the pull request peers' approval
:star:

:arrow_right: wait
Instruct Bert-E not to run until further notice.

:arrow_right: bypass_jira_check
Bypass the Jira issue check
:star:

:arrow_right: no_octopus
Prevent Wall-E from doing any octopus merge and use multiple consecutive merge instead

:arrow_right: bypass_author_approval
Bypass the pull request author's approval
:star:

:arrow_right: unanimity
Change review acceptance criteria from one reviewer at least to all reviewers

:arrow_right: create_pull_requests
Allow the creation of integration pull requests.

:arrow_right: bypass_commit_size
Bypass the check on the size of the changeset TBA
:star:

:arrow_right: bypass_build_status
Bypass the build and test status
:star:

:arrow_right: after_pull_request
Wait for the given pull request id to be merged before continuing with the current one.

:arrow_right: approve
Instruct Bert-E that the author has approved the pull request.

:writing_hand:

Commands

name
description
privileged

:arrow_right: status
Print Bert-E's current status in the pull request TBA

:arrow_right: clear
Remove all comments from Bert-E from the history TBA

:arrow_right: build
Re-start a fresh build TBA

:arrow_right: force_reset
Delete integration branches & pull requests, and restart merge process from the beginning.

:arrow_right: reset
Try to remove integration branches unless there are commits on them which do not appear on the source branch.

:arrow_right: help
Print Bert-E's manual in the pull request.

:arrow_right: retry
Re-start a fresh build TBA

Waiting for approval
The following approvals are needed before I can proceed with the merge:

the author

2 peers

/reset

Reset complete
I have successfully deleted this pull request's integration branches.

Waiting for approval
The following approvals are needed before I can proceed with the merge:

the author

2 peers

/approve

In the queue
The changeset has received all authorizations and has been added to the
relevant queue(s). The queue(s) will be merged in the target development
branch(es) as soon as builds have passed.
The changeset will be merged in:

:heavy_check_mark: development/1.0

There is no action required on your side. You will be notified here once
the changeset has been merged. In the unlikely event that the changeset
fails permanently on the queue, a member of the admin team will
contact you to help resolve the matter.
IMPORTANT
Please do not attempt to modify this pull request.

Any commit you add on the source branch will trigger a new cycle after the
current queue is merged.
Any commit you add on one of the integration branches will be lost.

If you need this pull request to be removed from the queue, please contact a
member of the admin team now.
The following options are set: approve

I have successfully merged the changeset of this pull request
into targetted development branches:

:heavy_check_mark: development/1.0

Please check the status of the associated issue S3C-4012.
Goodbye terrydervaux.

authors: bert-e terrydervaux

repo: scality/vmware-ose-scality


text:
Pass a variable to the subject ?

I know it is possible to change the subject of the invitation_instructions mail by setting our own in devise_invitable.fr.yml . I saw that a url var is passed to the translation. How can I set another variable ?
I would like to set the subject to
 %{user} has invited you to join %{url}
Is it possible ?

You can create mailer views in your app and pass any variable you want:
app/views/devise/mailer/invitation_instructions.html.erb
app/views/devise/mailer/invitation_instructions.text.erb

But the views only control the content of the e-mail, right? The subject is defined in the locale file(s). Are there any variables that are passed into that translation string?

Sorry, that's about email content, for email subject you may use headers_for(action, opts) method in the model. :
https://github.com/plataformatec/devise/blob/master/lib/devise/mailers/helpers.rb#L29

DeviseInvitable uses devise methods to send email, deliver_invitation method has options hash which is used in mailer to override parameters of mail method, so you can override deliver invitation in your model to change subject
Original method
      def deliver_invitation(options = {})
        generate_invitation_token! unless @raw_invitation_token
        self.update_attribute :invitation_sent_at, Time.now.utc unless self.invitation_sent_at
        send_devise_notification(:invitation_instructions, @raw_invitation_token, options)
      end

Overrided method:
def deliver_invitation(options = {})
  super(options.merge(subject: ...))
end

Also, you can override devise mailer to change subject. Devise_invitable only uses devise_mail method in mailer, there you can override subject_for method in mailer:
Method from devise:
      def subject_for(key)
        I18n.t(:"#{devise_mapping.name}_subject", scope: [:devise, :mailer, key],
          default: [:subject, key.to_s.humanize])
      end

https://github.com/plataformatec/devise/wiki/How-To:-Use-custom-mailer

authors: Sashkan jabbett scambra


text:
Adding a relation between shapes

Hi, thanks for the great python-pptx library, good work!
I'm wondering how to add a relation between shapes.
I'm doing a basic slide.shapes.add_chart() and it works nice, and I needed to add a caption in this chart, so I added a slide.shapes.add_textbox() and it works nice too.  But I'd like the text box to be included in the chart, ie add a relation from chart to textbox.  This is achieved with rel files AFAICT but can't find an API for that.  I also couldn't find a group feature, apart from the refused PR.
It seems odd that a chart caption is left unrelated to the chart itself.  Customer need to be able to copy/paste the chart and move it around as a whole.
Any idea?

This is not possible as far as I know, but a good test is to work out how to do what you want using the PowerPoint UI. If you can do it from there, it can be done with the XML (although there might not be python-pptx API support for it yet). If you can't do it from the UI, it still may be possible, but that's rare. I just don't think PowerPoint supports that particular operation.
I'm going to close this, but feel free to reopen if you need to.

Hi @scanny thanks for your answer.  I cannot reopen the issue, but would like to do so.  In fact, this issue requests to add support for relations.  I already did the manua modification in Excel and reverse-engineered the XML files.  The only difference AFAICT is the .rels file.  Can you please tell if it is technically possible to add support for this in the python-pptx library.  Any input would be appreciated, I'd be willing to implement it with some guidance.

Please describe in more detail what you did from the UI to get what you're looking for and where you are so far in replicating that in code, and I'll see if I can help explain things.

So, in PowerPoint 2010, when a chart is selected in the slide, in the Insert menu it is possible to add a text box.  This text box will be put in a file called drawings/drawing1.xml, and this file will be referenced in charts/_rels/chart1.xml.rels:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
  ...
  <Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartUserShapes" Target="../drawings/drawing1.xml"/>
</Relationships>

The file drawings/drawing1.xml looks like this:
<?xml version="1.0"?>
<c:userShapes xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart">
  <cdr:relSizeAnchor xmlns:cdr="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing">
    <cdr:from>
      <cdr:x>0.06145</cdr:x>
      <cdr:y>0.06258</cdr:y>
    </cdr:from>
    <cdr:to>
      <cdr:x>0.31487</cdr:x>
      <cdr:y>0.23488</cdr:y>
    </cdr:to>
    <cdr:sp macro="" textlink="">
      ...
    </cdr:sp>
  </cdr:relSizeAnchor>
</c:userShapes>

AFAICT the python-pptx library has no support for those so-called chart user shapes.  I will rename the title to better reflect this.

authors: jbq scanny

repo: scanny/python-pptx


text:
Add support for additional sound mode

Hi,
I have a Denon 3300X AVR, I'm seeing this warning during setup:
Logger: DenonAVR
Source: /usr/local/lib/python3.8/site-packages/denonavr/denonavr.py:1716
First occurred: 6:10:19 AM (1 occurrences)
Last logged: 6:10:19 AM

Not able to match sound mode: 'DOLBY DIGITAL + + NEURAL:X', returning raw sound mode.

Can you please add support for this mode?
Thanks...

@starkillerOG Sorry I have been absent.  Are these the kinds of errors we can fix with the SSDP stuff we were exploring a few months ago?  Specifically, we ask the receiver for a list of all supported sound modes instead of trying to keep up.  A "GetSupportedSoundModes" endpoint?
For reference, some sample XML and "DIY methodology" is here - it ain't pretty folks! https://github.com/scarface-4711/denonavr/issues/117
Furthermore, I would like to do this for "commands" but IIRC we never found a command list in the SSDP?  And we're not confident of backwards compatibility?

@morhimi what version of denonavr are you running?
In the latest version 'DOLBY DIGITAL + + NEURAL:X' is already included so it schould be able to match that sound mode....

@JPHutchins I have searched far and wide but was never able to find a proper list of the supported sound modes in the denonavr xmls, also not in the SSDP stuff. However it would be greath if you could figure out a way to "GetSupportedSoundModes".
Note that we also need to map the sound mode reported to the sound modes that can be set, that is the main problem.

@morhimi what version of denonavr are you running?
In the latest version 'DOLBY DIGITAL + + NEURAL:X' is already included so it schould be able to match that sound mode....

I was using the latest version of Home Assistant as of that date.
I don't see these messages anymore though

closing as I don't see these errors anymore

authors: JPHutchins morhimi starkillerOG


text:
Mina beta2 bugs with mina-unicorn

Maybe it's time to update mina-unicorn to use with latest mina version 1 ?
https://github.com/mina-deploy/mina/issues/420

@hieuhlc Done!
Could you or anybody else test it with their setup and report back here?
It works fine in my apps, but I'm hesitant to push it to rubygems without any external test runs.

Thanks for doing this!
I had some issues with the trailing semicolons, not sure if it's something specific with my setup.
The lines end up being joined with a  &&\n which causes a syntax error.
With the semicolon the resulting code looks like this:
if true; then
  echo 1;
fi; &&
  echo 2

Causing:
test.sh: line 3: syntax error near unexpected token `&&'
test.sh: line 3: `fi; &&'

Without:
if true; then
  echo 1;
fi &&
  echo 2

Works:
1
2

@twe4ked There's only 2 places where && is used in the source code, and there's no if near them.
Could you provide the relevant chunk of the failing shell lines?

I mean that mina joins the commands together with &&.
       bash: -c: line 163: syntax error near unexpected token `&&'
       bash: -c: line 163: `  fi; &&'
       Connection to [snip].com closed.

 !     Run Error

# [snip]
sleep 2; # in order to wait for the (old) pidfile to show up

if [ -e /app/current/tmp/pids/unicorn.pid.oldbin ] &&  kill -0 `cat /app/current/tmp/pids/unicorn.pid.oldbin` > /dev/null 2>&1; then
   kill -s QUIT `cat /app/current/tmp/pids/unicorn.pid.oldbin`;
fi; &&
echo "-----> Stop sidekiq" &&
if [ -f /app/shared/tmp/pids/sidekiq.pid ] && kill -0 `cat /app/shared/tmp/pids/sidekiq.pid`> /dev/null 2>&1; then
# [snip]

@twe4ked Oh, I see.
In my case it wraps the commands into () to avoid such errors:
  if [ -e /unicorn_test/current/tmp/pids/unicorn.pid.oldbin ] &&  kill -0 `cat /unicorn_test/current/tmp/pids/unicorn.pid.oldbin` > /dev/null 2>&1; then
     kill -s QUIT `cat /unicorn_test/current/tmp/pids/unicorn.pid.oldbin`;
  fi;
) &&

# ============================
# === Complete & unlock
(
rm -f "deploy.lock"

But you're right, it'll look better without trailing semicolons.
Thank you for pointing this out.

Mina-unicorn v1.0.1 has been released and published to rubygems with mina 1.0 support.

authors: hieuhlc scarfacedeb twe4ked

repo: scarfacedeb/mina-unicorn


text:
Shouldn't there be a .mesh file?

I installed the plugin and activated it in the project settings. It worked as intended (thank you for that by the way, now I can finally, directly export from VoxelShop to godot <3 ... via magicavoxel file format (edit: found out how to import from voxelshop via collada directly as well).
According to the description, there should be a .mesh file created. I do not see such a mesh file, but the MeshInstance is created and the texture (SpatialMaterial) is set correctly. Where do I find the .mesh and texture now on disk, or is it embedded somewhere?

I found one in a hidden .import folder
(Test-MagicaVox.vox-88cf31d63f382542c86deb530f2173ec.mesh)
I thought there would be one created in the folder the .vox file is in, but ok, found the mesh, issue closed ^^

Oh, the text is outdated, gotta update that. The mesh file is not visible to the user anymore, instead its accessible directly through the .vox file in the filemanager. But yeah, you are still able to find it as .import file. Is there any specific reason that you need the .mesh file itself?

no, was just wondering, because the description said so. Maybe just scared that something went wrong and could be troublesome at a later point

authors: ellogwen scayze

repo: scayze/MagicaVoxel-Importer


text:
Added Lithuanian translations

Please keep in mind that translations are a bit crude as i'm a developer not linguist and Lithuanian is crazy difficult language.
Happy Hacktoberfest!
Povilas

Labai ačiū!
This looks great, thank you for the contribution. It looks like a challenging language, and from everything I read, it's quite distant from English (in category 4).

authors: povilasbaranovas schmich

repo: schmich/marinara


text:
Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/schmupu/ioBroker.lupusec

[ ] [E502] "admin/img/info-big.png" not found, but selectID.js used in index_m.html

Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

fixed

authors: ioBrokerChecker schmupu


text:
Whiterun exterior troops spawns

So someone on nexus mentioned the fact that they failed the battle of Whiterun 3 times because
The Stormcloak troops started spawning on the lever at the lever to the lower bridge once the defend the drawbridge objective was reached
their question was
Is the stormcloaks supposed to have teleporting soldiers/giants during battle of Whiterun?
now
I have a question relating to that, since the only way to the drawbridge is via the ramp behind the archer towers,
Does the stormcloak path finding take them there or do they just spawn in up there?

If their pathfinding is trying to take them there but it's blocked because something is in the way, I think it's normal for them to teleport instead.

them to teleport

The issue they are asking about is actually one I have encountered before which is why I play mostly on god mode, I think after a certain amount of time one spawns in to trigger the next stage.

What I was asking is does the path finding of the Stormcloaks take them up the ramp and to the upper part?

I think it does when I'm attacking. No idea about when the player defends Whiterun.

I think it does when I'm attacking. No idea about when the player defends Whiterun.

As someone how has extensive experience in battle cheese, I can assure you this happens on defence,
I’ll be minding my own business,  killing Ulfrics boys then suddenly out of nowhere the drawbridge drops
(I intentionally lose the battle of Whiterun a lot to trigger the defence scenario)

What I was asking is does the path finding of the Stormcloaks take them up the ramp and to the upper part?

Yes path finding takes troops up the ramp. Most troops just fight but 2 of them are programmed to go after the objective.

If their pathfinding is trying to take them there but it's blocked because something is in the way, I think it's normal for them to teleport instead.

This is also true. There are invisible markers at each of the siege phases (there are 5 from attack scene with field co to the final objective being between before the troops run in). As troops are killed, depending on the phase, the troop would be reset at one of these invisible markers. I will check to see if there are any of these markers right next to the bridge. This happened in vanilla but none of the troops were programmed to pull the lever so I guess no-one ever noticed.

So I verified that the respawn markers all spawn at around the front gate where the barricade is. But they will pathfind all the way to the second gate lever. Best strategy is to field the choke point and make sure nothing gets passed :)

authors: Eve-Knight LABWAZHERE schofida

repo: schofida/CWORR


text:
Also support build sanity check on <3.11

/cc @mattip

Thanks, LGTM. Maybe add a comment that pytest swallows the chained error, apparently since it occurs when importing conftest.py very early in pytest startup

authors: mattip stefanv

repo: scientific-python/spin


text:
Support for TLorentzVector not in std::vector?

I am trying to read TLorentzVector type branches using uproot, and in tree.show() I see None as the type (and when doing tree['branchName'].array() the error is: "cannot interpret branch 'branchName' as a Python type." However, I also have a std::vector of TLorentzVectors which can be read.
After reading issue #57 I am thinking there is just not support for reading TLorentzVectors that are not in vectors. If there is a way around this issue it would be greatly appreciated!

That was added in a later version, though I don't remember which one. (pip install with a -U.) We explicitly tested single TLorentzVectors. Reopen this if you find that the latest version doesn't work for you— that wouldn't be a feature request, but a bug report.

Hi again, I made sure I am on the latest version (2.9.2) and tree.show() still gives None for the single TLorentzVectors (but works for the vector of TLorentzVectors).

Would it be possible for you to share the file that you are trying to read?

Sure, I've emailed you.

authors: imruffin jpivarski reikdas

repo: scikit-hep/uproot


text:
[FEATURE] Enable memory tracking on regression tree algorithms (single-target and multi-target)

The classification version of Hoeffding Tree implements mechanisms for ensuring the memory usage of the models does not exceed a chosen maximum. This action is implemented by the enforce_tracker_limit function and follows the ideas of Richard Kirkb et al. (2007). The function manages inactive and active learning nodes according to the current memory usage. Next, the mentioned function is presented:
https://github.com/scikit-multiflow/scikit-multiflow/blob/e054d7fbd6c9d6c781a4dd6843329ad748880a22/src/skmultiflow/trees/hoeffding_tree.py#L1299-L1328
The regression tree algorithms invoke the enforce_tracker_limit in the same way as in the classification tree, but they do not implement this method.

Single-target regression:

https://github.com/scikit-multiflow/scikit-multiflow/blob/e054d7fbd6c9d6c781a4dd6843329ad748880a22/src/skmultiflow/trees/regression_hoeffding_tree.py#L593-L594

Multi-target regression:

https://github.com/scikit-multiflow/scikit-multiflow/blob/e054d7fbd6c9d6c781a4dd6843329ad748880a22/src/skmultiflow/trees/multi_target_regression_hoeffding_tree.py#L821-L822
Would the solution be just removing the current implementations for regression (with the pass statement) and letting the implementation of the Classification Hoeffding Tree be used instead?
Does anyone have some opinion on that matter?

I don't think this is straightforward. My first concern arises from this line:
https://github.com/scikit-multiflow/scikit-multiflow/blob/e054d7fbd6c9d6c781a4dd6843329ad748880a22/src/skmultiflow/trees/hoeffding_tree.py#L1309
The promise calculation is specific for classification. What would be the proper/analogous way to do this for regression?

You are right. The promise calculation takes into account the distribution of the classes in each leaf node. I thought this decision would be simpler to implement. As you mentioned, defining the likelihood of a node being split is not a straightforward decision.
I have some ideas regarding that question. Maybe some procedure considering the variance of the data in the current node could be a starting point. For example, we could reason that higher variances in a node would imply in a high potential for a split. But for sure, that is not a simple matter.
I will perform a little bit of research on this subject, and try to come with a possible solution. Any other ideas are welcome!

Are there any updates on this? I like the idea of using the leaf's variance since it is straightforward. We could also consider the count of observed samples.

I recently performed some preliminary tests, and it seems that the linear correlation could be a better option.
Nevertheless, to calculate correlations incrementally, the trees would have to also monitor an additional statistic: the sum of the feature values times the target. This change is not straightforward anymore since multiple parts of the Hoeffding Tree regressor code must be changed.
Nevertheless, I intend to perform other tests using as, you mentioned, the count of observed examples, for example.

authors: jacobmontiel smastelini

repo: scikit-multiflow/scikit-multiflow


text:
pkg/private/common: move IfIDType out of private/common and to its own package

Given that IfIDType represents generic interface IDs as used in segments distributed by the control service, it seems that it shouldn't be private either, even if it currently can be. So the new package isn't private.

This change is

repo: scionproto/scion


text:
[Requirement] Write SQW files

Executive summary
We need to write reduced histogram data to SQW files for further processing in HORACE.
Context and background knowledge
See the JIRA ticket: https://jira.esss.lu.se/browse/DMSCSPEC-51?jql=labels+%3D+Reduction
Note that there is no specification of the SQW file format. @henrikjacobsenfys is trying to get one from people at ISIS.
Inputs
Histogrammed intensity as a function of Q and omega.
Methodology
Write a file using whatever tools make sense.
Outputs
An SQW file.
Which interfaces are required?
Integrated into reduction workflow, Python module / function
Test cases
Load files with HORACE. Needs setting up MATLAB in CI.
We can also compare with existing files.
Comments
No response

We can test with the Python version of pace_neutrons, which doesn't require MATLAB. It does require MATLAB Runtime something, but it should be easier to install than MATLAB.

authors: henrikjacobsenfys jl-wynen

repo: scipp/essspectroscopy


text:
DOC: Add more information to entropy docstring

Reference issue

Closes gh-3421
What does this implement/fix?

This PR adds information to the docstring for scipy.stats.entropy giving an overview of the relationship between entropy, Kullback-Leibler divergence, and cross-entropy. The significance of these quantities in information theory is also briefly stated. In addition, relative entropy is explicitly given as a synonym for Kullback-Leibler divergence and an example has been added showing how to calculate cross entropy using the function entropy.
Additional information

There was concern expressed in gh-3421 that the behavior of entropy may be surprising to some users. Rather than adding new functions to the API and/or making backwards incompatible changes to entropy, I think it's reasonable just to add more information to the docstring to clarify the behavior of the function. @mdhaber let me know what you think.

A few more suggestions in steppy/scipy#1, but this is close!

Thanks @mdhaber for the improvements!

authors: mdhaber steppi

repo: scipy/scipy


text:
MAINT: optimize: tighten _group_columns

Generates a few hundred lines fewer C code.
Interestingly, cdef bool is a pessimization, so I removed it. Cython is smart enough to figure out a variable is boolean, but cdef bool forces it to be a Python bool.

the test errors here are real

@rgommers All green!

@nmayorov since this is your code, do you want to review this?

Pushed a new version that address @nmayorov's concerns.

It looks all correct now. And for Cython usage improvements I totally trust @larsmans

Merged. Thanks Lars, Nikolay.

authors: larsmans nmayorov rgommers


text:
🛑 Socoding Discourse is down

In ef6d293, Socoding Discourse (https://socoding.cn/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Socoding Discourse is back up in cb7126e.

repo: scnu-socoding/status