Update mozilla-firefox extension

Description
Fix (#9373).
Prevent errors on search by browser history.
To reproduce open New Tab or Search History command and enter any query text.
Error: Error: in prepare, no such column: Test
   moz_places           WHERE moz_places.title LIKE Test           ORDER BY last
                                      error here ---^

    at Object.current (/Users/grand/.config/raycast/extensions/4f2f1045-8725-4c82-a486-6e6b587dd101/new-tab.js:8:3284)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Screencast

Checklist

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

Do you want to check this @crisboarna 🙂


Add contact page

@RituKumari98 i would love to add a contact page under gssoc level 3. Please assign it to me

I would like to work on this issue. Please assign this task to me under @GSSoC24

I would like to work on this issue. Please assign this task to me under @GSSoC24


detect_mobile? for firefox 61

the method detect_mobile? seems to not work for mobile with firefox 61
Mozilla/5.0 (Android 8.1.0; Ta…61.0) Gecko/61.0 Firefox/61.0

@seb-sykio hi, is it working?

Is the whole user agent? Looks like is cropped (Ta…61.0).


Add "require" as a keyword for yacc

Thanks for the work on this extension, I find it very useful.
Small addition to add "require" as a keyword for yacc files.
https://www.gnu.org/software/bison/manual/bison.html#index-_0025require-2

Hi there, thx for the PR.
I'd like to ask you to add the keyword also here
https://github.com/babyraging/yash/blob/788133dbe0e20550c2776dd490ccb9f615f60e25/src/languages/services/yaccCompletions.ts#L6
so we can have the autocompletion.

Thanks for the quick feedback. I went through https://www.gnu.org/software/bison/manual/html_node/Decl-Summary.html and added all the ones I found missing from there as well.


Integrate with AWS Amplify

Hey everybody,
Just came across AWS Amplify - https://github.com/aws/aws-amplify. I haven't had a chance to play with it yet but it looks really promising. It looks fairly modular so we could even use parts of it separately in the React portion of the tutorial to simplify the following things:

Making API Gateway requests: No need to manually add the sigv4client or sign requests
Storing S3 files: Don't need to work with the AWS JS SDK
Authentication: Can get rid of all the direct AWS Cognito JS SDK calls

If anybody has had a chance to play with it or even better has a repo implementing it; it would really help us get started with it.

I started one here. Frontend is halfway complete.
I applied the broad-strokes of the logic given in the book. WIP in the dev branch.

@d0ruk Great! This is really helpful. Keep me posted on the progress. I'll go over it once I get a chance.


Improve actor credentials via Bird Money

Suggestion from a community member @middlechildpabk to Bruce:
"I respect and value your time. So I will get right to it and give you as brief of overview as I can as to how I think a couple of projects I’m working with may benefit the Ocean ecosystem and the current things you are working on....
... Bird Money, they are one of the newer Oracle projects in the space, focused on data analytics. I think of them like the DeFi Credit Bureau. As of now, their product is designed to gather information about individual investors, and give them a type of ranking ID. Basically allowing those who qualify, even better lending rates and higher loan to collateral ratios.
Then I thought, how could this benefit Ocean. I believe the technology focused on data analytics and investor wallets and “ID’s” could help provide valuable information and credibility to those in the data marketplace. We saw constant tweaking to the data set curators and investor staking and rewards percentages, trying to find ways to create stability, so that data providers and investors couldn’t rug the project or at least be incentivized to. I think the products that this team is working on could also be implemented into helping resolve these types of issues in the data marketplaces as well. And as Ocean moves forward, this team will be able to help work with traditional financial institutions that want to integrate with Ocean protocol and the data marketplaces.
"
[Trent here] This is likely via 3box. Plus potentially a GUI affordance to make it visible directly in marketplace, e.g. via custom badges.

Not in the 2021 roadmap.


Fix systests to account for fix in CXF-8346

This should resolve 4 errors/failures in systests that resulted from runtime changes in CXF-8346 / PR #697.
The first change is to remove query parameters.  These should need to be "replaced" as the query parameter was specified on the original request.  By replacing them, it actually appended them, making the request URI look something like: http://localhost:8080/bookstore/books/check2?a=b?a=b which is not allowed (the extra question mark).
The other changes were to re-acquire the Response object rather than just re-using them.  This was a clear test bug, since it was previously checking the response from the first request twice rather than checking the response from both requests.
This should resolve 8 failures in the master builds since these 4 tests are run twice (once for Java 8 and once for Java 11).

@andymc12 sorry for not having the Github + Jenkins in place to help with test cases validation, we are working on that

sorry for not having the Github + Jenkins in place to help with test cases validation, we are working on that

no worries.  sorry for not testing these changes with the systests locally ahead of time.

LGTM but can you also check these tests that are also failing in systests/rs-security?
OIDCNegativeTest.testImplicitFlowNoNonce
OIDCNegativeTest.testImplicitFlowPromptNone

LGTM but can you also check these tests that are also failing in systests/rs-security?
OIDCNegativeTest.testImplicitFlowNoNonce
OIDCNegativeTest.testImplicitFlowPromptNone

Yes, it looks like these tests were expecting the response to throw an exception rather than return null.  The javadoc is not clear what to expect (null vs ProcessingException that wraps a NoContentException), but the TCK expects that if the passed-in type can be null (i.e. not a primitive), then the readEntity method must return null.   I updated the test to assertNull, and it is passing locally for me.

I ran into a merge conflict - and I think I've resolved it.  I'd like to wait until Jenkins has finished this CI build before merging, but no need to re-review unless you want to check my merge-conflict-resolution.  Thanks!

@andymc12 Sorry for mess up - found failing tests recently with wrong reason

No worries @amarkevich!
There are still some failures in osgi/itests, but they pass for me locally.  Maybe it's an intermittent issue, or something specific to the env/JDK/etc?  I'll go ahead and merge these changes, as they definitely fix more tests than they break.  :). Thanks!


RT-622:BP entry form

Overview
Created BP entry form.
Validated form Bp should be in the range.
Added test cases for the BP entry form.
How it was tested
It was tested locally and also tested validation.
Checklist

[x] The title contains a short meaningful summary
[x] I have added a link to this PR in the Jira issue
[x] I have described how this was tested
[x] I have included screen shots for changes that affect the user interface
[ ] I have updated unit tests
[x] I have run unit tests locally
[ ] I have updated documentation (including README)

In the cardiovascular-health app and cardiovascular-health-patient App, the observations.service.ts  file is nearly about the same that's why SonarCloud Quality Gate failed.


Missing generated declarations for 'util' and 'trace-api' in current published build v.3.1.0

The current published build produces the following error messages on tsc:
node_modules/@google-cloud/trace-agent/build/src/plugin-types.d.ts:18:41 - error TS7016: Could not find a declaration file for module './trace-api'.

node_modules/@google-cloud/trace-agent/build/src/plugin-types.d.ts:20:30 - error TS7016: Could not find a declaration file for module './util'.

According to the cdn cache these files are really missing. However, a local try npm run compile-all on v3.1.0 produces the files.

@periklis Fix should be out in 3.1.1!


⚠ Bofrost.at has degraded performance

In 2ac4c3c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1317 ms

Resolved: Bofrost.at performance has improved in 7d961a0 after 6 minutes.


replace core GDAL functionality with {gdalraster}

I recently added some updates to use {vapour} for things {terra} could not directly provide.
It may be worth going even closer to the source with {gdalraster}. This change be pending the addition of the OGR vector-related bindings https://usdaforestservice.github.io/gdalraster/articles/gdalvector-draft.html. Since I have several things to address between now and the next release, there is some time to see how this develops, and perhaps make suggestions for anything missing from {gdalraster}

Currently {vapour} is used to detect drivers needed for reading data from arbitrary sources for input into new GeoPackage. Basically it is used so the user does not need to specify a different argument or function to add vector, raster, and attribute data to a geopackage.
{gdalraster} does not directly provide the ability to load a GDALDataset for arbitrary DSN, but both GDALRaster and GDALVector encapsulate GDALDataset which can be used to get the driver short name used to read a DSN. The following works with the current development "gdalvector" branch (v0.10.9110), but requires trying to load a GDALRaster first. If GDALRaster fails, GDALVector is attempted. If GDALVector fails, error message.
.gdal_dataset_from_path <- function(x) {
  stopifnot(requireNamespace("gdalraster"))
  sapply(x, function(xx) {
    res <- try(new(gdalraster::GDALRaster, xx), silent = TRUE)
    if (inherits(res, 'try-error')) {
        res <- try(new(gdalraster::GDALVector, xx), silent = TRUE)
    }
    if (inherits(res, 'try-error')) {
      stop("opening data source ", shQuote(xx), " failed", call. = FALSE)
    }
    res
  })
}

#' Detect GDAL Drivers from Data Source Name
#' @param x character. Vector of data source names.
#' @return character. Driver short names detected from file extension of `x`
#' @export
gpkg_gdal_detect_drivers <- function(x) {
  stopifnot(requireNamespace("gdalraster"))
  sapply(.gdal_dataset_from_path(x), function(xx) {
    xx$getDriverShortName()
  })
}

gpkg_gdal_detect_drivers(c(
  system.file("extdata", "LF20_EVC_220.csv", package = "gdalraster"),
  system.file("extdata", "storml_evc.tif", package = "gdalraster"),
  system.file("extdata", "ynp_fires_1984_2022.gpkg", package = "gdalraster")
))
#> Loading required namespace: gdalraster
#>         /home/andrew/R/x86_64-pc-linux-gnu-library/4.3/gdalraster/extdata/LF20_EVC_220.csv
#>                                                                                "CSV"
#>           /home/andrew/R/x86_64-pc-linux-gnu-library/4.3/gdalraster/extdata/storml_evc.tif
#>                                                                                "GTiff"
#> /home/andrew/R/x86_64-pc-linux-gnu-library/4.3/gdalraster/extdata/ynp_fires_1984_2022.gpkg
#>                                                                                "GPKG"


Authentication using Access Token

How can I manage the authentication to an Azure SQL database using an access token, how is the life cycle of that token managed?
Replicate something similar to the image.
Thanks for any help.

May I know any update on it?

I returned to the typical use of username and password, this part of the token I have not been able to solve yet, although I would like to solve it.


Typo

Please fix this typo, in this case you write fom and its actually form

Can I solve this?

Yes if you can solve this problem do it for me
On Mon, Oct 3, 2022, 6:37 PM Santushti26 @.***> wrote:

Can I solve this?
—
Reply to this email directly, view it on GitHub
https://github.com/sslabmite174/web/issues/11#issuecomment-1265412619,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZK7ENNEXKLJISSDFUZJVXDWBLLCDANCNFSM6AAAAAAQ3RF47E
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


[d3d9] Natsuiro Kokoro Log (ナツイロココロログ) freezes at startup

Game freezes at startup although with wined3d it works fine.
No window appears.
I don't see anything interesting in logs.
I think it didn't work with previous dxvk versions as well.
Software information
Natsuiro Kokoro Log (ナツイロココロログ)
Demo (trial) can be downloaded at https://www.getchu.com/soft.phtml?id=880903 (I didn't test it but I can try)
System information

