Add a flag to force resolution of a fingerprint

Previously if a fingerprint was considered fresh based on mtime, it would not
get updated once a compilation finished with the new precise fingerprint (it
would use the older fingerprint). This alters the resolve method to take a
flag which disables this behavior and forces looking at the filesystem for a
fingerprint.
Closes #1259

r? @wycats
(rust_highfive has picked a reviewer for you, use r? to override)

@bors: r=wycats 70e538a

:hourglass: Testing commit 70e538a with merge a0b2588...

:broken_heart: Test failed - cargo-mac-32

@bors: r=wycats 4cdde7f

:hourglass: Testing commit 4cdde7f with merge 0557065...

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-32, cargo-win-64


fix(Accordion): bug with titles in Accordions. They did not use useLa…

Description
Title for Accordion did not use langAsString from useLanguage to resolve the title. This led to titles that referred to ids specified in resource-files would not resolve to correct text.

Related Issue(s)

closes #1353

Verification/QA

Manual functionality testing

[x] I have tested these changes manually
[ ] Creator of the original issue (or service owner) has been contacted for manual testing (or will be contacted when released in alpha)
[ ] No testing done/necessary

Automated tests

[x] Unit test(s) have been added/updated
[ ] Cypress E2E test(s) have been added/updated
[ ] No automatic tests are needed here (no functional changes/additions)
[ ] I want someone to help me make some tests

UU/WCAG (follow these guidelines until we have our own)

[x] I have tested with a screen reader/keyboard navigation/automated wcag validator
[ ] No testing done/necessary (no DOM/visual changes)
[ ] I want someone to help me perform accessibility testing

User documentation @ altinn-studio-docs

[x] Has been added/updated

[ ] No functionality has been changed/added, so no documentation is needed
[ ] I will do that later/have created an issue

Changes/additions to component properties

[ ] Changes are reflected in both src/layout/layout.d.ts and layout.schema.v1.json, and these are all backwards-compatible
[x] No changes made

Support in Altinn Studio

[ ] Issue(s) created for support in Studio

[x] This change/feature does not require any changes to Altinn Studio

Sprint board

[x] The original issue (or this PR itself) has been added to the Team Apps project and to the current sprint board
[ ] I don't have permissions to do that, please help me out

Labels

