Fix EGL_BAD_MATCH on some devices

Ref: https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/issues/789

Great!. But this is only necessary for eglCreatePbufferSurface so you need control all cases like this:
    int[] attribList;
    if (eglSharedContext == null && surface == null) {
      attribList = new int[]{
          EGL14.EGL_RED_SIZE, 8, EGL14.EGL_GREEN_SIZE, 8, EGL14.EGL_BLUE_SIZE, 8,
          EGL14.EGL_SURFACE_TYPE, EGL14.EGL_PBUFFER_BIT,
          EGL14.EGL_RENDERABLE_TYPE, EGL14.EGL_OPENGL_ES2_BIT,
          /* AA https://stackoverflow.com/questions/27035893/antialiasing-in-opengl-es-2-0 */
          //EGL14.EGL_SAMPLE_BUFFERS, 1 /* true */,
          //EGL14.EGL_SAMPLES, 4, /* increase to more smooth limit of your GPU */
          EGL14.EGL_NONE
      };
    } else if (eglSharedContext == null) {
      attribList = new int[]{
          EGL14.EGL_RED_SIZE, 8, EGL14.EGL_GREEN_SIZE, 8, EGL14.EGL_BLUE_SIZE, 8,
          EGL14.EGL_RENDERABLE_TYPE, EGL14.EGL_OPENGL_ES2_BIT,
          /* AA https://stackoverflow.com/questions/27035893/antialiasing-in-opengl-es-2-0 */
          //EGL14.EGL_SAMPLE_BUFFERS, 1 /* true */,
          //EGL14.EGL_SAMPLES, 4, /* increase to more smooth limit of your GPU */
          EGL14.EGL_NONE
      };
    } else if (surface == null) {
      attribList = new int[]{
          EGL14.EGL_RED_SIZE, 8, EGL14.EGL_GREEN_SIZE, 8, EGL14.EGL_BLUE_SIZE, 8,
          EGL14.EGL_SURFACE_TYPE, EGL14.EGL_PBUFFER_BIT,
          EGL14.EGL_RENDERABLE_TYPE, EGL14.EGL_OPENGL_ES2_BIT,
          /* AA https://stackoverflow.com/questions/27035893/antialiasing-in-opengl-es-2-0 */
          //EGL14.EGL_SAMPLE_BUFFERS, 1 /* true */,
          //EGL14.EGL_SAMPLES, 4, /* increase to more smooth limit of your GPU */
          EGL14.EGL_NONE
      };
    } else {
      attribList = new int[] {
          EGL14.EGL_RED_SIZE, 8, EGL14.EGL_GREEN_SIZE, 8, EGL14.EGL_BLUE_SIZE, 8,
          EGL14.EGL_RENDERABLE_TYPE, EGL14.EGL_OPENGL_ES2_BIT, EGL_RECORDABLE_ANDROID, 1,
          /* AA https://stackoverflow.com/questions/27035893/antialiasing-in-opengl-es-2-0 */
          //EGL14.EGL_SAMPLE_BUFFERS, 1 /* true */,
          //EGL14.EGL_SAMPLES, 4, /* increase to more smooth limit of your GPU */
          EGL14.EGL_NONE
      };
    }

Can you update PR to fix it and confirm that in your device? (You only need check opengl and display examples of my app to confirm that)

Thank you @pedroSG94 , I will checked and update PR again.

@pedroSG94 I've tested. It can work well. Thank you :)


HBASE-22845 Revert MetaTableAccessor#makePutFromTableState access to …

…public
HBCK2 is dependent on it

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
62
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
hbaseanti
0
Patch does not have any anti-patterns.

+1
@author
0
The patch does not contain any @author tags.

-0
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+1
mvninstall
387
master passed

+1
compile
23
master passed

+1
checkstyle
30
master passed

+1
shadedjars
269
branch has no errors when building our shaded downstream artifacts.

+1
javadoc
24
master passed

0
spotbugs
72
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
69
master passed

_ Patch Compile Tests _

+1
mvninstall
294
the patch passed

+1
compile
24
the patch passed

+1
javac
24
the patch passed

+1
checkstyle
28
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedjars
263
patch has no errors when building our shaded downstream artifacts.

+1
hadoopcheck
955
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1
javadoc
21
the patch passed

+1
findbugs
77
the patch passed

_ Other Tests _

+1
unit
108
hbase-client in the patch passed.

+1
asflicense
11
The patch does not generate ASF License warnings.

3044

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-489/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/489

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux cb8f6c7cb6e6 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-489/out/precommit/personality/provided.sh

git revision
master / 8c1edb3bba

Default Java
1.8.0_181

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-489/1/testReport/

Max. process+thread count
291 (vs. ulimit of 10000)

modules
C: hbase-client U: hbase-client

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-489/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.


Using DataModule cause memory leak

🐛 Bug

Please reproduce using the BoringModel

https://colab.research.google.com/drive/13Z5xjfsBAQgwFdnwyiess_CelfLmIGPs?usp=sharing
Expected behavior
No tensor should be allocated outside trainer.fit and trainer.test, as to be able to train models sequentially with the same subprocess.
Actual behavior
If many models are trained sequentially and they all use a datamodule, it will crash because of a memory leak.
Also: the bug persists if (train, val test) Datasets are instantiated in the setup() method of the DataModule.