GPU: AMD Radeon RX 5500 XT
Driver: MESA 22.3.3
Wine version: 8.0-rc4
DXVK version: 2.0

Apitrace file(s)

rorolog.trace.zip
Log files

d3d9.log:
rorolog_d3d9.log

Can reproduce. I have made a trace with wined3d, but it replays fine with dxvk.
Does not contain any NSFW
rorolog_try.trace.tar.gz

Game does start with DXVK on Windows, this seems to be a Wine bug somewhere.
In particular, it gets stuck in audio initialization, waiting for an input event in MsgWaitForMultipleObjects.
Audio thread is initialized roughly as follows:
DirectSoundCreate(NULL, &device, NULL)
event = CreateEventA(NULL, TRUE, FALSE, NULL);
thread = CreateThread(NULL, 0, audio_thread_proc, &device, 0, &thread_id);
do
    ret = MsgWaitForMultipleObjects(1, &event, TRUE, 1, QS_ALLEVENTS)
while (ret != 0)

DWORD WINAPI audio_thread_proc(void *device)
{
    ...
    SetEvent(event);
    while (...)
    {
        ...
    }
}

MSDN says this about third argument, fWaitAll, for MsgWaitForMultipleObjects:

If this parameter is TRUE, the function returns when the states of all objects in the pHandles array have been set to signaled and an input event has been received.

Event gets signaled, but input event isn't received, so it keeps returning WAIT_TIMEOUT (258), instead of expected WAIT_OBJECT_0 (0).
WineD3D happens to send such input event, comment out update_window_state( hwnd ) in dlls/win32u/window.c:set_window_pixel_format() and it will run into the same issue.

