text:
Certain rolebindings seem to only sync on rbac-manager Pod reboot

What happened?
I'm not quite sure what's going on, but we noticed that certain rolebindings can take quite a while, sometimes hours to appear on their namespaces. After further testing it looks like they are synced on restarts and new Pod creations. Other rolebindings appear pretty much immediately.
What did you expect to happen?
All rolebindings should be synced pretty fast to their namespaces.
How can we reproduce this?
We have setup like this. Old generic "developer" rbac which does get synced pretty much immediately:
apiVersion: rbacmanager.reactiveops.io/v1beta1
kind: RBACDefinition
metadata:
  name: developers
rbacBindings:
  - name: developer
    subjects:
      - kind: Group
        name: developers
    roleBindings:
      - clusterRole: edit
        namespaceSelector:
          matchExpressions:
            - key: kubernetes.io/metadata.name
              operator: NotIn
              values:
              - default
              - kube-system
              - kyverno
    clusterRoleBindings:
      - clusterRole: view
      - clusterRole: developer
      - clusterRole: developers-extra-permissions

And then we have these newer rbac that are like per-team, so that team-a can have more permissions to their own namespaces etc. These only seem to sync on rbac-manager restart:
apiVersion: rbacmanager.reactiveops.io/v1beta1
kind: RBACDefinition
metadata:
  name: team-asdfgh-rbac-definition
rbacBindings:
  - name: team-asdfgh
    subjects:
      - kind: Group
        name: team-asdfgh
    roleBindings:
      - clusterRole: edit
        namespaceSelector:
          matchLabels:
            app-owner: team-asdfgh
      - clusterRole: edit
        namespaceSelector:
          matchLabels:
            developers: edit
    clusterRoleBindings:
      - clusterRole: view
      - clusterRole: support
      - clusterRole: developers-extra-permissions

➜ kg rolebindings.rbac.authorization.k8s.io
NAME                        ROLE               AGE
developers-developer-edit   ClusterRole/edit   117s

➜ krrd -n rbac-manager
deployment.apps/rbac-manager restarted

➜ kg rolebindings.rbac.authorization.k8s.io
NAME                                                       ROLE               AGE
developers-developer-edit                                  ClusterRole/edit   2m14s
team-asdfgh-rbac-definition-team-asdfgh-edit               ClusterRole/edit   6s

Could the issue somehow be related to matchLabels usage? Logs aren't really helping, there's nothing relevant.
Version
rbac-manager latest helm-chart 1.20, so the app version is v1.8.0
We're running this on eks with k8s version 1.29
Search

[X] I did search for other open and closed issues before opening this.

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Additional context
No response

The reconciliation loop should run on any change to an rbacDefinition or Namespace. Is one of those happening during this time that you're expecting the updates to happen? I'm not able to discern exactly your workflow here

The reconciliation loop should run on any change to an rbacDefinition or Namespace. Is one of those happening during this time that you're expecting the updates to happen? I'm not able to discern exactly your workflow here

Yes. This example from the OP was just after a new Namespace creation:
➜ kg rolebindings.rbac.authorization.k8s.io
NAME                        ROLE               AGE
developers-developer-edit   ClusterRole/edit   117s

➜ krrd -n rbac-manager
deployment.apps/rbac-manager restarted

➜ kg rolebindings.rbac.authorization.k8s.io
NAME                                                       ROLE               AGE
developers-developer-edit                                  ClusterRole/edit   2m14s
team-asdfgh-rbac-definition-team-asdfgh-edit               ClusterRole/edit   6s

developers-developer-edit gets there immediately, but team-asdfgh-rbac-definition-team-asdfgh-edit only after rbac-manager restart. We have three clusters with this setup and I'm able to replicate this issue on all of them.
We first noticed this issue a few days ago as one of the developers didnt have correct permissions to their namespace. They were missing that app-owner label in the namespace. After adding the label to the namespace we noticed that the per-team rolebinding was not syncing there until rbac-manager was restarted.

That's very odd indeed. I'm noticing that our k8s client libraries haven't been updated in a bit. I wonder if that's causing some incompatibility issues with 1.29. I opened up https://github.com/FairwindsOps/rbac-manager/pull/477 to update the e2e tests with later versions of k8s.

Using rbac-manager v1.9.0 now, upgraded via latest helm chart.
also on k8s 1.30 now, freshly upgraded
➜ kgd -n rbac-manager -o yaml | grep -i image:
          image: quay.io/reactiveops/rbac-manager:v1.9.0

➜ k version
Client Version: v1.30.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.1-eks-1de2ab1

Did some more testing. Issue persists 😢
Missing for 12mins since namespace creation ❌
➜ kg rolebindings.rbac.authorization.k8s.io
NAME                        ROLE               AGE
developers-developer-edit   ClusterRole/edit   12m

kubectl label does not trigger ❌
➜ k label ns turmio-134 app-owner=team-another --overwrite
namespace/turmio-134 labeled

➜ kg rolebindings.rbac.authorization.k8s.io
NAME                        ROLE               AGE
developers-developer-edit   ClusterRole/edit   14m

kubectl edit namespace does not trigger ❌
➜ k edit ns turmio-134
namespace/turmio-134 edited

➜ kg rolebindings.rbac.authorization.k8s.io
NAME                        ROLE               AGE
developers-developer-edit   ClusterRole/edit   15m

rbac-manager restart triggers ✅
➜ krrd -n rbac-manager
deployment.apps/rbac-manager restarted

➜ kg rolebindings.rbac.authorization.k8s.io
NAME                                                       ROLE               AGE
developers-developer-edit                                  ClusterRole/edit   15m
team-another-rbac-definition-team-another-edit             ClusterRole/edit   11s

Same exact issue happens even when I change from..
      - clusterRole: edit
        namespaceSelector:
          matchLabels:
            app-owner: team-asdfgh

...to:
      - clusterRole: edit
        namespaceSelector:
          matchExpressions:
            - key: app-owner
              operator: In
              values: [ team-asdfgh ]

So that doesnt seem to work as workaround either.

Thanks. That all helps a lot. We can look into this further now.

@sudermanjr any chance of this getting worked at?

authors: bcha sudermanjr

repo: FairwindsOps/rbac-manager


text:
Dependency issue due to pmmp moving protocol folder to subfolder

Since pocketmine\network\protocol\UpdateBlockPacket moved to pocketmine\network\mcpe\protocol\UpdateBlockPacket this plugin gives a unknown circular dependency error on load when compiled to phar (does not do it running from source).  Anyway, changing this line to the correct path seems to have fixed.

Seems to be working with the updated SimpleWarp.  I compiled this one to phar and it runs without the dependency error now

source: gharchive/pull-request

repo: Falkirks/SimplePortals

license: mit

license_type: permissive

license_source: bigquery


text:
Login Page - in phone number & whatsapp login page there is wrong suggestions

Describe the bug

https://www.berrycast.com/conversations/0afb6502-46a4-5829-a74b-0cca543f9b52

source: gharchive/issue

repo: Fammeo/EasyCloudBooks

license: MIT

license_source: github-api


text:
More systematic way for adding assertions

We are looking into brining more assertions into the engine.
Basically we are probably going to have an assert method that checks if a certain condition is being met and throw an error otherwise (basically like t.ok in tape). The issue is to make this minifiable/ integrate with our existing tools.
The proposed solution can be found here:

Browserify transform: https://github.com/alexanderGugel/engine/blob/assert/scripts/optimize-assertions.js
assert(): https://github.com/alexanderGugel/engine/blob/assert/utilities/assert.js
Sample usage: https://github.com/alexanderGugel/engine/blob/assert/dom-renderers/DOMRenderer.js

Feedback is very welcome. The main goal is to

avoid unnecessary function calls (micro optimization - yay!)
have the ability to remove error messages for minification purposes.
avoid being locked into browserify by adding optional transform steps.

@michaelobriena

@michaelobriena @DnMllr Does anyone have any thoughts on this?

repo: Famous/engine


text:
[23년 3월 4주차] 모의 면접 + 보충 학습

🚀 스터디

일시: 2023-03-21 (화) 20시 ~ 22시 (2h)

일정 변경은 적어도 전날까지. 불가피한 사정 외에 당일 변경 시 벌금(3만원)

참석자

[ ] 👨💻 A팀 (팬시, 네오, 상혁, 현철)
[ ] 👩💻 B팀 (주디, 수연, 은선)

내용

팀별 인성 + 기술 모의면접
범위 : 지금까지 공부한 전범위 (이번주 보충 과제는 범위에 포함하지 않습니다.)
면접 내용 기록 : notion
진행 방식 : 팀별 모의면접, 모르는 질문은 과감하게 패스! 그리고 밑줄 그어두고 그 다음 주에 다시 질문받기!

🧩 과제

보충 주제 : 아래 보충 주제 중 한 가지를 선택하고 정리한 뒤 PR 제출합니다. 해당 내용은 따로 발표하지 않습니다.

🚀 자료 보충 목차

2. 네트워크
- [x] OSI 7계층
- [x] HTTPS

4. 데이터베이스
- [ ] 스키마

5. 자료구조 & 알고리즘
- [ ] 그래프
- [ ] 이진탐색
- [ ] 완전탐색
- [x] 그리디 알고리즘

