About the Firebase

Could I know the firebase content, since when I tried to create a new user with a new building it keeps shutting down the application

Hi @AHassouneh,
In the Firebase Realtime Database (not Cloud Firestore) there is a root objects for buildings, events, nodes, tags, and users. I believe if you create an object in the database root, that should fix any problems. Here's the structure:
{
  "buildings" : {
	  ...
  },
  "events" : {
	  ...
  },
  "nodes" : {
	  ...
  },
  "tags" : {
	  ...
  },
  "users" : {
	  ...
  }
}

You might need to add some initial dummy data to create these objects. If so, try adding some random key + value inside each object but delete it once you create real data via the app.
If you have any trouble setting up the database or have any other problems, let me know!

Thanks a lot for your reply. Actually I've created a new project and replace the google-service.plist and created the roots as you mentioned. Unfortunately it's still the same. Couldn't please export the firebase DB or give me more details. I'll be thankful, since I'm new to the firebase.

Here you go @AHassouneh. If that doesn't work, is there any error message you receive when running the app? Also note that you need to add a config.plist in the /navigatAR/navigatAR directory, and you probably have to insert Indoor Atlas API credentials you can obtain by creating an account here.
navigatar-85ec1-export.json.zip

Oh Many thanks, I'll try all the things you mentioned and let you know,
Thank you again

Thank you a lot. I changed the database accordingly and create an account on IndoorAtlas, and created a config file to include the keys of indoor atlas. accounts to the database are connected correctly, it brings the floor of the buildings from the database that are connected to the account  but still it doesn't bring the paths from my map on indoor atlas I'm trying to see what's the problem.

@AHassouneh, our app does not use IndoorAtlas' native waypoint system. Instead you would need to go into the app and configure nodes and paths in the manage nodes page. First you create the nodes. The app would try to get your standing location and record it. After you have created multiple nodes, there should be a manage node connections page. Its very clunky but you should be able to see your floorpan and your nodes. You can tap on the nodes to create connections and tap on the connections to cancel them. After you have created the connections, you can go back into the AR page and select a destination node. Then you will see the paths leading to that node.

Thanks for you reply a lot. I'm really sorry for bothering, but I did as you mentioned on dummy data and the map appeared even that the nodes are created only using  the database, despite of that I can't navigate since they don't appear in the search despite of appearing in the manage nodes and manage map, as shown in the attached pictures:

Is the app possibly crashing when you try searching? Are you able to share an export of your Firebase DB?

Yeah, that was the problem, and now it works fine.
Thank you.
On Thu, Mar 29, 2018 at 12:54 AM, Michael Gira<EMAIL_ADDRESS>wrote:

Is the app possibly crashing when you try searching? Are you able to share
an export of your Firebase DB?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/michaelgira23/navigatAR/issues/38#issuecomment-377050279,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH6zWUVvsWiaDQ0uCJMrj8RoiGVS0FBcks5tjAadgaJpZM4S2qnb
.

--
Regards
Aya

Just for future reference, what exactly was causing the crash? Was there just something in the database that wasn't formatted properly? Glad you fixed your issue!

The error was the nodes not in the building... it still exists one similar somewhere else ...now when I want to add a node to my building it gives the specified node is not in the building and doesn't add a new node...
Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: Michael Gira<EMAIL_ADDRESS>Date: 3/29/18  3:28 PM  (GMT+03:00) To: michaelgira23/navigatAR<EMAIL_ADDRESS>Cc: AHassouneh<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [michaelgira23/navigatAR] About the Firebase (#38)
Just for future reference, what exactly was causing the crash? Was there just something in the database that wasn't formatted properly? Glad you fixed your issue!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

When you get this error, is it an error message displayed in the app itself or does the app crash with the error message "the specified node is not in the building"?
I took a look at the code and I don't think we have any error message like that (though please correct me if I'm wrong). If it isn't us, it might be an Indoor Atlas issue. For the building configuration online, maybe try moving the building's coordinate point closer to where you are trying to create a node?

yeah yeah, I just noticed it's from the indoorAtlas, and it's the normal
message from your code " not in the building" . I'll send you screenshots
if any bug appears before solving it.
On Thu, Mar 29, 2018 at 5:19 PM, Michael Gira<EMAIL_ADDRESS>wrote:

When you get this error, is it an error message displayed in the app
itself or does the app crash with the error message "the specified node is
not in the building"?
I took a look at the code and I don't think we have any error message like
that (though please correct me if I'm wrong). If it isn't us, it might be
an Indoor Atlas issue. For the building configuration online, maybe try
moving the building's coordinate point closer to where you are trying to
create a node?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/michaelgira23/navigatAR/issues/38#issuecomment-377250248,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH6zWSRvuBWm_pYNJOBddz8ct21ZaW52ks5tjO1ngaJpZM4S2qnb
.

--
Regards
Aya

Hey @AHassouneh, sorry I forgot to respond to your message!
If you're still trying to figure out the problem, the problem might be related to IndoorAtlas. IndoorAtlas is what we use for positioning, so any problems with positioning would be related to the configuration of that. You should be able to use navigatAR indoors to the accuracy that IndoorAtlas provides.
The pathfinding algorithm works by drawing an arrow from the phone's position to the nearest node, then using the node connections to navigate to the destination node.

Ok Thank you
On Mon, Nov 12, 2018 at 7:16 AM Michael Gira<EMAIL_ADDRESS>wrote:

Hey @AHassouneh https://github.com/AHassouneh, sorry I forgot to
respond to your message!
If you're still trying to figure out the problem, the problem might be
related to IndoorAtlas. IndoorAtlas is what we use for positioning, so any
problems with positioning would be related to the configuration of that.
You should be able to use navigatAR indoors to the accuracy that
IndoorAtlas provides.
The pathfinding algorithm works by drawing an arrow from the phone's
position to the nearest node, then using the node connections to navigate
to the destination node.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/michaelgira23/navigatAR/issues/38#issuecomment-437748862,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH6zWQBI1h42Mcxp-C61tPCXTo479LAwks5uuPYqgaJpZM4S2qnb
.

--
Regards
Aya

Hi again,
Thanks a lot for your help.
Just wondering did you use iBeacon in you project?
On Mon, Nov 12, 2018 at 10:32 AM Aya Hassouneh<EMAIL_ADDRESS>wrote:

Ok Thank you
On Mon, Nov 12, 2018 at 7:16 AM Michael Gira<EMAIL_ADDRESS>wrote:

Hey @AHassouneh https://github.com/AHassouneh, sorry I forgot to
respond to your message!
If you're still trying to figure out the problem, the problem might be
related to IndoorAtlas. IndoorAtlas is what we use for positioning, so any
problems with positioning would be related to the configuration of that.
You should be able to use navigatAR indoors to the accuracy that
IndoorAtlas provides.
The pathfinding algorithm works by drawing an arrow from the phone's
position to the nearest node, then using the node connections to navigate
to the destination node.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/michaelgira23/navigatAR/issues/38#issuecomment-437748862,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH6zWQBI1h42Mcxp-C61tPCXTo479LAwks5uuPYqgaJpZM4S2qnb
.

--
Regards
Aya

--
Regards
Aya

We've mapped out venues both with a beacon and without. We haven't done enough testing to make any definitive consensus, but I think using iBeacons with IndoorAtlas would make positioning more accurate because it's another mechanism of acquiring the user's position.

thanks for your reply and for the information.
On Tue, Jan 1, 2019 at 10:34 PM Michael Gira<EMAIL_ADDRESS>wrote:

We've mapped out venues both with a beacon and without. We haven't done
enough testing to make any definitive consensus, but I think using iBeacons
with IndoorAtlas would make positioning more accurate because it's another
mechanism of acquiring the user's position.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/michaelgira23/navigatAR/issues/38#issuecomment-450751994,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH6zWSoaLPR81GhHa6hNl8iNMfG6V4_dks5u-7hhgaJpZM4S2qnb
.

--
Regards
Aya


chore(behaviors): some a11y behavior improvements

Closes https://github.com/stardust-ui/react/issues/1346.
After going through the rules I decided not to change anything. Instead I removed a couple unused ones and went through the behaviors and added more tests to some of them.

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS


Cannot build page without schema

Problem:
I would like to build quick-start page with Spectaql without schema provided. From that page I would like to access API docs page where GQL schema is going to be used.
Currently, getting "Must provide some way to get your schema" error message.
What I've tried

Setting cfg file property schemaFile=false
loading empty schema file (via CLI arg and cfg)

By looking at the source code I see that "done" cannot be set by escaping schema.
https://github.com/anvilco/spectaql/blob/867c06756db5e1a7ed20b463ceb961e650be3499/src/spectaql/build-schemas.js#L92
Questions:

First of all, is this possible but I am doing it in wrong way?
If not, do you have any suggestions?
Is it only me that find this feature interesting? How to know? If not, I would be happy to implement it.

Thank you!

Hello @vladimirdjuricic and thank you for using SpectaQL!
I'm a bit confused about your use-case at the moment. Are you saying that you'd like to have SpectaQL build a site that contains only your Introduction Items, and no actual schema/API documentation?
I'm imagining that this introduction-only site will contain links to another page that does contain useful schema/API documentation, and you want to maintain the same look and feel?

Hello @newhouse ,
And thanks for your reply!
 It is just what I need. :)
You are absolutely correct! Look and feel is a perfect fit for "quick-start" and maybe (probably) other sub-pages.
Currently, I have a workaround where I provide some fake gql schema and then lean on a custom theme's scss to hide last two menu groups..
Thanks again!

Solved it by adding custom variable to config file and by using custom theme.
Files reused for custom theme:

https://github.com/anvilco/spectaql/blob/678d040f4b2d318b70d55e98c78c181d0447baad/src/themes/default/views/partials/layout/nav/main.hbs
https://github.com/anvilco/spectaql/blob/678d040f4b2d318b70d55e98c78c181d0447baad/src/themes/default/views/partials/layout/content/main.hbs

Added custom condition that is set inside of config:

https://github.com/anvilco/spectaql/blob/678d040f4b2d318b70d55e98c78c181d0447baad/src/themes/default/views/partials/layout/content/main.hbs#L9