I took a closer look at it. WineD3D calls SetPixelFormat from within Direct3DCreate9, when it creates a fake window for a GL context. SetPixelFormat calls update_window_state.
=>0 0x0000007cfa4aa0 wgl_wglSetPixelFormat(args=000000006DAA61F2) [Z:\home\fbx\w
ine\dlls\opengl32\unix_thunks.c:69] in opengl32.so (0x0000000065f9e8)
  1 0x0000006daa61f2 SetPixelFormat+0x32(hdc=<couldn't compute location>, fmt=<c
ouldn't compute location>, pfd=<couldn't compute location>) [Z:\home\fbx\wine\dl
ls\gdi32\opengl.c:95] in gdi32 (0x0000000065fa28)
  2 0x00000004a08cd4 wined3d_caps_gl_ctx_create+0x2d4(adapter=0000000000791880,
ctx=000000000065FB60) [Z:\home\fbx\wine\dlls\wined3d\adapter_gl.c:352] in wined3
d (0x0000000065fab8)
  3 0x00000004a108b9 wined3d_adapter_gl_init+0x1df1(wined3d_creation_flags=<inte
rnal error>, ordinal=<internal error>, adapter_gl=<internal error>) [Z:\home\fbx
\wine\dlls\wined3d\adapter_gl.c:5323] in wined3d (0x0000000065fc08)
  4 0x00000004a108b9 wined3d_adapter_gl_create+0x1e39(ordinal=0, wined3d_creatio
n_flags=0x7ecc) [Z:\home\fbx\wine\dlls\wined3d\adapter_gl.c:5426] in wined3d (0x
0000000065fc08)
  5 0x00000004a7c20b wined3d_init+0x4b(wined3d=000000000078E468, flags=0x7ecc) [
Z:\home\fbx\wine\dlls\wined3d\directx.c:3516] in wined3d (0x0000000065fc68)
  6 0x00000004b12372 wined3d_create+0x62(flags=<couldn't compute location>) [Z:\
home\fbx\wine\dlls\wined3d\wined3d_main.c:146] in wined3d (0x0000000065fca8)
  7 0x000000048b1955 d3d9_init+0x35(d3d9=000000000078E648, extended=0) [Z:\home\
fbx\wine\dlls\d3d9\directx.c:701] in d3d9 (0x0000000065fcf8)
  8 0x000000048a3af1 Direct3DCreate9+0x5c(sdk_version=<couldn't compute location
>) [Z:\home\fbx\wine\dlls\d3d9\d3d9_main.c:44] in d3d9 (0x0000000065fd28)

Maybe X11DRV_vkCreateWin32SurfaceKHR should send the event to update window, but then it would be outside of Direct3DCreate9 call. I don't know.

It looks like the winex11 changes in 9.22 happened to "fix" these issues for winex11. It still occurs on winewayland, so I'd recommend to keep patching wine to post WM_WINE_UPDATEWINDOWSTATE to the hwnd during wine_vkCreateWin32SurfaceKHR upon a special envvar, and in case it regresses again in the future.

Use wine 9.22 or later, or put NtUserPostMessage(create_info->hwnd, WM_WINE_UPDATEWINDOWSTATE, 0, 0); wherever vkCreateWin32SurfaceKHR is implemented

Like for current wine:

diff --git a/dlls/win32u/vulkan.c b/dlls/win32u/vulkan.c
index c676ae10e54..75a3d1b8ee2 100644
--- a/dlls/win32u/vulkan.c
+++ b/dlls/win32u/vulkan.c
@@ -140,6 +140,10 @@ static VkResult win32u_vkCreateWin32SurfaceKHR( VkInstance client_instance, cons
         surface->hwnd = dummy;
     }

+    const char *softpal_hack = getenv("WINE_KISARA");
+    if (softpal_hack && atoi(softpal_hack))
+        NtUserPostMessage(create_info->hwnd, WM_WINE_UPDATEWINDOWSTATE, 0, 0);
+
     if ((res = driver_funcs->p_vulkan_surface_create( surface->hwnd, instance->host.instance,
                                                       &host_surface, &surface->driver_private )))
     {

But idk why my new wine 9.22 installation does not seem to be affected by the unupdated winewayland problems?

It's possible to trigger messages to get posted to the window handle via external factors through the windowing system driver. E.g. updating output configuration on the compositor via hotplug/settings change will send updated output information and wl_output.done to winewayland.drv, which through posting to the desktop window WM_WAYLAND_INIT_DISPLAY_DEVICES -> WM_DISPLAYCHANGE leads wine into calling update_window_state for child windows. Similar happens when starting/stopping an IME on winex11. It's possible that different compositors behaving slightly differently might cause the outcome to be different, maybe some are causing messages to be posted while the engine gets into the loop. On sway at least, this doesn't happen, but the loop can be manually broken by changing the setting of an output.


Upgrade Polkadot to v1.16.0

@boundless-forest maybe you can help to move this forward?

@keithtensor can you update this to the stable release, please?

Which branch/tag should I use?

I'd use polkadot-stable2409 tag, that is the latest release upstream

Updated, needs approval now.

The polkadot-stable2407 of this repo was just named stable2407, may we should follow it or correct the name right now and go ahead with polkadot-stable* in the future so ?

This is a stable branch, just the latest instead of older stable2407

This is a stable branch, just the latest instead of older stable2407

I meant a stable branch of the polkadot-evm/frontier repo to match polkadot's stable2409 release, so that we don't accidentally run into any breaking changes if there are any in the polkadot-evm:master branch later on

This PR changed the behavior of eth_subscribe. It is now returning a 16-character subscription ID (e.g. TlCPBeW4fku7BlSo) instead of a 32-byte ID.


Don't start drag (or focus header cell) if the dropdown menu is clicked

In response to #76.
The reason that focus is allowed on header cells is because they are currently included in the keyboard navigation.  So when clicking the cell (or anything inside it) it attempts to focus that cell so keyboard navigation may continue from that point.  Happy to change this, but I have a feeling that it was desirable to have the header included in the keyboard nav?
I think I fixed the issue whereby clicking the dropdown would be caught by the cell focus.  This was due to the draggable handler as it catches on mousedown.  The draggable setup will now "cancel drag" if the click event is on the dropdown button (or any element within that dropdown).

Ok yep lets leave the header nav as is and we can see how it comes out with user testing. Cheers for the fix!


refactor(connector): [Forte] Enhance currency Mapping with ConnectorCurrencyCommon Trait

Type of Change

[ ] Bugfix
[ ] New feature
[ ] Enhancement
[x] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

This pull request implements the get_currency_unit from the Connector trait for the Forte connector. This function allows connectors to declare their accepted currency unit as either Base or Minor. For Forte it accepts currency as Base units.
Additional Changes

[ ] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context
#2226
How did you test it?

cargo check, cargo clippy, and cargo test all pass without any new errors.
Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed the submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

@VedantKhairnar, could you please review this pull request

Hi @Vishalk91-4 , Please follow commit message guidelines and
Please use following cargo commands -
cargo clippy --all-features
ref - Cargo commands, and fix the errors thrown by clippy for the checks to pass and
cargo +nightly fmt to fix the failing formatting check

@prasunna09, I'm facing a little difficulty in resolving the errors, could you please guide me through, or any suggestions, so that I can fix it faster

@prasunna09, all errors fixed from my side, no error showing
Could you please review and Merge this Pull Request

@Vishalk91-4 Looks like clippy and the formatting check are still failing. Could you address them?

@SanchithHegde, could you check it now please, I think it's going to work now

@SamraatBansal, fixed those, could you please review now

@AkshayaFoiger, the refund flow is near the line 510s, can you point to that line

Hey @Vishalk91-4 ,
You have to make changes here Refund Flow In get_request_body function
Impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Forte {
.......
 fn get_request_body(
        &self,
        req: &types::RefundsRouterData<api::Execute>,
    ) -> CustomResult<Option<types::RequestBody>, errors::ConnectorError> {
        let connector_req = forte::ForteRefundRequest::try_from(req)?;
        let forte_req = types::RequestBody::log_and_get_request_body(
            &connector_req,
            utils::Encode::<forte::ForteRefundRequest>::encode_to_string_of_json,
        )
        .change_context(errors::ConnectorError::RequestEncodingFailed)?;
        Ok(Some(forte_req))
    }

Hey @Vishalk91-4
Thanks for your interest in contributing to hyperswitch.
Let us know if you need any assistance from our end.
.
Also, even if hacktoberfest is over, we should celebrate open source everyday and we are open for more contributions from you.
We would still be rewarding folks with goodies even if the PR gets merged post hacktoberfest.
May the Source be with you!

Hey @Vishalk91-4 ,
Are you still working on this issue?
Please let us know if you need any help


Fix a couple of typos

Was just looking at this project -  it looks really useful! Spotted a couple of typos on the way

Thanks!


Enable vulnerability report

A tool developed by the SRE/Core/Security team.
The purpose of this tool is to create a vulnerability report which lists the following issues for a given product:

Patch management issues: list of open dependency update PRs
Code vulnerabilities: list of open security issues (via GitHub Security)
AWS Config issues: list of AWS Config issues for the given AWS account(s)
AWS GuardDuty issues: list of AWS GuardDuty issues for the given AWS account(s)
AWS SecurityHub issues: list of AWS SecurityHub issues for the given AWS account(s)

To enable it:
it would just be a matter of adding a config file like so:
https://github.com/cds-snc/site-reliability-engineering/blob/main/.github/workflows/assets/vulnerability_report/gc-articles.yml
and updating the matrix job:
https://github.com/cds-snc/site-reliability-engineering/blob/b9a538766033f1808d5e1f597553ac2eae106608/.github/workflows/vulnerability_report.yml#L30-L41

for owasp https://github.com/cds-snc/automatic-website-scanning/blob/main/.github/workflows/oswasp-zap-default.yml

The owasp scanning will be done in a different ticket. lets wait for those reports to be generated (end of week) and we will assess.

Consolidated view: https://docs.google.com/document/d/1a1-ZJVSDhRM_OmK9oMtj6M0ZCmRE6gcDRU3wO5WgsS0/edit#heading=h.ivke0fic2upm

https://docs.google.com/document/d/1a1-ZJVSDhRM_OmK9oMtj6M0ZCmRE6gcDRU3wO5WgsS0/edit


Support path clarity module even when we start from internal module

Close #3427.
Close #3443.

@scampi Merging this but if you find any issue please let me know!


Add CONTRIBUTING.md

Please provide feedback, or commit updates.
We also need to add a link to the mailing list in README.md

+1 if it works

Thank you founder @notsrg


[Service Bus] [FEATURE Cross entity transaction]   Support cross entity transaction feature

The sendVia is implemented using new approach at service side. It is called cross entity transaction.
Use same AMQP session to create Coordinator, Senders and receivers who are part of same transaction.
The first sender/receiver created will be treated as sendVia .

Implement Feature
Unit test
Live test

PR : https://github.com/Azure/azure-sdk-for-java/pull/19863  (First release will be beta release.)

Fixed by https://github.com/Azure/azure-sdk-for-java/pull/19863


tools: Fix dependency checker release dates bug

Signed-off-by: Ryan Northey<EMAIL_ADDRESS>Commit Message:
Recently the kafka upstream dep released a new version for an older minor release (1.6.2)
This has caused a few problems with the release dates checker
This PR should fix an issue where it was falling back to using the commit date  rather than the release date
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

cc @rojkov @moderation @kfaseela

/retest


Cypress test cases for vertical and pie charts

Description
Cypress test cases for vertical and pie charts with 2-way data sync
Issues Resolved
https://github.com/opensearch-project/observability/issues/1055
https://github.com/opensearch-project/observability/issues/1056
Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Please rename the branch.

What should be the name


Feature: New Filters Panel component

Type of feature
🍕 Feature
Current behavior
N/A
Suggested solution
Figma Link
Required new components

#1672

Useful Components

Dropdown List Molecule
Toggle Switch

In context

Additional context
No response
Code of Conduct

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

Contributing Docs

[X] I agree to follow this project's Contribution Docs

Are we closing this since we didn't move on with the feature? cc: @brandonroberts

We're still keeping this open as an intended feature


Improve discovery selector

Continuing on #14, we need to look into improving the user experience for selecting their institution from the list, since the list has become really long.
We want to keep the search bar, but we don't want to show the whole institution list right from the start, since it probably won't show useful information from the start.
Our initial idea is that the user should still be presented with a search bar, but instead of the full list of institutions, we can use an IP geolocation API to get the location of the user (country and coordinates, although they will be very imprecise); the app can then show the ~10 nearest institutions within the same country.
The user then gets the choice to do a more precise geolocation through their device, or use the search bar and search for their institution. No geolocation by the OS must be attempted unless the user explicitly presses the button.
When using the search bar, the search code should firstly prioritise prefix matches over more generic string matches (searching for "eva" currently returns "Center RS za poklicno izobrazevanje" over "eduroam Visitor Access (eVA)", and secondly prioritise same-country results, and lastly prioritise institutions closer to the current location.
A quick mockup of what we're looking for:

We have made an API available on https://geo.geteduroam.app/geoip
It will return JSON in the form of
{
	"city" : "Trondheim",
	"postal" : "7030",
	"country" : "NO",
	"geo" : {
		"lon" : 10.3961,
		"lat" : 63.424
	}
}

The country should match certain institutions in the discovery, and the geo location should be compared to geo for institutions. For institutions with multiple coordinates, the closest should be used.


Connect to iphone and get a white screen with the loading spinner

I keep getting a white screen with the loading spinner when I connect to an iphone. I could not figure out how to change from localhost to my machine's IP address in AppDelegate.m.
"In RNApp/ios/RNApp/AppDelegate.m change localhost to your machine's IP address"

You can run ipconfig getifaddr en1 in terminal to get your IP address.
Also make sure that your Meteor server is running.

@spencercarli First off thank you for the boilerplate :) Amazing! But I am a little confused by one part of the directions.
In RNApp/ios/RNApp/AppDelegate.m change localhost to your machine's IP address
What line? The file out of the box doesn't have localhost in it.

Ah, that's changed in recent versions of React Native. I'll update the instructions.


Question: If building OC from source, what is the proper invocation of the compiler?

Avg response time

Please make sure to put any logs, terminal output, or code in
[fenced code blocks]. Please also read the [contributing guidelines]
before submitting a new issue.
Question
I downloaded the source code and built the package using CMake and make. This was no problem. But when I tried to build a "hello, world" program, it was unclear how I should do that. The Fortran compiler on the virtual machine, gfortran, version 7.3.0, explicitly required libraries.
The "caf" command the documentation referred to did not exist, but the shell informed me that a package "open-coarrays-bin" was available for download.
As I am writing this up, it may be that I forgot to run "make install".
My question boils down to: could you add the name of the Open Coarrays package or packages to the information. I had trouble finding it before I typed in "caf hello.f90". That was the reason I tried building it from source.
Sorry to bother you with such a foolish and simple question.

For the 'cmake-make' way of installing, it does look like you have to specify the links. I use this:
$ /opt/mpich/bin/mpifort -fcoarray=lib <filename.f90> -lcaf_mpi
$ /opt/mpich/bin/mpirun -n <num_images> ./a.out

Ah, thanks - I thought it was something like that, but I could not find the
proper invocation.
Regards,
Arjen
2018-08-14 18:56 GMT+02:00 Vishnu V K<EMAIL_ADDRESS>
For the 'cmake-make' way of installing, it does look like you have to
specify the links. I use this:
$ /opt/mpich/bin/mpifort -fcoarray=lib <filename.f90> -lcaf_mpi
$ /opt/mpich/bin/mpirun -n <num_images> ./a.out
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sourceryinstitute/OpenCoarrays/issues/577#issuecomment-412942012,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvsR2NHsaoHt3CF3GoTBZMh66-aHTm_ks5uQwEmgaJpZM4V8GiU
.

Hi @arjenmarkus!
It would help to know what operating system you are on, and to include the information from the bug report section of the issue template.
I'm not sure I completely understand your question.

As I am writing this up, it may be that I forgot to run "make install".

OpenCoarrays comes with two wrapper scripts, similar to MPI. One for compilation, and one for running the compiled coarray code. These scripts are named caf and cafrun and get installed into the bin dir of the installation tree. If you are building directly with CMake followed by make (my preferred method) then the developer/quickstart instructions at https://github.com/sourceryinstitute/OpenCoarrays/blob/master/INSTALL outline this process fairly well. If you specify -DCMAKE_INSTALL_PREFIX=/some/non/standard/path then please ensure that /some/non/standard/path/bin is in your $PATH so that your shell can find caf and cafrun. make install is a critical part of the installation process to ensure that you can just type caf or cafrun without a full path. If you don't sed -DCMAKE_INSTALL_PREFIX=... then this should install into a system-wide location such as /usr/local. This approach will likely require you to have elevated permissions when you run make install (e.g., sudo make install).

My question boils down to: could you add the name of the Open Coarrays package or packages to the information. I had trouble finding it before I typed in "caf hello.f90". That was the reason I tried building it from source.

I don't understand this question. What do you mean by "the information". And what do you mean by the OpenCoarrays package or packages?

The "caf" command the documentation referred to did not exist, but the shell informed me that a package "open-coarrays-bin" was available for download.

We do not package OpenCoarrays in various OS distribution's package managers. Some OSes like Arch Linux, Ubuntu, FreeBSD, and macOS (via Homebrew) do provide OpenCoarrays packages. These are maintained by the package maintainers for those OS distributions. We have no control over the packaging ourselves, so if you find the process of installing from package management to be unsatisfactory, then please report that to the OS/Package maintainers.
@uihsnv said:

For the 'cmake-make' way of installing, it does look like you have to specify the links. I use this:
$ /opt/mpich/bin/mpifort -fcoarray=lib <filename.f90> -lcaf_mpi
$ /opt/mpich/bin/mpirun -n <num_images> ./a.out

I'm not sure what to make of this. If you have the caf and cafrun scripts installed and on your path, then you can use them instead of explicitly passing flags to the mpifort/mpif90. It is possible that package maintainers only choose to install portions of OpenCoarrays (i.e. just the main library) or that they split the assets into different packages like opencoarrays-dev for module files, header files and libraries and opencoarrays-binary or something for caf and cafrun scripts (although this is dumb, IMO, but they might be doing this). If you install via package management and there is no option for installing the compiler wrapper script and the job launcher script, then you will have to explicitly pass the libraries and extra command line flags to the underlying MPI/GFortran commands yourself, as @uihsnv shows above.
@arjenmarkus if you're installing from source yourself, and having trouble calling CMake and make directly, the install.sh script tries to verify all prerequisites are installed, and then build OpenCoarrays and provides some instructions for setting up your environment after success. By default it will install missing prerequisites and install everything into the prerequisites/installations folder in the source tree, so you don't need sudo privileges.
I hope my response helps, and that you are able to install and experiment with OpenCoarrays successfully.
Thanks,
Zaak

@zbeekman https://groups.google.com/d/msg/opencoarrays/uRlWSby8dY8/f44hxeQsBwAJ

Done. https://github.com/sourceryinstitute/OpenCoarrays/issues/579

@arjenmarkus Is this issue sufficiently resolved for you? Can we close this ticket?

Sure, the main reason for putting in this question was my own incompetence
with package managers and package repositories. I assume I am not the only
one suffering from this and it would of course be very nice to be guided
along without having to hunt for information. But I quite understand that
you have no control over the way Linux distributions organise their
packages (I noticed the -bin and -devel versions - hardly necessary, I'd
say, and only confusing)
If I come around to it, I may try and suggest some changes to the
installation document to make such things clearer for people who, like me,
get confused by package managers :).
Regards,
Arjen
2018-08-16 22:35 GMT+02:00 zbeekman<EMAIL_ADDRESS>
@arjenmarkus https://github.com/arjenmarkus Is this issue sufficiently
resolved for you? Can we close this ticket?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sourceryinstitute/OpenCoarrays/issues/577#issuecomment-413676222,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvsR51_a1R_d6McsmFqBAJLLU--icfpks5uRdd0gaJpZM4V8GiU
.

@arjenmarkus What distro are you on? As far as packaging is concerned, typically, -bin packages have the binaries, and -devel ones have the header files. Since OpenCoarrays is meant part of a compilation process (for whatever fortran code you're compiling), I'm guessing you need both.

I am using Lubuntu on this virtual machine. You are probably right: to use
OC you need both. But I do not quite see the rationale behind this
dichotomy - it is not a matter of disk space, so why not put everything in
one package? Just complaints from a grumpy old man ;).
Regards,
Arjen
2018-08-17 11:27 GMT+02:00 Vishnu V K<EMAIL_ADDRESS>
@arjenmarkus https://github.com/arjenmarkus What distro are you on? As
far as packaging is concerned, typically, -bin packages have the
binaries, and -devel ones have the header files. Since OpenCoarrays is
meant part of a compilation process (for whatever fortran code you're
compiling), I'm guessing you need both.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sourceryinstitute/OpenCoarrays/issues/577#issuecomment-413810439,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvsR5TpZmiQ9Dz2O76MEsJDXvnfqe22ks5uRoxsgaJpZM4V8GiU
.

@uihsnv Thanks for explaining that. For some time, I've been wondering about the bewildering way in which Linux package managers name packages (e.g., not sure who decided to put a hyphen in the APT open-coarrays package) and I couldn't figure out why I seemed to need the -devel version for every package I've ever installed.  Now at least one mystery is solved!

:) I guess I am not the only one puzzled by this.
Regards,
Arjen
2018-08-17 16:14 GMT+02:00 Damian Rouson<EMAIL_ADDRESS>
@uihsnv https://github.com/uihsnv Thanks for explaining that. For some
time, I've been wondering about the bewildering way in which Linux package
managers name packages (e.g., not sure who decided to put a hyphen in the
APT open-coarrays package) and I couldn't figure out why I seemed to need
the -devel version for every package I've ever installed. Now at least
one mystery is solved!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sourceryinstitute/OpenCoarrays/issues/577#issuecomment-413879366,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvsR5_-i42nuZiHDXj2I--epOrPujI7ks5uRs-0gaJpZM4V8GiU
.

Honestly, building from source is usually quick and fairly straightforward. Also, currently there is only 2.0.0-RC1-2 in Ubuntu, AFAICT, so you will also get more up-to-date software if you build from source. But I guess this also requires you to know about the package manager to get the right version of GCC etc... You can use install.sh to compile your own MPICH and GCC, however, that will indeed take some time.
I'm going to close this. Feel free to open an issue with recommendations for improved language in INSTALL and INSTALL.md


Add missing include

std::inserter is defined in <iterator>. libcxx 16 no longer includes this header transitively, therefore add it explicitly.

Kindly merge, thanks (the button is greyed out for me).


upgrade storm from 1.0.5 to 1.0.6

Also remove temporary use of reflection to invoke Supervisor.launchDaemon() since that is no longer needed with storm 1.0.6
Also change default mesos versions in the pom.xml to 0.28.2 instead of 0.27.0.

@JessicaLHartog : please review when you have a chance!

@JessicaLHartog : thx!


general corpus info

Do you need content to all be formatted ready for RASA? eg nlu.md or `stories.
facebooks https://parl.ai/ project is aggregating conversational data from a lot of sources, with some tools to download.
I also have a repo going here
https://github.com/dcsan/corpus/tree/master/convo
with some famous corpii like the cornell movie dialogs. but none of that is rasa formatted.
perhaps I could add some simple scripts to munge the data for those well-known corpii, but do you have any examples of such already?
I also wanted to prepare data for directly importing into a graphDB like neo4j, in order to find connections, would this be relevant to rasa at all?
pointers to any other raw conversational source would be appreciated. I'm personally looking for a bunch of daily threaded conversations for a language learning project, but haven't come across any decent such material

edit formatting instructions:
https://github.com/RasaHQ/NLU-training-data#how-do-i-donate-my-training-data

Hey @dcsan,
Thanks for submitting the issue.
Yes this would be ideal, if we consistently maintain the format, it will be easier for others to find the type of training data they are looking for and adapt it to new training models.
There is more information on training data format and Rasa NLU here: https://rasa.com/docs/rasa/nlu/training-data-format/
Regarding possible scripts and importing into a graphDB I will discuss with the team and get back to you asap. :)

Hey @dcsan,
Thanks for submitting the issue.
Yes this would be ideal, if we consistently maintain the format, it will be easier for others to find the type of training data they are looking for and adapt it to new training models.
For the same reason, we are currently, we are also only accepting training data that includes intents
There is more information on training data format and Rasa NLU here: https://rasa.com/docs/rasa/nlu/training-data-format/
It's unlikely we have a script prepared to help with this, but I will ask the team and get back to you asap. :)


Issue with bitrise integration

Hi,
I am trying to use cocoapods-binary with bitrise CI. I am using cache-pull and cache-push steps in bitrise workflow. cocoapods-binary creates Pods/_Prebuild in the cache with the binary versions of pod. But when I rebuild the app again, it continues to prebuild and install the pods again and compile the pods (ignoring the contents of cache).
My understanding is that it should not compile the pods again. Am I missing something?

Hey,
its related to Bitrise cache plugins related. Please check blog post


Alternative turndown CLI

This CLI is made similar to the cli branch of the base repository except with minor changes.
It mainly changes the usage of the --input option.
Now with this, you have to use turndown -i to read from standard input.
turndown without options just brings up the help information.

Now with this, you have to use turndown -i to read from standard input.

is it replacing --input or complements alternative as -i?

Now with this, you have to use turndown -i to read from standard input.

is it replacing --input or complements alternative as -i?

I suppose it was either turndown -i or turndown --input.
The only change I wanted from the other "CLI" pull request #284 is that instead of echo ... | turndown it would be echo ... | turndown [--input|-i].
I thought changing this would solve the issue of it failing to read from /dev/stdin but in the end, I still don't know how to use the Commander.js API so I gave up.

@joshcangit IMHO changes seemed hard, package.json changes might have lots of side effects, since project has larger use, small incremental changes OR changes does not disrupt existing users

issue of it failing to read from /dev/stdin but in the end, I still don't know how to use the Commander.js API so I gave up.

Seems good idea, Instead of PR, might open a issue and disscuss with developers. @domchristie any input?

I liked the command line interface since it could accept piped data.
Sadly that version of turndown was removed from npmjs.com so maybe I can assume turndown won't maintain command line features yet or ever.
I'll just close this PR.


chore: allow TRACE log level

What does this PR do?
Allow to specify log level TRACE which is a valid Traefik log level.
see: https://doc.traefik.io/traefik/observability/logs/#level
Motivation
I tried to debug something and needed TRACE as log.level which was forbidden by this chart:
Error: Failed to render chart: exit status 1: Error: values don't meet the specifications of the schema(s) in the following chart(s):
traefik:
- logs.general.level: logs.general.level must be one of the following: "INFO", "WARN", "ERROR", "FATAL", "PANIC", "DEBUG"

More

[x] ~Yes, I updated the tests accordingly~
[x] Yes, I updated the schema accordingly
[x] Yes, I ran make test and all the tests passed

@fty4 Thanks for this PR :+1: .
You're right, we missed it.
I left small suggestion in order to display (and configure) it with severity order, like on Traefik Proxy documentation.
Wdyt ?

Hi @mloiseleur
just saw after I deployed my modified version that no log on level TRACE was printed.
After reviewing the traefik/traefik sourcecode I saw that not one logger.Trace() was called - I guess the level is never used.
zerolog allows to specify that level - because of that it might be "allowed".
Knowing this we might just close this PR, right?
Might better to remove the level from the main repository documentation?

I am fine with that - you can merge it!
Also we get the correct order of the severity as you suggested.


SingleTablePersister issue

I am using your bundle for mssql server support, but we want also to use "single table inheritance" feature from Doctrine, but there is an issue, I found what it is, and I'm asking if it can be fixed in the feature?
The issue is that your bundle overwrite Doctrine\ORM\Persisters\Entity\SingleTablePersister, in different files from "/doctrine/orm/lib/", with MediaMonks\MssqlBundle\Doctrine\ORM\Persisters\Entity\SingleTablePersister, but this class doesn't exists there, so we receive an error. This is done in MediaMonks\MssqlBundle\Composer\ScriptHandler.
So, can this be fixed?
Thank you.
Best regards,
Paul

Since the SingleTablePersister eventually extends the BasicEntityPersister (which works) I think it's a typo in the ScriptHandler. Could you try to rename "SingleTablePersister" there to "JoinedSubclassPersister" and see if it works?
Also, if you receive an error somewhere it's helpful to also put it in this issue.

It's a vendor package/bundle, so we should not change any code there.
The JoinedSubclassPersister method's "executeInserts" throw an exception "throw new \Exception('Not implemented with UTF8 support yet, implement it or avoid joined subclasses');" so we can't use it.
The error is a simple PHP error.. the class MediaMonks\MssqlBundle\Doctrine\ORM\Persisters\Entity\SingleTablePersister does't not exist(nor the file), and it is used in doctrine ORM classes, like UnitOfWork, because the MediaMonks\MssqlBundle\Composer\ScriptHandler updated the files and replace this class from Doctrine with one from MediaMonks\MssqlBundle.
So, what I'm want to say:  the bundle can be updated in a way that, to create that file/class, or to remove the "SingleTablePersister" from that replacing  array in MediaMonks\MssqlBundle\Composer\ScriptHandler:line:44
Unless this is done, anyone who want to use this package with single table inheritance will not be able.
Thank you for your answer.
Best regards,
Paul

It woks if I remove the SingleTablePersister from that array

I've updated the package with the replacement of the "SingleTablePersister" class removed, if you update your package with "composer update mediamonks/mssql-bundle" you should be good :) Thanks for reporting this.

Alright, Thank you very much.
Have a good day.


Fix content type on pypi

Currently, the README is not properly displayed on pypi, fix that by selecting the proper content-type.

Merged as https://github.com/konstruktoid/python3-vagrant/commit/9bfebd872ab75fc8a398241f7874757d1bf22203

cool, thanks

Closing as no longer valid https://github.com/pycontribs/python-vagrant/blob/main/setup.cfg#L10


Extend/improve Gradle project wizard

Summary
Based on the jmeinitializer, this PR aims to add similar functionality to the JME SDK itself.  In the future, the SDK could be update to call the initilizer API to get a new Gradle project (this is how the NB Spring Boot plugin works..).
The new Gradle game wizard now uses NB's built in FreeMarker template engine to replace the build.gradle and settings.gradle files from the .zip with templated versions depending on what the user selects.
Templating the settings.gradle means the Project will display with the correct name in NB's Project Window.
New wizard workflow

Example build.gradle
plugins {
    id 'java'
    id 'application'
}

group 'com.mygame'
version '1.0'

mainClassName = "com.mygame.Main"

repositories {
    mavenCentral()
    jcenter()
    maven { url 'https://jitpack.io' }
}

project.ext {
  jmeVer = '3.5.0-stable'
}

project(":assets") {
    apply plugin: "java"

    buildDir = rootProject.file("build/assets")

    sourceSets {
        main {
            resources {
                srcDir '.'
            }
        }
    }
}

dependencies {

  // Core JME
  implementation "org.jmonkeyengine:jme3-core:$jmeVer"
  implementation "org.jmonkeyengine:jme3-desktop:$jmeVer"
  implementation "org.jmonkeyengine:jme3-lwjgl3:$jmeVer"

  // Suppress errors / warnings building in SDK
  implementation "org.jmonkeyengine:jme3-jogg:$jmeVer"
  implementation "org.jmonkeyengine:jme3-plugins:$jmeVer"

  // GUI Library
  implementation "com.simsilica:lemur:1.15.0"

  // Physics Library
  implementation "com.github.stephengold:Minie:4.4.0"

  // Networking Library
  implementation "org.jmonkeyengine:jme3-networking:$jmeVer"

  // Additional Libraries
  implementation "org.jmonkeyengine:jme3-effects:$jmeVer"
  implementation "org.jmonkeyengine:jme3-terrain:$jmeVer"
  implementation "com.github.stephengold:Heart:7.2.0"
  implementation "com.simsilica:zay-es:1.3.2"

  // Assets sub-project
  runtimeOnly project(':assets')
}

jar {
    manifest {
        attributes 'Main-Class': "$mainClassName"
    }
}

TODO
This could be further expanded to user NB's built-in Gradle wrapper class to run gradle init, this would allow the user to set the Group etc. and would allow create of sub-projects for different build targets (iOS, Android etc.).  I don't know enough about jMonkey build targets outside of Linux/Windows desktop yet though, so decided to submit this PR as-is for now...

Drop down options are represented by Enums.  Adding a new option is as simple as:

Add a new Enum entry
Add the description into bundle.properties
(For JME Version only) create the patch notes .html file

Very awesome :)
Without having looked at the code, yet:

and would allow create of sub-projects for different build targets (iOS, Android etc.).
This is something we want to go for, see #302 . That will also replace the current template.

Speaking of the example build.gradle file: We need to remove jcenter() as that is taken offline.
Besides that, a small change to the formatting of the additional libraries: jMonkeyEngine Virtual Reality (jme3-vr) (capitalization and not losing the 3 🙂)
I'll have a look at the code and test the feature soon! thanks!

The code is looking good 😄 . Did you have prior experience with Netbeans or did you just learn that by doing?
I am not sure what happens to codacy, at least the inline comments seem to be odd sometimes and also not sure if we can filter/prevent it from analyzing generated code, besides that it may have some valid findings here and there.

@MeFisto94 thank you for your kind words and feedback:

We need to remove jcenter() as that is taken offline.

The most recent thing I saw was this jFrog update saying jCenter was going to be kept read-only indefinitely now?  Is it ok to leave it in?  I wanted to be able to offer @pspeed42 's Zay-ES etc as recommended 3rd party libraries and jCenter seems better to use than JitPack if possible...

Besides that, a small change to the formatting of the additional libraries

Will find some time to fix this week/weekend :+1:  Do you prefer me to push an additional commit (so you can easily see the changes), or to squash + force push so it is ready to merge?

Did you have prior experience with Netbeans or did you just learn that by doing?

I've submitted a handful (of admittedly fairly straightforward) PRs to the main NB project :+1:
@neph1 Thanks for taking a look!!:

Does this solve any of the issues with the current template, as well?

The assets project should work nicely, which was my initial inspiration (although @MeFisto94 fixed that in the existing template whilst I was working on this).  The project and asset projects will display properly in the SDK now, as NB picks them up from the settings.gradle and this PR will template that with the correct project name.
A part 2 to this PR should be to create build targets for Desktop / Android / iOS, and initialise the Gradle project using NB's gradle wrapper class (to do a gradle init) and create sub-projects.  I've only tinkered with JME on desktop, so don't know enough about what the ideal multi-target project structure should look like, but if someone can provide instructions, I'd be happy to take a look....

Would you consider looking through the analysis issues? It seems a lot of them could be solved by simply running the auto-formatter.

I think most of them are caused by using the NB Matisse GUI builder, and the static analysis hates the code it produces.  But as @MeFisto94 says, there are probably also some legit problems in there.  I'll sift through this week/weekend and tidy up where needed :+1:

The most recent thing I saw was this jFrog update saying jCenter was going to be kept read-only indefinitely now?

Then that's okay, still not really awesome, but if paul hasn't migrated yet, that probably means we should keep it for ease of access, as you say.

Do you prefer me to push an additional commit (so you can easily see the changes), or to squash + force push so it is ready to merge?
Just do an additional commit. I mean in this case only the final form matters and not the intermediary changes, but github can easily squash merge for us anyway.

but if someone can provide instructions, I'd be happy to take a look....
I think this should be an engine discussion, or rather: already is. I think I created an issue once and there may even be pending PRs with other suggestions

@MeFisto94 I've added some additional commits:

Changing what seemed sensible in the Codacy report (a lot of the errors were indeed from the auto-generate NB UI code)
Fixed the typos you requested fixing + hid the unused title bar of the Additional Libraries jTable (looks much better)
Added JME 3.5.1 to the list of engine options, now it is available

Hopefully, that is enough for now?  As I said, if there is a community consensus on what an ideal multi-target project structure should look like, I'll happily come back and redo parts of this :)

I also realised I made a mistake with the .zip file, so that is fixed now too

Then that's okay, still not really awesome, but if paul hasn't migrated yet, that probably means we should keep it for ease of access, as you say.

Paul has migrated :)

Nice work! Assets do work, that is confirmed. I think all around solid work :) I hope it is not too daunting for the first time user, so many mystical selections.
The template gives only one warning:

That is the topic you also discussed. But I think this is definitely a good start! I'll leave this to @MeFisto94

While jCenter may now be replaced by paul, we'll probably defer that to the new multi-target project structure at some point, so it's good to go.
This is because older versions still are on jCenter then, I guess.
We just need to ensure to also push engine side multi target gradle templates at some point, otherwise this will be gone and at some point in the future, when everyone wants the latest paul libraries, they always need to fix up things.
Actually: Does the template seamlessly allow you to use pauls more recent libraries? I guess since the artifactId stays the same, it should "just" work?

Actually: Does the template seamlessly allow you to use pauls more recent libraries? I guess since the artifactId stays the same, it should "just" work?

@MeFisto94 - yes, just need to change the version number in the build.gradle and the new Gradle will pick up the new version from Maven Central, rather than the old version from JCenter
Saying that, I've updated the enums with the latest version of JME (3.5.2-stable), all of Paul's libraries and Stephen's libraries..

@peedeeboy sorry about the hassle. Could you resolve the conflicts and lets then merge this?

@tonihele - squashed, rebased and tested on 3.4.1 SDK :+1:

Nice work, I'll run it through first thing tomorrow!


Features added removed

Added:

Find my buddy button (feature is not added, just the button)
Organize a watch party button (feature is not added, just the button)
Tune squad fans Teams group members' profiles (colleague.js)
Upcoming NBA games / tunesquadfans mail group calendar blue category events (games.js)
Upcoming watch parties / tunesquadfans mail group calendar red category events (events.js)
Card color updated
Person card text color updated

Removed:

Files
Mails

@waldekmastykarz can you please review the changes and merge if it looks good to you.


Client starts bigger than screen size

Windows 11 Home
2560x1440 screen
I connect to my cabinet and get this fullscreen

You have some additional scaling set for Windows? The UI starts with a width of 1920px, so I'm suprised that the initial size exceeds 2560px.

Yes, it's related to scaling. At 100% I can use the app.

This is a 14 inch laptop so 100% scale at that resolution is tiny.

I see. Thank you for your feedback. I'll come up with a better solution here with the next update. (~1 week)

I'm grateful for every feedback. The playlist management/support is something that will come. For the media search I would have to ask the PINUp Popper developer how open he is to share his infrastructure with other tools.

Fixed with 1.3.4


Update PollingSubscriberConnection.java logging level

It looks like library try to recover in case of failed pull.
It make sense to change logging level to Warning in order to distinguish from critical errors.

Changes Unknown when pulling 95cfacd66a9cfb0f8e0ae134c5510f7199e59eae on AntonZarutsky:patch-1 into ** on GoogleCloudPlatform:master**.

Adding @pongad to review

I thought I did this 😆  LGTM.


Support for recognizing references to classes

The issue:
class Video:
    def something(self):
        print('something)

v1 = Video(); v2 = Video(); v3 = Video()
videos = [v1, v2, v3]
for v in videos:
    v.something()

In the code above, pylint does not recognize that v belongs to the Videos class. So if I Ctrl+click on something() at the v.something() line, I'm not taken to the Video class. This also makes it difficult when renaming member variables and member functions. Please improve the linter to provide support for such a scenario (and more scenarios if any, where the references to functions, classes or variables aren't being recognized).

After adding the missing end quote in the print('something) call, Pylance is able to do what you want. Ctrl+click takes you to the declaration of Video.something. Rename renames the declaration and usage of something.
If you're not using Pylance already, give it a try! :)

I'm already using PyLance. To understand what I mean, please do a Ctrl+click on isOpened on the line if video.video.isOpened(): at line 189 in this project. You'll see that clicking on it does not take you to the isOpened function in the VideoFile class definition.

@nav9, pylance is built on top of pyright, which is a static type analyzer and checker, not a linter. Linting typically refers to a tool that enforces code style conventions. If you're interested in a linter, pylint is a great choice.
Pylance makes use of sophisticated static type analysis techniques, but there are limits to what it can determine statically, especially if you do not use type annotations in your code.
In your code, the variable video has an unknown type. You can tell by hovering over the variable, and you'll see (variable) video: Unknown. Its type is unknown because it is assigned a value from the iterable expression self.videos, and the type of this instance variable is deque[Unknown]. When you initialize self.videos, you could provide type information (self.videos = deque[VideoFile]() or self.videos: deque[VideoFile] = deque()).
For more information about type declarations, type inference, refer to this documentation.
Your code is also making use of the cv2 library, which is not written in Python. That means pylance cannot extract static type information from the code. For this to work, the maintainers of cv2 would need to provide type information in the form of type stub files. See this issue for more information.

Pyright's type analysis is very sophisticated, but it's not omniscient. It can't "guess" what the type of a variable might be based on its name, for example. It bases its analysis on the type information available to it.

I agree that's how it's currently done. I was suggesting adding one more layer of intelligence, which would see a variable, and trace it's origin, similar to how a human would. If it's not practical to implement it, please ignore my request. However, with the advent of so many other AI algorithms, perhaps such intelligence is something that could be built into PyLance.

Pyright's type analysis is very sophisticated, but it's not omniscient. It can't "guess" what the type of a variable might be based on its name, for example. It bases its analysis on the type information available to it.

Let me get this straight, so a human, which is not omniscient either can figure it out, by Pylance/pyright would need omniscient to do similar? Nav9's question/statement is essentially "I need more intelligence from the analysis algorithm". That is a fair request, I need the same thing. I don't expect mind reading, but if a human can figure it out through some process, the algorithm should be able to as well.
Instead of making excuses and trying to justify the limitation in your software, just admit that either (1) the feature isn't supported yet; or (2) its a good idea, but you don't have the ability to figure out how to implement it.


[SourceKit] Don’t set DisableModulesValidateSystemDependencies to true

It appears that https://github.com/apple/llvm-project/commit/a6ebd3083dbf8aadae58f6f2a2f1071976649d56 changed the behavior of -fno-modules-validate-system-headers (aka. DisableModulesValidateSystemDependencies) in conjunction with -fmodules-validate-once-per-build-session: Before that change, -fno-modules-validate-system-headers needed to be passed for -fmodules-validate-once-per-build-session to have any effect (we were always validating system dependencies if -fno-modules-validate-once-per-build-session was not set). After the change, -fno-modules-validate-once-per-build-session causes system dependencies to never be validated, independent of the build session timestamp.
This change should have no effect on Xcode because it adds -fmodules-validate-system-headers to the compiler arguments for Swift files, which overrides SearchPathOpts.DisableModulesValidateSystemDependencies = true;
rdar://129046909

@swift-ci Please smoke test

@swift-ci Please smoke test


API reference in angular-meteor.com

(same button switch as tutorial)

Done in https://github.com/Urigo/angular-meteor/pull/1225


Feature: Config Checker and Config Generator

Hello everyone,
First of all, thank you @pulquero for this great project!
I encountered issues generating a correct and valid config.json, so I created a small Python script to help validate the config.json without having to restart the service constantly. The script uses jsonschema to validate the JSON. Since jsonschema is not included with Venus or this project by default, I added a helper script that asks if it should be installed automatically if not already present.
Usage instructions are described in the README.md.
Additionally, I considered Issue #57 and put together a simple config generator with some validation rules. While it’s not very complex or fancy, it works as intended. If anyone is interested, the generator could benefit from some refactoring.
Nonetheless, it is functional and, in my opinion, reasonably well-presented. I believe it will make it easier for people to use this excellent project!
I placed the config generator in the docs/config_generator folder so that it can be referenced for GitHub Pages. This way, the generator will be easily accessible as a web service. Note: The script is plain JavaScript without any libraries and does not store or send data anywhere.
You can test the config generator by downloading the index.html from docs/config_generator and open it in your browser. Alternativly it is currently also available from my fork: https://kaigrassnick.github.io/BatteryAggregator/config_generator/index.html
@pulquero if this PR finds it way into the Project and you want to host the config generator using the github pages you can do it as described below:

Go to the settings page of this Project / Repository.
Click on Pages
Under Build and deployment there is a Headline called: Branch.
There you can select the Branch main ( if it was merged into the main branch already )
Also select the folder /docs beside the branch
Save
Now, the page will be available after a couple seconds at: https://pulquero.github.io/BatteryAggregator/config_generator/index.html

Last but not least, i fixed some typos in the README.md file
Resolves pulquero/BatteryAggregator#57

Thank you so much for this!

Works - if we no could add some tool tips maybe explaining the options online then it would be perfect for beginners.
At least it works and created a valid file for me.
thanks for picking this up!!


[WIP] ZEPPELIN-209 Folder structure for notebook

https://issues.apache.org/jira/browse/ZEPPELIN-209
Treating '/' as path separator and navigating notebook using submenu

don't we need some kind of folder browser just like the nbviewer of ipython ?

What is the status of this pr now?

I'm not working on it at the moment.
Basically this PR works, but it need to be polished and there're some bugs.
If somebody have better front-end skill can look at it, that would be really helpful.

@Leemoonsoo I am working on some refinements of this pr on this branch: https://github.com/zhongneu/incubator-zeppelin/tree/test-folder
There are still some bugs:

need a better "folder opened" icon. Any recommendation on this? it seems the current icon library doesn't' include one...
the mouse cursor is not correct over folders on homepage
the first item inside a folder in the pull-down list doesn't work well

I have almost no experience in front-end development, so any guidance will be really appreciated.

@Leemoonsoo @corneadoug I've made a coupe of fixes, and now it works pretty well, but still have one problem: we can click the folder in dropdown, and goes into an empty notebook. I am not sure about how to resolve this properly. Besides, the css styles for dropdown-menu and dropdown-submenu seems a little bit mess. I am not sure whether it is OK.
I don't want to introduce any bad smells into the frontend code, so I will be really appreciate your review and guidance.

@zhongneu How about creating a PR instead?
It will be easier to comment on the code. You can always base your PR on this one.
Once it's done, ping me in it and I will check your code and try to provide some guidance, and also try to provide some solutions to your problems.


Use a nicer command to tail pod logs

While what we have also works, labels is a nicer
way to select k8s objects.
nginx-loadbalancer-kubernetes $ kubectl -n nlk logs -f $(kubectl -n nlk get po -l "app=nlk" --no-headers -o custom-columns=":metadata.name")
time="2024-02-28T20:35:49Z" level=info msg="Settings::Initialize"
time="2024-02-28T20:35:49Z" level=info msg="Certificates::Initialize"
time="2024-02-28T20:35:49Z" level=info msg="Certificates::Run"
I0228 20:35:49.398213       1 shared_informer.go:273] Waiting for caches to sync for nlk-handler
I0228 20:35:49.500005       1 shared_informer.go:280] Caches are synced for nlk-handler

Proposed changes
Describe the use case and detail of the change. If this PR addresses an issue on GitHub, make sure to include a link to that issue using one of the supported keywords here in this description (not in the title of the PR).
Checklist
Before creating a PR, run through this checklist and mark each as complete.

[ ] I have read the CONTRIBUTING document
[ ] If applicable, I have added tests that prove my fix is effective or that my feature works
[ ] If applicable, I have checked that any relevant tests pass after adding my changes
[ ] I have updated any relevant documentation (README.md and CHANGELOG.md)

@ciroque @chrisakker


Proposal: A protocol watch processes can implement

Hi guys
Because I was unhappy about the situation with watch-processes, or mainly their inability to coordinate with other watch-processes, I recently started my hobby project task-graph-protocol.
The main idea I had was a simple protocol that watch-processes could implement to communicate with the task-runner, so that the task runner knows when a task is completed even if the process does not exit, and the task knows when to re-start.
I haven't heard of wireit before and because this whole protocol doesn't make sense without a task-runner implementing it, I also implemented a simple task runner for it. But wireit of course is much more mature, and it would be much simpler to integrate the protocol into it than to extend my task runner to be as powerful as wireit.
So my proposal is to integrate the task-graph-protocol or the idea of it into wireit. And if you're really going to do it, we could try to bring all the tools like typescript, webpack, etc on board. That's also much easier if the protocol is backed by a major task runner.
What do you think? :)
Btw, I have already implemented the protocol for TypeScript, it's included in the repository.

Hi @VanCoding. Awesome, I'm very interested in this topic!
We have casually discussed something along these lines before -- I filed https://github.com/google/wireit/issues/32 but there isn't much detail there so let's discuss here.
My thought was that we could implement the Bazel persistent worker protocol, which is described at https://bazel.build/remote/persistent. From a high level, I think it has similar goals to your protocol.
Are you familiar with the Bazel persistent worker protocol? I would be curious to get your take on it, and how it compares to your design. An advantage of piggy-backing on the Bazel worker protocol for this use-case would be that any tools that add support for it would get persistent worker support in both Wireit and Bazel.

@aomarks Wow, that response was quick! :sweat_smile:
No, I'm not familiar with the Bazel worker protocol, but I'm going to give it a read tomorrow.
But in the meantime as a sidenote:
The design I came up with basically had 2 goals in mind. 1) It should be as simple to implement as possible, so that build tools can implement it very easily. 2) the task runner should not have to know if a process is implementing the protocol or not and it should be easily detectable at runtime. So a process can at any point "upgrade" or "opt-in" to the protocol.
My protocol also has a functionality to signal to the task runner that the task's files have changed. This could be complementary to the file watching logic wireit already has. If the build tool supports the feature, it would no longer be needed to specify which files to watch in the task again.
With that said, I'll come back to you after reading about the Bazel worker protocol :smiley:

@aomarks I've read the page about Persisent Workers now. It looks like a really powerful protocol! I think it could definitely be used to achieve what we want, but I'm not sure if it really is intended for that. It seems to focus more on multiplex workers and sandboxing, which are things that are also interesting, but could also be solved separately.
Maybe I misunderstood something, but I didn't quite get why the protocol even needs to be aware of multiplexing and sandboxing. Multiplexing could be the tasks job to do, and sandboxing could be entirely the task runners job, without the task even noticing it.
My gut feeling is that it's probably easier to make tool creators implement a protocol that's stripped down to solve only the one thing that cannot really be done without them implementing it, and hence is simpler for them to understand and implement.
I mean the only thing that we really need is a way to tell a running process to start the task again, and maybe a way to tell it to only restart the task when we tell it to. Everything else could be solved without a protocol at all. For example, getting notified when the task completed, and if it failed could also be done by parsing the stdout & stderr (which you're currently even doing in wireit).
But maybe there doesn't even have to be the one and only protocol. It's also possible to support multiple. Tool creators could then pick the one that fits their needs best. task-graph-protocol could then be the zero-config option :stuck_out_tongue_winking_eye:

@aomarks Were you able to think about it a bit more?


Howto java, brickpi and pi 3 model B+

So, I'm trying to get my new brickpi and Pi 3 model B+ to work with java.
First it seems that ev3dev jessie does not support the newest model B+.
Now it seems like ev3dev-lang-java only supports the brickpi on jessie.
So, what's the idea here? Does this mean the latest brickpi starter kit is not supported?
I mean since it comes with the latest model B+ pi.
What is missing in ev3dev to get this working?

Hi @mingan666, Sorry by the delay, I didn´t see the alert.
I didn´t have time, but I would like to add the support.
Don´t worry, this weekend, I will review the latest branch to do some changes and together we will fix the minor issues to offer that support. Ok?
Cheers
Juan Antonio

That sounds great.
I've tested the 2.4.6 snapshot and found that at least the platforms class contains errors (all motor ports are set to A). Also I found an error regarding the fake ev3dev tmp path (no slash, so it tries to create in the root).
I'm very busy the coming week but thereafter I should be able help out also. Just if I know where to start I might be able to contribute (when time allows). I found several snapshots but don't know what they are for or how to fork (only succeed to fork the main branch)

For the development, use the branch: 443
https://github.com/ev3dev-lang-java/ev3dev-lang-java/tree/feature/%23443
This is the stable branch for Stretch with Dual support for Jessie & Stretch.

Which method should I use? Fork, new branch or clone and just push to the same branch?

Now I have fixed the problems I encountered earlier and I'll continue using that my local version to continue with my robot and see what other problems I might run into.
Please let me know any comments and how to continue with eventual merging of the fixes.
Regarding your questions:

I use BrickPi3 together with Rasberry Pi 3 B+
After your input regarding OpenJdk 10 I tested a tried lot and finally got it to work. Currently I'm using it both on the Pi and in my development.

Image file:         ev3dev-stretch-rpi2-generic-2018-07-26
Kernel version:     4.14.59-ev3dev-2.2.2-rpi2
Brickman:           0.10.0
BogoMIPS:           38.40
Board:              board0
BOARD_INFO_HW_REV=A020D3
BOARD_INFO_MODEL=Raspberry Pi 3 Model B Plus Rev 1.3
BOARD_INFO_SERIAL_NUM=000000003e6b500d
BOARD_INFO_TYPE=main
Board:              board1
BOARD_INFO_FW_VER=1.4.6
BOARD_INFO_HW_REV=3.2.1
BOARD_INFO_MODEL=Dexter Industries BrickPi3
BOARD_INFO_SERIAL_NUM=F247E348504D5741372E3120FF0E1F11
BOARD_INFO_TYPE=aux

This is the spirit!!!
Congratulations!!!

I will create a branch  and later you could do a pull request to merge your changes.
Cheers

Good morning @mingan666,
you have the branch available!
https://github.com/ev3dev-lang-java/ev3dev-lang-java/tree/feature/%23518
And thanks for your collaboration in the project.

What is your interest with the usage of BrickPi?
What kind of robots do you like to build?

Juan Antonio

I'm just playing around for now. Bought mindstorms this summer and quickly decided I wanted to use java. However, the ev3brick was way to slow for my patience.

Hi @mingan666,
I was checking your previous comments, can you confirm that you are using OpenJDK10 in your brick?

Yes I am. However, I just started out so I haven't really used that much of the implementation yet.

I am wondering how I can install this on my brickpi 3.

Hi @HaginCodes,
This weekend, we will continue with the development in order to offer a snapshot to add this support.
I will explain how to use this library.
Cheers
Juan Antonio

@HaginCodes nice project:
https://github.com/HaginCodes/3x3x3-Rubiks-Cube-Solver

Hi @HaginCodes I merged main branch. Tomorrow I will add the tests for you and @mingan666
Sorry by the delay.
Juan Antonio

Snapshot created for testing:
https://jitpack.io/#ev3dev-lang-java/ev3dev-lang-java
https://jitpack.io/#ev3dev-lang-java/ev3dev-lang-java/2.4.7-SNAPSHOT
https://jitpack.io/com/github/ev3dev-lang-java/ev3dev-lang-java/2.4.7-SNAPSHOT/build.log

@mingan666, @HaginCodes I have created repo with examples.
https://github.com/ev3dev-lang-java/ev3dev-java-systemtests
Tell me your doubts.
Juan Antonio

Building a testing environment for BrickPi+ & BrickPi3

Starting the testing process with latest EV3Dev image for Debian Stretch:
Linux ev3dev 4.14.80-ev3dev-2.3.1-rpi2 #1 SMP Tue Nov 13 11:59:48 CST 2018 armv7l
             _____     _
   _____   _|___ /  __| | _____   __
  / _ \ \ / / |_ \ / _` |/ _ \ \ / /
 |  __/\ V / ___) | (_| |  __/\ V /
  \___| \_/ |____/ \__,_|\___| \_/

Debian stretch on LEGO MINDSTORMS EV3!

http://www.hypexr.org/linux_scp_help.php
scp foobar.txt your_username@remotehost.edu:/some/remote/directory

robot@ev3dev:~$ sudo tar -zxvf OpenJDK11-jdk_arm_linux_hotspot_2018-11-09-18-48.tar.gz /opt
robot@ev3dev:~$ cd /opt/
robot@ev3dev:/opt$ ls
jdk-11.0.1+13
robot@ev3dev:/opt$ sudo update-alternatives --install /usr/bin/java java /opt/jdk-11.0.1+13/bin/java 1011
update-alternatives: using /opt/jdk-11.0.1+13/bin/java to provide /usr/bin/java (java) in auto mode
robot@ev3dev:/opt$ java -version
openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.1+13-201811091906)
OpenJDK Server VM AdoptOpenJDK (build 11.0.1+13-201811091906, mixed mode)
robot@ev3dev:/opt$ java -Xshare:dump
Allocated shared space: 268435456 bytes at 0x557b2000
Loading classes to share ...
Loading classes to share: done.
Rewriting and linking classes ...
Rewriting and linking classes: done
Number of classes 1245
    instance classes   =  1183
    obj array classes  =    54
    type array classes =     8