Environment
You can get the script and run it with:
`* CUDA:
- GPU:
- Tesla T4
- available:         True
- version:           10.1

Packages:

numpy:             1.19.4
pyTorch_debug:     True
pyTorch_version:   1.7.0+cu101
pytorch-lightning: 1.1.2
tqdm:              4.41.1

System:

OS:                Linux
architecture:

64bit

processor:         x86_64
python:            3.6.9
version:           #1 SMP Thu Jul 23 08:00:38 PDT 2020

It's hogwash, I'll ask help in Slack

It's hogwash, I'll ask help in Slack


[HUDI-5630] Fixing flaky parquet projection tests

Change Logs
Fixing flaky parquet projection tests. Added 10% margin for expected bytes from col projection.
Impact
Stable CI
Risk level (write none, low medium or high below)
none
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

Failed due to a flaky deltastreamer test. going ahead to unblock other blocker patches


Bump gevent due to vulnerability

https://security.snyk.io/vuln/SNYK-PYTHON-GEVENT-5906371

looks like py3.7 build is failing because gevent==23.9.0 Requires-Python >=3.8..

retired python 3.7 support (Baseplate min python is also 3.8)


Build failure if PREREQS_ROOT contains multiple paths

During the STF build (make configure) prereqs (e.g. junit, asm, windows-sysinternals) are installed to the PREREQS_ROOT make macro location.  This is then passed as a command line argument into stf itself which it uses to add the correct classpath values to the various test command lines.
STF supports multiple paths (separated by the ; path separator on all platforms), which allows for prereqs used only by one or two tests (e.g. the JCK) to be placed in a different directory to those installed by the STF make configure build step.
However, when multiple paths are specified in this way the make build step fails because the prereq validation treats the multiple paths as a single path.  The build outputs error messages similar to:
print-log4j-2.13.3-error:
     [echo] ERROR: Cannot find log4j-api-2.13.3 at C:\systemtest_prereqs;c:\jck\log4j-2.13.3\log4j-api-2.13.3.jar and / or log4j-core-2.13.3 at C:\systemtest_prereqs;c:\jck\log4j-2.13.3\log4j-core-2.13.3.jar

Note in this case the extra c:\jck which was added to the build PREREQS_ROOT macro.
Since the STF make configure step checks that only a single PREREQS_ROOT path has been specified (if not the build fails with makefile:173: *** ERROR: Only one PREREQS_ROOT directory can be specified for make configure.  Stop.) then a fix would be to assume that the make configure prereqs have been installed to the first path in PREREQS_ROOT and use that for validating that those prereqs exist.

PRs to fix:
stf - https://github.com/AdoptOpenJDK/stf/pull/88
openjdk-systemtest - https://github.com/AdoptOpenJDK/openjdk-systemtest/pull/371

@lumpfish - Could we please run some grinders to ensure the changes made in the above 2 PRs would not break the TKG way of running STF based tests?

There are already links to test runs in the PRs
stf - #88
openjdk-systemtest - AdoptOpenJDK/openjdk-systemtest#371
The tests were run with the changes from both PRs


No method in multimethod 'connection-details->spec' for dispatch value: :databend

databend：v1.2.487
metabase-databend-driver: v0.0.7
metabase：v0.49.11

@smartguo Thanks for your reporting. I tested with metabase v0.49.11 and reproduce this error. But I downgrade it to v0.47.8 , it works well.

So I think it maybe a bug or some thing break change in the new version of metabase and I make an issue about this in metabase, I will update here when v0.49.11 can be used OR you can use v0.47.8 instead.

@smartguo Hi bro, now you can use metabase v0.0.8 on v0.49.x metabase.

@smartguo Hi bro, now you can use metabase v0.0.8 on v0.49.x metabase.

It just works!


Update splunk_risky_commands file

Update splunk_risky_commands file.
Remove unused Other Metadata Column and associated
empty rows.  Remap YML file to point to new one.
Fix quoting issue leading to poorly formatted
line 16.

@pyth0n1c : Look like we need to update the detection search itself, also, this PR should be on Gitlab :)

I am closing this as these updates will be applied in a different channel.


Improvements to externalsampler

Currently there's no way of choosing an ad backend for externalsampler, nor to specify whether it requires constrained or unconstrained parameters. This PR adds those options.
In addition, the PR adds a default_adtype method to be more consistent across the codebase.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 23 (0.0%)  changed or added relevant lines in 5 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage remained the same at 0.0%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Turing.jl
0
1
0.0%

src/deprecated.jl
0
2
0.0%

src/mcmc/hmc.jl
0
2
0.0%

src/mcmc/Inference.jl
0
7
0.0%

src/mcmc/abstractmcmc.jl
0
11
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/mcmc/abstractmcmc.jl
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
0

Relevant Lines:
1379

💛  - Coveralls

You happy with the current version @devmotion ?

I'll add one final thing to this PR: fix issues with initial params when working with unconstrained models.

Added initial params handling + testing. Should pass as usual, at which point we can merge:)

Actually, nvm, this is not breaking :facepalm: Will check that tests run after merge with master, and then will merge (unless there are objections)

Accepted your changes @devmotion ; thanks!

I assume the errors are unrelated to this PR and caused by the latest release of AliasTables: https://github.com/LilithHafner/AliasTables.jl/issues/48

Should be fixed by AliasTables 1.1.1.


Cannot import react table css and cannot override default classes styles?

can't figure out why adding import 'react-table/react-table.css' below import ReactTable from 'react-table'; doesn't add style on react-table and feels like no css is imported? I have to resort on importing CDN on index.html <link rel="stylesheet"<EMAIL_ADDRESS>but my problem is, I cannot override css of the default classes? how can I override css of default classes and import react-table/react-table.css? why is it not working and affecting table?

Since this is a question of implementation we invite you to continue the conversation in the react tools slack organization. Thanks! https://react-chat-signup.herokuapp.com/

Did you ever figure out how to get this to work? I've been struggling with the same thing and can't seem to figure out how to config webpack to get around the issue

If you are using webpack. it is likely you are excluding to parse 'node_modules' files. Since the style sheet is in

node_modules/react-table/react-table.css

You would need to change webpack config or just copy and paste the file into your style project folder.

src/styles/react-table.css

@technificentConsulting Same issue 😞

@AleksandarAleksandrov  I actually figured it out!  https://stackoverflow.com/questions/51503415/react-table-css-not-loading-is-webpack-the-issue/51617858#51617858


Init command is slow to render first interactive selection

 Issue by schickling
Monday Sep 11, 2017 at 14:16 GMT
Originally opened as https://github.com/graphcool/cli/issues/192

When running graphcool init it takes several seconds until the interactive selection appears. Is there some code that could be executed asynchronously to speed this up?

 Comment by kbrandwijk
Monday Sep 11, 2017 at 16:26 GMT

The slowest part seems to be const anyjson = require("any-json"); in yaml.js. No idea why...

 Comment by schickling
Monday Sep 11, 2017 at 17:58 GMT

We should probably replace it by another package then. @timsuchanek any ideas?

 Comment by kbrandwijk
Monday Sep 11, 2017 at 18:36 GMT

Please have a good look at http://opentracing.io/. It gives you wonderful insights.

 Comment by timsuchanek
Tuesday Sep 12, 2017 at 08:24 GMT

Open tracing looks good! I first need to deeper analyze which parts are taking a lot of time, partly there is also a simple plugin cache that I currently disabled, which will make it already ~1s faster.
Then we definitely should look for alternatives

It's faster by ~500ms, so I'm closing this.


Background image position not proper when being compiled for first time

Just as the title says, the background image isn't in the correct position if I compile only once. The layout would be well if I compile again.

Although I can get the correct output by compiling again, but it feels somewhat ... uncomfortable.
OS: macOS 10.13
XeTeX, Version 3.14159265-2.6-0.99999 (TeX Live 2018)
easy_slides version v1.2 (latest version).

You can reproduce it by compiling the demo inside the easy_slides template.

That's a known issue, and I think it's a feature of TeX.
The position background figure is decided by .aux file, which requires at least two-pass compile.


Destroying the viewer when 3D tileset is being loaded results in error

Simply call viewer.destroy() soon (directly or after a short timeout) after viewer.scene.primitives.add(Cesium.createOsmBuildings()), and check the console.
I encountered this problem because I'm using React and it can automatically unmount and remount every component to prepare apps for a future feature.
Not a big problem it seems, but a bug anyway.
Sandcastle example: https://sandcastle.cesium.com/#c=bY89T8QwDIb/StQplU4JzLQV4lakG0BMXXKJAYt8VLHTU0H8d5q7GxA0S+Q3z2PHNkViMSOcIIteRDiJPRCWoF7OmRwbe673KbLBCHls2rsxXgxFFiKoKWNAxhlIGefktYHNYBgOFB4KeofxjWRbVa2v85QD4pwWWVMCfsYAqbCUregH8TVGsQV+78RNvZtd0xEvHoYK1nOPYUqZRcleKqUZwuTXH5A+FvsBrCxRFSva6d9q53AW6PqNXYX1hmh9eS3eP+EnjM3Q6ZX/p/pk6pKHGbI3S8Xeb4fHS6iU6vRabpuckj+a/KfzDw
Browser: Edge 101.0.1210.39 & Firefox 100.0
Operating System: Windows 10 21H2

@SentretC I believe this is being fixed as part of https://github.com/CesiumGS/cesium/pull/10361. @ggetz can you confirm?

Yes, in https://github.com/CesiumGS/cesium/pull/10361 there is no error in the console.


Search and navigate directly to Skill does not support Skills defined as part of a Skill Group

Skills defined as part of a Skill Group are not discoverable in the Search and navigate directly to a skill search box

looks like Group's skills cannot participate in the dependencies since that logic uses the same service call

PR: https://github.com/NationalSecurityAgency/skills-service/pull/958

:+1:


Support for circuit.layout in the drawers (all of them)

Fixes #2739
This PR adds layout support for all the drawers, with the option with_layout=bool.
from qiskit import QuantumRegister, QuantumCircuit
from qiskit.transpiler import Layout
qr = QuantumRegister(4, 'qr')
circuit = QuantumCircuit(qr)
circuit.layout = Layout({qr[0]: 0, qr[1]: 2, qr[2]: 1, qr[3]: 4})
circuit.h(qr)
circuit.draw(output='...', with_layout=True)

It looks like this,
Text:
           ┌───┐
(qr0) q0|0>┤ H ├
           ├───┤
(qr1) q2|0>┤ H ├
           ├───┤
(qr2) q1|0>┤ H ├
           ├───┤
(qr3) q4|0>┤ H ├
           └───┘

MPL (there is (q in front, but #2779, #2605):

LaTeX (there is (q in front, but #2780):

I'll add test for mpl and latex once #2614 gets merged.

If you're moving circuit.layout to circuit._layout here you should also update https://github.com/Qiskit/qiskit-terra/blob/master/qiskit/visualization/gate_map.py#L222 too. Although, I think it would probably be better to do the layout attribute name change in a separate standalone PR.

Moved out to the PR #2928

This is blocked until #2928 gets merged.

#2928 got merged. Removing on hold.

Oh also, can you update the images in the PR summary since all the bugs are marked as fixed. It'd be good to see the full output there prior to merging.

Sure!
MPL

Latex

It seems that LaTeX is still broken because the just consider the register name in the calculation. It can be fixed in a follow up.

@mtreinish is this ready?


Comment block resizing doesn't match the text size.

It seems like something in the comment resizing logic is underestimating text width.  Space characters seem to play a big part.

I'm having trouble reproducing this. What browser are you using?

I'm look at this in Chrome on Windows at the moment.  I'll try a few more options when I get to the office later.

Okay, it has something to do with zoom.  I can only reproduce when zooming.  The problem goes away when the zoom level is exactly the default.

Not reproducible on Linux, in either Chrome or Firefox.  I don't think this is a big deal.


Resolve merge conflict in .gitattributes

Looks like we checked-in a merge conflict in the .gitattributes file,
which is used by git lfs. It manifested when I pulled master,
and my git client threw a fit about the motor test fixture files.

Diff shows a delta on the models. They're unchanged; they're transitioned to LFS now.


Adding the package results in an error. No compatible binary build found for this package

Hey! Really excited that stream now has a meteor package as well.
I can't add the package though. Whenever I try to I get this message:
While checking for<EMAIL_ADDRESS>error: No compatible binary build found for this package. Contact the package author and ask them to publish it for your platform.
Hope someone can help out :)

Hi @novamul what platform (linux?) are you trying to install stream-meteor on?

HI. I'm on Windows.

@novamul ok i investigated and it seems the binary dependencies aren't build correctly on the Windows platform. I will need some more time to find out if there is a solution to this problem.

Ok, too bad. Thanks for your quick responses and effort. I hope it can be fixed.

Hi @matthisk. This is currently a blocking issue for us. Is there anything we can do to help? I searched around but cannot find the source code of getstream:bin-deps.

@lewtds try running meteor publish-for-arch<EMAIL_ADDRESS>on a Windows machine, I have tried this but it results in an error message. Unfortunately I haven't gotten around to debugging this error message. The gestream:bin-deps project is currently not on github I will try to create a repo for it so we can fix this issue.

Looks like node-fibers failed to build because most Windows machines don't come with VC++ and Python (and somehow the prebuilt binary is not used). Do we really need that package? I thought Meteor is already running on fibers?

We managed to remove the bin-deps dependency and make it work by just Npm.require-ing fibers/future and getstream directly from this package (Meteor comes bundled with fibers already). Will try to upstream the changes ASAP.

That wouldn't change the issue though would it? You still need to build the 'fibers' npm package for all target machines (i.e. linux/osx/windows). You can not use the fibers bundled with Meteor as far as I know? If you want to use fibers/futures you have to retrieve them from npm. I separated the npm dependencies into a different meteor package to avoid having to rebuild for every target architecture when I update stream-meteor.

Hi @matthisk I just bumped into this problem when I was porting an app to Meteor Galaxy hosting ( running Ubuntu 14.04). Don't suppose you've had the chance to look more into it? I'm getting a slightly different error when I build:
=> Errors while initializing project:
While checking for<EMAIL_ADDRESS>error: No compatible binary build found for this package. Contact the package
author and ask them to publish it for your platform.
Thanks!

Hi @kantle and @matthisk - I've encountered this one myself.
Take a look at this:
http://docs.meteor.com/#/full/meteorpublishforarch
Meteor packages must be published for each platform you want to run them on:
"Currently, the supported architectures for Meteor are 32-bit Linux, 64-bit Linux and Mac OS. Galaxy's servers run 64-bit Linux."

Hi @ErikAugust - that's interesting. I've been running the app successfully on Digital Ocean, which is also running Ubuntu 14.04 x64. Shouldn't the package also fail on DO if it didn't support 64 bit?

Hi guys maybe I did something wrong on the latest release (you have to do "publish for arch" for every release), I will make sure it is published for all architectures.

Btw Windows built is still broken (@erik are you on Windows or OS X?), I can not get the package to build on windows and the Meteor support is also of no assistence

Thanks for taking a look @matthisk - just for more info I'm on OSX.
I was able to deploy to Digital Ocean using MUP without a problem.
I tried removing the GetStream package and was able to deploy to Galaxy as well - so there is something   about the deploy process to Galaxy that is not interacting well with this version of the package.

@matthisk - Thanks, I'm on OS X like @kantle.
I have forked this library and have it installed locally - and will be taking a look at a solution this weekend.
Thanks again!

@matthisk @ErikAugust I downgraded this package to version 0.3.7 and was able to build and deploy just fine to Galaxy, so I think it has something to do with how version 0.4.0 was published.

@kantle @ErikAugust I just build the package for linxu (x86 and x64) so everything should work as expected. Please let me know if you are still experiencing any issues.

@matthisk Awesome. Thanks!

Awesome - just upgraded back to 0.4.0 and deployed no problem.
Thanks @matthisk!

Hey Guys! Read through the above thread. Did a Windows fix ever get implemented? Hitting the "No compatible binary build found for this package."

@matthisk do we have an update on this?

No currently we do not have a solution for this. Support from Meteor publishforarc on Windows doesn't seem to be in great shape. I am unable to use their architecture to publish the package. I tried running the build on a VM windows machine without success. I will give their build farm a try again right now, maybe they have applied some fixes to their architecture.

@matthisk Appreciate the update and your time!

getting the same problem. any more update?

Any updates? we are still not able to run it on windows

Any updates on this?

is there any similar package for meteor?


Handy tool!

Thanks for open sourcing osmf, I played around with it using South Holland pbf from Geofabrik and it worked well for me.
Do I understand correctly that you are not planning to extend it any further (text from release notes).

Thanks for the feedback, I'm glad you find it useful! I had just written it, because I found the search of https://www.openstreetmap.org a bit lacking but also didn't want these "big" SQL queries by hand. osmf allows me to search for things by their tags and I haven't encountered the need for more features yet.
I'm a fan of the UNIX philosophy ("do one thing and do it well"), so I'll probably deny feature requests, where I feel like they were better suited for a separate tool, but if you find yourself desiring a new feature, feel free to let me know and I'll consider it.

One extension I made locally (not good enough for sharing yet) is enabling passing db user and password to the osm database.


Widget position wrong when page is scrolled

Describe the bug
The widget positioning is bugged if the page is scrolled.
To Reproduce
https://codepen.io/munzir/pen/MWENRzW
Expected behavior
It should stick to the caret positioning regardless if page is scrolled or not
Screenshots

@munettt
I checked issue. It will be fixed.
Thanks!

@munettt
Thanks for long wating.
The bug has been fixed in v3.1.3(#2271)


Modified sfu-minimal to work with heterogeneous clients

Description
The original code only worked with Chrome as sender and receiver. This
change permits the sender and receivers to all be different types of
clients, such as Chrome, Safari, and Firefox.

Changed local track so it always gets VP8 from remote client using
their dynamic payload type instead of assuming 96, enabling interop
with Safari and recent Firefox.

Changed remote tracks so they also negotiate the correct VP8 payload
type.

Added MediaEngine.GetCodecsByName() to assist the above.

Changed RTPSender so it writes its MediaEngine's VP8 payload type
into the RTP header, rather than using the sender's VP8 payload type
when the packets are written to the remote track.

Compatibility
This change to RTPSender will affect all code that
currently uses RTPSender.sendRTP(). That method has not written into
the RTP header until now.

Codecov Report

Merging #782 into master will decrease coverage by 66.51%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #782       +/-   ##
==========================================
- Coverage   75.72%   9.21%   -66.52%
==========================================
  Files          59      59
  Lines        4186    4200       +14
==========================================
- Hits         3170     387     -2783
- Misses        744    3766     +3022
+ Partials      272      47      -225

Impacted Files
Coverage Δ

mediaengine.go
0% <0%> (-73%)
:arrow_down:

rtpsender.go
0% <0%> (-64.29%)
:arrow_down:

dtlsrole.go
0% <0%> (-100%)
:arrow_down:

icetransportstate.go
0% <0%> (-100%)
:arrow_down:

configuration_common.go
0% <0%> (-100%)
:arrow_down:

bundlepolicy.go
0% <0%> (-100%)
:arrow_down:

iceconnectionstate.go
0% <0%> (-100%)
:arrow_down:

api.go
0% <0%> (-100%)
:arrow_down:

icegatheringstate.go
0% <0%> (-100%)
:arrow_down:

rtptransceiverdirection.go
0% <0%> (-100%)
:arrow_down:

... and 42 more

Continue to review full report at Codecov.

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

My vote is to make this explicit @fivebats. I think having the RTPSender modify packets is a good temporary fix to the issue!
I doubt this behavior change will effect anyone, but I am worried that people will depend on the behavior. What do you think of people explicitly calling RewritePayloadType or something like that?

Sorry this took so long to respond! I prototyped a few things locally and played with it.

What do you think of people explicitly calling RewritePayloadType or something like that?

I think you as benevolent dictator of the API should probably decide that. The W3C APIs for RTCRtpSender does have a setParameters method that takes a dictionary, so that may be a more standards-aligned way of setting up the RTPSender.
And this code is temporary, I hope, because Tracks should not have codecs or payload types - they are too high of a layer for that. As I said before I think there needs to be some better codec interface in MediaStream, and that MediaStream, maybe through the transceiver, should set the parameters on the senders.
I also just found a bug in this code: It will not properly choose the payload type (identify the proper Codec) if the media is not using the preferred encoding for its type. This could come up with codecs like H264 where perhaps the answerer had to choose the sender's second choice of profile/level. The current code just assumes the preferred one is chosen. This should be an easy fix.

This has been idle almost a month now, so I am closing it.

Shit, sorry @fivebats
I spent some time with this, and here were my thoughts.

We should rework all the media APIs. Everything should be driven via AddTransceiver. AddTrack is deprecated, but you can't really remove things on the web (but we can)

AddTransceiver should always accept a MediaStreamTrack. On the MediaStreamTrack you set the codec, and that is it. During SetRemoteDescription we should validate if the remote supports the codecs we wish to use.

We should handle/rewrite PayloadTypes completely. We have to copy anyway for encryption, so why not.

Sorry I haven't been more hands on. Since this is a bigger more ambiguous task it is hard to get time for it. I really think it is important/I would love your involvement with the project. I just can't be as hands on (but in the same vein if you have anything you want to do you have sign-off quicker) I trust you to make the right decision
thanks


Unable to build from Git

Installed Python 3.13 via deadsnakes/ppa, then used venv to get a matching pip. Checked the develop branch via Git. Within the venv, running pip install -r requirements-dev.txt yielded the following output:
Ignoring orderedset: markers 'os_name != "nt" and sys_platform != "darwin" and python_version < "3.7"' don't match your environment
Ignoring orderedset: markers 'os_name == "nt" and python_version >= "3.6" and python_version < "3.7"' don't match your environment
Ignoring orderedset: markers 'sys_platform == "darwin" and python_version < "3.7"' don't match your environment
Ignoring subprocess32: markers 'python_version == "2.7"' don't match your environment
Ignoring Jinja2: markers 'python_version == "2.7"' don't match your environment
Ignoring virtualenv: markers 'python_version == "2.7"' don't match your environment
Ignoring pyyaml: markers 'python_version == "3.5"' don't match your environment
Ignoring pyyaml: markers 'python_version == "2.7"' don't match your environment
Ignoring pip: markers 'python_version == "2.7"' don't match your environment
Collecting ordered-set==4.1.0 (from -r requirements-devel.txt (line 3))
  Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB)
Collecting pylint==3.0.3 (from -r requirements-devel.txt (line 12))
  Using cached pylint-3.0.3-py3-none-any.whl.metadata (12 kB)
Collecting astroid==3.0.2 (from -r requirements-devel.txt (line 13))
  Using cached astroid-3.0.2-py3-none-any.whl.metadata (4.5 kB)
Collecting restructuredtext-lint==1.4.0 (from -r requirements-devel.txt (line 16))
  Using cached restructuredtext_lint-1.4.0-py3-none-any.whl
Collecting Pygments==2.15.1 (from -r requirements-devel.txt (line 17))
  Using cached Pygments-2.15.1-py3-none-any.whl.metadata (2.5 kB)
Collecting rstcheck==6.2.0 (from -r requirements-devel.txt (line 18))
  Using cached rstcheck-6.2.0-py3-none-any.whl.metadata (9.5 kB)
Collecting black==24.4.0 (from -r requirements-devel.txt (line 21))
  Using cached black-24.4.0-py3-none-any.whl.metadata (76 kB)
Collecting toml>=0.10.1 (from -r requirements-devel.txt (line 22))
  Using cached toml-0.10.2-py2.py3-none-any.whl.metadata (7.1 kB)
Collecting isort==5.13.2 (from -r requirements-devel.txt (line 23))
  Using cached isort-5.13.2-py3-none-any.whl.metadata (12 kB)
Collecting yamllint==1.28.0 (from -r requirements-devel.txt (line 24))
  Using cached yamllint-1.28.0-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting rstfmt==0.0.14 (from -r requirements-devel.txt (line 25))
  Using cached rstfmt-0.0.14-py3-none-any.whl.metadata (4.1 kB)
Collecting jsonschema==4.6.0 (from -r requirements-devel.txt (line 26))
  Using cached jsonschema-4.6.0-py3-none-any.whl.metadata (7.9 kB)
Collecting ruamel.yaml==0.17.21 (from -r requirements-devel.txt (line 27))
  Using cached ruamel.yaml-0.17.21-py3-none-any.whl.metadata (13 kB)
Collecting deepdiff==5.8.1 (from -r requirements-devel.txt (line 28))
  Using cached deepdiff-5.8.1-py3-none-any.whl.metadata (16 kB)
Collecting mdformat==0.7.16 (from -r requirements-devel.txt (line 29))
  Using cached mdformat-0.7.16-py3-none-any.whl.metadata (8.8 kB)
Collecting mdformat-gfm==0.3.5 (from -r requirements-devel.txt (line 30))
  Using cached mdformat_gfm-0.3.5-py3-none-any.whl.metadata (2.3 kB)
Collecting mdformat-frontmatter==2.0.1 (from -r requirements-devel.txt (line 31))
  Using cached mdformat_frontmatter-2.0.1-py3-none-any.whl.metadata (3.4 kB)
Collecting mdformat-footnote==0.1.1 (from -r requirements-devel.txt (line 32))
  Using cached mdformat_footnote-0.1.1-py3-none-any.whl.metadata (2.5 kB)
Collecting codespell (from -r requirements-devel.txt (line 35))
  Using cached codespell-2.3.0-py3-none-any.whl.metadata (15 kB)
Collecting doxypypy==<IP_ADDRESS> (from -r requirements-devel.txt (line 38))
  Using cached doxypypy-<IP_ADDRESS>-py3-none-any.whl
Collecting Jinja2==3.1.3 (from -r requirements-devel.txt (line 42))
  Using cached Jinja2-3.1.3-py3-none-any.whl.metadata (3.3 kB)
Collecting tqdm==4.64.1 (from -r requirements-devel.txt (line 45))
  Using cached tqdm-4.64.1-py2.py3-none-any.whl.metadata (57 kB)
Collecting virtualenv (from -r requirements-devel.txt (line 50))
  Using cached virtualenv-20.26.2-py3-none-any.whl.metadata (4.4 kB)
Collecting pytest (from -r requirements-devel.txt (line 53))
  Using cached pytest-8.2.2-py3-none-any.whl.metadata (7.6 kB)
Requirement already satisfied: zstandard>=0.15 in ./venv_cpython/lib/python3.13/site-packages (from -r requirements-devel.txt (line 56)) (0.23.0.dev0)
Collecting pyyaml==6.0.1 (from -r requirements-devel.txt (line 59))
  Using cached PyYAML-6.0.1-cp313-cp313-linux_x86_64.whl
Collecting wheel (from -r requirements-devel.txt (line 65))
  Using cached wheel-0.43.0-py3-none-any.whl.metadata (2.2 kB)
Collecting platformdirs>=2.2.0 (from pylint==3.0.3->-r requirements-devel.txt (line 12))
  Using cached platformdirs-4.2.2-py3-none-any.whl.metadata (11 kB)
Collecting mccabe<0.8,>=0.6 (from pylint==3.0.3->-r requirements-devel.txt (line 12))
  Using cached mccabe-0.7.0-py2.py3-none-any.whl.metadata (5.0 kB)
Collecting tomlkit>=0.10.1 (from pylint==3.0.3->-r requirements-devel.txt (line 12))
  Using cached tomlkit-0.12.5-py3-none-any.whl.metadata (2.7 kB)
Collecting dill>=0.3.6 (from pylint==3.0.3->-r requirements-devel.txt (line 12))
  Using cached dill-0.3.8-py3-none-any.whl.metadata (10 kB)
Collecting docutils<1.0,>=0.11 (from restructuredtext-lint==1.4.0->-r requirements-devel.txt (line 16))
  Using cached docutils-0.21.2-py3-none-any.whl.metadata (2.8 kB)
Collecting rstcheck-core>=1.1 (from rstcheck==6.2.0->-r requirements-devel.txt (line 18))
  Using cached rstcheck_core-1.2.1-py3-none-any.whl.metadata (9.3 kB)
Collecting typer>=0.4.1 (from typer[all]>=0.4.1->rstcheck==6.2.0->-r requirements-devel.txt (line 18))
  Using cached typer-0.12.3-py3-none-any.whl.metadata (15 kB)
Collecting click>=8.0.0 (from black==24.4.0->-r requirements-devel.txt (line 21))
  Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting mypy-extensions>=0.4.3 (from black==24.4.0->-r requirements-devel.txt (line 21))
  Using cached mypy_extensions-1.0.0-py3-none-any.whl.metadata (1.1 kB)
Collecting packaging>=22.0 (from black==24.4.0->-r requirements-devel.txt (line 21))
  Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Collecting pathspec>=0.9.0 (from black==24.4.0->-r requirements-devel.txt (line 21))
  Using cached pathspec-0.12.1-py3-none-any.whl.metadata (21 kB)
Collecting setuptools (from yamllint==1.28.0->-r requirements-devel.txt (line 24))
  Using cached setuptools-70.0.0-py3-none-any.whl.metadata (5.9 kB)
Collecting sphinx>=2.4.0 (from rstfmt==0.0.14->-r requirements-devel.txt (line 25))
  Using cached sphinx-7.3.7-py3-none-any.whl.metadata (6.0 kB)
Collecting attrs>=17.4.0 (from jsonschema==4.6.0->-r requirements-devel.txt (line 26))
  Using cached attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 (from jsonschema==4.6.0->-r requirements-devel.txt (line 26))
  Using cached pyrsistent-0.20.0-py3-none-any.whl.metadata (27 kB)
Collecting markdown-it-py<3.0.0,>=1.0.0 (from mdformat==0.7.16->-r requirements-devel.txt (line 29))
  Using cached markdown_it_py-2.2.0-py3-none-any.whl.metadata (6.8 kB)
Collecting mdformat-tables>=0.4.0 (from mdformat-gfm==0.3.5->-r requirements-devel.txt (line 30))
  Using cached mdformat_tables-0.4.1-py3-none-any.whl.metadata (2.6 kB)
Collecting mdit-py-plugins<0.4.0,>=0.2.0 (from mdformat-gfm==0.3.5->-r requirements-devel.txt (line 30))
  Using cached mdit_py_plugins-0.3.5-py3-none-any.whl.metadata (2.8 kB)
Collecting MarkupSafe>=2.0 (from Jinja2==3.1.3->-r requirements-devel.txt (line 42))
  Using cached MarkupSafe-2.1.5-cp313-cp313-linux_x86_64.whl
Collecting distlib<1,>=0.3.7 (from virtualenv->-r requirements-devel.txt (line 50))
  Using cached distlib-0.3.8-py2.py3-none-any.whl.metadata (5.1 kB)
Collecting filelock<4,>=3.12.2 (from virtualenv->-r requirements-devel.txt (line 50))
  Using cached filelock-3.15.1-py3-none-any.whl.metadata (2.8 kB)
Collecting iniconfig (from pytest->-r requirements-devel.txt (line 53))
  Using cached iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB)
Collecting pluggy<2.0,>=1.5 (from pytest->-r requirements-devel.txt (line 53))
  Using cached pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting mdurl~=0.1 (from markdown-it-py<3.0.0,>=1.0.0->mdformat==0.7.16->-r requirements-devel.txt (line 29))
  Using cached mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
Collecting pydantic>=2 (from rstcheck-core>=1.1->rstcheck==6.2.0->-r requirements-devel.txt (line 18))
  Using cached pydantic-2.7.4-py3-none-any.whl.metadata (109 kB)
Collecting sphinxcontrib-applehelp (from sphinx>=2.4.0->rstfmt==0.0.14->-r requirements-devel.txt (line 25))
  Using cached sphinxcontrib_applehelp-1.0.8-py3-none-any.whl.metadata (2.3 kB)
Collecting sphinxcontrib-devhelp (from sphinx>=2.4.0->rstfmt==0.0.14->-r requirements-devel.txt (line 25))
  Using cached sphinxcontrib_devhelp-1.0.6-py3-none-any.whl.metadata (2.3 kB)
Collecting sphinxcontrib-jsmath (from sphinx>=2.4.0->rstfmt==0.0.14->-r requirements-devel.txt (line 25))
  Using cached sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting sphinxcontrib-htmlhelp>=2.0.0 (from sphinx>=2.4.0->rstfmt==0.0.14->-r requirements-devel.txt (line 25))
  Using cached sphinxcontrib_htmlhelp-2.0.5-py3-none-any.whl.metadata (2.3 kB)
Collecting sphinxcontrib-serializinghtml>=1.1.9 (from sphinx>=2.4.0->rstfmt==0.0.14->-r requirements-devel.txt (line 25))
  Using cached sphinxcontrib_serializinghtml-1.1.10-py3-none-any.whl.metadata (2.4 kB)
Collecting sphinxcontrib-qthelp (from sphinx>=2.4.0->rstfmt==0.0.14->-r requirements-devel.txt (line 25))
  Using cached sphinxcontrib_qthelp-1.0.7-py3-none-any.whl.metadata (2.2 kB)
Collecting snowballstemmer>=2.0 (from sphinx>=2.4.0->rstfmt==0.0.14->-r requirements-devel.txt (line 25))
  Using cached snowballstemmer-2.2.0-py2.py3-none-any.whl.metadata (6.5 kB)
Collecting babel>=2.9 (from sphinx>=2.4.0->rstfmt==0.0.14->-r requirements-devel.txt (line 25))
  Using cached Babel-2.15.0-py3-none-any.whl.metadata (1.5 kB)
Collecting alabaster~=0.7.14 (from sphinx>=2.4.0->rstfmt==0.0.14->-r requirements-devel.txt (line 25))
  Using cached alabaster-0.7.16-py3-none-any.whl.metadata (2.9 kB)
Collecting imagesize>=1.3 (from sphinx>=2.4.0->rstfmt==0.0.14->-r requirements-devel.txt (line 25))
  Using cached imagesize-1.4.1-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting requests>=2.25.0 (from sphinx>=2.4.0->rstfmt==0.0.14->-r requirements-devel.txt (line 25))
  Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting typing-extensions>=<IP_ADDRESS> (from typer>=0.4.1->typer[all]>=0.4.1->rstcheck==6.2.0->-r requirements-devel.txt (line 18))
  Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting shellingham>=1.3.0 (from typer>=0.4.1->typer[all]>=0.4.1->rstcheck==6.2.0->-r requirements-devel.txt (line 18))
  Using cached shellingham-1.5.4-py2.py3-none-any.whl.metadata (3.5 kB)
Collecting rich>=10.11.0 (from typer>=0.4.1->typer[all]>=0.4.1->rstcheck==6.2.0->-r requirements-devel.txt (line 18))
  Using cached rich-13.7.1-py3-none-any.whl.metadata (18 kB)
WARNING: typer 0.12.3 does not provide the extra 'all'
Collecting linkify-it-py<3,>=1 (from markdown-it-py[linkify]->mdformat-gfm==0.3.5->-r requirements-devel.txt (line 30))
  Using cached linkify_it_py-2.0.3-py3-none-any.whl.metadata (8.5 kB)
Collecting uc-micro-py (from linkify-it-py<3,>=1->markdown-it-py[linkify]->mdformat-gfm==0.3.5->-r requirements-devel.txt (line 30))
  Using cached uc_micro_py-1.0.3-py3-none-any.whl.metadata (2.0 kB)
Collecting annotated-types>=0.4.0 (from pydantic>=2->rstcheck-core>=1.1->rstcheck==6.2.0->-r requirements-devel.txt (line 18))
  Using cached annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)
Collecting pydantic-core==2.18.4 (from pydantic>=2->rstcheck-core>=1.1->rstcheck==6.2.0->-r requirements-devel.txt (line 18))
  Using cached pydantic_core-2.18.4.tar.gz (385 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting charset-normalizer<4,>=2 (from requests>=2.25.0->sphinx>=2.4.0->rstfmt==0.0.14->-r requirements-devel.txt (line 25))
  Using cached charset_normalizer-3.3.2-py3-none-any.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests>=2.25.0->sphinx>=2.4.0->rstfmt==0.0.14->-r requirements-devel.txt (line 25))
  Using cached idna-3.7-py3-none-any.whl.metadata (9.9 kB)
Collecting urllib3<3,>=1.21.1 (from requests>=2.25.0->sphinx>=2.4.0->rstfmt==0.0.14->-r requirements-devel.txt (line 25))
  Using cached urllib3-2.2.1-py3-none-any.whl.metadata (6.4 kB)
Collecting certifi>=2017.4.17 (from requests>=2.25.0->sphinx>=2.4.0->rstfmt==0.0.14->-r requirements-devel.txt (line 25))
  Using cached certifi-2024.6.2-py3-none-any.whl.metadata (2.2 kB)
Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB)
Using cached pylint-3.0.3-py3-none-any.whl (510 kB)
Using cached astroid-3.0.2-py3-none-any.whl (275 kB)
Using cached Pygments-2.15.1-py3-none-any.whl (1.1 MB)
Using cached rstcheck-6.2.0-py3-none-any.whl (8.3 kB)
Using cached black-24.4.0-py3-none-any.whl (201 kB)
Using cached isort-5.13.2-py3-none-any.whl (92 kB)
Using cached yamllint-1.28.0-py2.py3-none-any.whl (62 kB)
Using cached rstfmt-0.0.14-py3-none-any.whl (17 kB)
Using cached jsonschema-4.6.0-py3-none-any.whl (80 kB)
Using cached ruamel.yaml-0.17.21-py3-none-any.whl (109 kB)
Using cached deepdiff-5.8.1-py3-none-any.whl (69 kB)
Using cached mdformat-0.7.16-py3-none-any.whl (29 kB)
Using cached mdformat_gfm-0.3.5-py3-none-any.whl (4.9 kB)
Using cached mdformat_frontmatter-2.0.1-py3-none-any.whl (4.5 kB)
Using cached mdformat_footnote-0.1.1-py3-none-any.whl (4.1 kB)
Using cached Jinja2-3.1.3-py3-none-any.whl (133 kB)
Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Using cached codespell-2.3.0-py3-none-any.whl (329 kB)
Using cached virtualenv-20.26.2-py3-none-any.whl (3.9 MB)
Using cached pytest-8.2.2-py3-none-any.whl (339 kB)
Using cached wheel-0.43.0-py3-none-any.whl (65 kB)
Using cached attrs-23.2.0-py3-none-any.whl (60 kB)
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Using cached dill-0.3.8-py3-none-any.whl (116 kB)
Using cached distlib-0.3.8-py2.py3-none-any.whl (468 kB)
Using cached docutils-0.21.2-py3-none-any.whl (587 kB)
Using cached filelock-3.15.1-py3-none-any.whl (15 kB)
Using cached markdown_it_py-2.2.0-py3-none-any.whl (84 kB)
Using cached mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB)
Using cached mdformat_tables-0.4.1-py3-none-any.whl (4.6 kB)
Using cached mdit_py_plugins-0.3.5-py3-none-any.whl (52 kB)
Using cached mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB)
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Using cached pathspec-0.12.1-py3-none-any.whl (31 kB)
Using cached platformdirs-4.2.2-py3-none-any.whl (18 kB)
Using cached pluggy-1.5.0-py3-none-any.whl (20 kB)
Using cached pyrsistent-0.20.0-py3-none-any.whl (58 kB)
Using cached rstcheck_core-1.2.1-py3-none-any.whl (27 kB)
Using cached sphinx-7.3.7-py3-none-any.whl (3.3 MB)
Using cached tomlkit-0.12.5-py3-none-any.whl (37 kB)
Using cached typer-0.12.3-py3-none-any.whl (47 kB)
Using cached iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Using cached setuptools-70.0.0-py3-none-any.whl (863 kB)
Using cached alabaster-0.7.16-py3-none-any.whl (13 kB)
Using cached Babel-2.15.0-py3-none-any.whl (9.6 MB)
Using cached imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB)
Using cached linkify_it_py-2.0.3-py3-none-any.whl (19 kB)
Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Using cached pydantic-2.7.4-py3-none-any.whl (409 kB)
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Using cached rich-13.7.1-py3-none-any.whl (240 kB)
Using cached shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)
Using cached snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB)
Using cached sphinxcontrib_htmlhelp-2.0.5-py3-none-any.whl (99 kB)
Using cached sphinxcontrib_serializinghtml-1.1.10-py3-none-any.whl (92 kB)
Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Using cached sphinxcontrib_applehelp-1.0.8-py3-none-any.whl (120 kB)
Using cached sphinxcontrib_devhelp-1.0.6-py3-none-any.whl (83 kB)
Using cached sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)
Using cached sphinxcontrib_qthelp-1.0.7-py3-none-any.whl (89 kB)
Using cached annotated_types-0.7.0-py3-none-any.whl (13 kB)
Using cached certifi-2024.6.2-py3-none-any.whl (164 kB)
Using cached charset_normalizer-3.3.2-py3-none-any.whl (48 kB)
Using cached idna-3.7-py3-none-any.whl (66 kB)
Using cached urllib3-2.2.1-py3-none-any.whl (121 kB)
Using cached uc_micro_py-1.0.3-py3-none-any.whl (6.2 kB)
Building wheels for collected packages: pydantic-core
  Building wheel for pydantic-core (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pydantic-core (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [48 lines of output]
      Running `maturin pep517 build-wheel -i /usr/bin/python3.13 --compatibility off`
      📦 Including license file "/tmp/pip-install-3qgcramf/pydantic-core_793e8a04dd0543d094cd9e37c1a91acf/LICENSE"
      🍹 Building a mixed python/rust project
      🔗 Found pyo3 bindings
      🐍 Found CPython 3.13 at /usr/bin/python3.13
      📡 Using build options features, bindings from pyproject.toml
         Compiling autocfg v1.1.0
         Compiling target-lexicon v0.12.9
         Compiling proc-macro2 v1.0.76
         Compiling python3-dll-a v0.2.9
         Compiling unicode-ident v1.0.10
         Compiling once_cell v1.18.0
         Compiling libc v0.2.147
         Compiling heck v0.4.1
         Compiling num-traits v0.2.16
         Compiling pyo3-build-config v0.21.2
         Compiling quote v1.0.35
         Compiling syn v2.0.48
         Compiling cfg-if v1.0.0
         Compiling rustversion v1.0.13
         Compiling version_check v0.9.4
         Compiling lock_api v0.4.10
         Compiling num-integer v0.1.45
         Compiling parking_lot_core v0.9.8
         Compiling pyo3-ffi v0.21.2
         Compiling memoffset v0.9.0
         Compiling num-bigint v0.4.4
      error: failed to run custom build command for `pyo3-ffi v0.21.2`

      Caused by:
        process didn't exit successfully: `/tmp/pip-install-3qgcramf/pydantic-core_793e8a04dd0543d094cd9e37c1a91acf/target/release/build/pyo3-ffi-4978c0bc842829ba/build-script-build` (exit status: 1)
        --- stdout
        cargo:rerun-if-env-changed=PYO3_CROSS
        cargo:rerun-if-env-changed=PYO3_CROSS_LIB_DIR
        cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_VERSION
        cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_IMPLEMENTATION
        cargo:rerun-if-env-changed=PYO3_PRINT_CONFIG
        cargo:rerun-if-env-changed=PYO3_USE_ABI3_FORWARD_COMPATIBILITY

        --- stderr
        error: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12)
        = help: please check if an updated version of PyO3 is available. Current version: 0.21.2
        = help: set PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 to suppress this check and build anyway using the stable ABI
      warning: build failed, waiting for other jobs to finish...
      💥 maturin failed
        Caused by: Failed to build a native library through cargo
        Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_ENVIRONMENT_SIGNATURE="cpython-3.13-64bit" PYO3_PYTHON="/usr/bin/python3.13" PYTHON_SYS_EXECUTABLE="/usr/bin/python3.13" "cargo" "rustc" "--features" "pyo3/extension-module" "--message-format" "json-render-diagnostics" "--manifest-path" "/tmp/pip-install-3qgcramf/pydantic-core_793e8a04dd0543d094cd9e37c1a91acf/Cargo.toml" "--release" "--lib" "--crate-type" "cdylib"`
      Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/bin/python3.13', '--compatibility', 'off'] returned non-zero exit status 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pydantic-core
