dynamically change values

Can I dynamically change the min and max values after instantiation?  Could you provide an example?

It is not yet possible to change the options after instantiation. It is, however, one of the features planned for the plugin, so you will have the opportunity very soon.

This is now possible with the 1.5.0 release.
Take a look at the documentation at http://jstepper.emkay.dk/.
Thanks again :+1:


adding histograms to default reducers for zonal stats

Hi Qiusheng Wu,
I add ee.reducer.histogram and ee.reducer.fixedHistogram to the statistic allowed  by deafult. I find this useful when you want to compare different areas, and also when you are working with categorical data. I add 3 arguments in the zonal_statistic function to write the minimun, maximun and the bins for the fixed_histogram. This 3 arguments are None by default, so they not affect the rest of the available stats.

Great! Thanks. I might combine these three parameters as one dictionary later.


Explicit Deserialization of TOML Datetimes in structs fails

I tried this code: Rust Playground Link
I expected this to happen: both the first "full" deserialization and the second "partial" deserialization behave the same.
Instead this happened: error invalid type: string \"[...]", expected a TOML datetime
Possibly related to #333 very intdirectly? At least it seems related to the weird way that Datetime objects in TOML are handled.

If I'm reading this correctly, this is a bug in deserializing a toml::Value into a struct as opposed to deserializing a &str into a struct.

If I'm reading this correctly, this is a bug in deserializing a toml::Value into a struct as opposed to deserializing a &str into a struct.

Correct.


Chunked background upload session on OSX - it is possible? How?

Hi,
I apologise for asking of help here, but I've spends days trying to get my head around this and I've getting nowhere.
I'd like to user Alamofire to create a background session upload that sends a file in chunks to a server. Each chuck in be in multipart format.
I can't find any details information on how Amalofire handles background sessions. In my particular case this is what I need to handle:
I wish to upload a video file from either my main OSX application, or from an OSX sharing extension.
The server endpoint requires that I send the files in chucks of a given size.
I need to use backgrounds sessions for this, so I'll need session delegates
I don't understand how to use Alomafire with background sessions and session delegates and I can't find any documentation on the subject.
I'm also not sure if Alamofire helps with the delegate callbacks - does it recreate the tasks? The related code i've seen appear to only refer to iOS9, not OSX.
Thanks,
Tim

Hi @timothyarmes,
Given your needs here, I'd recommend using your own NSURLSession and NSURLSessionDelegate, then using Alamofire to help create the MultipartFormData objects to upload. This will end up being much easier in the long run because Alamofire currently does not support these complicated background session use cases very well. This is something we'd like to attempt to address in Alamofire 4.
Best of luck! 🍻

any examples for this?


Galaxy Interactive Environments (GIEs)

Hello,
Were you able to get Galaxy Interactive Environments (GIEs) running with your setup? I found few links about it:

https://github.com/galaxyproject/ansible-interactive-environments
https://wiki.galaxyproject.org/Admin/GIEs

Thank you in advance
Mic

Dear Mic,
thank you very much for your interest.
We did not implement GIEs into our instance, since we have e.g. RStudio and iPython notebooks running separately. In case you found a way to implement this, feel free to share your solution. For now, I will close the issue, please open a new one if you like to drop further notes.
Best wishes,
Sven


Default result name

If .chainerui_conf file exists and set "default_result_name", get result name from the file and set. Once set the name, result name never update by the file even if the file is updated.
file name: .chainerui_conf
format: JSON
content:
"default_result_name": the name of result name on default.

/api/v1/projects/{p_id}/results will return with 500 when read broken json in .chainerui_conf.
but, It might be better to return with 200 while skipping broken json loading.

Thank you for review, I updated the point.


PUTting resources failing to cause actual updates

I've just transcoded a large number of subtitle files and need to automatically update all of the corresponding resources to point at the new URLs for the new format. I've got a Python script that fetches all of the resources in a big list, replaces the files array, and then PUTs the result back to update the Resource Library. I get 200 OK responses back, but none of the resources are actually updated. This is a sample of one of the resources I'm trying to PUT back:
{
    "status":"normal",
    "content":{"files":[{
        "mimeType":"text/x-ssa",
        "representation":"transcoding",
        "bytes":7072,
        "downloadUri":"https://s3.amazonaws.com/ayamel/53cecce833e57c72108b4569subs.ass",
        "attributes":{"kind":"subtitles"}
    }]},
    "dateAdded":"1406061800",
    "description":"",
    "title":"Consultant 2",
    "relations":[{"objectId":"53b5e35033e57c85448b4571","subjectId":"53cecce833e57c72108b4569","client":{"id":"byu_demo","name":"BYU Demos"},"attributes":[],"type":"transcript_of","id":"53cecce933e57c72108b456a"}],
    "dateModified":"1406061801",
    "languages":{"iso639_3":["ara"]},
    "client":{"id":"byu_demo","name":"BYU Demos"},
    "keywords":"subtitles",
    "type":"data",
    "id":"53cecce833e57c72108b4569",
    "clientUser":{}
}

and this is the corresponding response from the Resource Library:
{
    "resource":{
        "id":"53cecce833e57c72108b4569",
        "title":"Consultant 2",
        "description":"",
        "keywords":"subtitles",
        "languages":{"iso639_3":["ara"]},
        "type":"data",
        "date Added":"1406061800",
        "dateModified":"1439938257",
        "status":"normal",
        "clientUser":{},
        "client":{"id":"byu_demo","name":"BYU Demos"},
        "content":{"files"[{
            "downloadUri":"https:\/\/s3.amazonaws.com\/ayamel\/2d52e877211421240f964dfcb73d82e5.vtt",
            "bytes":4826,
            "representation":"original",
            "quality":1,
            "mime":"text\/vtt",
            "mimeType":"text\/vtt",
            "attributes":[]
        }]},
        "relations":[]
    },
    "response":{"code":200,"message":"OK"}
}

@gliese1337 I think I missed the notification for this, apologies.
You can't update the entire structure at once.  To update relations, you need to use the relations API, and to update content you need to use the content routes.
It's a little unwieldy, but originally we had planned to only handle content as raw file uploads, not external references... so there's that extra step.
The top-level data in the resource should still be modifiable - if that's not actually being modified, let me know.

