text:
Make Corrections to MENACE and CHAOS tokens

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

added in https://github.com/solana-labs/token-list/commit/e02adb1a7aae17253acf9ce762849b87164fe711 and https://github.com/solana-labs/token-list/commit/4fbf53beb5db61f05cec2b23f24808de08534834

authors: BabyMenace keone


text:
Dragged  mp3 file gets renamed as "foo.mp3_.mp3"

Eg https://timbl.com/timbl/Public/Test/Music/Les Hayden/Proverbs/Les_Hayden_-01-Gift_Horse.mp3.mp3
The algorithm should notice that the mime type of the file is fine as it .. and not add another extension.

That file was made by dragging a file from the desktop onto the green plus of the folder.
(Free music for testing from the Free Music Archive https://freemusicarchive.org/music/Les_Hayden/Proverbs_1720 )

hmm
> mime.lookup('foo.mp3')
'audio/mpeg'
> mime.extension('audio/mp3')
'mp3'
> mime.extension('audio/mpeg')
'mpga'
> mime.lookup('foo.mpga')
'audio/mpeg'
>

I don't know what is your NSS version.
I tried to drag a .mp3 file to a pod with NSSv5.2.0 and the file on the filesystem appears to be :
file.mp3_.mp3$.mp3
I think it indicates that the solution can only be a combination of solid-ui that adds _.mp3 and NSS that on top adds $.mp3.

I think that the check if contentType is correct for the file extension should not be done in 2 different places
If done in NSS it should be deleted in solid-ui
the check in NSSv5.2.0 will display in solid-ui file.mp3 and on the filesystem file.mp3$.mp3
that is not satisfactory. I think that in such cases the file in the filesystem should be file.mp3 and in general 'file.ext$.ext' should always be 'file.ext'

(I don't know if there is an other case than mp3 in mime-types)

NSS issue is separate and fixed in https://github.com/solid/node-solid-server/pull/1328

https://github.com/solid/solid-ui/pull/147 solves the point suppressing double check in solid-ui and NSS

@bourgeoa I've tested the latest version of dev on node-solid-server (which has https://github.com/solid/node-solid-server/pull/1336 merged into it), and it seems to me that we don't need a fix for solid-ui.
@timbl I suspect this to be the case for your PR as well (https://github.com/solid/solid-ui/pull/144).
With the fix in NSS, when I drag and drop a mp3 file onto the green plus icon, the resulting filename for  file_example_MP3_700KB.mp3 is still file_example_MP3_700KB.mp3 (not file_example_MP3_700KB.mp3_.mp3 which happened earlier).
Am I missing something, or could we close these two PRs?

I think you are missing something.  I am not sure why yours works without #144.  The problem is for any mime type extension where  mapping is not symmetrical, the old code will mistakenly think that the extension is wrong when in fact it is right.     If your  case works, then do you still have at the console these results?
> mime.lookup('foo.mp3')
'audio/mpeg'
> mime.extension('audio/mp3')
'mp3'
> mime.extension('audio/mpeg')
'mpga'
> mime.lookup('foo.mpga')
'audio/mpeg'
>

The extension must be allowed if EITHER it is the right extsnion for the mime type OR th emime type is the right one for the extension.   Maybe when there > 1 extsnsions, then the module gives randomly each one... so it will fail randomly?  Not sure why yours worked.,  Not   a function of NSS at all.

Not a function of NSS at all.

@timbl It depends.
In NSS 4.x, a file that was POST/PUT to the server would need to have the correct extension, or NSS would think it was Turtle.
In NSS 5.x, only the content type matters.
So why is Mashlib adding this extension?

https://github.com/solid/solid-ui/pull/147 solves the point suppressing double check in solid-ui and NSS

@timbl

Not a function of NSS at all.

In NSS 5.x the content is reflected in the filesystem extension :
. foo.txt --> text/plain
. foo.txt$.ttl --> text/turtle
in each case mashlib and any app see foo.txt and real contentType (the $ extension if any is dropped)

It is a mime-type problem identified in jshttp/mime-types#23, that do not concern only mp3 extension. That the reason for the fix in NSS

mashlib actually for foo.mp3 (audio/mp3) mashlib returns foo.mp3_.mp3 and NSS 5.x doing the same check used to return foo.mp3_.mp3$.mp3 (in the filesystem) --> after NSS fix NSS return foo.mp3_.mp3
mashlib with your fix foo.mp3 is kept --> NSS used to return foo.mp3$mp3 --> after NSS fix NSS returns foo.mp3
with https://github.com/solid/solid-ui/pull/147 and without your fix mashlib keeps foo.mp3 and NSS used to return foo.mp3$mp3 --> after NSS fix returns foo.mp3 on the filesystem

source: gharchive/issue

authors: RubenVerborgh bourgeoa megoth timbl

repo: solid/folder-pane

license: MIT

license_type: permissive

license_source: github-api


text:
Repositories to be moved

As per https://github.com/solid/team/issues/22, this issue tracks all repositories that need to be moved.
SolidOS / Mashlib projects
@theRealImy Are you willing to take the lead in this move? We can use https://github.com/solidos

[x] https://github.com/solid/mashlib @theRealImy
[x] https://github.com/solid/solidos @theRealImy
[x] https://github.com/solid/activitystreams-pane @theRealImy
[x] https://github.com/solid/chat-pane @theRealImy
[x] https://github.com/solid/contacts-pane @theRealImy
[x] https://github.com/solid/data-kitchen @theRealImy
[x] https://github.com/solid/demo-notes @theRealImy
[x] https://github.com/solid/folder-pane @theRealImy
[x] https://github.com/solid/form-playground @theRealImy
[x] https://github.com/solid/issue-pane @theRealImy
[x] https://github.com/solid/markdown-pane @theRealImy
[x] https://github.com/solid/meeting-pane @theRealImy
[x] https://github.com/solid/money-pane @theRealImy
[x] https://github.com/solid/pane-registry @theRealImy
[x] https://github.com/solid/profile-pane @theRealImy
[x] https://github.com/solid/project-pane @theRealImy
[x] https://github.com/solid/solid-logic @theRealImy
[x] https://github.com/solid/solid-pane-source @theRealImy
[x] https://github.com/solid/solid-panes @theRealImy
[x] https://github.com/solid/solid-tutorial-rdflib.js @theRealImy
[x] https://github.com/solid/solid-ui @theRealImy
[x] https://github.com/solid/solidos-module-interface @theRealImy
[x] https://github.com/solid/source-pane @theRealImy
[x] https://github.com/solid/userguide @theRealImy

Node Solid Server and its authentication libs
@bourgeoa Could you take the lead? I suggest a new organization to bundle all of the below.

[ ] https://github.com/solid/node-solid-server @bourgeoa
[ ] https://github.com/solid/acl-check @bourgeoa
[ ] https://github.com/solid/jose @bourgeoa
[ ] https://github.com/solid/keychain @bourgeoa
[ ] https://github.com/solid/kvplus-files @bourgeoa
[ ] https://github.com/solid/node-solid-ws @bourgeoa
[ ] https://github.com/solid/oidc-auth-manager @bourgeoa
[ ] https://github.com/solid/oidc-op @bourgeoa
[ ] https://github.com/solid/oidc-rp @bourgeoa
[ ] https://github.com/solid/oidc-rs @bourgeoa
[ ] https://github.com/solid/solid-auth-client @bourgeoa
[ ] https://github.com/solid/solid-auth-oidc @bourgeoa
[ ] https://github.com/solid/solid-multi-rp-client @bourgeoa

Independent Test Suite for Solid
@bourgeoa Could you take the lead? I suggest a new organization to bundle all of the below.

[ ] https://github.com/solid/test-suite @bourgeoa
[ ] https://github.com/solid/solid-crud-tests @bourgeoa
[ ] https://github.com/solid/monetization-tests @bourgeoa
[ ] https://github.com/solid/web-access-control-tests @bourgeoa
[ ] https://github.com/solid/webid-provider-tests @bourgeoa

Inrupt-led projects

[ ] https://github.com/solid/access-control-policy @matthieubosquet
[ ] https://github.com/solid/access-token-verifier @matthieubosquet
[ ] https://github.com/solid/conformance-test-harness @edwardsph
[ ] https://github.com/solid/eslint-config-base @matthieubosquet
[ ] https://github.com/solid/solid-oidc-tests @acoburn
[ ] https://github.com/solid/specification-tests @edwardsph
[ ] https://github.com/solid/test-idp @edwardsph

Various personal projects
@RubenVerborgh has created issues in all of the following

[ ] https://github.com/solid/arduino-solid-server
[ ] https://github.com/solid/datacommons-solid
[ ] https://github.com/solid/folder-table
[ ] https://github.com/solid/food-allergy
[ ] https://github.com/solid/github-solid
[ ] https://github.com/solid/gitter-solid
[ ] https://github.com/solid/msgraph-solid
[ ] https://github.com/solid/solid-auth-fetcher
[ ] https://github.com/solid/solid-cli
[ ] https://github.com/solid/solid-email
[ ] https://github.com/solid/solid-node-client
[ ] https://github.com/solid/solid-notifications
[ ] https://github.com/solid/solid-rest
[ ] https://github.com/solid/solid-sign-up
[ ] https://github.com/solid/solid-signin-ui
[ ] https://github.com/solid/solid-takeout-import
[ ] https://github.com/solid/solid-tutorial-angular
[ ] https://github.com/solid/solid-tutorial-pastebin
[ ] https://github.com/solid/webmonetization

Thank you, @theRealImy, that was super fast!

As you may now the move from solid to SolidOS organization did not went as well as expected. Links to icons stored in solid/solid-ui gh-pages were lost and all public and private server (NSS or CSS) using a version of mashlib prior to 1.8.2 are not functional.
This is an unforeseen situation but not a fair one for users.

Reverting solid-ui temporarily to solid organisation was not possible @theRealImy and I were not owner on solid organization.
@RubenVerborgh @timbl could you make @bourgeoa and @theRealImy owner on solid organization
to resolve this we need to recreate part of solid-ui in https://solid.github.io/solid-ui/.... and find a way to lock any new update on https://github.com/solid/solid-ui afterwards.

@bourgeoa Shall we create an empty solid-ui repository under /solid, where (only) the assets can be placed?
And can the source code be adjusted such that it uses local assets?

@RubenVerborgh I like the suggestion -> lets try it.

At https://github.com/solid/solid-ui; @theRealImy and @theRealImy are admins.

I saw that user-stories have been moved and archived, even though it is not on the list, and I don't remember that having been discussed. Even though we haven't treated people's user stories with appropriate respect, they are are there as a low-threshold way of making contributions, and as recent as this month, they have been mentioned in the contribution guide. Let's not get overzealous about these moves and start to break things!

I saw that user-stories have been moved and archived, even though it is not on the list,

I did a sweep for old/inactive but in-scope repositories on /solid, and given that https://github.com/solid/user-stories hadn't been touched in 2 years, I assumed it was inactive.

Let's not get overzealous about these moves and start to break things!

Certainly not, thanks for the sharp eye. Moved it back to https://github.com/solid/user-stories

I suggest that all test repos should be under the solid-contrib org

The Solid-OIDC tests have already moved once. I would like to avoid too many moves, especially as this location is part of the Solid-OIDC specification (and that link is currently broken).
I will bring this up at next week's Authentication panel meeting. I think it would be more sensible to move the tests into the solid/solid-oidc repository itself and serve that app from the corresponding GH Pages location. This way we will have a more stable URL.

All done, thanks for your help!

authors: RubenVerborgh acoburn bourgeoa kjetilk theRealImy

repo: solid/team


text:
Improve documentation

Remediate #11

This PR shouldn't change any solidity files.

@ElliotFriedman once we merge Timelock into main, the changes made to the other files will disappear. The problem started because I overlooked running prettier on multisig_proposal branch, and CI failed to detect it, will investigate and resolve the issue with CI. Anyway, I'll remove those files from this branch.

source: gharchive/pull-request


text:
🛑 vkitae.kz is down

In a9a0b50, vkitae.kz (https://vkitae.kz/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: vkitae.kz is back up in 5b87e10 after 2 hours, 38 minutes.


text:
Invalid parser option

Solo-python crashes just after running. It looks like one of the parser options are invalid. Log below.
Version: solo-python==0.0.6
Python: Python 3.7.2
OS: Fedora 29
Installed without errors via  pip3 install solo-python --user.
$ solo
Traceback (most recent call last):
  File "/home/sz/.local/bin/solo", line 7, in <module>
    from solo.cli import solo_cli
  File "/home/sz/.local/lib/python3.7/site-packages/solo/cli/__init__.py", line 17, in <module>
    from solo.cli.key import key
  File "/home/sz/.local/lib/python3.7/site-packages/solo/cli/key.py", line 18, in <module>
    from solo.cli.update import update
  File "/home/sz/.local/lib/python3.7/site-packages/solo/cli/update.py", line 41, in <module>
    help="Development option: pull firmware from http://localhost:8000",
  File "/usr/lib/python3.7/site-packages/click/decorators.py", line 170, in decorator
    _param_memo(f, OptionClass(param_decls, **attrs))
  File "/usr/lib/python3.7/site-packages/click/core.py", line 1459, in __init__
    Parameter.__init__(self, param_decls, type=type, **attrs)
TypeError: __init__() got an unexpected keyword argument 'hidden'

Are you using an old version of click? Current is 7.0, should have hidden: https://github.com/pallets/click/pull/500

Hi!
Yes, I do apparently:
$ pip3 freeze | grep click
click==6.7
click-completion==0.3.1

Update with pip3 install --upgrade click --user helped, thank you! In that case adding a hard version dependency would prevent this issue to occur on other installations.

Fixed in v0.0.7

authors: nickray szszszsz

repo: solokeys/solo-python


text:
moving of uninitialized memory

right now miri can't do
pub struct Foo {
    inner: i32,
}

fn main() {
    unsafe {
        let foo = Foo {
            inner: std::mem::uninitialized(),
        };
        let bar = foo;
    }
}

but this is something the standard library does: https://github.com/rust-lang/rust/blob/master/src/libstd/sys/unix/mutex.rs#L105
Not sure what the rules are behind that yet, but to the best of my knowledge UB is when you actually make a choice depending on undefined memory and not just copying undefined bytes around.

This is actually a regression I caused with https://github.com/solson/miri/commit/244ae8eac7b4e0ea668f69feb25c525fb4b22281. :(
It only affects moves of uninitialized primitive types (for which try_read_value tries to read a value). I'm interested in pursuing a fix I discussed with @eddyb involving adding an undefined boolean flag to PrimVal, bringing it closer to being like a slice of an Allocation. Currently, Allocations have bytes, relocations, and an undef mask, while PrimVal has only bytes and a relocation. I haven't investigated all the consequences of that change yet, though.

I'm working on the refactoring I described above over in https://github.com/solson/miri/tree/primval-undefined, except I turned PrimVal into an enum instead of adding a field.

authors: oli-obk solson

repo: solson/miri


text:
35 feat mapa acompanhar personagem

Descrição

O que foi feito?
Foi adicionado a movimentação do personagem pelo mapa e a possibilidade de entrar numa fase em que o personagem está em cima a partir da tecla ENTER.

Change type

[x] fix
[ ] Nova funcionalidade
[ ] Documentação
[ ] Refatoração
[ ] Outros

esse ultimo commit(fix: retirada dos arquivos e função de deslocamento)tá com um erro, provavelmente idiota e fácil de corrigir que eu não consegui ainda

repo: sombras-do-sertao/sombras-do-sertao


text:
Fix package file download

It's returning 500 with SocketError: getaddrinfo: Name or service not known

Closed by PR #711
The bug wasn't here but in the definition of the ENV variable of the CATALOGUE's URL

repo: sonata-nfv/son-gkeeper

license_source: bigquery


text:
/api/unread_message

https://www.reddit.com/dev/api#POST_api_unread_message

0473dd91bd9d7a312d96985916d3b26ef513327a

repo: sonsongithub/reddift

license: mit


text:
Typo in DRM-GBM backend Command

Hi, Please correct below typo
Original Command : DESTRO_FEATURES_append = " systemd"
Corrected Command: DISTRO_FEATURES_append = " systemd"

Thanks a lot.

authors: HidenoriMatsubayashi Khalid-Faisal

repo: sony/meta-flutter


text:
Refactor/user

📄 Summary

teacher, student table을 user table로 합병

🔨 Tasks

teacher, student -> user
관련 로직 다 바꿈

🙋🏻 More
여기서느껴ㅅ다 테스트의필요성...

뿌롱투 개발자의 요청으로... 노리뷰막머지하겟다

repo: soolung/simblue-server


text:
Com 2727

TESTS  :computer:

[x] J'ai testé sur iphone
[x] J'ai testé sur android

POINTS D'ATTENTION POUR CETTE PR  :warning: -np

[ ] J'ai ajouté une variable d'environnement

[ ] Si oui, J'ai précisé sur le slite de déploiement ce qu'il fallait mettre à jour

[ ] Mes changements entrainent une incompatibilité avec l'ancienne version de l'api

[ ] Si oui, j'ai noté dans le slite de déploiement qu'il faut fusionner l'api dans staging avant d'envoyer le build

POUR TESTER LA PR  :white_check_mark:

Périmètre interfaces / rôles : ETQ Auxiliaire

Cas d'usage : sur la page d'horodatage je vois les heures internes

Comment tester ? :

Se connecter ETQ auxiliaire
Ajouter des interventions et des heures internes sur le planning de l'auxiliaire
Verifier que tous les evenements apparaissent sur la page d'horodatage

Si tu as lu cette description, pense a réagir avec un :eye:

Je trouvais le fichier trop long et lourd avec les 2 reducers. Je propose de definir le reducer eventReducer dans un autre fichier, j'ai preferé le laisser dans le dossier EventCell car il ne sera utilisé qu'ici mais la question de le mettre dans le dossier reducers peut se poser.

repo: sophiemoustard/compani-outils


text:
[#32] 사용자의 활동이 비었을 때의 예외처리 추가

관련 이슈
#32
작업 내용

test 라이브러리 버전 불일치 문제 수정
변경 사항에 대해서만 테스트 코드 작성(TDD)
유저 정보 조회시 활동이 없을 경우 hasActivities를 플래그로 내려준다.
누락된 User 엔티티의 activities 타입에 null 추가

이슈가 너무 늦게 발견되었고,,, 개발 마감 기한이 임박해 우선 merge합니다... ㅠㅜ

repo: sopt-makers/sopt-crew-backend


text:
feat: 끝말잇기 채팅 컴포넌트 마크업

🤫 쉿, 나한테만 말해줘요. 이슈넘버
#802
한 번 끊어갑니다!
🧐 어떤 것을 변경했어요~?

🤔 그렇다면, 어떻게 구현했어요~?

❤🔥 당신이 생각하는 PR포인트, 내겐 매력포인트.

📸 스크린샷, 없으면 이것 참,, 섭섭한데요?
https://github.com/sopt-makers/sopt-playground-frontend/assets/73823388/2fb5b37b-9b03-4b41-b286-3d587514f835

PR 대상 브랜치를 잘못 설정해서 닫습니다!

repo: sopt-makers/sopt-playground-frontend


text:
DON'T Merge! Testing

Task
[DOPS-2406]: Limit the execution time.
Changes

Testing.

Tests finished.

repo: sora-xor/polkaswap-exchange-web


text:
Add llvm_toolchain support for darwin-arm64

Two main changes:

Update the toolchain/tools/llvm_release_name.py script to properly resolve the LLVM release name for Darwin22 ARM64
Update the llvm_toolchain toolchain definition to support Darwin ARM64 compilation

These changes can be tested with https://github.com/sorbet/sorbet/compare/master...Morriar:sorbet:at-arm64?expand=1:
$ ./bazel build //main:sorbet --config=release-mac-arm64
$ file bazel-bin/main/sorbet
bazel-bin/main/sorbet: Mach-O 64-bit executable arm64

This is no longer needed with the latest changes on the sorbet branch: https://github.com/sorbet/bazel-toolchain/compare/c07e91430f01996a258304c452226d0f8d950306..8d9165fd3560f6ff50bc4794972f714f4ba2adaa.

repo: sorbet/bazel-toolchain


text:
ssh pass doesn't get saved, continues to prompt

Description

Recently pulled from master and updated, ssh-add no longer appears to run on my ssh ids
Expected behavior

my defined ssh-ids should be added
Actual behavior

I get prompted for every ssh action
Steps to Reproduce
If I revert ssh/init.zsh to this:
  if (( ${#_ssh_identities} > 0 )); then
	ssh-add "$_ssh_dir/${^_ssh_identities[@]}"  < /dev/null 2> /dev/null
  else
	ssh-add  < /dev/null 2> /dev/null
  fi

everything works as expected, or at least as it did before (I login to tty, I put my username/pass, and then am prompted for my ssh password)
I noticed this change: https://github.com/flying-sheep/prezto/commit/5a72d7c31f72c99c984964e65ec6d2471098d996
Am I supposed to define SSH_ASKPASS somewhere? I can't use x11-ssh-askpass because I don't have x11 loaded at this point in time (as I saw in the change before this one). I log in, and I run startx if I want to initiate an xsession. I'd like for my ssh-agent to behave regardless of environment.
Versions

Prezto commit: master branch
ZSH version: 5.4.2
OS information: Linux 4.13.7-1-ARCH

After reviewing a number of the other PRs relating to this, I've thrown together this one to try and fix this... again.
If you could try that branch and let me know if it fixes the problem for you, that would be much appreciated.

Thank you for such a quick response, however it's quite late here, I have replace the relevant line and will give feedback on login tomorrow

Sounds good. I'd like to get feedback from the person who originally removed the input redirection as well, since I don't completely understand why it was removed yet... so I'm not in a huge rush.

This may not be the right place to ask this either but, when I enable 'gpg' in conjuction with 'ssh', I get a 'gpg-agent is already running' on every term open. Any ideas about that?

Unfortunately, I don't... I'm not very familiar with the gpg package.

sorry: i think #1480 fixed it the correct way. the man page states:

If ssh-add needs a passphrase, it will read the passphrase from the current terminal if it was run from a terminal. If ssh-add does not have a terminal associated with it but DISPLAY and SSH_ASKPASS are set, it will execute the program specified by SSH_ASKPASS (by default “ssh-askpass”) and open an X11 window to read the passphrase. This is particularly useful when calling ssh-add from a .xsession or related script. (Note that on some machines it may be necessary to redirect the input from /dev/null to make this work.)

so the only way that’s guaranteed to work everywhere is

require the user to set SSH_ASKPASS and DISPLAY
use redirect </dev/null

Thanks for clarifying @flying-sheep. I think you're right... and after testing in an Ubuntu VM, the current code seems to work as expected. If I open a tty first, I'm prompted for the password and my ssh identity is added... if I open a terminal first, the same thing happens... and it's shared properly between both the terminal and the tty.
I don't think the issue @leshow is running into is what I originally thought.
One thing that's good for testing this: you can run ssh-add -l to list keys and ssh-add -D to clear all keys.

@flying-sheep I would assume there are plenty of of people that use zsh on their servers, myself included. Under those scenarios I never enter an xsession. What would my value for DISPLAY and SSH_ASKPASS be under those circumstances? Because this is essentially the problem I'm running into.

@leshow DISPLAY would be blank and it wouldn't trigger the code which uses ssh askpass... it should ask in the terminal for your password using the askpass built-in to ssh-add.

I have already tried the init.zsh in https://github.com/sorin-ionescu/prezto/pull/1480/files and It did not ask me for a password after logging in to tty.

FYI, https://github.com/sorin-ionescu/prezto/pull/1490/files this didn't work for me

I think I see the problem. If there are no identities defined, it essentially runs ssh-add "" which doesn't load any identities.

I've pushed a fix in 109864429cea5763e57c77f060835bfcdbefb09f. This was tested in X in an Archlinux VM, but I'm fairly sure this will solve the problem elsewhere. The problem was that the ssh identities were being expanded to an empty string, which meant ssh-add thought it wasn't supposed to load any. Removing the quotes should fix the expansion.
Thanks for your patience! If you're still seeing this issue, let me know and I'll re-open this for more investigation.

very nice! is it possible that there’s a space in one of the identities (which would probably break the quoteless version)?

I would assume there are plenty of of people that use zsh on their servers, myself included. Under those scenarios I never enter an xsession. What would my value for DISPLAY and SSH_ASKPASS be under those circumstances? Because this is essentially the problem I'm running into.

as @belak said: it would be empty and it wouldn’t work. that’s because ssh-add’s two modes (terminal and SSH_ASKPASS) are both for manual input. SSH_ASKPASS is for manual graphical input. using SSH_ASKPASS for automation is just a thing people do, not the purpose of ssh-add.
so you have to say “yeah, sure, i’m in a graphical environment (DISPLAY) and will now type my password using the graphical prompt (SSH_ASKPASS)”. but then you use a CLI application that fills in your password automatically instead.
and that’s why you have to set both DISPLAY and SSH_ASKPASS.

I did some initial testing with a space and it seemed to work, even with the quoteless version. I believe it's because we're doing filename expansion which doesn't need the quotes.

cool! maybe we should add a comment explaining that as well, before someone touches this piece of highly sensitive code.

so you have to say “yeah, sure, i’m in a graphical environment (DISPLAY) and will now type my password using the graphical prompt (SSH_ASKPASS)”. but then you use a CLI application that fills in your password automatically instead.

But what if you have neither DISPLAY, nor have access to a graphical prompt? In that case, will it now just run successive ssh-add's on all the keys lsted in the module?

But what if you have neither DISPLAY, nor have access to a graphical prompt?

hmm, i’m not sure we’re on the same page here. please read carefully. what i’m talking about is that ssh-add is designed to either

read the password from the terminal, or
read it from a graphical prompt (the binary of which is specified by SSH_ASKPASS)

so according to the documentation, if you don’t have DISPLAY or access to a graphical prompt, you have to type your password into the terminal manually.

[But I want to (ab)use SSH_ASKPASS to provide my password automatically]

OK, so you want to trick ssh-add into thinking it’s in a graphical environment, so that it will use SSH_ASKPASS. to do that, you can

either set DISPLAY='dont-mind-me' temporarily just to trick ssh-add, and unset DISPLAY after loading the prezto ssh module
or patch and recompile ssh-add to not check for it

Thank you for the explanation @flying-sheep
@belak https://github.com/sorin-ionescu/prezto/commit/109864429cea5763e57c77f060835bfcdbefb09f
This works great for me, same behaviour as before (asks my ssh pass on login)

ideally, you’d set it directly before calling ssh-add and unset it after. however, as prezto loads the ssh module, which in turn calls ssh-add, this this is AFAIK not possible from the suer side.
we could maybe add a zstyle module option to the ssh module, which sets DISPLAY for you to trick ssh-add…
but if 109864429cea5763e57c77f060835bfcdbefb09f fixes your use case already, then we don’t have to bother.

It could be done manually with some hackery... I believe by calling zmodload ssh either at the bottom of zpreztorc or at the end of the zshrc.

i see, so just loading it separately from the other modules. OK, fine, that solves it then.

authors: belak flying-sheep leshow

repo: sorin-ionescu/prezto


text:
init.zsh:123 yields parse error near zle

Description
init.zsh, line 123 prior to and including git commit c7fe32f2639f4643be0fff034dd58dacc9b29e10 issues an error "parse error near zle".
Expected behavior
No error is displayed upon a new zsh shell.
Actual behavior
This error is displayed upon a new zsh shell session:
$HOME/.zprezto/modules/editor/init.zsh:123: parse error near zle'`
Steps to Reproduce

Install zprezto per instructions in the Github page
start a new zprezto session by invoking zsh

Versions

Prezto commit: c7fe32f2639f4643be0fff034dd58dacc9b29e10
ZSH version: zsh 5.8 (x86_64-apple-darwin19.3.0)
OS information: macOS 10.15.3

Thank you for any insight into this--this has been going on across many zprezto releases, however, I finally decided to dig into it.

Hi! It looks like you're using a fork of prezto (https://github.com/chauncey-garrett/zsh-prezto) and not actually this repo, so you'd be better off switching to this repo or filing this issue there.
In any sense, it looks like a missing fi on line 109 of modules/editor/init.zsh in that fork.
Additionally, because it's not actually related to this repo, I'm going to close this for now.

Hi Kaleb,
Sorry for the confusion, and thank you so much for the response!
On Tue, Mar 10, 2020 at 1:16 PM Kaleb Elwert notifications@github.com
wrote:

Hi! It looks like you're using a fork of prezto (
https://github.com/chauncey-garrett/zsh-prezto) and not actually this
repo, so you'd be better off switching to this repo or filing this issue
there.
In any sense, it looks like a missing fi on line 109 of
modules/editor/init.zsh in that fork.
Additionally, because it's not actually related to this repo, I'm going to
close this for now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sorin-ionescu/prezto/issues/1801?email_source=notifications&email_token=AAFKANU4TWVABRACQFNKTQLRGZYYXA5CNFSM4LFDU4O2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOMKTEI#issuecomment-597207441,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFKANV2RVZFO3H55ATWNZTRGZYYXANCNFSM4LFDU4OQ
.

authors: belak sinkr


text:
-bash: pgweb: command not found

I am using linux CentOS VPS server , I have manually downloaded pgweb_linux_amd6.zip and move on the following /usr/local/bin/pgweb
still I am getting
-bash: pgweb: command not found
while if I run manually from pgweb folder i also got
-bash: pgweb: command not found
I have followed these linux steps but not worked
https://github.com/sosedoff/pgweb/wiki/Installation
Any help will be appreciated alot

does not appear to be an issue with archives - you probably not extracting the archive in a right place or not extracting it at all. try to download the release archive manually and run unzip on the file (dont move stuff around just yet). you should be able to see and execute the binary. after that is working you can move pgweb to any directly that's part of PATH env var so you can run pgweb without specifying the full path.

authors: sosedoff tayyabvohra

repo: sosedoff/pgweb


text:
Sharing responsibility?

Hi @sourabh-joshi,
Thanks for maintaining this repository for all these years! I made the initial PR to auto-create the JSON object containing all email content https://github.com/sourabh-joshi/awesome-quincy-larson-emails/pull/1 and I'm also a moderator for freeCodeCamp (https://github.com/orgs/freeCodeCamp/people?query=erictleung)
I'm writing this "dummy PR" to open a discussion about the future of this repository. I couldn't help notice that it took over a month after the February 5th, 2024 commit (https://github.com/sourabh-joshi/awesome-quincy-larson-emails/commit/6848e00f51cae5ac91b260b2d05af68eaf6ae159) to make an update on the repo. As a repo maintainer myself, I know how much continued effort it takes to maintain a repo.
So I'm curious to learn how you're feeling about maintaining this repo, and if you would like any assistance in maintaining it. If you're okay continuing to maintain the repo, great. If you are open to some help, I'm happy to share some of that responsibility if you give me merge access to this repo. I have also talked with some freeCodeCamp Moderators and another option is for this repo to be maintained under the freeCodeCamp organization while also giving you full credit for starting and maintaining this repo for the past few years.
And once again, thanks for reading Quincy's emails and maintaining this repo for all these years.
Thanks,
Eric

Maintaining this repo under freeCodeCamp organization would be ideal. Let's get that done.

Hey @sourabh-joshi
Thanks for the work you have been doing for the community and maintaining this helpful resource.
I am one of the staff members from freeCodeCamp and I can help with the process, can you transfer the repository to me raisedadead and I will have it moved into the freeCodeCamp GitHub org.
You are able to verify my credentials here: https://github.com/orgs/freeCodeCamp/people?query=mrugesh
I will also send you an invite to the organization, please check your inbox.
Cheers!

@raisedadead Have initiated the transfer. Please check on your end.

Hi @sourabh-joshi thanks for transferring this repo over to freeCodeCamp.
We appreciate all of your hard work with this repository. And we are excited to see the community help maintain this awesome resource.
I have sent you an invite to the GitHub Org which you can accept by visiting your inbox or this page: https://github.com/freeCodeCamp
Cheers!

authors: erictleung raisedadead sourabh-joshi


text:
Remove bonus xp

Description
Resolves #2226.
There are occasional "low effort" submissions from students to gain the early submission bonus XP. This PR fixes this while not changing the workload for the avengers.
Previously, bonus XP will be awarded once students finalize submission. Now, when a student finalizes submission, there will be a check whether the autograder scored the submission as 0 or not. If a 0 was given, bonus XP will be 0. Else it will be the full amount. After the tutor marks finish the submission, another check will be done. If the submission is still a 0. bonus XP will be 0. Else, the full amount will be given.

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Code quality improvements

How to test

Case 1: If the submission is 0

Submit a submission where the autograder gives 0
Go to the grading page and grade the submission but do not give any xp
The bonus xp shown is 0

Case 2: If the autograder gives xp

Submit a submission where the autograder does not give 0 (paths)
Go to the grading page the submission bonus xp is given

Case 3: If the autograder is 0 but the avenger awards xp

Submit a submission where the autograder gives 0
Go to the grading page and grade the submission and give some xp
The bonus xp shown is given

Checklist

[x] I have tested this code
[ ] I have updated the documentation

coverage: 94.621% (-0.2%) from 94.822%
when pulling 27c3a6f8269190c6dd3a174bbbcc1c91ca2e9844 on thortol:remove-bonus-xp
into 2f0746b833b036f1038a984e0ea26aeb5a5c35b8 on source-academy:master.

Can we fix the tests?

I fixed the test cases but I found a bug where the bonus xp is given through current time not submission time. This creates a bug where bonus xp is given when the grader grades rather than when the user submits. I'll be working on fixing this before it can be merged.

Can I check that this does not require any frontend change?

Yes, this does not require any frontend change.

authors: RichDom2185 coveralls thortol

repo: source-academy/backend


text:
增加统计（更新，提交等）

如题：

不太明白你指的是什么

如果 add 了 3个文件，add 的按钮显示 3

pull 按钮。如果远程有10 待pull ，显示 10

推送，如果有几个推送，显示数字几。类似这个意思

如果 add 了 3个文件，add 的按钮显示 3

pull 按钮。如果远程有10 待pull ，显示 10
推送，如果有几个推送，显示数字几。类似这个意思

你指的是git object中的%(upstream:track)吗？，如果是，现在已经显示了呀

希望在上面的快捷按钮直接显示，比较直观

Stage/Unstage以及总的本地变更数，都分别在各自的区域，其中本地总的变更数在一级界面上采用主前景色，已经可以提示到用户本地有变更。且Commit操作与staged changes数量不挂钩（比如启用了自动stage功能，则unstaged changes也会被提交）
Push按钮可以推送非当前分支，这里如果仅显示当前分支与remote的ahead/behind则不合适
如果未进行过fetch，则Pull操作前并不知晓远端的最新状态。再者，即使实现了该功能，如果Pull按钮上没有提示数字，我们就不需要Pull了吗？我持怀疑态度
本软件的工具栏并不适合显示上标数字。一是本身太窄，二是如果数字很大则又会显得横向太挤

authors: bkwangbj heartacker love-linger

repo: sourcegit-scm/sourcegit


text:
Update instructions for publishing extensions.

The text refers to instructions for publishing, but they were missing.
Add them, update the reference, and fix a few lexical nits.

I'm not 100% sure I got all the corner cases correct. Advice welcome.

repo: sourcegraph/code-intel-extensions


text:
Configurable context menu items

I work in other languages besides Python, so it would be nice to not have the Sourcery Scan context menu item pop up on files that it doesn't make sense for, or not at all.

You can add a when clause to choose when certain menu items are available. Noteworthy contexts include:

resourceLangId: Language ID of the selected item
config.[configurationOption]: Allows direct access to a user's settings.

Ah interesting - thanks for pointing those out.

Restricted the scan option to Python files and folders.

authors: Antyos Hellebore

repo: sourcery-ai/sourcery-vscode


text:
Use chef-style comment header & mode as strings

Auto-corrected with Cookstyle
Signed-off-by: Tim Smith tsmith@chef.io

          1 Error

:no_entry_sign:
Please include a CHANGELOG entry.

  Generated by :no_entry_sign: Danger

repo: sous-chefs/nexus


text:
Enable unified_mode

Description
Enabled unified_mode on all resources while preserving compatibility with lower versions of Chef.
Issues Resolved
N/A
Check List

[x] A summary of changes made is included in the CHANGELOG under ## Unreleased
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable.

As per vagrant et al, can you bump this to 15.3 and always require unified mode please.

repo: sous-chefs/tomcat


text:
How do I change the default voices?

The default ones sound too bland and boring.

not obvious

@CryptoCultCurt This has been fixed now. Please let me know if it now works for you.

so how do I add a custom voice?

It seemed it expected a copy of the entire config when I want to override something, so i pasted the default and made changes.   Sorry Python is not my strength, unsure if this error is me or a bug :).
"Input to ChatPromptTemplate is missing variables {'input_texts'}.  Expected: ['conversation_style', 'dialogue_structure', 'engagement_techniques', 'input_text', 'input_texts', 'output_language', 'podcast_name', 'podcast_tagline', 'roles_person1', 'roles_person2', 'word_count'] Received: ['input_text', 'word_count', 'conversation_style', 'roles_person1', 'roles_person2', 'dialogue_structure', 'podcast_name', 'podcast_tagline', 'output_language', 'engagement_techniques']\nNote: if you intended {input_texts} to be part of the string and not a variable, please escape it with double curly braces like: '{{input_texts}}'.\nFor troubleshooting, visit: https://python.langchain.com/docs/troubleshooting/errors/INVALID_PROMPT_INPUT"

Please update podcastfy to latest
pip install --upgrade podcastfy
On Fri, Oct 25, 2024, 12:55 PM CryptoCultCurt @.***>
wrote:

It seemed it expected a copy of the entire config when I want to override
something, so i pasted the default and made changes. Sorry Python is not my
strength, unsure if this error is me or a bug :).
"Input to ChatPromptTemplate is missing variables {'input_texts'}.
Expected: ['conversation_style', 'dialogue_structure',
'engagement_techniques', 'input_text', 'input_texts', 'output_language',
'podcast_name', 'podcast_tagline', 'roles_person1', 'roles_person2',
'word_count'] Received: ['input_text', 'word_count', 'conversation_style',
'roles_person1', 'roles_person2', 'dialogue_structure', 'podcast_name',
'podcast_tagline', 'output_language', 'engagement_techniques']\nNote: if
you intended {input_texts} to be part of the string and not a variable,
please escape it with double curly braces like: '{{input_texts}}'.\nFor
troubleshooting, visit:
https://python.langchain.com/docs/troubleshooting/errors/INVALID_PROMPT_INPUT
"
—
Reply to this email directly, view it on GitHub
https://github.com/souzatharsis/podcastfy/issues/101#issuecomment-2438190539,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTMY3NE3IUMA5ZIPVLVG6DZ5JSWVAVCNFSM6AAAAABQRHDYLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZYGE4TANJTHE
.
You are receiving this because you commented.Message ID:
@.***>

@CryptoCultCurt This should be fixed now even without updating podcastfy
Please let me know

Sorry - clearly I know python so little i had not upgraded correctly :).  Works like a champ now!  Amazing project, thanks.

authors: CryptoCultCurt ralyodio souzatharsis

repo: souzatharsis/podcastfy


text:
Further edits for publishing to npm

The previous pull request didn't seem to but it after using my own fork through npm, so these changes should fix that. #150 #133

Thanks for the fix! I've been waiting on this. @soyjavi  just needs to make sure he publishes to npm after merging your changes and updating the version number to 3.0.9.

@SamDelgado until then, you should be able to use 'mike-engel/QuoJS' for the npm package name.

@mike-engel That's awesome thanks!

authors: SamDelgado mike-engel

repo: soyjavi/QuoJS


text:
All traitors hijack - new gamemode

Описание PR

Добавлен новый игровой режим - Хайджек (Угон шаттла эвакуации слишком длинно имхо).
Работает как обычные трейторы, но у всех агентов единственная цель на угон шаттла эвакуации. Идея в том что антагонисты смогут кооперироваться и устраивать любой хаос на станции, так как громкой игры от агентов сейчас не хватает и множество опций из того же аплинка являются в обычных трейторах бесполезными.
По разрушительности и редкости режим сопоставим с нюкерами, так что поставил такой же шанс в секрете.
Медиа

https://i.imgur.com/26qWucj.png
https://i.imgur.com/upaPUO1.png
Проверки

[-] PR полностью завершён и мне не нужна помощь чтобы его закончить.
[-] Я внимательно просмотрел все свои изменения и багов в них не нашёл.
[+] Я запускал локальный сервер со своими изменениями и (почти) всё протестировал.
[+] Я добавил скриншот/видео демонстрации PR в игре, или этот PR этого не требует.

Изменения

:cl:

add: Добавлен новый режим Хайджек - агенты должны работать сообща и устраивать хаос на станции, чтобы угнать эвакуационный шаттл.

добрый вечер, хайджек это наш прикол

 добрый вечер, хайджек это наш прикол

не знал, ретируюсь

Не вижу смысла существовать этому как режим, такое может устроить ГМ.

Не вижу смысла существовать этому как режим, такое может устроить ГМ.

Так можно сказать буквально про любой режим -_-
Я считаю что данный режим наравне с теми же нюкерами очень сильно разнообразит игру и геймплей за агентов в частности. Наши ГМы делают более сложные ивенты, да и на личном опыте как человек который проводил подобное скажу что будь это режимом к которому игроки привыкли результаты были бы намного лучше. Всё таки на данный момент задание на хайджек настолько мифически редкое что его доводилось выполнять буквально лишь единицам.

Так можно сказать буквально про любой режим -_-
Нет, это не так, выдать цель на хиджак рандомам можно в пару команд в отличии от режима нюкеров со всеми его особенностями.

Я считаю что данный режим наравне с теми же нюкерами очень сильно разнообразит игру
Проработанный режим нюки не сравнится с копипастой выдающей 1 цель вместо 3.

Идея хиджака в том, что это редкая цель позволяющее тебе реализовать твои идеи в обычном раунде где никто этого и не ожидает.
Режим где много предателей без ограничений я не считаю интересным и считаю его противоречащем нашему направлению билда.

хайджек настолько мифически редкое что его доводилось выполнять буквально лишь единицам.
Я рад, значит оно работает как задумано.

Окей


text:
[Items] EarthGov GameMaster Pack

Описание PR

Медиа

Проверки

[ ] PR полностью завершён и мне не нужна помощь чтобы его закончить.
[x] Я внимательно просмотрел все свои изменения и багов в них не нашёл.
[x] Я запускал локальный сервер со своими изменениями и всё протестировал.
[ ] Я добавил скриншот/видео демонстрации PR в игре, или этот PR этого не требует.

Изменения

:cl: no_mad

add: Добавлены флотские вещи для ГМов!

Вообще хотел добавить свой доступ для них, но не понял как это делается, так что дал локеру и шлюзы доступ нюковца, как и айди картам

Так ведь можно же посмотреть прототипы доступов и дверей, и найти решение.... Вроде как и делал шлюзы со своими доступами а вроде и не помню как именно...

https://github.com/space-syndicate/space-station-14/blob/master/Content.Shared/Access/Components/SharedIdCardConsoleComponent.cs
@nomad0260

authors: LarryRussian goster-bI nomad0260


text:
Error on start server on MacOs

Throws this on start:
[FATL] unhandled: System.IO.DirectoryNotFoundException: Specified directory does not exist: /Users/user/Downloads/bin/Content.Server/

Have you build the server?

The issue is closed since the problem is not related to the repository. If you still have any issues with setting up local server, ask them in #development or #howdoicode channels on Discord.


text:
Cargo shuttle and Reclaimer thrusters/gyros start turned off.

Description

the Cargo shuttle and Reclaimer thrusters/gyros start turned off with the shuttles positioned in deep space.
Reproduction

Start a new round, try to fly cargo shuttle back to cargo. See that you cannot.
Screenshots

Additional context

Also occurs for nukie shuttle.
Also occurs for loaded grids such as ERT Dart. Less of an issue though.

iirc its just the yaml has enabled set to false

authors: IProduceWidgets deltanedas


text:
Human jetpacks - A broken physics story

Description
Physics is a little broken. You can grab someone and they start spining up like a washing machine. and you push them in the direction you want to go and you have a human/mob powered jetpack.
Reproduction

Grab a mob
Push them a direction
Off we go, weeeee

Screenshots
https://github.com/space-wizards/space-station-14/assets/47093363/87166d02-67a1-4a20-ab40-b8c9937b743d
Additional context
NA

Seems to be fixed after #28126. Cannot reproduce it.

Seems to be fixed after #28126. Cannot reproduce it.

Yeah haven't seen it recently, closing off.


text:
Some roundstart computers don't have functionality or circuit boards, allowing you to spam screw/unscrew them.

How to reproduce:
Step 1. Locate a computer and attempt to use a screwdriver on it. This also works with the power drill in screw mode.
Step 2. The screen will be unscrewed (expected behavior) but the computer is now permanently disabled. Using a screwdriver or the power drill on it again will play the sound effect, but it won't actually do anything.
Step 3. Pull computer to bar (assuming it doesn't flip out and pin you to a wall) and then annoy people by spamming the power drill noise.

Can't replicate, but it seems the computer was missing the boad.
What computer did you do this on, was it on roundstart or spawned with the entity spawner?

Nevermind, I have replicated this with the empty computers that have no board or functionality.

I did it on the communications console in the captain's office first on US West during a live round, and then switched to EU West 2 and attempted it with the medical records computer in Medbay because it was the first one I came across.

Yeah, I just tested it again and can confirm this also works on working computers. I did it at round start in sandbox mode with the ID computer in the HoP's office and again with the communications computer in the captain's office.
I should note that doing this on certain computers - I've tested this with the cargo console on the bridge and the computers in the captain's office - can cause you to desync until you reconnect to the server. The ID computer in the HoP's office is consistent.

Unscrewing the shuttle console on dev throws
[FATL] unhandled: System.Collections.Generic.KeyNotFoundException: The given key '5501' was not present in the dictionary.

Cant reproduce the breaking functionality behavior. Superseded by #5204

authors: AJCM-git SweptWasTaken TimrodDX Zumorica


text:
Chemist has no latejoin spawner

Description
thus, they latejoin at 0,0

Why are latejoin spawners job specific?

Because SpawnPointComponent is shitcode. It has a "job ID" field and a "spawn type", which can be late join, job, observer, etc.
However, from what I can see current master gameticker spawning code doesn't take late join job into account.
Ideally, we should have JobSpawnPointComponent, LateJoinSpawnPointComponent, ObserverSpawnPointComponent...

Uh, yeah, exactly. Spawn point code doesn't care about the job ID for latejoin spawns.
So why is this an issue?

Because SpawnPointComponent is shitcode. It has a "job ID" field and a "spawn type", which can be late join, job, observer, etc.
However, from what I can see current master gameticker spawning code doesn't take late join job into account.
Ideally, we should have JobSpawnPointComponent, LateJoinSpawnPointComponent, ObserverSpawnPointComponent...

This is far from shitcode, it's lukewarm "could have been done better perhaps but it's so consequential so why even care" at best.

Works on my machine

it was like 2AM and I was on the wrong branch :HECK:


text:
fix spawn artifact system

About the PR

Closes #14706
entities weren't being attached to grids and the monkeys suffocated
Media

you ever seen a video of a monkey not suffocating?

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

fix: Monkeys spawned by artifacts no longer suffocate.

that is the funniest reason this could have been happening


text:
Librarian gameplay (DND, but in SS14)

About the PR

Improves tabletop by a bit by allowing players to put in and take out shit from tabletop games. Also adds a DND character sheet, if anyone has any requests for character sheets I can translate some into plaintext. I'm gonna do a traveller (original) sheet soon but for now you can have this funny game.
"Dungeons & Dragons"/"D&D" is trademarked, while "DND" isn't, which is why it's referred as "DND" in most of the text.
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

https://cdn.discordapp.com/attachments/782607766799253528/1114069889037107251/DNDSheetPR.mp4
Changelog

:cl: eclips_e

add: Nanotrasen has decided to supply their librarians with DND character sheets, have a game or two at the library!
add: You can now put in and take out objects from and into tabletop games (chess, battlemaps, more).

rain woke up today like "oh i'm gonna be productive" and then in 2 hours i'll be dead

@Visne your vision is being realized

The explosive actually does have an effect

I mean outside of the board

Does it really matter though? If a syndie places a C4 inside of the board then that's on them lol

if a syndie throws an explosive at someone they shouldn't be able to effectively disarm it by hitting a board with it

eh, fair enough i guess. do explosives have a tag that i can just add to the ent blacklist?

bwuh, erroneous test fails

I get that 'DND' isn't a formal trademark of WOTC (as far as I can tell), but Dungeons & Dragons and D&D are, from what I can tell. I think it's frankly just a bit close for comfort, especially with the character sheets, which are near direct copies. Consider renaming it to something else?

space dungeons and space dragons

I was recommended Carps & Crypts

I think it would be better to make copying things to the board, without the ability to pull, but only to delete. It might not make as much sense IC (though who cares?), but it would avoid the problems described above and similar in the future.

this should really be a whitelist
alternatively: iirc visne's original idea with this is that items on top of the table the game is on would have their sprites copied into the tabletop world. that way u dont have to deal with actually putting them in the tabletop world

iirc visne's original idea with this is that items on top of the table the game is on would have their sprites copied into the tabletop world. that way u dont have to deal with actually putting them in the tabletop world

guess I can do this

gweuh

End goal (of my idea) would be to have the entire table and the (whitelisted) items on it inside of your viewport, so doing it so only items on the table appear in the viewport sounds like a good step into that direction to me. Also, it makes more sense to then show the items in both the viewport and in the normal world, instead of moving items "in and out" of the tabletop view.
For now it probably makes sense to show all items you put on the table in the tabletop viewport, but in the future I guess it would be so that only specific tabletop gaming items are shown in the viewport, and then for example a pack of cards which would be 1 item in the normal world would become a stack of 52 individual cards in the tabletop view. Those can then be interacted with just as in Tabletop Simulator on Steam, where you can flip them and put them in your hand etc.

I was recommended Carps & Crypts

I remember someone coming up with 'Syndies & Spacecrafts' or something like that somewhere in the past (Discord search sucks so much)

a

ghhhhhhhhhhghghrewerewhhhh why

ok test fail is erroneous

grah

eh i'll work on this

It's unintuitive to have to be holding the object when you right click, but having to be holding it can prevent accidental deletions. Maybe it could have a doafter, but I don't think it needs one. Not having to hold it + a doafter might be a more intuitive option.

I don't really get how holding + RMB is unintuitive, alongside that, what right click does at the moment is get the currently held entity and request for it to be deleted to prevent code duplication. Right click menu would also likely involve some form of hacks in order to get it working.

You hold left click to select and right click to remove the selected object I don't think this is unintuitive

REJOICE

authors: EmoGarbage404 Just-a-Unity-Dev VektorZ1 Visne deltanedas mirrorcult


text:
UI Additions: New Radial UI

About the PR
Reopen from that PR with solved "problems"

Why not just reopen that PR?

Why not just reopen that PR? (I guess it doesn't matter now, but just for future reference)

Well, i can't reopen (i deleted branch before, so i reopen a new pr)

You didn't delete the branch from your repository, otherwise it would say so ins the PR history of your previous PR.
Please merge the branch from this PR onto the branch from your previous one and reopen it.

why

authors: DocNITE dmnct juliangiebel noverd


text:
Remove self-uncuff spam suicide, damage changes

About the PR

This PR removes the option to suicide-by-self-uncuffing by moving the damage taken to the end of the uncuff doafter (prevents repeating the damage) and adding a timer to the uncuff action (prevents spamming the uncuff noise/doafter).
Since the damage is moved to the end of the doafter, damage dealt by self-uncuffing has been adjusted.
Why / Balance

Self-uncuff suicide is loud, annoying and doesn't make much sense. By moving the damage to the end of the uncuff doafter, it's no longer possible to spam the action until death. To prevent people spamming for the sound/doafter bar, self-uncuffing now also has a 5 second cooldown.
If people still spam it, it might be worth reducing the length of the handcuff audio.
The damage dealt by self-uncuffing handcuffs and makeshift cuffs have been increased (18 blunt & 9 blunt) while the damage from zipties has been removed. Previously all cuffs did 3 damage upon self-uncuffing which only mattered when spamming it. Successfully self-uncuffing now makes the escapee have to decide whether they want to heal the damage or ignore it, while zipties additionally becomes a tool for when Security wants to detain someone but give them the option to safely self-uncuff without injury.
Technical details

The RemoveCuffs alert action has been removed, meaning you can no longer uncuff by pressing the Cuffed alert icon. Instead the player is given the "Uncuff Self" action button in the action bar, set at the same time as the Cuffed alert.
The main reason why the self-uncuff was moved to an action button instead of the alert action is that alert actions lack timers. It might be worth looking into the ability to coordinate the two systems (for example, turning on internals is currently handled differently by the game depending on which is clicked) but that's beyond the scope of this PR.
Media

Video:

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

fix: Self-uncuff damage is now applied at the end of the action and can't be spammed by suicidal detainees.
tweak: Normal and improvised handcuffs now deal increased damage upon self-uncuffing, while zipties deal no damage.

The damage was added to stop people from spamming it constantly. Could probably be removed if there’s a cooldown on trying. I still think having some incentive not to try and uncuff yourself constantly is probably good since it’s annoying to deal with as a secoff , but the cooldown might work for that.

The damage was added to stop people from spamming it constantly. Could probably be removed if there’s a cooldown on trying. I still think having some incentive not to try and uncuff yourself constantly is probably good since it’s annoying to deal with as a secoff , but the cooldown might work for that.

The fact that the uncuff damage was initially introduced as a "spite-PR" was brought up and discussed on the Discord server; I still like it as it adds some variety and interesting gameplay, as explained in the screenshot below.

If self-uncuffing is still an annoyance due to lacking damage, I see two options:

Simply increase the cooldown. Might become too annoying for those genuinely wishing to escape though.
Keep current cooldown, re-add damage on uncuff attempt but make it small enough that Security have enough time to process the detainee without them dying.

Always remember Security has no obligation to provide medical aid to self-inflicted wounds. ;)

I think either the mouseover text or clicking on the CUFFED state should point the player toward where they can take the cuffs off, so they don't just think the feature broke. Although I'm not sure how that could be worded without sounding out of place

I don't know why damage was added to this in the first place.

Due to popular demand, I've removed the damage entirely. While I think there are some interesting gameplay scenarios that can develop from the damage, the damage was introduced to curb spamming cuffs and this PR is meant to solve that in a better way. As such it's been removed from all cuffing items.

UseDelay works for this, new video showcasing it:
https://github.com/space-wizards/space-station-14/assets/83650252/8855f28e-294e-4878-b14c-53d986af0b3f

authors: Errant-4 LankLTE SlamBamActionman keronshb


text:
Stop healing when target is dead

About the PR
kind of annoyign that stuff has to check for this at all but without redoing mobstate entirely (soon) that cant change
Screenshots

Changelog

:cl:

tweak: You can no longer heal people out of death.

Fixes #7076

honestly this is cooler than cloning

indeed but we should implement revival in an intended way (defibs)

indeed but we should implement revival in an intended way (defibs)

maybe patch this after someone codes defibs?

i dont think this is a super widely abused bug so i doubt fixing it will change medical balance that much

indeed but we should implement revival in an intended way (defibs)

maybe patch this after someone codes defibs?

I have a branch with defibs halfway working but it might have to wait on the mobstate rework since technically nothing is really in a state of being dead or alive, just if the damage threshold is met or not.
Also the bible might be the only other thing that can cause this issue since it does direct healing, but also har har holy healing.


text:
Initial Discord Rich Presence support

but we still need to tweak cosmetic aspects (like gamestates etc) and change the timer
huge thanks to @Injazz

I also want to note that there is a bug in DiscordRPC causing discord pipe to fail connection on Mono.
https://github.com/Lachee/discord-rpc-csharp/issues/54
you need fresh nuget version (which gonna update soon), or do it manually

Superseded by #776

authors: Injazz PJB3005 occune


text:
Discussion thread: What articles could be written around Space Cloud?

Hi! We have been talking about how Space Cloud could up it's usage and how to spread the word. This thread is used to provide suggestions on what topics you'd want to se articles about (space cloud related of course).

Making a real time chat app with React and Space Cloud
Will Space Cloud kill Firebase?
Making a React.JS app with 1-click back-end and authenticaton
How to make your own Firebase with Space Cloud

Comparing SupaBase with SpaceCloud. The features that one has and one does not and future plans of implementing them

repo: spacecloud-io/space-cloud


text:
High CPU load by node when creating / publishing ATX fails

Description
The ATX builder seems to be stuck in an endless loop if errors occur during building and publishing ATXs
Steps to reproduce
In tests nodes sometimes end up using high CPU load while printing the following logs hundrets of times per second:
2023-01-27T20:48:51.564+0100	INFO	fbdc7.app.fbdc7.atxBuilder	challenge not loaded	{"node_id": "fbdc703ddaa6ccc1d96303e01c3135c46925c8331f922ed1c75152a628b1b379", "module": "app", "node_id": "fbdc703ddaa6ccc1d96303e01c3135c46925c8331f922ed1c75152a628b1b379", "module": "atxBuilder", "sessionId": "f1d7ab40-35e3-40cf-9d14-0b3789b6e988", "errmsg": "failed to load nipost challenge from DB: failed to get value: database: not found", "name": "atxBuilder"}
2023-01-27T20:48:51.564+0100	INFO	fbdc7.app.fbdc7.atxBuilder	building new atx challenge	{"node_id": "fbdc703ddaa6ccc1d96303e01c3135c46925c8331f922ed1c75152a628b1b379", "module": "app", "node_id": "fbdc703ddaa6ccc1d96303e01c3135c46925c8331f922ed1c75152a628b1b379", "module": "atxBuilder", "sessionId": "f1d7ab40-35e3-40cf-9d14-0b3789b6e988", "current_epoch": "2", "name": "atxBuilder"}
2023-01-27T20:48:51.565+0100	INFO	fbdc7.app.fbdc7.atxBuilder	atx challenge is ready	{"node_id": "fbdc703ddaa6ccc1d96303e01c3135c46925c8331f922ed1c75152a628b1b379", "module": "app", "node_id": "fbdc703ddaa6ccc1d96303e01c3135c46925c8331f922ed1c75152a628b1b379", "module": "atxBuilder", "sessionId": "f1d7ab40-35e3-40cf-9d14-0b3789b6e988", "current_epoch": 2, "publish_epoch": 2, "target_epoch": 3, "name": "atxBuilder"}
2023-01-27T20:48:51.565+0100	ERROR	fbdc7.app.fbdc7.atxBuilder	error attempting to publish atx	{"node_id": "fbdc703ddaa6ccc1d96303e01c3135c46925c8331f922ed1c75152a628b1b379", "module": "app", "node_id": "fbdc703ddaa6ccc1d96303e01c3135c46925c8331f922ed1c75152a628b1b379", "module": "atxBuilder", "sessionId": "f1d7ab40-35e3-40cf-9d14-0b3789b6e988", "layer_id": 174, "epoch_id": 2, "errmsg": "create ATX: builder: atx expired: poet round has already started at 2023-01-27 18:30:00.498 +0100 CET (now: 2023-01-27 20:48:51.565028 +0100 CET m=+20881.013172626)", "name": "atxBuilder"}

It looks like if publishing an ATX fails repeatedly the node enters an endless loop. Here in this specific case it was caused by the builder trying to submit a challenge to poet when the round for that challenge had already passed.
Expected Behaviour

The node waits (with some jittered or exponential backoff) before creating a new ATX or submitting the challenge to PoET to avoid high load on the CPU and on PoET.
The new challenge should target the correct PoET round

cc @pigmej

A couple of details that might be useful:

Me, @pigmej, and Monika reproduced this error on the node v0.2.21-beta.0, when PoS was generated in the genesis phase. Then after the genesis phase finishes — the same behavior as described in the issue (~13k messages per second in the log), insane CPU usage.
However, generating PoS after the genesis phase works well.

authors: brusherru fasmat

repo: spacemeshos/go-spacemesh


text:
Add a collection-like object of ExternalArrayReference objects

This is mainly motivated by the fact that I have a large number of ExternalArrayReference objects in my trees and because each one is a separate schema they all have to be validated. Not to mention that it takes up a lot of lines of yaml. I am hoping this will massively improve my load performance.

Thanks for the PR!  I'm hesitant to incorporate this into the core library/standard, since it seems special-purpose and I'm not aware of any wider demand for this kind of feature.  What do you think about creating an extension instead?  The ASDF extension mechanism is how we handle serialization of custom objects here at STScI.  Documentation on writing extensions can be found here:
https://asdf.readthedocs.io/en/latest/asdf/extensions.html
We'd be happy to support creating your extension with code reviews/troubleshooting/etc.
Alternatively, we have an open issue to allow users to skip validation.  If you're creating the files and validating on write anyway, it may be reasonable to disable the read validation outright.  We're planning to add that feature within the next couple of months.

Hi @eslavich
I have already implemented this as an extension in my DKIST tools, along with a bunch of DKIST specific tags.
I actually added the ExternalArrayReference type for this use case to core at the start, and thought that this collection might also be generically useful.

authors: Cadair eslavich

repo: spacetelescope/asdf


text:
Implement a notification system

One possible implementation could be to generate a rss/atom feed of regressions in the static website. What do you think ?

I think that's a great idea!

The hard part is what date using as "publication date" in the feed item ? This date must be stable along rebuild of the static website (asv publish).
Here are possibles candidates/solutions:

Commit "author date" (%ad in git log format). I'm not in flavor of this cf #390
Commit "commit date" (%cd in git log format). No equivalent in mercurial.
Benchmark build date cf #400
When publishing, it the target regressions.json and future regressions.xml exists, make a diff of regressions and eventually add new items in the feed (instead of overriding). IMHO it's a bit magic, but sould work pretty well.

I would prefer to keep the html output as write-only, so that you can always throw the old html away.
The benchmark build date is probably the one most closely related to the date when the regression was actually detected. One thing here is that due to the noise in the results, it will lag a few benchmark runs behind, so you get new publications in the past. However, the order of publications is the same as if the publication date was the date of actual publication, so this sounds good to me.

Initial stab at this: https://github.com/spacetelescope/asv/compare/master...pv:regressions-feed

@pv thanks ! I was planning to work on it (but didn't yet). I'll try this on top of #429

Great, feel free to take over! It doesn't currently organize the feed in
the same way as the web page, I run out of time yesterday...

Implemented in #447

@pv looks perfect ! Thanks !

authors: mdboom philpep pv

repo: spacetelescope/asv


text:
Can't install with system libxml2 in 1.6.8

In 1.6.7.2 I was able to install nokogiri with system libraries. Now I can't

This changelog item looks related:

[MRI] Bundled libxml2 is upgraded to 2.9.4, which fixes many security issues. Many of these had previously been patched in the vendored libxml 2.9.2 in the 1.6.7.x branch, but some are newer.

Hello!
Thanks for asking this question! However, without more information, Team Nokogiri cannot reproduce your issue, and so we cannot offer much help.
A good start might be:

what commands are you running?
what is output to your console? what are the contents of mkmf.log?
tell us about your system's operating system, compiler version, etc.

Ok. Here it goes.
Dockerfile:
FROM ruby:2.2-alpine

RUN apk update && apk upgrade && \
    apk add git alpine-sdk openssh bash python ruby \
            mysql-dev libxml2-dev libxslt-dev \
            linux-headers mysql-client postgresql-dev && \
    rm -rf /var/cache/apk/*

Gemfile:
source 'http://rubygems.org'

gem 'nokogiri'

docker-compose.yml:
nokogiri:
  build: .
  volumes:
    - .:/src
  command: sh -c 'cd /src && bundle config build.nokogiri --use-system-libraries && bundle install'

Run docker-compose up:
nokogiri_1  | Fetching gem metadata from http://rubygems.org/
nokogiri_1  | Fetching version metadata from http://rubygems.org/
nokogiri_1  | Resolving dependencies...
nokogiri_1  | Installing mini_portile2 2.1.0
nokogiri_1  | Installing pkg-config 1.1.7
nokogiri_1  | Using bundler 1.12.4
nokogiri_1  | Installing nokogiri 1.6.8 with native extensions
nokogiri_1  |
nokogiri_1  | Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
nokogiri_1  |
nokogiri_1  |     current directory: /usr/local/bundle/gems/nokogiri-1.6.8/ext/nokogiri
nokogiri_1  | /usr/local/bin/ruby -r ./siteconf20160811-11-1cahkmh.rb extconf.rb --use-system-libraries
nokogiri_1  | Using pkg-config version 1.1.7
nokogiri_1  | checking if the C compiler accepts ... yes
nokogiri_1  | Building nokogiri using system libraries.
nokogiri_1  | checking for libexslt... yes
nokogiri_1  | checking for xmlParseDoc() in libxml/parser.h... no
nokogiri_1  | checking for xmlParseDoc() in -lxml2... no
nokogiri_1  | checking for xmlParseDoc() in -llibxml2... no
nokogiri_1  | -----
nokogiri_1  | libxml2 is missing.  Please locate mkmf.log to investigate how it is failing.
nokogiri_1  | -----
nokogiri_1  | *** extconf.rb failed ***
nokogiri_1  | Could not create Makefile due to some reason, probably lack of necessary
nokogiri_1  | libraries and/or headers.  Check the mkmf.log file for more details.  You may
nokogiri_1  | need configuration options.
nokogiri_1  |
nokogiri_1  | Provided configuration options:
nokogiri_1  | 	--with-opt-dir
nokogiri_1  | 	--without-opt-dir
nokogiri_1  | 	--with-opt-include
nokogiri_1  | 	--without-opt-include=${opt-dir}/include
nokogiri_1  | 	--with-opt-lib
nokogiri_1  | 	--without-opt-lib=${opt-dir}/lib
nokogiri_1  | 	--with-make-prog
nokogiri_1  | 	--without-make-prog
nokogiri_1  | 	--srcdir=.
nokogiri_1  | 	--curdir
nokogiri_1  | 	--ruby=/usr/local/bin/$(RUBY_BASE_NAME)
nokogiri_1  | 	--help
nokogiri_1  | 	--clean
nokogiri_1  | 	--use-system-libraries
nokogiri_1  | 	--with-zlib-dir
nokogiri_1  | 	--without-zlib-dir
nokogiri_1  | 	--with-zlib-include
nokogiri_1  | 	--without-zlib-include=${zlib-dir}/include
nokogiri_1  | 	--with-zlib-lib
nokogiri_1  | 	--without-zlib-lib=${zlib-dir}/lib
nokogiri_1  | 	--with-xml2-dir
nokogiri_1  | 	--without-xml2-dir
nokogiri_1  | 	--with-xml2-include
nokogiri_1  | 	--without-xml2-include=${xml2-dir}/include
nokogiri_1  | 	--with-xml2-lib
nokogiri_1  | 	--without-xml2-lib=${xml2-dir}/lib
nokogiri_1  | 	--with-libxml-2.0-config
nokogiri_1  | 	--without-libxml-2.0-config
nokogiri_1  | 	--with-pkg-config
nokogiri_1  | 	--without-pkg-config
nokogiri_1  | 	--with-xslt-dir
nokogiri_1  | 	--without-xslt-dir
nokogiri_1  | 	--with-xslt-include
nokogiri_1  | 	--without-xslt-include=${xslt-dir}/include
nokogiri_1  | 	--with-xslt-lib
nokogiri_1  | 	--without-xslt-lib=${xslt-dir}/lib
nokogiri_1  | 	--with-libxslt-config
nokogiri_1  | 	--without-libxslt-config
nokogiri_1  | 	--with-exslt-dir
nokogiri_1  | 	--without-exslt-dir
nokogiri_1  | 	--with-exslt-include
nokogiri_1  | 	--without-exslt-include=${exslt-dir}/include
nokogiri_1  | 	--with-exslt-lib
nokogiri_1  | 	--without-exslt-lib=${exslt-dir}/lib
nokogiri_1  | 	--with-libexslt-config
nokogiri_1  | 	--without-libexslt-config
nokogiri_1  | 	--with-pkg-config
nokogiri_1  | 	--without-pkg-config
nokogiri_1  | 	--with-override-variables
nokogiri_1  | 	--without-override-variables
nokogiri_1  | 	--with-xml2lib
nokogiri_1  | 	--without-xml2lib
nokogiri_1  | 	--with-libxml2lib
nokogiri_1  | 	--without-libxml2lib
nokogiri_1  |
nokogiri_1  | To see why this extension failed to compile, please check the mkmf.log which can be found here:
nokogiri_1  |
nokogiri_1  |   /usr/local/bundle/extensions/x86_64-linux/2.2.0-static/nokogiri-1.6.8/mkmf.log
nokogiri_1  |
nokogiri_1  | extconf failed, exit code 1
nokogiri_1  |
nokogiri_1  | Gem files will remain installed in /usr/local/bundle/gems/nokogiri-1.6.8 for inspection.
nokogiri_1  | Results logged to /usr/local/bundle/extensions/x86_64-linux/2.2.0-static/nokogiri-1.6.8/gem_make.out
nokogiri_1  | An error occurred while installing nokogiri (1.6.8), and Bundler cannot
nokogiri_1  | continue.
nokogiri_1  | Make sure that `gem install nokogiri -v '1.6.8'` succeeds before bundling.
nokogiribug_nokogiri_1 exited with code 5

Which version of lxml nokogiri is compatible with?
Alpine has 2.9.4. https://pkgs.alpinelinux.org/packages?name=libxml2-dev&branch=&repo=&arch=&maintainer=

I'm not familiar with Alpine. Where is libxml2 installed? Have you tried
following the installation instructions at nokogiri.org for nonstandard
installations?
On Aug 11, 2016 4:20 PM, "John Yani" notifications@github.com wrote:

Which version of lxml nokogiri is compatible with?
Alpine has 2.9.4. https://pkgs.alpinelinux.org/packages?name=libxml2-dev&
branch=&repo=&arch=&maintainer=
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sparklemotion/nokogiri/issues/1524#issuecomment-239279741,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAgD7qau4UV2D3XsqBA8X_DX_FwXEniks5qe4QTgaJpZM4JiNsc
.

Here's mkmf.log extract:
conftest.c: In function 't':
conftest.c:15:15: error: too few arguments to function 'xmlParseDoc'
 int t(void) { xmlParseDoc(); return 0; }
               ^
In file included from conftest.c:3:0:
/usr/include/libxml2/libxml/parser.h:842:3: note: declared here
   xmlParseDoc  (const xmlChar *cur);
   ^
checked program was:

The problem appears to be here:
{
  "xml2"  => ['xmlParseDoc',            'libxml/parser.h'],
  "xslt"  => ['xsltParseStylesheetDoc', 'libxslt/xslt.h'],
  "exslt" => ['exsltFuncRegister',      'libexslt/exslt.h'],
}.each do |lib, (func, header)|
  have_func(func, header) ||
  have_library(lib, func, header) ||
  have_library("lib#{lib}", func, header) or
    asplode("lib#{lib}")
end

All the checks are failing for xmlParseDoc

First check:
have_func: checking for xmlParseDoc() in libxml/parser.h... -------------------- no
/usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lgcrypt
/usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lgpg-error
/usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lgcrypt
/usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lgpg-error
collect2: error: ld returned 1 exit status

...

conftest.c:15:15: error: too few arguments to function 'xmlParseDoc'
 int t(void) { xmlParseDoc(); return 0; }

Second check:
have_library: checking for xmlParseDoc() in -lxml2... -------------------- no
/usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lgcrypt
/usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lgpg-error
/usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lgcrypt
/usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lgpg-error
collect2: error: ld returned 1 exit status

...

conftest.c:15:15: error: too few arguments to function 'xmlParseDoc'
 int t(void) { xmlParseDoc(); return 0; }
               ^
In file included from conftest.c:3:0:
/usr/include/libxml2/libxml/parser.h:842:3: note: declared here
   xmlParseDoc  (const xmlChar *cur);
   ^

Third check:
have_library: checking for xmlParseDoc() in -llibxml2... -------------------- no
/usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lgcrypt
/usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lgpg-error
/usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -llibxml2
/usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lgcrypt
/usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lgpg-error

Ok, so it's got to be some linker option.

Does it mean that libxml-dev depends on libgcrypt-dev?

Ok, installing libgcrypt.so helped.

Actually, I can't find what needs libgcrypt. @flavorjones cant you point out where's this gcrypt dependency is coming from?

authors: Vanuan flavorjones

repo: sparklemotion/nokogiri


text:
Add a base hyper parameter local search stage

e.g. make supporting something like https://databricks.com/blog/2016/01/25/deep-learning-with-apache-spark-and-tensorflow.html more reasonable.

If related to this, https://issues.apache.org/jira/browse/SYSTEMML-1159 . I will try contributing this feature, along with the jira.

repo: sparklingpandas/sparklingml


text:
DOC: Remove  from nbsphinx_prolog

This seems to work better on multiple themes.
Alabaster theme: https://235-210404706-gh.circle-artifacts.com/0/html/prolog-and-epilog.html

Hello @mgeier! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file doc/conf.py:

Line 50:80: E501 line too long (152 > 79 characters)
Line 52:80: E501 line too long (223 > 79 characters)
Line 53:1: W293 blank line contains whitespace

repo: spatialaudio/nbsphinx


text:
PHP requirement incompatible with your PHP version

Describe the bug
When installing the Craft plugin via composer I get this error:
$ composer require spatie/craft-ray [InvalidArgumentException]                                                                                Package spatie/craft-ray has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version
Versions
Ray version: 1.13.0
PHP version: 7.4.15 (cli)
Composer version: 2.0.11
To Reproduce
Steps to reproduce the behavior:

Run composer require spatie/craft-ray from the Craft site's project directory
Get the error above

Expected behavior
A successful install.
Desktop (please complete the following information):

OS: MacOS
Version: 11.2.2

Composer concludes that you do not meet the minimum requirement to install the package. You could try to use composers why-not command to get a more specific error description.

Appreciate the quick response, but it didn't like my why-not request.
`
$ composer why-not spatie/craft-ray
… checking /Users/jason/Sites/sunradon.com/composer.json ✓
[InvalidArgumentException]
Could not find package "spatie/craft-ray" in your project
prohibits [-r|--recursive] [-t|--tree] [--]  []
composer why-not completed 🤘
`
So then I tried while ignoring platform requirements and got a bit more info.
`
$ composer --ignore-platform-reqs require spatie/craft-ray
… checking /Users/jason/Sites/sunradon.com/composer.json ✓
Using version ^1.1 for spatie/craft-ray
./composer.json has been updated
Running composer update spatie/craft-ray
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- spatie/craft-ray 1.1.3 requires spatie/ray ^1.19 -> satisfiable by spatie/ray[1.19.0, ..., 1.20.1].
- spatie/craft-ray[1.1.0, ..., 1.1.2] require spatie/ray ^1.14 -> satisfiable by spatie/ray[1.14.0, ..., 1.20.1].
- spatie/ray[1.14.0, ..., 1.20.1] require symfony/var-dumper ^4.2|^5.1 -> satisfiable by symfony/var-dumper[v4.2.0, ..., v4.4.19, v5.1.0, ..., v5.2.3].
- symfony/console v3.3.6 conflicts with symfony/var-dumper v5.2.3.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v5.2.2.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v5.2.1.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v5.2.0.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v5.1.11.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v5.1.10.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v5.1.9.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v5.1.8.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v5.1.7.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v5.1.6.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v5.1.5.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v5.1.4.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v5.1.3.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v5.1.2.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v5.1.1.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v5.1.0.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.19.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.18.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.17.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.16.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.15.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.14.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.13.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.12.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.11.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.10.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.9.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.8.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.7.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.6.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.5.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.4.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.3.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.2.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.1.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.4.0.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.3.11.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.3.10.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.3.9.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.3.8.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.3.7.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.3.6.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.3.5.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.3.4.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.3.3.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.3.2.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.3.1.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.3.0.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.2.12.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.2.11.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.2.10.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.2.9.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.2.8.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.2.7.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.2.6.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.2.5.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.2.4.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.2.3.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.2.2.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.2.1.
- symfony/console v3.3.6 conflicts with symfony/var-dumper v4.2.0.
- composer/composer 1.10.10 requires symfony/console ^2.7 || ^3.0 || ^4.0 || ^5.0 -> satisfiable by symfony/console[v3.3.6].
- craftcms/cms 3.5.17.1 requires composer/composer 1.10.10 -> satisfiable by composer/composer[1.10.10].
- craftcms/cms is locked to version 3.5.17.1 and an update of this package was not requested.
- Root composer.json requires spatie/craft-ray ^1.1 -> satisfiable by spatie/craft-ray[1.1.0, 1.1.2, 1.1.3].
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
composer --ignore-platform-reqs completed 🤘
`
This site is running Craft 3.5.17.1 (from January) so it's possible that Ray isn't compatible with that version of Craft/Symphony?

authors: freekmurze siffring

repo: spatie/craft-ray


text:
Allow limited replay

This change allows us to limit event replay up to a specific event ID.
This is useful for reverting the state of an application to any point in time, to the nearest event, and then following the evolution of the application's state step by step.
I've been using a hacky workaround in a little todo app I'm making to learn event sourcing, but once I introduced Reactors it became too complex to manage from outside the library.

Doesn't this allow to break the chronology?

This would depend on how you handle events. In my case, I block all new events until the projectors are brought up to date. Essentially, I bring my app into a "history view" state.
I certainly understand your concern though, and if there's a better way to achieve the same results I'd be glad to hear them.
Maybe I went about this wrong and should've just made new projectors that stop at a certain ID.
I'll leave this open for now, but I'll be thinking about alternatives over the weekend.

While this does allow for easily putting your application into a read-only history view state, actual use cases are limited.
I'll be solving this through historic projectors from here on out.

repo: spatie/laravel-event-projector


text:
confirm environment

This PR enables to confirm the environment before keep going.

Thanks!

authors: freekmurze pkboom

repo: spatie/laravel-stubs


text:
How to resolve Connexion.FlaskAPP with ASGI server uvicorn / gunicorn has synchronous api calls Error: ERROR:root:error (0, '')

Discussed in https://github.com/spec-first/connexion/discussions/1961

Originally posted by karthikc08 August  9, 2024
After migrating from connexion2 to connexion 3 we are facing a weird error causing the application to stop.
When ever multiple api calls are triggered from application to Flask app server with ASGI it randomly throws unauthorized error stating: ERROR:root:error (0, '')
When a single call is made it works but when multiple api calls are triggered from a single promise or one after other application randomly returns result once and throws 401 error some times.
Trace logs:
TRACE:    127.0.0.1:53718 - ASGI [7] Started scope={'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.4'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8080), 'client': ('127.0.0.1', 53718), 'scheme': 'http', 'root_path': '', 'headers': '<...>', 'state': {}, 'method': 'GET', 'path': '/api/v1/me/offers', 'raw_path': b'/api/v1/me/offers', 'query_string': b''}
TRACE:    127.0.0.1:53685 - ASGI [6] Send {'type': 'http.response.start', 'status': 401, 'headers': '<...>'}
TRACE:    127.0.0.1:53718 - ASGI [7] Send {'type': 'http.response.start', 'status': 401, 'headers': '<...>'}
TRACE:    127.0.0.1:53685 - ASGI [6] Send {'type': 'http.response.body', 'body': '<90 bytes>', 'more_body': True}
TRACE:    127.0.0.1:53718 - ASGI [7] Send {'type': 'http.response.body', 'body': '<90 bytes>', 'more_body': True}
TRACE:    127.0.0.1:53685 - ASGI [6] Send {'type': 'http.response.body', 'body': '<0 bytes>'}
TRACE:    127.0.0.1:53718 - ASGI [7] Send {'type': 'http.response.body', 'body': '<0 bytes>'}
TRACE:    127.0.0.1:53685 - ASGI [6] Completed
TRACE:    127.0.0.1:53718 - ASGI [7] Completed
ERROR:root:error (0, '')
ERROR:root:error (0, '')
INFO:     127.0.0.1:53685 - "GET /api/v1/me HTTP/1.1" 401 Unauthorized
INFO:     127.0.0.1:53718 - "GET /api/v1/me/offers HTTP/1.1" 401 Unauthorized
TRACE:    127.0.0.1:53685 - HTTP connection lost
TRACE:    127.0.0.1:53718 - HTTP connection lost

Posted the issue on stack overflow too: https://stackoverflow.com/questions/78849875/running-flask-app-with-connexion-3-1-0-with-synchronous-api-calls
Code used:
app = connexion.FlaskApp(__name__, specification_dir='config/swagger/')
CORS(app.app, supports_credentials=True)
app.add_middleware(
      CORSMiddleware,
      position=MiddlewarePosition.BEFORE_EXCEPTION,
      allow_origins=["*"],
      allow_credentials=True,
      allow_methods=["*"],
      allow_headers=["*"],
)

@app.app.after_request
def cache_busting_headers(response):
    response.headers.extend({
        'Last-Modified': datetime.now(),
        'Cache-Control': cache_control_header,
        'Pragma': 'no-cache',
        'Expires': '0'
    })
    return response

def run():
    uvicorn.run(app, port=int(os.getenv('PORT', 8080)), log_level='trace')

if __name__ == '__main__':
    run()

Dependencies used:
connexion[flask,uvicorn,swagger-ui]==3.1.0 Flask-Cors==4.0.1
Can anyone guide me on the solution for this.

Cannot reproduce.

repo: spec-first/connexion


text:
Index size Per CF in Block Cache Feature broken after rebase on RocksDB 8.1 (LRU Cache)

Facebook have made sunstantial modifications to the Block Cache API. The speedb feature needs adaptations.
While working on this issue, consider https://github.com/speedb-io/speedb/issues/474

The original issue is: https://github.com/speedb-io/speedb/issues/338

@erez-speedb - Please run Performance

Performance test of 32CF, 2GB cache passed

@Yuval-Ariel - Please make your checks and merge. thanks

authors: Guyme erez-speedb udi-speedb

repo: speedb-io/speedb


text:
[BUG] Wrong Encoding for midi length?

Version
spessasynth_lib
Description
I use the following step to encode midi:
const mid = new MIDIBuilder("Download", 480, 120);
let time = 0;

for (let i = 60; i < 67; i++) {
    mid.addNoteOn(0, 0, i, 127, time);
    time += 700;
}

mid.flush();

// Write the MIDI file to a blob and save it
const b = writeMIDIFile(mid);
const blob = new Blob([b.buffer], { type: "audio/mid" });
const url = URL.createObjectURL(blob);
const a = document.createElement("a");
a.href = url;
a.download = "C_major_scale.mid";
a.click();

Yep, i didn't append note off event. I wish the sound nature decay.
When i play this midi use the example, https://spessasus.github.io/SpessaSynth/, all things work good.
But I tried another two midi player,
https://pianotify.com/import-midi-file
and
https://cifkao.github.io/html-midi-player/
Both cannot work. Is this a designated behavior? I suspect it has a minor encoding issue of duration when no noteoff event is sent
Reproduction steps
Describe the steps to reproduce the behavior.
Expected behavior
Provide a clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
MIDI files and SoundFonts
If the issue only persists with specific MIDIs or SoundFonts, add them here too. (preferably .zip)
C_major_scale (8).mid.zip
Environment
If the issue only persists on a smartphone, or only on a PC, or only on Chrome, etc. please specify.
Additional context
Add any other context about the problem here that may be helpful.

The file you provided is correctly formatted. However, it seems to me that those players expect a note off to determine a note's length but since there is none, they see it as no sound. Your should always send a note off at the end, but that's technically a bug on their end.
According to my testing:
Fluidsynth works fine and prints this: fluidsynth: warning: End of the MIDI file reached, but not all notes have received a note off event! OFFing them now! Run with --verbose to spot pending voices.
Falcosoft MidiPlayer6 works fine
TiMidity++ works fine
and as you mentioned, spessa works fine. PS: the last note is the last event in the file after which all notes are stopped. That's why it's playing for a very short time.
Summing up, you should avoid sending note-ons without corresponding note-offs as some players always expect them. In your code, you can add another 700 ticks (for the last note) and then send the note off:
import {MIDIBuilder, writeMIDIFile} from "spessasynth_lib";

const mid = new MIDIBuilder("Download", 480, 120);
let time = 0;

for (let i = 60; i < 67; i++) {
    mid.addNoteOn(time, 0, 0, i, 127);
    time += 700;
}
// send note off for all
for(let i = 60; i < 67; i++){
    mid.addNoteOff(time, 0, 0, i);
}

mid.flush();

// Write the MIDI file to a blob and save it
const b = writeMIDIFile(mid);
const blob = new Blob([b.buffer], { type: "audio/mid" });
const url = URL.createObjectURL(blob);
const a = document.createElement("a");
a.href = url;
a.download = "C_major_scale.mid";
a.click();

This code produces a file that correctly loads into html-midi-player.
Since this is not a bug, I'm closing this.

Okay I see thanks a lot!

repo: spessasus/SpessaSynth