[x] I have added a kind/* label to this PR for proper release notes grouping
[ ] I don't have permissions to add labels, please help me out

Theres a percy screenshot that is reporting a diff, but this seems like it is a little flaky.


Delete azure-spring-boot-starter-active-directory-b2c related content.

Resolve #23932.

Hi, @stliu , @saragluna , @zhichengliu12581 .
Please help to review this PR when you have time.


chore: chown npm cache on node 16

Running the command which npm claims will fix this does not in fact fix it


member-access: Clean up and add "no-public" option.

PR checklist

[ ] Addresses an existing issue: #0000
[X] New feature, bugfix, or enhancement

[X] Includes tests

[X] Documentation update

Overview of change:
Added a no-public option to member-access.
Also removed documentation about constructor and get/set only being public, because this appears to not be true any more.
CHANGELOG.md entry:
[new-rule-option] member-access adds no-public option

@andy-hanson thanks!

So happy to have this rule. Thank you!

Probably we didn't understand well the rule but for me this is to don't use 'public' because is default value in TS.
When we use "member-access": [true, "no-public"] we have this error:
The class method 'kendoDatePicker' must be marked either 'private', 'public', or 'protected'

@CKGrafico do you use tslint 5.0.0 or greater?


Unknown options: Cannot add eslint rules in vscode setting.json

When I tried to add eslint rules in vscode setting.json, it will gives this error.
[Error - 09:57:50] Request textDocument/codeAction failed.
  Message: Request textDocument/codeAction failed with message: Invalid Options:
- Unknown options: eslint.options
  Code: -32603
Uncaught exception received.
Error: Invalid Options:
- Unknown options: eslint.options

My setting.json:
  "eslint.options": {
    "lines-between-class-members": [
      "error",
      "always"
    ]
  },

p.s

when I cover "lines-between-class-members" with "rules", it's also not working.
when I cover "rules" with "overrideConfig", it's also not working.

The eslint.options setting is not meant to allow to add rules. They still need to  be defined in the normal eslint config files. The option setting is to pass options to the linter that are typically passed on the command line. See here for valid values: https://eslint.org/docs/latest/integrate/nodejs-api#-new-eslintoptions


core.randomPairsMatch() explodes in some cases

The function core.randomPairsMatch() gives nonsensical/explosive results in certain cases because it casts negative floats to unsigned integers.
In particular, at line 58-59, the result of
n_records_b * numpy.floor(random_pairs/n_records_B)

occasionally contains a value that is greater than its corresponding value in random_pairs. The effect of this is that when we compute
random_pairs - n_records_B * i

we can end up with a negative element, which is then cast into an enormous unsigned integer and thereby an incorrect result. This causes RecordLink.sample() to fail gracelessly with a KeyError.
I understand floating-point operations can be implementation-dependent. I am able to reproduce the issue on OS X El Capitan with the following:
import random
import numpy
from heapq import nlargest

random.seed(43770)

n_records_A = 41198
n_records_B = 52151
sample_size = 5000

n = int(n_records_A * n_records_B)
random_pairs = numpy.array(random.sample(range(n), sample_size), dtype = 'f')

i = numpy.floor(random_pairs / n_records_B)
j = random_pairs - n_records_B * i

for orig, floored, j_elem in zip(random_pairs, n_records_B * i, j):
    if orig < floored:
        print("j contains a negative number! {} - {} = {}".format(orig, floored, j_elem))

print("Top 5 values in j after casting to uint: {}".format(nlargest(5, j.astype('uint'))))

So the problem seems to be floating-point strangeness in random_pairs / n_records_B.
If I understand what this function is trying to do, you could implement it more safely and cleanly as:
def randomPairsMatch2(n_records_A, n_records_B, sample_size):
    n = int(n_records_A * n_records_B)
    random_pairs = random.sample(range(n), sample_size)  # no need to cast to array for this
    i, j = np.unravel_index(random_pairs, (n_records_A, n_records_B))
    return zip(i, j)

I didn't know about unravel_index! That seems useful. Let me do some testing.


[WIP] Better errors

*** WORK IN PROGRESS ***
Task: https://tasks.kaspernj.org/tasks/1881
Asana: https://app.asana.com/0/7005399303210/67153995332113

:+1:


ISIS-2793: (doesn't work...) possible fix for keycloak invalidating when impersonating

... don't cache InteractionContext in AuthenticatedWebSessionForIsis, just delegate to the InteractionLayerTracker

suerceded by ISIS-2793-v2


Changing a choice with children/nested choices does not clear the child choices

Describe the bug
I have the following situation:
- Choice A
  - Choice A1
  - Choice A2
- Choice B
  - Choice B1
  - Choice B2

A1, A2 and B1, B2 are only active, selectable and viewable when A or B respectively is selected.
Then, if I label my as follows:
A -> A1 -> B

I have both choice B and A1 active, which should not be possible normally. This is because the children of choices are not cleared when the parent is.
Is there are workaround for this behaviour?
To Reproduce
The following labeling config can reproduce this behaviour:
<View style="box-shadow: 2px 2px 5px #999;                padding: 20px; margin-top: 2em;                border-radius: 5px;">

  <Table name="table" value="test"/>

  <Choices name="level1" toName="table" choice="single-radio" showInLine="true" required="true">
    <Choice value="A"/>
    <Choice value="B"/>
  </Choices>

  <View visibleWhen="choice-selected" whenTagName="level1" whenChoiceValue="A">
    <Choices name="level2_A" toName="table" choice="single-radio" showInLine="true" visibleWhen="choice-selected" required="true" whenTagName="level1" whenChoiceValue="A">
      <Choice value="A1"/>
      <Choice value="A2"/>
    </Choices>
  </View>

  <View visibleWhen="choice-selected" whenTagName="level1" whenChoiceValue="B">
    <Choices name="level2_B" toName="table" choice="single-radio" showInLine="true" visibleWhen="choice-selected" required="true" whenTagName="level1" whenChoiceValue="B">
      <Choice value="B1"/>
      <Choice value="B2"/>
    </Choices>
  </View>

</View>

Expected behavior
In the above example, I would expect that changing the choice from A to B would clear the A1 child choice.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: Ubuntu 20.04.5 LTS
Label Studio Version

{
  "release": "1.5.0dev",
  "label-studio-os-package": {
    "version": "1.5.0dev",
    "short_version": "1.5",
    "latest_version_from_pypi": null,
    "latest_version_upload_time": null,
    "current_version_is_outdated": false
  },

  "label-studio-os-backend": {},

  "label-studio-frontend": {
    "message": "feat: DEV-388: Introducing default attributes for AudioPlus (#818)  *  ...",
    "commit": "c0ff3e48032c3ab77c51835c632768b72730eecb",
    "branch": "master",
    "date": "2022-09-12T15:24:05Z"
  },

  "dm2": {
    "message": "feat: DEV-1752: Support links to drafts and annotations (#101)  * Supp ...",
    "commit": "72105e4385620cf4a59b5bd3e68adca19287bf8b",
    "branch": "master",
    "date": "2022-09-02T18:15:25Z"
  },

  "label-studio-converter": {
    "version": "0.0.44"
  }
}

Hi! What's the problem do you have exactly? How do you know that A1 is still selected?
If you submit your data you'll get only B in result, A1 is hidden and skipped from result. It that's not your case, what version do you use? We had some problems with nested choices, but they were fixed a long time ago.


Exit terminal mode before closing FZF window in Vim/Neovim

Mode is global, therefore if we close the FZF window without quitting terminal mode (the current behavior), we enter the next buffer in terminal mode. If the next buffer happens to be a terminal, we are unexpectedly in terminal mode even if we left it in normal mode. This is especially annoying when using the :Buffers command of fzf.vim to switch to a terminal buffer.
This behavior is explained in neovim#13769 and this PR fixes fzf.vim#1216.
This affects only Neovim since it seems that Vim always exits terminal mode (but it's Vim that is not consistent in that case).

Merged, thanks!

Merged, thanks!


Methods dynamically decorated with validate_call raises TypeError when accessed

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
Decorating a method manually with @validate_call works fine but decorating one dynamically raises the following error when accessing the method from the class (not an instance):
Traceback (most recent call last):
  File "/Users/.../test/test.py", line 20, in <module>
    assert Foo.baz
  File "/Users/.../test/.venv/lib/python3.9/site-packages/pydantic/_internal/_validate_call.py", line 123, in __get__
    return objtype.__getattribute__(objtype, self._name)  # type: ignore
TypeError: attribute name must be string, not 'NoneType'

I'm not sure how much related to #8146 this is.
Example Code
from pydantic import validate_call

class Foo:
    @validate_call
    def bar(self, value: str) -> str:
        return f"bar-{value}"

    def baz(self, value: str) -> str:
        return f"baz-{value}"

Foo.baz = validate_call(Foo.baz)

foo = Foo()
assert foo.bar("qux") == "bar-qux"
assert foo.baz("qux") == "baz-qux"

assert Foo.bar
assert Foo.baz  # Raises `TypeError: attribute name must be string, not 'NoneType'`
assert hasattr(Foo, "baz")  # Raises too.

Python, Pydantic & OS Version
             pydantic version: 2.5.2
        pydantic-core version: 2.14.5
          pydantic-core build: profile=release pgo=false
                 install path: /Users/.../test/.venv/lib/python3.9/site-packages/pydantic
               python version: 3.9.18 (main, Nov  9 2023, 15:24:25)  [Clang 15.0.0 (clang-15<IP_ADDRESS>)]
                     platform: macOS-14.1.1-arm64-arm-64bit
             related packages: mypy-1.6.1 typing_extensions-4.6.1

@tibdex,
Thanks for reporting this. Should be a pretty easy fix. I'll fix this tomorrow 🐛!

I know you said you'd tackle this tomorrow @sydney-runkle but looked like a simple and fun fix. I went ahead and created a PR, I hope that's alright.
I'm not super knowledgeable on custom python descriptors so if there is a better solution than the one presented in the PR let me know!


Creating Budget Allocation Notebook Example

Follow up documentation PR 329

:books: Documentation preview :books:: https://pymc-marketing--370.org.readthedocs.build/en/370/

Totally agree, I replace the words in order to make it more timeless. Still, would like to get your input about the beginning, considering this method is very similar to used by Meta and Google, I was tempted to mention it so as not to be self-referential, but what do you think? Until now I added it as other methods to reference at the end.

View entire conversation on ReviewNB

Modified, you're right. At first I had errors trying to do it like this, but now it worked 😅

View entire conversation on ReviewNB

Agree!

View entire conversation on ReviewNB

Added, with another references. Wait your feedback!

View entire conversation on ReviewNB

@cetagostini now that https://github.com/pymc-labs/pymc-marketing/pull/329 was merged ... do you need to update this Pr or is it ready for review?


Suppress the execution context per operation

Today we capture and restore the execution context per Socket operation. There's no need to do that because it already happens in the async state machine.
I need to measure the performance since we're making an additional method call per operation to save it on the other side, it might be a wash. Ideally, we would just use https://github.com/dotnet/corefx/issues/32582
BEFORE

AFTER

Look at that beautiful flattened frame 😄. This is the code being avoided https://github.com/dotnet/coreclr/blob/302630ed5a3730470e9ffeeebcd38c737c03963d/src/System.Private.CoreLib/shared/System/Threading/ExecutionContext.cs#L126-L202

Did you run the full test suite?

Not sure what you mean? The regular tests? Yes they run as part of the PR and the execution context doesn't need to be captured here because it's already captured.

@dotnet-bot test Windows Debug x64 Build

What's the primary motivation for this: perf or less stack frames in debug/exception output? Am I correct in understanding you expect the perf to stay the same?

Looks like it's slightly faster on the plaintext benchmark:
OLD

RPS
CPU (%)
Memory (MB)
Avg. Latency (ms)
Startup (ms)
First Request (ms)
Latency (ms)

3,164,263
87
290
2
192
39.9
0.5

NEW

RPS
CPU (%)
Memory (MB)
Avg. Latency (ms)
Startup (ms)
First Request (ms)
Latency (ms)

3,203,452
72
285
2.1
192
47
0.6

Running the performance numbers again to make sure they weren't all noise:
Before

RPS
CPU (%)
Memory (MB)
Avg. Latency (ms)
Startup (ms)
First Request (ms)
Latency (ms)

3,170,415
83
323
1.8
191
43.3
0.5

After

RPS
CPU (%)
Memory (MB)
Avg. Latency (ms)
Startup (ms)
First Request (ms)
Latency (ms)

3,175,771
76
306
1.8
185
43.1
0.5

Not, sure, it might be noise.

Should skip out this bit


Add wrappers for social login helpers in commerce-sdk-react

Description

Types of Changes

[ ] Bug fix (non-breaking change that fixes an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Documentation update
[ ] Breaking change (could cause existing functionality to not work as expected)
[ ] Other changes (non-breaking changes that does not fit any of the above)

Breaking changes include:

Removing a public function or component or prop
Adding a required argument to a function
Changing the data type of a function parameter or return value
Adding a new peer dependency to package.json

Changes

Add wrappers for the following 2 isomorphic helpers:

authorizeIDP
loginIDPUser

How to Test-Drive This PR

Go to https://wasatch-mrt-yuna.mrt-storefront-staging.com/
Navigate to the Login modal and click on Login with Google
Verify that you can successfully login through Google and are redirected back into the secure account page

In the Network tab, verify that you see both the authorize and token API calls

Checklists

General

[x] Changes are covered by test cases
[x] CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance
You must check off all items in one of the follow two lists:

[x] There are no changes to UI

or...

[ ] Changes were tested with a Screen Reader (iOS VoiceOver or Android Talkback) and had no issues
[ ] Changes comply with WCAG 2.0 guidelines levels A and AA
[ ] Changes to common UI patterns and interactions comply with WAI-ARIA best practices

Localization

[ ] Changes include a UI text update in the Retail React App (which requires translation)

I believe this PR will be blocked until commerce-sdk-isomorphic is released with the new social login helper changes. Should we merge this into the feature branch in the meantime? @bredmond-sf


get_properties should return just one eval point

thanks to julia broadcasting system, you can do:
f.(vec)

that evaluates f in a vector vec.
at the moment, for example, get_volume returns a vector, but in the rest of equations, just the first element is used
to support this properly, you need to make the EoS broadcastable, this can be done by:
Base.broadcastable(x::SAFT) = Ref(x)

this also would allow to use the julia threading or distributed systems to evaluate multiple points at once

Hi Andrés,
Thanks a lot for pointing this out! This is indeed a feature we intend to add in OpenSAFT in the near future. For now, we're mainly focusing on adding more equations of state and improving the performance of the solvers.


Update usage policy to with OSM US processes

The usage policy here: https://tile.ourmap.us/usage.html still references the policy from the community-hosted server.  With OSM US hosting, this should be updated to define what the new policy is.

@ZeLonewolf Thanks for the reminder. I'll be working with our new program coordinator to put together something streamlined and scalable.


chore(storage): fixed ctype=CORD workarounds url

Minor change to fix the urls pointing to the workaround.

This change is

/gcbrun

Thanks!


⚠ Samsung has degraded performance

In 3173688, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3153 ms

Resolved: Samsung performance has improved in 7af5352.


Updated footer year to 2024

The footer year in the website was previously set to 2023. This update changes the year to 2024, ensuring that the footer accurately reflects the current year.

@iamparas0 please review my issue

@iamparas0 please review my issue

please tell me # of your issue so i can label it and please resolve this error in your app.css in src remove === from line 67

#177

#177

i mean you issue where you have assigned so i can label , not in pr


fix typos in controllers/nginx/README.md

This change is

Coverage increased (+0.03%) to 44.674% when pulling e713e706cccaa4fabcff71965f99d374754ca23e on seeekr:patch-1 into 36cf018a71569fe33ebd01b6b8e29984765c4351 on kubernetes:master.

/lgtm

@seeekr thanks!


Completed Reviews Appear on Team Member Dashboard

Account name or name of person: Di

Describe the bug
Each team member's dashboard should only contain items that NEED a review. In other words, applications that need the staff member to submit a review. There is a glitch because items that have been completed remain on the dashboard.
To Reproduce
Steps to reproduce the behavior:

Go to dashboard

Expected behavior
Applications should no longer appear on the dashboard once the staff member has submitted a review.
Priority

Medium (slowing you down)

Affected roles

Staff

@di I can not replicate this when testing in my local environment.

It's difficult to replicate on the test environment.
Should my dashboard contain reviews I've completed?
My dashboard when I click to expand my dashboard to show all submissions with reviews I've completed:

My dashboard shows submissions that need my review:

On the dashboard there are one table "Your previous reviews" and one "Waiting for your review". They seem to work as they should when I test.

Thank you for clarifying. I found a similar scenario on the test site. The distinction between awaiting reviews and previous reviews isn't clear.
For example, Testing a project as AC member test [https://test-apply.opentech.fund/apply/submissions/10/] has been completed. I submitted a review, but it's still on my dashboard under "waiting review."
Here is a link and screenshot:
https://test-apply.opentech.fund/dashboard/#submissions-awaiting-review

I think a screen share session is best to get to the bottom of this.


deploy.sh has a race condition for ServiceMonitors etc

When you run the deploy.sh script, if your Prometheus Operator doesn't start up (and install the CRD) before moving to the application components, then you'll get a race condition where the last 3 manifests will fail to deploy.
The deploy.sh script needs to be updated to either account for that either by watching and waiting for the Prometheus Operator to fully start, or to attempt to retry the installation of the last 3 manifests in the application list automatically if they fail.

We've hacked around this with the output of oc get pods -w. It's not ideal, but it's basically resolved.


Look into why the merge code was splitting

The tablet merge code was adding splits to the table at the merge boundaries and calling the tablet server to do the split.  This code is there in the elasticity branch but does not function after changes like #3604.  Need to determine why the merge code was doing this and if was tightly coupled to chop merges and would even be needed after the changes in #1327.  If the split at merge boundry is still needed even with #1327, then will need to have the merge code call new split code in the manager.

There is a method in TabletGroupWatcher named sendSplitRequest() that would call the split RPC on tsever.  This method is used by the merge code.   #3604 made this method throw UnsupportedOperationException, which motivated opening this follow on issue.

I can look into why the merge code is splitting later this week as I'm already in that code anyways with #1327

I looked into this and the split request is only done for when a range is deleted from a table and not during a merge. It's kind of interesting how things are designed as merging a range and deleting a range code is coupled together and the MergeInfo object defines the Operation type
Inside of the split request code you can see that if it's not a delete (so a merge) it just returns.
I didn't look into the deletes yet but based off on this I will also need to update #3640 to handle metadata updates for range deletion. If we can update the code to do proper fencing of the files then maybe we can avoid having to do splits and the Elasticity branch wouldn't need to worry about it.

If we can update the code to do proper fencing of the files then maybe we can avoid having to do splits and the Elasticity branch wouldn't need to worry about it.

That would be nice, would simplify the algorithm.

Can probably close this issue after #3761 is merged into elasticity.


Update field.html to enable the use of custom-controls on checkbox inputs when show_form_labels is False

The current code prevents the display of checkboxes (single) as BS4 custom-controls if show_form_labels is False. This modification moves the control of the label display around the label block itself allowing the display of checkboxes as custom-control regardless of the value of show_form_labels.

Hello, I updated the the associated test file to support the modification I'm proposing.

Now fully tested on my end prior to updating the PR, all tests pass.
Sorry about that.

Hello, any news on integrating this fix ?
Thanks.

Hello, I updated the associated test file to support the modification I'm proposing.

Testing this file I can't see any difference with this PR.
And here I was thinking this would be a simple fix to get the custom-checkbox to work inside tables.
Turns out a bit more work was required for it to work correctly.
I based my final solution off of:
https://stackoverflow.com/questions/54865038/style-a-bootstrap-4-checkbox-without-label
Works OK for me now, my table inline-formset now display custom-checkboxes and rregular (non tables-based) custom checkboxes also work and display as intended.
Please review

Thanks @jplaverdure! This looks good to me. 👍

@smithdc1 Any way we can this into a release on pypi, please ?
This would simplify my project dependencies' management !


Closing windows crashes at Window::get_position

Godot version:
4.0.dev 0c8ec72
OS/device including version:
Windows 10
Issue description:
Sometimes when closing or clicking outside a window (implicit cancel), or clicking on a different window, Godot 4 will crash.
I have my Godot set to use embedded windows within the editor, not toplevel/ native windows. I think it happened with native windows too but not sure.
I have hit this many times with a custom written TreeView dialog, and I ran into this once with closing the the NodePath picker dialog after clicking a NodePath slot in the inspector.
I don't have a reproduction project because I can't trigger it on demand. it's like 1 in 30 times. But it happens often enough that a bug needs to be filed about it.
I also ran into this issue a month or two ago: it's not new.
CrashHandlerException: Program crashed
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[0] Window::get_position (S:\repo\godot-pr-pr\scene\main\window.cpp:81)
[1] Window::get_position (S:\repo\godot-pr-pr\scene\main\window.cpp:81)
[2] Viewport::_sub_windows_forward_input (S:\repo\godot-pr-pr\scene\main\viewport.cpp:2950)
[3] Viewport::input (S:\repo\godot-pr-pr\scene\main\viewport.cpp:3046)
[4] Window::_window_input (S:\repo\godot-pr-pr\scene\main\window.cpp:916)
[5] call_with_variant_args<VisualScriptPropertySelector,Ref<InputEvent> const &> (S:\repo\godot-pr-pr\core\variant\binder_common.h:311)
[6] Callable::call (S:\repo\godot-pr-pr\core\variant\callable.cpp:51)
[7] DisplayServerWindows::_dispatch_input_event (S:\repo\godot-pr-pr\platform\windows\display_server_windows.cpp:1796)
[8] Input::_parse_input_event_impl (S:\repo\godot-pr-pr\core\input\input.cpp:642)
[9] Input::flush_accumulated_events (S:\repo\godot-pr-pr\core\input\input.cpp:858)
[10] DisplayServerWindows::process_events (S:\repo\godot-pr-pr\platform\windows\display_server_windows.cpp:1532)
[11] OS_Windows::run (S:\repo\godot-pr-pr\platform\windows\os_windows.cpp:622)
[12] widechar_main (S:\repo\godot-pr-pr\platform\windows\godot_windows.cpp:163)
[13] _main (S:\repo\godot-pr-pr\platform\windows\godot_windows.cpp:187)
[14] main (S:\repo\godot-pr-pr\platform\windows\godot_windows.cpp:199)
[15] __scrt_common_main_seh (D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
[16] BaseThreadInitThunk
-- END OF BACKTRACE --

Steps to reproduce:

Open things that have popup windows. For example, on a node which has  NodePath picker in the inspector, click the NodePath such that it opens a popup window.
Defocus the Godot editor and refocus it. This seems to make the crash more likely but could be coincidence
Click out of the window or click on the X
Try different things or repeat until it crashes (Can't reproduce reliably)

Minimal reproduction project:
N/A - had it happen in two completely unrelated projects. it seems independent of the project.

I'm pretty  sure this was closed a long time ago.


2024Q2 Quarterly Updates

Quarterly Update Check-list
Once the new archives have been vetted and published, you can begin the process of integrating the new quarterly update data into PUDL.
Follow the steps in Existing Data Updates Docs
### Tasks
- [ ] https://github.com/catalyst-cooperative/pudl/issues/3760
- [ ] https://github.com/catalyst-cooperative/pudl/issues/3762
- [ ] https://github.com/catalyst-cooperative/pudl/issues/3763
- [ ] https://github.com/catalyst-cooperative/pudl/issues/3777
- [ ] https://github.com/catalyst-cooperative/pudl/issues/3761
- [ ] https://github.com/catalyst-cooperative/pudl/issues/3759
- [ ] https://github.com/catalyst-cooperative/pudl/pull/3790

There were some minor error corrections to the 2024 NREL ATB that we should probably include in this update -- I think it should be as easy as updating the DOI.

Almost all of the FERC archives seem to have grown a tiny bit since July, so I tried updating the DOIs and running the ETL in #3790 which doesn't seem to have caused any ETL issues.


Layout shift when tabs with a repeater are used on form

Package
filament/filament
Package Version
3.2.62
Laravel Version
11
Livewire Version
3
PHP Version
8.2
Problem description
Hi!
I need to use tabs with localization. Each tab has a repeater component, which in an example, creates a size table for the product. The problem is that if you use the repeater in tabs, then extra space appears at the page's bottom.
I tested this on Google Chrome, Safari and Firefox. This issue reproduces in Chrome and Safari. In Firefox page is normal.
To minimize the effects of extensions, I opened the guest window. If opened the first tab:

(dev tools - html height)

As you can see, the page has space and a broken header (most likely related to page height).
But when I switch to the second tab - no more space.

After minimal debugging, I found that the reason is in the repeater in tabs

because, when I put many input fields at the same height, the page is normal

Expected behavior
When switching between tabs, there is no free space at the page's bottom on first tab.
Steps to reproduce
I have prepared a demo project that reproduces the problem.
To create a test product with a size table, run the seeder php artisan db:seed
After that, open Google Chrome, login, open a product resource and edit the product.
Reproduction repository
https://github.com/Oleksandr-Moik/filament-demo-tabs-repeater
Relevant log output
No response

Hi! I did a little research and found the problem. Yes, it's because of the labels in field-wrapper/index. Without this label, or when the label has 'hidden' attribute problem solves, but we don't want to use it, I think.
I went further and started switching styles 🙃 and found that if we change the style of 'position' from 'absolute' on any other, for example, 'fixed', the page will render correctly.
Changes
    @if ($label && $labelSrOnly)
-        <label for="{{ $id }}" class="sr-only">
+        <label for="{{ $id }}" class="sr-only fixed">
            {{ $label }}
        </label>
    @endif

Without change

With changed position value

@zepfietje, what we can do with that label, add a 'fixed' class or apply other changes?
Maybe, it`s a problem with Tailwind, I found the following comments - https://github.com/tailwindlabs/tailwindcss/issues/2740#issuecomment-736711525

Maybe we should use aria-label instead of sr-only?

If I understand you correctly, we need to additionally pass a label to the input attributes
For simplicity, I just added the attribute with inline conditions:

Then, in the browser in the accessibility information will be as follows:

But it might be better to use another approach.

@Oleksandr-Moik could you check if this is still an issue?

I'll try it soon, take a look and write back

Thanks, @Oleksandr-Moik!


fix(cli)!: Enable CLI to work without kubeconfig (i.e. server only mode)

Checklist:

[x] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[x] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
[x] I've signed the CLA.
[x] I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
[x] My builds are green. Try syncing with master if they are not.
[x] My organization is added to USERS.md.

It says "server only mode". Would that possible/easy for you to add client mode to this? So we could use argo with the cluster URL + a token?

It says "server only mode". Would that possible/easy for you to add client mode to this? So we could use argo with the cluster URL + a token?

This is intended to allow you to use the Argo CLI without any local Kubernetes configuration, just so long as you have an Argo Server available (i.e. ARGO_SERVER is set).

@whynowy can I please ask you to review? You've worked in some of this code before and Simon/Bala are probably busy with bug squashing.

Even if the server is in client only mode? Great in that case.


The argument type 'SomeEnum/1/' can't be assigned to the parameter type 'SomeEnum/2/'

I got a really strange message today:
lib/main.dart:9:16: Error: The argument type 'SomeEnum/1/' can't be assigned to the parameter type 'SomeEnum/2/'.

'SomeEnum/1/' is from 'package:test_path/test_path_folder/some_enum.dart' ('lib/test_path_folder/some_enum.dart').
'SomeEnum/2/' is from 'package:test_path/test_path_folder//some_enum.dart' ('lib/test_path_folder//some_enum.dart').
p.someMethod(s);

It took me at least 10 minutes to find out the issue.
It seems I entered an invalid(?) path as import import '../test_path_folder//some_enum.dart'; - notice the 2 slashes.
Request:
Can Dart/Flutter handle this situation with a more helpful message? Or treat the paths as identical?
How to reproduce:

flutter create new application
create 2 sibling folders

C:\FLUTTER_TEMP\TEST_PATH\LIB
│   main.dart
│
├───test_path_folder
│       some_enum.dart
│
└───test_path_sibling_folder
        test_path_sibling.dart

create file some_enum.dart

enum SomeEnum { a, b, c }

create file test_path_sibling.dart - notice the double slash

import '../test_path_folder//some_enum.dart';

class TestPathSibling {
  someMethod(SomeEnum a) {
    print(a);
  }
}

main.dart contains:

void main() {
  SomeEnum someEnum = SomeEnum.b;
  print(someEnum);
  TestPathSibling p = TestPathSibling();
  p.someMethod(someEnum);

  runApp(MyApp());
}

Another variation I found is when test_path_sibling.dart contains import '../test_path_folder//some_enum.dart';
but main.dart contains import 'test_path_sibling_folder//test_path_sibling.dart'; the message is
lib/test_path_sibling_folder//test_path_sibling.dart:1:8: Error: Error when reading 'lib/test_path_sibling_folder/test_path_folder/some_enum.dart': The system cannot find the path specified.

This is currently working as intended.
It's another example of why using URIs to identify libraries, regardless of local path resolution, is not necessarily user friendly.

Oh, sorry to hear that. Thank you for your support.

Closing in favor of lang issue.


May I ask where the definition of admin_url() is ?

Laravel Version: #.#.#
PHP Version:
Laravel-admin: #.#.#

Description:
Steps To Reproduce:

i found lol


PpictorialBar Series Label- rotate, When I rotate the Data label of bar series then same direction i wan to rotate the Pictorial Bar label icon

Version
5.5.0
Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=bar-simple&code=G4QwTgBArgDgCiALgCwgXgFAQgchk5ALgHpiBZADgogCYA2AFgBsBmARgnYjZpYFoeNCAAZadagwYiRfegE5uvRVJY0-qgQHZNWugC0cAbgyhIAEwDuCFOiy58KEuUkd6zdWvYClPFjPoUfJLSogHe_L7qHFxsmnTccQbGGAD2MIgAlikAdugQAN52AB4AgkUZAM6EBXbYiACeMACm1TgAxkhNAOYpYPU4ADS1EGZIINUA2jhkOYO4ACpQTXM4AOpNZivzyFArAGJgGSsAykgnUNk4ALp2AL5D2PVlldWF2HWNLbigTEs4dw8IBUmocmlUIBNhm93thRohxhCeMIBrRhMjuABWdEUdGadFsNj4ljCK6AmENZqtABG4EGw2wTBAVKaTFe9PeYBS8MQXxoeLJMKByBSFmqiDASwFMJgKQqGUyOVaiDS_0FEFuw3uUPZFXhbQA1q0zBkAGYmsBNbKIeYAORAAFtllKRmNJkiUTQ0Si2FiUTiUfzuITvcTSeyKV88Bk2srDiAmAAhWnOxnM1k1NXYTncr58OTCdlatUVer2qkpdOWazIZ0lssV44ZABeX2DOtL5aYAHkzcDEJMaBiUQIMWHix2K3BZfKstlWpbNpq7DdboYgA
Steps to Reproduce

I took a simple Bar Chart series, applied label rotation, and then added a pictorial bar series.
Although I also rotated the labels for the pictorial bar, it did not rotate

Options:
var upPath =
'path://M88 264l31 31 123-122 0 268 44 0 0-269 123 124 32-32-177-176Z';
var dwPath =
'path://M441 264l-32-31-123 123 0-268-44 0 0 268-123-123-31 31 176 176Z';
option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [
{
data: [120, 200, 150, 80, 70, 110, 130],
type: 'bar',
label: {
rotate: 270,
show: true,
position: 'top'
}
},
{
stack: 'diffrentTName',
data: [120, 200, 150, 80, 70, 110, 130],
type: 'pictorialBar',
label: {
rotate: -90
},
symbol: dwPath,
symbolSize: 10,
symbolOffset: [25, -15],
symbolPosition: 'end'
}
]
};

and
Current Behavior
Pictorial bar series labels are not rotating
Expected Behavior
Pictorial bar series labels should rotate.
Environment
- OS:
- Browser:
- Framework:

Any additional comments?
No response

Maybe you should use symbolRotate to rotate the symbo, instead of the label whis visability is set to false by default.

Yes, the above symbolRotate worked, thank you. However, when I rotated both the bar label and the Pictorial bar to 270 degrees, the Pictorial bar label displayed strangely. I have uploaded the issue behavior and the expected behavior below.
Options:

With the above options, the Pictorial bar icon rotated correctly, but the pictorial bar icon does not respect the label color.
Issue Image:

Expected Behavior:

Instead of adjusting the symbolOffset, is there any other way to ensure that when I change the rotate and symbol rotate properties, both the bar label and Pictorial bar label display correctly?

You are confusing the label of the bar series with the label of the pictorialBar series. These are two completely different series instances that do not share any data. You just put the same data into both.
That beeing said, you can align the label of the pictorialBar series with its symbol by using align, verticalAlign, distance, position and offset. To get the effect you are looking for this seems to do the job:
position: 'top',
verticalAlign: 'middle',
distance: -25

Example
Note, that you can move the symbol horizontally now via symbolOffset and the label will keep the distance you specified.


Still on 0?

Should this work straight away? Still reads as 0 in the column in admin. Is there a tag I need to place on the templates themselves?

Yep, had to add:
{% do craft.trendingPosts.increment(entry.id) %}
Works now :)


bind:text doesn't working inside else block

When a textField is inside of an {:else} block the bind:text doesn't work. The compiler throws ValidationError: 'text' is not a valid binding (9:15).
For example,  the following fails.

<page>
  {#if true}
    True
  {:else}
    <textField bind:text={username} hint="Email or Username" />
  {/if}
</page>

But if you switch the textField and label it works fine.

<page>
  {#if true}
    <textField bind:text={username} hint="Email or Username" />
  {:else}
    True
  {/if}
</page>

This might be related to #24. I tired removing my node_modules and reinstalling but it didn't help.

it certainly sounds like svelte-native-preprocessor isn't running, unless it is having trouble traversing the AST, could you please check your webpack.config.js to see if it is setup to run the preprocessor?

I'm using the svelte-native-template and I haven't changed any configuration so svelte-native-preprocessor should be running.
If the processor wasn't running the the binding should work no matter where the textField is, right? The fact that it only fails when inside of an else block points to it being an issue with AST traversal.

Well spotted. It was the AST traversal, I switched to using svelte's internal walk, and that fixes the issue. I have published svelte-native-preprocessor 0.1.6 which contains the fix.


[dns-sd] add DNS-SD server network interface binding configuration

This commit allows DNS-SD server to configure the network interface to bind the UDP socket.

Thoughts on this PR? @bukepo @librasungirl


fix: remove compact class from community header

closes https://github.com/inveniosoftware/invenio-app-rdm/issues/1681
:heart: Thank you for your contribution!

Description
addresses overflow on details page (see https://github.com/inveniosoftware/invenio-app-rdm/issues/1681 for reference)
Removes compact class from community header so community image can fit and does not overflow.
Also removes with-submenu class, as there is no submenu. This also adds padding and a divider.

Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

[x] I'm aware of the code of conduct.
[x] I've created logical separate commits and followed the commit message format.
[x] I've added relevant test cases.
[x] I've added relevant documentation.
[x] I've marked translation strings (for relevant code).
[x] I've followed the CSS/JS and React guidelines (for relevant code).
[x] I've followed the web accessibility guidelines (for relevant code).
[x] I've followed the user interface guidelines (for relevant code).
[x] I've identified the copyright holder(s) and updated copyright headers for touched files (>15 lines contributions).
[x] I've NOT included third-party code (copy/pasted source code or new dependencies).

Third-party code
If you've added third-party code (copy/pasted or new dependencies), please reach out to an architect.
Reminder
By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

You license your contribution under the same terms as the current repository’s license.
You agree that you have the right to license your contribution under the current repository’s license.

thank you for the fix!
from the layout point of view however I would rather set maximum height on the image, because it makes the header taller, which causes inconsistencies between displayed layouts of different communities (and we wanted to have the community header in fixed height). So in this case I think you could change the max-height of the image inside the community header or wait until I solve it globally in community: improve community header identity design

Thank you for the feedback!
This is also addressed by https://github.com/inveniosoftware/invenio-app-rdm/pull/1710 and is a better solution, in my opinion.


v-model.lazy is not updating the value of an input when it has a focus

Vue version
after 3.2.0-beta.5
Link to minimal reproduction
https://jsfiddle.net/jtsacqey/24/
Steps to reproduce

Type Jacob into the input.
Hit enter.

same as https://github.com/vuejs/vue/issues/8346
What is expected?
Value property of the input element should be changed to Joseph, as was the value of the name property in the Vue instance.
What is actually happening?
Value property of the input element is not being changed.
System Info
No response
Any additional comments?
The value of the input is correctly being updated when using v-model without .lazy modifier.
3.2.0-beta.4 does not have this bug.
This bug occurs since 3.2.0-beta.5.

Works

Vue version
after 3.2.0-beta.5
Link to minimal reproduction
https://jsfiddle.net/jtsacqey/24/
Steps to reproduce

Type Jacob into the input.
Hit enter.

same as vuejs/vue#8346
What is expected?
Value property of the input element should be changed to Joseph, as was the value of the name property in the Vue instance.
What is actually happening?
Value property of the input element is not being changed.
System Info
No response
Any additional comments?
The value of the input is correctly being updated when using v-model without .lazy modifier. 3.2.0-beta.4 does not have this bug. This bug occurs since 3.2.0-beta.5.

I tested and works for me

Works fine for focusout, such as tabbing and clicking elsewhere.
However, if you type Jacob and press Enter, the characters in the input will still be Jacob.
I use Google Chrome 104.0.5112.102

This is to solve the problem of  #4182 . I found that it has been rolled back in vue2.7

@joaovinicius Works fine for focusout, such as tabbing and clicking elsewhere. However, if you type Jacob and press Enter, the characters in the input element will still be Jacob.
I use Google Chrome 104.0.5112.102

No, works fine for me

@joaovinicius
I'm sorry, my explanation was not good.
It's the input element that doesn't work properly The div element works correctly.
It is correct that the text of the input element is also "Joseph".


Update message.dart

This doesn't look intended to become something we could merge. In any case there's no description of what it's aiming to accomplish, so there's nothing for us to provide feedback on. Closing this PR as it doesn't serve any purpose to have in our tracker.
You're free to do experiments like this one by modifying our code, of course. If you want them on GitHub, you can push them to your own clone.


Improve ghcModProcess stderr handling

The output can be useful to the user, however there is no clear way of knowing when a full error message has been received.
Possible solution
Set a timeout that get's reset when new data comes in and collect the message along the way, then when that timeout has expired report the message upwards until it shows in the UI.
Additional Work:
make logging of errors to console configurable. Possibly with a global "logLevel" configuration that can be used elsewhere (i.e. Error, Debug, Verbose)

Complication:
stderr also reports "exceptions" in what I consider to be normal cases such as when performing a 'check' command against a variable in a function.
For example, attempting to get info about the symbol x in square x = x * x results in an exception.
Possible solution
Use timeout solution as proposed above, log them when the timeout expires and only push them up to the UI if the ghc-mod process crashes.

This has been improved using a few methods.

A delayer is used to accumulate the stderr exceptions
A configurable logger class is used to control what goes to the console (errors also show up in the UI)
Users have control over this via configuration settings


Edit PPP with more details

Added more contributions.

Codecov Report

Merging #258 (d0c1303) into master (94298d8) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #258   +/-   ##
=========================================
  Coverage     56.33%   56.33%
  Complexity      765      765
=========================================
  Files           161      161
  Lines          3305     3305
  Branches        363      363
=========================================
  Hits           1862     1862
  Misses         1317     1317
  Partials        126      126

Impacted Files
Coverage Δ

...ress/logic/commands/groups/DeleteGroupCommand.java
100.00% <ø> (ø)

...ddress/logic/commands/groups/ViewGroupCommand.java
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


WebSocket text-to-speech with Input streaming - always return in MP3 format

Hi there!
There is a problem that no matter what output_format I give as input, mp3 is always returned only for websockets
def text_stream():
    yield "Hello my friend "
    yield "How are you today? "

audio_stream = client.generate(
    text=text_stream(),
    stream=True,
    model="eleven_multilingual_v2",
    output_format="pcm_24000",
    request_options={
      "additional_headers": {
        "output_format": "pcm_24000"
      }
    },
    optimize_streaming_latency=3,
    voice=Voice(
      voice_id='yDVKFZyiAaNeYZvcliQG',
      settings=VoiceSettings(stability=0.32, similarity_boost=1.0, style=1.0, use_speaker_boost=True)
    )
)

for chunk in audio_stream:
    print(chunk)
`Example of response (looks like mp3):
b'\xff\xfb\x90\xc4\x00\x00\x10\xf9\x9b#\xac0\xc6\x89\xec\xb1(t\xf4\x8d\xb6\x00\x00\x00\x10\x84\x92mF\xa0j\x0e\x8fe\xa3@\x81\xa0\x88(\xa9\x00`\x1f\x11\xc9\xe6fk\xc9\x93&@\x82\x1e\xed\x81"\xc9\xa6}\xdd\xde\xc4DD\x18B\x13\xbb\xbb\xbd\xf6A\x08\x88\x88\x88\xbb\xbb<\x9awq\x11\x11\x11\x11d\xc9\xdd\xdd\xefh\x88 \x84D]\xdd\xdd\xdd\xd9\x08\x88\x88\x88\x8b\xbb\xbb\xbb\xbb\x88\x88\x88\x8c\x8b\xbb\xbb\xdf\xf4\xc4""\x08G\xdfv\xf7\xb6....`

Yeah, I was having this issue and I think I solved it. You're gonna want to go to the site package and find the realtime_tts.py file. This file defines the RealtimeTextToSpeechClient class and its convert_realtime() method. That is the method that gets called when you use client.generate() with stream set to True and where the text is a generator function as in your code. But for some reason, generate() does not pass the output_format param to convert_realtime(). So what you need to do is find line 89 in realtime_tts.py and add the output format you want to the end of the URL like so:
"wss://api.elevenlabs.io/", f"v1/text-to-speech/{jsonable_encoder(voice_id)}/stream-input?model_id={model_id}&output_format=pcm_24000"
That should do it!

Blessed be your heart. I had been trying to stream audio with a specific format for 3 hours using websockets, but the websocket section of the docs doesn't really have an example of the parameter being used in such a way, so I had no clue how to even send it. Would be nice if it was added on the next version of the docs!

@skinnynpale @ryandonahue1 appreciate the patience here, the SDK has been fixed in v1.5.0. Please let us know if you run into anymore issues!


Why is _.compact listed as an Array function?

With its current implementation, it works on Objects as well.

Yeah, it seems this should be listed as a Collections function instead.

@amZotti Any interest in opening a PR?

I think this issue should be closed to avoid having so many opened issues, as wotkuni said, it was solved in #2655


"Căpud" is listed in the drop-down menu

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

Step 1
Type "Căpud" in the search bar.

Expected results
The location is listed in the drop-down menu as "Căpud, Alba (Teiuș)".


Add GA configuration

Needed to track metrics for 3.0.

Ah, this was a critical point when discussing how we were going to host these docs.
My understanding is that in order to put GA tags on the page, we have to show the cookie consent warning. I believe that is not implemented on these static pages, so we can't use GA yet. This was a conscious decision.
CC @harisiva @spencer-codaio to confirm my understanding here

@jonathan-codaio -- that's right. I assumed that we had the cookie banner on this page already; my bad. We can add the banner, and then turn on GA collection.

Understood. Closing this PR while we figure out next steps.


Problem creating ICMP rules [Help Wanted] (again!)

Hi,
Today I've updated a legacy project from v1.4.6592.8627 to v<IP_ADDRESS>
Most of my code continues to work, but I'm unable to suss how to create a rule to allow ICMP.
Back in 2019 in issue #12 you helped me and gave me the following example.
Dim Rule = New WindowsFirewallHelper.FirewallAPIv2.Rules.StandardRule("NAME2", FirewallAction.Allow, FirewallDirection.Inbound, FirewallProfiles.Domain)
Rule.Protocol = FirewallProtocol.ICMPv4
Rule.RemoteAddresses = {WindowsFirewallHelper.Addresses.SingleIP.Parse("<IP_ADDRESS>")}
FirewallManager.Instance.Rules.Add(Rule)

I've been unable to find how to replicate this functionality in v2 of your library. I'd be most grateful if you could assist me!
Cheers
Steve

The same code should work, you only need to replace WindowsFirewallHelper.FirewallAPIv2.Rules.StandardRule with WindowsFirewallHelper.FirewallRules.FirewallWASRule.
If you are getting an exception after doing so, please report here so that I look deeper into it.

That worked perfectly, thank you!
Dim Rule = New WindowsFirewallHelper.FirewallRules.FirewallWASRule("NAME2", FirewallAction.Allow, FirewallDirection.Inbound, FirewallProfiles.Domain)
Rule.Protocol = FirewallProtocol.ICMPv4
Rule.RemoteAddresses = {WindowsFirewallHelper.Addresses.SingleIP.Parse("<IP_ADDRESS>")}
FirewallManager.Instance.Rules.Add(Rule)


Fix iridas cube parser to accept and convert double precision.

The old Iridas cube parser would silently convert double precision values to floats and continue working, wheras the current code will raise an "Invalid color triplets" error.
This patch restores the older behaviour.

Actually I've just noticed this problem extends to other lut file formats as well - at least spi1d/spi3d


Switching to user ''.

Hi DrBanner,
i am testing the new Version, and it seems i found a new bug.
If i get the actual Version of inmanage, try to create a new install of invoiceninja the script stops with the message:
/srv/ninja5$ ./inmanage.sh clean_install
All required commands are available.
Environment check starts.
Self configuration found
Switching to user ''.
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] [VAR=value] [-i|-s] []
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] file ...
In the inimage Subdirectory i made the .env.provision and the .env.example holds the same data. Its the data from my old (invoiceninja 4.5.50 versin with all the credentials for the database and so on)
The target ist to migrate the data to the actual Invoice Ninja V5.
I have dumpd the mariadb data completely in a sql file and restore it to the new Database for Invoice ninja V5.
The nginx Webserver is stoppd under this process.
My Hope is to start Invoice Ninja V5 with this data to enshure getting my historical data back in the actual environment.
But ...
Best regards, Dieter

I tested it twice, completely reinstalled Debian 11.
Then reinstalled the script, saved my target platform as .env.inmanage according to the .env from IN 4.5.50 and called the script with /var/www/ninja5$ ./inmanage.sh clean_install.
The result is:
All required commands are available.
Environment check starts.
Self configuration found
Switching to user ''. (the variable is empty!)
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] [VAR=value] [-i|-s]
[]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] file ...
Best regards, Dieter

seems another "Debian" thing. It's handling the sudo command different. Will need to fix that if I can detect which version is in play. Will take some time but I'll fix it as well.

Good Morning DrBanner,
thank you for your help!
sudo -V give me = Sudo-Version 1.9.5p2
/etc/debian_version is = 11.11
Best regards, Dieter

I just tried on debian. Worked without problems. Was a clean environment started from scratch.

Even if I don't enforce the user it works. If I run with my local user it aborts as expected due to failed file creation. So, can't reproduce what's on your end going on.
vboxuser@vbox:/var/www/html/ninja-base$ uname -a
Linux vbox 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux

maybe check your .env.inmanage file if the variable for the user doesn't contain the default value of www-data ...

no reply. not reproducible.


Empty Cells

Hello, I liked your package a lot. Its great. I want to give my student an excercise, where a partial periodic table is printed. Say Z list={1,...,5,9,...,24}. In current scenerio cells 6,7,8 will not be printed. Is it possible that instead of no cell is drawn and no content is printed, empty cells are printed. So that students can be given excercise to fill the information about missing elements?

can remaining cells of exercise list set to partticular scheme containing details of element as per \pgfPTbuildcellstyle.

Hi, I think it is possible to implement a solution to do it. Just to make sure I correctly understand the idea, I made the following schema:

That is what you are thinking?
Best regards.

Absolutely, I want exactly this. Please describe setup

Ok.
I have made the above scheme in Inkscape (editing the pdf file generated with pgf-PeriodicTable).
I will make the necessary changes to the package and submit an update as soon as possible.
Best regards

Much appreciated.👍

Extended syntax for the key Z list implemented.
For example:
Z list=*{1,...,5,9,10,...24}

or
Z list=*({empty list options}){1,...,5,9,10,...24}

can be used to obtain a Periodic Table like the one shown above.
It will be available in the next package update as soon as I have time to include it in the documentation.


Compile Error

Hello,
I am trying to use the library in my application, using the first example in the README file:
auto influxdb = influxdb::InfluxDBFactory::Get("http://localhost:8086/?db=test"); influxdb->write(Point{"test"}   .addField("value", 10)   .addTag("host", "localhost") );
When I am compiling my application I have the following errors occuring.
Any help would be appreciated
In file included from /usr/local/include/InfluxDB.h:15:0,                  from myapp.cpp:62: /usr/local/include/Point.h:27:13: error: expected ‘;’ at end of member declaration      Point&& addTag(std::string_view key, std::string_view value);              ^~~~~~ /usr/local/include/Point.h:27:37: error: expected ‘)’ before ‘key’      Point&& addTag(std::string_view key, std::string_view value);                                      ^~~ /usr/local/include/Point.h:30:13: error: expected ‘;’ at end of member declaration      Point&& addField(std::string_view name, std::variant<int, long long int, std::string, double> value);              ^~~~~~~~ /usr/local/include/Point.h:30:39: error: expected ‘)’ before ‘name’      Point&& addField(std::string_view name, std::variant<int, long long int, std::string, double> value);                                        ^~~~ /usr/local/include/Point.h:52:10: error: ‘variant’ in namespace ‘std’ does not name a template type      std::variant<long long int, std::string, double> mValue;           ^~~~~~~ In file included from myapp.cpp:62:0: /usr/local/include/InfluxDB.h:52:28: error: ‘std::string_view’ has not been declared      void addGlobalTag(std::string_view name, std::string_view value);                             ^~~~~~~~~~~ /usr/local/include/InfluxDB.h:52:51: error: ‘std::string_view’ has not been declared      void addGlobalTag(std::string_view name, std::string_view value);
and
error: ‘Point’ was not declared in this scope      influxdb->write(Point{"test"}.addField("value", 10).addTag("host", "localhost"));

By alternating the switch from -std=c++11 to -std=c++17, I got rid of the first errors and I ended up with only the last one remaining.

Hi, this is not fully working example as it's missing using declaration.
In addition, I'd recommend using CMake in your project so you don't need to handle -std switches manually.


Keyboard row/col codes are not necessarily accurate

Currently, the bottom row of the keymap is not necessarily accurate for everyone. For instance, we define a RIGHT_WIN and LEFT_WIN -- on my keyboard, I only have the left win key, and the right one is a context-menu button, and some people may not have a win key at all! We should address this somehow -- perhaps by having aliases for these positions. Thoughts?

Right. Maybe we should have key codes based on row/column for alphanumeric characters, but arbitrary codes for others? We can do this for alphanumeric because we are guaranteed they will be in the same positions. (or, at least, relative to the rest of the keys)

We could make these key codes arbitrary but semantic meaning can be applied to them via a keymap thing? We can think more about this when it's moved to userspace.

These keycodes are essentially already arbitrary. I could be misremembering, but I don't think their IDs are relevant?

Let's just note that they are arbitrary and the close the issue when that's done.

Closing now -- please remember to note that it is only loosely based on row/cols @gegy1000.


New Java wrapper: jokeapi-java

Link to the project:
https://github.com/khurozov/jokeapi-java

Link to my personal website / GitHub page (optional):
https://github.com/khurozov

Is your project explicit or unsafe for minors to view?

[ ] Yes, it contains explicit material
[x] No, it doesn't contain explicit material

Checklist:

[x] I have added my project's name to the title of this issue
[x] I have filled out at least the first URL (second one is optional)
[x] I have specified whether or not my project is explicit

Thanks for making a wrapper library! It has been added to the readme and documentation page now.


travis-ci build

Hi Mario!
here's a travis-ci build config. You can check out the last 2 builds: clang && gcc
Something's gone wrong in the latest commits
Cheers!
D

thanks for the travis file. for me, it is always tedious to set it up : )

:thumbsup:


reStructedText Check Error

I was editing a .rst file in Hitchhiker's Guide to Python，and after I save the file, I got many error like docs/starting/pip-virtualenv.rst|19 error| Unknown interpreted text role "file"，so why this happened? and how should I fix it ?

Sphinx too sits on top of docutils, it just adds a huge list of extensions to the standard rst syntax. I suppose the clean way to handle all this would be to add a null backend to Sphinx, that would just print any errors it finds and produce no output file.

def filename_to_sphinxname(conf, filename):
      filename{.rest, .rst, .md, .markdown} -> sphinxname

the verbose log file (from a complete sphinx-build run contains line numbers, but is not segmented by filename)

It should be easy then to add a corresponding syntastic checker. I haven't looked at Sphinx sources, but I'd expect that could be done with an extension.

@westurner Syntastic has a Sphinx checker now.


Support CIDR address notation in nodecon statement

Supported since checkpolicy 3.7.
https://github.com/SELinuxProject/selinux/commit/804e52b7f8a3c8649615211a961ef8189fe73f39

Merged, thanks!


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-yml-archive-non-versioning-archive/pull/423 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-yml-archive-non-versioning-archive.git

Docs Build status updates of commit 3942e90:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/index.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-3.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/sql-database-engine.png
:white_check_mark:Succeeded

docs/to-be-archive/level2/article3-2-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-3.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


intellisense is not working for sst.config.ts file and it's showing warning for sst and $config ?

intellisense is not working for sst.config.ts file and it's showing warning for sst and $config, resources are inferred as any.

do you have this at the top of your file?///

@thdxr I do, and I'm getting some intellisense support for $config.

something in my tsconfig doesn't seem to be working correctly.


WHEN I OPEN BLOCK LAUNCHER THE APP CRACHES,THE VERSION OF MINECRAFT POCKET EDITION IS , 15.1 PLEASE FIX

@themastercrcrafter Next time, please search before creating a new issue. It has been stated over and over that this has not been updated for 0.15 yet. Please close this, the author is aware and if you follow him on Twitter you would see that he has been working on this for a few weeks and there has been big changes in 0.15, which is causing a longer than normal delay in updating 0.15.

i have this problem too in android 4.3 :(

Dises gotta fix SOON

@themastercrcrafter yes, I agree, but would you rather the author read your messages along with the other 100 or so, or actually work the updating so you have the fix soon?  Please close this.

How i well fix it

@themastercrcrafter I am sorry, I do not understand what you mean.  If you mean, how do you close this, just click the close button.  If you mean, fix BlockLaucnher, wait for it to be updated, or revert your Minecraft version to 0.14.3, which matches with the PlayStore release of BlockLaucnher 1.12.8.

I,m about to leavthe page and save it tell me some thing

I'm sorry, tell you what?  You did not ask a question that I could understand.  I asked you to clarify what you want.  I also took a guess at what you wanted and posted multiple answers.

How wanna fix block launcher how?

I answered that.  Did you read my reply?

Ok

Please close this issue so that we do not waste the author's time.  Let's let him keep working on the update.

I don,t wanna revert minecraft to 14.3

I,m going to the page

Then you have to wait.  There is NO version of BL that officially supports 0.15 at this time.  So you have to wait.  What page are you going to?  I'm confused.


Feature lc 392 self service user account unlocking

Code changes are correct.
Discussed with Vince to fix the caching issue related to failure attempt in multi-node clustered environment and upgrading the spring-boot and spring version to fix the double counting of the authentication failure listener.


Crashy / buggy leaflet 0.7.7 and 1.0.0-rc.1 in Iceweasel 38.8.0 and Firefox 46.0.1

I can not manage to make leaflet work in Iceweasel nor Firefox.
The first one crashes and the other show up nowhere and marker stays in left-up corner.
It works in Chromium 50.
I'm probably doing something wrong but I don't see it.
Any hint welcome.
        var map = new L.map('map', {center: new L.LatLng(latitude, longitude), zoom: 17});
        L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
            attribution: '© OpenStreetMap contributors'
        }).addTo(map);
        var icon = L.icon({
            iconUrl: '/img/icon.png'
        });
        L.marker([latitude, longitude], {icon: icon}).addTo(map)

Do the maps in the leafletjs.com/examples.html work well on your browser?

They do. And so do the maps in the debug/map/ folder of the project.
I can only guess it's a bad interraction with some CSS on my page I suppose.
I'll try to narrow down a test case.

No more information has been provided, and more than a few weeks have passed. We'll assume this issue is no longer relevant and/or there is no interest to make a better report.


redirect query parameter Commented Out

https://github.com/greenpau/caddy-auth-jwt/blob/42e3bc1519930eb69cca0baab817c372877f0224/caddyfile.go#L309
Is it purposeful that this parameter is commented out and thus not supported?  The readme has documentation on using it.

@dfoster42 , see https://github.com/greenpau/caddy-auth-jwt/pull/81
I didn't have time to look into it yet. Will let everyone know shortly.

Is it purposeful that this parameter is commented out and thus not supported?

@dfoster42 , it was commented out by mistake.

@dfoster42 , resolved and released


Ddg instant answer not rendered correctly

Instant answers are not correctly rendered by the bot.
Trying for example  with !ddg duckduckgo  , I am getting:
D
     u
     c
     k
     D
     u
     c
     k
     G
     o
     i
 ...
     k
     i
     p
     e
     d
     i
     a
 1.  DuckDuckGo - Wikipedia [en.wikipedia.org]
DuckDuckGo (also abbreviated as DDG) is an internet search engine that emphasizes protecting searchers' privacy and avoiding the filter bubble of personalized search results.

 2.  DuckDuckGo (@DuckDuckGo) | Твиттер [twitter.com]
Последние твиты от DuckDuckGo (@DuckDuckGo). Tired of being tracked online? We can help. We're making online privacy simple and accessible for everyone.

 3.  DuckDuckGo - YouTube [www.youtube.com]
DuckDuckGo. DuckDuckGo. 12,9 тыс. подписчиков.

 4.  DuckDuckGo [m.facebook.com]
At DuckDuckGo, we're raising the standard of trust online. We believe a more trusted Internet starts with simple and... To connect with DuckDuckGo, join Facebook today.

 5.  DuckDuckGoog [www.duckduckgoog.com]
DuckDuckGoog lets you use DuckDuckGo for bang queries and Google for everything else, so you get the best of both worlds. Searches Google and !bangs DuckDuckGo. Tell your browser!

 6.  Welcome to the DuckDuckGo Community Platform [duck.co]
Help improve DuckDuckGo by making great suggestions. Share your feedback and ideas. Speak with other passionate DuckDuckGo users. Help us translate DuckDuckGo into your languages.  Discuss tricky translations with others in the community.

 7.  DuckDuckGo Privacy Essentials - Chrome Web Store [chrome.google.com]
Privacy, simplified. Protect your data as you search and browse. **. *Permissions are to block hidden trackers lurking everywhere.***.

 8.  DuckDuckGo [duckduckgo.tumblr.com]
Try DuckDuckGo Privacy Essentials on Safari, Firefox, & Chrome and the DuckDuckGo Privacy Browser for iOS or Android today. This, in a nutshell, is DuckDuckGo's proposition: "The big tech companies are taking advantage of you by selling your data.

 9.  DuckDuckGo [www.reddit.com]
Since this is a subReddit for the discussion of the DuckDuckGo search engine and it's related apps and extension, we ask the you not use this subReddit for We like to keep the DuckDuckGo subreddit friendly, suitable for children (13+), and free of political discussion that risks leading to personal insults.

 10. GoGoPrivate - Private, Anonymous & Untracked Search Engine [gogoprivate.com]
0% Tracking. Startpage (uses Google). Duckduckgo (uses Bing) - Learn More.

Bangs (!) as in instant answers are NOT supported by the ddgr application in CLI mode.
If you use a bang (!) with ddgr such as
bang \!w hello world // bash-specific, need to escape ! on bash

it will open Firefox and disply the response in a GUI.
CLI is NOT supported for this by ddgr. Hence matrix-eno-bot cannot do bangs and instant answers.
Sorry @atomtm


Docstrings

Description
All non-static methods have doc strings now, excluding models.
GitHub Issues
#40

Coverage remained the same at 88.964% when pulling 0731e617c63dbd64d0340f010fd2bf1697c0fa01 on frozenjava:docstrings into 9cc2264b1e5409e18e0c5d26af63b519fa431aef on refindlyllc:development.


Proof of Concept: Add button for variant generation without deleting

1. Why is this change necessary?
There is a currently no easy way to add single variant combinations. When trying to do so, using the "Generate Variants" function will also delete variants, you still might need.
2. What does this change do, exactly?
Adds a new mode "onlyAdd" to the modal which will not remove the variants.
Demo:

3. Describe each step to reproduce the issue or behaviour.

Go to a variant product
Click add variants
Select some combinations
Click next
Variants are only added, not deleted

4. Please link to the relevant issues (if any).
5. Checklist

[ ] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change
[ ] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[ ] I have read the contribution requirements and fulfil them.

Todos (help wanted)

[ ] Clean the modal preselection when variants are added
[ ] Jest Tests
[ ] Fix Button's CSS

🤖 Generated by Copilot at d7ad7d9
This pull request adds a new feature to the product module, which allows adding variants without deleting existing ones. It adds a new isAddOnly option to the sw-products-variants-generator helper and the sw-product-modal-variant-generation component, and modifies the product detail page and the variant generation modal to use it. It also updates the labels and tooltips of the buttons for generating and adding variants, and the corresponding translations.

🤖 Generated by Copilot at d7ad7d9

Add a new prop isAddOnly to the sw-product-modal-variant-generation component to control whether the modal should only add new variants or also synchronize and delete existing ones (link, link, link)
Pass the isAddOnly prop to the sw-products-variants-generator helper, which generates and filters the variant permutations based on the product configuration and the existing variants on the server (link, link, link, link)
Modify the filterVariations method of the sw-products-variants-generator helper to skip the creation of the delete queue if the isAddOnly flag is true (link)
Add a new button for adding variants to the sw-product-variants-overview component, which emits the add-open event to open the modal with the isAddOnly prop set to true (link)
Change the label of the existing button for generating variants to "Synchronize / Generate" in the sw-product-variants-overview component, which emits the generator-open event to open the modal with the isAddOnly prop set to false (link)
Add a tooltip for the add button in the sw-product-variants-overview component, which shows a warning message if the user does not have the product.creator privilege (link)
Add a listener for the add-open event to the sw-product-detail-variants component, which calls the openModal method with the variantAdd argument to show the modal for adding variants (link)
Update the sw-product snippet file for the en-GB locale, which contains the translations for the product module. Change the translation for the generateVariants key to "Synchronize / Generate" and add a new translation for the addVariants key as "Add" (link)

Hello @amenk,
That should be already the case, right? If I go into admin and just add more options, it just generates new variants.
Scenario:

Generate variants with “color: red, green”.
2x variants were generated
Now change the configuration to “Color: Red, Green, White, Black”.
Black + White is generated.

Only when I add another group (e.g. Size) are the existing variants deleted and completely regenerated.

@OliverSkroblin
Thanks for the feedback.
Actually the MR is missing one important functionality - when the "Add" button is used, the property selection tree should start with no preselection.
This is for usecases, where not all variants exist in all combinations. In our case it's seminar date, but with the T-Shirt case let's say you have a Cat-Print and a Dog-Print and the prints are not available in all colors.
So with the current implementation in the core you can only add

Red, Green
Cat, Dog

which will create 4 T-Shirts.
We want to be able to add first Red + Cat and then Green - Dog.
There is already an exclude configuration in the variant generate, but this is very cumbersome if you for example also have sizes S, M, L, XL and want to add configurations one-by-one.
Does it make this more clear? Let me know, if you have further questions.

Okay, this makes sense, so you don't want to trigger the whole combination logic, you only want to add the combinations that are selected when the windows pop up.
In this case, the changes make sense to me ;)

@OliverSkroblin The problem we are currently facing in the implementation to clear the whole selection when using the add-button without breaking the normal sync-style-generation because the combinations data structure is tied tight to the dialogue.
Also I am wondering if both modes should coexist or - once the merchant chose to add single variants, the old option should be disabled, because when using the sync-button, also the missing variants would be generated anyways.
The same problem already happens if the merchant deletes single variant manually - the generator would always try to re-add them.

I am thinking to add a button in the modal "switch to add-only mode" which will reset the selections and later only add. Because the selections are reset, the sync mode does not make much sense anymore. But I am not sure if merchants would want to use both modes anyways.

I have ported more code from the plugin solution we had in 6.4
The selections are now properly cleared (for "add" and restored)
The merge request is basically ready for review.

How do we proceed on this?

Thank you for your contribution @amenk ,
I wanted to inform you that the PR has been merged. I have made a few updates, so there are slight differences in the UI and behavior, but the core feature remains the same.
You can see my demo video and compare with your demo video above:
https://github.com/user-attachments/assets/4ef02eec-9e9b-49c3-8e57-46f8a640c4d5
This feature should be available in the next major release.
thanks, again

@nguyenky thank you very much - the new UI is awesome.

@nguyenky Actually I just notices a problem, when reviewing the video once again.

In our original implementation, all checkboxes were left empty when the "add only" mode is chosen. This is on purpose.
Now, anitquewhite cannot be deselected.
Additional testcase should be:
The user wants to add a single variant combination like

color: aliceblue
length: 1m

anymore, as we cannot deselect antiquewhite it always would add aliceblue/1m + anitquewhite/1m and even more combinations with the "content" attribute choices.
What do you think? Can all checkboxes be cleared, when the "add only" mode is chosen?

@nguyenky ping - what do you think?

Workarkound:

Uncheck all the other attributes
Then check "add only"
Now check the attributes you want to add

But this UX should be improved.
Eventually by clearing all attribute selections when "add only" is checked.

@nguyenky Hey, do you have any update on this from the UX perspective? Shall I create a new issue?

@amenk It's currently under review. There are other ideas from our designer, so it won't be resolved quickly. I'll let you know if there are any changes

Hi @amenk ,
An adjustment merge request about UX  has been merged. This feature should be available in the next major release.
Thanks for your contribution @amenk

Hey @nguyenky
Works flawlessly - thank you very much!
Screencast add Single Variants, Selection is cleared on add


Multihost HA guests need exposure to underlying virt name.

Currently the hostname is not same as kvm virt name. The HA fencing configuration needs to know the virtual machine name (-H below).  Can the virtual machine name be set using '-name:' ? Is it possible to expose the kvm machine name to all nodes in test plan?
In this case the fence agent is fence_xvm :
'-H     Virtual machine (domain UUID or name) to fence'
[root@lvm-c2-node1 ~]# fence_xvm -o status -H lvm-c1-node1
Status: ON
[root@lvm-c2-node1 ~]# fence_xvm -o reboot -H lvm-c1-node1

Currently the virtual.testcloud plugin of the provision step generates a random name based on the run id. Here's an example guests.yaml file:
default:
    guest: <IP_ADDRESS>
    port: 10027
    user: root
    key: /var/tmp/tmt/run-178/plans/default/provision/default/id_ecdsa
    instance: tmt-178-FaLneNNm
    image: https://download.fedoraproject.org/pub/fedora/linux/releases/35/Cloud/x86_64/images
    connection: session

The output of virsh list is as follows:
 Id    Name               State
-----------------------------------
 154   tmt-178-FaLneNNm   running

@cmackows, so you suggest that the instance name is exactly the same as the name key of the provision step config? @frantisekz, are there any limitations for the virt name? I guess we would have to replace any special chars, such as spaces, by - or similar.

@cmackows, so you suggest that the instance name is exactly the same as the name key of the provision step config?
@psss:  For our use cases, yes that would be helpful

As discussed on today's meeting it would be possible to assign the instance names as need either based on the name key or another dedicated key, but the important point is that this functionality would be available only in the virtual provision method provided by the testcloud plugin. When run in the Testing Farm virtual machine names will not be available. We need to clarify expectations.

@cmackows, one more idea: As a temporary/quick workaround you could also use the guests.yaml file which is already now available on all guests:
# cat ../provision/guests.yaml
server:
    guest: <IP_ADDRESS>
    port: 22
    user: root
    key: /var/tmp/tmt/run-203/plan/provision/server/id_ecdsa
    instance: tmt-203-xSmrcGpE
    image: https://download.fedoraproject.org/pub/fedora/linux/releases/36/Cloud/x86_64/images/Fedora-Cloud-Base-36-1.5.x86_64.qcow2
    connection: system
    arch: x86_64
client-one:
    guest: <IP_ADDRESS>
    port: 22
    user: root
    key: /var/tmp/tmt/run-203/plan/provision/client-one/id_ecdsa
    role: client
    instance: tmt-203-nbguMqRZ
    image: https://download.fedoraproject.org/pub/fedora/linux/releases/36/Cloud/x86_64/images/Fedora-Cloud-Base-36-1.5.x86_64.qcow2
    connection: system
    arch: x86_64
client-two:
    guest: <IP_ADDRESS>
    port: 22
    user: root
    key: /var/tmp/tmt/run-203/plan/provision/client-two/id_ecdsa
    role: client
    instance: tmt-203-TfKnkskE
    image: https://download.fedoraproject.org/pub/fedora/linux/releases/36/Cloud/x86_64/images/Fedora-Cloud-Base-36-1.5.x86_64.qcow2
    connection: system
    arch: x86_64

You could easily parse the yaml file and extract instance name for each guest and use it in the resource file. What do you think? Would it be worth trying?

Can the provision directory be synced out to guests with rest of
/var/tmp/tmt/run-XX/plans/multihost?
Thanks,
Chris Mackowski
On Thu, May 12, 2022 at 8:30 AM Chris Mackowski @.***> wrote:

I think so. The guests.yaml would need to be pushed out to driver. At that
point I can write something to parse and create the resource file
On Thu, May 12, 2022 at 7:48 AM Petr Šplíchal @.***>
wrote:

@cmackows https://github.com/cmackows, one more idea: As a
temporary/quick workaround you could also use the guests.yaml file which
is already now available on all guests:
cat ../provision/guests.yamlserver:
guest: <IP_ADDRESS>
port: 22
user: root
key: /var/tmp/tmt/run-203/plan/provision/server/id_ecdsa
instance: tmt-203-xSmrcGpE
image: https://download.fedoraproject.org/pub/fedora/linux/releases/36/Cloud/x86_64/images/Fedora-Cloud-Base-36-1.5.x86_64.qcow2
connection: system
arch: x86_64client-one:
guest: <IP_ADDRESS>
port: 22
user: root
key: /var/tmp/tmt/run-203/plan/provision/client-one/id_ecdsa
role: client
instance: tmt-203-nbguMqRZ
image: https://download.fedoraproject.org/pub/fedora/linux/releases/36/Cloud/x86_64/images/Fedora-Cloud-Base-36-1.5.x86_64.qcow2
connection: system
arch: x86_64client-two:
guest: <IP_ADDRESS>
port: 22
user: root
key: /var/tmp/tmt/run-203/plan/provision/client-two/id_ecdsa
role: client
instance: tmt-203-TfKnkskE
image: https://download.fedoraproject.org/pub/fedora/linux/releases/36/Cloud/x86_64/images/Fedora-Cloud-Base-36-1.5.x86_64.qcow2
connection: system
arch: x86_64

You could easily parse the yaml file and extract instance name for each
guest and use it in the resource file. What do you think? Would it be worth
trying?
—
Reply to this email directly, view it on GitHub
https://github.com/teemtee/tmt/issues/1136#issuecomment-1124951621, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AYTPEVHP7ZHQKTJS67COLUDVJT4YLANCNFSM5S2RMPYQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Can the provision directory be synced out to guests with rest of

It is already there, the cat ../provision/guests.yaml command is called from within the guest.

Thanks, got it
On Thu, May 12, 2022 at 9:57 AM Petr Šplíchal @.***>
wrote:

Can the provision directory be synced out to guests with rest of
It is already there, the cat ../provision/guests.yaml command is called
from within the guest.
—
Reply to this email directly, view it on GitHub
https://github.com/teemtee/tmt/issues/1136#issuecomment-1125099027, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AYTPEVAPNCPZK4AE7BZ4QG3VJUL3ZANCNFSM5S2RMPYQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

The guests.yaml file worked.
On Thu, May 12, 2022 at 10:30 AM Chris Mackowski @.***>
wrote:

Thanks, got it
On Thu, May 12, 2022 at 9:57 AM Petr Šplíchal @.***>
wrote:

Can the provision directory be synced out to guests with rest of
It is already there, the cat ../provision/guests.yaml command is called
from within the guest.
—
Reply to this email directly, view it on GitHub
https://github.com/teemtee/tmt/issues/1136#issuecomment-1125099027, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AYTPEVAPNCPZK4AE7BZ4QG3VJUL3ZANCNFSM5S2RMPYQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I think so. The guests.yaml would need to be pushed out to driver. At that
point I can write something to parse and create the resource file
On Thu, May 12, 2022 at 7:48 AM Petr Šplíchal @.***>
wrote:

@cmackows https://github.com/cmackows, one more idea: As a
temporary/quick workaround you could also use the guests.yaml file which
is already now available on all guests:
cat ../provision/guests.yamlserver:
guest: <IP_ADDRESS>
port: 22
user: root
key: /var/tmp/tmt/run-203/plan/provision/server/id_ecdsa
instance: tmt-203-xSmrcGpE
image: https://download.fedoraproject.org/pub/fedora/linux/releases/36/Cloud/x86_64/images/Fedora-Cloud-Base-36-1.5.x86_64.qcow2
connection: system
arch: x86_64client-one:
guest: <IP_ADDRESS>
port: 22
user: root
key: /var/tmp/tmt/run-203/plan/provision/client-one/id_ecdsa
role: client
instance: tmt-203-nbguMqRZ
image: https://download.fedoraproject.org/pub/fedora/linux/releases/36/Cloud/x86_64/images/Fedora-Cloud-Base-36-1.5.x86_64.qcow2
connection: system
arch: x86_64client-two:
guest: <IP_ADDRESS>
port: 22
user: root
key: /var/tmp/tmt/run-203/plan/provision/client-two/id_ecdsa
role: client
instance: tmt-203-TfKnkskE
image: https://download.fedoraproject.org/pub/fedora/linux/releases/36/Cloud/x86_64/images/Fedora-Cloud-Base-36-1.5.x86_64.qcow2
connection: system
arch: x86_64

You could easily parse the yaml file and extract instance name for each
guest and use it in the resource file. What do you think? Would it be worth
trying?
—
Reply to this email directly, view it on GitHub
https://github.com/teemtee/tmt/issues/1136#issuecomment-1124951621, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AYTPEVHP7ZHQKTJS67COLUDVJT4YLANCNFSM5S2RMPYQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

The guests.yaml file is available on the test runner (where tmt command is executed) and as well as on each guest.


Add guide from tvguide.com

Resolves #50

Can the guide be used instead of tvtv.us? There's no tvguide.com.guide.xml.

@Philblue7 The program guide from tvguide.com is now available at https://iptv-org.github.io/epg/guides/tvguide.com.guide.xml
The main program for US will remain tvtv.us, simply because it currently has more channels and more info about each program.

Also, could all the guides show what's on for two weeks?

No, it is not possible simply because not all sources contain programs even for 3 days in advance.

Is there an EPG that has Kabillion's over-the-top schedule?

I don't know.

Some of the networks like ABC, CBS, The CW, Fox, and PBS Kids are missing from the channels.

Feel free to add the missing channels yourself: https://github.com/iptv-org/epg/blob/master/sites/tvguide.com.channels.xml

No, I don't have time for that.


APP-1385 Existing Webhooks no longer functional after POD outage

Verify HTTP response body returned by Agent to decide if Integration Bridge should remove that stream from the webhook instance

Codecov Report

:exclamation: No coverage uploaded for pull request base (dev@165868e). Click here to learn what that means.
The diff coverage is 100%.

@@          Coverage Diff           @@
##             dev     #144   +/-   ##
======================================
  Coverage       ?   89.72%
======================================
  Files          ?      172
  Lines          ?     3514
  Branches       ?      327
======================================
  Hits           ?     3153
  Misses         ?      276
  Partials       ?       85

Impacted Files
Coverage Δ

...core/bridge/IntegrationBridgeExceptionHandler.java
94.28% <100%> (ø)

Continue to review full report at Codecov.

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


readCounter: allow using SM tag

This helps in using merged, multi-sample BAM files with barcode overlaps

[x] Also modify the --duplicateFilter arg to include the SM tag if --sampleTag is used

commit ae38e6d and other commits fix this


Disable UB bulk wgrad when weights are frozen

Fixes shape mismatch problem during backward with frozen weights (e.g., fine-tuning benchmarks) when TP overlap and UB bulk wgrad is enabled.

/te-ci pytorch


remove separate stubs for chapter 4, 5, and 6 - issue #50

These stand-alone files are no longer needed, content is in Volume3/index.html
This completes issue #50

reviewed by ITI committee during Feb 8th, 2021 t-con


Disable blacklisting of problematic initial trace instructions

We have seen some cases where an important trace gets blacklisted just
because it hits an inner loop that hasn't compiled yet.  Now that
RaptorJIT has switched to a more hotcount-per-second model rather than a
cumulative-hotcount model, the eternal aspect of the blacklist no longer
matches the optimization paradigm we are going for.
Therefore add a "blacklist" JIT option off by default.  Instructions
will only ever be blacklisted when "blacklist" is on.

Results are not looking so good, unfortunately.  Running the release benchmarks for the lwaftr are generally the same as before but sometimes perf gets really bad.  So a random regression: not good.


Feature request: Autosplitter Settings per Split, access settings for Current Split

Allow ASR auto-splitters to set up settings widgets, that allow the user to choose different settings for each split they have.
While the user has the settings editor open, allow the auto-splitter both read and write access to the settings for all splits, or at least the split that the user is currently editing, if the interface restricts the user to only edit one at a time.
During a run, allow the auto-splitter read access to the settings that the user had set for the Current Split.
Various versions of this have been proposed on Discord by DarkRTA, Tedder, and probably others.

LiveSplit Windows-only auto-splitters for some metroidvania games, such as Hollow Knight and Ori, already do this through a combination of:

a List Widget that the user sets up in the same order as their splits,
and allowing the auto-splitter to know the split index during a run, to know which index to use from the List that the user chose.

A makeshift List Widget is already possible with the widgets that are included in ASR already, so the quickest way to get a minimum-viable-product working would be to just allow the auto-splitter access to the split index, so that it can know which index to use from the List that the user chose.

Hey, I was wondering what the status of this was. Does your PR require any plumbing from the "top", so to speak, to get the actual split index passed down? Or is there already an API function that this is going to bind against and thus no other changes need to be made (other than the asr change you mentioned in your PR to allow callers to actually use this change?)
Forgive my ignorance, looking for ways I can help move this forward, as I'd like to be able to do per-split settings and additionally know whether a split has occurred without my autosplitter's knowledge (i.e. user undid/performed a split manually). If you have a cleaner implementation (assuming I take your patch as-is) than:
async fn main() {
  // After process is attached
  let mut prev_split = timer::current_split_index();
  // In async update loop
  let current_split = timer::current_split_index();
  if current_split.map_or(prev_split.is_none(), |val| prev_split.map_or(false, |oldv| oldv == val)) {
    // Handle the case where the user split themselves or undid a split and track it accordingly
  }
}

I'm all ears! Thanks a ton for your work on ASR and for putting up this patch even if it's not yet ready to be merged!

It would require a change to both livesplit-core and asr, where the change to livesplit-core would need to come first. That's why #747 is there as a PR to livesplit-core but I'm waiting to submit a PR to asr only after some version of #747 makes it in.
Also, after some play-testing myself I changed my asr branch to just use an i32 rather than an Option<usize>, but I forgot to change the livesplit-core comments to reflect that, so thanks for the bump, I'll change that now.

Gotcha. What's left on the core side? More play-testing or review from others who might have comments?

I do need to update it to fix a conflict with the Event System changes to livesplit-core.

While fixing that I also updated companion branches on both asr and LiveSplit.AutoSplittingRuntime to be compatible with #747.


Generic host can not read app setting when I install as Windows Service

I use this code to read Configuration, after build, I execute the exe file. It runs perfectly. But after install as Window Service, it throws null exception when get config. Can anyone help me?
 var currentDirectory = Directory.GetCurrentDirectory();
            var configFileName = "appsettings.json";

            Console.WriteLine("Get Configuration");

            if (File.Exists(Path.Combine(currentDirectory, configFileName)))
            {
                Console.WriteLine("Exist Configuration");

                var builder = new ConfigurationBuilder()
                    .SetBasePath(currentDirectory)
                    .AddJsonFile(configFileName);

                return builder.Build();
            }

            return null;

Hello @huyjack178 ... A Windows Service runs out of the C:\WINDOWS\system32 folder. It would work if your appsettings.json file was placed there, but that's not a good solution. Instead of using Directory.GetCurrentDirectory(), set your currentDirectory to a stable location on disk (absolute path) where you can keep the settings file.

I'd like to add a note on this to the topic. This is going to be a common scenario, and devs should be told what the current directory is for a Windows Service.

One possibility is to use the IHostingEnvironment.ContentRootPath ... it will point to the same path that the binPath that was used to create the service.

Can you explain more how to use it ?

I use content root path but still got error
The configuration file 'appsettings.json' was not found and is not optional. The physical path is 'C:\WINDOWS\system32\appsettings.json'.

@huyjack178 What does ...
hostContext.HostingEnvironment.ContentRootPath

... return?
Does it return the same path as the binPath you supplied when creating the service? If so, then you should be able (in theory) to have the appsettings.json file in the published output at that path and it should find it, not in the system32 folder. The system32 folder is what Directory.GetCurrentDirectory() returns.
I had a successful test here yesterday, but I was using a Web Host-based Windows Service. If you still have trouble with it, let me know, and I'll run a test here with a Generic Host-based Windows Service.