{{#unless @root.info.x-hideGQL}}
    {{! DO THE CONTENT }}
    {{#if (nempty items)}}
      {{#each items}}
        {{>layout/content/item}}
      {{/each}}
    {{/if}}
{{/unless}}

https://github.com/anvilco/spectaql/blob/678d040f4b2d318b70d55e98c78c181d0447baad/src/themes/default/views/partials/layout/nav/main.hbs#L29

  {{#unless @root.info.x-hideGQL}}
    {{#if (nempty items)}}
      {{#each items}}
        {{>layout/nav/item headingNumber=4}}
      {{/each}}
    {{/if}}
  {{/unless}}


test fails on v1.7.20 - TestNewBinaryIOCleanup

Description
With Fedora rawhide, building v1.7.20 with the Fedora spec file, make test fails with the following:
ok  	github.com/containerd/containerd/pkg/ioutil	1.107s
ok  	github.com/containerd/containerd/pkg/kmutex	3.395s
--- FAIL: TestNewBinaryIOCleanup (0.00s)
    io_test.go:64: some descriptors weren't closed (8 != 9)
FAIL
FAIL	github.com/containerd/containerd/pkg/process	0.011s
ok  	github.com/containerd/containerd/pkg/registrar	1.010s
ok  	github.com/containerd/containerd/pkg/snapshotters	1.016s

Steps to reproduce the issue

Using the Fedora package tool, fedpkg run fedpkg --release rawhide mockbuild in a local git copy of the dist-git repository

Describe the results you received and expected
Make test fails with the error:
ok  	github.com/containerd/containerd/pkg/ioutil	1.107s
ok  	github.com/containerd/containerd/pkg/kmutex	3.395s
--- FAIL: TestNewBinaryIOCleanup (0.00s)
    io_test.go:64: some descriptors weren't closed (8 != 9)
FAIL
FAIL	github.com/containerd/containerd/pkg/process	0.011s
ok  	github.com/containerd/containerd/pkg/registrar	1.010s
ok  	github.com/containerd/containerd/pkg/snapshotters	1.016s

This was not an issue with v1.7.19
What version of containerd are you using?
v.1.7.20
Any other relevant information
The make command generated by rpmbuild:
+ test
?   	github.com/containerd/containerd	[no test files]
?   	github.com/containerd/containerd/archive/tarheader	[no test files]
?   	github.com/containerd/containerd/archive/tartest	[no test files]
ok  	github.com/containerd/containerd/archive	5.540s
ok  	github.com/containerd/containerd/archive/compression	1.292s
...

I will also note that rawhide currently has go 1.23 rc1 and I have encountered errors in other code bases because of this go version.
Show configuration if it is related to CRI plugin.
No response

This is the same issue as https://github.com/containerd/containerd/issues/10345

Much appreciated! My search for related issues used, if i recall, io_test.go rather than the failing method.


Added a boolean value which allows the view to reset the scale and center automatically after its size was changed.

Sometimes, it is inconvenient to reset the scale and center if the view's size was changed in some situations such as an image viewer, thus a method was added in order to enable this approach much simpler to use.

Thanks for this, it looks valid to me but I've decided not to merge it. There are many different ways that method could be written and rather than adding settings to control what it does, it's much easier for a developer to override it in their own subclass and modify it exactly as they need.


Supports rate limiting and circuit breaking audit logs

Supports rate limiting and circuit breaking audit logs

Supports rate limiting and circuit breaking audit logs

hi @hexiaofeng
what does  audit logs mean? in  limiting and circuit breaking context

Separate reject metrics for circuit breaking and rate limiting.
#50


DTW-75 Updated tech docs landing page to give more info on what they …

…contain and their purpose
Why
The landing page is currently very brief and doesn't provide much information on what the tech docs contain and why they are useful for people who want to use them
What
Added more information to clarify what the tech docs contain and can be used for
Technical writer support
The suggested changes have been through two rounds of content crits and been reviewed by tech writers but still open to opinions on if the content is informative enough for the tech doc users
How to review

Check the content for grammar and style
Confirm that the links work
Confirm that is displays correctly locally

@elenaschwan / @sabrinaharris / @ImogenCraigmile
Will leave you to hit merge on this,
is that likely to be soon? Ideally we don't want approved branches going stale against main if they're good to go?

I think we wanted one fresh pair of eyes on it - so once Sabrina had a chance to review it, we should be able to merge.


Should Constraint objects have units?

This might be really dumb, but I'm wondering whether Constraint objects should really have units. Since the standard GP form is to move everything to one side and set  == 1 or <= 1, I'm wondering why constraints aren't always unit-less.

Current design:

Constraint inherits from Posynomial
Constraint objects additionally have two Posynomial attributes, self.left and self.right, which are used for printing prettily.
Units are kept around for the left and right sides, but these are enforced to be equal in the __init__

Open question: should Constraint objects keep around this extra user-specified structure, or simply force default to standard GP form (1 >= on one side of all constraints)?
Argument for keeping structure:
Could be much nicer for printing. Could add a method for converting to standard form. Already implemented this way.
Argument for defaulting to standard form:
Simplicity of source code and unit tests.

I'm in favour of keeping the structure. Who's opposed? We were talking about making this an optional setting, though that could be potentially confusing...

Let's release with the current structure, and we can revisit if anyone encounters an example or application where unit-ed Constraints create confusion. We can close this if there are no objections by, say, noon.

And so it was.

And they lived happily ever after.


getPlaylist returns invalid playlist ID no matter input

The first function returns "uncaught exception: Object" but the second one returns: "{\n  "error" : {\n    "status" : 404,\n    "message" : "Invalid playlist Id"\n  }\n}"  regardless of which playlist ID I try to use. Other spotify api calls I have in my app work just fine. Only this call is acting weird.

It seems to be working over here, used the same playlist as above.

That's really interesting... I will try to figure something out when I get off work and I'll let you know. Thank you for getting back to me.

Ya I still can't get this particular call to work. Any ideas?

At first everything seems fine in your code, I'm just not sure how you are calling the function initially. Either way here's a snippet that works.
var SpotifyWebApi = require("spotify-web-api-node");

let spotifyApi = new SpotifyWebApi();
spotifyApi.setAccessToken(process.env.ACCESS_TOKEN);

async function getSlamsPlaylist(playlistID) {
  let playlistObj = (await spotifyApi.getPlaylist(playlistID)).body;
  //do something with playlistObj
  console.log(playlistObj);
}

getSlamsPlaylist("7CoPUH1fJFKzcc7NAIv9XU");


Updating the live docset

Through this pull request the live document set is being updated

Docs Build status updates of commit 5bf5bf5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

secmgmt/breadcrumb/toc.yml
:white_check_mark:Succeeded

secmgmt/docfx.json
:white_check_mark:Succeeded

secmgmt/docs-conceptual/authenticate.md
:white_check_mark:Succeeded

secmgmt/docs-conceptual/get-started.md
:white_check_mark:Succeeded

secmgmt/docs-conceptual/install.md
:white_check_mark:Succeeded

secmgmt/docs-conceptual/multi-factor-auth.md
:white_check_mark:Succeeded

secmgmt/docs-conceptual/overview.md
:white_check_mark:Succeeded

secmgmt/docs-conceptual/toc.yml
:white_check_mark:Succeeded

secmgmt/mapping/monikerMapping.json
:white_check_mark:Succeeded

secmgmt/secmgmtopenps-1.0/SecMgmt/Connect-SecMgmtAccount.md
:white_check_mark:Succeeded

secmgmt/secmgmtopenps-1.0/SecMgmt/Disconnect-SecMgmtAccount.md
:white_check_mark:Succeeded

secmgmt/secmgmtopenps-1.0/SecMgmt/Initialize-SecMgmtHybirdDeviceEnrollment.md
:white_check_mark:Succeeded

secmgmt/secmgmtopenps-1.0/SecMgmt/Install-SecMgmtInsightsConnector.md
:white_check_mark:Succeeded

secmgmt/secmgmtopenps-1.0/SecMgmt/New-SecMgmtAccessToken.md
:white_check_mark:Succeeded

secmgmt/secmgmtopenps-1.0/SecMgmt/Register-SecMgmtDeviceWithManagement.md
:white_check_mark:Succeeded

secmgmt/secmgmtopenps-1.0/SecMgmt/Resolve-SecMgmtError.md
:white_check_mark:Succeeded

secmgmt/secmgmtopenps-1.0/SecMgmt/SecMgmt.md
:white_check_mark:Succeeded

secmgmt/secmgmtopenps-1.0/SecMgmt/Unregister-SecMgmtDeviceWithManagement.md
:white_check_mark:Succeeded

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


May 14th - May Talk Evening @ ThoughtWorks

Head organizer: @tiaversa
Support organizer:
Slides/Moderation:
Speaker support:

Location:
Speaker: Victoria Hodder, Adrin
Talk: The Nesting Doll Effect: Scope in Python, Revenue based scoring in GridSearchCV: a case for the new metadata routing in scikit-learn
MONTH BEFORE

[x] Define Speakers
[x] Send Speakers guidelines email
[x] Announce event with speakers, location, gender policy, photo policy on meetup page
[x] Define hosts & collect host information
[ ] Send Host guidelines email
[ ] Organise Food/ drinks
[x] Tweet event when announced
[ ] Check with speaker if coaches are needed and search for coaches

TWO WEEKS BEFORE

[ ] Retweet event
[ ] Check with speaker about installation instructions/reading material and update announcement
[ ] Update meetup announcement with agenda, networking breaks, if snacks or drinks will be available
[ ] Check-in with hosts and ask if support is needed for reception

WEEK BEFORE

[ ] Remind attendees to install requirements with comment and/or message on meetup
[ ] Send coaches the workshop/relevant material
[ ] Dry run with speaker

WEEK OF THE EVENT

[ ] Tweet after event
[ ] Ask host if attendees list is needed and/or special location directions
[ ] Double check with host: microphone (if needed), soft drinks, power plugs, internet
[ ] Send to host to print PyLadies arrow signs
[ ] Print [feedback forms](feedback forms)
[ ] Prepare introduction slides past example

DAY OF THE EVENT
(arrive 30-60 minute before event starts)

[ ] Check projector, microphone, table setup, power extensions, recording if available
[ ] Support speaker(s) to test equipment
[ ] Stick PyLadies signs to guide attendees the location
[ ] Hang up or put out print outs with the WIFI (or find a similar solution)
[ ] Manage reception, give name tags if available
[ ] During the COVID 19 pandemic (and perhaps later) there might be additional health checks such as vaccination status or proof of a recent test to allow entry

DURING THE EVENT

[ ] Do introduction and Community announcements
[ ] Take photos of all the speakers and audience
[ ] Tweet about it (or after the event with photos)

AFTER THE EVENT

[ ] Tweet after event (if not done during the event)
[ ] Upload photos to google drive (you need to be part of the google group to access this)
[ ] Open PR with resources to this repository
[ ] Email sponsors & host to thank them
[ ] Copy feedback forms to feedback spreadsheet
[ ] Adjust guides if valuable feedback came up

closing as done :)


[Feature Request] support 5 minutes increments & default task duration 10minutes

Hey guys,
first of all - I just discovered dayplanner and I already love it for my use case. I need to track billable hours as an IT-Administrator and use dayplanner to create the items. Dayplanner allows me to freely move and adjust these entries quickly, which really helps with the busy days of an administrator.
My feature request to remediate my only "issues" with it:

Allow 5minutes increments when moving items, instead of default 10minutes
Allow default task duration to be 10minutes
When clicking on a new item, the text curser starts in front of the time, instead of replace mode of the text "New Item" which results in an extra click

Big love to you!

Hello, @helheimcloud, the first one is addressed in 0.16.0.

Awesome, thank you!

Second part added in 0.23.2


Gh 656 rest exception handling

Codecov Report

Merging #751 into develop will decrease coverage by 0.19%.
The diff coverage is 21.95%.

@@             Coverage Diff              @@
##             develop     #751     +/-   ##
============================================
- Coverage      60.07%   59.88%   -0.2%
- Complexity      2800     2801      +1
============================================
  Files            424      432      +8
  Lines          12828    12874     +46
  Branches        1434     1434
============================================
+ Hits            7707     7709      +2
- Misses          4519     4562     +43
- Partials         602      603      +1

Impacted Files
Coverage Δ
Complexity Δ

...er/accumulostore/utils/IteratorOptionsBuilder.java
0% <ø> (ø)
0 <0> (ø)
:x:

...mulostore/key/exception/RangeFactoryException.java
0% <ø> (ø)
0 <0> (ø)
:x:

.../exception/AccumuloElementConversionException.java
50% <ø> (ø)
1 <0> (ø)
:x:

.../java/uk/gov/gchq/gaffer/store/StoreException.java
0% <ø> (ø)
0 <0> (ø)
:x:

...ostore/key/exception/IteratorSettingException.java
0% <ø> (ø)
0 <0> (ø)
:x:

...hq/gaffer/accumulostore/key/IteratorException.java
0% <ø> (ø)
0 <0> (ø)
:x:

.../gov/gchq/gaffer/operation/OperationException.java
0% <0%> (ø)
0 <0> (ø)
:x:

...fer/rest/mapper/WebApplicationExceptionMapper.java
0% <0%> (ø)
0 <0> (?)

...hq/gaffer/accumulostore/key/AccumuloException.java
0% <0%> (ø)
0 <0> (?)

...chq/gaffer/rest/application/ApplicationConfig.java
0% <0%> (ø)
0 <0> (ø)
:x:

... and 18 more

Continue to review full report at Codecov.

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


Align Select Data Type Page to USWDS

Update to align with UWDS components. no change in functionality or display. Regression test only.
Testing
Test Case:  TC125
Testser: @JanellC

Regression Testing Complete @tlageman-epa


Incorrect/unnecessary package reference?

This page says to add a reference to the  Microsoft.Azure.AppConfiguration.AspNetCore NuGet package which seems appropriate for ASP.NET, but for a simple .NET core console app wouldn't it be better just to add Microsoft.Extensions.Configuration.AzureAppConfiguration?

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

ID: 14ccd77f-2edd-9d24-c48f-c94b26165d04
Version Independent ID: fb336546-1412-92f6-91d1-d0e707dcdd68
Content: Quickstart for Azure App Configuration with .NET Core
Content Source: articles/azure-app-configuration/quickstart-dotnet-core-app.md
Service: azure-app-configuration
GitHub Login: @yegu-ms
Microsoft Alias: yegu

@zak-nye Thank you for your feedback. We will look into it and get back to you shortly.

@zak-nye The package Microsoft.Azure.AppConfiguration.AspNetCore contains extensions to the Microsoft.Extensions.Configuration.AzureAppConfiguration package. In this case, the overload method for AddAzureAppConfiguration() used in the Quickstart comes from the Microsoft.Azure.AppConfiguration.AspNetCore package so the code will not work without it.
I am going to close this thread as this not an issue with the docs. If you wish to discuss this further please tag me in the response.

@SamaraSoucy-MSFT In the case of the ASP.NET sample you may be right. But for the .NET Console sample I have it running correctly using only Microsoft.Extensions.Configuration.AzureAppConfiguration and in fact "Go to definition" in Visual Studio takes you to the package I mention -
#region Assembly Microsoft.Extensions.Configuration.AzureAppConfiguration, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=69dad7634abb75e4
// ****\packages\microsoft.extensions.configuration.azureappconfiguration\2.0.0-preview-009200001-1437\lib\netstandard2.0\Microsoft.Extensions.Configuration.AzureAppConfiguration.dll
#endregion

using System;

namespace Microsoft.Extensions.Configuration.AzureAppConfiguration
{
    public static class AzureAppConfigurationExtensions
    {
        public static IConfigurationBuilder AddAzureAppConfiguration(this IConfigurationBuilder configurationBuilder, string connectionString, bool optional = false);
        public static IConfigurationBuilder AddAzureAppConfiguration(this IConfigurationBuilder configurationBuilder, Action<AzureAppConfigurationOptions> action, bool optional = false);
        public static IConfigurationBuilder AddAzureAppConfiguration(this IConfigurationBuilder configurationBuilder, AzureAppConfigurationOptions options, bool optional = false);
    }
}

This will obviously still work by referencing Microsoft.Azure.AppConfiguration.AspNetCore because it in turn has a dependency on Microsoft.Extensions.Configuration.AzureAppConfiguration.

I took another look at it and you are correct for this case. I'll put in a pull request for the update.


feat(testing): codegen smoketest suite + fixes

🚥 Resolves RM-3726

🧰 Changes

Using the API specification dataset from apis.guru this introduces a new smoketest suite that runs SDK codegen on 1.7k real-world APIs. It's a slow test but it works. And thanks it it uncovered a whole buffet of bugs, quirks, and annoyances:
Quirks

[x] If a spec has any $ref pointers after dereferencing, signaling to us that it contains circular references, we'll now throw an error saying we can't generate an SDK for that yet.

Supporting circular references isn't something I have the fortitude to support yet, nor is it something we adequately support with ReadMe, so I've ticketed it here for now.

[x] If a spec doesn't have any operations (an empty or missing paths object) then codegen will throw an error saying we can't support that spec because it doesn't have an SDK to codegen for.

Fixes

[x] If a description or summary within an operation contained /* or */ codegen would completely fail. We're now escaping these so that they won't break files.
[x] If we were creating a @summary docblock tag (we do this if an operation has a summary and description) we weren't wrapping it at 88 characters like we do with all other docblock entries.
[x] Fixed some quirks with the ways that body parameters on operation overloads were being set in cases that the schema applied to that body didn't allow additionalProperties.
[x] A bug that was introduced with the removal of general HTTP method accessors where if an operation didn't have an operationId set in the spec we weren't creating SDK accessors for it. Because we always generate TS-safe accessor names for operation IDs we're now always creating accessors.

[x] If a JSON Schema object had the same name as a JS reserved keyword (like delete or new) we weren't sanitizing it, resulting in a crash. We now sanitize all variable names we're creating with a list of reserved JS/TS keywords I compiled.

This reserved keywords list also contains stuff like global or window as while it's not a reserved keyword it'd be bad if someone had that in a schema name and generated an SDK to use in a browser.

🧬 QA & Testing
🐑 Does the smoketest run in CI? And pass??

Do we need to worry about constructor namespaces, or are we not worried cause this is case-sensitive?

Yeah I'll add constructor to the list of banned names.

Smoketest is currently failing on a couple specs that are circular so I'm excluding those from the dataset right now but also chunking up the smoketest into smaller runs so we only run a couple hundred specs in each job.
...cause right now the whole smoketest took over 2 hours. 😬

THE SMOKETEST IS PASSING IN CI.


Report preview inside the web client seems not to work ..

When you are working with the web client (developer preview-at) and run a report preview inside the browser (every browser) only a blank screen appears.
tested scenario:
. a standard report without filter - blank.
. a standard report with a filter with (no data exists for it)- report preview header appears.
. a standard report with filter - (data exists) - blank.
. a custom report on a custom table - working.
Using a locally installed CTP installation preview works fine.
Ideas?
Thanks,
Rene

I seem to remember that one version of the docker image had a wrong reportviewer component installed.
Could you do a docker inspect on the container and send the labels section (versions etc)
Thanks

{
"Id": "2e2d7a48c325c31db5e85044e4f5fb172d5df997e01a0d395c636d0e264aa04a",
"Created": "2017-11-29T07:31:56.8472666Z",
"Path": "powershell",
"Args": [
"-Command",
"$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';",
".\Run\start.ps1"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 5424,
"ExitCode": 0,
"Error": "",
"StartedAt": "2017-11-29T07:32:13.5900535Z",
"FinishedAt": "0001-01-01T00:00:00Z",
"Health": {
"Status": "healthy",
"FailingStreak": 0,
"Log": [
{
"Start": "2017-11-30T10:51:43.7688785Z",
"End": "2017-11-30T10:51:44.7815717Z",
"ExitCode": 0,
"Output": ""
},
{
"Start": "2017-11-30T10:52:14.7813233Z",
"End": "2017-11-30T10:52:15.6943311Z",
"ExitCode": 0,
"Output": ""
},
{
"Start": "2017-11-30T10:52:45.7908057Z",
"End": "2017-11-30T10:52:47.3326029Z",
"ExitCode": 0,
"Output": ""
},
{
"Start": "2017-11-30T10:53:17.3321425Z",
"End": "2017-11-30T10:53:19.2356138Z",
"ExitCode": 0,
"Output": ""
},
{
"Start": "2017-11-30T10:53:49.2361048Z",
"End": "2017-11-30T10:53:54.1404805Z",
"ExitCode": 0,
"Output": ""
}
]
}
},
"Image": "sha256:61ad6d7785c67ce58852dc93f5209edb51440669f75ca43499d93a5940d18605",
"ResolvConfPath": "",
"HostnamePath": "",
"HostsPath": "",
"LogPath": "C:\ProgramData\docker\containers\2e2d7a48c325c31db5e85044e4f5fb172d5df997e01a0d395c636d0e264aa04a\2e2d7a48c325c31db5e85044e4f5fb172d5df997e01a0d395c636d0e264aa04a-json.log",
"Name": "/nav2018DP1117",
"RestartCount": 0,
"Driver": "windowsfilter",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": [
"c495f831302c9570693ea237122b2f10dc1914a4827b3d0d551623907f946d40",
"af3b2a9b332ebe49435c5aff5dc7880bd9191f9f209e971ef75e0483b4e0ac6b"
],
"HostConfig": {
"Binds": [
"C:\DEMO:C:\DEMO",
"C:\DEMO\Extensions\nav2018DP1117\my:C:\Run\my"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {},
"RestartPolicy": {
"Name": "always",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 0,
"ConsoleSize": [
0,
0
],
"Isolation": "process",
"CpuShares": 0,
"Memory":<PHONE_NUMBER>,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DeviceCgroupRules": null,
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": -1,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0
},
"GraphDriver": {
"Data": {
"dir": "C:\ProgramData\docker\windowsfilter\2e2d7a48c325c31db5e85044e4f5fb172d5df997e01a0d395c636d0e264aa04a"
},
"Name": "windowsfilter"
},
"Mounts": [
{
"Type": "bind",
"Source": "c:\demo",
"Destination": "c:\demo",
"Mode": "",
"RW": true,
"Propagation": ""
},
{
"Type": "bind",
"Source": "c:\demo\extensions\nav2018dp1117\my",
"Destination": "c:\run\my",
"Mode": "",
"RW": true,
"Propagation": ""
}
],
"Config": {
"Hostname": "nav2018DP1117",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"1433/tcp": {},
"443/tcp": {},
"7045/tcp": {},
"7046/tcp": {},
"7047/tcp": {},
"7048/tcp": {},
"7049/tcp": {},
"80/tcp": {},
"8080/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"auth=Windows",
"username=vmadmin",
"ExitOnError=N",
"locale=de-AT",
"licenseFile=",
"useSSL=N",
"securePassword=76492d1116743f0423413b16050a5345MgB8ADEARAB0ADAARgBhAC8AdABOAEgAYQBEAFcAbQBlAHMAMQBuAEMAeQBRAFEAPQA9AHwAYQBjAGYANgA3AGUAOAA4ADAAMwAxAGQAYgAzADgAMgA4AGYAYQBiADcAYwAyADQAMwBiADMAMQA2AGEAYgAyADkAZQBkADgANQBhAGYANQBmADcAOABjADMAMwBkAGQAZgBhADUAYwAxADIAOAA1AGEAZgA0ADQAOAAzAGIANwA=",
"passwordKeyFile=C:\DEMO\Extensions\nav2018DP1117\my\aes.key",
"removePasswordKeyFile=Y",
"accept_eula=Y",
"VSIXURL=https://nav2016wswe0.blob.core.windows.net/dvd/al-0.11.14434.vsix",
"NAVDVDURL=https://nav2016wswe0.blob.core.windows.net/dvd/441cce9c-697f-4594-a483-1b0a1cfcf573",
"DatabaseServer=localhost",
"DatabaseInstance=SQLEXPRESS",
"DatabaseName=CronusAT",
"COUNTRYURL=https://nav2016wswe0.blob.core.windows.net/dvd/c2da5ec1-1942-457a-b6fe-1d1f4da9754f"
],
"Cmd": [
"powershell",
"-Command",
"$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';",
".\Run\start.ps1"
],
"Healthcheck": {
"Test": [
"CMD",
"powershell",
".\Run\HealthCheck.ps1"
],
"Interval":<PHONE_NUMBER>0,
"Timeout":<PHONE_NUMBER>0
},
"ArgsEscaped": true,
"Image": "microsoft/dynamics-nav:devpreview-at",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"country": "at",
"created": "201711091228",
"cu": "november",
"eula": "https://go.microsoft.com/fwlink/?linkid=861843",
"legal": "http://go.microsoft.com/fwlink/?LinkId=837447",
"maintainer": "Freddy Kristiansen",
"nav": "devpreview",
"osversion": "10.0.14393.1770",
"tag": "<IP_ADDRESS>",
"version": "11.0.19097.0"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "3b8c8b357459cfe165bb7d02a5a99603908a4b93c54cdacb041a7b0fcc51fa6d",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"1433/tcp": null,
"443/tcp": null,
"7045/tcp": null,
"7046/tcp": null,
"7047/tcp": null,
"7048/tcp": null,
"7049/tcp": null,
"80/tcp": null,
"8080/tcp": null
},
"SandboxKey": "3b8c8b357459",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"nat": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "d0cb92b2db364c39e4046a4d3b72e38edabc31994defc1d28385c4873a53ea57",
"EndpointID": "672c1d996427b8e93e7bcae6d98bf918d0726f28d4c647abc74e53a907f7e94d",
"Gateway": "<IP_ADDRESS>",
"IPAddress": "<IP_ADDRESS>",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "00:15:5d:93:2b:b8",
"DriverOpts": null
}
}
}
}

I can repro this and we are investigating.
Are you saying, that a custom created report works...?

only if the custom report uses a custom table... because of this I thought it is a performance issue..but tables with fewer data like "payment terms" produce the same issue..

The reason for this is a missing DLL in the container.
If you copy the t2embed.dll from c:\windows\system32 on the host to the same folder in the container, then it should work. Until this is fixed in NAV on Docker generic image, you can use this after starting the contianer:
Copy-FileToNavContainer -containerName  -localPath C:\windows\System32\t2embed.dll -containerPath C:\Windows\System32\t2embed.dll

Thank freddydk,
I really work well.


Implement test data-driven unsupportedModelDeviceCombination at init

After specifying a minimum OS version of macOS13 and iOS16, there is still a large matrix of possible model-device configurations for deployment:
Devices have varying capabilities across:

Available RAM: Ranging from 4GB on iPhone 12 mini to 192GB on M2 Ultra Mac Studio
Chip generation: A12 (iPhone XS) to A17 Pro (iPhone 15 Pro), M1-M3 for Mac and iPads etc. , S9 SiP for Apple Watch
Apple Silicon vs legacy Intel Macs (still supported by macOS 14)

Model versions that have varying requirements:

Original variants: tiny, base, small, large distil-large
Argmax variants: compressed, turbo and compressed+turbo

Not all model versions will successfully run on all Apple devices. Some combinations may be enabled in the future by Argmax work. Some combinations may be disabled due to OS regressions. Hence, we would like to automatically test all combinations before each release using the testing infrastructure being laid out in #99 by @Abhinay1997 and throw unsupportedModelDeviceCombination for combinations that fail to pass all the tests during WhisperKit pipeline init time.
Taking it a step further, the WhisperKit pipeline object should be able to take an optional "peakMemoryAllowed" argument at init time and compare that against the peak memory recorded during test on the particular model-device combination and throw unsupportedModelDeviceCombination.
For the time being, we will disable all Intel Macs. Please reach out if you need Intel Macs support for your product.

That sounds great! Additionally it would be great if there was maybe a function that took an enum parameter indicating what the priority was (e.g. speed, quality, low-memory), and WhisperKit would return a recommended model / a short short list of recommended models that would be the best fit for the current system.

Sounds great, thanks for the input @iandundas! We are going to start working on this soon :)


Replaced a few while loops with tailrec

I've replaced a few of while loops with tailrec, making it more functional.

:+1:


move json files to root

Folder organization: this just moves all the json files into a dedicated data folder in the root of the repo.
Nothing else changed.
@felixarntz for awareness and feedback. Hopefully that'll make it easier for the php integration.
@kara

Thanks @flashdesignory! I opened #65 to update the PHP code accordingly. It would be great if you could merge that as soon as you've merged this one, or alternatively feel free to merge it into this PR so we can handle the changes altogether.


Could not find artifact org.elasticsearch:elasticsearch-parent:pom:2.0.0-SNAPSHOT

Hey, I am fairly new to using maven as a build system. I forked and cloned the repo, and tried to build the master branch as per the README instructions with:
  mvn clean install

However I am getting this error:
$ mvn clean install
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.elasticsearch:elasticsearch-river-couchdb:3.0.0-SNAPSHOT (/home/steam/couchdbriver/elasticsearch-river-couchdb/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact org.elasticsearch:elasticsearch-parent:pom:2.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 7, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Looking at the pom history, it seems that this is because of a fairly recent change. Is this some sort of private dependency that is not available?
Should I not be building from the master branch?
I am trying setup the development environment to be able to build, and test this plugin. I want to make a minor modification to allow the ID field to be overwritten.
EDIT: Building from the 1.4 branch works fine.

Should be fixed by 5eee3d026fdf0158816c2d48e04b0e6ee8ba36db


fix build time issue

This issue fix make build command. It was due to change of PR.

Ran this command locally and works now:
$ make build
CGO_ENABLED=0 go build -trimpath -ldflags "-buildid= -X sigs.k8s.io/release-utils/version.gitVersion=v0.1.3-58-g0a0a3e2-dirty -X sigs.k8s.io/release-utils/version.gitCommit=0a0a3e2bcfb23cdb09c378ca1b2b93f7081f2b02 -X sigs.k8s.io/release-utils/version.gitTreeState="clean" -X sigs.k8s.io/release-utils/version.buildDate='2024-07-01T19:42:06Z'" -o ./build/sbomqs main.go


mount_filesystems  mount_apfs: command not found

sshpass -p alpine ssh -o StrictHostKeyChecking=no root@localhost -p 2222 mount_filesystems > /dev/null
/usr/bin/mount_filesystems: line 1: mount_apfs: command not found
/usr/bin/mount_filesystems: line 16: mount_apfs: command not found
/usr/bin/mount_filesystems: line 34: mount_apfs: command not found
seputil.c: Gigalocker initialization failed: 30
seputil: can't open '/mnt1/usr/standalone/firmware/sep-firmware.img4', errno: No such file or directory(2)
seputil: rejecting zero-byte firmware
seputil: failed to load /mnt1/usr/standalone/firmware/sep-firmware.img4 in  mode
/usr/bin/mount_filesystems: line 53: mount_apfs: command not found

ill fix that

what ios version btw

iOS 15.6.1

You should create an auto mount or be able to fix it with the command sshpass -p alpine ssh -o StrictHostKeyChecking=no root@localhost -p 2222 mount_filesystems > /dev/null

and you could check in iOS 16 the paths for the mount as well thanks to very work

Same problem

fixing right now


docs: add TRG 7.xx drafts

@AngelikaWittek regarding https://github.com/eclipse-tractusx/eclipse-tractusx.github.io/pull/185/files#diff-2f2b9b5800e17c5d9e3109b6edd29b79aac70fd6923ce2a7577f72e25b97fd0f
I talked this trg through (on a high level for now) within our team. What we discussed generally seems feasible:

adding some sort of 'About Dialog' component to our shared components (https://www.npmjs.com/package/cx-portal-shared-components), to be used us and other teams (first glance at the component presumably possible by S3 P9, if planned for PI9)
providing links to tagged source code and the commit sha


MINOR: remove unnecessary null check

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/5754/
Test FAILed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5740/
Test PASSed (JDK 8 and Scala 2.12).


centralize test install instructions

Installation instructions are now duplicated across different repositories, including q2cli and q2d3. We should put these in one place - the QIIME 2 GitHub wiki is a likely spot for this.

Instructions are centralized here.


Import of annotations from future incorrectly enables use of | inplace of Optional

Here's the incorrect output:
test.py:6:21: UP007 Use `X | Y` for type annotations
Found 1 error.
No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).

Here's the minimal code to demonstrate the issue:
from __future__ import annotations

from typing import Optional

def test(n: int) -> Optional[int]:
    if n <= 0:
        return None

    return n

Here's the minimal command I can use to reproduce this:
ruff check --target-version py39 --select U test.py

Sorry, do you mind clarifying what the problem is in the above example?

The use of | in typing isn't supported until Python 3.10 (see PEP 604) but adding from __future__ import annotations incorrectly enables that even thought target-version is set to 3.9

It's generally fine to use | prior to Python 3.10 with from __future__ import annotations, as long as it's not used in a location that would be evaluated at runtime (e.g., x = Optional[int] as opposed to x: Optional[int]). But you can set keep-runtime-typing = true to disable this: https://docs.astral.sh/ruff/settings/#lint_pyupgrade_keep-runtime-typing.

Hopefully that setting solves the problem for you, but LMK if not!

PEP 563 defines that as delaying the evaluation of typing and I don't believe it's been extended to have a meaning beyond that
But aside from the technical details, that means that a file that has that import removed or code that's moved copied to a file without it would then be invalid code that would need to be moved back to the pre-3.10 style and that feels wrong/broken to me, but you're the one maintaining the code, so I'll trust your call


future plans?

@AdamGarnsworthy  What are our future plans for packaging and presenting the GRIFFIN toolkit? I made this cover page to serve that purpose back in the day; we need to decide if this still works, where it should live etc, so we can add @SmithJK's angular correlation tool, the forthcoming data spy, and anything else we want to plug in.

Toolkit moves to the main GRIFFIN page you are developing that will live at griffin.triumf.ca. angular corrlelations app should be integrated to the toolkit in new location.
Data spy is really a dashboard/daq thing and should be linked from there but can live on the same server I guess.


Support for iOS 11, and bug fix

Supports iOS 11
Bug Fix (UI distortion) when the app comes to foreground

@naveen-c

Thank you but I already merged another swift 4 branch.


Download from Blob URLs

Hello,
Thanks very much for this; just a Question or Feature Request: Is it possible to download from Blob URLs?

No, see
https://superuser.com/questions/948738/what-is-the-blobhttp-prefix-and-where-can-i-learn-more-about-this

Blob URI/URL was created by JavaScript, refers to data that your browser currently has in memory (only in current page)

https://stackoverflow.com/questions/30864573/what-is-a-blob-url-and-why-it-is-used

Blob URLs can only be generated internally by the browser
These URLs can only be used locally in the single instance of the browser and in the same session (ie. the life of the page/document).

https://developer.mozilla.org/en-US/docs/Web/API/Blob


update question card to link to help diagram in docs

https://github.com/pydata/xarray/pull/9147 added a "where to get help" flowchart to the Xarray docs to help users navigate all the resources available. This PR updates the front page "ask questions" card to direct users there instead of solely to discussions. Happy to add the link in an alternate location instead.

Reported the QC CI failure (bad url) here: https://github.com/opendatacube/datacube-core/issues/1605


Make Parallelizing rake tasks h4 (was: h5)

According to the screenshot, Parallelizing rake tasks should be on the same level as previous items.
Having Parallelizing rake tasks section as a subsection of chewy:deploy doesn't really make much sense.

Before:

After:

Cool, thanks!


luci-app-watchcat: add support for run_script mode

This adds support for run_script mode, which I propose adding in https://github.com/openwrt/packages/pull/18593
I also added support for choosing the address family for the pings
@feckert @nickberry17
I apologize, I don't know anything about the translated messages and how to deal with those in this package.  Can you point me at some documentation about that?

Looks good, just want to clarify about the datatype

Thanks, see above.  How about translation--is there something I need to do there?

@nickberry17 Hi, The main script was merged. Can we also merge these changes ?

LGTM @feckert

LGTM @feckert

When might this get into master (and also if possible 22.03, which has the underlying changes in watchcat package)?

I must overlooked it!
Thanks merged

Also pushed to openwrt-22.03 with https://github.com/openwrt/luci/commit/adeb2baa3a14d8a0b4fdcc1cad067db380fb1306 and https://github.com/openwrt/luci/commit/010119fb5ab56f3e8c6d9d51f014771c1ef08e72


chore(ci) add test to check test-helper doc generation

Adds a test to prevent issues like: https://github.com/Kong/kong-pongo/issues/383

@ADD-SP thx for the review. Can you please merge as well? I have no rights for that.


Library Tag Exclusion not working

I do not believe the tag exclusion is working for libraries, if I understand how it's supposed to work.  I set up a tag in both Sonarr and Radarr for "never_expire" and added that to the Deleterr config.  However a dry-run showed that it would have deleted several movies and shows that are tagged with this tag.

Yeah I honestly expected this one to cause confusion. Every metadata aspect is checked against plex, I think tags are actually called labels there. But regardless these settings need to be clearer, and maybe more broad. I could do:
libraries:
  - name: "Movies"
    ...
    exclude:
      plex:
        titles: ["Forrest Gump"]
        tags: ["children", "favorite"]
        genres: ["horror", "thriller"]
        collections: ["Marvel Cinematic Universe"]
        actors: ["Tom Cruise", "Brad Pitt"]
        producers: ["Steven Spielberg"]
        directors: ["Makoto Shinkai"]
        writers: ["Hayao Miyazaki"]
        studios: ["Studio Ghibli"]
        release_years: 5
      radarr:
        tags: ["some tag"]
        languages: ["en", "pt"]
        profiles: ["1080p"]
      trakt:
        max_items_per_list: 200
        lists:
          [
            "https://trakt.tv/movies/trending",
            "https://trakt.tv/movies/popular",
            "https://trakt.tv/movies/watched/yearly",
            "https://trakt.tv/movies/collected/yearly",
            "https://trakt.tv/users/justin/lists/imdb-top-rated-movies"
          ]

What do you think? It's way more robust but I'm afraid the overlapping settings could cause some confusion.
Another alternative is to check each field against every field that possible maps on each provider, but that makes what is happening way less obvious.

Yes I like the approach you outlined in the config.  Makes sense to organize the exclusion criteria based on where it comes from.  I would rename tags to labels in the flex section.  Happy to test If you'd like.

Wondering if you plan to progress this one in the near term?  Eagerly awaiting this as I will be able to retire the poorly built system I wrote myself that does this same thing.

@mlamoure yes, I have an ongoing branch with these changes I have just been lacking the time to dedicate myself to it, my bad.

Awesome!  Thanks for the update.  Eagerly following progress.


[JENKINS-33795] Added support to Log Parser Plugin

Added support to  Log Parser Plugin
JENKINS-33795
Already tested out in a vanilla jenkins sandbox

Thank you for this pull request! Please check this document for how the Jenkins project handles pull requests.


RTX 3070 with CUDA capability sm_86 is not compatible with the current Pytorch installation.

I have compiled SE-SSD-ROS successfully. But when ran python3 ros_main.py，I got an error: RTX 3070 with CUDA capability sm_86 is not compatible with the current Pytorch installation. I tried to solve this problem, but failed. How can I fix it?

Hi @BIT-wangzb,
Sorry for the late reply. I'm not sure if this issue is resolved by yourself, but you may need to check if your Pytorch version is compatible with your CUDA version. Probably you need to compile Pytorch from source instead of downloading prebuilt Pytorch wheels to support CUDA 11.x (the version that RTX 3070 supports I thought).
I close this issue for now. Feel free to re-open it if needed.


📢Announcing: WinUI 3 - Windows App SDK Preview 1.0 🔎💻

We've just shipped the latest version of WinUI 3, which is a part of Windows App SDK 1.0 preview release! This release includes bug fixes and provides access to APIs and features we are intending to include in the next stable release.
Shipping WinUI 3 as a part of the Windows App SDK
In order to use this version of WinUI 3, you'll download the Windows App SDK (Preview) Visual Studio Extension (VSIX) to get started. The Windows App SDK VSIX includes WinUI project templates that you'll use to build your WinUI 3 app, as well as access to other Windows App SDK components. The Windows App SDK package includes a reference to the WinUI 3 NuGet package.
For more on the Windows App SDK, see their documentation and repository. For installation instructions, see  Set up your development environment.
NOTE: The Windows App SDK was previously known by the code name Project Reunion. Some SDK assets may still use the code name, but these assets will be renamed in a future release. The term Project Reunion may also be used when referring to an existing asset or a specified earlier release.
What's new
This release of WinUI 3 is focused on building towards 1.0 Stable with bug fixes.
Bug fixes

RichTextBlockOverflow crash when clicking on a Hyperlink: #5425

SubMenuFlyout Item causes a double-highlight in MenuBar, causing a feeling of slow performance

Image control unable to render animated GIF with unsupported value for the disposal method header: #1128

Identity Client package incompatibility: #5143

The keyboard and narrator focus are not in sync for all the link elements of the settings window of the WinUI 3 Control Gallery

Stability
This release includes unstable APIs and does not support building production apps. If you'd like to use WinUI 3 to build a production app, feel free to continue using the latest Windows App SDK 0.8 release.
Known Issues

Compiler error when using WebView2 in an ARM64 application — this is a regression from 0.8 and will be fixed in 1.0 Preview 2.

For a list of all the known issues for this Windows App SDK 1.0 preview release, please see the Windows App SDK release notes.
Getting started
First, you'll need to set up your dev environment with the appropriate technologies. See our documentation for installation instructions and more information on project types:
Install the Windows App SDK
Create WinUI 3 Projects
While you're developing, check out the API Reference documentation.
Take a look at our walk-through docs:

Get started developing apps with WinUI 3

Build a basic WinUI 3 app for desktop

You can also update your existing WinUI 3 app to use the new Windows App SDK 1.0 preview release using these instructions: Update existing projects to the latest release of the Windows App SDK.
We love feedback! We encourage you to file any bug, big or small, on our repo using this template. Knowing which issues and features are important and/or critical to our customers highly influences which ones we tackle. Even though we ship with the Windows App SDK, please continue to file WinUI-specific bugs on this repo.
Using WinUI 3 and the Windows App SDK with our ecosystem partners
This latest release is in the process of being integrated into several other important ecosystem technologies. To test out and follow that progress, check out some of our partner technologies below (note that some of these technologies may not yet be available for Windows App SDK 1.0 preview):

Actipro Software is migrating their vast UI control offerings over to WinUI 3, including their SyntaxEditor code editor, propertygrid, native type edit boxes, docking/MDI, charts, and more.

DevExpress: DevExpress has released 20 new WinUI controls with Windows App SDK 0.8 support, including the Data Grid, Scheduler, Charts, Ribbon Toolbar, and more. All 20 UI components are available free-of-charge.

Esri: ArcGIS Runtime SDK for .NET adds mapping, spatial analytics, and location intelligence capabilities to your apps on Android, iOS, and Windows. Support for WinUI 3 is now available.

GrapeCity: The ComponentOne WinUI controls support modern desktop apps (Win32) and include calendar, accordion, input and our fast and flexible datagrid, FlexGrid.

Infragistics: Ultimate UI for WinUI brings business critical, high performing, and feature rich line of business controls to your apps that target any platform that runs Windows (including Windows on ARM64).

Syncfusion: Updated their projects to Microsoft.ProjectReunion from Microsoft.WinUI following upgrade instructions. All their controls are working fine.

Telerik UI for WinUI: the market first UI controls suite for crafting Win32 and UWP apps with WinUI 3, comes with feature-rich controls like Ribbon, DataGrid, Charts, Gauges, Barcode, and more.

Uno Platform: Use WinUI 3 – Windows App SDK 0.8, XAML and C# to build pixel-perfect, single-codebase, native applications that can run on Web, Desktop and Mobile. It is free, open-source and available today.

Windows Community Toolkit (Microsoft): The WCT is currently working on supporting Windows App SDK 0.8 RC. It provides tons of new controls and capabilities for use in your WinUI app. You can check out their open source repo here.

What's next
To keep up with progress being made on WinUI 3, please see our feature roadmap which gets updated regularly. We also give monthly updates on our WinUI Community Calls, where you can directly ask the team any questions you have.

"WinUI: Error creating second Desktop Window on the current process. No more than one Desktop Window is allowed per process.'."
This worked in Experimental.
We can still create new AppWindows, but how do we set content to them?

-The expander control seems to be missing (was present in the experimental1 release)
-The GPU memory leak (reported about a year ago here https://github.com/microsoft/microsoft-ui-xaml/issues/3665) is still present

Is there any documentation specifically created for this release? All the links reference to older pages as far as I can see
If I create a new app using this release it does not compile, these packages are referenced

The error is this:
XamlCompiler error WMC1012: A project cannot have more than one ApplicationXaml item
I did not make any changes to the default project template

@edoust You might have to remove the lines referencing the experimental1 release? I have this which seems to be working:

@koenvd Thanks, this is working

Maybe I missed something, but after installing the latest bits, I have a question: isn't that just Store apps with the Store requirement somewhat relaxed?

Still getting some pretty brutal performance issues in all versions of WinUI 3, including Preview 1. Running the following on CompositionTarget.Rendering with a completely empty window consistently yields results between 29 and 31ms:
           PerformanceCounter.Stop();             Console.WriteLine(PerformanceCounter.Elapsed.TotalMilliseconds + "ms");             PerformanceCounter.Restart();
For comparison, if I do exactly the same in UWP XAML I get results in the ballpark of 0.5ms - that's 60 times faster than WinUI 3, which's current framerate (equivalent to ~33fps) is not acceptable even for a desktop UI. Tested on a machine with the following specs:
OS: Windows 11 Pro (21H2)
GPU: NVIDIA GeForce GTX 1080ti
CPU: AMD Ryzen 5 2600
RAM: 2x8GB DDR4, 3000MHz

Check out #6172 to see features from this release in Windows App SDK 1.0.


adding change to read vendor and hardware model from binding

Pull Request Functional Test Report for #1749 / 8abca6e6b33f99f0788a2edda30508902515e951
Virtual Devices

Device
Test
Test Documentation
Job

Arista cEOS

DP-1.11: Bursty traffic test

Cisco 8000E

DP-1.11: Bursty traffic test

Cisco XRd

DP-1.11: Bursty traffic test

Juniper cPTX

DP-1.11: Bursty traffic test

Nokia SR Linux

DP-1.11: Bursty traffic test

Help


Add keywords for icons without any

Some of our icons have no keywords specified, and are therefore hard to find:

For reproduction or testing:
pnpm --filter @swisspost/design-system-icons fetchSVGs
pnpm icons:start

I checked all the Icons on Censhare. I added translations in the localised Tags to trigger changes. I hope the Keyword now beeing delivered.
Numbers of checked Icons:
3057
3059
3055
3060
3061
3063
3065
3134
8009
8001
8010
8004
8002
8005
8011
8008
8006
2143
2166

@oliverschuerch can you check if the Keyword now are correctly shipped?

The above have keywords now.
Thanks for fixing!
However, there are 5 new icons without keywords:

I checked the above mentioned Icons. They have Keywords:
3073:
Piktogramme "Die Post" ab 2017, Telefon, Telefonhörer, Téléphone, Combiné, Telephone, telephone receiver
3058:
Piktogramme "Die Post" ab 2017, tirare, tirare, tirare
2241:
Wunschdatum, Date souhaitée, Data desiderata, Desired date
2295:
Batterien, Autobatterie, Batteries, batterie de voiture, Batterie, batteria per auto, Batteries, car battery
2474:
Ergebnisse E-Voting, Résultats du vote électronique, Risultati del voto elettronico, Results of e-voting
If the problem persists please reach out to Michael Eberle to Check if Chenshare API works correctly....

In the near future, designers will be able to visit the icons health page in our docs, after adding/changing icons and see if everything is allright.


Instagram album always stuck on 'Pending: 1'

I'm trying to rip https://www.instagram.com/fashooo_/ and it always ends up with 1 pending image left and about 2.6k downloaded. This means that the rip never actually completes, even after several hours, and doesn't get added to my history so I can re-rip it later. The log doesn't include any information on this one pending image, just a whole lot of messages telling me I've already downloaded images (because I've tried multiple times).

What version of ripme are you using? I just managed to rip the entire IG account (2683 items) without running into this issue

I'm using 1.4.6

How would I do that?

Open a command prompt and type
java.exe -jar  path\to\where\you\have\ripme.jar

When running ripme through cmd it worked fine, downloading 2683 images with zero pending, and added the link to my history for re-ripping later. However, nothing else that I've downloaded was on the history and the rips folder was placed in a new location. When I changed the location back to where the existing one was, it still didn't include my history. When I run ripme normally, without cmd, history is there and everything is fine but I still get the pending issue.

When running ripme through cmd it worked fine, downloading 2683 images with zero pending, and added the link to my history for re-ripping later. However, nothing else that I've downloaded was on the history and the rips folder was placed in a new location.

This is because you ran ripme from a new place (Wherever the command prompt was)

When I changed the location back to where the existing one was, it still didn't include my history. When I run ripme normally, without cmd, history is there and everything is fine but I still get the pending issue.

This looks like a filepath issue. Where is ripme on your computer? Can you run ripme from the cmd where ripme.jar is? (open the cmd, type cd \pathto\folder\that\ripme.jar\is\in, then run ripme with java.exe -jar ripme.jar

I opened cmd using 'Open command window here' in the same directory as ripme. Just to make sure, I just tried what you said above and still have the same situation.

I just tried what you said above and still have the same situation.

Well damn. I'm still not sure what is causing this but I'm betting on it being a file path issue. Can you try moving ripme to a different place on your computer and see if that fixes it?

Remember that most filesystems have a path limit of 255 single-bit characters, and exceeding that won't be conveniently told, at least on Window$, so try moving RipMe and especially the target download folder as close to the filesystem root as possible to rule out the limit.

@Cottoneyes Did you ever get the IG account to rip?


Configuring with cmake from git results in error

Using my cmake build script
#!/bin/sh

find . CMakeFiles CMakeCache.txt config | xargs | rm -rf

cmake .. \
      -DCMAKE_BUILD_TYPE=Debug \
      -DCMAKE_INSTALL_PREFIX=${HOME}/local/mfem-git \
      -DBUILD_SHARED_LIBS=ON \
      -DMFEM_USE_MPI=ON \
      -DMFEM_USE_SUPERLU=ON \
      -DMFEM_USE_SUNDIALS=ON \
      -DMFEM_USE_NETCDF=ON

I get an error because MFEM_GIT_STRING is somehow not set.
mfem/general/version.cpp:61:33: error: ‘MFEM_GIT_STRING’ was not declared in this scope
    static const char *git_str = MFEM_GIT_STRING;

This seems to be a regression in the cmake build if I am correct.
Although it should be defined in https://github.com/mfem/mfem/blob/master/config/cmake/config.hpp.in#L34.
During the cmake execution the file MFEMConfig.cmake is created but with an empty expression for set(MFEM_GIT_STRING "").
I assume the problem is the interface used to access the git version which is not compatible on my git version. This is a CentOS 7 machine with git-<IP_ADDRESS>-12.el7_4.x86_64 :-1: .

The MFEM_GIT_STRING is a recent addition. @benson31, @v-dobrev can you take a look at this?

I recommend upgrading git to 2.*.
However, if you don't care about the value of this string, you can pass -DMFEM_GIT_STRING="MFEMdev" or something. That will get you through compilation.

That said, MFEM should probably have a default value for if it's not set.
Semi-related:
set(VARIABLE "")
set(VARIABLE)
unset(VARIABLE)

are all equivalent. It's not set to an empty string. It's just unset.

This should be easy to fix: it seems that the -C <dir> option does not work in older git versions, so it should be replaced with the WORKING_DIRECTORY option of execute_process. The other thing is to replace set(${PROJECT_NAME_UC}_GIT_STRING "") with a non-empty string. I'll make a branch to fix this.

Works fine now!


When querying all GhostPosts by an author from Ghost, GhostPages show up as empty nodes

Description
So I've just discovered this while fleshing out my website. After I added a Page in Ghost CMS, my GhostAuthor template started throwing errors in gridsome develop and gridsome build started failing. The issue turned out to be that using the belongsTo relationship in GraphQL also returns GhostPages as empty nodes. Vice-versa, when querying for GhostPage belong to an author, all GhostPost are returned as empty nodes.
Steps to reproduce
Providing a reproduction repo requires me to set up an additional Ghost Instance, but since the bug is fairly simple, I don't think it will be necessary, though. If required though, please send a message.

Create a new gridsome project with @gridsome/source-ghost configured.
Using the same author, create a new Post and a new Page in Ghost CMS.
In the GraphQL Playground, query the author and their posts. This query assumes the configured template path is /:slug and the author's slug is test-author:

{
  ghostAuthor(path: "/test-author/") {
    belongsTo {
      edges {
        node {
          ...on GhostPost {
            title
            slug
            primary_author {
              name
              path
            }
          }
        }
      }
    }
  }
}

Expected result
{
  "data": {
    "ghostAuthor": {
      "belongsTo": {
        "edges": [
           {
            "node": {
              "id": "5f07995fc4b76000012f11d8",
              "title": "Test post,
              "slug": "test-post",
              "primary_author": {
                "name": "Test Author",
                "path": "/test-author/"
              }
            }
          },
        ]
      }
    }
  }
}

Actual result
{
  "data": {
    "ghostAuthor": {
      "belongsTo": {
        "edges": [
           {
            "node": {
              "id": "5f07995fc4b76000012f11d8",
              "title": "Test post,
              "slug": "test-post",
              "primary_author": {
                "name": "Test Author",
                "path": "/test-author/"
              }
          },
          {
            "node": {} // An empty node is returned for each Page belonging to this author
          }
        ]
      }
    }
  }
}

Environment
  System:
    OS: Windows 10 10.0.19041
    CPU: (8) x64 Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
  Binaries:
    Node: 12.14.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.4 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 6.13.4 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 84.0.4147.135
    Edge: Spartan (44.19041.423.0), Chromium (84.0.522.63)
  npmPackages:
    @gridsome/plugin-sitemap: ^0.4.0 => 0.4.0
    @gridsome/source-ghost: ^0.4.0 => 0.4.0
    gridsome: ^0.7.0 => 0.7.19
    gridsome-plugin-ackee: ^0.0.1 => 0.0.1
    gridsome-plugin-manifest: ^0.3.5 => 0.3.5
    gridsome-plugin-tailwindcss: ^3.0.1 => 3.0.1

The belongsTo field will return all nodes that have a reference to it, even though the type has no fields specified in the query. But you can try to filter by type and see if it will help. Like this:
{
  ghostAuthor(path: "/test-author/") {
    belongsTo(filter: { typeName: { eq: GhostPost } }) {
      edges {
        node {
          ...on GhostPost {
            title

Hi ok

(filter: { typeName: { eq: GhostPost } })

Thanks a bunch, this seems to work! I'm not sure now if what I have reported is a bug or working as intended. Perhaps it could be useful to add this to the docs. Either way, I'll leave it up to you to close if if you feel it is not a bug :)

It is working as intended, so I'll close it :) But I agree that the docs could be clearer about it. I'll add it to my todo-list.


Old offtk

Something screwy is happening with offtk 0.11 in openfe-land, so we need (temporary) compatibility with offtk 0.10 back again

Bit of an example on how to support both toolkits for the units: https://github.com/openmm/openmmforcefields/pull/237/files (if needed)

I like @mikemhenry's solution for a couple points:

Use API to decide which API we use (does it have atom.element?) instead of parsing version. We'll still need to define a different atomic number extractor for each, but this solves the problem with running under an RC.
Takes similar approach to mine where the unit-package-selection logic is abstracted away from the specific details. I didn't know about the ensure_quantity from openff.units.openmm, which is why I hacked my own.

I didn't know about the ensure_quantity from openff.units.openmm, which is why I hacked my own.

It was just added yesterday? to help make this easier, so that isn't your fault 🤣


CLOUDP-253364 Remove podman machine init & podman machine start

Proposed changes
Remove podman machine init & podman machine start

Jira ticket: CLOUDP-253364

Closes #[issue number]
Checklist

[ ] I have signed the MongoDB CLA
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] 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)
[ ] I have run make fmt and formatted my code

Further comments

won't be needed because in linux it is not required

LGTM with a question, wouldn't we bring back some of this for RHEL? or init is somethign we are no longer responsible and hope users did it already?

On linux there is no podman machine, only on Windows on MacOS, since we are removing it from these OSes there is no need to keep the logic


Updated vscode-json-languageservice to 5.3.9

Updated vscode-json-languageservice to the latest version, in order to fix the bug where validating JSON against the latest JSON Schema Drafts would not work correctly (https://github.com/microsoft/vscode-json-languageservice/issues/122)

@microsoft-github-policy-service agree

I'm just doing some additional testing here to make sure there are no bugs.

Wondering if this will be included in the March release, am heavily invested in seeing support for 2020-12 schema support. Am willing to help out in any way I can.

Hey @aeschli, @deepak1556,
Is there a reason this wasn't included with the March release? I was looking forward to using this.
Even though this doesn't include full schema 2020-12 support, currently just having the schema property set to anything newer than draft-07 completely breaks validation.

Hey, sorry to keep asking about this, but is there a particular reason this merge keeps being pushed?

Same question. I've been telling customers that it is coming, first in March, then April, and now May.

Same here

Thanks for the PR and sorry for the delay! Just updated all of the langugae services.

Why didn't the update to languageservices make it in 0.49?

Seems like publishing is not done by CI/CD, so maybe someone forgot to update node modules before publishing... 🙄

@hediet Can we confirm that this will make it into the 0.50 release?

Seems to be added to 0.50.0 (using 5.3.11)
But, I get the error
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
// The schema uses meta-schema features ($recursiveRef) that are not yet supported by the validator
}


[Synapse] Remove convenience layer in Azure.Analytics.Synapse.AccessControl

Library name
Azure.Analytics.Synapse.AccessControl
Please describe the feature.
The convenience layer in Azure.Analytics.Synapse.AccessControl just initial test work for onboarding to LLC. It's incomplete and abandoned. This convenience layer doesn't release to customers before, so it's safe to remove. In the future, we will consider onboarding to DPG.
related PR: https://github.com/Azure/azure-sdk-for-net/pull/31126

@KrzysztofCwalina @tg-msft we added convenience layer before for experimental purpose. Now service team wants to remove them. Could you check out this PR to see if it is OK?

Based on the Beta usage numbers at https://www.nuget.org/stats/packages/Azure.Analytics.Synapse.AccessControl?groupby=Version&groupby=ClientName, I think it's fine to make this change.
We should always take these on a case by case basis though because the customer impact of switching from models to protocol only could be very painful if we have a lot of Beta adopters.  While the bar to make changes during a Beta is much lower, we still might want to dial conveniences for select champion scenarios or find other ways to minimize pain during the transition.


Error with Sclicing hierarchy and date_shift

Hello,
I can't use "date-shift" module with my sclicing hierarchy "Date" here. I think the error comes from the all level that doesn't exist on the hierarchy.
I want here to get the previous Value of the desired measure. It doesn't work with the "exact" or "previous" method.
Steps to reproduce

Cells 27 :
m["previousValue"] = tt.date_shift(m["portfolioValue"], h["Date_Hierarchy"], offset="1D", method='exact')
Actual Result

MdxException: Cannot resolve element [Hierarchies].[Date_Hierarchy].[ALL].[AllMember]. Hint: ALL is not a level of the Date_Hierarchy hierarchy
Expected Result
Environment

atoti:  0.4.1
Python:
Operating System:

Logs (if relevant)

performances.zip

Hello,
Thank you for reporting an issue :)
I think that is it the pivot table widget that is in a bad state and not a bug with date_shift.
I have run you notebook and do see the issue in the query Cell 27, but if I reset the widget and build the same pivot table (Date_Hierarchy on Rows and portoflioValue and previousValue in Measures) I have no issue:

I am not sure how this widget ended up in a bad state like that. My guess is that you have first created the view with a non slicing hierarchy then put it slicing and the widget still tries to query All, but I might be something else.
Can you confirm that if you reset the widget you can see the shifted measure correctly ? (To reset you can either with right click > reset widget or call PerfomanceCube.visualize() in a new cell)

Also as a side note: If previousValue is the value of the previous day you should use an offset of "-1D" :wink:
m["previousValue"] = tt.date_shift(m["portfolioValue"], h["Date_Hierarchy"], offset="-1D", method='exact')

Hello,
Checking the problem does come from there. I had indeed created my hierarchy in non sclicing at the beginning and then I modified it. By creating a new visualization it works.
Thanks for your help :)

I'm colisng this issue :)
If you have other bugs or questions feel free to open new issues.
If you want to chat about atoti you can also contact us on gitter: https://gitter.im/atoti/atoti


fix FileUploader

Related PR: #422
files should be a FileList, not a list of files' names.

Thanks for the PR.
It seems that the mismatch is because FileList type is an object of Symbol iterators (files) and spreading target.files ([...target.files]) converts it into an array.
Two options:

To keep with the files: FileList type, do not spread target.files

This would require updating the rendering logic within FileUploader ({#each files as { name }, i (name)})

Change files type to File[]

I'm inclined to go with option 1 because the files prop would be consistent with the native value of e.target.files.


Escape backlashes

This allows this plugin to import css styles with things like content: '\e900'; (e.g. fontawesome icons).
As per https://github.com/Polymer/lit-element/issues/637.

Thank you for the PR @guillemcordoba! I just had to make a little correction because backslashes used to escape backticks were escaped as well. Your changes are now published in v1.0.1 🎉

Awesome! Thanks for the plugin


When compiling to an extension module, Python classes inheriting from PySide2 classes can no longer override virtual methods

version:
0.6.3rc3
Python: 2.7.10 (default, Aug 17 2018, 19:45:58)
Executable: /usr/bin/python
OS: Darwin
Arch: x86_64
checked out Nuitka repo at commit b84034
installed using setuptools

Here is an example program that demonstrates the problem:
from PySide2.QtWidgets import QApplication, QWidget

class MyWindow(QWidget):
    def mousePressEvent(self, event):
        print "Press!"

def run():
    app = QApplication([])
    window = MyWindow()
    window.setFixedSize(300, 200)
    window.show()
    app.exec_()

To see it working properly, save that code to a python file (e.g. test.py), run python, import it and then execute run():
$ python
>>> import test
>>> test.run()

A window will open, and if you click the window it will print the text "Press!"
If I convert it to an extension module using Nuitka, i.e. nuitka --module test.py and then repeat the same procedure, the window will open but clicking on it will not print "Press!".
What seems to be going wrong is that mousePressEvent is not properly overriding the same virtual function on the QWidget C++ class when compiled with Nuitka.
As a side note, I'd just like to say that Nuitka is a very impressive project!

Thanks for the compliment, unfortunately PySide2 is unsupported, see #255 and #224 and there is nobody who is contributing the patches for it to work to the PySide source. Last time we did it, for PySide1, it was not integrated due to PySide2 coming. And recent reports have not gained any priority on their side yet.
Therefore I recommend to use PyQt, which has been a very good citizen and accepted our contributions each time.

Alas I am stuck with PySide2 at the moment due to the restrictions of my project. However I did find a workaround for this issue that I'll post here just in case it helps someone else in the future.
In my particular use case I'm only compiling some of my python modules into extension modules, so I can leave around some regular python or bytecode files. The workaround is to have an uncompiled file that acts as a shim around one of PySide's classes and reimplements any virtual methods. Then my compiled modules import and subclass from that.
Here's an updated version of my above example with the fix:
shim.py:
from PySide2.QtWidgets import QWidget

class QWidgetShim(QWidget):
    def mousePressEvent(self, event):
        self._mousePressEvent(event)

test.py:
from PySide2.QtWidgets import QApplication
from PySide2.QtCore import Signal, SIGNAL
from shim import QWidgetShim

class MyWindow(QWidgetShim):
    doThing = Signal()

    def __init__(self, parent=None):
        super(MyWindow, self).__init__(parent)
        self.doThing.connect(self.blah)

    def _mousePressEvent(self, event):
        self.doThing.emit()

    def blah(self):
        print "Press!"

def run():
    app = QApplication([])
    window = MyWindow()
    window.setFixedSize(300, 200)
    window.show()
    app.exec_()

This works correctly if I compile test.py using Nuitka and leave shim.py uncompiled.

FYI I've just been blocked by the same issue and pinged the matching pyside2 ticket: https://bugreports.qt.io/browse/PYSIDE-829
pyside2 development is very active, perhaps they'll be more interested in fixing the issue there than then original pyside1 issue.

Hi @kayhayen I've had some feedback from pyside2 / qt

Hey Andrew Leech, sadly that old patch doesn't do the trick to solve the issue.
I tried them in the past, and didn't properly work:
https://codereview.qt-project.org/c/pyside/pyside-setup/+/230712
Even now applying the same patch on the newer source code, it doesn't work.

I'm really ignorant on how nuitka works, but I really don't understand how we can fix this from our side, since for me it's more like 'copying the right things' in the 'proper location'.
Do you know if someone can provide a more detailed analysis on the issue from the nuitka point of view?

I too don't understand the inner workings enough to provide much input, would you be able to elaborate on the issue at all?


'depth' isn't defined for the type 'FilterableQuery'.

I try to fetch comments for a post with the provided example code:
reddit.sub("dartlang").comments("2ek93l").depth(3).fetch().then(print);
"depth(3)" is marked as error with following message:

The method 'depth' isn't defined for the type 'FilterableQuery'.
Try correcting the name to the name of an existing method, or defining a method named 'depth'. dart(undefined_method)

reddit version: 0.6.0
[✓]Flutter (Channel stable, v1.17.1, on Mac OS X 10.15.4 19E266, locale de-DE)
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)

Weird. It should be handled by the noSuchMethod implementation. Is that no longer correct Dart? It's been a long while.
Well alterntively, .depth(3) is the same as .filter("depth", 3)..
  @override
  noSuchMethod(Invocation inv) {
    if (inv.isMethod == false) {
      return new NoSuchMethodError(
          this, inv.memberName, inv.positionalArguments, inv.namedArguments);
    }
    if (inv.positionalArguments.length > 1 || inv.namedArguments.length > 0) {
      throw new StateError(
          "Filter methods take zero or one positional arguments.");
    }
    String symbol = inv.memberName.toString();
    String f = symbol.substring(8, symbol.length - 2);
    return filter(f,
        inv.positionalArguments.isEmpty ? null : inv.positionalArguments.first);
  }


information on limited date range

Hi. Thank you very much for creating a useful library before asking questions.
I have a simple question.
Limited date range: start time and end Time (vertical) in CalendarView
I really want it. When will it be implemented?

Actually, I have one question regarding this requirement because a few people mentioned this feature in this project.
Do you want to hide all the other dates not in this range, and you cannot see those time or just simply don't allow users to scroll out of this range but they can still see those time.
I am not sure whether you can understand my meaning. If you cannot, could you send me a picture for your requirement? Thanks

Hi. Thank you very much for creating a useful library before asking questions.
I have a simple question.
Limited date range: start time and end Time (vertical) in CalendarView
I really want it. When will it be implemented?

Have you achieve this ?

@RanjeetStiga #76 Your case is cannot see those time?
Could you send some pictures here.

It does not matter to me how it works.
If I set the time range from 08:00 to 22:00,  should not show before 8:00 or after 22:00.
I also want to have the ability to update the time settings like forceReload.
Finally, if I set it after 10 o'clock and add an event before 10 o'clock, it should not cause an error. (exception handling)
This is because there are a number of cases in the api of my app server.
If you're still not sure, I'll provide a picture of our app.

Is it similar to Apple Calendar event details page? @aron1127 @RanjeetStiga @nttra83 @inlovewithswift
Users are not allowed to scroll both horizontally and vertically and view just displays the RowHeader (Time) without ColumnHeader (Date). That's how Apple Calendar does.
If you guys have the same requirements, I can try to unify them and do something for it.
Can we have a discussion here and ignore the #66 and #76 issues?
I really need you guys send me some of your requirements picture, then it should be easier for the discussion and implementation.
Thanks

Hi. A need something like this too. For example I have first event from 8:00 to 8:30 and last event from 15:00 to 17:00. I want day calendar from 8:00 to 17:00. I know how many hours it is (9). I calculate height (my calendar is without scroll) by hour which I want display and row height (9 * hourHeight). This height I add to customCalendarView. For here all is ok.
My problem is which part of collection view with events is displayed. I have part from currentTimeline,  not from time which I need. In this case I want calendar from 8:00 to 17:00 with currentTimeline at 10:00, but I have calendar from 10:00 to 19:00 with currentTimeline on top.
Is there some way how resolve this?

I do not speak English well, so word choice may not be appropriate.

I did not want a new view like the Apple Calendar event details page.
My requirements are so simple that I do not need a picture.
The current CalendarWeekView is displayed from 0:00 to 24:00 unconditionally.
I just wanted to set this up.
If i set the time from 09:00 to 20:00, there should be no view before 9:00 or after 20:00. (Do not scroll too)
In addition, when the short interval is set from 08:00 to 10:00

I'd want to show it like this image.

any Update ?

@RanjeetStiga I was working on the redesign of pagination which is a major release for the whole project. I released the latest 0.7.0 version yesterday.
For your requirements, you guys should have a discussion here with your design pictures and make a conclusion.
Otherwise, I cannot achieve all your requirements. You can put your requirements and pictures first.
Thanks

Hi. When will it be updated?
I currently need this very much.
Perhaps my design is a requirement for everyone.
because the requirement is mentioned and there is no other design until now.

Hi @aron1127,
I haven't started it yet. I am still waiting for others' requirements.
Regarding your requirements, I understand what you need vertically. As for the horizontal range, do you want them to have all the same vertical range as well? It means you can only scroll vertically from the start time to the end time with a vertical range even if you horizontally scroll to the other page.
Am I right? Do you guys also have similar requirements to his? Do you agree with this solution?
@PMA22 @nttra83 @inlovewithswift

That's right. Even if I horizontally scroll to the other page, the vertical range should be the same as the setting.
I hope others will be able to comment quickly ... :(

Hi
When will be update?

Hi @zjfjack
Do you have any good news about this issue?
I am waiting for updates..
Could you tell me when it will be updated?

Hi @zjfjack
It would be very useful for me if you can implement this feature.
I have same requirements as @aron1127 .
In example: i need to show events that are always in the range 8am-8pm (working time ∓ 1h) so even if i scroll to the next horizontal range, the vertical hours range must be the same. This will help my users to avoid to always manually scroll to 8am, because surely they won't have any 12pm-8am event.
Thank you for your time, hope to hear you soon about this.

Hello @zjfjack
I have been delayed in development and have to re-plan.
I want you to let me know when the development will be completed.
Plz answer the your development schedule.
I'm sorry I kept asking questions...

Hi @aron1127 and @barb94,
I was quite busy on my work for the last two months and I am not sure when I can start implementing this. Let me try to do it this weekend. If I can achieve it easily, then I will make the pull request. If I cannot, then I don't think I can finish them recently.
Sorry about that.

Thank you for your answer.
I hope it will be completed by August.
I look forward to the good results!!

Hi @aron1127 @barb94,
I have some good news to you guys, which is that I am currently working on this feature. I've done some basic layout stuff.
There are still some issues for longPress and reload but it is showing! Hopefully, I won't have some complicated problems when resolving the left issues and release it as soon as possible.
Let me show you a screenshot of this new feature to make sure this is what you want.
Thanks!

@RanjeetStiga #76 Your case is cannot see those time?
Could you send some pictures here.
Hi Same issue  #76 @aron1127 .

Hello @zjfjack ,
yes, this is exactly what I need!
Thank your for your work

Hi @zjfjack ,
is there any update about this feature?
Thanks!

Hi @zjfjack,
was this function implemented in the meantime?
Thank you in advance!
Regards

Hi @zjfjack
is there any update about this feature?
Thanks!