Updating ConstMethods ... done.
Removing unshareable information ... done.
Scanning all metaspace objects ...
Allocating RW objects ...
Allocating RO objects ...
Relocating embedded pointers ...
Relocating external roots ...
Dumping symbol table ...
Relocating SystemDictionary::_well_known_klasses[] ...
Removing java_mirror ... done.
mc  space:      3044 [  0.0% of total] out of      4096 bytes [ 74.3% used] at 0x557b2000
rw  space:   2228892 [ 15.4% of total] out of   2232320 bytes [ 99.8% used] at 0x557b3000
ro  space:   5826752 [ 40.2% of total] out of   5828608 bytes [100.0% used] at 0x559d4000
md  space:      1280 [  0.0% of total] out of      4096 bytes [ 31.2% used] at 0x55f63000
od  space:   6416508 [ 44.3% of total] out of   6418432 bytes [100.0% used] at 0x55f64000
total    :  14476476 [100.0% of total] out of  14487552 bytes [ 99.9% used]
robot@ev3dev:/opt$ java -version
openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.1+13-201811091906)
OpenJDK Server VM AdoptOpenJDK (build 11.0.1+13-201811091906, mixed mode, sharing)

ev3dev#1|<!-- Copy everything between these lines -->
ev3dev#1|**System info (from `ev3dev-sysinfo`)**
ev3dev#1|```
ev3dev#1|Image file:         ev3dev-stretch-rpi2-generic-2018-11-13
ev3dev#1|Kernel version:     4.14.80-ev3dev-2.3.1-rpi2
ev3dev#1|Brickman:           0.10.0
ev3dev#1|BogoMIPS:           38.40
ev3dev#1|Board:              board0
ev3dev#1|BOARD_INFO_HW_REV=A02082
ev3dev#1|BOARD_INFO_MODEL=Raspberry Pi 3 Model B Rev 1.2
ev3dev#1|BOARD_INFO_SERIAL_NUM=00000000b5d4af9e
ev3dev#1|BOARD_INFO_TYPE=main
ev3dev#1|Board:              board1
ev3dev#1|BOARD_INFO_FW_VER=1.4.0
ev3dev#1|BOARD_INFO_HW_REV=3.2.1
ev3dev#1|BOARD_INFO_MODEL=Dexter Industries BrickPi3
ev3dev#1|BOARD_INFO_SERIAL_NUM=9CD6576C514D355231202020FF072D17
ev3dev#1|BOARD_INFO_TYPE=aux
ev3dev#1|```
ev3dev#1|<!-- Copy everything between these lines -->