PR 마감 날짜: 월요일 자정

지각 시 벌금(3만원)

면접 준비

모의면접을 위해 부족했던 부분을 학습합니다.
가이드라인 : 짧은 시간 안에 모든 주제를 다 습득하는 건 어렵다고 생각해요. 그래서 각자 목표를 “나는 이번 주에는 네트워크는 어느정도 다 숙지하겠어!” “나는 운영체제 가상메모리가 아직 부족하니깐 이 부분을 더 공부하겠어!”라고 목표를 세워서 준비했으면 해요! 모의면접 때 대답못해도 좌절하지마요! 다음주에 그 부분을 채우면 돼요!

오늘 이야기 나누면서 여러가지가 많이 바뀌어서 헷갈릴 수도 있을거 같아요!!!
일단 이번주는 이슈 토대로 준비하시면 됩니다!!!
과제할 주제 똑같이 댓글 남겨주시면 되고 다음주부터는 소수로 면접 진행하니깐 덜 힘들거예요..! 하하하하ㅏㅎ ㅠㅠㅠ 미안합니다ㅠㅠ 이제는 길게 안해요(?) 스피디해요 휙휙휙 하팅!!!

그리디 알고리즘 하겠습니다!
앞으로의 방향을 정하다보니 피치 못하게 길어진거라고 생각해요.
주디도 오늘 여러모로 피곤했을텐데, 열정적으로 스터디 주도해줘서 고마워요😊💗
그치만 3시간 반 쉽지않네요😅 기절각..
다들 너무 수고 많으셨습니다! 화요일에 뵈어요

스키마 하겠습니다! 다들 고생하셨습니다.

저는 그래프 하겠습니다.

이진탐색 준배해오겠습니다.

완전탐색 준비해오겠습니다.

authors: BHC-Chicken Fancy96 ParkJungYoon baekeunsun namtndus sanghyuk2


text:
How to hide align buttons from toolbar?

When I align image from the main toolbar of quill then alignments remains in quill. While If I use the align buttons from quill-blot-formatter then alignments does not save in quill. If I dont user alignAction then resizer for video stops working.
So I just want to hide the three buttons of alignments from quill-blot-formatter.
How to do that?
I am using this package in angular 7 along with ngx-quill.

I created CustomImageSpec class that extends ImageSpec and I also delete AlignAction.
import { DeleteAction, ResizeAction, AlignAction, ImageSpec } from 'quill-blot-formatter'; export class CustomImageSpec extends ImageSpec {   getActions() {     return [DeleteAction, ResizeAction, AlignAction];   } }
and in your quill init add your CustomImageSpec to blotFormatter config.
this.quill = new Quill(... , {       modules: {         ...         blotFormatter: {           specs: CustomImageSpec         }       }     });

throwing a bug A Client Error Occured:  TypeError: this.options.specs.map is not a function

authors: darshanDevrai elazarza gyfrxy-forever

repo: Fandom-OSS/quill-blot-formatter


text:
Expose the CommandHandlers Cache to be injectable

Added the ability to inject the Command Handlers cache without the need to run the Endpoints.
To unit test the logic that uses commands inside without the need to call the actual command handler.
Related discussion

was able to simplify it like this:
https://github.com/FastEndpoints/FastEndpoints/blob/d133af4aea04f8df7885558897f7a0995a4b0579/Tests/UnitTests/FastEndpoints.UnitTests/CommandBusTests.cs#L13-L26
i couldn't push to this PR branch for some reason. so for now my changes live in the dev branch.
pull my changes to your fork and have a look.
if it seems ok, let me know and i'll merge it to main.

Hi @dj-nitehawk
I've tested it and it fulfill my use-case successfully,
Thankx a lot.

great... it's in v5.8.1.8-beta if you wanna use it.

authors: WahidBitar dj-nitehawk

repo: FastEndpoints/FastEndpoints


text:
Bypass

Link
usersdrive.com
Version
Manifest-v2
What browser(s) are you seeing the problem on?
Chrome browsers (includes brave, edge, opera, etc)
What platform are you seeing the problem on?
Computer (Windows, Linux, MacOS)
Anything else?
No response

Provide a valid example link not just the domain.

repo: FastForwardTeam/FastForward

license: Unlicense


text:
feat: jwt 로그인 & 회원가입

Title
Spring security와 jwt를 이용한 로그인 회원가입 구현.
Description

Add jwt dependencies
Create Entity

Token Entity
User Entity

Create Remote DB Table
Create jwt Config

JwtProvider
JwtFilter

SecurityConfig Customize
DTO

SignupDTO
LoginDTO

Repository

Token
User

Service

User

Controller

Auth
Page (additional)

Tasks

[ ] Add jwt dependencies
[ ] Create Entity
[ ] Create Remote DB Table
[ ] Create jwt Config
[ ] SecurityConfig Customize
[ ] DTO
[ ] Repository
[ ] Service
[ ] Controller

References
참고 GitHub

WebHook 연동 테스트

해당 이슈 참고하여 PullReq 열었습니다.
추후 코드 추가 및 수정 통하여 진행상황 업데이트 하겠습니다.

repo: FastcampusMini/mini-project


text:
Bug with button mapping on emulator

Preparation

[X] I tested the latest release
[X] I looked at other issues (even the closed ones)
[X] I read the Troubleshooting Guide

FGO server
NA
FGA build number
1771
Describe the bug
FGA will select "Skill Display" instead of "Update List"
Video
https://github.com/Fate-Grand-Automata/FGA/assets/164827167/521f45a9-c9ae-4a8a-9e3a-2a1e01107ab2
Device model
LDPlayer Emulator
Android version
9
Screen size
1280x720
RAM
No response

How long do updates usually take?

Installing through apk completely solved the issue. Thank you very much

repo: Fate-Grand-Automata/FGA


text:
Can't install on Samsung A51

Before opening an issue:

[x] I tested the latest release
[x] I looked at other issues (even the closed ones)
[x] I read the Troubleshooting Guide
[x] I'll fill this template properly

Your issue will get closed/locked by the bot in case proper info isn't provided
If you open unnecessary/dumb issues, you'll be rewarded with appropriate tags.

Describe the bug
I downloaded the latest Canary build-1404 and trying to install on my Samsung A51, but the app not installed
and ofc I already allowed installation from non play store too 😥
Screenshots

Video
If relevant, include a video of the script running on your device with Debug mode ON
Recording functionality is available within the app in More options.
Device Info (please fill at-least 'Device model'):

Device model name: Samsung A51
Device model: SM-A515F/DSN
Screen size: 1080x2400
Android Version: Android 11
One UI Version: 3.1
RAM: 8GB

so, I just noticed that the internal storage is almost full, and it's already fixed...

I wish Android had a few more detailed error messages.
The same message appears when the APK signature is different.

yeah true, I was so confused at first and just realized that my internal storage almost full a sec after I post this issue > <

authors: ReikutsuNeko reconman


text:
🛑 Asset Delivery is down

