chore(rhino-stampede-dev,unicorn-desktop-git): dynamic workspaces to Unicorn

This pacscript update will bump dynamic workspaces from Stampede (testing) into the Unicorn pacscript as a pacdep

https://github.com/pacstall/pacstall-programs/blob/master/packages/xfce4-dynamic-workspaces-plugin-git/xfce4-dynamic-workspaces-plugin-git.pacscript
looks like this needs to be updated to be a cp instead of ln

@ajstrongdev there are now merge conflicts so please fix those.

Resolved

Resolved

No not resolved you dropped a dep

Resolved

No not resolved you dropped a dep

Oops, fixed now.

Both packages should have a pkgrel bump from this. Also be sure to add to unicorn-mobile too and not just desktop.


Navigate keys make document scroll at version 1.4.1

Use navigate keys (up/down keys) to navigate selected cell inside sheet:
v1.4.0 - work as expected: selected cell navigate correctly inside sheet, document body stay still, when selected cell reach boundary of sheet, document scroll is triggered.
v1.4.1 - not as expected: even selected cell does not reach sheet boundary, document body still scroll!
Example: Just run example in docs directory!

Yikes, thanks for finding this, fixed it in 1.4.3


fix bad copy-paste in "interval" description

What this PR does / why we need it:
Fixes a typo in the readme caused by bad copy-paste.

/assign @paulczar


Loady doesn't handle columns with newlines

Because loady reads lines using the IO#each function here it doesn't read a full CSV row if any of the columns contain a newline.
It would be better to use CSV.foreach to loop over the rows. The CSV library reads a full row even when there are newlines in the middle of a row.

Fixed by bcdd3317868e5


Update core-6 branch from master

This appears to be missing all of the tests from 5ffe553c44a3a5c24accc3505aec33f60075051d

Thanks for catching those missing tests, I deleted them when they didn't compile thinking they weren't relevant anymore, so that's my bad. I've ported them over now.


[Always on top]  The Border in windows 11 should  have rounded corners

Microsoft PowerToys version
"0.57.2"
Running as admin

[X] Yes

Area(s) with issue?
Always on Top
Steps to reproduce
Activate Always on Top
✔ Expected Behavior
The border in windows 11 should have rounded corners
❌ Actual Behavior
The border has square corners

Other Software
No response

/dup #15284


fix cost model in table scan

What problem does this PR solve?
During refactoring DAGRequst, cost is accidentally reassigned by 100.0. This PR resolves this issue.
What is changed and how it works?
Do not assign 100 to cost again.
Check List
Tests

Manual test (add detailed scripts or steps below)

Related changes

Need to cherry-pick to the release branch

/run-all-tests

/run-all-tests


General air conditioner ASWX09LECA

Home Assistant version
Home Assistant 0.111.4
SmartIR version
version 1.12.0
Hi,
I export a general climate file from HA using Broadlink remote. and contribute to this project?
The json file for General air conditioner ASWX09LECA
general.json.zip
Thank you,
Cody

Thanks for your contribution. Be aware that there is an error on line 15. It is fixed. The file code is 1043.


fix: break loop when exhausted all transactions

Hi, this method is intended to work without break, since it is subscription. You can stop it by context cancellation when you want

Hi, this method is intended to work without break, since it is subscription. You can stop it by context cancellation when you want

it's to break the inner loop, otherwise, it'll pass lastLT = 0 to ListTransactions, and it never return a empty list.

I just re-checked the case, ListTransactions(lastLT=0) will return a non-nil error, when we'll retry in the inner loop, which makes it never breaks the inner loop.


Feature: Format signature output that is easy to port to SBOM

Feature
The signature is shown as text but has no instructions for copying to the dashboard.
Show instructions that allow easy manual copy to the Dashboard

Duplicate


fix(apps/prod/tekton/setup/triggers): bump to v0.24.1

Signed-off-by: wuhuizuo<EMAIL_ADDRESS>

/approve


Type hinting

What was done:

[x] Corrected most annotations.
[x] Removed solutions added to support Python 3.3.
[x] Added more types to typing.py.
[x] Removed Python 3.3/3.4 from classifiers in setup.py.
[x] Updated Python version badge.
[x] Other minor changes and improvements.

Summary:
At this moment i have confused by few messages of mypy. I have created file MYPY_REPORT.txt and i hope for help with this issues.
Issue:  #258.

@sobolevn I hope for your help.

I'm going to propose the following stylistic guidelines while contributing type annotations.

Follow PEP 8.
Use mimesis.typing for defining Mimesis-only type variables, such as TimeStamp, JSON, etc. It's actually rather annoying to have to keep typing types.Any, when we should be importing them directly from Python's typing module at the top of the file, i.e. from typing import Any.
For type checking I'm using the following command (are there any additional restrictions you'd like to impose?): mypy --strict --strict-optional --check-untyped-defs

Another thing I'm seeing over and over again is the use of spaces before default arguments, e.g. the following, which can be found in helpers.py:

def randints(self, amount: int = 3, a: int = 1, b: int = 100) -> list:

This should instead be, per PEP 8 guidelines,

def randints(self, amount: int =3, a: int =1, b: int =100) -> list:

I know it's a small thing to pick lol, it's just one of my pet peaves :P

@bjd2385 I agree that spaces in arguments is not cool, but only when arguments have not annotations.  But in our case this is what PyCharm do automatically and i like it, because it's more readable.
def randints(self, amount: int = 3, a: int = 1, b: int = 100) -> list:
    ...

@bjd2385 As for the rest of your comments, I agree with you and i will fix everything.

@bjd2385 Also i recommend you look at this PEP.


PRE CACHED STATIC ASSETS

PRE CACHED STATIC ASSETS
Acceptance Criteria
GIVEN a text editor web application
WHEN I register a service worker
THEN I should have my static assets pre cached upon loading along with subsequent pages and static assets

Static asset pre cached upon loading with subsequent pages and static assets.


Added new level issue #27

@brissettdwayne Thanks for the contribution! Just a couple things before I merge it.

The background used doesn't work for the game, because the characters float in the air rather than on a platform
Can you update the Copyrights.txt file for new images added
There is an error in your if statement
if else(currentLevel === 3){
startLevel3();
}

should be 'else if'
Hope this helps!

I submitted the changes. Sorry it took a while.

@brissettdwayne Hey, thanks for updating your PR. The new background has the same problem, the characters are floating in the middle of the screen. If you look at the first two levels they have a straight floor that the characters sit on. You can solves this by adjusting your image and changing the characters position on the screen. I found it is best to choose a background with a straight floor area for the character.
Like this,

Hope this helps!

I resubmitted changes to the code!

@brissettdwayne do not forget to resolve conflicts ^

I resolved the conflict

@brissettdwayne Great, it works well!


Bug 2234664:[release-4.13] When NFS is enabled on the storagecluster pass ROOK_CSI_ENABLE_NFS: true

This is a manual backport for https://github.com/red-hat-storage/ocs-operator/pull/2157.
Wait till https://github.com/red-hat-storage/ocs-operator/pull/2181 is merged.

/hold

/bugzilla refresh

/unhold

/bugzilla refresh

/test ocs-operator-bundle-e2e-aws


better assignment to option

Signed-off-by: Axel Nennker<EMAIL_ADDRESS>

@brentzundel please wait, I was fixing jenkins on this PR. It stil has not passed the CI

@KitHat Do you know what is wrong on the build system.
One difference to my local machine is the libsodium version. I downloaded the 1.0.18 tar.gz from https://download.libsodium.org/libsodium/releases/ and have built it from source.
ignisvulpis@namenlos:~/development/hyperledger/indy-sdk/libindy$ RUST_BACKTRACE=1 cargo test --no-run --features sodium_static
   Compiling libindy v1.10.0 (/home/ignisvulpis/development/hyperledger/indy-sdk/libindy)
    Finished dev [unoptimized + debuginfo] target(s) in 1m 23s
ignisvulpis@namenlos:~/development/hyperledger/indy-sdk/libindy$ ls -l /usr/local/lib/libsodium.*
-rw-r--r-- 1 root root 3421980 Jun 13 15:23 /usr/local/lib/libsodium.a
-rwxr-xr-x 1 root root     943 Jun 13 15:23 /usr/local/lib/libsodium.la
lrwxrwxrwx 1 root root      19 Jun 13 15:23 /usr/local/lib/libsodium.so -> libsodium.so.23.3.0
lrwxrwxrwx 1 root root      19 Jun 13 15:23 /usr/local/lib/libsodium.so.23 -> libsodium.so.23.3.0
-rwxr-xr-x 1 root root 2149888 Jun 13 15:23 /usr/local/lib/libsodium.so.23.3.0
ignisvulpis@namenlos:~/development/hyperledger/indy-sdk/libindy$ cat /usr/local/lib/pkgconfig/libsodium.pc
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: libsodium
Version: 1.0.18
Description: A modern and easy-to-use crypto library

Libs: -L${libdir} -lsodium
Libs.private:  -pthread
Cflags: -I${includedir}
ignisvulpis@namenlos:~/development/hyperledger/indy-sdk/libindy$

Although the Cflags value does not seem to be correct in pkg-config.
ignisvulpis@namenlos:/tmp/libsodium-1.0.18-RELEASE$ fgrep CFLAGS Makefile
CFLAGS = -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -ftls-model=local-dynamic

Maybe landing https://github.com/hyperledger/indy-sdk/pull/1585 helps


some games with DLSS doesn't seem to work with AMD GPUs.

some games like Call of Duty: Modern Warfare (2019), Call of Duty: Black Ops Cold War, Call of Duty: Warzone, doesn't show me the DLSS option on the menu.
none of them worked with my RX 570 8gb, this dude have gtx 1070 and it worked for him.
https://www.youtube.com/watch?v=g9k5QEfsfgo

COD is probably checking for an nvidia driver. To work with AMD gpu's, the game would require a patch before loading nvngx. This is game specific and definitely would not work online for these games.

From my knowledge, DXVK can spoof Device Manufacturer.
Would be interesting if it works when combined with DXVK with that option enabled.

no it's useful dxvk for dx12, as dxvk ships dxgi.dll that is useful for dx12 games and can spoof the device id..

No Man's Sky, SIFU, Ghostrunner are also missing DLSS options, but I have a GTX 1080Ti

No Man's Sky, SIFU, Ghostrunner are also missing DLSS options, but I have a GTX 1080Ti

Same

I am pretty sure this project would need a companion Injector DLL to work around this.
A d3d11.dll, d3d12.dll or dxgi.dll that spoofs the current card and driver Version for FSR to work.
Preferably configurable by a .ini file.

MOVZX
/
CyberFSR2
It includes a DLL wrapper/injector (winmm.dll) to disable Nvidia GeForce GPU checking, so AMD Radeon GPU users can enjoy the mod.


API for adding additonal players to ReactPlayer in runtime

#362

Nice one! Thanks @BrooklynKing and @AndyBarron.

Published in 1.4.0. Sorry for the delay!

@BrooklynKing @AndyBarron could either of you share an example of successfully using a custom player with this API?

@shawninder not sure i can share example, since it's in private repo, but i can try to answer on your questions

