update resource management docs keep align with latest SDK

Summary
Since we've GAed some major RP's SDK Packages, our current docs for .net mgmt sdk is out of date. Update the docs to catch up the latest SDK.
Also added some sections based on our customer interview findings.
Update resource management docs
Fixes https://github.com/Azure/azure-sdk-for-net/issues/29797
Internal preview:

Resource management using the Azure SDK for .NET

@ArthurMa1978 @ArcturusZhang @fengzhou-msft @m-nash @TianchengGuo kindly help to check

@IEvangelist @CamSoper fixed the suggested changes, can you help check?


[Event Request] page 1007 "Job Planning Lines" trigger OnAction() action "Create &Sales Invoice"

Please can you add the following code/event to the above procedure...
trigger OnAction()
var
    IsHandled: Boolean;     //NEW CODE
begin
    IsHandled := false;     //NEW CODE
    OnCreateSalesInvoiceOnBeforeAction(Rec, IsHandled);
    if IsHandled then       //NEW CODE
        exit;               //NEW CODE

    CreateSalesInvoice(false);
end;

The event publisher should be as follows...
[IntegrationEvent(true, false)]     //SENDER = TRUE
local procedure OnCreateSalesInvoiceOnBeforeAction(var JobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean);
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 11061.


Which version of ringo will run fine with Java 11?

The 2.0.0 tar.gz I downloaded doesn't play nice with Java 11. I ended up setting up a standalone version of Java 8 for it.

The upcoming 3.0 release will include some more fixes for Java 9+ Another topic are low-level things depending on Rhino's implementation. Still you might see warnings for invalid or deprecated accesses since not all bundled Rhino-code plays 100% well on Java 11.
What is your exact problem?

Most Linux now ship with 11 as default and no longer provide 8. The distro I use is the same. Having to download Zulu 8 to only use with Ringo is a bit inconvenient :smile: Many Java apps now have hard requirement on 11, e.g: Pixelitor, JEdit,... I have to hack to let Ringo recognize and uses Zulu 8.


feat: raycast v1.57

Description
This PR upgrades to raycast API v1.57 and also upgrades prettier and relint files.
It reopens #7644
@pernielsentikaer I missed your comment on the other PR. No error being observed, just package upgrade
Screencast
N/A
Checklist

[X] I read the extension guidelines
[X] I read the documentation about publishing
[X] I ran npm run build and tested this distribution build in Raycast
[X] I checked that files in the assets folder are used by the extension itself
[X] I checked that assets used by the README are placed outside of the metadata folder

Why do you want to update the dependencies @LunaticMuch

Why do you want to update the dependencies @LunaticMuch

Good point. Why not? I normally propose update of dependencies for packages I use, and I've done it multiple times with successfully approved PRs here. I am not for the school of don't touch, don't break, particularly when you make minor updates.
I would agree with not an urgent thing and probably not necessary, but it seems this extension goes for an additional scrutiny 😕


Scopes Not Destroyed with menuClose directive

Short description of the problem:
When using the sidemenu links to navigate from the current view, the current view's controller/view is not destroyed nor is its scope disconnected.  It remains active and all watches are still active.
What behavior are you expecting?
When using the sidemenu links to navigate, the current view and controller should be destroyed.  Since the menu-close directive causes the app's history root to be reset, that process should disconnect the current view's scope.
When using $ionicHistory.nextViewOptions with historyRoot or disableBack, the current view/scope should be clobbered on the next state change.
Steps to reproduce:

Visit http://plnkr.co/edit/veYrgw7Y4m8jY4ScIFcO and open the console.
Notice the console logs out "HomeCtrl Interval Triggered!" every 3 seconds
Open the sidemenu
Tap "Check-in"
Notice the console continues to log that "HomeCtrl Interval Triggered!" every 3 seconds
Notice the $destroy event is never fired for the HomeCtrl - no console logging occurs.

Which Ionic Version? 1.3
Plunker that shows an example of your issue
http://plnkr.co/edit/veYrgw7Y4m8jY4ScIFcO
Run ionic info from terminal/cmd prompt: (paste output below)
Your system information:
Cordova CLI: 6.2.0
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Framework Version: 1.3.1
Ionic CLI Version: 2.0.0-beta.30
Ionic App Lib Version: 2.0.0-beta.16
ios-deploy version: 1.8.6
ios-sim version: 4.1.1
OS: Mac OS X El Capitan
Node Version: v4.4.7
Xcode version: Xcode 7.3.1 Build version 7D1014

I've tested one theory and added $ionicConfigProvider.views.maxCache(0); to see if it is not because of the cache and indeed scope gets destroyed when you disable cache but the interval keeps on going regardless. You need to manage your intervals on your own and stop them in either $destroy or in $leave events (you can restart them in the $enter event)

The problem is that the $destroy never happens.  The interval was just for an example.  The real problem is that the destory never happens; so, all scope watches still exist and can never be gotten rid of.

http://plnkr.co/edit/m7rIwxHaVlVKMXkSQmV8?p=info check updated plunker, if you disable cache it does log the destroy event in the console.

The goal is not to disable caching.  By disabling it for this one scenario, you lose all the benefits of caching throughout the entire app.
The goal is to destroy a controller that should no longer be in the history stack.

caching stack in ionic (nor in browsers for example) is not linked to history stack so it won't work the way you think it should. Thanks to that it's possible to take advantage of cache when switching root contexts of the app etc.
If you have a single view where cache is causing more trouble for you than help and handling your use cases with enter/leave events is too much hustle you can disable caching for selected views in the stateProvider configuration using cache: false - then you'll have your destroy event triggered every time.
Ionic cache is using FIFO queue so as long as the cache queue won't overflow and start pushing out older views your controller will stay in memory and all not cleaned up listeners and what not will stay active.

@calendee - I think the scope of the issue can be narrowed down as outlined below.
As mention in issue #8911, I have got this same issue (scope not being destroyed and thus no $destroy event is fired) only when I use $ionicHistory.nextViewOptions with the disableAnimate option set to true. Even with disableBack and historyRoot set to true, as long as disableAnimate is not set (or set to false) everything would work as expected.
I am on Ionic v1.2.4.

This issue was moved to driftyco/ionic-v1#105


Python.. No uncaputred planets left

Updated to the latest version, and now just getting "No uncaputred planets left" whenever I start up the script, even though there was uncaptured planets right before updating..

Get the latest version again


Update Lodash to 4.17.21

To avoid critical security issues, lodash need to be updated to 4.17.21 urgently.
https://snyk.io/test/npm/lodash/4.17.20

Any news on this?

Same.
$ npm audit

lodash  <=4.17.20
Severity: critical
Prototype Pollution in lodash - https://github.com/advisories/GHSA-jf85-cpcp-j695
Prototype Pollution in lodash - https://github.com/advisories/GHSA-4xc9-xhrj-v574
Prototype Pollution in lodash - https://github.com/advisories/GHSA-fvqr-27wr-82fm
Command Injection in lodash - https://github.com/advisories/GHSA-35jh-r3h4-6jhm
Regular Expression Denial of Service (ReDoS) in lodash - https://github.com/advisories/GHSA-29mw-wpgm-hmr9
Regular Expression Denial of Service (ReDoS) in lodash - https://github.com/advisories/GHSA-x5rq-j2xg-h7qm
Prototype Pollution in lodash - https://github.com/advisories/GHSA-p6mc-m468-83gw
No fix available
node_modules/lodash
  oauth2-server  <=3.1.1
  Depends on vulnerable versions of lodash
  node_modules/oauth2-server
    express-oauth-server  *
    Depends on vulnerable versions of oauth2-server
    node_modules/express-oauth-server

3 vulnerabilities (2 high, 1 critical)

Some issues need review, and may require choosing
a different dependency.


Fix: set value to null when clearing from a single select select2

Closes #61

Please remove dist folder and changes in package.json. I have build script that does this and then publish it to npm

Ok had to make those extra changes to get it to work for my project in the mean time. I'm gonna fork again and make a new pull request.


Align all Amount Input Fields to ₿

it would be awesome to consolidate all input fields where the user needs to input an amount of sats / btc to the same component and styling:

Receive » options
Send
Earn » options

Either B (icon) and Sats (kebab icon) switcher, or everything to B only. maybe even with a proper Placeholder Text with the same styling "0.00 000 000" but when the user copy/paste values its of course without the spacing
(added to 0.2.0, you can raise your hand and have a veto if you want to postpone that ;) )
Screenshots:

(added to 0.2.0, you can raise your hand and have a veto if you want to postpone that ;) )

It's okay! However, please do not auto-assign me. You are destroying all my hopes that other fellow devs will ever contribute to the project :wink:
Tagging it with "good-first-issue" would be nice (if the ticket is actually small and concise).

you still have hopes and dreams :)


auto compile js file when laravel routes are changed

https://github.com/tightenco/ziggy/issues/22

Three problems here:
First, the modified time on a folder doesn't change when the contents of its child files are changed.
Second, this slows down the entire app by adding this check every time the app is loaded.
Third, this won't update the js file in time if it's needed by a build tool; I could change all of my routes file and never open the app and this would never run, so the build tool would never get the updated javascript.

First, the modified time on a folder doesn't change when the contents of its child files are changed.

actually on my mac the routes folder time gets changed every time i change any file under it, and i even have nested folders for each route group.

Second, this slows down the entire app by adding this check every time the app is loaded.

it doesnt cost that much, but if u have a better idea, am all ears.

I could change all of my routes file and never open the app and this would never run.

we can then have a cmnd that does that.

@ctf0 I don't think we are going to merge this for a few reasons:

We don't want to have all these File checking operations appended to every request to the app. We are trying to minimize impact to load-time. In my mind one of the only reasons someone would opt to precompile this JS on their own is to avoid the minor performance hit of our blade directive. In that case, I think adding a bunch of file operations to the beginning of their app is kind of sketchy.

I think this is something that should only be fired in the local environment during development. I don't love the idea of tying into mix, but we already experimented with checking Route files for dirtiness and we opted to avoid that.

I think it's weird that we have a src/js/route.js file being compiled into PHP to be re-exported to another JS file. It just makes me feel weird personally.

actually this wont work for 2 reasons
1- watching the route folder is not effective, because what about the packages that register its own routes?
2- calling app(BladeRouteGenerator::class)->generate() outside of the blade dir, give empty array, not sure why through 🙄


Should requestStorageAccess request without user interaction?

Hi everyone. I'm testing the requestStorageAccess using this document as a reference and I thought that by defining associatedSites we don't need users interactions to access the cookies. Still, I'm receiving prompt instead of.

Am I doing something wrong or is this correct, do we need the user's interaction?

Hi @emerson-paiva,
Chrome still does require the user's gesture if that's the first time requestStorageAccess() has been called, even within a RWS. Once the permission is "granted", Chrome won't require the user gesture anymore, though.
You should be able to click the "Click for cookies" button and get storage access granted without a prompt (assuming you used the right --use-related-website-set= or --use-first-party-set= command line switch). Then if you refresh the page, you should see the permission is "granted".