In aa15249, Asset Delivery (https://assetdelivery.roblox.com) was down:

HTTP code: 404
Response time: 39 ms

Resolved: Asset Delivery is back up in 4f3265c after 7 minutes.

repo: FearedFusionX/Ro-Status


text:
⚠ Groups API Endpoint has degraded performance

In 3870af1, Groups API Endpoint (https://groups.roblox.com/v1/groups/5680533) experienced degraded performance:

HTTP code: 200
Response time: 4016 ms

Resolved: Groups API Endpoint performance has improved in d6f487a after 5 minutes.


text:
🛑 Foundry VTT 002 is down

In 257ab95, Foundry VTT 002 ($FOUNDRY002) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Foundry VTT 002 is back up in 7ad1b93 after 26 minutes.


text:
GPU configuration

Thanks for releasing the code!!
I am trying to follow up on your works, and have some questions.
Can you tell me what GPU you used in your experiments?
And, is the training can be conducted on the multiple-gpu setting?

Thank you for your interest in our work.
We conduct experiments on v100.
For multiple-gpu implementation, you can refer to https://github.com/yukimasano/self-label/blob/master/sinkhornknopp.py and https://github.com/tfzhou/ProtoSeg/.
If you have other comments, please email: feng.tuo@student.uts.edu.au.

authors: FengZicai byeongjun-park


text:
Rewrite

Closes #65 (temporary solution in https://github.com/Feodor0090/njtai/pull/68/files#diff-c49d5d1dcf8bf02688ab509c2d30ec46ad0ab5e45de6321eeab2bc2efee82eeaR137)
Closes #66
Closes #64
Closes #63
туду: заняться над кодом загрузки картинок в вью
(онлайн даунскейлинг для с40?)

Единственное к чему вопрос - тг чаты.
Я воткнул ссылку на оба, но чаты разделяются у нас на ннмидлы/ннв2 не столько по языку, сколько по шизанутости обитателей. Пытаться описать ЦА нжтая я пожалуй воздержусь, но что я точно скажу - она не должна быть в ннмидлах. Никак. Максимум техподдержка уровня "сбитая точка доступа на 9.3". Для неё как раз ннв2 и сделан.
Так что имхо ссылка на ннв2 должна не просто быть, очень желательно как-то корректно намекнуть что в ннмидлам юзерам не рады, и желательно топать в ннв2 даже если ты британец. Как - не знаю, пытаться не буду.

Хотел приписать (only tech support) и (more liberal), потом вспомнил что у вас в ннмидлах сидит нацист. Крч я в замешательстве.


text:
ошибка при обращение к монго

Traceback (most recent call last):
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\disnake\ui\view.py", line
385, in _scheduled_task
await item.callback(interaction)
File "c:\Users\arina\OneDrive\Рабочий стол\Disnake-events-bot-main\cogs\event-create.py", line 707, in callback
if await staff.find_one({"id": interaction.author.id}) is None:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\concurrent\futures\thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\collection.py", line 1495, in find_one
for result in cursor.limit(-1):
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\cursor.py", line 1243, in next
if len(self.__data) or self._refresh():
^^^^^^^^^^^^^^^
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\cursor.py", line 1160, in _refresh
self.__send_message(q)
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\cursor.py", line 1039, in __send_message
response = client._run_operation(
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo_csot.py", line 108, in csot_wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\mongo_client.py",
line 1425, in _run_operation
return self._retryable_read(
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\mongo_client.py",
line 1534, in _retryable_read
return self._retry_internal(
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo_csot.py", line 108, in csot_wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\mongo_client.py",
line 1501, in _retry_internal
).run()
^^^^^
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\mongo_client.py",
line 2347, in run
return self._read() if self._is_read else self._write()
^^^^^^^^^^^^
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\mongo_client.py",
line 2479, in _read
with self._client._conn_from_server(self._read_pref, self._server, self._session) as (
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\contextlib.py", line 137, in enter
return next(self.gen)
^^^^^^^^^^^^^^
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\mongo_client.py",
line 1351, in _conn_from_server
with self._checkout(server, session) as conn:
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\contextlib.py", line 137, in enter
return next(self.gen)
^^^^^^^^^^^^^^
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\mongo_client.py",
line 1260, in _checkout
with server.checkout(handler=err_handler) as conn:
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\contextlib.py", line 137, in enter
return next(self.gen)
^^^^^^^^^^^^^^
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\pool.py", line 1763, in checkout
conn = self._get_conn(checkout_started_time, handler=handler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\pool.py", line 1921, in _get_conn
conn = self.connect(handler=handler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\pool.py", line 1725, in connect
conn.authenticate()
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\pool.py", line 1098, in authenticate
auth.authenticate(creds, self, reauthenticate=reauthenticate)
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\auth.py", line 656, in authenticate
auth_func(credentials, conn)
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\auth.py", line 560, in _authenticate_default
return _authenticate_scram(credentials, conn, "SCRAM-SHA-1")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\auth.py", line 338, in _authenticate_scram
res = conn.command(source, cmd)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\helpers.py", line
342, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\pool.py", line 988, in command
return command(
^^^^^^^^
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\network.py", line
212, in command
helpers._check_command_response(
File "C:\Users\arina\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pymongo\helpers.py", line 248,
in _check_command_response
raise OperationFailure(errmsg, code, response, max_wire_version)
pymongo.errors.OperationFailure: bad auth : authentication failed, full error: {'ok': 0, 'errmsg': 'bad auth : authentication failed', 'code': 8000, 'codeName': 'AtlasError'}

это когда он получает стату ивентёра и если её нету то устанавливает и со значением 1

repo: Fequme/Disnake-events-bot


text:
Use authentication enabled docker for integration test

Description

For task test-integration-mongodb, the image mongodb_secured is used which has authentication and authorization enable. It already has an user created in docker.
Calling setup.SetupWithOpts(t, &setup.SetupOpts{SetupUser: true}) creates an user with root authorization permission at the beginning of the test, use that authenticated user for the test and drops the user at the end. Since all test share the users in admin.system.users database, the unique username is used for each test.
For task test-integration-postgresql and task test-integration-sqlite the listener is created within setup, and each test creates its own independent postgresql database or sqlite directory, so no other test accesses it.
Calling setup.SetupWithOpts(t, &setup.SetupOpts{SetupUser: true}) creates an user using local exception at the beginning of the test, and entire postgresql database is dropped at the end of the test.

postgresql example postgres://username@127.0.0.1:5432/testcommandsauthenticationlogoutauthenticateduser
sqlite example file:../tmp/sqlite-tests/testcommandsauthenticationlogoutauthenticateduser/

Closes #4100.
Readiness checklist

[ ] I added/updated unit tests (and they pass).
[x] I added/updated integration/compatibility tests (and they pass).
[ ] I added/updated comments and checked rendering.
[x] I made spot refactorings.
[ ] I updated user documentation.
[ ] I ran task all, and it passed.
[x] I ensured that PR title is good enough for the changelog.
[x] (for maintainers only) I set Reviewers (@FerretDB/core), Milestone (Next), Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

I will check the security workflow failure

authors: AlekSi chilagrow

repo: FerretDB/FerretDB


text:
Reposition Post back button outside of Post border

What does this pull request aim to achieve? 💯
Centering the back button outside of the post border box.

Please be concise and link any related issue(s):
#804

[x] I have checked that no one else is working on similar changes.
[x] I have read the latest README and understand the development workflow.
[x] The name of this branch is: feature/<branch_name> (need to have cloned the repo not forked).
[x] This branch is rebased/merged with the latest master.
[x] There are no merge conflicts.
[x] There are no console warnings and errors.
[x] On the right hand side of this PR, I have linked the appropriate issue(s) under "Issues" and added a project progress under "Projects".

@ppagarawal let me know if this looks good :)

@nr431207 @idjevm Please check the alignment of the button. It appears to be fine for a few posts but not for all.

Any comments on the styling @ppagarawal ? I noticed that there is some mix up coloring happening on active and on hover. https://share.getcloudapp.com/OAuBG8bN

These will be addressed in future releases. These changes on mouse over and click is common across the platform.

repo: FightPandemics/FightPandemics


text:
🛑 logs.zzls.xyz is down

In 3d8f6ba, logs.zzls.xyz (https://logs.zzls.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: logs.zzls.xyz is back up in a6688c4 after 9 minutes.

repo: Fijxu/justlog-instances-uptime


text:
🛑 logs.2807.eu is down

In 8eefc04, logs.2807.eu (https://logs.2807.eu) was down:

HTTP code: 502
Response time: 781 ms

Resolved: logs.2807.eu is back up in 0b25754.


text:
feature/add move in left route transtion

Replaces #494

LGTM 🔥

repo: FilledStacks/stacked


text:
wildcard certs don't work on Windows

Windows 10 x64
Chrome 79.0.3945.88
Wildcard certificates created per the doc do not work on Windows 10. The cert shows up in Chrome as Invalid for whoami.localhost.
mkcert -key-file key.pem -cert-file cert.pem *.localhost
Non-wildcard certificates with specific subject alternative names do work. This shows up as Valid in Chrome for whoami.localhost.
mkcert -key-file key.pem -cert-file cert.pem blog.example.com whoami.localhost

Have you tried surrounding the wildcard hostname in quotes like the documentation example? e.g. mkcert "*.localhost"
Alternatively, I read somewhere that Windows doesn't recognise pem files as certificates. Try using -cert-file sitename.crt -key-file sitename.key.
Note that I'm just another mkcert using making a guess. Haven't tried it on windows.

I tried creating a single domain cert, and importing the CA again using mkcert, and didn't seem to do anything, so I then manually loaded the cert into Chrome/windows database, and still nothing. I rebooted Chrome and it worked. But I also noticed I was getting the lock ICON on my wildcard cert domains... so I updated NGINX to only use the wildcard cert again, restarted NGINX, restarted Chrome, and they appear to be working for now, in both Chrome and Firefox. I don't know if it was restarting Chrome (which I'm sure I did the first time around) or manually loading the certs or maybe just the first import failed for some reason? I can't explain it, but for now my 5 subdomains are up and running with a single wildcard cert (though pihole still isn't showing the lock icon for some reason). I wish I had a better explanation.

@blotsome's issue sounds like it was resolved. @Strandedpirate's is probably due to the fact that browsers don't support first level wildcards like *.com. mkcert prints an error for those, but can't do anything else.

check https://github.com/FiloSottile/mkcert/issues/383#issuecomment-1937455068

authors: FiloSottile Strandedpirate blotsome renatofrota timwis

repo: FiloSottile/mkcert


text:
Element polyfill issue

On Chrome (version 52.0.2743.82) loading the Element.prototype.classList polyfill raises and exception:
Failed to execute 'appendChild' on 'Node': Only one element on document allowed.
See https://fredj.io/polyfill.html

Classlist is not required in chrome 52.  You are loading it with the always flag, but not the gated flag, which means you're trying to overwrite a native implementation with a polyfill.  In this case, the polyfill cannot overwrite the native implementation, but we don't consider this a problem.  Either include the gated flag, or remove the always one.

authors: fredj triblondon

repo: Financial-Times/polyfill-service


text:
Add the Intl locales to the url builder page

This is one way to resolve https://github.com/Financial-Times/polyfill-service/issues/1911
If someone has another solution to this problem, please comment on this PR :-)

Seems like the old solution was reasonable, to show one result with a little note

@notlee It was okay but it did not list all the locales the user can choose from, they would have to hazard a guess

@notlee It was okay but it did not list all the locales the user can choose from, they would have to hazard a guess

How many are there? I wonder if they could be listed in the note. Not searchable but avoids the long long list so other available polyfills can be scanned

@notlee It was okay but it did not list all the locales the user can choose from, they would have to hazard a guess

How many are there? I wonder if they could be listed in the note. Not searchable but avoids the long long list so other available polyfills can be scanned

716

Could we have it show as something like Intl.PluralRules.~locale.LOCALE and have the word LOCALE be bold and the note says For valid locales see <the supported locales page> and we have another page that lists all the valid locales at like https://polyfill.io/v3/supported-locales

Actually, that does kind of interrupt the ability to use the polyfill builder.
What about if we have a ▶ Intl.PluralRules.~locale expander, and all the locale checkboxes appear loaded in when you toggle the expander?

authors: JakeChampion chee notlee


text:
Replacing items in recent list

hi there
It seems that once the recent list reaches the limit, newly used emoji will only replace the last item, not others.
When updating the recent history, can we:

remove the least used item
sort the list by time desc

I'm aware of the issue and behavior. It's on my Todo list, but haven't found time for it yet. If you interested to contribute let me know, then we can discuss the specs. Otherwise please be a bit more patient 🙇

authors: Fintasys PhantomRay


text:
It loses its state on every parent setState()

Hello!
We went on beta (join it if you want hihi) and found a new issue. When the parent of the picker calls setState(), the emoji picker loses its state and goes back to the first page.
Do you know any quick way to fix it? Or should we change the emoji picker itself and release a new version?
Here's an example that showcases the issue. In this case, when we scroll the list, we call a setState() to show or hide the FAB. Now I'm going to do it with a ValueNotifier to avoid that setState() only for a part of the screen, but well, the issue is there.

As usual, thanks for the plugin and the support! 👍

That doesn't look good 😅 Which version are you using? Did you also try current master?

We are on 1.0.7 and nope, didn't try current master :·D

authors: Fintasys rocboronat


text:
Focus on Name field

Clicking on 'Add' should give focus on the Name field in the popup

imo it shouldn't and the user should decide what action they want to do first. I for example add the key first then the name.
Furthermore this experience is terrible when using touch keyboard and a s a Surface Pro user I know how it is like to get sudden text focuses popping the keyboard unwanted

authors: FireCubeStudios Yohan-Janolin

repo: FireCubeStudios/Protecc


text:
Module 'cloud_firestore' not found

Getting this error. when running Product archive in Xcode. Please help!!! Strugging with this for 3 weeks now.

Hi @Mike333333
You might need to execute pod install from root of your ios folder from your project
can you please provide your flutter doctor -v and flutter run --verbose?
Also, to better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem
Thank you

@Mike333333 @TahaTesser
Same trouble here...
tried flutter clean, remove pod, install again
& no luck...

repo: FirebaseExtended/flutterfire


text:
Does FlutterFire Firestore module query from cache if docs are available in cache?

This is more of a doubt than an issue. I have tried asking at other places but i think its more of a flutterfire specific thing than a firebase thing.
Does flutterfire firestore plugin query data from cache and only pull documents when there is changed documents in cloud when using the Firestore.Collection.get() method.
That is if i have a get() method called everytime i open the app will firestore read all the documents from cloud even if no docs are changed and everything is available in cache ? Or does it pull documents only when there is changed documents in cloud?
Ive tried checking the read counts using GCP console but couldn't arrive at a conclusion. Can someone clarify this.

We implement the underlying SDKs so behaviour should mimic web/android/ios.
Basically it goes like this:

You perform a query.
Connection to the server is carried out to get server results.
3a. If server responds within 10 seconds, you get server result back (internally, the cache is updated).
3b. If no response is there within 10 seconds, documents are read from the cache.

You can force the library to read from cache or server exclusively by using GetOptions.
This is a good post to help understand the overall issue better: https://medium.com/firebase-developers/firestore-clients-to-cache-or-not-to-cache-or-both-8f66a239c329


text:
[cloud_functions] - region support

Hello,
i am using the current version of the cloud functions plugin to call a cloud function inside my backend. The cloud functions are hosted in europe-west1. when i now call the function
CloudFunctions.instance.call(
        functionName: 'functionName',
        parameters: {'data': ''}).then((resp) {
        // Do some stuff
 }).catchError((error) {
      print(error.toString());
 });

i get an error with "NOT FOUND".
After that i was testing it with the cloud functions shell
dev@cloudshell:~ (project)$ gcloud functions call "functionName" --data '{"data":""}'

output:
ERROR: (gcloud.functions.call) ResponseError: status=[404], code=[Not Found], message=[Function getSwipePictures in region us-central1 in project does not exist]

when i give the correct region as parameter --region eurpe-west1 it works correctly.
My question is now, have i missed the parameter to configure the cloud functions plugin for a other region then us-central1 or is this configuration not implemented yet?
Many thanks in advance for your help
Max
flutter doctor -v
[√] Flutter (Channel beta, v0.11.3, on Microsoft Windows [Version 10.0.17763.55], locale de-DE)
    • Flutter version 0.11.3
    • Framework revision 72bf075e8d (4 days ago), 2018-11-09 20:36:17 -0800
    • Engine revision 5646e86a6f
    • Dart version 2.1.0 (build 2.1.0-dev.9.3 9c07fb64c4)

[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[√] Android Studio (version 3.2)
    • Android Studio
    • Flutter plugin version 30.0.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[√] VS Code (version 1.29.0)
    • VS Code at Microsoft VS Code
    • Flutter extension version 2.20.0

[√] Connected device (1 available)
    • Pixel 2 • code• android-arm64 • Android 9 (API 28)

• No issues found!

@Knupper
The issue at https://github.com/flutter/flutter/issues/24333 has been closed and moved here. Future collaboration on this issue will be done here.

Hi @Knupper
given the merged PR I feel safe to close this issue,
if you disagree please write in the comments
and I will reopen it. Thank you

authors: iapicca kroikie


text:
[bug] Future<List> is not a subtype of Future<List> in getThumbnail

There seems to be a type mismatch when calling getThumbnail on a Medium.
The method signature here is Future<List<int>> getThumbnail(), but it calls the static method PhotoGallery.getThumbnail() which returns a Future<List<dynamic>>. And with strict typing Dart cannot cast the List<dynamic> to a List<int>.
The solution could be to either return a List<int> from PhotoGallery.getThumbnail or cast the List<dynamic> to a List<int> manually before returning it.
I would favor the first suggestions, but I don't know what else could be returned from the native side, that would need to be dynamic.

It's solved by supporting null safety in release 1.0.0.


text:
🛑 Andrisani Website is down

In d8a9c3d, Andrisani Website (https://www.andrisani.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Andrisani Website is back up in 518ed7a after 10 minutes.

repo: FirenzeDigital/upptime


text:
Add Lost x Early 20 Rager by Lil Uzi

Song Name
Lost x Early 20 Rager
Artist Name
Lil Uzi
Source
Youtube
Youtube Link
Z0nJ6zouHB8
Direct File Link
No response
Song ID
945695
Start Offset [ms]
3
Extra
Created from Auto Nong.
Created for level: 82882105
Downloaded: Yes

accept

repo: FlafyDev/auto-nong-indexes


text:
ValueError: 'auto' is not a valid RerankerModelClass

I'm having the above problem with fine tuning and it seems that auto is not defined,thanks!

Thank you for pointing out the issue! We have updated the code. You can clone the repository again.

repo: FlagOpen/FlagEmbedding


text:
Setup project tools and CI

@aviau for review.
Add tools, nox and CI.

How do I use it?
Can it be documented in the README? Can we add a Makefile with simple targets? make test and make lint ?

Something like this?
venv:
	python3 -m venv venv
	venv/bin/pip install poetry==1.1.11 nox==2021.10.1 || (rm -rf venv && exit 1)

.PHONY: lint
lint: venv
	venv/bin/nox --session lint

.PHONY: test
test: venv
	venv/bin/nox --session tests

.PHONY: clean
clean:
	rm -rf venv
	rm -rf .nox

test does not work, it says pytest is needed, but I don't see where its installed in the github workflows.

repo: Flared/saturn


text:
contribute

I everyone,
I am quite new to Go but I would like to contribute:
does there is some improvement that you need ?

Seems not maintained

authors: AyWa leedstyh

repo: FlashBoys/go-finance


text:
local stream problems

I have an HDMI Encoder that I am trying to connect via CumulusTV to 3 Android TV Boxes (Shield x2, NP x1)
I cannot seem to get a successful stream to play. I am getting good playback on VLC. (HTTP Stream)
HW specs here: http://www.amazon.com/OPR-NH100-Encoder-Broadcast-Recording-replace/dp/B00NIFJYEC/ref=sr_1_1?ie=UTF8&qid=1455739868&sr=8-1&keywords=hdmi+encoder

Hmm the product listing seems to mention VLC decoding, which makes me think that there's some sort of custom software decoding that they're doing which I'm not doing. I don't have one of these so I can't really say what the best solution is right now.

Protocol: HTTP UDP unicast / multicast;RTSP;RTMP
The black screen I get from this in CumulusTV is also present on several of the stream sources that were included on the app, so I am guessing that something with the latest android security updates broke something???

No clue why it's being weird, as it works well for me. Although I'm
releasing a big update soon which I'd like you to check.
I don't know if rtsp is supported.
On Feb 18, 2016 8:30 AM, "kartajan" notifications@github.com wrote:

Protocol: HTTP UDP unicast / multicast;RTSP;RTMP
The black screen I get from this in CumulusTV is also present on several
of the stream sources that were included on the app, so I am guessing that
something with the latest android security updates broke something???
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/100#issuecomment-185718556.

will do,

Still the same problem. This is the info for the stream I am trying to play - Please advise me as to what I can try....
http://192.168.0.150:80/hdmi
Codec Information
Stream 0
Type: Video
Original ID: 68
Codec: H264 - MPEG4 AVC (part 10) (h264)
Resolution: 1920x1080
Decoded Format: Planar 4:2:0 YUV
Stream 1
Type: Audio
Original ID: 69
Code: MPEG AAC Audio (mp4a)
Channels: Stereo
Sample Rate: 44100 Hz

From: Nick notifications@github.com
Sent: Friday, February 19, 2016 11:47 PM
To: Fleker/CumulusTV
Cc: kartajan
Subject: Re: [CumulusTV] local stream problems (#100)
1.5.1 is released

Reply to this email directly or view it on GitHubhttps://github.com/Fleker/CumulusTV/issues/100#issuecomment-186516948.

It looks like the stream should play correctly. I don't really know why
not.

any ideas on what I could try in order to determine the issue?

Is this the problem, and if so- is there anything I can do to circumvent it (The device can output HTTP, UDP unicast / multicast, RTSP, or RTMP )
http://stackoverflow.com/questions/21232206/raw-h-264-stream-output-by-mediacodec-not-playble
http://stackoverflow.com/questions/13307086/decoding-raw-h264-stream-in-android

I'm using ExoPlayer for playback, and I was pretty sure it supports this
codec.
On Feb 20, 2016 9:14 PM, "kartajan" notifications@github.com wrote:

Is this the problem, and if so- is there anything I can do to circumvent
it (The device can output HTTP, UDP unicast / multicast, RTSP, or RTMP )
http://stackoverflow.com/questions/21232206/raw-h-264-stream-output-by-mediacodec-not-playble
http://stackoverflow.com/questions/13307086/decoding-raw-h264-stream-in-android
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/100#issuecomment-186721126.

OK, since I still cannot get it to play in the app, this is the only way I could get this stream to playback on the NP. I am hoping this will provide enough input to figure out what I need to do to make it function. (Note that the regular android VLC app/ PC VLC play the stream fine by direct entry of the link "http://192.168.0.150:80/hdmi" )
put m3u8 file on PC
install IPTV plugin to Emby
setup link in IPTV plugin
Go to NP
browse "network" in VLC (DLNA)
open link in "emby", "video bookmarks", sharename
This is now playing, some A/V offset due to emby transcoding
Emby Log.txt
tfc.m3u8.txt
(this site doesn't support uploading the m3u8, so I just appended a .txt for upload)

Hmm that's pretty odd. It is likely some unusual transcoding that isn't
supported by the media player I'm using:
https://github.com/google/ExoPlayer/
On Feb 22, 2016 11:24 AM, "kartajan" notifications@github.com wrote:

OK, since I still cannot get it to play in the app, this is the only way I
could get this stream to playback on the NP. I am hoping this will provide
enough input to figure out what I need to do to make it function. (Note
that the regular android VLC app/ PC VLC play the stream fine by direct
entry of the link "http://192.168.0.150:80/hdmi" )
put m3u8 file on PC
install IPTV plugin to Emby
setup link in IPTV plugin
Go to NP
browse "network" in VLC (DLNA)
open link in "emby", "video bookmarks", sharename
This is now playing, some A/V offset due to emby transcoding
Emby Log.txt
https://github.com/Fleker/CumulusTV/files/140935/Emby.Log.txt
tfc.m3u8.txt
https://github.com/Fleker/CumulusTV/files/140936/tfc.m3u8.txt
(this site doesn't support uploading the m3u8, so I just appended a .txt
for upload)
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/100#issuecomment-187252918.

do you know where I can find information on what codecs/ formats/ etc. are properly supported with enough detail to attempt setting my encoder's output to something that works?

There's some supported formats mentioned on this page:
https://google.github.io/ExoPlayer/guide.html but I haven't been able to
find a specific list of supported codecs.
On Tue, Feb 23, 2016, 10:30 AM kartajan notifications@github.com wrote:

do you know where I can find information on what codecs/ formats/ etc. are
properly supported with enough detail to attempt setting my encoder's
output to something that works?
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/100#issuecomment-187743979.

that has links to here:
https://developer.android.com/guide/appendix/media-formats.html
which I reconfigured my stream per table #2 (H.264 Baseline, HD 720p), but nothing changed; still not playing the stream...

related question.. in the "readme" you put out the JSON Format like so:
"url":"stream.m3u8", //Channel stream or website url
Does the app assume that the files are in Google Drive when not fully specified?
I am thinking to put a .m3u file there formatted as such:
#EXTM3U
#EXTINF:-1,TFC
http://192.168.0.150:80/hdmi

!!! I think I know why it doesn't work, but I need to know what I need to do in order to fix it.
I think the output of my HW encoder doesn't have a container. So what is the (best) way to fix that? My preference would be to have this happen on the Android device I use to view the content, but I am open to suggestions.....

Sorry, I'm not entirely sure how to fix this issue.
On Feb 23, 2016 5:19 PM, "kartajan" notifications@github.com wrote:

!!! I think I know why it doesn't work, but I need to know what I need to
do in order to fix it.
I think the output of my HW encoder doesn't have a container. So what is
the (best) way to fix that? My preference would be to have this happen on
the Android device I use to view the content, but I am open to
suggestions.....
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/100#issuecomment-187941213.

would it be possible to add an option to open the stream with VLC if installed?
I actually went and downloaded Android Studio in the hopes that it would hold my hand enough to make something work, but I got lost with a quickness.. Maybe a vlc/ channelsurfer app??

VLC doesn't have the ability to embed their player in the app. As live
channels integration is a key part of Cumulus TV, this wouldn't create a
significant benefit to most users.
On Feb 24, 2016 4:17 PM, "kartajan" notifications@github.com wrote:

would it be possible to add an option to open the stream with VLC if
installed?
I actually went and downloaded Android Studio in the hopes that it would
hold my hand enough to make something work, but I got lost with a
quickness.. Maybe a vlc/ channelsurfer app??
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/100#issuecomment-188456411.

authors: Fleker kartajan

repo: Fleker/CumulusTV


text:
flexget history - Could not start manager due to unicode.

Expected behaviour:
To be able to pipe "flexget history -s" into the TAIL command or into file. Such as..
flexget history -s | tail -n 10
or
flexget history -s > /tmp/flex-history.txt
Actual behaviour:
flexget history -s | tail -n 10
Could not start manager: 'ascii' codec can't encode character u'\xed' in position 3601: ordinal not in range(128)
Steps to reproduce:
A unicode character must be present in a history log to cause breakage. Example: í (u'\xed'), http://www.codetable.net/hex/ed.
Additional information:

FlexGet version: 2.10.48-1
Python version: 3.6.3
Installation method: AUR
Using daemon (yes/no): no
OS and version: Manjaro, 17.1pre3

Same thing happens for flexget series list all.  This is a frequent regression- it repeatedly breaks on various subcommands ,then gets fixed, then breaks again. I got sick of waiting for a proper fix, and just alias flexget to "LC_ALL='en_US.utf8' flexget" which works around the bug.

@rollor thanks for the workaround.

This is a bit annoying issue with python, depending on where stdout is going default encoding changes ...

authors: chrisbrasington paranoidi rollor

repo: Flexget/Flexget


text:
How to control a 'Coupled' point by calling program？

I want to control a certain point on the line and  it can move according to my calling program/script. But I only know the 'Coupled' point, which can be controlled by calling program, but I don't know how to implement it. There is no clear explanation in the documentation. Do I need to make modifications in the source program? Which source program can be modified to achieve control over  the 'Coupled' point ?thank you

I assume you are considering the version 2.
You can take a look to the tests. e.g. https://github.com/FloatingArrayDesign/MoorDyn/blob/v2/tests/quasi_static_chain.cpp#L201
As you can see, no need to change a single line of the source code. When you call MoorDyn_Step() you are meant to pass the positions and velocities of all the coupled entities.
In your case you just need to pass a 3 components array x with the position of the point and another 3 components array xd with the velocity of the point.

Hello, I would like to use Moordyn for my project and may need to make some changes to its source code. It is a real-time hybrid test of the mooring system, which requires Moordyn to be made into a numerical substructure and an experimental substructure. The mooring line needs to be cut off from the middle, with a portion of the upper mooring line retained, and specific displacement or force applied at the cutoff point to simulate the true dynamic response of the mooring line in an unbroken mooring. The problem I am facing now is that I don't know how to apply displacement or force in real-time at the cutoff point, or how to control the endpoint of the mooring line in real-time through external programs such as MATLAB. I hope you can give me some suggestions or tell me where to modify the source code? The following is a schematic diagram of my project.thanks

repo: FloatingArrayDesign/MoorDyn


text:
Implemented web form login method

Hi @FlorianSW,
I've integrated the web form login method. Can you have a look at it?
I had to add a dependency to apache commons text.
Please let me know when you like to have some changes.

Hi Florian,
thanks for the feedback. I've implemented the change and added some validation on response codes and an integration test.

repo: FlorianSW/grohe-ondus-api-java


text:
Twemoji is not listed as one of the icon packs available for downloading

Only the 3 font-awesome and the one remix packs are listed.

That is correct. I may refactor the readme file. Right now, the Twemoji functionality is directly implemented and there is no need to download it.

Oh interesting. I followed the directions on my Mac and typed an emoji but got nothing as a result. Maybe I should have restarted Obsidian after installing the plugin.

On Mar 26, 2022, at 6:23 PM, Florian Woelki @.***> wrote:

That is correct. I may refactor the readme file. Right now, the Twemoji functionality is directly implemented and there is no need to download it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Okay, restarting Obsidian did allow it to work correctly, but I agree that the README is confusing, in saying that it can be downloaded. I should know by now that Obsidian does not work correctly after installing a new plugin until it is restarted.

Okay, restarting Obsidian did allow it to work correctly, but I agree that the README is confusing, in saying that it can be downloaded. I should know by now that Obsidian does not work correctly after installing a new plugin until it is restarted.

Alright thank you for your feedback. I'll look into the problem with the restarting and change the readme.

authors: FlorianWoelki owldown

repo: FlorianWoelki/obsidian-icon-folder


text:
dependency: Update to stable version

Description

Related Issue(s)

Checklist

[ ] I have read the contribution guidelines
[ ] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

[ ] Upgrade instructions
[ ] Configuration details
[ ] Concepts

[ ] Changes flowforge.yml?

[ ] Issue/PR raised on FlowFuse/helm to update ConfigMap Template
[ ] Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

[ ] Backport needed? -> add the backport label
[ ] Includes a DB migration? -> add the area:migration label

@joepavitt Correct, and now the blog is built on v1.0.2 instead of rc40

v1.0.2 of what though? Lots of updates in lock

I ran npm update vitepress -- Assumed it would bump all requirements for just vitepress.

okay, it hasn't changed the package.json at all though, which still lists the rc.40

@joepavitt Updated the PR

authors: ZJvandeWeg joepavitt

repo: FlowFuse/node-red-dashboard


text:
/integrations Page

Description

Adds a new /integrations page
Includes client-side filtering and searching
Utilises an API we are hosting in an FF NR instance that wraps the catalogue and includes "Certified" details
Ended up venturing away from the planned design a little due to long package names which didn't work nicely with the inline certified tick, so took inspiration from https://nuxt.com/modules?orderBy=asc&q=&category=CMS instead

Todo:

Add Loading placeholder for the list on first load

Nice to haves

Where possible, in place of say @flowfuse as the owner, we should be rendering company logos, similar for other authors too.
"New" tag, similar to "Certified" which helps justify lower download numbers, but also flags new content and the active community

Next Steps

Add standalone pages for each integration, have already added the integrations collection in that can be used here. See https://www.11ty.dev/docs/pages-from-data/ for documentation
Add CTA to submit requests for "Certified Nodes" and more details about the Certified Nodes program - possibly replace the /certified-nodes content?

Related Issue(s)
Closes #2637

Load + Hover State Demo (FYI @Yndira-E):
https://github.com/user-attachments/assets/162de0ad-748d-4c80-a87a-ab6ebf1dec58

Load + Hover State Demo

Love it Joe! It looks great!

I think this was supposed to replace the /certified-nodes/ page, right? If that's the case, there are a couple of files to delete, URLs to update, and maybe a redirect to add as well. Were you planning to address that in a different PR?

I think this was supposed to replace the /certified-nodes/ page, right?

See:

Add CTA to submit requests for "Certified Nodes" and more details about the Certified Nodes program - possibly replace the /certified-nodes content?

In the "Up Next" section, this will be /integrations, as it covers more than just certified nodes, next we'll replace the certified nodes page with more about the program and offer user the chance to request certifications

I think it's great, Joe. The only thing missing (as you already noticed) is the mobile version. I checked the examples you provided, and a dropdown seems to be the common solution for the filtering section.
One thing I'm hesitant about is the behavior when I filter one category, get a result, and then click on a second category—my result disappears if there's no match. I can't think of a better alternative, though. I considered keeping the previous result, but that wouldn't provide obvious feedback and might give the impression that it's not working. Just sharing my thoughts—not a blocker or anything like that.

The only thing missing (as you already noticed) is the mobile version. I checked the examples you provided, and a dropdown seems to be the common solution for the filtering section.

For quick iteration, I'll be hiding the filters all together and just showing the search bar on mobile

@Yndira-E responsivness added

All suggestions resolved/committed

Looks great! Excellent work, all!

authors: Yndira-E gstout52 joepavitt

repo: FlowFuse/website


text:
Question about building only lwm2m static client

hello,
I'm new to AWA and I'm trying to get the smallest footprint needed for the lwm2m client.  I've gone through and removed the deamons from my awa directory and I see that the dependency is there for the xml files, so I've put those back in and removed everything else.  I am also stripping out the api directory from anything that references the server.
I'm not sure if there's an easier way to build a small footprint of the lwm2m client.  Also, I'm not quite sure if there's a strict dependency on xml and why that would be.  I have a feeling that's the reason why I get a 500KB client everytime (because of the xml).  I'm not building tests or anything extra.
Any guidance on how I can do this easily and the right way would be greatly appreciated?  If this is not the correct place to address this, please let me know of other ways to ask these questions.
Thanks,
Maya

Hi Maya,
Have you followed the Awa Static API tutorial? The Static API library referenced in the tutorial should be the bare minimum to support the Static API LwM2M client (without libxml). The executable created by the Static API tutorial should be small.
FYI, If you want to know the source files to build the bare minimum to support the static client, have a look at the files listed in the client and common Makefiles for contiki. These are the files used to build our Contiki static client, which should be small. Libxml is not used with the contiki static client. Common contains the network and coap abstraction for the platform (network_abstraction_contiki.c and coap_abstraction_erbium.c for contiki).

Hi Sean,
Thanks for the response.  I have followed the awa static API tutorial but I wasn't sure if that was building the smallest footprint.  When I look at the output, it's about 600kB for that static-client-tutorial.minimal-net application.  I'm assuming it is pulling in the static lib which is quite bit (500KB roughly) is what I'm seeing.  Is that correct? Is that the minimal footprint?
Also, are you saying that if I pull in all the files in Makefile.client and Makefile.common and Makefile.erbium, into my own environment, that would be enough to build the most minimal client?
Based on the informaiton I have, the contiki build system will pull those files in and build the application there, but, there's nothing that's defined to build the lwm2m client as standalone with a minimal footprint without going through contiki?
Thanks
Maya

Hi Maya,
I've created a pull request (#332) with a release option to the build - on my system the static client library was ~500kb with all the symbols/debug, but now is now ~200kb with no symbols/debug and size optimization. Once #332 is merged you should be able to use make DEBUG=0 to build a release version. Hopefully this will get you a smaller footprint.
Yes the files in Makefile.client, Makefile.common and Makefile.erbium are the minimum source code required to build a LwM2M client that provides the Static API. As per my previous response (from my other account) there are a few platform specific files in there. For contiki they are lwm2m_util_contiki.c and network_abstraction_contiki.c. There are Linux versions, which are lwm2m_util_linux.c and network_abstraction_linux.c.

Hi @cobynano, I just took a look at Sean's changes, which look good.  I've merged #332  now, so I'll close this issue - but please re-open if you still have trouble with this.

Hi @seank-img, @datachi7d.  Thank you for the feedback and for the pull request. That's great. Much appreciated.

authors: boyvinall cobynano datachi7d seank-img


text:
courtship song feature detection neurons

"24 new cell types"
https://www.biorxiv.org/content/10.1101/2020.10.08.332148v2
Baker et al. (2022)
doi:10.1101/2020.10.08.332148

Not adding non-auditory types that were not characterised.
Also not adding 'types' that were not identified by EM (AVLP_pr18 and AVLP_pr24), as these seem a bit heterogeneous based on MCFO. Other auditory cells that appear heterogeneous in MCFO have a single morphology displayed in fig 2  (EM and segmented light images), so fine to make types for these.


text:
Code request inquiry

Hey @Fredhack1 I'll be needing the other code tommorow morning to implement 🙏

Just the wikkinotes tool implementation
On Tue, Nov 22, 2022, 09:51 Fredhack1 @.***> wrote:

Hi @FonyaBrandone https://github.com/FonyaBrandone do you need a code
from me???
—
Reply to this email directly, view it on GitHub
https://github.com/FonyaBrandone/Inspireweek-Hackaton-Team-Project---EdTech/issues/2#issuecomment-1323313140,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYA4XKPP6OEZZMTWCNAMON3WJSCQFANCNFSM6AAAAAASHC2EQE
.
You are receiving this because you were mentioned.Message ID:
<FonyaBrandone/Inspireweek-Hackaton-Team-Project---EdTech/issues/2/1323313140
@github.com>


text:
Incorrect output

I have simple program that should print  India in console.
#include <stdio.h>

int main()
{
  int a,b,c;

  for (b = c = 10;
  a = "- FIGURE?, UMKC,XYZHello Folks,\
  TFy!QJu ROo TNn(ROo)SLq SLq ULo+\
  UHs UJq TNn*RPn/QPbEWS_JSWQAIJO^\
  NBELPeHBFHT}TnALVlBLOFAkHFOuFETp\
  HCStHAUFAgcEAelclcn^r^r\\tZvYxXy\
  T|S~Pn SPm SOn TNn ULo0ULo#ULo-W\
  Hq!WFs XDt!"[b+++21]; )
    for(; a-- > 64 ; )
      putchar ( ++c=='Z' ? c = c/ 9:33^b&1);

  return 0;
}

It works for clang18 and msvc2022 and print this
                    !!!!!!
                    !!!!!!!!!!
                     !!!!!!!!!!!!!!!
                       !!!!!!!!!!!!!!
                     !!!!!!!!!!!!!!!
                      !!!!!!!!!!!!
                      !!!!!!!!!!!!
                        !!!!!!!!!!!!
                        !!!!!!!!
                        !!!!!!!!!!
                       !!!!!!!!!!!!!!
                     !!!!!!!!!!!!!!!!
                    !!!!!!!!!!!!!!!!                                  !!!!!
                  !!!!!!!!!!!!!!!!!!!                               !!!!!!!!!!
                 !!!!!!!!!!!!!!!!!!!!!!!                 !         !!!!!!!!!!
            !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!              !!     !!!!!!!!!!!!
           !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!        !!      !!!!!!!!
            !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
             !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!
              !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  !!!!!!!!!!!!
       !!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!        !!!!!!
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!      !!!!!
          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!        !!!
        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!        !
          !!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
           !!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                  !!!!!!!!!!!!!!!!!!!!!!!!!!!!
                  !!!!!!!!!!!!!!!!!!!!!!!!!!
                  !!!!!!!!!!!!!!!!!!!!!!!!!
                   !!!!!!!!!!!!!!!!!!!!!!!!
                    !!!!!!!!!!!!!!!!!!!!
                    !!!!!!!!!!!!!!!!!!!
                     !!!!!!!!!!!!!!!!
                      !!!!!!!!!!!!!!!!
                      !!!!!!!!!!!!!!!
                       !!!!!!!!!!!!!!
                        !!!!!!!!!!!!
                        !!!!!!!!!!!!
                        !!!!!!!!!!!!
                          !!!!!!!!
                          !!!!!!
                           !!!!

but with cesium it prints
!!!!!!!!!!!!!!!!!!!     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!         !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!              !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!             !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!              !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!           !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!           !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!           !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!               !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!    !!!!!!!!!!!!!!!!!!!!!!                  !!!!
!!!!!!!!!!!!!!!!!!!!!!!!!         !!!!!!!!!!!!!!!!!!                      !!!!!
!!!!!!!!!!!!!!!!!!         !!!!!!!!!!!!!!                             !!!!!!!!!
!!! !!!!           !!!!!!!!!!!!!!!                                    !!!!!!! !
!!!       !!!!!!!!!!!!!!!!!!!
         !!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!                                           !
!!!!!!!!!!!!!!                                               !!!!!!!     !!!!!!
!!!!!!!                                                    !!!!!    !!!!!!!!!!!
!!!!!!!                                               !!!!!!!  !!!!!!!!!!!!!!!!
!                                                   !!!!!!!!!!!!!!!!!!!!!!!!!!!
                                          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                              !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
              !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
           !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
         !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!               !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!               !!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!              !!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!             !!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!           !!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!           !!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!           !!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!       !!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!

Shorter test case is following
#include <stdio.h>

int main()
{
    int a = 10;
    printf("a= %d\n", a++);
    printf("a= %d\n", ++a);
    return 0;
}

repo: ForNeVeR/Cesium


text:
Update TypeScript type for toMatchElement to include the new options argument (re: #189)

#189 added a new argument to .toMatchElement. However, the TypeScript type definitions have not been updated to account for the new argument. This PR updates the TypeScript definitions such that use of the options argument is type-safe and using it no longer results in an error.

Whoops - got the syntax all messed up in the original commit. Fixed and amended now.

I'll merge and release in the morning!

Thanks! :+1:

authors: blainekasten mayhewluke

repo: FormidableLabs/enzyme-matchers


text:
[@urql/vue] useQuery, fetching field remains true after loading data from cache

On a basic usage of useQuery as found in the documentation, fetching field remains true after loading from cache. If loading from network, fetching does update to false as intended.
https://formidable.com/open-source/urql/docs/basics/vue/#run-a-first-query
urql version & exchanges:
@urql/core: 2.1.3
@urql/vue: 0.4.0
Steps to reproduce
Trigger useQuery from network, navigate away then back to re-trigger useQuery from cache. Watch fetching field.
<template>

Fetching: {{ fetching }}

</template>

Expected behavior
After loading from cache, fetching field should update to false.
Actual behavior
After loading from cache, fetching field remains true.

I'm going to mege this into #1429 for now until we can find out more about both issues, so I don't have to paste the same responses in two places :v: Let's follow up there and reopen this if it's necessary

authors: ec-smyer kitten

repo: FormidableLabs/urql


text:
Svelte, re-render just an item in list, not all the list items

Coming from svelte-apollo (a project that seems abandoned (no recrimination, everyone takes their time as they can), I would like to avoid the same fate for @urql/svelte that I want to use in my next projects) I can see here a similar issue.
Reproduction steps:

go to REPL: https://codesandbox.io/s/urql-svelte-list-rerendering-uwsvn

click a button

every button re-render; so the entire list re-render itself

I expect re-render only the button I clicked

Same problem for svelte-apollo here: https://github.com/timhall/svelte-apollo/issues/19
I know this can be something we have to fix in our application using a solution like:
const data = query(client, {
  query: SOME_QUERY,
});

let resultData = []
$: $data.then(data => resultData = data.data.queryResult)

but this solution as you can see is very cumbersome as the project grows.
What do you think about?

I also tried with <svelte:options immutable/> in Button.svelte but the problem is still there.

Here an example by Svelte docs about immutability: https://svelte.dev/examples#immutable-data

This is all due to reactive, immutable data, and that’s the same principle as in React. And this is the correct behaviour.
Have a look at your network tab and you’ll see that when you send a mutation data is invalidated and the cache updates queries.
This updates the data which causes a rerender with the fresh query data and is expected behaviour :)
This is described in here: https://formidable.com/open-source/urql/docs/basics/document-caching/
As for the result not changing. We’re getting a new server-side response. That means you’ll have a fresh result. Hence the rerender. So the mantra, as in React or Preact, will always be to let the component rerender and not do a deep-equal diff, which is potentially more expensive than just rerendering a part of the app.

Oh. Now I'm a little sad.
Practical example.
I have a list of 200 players who are playing by nickname and score. Example:

John Wayne (150)
Heidi (200)
Mario Bros (300)

Each of them can vary both the nickname and the score or it can even disappear.
I need the list to be always fully visible on the page.
This is a problem but maybe I can use "Normalized cache" for this, what do you think?

So the normalized cache may still cause an update; even if it doesn't send an additional request.
There's a reply on this on this thread: https://github.com/FormidableLabs/urql/issues/648#issuecomment-601621596
So basically:

If you’re not seeing any performance issues, I wouldn’t be worried, but if your component is indeed becoming slow, it may be helpful to use React.memo — as you’ve mentioned — with a deep equal comparison, for instance react-fast-compare to avoid rerendering all notifications too often.

So this is left up to userland. In this case you'd have your components check whether they need to rerender.
But if you think about the complexity of this, it's easier to first think about virtualizing your list, because DOM renders / browser renders are always more expensive than the data mangling on the JS-side. This is also why it's a UI library responsibility and not ours.
Apart from virtualisation you can also deep-equal the entire data result, possibly with a separate svelte store function. Similarly it's also possible to write an urql exchange to filter out deep-equal results. But again, at this point you're deep-equaling data (so doubling the cost) of traversing all the data, instead of stopping at each rendering view.

I'm sorry but my head is frying. I can't understand this situation: it's crazy.
I am taking advantage of your kindness and courtesy and I hope to help those who like me will happen here in the future.
If I read here: https://svelte.dev/tutorial/svelte-options, I understand that by using:

immutable={true} — you never use mutable data, so the compiler can do simple referential equality checks to determine if values have changed

immutable={false} — the default. Svelte will be more conservative about whether or not mutable objects have changed

If you see the example they are changing the todos array as we are also doing with urql:
let todos = [
  { id: 1, done: true, text: 'wash the car' },
  { id: 2, done: false, text: 'take the dog for a walk' },
  { id: 3, done: false, text: 'mow the lawn' }
];

function toggle(toggled) {
  todos = todos.map(todo => {
    if (todo === toggled) {
      // return a new object
      return {
        id: todo.id,
        text: todo.text,
        done: !todo.done
      };
    }

    // return the same object
    return todo;
  });
}

Why it doesn't work with our todos example?

Because of this:

// return the same object

When we get a new server result it will be a new array, yes. In the case of Graphcache it’ll also be a new response.
It’s immutable all the way down, so all the data is fresh when a new result comes in :)

Okay, I'm getting there.
So, to better understand:

I changed my first example in this: https://codesandbox.io/s/urql-svelte-list-re-rendering-with-no-flash-jyqoy (I removed the orange "flash" effect)

I opened it full screen here: https://jyqoy.csb.app

I opened the Chrome Dev Tools and checked-in "Paint flashing":

If I click one todo the others don't get re-painted

So now the million dollar question:
If Chrome is not re-painting the others todos what does it mean?
Is it capable of understand what is changed and what not?
Is this the correct behavior you were talking about, @kitten?

Ok, just to iterate through this from the top 😅

You have a list of todos from an API, via a result with data
You send a mutation causing this query to update
urql sends a new query and receives a new result for said list. All the data has changed
svelte sees this update and rerenders
All items are mapped to buttons, which subsequently also rerender
All buttons update with the new item

That's the flow here; if you look at the devtool's network tab you can also see not only the mutation but also the new query. In Graphcache you wouldn't have this query, but you'd still have a new result from the cache anyway.
Now that means that you can't stop the rerender of App which contains the query, which is semantically correct and by design. That's just idiomatic 😉
I'm not too well versed with how to start adding the equivalent of React.memo to a Svelte component, but Button would have to do a deep equality check if it wanted to do stop the update (or a shallow check if you don't have nested data for your todos)

Ok, everything is clear to me.
You are an angel, @kitten.
Just one last thing:
If Chrome is not re-painting the others todos (no green color on them) does it mean it's capable of understand what is changed and what not, right?
And this Chrome feature (no-repainting) helps us with performance, right?

@frederikhors yes, this may be something on a lower level; but either Chrome doesn’t mark this as an update because nothing has changed, or Svelte doesn’t update the DOM elements in its fragment functions when nothing has changed, or both even

You angel, thanks.

authors: cdock1029 frederikhors kitten


text:
Add executeExchange for using an executable schema

About
Exchange for executing queries locally using an executable schema.
This may be particularly useful for us when making example projects as we could mock responses here rather than implementing a server.

I think @mxstbr is already maintaining a package for that. We may just want to send a PR to update it a little https://github.com/mxstbr/urql-exchange-schema

Happy to merge that into core!

Let me know what you want to do :+1:

@JoviDeCroock @andyrichardson assuming we'll want to get this merged soon, but we'll only need some minor documentation for this after a rebase, and let's stick it into a new exchanges/execute package?

@kitten Yeah I'm happy to sort that out but you're going to have to explain the monorepo to me.
The exchange is 61 lines, no new dependencies, and will be tree shaken if not in use. Do we want this exchange to be a standalone package in /exchanges?
Also, where do the docs for standalone packages go?

I think bundling an exchange would only make sense if a majority of users use it? Although, I can totally see an exchange being "moved" into core, when it crosses that threshold. For now, I'd play it safe. It looks like when execute is bundled (be that because it's bundled accidentally, or tree-shaking fails, or not an option, etc) it adds a lot of heft: https://github.com/apollographql/apollo-link/pull/968
I've got some docs in the CONTRIBUTING.md guide that should help :+1: but happy to also pair on that or sth :+1: https://github.com/FormidableLabs/urql/blob/master/CONTRIBUTING.md#how-do-i-add-a-new-package

@kitten thanks for the explanation - I've moved it to /exchanges

FWIW, this exchange fixed an issue I was experiencing with https://github.com/mxstbr/urql-exchange-schema, in that queries via SSR were being executed once for each exchange.
So a typical set-up of:
exchanges: [
  dedupExchange,
  cacheExchange,
  ssr,
  schemaExchange(schema, { context }),
]

... would actually run the query four times.
This is a subtle bug that's easy to overlook, since the first query that's run is the one that winds up being rendered back to the client.
Just a heads-up @mxstbr in case it made sense to update your own package while waiting for this to merge.

To get this up-to-date we just need to make sure that the config files match (package.json fields, some are linted by the prepare script), tsconfig.json changes, creating an empty CHANGELOG, etc

To get this up-to-date we just need to make sure that the config files match (package.json fields, some are linted by the prepare script), tsconfig.json changes, creating an empty CHANGELOG, etc

The branch has been rebased on master and these files are matching the other extensions.
A few other misc changes -- see commit log.

authors: amyboyd andyrichardson kitten leebenson mxstbr


text:
Zeroconf : device name, account ad device type truncated (wrong spotify.h offsets)

With the commit setting offets to 0x41 for zeroconf in spotify.h, those names are truncated :
remote name: drus
account req: MIUM
device type: NOWN

It is affecting the name displayed by Spotify (and I guess it's doesn't like the other things too). Reverting to 0x40 is ok :
    char deviceId[0x40];
    char activeUser[0x40];
    char remoteName[0x40];

By the way, you say "spotify.h was taken from from https://github.com/plietar/spotify-connect" but I couldn't find it, can you tell me more ?

Which version of the library are you using? And yes, spotify.h was originally taken from that repo (https://github.com/plietar/librespot/blob/old/common/spotify.h ), but the updated version is kept in this repo

You mean version of "libspotify_embedded_shared.so" ? The one included in the pre-build chroot. The test was on RPi.
Why is the new version using 0x41 size ?
Thank you for the information about spotify.h, I guess the readme needs an update :)

Try replacing /usr/lib/libspotify_embedded_shared.so with one of these libraries (Use the armv6 ones for Rpi1, armv7 for Rpi2/3) https://github.com/sashahilton00/spotify-connect-resources/tree/master/libs

Hello,
I bought a Mi Box (MDZ-16-AB), so I'm not going to continue bother with "hacks" for the moment, and I'm not testing, sorry. I really appreciated the ability to use Spotify Connect thank to your work and the work of the others, so thank you (and disappointment about Spotify).
Nobody else seems to have encountered the issue (?), but the state of the issue is up to you :)

Hey guys!
I have the same issue, my device "Wohnzimmer" is being truncated to "hnzimmer"...
Thanks for your help!

repo: Fornoth/spotify-connect-web


text:
Metallic

Metallic defensive typing fixed for the 0.3.6 calc, but not 0.3.5

Thanks again, fixed (also i messed the link in my calc this issue refers to my redux elite fork)

repo: ForwardFeed/unc


text:
🛑 Website is down

In 8cb9b43, Website (http://www.fourfats.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Website is back up in 7e1c78e after 5 minutes.

repo: FourFats/uptime


text:
Broken for Rails Assets ( https://rails-assets.org )

Appears to be an indentation anomaly here https://github.com/Foxandxss/angular-toastr/blob/master/dist/angular-toastr.css#L32 which breaks my SASS compilation.
After installing the equivalent angular-toastr gem from Rails Assets I receive this error:
Sass::SyntaxError: Invalid CSS after "    opacity": expected ";", was ": 0.4;"
(in /home/deploy/app/releases/20150521061141/app/assets/stylesheets/application.css.scss:32)
/home/deploy/app/shared/bundle/ruby/2.1.0/gems/rails-assets-angular-toastr-1.4.0/app/assets/stylesheets/angular-toastr/angular-toastr.scss:32
Any quick fix available?

A new version (1.4.1) will be released soon.
As a suggestion, don't use rails asset pipeline with Angular, that will shoot you in the foot sooner than later.
Better if you have two separate applications, one for rails as api and another one for Angular.
That is my personal suggestion, but the fix is there.

Thanks for the update.
The app I'm working on employs a rails api for the backend and angular for the front-end. As I have learned the hard way, trying to build two separate apps for the same site became a complete nightmare, i.e. integration, testing, deployment etc headache after headache! I switched to a single app approach using rails asset pipeline and now everything works harmoniously.
Cheers

authors: Foxandxss jaybloke

repo: Foxandxss/angular-toastr


text:
GPS Neo-6M issues

Hello, i have a cyd2usb and a neo6m, wired it up but no blinking led, no nothing. I have it wires up rx to tx and tx to rx, everything working but it doesnt work, any ideas?

gnd -> gnd
tx -> tx
rx -> rx
vcc -> vcc
https://github.com/justcallmekoko/ESP32Marauder/issues/338

Shouldnt tx be connected to rx and vice versa?

gnd -> gnd tx -> tx rx -> rx vcc -> vcc
justcallmekoko/ESP32Marauder#338

Ah nevermind i reconnected it how u told me and it works, thanks mate! Have a nice day


text:
Update to be compatible with Godot 4.1.2

I'm not sure if this package is actively maintained anymore, but this would be a very useful tool to have access to. Currently, on 4.1.2, trying to build with the plugin in the addons folder results in many errors.

Apologies, did not read the readme close enough. Switched to the 4.x branch.

repo: Fractural/GDTask


text:
Make View button disable for local projects

Bug Description
I see there are many website that don't have live link of projects so we should make view button disable for that.
@tobySolutions Please assign this task to be :)

Awesome!! You're doing great @MadhuSaini22!!
I'll assign you now.