Failed to build pydantic-core
ERROR: Could not build wheels for pydantic-core, which is required to install pyproject.toml-based projects

Looks to me like you have a problem installing pydantic - pip install pydantic generates the same errors, doesn't it? In that case, https://github.com/pydantic/pydantic may be the best place to look for help.

The requirements-devel.txt are for developing with Nuitka. This can be a different Python version than you use Nuitka with, which in fact works with all Python versions directly from git without doing anything else.


only blastn is allowed to use format 17

add this to the validation checks

The service 500's when requesting report format 17 on non-blastn jobs presently.


Meta: PivotalTracker issues aren't public viewable

Create a new account and see if you can view this issue:

MicroPCF doesn't have a public tracker at this time.  We'll go have a talk with @cf-gitbot about that.


Chrome test

First off, thanks for the great project!
I'm testing a website on an old phone using Chrome.
I notice if I comment out the if block starting at
https://github.com/rodneyrehm/viewport-units-buggyfill/blob/master/viewport-units-buggyfill.js#L59
then it runs, as the line at https://github.com/rodneyrehm/viewport-units-buggyfill/blob/master/viewport-units-buggyfill.js#L59 returns true. If I leave it uncommented, it doesn't run (as the if block at https://github.com/rodneyrehm/viewport-units-buggyfill/blob/master/viewport-units-buggyfill.js#L111 is entered). I guess my question relates to the comment:
this buggyfill only applies to mobile safari, IE9-10 and the Stock Android Browser.
Can I ask why the tests have been set up to not run at least in this specific case? I'm not sure I follow the reasoning behind simple test for Chrome, and preventing this polyfill from doing it's work if it is.
The chrome version i'm running is 18.0.1025469 with the Android version being 4.1.1.
Thanks again!