For a full description of Chrome's requestStorageAccess() implementation, please see https://github.com/cfredric/chrome-storage-access-api, specifically this section.

Hi @cfredric,
I did the implementation, and now we have a page used for the user to interact with the button and requestStorageAccess on click, the request is working well, I receive the granted and undefined when the promise is resolved, and after that the user navigates to the page that needs the cookies, but I still can't access it.
I'm following this doc and the implementation you had sent before.

Hi,
Can you confirm that the iframe that wants access to its cookies is also calling document.requestStorageAccess? For security reasons, that iframe does not implicitly get access to cookies except in very narrow circumstances. Please see this section in the docs: https://developers.google.com/privacy-sandbox/3pcd/related-website-sets-integration#per_frame_model

Hi, yes, the iframe is calling the document.requestStorageAcess.
Following the docs:

Refreshing, reloading, or otherwise recreating the iframe will require requesting access again.

My iframe is an ASP.NET webform app, so every page has his own router and renders a completely new page/URL when using navigation, I'm gonna need to call in every page?
Right now my page looks like this:

A secondary page to user interact and requestStorageAccess (AllowCookies.aspx)
A href link so the users could click to navigate to the page that requires cookies (this page is not calling the document.requestStorageAccess) (Categories.aspx)

Pada Jum, 5 Jan 2024, 12:49 PG Emerson Paiva @.***>
menulis:

Hi, yes, the iframe is calling the document.requestStorageAcess.
Following the docs:
Refreshing, reloading, or otherwise recreating the iframe will require
requesting access again.
My iframe is an ASP.NET webform app, so every page has his own router and
renders a completely new page/URL when using navigation, I'm gonna need to
call in every page?
Right now my page looks like this:

A secondary page to user interact and requestStorageAccess
(AllowCookies.aspx)
A href link so the users could click to navigate to the page that
requires cookies (this page is not calling the
document.requestStorageAccess) (Categories.aspx)

Screenshot.2024-01-04.at.13.47.27.png (view on web)
https://github.com/GoogleChrome/related-website-sets/assets/23361175/0d471d7f-9bf3-41eb-8da4-712644a08eb1
—
Reply to this email directly, view it on GitHub
https://github.com/GoogleChrome/related-website-sets/issues/153#issuecomment-1877434913,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBFIUYXY2YHS753IMPHGQITYM3MTNAVCNFSM6AAAAABAGSZ6N2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZXGQZTIOJRGM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I'm gonna need to call in every page?

Yes*. Please have a look at https://github.com/cfredric/storage-access-headers and let me know if that proposal would be useful to you, to avoid calling document.requestStorageAccess() in each iframe.
*If your iframes navigate themselves, and those navigations don't involve cross-origin redirects, then they won't need to call requestStorageAccess() again. There's a demo of this behavior on https://rws-member-1.glitch.me/request-storage-access.html (see the navigate back here again link). It looks like your pages might be able to take advantage of this.

Would using requestStorageAccessFor act any differently than requestStorageAccess in that it won't require user interaction? It seems some places I'm reading like in here: https://github.com/cfredric/chrome-storage-access-api?tab=readme-ov-file implies that requestStorageAccessFor will not require user interaction. Is that right?

Would using requestStorageAccessFor act any differently than requestStorageAccess in that it won't require user interaction?

