[Feature]:  Option to Support MergingMedia Source for React Native Video.

Description
Firstly thanks for this amazing lib, It will be great if we can add support for MergingMediaSource, we have a use case where if there is use case if someone have the audio and the video file separated, but they need to play simultaneously in sync.
Why it is needed ?
It will give more flexibility for different use case where if there is separate audio and video files/remote urls are there that needs to be played in sync.
Possible implementation
I do not have it but here is a doc: https://developer.android.com/reference/androidx/media3/exoplayer/source/MergingMediaSource
Code sample
Not Available

Any update on this ?

Any update on this ?

No there is no planning for this feature yet

Hi @freeboub any plans for this ? the only thing that is stopping me from building my small app.

Hey @afkcodes, since this feature is not planned to be right now in the roadmap, if this is important to you and you need it, please contact TheWidlarzGroup -<EMAIL_ADDRESS>for commercial support


Links are directing back to homepage

The social media icons used in the home page are redirecting back to the homepage as of now.
I think if appropriate end points are not available currently then these icons should be removed from the home page or if they are available I would like to add them.
Would like to work on it under GSSOC' 21.

don't worry about that link will be added in the future .so you can work on different issues .till now there is no social media page available for algo phantom


feat: add pr title checker workflow

Issue:
This PR resolves issue #554
Fixes #554
Description:
This pull request addresses the need for a PR title checker to ensure conformity to conventional commit prefixes. The specified prefixes include 'build', 'chore', 'docs', 'feat', 'fix', 'perf', 'refactor', 'revert', 'style', and 'test'. Consistent PR titles are essential for maintaining clarity and organization in the project's version history.
Files added

.github/pr-title-checker.json
.github/workflows/pr-title-checker.yml

Solution:

Developed a PR title checker script to validate titles against the defined prefixes.
Integrated the checker into the project's CI/CD pipeline for automatic validation.
Defined clear error messages for non-compliant PR titles, aiding contributors in adhering to guidelines.

To-Do:

[x] Develop and test the PR title checker script.
[x] Integrate the checker into the CI/CD pipeline.
[x] Define error messages for non-compliant PR titles.

This PR enhances the project's contribution guidelines by automating the validation of PR titles, ensuring adherence to conventional commit prefixes. Contributions and feedback are encouraged for continuous improvement.
@pranshugupta54 please review this PR.
Thanks

Summary by CodeRabbit

New Features

Implemented a PR Title Checker to ensure pull request titles meet formatting standards.

🚀 looks good


Update farcaster core and amplify

Update farcaster_core to point on https://github.com/farcaster-project/farcaster-core on main and amplify dependencies to the latest versions.
General update of Cargo.lock and fix of new method name on amplify::Getters derive macro in service.rs.

Thank you for figuring that out!


Feature Request: RichTextField

Desired Feature
RichTextFX should have built-in support for TextFields (rather than entire TextAreas) that only contain a single line, rather than having multi-line capabilities.
Personally, I'd prefer just a setMultiline(false) on the current text areas rather than an entirely new TextField class. I think it'd save you time. The reason why is because it's not like a TextField really offers much custom functionality, plus it'd make it easier on my end because I can treat both the same, minus just setting a value to false.
Current Workarounds
See #763
Implementation Costs
It shouldn't be that hard to make since a lot of the baseline editing functionality already exists in RichTextFX, it's more of a matter of the developers having time to do it. From my outsiders viewpoint, anyway.

I hope I did this well enough for you. Let me know if you want it edited at all.
BTW, is there an ETA on the next release of RichTextFX? I really appreciate your work on the API along with being patient and helping me out as well. Thanks again.

I hope I did this well enough for you. Let me know if you want it edited at all.

Thanks. It works fine. A lot of the implementation costs aren't clear unless you're already very familiar with the inner workings of this project.
Implementation Costs:

Port a subset of GenericStyledArea's code to a Field class

The "viewport" would be a variant of ParagraphBox that has no index and that implements Virtualized and which is wrapped in a VirtualizedScrollPane. This could be changed to just a regular ScrollPane, but if one wanted to have a field and area interact with one another, it would be harder to do that and the API would be different between the two. So I don't think I support that.
The "model" document would be a single Paragraph. Although StyledDocument could be used to make it easier to work with the area version, it would take up unneeded memory. Plus, the paragraph could easily be 'wrapped' back into the StyledDocument context when needed.
The multiple caret/selection and multi-text-change would also need to work for a field
A subset of GenericStyledAreaBehavior would be created for the field's default behavior

Update API to be shared between both area and field where possible (e.g. insertText() should work for both, but replaceText would be different for the area as it would require a StyledDocument whereas the field would require a Paragraph)
Make a copy of a subset of the area tests and create instances of such tests for the field to insure it works properly and doesn't cause regressions
(Optional) Provide API to easily convert one instance to another (field to area and vice versa)

Personally, I'd prefer just a setMultiline(false) on the current text areas rather than an entirely new TextField class. I think it'd save you time. The reason why is because it's not like a TextField really offers much custom functionality, plus it'd make it easier on my end because I can treat both the same, minus just setting a value to false.

setMultiline(false) would be easier, but it wouldn't be the best code. This feature isn't really a high priority because a workaround exists, but the feature would still be desirable.

BTW, is there an ETA on the next release of RichTextFX? I really appreciate your work on the API along with being patient and helping me out as well. Thanks again.

I can turn the current snapshot into a release. Really, I'm not focused on this project right now as I'm currently working on Scala related things.

Well, there's no rush. When you get some time, if you can fix #761 (or let me know how to get around it), I'll probably be good to go for a release on what I've been making with RichTextFX. . I'll keep my eyes posted on the project, so no rush on getting that done. Great work and good luck to you!

Do you want to add your project to the list of "Who uses RichTextFX?" on the ReadMe? It's basically free publicity.

How do I submit a PR to the readme? I'm new to actually interacting with the github community. Lol

Do you mind just linking it on the readme? I have no idea how to do pull requests, it'd probably be faster if you just linked it real quick. Haha. But it's fine if you don't have time