Your question is kinda hard to understand. Are you wondering why the buggyfill is not running on Chrome 18 for Android? I don't really know, as caniuse says nothing about viewport unit support for that version, so I assume it is not supported in Chrome 18 for Android. If they are supported, but buggy, we should fix the UA sniffing.

My bad. I forgot this is a buggyfill and not a polyfill.
Basically, both my android browser and chrome for android browser versions don't support viewport units, but the hacks (with no calcs) run for the stock android browser, and not chrome.
I guess this lead to me mistaking this project for a polyfil when it's not.

Yes, the hacks can be used to get some viewport-unit support into older browsers - but I can't say I'd recommend that. But I'm not using the hacks at all, so who am I to judge? You're free to send a PR to make the "polyfill" behavior simpler and more transparent, if you like.


automatically retrieve additionalTrustBundle for HCP clusters

network verify-egress previously always looked to Hive for retrieving a cluster's additional trust bundle, however for HCP this lives on the managment cluster instead.
❯ ~/git/openshift/osdctl/osdctl network verify-egress --cluster-id REDACTED --subnet-id subnet-0b9a746376a93b52d
The current version () is different than the latest released version (v0.19.1).It is recommended that you update to the latest released version to ensure that no known bugs or issues are hit.
Continue? (y/N): y
2023/10/27 17:12:52 getting AWS credentials from backplane-api
2023/10/27 17:12:54 using platform: hostedcluster
2023/10/27 17:12:54 cluster has an additional trusted CA bundle, but none specified - attempting to retrieve from hive
2023/10/27 17:12:57 using manually specified subnet-id: [subnet-0b9a746376a93b52d]
2023/10/27 17:12:57 searching for security group by tags: [name: tag:Name, values: 26i5armrm93750tnkh48gdd15p5vop90-default-sg name: tag:kubernetes.io/cluster/REDACTED, values: owned]
2023/10/27 17:12:58 using security-group-id: sg-0c2192752237b89d4
2023/10/27 17:12:58 Preparing to check 1 subnet(s) with network verifier.
2023/10/27 17:12:58 running network verifier for subnet  subnet-0b9a746376a93b52d, security group sg-0c2192752237b89d4
2023/10/27 17:12:59 Created instance with ID: i-0222e6b43419fe588
Summary:
All tests passed!