@evillemez OK, I'm pretty sure I'm doing things right now (top-level data is being updated correctly, by the way), but I've got a new hiccup: I'm getting 400 errors when I send my remoteFiles list to the content upload URL. Specifically:
{"response {"code":400,"message":"Object(Ayamel\\ResourceBundle\\Document\\FileReference).mimeType:\n    Files with mimeType [text\/x-ssa] cannot be validated."}}

The object being sent is of the following form:
{
    "remoteFiles": [{
        "downloadUri":"some-aws-url",
        "bytes":1234,
        "mimeType":"text/x-ssa",
        "representation":"transcoding",
        "attributes": {
            "kind":"subtitles"
        }
    }]
}

If the Resource Library doesn't recognize a certain mime type, shouldn't it just skip attribute validation?


Connect to openldap using TLS doesn't work

I have configured osixia/docker-openldap server to only accept TLS connection with.
I have successfully run a ldapwhoami command with -ZZ (force TLS) and it work.
I don't know why but playing with these doesn't change anything for me :
PHPLDAPADMIN_LDAP_CLIENT_TLS: true
PHPLDAPADMIN_LDAP_CLIENT_TLS_REQCERT: demand
PHPLDAPADMIN_LDAP_CLIENT_TLS_CA_CRT_FILENAME: ca.crt

Also I wonder what are these for. I have played with and it didn't change.
Why does the TLS client needs to have this? Why some some other don't ? (sonarqube ldap plugin, gitlab) ? Are they required or mandatory ?
PHPLDAPADMIN_LDAP_CLIENT_TLS_CRT_FILENAME
PHPLDAPADMIN_LDAP_CLIENT_TLS_KEY_FILENAME

The form login return the following errors:
error
Unable to connect to LDAP server ldap.domain.com
Error: Confidentiality required (13) for user
error	Failed to Authenticate to server
Invalid Username or Password..

phpldapadmin log:
59565d5b conn=1014 op=0 RESULT tag=97 err=13 text=TLS confidentiality required

Finally, this is the end of my file /var/www/phpldapadmin/config/config.php
/*********************************************
 * Define your LDAP servers in this section  *
 *********************************************/

$servers = new Datastore();

/*
 * Autogenerated servers variables will come here
 */
$servers->newServer('ldap_pla');
$servers->setValue('server','name','ldap.domain.com');
$servers->setValue('server','host','ldap.domain.com');

I don't feel like the TLS configuration is working, what am I doing wrong ?

I was missing this:
PHPLDAPADMIN_LDAP_HOSTS: #PYTHON2BASH:[{'ldap.domain.com': [{'server': [{'tls': True}]}]}]


Improve build tasks packaging

[x] Create the coverlet.msbuild.nupkg package as a primary build output of coverlet.msbuild.tasks
[x] Split coverlet.msbuild.tasks into netstandard2.0 (or netcoreapp2.0) and net472 target frameworks
[x] (optional) Attach the .nupkg files as artifacts of the AppVeyor build
[x] (optional) Use Nerdbank.GitVersioning to dramatically simplify the versioning process for the whole project (submitted as #301)

This change will allow the build-time instrumentation to work with both dotnet msbuild (works already using .NET Core as the host runtime) and msbuild (currently fails using .NET Framework as the host runtime). The strategy will be similar to the one I use for ANTLR, except much simpler because I don't need to account for very old hosts like MSBuild 4.0.
I verified that c35018acdfe6a878ccb3c49361d4cde760df055e produces the same output assembly that shipped as 2.5.0 on NuGet except for the following changes:

A few additional PDB files are included (not a problem)
coverlet.template.dll is included (even if unnecessary, it's very small, but let me know if this needs to be removed)
The coverlet.msbuild.props and coverlet.msbuild.targets files are moved up a folder, so they are included in the build regardless of the target framework of the project using coverlet

@sharwell can you please resolve the conflicts

@tonerdo can we please get this into master after the conflicts are resolved? would be great.

@ViktorHofer I'll need to get some time to take a closer look at this after the conflicts are fixed. Been quite busy with work lately

@tonerdo I fixed the conflicts

Just wanted to chime in and say that I am trying to get code coverage setup for https://github.com/dotnet/winforms, and I am blocked until this gets in


CLI: Refactor CLI package into 2 different packages

Description
This PR refactors the CLI packages into 2 packages, 'CLI' and 'analysis-utils'. This separates the classes and procedures used for browser management and analyzing sites and the interface implementation of the CLI.
Relevant Technical Choices

Move 'BrowserManagement' and its related helper functions and type definitions.
Move Procedures to analyze cookies and technologies.
Move type definitions for procedures.
Remove some redundant type definitions that were already in the common package.
Refactor the static class 'Utility' into different functions and remove all unused functions.
Move the utility 'delay' to the common package because it was used by both CLI and analysis-utils.
Move dependencies from 'cli''s package.json to 'analysis-utils'

Testing Instructions
This is a refactoring change so there should be no changes in the functionality.
Additional Information:
Screenshot/Screencast

Checklist

[x] I have thoroughly tested this code to the best of my abilities.
[x] I have reviewed the code myself before requesting a review.
[ ] This code is covered by unit tests to verify that it works as intended.
[x] The QA of this PR is done by a member of the QA team (to be checked by QA).

@ayushnirwal Can you please resolve conflicts?

@ayushnirwal The build is failing now.


Added spec description to eth_getBlockByHash

cc @lightclient what do you think about this as the final / compiled format for the description?

The copyright is redundant with the license in this repository.
The RFC 2119 should probably be put somewhere else rather than in every single description (e.g., in the page template).
Starting every line with the method name is redundant with its placement, since this is specifically the description for eth_getBlockByHash so recommend removing that as well.
I'm not a huge fan of the numbering thing, I think I would prefer just a bulleted list or even a markdown numbered list, but this isn't a hill I'm particularly keen on dying on, I just feel like it will be more generally useful and easier to interact with than a table and I think UX matters more here than having a detailed numbering scheme.
It is really frustrating that we have to cram all of this into one line with \n baked in.  This makes it difficult to iterate on because a PR will have a diff that is hard to read.  I don't have any good alternative suggestions though.  😢

@MicahZoltu got it. I will play around it and make it easier to read. Yeah hardcoding it is not ideal, I am working on alternatives. I will add the eth_getBlockByHash.md when I update it. I will be adding the MD files in the PR's from now on

I thought we were planning to go with standard prose for the final descriptions and use the structured / numbered format for internal documentation?

we can do that @lightclient but we should keep this in the repo as well so that people know where it comes from and the edgecases follow the same consensus process as the pros. @MicahZoltu yep, this is mainly just to show how it will look after the build


add shift+tab

https://github.com/magmax/python-readchar/issues/80

and please remove my switch links commit. thats just a temporary experiment for my fork and is not suposed to propegate into the master repo

please run:
git fetch --all
git checkout patch-1
git cherry-pick 40e9727c7c85c30e6411215eb8c596a866b06922
git push -f

the username used in the commit doesn't match your github profile, so they are not linked.
Do you care? If not I will merge

Thanks, I fix it


Checksum safeAddress when fetching remaining relays and propagate type

Summary
In order to maintain a strict type and checksummed address throughout the project, we should validate the incoming addresses. In newer controllers, we started doing this by adding an AddressSchema to address. This begins adding it to "existing" controllers.
This checksums the incoming safeAddress of RelayController['getRelaysRemaining'] and propagates the stricter (0x${string}) type throughout the project accordingly
Changes

Add checksumming and validation to RelayController['getRelaysRemaining']
Propagate type scrictness across:

relay-related cache keys
IRelayApi and its implementors (GelatoApi)
relay-related builders/encoders
RelayLimitReachedError['address']
LimitAddressesMapper
RelayRepository
RelayDto
RelayController
`RelayService

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

9 of 9 (100.0%)  changed or added relevant lines in 7 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.05%) to 92.834%

Files with Coverage Reduction
New Missed Lines
%

src/routes/transactions/entities/tests/human-description.builder.ts
2
60.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
7121

Relevant Lines:
7378

💛  - Coveralls


Move configuration from config file the Create and Edit Mission pages

Move to the data configuration to the Create and Edit Mission Pages. This will allow the users to select functionality for a given mission and allow them to change their configurations should they want to.

fixed

configuration should be set at the mission level not post level. Please move this functionality to the add mission and edit mission pages. index.php/manage/missions/add and index.php/manage/missions/edit/1
The database column should be the missions table.

fixed

fixed working


chore: merge migrations into one

Description
Merge all migrations since release v1.7.0-RC3 into one migration
Why
To have only one migration per releasee
Issue
N/A
Checklist

[x] I have followed the contributing guidelines
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally
[x] I have added tests that prove my changes work
[x] I have checked that new and existing tests pass locally with my changes
[x] I have commented my code, particularly in hard-to-understand areas

The following script needs to be executed once the Pr is merged:
update public.__efmigrations_history_portal
set migration_id = '20231122165021_1.7.0-rc4'
where migration_id = '20231115145343_CPLP-3511-AuditAdjustment';


*: support authenticate in v3 auth

This commit implements Authenticate() API of the auth package. It does
authentication based on its authUsers bucket and generate a token for
succeeding RPCs.
/cc @xiang90 @ark76r

@xiang90 BTW, I also noticed that generating tokens with random number in SMR isn't a good idea (state machines have their own values). So I want to use JWT also for keeping the state machines consistent. How do you think?

The test failure seems not to be related to this change (rafhttp, etc).

I am fixing it right now.

@xiang90 Thanks, I'll rebase this PR on your change.

@xiang90 updated for your comments, PTAL.

LGTM after fixing the comments

@xiang90 updated for the comment, PTAL.

Will merge when CI turns green.


Add a WebStorm IDE integration

Will be very helpful if you integrate your product with WebStorm IDE

Hi @melbon thanks for sharing. I believe it is a similar request than #53, right? I'm closing for now, feel free to add a comment there.
Thanks!


Switch RTCP handling to pion/interceptor

Features that are currently missing in gortsplib's receiver reports and sender reports, and are handled correctly in pion/interceptor:

support for reordered packets in receiver reports
NACKs

Hi @aler9 ! What is the current status on this one?
We're really eager to get some stats for RTSP-sessions (accessible in Prometheus metrics or in API), especially for jitter and package loss.
Do you have any basic overview of the migration process to get this working from the webrtc package, over to to RTSP on this matter? Because if not currently in progress, I/we might try to start the process because of the need for it now.
Some key features, that might overlap with this endeavour:

Would it be possible to get some features equivalent to rtpjitterbuffer (gstreamer) functionality here?
We're using the mediamtx repo currently, and see that the most optimal way would be to avoid using gstreamer all together because of the great cross-platform support blueenviron's go-libs have 😺

Is the gortsplib currently utilizing any optimalisation/adjustments in the videostream based on the RTCP for RTSP-sessions?

Hello Magnus,

What is the current status on this one?

The switch to pion/interceptor was put on hold because it requires an additional layer that decreases performance. Most of its features are already implemented here.

We're really eager to get some stats for RTSP-sessions (accessible in Prometheus metrics or in API), especially for jitter and package loss

This might be a good future enhancement, currently the only two exposed stats are ServerSession.BytesReceived() and ServerSession.BytesSent(), we might add ServerSession.Stats() in order to obtain jitter and packet loss too, that are currently available inside rtpreorderer and rtcpreceiver. I've created a feature request here: #556

Would it be possible to get some features equivalent to rtpjitterbuffer (gstreamer) functionality here?

This is already present in a real-time variant, it's inside rtpreorderer. The maximum number of lost packet is fixed to 64.

Is the gortsplib currently utilizing any optimalisation/adjustments in the videostream based on the RTCP for RTSP-sessions?

Video adjustments like dynamic bitrate cannot be achieved since an RTSP server or client doesn't have access to the video encoder, contrarily to browser-based WebRTC, therefore video packets can only be routed without touching them.
Resending lost video frames through NACKs would be a very good enhancement but there is no client that supports it (VLC, FFmpeg, GStreamer), thus it would be useless to implement it.
The only thing that you can do to improve the transmission rate with RTSP is using Forward Error Compensation (FEC), that consists in sending the same packet multiple times at once. You can generate packets by following the specification and send them through gortsplib.

Thank you so much for the detailed reply @aler9 ! 👏
We have a lot of unstable (wifi/wireless linked) RTSP-cameras we need to connect to.
Would it be a requirement that the RTSP-cameras support FEC, to stabilize the connection between the source and RTSP-server?
Btw, we're currently benchmarking TCP vs UDP on the streams, but are interested in all ways the gortsplib by default handles instable/bad streams, and what potential features/param adjustments we can use/create to manually improve the streams.
Thanks in advance

From what I've used in gstreamer, mainly three params/features would be nice to manually adjust:

latency (buffer, and jitter-buffer on the received source-stream): Set manually in ms
dropOnLatency: true/false
udp-buffer-size: (in bytes)

Are any if these already implemented as with any default-value?
Also, when you mention: rtpreorderer - What is the default buffer/latency here?

Also, when you mention: rtpreorderer - What is the default buffer/latency here?

There is no latency, because the server doesn't need to emit frames with a constant interval. The server sends out frames to clients as soon as they are available. It's the client responsibility to keep a buffer with a latency and emit frames with a constant interval.

This might be out of scope of the original issue but is it possible currently to handle PLI RTCP feedback packets (in the context of a mediamtx server being sent them by an RTSP client)? In my case I'm needing to intercept them and forward them upstream (as mediamtx is proxying an RTSP stream from another source).


500s returned from token and user endpoints instead of 4xx

Describe the bug
Requests that should return a 400, 403 or 404 return a 500.
To Reproduce
GET https://staging.dockstore.org/api/users/username/123 returns a 500
GET https://staging.dockstore.org/api/auth/tokens/123123.  returns a 500
Expected behavior
When invalid parameters are used we should not error and return a useful code to the client. 404 for user not found, 403 for improper permissions to view a token, 404 for token not found, 400 for invalid username.
@coverbeck suggested null checks here https://github.com/dockstore/dockstore/blob/8c55531bd0abb76e7a723d61249476a7a4b4d5c6/dockstore-webservice/src/main/java/io/dockstore/webservice/resources/UserResource.java#L191
@denis-yuen suggested looking into constraining entities using dropwizard https://www.dropwizard.io/en/latest/manual/validation.html#constraining-entities
┆Issue is synchronized with this Jira Story
┆Fix Versions: Dockstore 1.12
┆Issue Number: DOCK-1768
┆Sprint: Sprint 67- Reef shark
┆Issue Type: Story

Can confirm that the two endpoints above now return 404 status codes.
Note, to test, you need to be authenticated.


What about all Microsoft 365 admin centers?

Readers might find useful to know whether this policy proposition would impact all Microsoft 365 admin centers, or whether they must specifically create additional policies.

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

ID: 22df42c6-831d-ba42-8224-27176e8fd7d9
Version Independent ID: 15299b18-e361-9e9f-f836-f37a466dcae0
Content: Conditional Access - Require MFA for Azure management - Azure Active Directory - Microsoft Entra
Content Source: articles/active-directory/conditional-access/howto-conditional-access-policy-azure-management.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@starbuck3000
Thanks for your feedback! We will investigate and update as appropriate.

@starbuck3000
Thank you for your feedback!
Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.
[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1)
Thank you for your time and patience throughout this issue.
How to create an Azure support request - Azure supportability
Customers who need assistance can use the Azure portal to find self-service solutions and to create and manage support requests.

reassign:@MicrosoftGuyJFlo

Thank you for your feedback @YashikaTyagi-MSFT and @MicrosoftGuyJFlo . As I understand from your answers, only services listed in the page (https://learn.microsoft.com/en-us/azure/active-directory/conditional-access/concept-conditional-access-cloud-apps#microsoft-azure-management) are subject to policies set for "Microsoft Azure Management".
I will ask on the Q&A forum to see whether there is a cloud app in the list that could match the APIs used by Microsoft 365 administration centers.
Thank you for your help.


http::get_error_category()

This needs to be a public interface or else there is no way to check if an error code belongs to http! Same with the other categories.

See https://akrzemi1.wordpress.com/2017/08/12/your-own-error-condition/#comment-6954

HTTP errors should get the same treatment as WebSocket, by adding an error condition and revising all of the error codes to have more verbose messages.

In case someone else runs into this, my workaround for now is this:
if (ec == boost::beast::http::make_error_code(boost::beast::http::error::body_limit)) {
  // do what you need to do when body-limit is exceeded
}

A bit ugly but for only one error (in my case) that's alright and doesn't rely on the detail namespace.

What's wrong with
if (ec == boost::beast::http::error::body_limit)

?

This issue is not an actual problem. There is no need to retrieve the HTTP error category. However, it would be nice to have error codes mapped to error conditions (in the manner of websocket) and to have more descriptive error codes. This is already in another open issue.

What's wrong with if (ec == boost::beast::http::error::body_limit)

Good point, I must've been having a slow brain day!
If I was handling more of these error codes, being able to use a switch statement would be useful - something like this:
if (ec.category() == boost::beast::http::get_error_category()) {
  switch (static_cast<boost::beast::http::error>(ec.value()) {
    //...
  }
}

I'm reasonably new to boost/asio so maybe this kind of pattern is frowned upon, though. Open to feedback if you've got the time to spare :)

if(ec.category() == beast::error_code(static_cast<beast::http::error>(0)).category())
    ...


[PLUGIN REQUEST] nvim-java

Field
Description

Plugin
nvim-java

Homepage
https://github.com/nvim-java/nvim-java

Nixpkgs
false

Extra Information

Is this plugin just an alternative provider for jdtls?
Slightly confusing that the initial notice says not to install nvim-jdtls, yet the rest of the docs talk about how must configuration should be passed to lspconfig's jdtls 🤔

I think it uses jdtls as a lsp, and provides additional functionality, like dap and testing, on top of it. So jdtls is built in, and should not be installed as a standalone plugin?

Yeah I think it's a bit like rustacean.nvim


Build failed for 4.19 can't find GenericApplication.h

Hi, here's the error that I'm getting:
Error	C1083	Cannot open include file: 'Runtime/Core/Public/GenericPlatform/GenericApplication.h': No such file or directory
d:\ue4*Project_directory*\plugins\unrealenginepython\source\unrealenginepython\private\slate\UEPyFModifierKeysState.h
I opened and checked in the engine source folder and I didn't find the GenericApplication.h file in there. Anyone else getting this error? Is it just my build, as in I'm getting the wrong version or something else?
Thanks in advance!

I took a look at the github history looks like the include was newly added for 4.15 compatibility. By checking the engine minor version I was able to compile successfully. Of course I don't know if 4.15 uses the same version check as 4.19 so it could very fail for 4.15 users.
code:
#if ENGINE_MINOR_VERSION <= 15
#include "Runtime/Core/Public/GenericPlatform/GenericApplication.h"
#endif
If I used the wrong solution please let me know, thanks!

Yes, your fix was right, i have fixed the master branch too. Thanks for reporting


Admin cert not Created - After CA deployment

Describe the bug
Admin cert is not getting created after the deployment of fabric ca services.

"/root/orgca/admin/msp/signcerts/cert.pem" - this file is not created

To Reproduce
Steps to reproduce the behavior:

Run Playbook - ansible-playbook -v 100.deploy_ca.yml --flush-cache -u root
ssh into primary manager
ls /root/orgca/admin/msp/signcerts/
cert.pem does not exits . shows empty directory
Because of this, deployment of orderer playbook will fail with the error

Expected behavior

/root/orgca/admin/msp/signcerts/cert.pem should have been created

Screenshots
orgca service logs.

orgca_cli service logs.

Additional context
This problem occurs does not occur always . It occurs sometimes.

Identifications :
This problem occurs under the following scenario:
Consider a scenario , where a fabric is already deployed in a swarm environment containing 1 master machine and 1 worker machine .
If under any circumstances, if the master machine dies,

we create a new machine, and change the ip address of the master machine with the new ip.
But the worker machine is unmodified.
Now when run all the playhbooks from begining, this error occurs.

Reason :

The swarm environment becomes corrupted.

Solution :

Remove all existing services and containers from both master and worker machines.
Run "docker swarm leave" in worker machines and "docker swarm leave --force" in manager machines
Now run all the playbooks from beginning


Mismatch between AWS ConfigurationSets and in the lint

CloudFormation Lint Version
0.27.2
What operating system are you using?
Mac
Describe the bug
So today I ran into this error. The AWS cloud formation documentation (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationset.html) state that in AWS::SES::ConfigurationSet there is a property called SendingOptions. But when Im using lint it's giving me [cfn-lint] E3002: Invalid Property Resources/BulkUploadClaimInviteConfigurationSet/Properties/SendingOptions  error.
Expected behavior
So I expect that this property also needed to be included in the lint.
Reproduction template
`MyConfigurationSet:
Type: AWS::SES::ConfigurationSet
Properties:
Name: !Ref MyConfigurationSet
SendingOptions:
SendingEnabled: true
MyConfigurationSetDestination:
Type: AWS::SES::ConfigurationSetEventDestination
Properties:
ConfigurationSetName: !Ref MyConfigurationSet
EventDestination:
Name: !Ref MyConfigurationSetDestination
Enabled: true
MatchingEventTypes:
- send
- open
- reject
CloudWatchDestination:
DimensionConfigurations:
- DimensionName: "MyConfigurationSetMetrics"
DimensionValueSource: "emailHeader"
DefaultDimensionValue: !Ref "AWS::NoValue"`

I believe this value exists in most recent versions of cfn-lint can you upgrade cfn-lint.
If you are installing using pip you would run pip install --upgrade cfn-lint
If you are having issues can you let me know what region you are running in?

Yeah, it got fixed. Actually when I installed the extension 0.27.2 version of cfn-lint is added. Thats why. So I used your hint and ran a pip install --upgrade cfn-lint. Now fixed. Yeah in new versions that got fixed.

I believe this value exists in most recent versions of cfn-lint can you upgrade cfn-lint.
If you are installing using pip you would run pip install --upgrade cfn-lint
If you are having issues can you let me know what region you are running in?

Yeah, it got fixed. Actually when I installed the extension 0.27.2 version of cfn-lint is added. Thats why. So I used your hint and ran a pip install --upgrade cfn-lint. Now fixed. Yeah in new versions that got fixed.


Add KafkaUI. Add a kafka playground too.

Add a Kafka playground.
Add support of KafkaUI to kafka resource builder.
Usage
var kafka = builder.AddKafka("kafka")
    .WithKafkaUi(8080);

Implementation notes
A Kafka broker node needs to know which name is used by clients to connect to itself to properly work. Please see https://www.confluent.io/blog/kafka-listeners-explained/. This subtlety leads to expose 2 endpoints in Aspire. One for host processes and one for containers.
Microsoft Reviewers: Open in CodeFlow

@g7ed6e can you update the description?

@g7ed6e can you update the description?

@davidfowl done. I added a WithSchemaRegistry extension method.

SchemaRegistry related updates have been removed from that PR as I think it requires more experimentations. (client side code need to feed the ProducerBuilder<TKey, TValue> / Consumer<TKey, TValue> with schema registry url.. please see https://github.com/confluentinc/confluent-kafka-dotnet/blob/c251c6c486cc4b6283deda87be4cd9de9d2ffd12/examples/JsonSerialization/Program.cs#L139).

LGTM

This looks great. What are the timelines on the Aspire 8.1 release out of interest?

Thanks, I was able to easily retrofit this PR onto the current version so am happy to wait ☺


ui: Fix CreateKubernetesCluster for ha

Description
Fixes the issue of always sending 2 control plan nodes in the CreateKubernetesCluster vue
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[x] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan ui

@davidjumani a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6106 (SL-JID-1254)

@davidjumani @utchoang this could be a common issue with other forms as well (saw it in add network offering form as well). Earlier when v-if was used, check for form items on which v-if was added was not needed. Now even though the form-item is not shown, value must still be there in values during form submit. Anything we can do address all of them?

Thanks @davidjumani @utchoang @shwstppr - if possible let's continue with this PR for this specific issue and address the rest of the common issues on a separate PR


No daily data for 2021-08-02

version 0.1.163
After weekend I found, that in daily data constantly missing info on 02.08.2021 (Monday) on vast majority of tickers. Wtf?
This is ordinary trading day, no pauses and stops were detected.
See screenshot:

MSFT and AAPL are ok. But others..

Seemed to be not the library issue, but the Yahoo API glitch. I've tried to make direct response to the corresponding URL: https://query2.finance.yahoo.com/v8/finance/chart/ADBE?period1=1441054800&period2=1628370000&interval=1d&includePrePost=True&events=div%2Csplits
and I've got nan values for this date in json. So that line is dropping later in library code with df.dropna()
Moreover, it is not repeating. Today ADBE is ok. But if I download f.e. 200 tickers simultaneously, al least one of them comes with nans for 2021-08-02, that leads to removing such line from dataframe for all downloaded tickers (date is index column).

I'm seeing the same not only for 2021-08-02 but also 2021-08-12. Strange...

I'm seeing the same behaviour.
Seems like an inconsistency exist in the data retrieved from yahoo.
The strange part, is when I use their website, the data exist and is correct.
When retrieved with other stocks using the package, I see lots of missing data, in 2 days - 2/8/21 and 12/8/21.
@ranaroussi  - any ideas? do you think Yahoo is intentionally doing it?

Ok, I tried again some 12 hours later and I no longer got missing data for those dates. So Yahoo is definitely doing some kind of rate-limiting/throttling/blacklisting

I am still (August 22, 2021 at 3:30pm CT) having the same issue with August 2, 2021 data missing from the download.  I am downloading 2183 US listed stocks, and only 1175 have data for August 2, 2021.  All other days have complete data for a year (from August 21, 2021 through August 21, 2020, non-inclusively).
I have not seen this problem before.
Using this line of code: data_1_interim = yf.download(tickers = MYLIST ,start=startdate, end=enddate, threads = True, progress = False)


feat(tobii): accessibility

Add aria-model="true", aria-label and role="document" div,  to modal container
Add role="group" and aria-label to FIGURE
Add first child div with role="document" and append lightbox in it

Un peu de documentation générée par ChatGPT sur l'utilsation du role="group" :
In web accessibility, adding role="group" to a <figure> element can enhance the experience for screen reader users by explicitly grouping related content together and providing additional semantic meaning where necessary. This is particularly useful when:
1. Providing Context in Complex Figures
A <figure> element can contain a visual representation (e.g., an image, chart, or diagram) and its associated <figcaption>. Adding role="group" explicitly communicates to assistive technologies that these elements are part of a cohesive unit.
Example: If the <figure> has multiple related child elements, such as an image and a textual legend, the grouping helps screen readers navigate and understand the relationship between them.
2. Reinforcing Semantic Relationships
While <figure> has inherent semantic meaning, some assistive technologies may not fully recognize it, or the grouping intention might need to be clarified in more complex scenarios. Using role="group" ensures consistent behavior across all devices and software.
3. Enhancing Navigation
Screen reader users often navigate by landmarks or regions. Declaring role="group" helps define the boundaries of the grouped content, making it easier to skip or focus on specific areas of the page.

Adding an aria-label to a <figure> element, even when the contained <img> already has an aria-label or alt attribute, can provide distinct benefits for web accessibility:
1. Clarifying the Purpose of the Entire <figure>
The <figure> element often groups related content (e.g., an image and a caption) that conveys a more comprehensive meaning than the image alone.
While the aria-label or alt on the <img> describes the image, an aria-label on the <figure> can summarize the entire group’s purpose, providing a broader context to assistive technology users.
2. Supporting Non-Visual Content
The <figure> element might include additional information, such as a <figcaption> or supplementary text, that expands on the meaning of the image.
Adding an aria-label to the <figure> ensures that screen reader users understand the combined meaning of all the content inside the <figure>.
3. Navigational Context
Screen readers allow users to navigate by regions or landmarks. By labeling the <figure> explicitly, users can quickly understand its purpose without needing to explore its contents.
For instance, a figure might represent a "Sales Chart," and its contained image and caption provide detailed information. An aria-label on the <figure> gives users an overview.

Adding aria-modal="true" to a <div> that already has role="dialog" provides additional semantic information to assistive technologies, ensuring better accessibility and clarity for screen reader users. Here’s why it's necessary:
1. Explicitly Indicates Modal Behavior
The role="dialog" alone defines a generic dialog box, which could be modal (requires user interaction before proceeding) or non-modal (can be dismissed or ignored without affecting the main content).
aria-modal="true" explicitly specifies that the dialog is modal, meaning interaction with content outside the dialog is not allowed until the dialog is dismissed.
2. Improves Assistive Technology Behavior
Screen readers and other assistive technologies can use aria-modal="true" to:

Confine focus to the modal dialog and prevent users from navigating to background content.
Announce to users that the dialog is modal, reinforcing its significance and required interaction.

Without aria-modal="true", some assistive technologies might allow users to access content outside the modal, leading to confusion or breaking the user flow.
3. Accessibility Consistency
While some browsers and assistive technologies infer modal behavior from other implementation details (e.g., focus trapping, backdrop overlay), not all do so reliably.
Adding aria-modal="true" ensures a consistent and predictable experience across a wide range of devices and assistive technologies.
4. Complements role="dialog"
role="dialog" and aria-modal="true" work together to provide comprehensive semantics:

role="dialog": Indicates the content is a dialog box.
aria-modal="true": Indicates the dialog is modal and interaction outside it is restricted.

Et voilà une PR bien documentée 😉

@joachimdesarmenien je pense que tu peux aussi proposer cette MR avec ses commentaires sur le repo original de Tobii.


Simple fix for recursive class definitions.

Complete class now returns value that is used in symbol records.
Type records should contain only forward declarations.
Enums have the same forward and complete type index.
Recursive class works better then before, but it still worse then ProjectN.

@nattress @davidwrighton  PTAL.


TAJO-1587: Upgrade java version to 1.7 for Travis CI

The test failure is due to resource leak in ByteBuf. This problem will be resolved in #551.

+1

Thanks for quick review!


Queue related analytics

This PR allows students and instructors to see analytics related to queues

Heatmap statistics

Average wait-time
Questions per instructor

Card statistics

Course-wide (by week)

Average wait-time
Number of questions answered per week
Students helped per week
Average time spent helping students

List statistics

Day with highest wait-time

Other analytics (personal statistics and statistics related to queue size) will be in a separate PR. Hopefully this way frontend can start working as well.
No frontend work has been done for this PR yet

Heatmaps for average number of questions (data available for each queue):

Issues

not responsive
stats only available for non-archived queues

Heatmaps for average number of questions (data available for each queue):

Issues

not responsive
stats only available for non-archived queues


{cosmosdb-preview} add init file for vendored sdk

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

cosmosdb-preview

cosmosdb-preview


[rhol_crc]Set default version of CRC deployed

This default is used when deploying the reproducer layout. We should deploy the version we default to across CI and allow overriding to deploy latest rather than defaulting to latest.
Jira: https://issues.redhat.com/browse/OSPRH-6871
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running

/approve
I'm dreaming about a way to get the actual release running in CI when doing a reproducer run... That's probably for later.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: cjeanner
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Needs approval from an approver in each of these files:

yeah I'm with you mate, one for the back log. Wouldn't be too hard but more than I have time for now sadly.


Hyprpm doesn't update well.

Regression?
Yes
System Info and Version
 System/Version info
  Arch Linux x86_64
  Linux 6.10.4-zen2-1-zen
   1730 (pacman)
              `+oooooo:                   └   ➜  bash 5.2.32
              -+oooooo+:
            `/:-:++oooo+:                WM    ➜  Hyprland (Wayland)
           `/++++/+++++++:                ├ 󰀻  ➜  Papirus-Dark [GTK2/3], breeze [GTK4]
          `/++++++++++++++:               ├   ➜  breeze (24px)
         `/+++ooooooooooooo/`             ├   ➜  alacritty 0.13.2
        ./ooosssso++osssssso+`            └   ➜  FiraCode Nerd Font (12.0pt)
       .oossssso-````/ossssss+`
      -osssssso.      :ssssssso.         PC    ➜  ASUSTeK COMPUTER INC. X Type X200MA
     :osssssss/        osssso+++.         ├   ➜  Intel(R) Celeron(R)  N2840 (2) @ 2.58 GHz GHz
    /ossssssss/        +ssssooo/-         ├ 󰢮  ➜  Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display @ 0.79 GHz GHz
  `/ossssso+/:-        -:/+osssso+-       ├   ➜  1.13 GiB / 1.81 GiB (62%)
 `+sso+:-`                 `.-/+oso:      ├ 󰓡  ➜  608.84 MiB / 926.50 MiB (66%)
`++:.                           `-/+/     ├ 󰋊  ➜  72.05 GiB / 252.68 GiB (29%) - ext4
.`                                 `/     └   ➜  1366x768 px @ 59.799 Hz - 260x140 mm (11.63 inches, 134.79 ppi)

</details>

### Description

Everything seems to work, yet the hyprtrails plugin is not loaded. I've rebuilt hyprland and re-enabled the plugin. But it still doesn't work.

### How to reproduce

Run hyprpm update on the latest git version of Hyprland

### Crash reports, logs, images, videos

hyprpm update
✔ Headers up to date.

 → checking for updates for hyprland-plugins
 → Cloning https://github.com/hyprwm/hyprland-plugins
✔ repository hyprland-plugins is up-to-date.
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  4 / 4  Done!
✔ Ensuring plugin load state
✔ Loaded hyprtrails
✔ Plugin load state ensured

hyprpm add https://github.com/hyprwm/hyprland-plugins
✔ adding a new plugin repository from https://github.com/hyprwm/hyprland-plugins
MAKE SURE that you trust the authors. DO NOT install random plugins without verifying the code and author.
Are you sure? [Y/n] y

→ Cloning https://github.com/hyprwm/hyprland-plugins
✔ cloned
✔ found hyprpm manifest
✔ parsed manifest, found 6 plugins:
→ borders-plus-plus by Vaxry version
→ csgo-vulkan-fix by Vaxry version
→ hyprbars by Vaxry version
→ hyprexpo by Vaxry version
→ hyprtrails by Vaxry version
→ hyprwinwrap by Vaxry version
→ Manifest has 16 pins, checking
✔ Hyprland headers OK
→ Building borders-plus-plus
✖ Plugin borders-plus-plus failed to build.
This likely means that the plugin is either outdated, not yet available for your version, or broken.
If you are on -git, update first.
Try re-running with -v to see more verbose output.
→ Building csgo-vulkan-fix
✖ Plugin csgo-vulkan-fix failed to build.
This likely means that the plugin is either outdated, not yet available for your version, or broken.
If you are on -git, update first.
Try re-running with -v to see more verbose output.
→ Building hyprbars
✖ Plugin hyprbars failed to build.
This likely means that the plugin is either outdated, not yet available for your version, or broken.
If you are on -git, update first.
Try re-running with -v to see more verbose output.
→ Building hyprexpo
✖ Plugin hyprexpo failed to build.
This likely means that the plugin is either outdated, not yet available for your version, or broken.
If you are on -git, update first.
Try re-running with -v to see more verbose output.
→ Building hyprtrails
✖ Plugin hyprtrails failed to build.
This likely means that the plugin is either outdated, not yet available for your version, or broken.
If you are on -git, update first.
Try re-running with -v to see more verbose output.
→ Building hyprwinwrap
✖ Plugin hyprwinwrap failed to build.
This likely means that the plugin is either outdated, not yet available for your version, or broken.
If you are on -git, update first.
Try re-running with -v to see more verbose output.
✔ all plugins built
✔ installed repository
✔ you can now enable the plugin(s) with hyprpm enable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  5 / 5  Done!

! removing a plugin repository: https://github.com/hyprwm/hyprland-plugins
Are you sure? [Y/n] y
[v] version returned: Hyprland, built from branch main at commit 4b4971c06fb02df00a2bd20b6b47b5d0e7d799a7  (internal: introduce new types to avoid unsigned int rollover and signed int overflow (7216)).
Date: Fri Aug 9 00:31:50 2024
Tag: v0.42.0-2-g4b4971c0, commits: 5071
flags: (if any)
[v] parsed commit 4b4971c06fb02df00a2bd20b6b47b5d0e7d799a7 at branch main on Fri Aug 9 00:31:50 2024, commits 5071
✔ adding a new plugin repository from https://github.com/hyprwm/hyprland-plugins
MAKE SURE that you trust the authors. DO NOT install random plugins without verifying the code and author.
Are you sure? [Y/n] y
→ Cloning https://github.com/hyprwm/hyprland-plugins
✔ cloned
✔ found hyprpm manifest
✔ parsed manifest, found 6 plugins:
→ borders-plus-plus by Vaxry version
→ csgo-vulkan-fix by Vaxry version
→ hyprbars by Vaxry version
→ hyprexpo by Vaxry version
→ hyprtrails by Vaxry version
→ hyprwinwrap by Vaxry version
→ Manifest has 16 pins, checking
✔ Hyprland headers OK
→ Building borders-plus-plus
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/yuvan && PKG_CONFIG_PATH="/home/yuvan/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C borders-plus-plus all
make: Entering directory '/tmp/hyprpm/yuvan/borders-plus-plus'
g++ -shared -fPIC --no-gnu-unique main.cpp borderDeco.cpp -o borders-plus-plus.so -g pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon -std=c++2b -O2
In file included from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:9,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:2,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
from main.cpp:6:
/home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
9 | #include "SharedDefs.hpp"
|          ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../debug/Log.hpp:9,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../defines.hpp:2,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/IHyprWindowDecoration.hpp:4,
from borderDeco.hpp:5,
from borderDeco.cpp:1:
/home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
9 | #include "SharedDefs.hpp"
|          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/yuvan/borders-plus-plus'
✖ Plugin borders-plus-plus failed to build.
This likely means that the plugin is either outdated, not yet available for your version, or broken.
If you are on -git, update first.
Try re-running with -v to see more verbose output.
→ Building csgo-vulkan-fix
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/yuvan && PKG_CONFIG_PATH="/home/yuvan/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C csgo-vulkan-fix all
make: Entering directory '/tmp/hyprpm/yuvan/csgo-vulkan-fix'
g++ -shared -fPIC --no-gnu-unique main.cpp -o csgo-vulkan-fix.so -g pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon -std=c++2b -O2
In file included from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:9,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:2,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
from main.cpp:5:
/home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
9 | #include "SharedDefs.hpp"
|          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/yuvan/csgo-vulkan-fix'
✖ Plugin csgo-vulkan-fix failed to build.
This likely means that the plugin is either outdated, not yet available for your version, or broken.
If you are on -git, update first.
Try re-running with -v to see more verbose output.
→ Building hyprbars
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/yuvan && PKG_CONFIG_PATH="/home/yuvan/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprbars all
make: Entering directory '/tmp/hyprpm/yuvan/hyprbars'
g++ -shared -fPIC --no-gnu-unique -g -std=c++2b -Wno-c++11-narrowing pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon main.cpp barDeco.cpp  -o hyprbars.so pkg-config --libs pangocairo -O2
In file included from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:9,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:2,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
from main.cpp:6:
/home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
9 | #include "SharedDefs.hpp"
|          ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../debug/Log.hpp:9,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../defines.hpp:2,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/IHyprWindowDecoration.hpp:4,
from barDeco.hpp:5,
from barDeco.cpp:1:
/home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
9 | #include "SharedDefs.hpp"
|          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:11: hyprbars.so] Error 1
make: Leaving directory '/tmp/hyprpm/yuvan/hyprbars'
✖ Plugin hyprbars failed to build.
This likely means that the plugin is either outdated, not yet available for your version, or broken.
If you are on -git, update first.
Try re-running with -v to see more verbose output.
→ Building hyprexpo
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/yuvan && PKG_CONFIG_PATH="/home/yuvan/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprexpo all
make: Entering directory '/tmp/hyprpm/yuvan/hyprexpo'
g++ -shared -fPIC --no-gnu-unique main.cpp overview.cpp -o hyprexpo.so -g pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon -std=c++2b -Wno-narrowing
In file included from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:9,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:2,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
from main.cpp:5:
/home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
9 | #include "SharedDefs.hpp"
|          ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../debug/Log.hpp:9,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../defines.hpp:2,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/PluginAPI.hpp:26,
from globals.hpp:3,
from overview.hpp:5,
from overview.cpp:1:
/home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
9 | #include "SharedDefs.hpp"
|          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/yuvan/hyprexpo'
✖ Plugin hyprexpo failed to build.
This likely means that the plugin is either outdated, not yet available for your version, or broken.
If you are on -git, update first.
Try re-running with -v to see more verbose output.
→ Building hyprtrails
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/yuvan && PKG_CONFIG_PATH="/home/yuvan/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprtrails all
make: Entering directory '/tmp/hyprpm/yuvan/hyprtrails'
g++ -shared -fPIC --no-gnu-unique main.cpp trail.cpp -o hyprtrails.so -g pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon -std=c++2b -O2
In file included from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:9,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:2,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
from main.cpp:6:
/home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
9 | #include "SharedDefs.hpp"
|          ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../debug/Log.hpp:9,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../defines.hpp:2,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/PluginAPI.hpp:26,
from trail.hpp:6,
from trail.cpp:1:
/home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
9 | #include "SharedDefs.hpp"
|          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/yuvan/hyprtrails'
✖ Plugin hyprtrails failed to build.
This likely means that the plugin is either outdated, not yet available for your version, or broken.
If you are on -git, update first.
Try re-running with -v to see more verbose output.
→ Building hyprwinwrap
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/yuvan && PKG_CONFIG_PATH="/home/yuvan/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprwinwrap all
make: Entering directory '/tmp/hyprpm/yuvan/hyprwinwrap'
g++ -shared -fPIC --no-gnu-unique main.cpp -o hyprwinwrap.so -g pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon -std=c++2b -O2
In file included from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:9,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:2,
from /home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
from main.cpp:11:
/home/yuvan/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
9 | #include "SharedDefs.hpp"
|          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/yuvan/hyprwinwrap'
✖ Plugin hyprwinwrap failed to build.
This likely means that the plugin is either outdated, not yet available for your version, or broken.
If you are on -git, update first.
Try re-running with -v to see more verbose output.
✔ all plugins built
✔ installed repository
✔ you can now enable the plugin(s) with hyprpm enable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  5 / 5  Done!

I've even tried on another system with my portable ssd. But it still didn't work there either.

fixed in git already


fix send on closed chan in log batch_strategy

What does this PR do?
This fixes a stack trace due to a write on a closed chan when stopping the agent
panic: send on closed channel

goroutine 239 [running]:
github.com/DataDog/datadog-agent/pkg/logs/sender.(*batchStrategy).sendMessages(0xc00013b7a0, 0xc000bb4000, 0x2, 0x3e8, 0xc00007d8c0)
	/home/vagrant/go/src/github.com/DataDog/datadog-agent/pkg/logs/sender/batch_strategy.go:144 +0x25f
github.com/DataDog/datadog-agent/pkg/logs/sender.(*batchStrategy).flushBuffer(0xc00013b7a0, 0xc00007d8c0)
	/home/vagrant/go/src/github.com/DataDog/datadog-agent/pkg/logs/sender/batch_strategy.go:133 +0xd1
github.com/DataDog/datadog-agent/pkg/logs/sender.(*batchStrategy).Start.func1(0xc00013b7a0)
	/home/vagrant/go/src/github.com/DataDog/datadog-agent/pkg/logs/sender/batch_strategy.go:101 +0x1e5
created by github.com/DataDog/datadog-agent/pkg/logs/sender.(*batchStrategy).Start
	/home/vagrant/go/src/github.com/DataDog/datadog-agent/pkg/logs/sender/batch_strategy.go:82 +0x3f

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] The appropriate team/.. label has been applied, if known.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template has been updated.

I already merged a fix for this. Slightly with different approach https://github.com/DataDog/datadog-agent/pull/10533 that preserves the shutdown order of pipeline components.

I'm going to rebase and remove the WaitGroup thing


Test PR to fix Cloudbuild

Description of what I changed
Changed the flush methods in the ParquetUtil class to create a new ParquetWriter instead of removing the current one
E2E test
TESTED:
Checklist: I completed these to help reviewers :)

[x] I have read and will follow the review process.

[x] I am familiar with Google Style Guides for the language I have coded in.
No? Please take some time and review Java and Python style guides.

[x] My IDE is configured to follow the Google code styles.
No? Unsure? -> configure your IDE.

[] I have added tests to cover my changes. (If you refactored existing code that was well tested you do not have to add tests)

[x] I ran mvn clean package right before creating this pull request and added all formatting changes to my commit.

[x] All new and existing tests passed.

[x] My pull request is based on the latest changes of the master branch.
No? Unsure? -> execute command git pull --rebase upstream master

Codecov Report
Attention: Patch coverage is 51.63934% with 118 lines in your changes missing coverage. Please review.

Project coverage is 52.15%. Comparing base (b03c2c7) to head (6ee6891).

Files
Patch %
Lines

.../java/com/google/fhir/analytics/ParquetMerger.java
0.00%
73 Missing :warning:

...in/java/com/google/fhir/analytics/ParquetUtil.java
76.74%
14 Missing and 6 partials :warning:

...ava/com/google/fhir/analytics/view/ViewSchema.java
69.64%
11 Missing and 6 partials :warning:

.../main/java/com/google/fhir/analytics/DwhFiles.java
81.81%
3 Missing and 1 partial :warning:

...c/main/java/com/google/fhir/analytics/FhirEtl.java
0.00%
2 Missing :warning:

...java/com/google/fhir/analytics/DataProperties.java
33.33%
2 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1141      +/-   ##
============================================
+ Coverage     51.76%   52.15%   +0.39%
- Complexity      669      715      +46
============================================
  Files            95       95
  Lines          5612     5844     +232
  Branches        731      786      +55
============================================
+ Hits           2905     3048     +143
- Misses         2425     2502      +77
- Partials        282      294      +12

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Mismatched dependency versions

Please see:
https://github.com/expressjs/express/commit/ec4a01b6b8814d7b007f36a3023f4dbafdbc3d09#commitcomment-146499333

Please sync "qs": "6.11.0", to the actual version "body-parser": "1.20.3", is using which is "qs": "6.13.0",

https://github.com/expressjs/express/commit/4c9ddc1c47bf579e55c2fe837d76a952e9fd8959#commitcomment-146501448

You should also bump send within "serve-static": "1.16.0", .
express requires "send": "0.19.0", but "serve-static": "1.16.0", requires "send": "0.18.0",

So, bump where applicable the following two packages:
    "qs": "6.13.0",
    "send": "0.19.0",

My two cents.
Related:

https://github.com/expressjs/express/issues/5947
https://github.com/expressjs/serve-static/issues/175
https://github.com/expressjs/express/pull/5946
https://github.com/expressjs/serve-static/pull/176

Do you want to create a PR for this @NewEraCracker ? :)

I created a PR for the qs issue @UlisesGascon
Someone else has already made a PR for the send issue for the package serve-static

There is another one that should be urgently looked at by the maintainers:
This is new version it is important to update: https://github.com/pillarjs/encodeurl/releases/tag/v2.0.0
Express is on latest, but serve-static is still using the vulnerable version.

For the serve static and send part: https://github.com/expressjs/express/pull/5951

For qs: https://github.com/expressjs/express/pull/5946
We are already on<EMAIL_ADDRESS>for 4.x I thought?
I think that means we can close this?

Oh! https://github.com/expressjs/serve-static/blob/1.x/package.json#L9C6-L9C15
Sorry, I should have seen this. I just bumped that lib with only the send update, I guess we will do another patch.

And finalhandler: https://github.com/pillarjs/finalhandler/pull/62

Prepping this release: https://github.com/expressjs/express/compare/4.20.0..4.x

https://github.com/expressjs/express/releases/tag/4.21.0

<EMAIL_ADDRESS>depends on: "encodeurl": "~1.0.2", - It should be updated to v2.
I'll continue forcing it on my overrides to workaround: "encodeurl": "~2.0.0",
@UlisesGascon @wesleytodd

Does it make sense to introduce patch updates for packages in v4 in that case?  It's a simple change which could simplify fix on the project level at least a bit more

We are removing these pins in v5. This is historical from when the ecosystem was MUCH more volatile and the entire project was primarily maintained by one person. It made more sense then, it makes less sense now.

We can't predict when it will happen again. v5 adoption will take some time and I would prefer to stay on v4 for now. It can be limited to the packages that you have already changed. So you can avoid adding it blindly to every package.

EDIT: You can see we use ^ for any that we updated here

@wesleytodd

We are working on those patches. But with the time commitment this week from the release I needed to spend some time on my actual job today. v4 is absolutely still the main line version of express and is fully supported. We will be publishing more docs soon about it, just please be patient with us. :)


Display additional information in thresholds lanes.

Coverage increased (+0.001%) to 99.043% when pulling 82c59d3e6cb74853532ade83870cb6e7f6243a27 on thongsav-usgs:master into 81e8ede0c0a4de5a98c2105cece578b1624d97c2 on USGS-R:master.


MMX files

I dont know why but disunity can list assets from this game, but not unpack them. File for tests.

Which version are you using? That's a Unity 4.x.x file so your best bet would be disunity v0.3.4, which will bundle-extract the .pak file into a CAB file and then can 'disunity extract' will unpack at least some of the assets from the file.
The latest release, v0.5, is working towards supporting Unity 5 but doesn't yet extract deserialize assets like previous versions - it can only extract raw asset data.

Please close!


Error: brew bundle --cleanup

brew bundle --cleanup failed.

$ brew bundle --cleanup
Error: invalid option: --cask
Warning: Failed to parse `brew info --cask --json`: 767: unexpected token at ''

But the same thing with 2 separate commands succeeded.

$ brew bundle
$ brew cleanup

Please run brew update and try again.

I'm hitting this error on one of my Macs, but not the other. I've run brew update on both Macs repeatedly, and both claim to be "Already up-to-date." But brew -v is reporting different version info. I don't know why, these systems should be identical. They're both running macOS 10.14.6 and are using the same bundle file.

Using Microsoft PowerPoint
Using Microsoft Word
Using Pages

Homebrew Bundle complete! 54 Brewfile dependencies now installed.
Usage: brew info [options] [formula]

Display brief statistics for your Homebrew installation.

If formula is provided, show summary of information about formula.

      --analytics                  List global Homebrew analytics data or, if
                                   specified, installation and build error
                                   data for formula (provided neither
                                   HOMEBREW_NO_ANALYTICS nor
                                   HOMEBREW_NO_GITHUB_API are set).
......
  -h, --help                       Show this message.
Error: invalid option: --cask
Warning: Failed to parse `brew info --cask --json`: 767: unexpected token at ''

I'm having the same issue. Here is my report https://github.com/Homebrew/brew/issues/9306 . I thought this is a Brew issue because brew info --cask does not work by itself either.

@MikeMcQuaid This error is still happening.. I think because HOMEBREW_VERSION is now 2.5.12, which is greater than 2.5.11, so cask_dumper.rb decides to use the 2.6 command format. I wonder if that test should be:
if HOMEBREW_VERSION >= "2.6"


[Task]: Investigate MyBatis framework for usage with Appsmith

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks

The goal here is to investigate if MyBatis framework could be used to replace the core internals of current Appsmith Integrations, so that we could leave a lot of integration related work to the framework, this cutting down on creating new integrations or maintaining the old one.

The final conclusion based on a limited research is that we cannot use MyBatis. Details are mentioned here.


Add example systemctl script

I know this script is not going to work for everyone but it is a place to start. I have hardcoded paths to Java and to the NR plugin.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


run config diff check now considers number of images

New input files are now detected when the config uses glob expressions. Fixes #645.

Something I thought of on seeing this and #645, does a missing image impact negatively on the run at all? I can't remember if the images.parquet is added to or it is constructed again using the images input - assuming that everything is there from the previous one.
I kind of feel like there should be a refusal to run if a previous image that has already been processed in the run is not found. Given that this issue stems from the glob command, the user may not be aware that they have mucked up their command, or something has gone wrong with the file that they expected to be there with glob. As my concern is also with the new source and forced extractions that go back and use the images through the run - this could fail or not be correct if an image is unintentionally missing. Again I can't quite remember how the images dataframe is constructed again in add image mode, but I wouldn't be surprised if some part of it relies on the input from the 'add mode config file'.

I kind of feel like there should be a refusal to run if a previous image that has already been processed in the run is not found.

I agree. I'm also not yet sure what the consequences of missing inputs are during a re-run but regardless I think it would be better if the pipeline raised an error.
I'm also now thinking about the restore run functionality and how that would work with this. Suppose a run using globs is completed, then new images are added to the filesystem without changing the run config, and the run is re-run and fails. A check is run during the restorepiperun command that compares the previous config inputs with the images.parquet.bak file:
https://github.com/askap-vast/vast-pipeline/blob/c681f96e452afdeb478e6528dac9e99efe6be576/vast_pipeline/management/commands/restorepiperun.py#L63-L80
I think this check would fail. The previous config is the same as the new config (it contains the same globs) but the parsed file list will be different since the filesystem changed. Perhaps checking that the parsed file list is a superset of the inputs given in images.parquet.bak would work?

I think this check would fail. The previous config is the same as the new config (it contains the same globs) but the parsed file list will be different since the filesystem changed. Perhaps checking that the parsed file list is a superset of the inputs given in images.parquet.bak would work?

Uff yes I think you're right, the glob input is really not handled very well in these modes is it 😬, my bad!
I think each of these methods needs an explicit image check that resolves any globs and yes, that the set intersection shows that all images are contained in the glob in the configs/images for the respective mode.


Update Readme

Fix usage examples and don't import the interfaces.

Much easier to read on the README! Thank you!


osxaudio should support Voice-Processing IO

This is a GStreamer issue documented here:
https://bugzilla.gnome.org/show_bug.cgi?id=732896
I'm adding it here since I found out WebRTC switched from Remote IO to Voice-Processing IO two years ago, and I suspect we should too:
https://webrtc-codereview.appspot.com/1061007
Currently osxaudio is a mess of HAL and Remote IO implementations. IMHO it should be refactored to have selectable implementations:

remoteio
vpio
hal (OS X only)

Yup, I was aware of that gst issue but thanks for noting it here. This forms part of the echo cancellation feature in the roadmap. :smile:


parsescript.py fails somehow?

NOt suppose to happen
Traceback (most recent call last):
  File "parsedept.py", line 11, in <module>
    from bs4 import BeautifulSoup as bs
  File "/home/zen/anaconda2/lib/python2.7/site-packages/bs4/__init__.py", line 32, in<module>
    from .element import (
ImportError: cannot import name e

Huh. Strange. I uninstalled and reinstalled bs4 and it works fine now.


Add more information to err message when GenIndices can't find matching indices

See relevant issue.

@kylebrandt, could you review this?

Review status: :shipit: all files reviewed, all discussions resolved, all commit checks successful.
Reviewed files:

cmd/bosun/expr/logstash.go @ r1

Comments from the review on Reviewable.io

Needed a merge so I did this by hand.


Select: Fancy styling

This was broken out of the original Select component to enhance the styling to be a bit more branded.
When I display a dropdown with a sub title
Then it displays the title text at Medium Text and the sub text at Small Text (designs attached)
dropdown menu should be custom designed (attached screen shot and sketch files) NOT default (as it is currently)
dropdown menu hover state should have Panache #F4F9F2 background and green checkmark
ability to have sub text for dropdown (attached screenshot)
chevron in a double line scenario will be vertically centred


[SPARK-18797][SparkR]:Update spark.logit in sparkr-vignettes

What changes were proposed in this pull request?
spark.logit is added in 2.1. We need to update spark-vignettes to reflect the changes. This is part of SparkR QA work.
How was this patch tested?
Manual build html. Please see attached image for the result.

cc @felixcheung

Test build #69892 has started for PR 16222 at commit 0333b4f.

Test build #69895 has started for PR 16222 at commit fc175ff.

Test build #69892 has finished for PR 16222 at commit 0333b4f.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
Multiclass classification is supported via multinomial logistic (softmax) regression. In multinomial logistic regression,
In multiclass (or binary) classification to adjust the probability of predicting each class. Array must have length

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69892/
Test PASSed.

Merged build finished. Test PASSed.

Test build #69895 has finished for PR 16222 at commit fc175ff.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69895/
Test PASSed.

@wangmiao1981 Do we need to explain what "logistic regression" is?

@mengxr

Yes, I can add explanation of what "logistic regression" is.

"We shouldn't make the vignettes repeat the content in the API doc." Do you mean removing the parameter explanation? I saw other algorithms have such explanations. Any suggestions on replacing them?

Thanks!

@wangmiao1981 Sorry, I was actually suggesting removing the math part. Those are standard logistic regression formulations, which could be found in many other places. We don't really need to repeat them here. Just providing some pointers should be sufficient.
The second half overlaps with the API doc. It would cause maintenance overhead, e.g. how to keep the content in sync. Take dplyr for example, the reference manual contains the API doc while the vignettes are more tutorial-like. We should move towards this direction and having less duplicate content in our code base. For this one in particular, I suggest doing a quick introduction followed by some example code.

Got it! I will make a new pass. Thanks!

Test build #69947 has started for PR 16222 at commit e7c424a.

Test build #69948 has started for PR 16222 at commit 070d7fe.

Test build #69947 has finished for PR 16222 at commit e7c424a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69947/
Test PASSed.

Test build #69948 has finished for PR 16222 at commit 070d7fe.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69948/
Test PASSed.

Test build #69954 has started for PR 16222 at commit 5fe125f.

@mengxr
I used the following R code and glmnet to check whether regParam = 0.5 fits a good model.

iris2 <- iris[iris$Species %in% c("versicolor", "virginica"), ]
iris.x = as.matrix(iris2[, 1:4])
iris.y = as.factor(as.character(iris2[, 5]))
cvfit = cv.glmnet(iris.x, iris.y, family = "binomial", type.measure = "class")
cvfit$lambda.min
[1] 0.000423808
cvfit = cv.glmnet(iris.x, iris.y, family = "multinomial", type.measure = "class")
cvfit$lambda.min
[1] 0.01324703

If I understand correctly, regParam = 0.5 doesn't fit a good model for both binomial and multinomial cases, as the minimal lambda is < 0.1.

Test build #69954 has finished for PR 16222 at commit 5fe125f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69954/
Test PASSed.

Merged build finished. Test PASSed.

LGTM. Merged into master and branch-2.1. I will change the regParam value in a follow-up PR.


Investigate an opportunity to control TestNG current thread count

Currently, TestNG does not provide the ability to universally control the number of threads. We needed a feature that allowed us to start all the tests and at the same time control their actual execution flow.

Looks like we should not control TestNG thread count because we can control how many new appium sessions should be started at the same time. Issue: #207. So we can just start all tests by reusing parallel=tests for suite and parallel=methods for tests in xml suite.


Connect user with their Onedrive/Sharepoint data

Please provide us with the following information:
I have AZURE_USE_AUTHENTICATION true and want the user to be able to search their Onedrive/SharePoint and Mailbox data. How can I connect live API with these resources and be searchable after the user authenticates?
This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

azd version?
azd version 1.8.1
Mention any other details that might be useful
The users on my environment are hosted on Microsoft Entra ID

This repository does not currently have any particular integration with Sharepoint. You may want to read through related issues to see if developers have shared their approaches:
https://github.com/Azure-Samples/azure-search-openai-demo/issues?q=is%3Aissue+is%3Aopen+sharepoint
You could consider using the Sharepoint API:
https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/get-to-know-the-sharepoint-rest-service?tabs=csom
If you're using the authentication option, then presumably you could ask for the scope that'd give access to the user's relevant data, and then you could do a search on the user's behalf, and send them to the LLM.
Or you could use the Sharepoint indexer for getting data into Azure AI search, if you're doing RAG on widely available documents, but it sounds like that's not the case.
https://learn.microsoft.com/en-us/azure/search/search-howto-index-sharepoint-online

The first link isn't taking me to a specific issue.
Also if I want to add more capability for the chat app search index like the SharePoint API,
how and where will this added scripting go on the main workspace?

I liked to a search for "sharepoint" in the issue tracker since it has come up in multiple threads.
To additionally query the Sharepoint API, you'd want to modify the files in the approaches folders. For example, for the chat tab, you'd modify this file:
https://github.com/Azure-Samples/azure-search-openai-demo/blob/96ec028281da79f40b3b87e776e7447f70d79660/app/backend/approaches/chatreadretrieveread.py#L157
I'm not sure if you're imagining replacing the search entirely, or optionally doing search based on what the user searched for. You may want to read more about function calling, as you might want to add a function or add a parameter to the existing function that's used during the query rewriting phrase. See this blog post:
https://blog.pamelafox.org/2024/03/rag-techniques-using-function-calling.html


Add gem "view_component"

While setting up a brand new rails project and template I've noticed that this gem wouldn't work without view_component. I'm not sure if this is a bug where the dependency should come with primer_view_components instead because I have no experience with Rails.
(I've accidentally committed this directly on the main branch initially but removed it again. 🥴)

installing primer_view_components should install view_component automatically as a dependency for you 🤔
maybe you just need to require it in your app?

Oh I will give that a try @manuelpuyol and change the docs accordingly!

@manuelpuyol This indeed fixed my issue 🎉 Also updated the docs to mention this now. Thanks for your help.


Move input parameters to side panel

added to feature branch - https://github.com/raghothams/grok-ergodicity/commit/11a1b81d47614cdad681ecdec06a3a959636d40d


Plugins with dart plugin registrants don't work on background isolates

After https://github.com/flutter/flutter/issues/13937, platform channels work on background isolates.  Plugins should work as well, but if a plugin relies on a dart plugin registrant (example shared_preferences usage to set the platform_interface subclass) the registrant isn't executed on the background isolate, so the plugin function correctly.  Specifically there aren't handlers registered for the platform channels.
The solution should be to execute the Dart plugin registrant on the background isolate when it registers with the root isolate.
See:

PlatformConfigurationNativeApi::RegisterBackgroundIsolate
flutter::FindAndInvokeDartPluginRegistrant

fyi @stuartmorgan
I tried the naive solution of calling flutter::FindAndInvokeDartPluginRegistrant in PlatformConfigurationNativeApi::RegisterBackgroundIsolate but oddly crashes.  Ideally we can fix this under the covers so BackgroundIsolateBinaryMessenger.ensureInitialized calls the registrant.

Does calling the Dart plugin ensure-initialized method (I forget the exact name) from the Dart side work?

Does calling the Dart plugin ensure-initialized method (I forget the exact name) from the Dart side work?

Are you talking about calling the generated dart code directly?  The generated code is private (class _PluginRegistrant), I wonder if I may have to end up exposing a function that is calling it.  I don't know if there already is one.  I didn't see one.
I suspect the crash on the c++ solution may be something weird about jumping back into dart after dart calls c++ (ie Dart-> C++-> Dart ).

I meant calling DartPluginRegistrant.ensureInitialized().

I completely forgot I implemented that, that worked out.


Complete PanelApp parser rewrite

Part 1

[x] Remove old & partially refactored modules
[x] Merge existing code into one module
[x] Unify argument parsing
[x] Unify Spark session init
[x] Optimise imports
[x] Fix formatting errors and separators prior to phenotype splitting
[x] Reimplement handling of records with no meaningful phenotypes
[x] Remove extra information prior to ontology extraction
[x] Reimplement extraction of ontology information

Part 2

[x] Separate extraction for OMIM and other ontologies
[x] Reimplement post splitting phenotype cleanup
[x] Construct final ontology identifiers for OnToma querying

List of data issues to report back

Multiple formats are used to specify OMIM identifiers:

103580
MIM 615553
MIM#	615249 (that's a tab character used as a separator)
OMIM 610549
OMIM #612073
OMIM:612186
OMIM: 617236
OMIM #617767
OMIM# 618658

Multiple formats for specifying other ontologies:

ORPHA90636
Orphanet:453499
OrphaNet: ORPHA404454

Multiple formats are used when both the string and the OMIM identifier are present:

#107480:Townes-Brocks syndrome
#601869: Deafness, autosomal recessive 15
Cenani-Lenz syndactyly syndrome 212780
Cenani-Lenz syndactyly syndrome, 212780
Centronuclear myopathy 5 ( 615959)
Cerebellar ataxia, areflexia, pes cavus, optic atrophy and sensorineural hearing loss (CAPOS, #601338)
{Amyotrophic lateral sclerosis, susceptibility to, 13}, 183190

Typos and formatting errors in specific disease names

"Usher syndrome, type 1D, 601067;Deafness, autosomal recessive; 12, 601386;Usher syndrome, type 1D/F digenic, 601067" — Disease name is using a semicolon, which breaks phenotype splitting

Combined oxidative phosphorylation deficiency 6, 300816Cowchock syndrome, 310490 — Two diseases are glued to each other
17,20-lyase deficiency, isolated 202110 and 17-alpha-hydroxylase/17,20-lyase deficiency 202110 — Two diseases in one, separated by “and”

Additional unstructured information present in phenotype strings

Meier-Gorlin syndrome with craniosynostosis (from PMID 27374770)
Jervell and Lange-Nielsen syndrome [Congenital sensorineural hearing loss, Prolonged QT interval on EKG, SyncopeTorsades de pointes, Sudden cardiac death, Caused by mutation in the potassium voltage-gated channel, KQT-like subfamily, member 1 gene (KCNQ1), Caused by mutation in the potassium voltage-gated channel, Isk-related subfamily, member 1 gene (KCNE1)]
22q11.2 deletion syndrome, Orphanet:567 (includes developmental delay)

Phenotype names starting with or containing ? with unclear meaning:

616553 ?Dyskeratosis congenita 6 and 7
3- ?-hydroxysterol ?5-oxidoreductase/isomerase deficiency (Disorders of bile acid biosynthesis)

Very different ways of describing the ontologies:

Epileptic encephalopathy, intellectual disability, no OMIM# yet

Discussions

Do we really want to substitute the panel name when the phenotype is not present? — Probably not.
Do we want the phenotypes which start with question marks? — Probably not.

List of data issues to report back

Multiple formats are used to specify OMIM identifiers:

103580
MIM 615553
MIM#	615249 (that's a tab character used as a separator)
OMIM 610549
OMIM #612073
OMIM:612186
OMIM: 617236
OMIM #617767
OMIM# 618658

Multiple formats for specifying other ontologies:

ORPHA90636
Orphanet:453499
OrphaNet: ORPHA404454

Multiple formats are used when both the string and the OMIM identifier are present:

#107480:Townes-Brocks syndrome
#601869: Deafness, autosomal recessive 15
Cenani-Lenz syndactyly syndrome 212780
Cenani-Lenz syndactyly syndrome, 212780
Centronuclear myopathy 5 ( 615959)
Cerebellar ataxia, areflexia, pes cavus, optic atrophy and sensorineural hearing loss (CAPOS, #601338)
{Amyotrophic lateral sclerosis, susceptibility to, 13}, 183190

Typos and formatting errors in specific disease names

"Usher syndrome, type 1D, 601067;Deafness, autosomal recessive; 12, 601386;Usher syndrome, type 1D/F digenic, 601067" — Disease name is using a semicolon, which breaks phenotype splitting

Combined oxidative phosphorylation deficiency 6, 300816Cowchock syndrome, 310490 — Two diseases are glued to each other
17,20-lyase deficiency, isolated 202110 and 17-alpha-hydroxylase/17,20-lyase deficiency 202110 — Two diseases in one, separated by “and”

Additional unstructured information present in phenotype strings

Meier-Gorlin syndrome with craniosynostosis (from PMID 27374770)
Jervell and Lange-Nielsen syndrome [Congenital sensorineural hearing loss, Prolonged QT interval on EKG, SyncopeTorsades de pointes, Sudden cardiac death, Caused by mutation in the potassium voltage-gated channel, KQT-like subfamily, member 1 gene (KCNQ1), Caused by mutation in the potassium voltage-gated channel, Isk-related subfamily, member 1 gene (KCNE1)]
22q11.2 deletion syndrome, Orphanet:567 (includes developmental delay)

Phenotype names starting with or containing ? with unclear meaning:

616553 ?Dyskeratosis congenita 6 and 7
3- ?-hydroxysterol ?5-oxidoreductase/isomerase deficiency (Disorders of bile acid biosynthesis)

Very different ways of describing the ontologies:

Epileptic encephalopathy, intellectual disability, no OMIM# yet

Discussions

Do we really want to substitute the panel name when the phenotype is not present? — Probably not.
Do we want the phenotypes which start with question marks? — Probably not.


Simplify adding new modes

Adding/modifying a new mode is a complicated process, as modes are not reloaded on-the-fly. Would it be possible to provide a way to always re-fetch the latest version of chat_modes.yml so the full bot restart is not needed?

@dmitrybabich
From my experience it's a pretty time consuming task to create good chat mode. So the time spent on creating chat mode is >> than docker reload => there is no reason to have hot re-fetch of chat modes.


Duplicates in stations_mini.csv

trainline version: 0.0.8
Python version: 3.7
Operating System: MacOS

Description
stations_mini.csv is generated from the stations.csv from Trainline, but it seems that this file contains duplicates. For example, there seems to be two stations for Rennes which are duplicated in the stations.csv file too: 5055 (https://github.com/tducret/trainline-python/blob/master/trainline/stations_mini.csv#L3807) and 5097 (https://github.com/tducret/trainline-python/blob/master/trainline/stations_mini.csv#L3833). However, the get_station_id returns the first occurence in the stations_mini.csv, which sometimes returns no result from the trainline API.
Some stations are marked as suggestable in stations.csv. From what I understand, Trainline API will result results only for these stations.
I am going to open a PR to generate stations_mini.csv only for stations having the is_suggestable set to True. The README (https://github.com/trainline-eu/stations) indicates that is_suggestable means : Specify if the user can input this station.
What I Did
user = trainline.Passenger(birthdate="01/01/1996", cards=[trainline.JEUNE])
s = trainline.search( passengers=[user], departure_station="Paris", arrival_station="Rennes", from_date="18/06/2019 11:00", to_date="18/06/2019 15:00")

I got:
Status code 400 for url https://www.trainline.eu/api/v5_1/search
{"error":"Nous n’avons trouvé aucun trajet à cet horaire.","code":"no_results"}

PR with fix is here: https://github.com/tducret/trainline-python/pull/7

Thank you very much @alxch-
I had no idea about the is_suggestable tag 😯


[openebs]chore(YAML): Create openebs-operator-2.1.0-aws

Create and update YAML spec for OpenEBS 2.1.0 in AWS marketplace
No particular change from previous version. Only image and version update.

Signed-off-by: Ranjith R<EMAIL_ADDRESS>Checklist

[x] DCO signed
[x] Title of the PR starts with chart name (e.g. [stable/openebs])

@muratkars @kmova Please review this.. We are almost done with listing the new version..


Use of beginPublish / endPublish for single packet messages

The large payload API exposes all the parent Print class methods allowing complex payloads to be composed without needing an external buffer. However, it does require the length of the payload to be calculated in advance as the header must be written to the client before the payload.  Some payloads (e.g. debug messages from sensors) are short but may comprise a mixture of PROGMEM strings, floats, ints etc which are handled well by the various Print methods and their overloads.  Pre-calculating payload sizes for every arbitrary debug message would be painful.
It would be useful to have a single packet variant of the large payload API which also uses the beginPublish / endPublish pattern to wrap an arbitrary collection of print / write calls the length of which is constrained to fit within a single packet.  The pubSubClient::writes would then need to buffer header and payload components rather than sending straight to the client and keep track of bytes written so payload length in the header could be set automatically within endPublish.  Any writes that would breach MQTT_MAX_PACKET_SIZE would need to fail. The entire packet would then be sent to the client within endPublish

I have a working implementation for consideration

I have found this variants of beginPublish() and endPublish() methods usefull. Any considerations to merge this (if working?)


BoB integration tasks

IBM have forked BoB and are working on it. It'd be cool if there was some direct integration for working with BoB projects easier.
Links

https://github.com/IBM/ibmi-bob
https://github.com/edmundreinhardt/bob-recursive-example

Tasks

[ ] Schema definitions for .ibmi.json and .iproj.json
[ ] Built in Actions to run makei on the IFS
[ ] Fetching the EVFEVENT file after makei has been run and displaying the errors

Optional tasks

[ ] Ability to automatically generate .iproj.json (and maybe .ibmi.json)
[ ] Tool to copy source members into a specific directory with the correct naming convention for makei (NAME-TEXT_DESC.ext)
[ ] Tool to automatically detect dependencies append to Rules.mk

Locked this issue as BoB has not yet been finalised and is potentially subject to change.


Add documentation for the -sctp option in command line apps

Missed this earlier!

Checklist

[x] documentation is added or updated
[ ] tests are added or updated

Merged. Thanks.