I'm getting weird errors I can't figure out with my custom player, yet it's basically copy-pasted from the FilePlayer... Here's a question. Did you also use createSinglePlayer as react-player uses for its players, or did you start from scratch?
If you're curious, here is my work-in-progress: https://github.com/shawninder/music/blob/master/components/IndexedDBPlayer.js It currently doesn't do anything (I was hoping to stop the Component from crashing the page before starting to add functionality) as it's just the FilePlayer copied, renamed, and with the File stuff removed. I just don't understand why this crashes the page whereas the FilePlayer included in react-player doesn't.

@shawninder are you doing
import { IndexedDBPlayer } from '...'

or
import IndexedDBPlayer from '...'

as the latter would cause issues.

Ah, damn it, I am using import IndexedDBPlayer from '...'. Thanks @CookPete, I'm sure this is my problem (will confirm tomorrow). It's times like these when I miss working with a team.

@CookPete While you're in the area, here's a question for you: If I do get this IndexedDBPlayer working, would you be interested in a pull request adding the player to this repo? I'm guessing not, since playing media from IndexedDB feels like an infrequent use-case, but if you do want it, just tell me and I'll submit a pull request when I'm "done".


[Bug]: Trailing Slash in URL gets removed

Plugin Version
6.0.1
PHP Version
8.3
Shopware Version
<IP_ADDRESS>
Installation method
Github Tag -> Source Download
Identity provider
OpenID Connect
What happened?
When entering an url, the url gets formatted and all trailing slashes get removed. My Identity Provider requires a trailing slash at the end of the url, otherwise an error occurs.
Example:
auth.example.com/application/o/userinfo/
becomes
auth.example.com/application/o/userinfo
(which results in an error)
Relevant log output
No response

Hi @Rindula thank you for pointing this out. I do not have an IDP with that requirement at hand but I tried entering a value and the underlying issue seems to be the input field we use for URLs provided by Shopware themselves:
https://github.com/shopware/shopware/blob/v<IP_ADDRESS>/src/Administration/Resources/app/administration/src/app/component/form/sw-url-field/index.js#L169
So it should not be changed by the backend logic just the administration frontend. Please try to change the value via database or API. Look into the heptacom_admin_open_auth_client table/entity and look into the config field.
If this works for you, you can already continue using your IDP until the next time you save the OAuth client form. I do not see this as a long-term solution and we will have a look how we allow trailing slashes. Likely we will not use sw-url-field anymore.