Fork the repo on GitHub by going to the project's main page and click the Fork button
In a terminal, clone the forked repo: git clone https://github.com/YourUserName/RichTextFX.git
In a terminal, enter the directory of the just-cloned repo: cd richtextfx
open and edit the ReadMe to have - [Project Title](URL to project) below last line
In a terminal, commit the change: `git commit -m "Added [project name]"
In a terminal, push the change to your repo: git push
return to original RTFX project on GitHub and you'll see an option to open a PR. Click that button
Update the PR title to say "Add [project name] to list of who uses RTFX" and delete PR body's contents
Click "Submit PR"

I think I managed to do it? Let me know. Lol ; p

I haven't received a notification of any PR being submitted by you. Check the GitHub docs and follow them to insure you've done it properly.

I think I got it for real this time. Sorry about that. Haha


Add a dev branch notice

Notice

[x] I understand the code that I have edited, and have the means
to test it before making changes to Concord.

What?

I added a notice to the readme for users to check out the development branch.
Why?

People have been asking in the discord if the library is dead. This should help alleviate that.
How?

I just added a section to the readme.
Testing?

Not required

One of many such instances


bug: Missed types for PW in 'Advanced Example Project' boilerplate in WebStorm 2024.2 Kali Linux 2024.2

Node.js version
18.18.0
NPM version
9.8.1
@checkly/cli version
4.14.0
Steps to reproduce
npm create checkly
All default options selected with TS and "'Advanced Example Project'" + deps installation
open created projects in WebStorm 2024.2 running on Kali Linux 2024.2 LTS
What is expected?
PW types are expected to be available in IDE after default project installation
What is actually happening?
PW types are not available for IDE due to missed PW dependency in default package.json

Any additional comments?
To use PR types, I currently need to install them manually as described in ReadMe. It would be fantastic if they were included by default when creating a project with the CLI since PW files coming with CLI create command it is expected that types will be available out of the box.
Thank you in advance — you're building an amazing product!

Hi @sir-alex
I agree that this would be nice to have.
It seems that this particular issue is actually covered in the example project README files: https://github.com/checkly/checkly-cli/blob/75797f3761c7a419c7e074610e7494323de5618b/examples/advanced-project/README.md#adding-and-running-playwrighttest
While the original reasoning is unknown to me, as I have only very recently taken over the CLI, I believe the idea here has been that since you should match @playwright/test to the version available in your chosen runtime, it has probably been left out on purpose. It would likely be a better OOTB experience to just include the dependency anyway, with a version that matches the latest stable runtime, and include instructions to change the version when needed.

Hi @sorccu
Yes, I noticed the reference in the README about additional installation for this package, and I mentioned it in the original ticket description. From my perspective, it’s reasonable to expect that a project should work without extra setup right out of the CLI. This behavior aligns with expectations: what comes from an official blueprint should work out of the box.
Since Playwright (PW) tests are included in the official blueprint, it would be logical for the CLI to handle the necessary dependencies. This could be done as part of the main installation process or through a separate post-install script that logs errors differently.
Regarding the version-lock functionality you mentioned, most major package managers are quite advanced in handling this. It would be much safer to include PW as a dependency with a locked version to ensure compatibility with the current Checkly version. I’d recommend including it and locking the version. Let me know if you’d like me to create a PR for this.
By the way, it would be great to support PW as a library, not just playwright/test, since there are cases where this is necessary. Additionally, I’m really missing native support for Python and Java, which are significant parts of the PW community. Are there any plans to support Python or Java as PW does out of the box, or at least at the level of a transpiler?


Updating topbar to be full width

This is another test to see how the topbar looks at full width.
Here's a GIF:

Compare that to current topbar:

Mmm... I am not sure about this change... the left arrow has a "meaning" in the existing implementation and you are somehow losing that with this PR.

@damianavila ya, I kind of agree...I think we could add more things in the upper left and that might make it feel less awkward up there. But just to be clear: this PR isn't a "planned merge" it is just playing around with UX/UI

But just to be clear: this PR isn't a "planned merge" it is just playing around with UX/UI

Sure, my feedback was in that playing context...

cool - just wanted to make sure I wasn't confusing folks :-)

We could move the sidebar collapse button to be attached to the side bar's content-side edge, instead of in the topbar?

@pradyunsg ya something like that might make sense, although then I feel like we are back to square one on the main reason I wanted to play around with this, which is that the top-left of the page is kind of "dead space" right now 🤔

Status quo feels fine TBH. I'll probably spend some more time on sphinx-basic-ng this weekend, since that might make it easier to try things for us here.

Nice! Lemme know if you'd like a pair of 👀 on something in the NG theme

closing this one since it was mostly an experiment and it doesn't seem like there is a strong demand for a full-width topbar!


Sharing weights of ParSeNet

Hi Yujia,
Thanks for sharing the code!
I noticed that the weight of ParSeNet is no longer available. I couldn't find it in the ParSeNet repository. Can you kindly share the two weights files with an additional link?
Thanks in advance!

Hi, in ParSeNet  the version of PyTorch is 1.2 and i want to load the parsenet_no_normals.pth from your link.
I get: RuntimeError: ./logs/pretrained_models/parsenet_no_normals.pth is a zip archive (did you mean to use torch.jit.load()?)
and with torch.jit.load() i get:
File "/root/miniconda3/envs/parsenet/lib/python3.6/site-packages/torch/jit/init.py", line 162, in load
cpp_module = torch._C.import_ir_module(cu, f, map_location, _extra_files)
RuntimeError: version_number <= kMaxSupportedFileFormatVersion INTERNAL ASSERT FAILED at /pytorch/caffe2/serialize/inline_container.cc:131, please report a bug to PyTorch. Attempted to read a PyTorch file with version 3, but the maximum supported version for reading is 1. Your PyTorch installation may be too old.


diag_gate does not raise when diagonal entries do not have modulus 1

Information

Qiskit Terra version: 0.12.0
Python version: 3.6.9
Operating system: Linux

What is the current behavior?
diag_gate allows entries whose modulus are not one.
Steps to reproduce the problem
import qiskit
from numpy import exp,pi

backend = qiskit.Aer.get_backend("statevector_simulator")
qc = qiskit.QuantumCircuit(1)
qc.h(0)
qc.diag_gate([exp(1j*pi/8),0],qc.qregs)  # <-- no error here
qiskit.execute(qc,backend).result().to_dict()

What is the expected behavior?
An error should be raised.
Suggested solutions
Line 59 in https://github.com/Qiskit/qiskit-terra/blob/master/qiskit/extensions/quantum_initializer/diag.py#L59:
if not np.abs( np.abs(z) - 1 ) < _EPS:

Hey guys! I would like to give it a try. Just to be sure I understood it correctly, the second entry of the list which is 0 seems to be the problem right? Maybe the if case in Line 59 only checks the first entry, therefore no error is raised?

hey can I have a shot at this

hey can I have a shot at this

There's an old PR that should fix this, #4375. It has some merge conflicts, maybe you can check with @ewinston if you can brush it up, or create a new one based on that 🙂

There's an old PR that should fix this, #4375. It has some merge conflicts, maybe you can check with @ewinston if you can brush it up, or create a new one based on that 🙂


CTV: Clothes

Separates jumpsuits into clothes and pants.


[HOLD for payment 2024-12-30] NewDot application on staging consistently shows the error message "Uh-oh, something went wrong!" whenever it refreshes, either automatically in the background or through a manual refresh.

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number:
Reproducible in staging?: Needs Reproduction
Reproducible in production?: Needs Reproduction
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @davidcardoza
Slack conversation (hyperlinked to channel name): quality
Action Performed:

Open NewDot on the staging environment.
Navigate to any chat.
Allow the application to refresh automatically or perform a manual refresh.

Expected Result:
The application should load the content normally without errors after a refresh.
Actual Result:
The error message "Uh-oh, something went wrong!" is displayed regardless of the chat being viewed.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/212940a1-18fc-41f6-ace6-747f4a0461a2
onyx-state (3).txt

View all open jobs on GitHub
Issue OwnerCurrent Issue Owner: @twisterdotcom

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

Not able to reproduce yet but this is very likely a regression from https://github.com/Expensify/App/pull/53751

Okay I'm able to reproduce.
Reproduction steps:

Onyx.merge('user', {isGuide: true});
Refresh

https://github.com/user-attachments/assets/678a28b1-defd-43bc-abcb-a6e6bed9ea88

Since this is probably a regression and it's still within the regression period, the author should fix it. cc @jnowakow @allroundexperts @mountiny

Assigned you for the review @s77rt as you reproduced it, but if you think @allroundexperts should take it, LMK.

BugZero Checklist:

[X] [Contributor] Classify the bug:

Bug classification

Source of bug:

[ ] 1a. Result of the original design (eg. a case wasn't considered)
[X] 1b. Mistake during implementation
[ ] 1c. Backend bug
[ ] 1z. Other:

Where bug was reported:

[ ] 2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
[X] 2b. Reported on staging (eg. found during regression or PR testing)
[ ] 2d. Reported on a PR
[ ] 2z. Other:

Who reported the bug:

[ ] 3a. Expensify user
[X] 3b. Expensify employee
[ ] 3c. Contributor
[ ] 3d. QA
[ ] 3z. Other:

[X] [Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: https://github.com/Expensify/App/issues/53752#issuecomment-2542576595

[X] [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: n/a

[X] [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Bug requires regression test: No. This bug can only be reproducible by guides and it's a crash where a test is not really needed

Regression Test Proposal Template

[ ] [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:

Regression Test Proposal
Precondition:

Test:

Do we agree 👍 or 👎


ci: config release message and assets

Requirements

Fill out the template below.
The pull request must update the test suite.
After you create the pull request, all status checks must be pass.

Type

[ ] Bug fix
[ ] Feature change
[ ] Refactor
[x] Documentation
[x] CI/CD
[ ] Test
[ ] Build
[ ] Style
[ ] Chore

Issue (only for type bug fix/feature change)
Description of the Change

ci: add config for @semantic-release/git
docs: improve CONTRIBUTING.md

Possible Drawbacks
None

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

npm package (@latest dist-tag)
GitHub release
v1.0.3

Your semantic-release bot :package::rocket:


Optimize get_alphabet_position()

Improve get_alphabet_position() by using a lookup table to streamline performance, and have it also accept lowercase characters, obviating the use of ctype.h::toupper(). (Also eliminates dependency on std::find().)
TESTED=Passes all tests.

Thanks for the changes and the PR!


Verbnet longid() method returns wrong results on some shortids

For verbnet3.3 corpus,
verbnet.longid("114-1") is supposed to return longid "act-114-1", but it instead returns "114-1".
It seems that the bug is rooted in the regex in verbnet.py, which wrongly matches "114-1" as a longid :
    _LONGID_RE = re.compile(r"([^\-\.]*)-([\d+.\-]+)$")
I currently use _LONGID_RE = re.compile(r"([A-Za-z_]*)-([\d.\-]+)$") as a workaround.

Hi! Can i work on this issue?

I'm open to a PR on this.


Add DefaultBindParameters to classes

This is a follow-up to https://github.com/kubernetes-incubator/service-catalog/issues/2348. Once that is completed, use it as an example of of how to implement and test this related feature. It should add DefaultBindParameters to classes, on the CommonServiceClassSpec, and combine the class level params with the plan level params and the binding params.
This allows an operator to define defaults at the class level, tweak it at the plan level, and then a developer can use them (or override them) when they create a ServiceBinding for that class+plan.
See the proposal for additional context and details: https://github.com/carolynvs/service-catalog/blob/default-service-plan-proposal/docs/proposals/default-service-plans.md#binding-with-defaults. The scope of this issue is only the changes to the resource definitions and the controller, not svcat.

/remove-lifecycle rotten
/lifecycle frozen

This project is being archived, closing open issues and PRs.
Please see this PR for more information: https://github.com/kubernetes/community/pull/6632


Improve frontend

Although a cool website, the frontend of this website could be a lot better and I would take to take the initiative to make the website look cleaner. I am sure there are a lot of other contributors who would also be interested. Thank you.

🎮 Interest in Contributing to TicTacToe Front-End
Hi Rupok,
I hope you're doing well. My name is José Leandro, and I'm interested in contributing to the front-end of your TicTacToe game. 🎨 I find the game really interesting and would love to help enhance its visual appeal and user experience.
I'm particularly eager to gain experience in open-source contributions, especially in games-related projects, which is my personal passion. 🕹 Before I get started, I have a few questions:
🛠 Are there any specific areas of the front-end that you feel need improvement?
📌 Could you provide some guidance or examples of the style or features you'd like to see?
📐 Is there any existing design or user interface guideline I should follow?
📐 How do you imagine what the front end of your TicTacToe has to be?
I’m excited about the opportunity to work on this project and contribute to its success. I am looking forward to your guidance!
Thank you for your time.


segfault in 0.29

Trying to search a directory as I have before, I get a segfault.
I compiled a binary and ran it in gdb, here's some debug info:
(gdb) run editCommentAction
Starting program: /Users/gsmolyn/the_silver_searcher/ag editCommentAction
warning: Could not open OSO archive file "/BinaryCache/corecrypto/corecrypto-233.1.2~26/Symbols/BuiltProducts/libcorecrypto_static.a"
warning: `/BinaryCache/coreTLS/coreTLS-35.1.2~2/Objects/coretls.build/coretls.build/Objects-normal/x86_64/system_coretls_vers.o': can't open to read symbols: No such file or directory.
warning: Could not open OSO archive file "/BinaryCache/coreTLS/coreTLS-35.1.2~2/Symbols/BuiltProducts/libcoretls_ciphersuites.a"
warning: Could not open OSO archive file "/BinaryCache/coreTLS/coreTLS-35.1.2~2/Symbols/BuiltProducts/libcoretls_handshake.a"
warning: Could not open OSO archive file "/BinaryCache/coreTLS/coreTLS-35.1.2~2/Symbols/BuiltProducts/libcoretls_record.a"
warning: Could not open OSO archive file "/BinaryCache/coreTLS/coreTLS-35.1.2~2/Symbols/BuiltProducts/libcoretls_stream_parser.a"
[New Thread 0x111b of process 37592]
[New Thread 0x1203 of process 37592]
[New Thread 0x1303 of process 37592]
[New Thread 0x1403 of process 37592]
[New Thread 0x1503 of process 37592]
[New Thread 0x1603 of process 37592]
[New Thread 0x1703 of process 37592]
Program received signal SIGSEGV, Segmentation fault.
filename_filter (path=0x1002000a0 ".", dir=0x100803000, baton=) at src/ignore.c:382
382	        if (filename[i] == '.') {
(gdb) bt
#0  filename_filter (path=0x1002000a0 ".", dir=0x100803000, baton=) at src/ignore.c:382
#1  0x000000010000586d in ag_scandir (dirname=0x100803015 "filter-api", namelist=0x7fff5fbff3d8, filter=0x1, baton=0x7fff5fbff3c0) at src/scandir.c:28
#2  0x0000000100006b0d in search_dir (ig=0x1002001f0, base_path=0x10000ec40  "", path=0x1 <error: Cannot access memory at address 0x1>, depth=0, original_dev=0) at src/search.c:425
#3  0x0000000100008e69 in main (argc=, argv=) at src/main.c:169
(gdb) f 0
#0  filename_filter (path=0x1002000a0 ".", dir=0x100803000, baton=) at src/ignore.c:382
382	        if (filename[i] == '.') {
(gdb) p i
$1 = <optimized out>
(gdb) p filename
$2 = 0x100803015 "filter-api"

filter-api is a directory

Line 382 is
for (i = filename_len - 1; filename_len > 1; i--) {
I think that second filename_len is supposed to be i?

I just noticed this issue after pushing a fix for #598. Master and 0.29.1 should work fine for you.

Thanks! :+1:

Thanks! :+1:


Add support for Spring Boot 3.2.0

Hi @mibo could you please check this PR?

Hi @iliyan-velichkov , Thanks for your contribution and sorry for the late response.
I will check but I can not promise that I have time to work on this in January.

@mibo sure, review it when you have team, meanwhile we created our own fork for this

@mibo When is this PR expected to be merged?

@mibo When is this PR expected to be merged?

@neyasanand consider to use our fork https://github.com/codbex/olingo-odata2 until this PR is merged.

@mibo When is this PR expected to be merged?

@neyasanand consider to use our fork https://github.com/codbex/olingo-odata2 until this PR is merged.

Hi @iliyan-velichkov, Thanks for the quick reply. Would codbex version with spring boot 3 changes be available in mvnrepository as a tagged version?

@mibo When is this PR expected to be merged?

@neyasanand consider to use our fork https://github.com/codbex/olingo-odata2 until this PR is merged.

Hi @iliyan-velichkov, Thanks for the quick reply. Would codbex version with spring boot 3 changes be available in mvnrepository as a tagged version?

We used this forked version in the Dirigible project
It is officially released in the maven central - https://mvnrepository.com/search?q=com.codbex.olingo

@luksmi would you merge it?

Hi all, sorry for the (long) delay.
I plan to review and merge this PR in the next weeks.
If everything looks fine (what I expect) I will prepare and do the related release in June/July.

Hi all, sorry for the (long) delay. I plan to review and merge this PR in the next weeks. If everything looks fine (what I expect) I will prepare and do the related release in June/July.

that's great

Hey @iliyan-velichkov
if I understand the PR right, it will introduce java 17 consumption as well?
Best
Alex

@alexanderparr yes, it supports java 17.The forked codbex version which I mentioned above (which is the same as this one but released) is in use in the Eclipse Dirigible version since February and it performs well. No issues so far.

Hi all, sorry for the (long) delay. I plan to review and merge this PR in the next weeks. If everything looks fine (what I expect) I will prepare and do the related release in June/July.

@mibo do you have any update on this PR?

@iliyan-velichkov , how about the fastinfoset version for java 17?


renegade checkNull()

In this code:
object extends Class() {
    Class? realClass = null;
    type => realClass?.type;
}

I get:
ceylon.language.AssertionError "null value returned from native call not assignable to Object"
	at com.redhat.ceylon.compiler.java.Util.checkNull(Util.java:985)
	at org.intellij.plugins.ceylon.ide.ceylonCode.model.scanJavaIndex_$1anonymous_1_$1anonymous_4_.getType(scanJavaIndex.ceylon:152)
	at com.redhat.ceylon.ide.common.util.types_.getResultType(types.ceylon:30)

There should be no call to checkNull() here, since type has unchecked nulls.

Note: this is a result of #6331.

@FroMage would you take a look, please?

OK that one is funny. Shortcut refinement is the only way to create a declaration with type String and uncheckedNull in Ceylon. You can't do that with refular refinements, where you'd have to either declare it String (it would not typecheck here because the RHS is optional) or more likely, String? which would not be uncheckedNull.
Are you sure this is the right thing to support? Perhaps shortcut refinements of that form should have type String? if the refined method has uncheckedNull set, no? This would make it more regular and less surprising.

Shortcut refinement is the only way to create a declaration with type String and uncheckedNull in Ceylon.

Right, as noted, this is the only case where a Ceylon declaration has an uncheckedNull. It's because it's not really a declaration. It's more like an assignment.

Are you sure this is the right thing to support?

I'm sure, yes. It's the only reasonable way.

OK done.

Great, thanks.


Unable to handle uri with colon.

I have an api with colon in the uri syntax ('/document/demo/22:0'), which is not able to be correctly parsed by guzzle.
It is likely to be the issue of php function parse_url() as the error says
"InvalidArgumentException: Unable to parse URI: /document/demo/22:0 in /var/www/html/demo/vendor/guzzlehttp/psr7/src/Uri.php:53 Stack trace: ..."
Not sure if this is a general issue or a special case in php7.
Versions:
guzzle 6.2.1
php 7.0.8-0ubuntu<IP_ADDRESS>

Please, check you full URI. Because a colon works well on both PHP 5.6 & 7.0:
$ psysh
Psy Shell v0.7.2 (PHP 7.0.8 — cli) by Justin Hileman
>>> parse_url('http://example.com/document/demo/22:0')
=> [
     "scheme" => "http",
     "host" => "example.com",
     "path" => "/document/demo/22:0",
   ]

Thanks for helping, but strangely I'm still getting the issue reproduced consistently.
I'm pretty sure the colon was the problem maker as removing the colon leads to a successful request while putting it back reproduce the issue.
here is the full error message:
InvalidArgumentException: Unable to parse URI: /document/ubccourse16w/22:0 in /var/www/html/demo/vendor/guzzlehttp/psr7/src/Uri.php:53 Stack trace: #0 /var/www/html/demo/vendor/guzzlehttp/psr7/src/functions.php(59): GuzzleHttp\Psr7\Uri->__construct('/document/ubcco...') #1 /var/www/html/demo/vendor/guzzlehttp/guzzle/src/Client.php(142): GuzzleHttp\Psr7\uri_for('/document/ubcco...') #2 /var/www/html/demo/vendor/guzzlehttp/guzzle/src/Client.php(115): GuzzleHttp\Client->buildUri('/document/ubcco...', Array) #3 /var/www/html/demo/vendor/guzzlehttp/guzzle/src/Client.php(129): GuzzleHttp\Client->requestAsync('GET', '/document/ubcco...', Array) #4 /var/www/html/demo/test.php(22): GuzzleHttp\Client->request('GET', '/document/ubcco...', Array) #5 /var/www/html/demo/test.php(48): OriendbAPI->__http_get('/document/ubcco...') #6 /var/www/html/demo/test.php(67): OriendbAPI->_api_document_get('22:0') #7 /var/www/html/demo/test.php(83): OriendbAPI->getDocument('22:0') #8 {main}message
Would that matter if I'm running the code on nginx + php-fpm?

Thanks for helping, @alexeyshockov. After your inspiration I've done some more debugs and find out the $uri passed in to the parse_url() function was the string "/document/demo/22:0", not the full string with host and port.
As you may confirm the result in Repl.it, it seems like parse_url() had treated the colon as the delimiter for :
PHP 7.0.8 (cli) (built: Jun 23 2016 23:39:14) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
   parse_url("/document/demo/22:0");
=> false
   parse_url("/document/demo/22");
=> {"path":"\/document\/demo\/22"}

So, I end up with solving my case by passing in the full uri with host and ports included. But this is a bug either of faulty implementation parse_url() from php, or an improper usage of parse_url() of guzzle.
Should I change this issue into a bug report?

I'm not sure if it's a bug, because URL parsers in other languages have the same behaviour.
$ scala
Welcome to Scala 2.11.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_66).
Type in expressions for evaluation. Or try :help.

scala> val u = new java.net.URL("/document/demo/22:0")
java.net.MalformedURLException: no protocol: /document/demo/22:0
  at java.net.URL.<init>(URL.java:586)
  at java.net.URL.<init>(URL.java:483)
  at java.net.URL.<init>(URL.java:432)
  ... 32 elided

I can not find the exact chapter in the RFC now, but it seems not a bug.

There is already a long-standing bug report for that on PHP. IMO this can be closed as it should be fixed by php. Also the problem is more in https://github.com/guzzle/psr7 and not here.

Agreed with Tobion -- this is a PHP stdlib issue.

FWIW, the PHP bug is this:
#71646: parse_url fails to parse relative url with port-like string in url
Previously reported in #55511 broken parse_url, but that was marked as Bogus.

I was able to solve this issue putting the URL like this:
/api/v1/rest/account/advertiser:1
for this:
'/api/v1/rest/account/advertiser:1**?**


Change the use of "table", "normal table", and "model table" to be consistent

Currently we sometimes use "table" to refer to both normal tables and model tables and to refer to just normal tables. This should be changed so we consistently always use "table" when we refer to both, "normal table" when we refer to tables with any kind of data, and "model table" when we refer to tables that use ModelarDB model-based compression.

Maybe add a is_normal_table() and a is_model_table() method to the table metadata manager and use it in the methods to drop and truncate and in tests.


3.9.3 not displaying job title

I was running 3.9.2 without issue. {jobs} parameter inserted into chat overlay permissions. All was working fine.
Now with 3.9.3 the preface in chat just shows "{jobs}" and not the actual job list. I have double checked the parameters and config settings to make sure nothing has changed.
All jobs have the same setting: chat-display: shortjob
Changing this to shorttitle generates an error in the console.
Side note: The options available should be...
full, short, both, none
The current list of full, title, job, shortfull, shorttitle, shortjob and none makes no sense.

Check if you have modify-chat: true in your generalConfig file.

Yes that is set "true". As I said this and all other settings worked fine with 3.9.2.

Try running without any additional plugin as this can be caused by 3rd party plugin changing chat formating. or try to add {jobs} into prefix for your chat plugin and disable modify-chat

You don't joined a job. You need to join the job because if you not joined to job then not showing.
commit


Street wear culture

i think i forgot to add the title

Closing issue as we've transitioned to Ghost CMS.


Only use all in star imports

We're using the result of __all__ to determine what a module exports; this isn't completely correct. __all__ only impacts what is transferred in from foo import * style import. All other names are passed through (ignoring _ prefixed names, other than specific ones like __all__ or __name__, etc). See:

https://docs.python.org/3.7/tutorial/modules.html#importing-from-a-package
https://stackoverflow.com/questions/44834/can-someone-explain-all-in-python

There are likely other nuances to consider here.

This all goes to the PythonModule.GetMemberNames: should it return exported members or all members (i.e.: dir(module)).

Mikhail had suggested that GetMemberNames would be like dir, and then we expose something else for the import handler instead.


[0.60.0] Regression in border radius rendering

Edit: This is on Android, I haven't tested iOS.
Border radius rendering is broken in 0.60.0 when the border radius is less than or equal to the border width.
See screenshots:

0.59.10
0.60.0

React Native version:
System:
    OS: Linux 4.15 Ubuntu 16.04.6 LTS (Xenial Xerus)
    CPU: (8) x64 Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
    Memory: 674.33 MB / 15.54 GB
    Shell: 4.3.48 - /bin/bash
  Binaries:
    Node: 8.11.3 - ~/.nvm/versions/node/v8.11.3/bin/node
    Yarn: 1.16.0 - /usr/bin/yarn
    npm: 5.6.0 - ~/.nvm/versions/node/v8.11.3/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    Android SDK:
      API Levels: 22, 24, 26, 27, 28, 29
      Build Tools: 23.0.1, 26.0.1, 26.0.2, 26.0.3, 27.0.0, 27.0.3, 28.0.2, 28.0.3, 29.0.0
      System Images: android-22 | Google APIs Intel x86 Atom_64, android-24 | Google APIs ARM 64 v8a, android-24 | Google APIs Intel x86 Atom, android-24 | Google APIs Intel x86 Atom_64, android-24 | Google Play Intel x86 Atom, android-25 | Google Play Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom_64
      Android NDK: 17.1.4828580
  IDEs:
    Android Studio: 3.4 AI-183.6<IP_ADDRESS>22156
  npmPackages:
    react: 16.8.6 => 16.8.6
    react-native: 0.60.0 => 0.60.0
  npmGlobalPackages:
    create-react-native-app: 2.0.2
    react-native-cli: 2.0.1
    react-native-create-library: 3.1.2
    react-native-git-upgrade: 0.2.7

Steps To Reproduce

Create a react-native 0.60.0 app
Create a view with a border width of x and a border radius <= x
Rounded corners are not rendered :sob:

Describe what you expected to happen:
Rendering to be the same as in 0.59.10, where rounded corners are rendered correctly.
Snack, code example, or link to a repository:
https://github.com/mjmasn/BorderRadius59 (working)
https://github.com/mjmasn/BorderRadius60 (regression)

@mjmasn I have copied your code in snack and it has worked well. See in snack

@ecreeth Expo SDK33 is still on React Native 0.59.0.

Hello @JonnyBurger and @mjmasn I submitted a fix for this problem. Comments and suggestions are appreciated.
https://github.com/facebook/react-native/pull/25626
thank you very much.


Added hover effect on nav links

added hover effect on links, they will change color and background color, added transition as well"

the hover effect is in the links in the nav items, I added a background color and they should change the text color as well

@Diegoireland1975 I have looked a few times through the code that is found in the 'Files Changed' tab, and I don't see a background color, text color or hover effect for any nav items. I'm sorry. Are you sure. you committed and synced all of your changes?

@michaella23 Hi
Yes I committed the changes.
If it's not showing maybe I did something wrong when I created a pull request.
I will review the code.
Could I create another pull request?

Could I create another pull request?
@Diegoireland1975 yes of course! But you may not need to... I think if you stage and commit the new changes, and then sync those changes it will show up on this PR. Take a look and see.

I went and looked at your fork of the project and I see two different commits - one has styles on the nav elements, but the other one removes the styles from those elements

@michaella23 I tried to push the commit again, now they appear to be in file changed


WIP padLinear

Closes #150
Please let me know if this looks like a good direction. With some encouragement I'm happy to flesh out the PR with README updates - but first I want to confirm this direction is acceptable. Thanks for reviewing!

It would be nice to see how this would work for other types of scales (log, sqrt…)

An idea from https://observablehq.com/@mbostock/inequality-in-american-cities :
function padLog(x, k) {
  return padLinear(x.map(Math.log), k).map(Math.exp);
}


Adjust translator golden test to cover KongClient with fallback configuration propagation

This should mock Admin API on the HTTP server level and ensure that the config that gets to the Gateway is as expected. The test should include a test case for every object type we support with all possible dependencies attached to it, asserting the expected outcome.
### Tasks
- [x] Service
- [x] Ingress
- [x] HTTPRoute
- [x] TLSRoute
- [x] TCPRoute
- [x] UDPRoute
- [x] GRPCRoute
- [x] KongPlugin
- [x] KongClusterPlugin
- [x] KongConsumer
- [x] KongConsumerGroup
- [x] UDPIngress
- [x] TCPIngress
- [x] KongServiceFacade
- [x] IngressClass
- [x] Secret
- [x] KongUpstreamPolicy
- [x] KongVault

ℹ Removed resources that are not dependency on any other resource from the required resources to be covered.


dact-1816 add user auth interceptor to stop screen api

JIRA https://companieshouse.atlassian.net/browse/DACT-1816

Not needed as removing


NodeToClient ChainSync with block metadata

A draft of how db-sync will look like with https://github.com/input-output-hk/ouroboros-network/pull/2901 improvements

Adding a hydra-dont-build label to this PR to avoid hydra re-evaluating an error repeatedly:
building '/nix/store/f8zigvc69ng68ysqnd6akphhijflhgxn-cardano-db-sync-plan-to-nix-pkgs.drv' on<EMAIL_ADDRESS>Using index-state 2021-01-08T00:00:00Z
When using configuration(s) from /build/tmp.m3tPMBGbPg/cabal.project, the following errors occurred:
The package location '../ouroboros-network/ouroboros-consensus' does not exist.
The package location '../ouroboros-network/ouroboros-network' does not exist.
The package location '../ouroboros-network/ouroboros-network-framework' does not exist.
The package location '../ouroboros-network/ouroboros-consensus-cardano' does not exist.
The package location '../ouroboros-network/ouroboros-consensus-shelley' does not exist.
The package location '../ouroboros-network/ouroboros-consensus-byron' does not exist.
The package location '../ouroboros-network/cardano-client' does not exist.
The package location '../ouroboros-network/network-mux' does not exist.
The package location '../ouroboros-network/typed-protocols' does not exist.
The package location '../ouroboros-network/io-sim' does not exist.
The package location '../ouroboros-network/io-sim-classes' does not exist.
The package location '../ouroboros-network/ouroboros-network-testing' does not exist.
The package location '../ouroboros-network/typed-protocols-examples' does not exist.
The package location '../ouroboros-network/Win32-network' does not exist.
The package location '../cardano-node/cardano-api' does not exist.

builder for '/nix/store/f8zigvc69ng68ysqnd6akphhijflhgxn-cardano-db-sync-plan-to-nix-pkgs.drv' failed with exit code 1

Feel free to remove the label when you want hydra to try building this PR again.

Probably not happening. Closing


Long press / press and hold function

Is your feature request related to a problem? Please describe.
At the moment it is not possible to hold a button. The callback function is called immediately until the release.
Describe the solution you'd like
Would it be possible to enable a function to differer between a one time press and a long press / press and hold and the release?
Additional context
As an example, I press and hold the volume down button to start some speech recording and when the button is released a speech-to-text function gets startet. A bit like an old school walkie-talkie 😅

@stnbndr I think that this feature https://github.com/capacitor-community/volume-buttons/issues/6 should satisfy your needs. It should allow to subscribe to receive the appropriate events on key down, key up or both, and therefore you can track when a volume button was pressed and released. Please let me know your thoughts.

@ryaa  thanks for your feedback. I have read through the feature #6 request. That sounds good to me. I think that could also solve my problem. I'm looking forward for the next release of the plugin with that feature included 😁
Thank you for your work!
Litte side note: I have already testet the plugin with Capacitor 6.0 and it was working out-of-the-box 👍


Lag when it comes to breaking blocks 1.19.2

Describe the bug
Lag when breaking blocks, it's like the ghost block problem and I know I have no lag
To Reproduce
Steps to reproduce the behavior:

install the mod in the server with the modpack that I have
break blocks to see if the error happens

Expected behavior

Screenshots
breaking blocks without VMP: https://streamable.com/ej4nq6
breaking blocks with VMP: https://streamable.com/pnl1rl
Runtime info (please complete the following information):

OS:  windows 11
Minecraft version: 1.19.2
Mod version: 0.2.0+beta.7.11+1.19.2
Mod branch: (fill this if you are not using the default ver branches)

Crash reports / logs
latest (1).log
Other mods
Checklist

[x] I am using the official version of the mod.
[x] I tried the latest development version but the issue persists.
[x] I searched for similar open issues and could not find an existing bug report on this.

Additional context

I experience the same issue. The mods we have in common are: cloth api, cloth config, fabric language kotlin, fabric api, ferritecore, krypton, lazydfu, lithium, memoryleakfix, nochatreports, spark, and vmp.

It's reproducible even without other client/server mods. Setting use_packet_priority_system to false resolves it for me.

This feature is now put back to experimental state and is now disabled by default.


Refactor Opcode fromstr

Working on simplifying the opcode so that adding new ones won't take as long to work on

Seems Adam has everything covered here

Is there a reason that the following still exist in opcode?
@classmethod
def from_str(cls, command: str, parameters: str):
    """
    Parses a command string into an instance of the opcode class
    :param command: The command itself (e.g. 'MOVE.B', 'LEA', etc.)
    :param parameters: The parameters after the command (such as the source and destination of a move)
    """
    pass

@staticmethod
def is_valid(command: str, parameters: str) -> (bool, list):
    """
    Tests whether the given command is valid
    :param command: The command itself (e.g. 'MOVE.B', 'LEA', etc.)
    :param parameters: The parameters after the command (such as the source and destination of a move)
    :return: Whether the given command is valid and a list of issues/warnings encountered
    """

@staticmethod
def get_word_length(command: str, parameters: str) -> (int, list):
    """
    Gets the final length of a command in memory in words
    :param command: The command itself (e.g. 'MOVE.B', 'LEA', etc.)
    :param parameters:  The parameters after the command (such as the source and destination of a move)
    :return: The length of the command in memory (in words) and a list of issues/warnings encountered during assembly
    """

pass


Gimica text

This hasn't been well tested.  Only the card names are marked currently - not sure if it works or if there's more text.
-[Unknown]

I've actually tried this out now and fixed some things.  Going to close, given that.
-[Unknown]


Help: combobox filled dynamically keeps the old values

I have a form where a combobox is filled dynamically via Javascript. My ConversationalForm shows only the old value from page load. How can I refesh the values in ConversationalForm after populating the combobox?
Thank you.

hi @JoergVistra for this I would suggest you to manually start Conversational Form. So await the value-filling of the combobox and then initiate Conversational Form, like this jsbin

Hi, thank you for the fast answer.
I need a way to update the values in the combobox during the chat, because they depend a previous answer.
The user picks a date from a datepicker and after that the combobox is filled with available timeslots for this day.
Could it be done with remapTagsAndStartFrom?

@JoergVistra let me take a look at how to handle runtime removing/adding elements of fieldset and select tags, will get back to you tomorrow afternoon with an update.

@JoergVistra i've been looking in to this now, currently, removing an element from the original form tag is not something that is taken care of. But modifying remapTagsAndStartFrom to accommodate for removing tags would be an easy-fix. Alternatively an API to remove á tag would also be beneficial, where the parameter would just be the original tag to be removed, this could both be a group (select, fieldset) or a input, option. Let me know what you think.

sorry the late response. Went with the API solution. Only delete the tag from tags and add it again. Works great, thank you.
And really great work that you are doing with this project.


tgt: iscsiadm failed to logout (timeout) in some situation

As drone shows:
https://drone.rancher.io/rancher/longhorn/50
<IP_ADDRESS> - - [01/Nov/2016:23:01:28 +0000] "DELETE /v1/replicas/1 HTTP/1.1" 200 268
time="2016-11-01T23:01:28Z" level=info msg="Shutdown SCSI device for <IP_ADDRESS>:iqn.2014-07.com.rancher:test-volume"
time="2016-11-01T23:01:28Z" level=error msg="Replicator.ReadAt:1 Volume no longer exist"
time="2016-11-01T23:02:28Z" level=error msg="Setting replica tcp://localhost:9505 to ERR due to: Volume no longer exist"
time="2016-11-01T23:02:28Z" level=error msg="Error when shutting down frontend:Fail to stop SCSI device: Fail to logout target: Timeout executing: nsenter [--mount=/host/proc/1/ns/mnt --net=/host/proc/1/ns/net iscsiadm -m node -T iqn.2014-07.com.rancher:test-volume --logout -p <IP_ADDRESS>], output , error <nil>"
time="2016-11-01T23:02:28Z" level=error msg="Ignoring error because tcp://localhost:9502 is mode RW: tcp://localhost:9505: Volume no longer exist"
time="2016-11-01T23:02:28Z" level=info msg="Closing: localhost:9502"

Seems if backend doesn't response when logging out can result in this kind of scenario. The sequence above seems show that read/write happens before backend was removed from controller, thus caused trouble for logout.

log from iscsid in syslog
Nov  7 19:41:56 drone-agent0 iscsid: Connection116:0 to [target: iqn.2014-09.com.rancher:test-volume, portal: <IP_ADDRESS>,3260] through [iface: default] is shutdown.
Nov  7 19:41:56 drone-agent0 iscsid: Connection117:0 to [target: iqn.2014-09.com.rancher:test-volume, portal: <IP_ADDRESS>,3260] through [iface: default] is operational now

Nov  7 19:42:05 drone-agent0 kernel: [929880.086779] unregister_netdevice: waiting for veth1444114 to become free. Usage count = 1
Nov  7 19:42:05 drone-agent0 kernel: [929880.454915] unregister_netdevice: waiting for vethb5fba63 to become free. Usage count = 1
Nov  7 19:42:14 drone-agent0 dd.collector[2006]: CRITICAL (docker_daemon.py:213): Error while fetching server API version: ('Connection aborted.', error(13, 'Permission denied'))
Nov  7 19:42:14 drone-agent0 dd.collector[2006]: WARNING (__init__.py:679): Initialization failed. Will retry at next iteration
Nov  7 19:42:15 drone-agent0 kernel: [929890.234753] unregister_netdevice: waiting for veth1444114 to become free. Usage count = 1
Nov  7 19:42:15 drone-agent0 kernel: [929890.574890] unregister_netdevice: waiting for vethb5fba63 to become free. Usage count = 1
Nov  7 19:42:25 drone-agent0 kernel: [929900.494786] unregister_netdevice: waiting for veth1444114 to become free. Usage count = 1
Nov  7 19:42:25 drone-agent0 kernel: [929900.846922] unregister_netdevice: waiting for vethb5fba63 to become free. Usage count = 1
Nov  7 19:42:26 drone-agent0 multipathd: sdc: remove path (uevent)
Nov  7 19:42:28 drone-agent0 dd.forwarder[2005]: INFO (transaction.py:167): Flushing 1 transaction during flush #305680
Nov  7 19:42:33 drone-agent0 dd.collector[2006]: CRITICAL (docker_daemon.py:213): Error while fetching server API version: ('Connection aborted.', error(13, 'Permission denied'))
Nov  7 19:42:33 drone-agent0 dd.collector[2006]: WARNING (__init__.py:679): Initialization failed. Will retry at next iteration
Nov  7 19:42:35 drone-agent0 kernel: [929910.846850] unregister_netdevice: waiting for veth1444114 to become free. Usage count = 1
Nov  7 19:42:35 drone-agent0 kernel: [929910.966906] unregister_netdevice: waiting for vethb5fba63 to become free. Usage count = 1
Nov  7 19:42:46 drone-agent0 kernel: [929921.102886] unregister_netdevice: waiting for vethb5fba63 to become free. Usage count = 1
Nov  7 19:42:46 drone-agent0 kernel: [929921.186917] unregister_netdevice: waiting for veth1444114 to become free. Usage count = 1
Nov  7 19:42:53 drone-agent0 dd.collector[2006]: CRITICAL (docker_daemon.py:213): Error while fetching server API version: ('Connection aborted.', error(13, 'Permission denied'))
Nov  7 19:42:53 drone-agent0 dd.collector[2006]: WARNING (__init__.py:679): Initialization failed. Will retry at next iteration
Nov  7 19:42:56 drone-agent0 kernel: [929931.258881] unregister_netdevice: waiting for veth1444114 to become free. Usage count = 1
Nov  7 19:42:56 drone-agent0 kernel: [929931.346909] unregister_netdevice: waiting for vethb5fba63 to become free. Usage count = 1
Nov  7 19:42:56 drone-agent0 iscsid: session in invalid state for logout. Try again later
Nov  7 19:42:57 drone-agent0 iscsid: Connection117:0 to [target: iqn.2014-09.com.rancher:test-volume, portal: <IP_ADDRESS>,3260] through [iface: default] is shutdown.
Nov  7 19:42:57 drone-agent0 iscsid: IPC qtask write failed: Broken pipe

Nothing showing for /var/log/tgtd.log inside container.

I cannot really verify the fix of this issue since it's hard to reproduce. Feel free to reopen in the future if it happenes again.

No, it's still happening... Reopen the bug.

Reproduced with Ubuntu 14.04.5 LTS and SMP = 4, memory = 4G on KVM virtual machine.

logs in dmesg:
[  167.307970] sd 2:0:0:1: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  167.310036] sd 2:0:0:1: [sda] tag#0 Sense Key : Medium Error [current]
[  167.311544] sd 2:0:0:1: [sda] tag#0 Add. Sense: Unrecovered read error
[  167.313250] sd 2:0:0:1: [sda] tag#0 CDB: Read(10) 28 00 00 00 00 08 00 00 08 00
[  167.314939] blk_update_request: critical medium error, dev sda, sector 8
[  167.316599] Buffer I/O error on dev sda, logical block 1, async page read
[  167.318263] Dev sda: unable to read RDB block 8

At least, in this case, the issue was triggered by immediate shutdown ISCSI client after brought it up. I've tried to add 5 seconds interval before the logout operation, then the issue disappears.
Also, it takes about 80 seconds for iscsid responses to the logout.

It's because of current TGT Longhorn code doesn't have a mechanism for the server (longhorn controller) to notify client (TGT) of disconnection. Also after disconnection, the existing commands in the queue weren't drained.
I've added two fixes for it:

One more message type was added: TypeClose. It's used to notify close of disconnection.
The timeout handler was added to the command handler. It's 15 seconds by default, which is the same of default in Longhorn controller/replica communication.


Speed of sign

Hello,
I was expecting this library to make sign progress faster, but somehow its 20x slower than other libraries. (30-40ms)
Any workaround on this ? I was expecting lower than <1 ms, because there are other libraries can handle sign in 2ms.
Am i doing something wrong ?

I have added benchmark in https://github.com/paulmillr/micro-eth-signer/commit/9be401599089aacbdbd486f8f437e3ce1c92a5e8
It is fast enough:
tx.sign() create x 3,773 ops/sec @ 265μs/op
To execute the benchmark, do npm install && npm run bench

I ran the benchmark and i almost got the same results.
But somehow when i try to benchmark it with performance.now() i goet result like 20+ms
21.73429200053215 Transaction {   hardfork: 'london',   hex: '0x02f86f01010185174876e80082520894df90dea0e0bf5ca6d2a7f0cb86874ba6714f463e880de0b6b3a764000080c080a07b135cec49f168ce86a951df186b2ce2d8ee682ade7e3e819346a29eb908a4f4a0286fc6d85e581336b75604e3c9056e5e66a92f8f35533825f51cdea8662db82a',   type: 'eip1559',   raw: {     chainId: '0x01',     nonce: '0x01',     maxPriorityFeePerGas: '0x01',     maxFeePerGas: '0x174876e800',     gasLimit: '0x5208',     to: '0xdf90dea0e0bf5ca6d2a7f0cb86874ba6714f463e',     value: '0x0de0b6b3a7640000',     data: '',     accessList: [],     yParity: '',     r: '0x7b135cec49f168ce86a951df186b2ce2d8ee682ade7e3e819346a29eb908a4f4',     s: '0x286fc6d85e581336b75604e3c9056e5e66a92f8f35533825f51cdea8662db82a'   },   isSigned: true }
`const signer = require('..');
async function erden () {
const getTx = () => new signer.Transaction({
to: '0xdf90dea0e0bf5ca6d2a7f0cb86874ba6714f463e',
maxFeePerGas: 100n * 10n ** 9n, // 100 gwei in wei
value: 10n ** 18n, // 1 eth in wei
nonce: 1,
maxPriorityFeePerGas: 1,
chainId: 1
});
const tx = getTx();
const privateKey = '6b911fd37cdf5c81d4c0adb1ab7fa822ed253ab0ad9aa18d77257c88b29b718e';
let time1 = performance.now();
var test1 = await tx.sign(privateKey);
let time2 = performance.now()-time1;
console.log(time2);
console.log(test1);
};
erden();`

First signature will take 20+ ms because of noble-secp precomputes generation. You can do it manually by executing utils.precompute() in noble-secp in the start of your app. Search noble-secp readme for utils.precompute.

Thanks for the explain,
So instead of utils.precompute() i ran 2x sign function , i see good improvement, but its still 3.5x slower than the benchmark results.
0.8618749976158142

const signer = require('..');

async function erden () {
  const getTx = () => new signer.Transaction({
    to: '0xdf90dea0e0bf5ca6d2a7f0cb86874ba6714f463e',
    maxFeePerGas: 100n * 10n ** 9n, // 100 gwei in wei
    value: 10n ** 18n, // 1 eth in wei
    nonce: 1,
    maxPriorityFeePerGas: 1,
    chainId: 1
  });
  const tx = getTx();
  const privateKey = '6b911fd37cdf5c81d4c0adb1ab7fa822ed253ab0ad9aa18d77257c88b29b718e';

  var test1 = await tx.sign(privateKey)

  var test1 = await tx.sign(privateKey);

  let time5 = performance.now();
  var test1 = await tx.sign(privateKey);
  let time6 = performance.now()-time5;
  console.log(time6);

};

erden();

performance.now() can be slower than Date.now(), because it traces all function calls.
Is the environment you're executing the functions the same? E.g. both benchmark and your function use the same node.js version? Or, is your version executed in a browser, for example? The browser can be slower.
Instead of doing it like that, try

let time5 = Date.now();
await tx.sign(privateKey).then(() => console.log(Date.now() - time5))


with-amp example Error: Can't resolve 'react-dom/lib/ReactInjection'

as title
npm run build
will show this error

npm -v 5.3.0
node -v 8.0.0

Try installing next@beta. Should be fixed there.


Also save control plane container logs for e2e test runs (#2284)

Description
Save control plane logs as a workflow artifact for e2e/perf tests.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #2284
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Unit tests passing
[x] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

Works as expected: https://github.com/dapr/dapr/suites/1364897092/artifacts/22297764 (file is called control_plane_containers.log)

/ok-to-test


Norm symbol

Currently unable to write the norm symbol (double absolute value bars) in Drasil.

Can you provide an example of how/where norm is used?

Sure, here's an example:

This one needs design based on what we mean by "norm" and how we can specify which norm we want to use.

We should sort-of be able to figure this out from the units/dimension of the resulting symbol.  Still needs design, but I think we can infer this.


Flash Attention CPU-only build fails in cross-compilation for Android, succeeds with Vulkan backend

When cross-compiling for Android using NDK toolchain, Flash Attention fails to build in CPU-only mode but succeeds when Vulkan backend is enabled, despite being documented as CPU-only feature.
Environment:
- Android NDK: 28.0.12433566
- Target: arm64-v8a (Android 28)
- Build system: CMake with Ninja
- Host OS: Windows
Build command that fails:
cmake .. -G "Ninja" -DCMAKE_TOOLCHAIN_FILE=D:\Android_Studio_SDK\ndk\28.0.12433566\build\cmake\android.toolchain.cmake -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=android-28 -DCMAKE_MAKE_PROGRAM=D:\Android_Studio_SDK\cmake\3.6.4111459\bin\ninja.exe -DSD_BUILD_SHARED_LIBS=ON -DSD_FLASH_ATTN=ON
Error:
D:/Building_test/stable-diffusion.cpp/ggml_extend.hpp:679:31: error: use of undeclared identifier 'ggml_flash_attn'; did you mean 'ggml_hash_set'?   679 |     struct ggml_tensor* kqv = ggml_flash_attn(ctx, q, k, v, false);       |                               ^
Same build command succeeds when adding `-DSD_VULKAN=ON
Expected behavior: Flash Attention should build successfully in CPU-only mode since it's documented as a CPU-only feature.
Actual behavior: Flash Attention only builds when Vulkan backend is enabled, suggesting the implementation may be incorrectly tied to GPU backend definitions.
EDIT : Nevermind, I just came accross this PR https://github.com/leejet/stable-diffusion.cpp/pull/386#issue-2499460342

Merged into master too. :)
Do keep in mind, that using --diffusion-fa with cpu might slow it down, but save ram.


enhancement request: reselect support

it would be nice to keep selectors up to date and synced as store state. I'm not sure of the best way to keep them up to date at the moment to avoid running a bunch of comparisons in the memoized selectors all the time. Thanks for this awesome library!

Could you elaborate on what exactly happens right now versus what you'd like to happen?

Sure thing, at the moment this library syncs a redux store from main and renderer thread. If I add Selectors to the main process store, the results of those selectors should be made available on the renderer process. One way of doing this would be to update the state with the results of the selectors. As I'm thinking about this, it may be possible to use remote to retrieve information from the selectors without storing anything back to state. hmm.
that said, it would be nice if selector results could be similarly synced with the renderer process.
let me know if that makes sense and what you think about it. Thanks!

Hmm, I'm not sure how that sort of thing would be accomplished within this library.  From my understanding, Selectors are just functions which store the value they last returned, so that if they're called again with the same inputs, they can just return that value rather than computing it again.  This is something completely separate from redux and the store.
To do this you might have to make changes to reselect's source.  Its only a single file so it shouldn't be too bad.  I don't think it would be worth it for most selectors though, since the overhead of the IPC calls is probably higher than the majority of your selectors' run time.
If you do end up doing something like that, then if it helps, I'll just explain how the synchronization is done in this library.  The way this library synchronizes the data is by first placing the main process' store in a global, and then when renderer's pop up and load their store, they will remote that global in to get their initial state.  Future state changes are all kept track of via ipc messages.
Since reselect is very much separate from redux, this is probably out of scope for redux-electron-store, so I'll close this issue.  Happy to help if you have more questions though!

I understand it's out of scope, I'll look into implementing something
similar for reselect. Thank you for the information! I'll let you know if I
have any other questions
On Fri, Jun 3, 2016 at 12:37 PM, Shiranka Miskin<EMAIL_ADDRESS>wrote:

Hmm, I'm not sure how that sort of thing would be accomplished within this
library. From my understanding, Selectors are just functions which store
the value they last returned, so that if they're called again with the same
inputs, they can just return that value rather than computing it again.
This is something completely separate from redux and the store.
To do this you might have to make changes to reselect's source. Its only a
single file so it shouldn't be too bad. I don't think it would be worth it
for most selectors though, since the overhead of the IPC calls is probably
higher than the majority of your selectors' run time.
If you do end up doing something like that, then if it helps, I'll just
explain how the synchronization is done in this library. The way this
library synchronizes the data is by first placing the main process' store
in a global, and then when renderer's pop up and load their store, they
will remote that global in to get their initial state. Future state
changes are all kept track of via ipc messages.
Since reselect is very much separate from redux, this is probably out of
scope for redux-electron-store, so I'll close this issue. Happy to help
if you have more questions though!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/samiskin/redux-electron-store/issues/23#issuecomment-223629052,
or mute the thread
https://github.com/notifications/unsubscribe/ADBhdNMuaBGeD4gciN7P4RGqFgTf26OZks5qIFhRgaJpZM4ItHob
.


Observation outside expected value range when executing multiAgentRL_Ring.py

Hi,
When executing the multiAgentRL_Ring.py following error is being received.
ray.tune.error.TuneError: ('Trials did not complete', [PPO_MultiWaveAttenuationPOEnv-v0_0_lr=1e-05])
reason for that seems to be
ValueError: ('Observation outside expected value range', Box(3,), array([ 0.19800116, -0.05078842,  0.04750252]))

Thanks for pointing this out. I will have a PR up in 5 minutes.

If you pull master this bug should be resolved.

Let me know if it's resolved and I will close the issue. Otherwise, let me know what's happening!

Hi,
I carried out the changes that you did to file wave_attenuation.py.  However, even though the code terminated its still giving the same error in the log.
But let me run it for multiple iterations and get back to you.

The exact same bug?

Hi,
I ran into same error both with same.
'Training_iteration':1 : The code threw similar error but did execute successfully and a check_point was created.
'Training_iteration':200 : Same bug was observed as reported earlier
'Training_iteration':200, RL agents : 2 : Same bug was observed as reported earlier

See, I'm just confused because the Box now has a low value of -1 and so shouldn't error for values being < 0. Can you post the error you're seeing now?

Hi,
This is from the error file generated:
Traceback (most recent call last):
File "/home/jiyeon/anaconda3/envs/flow/lib/python3.6/site-packages/ray/tune/trial_runner.py", line 498, in _process_trial
result = self.trial_executor.fetch_result(trial)
File "/home/jiyeon/anaconda3/envs/flow/lib/python3.6/site-packages/ray/tune/ray_trial_executor.py", line 342, in fetch_result
result = ray.get(trial_future[0])
File "/home/jiyeon/anaconda3/envs/flow/lib/python3.6/site-packages/ray/worker.py", line 2247, in get
raise value
ray.exceptions.RayTaskError: ^[[36mray_PPO:train()^[[39m (pid=27633, host=jkang1)
File "/home/jiyeon/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/agents/trainer.py", line 369, in train
raise e
File "/home/jiyeon/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/agents/trainer.py", line 358, in train
result = Trainable.train(self)
File "/home/jiyeon/anaconda3/envs/flow/lib/python3.6/site-packages/ray/tune/trainable.py", line 171, in train
result = self._train()
File "/home/jiyeon/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/agents/trainer_template.py", line 126, in _train
fetches = self.optimizer.step()
File "/home/jiyeon/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/optimizers/sync_samples_optimizer.py", line 52, in step
for e in self.workers.remote_workers()
File "/home/jiyeon/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/utils/memory.py", line 33, in ray_get_and_free
result = ray.get(object_ids)
ray.exceptions.RayTaskError: ^[[36mray_RolloutWorker:sample()^[[39m (pid=27632, host=jkang1)
File "/home/jiyeon/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/evaluation/rollout_worker.py", line 453, in sample
batches = [self.input_reader.next()]
File "/home/jiyeon/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/evaluation/sampler.py", line 56, in next
batches = [self.get_data()]
File "/home/jiyeon/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/evaluation/sampler.py", line 97, in get_data
item = next(self.rollout_provider)
File "/home/jiyeon/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/evaluation/sampler.py", line 313, in _env_runner
soft_horizon)
File "/home/jiyeon/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/evaluation/sampler.py", line 401, in _process_observations
policy_id).transform(raw_obs)
File "/home/jiyeon/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/models/preprocessors.py", line 166, in transform
self.check_shape(observation)
File "/home/jiyeon/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/models/preprocessors.py", line 61, in check_shape
self._obs_space, observation)
ValueError: ('Observation outside expected value range', Box(3,), array([0.05752458, 0.        , 4.34782609]))
Thr program runs fine for 1 iteration ie even after giving error[same as this] it does create a checkpoint. However, for more than 1 iteration it just fails.
Above error is for 10 iterations.

@AboudyKreidieh pointed out that there's an additional error here where we divide the headway by 230 but your network is of length 1000. I'll push up a PR shortly and point you to it.

As a quick hack you can go into the env and in get_state increase the normalization constants so you're dividing by 1000.

Hello Eugene,
Apologies for the delay in response. I don't understand. My network is of length 1000 ? I am using the same code as in the tutorial. The only thing I changed is training iteration. So the length of ring is  230 as per the code

Hello，Professors：
I also encountered this type of error. When I run the figure-eight in rllib, I modified the number and initialization location of the RL-agent car. After running for a while, sometimes the system will generate the corresponding checkpoint, but most of the time there will be an error log in ray-results.Do you have any good suggestions or solutions?  @chinmaySwami  @eugenevinitsky
This is from the error file generated:
Traceback (most recent call last):
File "/home/xiaochao/anaconda3/envs/flow/lib/python3.6/site-packages/ray/tune/trial_runner.py", line 506, in _process_trial
result = self.trial_executor.fetch_result(trial)
File "/home/xiaochao/anaconda3/envs/flow/lib/python3.6/site-packages/ray/tune/ray_trial_executor.py", line 347, in fetch_result
result = ray.get(trial_future[0])
File "/home/xiaochao/anaconda3/envs/flow/lib/python3.6/site-packages/ray/worker.py", line 2349, in get
raise value
ray.exceptions.RayTaskError: ray_PPO:train() (pid=13985, host=xiaochao-virtual-machine)
File "/home/xiaochao/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/agents/trainer.py", line 417, in train
raise e
File "/home/xiaochao/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/agents/trainer.py", line 406, in train
result = Trainable.train(self)
File "/home/xiaochao/anaconda3/envs/flow/lib/python3.6/site-packages/ray/tune/trainable.py", line 176, in train
result = self._train()
File "/home/xiaochao/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/agents/trainer_template.py", line 129, in _train
fetches = self.optimizer.step()
File "/home/xiaochao/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/optimizers/multi_gpu_optimizer.py", line 140, in step
self.num_envs_per_worker, self.train_batch_size)
File "/home/xiaochao/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/optimizers/rollout.py", line 29, in collect_samples
next_sample = ray_get_and_free(fut_sample)
File "/home/xiaochao/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/utils/memory.py", line 33, in ray_get_and_free
result = ray.get(object_ids)
ray.exceptions.RayTaskError: ray_RolloutWorker:sample() (pid=13992, host=xiaochao-virtual-machine)
File "/home/xiaochao/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/evaluation/rollout_worker.py", line 469, in sample
batches = [self.input_reader.next()]
File "/home/xiaochao/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/evaluation/sampler.py", line 56, in next
batches = [self.get_data()]
File "/home/xiaochao/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/evaluation/sampler.py", line 99, in get_data
item = next(self.rollout_provider)
File "/home/xiaochao/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/evaluation/sampler.py", line 319, in _env_runner
soft_horizon, no_done_at_end)
File "/home/xiaochao/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/evaluation/sampler.py", line 407, in _process_observations
policy_id).transform(raw_obs)
File "/home/xiaochao/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/models/preprocessors.py", line 170, in transform
self.check_shape(observation)
File "/home/xiaochao/anaconda3/envs/flow/lib/python3.6/site-packages/ray/rllib/models/preprocessors.py", line 65, in check_shape
self._obs_space, observation)
ValueError: ('Observation outside expected value range', Box(16,), array([ 4.51649060e-01,  4.46476508e-01,  3.79074621e-01, -3.57913941e+07,
3.13034091e-01,  4.72529930e-01,  3.94568009e-01,  1.12943324e-01,
2.64957647e-01,  3.44459339e-01,  4.94487546e-01,  0.00000000e+00,
6.19711688e-01,  8.75877236e-01,  9.82541153e-01,  8.09446112e-02]))

Oh I see what happens, there's a crash in this environment and it's not caught appropriately. Thanks for catching this, I'll push a fix shortly.

Thank you very much for your letter. Your answer is very helpful to me. I will continue my work. @eugenevinitsky


⚠ Bofrost.fr has degraded performance

In 133b0bc, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1181 ms

Resolved: Bofrost.fr performance has improved in 47ddfac after 20 minutes.


fix[wip]: don't fetch web2 addresses if not enabled

[ ] fix type issue on NotificationsButton

Have a suggestion: squash all work related commits into 1 commit and prettier make as separate comment, in that case will be possible to check changes avoid checking prettier diff. I realised I have the same issue in my PR @Kiryous @fsher what do you think?

Hey! Do you mean for this PR or a general strategy? Actually if everyone is running "Format on save" with the .prettierrc config, should be always up to date

@fsher hey! Could you help nail down the type error with channelOptions, please?

Sorry for a late reply, what seems to be the problem? @Kiryous


Execute Runner.Listener directly

Runner.Listener directly by rewriting runsvc.sh and RunnerService.js in RunnerPod Entrypoint.
Add the metrics corresponding to the RunnerListener exit code.
Fix the documentation to reflect the above changes.

👀 reviewing

@ysksuzuki

case <-time.After(time.Duration(1<<63 - 1)): is not necessary, since case <-ctx.Done(): blocks until context is canceled.

Fixed to only wait for ctx.Done() to be received.


Feature/182

example howto handle inheritance.

Thanks a lot for the contribution, will take a look later!

LGTM, It looks really good! But I would prefer you to change the 4-spaces indent to 2-spaces indent because the ModelMapper follow this coding convention. That will be great. Thanks !

@ehmkah - I had merged your previous PR #246, can you help rebase and resolved the conflict? Thanks!

That was the first time I rebased a branch. It was a little bit difficult but now I hope it is OK.
I also corrected intend to 2 space like you wanted.

Merged! Thanks for the contribution.


BUG! JOIN not working on my queries

i have two model as:
@Entity(tableName: 'barcodes', indices: [
  Index(value: ['id', 'barcode'])
])
class BarcodesEntity {
  @PrimaryKey(autoGenerate: true)
  final int id;

  String barcode;

  @ColumnInfo(name: 'session_id')
  int sessionId;

  @ColumnInfo(name: 'data_time')
  String dateTime;

  BarcodesEntity(this.id, this.barcode, this.sessionId, this.dateTime);
}

and
@Entity(tableName: 'sessions', indices: [
  Index(value: ['id'])
])
class SessionsEntity {
  @PrimaryKey(autoGenerate: true)
  final int id;

  @ColumnInfo(name: 'session_name')
  String sessionName;

  @ColumnInfo(name:'session_type')
  int sessionType;

  @ColumnInfo(name:'date_time')
  String dateTime;

  SessionsEntity(this.id, this.sessionName,this.sessionType, this.dateTime);
}

now i'm trying to make join between this models like with:
  @Query('SELECT * FROM sessions LEFT JOIN barcodes ON sessions.id = barcodes.sessionId ORDER BY id DESC')
  Stream<List> getAllSessionsStream();

this query only return sessions table data
how can i resolve this problem?

What do you want to achieve exactly?

@vitusortner
join two table sessions  and barcodes witch that sessions.id = barcodes.sessionId to get all data and ordering by id desc, for example:
SELECT * FROM sessions JOIN barcodes ON sessions.id = barcodes.sessionId ORDER BY id DESC

@vitusortner how can i use join and get all data from more tables?

Joins and especially Streams of join queries with are a difficult feature to implement, which is why we haven't done that until now. This makes this "bug" more of a feature request.
As a feature request for this feature was already mentioned many times, I will be closing this as a duplicate. Look at #321 for finding the implementation details and at #94 for tracking this particular feature (taking arbitrary queries and parsing them into an object)


Debug logging

Addresses issue TS-29626

[x] Changes are tested adequately - manual test for --debug
[x] Teamscale documentation updated in case of relevant user-visible changes
[x] CHANGELOG.md updated
[x] Present new features in N&N

Please respect the vote of the Teamscale bot or flag irrelevant findings as tolerated or
false positives. If you feel that the Teamscale config or architecture file needs adjustment, please state so in a
comment and discuss this with your reviewer.

If I interpret this correctly, the tool won't print anything in the default configuration now. In principle, I think we should not spam the output, so this is good. But I also think we should print one or two lines stating that the tool was called correctly and that it did some work (like Teamscale prints "listening on port ..."). When calling tools that just terminate without output, I'm always wondering whether they ran at all.

@alexrhein I understand the concern. I believe this is not a problem here. Only debug logging is disabled by default, not info logging. E.g. these:
https://github.com/cqse/teamscale-upload/blob/debug-logging/src/main/java/com/teamscale/upload/TeamscaleUpload.java#L298
https://github.com/cqse/teamscale-upload/blob/debug-logging/src/main/java/com/teamscale/upload/TeamscaleUpload.java#L308
This is what running the tool looks like for me:

thanks, merged :)


feat: support deepseek model in camel

Description
Describe your changes in detail.
Motivation and Context
close #1199

[ ] I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds core functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (update in the documentation)
[ ] Example (update in the folder of example)

Implemented Tasks

[ ] Subtask 1
[ ] Subtask 2
[ ] Subtask 3

Checklist
Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

[ ] I have read the CONTRIBUTION guide. (required)
[ ] My change requires a change to the documentation.
[ ] I have updated the tests accordingly. (required for a bug fix or a new feature)
[ ] I have updated the documentation accordingly.

Hi @NeilJohnson0930, thanks for the PR. However, I ran into some problem when running DeepSeek_model_example.py,
seems there is some configuration issue, maybe need to modify the stream or stream_option in the deepseek_config file. Could you check this? Thanks!
File "/Users/jinx0a/micromamba/envs/ai/lib/python3.12/site-packages/openai/_base_client.py", line 1058, in _request
    raise self._make_status_error_from_response(err.response) from None
openai.UnprocessableEntityError: Failed to deserialize the JSON body into the target type: stream_options: invalid type: boolean `false`, expected struct StreamOption at line 1 column 361

Hi @NeilJohnson0930, thanks for the PR. However, I ran into some problem when running DeepSeek_model_example.py, seems there is some configuration issue, I think you need to modify the stream_option in the deepseek_config file. Could you check this? Thanks!
File "/Users/jinx0a/micromamba/envs/ai/lib/python3.12/site-packages/openai/_base_client.py", line 1058, in _request
    raise self._make_status_error_from_response(err.response) from None
openai.UnprocessableEntityError: Failed to deserialize the JSON body into the target type: stream_options: invalid type: boolean `false`, expected struct StreamOption at line 1 column 361

Thanks MuggleJinx,  config modification has been done.

Thanks, looks cool to me!


verification the formula of calculation a measure

hey ! i want to test if a mesureX is equal to mesureA / mesureB , there is a way to test it using NBi ?
i found this section in the NBi documentation : Expression and predicate  " http://www.nbi.io/docs/resultset-predicate/" but i don't know how to apply it in my case .

Indeed performing this kind of test isn’t intuitive and a better support is expected soon.
You should define an expression « checkMeasureX » with measureA/measureB
Then a second expression « equalX » with checkMeasureX=MeasureX
Then finally a predicate true operating on equalX.
Is it clear? If not I’ll need more than my smartphone to give a complete example and it will wait until this weekend.

If you have the possibility to query your database you can also apply a comparison between two query results. One returning the measure, one returning the explicit calculation of the measure.

thank you @Seddryck  , but what should i put in the "system under test" , should i specify the mesures "SELECT {[$Measures$].[$MesureA$], [$Measures$].[$MesureB$], [$Measures$].[$MesureX$]}ON 0
FROM [MYCUBE]" or just write the connectionString ,
@FuegoArtificial thanks for your return , i want to create a template that generalize this kind of test , and that can be applicable to all my test of verification the formula of calculation , so using two query can not be  usefull in my point of view , but  if you have an exemple I will be very grateful :D

Yes, the system under test should be a query.

On 10 May 2018, at 12:17, chifaanfar<EMAIL_ADDRESS>wrote:
thank you @Seddryck , but what should i put in the "system under test" , should i specify the mesures "SELECT {[$Measures$].[$MesureA$], [$Measures$].[$MesureB$], [$Measures$].[$MesureX$]}ON 0
FROM [MYCUBE]" or just write the connectionString ,
@FuegoArtificial thanks for your return , i want to create a template that generalize this kind of test , and that can be applicable to all my test of verification the formula of calculation , so using two query can not be usefull in my point of view , but if you have an exemple I will be very grateful :D
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

i tried to excecute this test but it doesn't work , so i  will wait until this weekend to give me an example as expected , thank you  again Seddryck

i tried to excecute this test but it doesn't work , surely it's wrong ,  so i will wait until this weekend to give me an example as expected , thank you again Seddryck

i tried to excecute this test but it doesn't work , surely it's wrong , so i will wait until this weekend to give me an example as expected , thank you again Seddryck

For this specific kind of test I generalized the query as a whole. When creating the test I develop two queries one with the measure(s), another one with the calculation(s) as calculated members. These two queries I add to the template.
The next test takes two queries again.
Furthermore the test name and categories are set as parameters, too.
For me and my colleagues that level of generalization is the sweet spot of simplicity/flexibility/maintainability to write such tests, also when it comes to slicing the data for testing semi additive-measures. However, it might be different for you, of course, especially if you want to avoid that testers have to write queries.
Perhaps, I have a slightly different approach, where I let testers not hassle with the XML at all and everything is set into the templates with meta data (queries, etc.) and test-generation with genbi.
With other kinds of tests like testing for the count of dimension members, templates are easier to generalize without using queries due to the powerful support of certain kinds of tests with nbi.
I might miss something here and am open for suggestions, too! :)

I published a blog about how to resolve this kind of case at https://seddryck.wordpress.com/2018/05/13/using-nbi-to-assert-calculations-based-on-measures/
I'll update it to cover the automation but will wait until Monday evening more than probably.

Thank you Seddryck , it's very interessting , waiting for the automation part
@FuegoArtificial i have the same approach , the goal of my project is to minimise the fact that testers have to write queries , and to set everything into the templates

I updated the post with the template, the genbiL script and some explanations about them. Note that due to unfair circonstances there is a bug in the serialization of expression in NBi and you should use the last beta: https://ci.appveyor.com/project/Seddryck/nbi/build/1.19.0-beta.9.build.396

thanks you a lot Seddryck for your effort
i tried to execute my test with the last version V1.18 to avoid the bug in serialization , but  I came across an error of another type :(

i used the same Template and Macro defined in the blog

I’m sorry but your screenshot clearly shows that your script is executed twice. Is it really a screenshot related to this script ... I doubt!
Could you post your files for the script, the template and test cases in place of screenshots?

yes , of course
script
case scope 'First Set';
case load file 'D:\NBi-<IP_ADDRESS>\MyTestProject\CSV\calculations.csv';
case split column 'alias' with value ',';
case split column 'measure' with value ',';
setting reference 'ref-one' connectionString '@ORIGIN_DEV';
template load file 'D:\NBi-<IP_ADDRESS>\MyTestProject\calculation.nbitt';
case cross 'First Set' with vector 'ref' values 'ref-one';
suite generate;
suite save 'D:\NBi-<IP_ADDRESS>\MyTestProject\calculation.nbits';
Template
<test name="$trunc(alias); separator=" and "$ to calculate $last(alias)$">

          select
          {
         $measure; separator=",
"$
          } on 0,
          {
          [Calling Format].[Calling Format Description].members
          } on 1
          from
          [WII_ORIGIN]

$alias:{ x | $x$}$

Round($expression$, $round$) = Round($last(alias)$, $round$)

TestCase
alias;expression;measure;round
call,volume,Alloc;volume/call;[Measures].[Calls #] , [Measures].[Volume] , [Measures].[50 ALOC];2

Yes of course
testcase
alias;expression;measure;round
call,volume,Alloc;volume/call;[Measures].[Calls #] , [Measures].[Volume] , [Measures].[50 ALOC];2
template
<test name="$trunc(alias); separator=" and "$ to calculate $last(alias)$">

          select
          {
         $measure; separator=",
"$
          } on 0,
          {
          [Calling Format].[Calling Format Description].members
          } on 1
          from
          [WII_ORIGIN]

$alias:{ x | $x$}$

Round($expression$, $round$) = Round($last(alias)$, $round$)

script
case scope 'First Set';
case load file 'D:\NBi-<IP_ADDRESS>\MyTestProject\CSV\calculations.csv';
case split column 'alias' with value ',';
case split column 'measure' with value ',';
setting reference 'ref-one' connectionString '@ORIGIN_DEV';
template load file 'D:\NBi-<IP_ADDRESS>\MyTestProject\calculation.nbitt';
case cross 'First Set' with vector 'ref' values 'ref-one';
suite generate;
suite save 'D:\NBi-<IP_ADDRESS>\MyTestProject\calculation.nbits';

yes of course
testcase
alias;expression;measure;round
call,volume,Alloc;volume/call;[Measures].[Calls #] , [Measures].[Volume] , [Measures].[50 ALOC];2
template

script
case scope 'First Set';
case load file 'D:\NBi-<IP_ADDRESS>\MyTestProject\CSV\calculations.csv';
case split column 'alias' with value ',';
case split column 'measure' with value ',';
setting reference 'ref-one' connectionString '@ORIGIN_DEV';
template load file 'D:\NBi-<IP_ADDRESS>\MyTestProject\calculation.nbitt';
case cross 'First Set' with vector 'ref' values 'ref-one';
suite generate;
suite save 'D:\NBi-<IP_ADDRESS>\MyTestProject\calculation.nbits';

For your background, when you post a screenshot  and not the content of a file, you’re enforcing people who are trying to help you to rewrite the content of your file. It could be leading to differences but it’s also not consider as respectful of their own time.
To publish code you need to enclose it between three back ticks. (Check the syntax supported by github).
That said, you didn’t answer my question: your first screenshot displays the execution of the genbiL script and there I can see that you are loading twice the CSV file. It’s not the case in the script that you provided. Could you explain that? Did you test the exact script that you posted here?

to answer in your question , i have run the macro two times , and i have test second  script that i posted here .
i posted the screenshot because the code was innabel to be pasted , i will try again
case scope 'First Set'; case load file 'D:\NBi-<IP_ADDRESS>\MyTestProject\CSV\calculations.csv'; case split column 'alias' with value ','; case split column 'measure' with value ','; setting reference 'ref-one' connectionString '@ORIGIN_DEV'; template load file 'D:\NBi-<IP_ADDRESS>\MyTestProject\calculation.nbitt'; case cross 'First Set' with vector 'ref' values 'ref-one'; suite generate; suite save 'D:\NBi-<IP_ADDRESS>\MyTestProject\calculation.nbits';

to answer in your question , i have run the macro two times , and i have test second  script that i posted here .
i posted the screenshot because the code was innabel to be pasted , i will try again
to answer in your question , i have run the macro two times , and i have test second  script that i posted here .  i posted the screenshot because the code was innabel to be pasted , i will try again  i appreciate your help , and the time that you devote to answer on our questions , so i can't consider it as respectful of your own time  i put below the codes: case scope 'First Set';
case load file 'D:\NBi-<IP_ADDRESS>\MyTestProject\CSV\calculations.csv';
case split column 'alias' with value ',';
case split column 'measure' with value ',';
setting reference 'ref-one' connectionString '@ORIGIN_DEV';
template load file 'D:\NBi-<IP_ADDRESS>\MyTestProject\calculation.nbitt';
case cross 'First Set' with vector 'ref' values 'ref-one';
suite generate;
suite save 'D:\NBi-<IP_ADDRESS>\MyTestProject\calculation.nbits';``
<test name="$trunc(alias); separator=" and "$ to calculate $last(alias)$">     <system-under-test>       <resultSet>         <query connectionString="@$ref$">           <![CDATA[           select           {          $measure; separator=",  "$           } on 0,           {           [Calling Format].[Calling Format Description].members           } on 1           from           [WII_ORIGIN]           ]]>         </query>       </resultSet>     </system-under-test>     <assert>       <all-rows>         $alias:{ x | <alias column-index="$i$">$x$</alias>}$         <expression name="calculate">            Round($expression$, $round$) = Round($last(alias)$, $round$)         </expression>         <predicate operand="calculate" type="boolean">           <true />         </predicate>       </all-rows>     </assert>   </test>
and there is my CSV
alias;expression;measure;round call,volume,Alloc;volume/call;[Measures].[Calls #] , [Measures].[Volume] , [Measures].[50 ALOC];2

to answer in your question , i have run the macro two times , and i have test second script that i posted here .
i posted the screenshot because the code was innabel to be pasted , i will try again
btw i  appreciate your help , and the time that you devote to answer on our questions , so i can't consider it as respectful of your own time
i put below the codes:
case scope 'First Set'; case load file 'D:\NBi-<IP_ADDRESS>\MyTestProject\CSV\calculations.csv'; case split column 'alias' with value ','; case split column 'measure' with value ','; setting reference 'ref-one' connectionString '@ORIGIN_DEV'; template load file 'D:\NBi-<IP_ADDRESS>\MyTestProject\calculation.nbitt'; case cross 'First Set' with vector 'ref' values 'ref-one'; suite generate; suite save 'D:\NBi-<IP_ADDRESS>\MyTestProject\calculation.nbits';
<test name="$trunc(alias); separator=" and "$ to calculate $last(alias)$">     <system-under-test>       <resultSet>         <query connectionString="@$ref$">           <![CDATA[           select           {          $measure; separator=",  "$           } on 0,           {           [Calling Format].[Calling Format Description].members           } on 1           from           [WII_ORIGIN]           ]]>         </query>       </resultSet>     </system-under-test>     <assert>       <all-rows>         $alias:{ x | <alias column-index="$i$">$x$</alias>}$         <expression name="calculate">            Round($expression$, $round$) = Round($last(alias)$, $round$)         </expression>         <predicate operand="calculate" type="boolean">           <true />         </predicate>       </all-rows>     </assert>   </test>
and my CSV file
alias;expression;measure;round call,volume,Alloc;volume/call;[Measures].[Calls #] , [Measures].[Volume] , [Measures].[50 ALOC];2

I checked in details your code and your issue is related to the case cross. I opened the bug #376 and I'm working on a fix.


Combine all queries into their own section

Rendered: See "docs" commit status.
This removes the Directory and Profile sections, instead opting to document them as Queries.
The behaviour of profile queries is based on Synapse's behaviour. A few issues have been opened to improve the behaviour:

https://github.com/matrix-org/matrix-doc/issues/1434
https://github.com/matrix-org/matrix-doc/issues/1435
https://github.com/matrix-org/matrix-doc/issues/1436
https://github.com/matrix-org/matrix-doc/issues/1437

This fixes https://github.com/matrix-org/matrix-doc/issues/1404

Thanks for reviewing this. Clearly it's suffered the result of my train of thought where parts get documented ahead of others, and things didn't get shuffled around like they normally do before opening the PR. Sorry about that :(
Will address the concerns, and double check the other PRs to avoid excess review time.


Update existing VideoCaptureSample, add links to new documentation

@zhuridartem,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


device choose option

You cannot choose a directory as an option, this isn't as important as choosing files for flp images, but handy for default MDV folders.

Ah, didn't realise.


docs(guide/component) correct usage recommendations

Currently in section When not to use Components it is said:

for directives that rely on DOM manipulation, adding event listeners etc, because the compile
and link functions are unavailable

But there is a $postLink hook which is described in the same document as follows:

$postLink() - Called after this controller's element and its children have been linked. Similar to the post-link
function this hook can be used to set up DOM event handlers and do direct DOM manipulation.

I assume text from the first quote should be changed to something like

for directives that need to perform actions in compile and pre-link functions, because they aren't available

Thoughts?

Sounds reasonable. The initial guide was written before lifecycle hooks (such as $postLink) were implemented.


Add jet and allocation tests

This PR adds some JET and allocation tests. Some were broken annotated, and additional tests with limits were added to show which ones to prioritize fixing.

bors try

bors r+


Update Blog “biryani”

Automatically generated by Netlify CMS

👷 Deploy Preview for koyomiya processing.

Name
Link

🔨 Latest commit
3c8a45f4b632c7212eccda71dcadb74fb4cfc47a

🔍 Latest deploy log
https://app.netlify.com/sites/koyomiya/deploys/62d02dab28c57a0009a89b0c