Executing full regression for Brickpi3 + Raspberry Pi 3:
Actuators:

[x] SoundDemo
[x] LCDDrawIconsTest
[x] LCDDrawImagesTest
[x] LCDDrawLinesTest
[x] LCDDrawRectanglesAnimationTest
[x] LCDFontTest
[x] LCDTest
[x] LCDWriteTextTest
[x] LEDExample
[x] LargeMotorDemo
[x] LargeMotorDemo2
[x] LargeMotorDemo3
[x] LargeMotorStopModesExample
[x] MediumMotorDemo
[x] MediumMotorStopModesExample
[x] MotorEncoderTest
[x] MotorEventTest
[x] MultipleMotorsDemo
[x] MultipleMotorsStopDemo
[x] NXTRegulatedMotorDemo
[x] NXTRegulatedMotorStopModesExample
[x] RegulatedMotorRotateDemo
[x] RegulatedMotorRotateToDemo
[x] UnregulatedMotorDemo
[x] UnregulatedMotorDemo
[x] UnregulatedMotorDemo2
[x] UnregulatedMotorDemo3
[x] UnregulatedMotorDemo4
[ ] UnregulatedMutilpleMotorDemo

Sensors:

[x] BatteryDemo
[x] ButtonExample
[x] ButtonExample2
[x] ButtonListenersExample
[x] ColorSensorDemo
[x] ColorSensorDemo2
[x] ColorSensorDemo3
[x] ColorSensorMultipleDemo
[x] GyroSensorDemo1
[x] GyroSensorDemo2
[x] GyroSensorDemo3
[x] IRSensorDemo1
[x] IRSensorDemo2
[x] IRSensorDemo3
[x] IRSensorDemo4
[x] USSensorDemo
[x] USSensorDemo2
[x] USSensorMultipleDemo
[x] AbsoluteIMUAccelerationTest
[x] AbsoluteIMUCompassTest
[x] AbsoluteIMUGyroTest
[x] AbsoluteIMUMagneticTest
[x] AbsoluteIMUTiltTest
[x] CreatePhotoDemo
[x] CreatePhotoEV3Demo
[x] FaceRecognitionDemo
[x] FaceRecognitionDemo2
[x] RecordVideoDemo
[x] RectanglesDemo
[x] TrackObjectsDemo

