ScrollViewer - LayoutCycleException

Describe the bug
Since updating to the latest WinUI (we are currently on WinUI 2.8.1), we have been seeing an increase in LayoutCycleException in our logging.
When these issues hit, the app becomes completely unresponsive and we have to tell the user to restart the application. These are extremely critical issues that reflect very poorly on our application.
The issue appears to be around being at the rightmost extent of the scroll viewer while at specific zoom levels. The issue also appears to be very specific to certain screen resolutions and DPI settings.
I have been able to get a minimal reproduction through a sample application. From this reproduction I have been able to nail down the version where the issue started reproducing:
https://github.com/microsoft/microsoft-ui-xaml/releases/tag/v2.6.0-prerelease.210623001
I have been able to work around the bug for now by using the scrollviewer style from the OS and not from the WinUI controls library. For now, this is the workaround we are going with, however I believe this issue should still be fixed. Maybe it's related to this issue as well. https://github.com/microsoft/microsoft-ui-xaml/issues/7696
Steps to reproduce the bug
I have been able to reproduce this reliably with the following screen resolution settings:

Install this sample application:
LayoutCycleTests.zip
Run the application.
A second after the app launches, it should go to a zoom level and horizontal offset that is known to crash the application.
If this doesn't work, try to zoom in and out while at the right most extent of the scrollviewer on the first page in the flipview.
As an aside, these LayoutCycleExceptions are very hard to diagnose in our application. The exception has no useful information in it, and the only way to get to the bottom of these issues is hope that you can reproduce the issue and then bang against the code until you find out what is causing the issue.
Expected behavior
The app doesn't crash.
Actual Behavior:
The app throws a layout cycle exception, and crashes.
Screenshots
No response
NuGet package version
Microsoft.UI.Xaml 2.8.0
Windows app type

[X] UWP
[ ] Win32

Device form factor
Desktop
Windows version
No response
Additional context
No response

Has there been any update on this. We are seeing a fresh hit of xaml layout cycle exceptions in our app, and they are next to impossible to debug on our end.

We're experiencing this same issue -- specifically, a layout cycle exception being thrown when scrolling to the right edge under certain display scales. For example, using the recommended settings of 2880x1920 at 200% on a Surface Pro 8 results in no layout exceptions, but the same resolution at 225% does.

Setting root containing element's UseLayoutRounding to false may help reduce the failure time.

Just left a comment on #3989 reporting the same thing, though that issue is staler than this one.
UseLayoutRounding on the root element didn't help in my case, but I did just go through & remove every single ScrollViewer from the app (no longer getting the issue) and adding them back in one-by-one and now know exactly which one causes the issue. Still don't know why though...
Running latest WinAppSDK (1.4.231008000) though it was happening with 1.4.230913002 as well.