No; both APIs require a user interaction if permission has not yet been granted. A user gesture is one of the baseline requirements Chrome checks before granting a new permission (or prompting the user if they'd like to grant permission).
If the permission has already been granted (either by the user, or by the user agent on the user's behalf [e.g. via Related Website Sets]), then neither API requires a user gesture.

Hi @cfredric, thanks for the answers. I was doing some tests and the only way that worked for me was:

Accessing mylegacyapp.com directly
Defining the cookies I need it
Go to mynewapp.com/path-that-has-legacy-app-as-iframe
The iframe grants access to the cookie that is defined into mylegacyapp.com

I thought that the behaviour was like this:

Accessing mynewapp.com
Defining the cookies I need it
Go to mynewapp.com/path-that-has-legacy-app-as-iframe
The iframe grants access to the cookie that is defined into mynewapp.com

Without the need to access the old app, when I tried I received the following error:

requestStorageAccess: Request denied because the embedded site has never been interacted with as a top-level context

Is the second case not possible?

In your setup, it sounds like mylegacyapp.com is the site that has to access the cookies. If so, then it's also the one that has to define them.
RWS does not allow one site to read another site's cookies; that would be a huge security issue as it would violate the Same Origin Policy. So mylegacyapp.com cannot read cookies that were defined by mynewapp.com, even if they're in the same RWS.

requestStorageAccess: Request denied because the embedded site has never been interacted with as a top-level context

Just FYI: if you're seeing this error, it means you haven't defined your RWS properly (so Chrome doesn't know about it). This error is only shown for non-RWS cases.
You can check chrome://system to see what RWSes Chrome is aware of, in order to verify whether your RWS is set up as you expect.


Substring violates Hashable’s requirements

Describe the bug
Dictionaries and Sets of Substrings containing non-ascii characters can sometimes end up having duplicated keys and/or crash.
Swift Forum post
To Reproduce

Create a file test.swift containing the following program:

func randomString() -> String {
    (0..<10_000).map({ _ in Bool.random() ? "å" : "ä" }).joined()
}

extension String {
    func randomSubstring() -> Substring {
        let i = indices.dropLast(1).randomElement()!
        return self[i...i]
    }
}

func test() {
    let s1 = randomString()
    let s2 = randomString()
    var dict = [Substring : Int]()
    for _ in 0 ..< 1000 {
        let a = s1.randomSubstring()
        let b = s2.randomSubstring()
        dict[a, default: 0] += 1
        dict[b, default: 0] += 1
    }
    dict.forEach { print($0, $1) }
}
test()

Compile and run the program a couple of times:

% swiftc --version
swift-driver version: 1.45.2 Apple Swift version 5.6.1 (swiftlang-<IP_ADDRESS>3.66 clang-13<IP_ADDRESS>)
Target: x86_64-apple-macosx12.0
% swiftc -O test.swift && ./test
ä 492
å 1002
ä 506
% swiftc -O test.swift && ./test
ä 970
å 1030
% swiftc -O test.swift && ./test
å 498
ä 479
å 520
ä 503
% swiftc -O test.swift && ./test
Fatal error: Duplicate keys of type 'Substring' were found in a Dictionary.
This usually means either that the type violates Hashable's requirements, or
that members of such a dictionary were mutated after insertion.

Note that if the "å" and "ö" Characters are changed to eg "x" and "y", then it will behave as expected (never print duplicate dictionary keys and never crash):

% swiftc -O test.swift && ./test
y 1004
x 996
% swiftc -O test.swift && ./test
y 1016
x 984
% swiftc -O test.swift && ./test
x 993
y 1007

https://forums.swift.org/t/substring-violates-hashables-requirements-stdlib-compiler-bug/58046/5

Thanks for raising this issue!
Yes, this is unfortunately indeed broken in the Swift 5.6 stdlib -- the fix is present on the Swift 5.7 release branch.
(Note: This fix is not included in the beta OS releases that Apple released earlier this week.)
Currently, the least painful workaround is to refrain from using Substring as a Set/Dictionary key for code that needs to run on a 5.6 stdlib. (I know that's still quite painful. :disappointed:)

https://forums.swift.org/t/substring-violates-hashables-requirements-stdlib-compiler-bug/58046/7

We're thinking about ways to make the fix deploy back to earlier releases.

I'm going to use this issue to track the potential back deployment of the fix. Beyond really bad @_silgen_name tricks, we can also try using @_backDeploy for force-emitting the implementation into clients that deploy to 5.6.
However, we'll need to figure out if we can reasonably implement this with APIs that are available to call from inlinable functions.

The actual fix has landed with #58948/#58968, and is (currently) on track to ship in Swift 5.7.

This is still unresolved in 5.7:
% swiftc --version
swift-driver version: 1.62.8 Apple Swift version 5.7 (swiftlang-<IP_ADDRESS>.4 clang-14<IP_ADDRESS>)
Target: x86_64-apple-macosx12.0

% swiftc -O test.swift && ./test
Fatal error: Duplicate keys of type 'Substring' were found in a Dictionary.
This usually means either that the type violates Hashable's requirements, or
that members of such a dictionary were mutated after insertion.
zsh: illegal hardware instruction  ./test

@jepers, did you see this on macOS Ventura or Monterey? The fix requires a new stdlib, and that only ships within the OS. (Upgrading the toolchain isn't enough, unfortunately.) I'll double check myself later, too.


Plotly - add tests for useTransformedData

don't forget to assign an iteration (and optionally target delivery date) under the project in the future


Proposal to add the list of relevant conda install list to your article

Hi Willy, many thanks for your interesting article on TDS.
Unfortunately your Notebook does not work "out of the box", which will leave novices/students not getting to the gist of your good work,
May I propose that you add the list of required conda install(s) (for a standard anaconda installation). Here's what I did to get your notebook running:
conda install -c intake intake
conda install xarray dask netCDF4 bottleneck
conda install -c conda-forge proplot
conda install -c conda-forge intake-esm
conda install -c conda-forge cartopy

Hi @PeetsB, thank you very much for your feedback and comments. I'll certainly take your suggestion in mind, this is an ongoing project and I'm really looking forward to improve it and make it more accessible to all.


Download Link for VS2017 and VS2015 Version broken

The download link on my.visualstudio.com didn't work for me.
It said the download couldn't be found.
When switching to another site on my.visualstudio.com,
I had to confirm Terms of Use or something.
(Which I obviously read, thoroughly!)
After accepting that dialog, the link worked again.
More of a my.visualstudio.com issue.
But it might be important for people trying to get the download working.

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

ID: 3a52d11c-1c52-fb1d-c785-75845f6edee3
Version Independent ID: 35a11332-d74c-03dd-dbdd-75f256bd68b3
Content: Remote debugging - Visual Studio
Content Source: docs/debugger/remote-debugging.md
Product: visual-studio-windows
Technology: vs-ide-debug
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@SebastianBecker2 Thanks for the feedback! We hear this occasionally, but it seems to be very hard to get a repro. What browser are you using?

Hi Mike,
I’m using chrome. Up to date version.
I guess this issue only happens if you are logged into your Microsoft account while also having to agree to some terms of service changes.
And you have to have a direct link to the download page.
That is a rare situation. Especially if you’re working on Microsoft sites and trigger the terms of services dialog pretty immediately when those changes arise.
I hope this is helpful.

Sebastian Becker
Softwareentwicklung
comundus REGISAFE GmbH
Heerstraße 111, D-71332 Waiblingen
Durchwahl    +49 7151-96528-227
Zentrale       +49 7151-96528-0
Fax              +49 7151-96528-999
E-Mail     s.becker<EMAIL_ADDRESS>Internet   www.regisafe-comundus.dehttp://www.regisafe-comundus.de/
Geschäftsführer Thomas Behrend, Siegfried Fitzel, Klaus Hillemeier
Amtsgericht Stuttgart, HRB 264290

Sie sind von unserer E-Akte genauso begeistert wie wir?
Dann unterstützen Sie uns bei den eGovernment Reader's Choice Award 2019.
regisafe ist in der Kategorie "E-Akte" nominiert. Hier geht's zur Umfrage: http://bit.ly/eGovAwards2019
Von: Mike Jones<EMAIL_ADDRESS>Gesendet: Friday, 12 July, 2019 17:28
An: MicrosoftDocs/visualstudio-docs<EMAIL_ADDRESS>Cc: Becker, Sebastian<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Betreff: Re: [MicrosoftDocs/visualstudio-docs] Download Link for VS2017 and VS2015 Version broken (#3624)
@SebastianBecker2https://github.com/SebastianBecker2 Thanks for the feedback! We hear this occasionally, but it seems to be very hard to get a repro. What browser are you using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/visualstudio-docs/issues/3624?email_source=notifications&email_token=AILQRIHBS3536XSMN56AHUTP7CPGTA5CNFSM4ICKQSU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ2CSQA#issuecomment-510929216, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AILQRIAHXEBT5AEANNC56FLP7CPGTANCNFSM4ICKQSUQ.

Thanks for the clarification. Yes, that's helpful information.

I think I'll leave doc as-is for now. Thanks!


Question about memory usage for local features in Fig.2

Thank you for your excellent research! I have a question about Fig. 2, specifically the memory usage for local descriptors. During Global Retrieval, the model outputs 1200 local feature tokens but selects 500 tokens with the highest attention values. However, in Table 3, the memory usage calculation seems to consider only 500 tokens, not the peak of 1200. Could you clarify if I'm misunderstanding something? Thank you!

During global retrieval, only the class token is saved/used. During the reranking, only the 500 tokens are saved in the memory, the others are not saved or used.

You can check the code for details.

Thank you!


How to launch gpsd_client

This one is hopefully easy to solve: How can one launch gpsd_client? We are on foxy @ Ubuntu 20.04. What I did:

Install gps_umd and gpsd_client via rosdep
ros2 run gpsd_client gpsd_client -> No executable found
ros2 launch our.launch.yaml (see below) -> long stack trace and eventually: launch.substitutions.substitution_failure.SubstitutionFailure: package 'gpsd_client' found at '/opt/ros/foxy', but libexec directory '/opt/ros/foxy/lib/gpsd_client' does not exist

Am I missing something abvious? The readme does not mention the node name so maybe that's just what is wrong.
The file our.launch.yaml is very short:
launch:
  - node:
      pkg: gpsd_client
      exec: gpsd_client
      name: gpsd_client_node

No nodes (executables) are compiled for gpsd_client. You'll have to load it as a component, gpsd_client::GPSDClientComponent. I'm not sure how ComposableNode can be used with .yaml launch files.
However, because this function:
https://github.com/swri-robotics/gps_umd/blob/fc782811804fafb12ee479a48a2aa2e9ee942e2d/gpsd_client/src/client.cpp#L65-L76
is not called anywhere, nothing will actually be published. You'll have to build gpsd_client with the changes in https://github.com/swri-robotics/gps_umd/pull/46 to be able to use gpsd_client in ros2.
This is also related to issue https://github.com/swri-robotics/gps_umd/issues/30

Thanks @SivertHavso!
Well, I thought this would be simpler. :sweat_smile: But okay, now I get what's up with this and can probably get to run it. however, this should really by part of the distribution of the package.

Thank you @danthony06! Looking forward to the next release.

@danthony06 Are there plans for releasing the current version to Rolling and the upcoming Humble Hawksbill? Would be nice to use the new changes. :smiley:


Merge test/unit tests to develop

Coverage remained the same at 100.0% when pulling 8f4bba0e39b5b9978d61d2b4c992c2fbca51d1d0 on test/unit-tests into 5a909267265076c02b8d90e58f22db0c86237ed6 on develop.


"Find in folder" doesn't work when workspace root folder has a slash in his name.

VS Code Version: 1.56-0-insider
OS Version:Linux Mint 20.01

Steps to Reproduce:

Create and save a new workspace.
Add a folder to the workspace (eg: my-project).
Go to .code-workspace file and set a name with slash (/) for the folder (eg: {"name": "mycompany/my-project", "path": "./my-project"}.
Right click the renamed root folder on Explorer and click on "Find in folder..."
"Files to include" field will show a relative path with the folder name set in workspace file (eg ./mycompany/my-project).
Type some search term.
Error "Workspace folder does not exist" is displayed.

I tracked the error to the line https://github.com/microsoft/vscode/blob/486072c4a016a432b80ed7c5c913dd9ad70954b0/src/vs/workbench/contrib/search/common/queryBuilder.ts#L420 where the const searchPathRoot is set to the first part of the "files to include" relative path (eg mycompany) and the subsequent call to this.workspaceContextService.getWorkspace().folders.filter cant match the folder name from the searchPathRoot.

Does this issue occur when all extensions are disabled?: Yes

https://github.com/microsoft/vscode/issues/99512


Update readme for Thymeleaf 3.0

As part of #68, update the readme so that it uses more HTML5 instead of XHTML - we're living in the future now!

Forgetful me, I already have an issue for this!  Closing.


PDTimeSeriesPlot

Implement a PDTimeSeriesPlot class to visualise one-dimensional pharmacodynamic time series.

[ ] class that instantiates an empty go.Figure
[ ] has show method to show the figure.
[ ] has add_data method that adds a scatter trace of the PD time series. Takes a pandas.DataFrame with keys 'Time', 'Biomarker', 'Concentration'.
[ ] Private method _set_layout that sets the layout. (plotly-white, size auto)

swapping to javascript frontend


Loading game categories fails partially sometimes

Shows either none or only a few categories or only for some games.
Works on some pages, does not work on some other, I have not figured out the pattern
(unhelpful xD) console error below
Uncaught (in promise) TypeError: Cannot read property 'owned' of undefined
    at t.value (esgst.js:1)
    at t.<anonymous> (esgst.js:1)
    at w (esgst.js:54)
    at Generator._invoke (esgst.js:54)
    at Generator.e.(anonymous function) [as next] (chrome-extension://ibedmjbicclcdfmghnkfldnplocgihna/esgst.js:54:15035)
    at n (esgst.js:1)
    at r (esgst.js:1)
    at esgst.js:1
    at new Promise (<anonymous>)
    at t.<anonymous> (esgst.js:1)

Do you have option to immediately show categories that don't need to be fetched enabled?

yes, also I don't have any enabled that require any sort of loading and it never finishes to show them when the bug happens

More helpful error code from the last dev version
Uncaught (in promise) TypeError: Cannot read property 'owned' of undefined
    at GamesGameCategories.gc_addCategory (esgst.js:80537)
    at GamesGameCategories.gc_getGames (esgst.js:78729)
    at GamesGameCategories.gc_games (esgst.js:78633)
    at Games.games_load (esgst.js:77336)

Same here.
This is what I got in console:
Uncaught (in promise) TypeError: Cannot read property 'owned' of undefined     at t.value (esgst.js:1)     at t.<anonymous> (esgst.js:1)     at w (esgst.js:54)     at Generator._invoke (esgst.js:54)     at Generator.e.(/giveaways/anonymous function) [as next] (chrome-extension://pieelnhhnfakilgomkmmjdgfbjbeadco/esgst.js:54:15035)     at n (esgst.js:1)     at r (esgst.js:1)     at esgst.js:1     at new Promise (<anonymous>)     at t.<anonymous> (esgst.js:1) esgst.js:1 Uncaught (in promise) TypeError: Cannot read property 'owned' of undefined     at t.value (esgst.js:1)     at t.<anonymous> (esgst.js:1)     at w (esgst.js:54)     at Generator._invoke (esgst.js:54)     at Generator.e.(/giveaways/anonymous function) [as next] (chrome-extension://pieelnhhnfakilgomkmmjdgfbjbeadco/esgst.js:54:15035)     at n (esgst.js:1)     at r (esgst.js:1)     at esgst.js:1     at new Promise (<anonymous>)     at t.<anonymous> (esgst.js:1) 4esgst.js:1 Uncaught (in promise) TypeError: Cannot read property 'querySelector' of null     at t.<anonymous> (esgst.js:1)     at w (esgst.js:54)     at Generator._invoke (esgst.js:54)     at Generator.e.(/giveaways/anonymous function) [as next] (chrome-extension://pieelnhhnfakilgomkmmjdgfbjbeadco/esgst.js:54:15035)     at n (esgst.js:1)     at r (esgst.js:1)     at esgst.js:1     at new Promise (<anonymous>)     at t.<anonymous> (esgst.js:1)     at t.<anonymous> (esgst.js:1)

Alright. I'm going back to previous version though for the time being - will check the new "new" one tonight and report back.


Disable Accordion completely

Hi,
Is there a way to disable Accordion completely? I'm using responsive-tabs in multiple places and in one of them I don't want them to transform to the Accordion in mobile view.
Thanks!

Hmmm I just hid the Accordion tabs via CSS. Should be enough.


Dev

Thanks to you for your excellent work. If you are interested, I could add more servers as long a I have time


2.1.x

Checking out the Python backend used.

@vikshith-s Github is very confused by the commits in this branch. Can you cleanly rebase your changes on top of current master and push again? Also, can you change the title of the pull request to briefly say what it's about?

This PR proposes to merge our own 2.1.x branch into our own master branch, and appears to have been opened by mistake. Closing.


fix(server): Switch archive-list method to use same auth as archive-get

Fixes #2399.
Checklist:

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

I've confirmed that this patch fixes the issue in my team's cluster. I'm happy to add / update a test to try to cover this change, but I wanted to get the code up before anyone spent more time debugging.

@jessesuen I'd like to get your thoughts on RBAC here.
The code written does not work for @danxmoran. To simplify, he suggests just checking to see if you have permission to ready any workflows in the namespace.
I kind of tempted to agree with him.
Thoughts?

@alexec just to clarify, the changes here make it so the code does work for me. Agreed that it's not the most efficient logic, but I don't think it's any less efficient than the code it's replacing. Would it be ok to review & merge the change as-is, and I can open a follow-up issue about tweaking the RBAC checks? I'm worried about this missing the 2.7 train 😄

efficient

Don't worry about the train - this is a bug fix so we can back-port.

Superseded by https://github.com/argoproj/argo/pull/2523.


Improve performance on maps with many children

This change will significantly improve the running time of st_folium on maps with many children.
In an example I tried with 10,336 child objects, the running time was improved from ~14 seconds to ~400 milliseconds.
Fixes #125

Looks like this is failing due to the pre-commit hook for Black formatting

I force-pushed a fix for the formatting, the pre-commit hook should pass now.

Super excited to try this out!

@blackary Can you try to run these tests locally, or change the timeout of 30000ms? That's what keeps failing, the actual tests never even run

I think some of the failures were literally because the playwright window was too small to see the map 🤦


Connection refused using HPA when scale down

Question
I try to config the application to not receive traffic from proxy service with preStop and Readiness probe
readinessProbe:
      tcpSocket:
        port: 80
      initialDelaySeconds: 5
lifecycle:
            preStop:
              exec:
                command: ["sleep", "120"]

Then I was created an HPA config to scale up/down pod when having a lot of traffic, but I got a problem when scaling down because the container app cannot connect to the SQL proxy container. It returns Connection refused
Could you please guide me for how to config this problem?

Hi @ALTELMA,
This is probably something that is better suited for StackOverflow, since the problem is mostly related how to use Kubernetes.
What exactly is it you are trying to do? If you take a look at the docs for preStop documentation:

This hook is called immediately before a container is terminated due to an API request or management event such as liveness probe failure, preemption, resource contention and others ... It is blocking, meaning it is synchronous, so it must complete before the signal to stop the container can be sent

It looks to me like this would essentially just add a 2 minute delay to sending a sigterm to a pod. Is that what you want?


[Bugfix] Header price update occludes the other text

Problem
When the user is reading the price at the top some other text is overlapping
Approach
Change the label to auto-sizing and re-set the margins
Screenshots

Before
After

@kcw-grunt  From the After Screenshot, I think we should move up the current LTC price. It doesn't look vertically centered

@kcw-grunt From the After Screenshot, I think we should move up the current LTC price. It doesn't look vertically centered

Agreed... but that is outside of the scope of this issue,  Will you take a look at the fix in a separate issue?

@kcw-grunt From the After Screenshot, I think we should move up the current LTC price. It doesn't look vertically centered

Agreed... but that is outside of the scope of this issue, Will you take a look at the fix in a separate issue?

Let me spend 15 minutes to try to fix it and if OK I will update this PR. Otherwise we will create a separate issue.

@kcw-grunt From the After Screenshot, I think we should move up the current LTC price. It doesn't look vertically centered

Agreed... but that is outside of the scope of this issue, Will you take a look at the fix in a separate issue?

Let me spend 15 minutes to try to fix it and if OK I will update this PR. Otherwise we will create a separate issue.
Ok

Let's approve this one. I will work on a fix later.


Mocking interfaces with allowMockingNonExistentMethods(false).

Not very familiar with Mockery yet, this could be desired behavior.

I have an interface Test with one function.

interface Test {
    public function test();
}

I disable mocking non existing methods:

\Mockery::getConfiguration()->allowMockingNonExistentMethods(false);

I create a mock of that interface.

$mock = \Mockery::mock('Test')

I add an invalid expectation

$mock->shouldReceive('coolStuff')->andReturn(5);

I call the mocked method.

echo $mock->coolStuff();
: 5

Since the mocked interface is anonymous, snippet belows shows the code:
public function mockery_isAnonymous()
    {
        $rfc = new \ReflectionClass($this);
        return false === $rfc->getParentClass();
    }

And the guard in Mockery::buildDemeterChain() requires it to not be anonymous:
 if (!\Mockery::getConfiguration()->mockingNonExistentMethodsAllowed()
            && !$mock->mockery_isAnonymous()
            && !in_array(current($methodNames), $mock->mockery_getMockableMethods())

I am allowed to mock methods regardless of them being in the interface.
Should this be allowed?

A workaround to prevent this is mocking both stdClass and the desired interface(s):
$mock = \Mockery::mock('stdClass', 'Test');

When done like this the mocked class is no longer anonymous and the configuration setting will work as expected.

I do believe this is a bug

A fix would be to create an empty base class (or use stdClass) if only interfaces are specified, want me to create a PR?

I think changing mockery_isAnonymous might be better? I.e. if the class implemented any more interfaces than just Mockery\MockInterface, it would not be anonymous.

ok sounds good, pr incoming

Thanks, sry for forgetting this! @TiagoMaiaL thanks!


Fix pylint issue in vta/python/vta/top/graphpack.py

This appears in linting using the docker scripts. I'm not sure
why this isn't failing in the standard CI for TVM and it might
be that the docker images haven't been updated in the CI system.
python3 -m pylint vta/python/vta --rcfile=/workspace/tests/lint/pylintrc
Using config file /workspace/tests/lint/pylintrc
************* Module vta.top.graphpack
C:131, 4: Missing method docstring (missing-docstring)

Think the CI failure is a red herring, let's retry this with a simple force rebuild.


Add Fast Fourier Transform in maths

I saw that the FFT algorithm was missing in the maths folder. So I will go ahead and implement one.

I would like to implement and add FFT algorithm. I request you to assign this task to me.


Extend NoLongPlaces strategy

Remove 1 from the possibilities for the bold cell in this type of pattern:
1xxx
xxxx
1xxx

Done in 687e9c35aca0d607a08c003944b0955a0be137fb.


Fix SSR render mismatch

Fixes #32

Additional improvements:

Does not create a new div for every element, just the grid and the column. The elements inside the column are exactly the passed children.
Does not use margins. It uses the gap property instead.

Awesome! Thank you


(DOCSP-28116)(28117) Adds required roles for additional commands

Proposed changes
Adds required roles for processes, projects, security, serverless, teams, and users commands.
Jira ticket:
https://jira.mongodb.org/browse/DOCSP-28116
https://jira.mongodb.org/browse/DOCSP-28117
Checklist

[x] I have signed the MongoDB CLA
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have added any necessary documentation in document requirements section listed in CONTRIBUTING.md (if appropriate)
[ ] I have addressed the @mongodb/docs-cloud-team comments (if appropriate)
[ ] I have updated test/README.md (if an e2e test has been added)
[x] I have run make fmt and formatted my code

evergreen refresh


Replace jQuery Validation Plugin with a dependency-free alternative

According to the section on Form Validation:

By default, WFP recommends a jQuery Validation Plugin, which is well documented and actively supported. Please, refer to its documentation for ways to implement inline validation for your forms.

The jQuery Validation Plugin has a dependency on the jQuery library which adds extra bloat to pageload times as well as having an additional performance impact on CPU usage (especially on lower-end computers).
Rather than jQuery Validation Plugin, we should find an alternative which is more self-contained and does not have dependencies on other large libraries.

@jrah Could you start researching information for this issue? Comment here with your findings.

I have found three alternatives using no jQuery, and that are still maintained (with varying degrees):

[ ] https://github.com/guillaumepotier/Parsley.js
[ ] https://github.com/ansman/validate.js
[ ] https://github.com/chriso/validator.js

I will continue researching.

validate.min.js = 12kb
validator.min.js = 17.3kb
Validate.js at the minute sounds like the most viable (due to the size), although validator.js has a validation for locale. Both have no dependencies.

Regarding maintenance and community appeal:
validator.js
Since: Oct 6, 2010
Contributors: 109
Stars: 5000+
validate.js
Since: Oct 28, 2013
Contributors: 15
Stars: 602

Both seem to be regularly maintained (>1 month).

If both of these libraries meet our requirements then I would recommend we use the more mature and community supported validator.

I will be testing both validator.js and validate.js to see which is best suited.

@andrewholgate: Based on @jrah's feedback on available options for inline validation, this issue is a more complex than we thought initially. I'm going to investigate it personally once I have some time available.

@jrah can you please outline the complexities so we're all on the same page?

@jrah can you please list the libraries which you mention would fit the 3rd point above?

It has been sometime so I can't remember exactly.
One of the two only worked inline and I found another one here: http://rickharrison.github.io/validate.js/ but the example only shows the fields validating on submission.
Will need to investigate later.

I found an alternative to those scripts, which is pretty much a low-level validation, with no dependencies and a broad range of data validation patterns built in. I have also been able to successfully implement it in just a few hours on a contact form here: https://madbit.co.
https://github.com/CharlGottschalk/approvejs
It works very well by not forcing us to use one given methodology, or data structure. It does not attach itself to events, or display errors in the DOM automatically, and thus can be very versatile.
A simple form item validation object could look like this:
var FormItem = function (item) {
  var _self = this;
  _self.element = item;
  _self.name = undefined;
  _self.value = undefined;
  _self.valid = undefined;
  _self.type = item.dataset.type;
  _self.required = item.hasAttribute('required');
  _self.element.addEventListener('change', _self, false);
  _self._init(item);
};

FormItem.prototype = {

  /**
   * @constructs FormItem
   */
  _init: function (item) {
    var _self = this;
    _self.value = item.value;
    _self.type = item.dataset.type;
    _self.name = item.name;
  },

  /**
   * Validate FormItem object data
   */
  validate: function () {
    var _self = this;
    var inputValue = _self.value;
    var rules = {};

    switch (_self.type) {
      case 'email':
        rules.email = true;
        break;
      case 'url':
        rules.url = true;
        break;
    }

    if (_self.required) {
      rules.required = true;
    }

    return approve.value(inputValue, rules);
  },

  /**
   * Custom handleEvent method
   */
  handleEvent: function (event) {
    var _self = this;
    switch (event.type) {
      case 'change':
        _self.change(_self.element.value);
        _self.valid = _self.validate(_self.element);
    }
  },

  /**
   * Update element value as well as object value
   */
  change: function (value) {
    var _self = this;
    _self.value = value;
    _self.element.value = value;
  }
}


Release v6.0.0: drop unicorn and deprecate statsd.

Remove GovukUnicorn and drop unicorn as a dependency. All our production apps are now using Puma.
Announce the deprecation of GovukStatsd and support for statsd metrics. Most of our instrumentation is already Prometheus, with only a few statsd counters remaining.
Some documentation cleanup along the way.

Sorry Chris, I released v6 while you were off 😬


Rancher upgrade from 2.8.3 to 2.9.2 failed

Rancher Server Setup

Rancher version: rancher/rancher:v2.8.3
Docker install

# system info
$ cat /etc/redhat-release
Rocky Linux release 8.9 (Green Obsidian)
$ uname -a
Linux idc-hk-internal-public-rancher-01 5.4.215-1.el8.elrepo.x86_64 #1 SMP Tue Sep 27 09:01:51 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux

$ docker version
Client: Docker Engine - Community
 Version:           26.1.0
 API version:       1.45
 Go version:        go1.21.9
 Git commit:        9714adc
 Built:             Mon Apr 22 17:07:54 2024
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          26.1.0
  API version:      1.45 (minimum version 1.24)
  Go version:       go1.21.9
  Git commit:       c8af8eb
  Built:            Mon Apr 22 17:06:47 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.31
  GitCommit:        e377cd56a71523140ca6ae87e30244719194a521
 runc:
  Version:          1.1.12
  GitCommit:        v1.1.12-0-g51d5e94
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

$ docker run --privileged -d -ti \
    --restart=unless-stopped \
    -p 80:80 -p 443:443 \
    -v /data/rancher/ssl/cert.pem:/etc/rancher/ssl/cert.pem \
    -v /data/rancher/ssl/key.pem:/etc/rancher/ssl/key.pem \
    -v /data/rancher/data:/var/lib/rancher \
    -v /data/rancher/log:/var/log \
    --name rancher \
    rancher/rancher:v2.8.3 \
    --no-cacerts \
    --audit-level 3 \
    --audit-log-maxage 10 \
    --audit-log-maxbackup 10 \
    --audit-log-maxsize 100

I saw that the official released the latest stable version 2.9.2, so I want to upgrade. The upgrade process is as follows:

Using Rancher Backups to back up a Rancher local cluster;
Back up the docker mapping directory /data/rancher;
Stop the existing rancher 2.8.3 container;
Start the container using Rancher 2.9.2;

$ docker run --privileged -d -ti \
    --restart=unless-stopped \
    -p 80:80 -p 443:443 \
    -v /data/rancher/ssl/cert.pem:/etc/rancher/ssl/cert.pem \
    -v /data/rancher/ssl/key.pem:/etc/rancher/ssl/key.pem \
    -v /data/rancher/data:/var/lib/rancher \
    -v /data/rancher/log:/var/log \
    --name rancher-v2.9.2 \
    rancher/rancher:v2.9.2 \
    --no-cacerts \
    --audit-level 3 \
    --audit-log-maxage 10 \
    --audit-log-maxbackup 10 \
    --audit-log-maxsize 100

When switching to version 2.9.2, the container fails to start.
$  docker ps -a
CONTAINER ID   IMAGE                    COMMAND                  CREATED              STATUS                     PORTS                                      NAMES
95ba58bf8a61   rancher/rancher:v2.9.2   "entrypoint.sh --no-…"   About a minute ago   Up 20 seconds              <IP_ADDRESS>:80->80/tcp, <IP_ADDRESS>:443->443/tcp   rancher-v2.9.2
6a360614374e   rancher/rancher:v2.8.3   "entrypoint.sh --no-…"   5 months ago         Exited (1) 2 minutes ago                                              rancher

$ docker logs -f rancher-v2.9.2
INFO: Running k3s server --cluster-init --cluster-reset
ERROR:
time="2024-10-06T03:36:01Z" level=warning msg="remove /var/lib/rancher/k3s/agent/etc/k3s-api-server-agent-load-balancer.json: no such file or directory"
time="2024-10-06T03:36:01Z" level=info msg="Starting k3s v1.30.2+k3s2 (faeaf1b0)"
time="2024-10-06T03:36:01Z" level=info msg="Managed etcd cluster bootstrap already complete and initialized"
time="2024-10-06T03:36:01Z" level=info msg="certificate CN=kube-apiserver signed by CN=k3s-server-ca@1714186805: notBefore=2024-04-27 03:00:05 +0000 UTC notAfter=2025-10-06 03:36:01 +0000 UTC"
time="2024-10-06T03:36:01Z" level=info msg="certificate CN=etcd-peer signed by CN=etcd-peer-ca@1714186805: notBefore=2024-04-27 03:00:05 +0000 UTC notAfter=2025-10-06 03:36:01 +0000 UTC"
time="2024-10-06T03:36:01Z" level=info msg="certificate CN=etcd-server signed by CN=etcd-server-ca@1714186805: notBefore=2024-04-27 03:00:05 +0000 UTC notAfter=2025-10-06 03:36:01 +0000 UTC"
time="2024-10-06T03:36:01Z" level=fatal msg="starting kubernetes: preparing server: start managed database: Managed etcd cluster membership was previously reset, please remove the cluster-reset flag and start k3s normally.
Could anyone tell me how to solve this problem?

Same problem here

who can help me?

also see https://github.com/rancher/rancher/issues/46580 there are some workarounds discussed


Improvement: To improve the format of keys on the calculator and cursor on the display screen.

I want to place the keys of the calculator in proper format to give it a standard look and add a cursor to the screen of the calculator.
@iamrahulmahato please assign this issue to me, I want to improve the UI of the calculator.

Thank you for assigning me this issue. I will complete this fix this issue asap.


[] build failure

Operating system
Windows 10 x86
Compiler
cmake
Steps to reproduce the behavior
`G:\Snax\vcpkg>call ./bootstrap-vcpkg.bat -disableMetrics`

Failure logs
Error: Building package zlib:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with git pull and .\vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+zlib
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[zlib]+Build+error
including:
package: zlib[core]:x64-windows -> 1.2.11#13
vcpkg-tool version: 2022-02-11-dac008bf9b55ef48e10bcc81e273b97a82bbf72d
vcpkg-scripts version: 4d94109ff 2022-03-18 (1 year, 10 months ago)
Additionally, attach any relevant sections from the log files above.
vcpkg install FAILED... Return code: 1
Carefully review the message log to find the cause.
Spaces in directory names are known to cause an error.
config-x64-windows-err.log
config-x64-windows-out.log
extract-err.log
extract-out.log
install-x64-windows-dbg-err.log
install-x64-windows-dbg-out.log
install-x64-windows-rel-err.log
install-x64-windows-rel-out.log
patch-x64-windows-0-err.log
patch-x64-windows-0-out.log
patch-x64-windows-1-err.log
patch-x64-windows-1-out.log
patch-x64-windows-2-err.log
patch-x64-windows-2-out.log
patch-x64-windows-3-err.log
patch-x64-windows-3-out.log
stdout-x64-windows.log
x64-windows.vcpkg_abi_info.txt
Additional context
I saw many issues reported the zlib package failed on Windows. However, I am using a bat script which will bootstrap vcpkg and "Build dependencies using VCPKG" as it said. And it failed, when I am in the step of "call ./bootstrap-vcpkg.bat". Though the error tips advise me to "using the latest portfiles with git pull and .\vcpkg update" but this is not working.

vcpkg-tool version: 2022-02-11-dac008bf9b55ef48e10bcc81e273b97a82bbf72d
vcpkg-scripts version: https://github.com/microsoft/vcpkg/commit/4d94109ffbe2fbffe500b3035c6c9a972f3787dc 2022-03-18 (1 year, 10 months ago)

The vcpkg repo and the vcpkg-tool are outdated, almost 2 years for both.
From the stdout-x64-windows.log:

[DEBUG] Downloading https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst
[DEBUG] Downloading https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst
Error: Failed to download from mirror set:
https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst: failed: status code 404
https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst: failed: status code 404
https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst: failed: status code 404
https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst: failed: status code 404
https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst: failed: status code 404
https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst: WinHttpSendRequest() failed: 12029
https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst: WinHttpSendRequest() failed: 12029
https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst: WinHttpSendRequest() failed: 12029
https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst: WinHttpSendRequest() failed: 12029
https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst: failed: status code 404
https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst: failed: status code 404

Try the following:
cd <vcpkg-root> in your case it is G:\Snax\vcpkg>
git pull  Many updates should be performed since the repo is almost 2 years old
.\vcpkg-bootstrap.bat
.\vcpkg upgrade follow with vcpkg upgrade --no-dry-run if there are upgrades to be applied
.\vcpkg install <port, features> <port, features>

If the above does not fix, then deleting and recreating the vcpkg repo from scratch would be needed:
To delete and recreate vcpkg repo:
cd G:\Snax
rmdir /q /s .\vcpkg
git clone <vcpkg.repo>
cd G:\Snax\vcpkg
.\vcpkg-bootstrap.bat
.\vcpkg install <port, features> <port, features> as needed

The failures downloading tools needed by vcpkg to build some of the ports are updated often by msys/mingw maintainers with older versions being removed and are unavailable - vcpkg is updated often to pull the latest available versions available.


Name of the shapes managed by Orchard.Templates module are not case-insensitive

You can name your template file to "content-page.cshml", it will override the Page content shape as expected. But when you create a Template content item with the title "content__page" it won't work.
In the first case the IShapeTemplateHarvester will harvest the template files and will always transform the file names to shape types in lowercase ("Content-Page.cshtml" -> "content__page"). The bindings are located in the ShapeTable.Bindings object that is a Dictionary with the generated shape name as the key, initialized with the StringComparer.OrdinalIgnoreCase attribute.
When you create a Template content item all these templates will be gathered in a similar Dictionary using the shape name as the key in TemplateShapeBindingResolver.BuildShapeProcessors() method but it is not initialized with the case ignoring attribute. We should use case ignoring here too.

I assume it's just about using the correct comparer in the dictionary of TemplateShapeBindingResolver.

Yes, as described in the issue.


Fix authorship issues

Fix authorship
Edit PPP

Codecov Report

Merging #247 (a6f3956) into master (298945a) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #247   +/-   ##
=========================================
  Coverage     69.74%   69.74%
  Complexity      638      638
=========================================
  Files            94       94
  Lines          1980     1980
  Branches        269      269
=========================================
  Hits           1381     1381
  Misses          496      496
  Partials        103      103

Impacted Files
Coverage Δ

...edu/masslinkers/logic/parser/ModCommandParser.java
93.20% <ø> (ø)

...main/java/seedu/masslinkers/model/student/Mod.java
92.10% <ø> (ø)

src/main/java/seedu/masslinkers/ui/HelpWindow.java
0.00% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Excel mentioned rather than DAX

In the fourth bullet-point of Implicit and explicit data type conversion in DAX formulas, it mentions Excel rather than DAX.

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

ID: b83479d4-0fb8-7500-e6ec-5559c4e2fdae
Version Independent ID: 23b93f03-3ab9-d658-4243-89ebebbd6796
Content: Data types in Power BI Desktop - Power BI
Content Source: powerbi-docs/connect-data/desktop-data-types.md
Service: powerbi
Sub-service: pbi-data-sources
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Great catch! I've updated the article, thanks!


Clone repo to create "terraform-aws-eks-cluster"

Need confirmation from @ml4 that this is the correct name.
The repo will be used to house aws-eks specific logic that does not include peripherals. The child module will then be integrated into the final EKS module that we are working toward.
Assigning to @TheJuanAndOnly99 for actioning as soon as Mark confirms the desired name.

We will want a way to deploy EKS along with it's peripherals... so we'll need a way to differentiate between the fully compliant (hardened) root EKS module & the child module that just addresses the cluster specifically.
We already have a terraform-aws-eks which was not created from this child-module repo template. We can modify/delete that repo if needed.
I'd like us to leave this conversation with a replicable process... @ml4 could you share more thoughts in response to my notes above?

To be moved forward by @ml4, @eddie-knight and @thinkl33t as discussed on https://github.com/finos/compliant-financial-infrastructure/issues/265

On the call today we discussed naming the repo terraform-aws-cfi-eks to enable differentiation when the module is pushed to the Terraform Registry.
Do we have any other suggestions to consider?

This was completed by renaming another repo


Data race between ~Mutex and ~Locker

Note this data race existed before Task was introduced in #1066 #1113, it was only found because ThreadSanitizer was used to analyze an issue in #1119.
How to reproduce:
# old ThreadPool
git checkout 3dd37da51
cd build
CXXFLAGS='-fno-omit-frame-pointer -Wthread-safety -Wno-error=thread-safety -fsanitize=thread -g -O1 -D__STRICT_ANSI__' \
  cmake .. \
  -DCMAKE_BUILD_TYPE=Debug \
  -DFORCE_DEBUG_BUILD=True \
  -DCMAKE_EXE_LINKER_FLAGS='-fsanitize=thread' \
  -DCMAKE_C_COMPILER=clang-4.0 \
  -DCMAKE_CXX_COMPILER=clang++-4.0 \
  -GNinja
ninja cartographer.mapping.internal.2d.pose_graph_2d_test && \
./cartographer.mapping.internal.2d.pose_graph_2d_test --gtest_filter=PoseGraph2DTest.EmptyMap

Get data race:
WARNING: ThreadSanitizer: data race (pid=46614)
  Write of size 8 at 0x7b7000001858 by main thread:
    #0 pthread_cond_destroy ??:? (cartographer.mapping.internal.2d.pose_graph_2d_test+0x8fef90)
    #1 ~Mutex ~/workspace/catkin_ws/src/cartographer/cartographer/common/mutex.h:60 (cartographer.mapping.internal.2d.pose_graph_2d_test+0x9bc9f9)
    #2 ~PoseGraph2D ~/workspace/catkin_ws/src/cartographer/cartographer/mapping/internal/2d/pose_graph_2d.cc:54 (discriminator 22) (cartographer.mapping.internal.2d.pose_graph_2d_test+0xa2f3a9)
    #3 ~PoseGraph2D ~/workspace/catkin_ws/src/cartographer/cartographer/mapping/internal/2d/pose_graph_2d.cc:50 (cartographer.mapping.internal.2d.pose_graph_2d_test+0xa2f799)
    #4 std::default_delete<cartographer::mapping::PoseGraph2D>::operator()(cartographer::mapping::PoseGraph2D*) const /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/unique_ptr.h:78 (discriminator 1) (cartographer.mapping.internal.2d.pose_graph_2d_test+0x9711a7)
    #5 ~unique_ptr /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/unique_ptr.h:268 (cartographer.mapping.internal.2d.pose_graph_2d_test+0x96c349)
    #6 ~PoseGraph2DTest ~/workspace/catkin_ws/src/cartographer/cartographer/mapping/internal/2d/pose_graph_2d_test.cc:38 (cartographer.mapping.internal.2d.pose_graph_2d_test+0x96aa93)
    #7 ~PoseGraph2DTest_EmptyMap_Test ~/workspace/catkin_ws/src/cartographer/cartographer/mapping/internal/2d/pose_graph_2d_test.cc:193 (cartographer.mapping.internal.2d.pose_graph_2d_test+0x968da9)
    #8 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /usr/src/googletest/googletest/src/gtest.cc:2402 (cartographer.mapping.internal.2d.pose_graph_2d_test+0xbe1079)
    #9 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /usr/src/googletest/googletest/src/gtest.cc:2438 (cartographer.mapping.internal.2d.pose_graph_2d_test+0xbe1079)

  Previous read of size 8 at 0x7b7000001858 by thread T1:
    #0 pthread_cond_broadcast ??:? (cartographer.mapping.internal.2d.pose_graph_2d_test+0x8f7e9c)
    #1 std::condition_variable::notify_all() ??:? (libstdc++.so.6+0xb6d4c)
    #2 operator() ~/workspace/catkin_ws/src/cartographer/cartographer/mapping/internal/2d/pose_graph_2d.cc:394 (cartographer.mapping.internal.2d.pose_graph_2d_test+0xa36feb)
    #3 std::_Function_handler<void (std::vector<cartographer::mapping::PoseGraphInterface::Constraint, std::allocator<cartographer::mapping::PoseGraphInterface::Constraint> > const&), cartographer::mapping::PoseGraph2D::WaitForAllComputations()::$_6>::_M_invoke(std::_Any_data const&, std::vector<cartographer::mapping::PoseGraphInterface::Constraint, std::allocator<cartographer::mapping::PoseGraphInterface::Constraint> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/std_function.h:316 (discriminator 1) (cartographer.mapping.internal.2d.pose_graph_2d_test+0xa36e03)
    #4 std::function<void (std::vector<cartographer::mapping::PoseGraphInterface::Constraint, std::allocator<cartographer::mapping::PoseGraphInterface::Constraint> > const&)>::operator()(std::vector<cartographer::mapping::PoseGraphInterface::Constraint, std::allocator<cartographer::mapping::PoseGraphInterface::Constraint> > const&) const /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/std_function.h:706 (discriminator 1) (cartographer.mapping.internal.2d.pose_graph_2d_test+0xb033b2)
    #5 cartographer::mapping::pose_graph::ConstraintBuilder2D::FinishComputation(int) ~/workspace/catkin_ws/src/cartographer/cartographer/mapping/internal/2d/pose_graph/constraint_builder_2d.cc:290 (discriminator 1) (cartographer.mapping.internal.2d.pose_graph_2d_test+0xb00624)
    #6 operator() ~/workspace/catkin_ws/src/cartographer/cartographer/mapping/internal/2d/pose_graph/constraint_builder_2d.cc:129 (cartographer.mapping.internal.2d.pose_graph_2d_test+0xb01c91)
    #7 std::_Function_handler<void (), cartographer::mapping::pose_graph::ConstraintBuilder2D::WhenDone(std::function<void (std::vector<cartographer::mapping::PoseGraphInterface::Constraint, std::allocator<cartographer::mapping::PoseGraphInterface::Constraint> > const&)> const&)::$_2>::_M_invoke(std::_Any_data const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/std_function.h:316 (discriminator 1) (cartographer.mapping.internal.2d.pose_graph_2d_test+0xb01b11)
    #8 std::function<void ()>::operator()() const /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/std_function.h:706 (cartographer.mapping.internal.2d.pose_graph_2d_test+0x9b480c)
    #9 cartographer::common::ThreadPool::DoWork() ~/workspace/catkin_ws/src/cartographer/cartographer/common/thread_pool.cc:76 (cartographer.mapping.internal.2d.pose_graph_2d_test+0x9bbb66)
    #10 operator() ~/workspace/catkin_ws/src/cartographer/cartographer/common/thread_pool.cc:32 (cartographer.mapping.internal.2d.pose_graph_2d_test+0x9bc551)
    #11 void std::__invoke_impl<void, cartographer::common::ThreadPool::ThreadPool(int)::$_0>(std::__invoke_other, cartographer::common::ThreadPool::ThreadPool(int)::$_0&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/invoke.h:60 (discriminator 1) (cartographer.mapping.internal.2d.pose_graph_2d_test+0x9bc511)
    #12 std::__invoke_result<cartographer::common::ThreadPool::ThreadPool(int)::$_0>::type std::__invoke<cartographer::common::ThreadPool::ThreadPool(int)::$_0>(cartographer::common::ThreadPool::ThreadPool(int)::$_0&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/invoke.h:95 (discriminator 1) (cartographer.mapping.internal.2d.pose_graph_2d_test+0x9bc461)
    #13 _ZNSt6thread8_InvokerISt5tupleIJZN12cartographer6common10ThreadPoolC1EiE3$_0EEE9_M_invokeIJLm0EEEEDTclsr3stdE8__invokespcl10_S_declvalIXT_EEEEESt12_Index_tupleIJXspT_EEE /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/thread:234 (discriminator 2) (cartographer.mapping.internal.2d.pose_graph_2d_test+0x9bc419)
    #14 std::thread::_Invoker<std::tuple<cartographer::common::ThreadPool::ThreadPool(int)::$_0> >::operator()() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/thread:243 (cartographer.mapping.internal.2d.pose_graph_2d_test+0x9bc3c9)
    #15 std::thread::_State_impl<std::thread::_Invoker<std::tuple<cartographer::common::ThreadPool::ThreadPool(int)::$_0> > >::_M_run() /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/thread:186 (cartographer.mapping.internal.2d.pose_graph_2d_test+0x9bc26d)
    #16 std::error_code::default_error_condition() const ??:? (libstdc++.so.6+0xbc7e2)

  Location is heap block of size 1864 at 0x7b7000001800 allocated by main thread:
    #0 operator new(unsigned long) ??:? (cartographer.mapping.internal.2d.pose_graph_2d_test+0x965ea6)
    #1 cartographer::common::_Unique_if<cartographer::mapping::PoseGraph2D>::_Single_object cartographer::common::make_unique<cartographer::mapping::PoseGraph2D, cartographer::mapping::proto::PoseGraphOptions&, std::unique_ptr<cartographer::mapping::pose_graph::OptimizationProblem2D, std::default_delete<cartographer::mapping::pose_graph::OptimizationProblem2D> >, cartographer::common::ThreadPool*>(cartographer::mapping::proto::PoseGraphOptions&, std::unique_ptr<cartographer::mapping::pose_graph::OptimizationProblem2D, std::default_delete<cartographer::mapping::pose_graph::OptimizationProblem2D> >&&, cartographer::common::ThreadPool*&&) ~/workspace/catkin_ws/src/cartographer/cartographer/common/make_unique.h:47 (cartographer.mapping.internal.2d.pose_graph_2d_test+0x96c150)
    #2 PoseGraph2DTest ~/workspace/catkin_ws/src/cartographer/cartographer/mapping/internal/2d/pose_graph_2d_test.cc:138 (discriminator 1) (cartographer.mapping.internal.2d.pose_graph_2d_test+0x968c70)
    #3 PoseGraph2DTest_EmptyMap_Test ~/workspace/catkin_ws/src/cartographer/cartographer/mapping/internal/2d/pose_graph_2d_test.cc:193 (cartographer.mapping.internal.2d.pose_graph_2d_test+0x96897a)
    #4 testing::internal::TestFactoryImpl<cartographer::mapping::(anonymous namespace)::PoseGraph2DTest_EmptyMap_Test>::CreateTest() /usr/local/include/gtest/internal/gtest-internal.h:484 (cartographer.mapping.internal.2d.pose_graph_2d_test+0x968934)
    #5 testing::Test* testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test*>(testing::internal::TestFactoryBase*, testing::Test* (testing::internal::TestFactoryBase::*)(), char const*) /usr/src/googletest/googletest/src/gtest.cc:2402 (cartographer.mapping.internal.2d.pose_graph_2d_test+0xbe11f9)
    #6 testing::Test* testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test*>(testing::internal::TestFactoryBase*, testing::Test* (testing::internal::TestFactoryBase::*)(), char const*) /usr/src/googletest/googletest/src/gtest.cc:2438 (cartographer.mapping.internal.2d.pose_graph_2d_test+0xbe11f9)

  Thread T1 (tid=46660, running) created by main thread at:
    #0 pthread_create ??:? (cartographer.mapping.internal.2d.pose_graph_2d_test+0x8d70d6)
    #1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) ??:? (libstdc++.so.6+0xbca98)
    #2 void __gnu_cxx::new_allocator<std::thread>::construct<std::thread, cartographer::common::ThreadPool::ThreadPool(int)::$_0>(std::thread*, cartographer::common::ThreadPool::ThreadPool(int)::$_0&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/ext/new_allocator.h:136 (discriminator 1) (cartographer.mapping.internal.2d.pose_graph_2d_test+0x9bbff8)
    #3 void std::allocator_traits<std::allocator<std::thread> >::construct<std::thread, cartographer::common::ThreadPool::ThreadPool(int)::$_0>(std::allocator<std::thread>&, std::thread*, cartographer::common::ThreadPool::ThreadPool(int)::$_0&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/alloc_traits.h:475 (discriminator 1) (cartographer.mapping.internal.2d.pose_graph_2d_test+0x9bbd38)
    #4 void std::vector<std::thread, std::allocator<std::thread> >::_M_realloc_insert<cartographer::common::ThreadPool::ThreadPool(int)::$_0>(__gnu_cxx::__normal_iterator<std::thread*, std::vector<std::thread, std::allocator<std::thread> > >, cartographer::common::ThreadPool::ThreadPool(int)::$_0&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/vector.tcc:415 (cartographer.mapping.internal.2d.pose_graph_2d_test+0x9bbe1f)
    #5 void std::vector<std::thread, std::allocator<std::thread> >::emplace_back<cartographer::common::ThreadPool::ThreadPool(int)::$_0>(cartographer::common::ThreadPool::ThreadPool(int)::$_0&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/vector.tcc:105 (discriminator 2) (cartographer.mapping.internal.2d.pose_graph_2d_test+0x9bb753)
    #6 ThreadPool ~/workspace/catkin_ws/src/cartographer/cartographer/common/thread_pool.cc:32 (cartographer.mapping.internal.2d.pose_graph_2d_test+0x9bb66e)
    #7 PoseGraph2DTest ~/workspace/catkin_ws/src/cartographer/cartographer/mapping/internal/2d/pose_graph_2d_test.cc:40 (cartographer.mapping.internal.2d.pose_graph_2d_test+0x968a17)
    #8 PoseGraph2DTest_EmptyMap_Test ~/workspace/catkin_ws/src/cartographer/cartographer/mapping/internal/2d/pose_graph_2d_test.cc:193 (cartographer.mapping.internal.2d.pose_graph_2d_test+0x96897a)
    #9 testing::internal::TestFactoryImpl<cartographer::mapping::(anonymous namespace)::PoseGraph2DTest_EmptyMap_Test>::CreateTest() /usr/local/include/gtest/internal/gtest-internal.h:484 (cartographer.mapping.internal.2d.pose_graph_2d_test+0x968934)
    #10 testing::Test* testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test*>(testing::internal::TestFactoryBase*, testing::Test* (testing::internal::TestFactoryBase::*)(), char const*) /usr/src/googletest/googletest/src/gtest.cc:2402 (cartographer.mapping.internal.2d.pose_graph_2d_test+0xbe11f9)
    #11 testing::Test* testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test*>(testing::internal::TestFactoryBase*, testing::Test* (testing::internal::TestFactoryBase::*)(), char const*) /usr/src/googletest/googletest/src/gtest.cc:2438 (cartographer.mapping.internal.2d.pose_graph_2d_test+0xbe11f9)

Interpretation:
Background thread releases a common::Mutex::Locker, which first unlocks the mutex and then notifies all over the condition variable https://github.com/googlecartographer/cartographer/blob/master/cartographer/common/mutex.h#L70.
This is racy with the main thread, which deletes common::Mutex, deleting the same condition variable.

Fixed by #1125


Network error while uploading multipart data(youTube video) not giving error response

Hello. I am using Alamofire code for uploading youtube video. Everything works fine. But suppose if while uploading, I switch off my net, my uploading stops but does not give me any error in response. I am posting my code below:
alamoFireManager.upload(multipartFormData: { (MultipartFormData) in
    let snippetValueDictionary = requestType.params
    let statusValueDictionary = ["privacyStatus":"private"]

    let videoMetaDictionary = ["snippet":snippetValueDictionary,"status":statusValueDictionary]

    do{
        let json = try JSONSerialization.data(withJSONObject: videoMetaDictionary, options: JSONSerialization.WritingOptions.prettyPrinted)

        MultipartFormData.append(json, withName: "snippet", mimeType: "application/json")
    }
    catch{

    }

    MultipartFormData.append(localVideoURL, withName: "video", fileName: "video.mp4", mimeType: "application/octet-stream")

}, to: urlYoutube, method: .post, headers: requestType.headers, encodingCompletion: { (result) in
    switch result {
    case .success(let upload, _, _):
        upload.uploadProgress(closure: { progress in

            print("Upload Progress: \(progress.fractionCompleted)")

        }).validate().responseJSON(completionHandler: { dataResponse in

            if dataResponse.result.error != nil {
                print("Error Description: \(dataResponse.result.error?.localizedDescription)")

            }
            else {
                let json = JSON(dataResponse.result.value!)
                print(json)
            }
        })
    case .failure(let encodingError):
        print(encodingError)

    }
})

When I switch off my net, the uploading stops. When I switch it back on, the uploading restarts again and upload progress is called. When the internet is not available while data is being uploaded, I need some error in response so that user is informed about network! Can you please suggest what I may be doing wrong here?

If the underlying URLSessionUploadTask never produces an error Alamofire will never return one. Are you perhaps using a background session? That will give you different error responses than a foreground session.
In the future, you should open questions like this on Stack Overflow and tag alamofire.
Cheers. 🍻

From our Contribution Guidelines
Asking Questions
We don't use GitHub as a support forum. For any usage questions that are not specific to the project itself, please ask on Stack Overflow instead. By doing so, you'll be more likely to quickly solve your problem, and you'll allow anyone else with the same question to find the answer. This also allows maintainers to focus on improving the project for others.

Yes I was using a background session and I found this line in Apple Docs which states:
"Upload and download tasks in background sessions are automatically retried by the URL loading system after network errors. It is unnecessary to use reachability APIs to determine when to retry a failed task"

So the behavior that we are getting from Alamofire when there in no network while running upload task with background session is correct!

https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/URLLoadingSystem/Articles/UsingNSURLSession.html


bug Fix scanner core dump

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall


fix(dumb-init) Upgrade base image version

The latest version of the entrypoint.sh on this repo uses dumb-init
which has been included on fluentd/fluentd:v0.12.43 but not on v0.12.33
Github issue #164
Dockerfiles and Gemfile.lock need to be regenerated by running
make dockerfile-all && make gemfile-all
Sadly after creating the image using
make image no-cache=yes DOCKERFILE=v0.12/alpine-elasticsearch VERSION=v0.12-elasticsearch
and running it locally I have this error
docker run --rm fluent/fluentd-kubernetes:v0.12-elasticsearch
/usr/lib/ruby/2.4.0/rubygems.rb:271:in `find_spec_for_exe': can't find gem fluentd (>= 0.a) (Gem::GemNotFoundException)
	from /usr/lib/ruby/2.4.0/rubygems.rb:299:in `activate_bin_path'
	from /usr/bin/fluentd:23:in `<main>'

sorry I have no idea about Ruby

Thanks!
How about changing GEM env from 2.3.0 to 2.4.0 in Alpine images?
https://github.com/fluent/fluentd-kubernetes-daemonset/blob/b4bbff760533da4837b360504be8e4af820685bc/templates/Dockerfile.erb#L18
Latest alpine image uses ruby 2.4, not 2.3.

@repeatedly it works!
I guess... this is the output when running docker run --rm fluent/fluentd-kubernetes:v0.12-elasticsearch
https://gist.github.com/carlosjgp/a908bbd4f4fd15c463d8278d83e3dae3

Thanks!

My pleasure!


Change Request: Exposing information about the authentication method when a library supports many

The Basics

Which design guideline is affected?
The authentication guideline that says:

DO NOT persist, cache, or reuse security credentials. Security credentials should be considered short lived to cover both security concerns and credential refresh situations.

Is what I consider the basis of why we don't expose credentials on clients.

Which target languages are affected?
All.

Describe the change:
For client libraries that support different authentication methods and certain operations that are only relevant with a subset of authentication methods, we should have a uniform approach to communicating how the client is authenticating so customers can write general purpose code using the tester-doer pattern.

Reasoning
We're uncomfortable having Storage clients generate signed SAS tokens because it's only valid if they're using Shared Key.  If they're using AAD, they'll have to make a request to get a delegation key first.  If they're using SAS or Anonymous auth, it's an error.  So we feel like we can't solve the problem generally and it's up to customers.
But how do our libraries help customers do that themselves?  BlobServiceClient.GetUserDelegationKeyAsync only makes sense when you're using AAD.  General purpose code can't tell whether it's safe to call that method without doing private reflection on BlobServiceClient or sending the request and waiting for an error.  Instead we should provide a public enum BlobClientAuthentication { Anonymous  = 0, SharedKey, Token, SharedAccessSignature}.  It doesn't expose the credential or violate the Authentication guideline but allows us to use the tester-doer pattern with auth-specific operations.
I think we should come up with a pattern for exposing the authentication method on clients that allow multiple forms.  For .NET, I would expect an enum named FooClientAuthentication that matched FooClientOptions and one entry in the enum per allowed credential type.  The names of enum values should be Bar when the customer uses a BarCredential for that authentication method.
If we add this support, it would be good to reconsider the ability to sign SAS tokens in our Storage libraries.  Instead of throwing with a message that's not useful, we could throw and tell customers they need to check their ClientAuthentication property because only SharedKey allows you to sign SAS tokens.

Related - https://github.com/Azure/azure-sdk-for-net/issues/12891

After discussing with the Arch Board, we've decided instead to use the tester/doer pattern for authentication related capabilities.  Rather than an auth enum where customers have to associate auth to operations, we'll provide flags like CanGenerateSasUri or CanCallGetUserDelegationKey that are specific to methods like GenerateSasUri or GetUserDelegationKey.
@amnguye has a great plan to make this work for signing SAS tokens from a BlobClient.


Bump ark-scale version from 0.0.3 to 0.0.10

And bump crates version to 0.4.1-beta

We should bump the version in substrate too, although the serialization never changed, so they're compatible.
https://github.com/paritytech/polkadot-sdk/blob/master/substrate/primitives/crypto/ec-utils/Cargo.toml#L26

I made it in https://github.com/paritytech/polkadot-sdk/pull/1342.
But before merge I'd like to see these crates updated on crates.io so that we don't end up with two ark-scale version in the Cargo.lock file. I asked on CI/CD channel

https://github.com/paritytech/ci_cd/issues/865


include make podman target in install instructions

now that podman ships conmon >=0.3.0
Signed-off-by: Peter Hunt<EMAIL_ADDRESS>

LGTM
/approve

/lgtm


Fix default values of ambient properties

Proposal for implementation. Fixes #1372

Thanks! Will look at this in depth this week.

Thanks for the PR!
Im doubting if this isn't a bug in the docs. Because we have now an ambiguity with the layout renderer has a default parameters, e.g. ${exception}.

${exception:uppercase=true} => wraps uppercase arround exception
${message:uppercase} => wraps uppercase arround message
${exception:uppercase} => set Format (default parameter) of exception to "uppercase" :-1:

I think a failing test for

${exception:uppercase} => set Format (default parameter) of exception to "uppercase" :-1:

could be a starting point.
The layout parser could detect if the ${exception:uppercase} is an ambient property name, and not affect the default parameter of ${exception:uppercase}.
I just don't know the codebase enough to say if this is a good idea / would have side effects.

I just don't know the codebase enough to say if this is a good idea / would have side effects.

Well it's a breaking change ;) I am not sure if this is a good idea, adding a property or ambient property to the code base could have large effects.

Fixing the docs is less risky then
Le lundi 2 mai 2016, Julian Verdurmen<EMAIL_ADDRESS>a écrit :

I just don't know the codebase enough to say if this is a good idea /
would have side effects.
Well it's a breaking change ;) I am not sure if this is a good idea,
adding a property or ambient property to the code base could have large
effects.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/NLog/NLog/pull/1419#issuecomment-216370729

--
Cordialement,
Mathieu BRUN

Will rethink about this, but probably that's the best.

The docs are updated. We will not change this parse behavior, see https://github.com/NLog/NLog/issues/1372


The setting 'editor.codeLens' cannot be overrided by 'csharp.referencesCodeLens.enabled' anymore

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.81.0
OS Version: Windows 10

Steps to Reproduce:

Set as below on Settings.json file:

"editor.codeLens": true,
"csharp.referencesCodeLens.enabled": false

Open an C# file, you'll then see "xxx references" everywhere now, which were not shown before.

/extC#

It looks like this is caused by the C# extension. Please file the issue to the C# extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!


How to project KITTI raw data?

Hi,
I'm using KITTI raw data for training. Currently I get road annotation image for the raw data, and I want to project it to the associate point cloud.
I noticed that KITTI road benchmark's calibration file is different from raw data's. I'm wondering does anyone know hot to modify the Calib.py to use calibration file from raw data?
Thanks in advance.

Hello @C-MEN . I have the same issue with you. Have you solved the problem? (get the corresponding coordinates of point cloud on image plane using calibration files of KITTI raw data) I have also tried using pykitti to replace the function of calib.py but failed. The final coordinates (x,y) from that method look really ridiculous. Maybe I still don't understand the transformation matrices of KITTI dataset in the right way.


Update and clarify installation instructions

This consists exclusively of documentation changes. It addresses #5047 for instances of installation instructions in the repo. It does not address #5047 for the instructions on wagtail.io.
The diff looks worse than that I would like, because of the way git has trouble with blank lines. The split diff of the raw files seems to be the most legible.

Always clarify that the instructions assume a virtual environment
Add to the tutorial instructions for using venv
Clarify that Python 3 is required
Clarify that the tutorial is an alternative to "Getting started" that
assumes less background knowledge
Remove pip installation instructions because Django only supports
versions of Python that include it
Make headings in the tutorial instead of an ordered list
This makes the page easier to scan visually and allows linking to
specific headings.
Add the warning about Pillow dependencies to the tutorial
In "Getting started" move Pillow's dependencies to the general
dependencies list
Make language more welcoming (saying "we just do x" alienates people
who have less familiarity with x")
Other small text changes

This is great @nmorduch, thank you very much!


Can't find youtube-dl.conf

Hello...I'm a noob user of linux, I've been using Manjaro for a couple of days...I installed youtube-dl, but I can't find any file named youtube-dl.conf on the whole system.

There is no such file by default you should create it yourself.

I created one...but can't paste it in /etc/

You need root access to paste into /etc.

ok, thanks....you said that such a file is not there by default but I find it strange that in the manual it was phrased

On Linux, the system wide configuration file is located at /etc/youtube-dl.conf and the user wide configuration file at ~/.config/youtube-dl/config.

"Located" does not necessarily imply created by default.

actually it kind of does....someone should edit the manual,clearely stating that it needs to be created and it's not already there.

Well, think of it like that: In almost all cases, no matter what program, these config files do not exist by default, never.

I'm a new linux user...I has no idea...btw...
1.MPV config file needs to be also created?
2.how do I display MPV video stats while playing a file?

Yes
Not sure what you mean. Something like this: https://github.com/Argon-/mpv-stats?

You need the script file from there. And yes, this file also needs to be put in the right place, manually.

what settings do you use in your config file?could you share them please?

First of all, for reference, the full mpv manual is here: https://mpv.io/manual/master/
I use mpv primarily on Windows, so the configuration is a bit different, because you can't use all the options on other platforms in the same way.
If I use mpv on Linux, I only used the default configuration, to be honest.
The default/example mpv.conf is here: https://github.com/mpv-player/mpv/blob/master/etc/mpv.conf
The default/example input.conf is here: https://github.com/mpv-player/mpv/blob/master/etc/input.conf
I basically use just some options like this:
no-osc
keep-open
geometry=50%:20%
on-top=yes
audio-file-auto=no
sub-auto=no
hwdec=no

Continue any further offtopic discussions privately.


Include types definitions (*.d.ts) in published package

This library is builded in typescript, but the types definitions files (*.d.ts) are actually  excluded from the published package.
The solution is to simply remove the exclusion line from the package.json
actual package.json
...
   "files": [
    "build/protos",
    "build/src",
    "!**/*.d.ts",
    "!**/*.js.map",
    "AUTHORS",
    "CONTRIBUTORS",
    "LICENSE"
  ]
...

proposed package.json
...
   "files": [
    "build/protos",
    "build/src",
    "!**/*.js.map",
    "AUTHORS",
    "CONTRIBUTORS",
    "LICENSE"
  ]
...

I can follow with a PR if you wish.
Regards

@Kilimangaro for the moment we've been excluding them intentionally. Originally this client was written in pure JavaScript but we've been putting forth a solid effort to convert a number of our clients to TypeScript. I think we're still a little ways off from where we want to be with our types, but I'm optimistic that we'll have a fully typed release out this quarter. I would subscribe to https://github.com/googleapis/nodejs-pubsub/issues/141 and https://github.com/googleapis/nodejs-pubsub/issues/313 if you're interested in updates on our progress.

Is there any news on that topic somewhere?

@SachaCR The library is fully TypeScript now, and as far as I can tell, the types aren't being excluded anymore, so this should be good.


Console in Developer Tools no longer shows font Consolas after update to VSCode 1.92

Type: Bug
The console in the VSCode-intern Developer Tools window (CTRL+SHIFT+I) shows now font Courier New (probably Courier New).
Compared with the prior font Consolas I find Courier New harder to read.
Or is there a configuration option to change the font for the Developer Tools console?
Developer Tools console font

till VSCode 1.92:  Consolas
in VSCode 1.92:   Courier New (probably)

VS Code version: Code 1.92.2 (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz (4 x 2195)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: unavailable_offvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
7.92GB (1.11GB free)

Process Argv
--log info

Screen Reader
no

VM
0%

Extensions (23)

Extension
Author (truncated)
Version

json-viewer
Dut
0.1.0

vscode-commands
fab
2.0.2

thefoldingstuff
geo
0.2.1

vscode-menu-builder
kyl
1.0.2

vscode-plugin-keyboard-shortcut-eval-custom-javascript-codes
Lia
1.0.13

vscode-language-pack-de
MS-
1.92.2024081409

csharp
ms-
2.39.29

vscode-dotnet-runtime
ms-
2.1.1

debugpy
ms-
2024.10.0

python
ms-
2024.12.3

vscode-pylance
ms-
2024.8.1

jupyter
ms-
2024.7.0

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.19

vscode-jupyter-cell-tags
ms-
0.1.9

vscode-jupyter-slideshow
ms-
0.1.6

powershell
ms-
2024.2.2

multi-command
ryu
1.6.0

vbsvscode
Ser
1.2.1

memento-inputs
spa
1.0.0

vscode-autohotkey2-lsp
thq
2.4.9

vscode-inline-values-powershell
Tyl
0.0.7

vscode-autohotkey-debug
zer
1.11.0

Nope we don't have an option to configure developer tools font settings, but you can customize via a devtools extension.

Thank you deepak1556 for the reply!
But was the change to the (old serif) font Courier New intended or is it a bug and will be fixed in the future back to font Consolas?

It would be a change in https://chromium.googlesource.com/devtools/devtools-frontend which is bundled as part of the runtime and not something we manage directly.


Introspection can't work

http.authorizeHttpRequests(authorize -> {
authorize.anyRequest().authenticated();
}
)
.oauth2ResourceServer(oauth2 -> oauth2
.opaqueToken(opaqueToken -> opaqueToken
.introspectionUri("http://localhost:9000/introspect")
.introspectionClientCredentials("platform-client", "secret"))
//                        .jwt(Customizer.withDefaults())
.authenticationEntryPoint(new MyAuthenticationEntryPoint())
.accessDeniedHandler(new MyAccessDeniedHandler())
            );
    return http.build();

Every correct token is a token failure
Do I need to add any configuration to the authentication server？

Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. We prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add a minimal sample that reproduces this issue if you feel this is a genuine bug.


Duplicate keys detected in v-for if using a functional component

Version
2.5.17
Reproduction link
https://codesandbox.io/s/986x7y34v4?expanddevtools=1
Steps to reproduce
First of all, this is the first Issue I've created on this project. So I'll take this opportunity to thank all of the contributors and maintainers for the awesome and astonishing work they do for Vue. THANKS!
Having a functional component and trying to use it inside a v-for produces a Duplicate keys detected error, even if using :key="". It's fixable by just converting the component to a non-functional one.
According to my understanding of functional components and the way :key="" works, even functional components (without a state) should be :key-able, as that isn't related to the state of the component itself.
According to Chris Fritz (https://twitter.com/ivansieder/status/1030374407515058177) the issue is also present in earlier versions.
What is expected?
The v-for renders the component without any error.
What is actually happening?
The v-for renders the component with a Duplicate keys detected error.

This has actually to deal with vue-loader because of the data (and more specifically the key) not being passed implicitly when doing a template. Could you open an issue there (if it doesn't exist yet).
When writing it in JS, you usually do:
  render: (h, context) => h('div', context.data, ['Placeholder'])

and data contains the attribute key you passed from the parent


Improve context menu in favourites

Is your feature request related to a problem? Please describe.
The reason I would like to use favourites is so that I can perform actions on them that I would normally do in the file explorer pane - such as right clicking on a folder & selecting "Find in Folder...". The current context menu for favourites is limited to managing the favourites.
Describe the solution you'd like
It would be really great if the explorer pane actions for folders & files were available from the favourites context menu, so that these same actions can be done from either the explorer pane or from the favourites pane. I would think that the actions currently available in the favourites pane context menu will be done far less than the explorer pane context menu actions. My suggestion would be to group the current actions under a "Favourites" context-sub-menu & have explorer pane actions as the default actions.
Thanks

the editor have a "Reveal in Side Bar" function (tab RMB), it would be great to add it to the context menu .
in addition to the missed Explorer actions, some Extensions add own ones, which should be accessible also .

VSC has a "Reveal in Side Bar" function (RMB on a file tab), would be great to add it to the context menu .
In addition to the missed File Explorer 's actions, some Extensions add own ones which also should be accessible .


Adopt GDI specification v1.6.0

Adopt https://github.com/signalfx/gdi-specification/releases/tag/v1.6.0

GDI repositories MUST adopt GDI specification changes by their next MINOR release
and within three months (whichever is sooner). The GDI specification and GDI
repositories MUST remove any deprecated specification at the next MAJOR release.

@pellared is there an issue or comment we can reference where you've provided actionable requests and demonstrations of items out of compliance with suggested adoption elements? tmk none of the current helm chart maintainers have contributed to the specification.

I am closing this issue as we are following this work internally and will post compliance to the GDI specification through a PR. Please connect internally for any follow-ups.