Related issue:
https://github.com/ev3dev/ev3dev/issues/1192

Reviewed support for BrickPi3 with Debian Stretch

Is pending to run the same tests with Raspberry Pi 3+

After some tests between BrickPi+ & BrickPi3, the behaviour is similar with Raspberry Pi 3 & Raspberry Pi 3 Model B +, the unique difference, is the speed.
In BrickPi+ appear some problems in some areas. In order to improve the quality, I am going to test again the Brick.
The test to repeat are:

No support for Unregulated motors (RCX Motors)
No support for rotate & rotateTo methods
GyroSensor: Using the mode gyroSensor.getAngleMode(); don't process the sensor properly. Example: GyroSensorDemo
GyroSensor: Using the mode gyroSensor.getAngleAndRateMode(); don't process the sensor properly. Example: GyroSensorDemo3
IRSensor: Using the mode ir1.getDistanceMode(); don't process the sensor properly. Example: IRSensorDemo
IRSensor: Using the mode ir1.getSeekMode(); don't process the sensor properly. Example: IRSensorDemo2
IRSensor: Using the mode ir1.getRemoteMode(); don't process the sensor properly. Example: IRSensorDemo3
Touch Sensor: returns Random values. Example: TouchSensorDemo
USSensor: Not reliable the values returned in mode us1.getDistanceMode();. Example: USSensorDemo
USSensor: Multiple USSensor. One listening the another one emitting US signal. Example: MultipleUSSensors
I2C Sensor problem. Example: AbsoluteIMUAccelerationTest