A fix for this issue has just been completed for WinAppSDK 1.5 (same fix as for #6218). This had already been partially improved in WinAppSDK and also partially fixed in Windows 11 for system XAML (/WinUI2).

@codendone were the improvements for WinUI 2 released yet?

@yaira2 Yes, it looks like the partial improvements were released in a Windows 11 update sometime in 2022. If you still repro the issue in WinUI2 on an updated Windows 11 build, then it would seem those weren't sufficient for your scenario.
A workaround is possible for the primary additional issue here: Set “UseLayoutRounding = false” on the “VerticalPanningRoot” element in ScrollBars. (Or maybe the "HorizontalPanningRoot" if you have horizontal scrollbars.)
One option is to restyle ScrollBar (such as by copying the default ScrollBar style) and set this property on the element in style. The default <Style> block for ScrollBar is rather large, so this might not be the most desirable option.
Another option is to run code like this to search for the element under the subtree of the given element and set the property on it:
        private void DisableLayoutRoundingOnVerticalPanningRoots(FrameworkElement element)
        {
            if (element == null)
            {
                return;
            }

            if (element.Name == "VerticalPanningRoot")
            {
                element.UseLayoutRounding = false;
            }

            for (int i = 0; i < VisualTreeHelper.GetChildrenCount(element); i++)
            {
                DisableLayoutRoundingOnVerticalPanningRoots(VisualTreeHelper.GetChild(element, i) as FrameworkElement);
            }
        }

Another option is to run code like this to search for the element under the subtree of the given element and set the property on it

@codendone, when do you recommend executing this code which sets UseLayoutRounding = false for VerticalPanningRoot?
I have problem with not having VerticalPanningRoot in visual tree to change it's UseLayoutRounding property.
I use ListView, which uses ScrollViewer in its default template, which uses ScrollBar { Name: "VerticalScrollBar" }, which has VerticalPanningRoot element in its template.
I tried to unsure that all elements are loaded by the time when I search for element, but it still doesn't work unfortunately, when ScrollBar.Loaded event happens, ScrollBar still doesn't have any visual tree children. I think it happens because Load event is fired before OnTemplateApplied has been executed. I don't know any other way to find out when VerticalPanningRoot will be added to the tree (there is no event which fires after OnTemplateApplied).
Here is my code which I tried to use to set element.UseLayoutRounding = false:
private void OnListViewLoaded(object sender, RoutedEventArgs e)
{
    var scrollViewer = ListView.GetAllVisualTreeChildren().OfType<ScrollViewer>().FirstOrDefault();
    if (scrollViewer != null)
    {
        if (scrollViewer.IsLoaded)
        {
            OnScrollViewerLoaded(scrollViewer, e);
        }
        else
        {
            scrollViewer.Loaded += OnScrollViewerLoaded;
        }
    }
    else
    {
        Log.Warn($"{nameof(ScrollViewer)} haven't been found in {nameof(ListView)} on {nameof(OnListViewLoaded)}");
    }
}

private void OnScrollViewerLoaded(object sender, RoutedEventArgs e)
{
    var scrollViewer = (ScrollViewer)sender;
    var verticalScrollBar = scrollViewer.GetAllVisualTreeChildren()
        .OfType<ScrollBar>()
        .FirstOrDefault(bar => bar.Name == "VerticalScrollBar");
    if (verticalScrollBar != null)
    {
        if (verticalScrollBar.IsLoaded)
        {
            OnVerticalScrollBarLoaded(verticalScrollBar, e);
        }
        else
        {
            verticalScrollBar.Loaded += OnVerticalScrollBarLoaded;
        }
    }
    else
    {
        Log.Warn($"{nameof(verticalScrollBar)} haven't been found in {nameof(ScrollViewer)} on {nameof(OnScrollViewerLoaded)}");
    }
}

private void OnVerticalScrollBarLoaded(object sender, RoutedEventArgs e)
{
    var verticalScrollBar = (ScrollBar)sender;
    var childrenCount = VisualTreeHelper.GetChildrenCount(verticalScrollBar);
    var verticalPanningRoot = verticalScrollBar
        .GetAllVisualTreeChildren()
        .OfType<FrameworkElement>()
        .FirstOrDefault(fe => fe.Name == "VerticalPanningRoot");
    if (verticalPanningRoot != null)
    {
        verticalPanningRoot.UseLayoutRounding = false;
    }
    else
    {
        Log.Warn($"{nameof(verticalPanningRoot)} haven't been found in {nameof(ScrollBar)} on {nameof(OnVerticalScrollBarLoaded)}");
    }
}

Here is what I see during debugging:

I think I found a solution, I can call element.ApplyTemplate after it loaded in case if VisualTreeHelper.GetChildrenCount(verticalScrollBar) == 0, it works then.
Here is my fixed solution:
private void OnVerticalScrollBarLoaded(object sender, RoutedEventArgs e)
{
    var verticalScrollBar = (ScrollBar)sender;
    if (VisualTreeHelper.GetChildrenCount(verticalScrollBar) == 0)
    {
        verticalScrollBar.ApplyTemplate();
    }

    var verticalPanningRoot = verticalScrollBar
        .GetAllVisualTreeChildren()
        .OfType<FrameworkElement>()
        .FirstOrDefault(fe => fe.Name == "VerticalPanningRoot");
    if (verticalPanningRoot != null)
    {
        verticalPanningRoot.UseLayoutRounding = false;
    }
    else
    {
        Log.Warn($"{nameof(verticalPanningRoot)} haven't been found in {nameof(ScrollBar)} on {nameof(OnVerticalScrollBarLoaded)}");
    }
}


Failed to resolve: com.greysonparrelli.permiso:permiso:0.1.3

compile 'com.greysonparrelli.permiso:permiso:0.1.3' give me the following error.
Error:Failed to resolve: com.greysonparrelli.permiso:permiso:0.1.3
However
compile 'com.greysonparrelli.permiso:permiso:+'
Manage to compile version 0.1.0 however this version requires minSdkVersion to be 16
Is there a setting missing?

Hey, you're not crazy, I had something similar happen to me when I was using permiso in a side project. I was getting this error when I knew very well that this version existed.
For me, it happened when I was using a preview build of Android Studio 2.0 in a new project. The templates for new projects were broken in that build of Android Studio, and me fixing my gradle plugin version created some weird set of conditions where this happened. I couldn't tell you the exact issue, because I ended up solving it by doing some number of cleans and building from the command line, ignoring Android Studio all together.
So try that: do a ./gradlew clean followed by a ./gradlew assembleDebug from the command line and let me know if it builds.
If that doesn't work, make sure Android Studio is up to date and then create a new project that just imports permiso. If that still breaks, then maybe something else is going on.

Oh, I guess I should also mention that you need to have the following snippet in your build.gradle:
repositories {
        jcenter()
    }

This is in all new projects by default already, so it's very unlikely that you don't have it, but I think in super old Android Studio templates, the default repository was mavenCentral, not jcenter, so it's worth mentioning.
You can see a full example of a build.gradle here.

I did not have the jcenter() Thank you!
If I may ask you a different question.
ContextCompat.checkSelfPermission(mActivity.get(), permission) always  returns PackageManager.PERMISSION_GRANTED
Although the permission is not granted. Any ideas?
I am usign a Nexus 5 API 23 AVD with Android 6.0 x86_64

Can you tell me the constant of the permission you're requesting?

I think I figured it out.
My android:targetSdkVersion was not 23 in my manifest.
Thank you for the help and sharing your project!
If you don't mind please add the 2 requirements
jcenter() and targetSdkVersion to your instructions
This might help other people.

Awesome! Quick question, did you have anything in repositories {}? If you had mavenCentral and it didn't work then that's a problem. Just want to make sure that's working.
Otherwise, I'll update the readme soon.
Thanks!

I had the following in my Project build.gradle file
allprojects {
repositories {
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
}

Turns out that I misunderstood how bintray mavenCentral syncing worked. Thought it happened automatically, but turns out you have to click a button for each version :yum:  Fixed it! The new versions are all in the process of syncing to mavenCentral, so I won't have to update the readme about that, since both possible default repositories are covered now.
Thanks for helping me discover this!


Replace silent failures with explicit failures in index-level.ts

In index-level.ts, there are at least a couple of places where we accept invalid input and either return void/empty array instead of throwing explicit errors.
It is probably better to throw instead so that the caller does not assume the method succeeds with no results:

queryWithInMemoryPaging()

      // if a cursor is provided but we cannot find it, we return an empty result set
      return [];

getStartingKeyForCursor()

    if (indexes === undefined) {
      // invalid itemId
      return;
    }

    const sortValue = indexes[property];
    if (sortValue === undefined) {
      // invalid sort property
      return;
    }

Hi @thehenrytsai I would like to work on this issue. Can you please assign this to me?

I have just found one place where we are not returning anything in the index-level.ts file.
https://github.com/TBD54566975/dwn-sdk-js/blob/main/src/store/index-level.ts#L157C14-L157C14, this is the only place.
Let me know if there are more of these.

Hi @lchauha! This is an Issue related to an existing PR that's being merged in. We preemptively created this Issue to address some things in a separate PR.
Keep an eye out for this PR #625 to be merged and then you will be able to pick this up.

i want to work on this issue ,kindly assign me @LiranCohen , if it's still open

.take

Hey @29deepanshutyagi Have you had a chance to work on this issue? Let me know if you ran into anything that you need further explanation for.
One thing to note, it's important that both the in-memory paging and the iterator-paging should return the same errors/results for the same type of queries.


'routing_key' cannot contain non-alphanumeric characters

$ td -p blahkeyblah -test -u http://<IP_ADDRESS>:26657 -c blahblahvalconsxxxxxxxxxxxxxxxxxxxx
tenderduty   | 2022/02/16 15:52:52 main.go:58: Sending trigger event
2022/02/16 15:52:53 HTTP Status Code: 400, Message: {"status":"invalid event","message":"Event object is invalid","errors":["Length of 'routing_key' is incorrect (should be 32 characters)","'routing_key' cannot contain non-alphanumeric characters."]}

The key used is v2. Examples (already removed)
e+23rschqsESqk9Q6_-g
e+kd5BWM-NCknhB3XnYg
I get that this message is generated by a PagerDuty lib, but is it possible this lib is not updated to accept v2 keys?

I haven't seen that error before, but you are 100% correct. I mistakenly used the v1 pagerduty library. I'll take a look at updating.

OK, I see what's going on here. There are two types of API keys available in pagerduty. An events key, and an Oauth API key. They allow access to different things. The event key is available under the services tab, click the "More" button for the service, then "View integrations", "Add integration", and select "Events API V2".
I've bumped to the latest pager duty lib anyways (I was wrong, it was already using the v2 library.)

Yep, problem solved. I am new to pagerduty, I now get that the API key in the traditional sense is the Events API.

Should have paid attention that the other API key is under "Developer Tools" and thus isn't the standard use API.
Thanks!


Build Fix: Commenting wifi_getRadioChannels & wifi_chan_eventRegister

Signed-off-by: manigandan.gopalakrishnan<EMAIL_ADDRESS>

https://jenkins.code.rdkcentral.com/job/github-triggered/142/ started

https://jenkins.code.rdkcentral.com/job/build-component-rdk-next/8777/ started.


Merge develop into master

Codecov Report

Merging #75 (88ee22c) into master (c4a169b) will increase coverage by 0.00%.
The diff coverage is 93.71%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff            @@
##           master      #75    +/-   ##
========================================
  Coverage   96.61%   96.61%
========================================
  Files          24       25     +1
  Lines        6467     6682   +215
========================================
+ Hits         6248     6456   +208
- Misses        219      226     +7

Impacted Files
Coverage Δ

test/ITU_validation_test.py
97.40% <ø> (ø)

itur/plotting.py
51.47% <42.30%> (-0.71%)
:arrow_down:

test/itur_test.py
91.45% <69.36%> (+0.08%)
:arrow_up:

itur/models/itu1144.py
82.14% <71.42%> (ø)

itur/models/itu1510.py
96.15% <83.33%> (-0.05%)
:arrow_down:

itur/models/itu1511.py
94.93% <85.71%> (-0.07%)
:arrow_down:

test/examples_test.py
93.01% <91.17%> (ø)

itur/models/itu835.py
98.49% <96.05%> (ø)

itur/utils.py
97.41% <96.42%> (+0.06%)
:arrow_up:

test/ITU_validation_report_test.py
97.05% <98.02%> (-0.35%)
:arrow_down:

... and 17 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


HTML

#HTML
User Story
As a boot camp student,
I want a Prework Study Guide website,
so that I can review all the information I learned throughout Prework.
##Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, Git, and JavaScript with associated notes listed

Updated the HTML code for your Prework Study Guide and pushed up the changes from your local repository to the remote repository on GitHub.


Make sure JobCountScorer doesn't penalize long room staff

Particularly Multi Blind staff who spend a lot of Thursday / Friday scrambling.

#89's framing of this should make it not an issue.


[Feature] Add groups parameter to Conv2d in ResidualBlockNoBN

Add groups parameter to Conv2d in ResidualBlockNoBN
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Please describe the motivation of this PR and the goal you want to achieve through this PR.
I'm working on implement acceleration and compression for Super Resolution model to deploy on small device.
I have to use group convolution using conv2d groups parameter. But in mmediting ResidualBlockNoBN has no groups parameter.
So I think groups parameter has to be add to ResidualBlockNoBN for who need group convolution.
Modification
Please briefly describe what modification is made in this PR.
Add groups parameter to Conv2d in ResidualBlockNoBN.
Who can help? @ them here!
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repositories?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist
Before PR:

[x] I have read and followed the workflow indicated in the CONTRIBUTING.md to create this PR.
[x] Pre-commit or linting tools indicated in CONTRIBUTING.md are used to fix the potential lint issues.
[x] Bug fixes are covered by unit tests, the case that causes the bug should be added in the unit tests.
[x] New functionalities are covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[ ] The documentation has been modified accordingly, including docstring or example tutorials.

After PR:

[ ] If the modification has potential influence on downstream or other related projects, this PR should be tested with some of those projects.
[ ] CLA has been signed and all committers have signed the CLA in this PR.

Sorry for responding later. You may fix the comment so I can merge this PR.
circleci failed for this PR. You may pip install pre-commit and run pre-commit run --all-files to fix this error.

This may also be useful for branch dev-1.x, we will appreciate it a lot if you can also make a pr to fix this in dev-1.x.

Hi @gihwan-kim , we'll just handle this PR since hasn't receive further response.

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

Hi @gihwan-kim , Could you sign the CLA so we can merge this PR?

Hi @gihwan-kim！First of all, we want to express our gratitude for your significant PR in the MMEditing . Your contribution is highly appreciated, and we are grateful for your efforts in helping improve this open-source project during your personal time. We believe that many developers will benefit from your PR.
We would also like to invite you to join our Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us ：https://discord.gg/UjgXkPWNqA
If you have WeChat account，welcome to join our community on WeChat. You can add our assistant ：openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends：）
Thank you again for your contribution！❤


cli creates aws-exports.js for a mobile project, even though I selected Javascript during amplify init

Describe the bug
amplify init, chose

? Enter a name for the project amp
? Enter a name for the environment dev
? Choose your default editor: Visual Studio Code
? Choose the type of app that you're building javascript
Please tell us about your project
? What javascript framework are you using angular
? Source Directory Path:  src
? Distribution Directory Path: dist
? Build Command:  npm run-script build
? Start Command: ng serve
Using default provider  awscloudformation

...and the resulting aws-exports file only contained
const awsmobile = {
    "aws_project_region": "eu-west-1"
};

export default awsmobile;

whereas I was expecting a different format in this style (but not exactly like this obviously, as I haven't added auth or api yet):
Auth: {
    identityPoolId: 'ca-central-1:xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
    region: 'ca-central-1',
    userPoolId: 'ca-central-xxxxxxxxxx',
    userPoolWebClientId: 'xxxxxxxxxxxxxxxxxxxxx',
  },
  API: {
    endpoints: [
      {
        name: 'ApiGateway',
        endpoint: 'https://xxxxxxxxxx.execute-api.ca-central-1.amazonaws.com/Dev/',
        region: 'ca-central-1'
      }
    ]
  }

Amplify CLI Version
4.2
Additional context
Add any other context about the problem here.

You need to add the API category and push before you can get such configuration section.
After amplify init completes

run amplify api add and select REST as the API type
run amplify push

@blomm Please let us know if you're still stuck on this issue. Closing this issue for now.


Turn costs get ignored for custom weighting

From here: https://discuss.graphhopper.com/t/custom-model-uses-not-allowed-turn/6124/
When we use something like:
profiles:
   - name: car
   - vehicle: car
   - turn_costs: true
   - weighting: custom
   - custom_model_file: empty

the turn_costs: true setting is simply ignored, i.e. we cannot use turn costs with custom weightings.

Here:
https://github.com/graphhopper/graphhopper/blob/c3740f71ed552e41dc7e9324e44ed7b7c571d20c/web-bundle/src/main/java/com/graphhopper/http/GraphHopperManaged.java#L111-L114
we copy the CustomProfile, but do not pay attention copying the turn_costs flag. I'm surprised we did not notice this earlier?!

Oh, thanks!


fixfix hive table with cosn location issue

Proposed changes
Sometimes, the partitions of a hive table may on different storage, eg, some is on HDFS, others on object storage(cos, etc).
This PR mainly changes:

Fix the bug of accessing files via cosn.
Add a new field fs_name in TFileRangeDesc
This is because, when accessing a file, the BE will get a hdfs client from hdfs client cache, and different file in one query
request may have different fs name, eg, some of are hdfs://, some of are cosn://, so we need to specify fs name
for each file, otherwise, it may return error:

reason: IllegalArgumentException: Wrong FS: cosn://doris-build-1308700295/xxxx, expected: hdfs://[172.xxxx:4007](http://172.xxxxx:4007/)
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 44.98 seconds
stream load tsv:          560 seconds loaded<PHONE_NUMBER>9 Bytes, about 127 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          29.6 seconds inserted 10000000 Rows, about 337K ops/s
storage size:<PHONE_NUMBER>2 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.14 seconds
stream load tsv:          532 seconds loaded<PHONE_NUMBER>9 Bytes, about 134 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.6 seconds inserted 10000000 Rows, about 337K ops/s
storage size:<PHONE_NUMBER>7 Bytes


title-case capitalizes "from" (to "From")

The titleCase function seems to mistakenly capitalize the preposition "from".
Example:
before titleCase: "evolution of the earliest amphibians from freshwater fish"
after `titleCase: "Evolution of the Earliest Amphibians From Freshwater Fish"
Expected behavior:
after `titleCase: "Evolution of the Earliest Amphibians from Freshwater Fish"

Seems subjective, do you have a reference for your expected behavior?

You're right. I thought prepositions of 5+ letters are supposed to be capitalized, but now I see that AP and a couple other guides say to capitalize prepositions of 4+ letters.

Yeah, it's all a little subjective. I was looking at this example to double check which uses "From" as the example. I don't use this module personally and just opt for writing in sentence case 🤷


Most search enums are not documented

Most enums in searchindex.json and searchservice.json are not documented, meaning that SDK source generators are just using the values as doc comments which does not benefit customers. These should all be documented like AnalyzerName, using the x-ms-enum.values array like AnalyzerName does. This will improve our docs across the entire client SDKs.
Part of Azure/azure-sdk-for-net#11457

FYI @bleroy: The following indexer-related enums need some work:

DataSourceType: missing descriptions
IndexerExecutionStatus, IndexerStatus, TextExtractionAlgorithm, TextSplitMode, VisualFeature, ImageDetail, EntityCategory: missing values section

The rest are either fine, or I'm working on them. Once I've submitted my PR, I'll re-assign this issue to you.

#9276


Unexpected error running initialize() for model_executor

Got another error in my logs. Wasn't sure if this was a problem or not
2023-03-19 23:38:34.590968 WARNING model_executor: ------------------------------------------------------------
2023-03-19 23:38:34.592787 WARNING model_executor: Unexpected error running initialize() for model_executor
2023-03-19 23:38:34.593283 WARNING model_executor: ------------------------------------------------------------
2023-03-19 23:38:34.598152 WARNING model_executor: Traceback (most recent call last):
  File "/opt/venv/lib/python3.9/site-packages/appdaemon/app_management.py", line 165, in initialize_app
    await utils.run_in_executor(self, init)
  File "/opt/venv/lib/python3.9/site-packages/appdaemon/utils.py", line 337, in run_in_executor
    response = future.result()
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/thesillyhome_src/appdaemon/apps/model_executor.py", line 23, in initialize
    pd.read_parquet(f"{self.model_path}/X_train_entity_ids.parquet")[
  File "/opt/venv/lib/python3.9/site-packages/pandas/io/parquet.py", line 501, in read_parquet
    return impl.read(
  File "/opt/venv/lib/python3.9/site-packages/pandas/io/parquet.py", line 349, in read
    handles = get_handle(
  File "/opt/venv/lib/python3.9/site-packages/pandas/io/common.py", line 866, in get_handle
    handle = open(handle, ioargs.mode)
FileNotFoundError: [Errno 2] No such file or directory: '/thesillyhome_src/data/model/1/X_train_entity_ids.parquet'
2023-03-19 23:38:34.598613 WARNING model_executor: ------------------------------------------------------------
2023-03-19 23:38:34.601611 INFO AppDaemon: App initialization complete

Yes this crash is continuing to happen :(

This should be fixed with the latest PR. The schema changed from HA side.


Feature/delete customer by id

Delete a customer with id

thanks. just a heads up, renamed to remove()


Module re-org

Part of #701, supersedes #702
I've kept package names the same for now, we can probably do that in a separate PR

I think filtering can probably move to core also. WDYT @bplommer @catostrophe?

I've left inject intact so that people will get dependency updates. I think if we change the package name on Trace we can leave a @deprecated version in inject.

Do we have a written plan on package renaming? Currently, the new module organization looks inconsistent with packages and triggers my OCD.

No plan yet, I've created us an issue to discss #744

OK, I think that's everything in terms of module consolidation. Here's a summary of what's gone where:
model -> kernel
core -> kernel
exporter-common -> core
exporter-stream -> core
log-exporter -> core
inject -> core
filtering -> core
rate-sampling -> core & tail-sampling
base -> context-utils
base-laws -> context-utils-laws
base-io -> io
inject-io -> io

@bplommer @catostrophe WDYT about moving dynamic-sampling and dynamic-sampling-config into core?

@bplommer @catostrophe WDYT about moving dynamic-sampling and dynamic-sampling-config into core?

I'm fine


Cart Total does not include sales tax

Environment Details
Spartacus: latest develop
Browser: Chrome 73.0.3683.86
OS: Mac Os
Happens on: http://dev-com-19.accdemo.b2c.ydev.hybris.com:4200/electronics-spa/en/USD/
Steps to Reproduce
Login
Add product 3595723 to cart, qty 2.
Go to cart page
Actual Result
The cart total is not including the sales tax.
4004.96 - $20 discount = 3984.96
Did not add the sales tax $189.76

i thought all this info comes from backend... let Bill know what you find.

@Xymmer here's what comes back from the cart OCC call

"subTotal" : {
"formattedValue" : "$1,982.48"
},
"totalDiscounts" : {
"formattedValue" : "$20.00"
},
"totalItems" : 1,
"totalPrice" : {
"currencyIso" : "USD",
"formattedValue" : "$1,982.48",
"value" : 1982.48
},
"totalPriceWithTax" : {
"currencyIso" : "USD",
"formattedValue" : "$1,982.48",
"value" : 1982.48
},
"totalTax" : {
"formattedValue" : "$94.40"
},

two issues:

Net vs Gross (Base Commerce > Base Store > Electronics > Essenntial Properties):
When Net = true, total price does not include taxes.
When Net = false, total price includes taxes.

To make things more confusing, after you change this in Backoffice, the boolean is cached somehow, so the only way you can see the change seems to be to make a new cart (perhaps updating the quantity will do so as well).
Second problem: discounts should not be part of subtotals unless they are entry level.

changes to make:

#3244 - setting net to true makes the subtotal look correct (taxes are not part of subtotal when net = true)
what accelerator does:
when net = false, display a line under totals that says "Your total includes $#.## tax"; when
when net = true, display tax as part of the list

taken care of by other tickets


create footer

Looks awesome, I would love to merge it but this task was claimed by someone else.
Feel free to create an issue to work on, if there are none available.


Thx for your awesome work, I want to ask some questions

If I only need reconstruction from the sketch(needn't attribute change), How should I sample it?
I trained on my datasets, but in the training process, the generated result from different sketches tend to be the same, it's bizarre, so can you give me some suggestions?
I will very much appreciate your help!
Thanks!

Hi,
Thanks for your interest in our work.

Please refer to https://github.com/Yan98/S2FGAN/blob/main/model.py#L1040
This also sounds weird to me. Will changing the weight of outer_bce and outer_edit help?  https://github.com/Yan98/S2FGAN/blob/main/model.py#L1029 and https://github.com/Yan98/S2FGAN/blob/main/model.py#L1090. From memory, this loss did help attribute editing, but will damage the image fidelity when training for long iterations.

thanks for your reply!!!!!


type intellisense fix

vscode's intellisense could not detect that the CommandoClient class inherited the Client class from discord.js. simple doc fix

I don't think this is necessary, as it's declared in both the typings and the JSDocs (as an external).


why my file have ref from B1:C6 in sheet 1  not A1:B6

Hello tow day i have issue with pasre js-xlsx
Why my excel  have !ref is B1:C6 not  A1:B6
Please view image
http://prntscr.com/84fe9q

@webinopoly can you share a file?

Please test against http://oss.sheetjs.com/js-xlsx and reopen if the issue persists.


Cleaner level abbreviation

The @fiber macro now just overrides each symbol, leaving room for normal scoping rules if it's not an abbreviation.

Codecov Report
Base: 66.83% // Head: 66.81% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (a6bdacb) compared to base (95ecb88).
Patch coverage: 75.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #55      +/-   ##
==========================================
- Coverage   66.83%   66.81%   -0.02%
==========================================
  Files          43       43
  Lines        3395     3399       +4
==========================================
+ Hits         2269     2271       +2
- Misses       1126     1128       +2

Impacted Files
Coverage Δ

src/Finch.jl
16.66% <ø> (ø)

src/scalars.jl
74.28% <0.00%> (-2.19%)
:arrow_down:

src/fibers.jl
88.18% <85.71%> (-0.53%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Script Editor UX Tweaks

After playing around with the script editor, a few UX suggestions:

[x] Add support for making composite folders
[ ] Select entity/composite in the correct lists when they are loaded
[x] Add support for searching composite tree
[x] Add button to find uses of FunctionEntity types
[x] Add option to disable opening new tabs for composites/entities
[x] Add context menu for composite actions, including deleting whole folders
[x] Add context menu for entity actions
[ ] Change the "function" button text to make sense to the entity
[x] Rename the root composite to just be the level name, and/or separate the root and PAUSEMENU and GLOBAL composites out
[x] Add copy/paste function for transforms

Just noticed that the composite folder creation window is maximizable:

OpenCAGE version: <IP_ADDRESS> (Staging)

Cheers @Const1702 - fixed in latest staging.

Noticed an update to the way composites (prefabs) are displayed in the entity list, where they don't show their full path as their name, which is a really nice improvement, because they were really clogging up the list. Let's say, however, that I want to search for all science related corridor elements. I can go to all floor, wall, ceiling entities and find their instanceswith the uses window, but that would lead me to closing the opened composite and going back to it over and over for each science-related composite I check. What I could do before was type in the search box 'AYZ\SCIENCE\CORRIDOR_ELEMENTS' and it would show me all composite entities that start with that path. The request is to keep the composite names simple in lists, but to be able to search for their full paths. If that starts to get in the way you can add  an option in the "Options" toolstrip dropdown "Search only for composite names in lists (without paths)".
Replying here, because this is related to UI and I'm very unsure, if it is possible to implement. Let me know, if you want me to post it as a seperate issue.

I'm going to post this under this ticket since I think it's part of the changes.
The new UI includes:
Composite display is now pinned to bottom, and auto hides to increase display space (this can be undone by clicking the pin)
Can u make it so this setting state is saved?  It auto unpins when a new map is loaded.


Slack links is expired

Screenshot

Description
Link to slack points to nothing

Thanks for pointing this out, I'll work on this now!

Thanks for catching this!
Included fix here: https://github.com/apache/superset/pull/17650

resolved by https://github.com/apache/superset/pull/17650


Why only mutable borrows?

Hi! I found this crate when trying to figure out how to implement trees without multiple ownership. This pattern of having a smart pointer with exclusive ownership together with the possibility of creating weak pointers that allow mutability was exactly what was needed!
I was just wondering why it's not possible to access data behind a Ref<_> without getting a mutable borrow? Why isn't there a borrow() method on Ref?
Thanks!

Hi!
RefBox uses a single enum to track the state of the data. Mutable and immutable borrows are not tracked separately (like Rc<RefCell<_>> does), therefore it is not possible to have multiple borrows at the same time.
This is reflected in the API by only having borrow_mut(). A borrow() method could be added, but it is still not possible to have multiple immutable borrows at the same time. I thought having a borrow() method could possibly lead to confusion.

Thanks! That makes sense.


Debug logging for nvcuda init

Some users are reporting crashes during nvcuda.dll initialization on windows.  This should help narrow down where things are going bad.
This will help isolate what the problem is with #7524 and #5625

Without debug logging, nothing is reported.  When enabled, if things are healthy the logs look like:
time=2024-11-06T13:18:31.921-08:00 level=DEBUG source=gpu.go:566 msg="discovered GPU libraries" paths=[C:\windows\system32\nvcuda.dll]
initializing C:\windows\system32\nvcuda.dll
dlsym: cuInit - 00007FFBB5440240
dlsym: cuDriverGetVersion - 00007FFBB54402E0
dlsym: cuDeviceGetCount - 00007FFBB5440AD6
dlsym: cuDeviceGet - 00007FFBB5440AD0
dlsym: cuDeviceGetAttribute - 00007FFBB5440430
dlsym: cuDeviceGetUuid - 00007FFBB5440AE2
dlsym: cuDeviceGetName - 00007FFBB5440ADC
dlsym: cuCtxCreate_v3 - 00007FFBB5440B54
dlsym: cuMemGetInfo_v2 - 00007FFBB5440C56
dlsym: cuCtxDestroy - 00007FFBB5440B66
calling cuInit
calling cuDriverGetVersion
raw version 0x2f1c
CUDA driver version: 12.6
calling cuDeviceGetCount
device count 1
time=2024-11-06T13:18:31.933-08:00 level=DEBUG source=gpu.go:129 msg="detected GPUs" count=1 library=C:\windows\system32\nvcuda.dll


Auto-generated header

Hi there.
I would like to suggest a new feature: an optional auto-generated header comment block with all the information from the commit.
Maybe with a little checkbox at the commit dialog to select, (where possible) which files should get an auto-generated header?
What do you think? 😃
Something like this:
*&---------------------------------------------------------------------*
*& Auto-generated by abapGit: <filename>								   *
*&---------------------------------------------------------------------*
*& DATE:		<date>, <time>
*& COMMIT ID:		<commit id>
*& COMMITTER:		<name>, <committer e-mail>
*& COMMENT:		<comment>
*& BODY:		<body>
*&			<body>
*&			<body>
*&			<body>
*& AUTHOR:		<name>, <author e-mail>
*&---------------------------------------------------------------------*
*& DATE:		<date>, <time>
*& COMMIT ID:		<commit id>
*& COMMITTER:		<name>, <committer e-mail>
*& COMMENT:		<comment>
*& BODY:		<body>
*&			<body>
*&			<body>
*&			<body>
*& AUTHOR:		<name>, <author e-mail>
*&---------------------------------------------------------------------*

@larshp
Hi!
I do not see this related to the background mode.
An auto-generated comment block only makes sense if there is a useful commit message.
AFAIK, reading the body of a commit message requires a third party tool at the moment. That is the reason why I am mostly leaving the message body blank. >.<
Being able to auto-generate the stated commit message (the body) into the code would make more use of the commit dialog.
Besides, it would be a nice feature to see the comments of the last changes on top of the ABAP code.

I don't like it. Isn't one of the main features of a version control system to not store "version information" in the code to make it more readable? You also might want to intentionally separate these so that in product development the customer doesn't get all your internal development information delivered as well.
I saw some classes in the wild which have generated version comments from the associated transports in each method implementation. Which leads to having huge classes that mostly consist of comments.
Also think of merge conflicts on the generated comments / branching / much additional noise in the git history.
So yea, personally not a fan of the idea.
What I maybe would like to see is a generated header in each source file that only shows up when browsing in the file system but gets removed on the abap side, which contains maybe a link to the project and copyright information or something.

I agree with @flaiker the information is in git, replicating is more work.
In ABAP we have quite bad tools, and currently it is difficult to connect the code being edited with the git version history. Ideally this should be integrated into the IDE, which is Eclipse, so I suggest adding this as a feature in https://github.com/abapGit/ADT_Frontend

Thanks for the answers!
@flaiker
I get your point, avoiding redundancy and unreadable code.

What I maybe would like to see is a generated header in each source file that only shows up when browsing in the file system but gets removed on the abap side, which contains maybe a link to the project and copyright information or something.

That would be nice too.
@larshp
Would it be much of hassle to get the commit message body shown (e.g. as a hoverbox) in the branch overview?

@patvo no, suggest opening a new issue for showing the body in the branch overview screen

@larshp Thanks, I'll do that.


Implement aggregation code

The file diff for some files (e.g. gdclib.py) is wrong. This may be due to the squash-and-merge of a different PR. I will close and then reopen a new PR for this branch.


Add windows installing instructions

modified link for the algorithm instruction file
added instructions for windows installation

Thanks again for the contribution and improvement/putting the project "en route" to Windows support. Please feel free to add Windows CI support if you'd be comfortable with that/have time. Otherwise I'll give it a try (probably using AppVeyor) based on your instructions just added...


Please add API to save image with Face Landmarks

Please add API to save image with Face Landmarks

Unfortunately not possible. However, you can draw the results with opencv4nodejs. Same as #23

Why would you want to save the image with the landmarks on it? I would recommend to save them keep them clean and separate, get the parts use the following:
let shapes68 = predictor68.predict(images, rect))
let shapes68parts = shapes68.getParts()

It is easy to later on combine the image and for example a canvas.

I make frontend for face recognition of live ip cameras wich generates jpeg if motion detected on Linux Debian. I want to analyze unknown faces and have statistic, so I don't need real time effects on Windows OS.To have images with faces landmarks for test, study and check will be perfect.. If you know simple way to export images with faces landmarks please let me know (source code).  26.03.2018, 15:20, "Zwimber" notifications@github.com:Why would you want to save the image with the landmarks on it? I would recommend to save them keep them clean and separate, get the parts use the following:let shapes68 = predictor68.predict(images, rect))
let shapes68parts = shapes68.getParts()It is easy to later on combine the image and for example a canvas.—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.


Run the Service Load Test in the Real Service Test pipeline

This includes changes to the calling pattern for the Service Load Test, as well as pipeline changes for the Real Service Test pipeline that runs in the msft-internal ADO instance.
Specific changes:

Support reading the password from an environment variable containing key-value pairs of usernames/passwords (this env var can be populated from the Msft-internal Azure Key Vault)
Update testConfig.json format to list multiple username/server combo's, to ensure the one used for CI is stable while allowing users to check in their own test tenant info.
Other refactoring of the stress test code to better model the calling pattern and format of testConfig.json
Add a step to the Real Service Test pipeline to run the stress test with default params

Note: There's a temporary logging change I added to help debug an auth error in the pipeline run.  It will be removed here, but is also serving as inspiration for my other issue #4908 :)

why is it running as part of this PR?

why is it running as part of this PR?

I manually ran it on this commit, I have to assume then that this feature queries for all ADO pipelines run against a given commit hash.


fix(client): prune generated dmmf

This PR prunes the generated dmmf in the client to its bare minimal version, and only does it when we are generating the wasm client. This improves gzip compression.

Do we know if that will affect any of the third party projects? runtimeDataModel itself is private, but is also used to re-create Prisma.dmmf.

This change only targets wasm build. So to your point, I think we should at least throw an error for Prisma.dmmf there, as it may only be partially true otherwise?

Yes, i think error for Prisma.dmmf would be an ok way to go, if it is only about wasm build

@millsp  @SevInf  @hayes  since prisma now support cloudflare
==>  https://www.prisma.io/docs/orm/prisma-client/deployment/edge/deploy-to-cloudflare
we need the Prisma.dmmf to use with 3rd party [@pothos/plugin-prisma] plugin.
==> this is the issue: https://github.com/hayes/pothos/issues/1190
can you  please put this property back, so that the graphql plugins will work for edge./cloudflare?


Explain the project name

As brought up in the Crowdbooster engineering slack room, the ORM name may cause some confusion  that we need to explain

Thanks - README.md explains it better now.


Mark does not load/use the config file fully

What happened?
Mark does not appear to be using the config file. The config file is present, at the default location ~/.config/mark but even though that file contains the username, token, base URL, and settings for title-from-h1 and drop-h1, I'm still having to include all of that information in the command line itself when I run Mark. Mark functions in the expected manner when I include all of the necessary parameters on the command line.
What did you expect to happen?
I expected to not have to include the username, token, base URL, title-from-h1, and drop-h1 on the command line, as Mark should be getting that info from the config file.
How can we reproduce the behavior you experienced?
Steps to reproduce the behavior:

Check that the config file exists at ~/.config/mark and that it contains the relevant information as described in the documentation.
Try running Mark on a given directory mark -c ~/.config/mark -f "docs/test/*.md"
See that Mark starts to run, and returns 404 errors due to being unable to find/access Confluence.

In case this is related to specific markdown, please provide a minimal markdown example here.
** Information (please complete the following information):**

Mark Version (mark --version): 9.2.1
Mark Parameters: mark --debug --trace -f "docs/Automox-Integrations/*.md"
Confluence Version: Confluence Cloud 1000.0.0-cf97bbfc2268
Environment specific Information: macOS Ventura 13.3.1, M1 Macbook Pro, mark installed using Brew

** Logs or other output**
2023-04-28 14:37:13.019 TRACE rest: HTTP/2.0 404 Not Found
                              Atl-Confluence-Via: h:confluence-prod-us-4-3.prod.atl-paas.net
                              Atl-Traceid: beeada0fb378d683
                              Cache-Control: no-cache, no-store, must-revalidate
                              Content-Type: application/json
                              Date: Fri, 28 Apr 2023 18:37:13 GMT
                              Expires: Thu, 01 Jan 1970 00:00:00 GMT
                              Nel: {"failure_fraction": 0.001, "include_subdomains": true, "max_age": 600, "report_to": "endpoint-1"}
                              Report-To: {"endpoints": [{"url": "https://dz8aopenkvv6s.cloudfront.net"}], "group": "endpoint-1", "include_subdomains": true, "max_age": 600}
                              Server: AtlassianEdge
                              Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
                              Vary: Accept-Encoding
                              X-Content-Type-Options: nosniff
                              X-Xss-Protection: 1; mode=block

                              {"statusCode":404,"data":{"authorized":true,"valid":true,"errors":[],"successful":true},"message":"com.atlassian.confluence.api.service.exceptions.NotFoundException: No space with key : TDT"}
2023-04-28 14:37:13.020 TRACE rest: GET /wiki/rest/api/space/TDT?expand=homepage HTTP/1.1
                              Host: automox.atlassian.net
                              Authorization: Basic bGF1cmllLmxhaWRsZXlAYXV0b21veC5jb206N1NuUWdja1NyMmRtVFpVUTFKSVZEM0ZC

2023-04-28 14:37:13.210 TRACE rest: HTTP/2.0 404 Not Found
                              Atl-Confluence-Via: h:confluence-prod-us-4-3.prod.atl-paas.net
                              Atl-Traceid: 8741c17e9d598dc6
                              Cache-Control: no-cache, no-store, must-revalidate
                              Content-Type: application/json
                              Date: Fri, 28 Apr 2023 18:37:13 GMT
                              Expires: Thu, 01 Jan 1970 00:00:00 GMT
                              Nel: {"failure_fraction": 0.001, "include_subdomains": true, "max_age": 600, "report_to": "endpoint-1"}
                              Report-To: {"endpoints": [{"url": "https://dz8aopenkvv6s.cloudfront.net"}], "group": "endpoint-1", "include_subdomains": true, "max_age": 600}
                              Server: AtlassianEdge
                              Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
                              Vary: Accept-Encoding
                              X-Content-Type-Options: nosniff
                              X-Xss-Protection: 1; mode=block

                              {"statusCode":404,"data":{"authorized":true,"valid":true,"errors":[],"successful":true},"message":"com.atlassian.confluence.api.service.exceptions.NotFoundException: No space found with key : TDT"}
2023-04-28 14:37:13.215 FATAL unable to resolve page
                              └─ can't obtain home page from space "TDT"
                                 ├─ Confluence API returned unexpected status: 404 (Not Found)
                                 └─ title: Automated Vulnerability Remediation

Additional context
Add any other context about the problem here.

Can you show me the content of your config file (and anonymize the url, password and username)?

A 404 also sounds like the resource is not found. NotFoundException: No space found with key : TDT"}
Have you tried with a different confluence space?

If you use an API key I think you can omit the username. Can you try if this works?
I tested the configuration with username + apikey against a Confluence onpremise and receive a
├─ Confluence API returned unexpected status: 401 (Unauthorized)
With
password = "api-key-goes-here"
# If you are using Confluence Cloud add the /wiki suffix to base_url
base_url = "http://abababab.atlassian.net/wiki"
title-from-h1 = true
h1_drop = true

it works.

I tried it this way, using the following command: mark --debug --trace -c ~/.config/mark -f "docs/Knowledge-Base/Getting-Started/Abababab-University.md"
It still doesn't work. It's still returning a 404 on the space and the space homepage, however the space DOES exist in our Confluence instance, and this command works if I provide both the username and password on the command line using the -u and -p options.
Here's what the output looks like (anonymized):
2023-05-02 13:25:47.904 INFO  processing docs/Knowledge-Base/Getting-Started/Abababab-University.md
2023-05-02 13:25:47.905 TRACE loaded macro "@\\{([^}]+)\\}"
                              ├─ template: ac:link:user
                              ├─ expr: @\{([^}]+)\}
                              └─ config:
                                      Name: ${1}
2023-05-02 13:25:47.905 TRACE loaded macro ":box:([^:]+):([^:]*):(.+):"
                              ├─ template: ac:box
                              ├─ expr: :box:([^:]+):([^:]*):(.+):
                              └─ config:
                                      Icon: true
                                      Name: ${1}
                                      Title: ${2}
                                      Body: ${3}
2023-05-02 13:25:47.905 TRACE loaded macro ":toc:"
                              ├─ template: ac:toc
                              ├─ expr: :toc:
                              └─ config:
                                      Printable: 'false'
                                      MinLevel: 2
2023-05-02 13:25:47.905 TRACE found a relative link: full=https://university.abababab.com/ filename=https://university.abababab.com/ hash=
2023-05-02 13:25:47.905 TRACE filepath: docs/Knowledge-Base/Getting-Started/https:/university.abababab.com
2023-05-02 13:25:47.905 TRACE found a relative link: full=https://community.abababab.com/ filename=https://community.abababab.com/ hash=
2023-05-02 13:25:47.905 TRACE filepath: docs/Knowledge-Base/Getting-Started/https:/community.abababab.com
2023-05-02 13:25:47.905 TRACE found a relative link: full=../../../static/images/Abababab-University/ax_uni.png filename=../../../static/images/Abababab-University/ax_uni.png hash=
2023-05-02 13:25:47.905 TRACE filepath: static/images/Abababab-University/ax_uni.png
2023-05-02 13:25:47.907 TRACE rest: GET /wiki/rest/api/content/?expand=ancestors%2Cversion&spaceKey=TDT&title=Abababab+University&type=page HTTP/1.1
                              Host: abababab.atlassian.net
                              Authorization: Bearer <api-key-goes-here>

2023-05-02 13:25:48.338 TRACE rest: HTTP/2.0 404 Not Found
                              Atl-Confluence-Via: h:confluence-prod-us-4-3.prod.atl-paas.net
                              Atl-Traceid: 85c90d76024679ec
                              Cache-Control: no-cache, no-store, must-revalidate
                              Content-Type: application/json
                              Date: Tue, 02 May 2023 17:25:48 GMT
                              Expires: Thu, 01 Jan 1970 00:00:00 GMT
                              Nel: {"failure_fraction": 0.001, "include_subdomains": true, "max_age": 600, "report_to": "endpoint-1"}
                              Report-To: {"endpoints": [{"url": "https://dz8aopenkvv6s.cloudfront.net"}], "group": "endpoint-1", "include_subdomains": true, "max_age": 600}
                              Server: AtlassianEdge
                              Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
                              Vary: Accept-Encoding
                              X-Content-Type-Options: nosniff
                              X-Xss-Protection: 1; mode=block

                              {"statusCode":404,"data":{"authorized":true,"valid":true,"errors":[],"successful":true},"message":"com.atlassian.confluence.api.service.exceptions.NotFoundException: No space with key : TDT"}
2023-05-02 13:25:48.338 TRACE rest: GET /wiki/rest/api/space/TDT?expand=homepage HTTP/1.1
                              Host: abababab.atlassian.net
                              Authorization: Bearer <api-key-goes-here>

2023-05-02 13:25:48.523 TRACE rest: HTTP/2.0 404 Not Found
                              Atl-Confluence-Via: h:confluence-prod-us-4-3.prod.atl-paas.net
                              Atl-Traceid: 9cde85e62abf0157
                              Cache-Control: no-cache, no-store, must-revalidate
                              Content-Type: application/json
                              Date: Tue, 02 May 2023 17:25:48 GMT
                              Expires: Thu, 01 Jan 1970 00:00:00 GMT
                              Nel: {"failure_fraction": 0.001, "include_subdomains": true, "max_age": 600, "report_to": "endpoint-1"}
                              Report-To: {"endpoints": [{"url": "https://dz8aopenkvv6s.cloudfront.net"}], "group": "endpoint-1", "include_subdomains": true, "max_age": 600}
                              Server: AtlassianEdge
                              Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
                              Vary: Accept-Encoding
                              X-Content-Type-Options: nosniff
                              X-Xss-Protection: 1; mode=block

                              {"statusCode":404,"data":{"authorized":true,"valid":true,"errors":[],"successful":true},"message":"com.atlassian.confluence.api.service.exceptions.NotFoundException: No space found with key : TDT"}
2023-05-02 13:25:48.525 FATAL unable to resolve page
                              └─ can't obtain home page from space "TDT"
                                 ├─ Confluence API returned unexpected status: 404 (Not Found)
                                 └─ title: Abababab University

Please test again both cases with 9.3.0. If you use --debug there should be output printed that shows your config

@mrueg For on prem you don't need a username, for cloud, you do.
Always happy to help test either.
Another helpful troubleshooting tool is curl:
https://github.com/kovetskiy/mark/issues/259#issuecomment-1466926040
I have installs on both and am in the process of an awkward migration from on prem to cloud that is stalled by a silly technical limitation on Atlassian's end that we didn't anticipate and weren't warned about.

Just as an aside, I've confirmed my config files work fine for me on prem and in the cloud.
This appears to be a user error, not a mark error.
Mark has some rough edges and cloud confluence has really goofy error reporting as compared to my on prem. Lots of sharp edges.

No response from reporter, closing. Please feel free to reopen if the issue still exists.

Just as an aside, I've confirmed my config files work fine for me on prem and in the cloud. This appears to be a user error, not a mark error. Mark has some rough edges and cloud confluence has really goofy error reporting as compared to my on prem. Lots of sharp edges.

Hello @joyfulrabbit, do you see any way to cut out these sharp edges to help the user diagnosing this type of issues, in particular when trying to use mark with cloud confluence?
To be honest, after being unable to diagnose such an issue, I kind of throwed in the towel on using mark which is a shame because I really like the idea behind mark.
I can open a new issue as a mean to discuss such improvements if there is a way to tackle this kind of issues more easily.


Invalid CRC

I am using EL-Client in an Arduino 101. I get the following error:
EL-Client starting!
Serial communication enabled...

 The latest "fix" was to disconnect the serial communication for 5 seconds using an octocoupler while the ESP-12 boots to prevent the boot signal from interfering with the Arduino. It doesnt work. As soon as I try to attach to the wifi, it shows the error above. I am using the REST example.

Have same problem.
Tried on esp-link v2.2.3 and v3.0.14, always got CRC error with empty 'topic' and 'data'.
Monitoring with desktop MQTT client shows everything fine.
EL-Client synced!

In my case i have inside many checking like this:
if ( topic == "/home/blue/spotlightA/on") {
    spotlightA.setBrightness(0);
  } else
  if ( topic == "/home/blue/spotlightA/off" ) {
    spotlightA.setBrightness(255);
  } else
  if ( topic == "/home/blue/spotlightB/on" ) {
    spotlightB.setBrightness(0);
  } else
<...>

So, if i have 12 if..then..else everything working as expected. Just one more add in any place -  topic and data always become empty. Again coment out any of them - everything working fine.
What is this? How to overcome this behaviour??

I know this has been quiet for a bit ; anyone figure out the work-around.
Get below when I send was seems to be the right JSON through MQTT.
This works on another microcontroller ESP32/8266 when not using el-client.
ELC: got 128 @5A5: 3 4EA 2 16 0 73 65 6A 2F 73 68 65 6C 66 73 74 72 69 70 2F 63 6F 6E 74 72 6F 6C 72 0 7B A 20 20 22 73 74 61 74 65 22 3A 31 30 30 2C A 20 20 22 62 72 69 67 68 74 6E 65 73 73 22 3A 31 30 30 2C A 20 20 22 63 6F 6C 6F 72 22 3A 7B A 20 20 20 20 22 72 22 3A 30 2C A 20 20 20 20 22 67 22 3A 30 2C A 20 20 20 20 22 62 22 3A 30 2C A 20 20 20 20 22 77 22 3A 31 30 30 A
ELC: Invalid CRC

I know this has been quiet for a bit ; anyone figure out the work-around.
Get below when I send was seems to be the right JSON through MQTT.
This works on another microcontroller ESP32/8266 when not using el-client.
ELC: got 128 @5A5: 3 4EA 2 16 0 73 65 6A 2F 73 68 65 6C 66 73 74 72 69 70 2F 63 6F 6E 74 72 6F 6C 72 0 7B A 20 20 22 73 74 61 74 65 22 3A 31 30 30 2C A 20 20 22 62 72 69 67 68 74 6E 65 73 73 22 3A 31 30 30 2C A 20 20 22 63 6F 6C 6F 72 22 3A 7B A 20 20 20 20 22 72 22 3A 30 2C A 20 20 20 20 22 67 22 3A 30 2C A 20 20 20 20 22 62 22 3A 30 2C A 20 20 20 20 22 77 22 3A 31 30 30 A
ELC: Invalid CRC

I know this has been quiet for a bit ; anyone figure out the work-around.

It looks like the debug logging interferes with the data exchange. Turning off the UART debug log on the esp-link web console "debug log" page fixes it.

I know this has been quiet for a bit ; anyone figure out the work-around.

It looks like the debug logging interferes with the data exchange. Turning off the UART debug log on the esp-link web console "debug log" page fixes it.

It does not

Try lowering your baud rate to 19200, or slower, in the microcontroller program and on the uc Console tab of the esp-link web page.
I have multiple esp-link systems running and my systems with the esp-01 "remote", maybe 5 inches of flying leads away from the uC, I get Invalid CRC errors in the uC Console window and the uC won't attach to the esp-link properly.  If I set the serial port baud rate to 19200 it works.


Innate Spellcasting not consuming charges

Whenever you import a character with innate spellcasting, whenever you use a spell, the charges are not being used, I usually have to do it manually for each spell, I hope this can be resolved or added if it was not intended.

Hey, thanks for the report, I'll look into it. Do you mind sharing the statblock you are using? Also the dnd5e system version would be useful.

Sure! I use DnD 5e version
and here is the statblock import I used:
Thryn
Large Fey, Neutral Good

Armor Class 20 (natural armor)
Hit Points 120 (13d10 + 52)
Speed 40 ft.

STR	DEX	CON	INT	WIS	CHA
20 (+5)	12 (+1)	18 (+4)	10 (+0)	14 (+2)	12 (+1)
Saving Throws Str +8, Con +7
Skills Athletics +8, Intimidation +4, Perception +5
Damage Resistances Bludgeoning, Piercing, and Slashing
Condition Immunities Frightened
Senses Darkvision 60 ft., Passive Perception 15
Languages Common, Sylvan, Telepathy 60 ft.
Challenge 8 (3,900 XP)

Fey Ancestry. Thryn has advantage on saving throws against being charmed, and magic can’t put him to sleep.

Keen Hearing and Smell. Thryn has advantage on Wisdom (Perception) checks that rely on hearing or smell.

Stone’s Resilience (1/Day). Thryn hardens his form with magical energy, gaining 20 temporary hit points. For 10 minutes, he has resistance to all damage except psychic.

Immovable Protector. Thryn has advantage on saving throws to resist being knocked prone or pushed.

Taunting Presence. As a bonus action, Thryn can target one creature within 30 feet that can see and hear him. The target must succeed on a DC 15 Wisdom saving throw or have disadvantage on attack rolls against any creature other than Thryn until the end of its next turn.

Guardian’s Aura. Allies within 10 feet of Thryn gain a +2 bonus to AC as long as he is conscious and not incapacitated.

Innate Spellcasting. Thryn’s innate spellcasting ability is Wisdom (spell save DC 13). He can innately cast the following spells, requiring no material components:

At will: Mold Earth, Thunderclap
2/day each: Misty Step, Shield
Actions
Multiattack. Thryn makes two attacks: one with his bite and one with his claws.

Bite. Melee Weapon Attack: +8 to hit, reach 5 ft., one target.
Hit: 10 (1d10 + 5) piercing damage.

Claws. Melee Weapon Attack: +8 to hit, reach 5 ft., one target.
Hit: 12 (2d6 + 5) slashing damage.

Legendary Actions
Thryn can take 2 legendary actions, choosing from the options below. Only one legendary action can be used at a time and only at the end of another creature's turn. Thryn regains spent legendary actions at the start of his turn.

Detect. Thryn makes a Wisdom (Perception) check.
Taunting Attack (Costs 2 Actions). Thryn targets one creature within 5 feet of him. The target must succeed on a DC 15 Wisdom saving throw or use its reaction to attempt to attack Thryn with disadvantage.

Alright, it should be fixed now in v1.92.2. Let me know if it works for you after updating the module, and thanks again for the heads up.


[Blackhole bringup] NCRISC user kernel not being launched

ncrisc.cc gets launched, but kernel_init() is not running. Confirmed that we don't enter kernel_launch from ncrisck.cc)
areas to explore:

whether user kernel is being copied into wrong space
whether there is a bug in linking

Issue was due to instruction cache for ncrisc not being invalidated.


[develop] compile with --disable-wallet failed

OS: Ubuntu 16.04.3 LTS
Git branch: develop
Git commit cd9c6994c2f0397eb1d989365ea3a1b1939b2a99
Commands successfully run:
$ cd depends
$ make NO_QT=1 NO_WALLET=1
$ cd ..
$ ./configure --prefix=/home/dashtest/src/dash/depends/x86_64-pc-linux-gnu/ --disable-wallet

Error:
$ make
Making all in src
make[1]: Entering directory '/home/dashtest/src/dash/src'
make[2]: Entering directory '/home/dashtest/src/dash/src'
make[3]: Entering directory '/home/dashtest/src/dash/src/secp256k1'
make[3]: Leaving directory '/home/dashtest/src/dash/src/secp256k1'
  CXX      libbitcoin_util_a-util.o
util.cpp: In function ‘std::__cxx11::string CopyrightHolders(const string&, unsigned int, unsigned int)’:
util.cpp:937:100: error: ‘COPYRIGHT_HOLDERS’ was not declared in this scope
     std::string strCopyrightHolders = strPrefix + strprintf(" %u-%u ", nStartYear, nEndYear) + _(COPYRIGHT_HOLDERS);
                                                                                ^
util.cpp:939:66: error: ‘COPYRIGHT_HOLDERS_SUBSTITUTION’ was not declared in this scope
         strCopyrightHolders = strprintf(strCopyrightHolders, _(COPYRIGHT_HOLDERS_SUBSTITUTION));
                                                                  ^
Makefile:6708: recipe for target 'libbitcoin_util_a-util.o' failed
make[2]: *** [libbitcoin_util_a-util.o] Error 1
make[2]: Leaving directory '/home/dashtest/src/dash/src'
Makefile:9723: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/dashtest/src/dash/src'
Makefile:671: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Make sure to ./autogen.sh first.

Thank you so much :)


Update spectrum button interactions

When user zooms in, clicking the "let me measure" button should not reset the zoom.

For reference, this is the spectrum viewer behavior from the voila version. (Looks like the rest wavelength H-alpha marker did go away when the wavelength zoom range changed, which is different than what I remembered, but the key thing is that when the zoom level changes, the ability to measure the observed wavelength needs to remain active). Let me know if you have questions.
https://github.com/cosmicds/hubbleds/assets/12750048/7a0e3366-14a0-4c15-9c0c-70ce234924e9

Fixed in #496


Allow export of regex from label parser

Small addition to filtering
This is useful when trying to translate a label.Matcher to a type.Matcher (Case of using the parser to create new silences).
Currently I would need to duplicate the regex logic and that feels unsavory.

Not 100% sure that I've made this change in the correct place. A little bit confused with the vendored code that doesn't seem to come from the prometheus repo itself.

The vendored prometheus code is from the branch dev-2.0, sorry for the confusion!
I'll check out the main PR so I can get the context for this change.

Oh the pr makes sense now. Closing this in favor of putting the change in my main PR


test(zlib) just a test commit to verify we can drop zlib-dev

Testing if it's safe to drop zlib-dev from Ubuntu https://github.com/Kong/docker-kong/tree/chore/drop-zlib-dev

turns out it's not safe


libbpf: 0.1.1 -> 0.4.0

DO NOT MERGE Haven't run nixpkgs-review yet
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 131863 at c8cf9edc run on x86_64-linux 1

4 packages marked as broken and skipped:

linuxPackages_hardkernel_4_14.bcc
linuxPackages_hardkernel_4_14.bpftrace
linuxPackages_hardkernel_latest.bcc
linuxPackages_hardkernel_latest.bpftrace

21 packages failed to build:

linuxPackages.bcc (linuxPackages_5_10.bcc)
linuxPackages.oci-seccomp-bpf-hook (linuxPackages_5_10.oci-seccomp-bpf-hook)
linuxPackages_4_19.bcc
linuxPackages_5_12.bcc
linuxPackages_5_12.oci-seccomp-bpf-hook
linuxPackages_5_13.bcc (linuxPackages_latest.bcc)
linuxPackages_5_13.oci-seccomp-bpf-hook (linuxPackages_latest.oci-seccomp-bpf-hook)
linuxPackages_5_4.bcc
linuxPackages_5_4.oci-seccomp-bpf-hook
linuxPackages_hardened.bcc
linuxPackages_hardened.oci-seccomp-bpf-hook
linuxPackages_latest_hardened.bcc
linuxPackages_latest_hardened.oci-seccomp-bpf-hook
linuxPackages_lqx.bcc
linuxPackages_lqx.oci-seccomp-bpf-hook
linuxPackages_testing_bcachefs.bcc
linuxPackages_testing_bcachefs.oci-seccomp-bpf-hook
linuxPackages_xanmod.bcc
linuxPackages_xanmod.oci-seccomp-bpf-hook
linuxPackages_zen.bcc
linuxPackages_zen.oci-seccomp-bpf-hook

27 packages skipped due to time constraints:

dpdk
linuxPackages-libre.bcc
linuxPackages-libre.bpftrace
linuxPackages-libre.oci-seccomp-bpf-hook
pktgen (linuxPackages.pktgen)
linuxPackages.bpftrace (linuxPackages_5_10.bpftrace)
linuxPackages_4_14.bcc
linuxPackages_4_14.bpftrace
linuxPackages_4_19.bpftrace
linuxPackages_4_4.bcc
...

4 packages built successfully:

knot-dns
knot-resolver
libbpf
odp-dpdk (linuxPackages.odp-dpdk)

1 suggestion:

warning: unclear-gpl
lgpl21 is a deprecated license, please check if project uses lgpl21Plus or lgpl21Only and change meta.license accordingly.
Near pkgs/os-specific/linux/libbpf/default.nix:38:5:
   |
38 |     license = with licenses; [ lgpl21 /* or */ bsd2 ];
   |     ^

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 131863 run on x86_64-linux 1

10 packages marked as broken and skipped:

linuxPackages-libre.bcc
linuxPackages-libre.bpftrace
linuxPackages-libre.oci-seccomp-bpf-hook
linuxPackages_hardkernel_4_14.bcc
linuxPackages_hardkernel_4_14.bpftrace
linuxPackages_hardkernel_latest.bcc
linuxPackages_hardkernel_latest.bpftrace
linuxPackages_latest-libre.bcc
linuxPackages_latest-libre.bpftrace
linuxPackages_latest-libre.oci-seccomp-bpf-hook

44 packages failed to build and are new build failures:

linuxPackages.bcc: log was empty
(linuxPackages_5_10.bcc): log was empty
linuxPackages.bpftrace: log was empty
(linuxPackages_5_10.bpftrace): log was empty
linuxPackages.oci-seccomp-bpf-hook: log was empty
(linuxPackages_5_10.oci-seccomp-bpf-hook): log was empty
linuxPackages_4_14.bcc: log was empty
linuxPackages_4_14.bpftrace: log was empty
linuxPackages_4_19.bcc: log was empty
linuxPackages_4_19.bpftrace: log was empty
linuxPackages_4_4.bcc: log was empty
linuxPackages_4_4.bpftrace: log was empty
linuxPackages_4_9.bcc: log was empty
linuxPackages_4_9.bpftrace: log was empty
linuxPackages_5_12.bcc: log was empty
linuxPackages_5_12.bpftrace: log was empty
linuxPackages_5_12.oci-seccomp-bpf-hook: log was empty
linuxPackages_5_13.bcc: log was empty
(linuxPackages_latest.bcc): log was empty
linuxPackages_5_13.bpftrace: log was empty
(linuxPackages_latest.bpftrace): log was empty
linuxPackages_5_13.oci-seccomp-bpf-hook: log was empty
(linuxPackages_latest.oci-seccomp-bpf-hook): log was empty
linuxPackages_5_4.bcc: log was empty
linuxPackages_5_4.bpftrace: log was empty
linuxPackages_5_4.oci-seccomp-bpf-hook: log was empty
linuxPackages_hardened.bcc: log was empty
linuxPackages_hardened.bpftrace: log was empty
linuxPackages_hardened.oci-seccomp-bpf-hook: log was empty
linuxPackages_latest_hardened.bcc: log was empty
linuxPackages_latest_hardened.bpftrace: log was empty
linuxPackages_latest_hardened.oci-seccomp-bpf-hook: log was empty
linuxPackages_lqx.bcc: log was empty
linuxPackages_lqx.bpftrace: log was empty
linuxPackages_lqx.oci-seccomp-bpf-hook: log was empty
linuxPackages_testing_bcachefs.bcc: log was empty
linuxPackages_testing_bcachefs.bpftrace: log was empty
linuxPackages_testing_bcachefs.oci-seccomp-bpf-hook: log was empty
linuxPackages_xanmod.bcc: log was empty
linuxPackages_xanmod.bpftrace: log was empty
linuxPackages_xanmod.oci-seccomp-bpf-hook: log was empty
linuxPackages_zen.bcc: log was empty
linuxPackages_zen.bpftrace: log was empty
linuxPackages_zen.oci-seccomp-bpf-hook: log was empty

8 packages built:

dpdk
knot-dns
knot-resolver
libbpf
odp-dpdk (linuxPackages.odp-dpdk)
pktgen (linuxPackages.pktgen)
spdk
suricata

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:

dpdk:

/nix/store/4f0j2chl5399f3f2j6cdgid6cpxqh1lf-aws-c-event-stream-0.2.7
/nix/store/4il2445aiq8f2v2kw0fddi9f2f1akfxb-aws-c-common-0.6.8
/nix/store/6kd6xnkajkmh7d89lp332r0yjzyjmis4-aws-c-cal-0.5.11
/nix/store/bzvv0wczbzd3hq0vs23qpp9vamgir05g-s2n-tls-1.0.1
/nix/store/g0ifc64ndblfxvk17nzqp0nih6fd0qqs-aws-sdk-cpp-1.8.121
/nix/store/ii3sy98bv82dyxvq3zl7ni9plvn1qq0d-nix-2.3.14-dev
/nix/store/ka406i4zqa7l35sh5b9yf2hnx15bmfhl-boehm-gc-8.0.4-dev
/nix/store/n2kwyncq0nf24004wqzjspsh9aa19q3c-busybox-static-x86_64-unknown-linux-musl-1.33.1
/nix/store/n47fy4xk5vxqfhgiifq1alkpwsc41pmb-libsodium-1.0.18
/nix/store/qfv2k2rwlsaqdab6fhr9h80c0y4jhq1n-aws-checksums-0.1.11
/nix/store/rwps7cx0xmkfp3kymym3mgrby8m9nrnp-aws-c-io-0.9.1
/nix/store/v3qadwn8mqik50x65qfbf1h3f67n32kr-nix-2.3.14-man
/nix/store/v4yrsagbd6sf5cxdfi5514d6n1521b3m-nix-2.3.14
/nix/store/vdi4bqhxd1jvy8yzvncwikg7kjrl3ff7-editline-1.17.1
/nix/store/vvb07m15i3pgyjzglmyb8rf4z4zq5yvd-boehm-gc-8.0.4
copying path '/nix/store/n2kwyncq0nf24004wqzjspsh9aa19q3c-busybox-static-x86_64-unknown-linux-musl-1.33.1' from 'https://cache.nixos.org'...
copying path '/nix/store/v3qadwn8mqik50x65qfbf1h3f67n32kr-nix-2.3.14-man' from 'https://cache.nixos.org'...
copying path '/nix/store/4il2445aiq8f2v2kw0fddi9f2f1akfxb-aws-c-common-0.6.8' from 'https://cache.nixos.org'...
copying path '/nix/store/vvb07m15i3pgyjzglmyb8rf4z4zq5yvd-boehm-gc-8.0.4' from 'https://cache.nixos.org'...
copying path '/nix/store/vdi4bqhxd1jvy8yzvncwikg7kjrl3ff7-editline-1.17.1' from 'https://cache.nixos.org'...
copying path '/nix/store/6kd6xnkajkmh7d89lp332r0yjzyjmis4-aws-c-cal-0.5.11' from 'https://cache.nixos.org'...
copying path '/nix/store/qfv2k2rwlsaqdab6fhr9h80c0y4jhq1n-aws-checksums-0.1.11' from 'https://cache.nixos.org'...
copying path '/nix/store/ka406i4zqa7l35sh5b9yf2hnx15bmfhl-boehm-gc-8.0.4-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/n47fy4xk5vxqfhgiifq1alkpwsc41pmb-libsodium-1.0.18' from 'https://cache.nixos.org'...
copying path '/nix/store/bzvv0wczbzd3hq0vs23qpp9vamgir05g-s2n-tls-1.0.1' from 'https://cache.nixos.org'...
copying path '/nix/store/rwps7cx0xmkfp3kymym3mgrby8m9nrnp-aws-c-io-0.9.1' from 'https://cache.nixos.org'...
copying path '/nix/store/4f0j2chl5399f3f2j6cdgid6cpxqh1lf-aws-c-event-stream-0.2.7' from 'https://cache.nixos.org'...
copying path '/nix/store/g0ifc64ndblfxvk17nzqp0nih6fd0qqs-aws-sdk-cpp-1.8.121' from 'https://cache.nixos.org'...
copying path '/nix/store/v4yrsagbd6sf5cxdfi5514d6n1521b3m-nix-2.3.14' from 'https://cache.nixos.org'...
copying path '/nix/store/ii3sy98bv82dyxvq3zl7ni9plvn1qq0d-nix-2.3.14-dev' from 'https://cache.nixos.org'...
warning: unknown setting 'experimental-features'
warning: unknown setting 'extra-trusted-public-keys'
When evaluating attribute ‘dpdk’:
warning: unclear-gpl
gpl2 is a deprecated license, please check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/os-specific/linux/dpdk/default.nix:79:5:
   |
79 |     license = with licenses; [ lgpl21 gpl2 bsd2 ];
   |     ^

See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/unclear-gpl.md
warning: unclear-gpl
lgpl21 is a deprecated license, please check if project uses lgpl21Plus or lgpl21Only and change meta.license accordingly.
Near pkgs/os-specific/linux/dpdk/default.nix:79:5:
   |
79 |     license = with licenses; [ lgpl21 gpl2 bsd2 ];
   |     ^

See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/unclear-gpl.md

Same change included in PR #131618

@vcunat Thanks for referencing that.
Closing in favour of https://github.com/NixOS/nixpkgs/pull/131618


Adaptations to the loading page

Changes to be implemented:

add possibility to remove selected dataset
possibility to rename existing dataset
add duration of the selection in the dataset
remove vendor field in dataset summary
plot with different color the already selected data part
add instructions that can be shrinked/expanded (maybe bottom left?)
load also continuous data

Nice to have:

change the starting and end point of existing selections
shrink/expand columns size

Originally posted by @wbaccinelli in https://github.com/EIT-ALIVE/eit_dash/issues/19#issuecomment-1923459560

Also:

clickable event markers


RGBW Support

Proposal: Add @bpohvoodoo as collaborator
Merge https://github.com/FabLab-Luenen/McLighting to develop branch.
Let users test this branch @TheAndi has already volunteered to test and provide feedback.

Constant crashes in core v2.5.0, Could someone else also test it?

Constant crashes in core v2.5.0, Could someone else also test it?

You have to erarse the complete device not only sketch

As much as I'd like a tested change to be merged, I quickly checked what would be required to drive an RGBW neopixel strip with McLighting. Indeed the only thing I had to do was to configure the strip. So extending the McLighting.ino part "server.on("/pixelconf", ..." to allow RGBW configurations seemed enough. The colors I set in the UI were correctly displayed by my GRBW strip.
Obviously it was not yet possible to use the white channel. Just wanted to let you know.

As much as I'd like a tested change to be merged, I quickly checked what would be required to drive an RGBW neopixel strip with McLighting. Indeed the only thing I had to do was to configure the strip. So extending the McLighting.ino part "server.on("/pixelconf", ..." to allow RGBW configurations seemed enough. The colors I set in the UI were correctly displayed by my GRBW strip.
Obviously it was not yet possible to use the white channel. Just wanted to let you know.

So here is the remainder of my changes to enable RGBW on McLightning:
Extend McLighting.ino lines around 900 by RGBW modes so pixelconf will accept the correct modes. With this it is already possible to drive RGBW strips, although the white channel is still unused.
'…
if (RGBOrder == "grbw") {
WS2812FXStripSettings.RGBOrder = NEO_GRBW;
updateStrip = true;
DBG_OUTPUT_PORT.println(RGBOrder);
} else if (RGBOrder == "grb") {
...'
Extend struct ledstate in definitions.h with a fourth channel white. Add fourth channel to all of the setColor calls:
'strip->setColor(main_color.red, main_color.green, main_color.blue);
strip->setColor(main_color.red, main_color.green, main_color.blue, main_color.white);'
Now the white channel is used correctly inside the controller, but there is no way to set the white channel from outside. For testing I added the /set_white url:
'server.on("/set_white",  {
if(server.hasArg("value")) {
main_color.white = server.arg("value").toInt();
strip->setColor(main_color.red, main_color.green, main_color.blue, main_color.white);
}
char whitecolor[3];
snprintf(whitecolor, sizeof(whitecolor), "%02X", main_color.white);
server.sendHeader("Access-Control-Allow-Origin", "*");
server.send(200, "text/plain", whitecolor );
}); '

So wait, is the white channel officially supported now?

@VeniceNerd The code is not yet in the master branch, but you can try out the develop branch.

@bpohvoodoo, @debsahu and @HiranChaudhuri
Unfortunately I wasn't able to try everything out because of personal issues and I'm still waiting for my new RGBW strips (the ones I have seem to be fake ones or wrong labeled). Still got no luck ordering these from China.
What is your feeeling about the version in DEV branch? I there something definitely missing or known problems?

I ordered this one:
https://www.amazon.com/dp/B079ZZ9BYH/ref=cm_sw_r_cp_api_i_aj.bDbGDXPZKQ
Has great reviews!

@toblum where could I find the develop branch? Thx!

@VeniceNerd Have a look here: https://github.com/toblum/McLighting/tree/develop

Hi @bpohvoodoo ans @debsahu,
after a longer time-out for personal reasons, I wanted to deal again with McLighting and work again on a good last version of the software which can last for a longer time. The current version seems to have a few problems.
I don't think we all have that much time left to actively work on more features for McLIghting, but I would like to provide a stable version with all available features. It would be a pity to leave McLighting in the current version.
I would also like to include the RGBW functionality. But I have to admit that I can't handle the codebase very well anymore. I was not able to merge the PR so correctly that a working version comes out. This is also due to the fact that there is a lot of code from you that I don't know well anymore.
Would you join in building a last stable version that supports both RGB and RGBW and can last for some time?
Best regards
Tobias


[Question]: When I use RAPTOR, I get some summary chunks when retrieval. How can I get the original chunks of this summary?

Describe your problem
When I use RAPTOR, I get some summary chunks when retrieval. How can I get the original chunks of this summary?

I'm afraid there's no way other than disabling RAPTOR.


FROM_PY_FUNCTION: Cast to sdigit after unary minus, not before

The current cast isn't doing anything, because the unary minus implicitly
upcasts to int again, resulting in warnings about potentially value altering
conversions on 32 bit systems.
Fixes issue #877.

See also https://bitbucket.org/nikratio/python-llfuse/issues/76/conversion-errors-on-32bit

Interesting. Thanks!


When I answer on the incoming call, in the app, I can't join  to it. On IOS

Hi, I have a problem with the incoming call on the IOS. When I answer the incoming call, in the app, I can't join it. When I pick up the phone on the app, I hear only silence, and on the other side, waiting beeps continue.
The incoming call in the application arrives correctly, the incoming call screen is also displayed correctly, in any state of the phone (active, blocked...)
The outgoing call from the phone works completely correctly.
Code for start call
const startCall = async call_data => {
    DeviceEventEmitter.emit('start_call', true);
    await RNTwilioPhone.startCall(
      call_data.to_call,
      call_data.contact,
      '+14793091216',
      {phoneNumber: call_data.to_call},
    );
    navigation.navigate('CallUi');
};

For incoming call I use APNS and React Native VoIP PushNotification. Here is an example of cURL.
curl -v -d \'{"aps": {}, "twi_from": "+17722*******",
"uuid": "ccae4ddb-189f-4c80-acc8-c438fcb40a65",
"twi_to": "client:325___AP7823fbc31e5a************",
"twi_message_type": "twilio.voice.call",
"twi_call_sid": "***********",
"twi_account_sid": "***************************",
"twi_bridge_token": "*********************************",
-H "apns-push-type: voip"
-H "apns-expiration: 0"
-H "apns-priority: 10"
-H "apns-topic: co.frontoffice.voip"
--http2 --cert '/home/ubuntu/frontoffice2/VoIP_cer_last.pem:1234 '
https://api.sandbox.push.apple.com/3/device/*********************************

my AppDelegate.m file
#import "AppDelegate.h"

#if RCT_DEV
#import <React/RCTDevLoadingView.h>
#endif

#import <React/RCTBridge.h>
#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>

#import "RNCallKeep.h"
#import <PushKit/PushKit.h>
#import "RNVoipPushNotificationManager.h"

#ifdef FB_SONARKIT_ENABLED
#import <FlipperKit/FlipperClient.h>
#import <FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h>
#import <FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h>
#import <FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h>
#import <SKIOSNetworkPlugin/SKIOSNetworkAdapter.h>
#import <FlipperKitReactPlugin/FlipperKitReactPlugin.h>

static void InitializeFlipper(UIApplication *application) {
  FlipperClient *client = [FlipperClient sharedClient];
  SKDescriptorMapper *layoutDescriptorMapper = [[SKDescriptorMapper alloc] initWithDefaults];
  [client addPlugin:[[FlipperKitLayoutPlugin alloc] initWithRootNode:application withDescriptorMapper:layoutDescriptorMapper]];
  [client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]];
  [client addPlugin:[FlipperKitReactPlugin new]];
  [client addPlugin:[[FlipperKitNetworkPlugin alloc] initWithNetworkAdapter:[SKIOSNetworkAdapter new]]];
  [client start];
}
#endif

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
  [RNVoipPushNotificationManager voipRegistration];
#ifdef FB_SONARKIT_ENABLED
  InitializeFlipper(application);
#endif
  RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
  [RNVoipPushNotificationManager voipRegistration];

#if RCT_DEV
  [bridge moduleForClass:[RCTDevLoadingView class]];
#endif

  [RNCallKeep setup:@{
      @"appName": @"frontoffice_app__ios",
      @"maximumCallGroups": @1,
      @"maximumCallsPerCallGroup": @1,
      @"supportsVideo": @NO,
    }];

  RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
                                                   moduleName:@"frontoffice_app__ios"
                                            initialProperties:nil];

  if (@available(iOS 13.0, *)) {
    rootView.backgroundColor = [UIColor systemBackgroundColor];
  } else {
    rootView.backgroundColor = [UIColor whiteColor];
  }

  self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
  UIViewController *rootViewController = [UIViewController new];
  rootViewController.view = rootView;
  self.window.rootViewController = rootViewController;
  [self.window makeKeyAndVisible];
  return YES;
}

- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
{
#if DEBUG
  return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
#else
  return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
#endif
}

/// This method controls whether the `concurrentRoot`feature of React18 is turned on or off.
///
/// @see: https://reactjs.org/blog/2022/03/29/react-v18.html
/// @note: This requires to be rendering on Fabric (i.e. on the New Architecture).
/// @return: `true` if the `concurrentRoot` feature is enabled. Otherwise, it returns `false`.
- (BOOL)concurrentRootEnabled
{
  return true;
}
- (BOOL)application:(UIApplication *)application
 continueUserActivity:(NSUserActivity *)userActivity
   restorationHandler:(void(^)(NSArray<id<UIUserActivityRestoring>> * __nullable restorableObjects))restorationHandler
 {
   return [RNCallKeep application:application
            continueUserActivity:userActivity
              restorationHandler:restorationHandler];
 }

- (void)pushRegistry:(PKPushRegistry *)registry didUpdatePushCredentials:(PKPushCredentials *)credentials forType:(PKPushType)type {
  // Register VoIP push token (a property of PKPushCredentials) with server
  [RNVoipPushNotificationManager didUpdatePushCredentials:credentials forType:(NSString *)type];
}
- (void)pushRegistry:(PKPushRegistry *)registry didInvalidatePushTokenForType:(PKPushType)type
{
  // --- The system calls this method when a previously provided push token is no longer valid for use. No action is necessary on your part to reregister the push type. Instead, use this method to notify your server not to send push notifications using the matching push token.
}

- (void)pushRegistry:(PKPushRegistry *)registry didReceiveIncomingPushWithPayload:(PKPushPayload *)payload forType:(PKPushType)type withCompletionHandler:(void (^)(void))completion {
  // --- Retrieve information from Twilio push payload

  NSString *uuid = payload.dictionaryPayload[@"uuid"];
  NSString *callerName = [payload.dictionaryPayload[@"twi_from"] stringByReplacingOccurrencesOfString:@"client:" withString:@""];
  NSString *handle = [payload.dictionaryPayload[@"twi_to"] stringByReplacingOccurrencesOfString:@"client:" withString:@""];

  [RNVoipPushNotificationManager addCompletionHandler:uuid completionHandler:completion];

  // --- Process the received push
  [RNVoipPushNotificationManager didReceiveIncomingPushWithPayload:payload forType:(NSString *)type];

//   --- You should make sure to report to callkit BEFORE execute `completion()`
  [RNCallKeep reportNewIncomingCall:uuid
                             handle:handle
                         handleType:@"generic"
                           hasVideo:NO
                localizedCallerName:callerName
                    supportsHolding:YES
                       supportsDTMF:YES
                   supportsGrouping:YES
                 supportsUngrouping:YES
                        fromPushKit:YES
                            payload:payload.dictionaryPayload
              withCompletionHandler:completion];

  completion();
}
@end

While examining the code, I found an interesting thing. In the file “node_models/react-native-twilio-phone/ios/TwilioPhone.swift”
@objc(acceptCallInvite:)
    func acceptCallInvite(callSid: String) {
        NSLog("[TwilioPhone] Accepting call invite")

        guard let callInvite = activeCallInvites[callSid] else {
            NSLog("[TwilioPhone] No call invite to be accepted")
            return
        }

        let call = callInvite.accept(with: self)

        activeCalls[callSid] = call
        activeCallInvites.removeValue(forKey: callSid)
    }

The active Call Invites object on an incoming call is empty.

currently this library doesn't work properly with
[RNVoipPushNotificationManager voipRegistration];
in your app delegate launch method

@heyalexchoi Thanks for sharing that. Removing the that line from our app delegate fixed the issue. Now incoming calls work successfully


Tutorial Tests are failing because  uc_catalog extension is not available in duckdb nighly-extension build any more.

uc_catalog extension is unavailable in duckdb nighly-extension build any more. This failed new PR builds, e.g.,
https://github.com/unitycatalog/unitycatalog/actions/runs/10780247495/job/29895566657?pr=450
HTTPException:` HTTP Error: Failed to download extension "uc_catalog" at URL "http://nightly-extensions.duckdb.org/17d598fc44/osx_arm64/uc_catalog.duckdb_extension.gz" (HTTP 403)

Similar issue also reported in duckdb github repo.
https://github.com/duckdb/duckdb/discussions/13298

It is not failing now.


"Open in ..." Git Host-Action does not work from editor

The basic feature
Select File in Project view, Alt-F1 from editor, invoke "Open in Git Host"
works correctly.
But
Open file in editor, place cursor, Alt-F1 from editor, invoke "Open in Git Host" ->
ACTUAL
Browser is opened but without correct line number
EXPECTED
Browser is opened with correct line number

Pull-Request for this issue has been provided by #25

Thanks for the PR, I will take a look and try to get this fix released shortly.


Remove log4net configuration command

This line should be removed from aaLogReader:
[assembly: log4net.Config.XmlConfigurator(ConfigFile = "log.config", Watch = true)]
In my opinion that belongs in the hosting executable, not the library. The way it stands now the library is hard coded to use log.config, and maybe that's not what the application developer prefers.
I tested it and logging still works without this line in aaLogReader as long as the hosting app is configured correctly.

Merge complete.  Closing Issue.


Added configurable direction setting for wivs

Also made some styling changes to the demo page to better differentiate between sections

Agree with the need for spacing, but would prefer 1em


2580: Center search icon

Short description
The Search Icon is not centered with the input "Suche"
Proposed changes
Center and align the Search Icon with the input, set it a little lower
Side effects
Resolved issues
The Search Icon is aligned with the Input "Suche"
Fixes: https://github.com/digitalfabrik/integreat-app/issues/2580

That solves the issue here very nicely, thank you! But I think we can make the code more future-proof by setting the parent display to flex and aligning its items with the center. That would also keep us safe in case we e.g. change the icon sizing at some point.

sorry i probably should have mentioned it again in the ticket here. This task was about learning sth. about flexbox :)


Finetune the C3D model

Thanks for your great work. I want to know how finetune the C3D model.
i know the finetune(transfer learning) is done for Resnet, could you figure out how to freeze stages in backbone C3D model?
Thanks.

Hi, Ahmed,
To achieve this, you need to implement a new feature to freeze the certain stages in the C3D backbone.


Prepare kuma/infra for switch of beta to main

User story
As a developer, I want to prepare MDN Web Docs for the switch of beta to main. In other words, the new React-based, read-only endpoints now available on beta.developer.mozilla.org become the main endpoints available on developer.mozilla.org.
Acceptance criteria

[ ] An approved Kuma PR that when merged and deployed will effectively make the current beta endpoints the main endpoints, and thereafter the current main endpoints will only be available via the wiki domain.
[ ] The integration tests successfully run against the new views.
[ ] A Kumascript and/or Infra PR that ensures that Kumascript makes API calls (e.g., the $history and $revision endpoints) via the wiki domain to avoid redirects
[ ] The master branch of https://github.com/mdn/infra configures the SSR deployment up to at least 10 pods (it is currently 4).

See https://github.com/mozilla/kuma/pull/5639 and https://github.com/mdn/infra/pull/283

See https://github.com/mdn/infra/pull/284

was pushed to stage.

Done!


Add optional parameter to disable cookie

Add a optional parameter OCI_DISABLE_COOKIE to set the http client cookie jar to nil.
This parameter can disable save cookies in api contacting.
Signed-off-by: wang yan<EMAIL_ADDRESS>

Maybe this should be the default and if there is a registry in the future which requires cookies to work, then enable it specifically. Any sort of user/session tracking is not mentioned by the spec, so disabling it by default makes sense to me.

make sense, code is updated per comments.

LGTM


Develop JWT Authentication Mechanism to Authenticate and Authorize Users into the System

Description

$subject

This work has been completed!


MEN2_EU_SEGPx_P0060L unit

hey my unit's SW train version is MEN2_EU_SEGPx_P0060L
device part number- 6F0035871D
is it possible to install using sd card?
or only with USB2HSB?

https://github.com/olli991/mib-std2-pq-zr-toolbox/blob/master/README.md


Docs may mention about the feature 'unconstrainted type parameter' in C# 9

C# 9 creates a new feature that allows us use nullable annotation ? onto an unconstrainted type parameter. However, at present only those proposals in the repo 'csharplang' mention about it. I personally think that this feature is important to help us use them correctly, so it can be extracted to a new page to display the feature.
I think that the following features are important that should be mentioned:

The elementary usage of the nullable annotation ? to an unconstrainted type parameter T?.
What's the differences among T? where T : class, T? where T : struct and T? (without any constraints).
default constraint (where T : default).

If dupe, I'll be sorry for that, but I doesn't find any pages mentions this.

Thanks @SunnieShine
We haven't a task identified for this feature. I've added it to the C# 9 project, and to our backlog.