OSD-19442

/lgtm


[AutoDiff] Rename 'AutoDiffIndexSubset' to 'IndexSubset'.

Per @DougGregor's review comment (https://github.com/apple/swift/pull/27555#discussion_r333757205), AutoDiffIndexSubset data structure could have a more general name. We rename it to IndexSubset and move it to its own file.

@swift-ci please test tensorflow

@swift-ci please test tensorflow

@swift-ci please test tensorflow

@swift-ci please test tensorflow


Adapt .openUrl() method of com.qaprosoft.carina.core.foundation.webdriver.DriverHelper.class for mobile device

Please, provide the possibility of disabling maximize window actions while page opening on mobile devices as it causes unexpected driver exit in new chromedriver versions.
Additional context
faced with this issue on mobile web automation (chromedriver 76)

already fixed in 6.1.25


Add two command into README.md

when I installed twemproxy on my Ubuntu 14.04, it stoped at the step

autoreconf -fvi

With the help of Google, I found that it was because some lack of depended package.
So I suggested to add the following two steps into "Build" part of README.md, and they can be named as 'Before build'
sudo apt-get install automake
sudo apt-get install libtool

done


Add Rakuten Tech Blog in showcase page

We started to our tech blog by hugo! https://gophers.slack.com/archives/hugo/p1452697098000069

 You should sign our Contributor License Agreement in order to get your pull request merged.

Thanks for contributing @tcnksm.
Merged as c5d323506ef1bae5d31bf664c6916dc46342b524 (master) and c5d323506ef1bae5d31bf664c6916dc46342b524 (v0.15.docs).

Great, thanks


Added tests for plugins (rebased and updated)

Continues where #49 and #68 left off.
The old commit chain had multiple times the necessary commits after rebasing efforts and container some very unclean commits which I've cleaned up. The main beef here is:

Squash and remove 600kloc library adding commits
Rebase commits on top of master
Retains original committer, adds a few necessary migration lines

The patchset tries not to touch other than testing facilities.

I generously refactored the testing patchset and think it's ready for review. I wouldn't mind if you reviewed the stuff as author @mspeedy, I had to make some adjustments to your commits and clean them up.

@aleksihakli I keep commits to keep the attribution and didn't swash it.


x509 certificate error on switching networks

When I switch networks and end up with a different IP address, I get an error like this:
An error occurred trying to connect: Get https://<IP_ADDRESS>:2376/v1.21/containers/json: x509: certificate is valid for <IP_ADDRESS>, not <IP_ADDRESS>

Restarting dinghy doesn't help, but recreating the VM with dinghy destroy && dinghy create --provider virtualbox seems to fix it.
Is it possible to make this more resilient? Or is there just a configuration setting I'm missing? I think that recreating the dinghy instance every time I switch desks is not really reasonable, and neither is passing --tlsverify=false with every docker command.

I've been meaning to add this to the FAQ, thanks for the reminder: https://github.com/codekitchen/dinghy/blob/master/FAQ.md#the-docker-client-reports-errors-like-x509-certificate-is-valid-for-192168xy-not-192168xz
I haven't seen it happen as often as whenever you switch networks though. It seems to happen to most people once every few months or so. So there may be something more going on in your situation.
It'd be nice if docker-machine detected the situation and handled it automatically, I haven't checked open issues to see if they're planning to do that.

@codekitchen ah, that makes sense. I thought it might be a docker-machine issue.
I think it might be happening because I'm switching between a work and home network where there's a different DHCP reservation set up for my host machine, but I'm not sure.
Do you know if it's possible to force docker-machine to generate a certificate for a local domain name instead? Perhaps dinghy could solve this issue by setting DOCKER_HOST to something like tcp://docker.docker:2376 instead of an IP address, so that the certificate is always valid. Does that idea make sense?

Yeah interesting idea, it seems like that'd work.

yeah, this is really problematic. Recreating is no option for me, since pulling or building my docker container takes about 30 minutes (cotains over 3GB of NLP libraries). What's the best workarround for now. Can I just not set DOCKER_TLS_VERIFY=1?

As stated in the FAQ answer I linked to, the fix is to run docker-machine regenerate-certs dinghy