Adding support for unregulated motors:
https://github.com/ev3dev-lang-java/ev3dev-lang-java/issues/591

Tested with success.
In the next release, we will certificate BrickPi 3 for EV3Dev Debian Stretch


Initialize RequestTelemetry with CorrelationId information

@dnduffy, Here is the change we made that upgraded the reference of AspNetCore to 2.0

@yantang-msft,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


[BUG] Get-PnPSitePolicy doesn't return the policies on recently created sites or if the policy has been created recently even when the Site policy is showing in UI

Reporting an Issue or Missing Feature
Get-PnPSitePolicy doesn't return the policies on recently created sites or if the policy has been created recently even when the Site policy is showing in UI
Expected behavior
When executing Get-PnPSitePolicy -AllAvailable, the list of available policies should match the ones from the SharePoint UI

Actual behavior
If the site has been created recently or the policy has been created recently, the policy is not being returned by Get-PnPSitePolicy

Steps to reproduce behavior
Case 1

Create a new Site policy in the https://{tenant}.sharepoint.com/sites/contentTypeHub and publish it
Execute PowerShell script from below for a site

Case 2

Create a new site
Execute PowerShell script from below for this new site (the policy should have been created before)

$SiteUrl = "https://{tenant}.sharepoint.com/sites/{site}"
Connect-PnPOnline -Url $SiteUrl -Interactive
$AllPolicies = Get-PnPSitePolicy -AllAvailable
Write-Host "Policies: " $AllPolicies
Disconnect-PnPOnline