I just did that and it works. It's just the administration frontend which removes the slash.
The IDP I use is called authentik (https://goauthentik.io/) if you want something to test with.

Thank you for testing it out @Rindula . I had a talk with @silviokennecke and we decided to provide a patch with a custom sw-url-field to prevent this issue on the long run. We will keep you posted, when we have this ready.
Thank you for sharing the tool you use. For OIDC we test with keycloak. That at least explains our different way in testing.

@Rindula please try out 6.0.2-rc.1 if it fixes your issue

This works as it should - Thanks a lot for the quick response and implementation!

You're welcome :) thank you for supporting to find the issue and validate the solution. We will soon (tm) release the 6.0.2 also in the community store. Please also "buy" it there so we can see the used Shopware versions for our update planning :)


DG updated for v1.4

Coverage remained the same at 89.772% when pulling 3fd135f97498e8baa39a22b6a66a779fdcba8ab0 on justinpoh:DG-v1.4 into 95e8e0a9bb450ea4261ab295d5c79445fb1e7b5f on CS2103AUG2017-W14-B1:master.


Create dotnet.yml

258216799ef9d14906cff83079b47b31d133e63b

..

Pankaj-pankaj:main

Sorry for delay, i will look about this later.


pip should be paired with pip cache cleanup

That's one more heuristics to reduce image size, pip usually places lots of temporary files to /root/.cache while installing packages.

c.f. https://github.com/pypa/pip/issues/4685
at the moment, the best way to achieve this is to require use of --no-cache-dir, but that isnt as neat if multiple pip commands are needed, as subsequent commands wont have a cache to re-use


Use reflect-metadata instead of traversing the prototype chain and fetching individual properties by name

See also #245 and #251. The "fix" in #251 is suboptimal as it will always invoke getters and setters. There needs to be a better solution for this.

See https://github.com/babel/babel/issues/11441#issuecomment-615780586 for instructions on how to do this.


Expose adminuser and connection information as outputs

Description

Release required?

[ ] No release
[x] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

Pipeline failed with:
Error: mError: [ERROR] Error waiting for database (crn:v1:bluemix:public:databases-for-mysql:eu-de:a%2Fabac0df06b644a9cabc6e44f55b3880e:e2cb8cd7-cef2-46c1-84f3-d32108d74eee::) configuration update task to complete: [Error] Database Task failed
│
│   with module.mysql_db.ibm_database.mysql_db,
│   on ../../main.tf line 52, in resource "ibm_database" "mysql_db":
│   52: resource "ibm_database" "mysql_db" {
│
╵}

Possibly backend issue and unrelated to code? I'll re-run pipeline and see..

/run pipeline

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fallback Routes do not evaluate @click bindings

Versions

nuxt: 2.14.7
node: 12.18.3

Reproduction
clone This Repo
Run:
npm install
npm run generate && npm run serve

Steps to reproduce
Once viewing the generated example, go to the /404 route and click the external link. Note the console log.
Navigate via the url to a route that does not exist, ex /hey. The 404 page is used as a fallback. Click the same external link and note the @click handler is not evaluated.
What is Expected?
Fallback pages should behave the same as the page they fall back to.
What is actually happening?
Fallback pages are not binding click events

You should use @click.native instead of @click.prevent.
The main reason is that the event emited from <a> is a native event. @click.prevent will not work with the native event.
More info on here

Using @click.native or @click.native.prevent results in failure to call the handler on the 404 page itself or the fallback version of the page.
I don't believe .native is necessary on a generic html element (non-component). My understanding is that .native means “apply to the element (a link) the component creates.”

For Clarification
The issue is that when running generate with fallback: true, the page instance is not binding event handlers when it is an undefined route (as opposed to going directly to the /404 page as mentioned in the description).


Docs: example recipes #496

Pull Request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[x] Documentation content changes
[ ] Testing
[ ] Other (please describe):

What is the current behavior?

Issue Number: #496
What is the new behavior?

Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

It seems client.rs example not really usefull, cause we have examples with .toml config files and examples.env which mentioned in README


how to use querys of arbitrary dicts,   like Bodies of arbitrary dicts?

First Check

[ ] I added a very descriptive title to this issue.
[ ] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[ ] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
@app.get("/get_list")
def get_list(q:Dict[str,Union[str,int,float]]):
    return q

Description
https://fastapi.tiangolo.com/tutorial/body-nested-models/#bodies-of-arbitrary-dicts
l got this from official website, but is only for request body,  i want something like this for query
Operating System
Windows
Operating System Details
No response
FastAPI Version
0.88.0
Python Version
3.11
Additional Context
No response

Could you clarify what exactly you are asking? I see the code example you provided, but what do you mean how to use queries of arbitrary dicts? I have found a few different resources I believe would be useful for you but want to clarify what you are asking before I link them.

don`t care about example ,the Description is all the question

Could you clarify what exactly you are asking? I see the code example you provided, but what do you mean how to use queries of arbitrary dicts? I have found a few different resources I believe would be useful for you but want to clarify what you are asking before I link them. @xingshuyin

i wang to just use one pusition argument receive all query parms, because i have many query ,and i dont want to declare all of them

Could you clarify what exactly you are asking? I see the code example you provided, but what do you mean how to use queries of arbitrary dicts? I have found a few different resources I believe would be useful for you but want to clarify what you are asking before I link them. @xingshuyin

i wang to just use one position argument receive all query params, because i have many query ,and i dont want to declare all of them

If you don't want to pass them all in without declaring them, why don't you just accept them as dict in the body?
@app.post("/foo/") def foo(data: dict):     return data

when I use restful api to get list of item.  I have to use get method, so I have to declare filter params in query instead of body

If you dont want any validation or anything you can just get the query params from the request object
from fastapi import  Request
@app.get("/get_list")
def get_list(request: Request):
     q = request.query_params
    return q

If you dont want any validation or anything you can just get the query params from the request object
from fastapi import  Request
@app.get("/get_list")
def get_list(request: Request):
     q = request.query_params
    return q

ok ，that's I wanted thank you very much


Can't setup with youtube music

What version of Music Assistant has the issue?
2022.8.4
The problem
Logger: custom_components.mass
Source: custom_components/mass/init.py:190
Integration: Music Assistant (documentation, issues)
First occurred: 13:57:28 (48 occurrences)
Last logged: 14:51:49
Setup failed of provider ytmusic: '__Secure-3PAPISID'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/music_assistant/controllers/music.py", line 435, in _register_provider
if await provider.setup():
File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/ytmusic/ytmusic.py", line 90, in setup
await self._initialize_headers(cookie=self.config.password)
File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/ytmusic/ytmusic.py", line 450, in _initialize_headers
sapisid = ytmusicapi.helpers.sapisid_from_cookie(cookie)
File "/usr/local/lib/python3.10/site-packages/ytmusicapi/helpers.py", line 46, in sapisid_from_cookie
return cookie['__Secure-3PAPISID'].value
KeyError: '__Secure-3PAPISID'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/mass/init.py", line 190, in async_setup_entry
await mass.setup()
File "/usr/local/lib/python3.10/site-packages/music_assistant/mass.py", line 81, in setup
await self.music.setup()
File "/usr/local/lib/python3.10/site-packages/music_assistant/controllers/music.py", line 70, in setup
await self._register_provider(prov_cls(self.mass, prov_conf), prov_conf)
File "/usr/local/lib/python3.10/site-packages/music_assistant/controllers/music.py", line 438, in _register_provider
raise SetupFailedError(
music_assistant.models.errors.SetupFailedError: Setup failed of provider ytmusic: '__Secure-3PAPISID'
How to reproduce
i have put in the login cookie and won't setup
Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2022.8.5
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

Please refer to the FAQs https://github.com/music-assistant/hass-music-assistant/discussions/709


Test on Python 3.11 production release

https://docs.python.org/3.11/whatsnew/3.11.html

Python 3.11 is between 10-60% faster than Python 3.10. On average, we measured a 1.25x speedup on the standard benchmark suite.

Python 3.6 is no longer supported by the Python Core Team or in GitHub Actions ubuntu-latest.

https://devguide.python.org/versions/

@ecugol Your review, please.  This makes the tests green again ✅

@cclauss thank you for the contribution


Version change to 0.3.1

r? @ustulation
(maidsafe_highfive has picked a reviewer for you, use r? to override)

r? @Viv-Rajkumar


Publish to NPM

The package hasn't yet been published to NPM because of a naming dispute with the abandoned exodus package. We're awaiting resolution to the issue from the NPM support.
If we're allowed ownership of the exodus name, we need to make sure that the version starts at 1.0.0 to clearly indicate breaking changes from the already published 0.1.4 version of the pre-existing package.

Resolved somewhere around 65938978d6558fef8bba7f0782c438d2511983dc


Migrate to androidx

This also required compiling against API 28, updating to AGP 3.2.0, ButterKnife 9.0.0-SNAPSHOT, and the latest pass library (v1.2.6).

I confirmed that the crashing bug is still present in Spass v1.2.6.
So there's two options that I can see at this point: merge this PR as-is and warn people in the README about the crash, or remove the spass module entirely and tell people to use Reprint 3.2.1 with the old support libraries if they need to support pre-marshmallow Samsung devices.
Neither option is ideal, so I'd like to get some feedback on what people would prefer.

Do you know if Samsung is aware of the bug in their library?

I don't know, but I doubt they care. The Spass SDK has always been very buggy, and reprint contains a large number of workarounds for the bugs I've found. Given that the sdk is deprecated, I don't think any more bugs will be ever fixed. If this is blocking you from being able to upgrade your projects to androix, then I think it's fine to merge with a warning in the readme about the spass module.

Ok, if you are good with that. Do you want help on the readme warning?

Nope, I'll go ahead and add it. Thanks!


Multiple browsers sync

I'm submitting a ...
npm start

Current behavior
When I run my project on multiples browsers, every events, session are shared. If I scroll, all navigators scrolls. I want to have separate session when nothing is shared.
Expected behavior
I want to have separate session where nothing is shared.

Node: node --version = 3.10.10

What if you simply disable all sync options in browser sync?

@Sn3b thanks for the response.

Can I have the code I have to comment? I don't really understand.

seed.config.ts is the main config file, however, the idea is to not modify this file directly to allow for seed updates, instead, you will write your config in project.config.ts, which you're not supposed to update whenever you update the parent seed.
Check out seed.config.ts, you will notice some config for browser sync that you can override in project.config.ts.
Alternatively, when you run npm start, you will notice a couple of URLs, the one with port 3001 (http://localhost:3001) is the one to the browser sync UI, navigate to it and go to the sync options and click disable all. The only problem with this method is that you'll have to do it every time you run npm start.


Keep event guidelines in sync with updates in other sections

At least the enumeration in http://zalando.github.io/restful-api-guidelines/events/events.html#must-event-payloads-must-be-defined-in-accordance-with-the-overall-guidelines is out of sync with our current HATEOAS rules. We need to check this with other rules as well.

@dehora As 'owner' of event section, can you please take a look at this? Maybe simply linking the referenced sections would be enough. Thank you :)


First rank reward

The first rank isn't applying rewards, I need to run a command on the first rank to add a permission, but it doesn't work.

If you are talking about the very first rank, which is "0", yes, it doesn't have a rewarding system as far as I remember but if you think that it would be something useful, I can add for you.

It would be quite useful to me. Cause I give a permission to players so they receive a prefix.
Right now new player receive this permission through essentialsx kit on first join, but old players I have to give one by one. Also essentials doesn't support placeholderapi, so a can't run custom commands like rng placeholder.

Done!


Update desktop-accessibility.md

Hi David, here are the changes we'd like to make to this article, please let me know what you think, and these are changes that should go with our November release.

@tessahurr : Thanks for your contribution! The author, @davidiseminger, has been notified to review your proposed change.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerbi-docs/desktop-accessibility.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Updates to the PBI Accessibility doc through the Nov 2018 release.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerbi-docs/desktop-accessibility.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Jooimkim patch 1

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes

0 out of 2 committers have signed the CLA.

[ ] jooimk
[ ] jooimkim

jooimk seems not to be a GitHub user.
You need a GitHub account to be able to sign the CLA. If you already have a GitHub account, please add the email address used for this commit to your account.
Have you signed the CLA already but the status is still pending? Recheck it.

wrong merge attempt


about the pair images ?

i konw we can get lots of distorted image from refrence image . and different distorted level , can distinguish the rank quality.

so the pair image only from the same image and different degree of distortion  ? and can't from different image?

I don't know whether my understanding is right  ? can you help me , thanks

Actually both cases you mentioned work well in our experience. But in the paper we always sample the paired images from the same image.

thanks ,  but when the from different image ,  how we distinguish which one quality is better, and only base the distorted level?

Yeah, in the first phase of training (refer to RankIQA), the quality is only based on the distorted levels.
To answer your second answer, in the case of RankIQA, there is no GT scores from TID2013 dataset used for training, therefore it is difficult to distinguish the quality among different types of distortions, but it works pretty fine on each individual distortion. By finutuning on TID2013 (refer to RankIQA+FT), it manages to align the scores among all distortions, that's probably why it works much better in this case.


[Feature Request]: Add a responsive feedback page

Is there an existing issue for this?

[x] I have searched the existing issues

Feature Description
Add a feedback page for the website.
Use Case
This helps users to provide their review or feedback about the website.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Admin Please assign me this task and I'll improve the whole index page and i got some new idea for footer and contact us and also i acan Add a feedback page for the website. please assign me this task

Is there an existing issue for this?

[x]  I have searched the existing issues

Feature Description
Add a feedback page for the website.
Use Case
This helps users to provide their review or feedback about the website.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[x]  I have read the Contributing Guidelines
[x]  I'm a GSSOC'24 contributor
[x]  I have starred the repository

Hello @Ankitha2130, Go for it
All the Best


Story App

Requirements for the app:-

Should display a list of stories with the title
When the user clicks on any one title of the story, it should display the whole story

Requirements for the README.md file:-

Concepts used
Documentation and resources used
Future Aspects of the app

Note:- Add the app to the Android Projects section

do we need to add admin panel or admin app to upload stories and client to read them ?

@anfaas1618 No, It's a simple app that shows listview of some stories

Ok i can do that then,
Can i work on this app.

Also to get clear ahead , this is not like Instagram stories right

Ok i can do that then,
Can i work on this app.

Yeah sure, go for it.

Also to get clear ahead , this is not like Instagram stories right

Ya

Hey! @kunal299 ,
this looks fun ..
can I try this ?

Hey! @kunal299 ,
this looks fun ..
can I try this ?


Shut down the uProxy UI when in the background on Android to save RAM

In theory, uProxy is supposed to work correctly regardless of whether the UI is visible.  When the UI is not visible (the window is closed), everything keeps working, even though the polymer code is unloaded.
On Android, we keep the UI running perpetually.  If we could kill it when our app goes into the background, we might be able to free up a lot of memory.  (However, note that there could be some code, like #2748, that needs to be refactored before this is actually safe.)

Good call @bemasc! (Of course, a separate but related issue is that our UI needs so many resources in the first place - IIUC, it shouldn't, given how little it actually has to do. Hopefully the Polymer 1.0 upgrade and/or the hot pot implementation will improve things there soon.)

Neat idea. Could this be a case where the app/extension split actually helps us?


[DOC] A doc named index.md share same content with README.md

Description
https://github.com/oap-project/gluten/blob/main/docs/index.md

Seems we cannot reuse shared content.


Any update on relasing the training code?

Hi sir!
Thank you for your work, it's really itneresting to see how a combining image and text with label supervision basically matches the same results of a pure image classification training! This has inspired me a lot and now I am trying to replicate your results from this table

I am trying to train on my custom dataset of 22k classes and 1M images but there i'm still seeing a clear gap between training with your loss and a classification head. Did you try to run the experiment of this table on a bigger dataset such as imagenet 22k?
Releasing the training code for getting those results would be very helpfull for everyone interested in training a classification problem with your framework!

Hi, @fabiozappo , did you try to reproduce the numbers listed in the above table based on cifar-10, cifar-100 or imagenet-1k? It would be great if you can start with the replicating of results on these three datasets.
Regarding the training code, I will release the training code for imagenet-1k soon. Please stay tunned.

Hi @jwyang , just to be fair I am here to say that I found a bug in my code, this ended up in a not fair comparison between the classification and contrastive problem. I fixed it and the gap is way smaller, so for future readers I reccomend to give this approach a try as it worked quite well for my private dataset!
Looking forward for the training code release!

Is the training code released now?

Hi, @fabiozappo , did you try to reproduce the numbers listed in the above table based on cifar-10, cifar-100 or imagenet-1k? It would be great if you can start with the replicating of results on these three datasets.
Regarding the training code, I will release the training code for imagenet-1k soon. Please stay tunned.

Hello: could you tell me are the code and pre-trained weights gonna available soon? Thanks!


Firing Oil Drilling Rig recipe

A couple issues with the Firing Oil Drilling Rig Recipe

Wrought Iron is an ingredient (which doesn't show count)
Hot Steel Ingot is an ingredient
Basket of charcoal is an ingredient

Here is another incorrect recipe:
https://onetech.info/2344-Firing-Kerosene-Newcomen-Pump/recipe


IPv6 support

Relates #1105 .
Elastic search addresses are not parsed or handled correctly when they are IPv6.

Please comment on/upvote existing issues instead of opening duplicates.


Videos fully contained and centred in squared react-player component

I have square react-player component
<div
    style={{
        position: "relative",
        paddingTop: "100%",
        borderStyle: "solid"
    }}
>
    <ReactPlayer
        style={{ position: "absolute", top: 0, left: 0 }}
        url={url}
        controls
        width="100%"
        height="100%"
    />
</div>

But some of my videos are not squared. I would like to have a squared react-player component, and show videos fully contained and centred in it. That means left and right parts of the video won't be shown. Is it possible ?

Thanks for your help ;-)

Try adding object-fit: cover; to the <video> element (use config.file.attributes to set props on the video element).
Browser support: https://caniuse.com/#feat=object-fit

Thanks for your quick response. I've done this, but it also stretches react-player itself
<ReactPlayer
  style={{ position: "absolute", top: 0, left: 0 }}
  url={url}
  controls
  width="100%"
  height="100%"
  config={{
    file: {
      attributes: {
        style: { height: "100%", objectFit: "cover" },
      },
    },
  }}
/>;

How do I pass the style to <video> element ?

Have you tried width: "100%" as well? eg style: { width: "100%", height: "100%", objectFit: "cover" }

That was the missing part 😅  Thanks so much for help :-)
This is the solution
<div
  style={{
    position: "relative",
    paddingTop: "100%",
  }}
>
  <ReactPlayer
    style={{ position: "absolute", top: 0, left: 0 }}
    url={videoURL}
    controls
    width="100%"
    height="100%"
    config={{
      file: {
        attributes: {
          style: {
            width: "100%",
            height: "100%",
            objectFit: "cover",
          },
        },
      },
    }}
  />
</div>

@cookpete, can you think of any reason why this wouldn't work in a Vimeo player, i.e.
   ...
  <ReactPlayer
    style={{ position: "absolute", top: 0, left: 0 }}
    url={vimeoVideoURL}
    controls
    width="100%"
    height="100%"
    config={{
      vimeo: {
        attributes: {
          style: {
            width: "100%",
            height: "100%",
            objectFit: "cover",
          },
        },
      },
    }}
  />
</div>


Dropping a file on Whatsapp fails.

Please use the issue template to describe your problem with all the necessary information.
https://raw.githubusercontent.com/meetfranz/franz/master/.github/ISSUE_TEMPLATE.md

I didn’t feel like it. Sorr

Duarte O.Carmo
https://www.linkedin.com/in/duarteocarmo/
On 25 October 2017 at 16:14:23, Stefan Malzner<EMAIL_ADDRESS>wrote:
Please use the issue template to describe your problem with all the
necessary information.
https://raw.githubusercontent.com/meetfranz/franz/master/.github/ISSUE_TEMPLATE.md
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/meetfranz/franz/issues/120#issuecomment-339343876, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AZHzyEjYnf4x86ri8zRWuwUO9iZJw8Anks5sv0I-gaJpZM4QGEfM
.

Unfortunately this helps no one.

No worries. Keep up the good work.
Cheers.

Duarte O.Carmo
https://www.linkedin.com/in/duarteocarmo/
On 25 October 2017 at 16:16:55, Stefan Malzner<EMAIL_ADDRESS>wrote:
Unfortunately this helps no one.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/meetfranz/franz/issues/120#issuecomment-339344759, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AZHzyPToq9LlkmU-E6-isU-B6djo6nj2ks5sv0LWgaJpZM4QGEfM
.


Resolving by design.


Joint Torque Control

Thank you for your great work.
I am using this respository for KUKA IIWA LBR Med14 R820, and I want send Joint Torque to robot, but I cant found the python interface in this respository. So, I would appreciate it if you can give some advices on how to send Joint Torque to robot.
Thank you again!

hi @xlzhu0317. You can launch the system via:
ros2 launch lbr_bringup bringup.launch.py model:=med14 sim:=false ctrl:=forward_lbr_torque_command_controller

You'll see a topic /lbr/command/torque. The corresponding message definition is here https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/humble/lbr_fri_msgs/msg/LBRTorqueCommand.msg
A demo node that sends torque commands can be found here https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/humble/lbr_demos/lbr_demos_fri_ros2_python/lbr_demos_fri_ros2_python/torque_sine_overlay_node.py

this feature is now generally supported and documented here https://lbr-stack.readthedocs.io/en/latest/lbr_fri_ros2_stack/lbr_demos/lbr_demos_cpp/doc/lbr_demos_cpp.html#torque-sine-overlay


chore: update go client readme

with go get -u github.com/abcxyz/lumberjack/clients/go I will get an outdated version github.com/abcxyz/lumberjack/clients/go v0.0.0-20220923211834-05145c811069, I guess it is because we only have one mod file and we should use github.com/abcxyz/lumberjack module?

Thanks! For context, we used to have two Go modules. One at the root and one under clients/go. And later we "merged" them so now we only have the one under root. That's why go get -u github.com/abcxyz/lumberjack/clients/go was possible in the first place.


feat: fast webln via injection in main world

Describe the changes you have made in this PR
currently webln is slow and lags, sometimes it's unavailable for the user. did some quite research to inject provider as soon as possible and here is the PR for fast WebLN
chromium browsers  - we are MV3 here
https://github.com/getAlby/lightning-browser-extension/assets/55848322/1f6de3f1-3c5e-4f74-a6f7-ebffc1dc084a
firefox::
https://github.com/getAlby/lightning-browser-extension/assets/55848322/26181125-dfd3-4d4a-98ed-05fda54b6914
Link this PR to an issue [optional]
Fixex #2613
Type of change

feat: New feature (non-breaking change which adds functionality)

Checklist

[X] Self-review of changed code
[X] Manual testing
[X] Added automated tests where applicable
[X] Update Docs & Guides
For UI-related changes
[X] Darkmode
[X] Responsive layout

@pavanjoshi914 I tested this using https://github.com/getAlby/lightning-wallet-connect and removing the delay in this file.
But it still looks like the window.webln is not immediately available.
store.ts:61 Error: window.webln does not exist
    at ExtensionConnector.init (Connector.ts:13:13)
    at Object.connect (store.ts:51:23)
    at loadConfig (store.ts:103:22)
    at store.ts:107:1

@pavanjoshi914 how did you test this and on which browsers? are you sure this has made an improvement?

Closing in favor of #2691. Great work @pavanjoshi914!


[Question]: Cannot retrieve relevant documents with faiss

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
The main problem is that whatever metric is used(We tried L2 and inner product) , whatever algorithm is leveraged(We tried Brute force and HNSW)and whatever embedding model is utilized(We tried Jina and BCE-embedding) when indexing and retrieving, the most relevant document cannot be correctly retrieved or retrieved with a low score(or far distance). I am just wondering why

@dosu
We finally figured out that the metadata will be embedded by default, which will influence the retrieval. A possible solution is setting the excluded_embed_metadata_keys of each TextNode to a list containing the fields in metadata that you do not want to embed.


Update QSG link to point to the new default branch in cortx-k8s

The cortx-k8s repo changed their default branch to integration, so new updates will show up there. The updated QSG linked here uses CloudFormation, so this will also resolve #1381
Describe your changes in brief
Changes

[ ] Why is this change required? What problem does it solve?
[ ] If proposing a new change then please raise an issue first

How Has This Been Tested? (Optional)

[ ] Please describe in detail how you tested your changes.
[ ] Include details of your testing environment, and the tests you ran to
[ ] How your change affects other areas of the code, etc.

Screenshots (if appropriate)
Checklist

[ ] tested locally
[ ] added new dependencies
[ ] updated the docs
[ ] added a test

View rendered QUICK_START.md

Things should still reference main as the initial landing spot for items that are "released", as that is the branch our releases are based off of. The integration branch is a true integration branch and not one we would be linking to from external repositories or entry points.
@walterlopatka , correct me if you think otherwise, but I think we want to keep the reference here pointing to main and not integration ?

I agree with @osowski here.  Integration is where changes are happening.  Main is the stable branch where I expect most contributors to follow.

@walterlopatka then would you suggest waiting to update this link until the new QSG makes its way to main?

@trshaffer I'm not sure I understand.  I think the QSG should always refer to main, not integration, when instructing people to download/run CORTX because main will be stable while integration is work in progress.

Whoops @walterlopatka, I typed that out too fast. I'm trying to get  #1381 closed (put CloudFormation instructions on the main quick start page). Looks like the updated guide made it to main already, so this PR is unnecessary


WIP Fix recover lent quota from cohort

What type of PR is this?
/kind bug
What this PR does / why we need it:
When there is a ClusterQueue under its min quota with pending workloads, workloads from other ClusterQueues in the cohort can't continue borrowing.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
I plan to cherry pick this to 0.2
WIP because I need to add a release note and unit test.

Actually, the fix might be wrong, as e.borrows is always empty when the workload doesn't fit.

This implementation is wrong. I'll reuse the integration test though.

is there currently a mechanism to prevent a situation in which a non-borrowing workload which is non-admissible blocks borrowing in the entire cohort indefinitely?

Yes, BestEffortFIFO does that. The queue is only blocked while there are workloads in the active queue.

/close
in favor of #475


quiche: Fix crash in Quic listener upon request without authority

Signed-off-by: Dan Zhang<EMAIL_ADDRESS>Commit Message: Fix a recent regression where Quic listener crash while decoding request headers without :authority field.
Risk Level: low, WIP feature.
Testing: added integration test

I think this is related to testing with https://github.com/kazu-yamamoto/h3spec/
Original CID: 67561517f79bac11
handshakeClientConnection: NextVersion Draft29
Original CID: 396a54847c68fd3f
Version: Draft29
Cipher: AES256GCM-SHA384
ALPN: h3-29
Mode: FullHandshake
Local CID: 4e797cace3c212bd
Remote CID: 396a54847c68fd3f
Local SockAddr: [fd7a:115c:a1e0:ab12:4843:cd96:6259:f77d]:56541
Remote SockAddr: [fd7a:115c:a1e0:ab12:4843:cd96:6259:f77d]:4433
readerClient: Network.Socket.recvBuf: does not exist (Connection refused)
sender: Network.Socket.ByteString.sendMany: does not exist (Connection refused)
  MUST send H3_MESSAGE_ERROR if mandatory pseudo-header fields are absent [HTTP/3 4.1.3] FAILED [10]

[2021-03-29 15:30:23.674][458474][debug][quic_stream] [source/common/quic/envoy_quic_server_stream.cc:62] [C4270600207827630722][S0] encodeHeaders (end_stream=false) ':status', '400'
'server', 'envoy'
'date', 'Mon, 29 Mar 2021 22:30:23 GMT'
'content-type', 'text/html'
'content-length', '122'
'x-envoy-upstream-service-time', '387'
.
[2021-03-29 15:30:23.674][458474][debug][client] [source/common/http/codec_client.cc:122] [C0] response complete
[2021-03-29 15:30:23.674][458474][debug][pool] [source/common/conn_pool/conn_pool_base.cc:199] [C0] destroying stream: 0 remaining
[2021-03-29 15:30:23.674][458474][debug][quic_stream] [source/common/quic/envoy_quic_server_stream.cc:87] [C4270600207827630722][S0] encodeData (end_stream=true) of 122 bytes.
[2021-03-29 15:30:23.675][458474][debug][http2] [source/common/http/http2/codec_impl.cc:999] [C0] stream closed: 0
[2021-03-29 15:30:23.903][458474][debug][http] [source/common/http/conn_manager_impl.cc:259] [C16503042738206918425] new stream
[2021-03-29 15:30:23.903][458474][debug][quic_stream] [source/common/quic/envoy_quic_server_stream.cc:160] [C16503042738206918425][S0] Received headers: { :method=GET, :scheme=https, :path=/, }.
fish: "~/Library/envoy/envoy --concurr…" terminated by signal SIGSEGV (Address boundary error)

/assign @mattklein123

@danzh2010 @alyssawilk I can confirm the fix works with no crashes using h3spec 0.1.6. Thanks


[BUG] GremlinServerError with Complex Query

Describe the bug
The deadline was exceeded on the complex queries with more than 10M-scale results, while working well on queries with less than million-scale results.
To Reproduce
Steps to reproduce the behavior:

Download the LSQB dataset sf3
Download the LSQB loader load_lsqb which reused your ldbc loader via this aliyundrive link
Run :

import graphscope as gs
import pandas as pd
import os
import time
gs.set_option(vineyard_shared_mem="400G")

sess = gs.session(cluster_type='hosts')

from load_lsqb import load_lsqb
graph = load_lsqb(sess, prefix="/root/social-network-sf3-projected-fk/", directed=True) #modify prefix
print(graph.schema)

interactive = gs.gremlin(graph)

#modify the Q1.gremlin prefix
#Q1 has about 100M-scale results on sf3
'''
Q1.gremlin:
g.V().match(__.as('liker').out('likes').as('Message'),
__.as('Message').out('hasTag').as('Tag'),
__.as('Message').out('hasCreator').as('creator'),
__.as('Message').in('replyOf').as('Comment'))
'''

with open('/root/Q1.gremlin','r') as f:
  gremlin_query = f.read()

print("start querying")
start = time.time()
result = interactive.execute(gremlin_query).all()
end = time.time()

print("count: ", result)
print("time: ", end-start)

sess.close()

Expected behavior
GremlinServerError: 500: Status{code=DEADLINE_EXCEEDED, description=deadline exceeded after<PHONE_NUMBER>51s. [closed=[],
committed=[remote_addr=<IP_ADDRESS>/<IP_ADDRESS>:8234]], cause=null}

Environment (please complete the following information):

GraphScope version: [ v0.22 ]
OS: [ Linux ]
Version [ ubuntu20.04 ]

Additional context
Everything works well on the queries with less than million-scale results like Q2.gremlin:
g.V().match(__.as('person1').both('knows').as('person2'),
__.as('person1').both('knows').as('person3'),
__.as('person2').both('knows').as('person3'),
__.as('person1').out('isLocatedIn').as('city1'),
__.as('city1').out('isPartOf').as('country'),
__.as('person2').out('isLocatedIn').as('city2'),
__.as('city2').out('isPartOf').as('country'),
__.as('person3').out('isLocatedIn').as('city3'),
__.as('city3').out('isPartOf').as('country')).count()

Thank you for posting the issue. We are doing an internal test using LSQB, and hopefully we can figure out what the problem really is. Get back to you soon.


Conda environment detection fix

Fix #3659 Create conda environment doesn't appear in list after creation for the first ever created env
If the .conda folder doesn't exist, we can't setup a watcher on that folder, so we create one for the parent folder (which is the user home folder) and when we get notification that .conda is created, we then start watching that folder.

Added tests.


Fix so undoing complex operations in TextEdit will restore selections

Fixes #72769
When doing a complex operation in TextEdit (using begin_complex_operation and end_complex_operation to start and end them), undoing one of these operations should have restored the original text selections, however in some cases (especially with multicarat selections), the selections wouldn't be properly restored.
It seems that there was an effort to code this in before, but it was either not finished or more likely broken by subsequent code changes. This PR fixes this using the existing system.

Amended commit with Unit Test. I confirmed it failed on master but passed on this branch. It tests for the exact behaviour that this PR fixes.

Thanks!


examples/{airhorn, pingpong, dm_pingpong}: os.Kill cannot be trapped

I got the warning/erroros.Kill cannot be trapped (did you mean syscall.SIGTERM?) (SA1016) from go-staticcheck and then I found #706 which solves the "problem".
But it isn't merged as it's not based on the develop branch.
Somehow I can't find a develop branch, so maybe this pr can be looked again.
Or how should a contribution be made?
I read README.md#Contributing but can't find out what he should have been done better.
of course feel free to mark this as closed if it's a too issue or move it to discussions

Sorry for such a late response. Just simply create a pull request with those changes.


chore: upgrade husky, typescript, and default package tag

Similar to:
https://github.com/Microsoft/ConversationLearner-SDK/pull/432
https://github.com/Microsoft/ConversationLearner-Models/pull/176

Update husky, typescript, and ensure packages are published on next like SDK and Models

Hmm, seems to be Office Fabric problem with latest typescript. It will probably be fixed when upgrade to 6.x so can try then

:tada: This PR is included in version 0.349.0 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support for doctrine/common 3.0

Im not sure how much/little work it is. :/

That is a good question :) Although I suspect most of the work is going to be in https://github.com/theofidry/AliceDataFixtures

Worth mentioning with https://github.com/theofidry/AliceDataFixtures/pull/113, it might be time to push for a new major release. WDYT @jdeniau do you think including this change (there is a risk we push to common ^3.0 min) is too much of a bump?

The changes in doctrine/common seems quite little according to the changelog.
I don't think there will be any conflict.
Both changes might be included in the same major releases.

We do need to allow doctrine/persistence: ^2.0 in this repo though.

It would be great to see this implemented. A new project I'm working on is using doctrine/common:^3.0 and was disappointed when I found out alice-bundle isn't currently compatible.

WohoO!


Need to mount on host?

Hey, this doesn't seem to be working for me with NFS. The one step I am unclear on is: does this need to be mounted on the host first, then shared as a volume? or in the -v option, am I giving a network path? Thanks

What OS are you testing this on?  What Docker version are you using?

I'm using ubuntu 12.04, and docker 1.9.1. To be clear I have the drive mounted on the host os and am trying to share that with the docker container. Is that the right pattern?

No. You don't have to mount the share on the host, you pass the parameters to the docker run command and it mounts nfs share directly within the container.


useStoryblokState language option

Hey!
Thanks for the React version, it looks good!
A quick quick question about locales logic. According to this article, we need to pass the locale to the hook, as in the example below. (documentation article link).
...

export default function Page({ story, locale, locales, defaultLocale }) {
  story = useStoryblokState(story, {
    resolveRelations: ["featured-posts.posts", "selected-posts.posts"],
    language: locale,
  });

...

I tried to do this, but it seems useStoryblockState doesn't accept the language parameter at all, so I can't get a working preview in the CMS account.
I checked the types and see that we can only pass these options
export interface StoryblokBridgeConfigV2 {
    resolveRelations?: [string];
    customParent?: string;
    preventClicks?: boolean;
}

Could you please share with us the correct way to implement it?
I can't find any documents or updates related to this issue.
Thanks!

Hey @AlexHramovich thank you very much for reporting this issue. Looks like we forgot to add the language parameter to the StoryblokBridgeConfigV2 interface when adding TypeScript support to the SDKs.
If you want to add it, you can go ahead and create a PR with the change here 🙂
https://github.com/storyblok/storyblok-js/blob/e6e4522e72309e7c67d8495859202cbad269475b/lib/types.ts#L34
If not, we will take care of that soon.
Thank you!
cc @alexjoverm

Hey @AlexHramovich I created this PR adding the parameter to the type definition. Once it's merged, you should be able to define a locale for the stories:
https://github.com/storyblok/storyblok-js/pull/102


if you have a trouble with QWebEngineView

long story to short,
enable_shadow of PyWindow set to False

Thank you ! I met the same problem QWebEngineView run slow in PyDracula， your answer works .
self.ui.webEngineView.setGraphicsEffect(self.shadow)
self.ui.webEngineView.graphicsEffect().setEnabled(False)


Build error MBP 2018

I cloned and tried to start the project on my computer.
➜  projects git clone https://github.com/e2b-dev/e2b
Cloning into 'e2b'...
remote: Enumerating objects: 12039, done.
remote: Counting objects: 100% (1218/1218), done.
remote: Compressing objects: 100% (386/386), done.
remote: Total 12039 (delta 871), reused 1009 (delta 818), pack-reused 10821
Receiving objects: 100% (12039/12039), 43.44 MiB | 16.75 MiB/s, done.
Resolving deltas: 100% (8167/8167), done.
➜  projects cd e2b
➜  e2b git:(main) npm start

><EMAIL_ADDRESS>start /Users/stepo/projects/e2b
> docker compose build && (npm run db:reset || cd . && npm run db:start && docker compose up)

[+] Building 144.5s (27/38)
 => [e2b/api:latest internal] load build definition from Dockerfile     0.6s
 => => transferring dockerfile: 1.21kB                                  0.1s
 => [e2b/app:latest internal] load build definition from Dockerfile     1.0s
 => => transferring dockerfile: 1.04kB                                  0.0s
 => [e2b/api:latest internal] load .dockerignore                        0.6s
 => => transferring context: 186B                                       0.0s
 => [e2b/app:latest internal] load .dockerignore                        0.7s
 => => transferring context: 389B                                       0.0s
 => [e2b/api:latest internal] load metadata for docker.io/nikolaik/pyt  2.0s
 => [e2b/app:latest internal] load metadata for docker.io/library/node  1.8s
 => [e2b/app:latest internal] load build context                        0.5s
 => => transferring context: 1.25MB                                     0.3s
 => [e2b/app:latest runner 1/5] FROM docker.io/library/node:lts-slim@  27.4s
 => => resolve docker.io/library/node:lts-slim@sha256:77618f025144304c  0.0s
 => => sha256:77618f025144304c1e678fe27b3d67072da8ace6 1.21kB / 1.21kB  0.0s
 => => sha256:a555bf35be0a0fdc9d4ef8218b7bbeb05397a498 1.37kB / 1.37kB  0.0s
 => => sha256:47ca254e63dac631ffa3e92d51feb5d16e3fa477 7.01kB / 7.01kB  0.0s
 => => sha256:5b5fe70539cd6989aa19f25826309f9715a948 29.12MB / 29.12MB  6.6s
 => => sha256:b6b4ba8b66ef938dd20faab2757750e25471dfc6 3.35kB / 3.35kB  0.6s
 => => sha256:7164ad7f664d1f7a4fefd5edc6593037851ab9 45.99MB / 45.99MB  9.8s
 => => sha256:4aeac8a60b3be152c11cf56047295f20b19f35c4 2.74MB / 2.74MB  2.1s
 => => sha256:50cd09dcd0ffe4eebed48019bc297a4b651aedc256d1 448B / 448B  2.4s
 => => extracting sha256:5b5fe70539cd6989aa19f25826309f9715a9489cf1c05  3.7s
 => => extracting sha256:b6b4ba8b66ef938dd20faab2757750e25471dfc664924  0.0s
 => => extracting sha256:7164ad7f664d1f7a4fefd5edc6593037851ab996515c  12.7s
 => => extracting sha256:4aeac8a60b3be152c11cf56047295f20b19f35c4646ae  0.5s
 => => extracting sha256:50cd09dcd0ffe4eebed48019bc297a4b651aedc256d10  0.0s
 => [e2b/api:latest stage-1  1/12] FROM docker.io/nikolaik/python-nod  49.5s
 => => resolve docker.io/nikolaik/python-nodejs:python3.10-nodejs18-sl  0.1s
 => => sha256:5b5fe70539cd6989aa19f25826309f9715a948 29.12MB / 29.12MB  6.4s
 => => sha256:e0d8d1d843a38c15dfff43d7ed49a026aaddf62e 1.63kB / 1.63kB  0.0s
 => => sha256:f4c2cb1de449ee6c658d1035cd8cc93aa485fb47 8.95kB / 8.95kB  0.0s
 => => sha256:5e3d92572cc1017d354a178c0de533cbb05b414c 1.61kB / 1.61kB  0.0s
 => => sha256:f4b0e4004dc04711a8993bf16c12de46a97fb445 3.50MB / 3.50MB  3.3s
 => => sha256:c5424f0ac885ec615efbbae35449ca925b901c 17.43MB / 17.43MB  7.6s
 => => sha256:9d21fe1624ec14a17704060db0113fad2195119f1d4a 244B / 244B  7.7s
 => => sha256:de0194aa1c2187a0cf3ac9af8347bf734597fc25 3.37MB / 3.37MB  9.7s
 => => extracting sha256:5b5fe70539cd6989aa19f25826309f9715a9489cf1c05  3.7s
 => => sha256:6ebdd436fb631389bf78d63bf7458ef4503 123.86MB / 123.86MB  21.7s
 => => sha256:99b418d33008c6f307dbd7d5722201d2eb30500 3.31kB / 3.31kB  10.1s
 => => extracting sha256:f4b0e4004dc04711a8993bf16c12de46a97fb4451c82e  0.9s
 => => extracting sha256:c5424f0ac885ec615efbbae35449ca925b901ca2b5803  3.8s
 => => extracting sha256:9d21fe1624ec14a17704060db0113fad2195119f1d4a9  0.0s
 => => extracting sha256:de0194aa1c2187a0cf3ac9af8347bf734597fc253d3de  3.8s
 => => extracting sha256:99b418d33008c6f307dbd7d5722201d2eb30500bee385  0.0s
 => => extracting sha256:6ebdd436fb631389bf78d63bf7458ef45033c38dbf4e  22.0s
 => [e2b/api:latest internal] load build context                        0.4s
 => => transferring context: 673.12kB                                   0.3s
 => [e2b/api:latest playground 2/9] WORKDIR /playground                12.6s
 => [e2b/app:latest runner 2/5] WORKDIR /app                           12.6s
 => [e2b/api:latest playground 3/9] COPY playground/package.json playg  0.4s
 => [e2b/app:latest builder 3/7] COPY package.json package-lock.json*   0.4s
 => [e2b/api:latest playground 4/9] RUN npm ci                         80.8s
 => [e2b/app:latest builder 4/7] COPY prisma/schema.prisma ./prisma/sc  0.2s
 => CANCELED [e2b/app:latest builder 5/7] RUN npm ci                  100.0s
 => [e2b/api:latest stage-1  2/12] RUN poetry config virtualenvs.in-pr  4.0s
 => [e2b/api:latest stage-1  3/12] WORKDIR /app                         0.1s
 => [e2b/api:latest stage-1  4/12] COPY pyproject.toml poetry.lock ./   0.1s
 => [e2b/api:latest stage-1  5/12] RUN --mount=type=cache,target=/hom  52.8s
 => ERROR [e2b/api:latest stage-1  6/12] RUN poetry run opentelemetry  31.8s
 => [e2b/api:latest playground 5/9] COPY playground/tsconfig.json ./    0.1s
 => [e2b/api:latest playground 6/9] COPY playground/tsoa.json ./        0.1s
 => [e2b/api:latest playground 7/9] COPY playground/scripts/build.js .  0.1s
 => [e2b/api:latest playground 8/9] COPY playground/src ./src           0.1s
 => [e2b/api:latest playground 9/9] RUN npm run build                   2.3s
------
 > [e2b/api:latest stage-1  6/12] RUN poetry run opentelemetry-bootstrap -a install:
#24 3.248 instrumentation for package httpx<=0.23.0,>=0.18.0 is available but version httpx==0.23.3 is installed. Skipping.
#24 3.526 instrumentation for package starlette~=0.13.0 is available but version starlette==0.27.0 is installed. Skipping.
#24 7.510 Collecting opentelemetry-instrumentation-aws-lambda==0.39b0
#24 7.732   Downloading opentelemetry_instrumentation_aws_lambda-0.39b0-py3-none-any.whl (11 kB)
#24 7.756 Requirement already satisfied: opentelemetry-instrumentation==0.39b0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation-aws-lambda==0.39b0) (0.39b0)
#24 7.924 Collecting opentelemetry-propagator-aws-xray==1.0.1 (from opentelemetry-instrumentation-aws-lambda==0.39b0)
#24 7.965   Downloading opentelemetry_propagator_aws_xray-1.0.1-py3-none-any.whl (10 kB)
#24 7.979 Requirement already satisfied: opentelemetry-semantic-conventions==0.39b0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation-aws-lambda==0.39b0) (0.39b0)
#24 7.999 Requirement already satisfied: opentelemetry-api~=1.4 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation==0.39b0->opentelemetry-instrumentation-aws-lambda==0.39b0) (1.18.0)
#24 8.002 Requirement already satisfied: setuptools>=16.0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation==0.39b0->opentelemetry-instrumentation-aws-lambda==0.39b0) (67.8.0)
#24 8.004 Requirement already satisfied: wrapt<2.0.0,>=1.0.0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation==0.39b0->opentelemetry-instrumentation-aws-lambda==0.39b0) (1.15.0)
#24 8.022 Requirement already satisfied: deprecated>=1.2.6 in ./.venv/lib/python3.10/site-packages (from opentelemetry-api~=1.4->opentelemetry-instrumentation==0.39b0->opentelemetry-instrumentation-aws-lambda==0.39b0) (1.2.14)
#24 8.024 Requirement already satisfied: importlib-metadata~=6.0.0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-api~=1.4->opentelemetry-instrumentation==0.39b0->opentelemetry-instrumentation-aws-lambda==0.39b0) (6.0.1)
#24 8.236 Requirement already satisfied: zipp>=0.5 in ./.venv/lib/python3.10/site-packages (from importlib-metadata~=6.0.0->opentelemetry-api~=1.4->opentelemetry-instrumentation==0.39b0->opentelemetry-instrumentation-aws-lambda==0.39b0) (3.15.0)
#24 9.573 Installing collected packages: opentelemetry-propagator-aws-xray, opentelemetry-instrumentation-aws-lambda
#24 9.783 Successfully installed opentelemetry-instrumentation-aws-lambda-0.39b0 opentelemetry-propagator-aws-xray-1.0.1
#24 11.28 Collecting opentelemetry-instrumentation-dbapi==0.39b0
#24 11.50   Downloading opentelemetry_instrumentation_dbapi-0.39b0-py3-none-any.whl (10 kB)
#24 11.58 Requirement already satisfied: opentelemetry-api~=1.12 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation-dbapi==0.39b0) (1.18.0)
#24 11.58 Requirement already satisfied: opentelemetry-instrumentation==0.39b0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation-dbapi==0.39b0) (0.39b0)
#24 11.59 Requirement already satisfied: opentelemetry-semantic-conventions==0.39b0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation-dbapi==0.39b0) (0.39b0)
#24 11.60 Requirement already satisfied: wrapt<2.0.0,>=1.0.0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation-dbapi==0.39b0) (1.15.0)
#24 11.62 Requirement already satisfied: setuptools>=16.0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation==0.39b0->opentelemetry-instrumentation-dbapi==0.39b0) (67.8.0)
#24 11.65 Requirement already satisfied: deprecated>=1.2.6 in ./.venv/lib/python3.10/site-packages (from opentelemetry-api~=1.12->opentelemetry-instrumentation-dbapi==0.39b0) (1.2.14)
#24 11.65 Requirement already satisfied: importlib-metadata~=6.0.0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-api~=1.12->opentelemetry-instrumentation-dbapi==0.39b0) (6.0.1)
#24 11.82 Requirement already satisfied: zipp>=0.5 in ./.venv/lib/python3.10/site-packages (from importlib-metadata~=6.0.0->opentelemetry-api~=1.12->opentelemetry-instrumentation-dbapi==0.39b0) (3.15.0)
#24 13.30 Installing collected packages: opentelemetry-instrumentation-dbapi
#24 13.42 Successfully installed opentelemetry-instrumentation-dbapi-0.39b0
#24 15.23 Collecting opentelemetry-instrumentation-logging==0.39b0
#24 15.42   Downloading opentelemetry_instrumentation_logging-0.39b0-py2.py3-none-any.whl (12 kB)
#24 15.44 Requirement already satisfied: opentelemetry-api~=1.12 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation-logging==0.39b0) (1.18.0)
#24 15.44 Requirement already satisfied: opentelemetry-instrumentation==0.39b0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation-logging==0.39b0) (0.39b0)
#24 15.45 Requirement already satisfied: setuptools>=16.0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation==0.39b0->opentelemetry-instrumentation-logging==0.39b0) (67.8.0)
#24 15.45 Requirement already satisfied: wrapt<2.0.0,>=1.0.0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation==0.39b0->opentelemetry-instrumentation-logging==0.39b0) (1.15.0)
#24 15.47 Requirement already satisfied: deprecated>=1.2.6 in ./.venv/lib/python3.10/site-packages (from opentelemetry-api~=1.12->opentelemetry-instrumentation-logging==0.39b0) (1.2.14)
#24 15.47 Requirement already satisfied: importlib-metadata~=6.0.0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-api~=1.12->opentelemetry-instrumentation-logging==0.39b0) (6.0.1)
#24 15.57 Requirement already satisfied: zipp>=0.5 in ./.venv/lib/python3.10/site-packages (from importlib-metadata~=6.0.0->opentelemetry-api~=1.12->opentelemetry-instrumentation-logging==0.39b0) (3.15.0)
#24 16.87 Installing collected packages: opentelemetry-instrumentation-logging
#24 16.93 Successfully installed opentelemetry-instrumentation-logging-0.39b0
#24 18.59 Collecting opentelemetry-instrumentation-sqlite3==0.39b0
#24 18.79   Downloading opentelemetry_instrumentation_sqlite3-0.39b0-py3-none-any.whl (8.7 kB)
#24 18.83 Requirement already satisfied: opentelemetry-api~=1.12 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation-sqlite3==0.39b0) (1.18.0)
#24 18.83 Requirement already satisfied: opentelemetry-instrumentation-dbapi==0.39b0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation-sqlite3==0.39b0) (0.39b0)
#24 18.84 Requirement already satisfied: opentelemetry-instrumentation==0.39b0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation-sqlite3==0.39b0) (0.39b0)
#24 18.87 Requirement already satisfied: setuptools>=16.0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation==0.39b0->opentelemetry-instrumentation-sqlite3==0.39b0) (67.8.0)
#24 18.88 Requirement already satisfied: wrapt<2.0.0,>=1.0.0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation==0.39b0->opentelemetry-instrumentation-sqlite3==0.39b0) (1.15.0)
#24 18.90 Requirement already satisfied: opentelemetry-semantic-conventions==0.39b0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation-dbapi==0.39b0->opentelemetry-instrumentation-sqlite3==0.39b0) (0.39b0)
#24 18.92 Requirement already satisfied: deprecated>=1.2.6 in ./.venv/lib/python3.10/site-packages (from opentelemetry-api~=1.12->opentelemetry-instrumentation-sqlite3==0.39b0) (1.2.14)
#24 18.92 Requirement already satisfied: importlib-metadata~=6.0.0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-api~=1.12->opentelemetry-instrumentation-sqlite3==0.39b0) (6.0.1)
#24 19.03 Requirement already satisfied: zipp>=0.5 in ./.venv/lib/python3.10/site-packages (from importlib-metadata~=6.0.0->opentelemetry-api~=1.12->opentelemetry-instrumentation-sqlite3==0.39b0) (3.15.0)
#24 20.28 Installing collected packages: opentelemetry-instrumentation-sqlite3
#24 20.35 Successfully installed opentelemetry-instrumentation-sqlite3-0.39b0
#24 21.65 Collecting opentelemetry-instrumentation-urllib==0.39b0
#24 21.82   Downloading opentelemetry_instrumentation_urllib-0.39b0-py3-none-any.whl (11 kB)
#24 21.88 Requirement already satisfied: opentelemetry-api~=1.12 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation-urllib==0.39b0) (1.18.0)
#24 21.90 Requirement already satisfied: opentelemetry-instrumentation==0.39b0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation-urllib==0.39b0) (0.39b0)
#24 21.91 Requirement already satisfied: opentelemetry-semantic-conventions==0.39b0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation-urllib==0.39b0) (0.39b0)
#24 22.12 Collecting opentelemetry-util-http==0.39b0 (from opentelemetry-instrumentation-urllib==0.39b0)
#24 22.15   Downloading opentelemetry_util_http-0.39b0-py3-none-any.whl (6.7 kB)
#24 22.16 Requirement already satisfied: setuptools>=16.0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation==0.39b0->opentelemetry-instrumentation-urllib==0.39b0) (67.8.0)
#24 22.16 Requirement already satisfied: wrapt<2.0.0,>=1.0.0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-instrumentation==0.39b0->opentelemetry-instrumentation-urllib==0.39b0) (1.15.0)
#24 22.18 Requirement already satisfied: deprecated>=1.2.6 in ./.venv/lib/python3.10/site-packages (from opentelemetry-api~=1.12->opentelemetry-instrumentation-urllib==0.39b0) (1.2.14)
#24 22.18 Requirement already satisfied: importlib-metadata~=6.0.0 in ./.venv/lib/python3.10/site-packages (from opentelemetry-api~=1.12->opentelemetry-instrumentation-urllib==0.39b0) (6.0.1)
#24 22.25 Requirement already satisfied: zipp>=0.5 in ./.venv/lib/python3.10/site-packages (from importlib-metadata~=6.0.0->opentelemetry-api~=1.12->opentelemetry-instrumentation-urllib==0.39b0) (3.15.0)
#24 23.43 Installing collected packages: opentelemetry-util-http, opentelemetry-instrumentation-urllib
#24 29.49 ERROR: Could not install packages due to an OSError: [Errno 5] Input/output error
#24 29.49
#24 29.70 Traceback (most recent call last):
#24 29.70   File "/app/.venv/lib/python3.10/site-packages/opentelemetry/instrumentation/bootstrap.py", line 37, in wrapper
#24 29.70     return func(package)
#24 29.70   File "/app/.venv/lib/python3.10/site-packages/opentelemetry/instrumentation/bootstrap.py", line 53, in _sys_pip_install
#24 29.70     subprocess.check_call(
#24 29.70   File "/usr/local/lib/python3.10/subprocess.py", line 369, in check_call
#24 29.70     raise CalledProcessError(retcode, cmd)
#24 29.70 subprocess.CalledProcessError: Command '['/app/.venv/bin/python', '-m', 'pip', 'install', '-U', '--upgrade-strategy', 'only-if-needed', 'opentelemetry-instrumentation-urllib==0.39b0']' returned non-zero exit status 1.
#24 29.70
#24 29.70 During handling of the above exception, another exception occurred:
#24 29.70
#24 29.70 Traceback (most recent call last):
#24 29.70   File "/app/.venv/bin/opentelemetry-bootstrap", line 8, in <module>
#24 29.70     sys.exit(run())
#24 29.70   File "/app/.venv/lib/python3.10/site-packages/opentelemetry/instrumentation/bootstrap.py", line 161, in run
#24 29.70     cmd()
#24 29.70   File "/app/.venv/lib/python3.10/site-packages/opentelemetry/instrumentation/bootstrap.py", line 123, in _run_install
#24 29.70     _sys_pip_install(lib)
#24 29.70   File "/app/.venv/lib/python3.10/site-packages/opentelemetry/instrumentation/bootstrap.py", line 45, in wrapper
#24 29.70     raise RuntimeError(msg)
#24 29.70 RuntimeError: Error calling system command "/app/.venv/bin/python -m pip install -U --upgrade-strategy only-if-needed opentelemetry-instrumentation-urllib==0.39b0" for package "opentelemetry-instrumentation-urllib==0.39b0"
------
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c poetry run opentelemetry-bootstrap -a install]: exit code: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 17
npm ERR<EMAIL_ADDRESS>start: `docker compose build && (npm run db:reset || cd . && npm run db:start && docker compose up)`
npm ERR! Exit status 17
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR!      /Users/stepo/.npm/_logs/2023-07-02T17_21_24_436Z-debug.log

Log of the incident in .npm/logs folder.
➜  _logs cat 2023-07-02T17_21_24_436Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   '/usr/local/Cellar/node/20.3.0_1/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'start'
1 verbose cli ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
8 verbose lifecycle<EMAIL_ADDRESS>PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/stepo/projects/e2b/node_modules/.bin:/Users/stepo/.pyenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/stepo/.local/bin:/Users/stepo/Library/Python/3.7/bin:/usr/local/texlive/2020/bin/x86_64-darwin:/Library/TeX/texbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin
9 verbose lifecycle<EMAIL_ADDRESS>CWD: /Users/stepo/projects/e2b
10 silly lifecycle<EMAIL_ADDRESS>Args: [
10 silly lifecycle   '-c',
10 silly lifecycle   'docker compose build && (npm run db:reset || cd . && npm run db:start && docker compose up)'
10 silly lifecycle ]
11 silly lifecycle<EMAIL_ADDRESS>Returned: code: 17  signal: null
12 info lifecycle<EMAIL_ADDRESS>Failed to exec start script
13 verbose stack Error<EMAIL_ADDRESS>start: `docker compose build && (npm run db:reset || cd . && npm run db:start && docker compose up)`
13 verbose stack Exit status 17
13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (node:events:511:28)
13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (node:events:511:28)
13 verbose stack     at maybeClose (node:internal/child_process:1098:16)
13 verbose stack     at ChildProcess._handle.onexit (node:internal/child_process:304:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd /Users/stepo/projects/e2b
16 verbose Darwin 20.6.0
17 verbose argv "/usr/local/Cellar/node/20.3.0_1/bin/node" "/usr/local/bin/npm" "start"
18 verbose node v20.3.0
19 verbose npm  v6.14.8
20 error code ELIFECYCLE
21 error errno 17
22 error<EMAIL_ADDRESS>start: `docker compose build && (npm run db:reset || cd . && npm run db:start && docker compose up)`
22 error Exit status 17
23 error Failed at the<EMAIL_ADDRESS>start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 17, true ]

Describe the bug
Build error
To Reproduce
Steps to reproduce the behavior:

git clone
npm start

Computer: MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports)
2,3 GHz Čtyřjádrový Intel Core i5
16 GB 2133 MHz LPDDR3
Intel Iris Plus Graphics 655 1536 MB

Full storage on computer..

I cannot reproduce this exact problem on Ubuntu 22.04.2 or MBP M1 13.3.1 — if you get more info about this please share it here!

I'm closing this - we are no longer using Docker for local development. Still, thanks for the original report!


Created MDReg() class

Need to pause this development for now so committing where I am.
All the examples in example.py are working on the example DICOM dataset.
The README is extended but not all functionality described is currently implemented. It is written out already in the README to create specifications for development. These are smaller changes related to package structure and API.

Hi @plaresmedima  thank you for your Pull Request. There are 2 points to discuss here.

Conflicts: There are two conflicts in the examples.py file. These are my fault because after the previous PR you submitted I did 2 direct commits to the main branch with small changes to the examples.py. The main change was adding a check if there are dicom files in the given data folder and print a warning if the folder is empty. I can resolve these conflicts easily by clicking on the "Resolve conflicts" button above and create a new commit for this branch.

There's a big and important implication with this PR. The MDR being implemented in the iBEAt and UKRIN-MAPS pipelines is still the old one. We will need to be extremely careful when determining the mdr-library version in those analysis pipelines. The other point is that the suggested current folder structure isn't friendly with the pip install. This works as a local repository, but having the MDReg() class in main.py doesn't allow you to have that class pip installable.

Continuing point 2.
In order to have the MDReg() class correctly available, you need to have it in a folder first. The big question is: How do you wish other people to import MDReg()? Surely they won't be writing "from main import MDReg". Assuming what you want is "from module_x.script_y import MDReg, then you would have folder "module_x" containing the file "script_y" where you can find the MDReg() class. I'm sharing an email you sent earlier this year and then we can make a decision based on it.
'''
I'm not sure about the package structure because mdr is the same thing as mdreg, and then you also have model_driven_registration as a function.
so to use it you would have to write
from mdreg.mdr import model_driven_registration
That's 3 times mdr..
And then all the folders like models etc are also distributed as part of the package I assume?
Maybe something like:
mdreg.main (one public function which can be called coreg for instance instead of model_drive_registratioN)
mdreg.tools
mdreg.models
mdreg.examples (a simplification of what is now tests)
mdreg.elastixpars (examples of elastix parameter files)
mdreg.data (some demo data for tutorials)
mdreg,docs
'''

Thanks @JSousa-UoL for the review.
I didn't add an init file yet as I was worried about conflicts but note in main.py the top line is
all = ['MDReg']
so if you create an init file in the top folder MDR_Library then that init file should state
from MDR_Library.main import *
this then exposes MDReg to external callers, so you should be able to do
from mdr_library import MDReg
Do I get this right?
Re naming I would prefer we rename
mdr_library -> mdreg

I see what the idea is. I think what confuses you is the fact that the Github repository is named "MDR_Library" but that has absolutely nothing to do with the "pip install mdr-library"
In that case, if your final goal is the user to call "from mdreg import MDReg", then create a folder named mdreg and move your current main.py file to that folder and create the __init__.py as you're planning. If you wish to call "from mdreg import models_signal.T2" then you should move the models_signal folder into the newly created mdreg folder.
After all this changes, what we can do is to leave the "mdr-library" as it is and I can create a new PYPI package named mdreg. It's actually better this way, because that means none of these new changes will go to mdr-library and mdr-library stays as it is. I understand if it's difficult to understand, you can always arrange a call. I'll try to invite you to PYPI so you can get familiar with this pip install dynamics.

Yes that makes total sense @JSousa-UoL Joao - indeed this is the idea
from mdreg import MDReg
from mdreg.models import T2star
etc
I will rearrange the folder structure following your suggestion and make a new PR.
Thanks a lot!

Great @plaresmedima! 👍
No need to create a new PR, you can just keep committing to this branch and I'll approve in the end when we're happy with the new structure.

Thank you for the recent commit and for merging @plaresmedima. Yesterday I created a branch from the main branch named "mdr-library" so that we can keep a copy of the "old" MDR_Library in case we need to recover it one day in the future. Before I close this Pull Request, I'll list my next actions after closure:

Rename the Github repository to "mdreg" and propagate that change across the folders and documentation.
Create a new PYPI package named mdreg. Although the Github name "MDR_Library" won't exist anymore, we will keep a branch for that and the mdr-library pip install package will still exist and be available and functional. Then, it'll be up to us to delete it in the future when it becomes 100% deprecated.
Create a new Pull Request with changes in the setup.py file so that the new mdreg pip install package is generated and uploaded to PYPI for the first time.


Real-time transcription

Hey, awesome package!
I wanted to ask how one could use this for on-device realtime description with microphone audio, similar to the objc example from the whisper.cpp package

I'd also like to see an SFSpeechRecognizer-like API for easy replacement of SFSpeechRecognizer.

+1 for this feature

Yes, this would be a great feature.

Right now, I'm setting a timer to start + stop the transcription every 2 seconds, however it's not that accurate because if a word is cut off, then whisper tries to improvise, and the text often has hallucinations.

how would whiper officially support real time? The cut off issue is same for official library, correct? @fakerybakery

how would whiper officially support real time? The cut off issue is same for official library, correct? @fakerybakery

The Whisper cpp repo has examples of how to implement realtime.

I think that the whisper.cpp library stores some of the previous recording history and uses that to fix the cutoff issue, but I'm not sure.

how would whiper officially support real time? The cut off issue is same for official library, correct? @fakerybakery

The Whisper cpp repo has examples of how to implement realtime.

thanks for point that out. Just curious, why it's in Obj-C but not in swift version...

I don't know why, but if someone could port the example to Swift, I would really appreciate that (I'm really bad at Obj-C).

I think that the whisper.cpp library stores some of the previous recording history and uses that to fix the cutoff issue, but I'm not sure.

Yep, I believe it does too – see this line

Don't have a great understanding, but to me it looks like whisper.objc is storing the contents of a buffer when it fills up, then calling it's transcribe function against what it just stored, while clearing the buffer and re-enqueuing it. I don't know a ton about AVFAudio, but does anyone know if you could use AVAudioEngine and AVAudioPCMBuffer to create similar functionality? I'm thinking you could call Whisper.transcribe here with the buffer data if you can get that buffer data back from AVAudioEngine. Does anyone know if that would work?

@barkb have you ever found a solution to this real-time idea?

+1

I found this Swift implementation of streaming: https://github.com/leetcode-mafia/cheetah/blob/b7e301c0ae16df5c597b564b2126e10e532871b2/LibWhisper/stream.cpp with a swift file inside a swit project. It's CC0 licensed.
I couldn't tell if it's uses the right config to benefit from the latest Metal/OpenML performance-oriented config

I found this Swift implementation of streaming<EMAIL_ADDRESS>with a swift file inside a swit project. It's CC0 licensed.
I couldn't tell if it's uses the right config to benefit from the latest Metal/OpenML performance-oriented config and it uses some tool that requires a brew install so I don't know how sandbox friendly it is.

@aehlke
The linked app is an AI interview ... er assistant? and it listens to your audio and tries to respond with GPT-4. It uses the sdl12 library, which, according to their website:

... provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D ...

I haven't extensively researched this subject, but my interpretation is that this allows the app to listen to your system audio and transcribe it, so you don't have to install external software such as BlackHole. This leads me to believe that the library may not be necessary if the object is to listen from the microphone, which may mean that it can be run on other devices, such as iOS.

@fakerybakery it looks to me like https://github.com/leetcode-mafia/cheetah/blob/b7e301c0ae16df5c597b564b2126e10e532871b2/LibWhisper/WhisperStream.swift has similarities to https://github.com/exPHAT/SwiftWhisper/blob/master/Sources/SwiftWhisper/Whisper.swift and the latter could be extended with that logic with some effort

I've ported it into SwiftWhisper here: https://github.com/dougzilla32/SwiftWhisper/compare/master...lake-of-fire:SwiftWhisper:master#diff-bc90b919aba349b74638614ff99f2c0581ae2bcd8b4c2c816a9c9d93969853d0 still untested though. Looks like SDL can run on iOS.

Wow, thank you so much! Might it be possible to update the README to add documentation?
Also, are you planning to make a PR to merge this into the main repository?

No plans, but I'll update here if I test it and it works

Hi @aehlke, were you able to get it to work?

Haven't tried yet. I will within a week or two probably

I have created a very poor mans version of the streaming here. It works but the reading from the buffer queue needs quite a bit of improvement.

What's the downside to your queue implementation? Like what's the cost or risk of the technical debt as you implemented it - thanks

@aehlke lost fidelity. If you test using GGeranov's implementation with AudioQueue, its a bit more accurate. I would say this implementation is like 90% good enough though.
I havent had time to invest in making it more true buffer where it puts drops back into the array, this is more of a FILO queue.

I tested and fixed the one I linked above. I don't have a test implementation to share but it works.

@aehlke mind sharing a code example?

cheetah-main-2.zip
here's the "Cheetah" project I linked above, locally forked to use my SwiftWhisper fork with the added SwiftWhisperStream module. I disabled most of the functions of the app - all that remains is a demo of it downloading the medium model and then showing text results as you speak, ignore the other buttons

@aehlke this is pretty amazing. Are you using a more recent version of the code? When I try to add SwiftWhisper as a dependency from github.com/lake-of-fire/SwiftWhisper.git I get error that SwiftWhisperStream cannot be found

https://github.com/lake-of-fire/SwiftWhisper/blob/master/Package.swift#L20 it's here...

@aehlke my mistake looks like I didn't actually add it to the target. Amazing work

Thanks so much for the continued work, @aehlke and @cgfarmer4!

@aehlke trying to test start/stop and getting this:

@aehlke also the Whisper library itself is now broken:

I ran into this error, trying to recall how I resolved it and why it's broken again for you... hmm

Regardless of the demo project zip works then there must be a way forward. I suggest splitting my work out into a separate repo. I may do this later but it's not a priority for me sorry

This is yea, way better than mine @aehlke. Great job. Never heard of SDL 👀. Looks sweet

Glad to help. I didn't know SDL either - the Cheetah project is to thank for integrating that, I just found it via code search. I wonder if it can be made more "realtime", I'll play with the configuration.
Btw I also have it configured to use Metal and no CoreML. Unfortunately quantized models don't work with Metal yet

Personally think that Metal > CoreML so far but I mostly dissected your project and havent pulled it into mine yet. CoreML seems to spike the CPU but maybe Im doing something wrong. I also completely gutted the Cheetah project and created a simpler example here for anyone else following along:
StreamWhisperExample.zip

Pulled it into mine and yea, seems to run way better than the CoreML version I was using with my gist and accuracy is slightly better as expected. Since you dont even use SwiftWhisper at all, might make sense to split this out unless theres a clean interface for doing something like realTime = true. Given the dependency on SDL, dont imagine there is a clean way though.
Couple things I think would be nice:

Access to WhisperParams
A way to reset CaptureDevice so the microphone isnt always being accessed when not in use.
A cleaner delegate interface for the segments although I easily implemented a callback structure.

Going to try to implement this myself but I dont know cpp very well. Up for the challenge.
Yours:

Mine has these wild CPU spikes on transcribe but the memory footprint is similar, not sure if SwiftWhisper can do fully GPU.

@cgfarmer4 when I run your StreamWhisperExample.zip, XCode complains. Any idea on how I can fix this error?

@ldenoue

I think you need to update to Xcode 15 and maybe macOS 14.

swift -version
swift-driver version: 1.87.1 Apple Swift version 5.9 (swiftlang-<IP_ADDRESS>.108 clang-15<IP_ADDRESS>)
Target: x86_64-apple-macosx14.0

A way to reset CaptureDevice so the microphone isnt always being accessed when not in use.

this sounds like a critical feature. I'll also look into it...

Looks like the swift SDL calls needed are:
  SDL_CloseAudioDevice(deviceObj)
  SDL_Quit() // if we want to also shut down the initialization step, not just the device that was opened

Hi @aehlke @cgfarmer4, might it be possible to run this on iOS?

I think it works on iOS. haven't fully tested yet.

Yea I cant figure it out @aehlke. Dont have enough C experience. Tried calling both of those functions but neither closed the audio session. My hunch is you need to delete the ctx thats created and I couldnt figure out how to properly keep a reference to it:
From common-sdl
audio_async::~audio_async() {
    if (m_dev_id_in) {
        SDL_CloseAudioDevice(m_dev_id_in);
    }
}

I've cleaned up my fork here https://github.com/lake-of-fire/SwiftWhisperStream

Updates:

Auto lang detect is useless with streaming. Generates a lot of garbage, low accuracy. Need to set a language and stick to it (maybe be clever with also detecting languages and more slowly updating which language is set rather than with every chunk of audio)
Silence and noise descriptions are hard to filter out because they tend to generate hallucinations. So now I'm implementing libfvad and nearly done in my fork above, to only send audio to Whisper when it detects speech activity in the separate VAD.

@aehlke nice job! Do you have an example project setup anywhere? Looking to stream, but not from the device microphone.

You can select/specify a device via CaptureDevice. I don't have any open source demo currently sorry.

Got it. It looks like the your fork only supports input from a device. Is there a way to support input from raw buffers (eg. streaming audio, video audio) that doesn't come from a device microphone?

It's possible but I haven't implemented that yet. I'd like to eventually.

@cerupcat if youre using this for macOS, you can use a loopback device. https://github.com/ExistentialAudio/BlackHole

Thanks @cgfarmer4. Looking to use this for iOS though so need a way to pass in an audio buffer.

My fork isn't working on iOS 😞 Trying to understand why - everything appears to work except that there's no actual incoming audio signal, despite gaining mic permission etc.

@aehlke thanks for your work! I'm looking to add live transcriptions to my own iOS app. Are you planning to create a PR into the SwiftWhisper repo? Or will you be keeping it as a separate fork?

I currently don't plan to spend more time packaging it for reuse or submitting a PR, sorry

Hi @aehlke! Thanks for your fork! Are you planning to add some documentation to your fork?

@fakerybakery hi! please consider it unmaintained

+1 Needs this feature also!!

@aehlke looks like the package https://github.com/lake-of-fire/SwiftWhisperStream at main no longer builds anymore :(
Getting errors:
Module 'SwiftWhisperStream' was built with C++ interoperability enabled, but current compilation does not enable C++ interoperability
and
StreamWhisperExample-btstllfcvyxxmygdgzisjguycght/SourcePackages/checkouts/SwiftWhisper/Sources/whisper_cpp/include/common-sdl.h:6:10 'atomic' file not found

It was building for me in my project as of a few weeks ago but I will take another look within a month or two

This is the way ... https://github.com/argmaxinc/WhisperKit

@cgfarmer4 it uses CoreML instead of Metal? Is that actually better now? It used to be much worse

@aehlke it uses GPU + Neural Engine. That is a win that yours supports 13 however this one has a full test suite and the models are further optimized.
https://www.takeargmax.com/blog/whisperkit


Admin Approval Workflow

Is there sample of setting up a workflow that requires a site admin to approve new users? I have a multilingual site that requires users to register to access specific content in certain regions. My intent is to mark those pages and visible to logged in users only in those languages.

Thank you for your contribution here. I just wanted to let you know that we’re looking to improve our management of issues and pull requests, with a goal to providing clear direction on how Symbiote contributes to the open source community. As part of this ongoing effort:

issues and pull requests that have been open prior to December 2017 with no recent activity are being closed

this is included

if you can confirm this remains applicable for SS3.6+ please do open it again

remaining issues and pull requests will be

categorised

on a clear path to resolution (whatever the next step may be).

This ultimately brings us one step closer to our ambition; being able to prioritise current issues and contributions in a timely manner. If you have any questions, please see https://www.symbiote.com.au/contributing for further information.


Coproduct instances expose ordinal

Expose ordinals in CoproductInstances#fold2 for the sake of eg deriving Ord

I find the ordinal based ordering a bit arbitrary ... is that really how it's done in Haskell? Just(1) < Nothing?
Aside from that this all looks great :-)

Yeah, they declare the data constructors in the opposite order so you get the more natural ordering. I've done the same here now