@MrLoh do you have an older version of docker, or an out of date version of the VM created by docker-machine?
I tested the --tlsverify=false flag on mine and it just disables the verification, allowing me to run docker commands. I have run into trouble in the past with new versions of docker-machine not having backwards compatibility with pre-existing VMs. Sometimes docker-machine regenerate-certs fails if the VM is old enough.

@MrLoh in other words, I think it's likely that either solution will work for you if you recreate your VM this one time, in order to bring it up to date.

thanks the docker-machine regenerate-certs dinghy solved the issue.


Using inline svg as the base layer

Hello everyone,
Currently, I serve a map with an imageOverlay base layer.
Right now, I need to use an svg instead of the current png imageOverlay,
and to alter the svg css (like, changing opacity for the nearest places (paths in the svg) etc), dynamically,
so basically, I need to control the actual map svg style dynamically.
I've decided I need to use an inline svg to alter the style of the svg,
instead of an image with an svg source.
I tried replacing the leaflet created image overlay with an actual inline svg at runtime.
it worked, but the zoom control won't affect the layer anymore,
and switching layers is a bit buggy.
is there any inside capabilities of leaflet to support this kind of requirement?
adding a fiddle to explain it better http://jsfiddle.net/dh5wgu2x/

Hi and thanks for using Leaflet!
Please note that this is our issue tracker, where bugs and feature requests and posted and discussed. For questions on how to use Leaflet and other support, you're better off using stackoverflow or gis.stackexchange.com.
Having said that, I know some other people have used `ImageOverlay´ with SVG images with some mixed success. In most cases, if you want vector data, actually using Leaflet's vector features is preferred instead of using SVG.


[#1936] Adapter Deletion: Disallow Deletion of Pipelines Using Adapter but Not Owned by User

Purpose

See #1936
Remarks

PR introduces (a) breaking change(s): no
PR introduces (a) deprecation(s): no

Currently, even admin can't delete pipelines created by others because I am comparing the id of pipeline's owner with the id of the user. Let me know if admin should delete pipelines not owned by himself.

Hi @muyangye great that you're working on this topic!
Yes, I think admin users should always be able to delete resources owned by others.

Hi @muyangye great that you're working on this topic!
Yes, I think admin users should always be able to delete resources owned by others.

Can they also delete resources owned by another admin?

Hello @muyangye,
thanks for your work on this topic.
In my opinion, it makes perfect sense for an admin to have the right to delete all resources, even if they were created by another admin.

@dominikriemer @tenthe, thanks for clarifying! Just pushed an update that addressed this.


Digital Ocean server deployer

Programmatically deploy a droplet to Digital Ocean
Tracked here
https://github.com/uProxy/colony/tree/portland-coding-party

This is practically done with
https://github.com/uProxy/colony/tree/colony-ui
Time to refocus on
Standardizing an interface to be used by all cloud providers and supporting more cloud providers:
https://github.com/uProxy/colony/issues/7


Health check ClearML Health Check with status Unhealthy

We continue to get a few of these each day.  Can we increase the threshold in which we call it unhealthy?  What is it now?  Can it be 5 minutes at least?

Damien made the HttpClient for the health check use no retry, so that would explain the reappearance of the issue. @ddaspit, what was the rationale there? And what's the preferred movement forward? I can make it a singleton and make it yield unhealthy after so many failures in sequence or give it a retry policy?

At a certain point, the ClearMLHealthCheck was updated to use its own HttpClient instead of using the ClearMLService. This is when it stopped using a retry policy. In any case, we don't want to use a retry policy for health checks, because it would cause the health check endpoint to hang. We should update the ClearMLHealthCheck to work in a similar fashion to the S3HealthCheck.


Microsoft docker hub image containing mssql-cli

What OS are you targeting for this image?  Are you planning for OS's other than Server Core and Nanoserver?


Store event index

Fixes #628 .

just two changes in schema ?  This is way to less...
To be easier for developer and reviewer , please make sure that in schema , anywhere you have txId, right after that line you will add eventIndex..
Something like:
  tx: String!
will be replaced with :
   tx: String!   eventIndex: Int!

In erc20template, in getOrderId also add event.params.serviceIndex.toI32() . Multiple services can be ordered in same tx

I'll do #629 in this PR as well, since they are related and depend on each other.

After attaching eventIndex to every entity that had tx, I started to add eventIndex in ID generation as the purpose of #629.
I have noticed that when startOrder is called, it generates 2 events: OrderStarted and ProviderFee. These 2 events have different handlers:

For OrderStarted event

handleOrderStarted(event: OrderStarted)

For ProviderFee event

handleProviderFee(event: ProviderFee)

Inside those handlers, orderId is processed by getOrderId which should receive additionally as a parameter, the order eventIndex. For (1) it works fine, because it will process first the ID. For (2) it won't work when fetching the existing order, because the handler for ProviderFee gets only this event. I need somehow to let the handler for provider fee to receive an event of OrderStarted., otherwise order query will not work to retrieve the provider fees, because the provider fees are null after startOrder is called.
queryResult:  {
  data: {
    order: {
      id: '0x25fa5236a3911b2d7262506a6580631494d99decf1ba293b470b084f226c68f8-0xa74847bf9cebd3696031dc8f0033cf9a009e66bc-0xa78deb2fa79463945c247991075e2a0e98ba7a09-0',
      providerFee: null,
      lastPriceToken: [Object],
      eventIndex: 0
    }
  }
}

This problem will show up to any fees event. I have thought of creating separate entities for every fee event and maybe somehow analyze deeper the transaction elements in order to figure out which order depend on which fees & so on. I assume that this will not be "queryable" at all and hard to use/query.
After discussing with @mihaisc, there is another approach of creating different templates of ERC20 which have the same functionality but with more details in the events. The disadvantage will be that subgraph will need to cover the existing templates and to do sort of migrations in order to migrate from the new templates to the old templates.
CC @alexcos20 @mihaisc

No need to go that far.
What we know:

each event in a tx has an unique eventIndex
subgraph processes events in a tx according to their order, so when handleProviderFee is called, you know that handleOrderStarted has already been process.

Here is how to solve this:

for orders,  id =  txhash - eventId
for providerFee, id =  txhash - eventId
in handleProviderFee, search for existing orders in a loop, substracting one from providerFee.eventIndex until you find an order entity that has order.datatoken.id = event.address  (so we know that is generated by the same dt contract).

In a nutshell:

given txHash 'abc',  you will end up with  order id 'abc-1' and providerFee id 'abc-2', linked to order 'abc-1'

Same approach can be used for PublishMarketFee and ConsumeMarketFee events

I have fixed the tests for orders, integrating the event index into order IDs and implemented the search mechanism for order event indexes. Additionally I have implemented the handlers for PublishMarketFee & ConsumeMarketFee events and tested them in Datatoken.test.ts, so basically this PR also fixes #621.

on it, but it will take some time to review it

Don't focus that much on improving the tests, obviously fix if there is an issue. This is taking long and we should merge it. Focus on the resolving the conflicts

Create a separate issue #665.

We have conflicts on the PR now, could you resolve them?


Option to toggle between Performance/Visual Effects

What feature or improvement do you think would benefit Files?
It would be great if there were an option to turn off visual effects so that older computers can run Files with faster performance.
Requirements

Toggle switch to turn off all visual effects

Files Version
<IP_ADDRESS>
Windows Version
10.0.19045.3155
Comments
No response

Thank you for your feedback, Windows has built-in settings to disable visual effects. Please let me know if this makes a noticeable difference in performance.


Use without devshell

I’d like to use your modules in a project which doesn’t use devshell (nor flakes). Could this be easily done? I’d like to simply be able to manually invoke a command to generate the files using given PRJ_ROOT
If any changes would be needed, I’d be happy to to contribute if you could point me in the right direction. Thanks!

Maybe I could figure it out when doing #6
It can be done for sure, but would mean basically copy mostly all devshell to this project, I mean, TODO:

[ ] evaluate modules (like devshell does) maybe using flake-parts?
[ ] remove any dependency of devshell 'interface' or implement it in another way (it should be done for #6 too)
[ ] map every 'files.alias.{name}' to 'packages.{system}.{name}'
[ ] map 'files.alias.devshell-files' to 'packages.{system}.default'

This second task will be the hardest one.

This would not resolve this issue, but I found it interesting.
Basically is, add a subfolder with a flake using devshell, then you can run nix develop --build in that folder.
Example: https://github.com/TinHead/nixos-firehol his docs generates gh-pages

You can recreate files of a repository directly to your local machine by running nix develop <flake-uri> -c "devshell-files", example:
# copy all my dogfood ot your current folder
nix develop github:cruel-intentions/devshell-files -c "devshell-files"

Maybe it works with absolute paths: path:/path/to/repo

thanks @hugosenari
I have studied the sources code of devshell and devshell-files in the meantime, and here's what I've got so far.
An example of how this could be used (with flakes) in this repo.  You can either checkout the repo and do: nix run inside, or the following from anywhere:
nix run github:rhinofi/devshell-files-test

Uses pwd to set PRJ_ROOT if not already set.
Note that I'm still using devshell.eval but this could be easily replaced as under the hood it's simply lib.evalModules.
The next step would be to extract the devshell specific configuration into a separate module which could simply be omitted if one doesn't use this in the context of devshell (or maybe we could add an option. We should be able to then use the devshell free modules within devenv. Just need to figure out how to pass custom modules so that they get evaluated with everything else. Probably need to add a devenv specific modules (similar to the devshell one) to set any required devenv options.

The next step would be to extract the devshell specific configuration into a separate module

actually, we could simply hide them behind something like files.devshell.enable, and similarly for devenv

The next step would be to extract the devshell specific configuration into a separate module

let's play OO game here.

create a iface directory
copy all existing modules to there
remove all

Sorry wrong button

actually, we could simply hide them behind something like files.devshell.enable, and similarly for devenv

Looks like every day we have a new devshell alternative
numtide/devshell/issues/242

The next step would be to extract the devshell specific configuration into a separate module

let's play OO game here.

create a iface directory
copy all existing modules to there
remove all config of them
create a devshell directory
move all existing modules to there
remove all options from them
update the flake module list with new paths

sound like a plan
btw. my idea form above:

actually, we could simply hide them behind something like files.devshell.enable, and similarly for devenv

didn't quite work, since if we don't import devshell modules we'll get errors about non existent options, event though the value is behind mkIf (same as described here.
So here's what I've tried: check if options.devshell exists and skip setting config when it doesn't. This allows to keep existing file structure. That same commit has a standalone implementation of eval and examples of evaluation with and without devshell.
I do think that splitting the code into separate files would be cleaner though. Maybe the module containing devshell config could also importing devshell modules, so that user doesn't have to do this manually? Or the integration could be moved to devshell repo itself?

Looks like every day we have a new devshell alternative
numtide/devshell/issues/242

Yeah, given the proliferation of projects which start to leverage nixos module system outside nixos itself, it would do good for the ecosystem to promote a pattern of standalone module (which can be used outside of the "mother" project) + adaptors.
Btw. maybe we should try to push for unification between file creation functionality from this repo and the effort at devenv? Maybe even extract relevant code to a new repo at: https://github.com/nix-community? nix-community/files?


Add persian language and some txt and xml files for dictionary

Hello,
The persian language was added before and works greate. in this PR I add  some txt and xml files for dictionary though the "./gradlew :languages:persian:pack:makeDictionary" does not build the dictionary from inputs and my xml backup from AnySoftKeyboard (Using android SDK and linux terminal and then android studio, both don't do the job). Is there something that I missed? I can add my result log of makeDictionary result.
Anyway thank you for all the work on this project!
Regards,
Mohammad

thank you. I'll look into that.

thank you. I'll look into that.

Sorry to bother you again. Did you find a chance to look into this issue?
I converted my txt file into NextWord and UserWord of anysoft backups and add them to my own keyboard. But it's much better if I can add them to the dictionary of apk file so they will be installed with Persian layout. Thanks a lot.

@mhdzli please rebase your branch and force-push.
Also, see my comment at https://github.com/AnySoftKeyboard/LanguagePack/pull/274#discussion_r293816326

@mhdzli please rebase your branch and force-push.
Also, see my comment at #274 (comment)

I rebased my repo and added a new layout for smaller screens


After install this plugin,The AS starting slow

when i click a button it get stuck

I'm so sorry @fearlesstrek :( but this issue you've opened can't be related to the plugin. The CPU consumption associated to this plugin is minimum and all the code is executed in a background thread.


Fix drivetrain imbalance issue

Motors are imbalanced, favoring the right side of the drivetrain greater than the left. Must be fixed ASAP, as it leads to driving issues with bias towards one side over another

Solution
Upon further review, we have found that the cause of the issue was not due to PROS or any programming issue. The solution, though, is to have newly crimped and properly working wires.
Cause
The cause of the issue has not been defined, except for the fact that the cause is not from PROS or any programming issue.
Therefore, this issue will hereby be closed.


teatest: Obtaining final state of terminal

I'm not sure if I'm looking at this the right way. Here's what I'm trying to achieve:
Say I have a program that starts by making some asynchronous request to an external system (with a tea.Cmd).
In my tests I use a fake instead of the real system. My fake returns a result with a delay of a few milliseconds.
Now I want to test that, when the command is complete, my program displays "foo" and it doesn't display "bar". Testing that it displays "foo" is easy with WaitFor.
teatest.WaitFor(
    t, tm.Output(),
    func(bts []byte) bool {
        return bytes.Contains(bts, []byte("foo"))
    }
    ...
)

But how do I test that the program doesn't display "bar"?
One approach would be to wait until the program displays "foo", and then get the FinalOutput and assert that it doesn't contain "bar". This approach has two issues:

With the current implementation, as soon as I've used WaitFor I've consumed part of the output, so FinalOutput will not actually give me the final "display".
Even if I could use WaitFor without consuming the output, the condition "contains 'foo'" still doesn't give me any guarantee that I'm looking at the final state. The program could be in the middle of writing out the output.

Before switching to teatest, I was using a homemade solution for testing where I didn't have problem 1 above but I still had problem 2. Essentially I haven't found a way to wait until the program has reached a "stable" state, for lack of a better term. I suppose that would be a state where there are no commands still pending to return a result, and the program has completely processed all the pending messages.
Am I missing something?

you can check tm.FinalOutput() after the wait, i believe.

you can check tm.FinalOutput() after the wait, i believe.

But it doesn't return the full output, as it has already been partially or totally consumed by the wait, right? Unless I'm doing something wrong. Here is an example:
Given this model, which always returns "Hello" as the view:
type Model struct {
}

func InitialModel() Model {
	return Model{}
}

func (m Model) Init() tea.Cmd {
	return nil
}

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
	return m, nil
}

func (m Model) View() string {
	return "Hello"
}

I can assert the output with WaitFor:
func TestCheckIntermediate(t *testing.T) {

	tm := teatest.NewTestModel(t, InitialModel())

	teatest.WaitFor(t, tm.Output(), func(bts []byte) bool {
		return bytes.Contains(bts, []byte("Hello"))
	})
}

And I can assert the final output:
func TestCheckFinal(t *testing.T) {

	tm := teatest.NewTestModel(t, InitialModel())

	assert.NoError(t, tm.Quit())

	final, err := io.ReadAll(tm.FinalOutput(t))
	assert.NoError(t, err)

	assert.True(t, bytes.Contains(final, []byte("Hello")), "Final output should contain 'Hello'")
}

But if I wait and then also check the final output, then the test fails:
func TestCheckIntermediateAndFinal(t *testing.T) {

	tm := teatest.NewTestModel(t, InitialModel())

	teatest.WaitFor(t, tm.Output(), func(bts []byte) bool {
		return bytes.Contains(bts, []byte("Hello"))
	})

	assert.NoError(t, tm.Quit())

	final, err := io.ReadAll(tm.FinalOutput(t))
	assert.NoError(t, err)

	assert.True(t, bytes.Contains(final, []byte("Hello")), "Final output should contain 'Hello'.")
}

You want the final render of the model, right?
If so, you can do something like:

func TestCheckIntermediateAndFinal(t *testing.T) {
	tm := teatest.NewTestModel(t, Model{})

	teatest.WaitFor(t, tm.Output(), func(bts []byte) bool {
		return bytes.Contains(bts, []byte("Hello"))
	})

	if err := tm.Quit(); err != nil {
		t.Fatal(err)
	}

	final := tm.FinalModel(t).View()
	if final != "Hello" {
		t.Errorf("expected model to be 'Hello', was '%s'", final)
	}
}

the View() method should not have any side effect (i.e. change the model), so you can do it like this :)

Right, that makes sense.
I feel it makes more sense even, as my tests are interested in the view itself, rather than the output stream. The output stream could contain content of previous views that have been since painted over (in my limited understanding of how this works).
Which kind of begs the question: when waiting for a given state, wouldn't I be interested in the view as well, and not in the raw output? Would it make sense to have a method like this?
	teatest.WaitForView(t, tm, func(view string) bool {
		return strings.Contains(view, "Hello")
	})


Add info slash command

hoping this works because I just renamed a copy of the path command to info, changed the descriptions, and made it call the infoCmd function instead of the calcTreeCmd function with no other changes

Can you make ID an optional int and element name an optional string instead and give an error when none are supplied (actually this would require changing how the info command works so I think I'll implement this myself)

Implemented in 65a3ba2ce5503ad193f5995667e9cf4dcd67ed7f and 97482b044d34fb82b7cc26d8275e1850e9563a67


Add Other Files card that saves non pnp files to a directory for Progress Reports

API PR: https://github.com/SeedCompany/cord-api-v3/pull/2419
┆Issue is synchronized with this Monday item by Unito
┆Link To Item: https://seed-company-squad.monday.com/boards/3451697530/pulses/3466503476

closes https://github.com/SeedCompany/cord-api-v3/issues/2010

This lived to the end of its lifetime and died


Rename basic static checks to "Verify"

Inclusive naming guidelines recommend against the term "sanity checks"
Runs that don't have a name will be shown as, for example, run make govet in failure emails, which is just about as descriptive as you can get, and shorter to write.
edit: Also add a new check that make generate-crds is up-to-date.
Fixes #798
/kind cleanup
Submitter Checklist

[n/a] Includes tests if functionality changed/was added
[n/a] Includes docs if changes are user-facing
[y] Set a kind label on this PR
[y] Release notes block has been filled in, or marked NONE

See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.
Release Notes
NONE

Sounds good to me, done!

@adambkaplan it seems the "Sanity Checks" check is marked as required, which means renaming it to "Verify" requires temporarily marking "Sanity Checks" as not-required so this PR can proceed.
After that, we can make "Verify" required. It's annoying that GitHub works this way, but 🤷


”Estelnic” is listed in the drop-down menu

Description:
"Estelnic" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Estelnic" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Estelnic, COVASNA".


a subscriber of RTI native application can't receive messages from ros2 publisher

I don't know whether this is an issue or not, but it seems that a ros2 subscriber can receive messages from a publisher of RTI native application. https://github.com/iuhilnehc-ynos/rti_application_and_ros2_communication/blob/main/README.md
Bug report
Required Info:

Operating System:

Ubuntu 20.04

Installation type:

binaries

Version or commit hash:

foxy

DDS implementation:

rmw_connext_cpp

Client library (if applicable):

rcl

Steps to reproduce issue

run a RTI native subscriber example

$ git clone https://github.com/iuhilnehc-ynos/rti_application_and_ros2_communication.git
$ cd rti_application_and_ros2_communication
$ source /opt/rti.com/rti_connext_dds-5.3.1/setenv_ros2rti.bash
$ make -f makefile_string_x64Linux3gcc5.4.0
$ ./objs/x64Linux3gcc5.4.0/string_subscriber

NOTE: Sorry for only providing ubuntu20.04 sample.

run ros2 client publisher

$ source /opt/ros/foxy/setup.bash
$ RMW_IMPLEMENTATION=rmw_connext_cpp ros2 topic pub chatter std_msgs/String 'data: hello world'

Expected behavior
the RTI native subscriber example can receive messages from ros2 publisher
Actual behavior
the RTI native subscriber example can't receive messages from ros2 publisher
Additional information
BTW: This case is working if I use other RMW_IMPLEMENTATION(rmw_fastrtps_cpp) and native examples(FastDDS).

Communication between "native" DDS networks and ROS 2 is a long-standing feature request, but we haven't had time to look into the issues and make it work reliably.  Patches to improve it would be welcome, of course.

Closing, since with Foxy now being End-of-Life, this repository is no longer used.


🐛 Bug Report:

👟 Reproduction steps
Unable to find log files in "backend" as stated by the error message
trying to set up my email information and get an error to check log files in "backend"
👍 Expected behavior
Find a log file in folder "backend"
👎 Actual Behavior
No long file created
🌐 Browser
not a browser issue

Hey, just run docker compose logs in the folder where you've stored the docker-compose.yml.

Thanks, got the errors, though it leads me to another question. im trying to use a email server i run but get this error:
pingvin-share-pingvin-share-1  | [Nest] 232  - 01/27/2023, 9:30:28 PM   ERROR [ExceptionsHandler] self-signed certificate
pingvin-share-pingvin-share-1  | Error: self-signed certificate
pingvin-share-pingvin-share-1  |     at TLSSocket.onConnectSecure (node:_tls_wrap:1545:34)
pingvin-share-pingvin-share-1  |     at TLSSocket.emit (node:events:513:28)
pingvin-share-pingvin-share-1  |     at TLSSocket._finishInit (node:_tls_wrap:959:8)
pingvin-share-pingvin-share-1  |     at ssl.onhandshakedone (node:_tls_wrap:743:12)

@dnielso5 Maybe you've entered the wrong credentials. Can you confirm that it works with the same credentials on the following website: https://www.smtper.net ?

I was able to redo my certs so they are no longer self signed by my email. i am able to use the email option now.


Preference selection is not working anymore

What

Preference selection is not working anymore
Clicking on a preference won't dont do anything, and bring a black screen in the background

Videos
https://user-images.githubusercontent.com/1689815/147463780-60b849a4-a13b-4256-b1e7-1b1ab405564c.mp4
https://user-images.githubusercontent.com/1689815/147463783-4084f92a-e22f-42b5-a4ed-9d6da3d76310.mp4

Very interesting bug! Sound familiar with what I recently wrote in https://github.com/openfoodfacts/smooth-app/discussions/434#discussioncomment-1811005
TL;DR

We should create new widget classes instead of using helper methods (e.g. Widget _build(...)), in order to improve performance, testability, accuracy and maintainability.

In this specific issue, the problem is the confusion of contexts

we plan to create an alert dialog
first we create a list of ListTile - when you tap on each of them it sets the importance of the attribute (not important, important, mandatory)
then we show the alert dialog with this list of widgets
the problem is that we created the ListTiles with the caller's context
and we show the alert dialog with its own context (builder: (final BuildContext context) => ...)
and more precisely, when you tap on a ListTile, it reacts with Navigator.pop<String>(context, value); - but with the wrong context. A context without navigator history (in some cases), hence the crash

I'll send a fix PR today.


log pauses

Would be useful to get log message when game is paused or not

Not a good idea, would be too easy to spam the log by pausing/unpausing 100 times per second (we have max 100 key presses per second)


Make Windows implementation DPI-Aware (+ fix issue with window position)

Fix by @hardcpp

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: SirLynix:x: hardcppYou have signed the CLA already but the status is still pending? Let us recheck it.


feat: manage mappings for pre-defined service accounts

Fixes #1368
Adds two new ServiceAccount resources (kargo-admin and kargo-viewer) if the API server and OIDC are both enabled. (Without both of those enabled, it seems we would not need these.) How these are mapped to claims like sub, email, or groups can be specified at the time of Kargo installation.
Each of these new ServiceAccounts are bound to appropriate cluster-level permissions. For kargo-admin, those permissions are a near-complete subset of the API server's own permissions. (Access to create SubjectAccessReviews is not needed.) For kargo-viewer, those permissions are an even narrower subset of the API server's permissions.
The kargo-admin SA does not get any permissions the API server itself does not also get. This includes not having access to Secret resources cluster-wide. Since #1486, we dynamically expand the API server's permissions to include access to Project-specific Secrets as Projects are created. This PR uses the same mechanism to dynamically expand the kargo-admin ServiceAccount's permissions as well.
cc @gdsoumya

I see that these will hardwire to the install namespace (.Release.Namespace).
There was an idea (perhaps even proposed by you) where these ServiceAccounts did not necessarily have to reside in the kargo installation namespace. The idea being kargo install namespace would remain purely for the kargo workloads, and configuration could be managed elsewhere.
WDYT about making this configurable? e.g. I'd like to install these in like a kargo-global namespace.

When I proposed that, my intent was to avoid people messing with the kargo namespace. Or to at least avoid normalizing that. It bothers me less here because it's the chart managing the SA and not a person.
That said, the decision to put these SAs in the kargo ns here had more to do with needing to put them in a ns that I know for sure will exist.
It's unconventional, but I guess I could make the chart manage a second namespace. I'll tinker with that tomorrow.

Offline discussion:
Because the controller has the logic to dynamically expand permissions for project-specific secrets, I think it makes sense to treat these ServiceAccounts as special, always existing. So I've reversed my thoughts on this and think that kargo-admin and kargo-viewer should be special, well-known ServiceAccounts that people can bind SSO claims to as an operator-level decision, and reside in the kargo install namespace.


Updated conf.py, index files and generated docs files to get RTD to work

Another try -- adding a docs regeneration step @andrewwhitehead

Codecov Report

Merging #965 (8e9738e) into main (92a691f) will increase coverage by 0.02%.
The diff coverage is 98.90%.

@@            Coverage Diff             @@
##             main     #965      +/-   ##
==========================================
+ Coverage   98.91%   98.93%   +0.02%
==========================================
  Files         325      325
  Lines       18736    18785      +49
==========================================
+ Hits        18532    18585      +53
+ Misses        204      200       -4


[MBO-13] Add "See more" button on module cards

Questions
Answers

Branch?
3.x

Description?
Get the "See more" logic button from the core to the ps_mbo module.

Type?
bug fix

BC breaks?
no

Deprecations?
no

Fixed ticket?
#MBO-52

How to test?
Go to the module catalog page. Click on "See more" link in module card. A modal should load (wait a second or 2)

Thanks @intraordinaire


pods fails to get created in k8s v1.2 environment with error "no API token found for service account"

Rancher Version: v1.2.0-pre1-rc7
Set up with 3 hosts added to "cattle" Default environment.
Updated "cattle" to "Kubernetes" environment.
Once K8s system stack was created, used the following yml to create service/rc/pods.
apiVersion: v1
kind: ReplicationController
metadata:
  name: testnginx
spec:
  replicas: 2
  selector:
    name: testnginx
  template:
    metadata:
      labels:
        name: testnginx
    spec:
      containers:
        - name: testnginx
          image: sangeetha/testnewhostrouting
          ports:
            - containerPort: 80

---

apiVersion: v1
kind: Service
metadata:
  name: testnginx
  labels:
    name: testnginx
    type: ui
spec:
  ports:
  - port: 8000
    targetPort: 80
  selector:
    name: testnginx

services and rcs gets created as expected.
But pods are not getting created.
Following error is seen when we describe the replication controller:
Events:
  FirstSeen     LastSeen        Count   From                            SubobjectPath   Type            Reason         M
essage
  ---------     --------        -----   ----                            -------------   --------        ------         -
------
  19m           7s              84      {replication-controller }                       Warning         FailedCreate   E
rror creating: pods "testnginx-" is forbidden: no API token found for service account default/default, retry after the t
oken is automatically created and added to the service account

Observed the same issue in the following scenario:

Created a Kubernetes 3 host set up with qa-catalog
Added 3 new hosts
Deleted the 3 hosts which were added initially

Kubectl get nodes did not list the 3 new nodes. kubectl get pods also did not list pods.
Kubelet logs below:
8/2/2016 3:49:31 PME0802 22:49:31.386574    7476 kubelet.go:2745] Error updating node status, will retry: error getting node "soumyakube112upgtest1": nodes "soumyakube112upgtest1" not found
8/2/2016 3:49:31 PME0802 22:49:31.389872    7476 kubelet.go:2745] Error updating node status, will retry: error getting node "soumyakube112upgtest1": nodes "soumyakube112upgtest1" not found
8/2/2016 3:49:31 PME0802 22:49:31.389902    7476 kubelet.go:1183] Unable to update node status: update node status exceeds retry count
8/2/2016 3:49:41 PME0802 22:49:41.394528    7476 kubelet.go:2745] Error updating node status, will retry: error getting node "soumyakube112upgtest1": nodes "soumyakube112upgtest1" not found
8/2/2016 3:49:41 PME0802 22:49:41.397635    7476 kubelet.go:2745] Error updating node status, will retry: error getting node "soumyakube112upgtest1": nodes "soumyakube112upgtest1" not found
8/2/2016 3:49:41 PME0802 22:49:41.400264    7476 kubelet.go:2745] Error updating node status, will retry: error getting node "soumyakube112upgtest1": nodes "soumyakube112upgtest1" not found
8/2/2016 3:49:41 PME0802 22:49:41.402836    7476 kubelet.go:2745] Error updating node status, will retry: error getting node "soumyakube112upgtest1": nodes "soumyakube112upgtest1" not found
8/2/2016 3:49:41 PME0802 22:49:41.405354    7476 kubelet.go:2745] Error updating node status, will retry: error getting node "soumyakube112upgtest1": nodes "soumyakube112upgtest1" not found
8/2/2016 3:49:41 PME0802 22:49:41.405382    7476 kubelet.go:1183] Unable to update node status: update node status exceeds retry count
8/2/2016 3:49:51 PME0802 22:49:51.410888    7476 kubelet.go:2745] Error updating node status, will retry: error getting node "soumyakube112upgtest1": nodes "soumyakube112upgtest1" not found
8/2/2016 3:49:51 PME0802 22:49:51.414813    7476 kubelet.go:2745] Error updating node status, will retry: error getting node "soumyakube112upgtest1": nodes "soumyakube112upgtest1" not found
8/2/2016 3:49:51 PME0802 22:49:51.418899    7476 kubelet.go:2745] Error updating node status, will retry: error getting node "soumyakube112upgtest1": nodes "soumyakube112upgtest1" not found
8/2/2016 3:49:51 PME0802 22:49:51.423710    7476 kubelet.go:2745] Error updating node status, will retry: error getting node "soumyakube112upgtest1": nodes "soumyakube112upgtest1" not found
8/2/2016 3:49:51 PME0802 22:49:51.428431    7476 kubelet.go:2745] Error updating node status, will retry: error getting node "soumyakube112upgtest1": nodes "soumyakube112upgtest1" not found
8/2/2016 3:49:51 PME0802 22:49:51.428655    7476 kubelet.go:1183] Unable to update node status: update node status exceeds retry count
8/2/2016 3:50:01 PME0802 22:50:01.435308    7476 kubelet.go:2745] Error updating node status, will retry: error getting node "soumyakube112upgtest1": nodes "soumyakube112upgtest1" not found

Restarting all services (controller manager, kubelets, kubernetes) helped to recover from this issue

@sangeethah Since we're only planning to support k8s 1.4 in rancher v1.2.0, can you retest to see if you still see this issue in k8s 1.2?

@deniseschannon , This issue is not relating to any particular K8s version but an issue with cattle. It does not reproduce always, but have seen it happen once in a while.
I will keep this issue open for now.

@soumyalj could you test if you still see this error once in a while?

Tested with v1.2.0 and Kubernetes 1.4.6. Pods/services/rcs get created successfully without any errors.


Fix regex in 02-advanced-configuration.md

The previous regex escaped the * char to make it a literal, where the intention was to use the special form.

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

Whoops, thanks for pointing this out!
@ctrlplusb - do you mind signing the CLA? Once that's done I'll get this merged :)

fixed as part of https://github.com/facebook/flow/commit/f2f14c282f80b41c4996055ac0266919180d70a4
thanks!


Documentation

Hi!
Is there any real documentation for this library?
For instance:
generate_api_sign
Thanks!

Hello! Sorry for late reply - was in vacation.
Actually I missed this somehow, will add to README.

Thanks!

@Garito just updated README mentioning helper functions from cent. Please, check it out.

Ouiea! Nice!
Seems to be ok to me
But you know... now my centrifugo is up and running I don't need it anymore hahahahaha!!!
Thanks a lot for the quick fix. I think that the absence of issues will reveal that this one was perfectly covered
Thanks again!!!


need help

Hi , I really appreciate that you are the only one who can do the update to the present.
I want to convert my server archiver to single-player archive.My NEW GUID is<PHONE_NUMBER>0000000000000000000001 and my OLD GUID is 9B642CB7000000000000000000000000.When I run the fix_host_save.cmd I input the both GUID but encounter some mistakes.
Here is my files.https://github.com/Orengeorenge/Pal_file

This error may be because you didn't have the save updated SINCE Feybreak released. My tools are updated to match the save structure. I'm currently waiting on server to update the save to match the tool's structure changes. And yep! That did the trick.
Good luck!
LocalWorldSave_Updated.zip

After I replace the 0001.sav and the Level.sav with the new and I ensure only the 0001.sav is in the Player folder, I entered the game but it showed the interface for creating a new character...so what should I do?

Looks fine to me.
Did you make sure to create new world, THEN quit and paste the updated saves in that new world?

I set up a new save for the game and I redid the whole process. So happy to see my pals back^^
Thank you for your help and for such a prompt response!


Wiki - fix installation instructions

To which page do you want to add to the wiki?

edit linux install page

What do you want to change/add?
Currently it says:
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10>
The > at the end gives an error. Pretty sure this is just a typo. I suggest to remove the >
Is your documentation related to a recent pull request or issue?
no

here https://github.com/Call-for-Code/ClusterDuck-Protocol/wiki/Linux-CDP-Dev-Setup#preferred-method-of-setup-script-install

@doniks  indeed was a typo in the command. Now works, and I updated the wiki page. Let me know if you run into any other issues while following that page.

Thank you @doniks for pointing that out!


Implement a default subtraction operator

Implement a default subtraction operator using negation operator and addition
Use it to produce an enumerable of differences in the sequence.

To demonstrate virtual also? (so if an operator can be defined in terms of another; it can be by default to reduce ceremony)
Might not be the actual INumeric approach due to unsigned types; but helps with communicating the possibilities?

Also add default == and != to demonstrate the reduction in ceremony.
e.g. implement IEquatable<T>.Equals and get == and != for free.


URL is missing several URLResourceValues

URL is missing several URLResourceValues. For rdar://problem/41378853

@swift-ci Please test

It looks like this is too indented.