What is the version of the Cmdlet module you are running?
Manifest 1.10.0 PnP.PowerShell
Which operating system/environment are you running PnP PowerShell on?

[x ] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[x ] Azure Functions
[ ] Other : please specify

@kares94 - I've tested both scenarios (new site or new policy on existing site) and have no problem when testing within a couple of minutes. Also try in your script with $AllPolicies.Name

Hi @veronicageek - Thanks for your help! I have tested what you suggested and for some reason Get-PnPSitePolicy doesn't show policies from the ContentTypeHub as you can see in the images below (working with Windows PowerShell ISE).
I have just created a new Site Policy directly on the site and it is displayed by Get-PnPSitePolicy, meanwhile the other Site Policy, which was created on the https://{tenant}.sharepoint.com/sites/contentTypeHub, doesn't show.

Also, both policies work in the Sites Closure and Deletion.

I am having this exact issue also

Any resolution to this issue?

Any resolution to this? Im having the same issue

We ended up using
Set-SPOSite -Identity $SiteURL -LockState "ReadOnly"
You will get an annoying banner saying the site is under maintenance

FYI the command Get-PnPSitePolicy is working when you first call
Add-PnPContentTypesFromContentTypeHub -ContentTypes [GUID] -Site [SiteURL]
cheers

@kares94 - Can you please update to the latest release 2.1.x however you will need PS 7.2 or later to benefit from all the bug fixes and improvements.
PS5 support has been dropped in the new and future releases.
Feel free to reopen if the issue persists. Thanks.


BSK-185: Fixes case issue for builds with OpenCV on Linux

Tickets addressed: BSK #185
Review: By commit
Merge strategy: Merge (no squash)

Description
This implements the fix described in #185 .
Verification
After making the fix, Basilisk was built using
~/basilisk $python conanfile.py --opNav True
and tests were run using
 ~/basilisk/src $ python -m pytest .
Tests passed.
Documentation
Unknown and likely 0
Future work
This could be caught by making sure all build options are run through CI/CD on all platforms. Alternatively, BSK's codebase should check for case sensitivity when dealing with file system operations, such as loading data or during builds.

Andrew, I need you to sign a non-CU BSK contributor agreement to contribute code to BSK.  Could you please email me so I can send you the PDF to fill out?  We plan to integrate this process into GitHub, but for now it is still manual through me.


Fix broken e2e and update dependencies

1. Update shipyard dependency.
2. Use value returned by E2E to return pass/fail status of `verify`
3. Refactor `verify` code
4. Use newer lighthouse dependency for e2e fixes

Code looks good but we need to see why is it failing yet in some cases.

Although we are seeing CI issues, they are unrelated to the content of this patch, this patch will make them surface more because we are testing more.


Nat Biot '08 | What is the expectation maximization algorithm?

Do CB, et. al. What is the expectation maximization algorithm?

Reference
Misra Rishabh. Inference using EM algorithm.

The case of observed features
First, we should understand how parameters are estimated in simple use-cases. Thus, we fist consider the case where

Data does not contain any missing values.
Model does not have any latent features.

Suppose we have a dataset with each data point consisting of a d dimensional feature vector X and an associated target variable Y∈{0,1}. A graphical representation of this model is depicted following:

As we know, the prediction probability of the target variable in logistic regression is given by a sigmoid function like the following:

where w is the weight vector to be assigned. Once we estimate the parameters w, we can produce output for unobserved data points depending upon whether Y=0 or Y=1 gets more probability. And we use the Maximum Likelihood approach to approximate w, e.g. finding parameters w that maximize the likelihood (or probability) of the observed data P(data).
For mathematical convenience, we'll consider maximizing the log of likelihood. Parameterized by w, e.g. w parameterize the joint distribution p(x,y), log-likelihood can be written as:

Here the likelihood of observed data is represented as the multiplication of the likelihood of individual data points under the assumption that data samples are independently and identically distributed (so-called i.i.d.). Then we get:

where we used the knowledge that P(Y=yi|X=xi) evaluates to σ(w.xi) when yi=1, else σ(-w.xi).
At this point, we should note that, (but not be achievable in many realistic scenarios)

The log-likelihood, L(w), conveniently breaks down into per-instance form.
There’s no coupling between different parameters, which greatly easies the optimization.

Since L(w) is a function of w, we don't have any closed-form solution. Thus, we would have to use iterative optimization methods like Gradient Ascent to find w. An update for the gradient ascent method would look like:

We repeat the procedure in this equation until convergence and w obtained at the end is called the maximum likelihood estimate (MLE).

The case of latent features
In most of the realistic scenarios, it is common to

Have missing values in the dataset.
Choose sophisticated models (e.g. HMM) that have latent (unobserved) features which relate to the observed feature in the data.

Having latent features makes difference in the estimation of parameters. Estimating model parameters does get a little tricky if latent features (or missing data) are involved.
The issue
Let V be the set of observed variables, Z be the set of latent variables and θ be the set of model parameters. If we consider the maximum likelihood approach for the parameter estimation, our objective function will be:

We can see that the parameters are coupled because of summation inside the log. This makes the optimization using Gradient Ascent (or any iterative optimization technique in general) intractable. This means that many realistic scenarios need a more powerful technique to infer the parameters.

EM Algorithm to the Rescue
EM algorithm uses the fact that optimization of complete data log-likelihood P(V,Z|θ) is much easier when we know the value of Z (thus, removing the summation from inside the log).
However, since the only way to know the value of Z is through posterior P(Z|V,θ), we instead consider the expected value of complete data log likelihood under the posterior distribution of latent variables. The step of finding the expectation is called the E-step. In the subsequent M-step, we maximize this expectation to optimize θ.
Formally, the EM algorithm can be written as:

Choose initial setting for the parameters θ^{old}.
E-step: Evaluate P(Z|V,θ^{old}).
M-step: Evaluate θ^{new} given by

Check for convergence of log likelihood or parameter values. If not converged, then θ^{old}=θ^{new} and return to the E-step.

Conclusion


Tags/commits not always available on forked repos

Some odd behaviour occurs with forked repositories, would be interesting to look at solutions for this.
Running git fetch --tags seems like a workaround at the moment.

Another potential fix is to use fetch origin <commit-ref> where the ref has to be the full hash of the commit. This might work really well.

Fix seems to work.


x11: Use proper sonames for loading libXrandr.

I am curious about which issue this fixes.  Did I miss the link to the issue?  .so is the typical extension so that is why I am asking.

I suppose this is fixing #6096.

Looks good to merge.


Drop unnecessary dependency on mock

Mock is only used in docs/conf.py but the unittest.mock from the standard library is used so an external mock dependency is not needed.
TODO:

[ ] Unit tests and/or doctests in docstrings
[X] Tests pass locally
[ ] Docstrings and API docs for any new/modified user-facing classes and functions
[ ] Changes documented in docs/release.rst
[X] Docs build locally
[ ] GitHub Actions CI passes
[ ] Test coverage to 100% (Codecov passes)

Lovely! Thank you Antonio 🙏


Proto commenting

Adding some additional information to the comments in the schema definition, particularly for the "essential" fields. Standardized formatting so in-message comments only use // and not /** ... */ even if multi-line. Removed some obselete TODO items.

Thanks for catching those...that's what I get for doing these hastily.


authorizationStatusForType("HeartRate") causes Error: Unknown error from a native module

let options = {
permissions: {
read: ["Height", "Weight", "HeartRate", "DateOfBirth", "BiologicalSex"],
write: ["Height", "Weight", "HeartRate", "DateOfBirth", "BiologicalSex"]
}
};
const status = await AppleHealthKit.authorizationStatusForType("HeartRate"); // Error: Unknown error from a native module
const status = await AppleHealthKit.authorizationStatusForType("Height");  //works

same here


Support for multiple paths.

It would be great if the cli supported the inclusion of multiple --path flags.
infracost breakdown --path foo --path bar

This currently results in only bar being evaluated. This would be a great solution that could solve this https://github.com/infracost/infracost/issues/1841

@netguino can you possibly share a bit more about how this would help? Could the solution mentioned here be used? Alternatively, a config-file could be auto-generated with the project dirs that have changed, and run infracost breakdown --config-file /tmp/changed-infracost.yml etc, but that'll mean that the summary table won't show the total cost estimate for the project.

@netguino just FYI we merged this after testing/using it with other users, it seems to be helping them. Later this week, I'll publish a new github issue about an interface change we'd like to propose to make it easier to run infracost against a config-file, I'll tag you in that for feedback as we're leaning towards that approach vs having tons of flags. The idea being that the same config file can be used by the CLI, VSCode, CI/CD integrations (e.g. docker-compose.yml or docker-compose-dev.yml)

@netguino can you possibly share a bit more about how this would help? Could the solution mentioned here be used? Alternatively, a config-file could be auto-generated with the project dirs that have changed, and run infracost breakdown --config-file /tmp/changed-infracost.yml etc, but that'll mean that the summary table won't show the total cost estimate for the project.

I like the idea of calling infracost once.
To me it's not so much about what can I do, but the fact that the tool lets me pass --path more than once, and it basically ignores the first instance. It shouldn't.


[Threading][TSan] Fix TSan errors from lazy init on Linux.

Move the TSan functionality from Concurrency into Threading. Use it in the Linux ulock implementation so that TSan knows about ulock and will tolerate the newer swift_once implementation that uses it.
This should also slightly improve the performance of Concurrency, since the tsan tests will be inlined rather than it always doing a subroutine call.
rdar://110665213

@kubamracek I assume the issue here with the freestanding preset isn't one I've created by fixing the TSan problem in 5.8? Just wanted to get confirmation before I ask for branch manager approval (this is for a Linux point release).

Apparently the bot is misconfigured and is downloading the wrong toolchain, which is why the standalone preset failed.


Integrate dds-modal with dds-lightbox-media-viewer-container

Detailed description

Describe in detail the issue you're having.

Right now it looks like the dds-modal is part of the storybook story, and not part of the component itself. We should be making it easy enough for adopters to implement the lightboxmediaviewer with something like this:
JS
import '@carbon/ibmdotcom-web-components/es/components/lightbox-media-viewer/lightbox-video-player-container';

// Opens the lightbox media viewer
document.getElementById('my-video').open = true;

HTML
<dds-lightbox-video-player-container
    id="my-video"
    video-id="0_uka1msg4"
>
</dds-lightbox-video-player-container>

Is this a feature request (new component, new icon), a bug, or a general
issue?

Is this issue related to a specific component?

What did you expect to happen? What happened instead? What would you like to
see changed?

What browser are you working in?

What version of the IBM.com Library are you using?

What offering/product do you work on? Any pressing ship or release dates we
should be aware of?

Steps to reproduce the issue

Step one
Step two
Step three
etc.

Additional information

Screenshots or code
Notes

@RobertaJHahn moving this to the next release as this won't make the code freeze.

@jeffchew OK, moved to sprint 20-17.

Removing myself as I'm working on the support page and will most likely be unable to finish this one this sprint.