plugin stopps after about an hour but notification stays

Plugin version: 2.2.4
Platform: Android
OS version: 7.1.1
Device manufacturer and model: LG Nexus 5x
Plugin configuration options:
´´´        debug: false,
desiredAccuracy: 0,
stationaryRadius: 6,
distanceFilter: 6,
stopOnTerminate: true,
startOnBoot: false,
startForeground: true,
interval: 3000,
fastestInterval: 3000,
activitiesInterval: 5000,
stopOnStillActivity: true,
stopOnStillMinAccuracy: 30
´´´

ok, my app / the plugin makes strange things I can't explain, maybe someone can make sense of that:
after about an hour in background, it stops working. Kind of: The notifications indicates that it's still tracking. But my server (firebase) never gets a onDisconnect event (which normally works perfectly even in background). When I open the app, it starts like it wasn't running before. I looked into the logs and can't make sense of them:
Here are the logs from the plugin. I left the house at about 16:40 and put the app in background. Fore some minutes the logs seem normal, but then they get strange and just end and 18:04. The next log is from this morning, when I opened the app again.
I'd expect that the notification get's closed too. When I click it, the app starts like normal first-start.
And there's another issue, of which I'm not sure if it's related:
I use Firebase as my db. FB has an option to set a db state when the connection to the client is disconnected.
If the app is running and I manually kill it (swiping in recent apps), the db correctly detects a disconnect. This works too if the app was in background. But if I put the app in background for a long time and the systems kills it, the db never receives an onDisconnect..
Do you have any ideas? By guess is, that the onDisconnect isn't triggered because the notification is still alive, which shouldn't be, if the systems has killed the app.
Thanks for any hint.

ok, it keeps getting more unpredictable
after starting the app at 10:14 I tried letting it sit for a while in background to maybe get a clue what's going on. So I just checked the debug logs (without opening the app) and found that the recordings again stop after about an hour running in background (at 10:24).
Then I opened the app expecting it to start new. But no - it just opened as if nothing happened... ?
after opening:
[2017/02/23 11:52:21] com.tenforwardconsulting.cordova.BackgroundGeolocationPlugin:Sending stationary location to webview
[2017/02/23 11:52:21] com.marianhello.bgloc.LocationService:New stationary BGLocation[fused 53.551825,9.925376 id=null acc=20 t=1487847141216 et=+11d12h51m36s114ms locprov=1]
[2017/02/23 11:52:21] com.marianhello.bgloc.ActivityRecognitionLocationProvider:###
[2017/02/23 11:52:21] com.marianhello.bgloc.ActivityRecognitionLocationProvider:a 20.362
[2017/02/23 11:52:21] com.marianhello.bgloc.ActivityRecognitionLocationProvider:a 30
[2017/02/23 11:52:21] com.marianhello.bgloc.ActivityRecognitionLocationProvider:Detected activity=STILL confidence=100
[2017/02/23 11:52:21] com.marianhello.bgloc.ActivityRecognitionLocationProvider:###
[2017/02/23 11:52:21] com.marianhello.bgloc.ActivityRecognitionLocationProvider:Location change: Location[fused 53.551825,9.925376 acc=20 et=+11d12h51m36s114ms]
[2017/02/23 11:52:21] com.marianhello.bgloc.ActivityRecognitionLocationProvider:Start tracking with priority=100 fastestInterval=3000 interval=3000 activitiesInterval=5000 stopOnStillActivity=true
[2017/02/23 11:52:21] com.marianhello.bgloc.ActivityRecognitionLocationProvider:Connected to Google Play Services
[2017/02/23 11:52:21] com.marianhello.bgloc.ActivityRecognitionLocationProvider:Connecting to Google Play Services
[2017/02/23 11:52:21] com.marianhello.bgloc.ActivityRecognitionLocationProvider:Start recording
[2017/02/23 11:52:21] com.marianhello.bgloc.ActivityRecognitionLocationProvider:Creating ActivityRecognitionLocationProvider
[2017/02/23 11:52:21] com.marianhello.bgloc.LocationService:Will start service with: Config[distanceFilter=6 stationaryRadius=6.0 desiredAccuracy=0 interval=3000 fastestInterval=3000 activitiesInterval=5000 isDebugging=false stopOnTerminate=true stopOnStillActivity=true stopOnStillMinAccuracy=30 startOnBoot=false startForeground=true locationProvider=1 nTitle=background tracking nText=Tap to open app. nIconLarge=null nIconSmall=null nIconColor=null url= syncUrl= syncThreshold=100 httpHeaders={} maxLocations=10000]
[2017/02/23 11:52:21] com.marianhello.bgloc.LocationService:Network condition changed hasConnectivity: true
[2017/02/23 11:52:21] com.marianhello.bgloc.LocationService:Received start startId: 1 intent: Intent { flg=0x4 cmp=com.apptum.app/com.marianhello.bgloc.LocationService (has extras) }
[2017/02/23 11:52:20] com.marianhello.bgloc.LocationService:Creating LocationService
[2017/02/23 11:52:20] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Destroying DistanceFilterLocationProvider
[2017/02/23 11:52:20] com.marianhello.bgloc.LocationService:Destroying LocationService
[2017/02/23 11:52:20] com.tenforwardconsulting.cordova.BackgroundGeolocationPlugin:Binding to bg service
[2017/02/23 11:52:20] com.tenforwardconsulting.cordova.BackgroundGeolocationPlugin:Starting bg service
[2017/02/23 11:52:20] com.tenforwardconsulting.cordova.BackgroundGeolocationPlugin:Stopping bg service
[2017/02/23 11:52:20] com.tenforwardconsulting.cordova.BackgroundGeolocationPlugin:Unbinding from bg service
[2017/02/23 11:52:20] com.tenforwardconsulting.cordova.BackgroundGeolocationPlugin:App will be resumed multitasking=true
[2017/02/23 11:52:20] com.tenforwardconsulting.cordova.BackgroundGeolocationPlugin:App is visible

before opening:
[2017/02/23 10:24:14] com.tenforwardconsulting.cordova.BackgroundGeolocationPlugin:Sending location to webview
[2017/02/23 10:24:14] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Location change: Location[network 53.551825,9.925376 acc=21 et=+11d11h23m29s332ms {Bundle[mParcelledData.dataSize=608]}] isMoving=true
[2017/02/23 10:24:14] com.marianhello.bgloc.LocationService:Persisted location: BGLocation[network 53.551825,9.925376 id=669 acc=21 t=1487841854435 et=+11d11h23m29s332ms {Bundle[mParcelledData.dataSize=608]} locprov=0]
[2017/02/23 10:24:14] com.marianhello.bgloc.LocationService:New location BGLocation[network 53.551825,9.925376 id=null acc=21 t=1487841854435 et=+11d11h23m29s332ms {Bundle[mParcelledData.dataSize=608]} locprov=0]
[2017/02/23 10:24:14] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Setting pace: true
[2017/02/23 10:24:14] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Location change: Location[network 53.551825,9.925376 acc=21 et=+11d11h23m29s332ms {Bundle[mParcelledData.dataSize=608]}] isMoving=true
[2017/02/23 10:24:09] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Location change: Location[network 53.551825,9.925376 acc=20 et=+11d11h23m24s311ms {Bundle[mParcelledData.dataSize=600]}] isMoving=true
[2017/02/23 10:24:09] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Location change: Location[network 53.551825,9.925376 acc=20 et=+11d11h23m24s311ms {Bundle[mParcelledData.dataSize=600]}] isMoving=true
[2017/02/23 10:24:07] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Setting pace: true
[2017/02/23 10:24:07] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Exited stationary: lat=53.5518249 long=9.9253757 acy=20.395}'
[2017/02/23 10:24:07] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Distance from stationary location: 40.808
[2017/02/23 10:24:07] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Single location update: Location[fused 53.551825,9.925376 acc=20 et=+11d11h23m22s311ms]
[2017/02/23 10:24:07] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Stationary location monitor fired
[2017/02/23 10:22:48] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Location change: Location[network 53.551825,9.925376 acc=22 et=+11d11h22m2s756ms {Bundle[mParcelledData.dataSize=608]}] isMoving=false
[2017/02/23 10:22:48] com.tenforwardconsulting.cordova.BackgroundGeolocationPlugin:Sending location to webview
[2017/02/23 10:22:47] com.marianhello.bgloc.LocationService:Persisted location: BGLocation[network 53.551825,9.925376 id=668 acc=22 t=1487841767858 et=+11d11h22m2s756ms {Bundle[mParcelledData.dataSize=608]} locprov=0]
[2017/02/23 10:22:47] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Entering stationary region
[2017/02/23 10:22:47] com.marianhello.bgloc.LocationService:New location BGLocation[network 53.551825,9.925376 id=null acc=22 t=1487841767858 et=+11d11h22m2s756ms {Bundle[mParcelledData.dataSize=608]} locprov=0]
[2017/02/23 10:22:47] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:startMonitoringStationaryRegion: lat=53.5518249 lon=9.9253757 acy=20.413
[2017/02/23 10:22:47] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Location change: Location[network 53.551825,9.925376 acc=22 et=+11d11h22m2s756ms {Bundle[mParcelledData.dataSize=608]}] isMoving=false
[2017/02/23 10:22:26] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Location change: Location[network 53.551825,9.925376 acc=20 et=+11d11h21m41s205ms {Bundle[mParcelledData.dataSize=596]}] isMoving=false
[2017/02/23 10:22:26] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Location change: Location[network 53.551825,9.925376 acc=20 et=+11d11h21m41s205ms {Bundle[mParcelledData.dataSize=596]}] isMoving=false
[2017/02/23 10:22:05] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Location change: Location[network 53.551825,9.925376 acc=21 et=+11d11h21m20s125ms {Bundle[mParcelledData.dataSize=608]}] isMoving=false
[2017/02/23 10:22:05] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Location change: Location[network 53.551825,9.925376 acc=21 et=+11d11h21m20s125ms {Bundle[mParcelledData.dataSize=608]}] isMoving=false
[2017/02/23 10:22:03] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Setting pace: false
[2017/02/23 10:22:03] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Start recording
[2017/02/23 10:22:02] com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider:Creating DistanceFilterLocationProvider
[2017/02/23 10:22:02] com.marianhello.bgloc.LocationService:Will start service with: Config[distanceFilter=6 stationaryRadius=6.0 desiredAccuracy=0 interval=3000 fastestInterval=3000 activitiesInterval=5000 isDebugging=false stopOnTerminate=true stopOnStillActivity=true stopOnStillMinAccuracy=30 startOnBoot=false startForeground=true locationProvider=0 nTitle=background tracking nText=Tap to open app. nIconLarge=null nIconSmall=null nIconColor=null url= syncUrl= syncThreshold=100 httpHeaders={} maxLocations=10000]
[2017/02/23 10:22:02] com.marianhello.bgloc.LocationService:Received start startId: 1 intent: Intent { flg=0x4 cmp=com.apptum.app/com.marianhello.bgloc.LocationService (has extras) }
[2017/02/23 10:22:02] com.marianhello.bgloc.LocationService:Network condition changed hasConnectivity: true
[2017/02/23 10:22:02] com.marianhello.bgloc.LocationService:Creating LocationService
[2017/02/23 10:22:02] com.marianhello.bgloc.ActivityRecognitionLocationProvider:Detaching recorder
[2017/02/23 10:22:02] com.marianhello.bgloc.ActivityRecognitionLocationProvider:Stop recording
[2017/02/23 10:22:01] com.tenforwardconsulting.cordova.BackgroundGeolocationPlugin:Binding to bg service
[2017/02/23 10:22:01] com.marianhello.bgloc.ActivityRecognitionLocationProvider:Destroying ActivityRecognitionLocationProvider
[2017/02/23 10:22:01] com.tenforwardconsulting.cordova.BackgroundGeolocationPlugin:Starting bg service
[2017/02/23 10:22:01] com.marianhello.bgloc.LocationService:Destroying LocationService
[2017/02/23 10:22:01] com.tenforwardconsulting.cordova.BackgroundGeolocationPlugin:Stopping bg service
[2017/02/23 10:22:01] com.tenforwardconsulting.cordova.BackgroundGeolocationPlugin:Unbinding from bg service
[2017/02/23 10:22:01] com.tenforwardconsulting.cordova.BackgroundGeolocationPlugin:App is no longer visible
[2017/02/23 10:22:01] com.tenforwardconsulting.cordova.BackgroundGeolocationPlugin:App will be paused multitasking=true
[2017/02/23 10:21:48] com.marianhello.bgloc.ActivityRecognitionLocationProvider:Detected activity=STILL confidence=75

did you try turning off the doze mode of OS ?

Notice: this issue has been closed because it has been reported for branch 2.x or later. It could be already fixed in v3 or is not relevant anymore. You may reopen this issue if it has been closed in error.


Create a SpecialMealCard component

To-do list

[ ] Create a SpecialMealCard component in the atoms folder
[ ] It should receive image and name props
[ ] It should be matched with our UIX design

I will take this issue.


Better validation for object removal (details inside)

At least, not limited to:

[ ] Don't allow to delete VPC if VPC Attachments or VPC/Ext peerings exists
[ ] Don't allow to delete last management conn
[ ] Dont'allow to delete MCLAG Domain if there are MCLAG conns present

Also, add any updates to the user docs as a part of this effort.

@Frostman, do you think I can close this?


Change delta snapshot time interval from 10 seconds to five minutes.

What this PR does / why we need it:
This PR changes the incremental snapshot update time interval from 10 seconds to 5 minutes. Currently, the backup bucket is inundated with a large number of incremental snapshots at 10 second intervals.
Which issue(s) this PR fixes:
Fixes #
Reduces the incremental snapshot taken in between full snapshots.
Special notes for your reviewer:
Release note:

Reduced the incremental snapshot period from 10 seconds to 5 minutes.

 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.


A simple way to show a dialog to get two values from user

Hi,
Is there a simple way to create a dialog for gettings two values (numeric values) from user in MahApp?

Yes use custom dialog and make your own

thanks,
you mean inherit a new one from CustomDialog?

Yes

is there a tutorial for this? Its system is a little complex to inherit from

I need to create a new dialog with custom content but with button with same style as other dialogs, how can i implement that?
Thanks

create a new user control in xaml
add these
xmlns:Dialog="clr-namespace:MahApps.Metro.Controls.Dialogs;assembly=MahApps.Metro"
xmlns:Controls="http://metro.mahapps.com/winfx/xaml/controls"
then change <UserControl to this
<Dialog:CustomDialog
in code behind it should be changed automatically , (btw you don't need to inherit from custom dialog , just create a new instance of it and modify it)

Hi I open again this subject because I can't display my CustomDialog.
I create my custom like bigworld said, and I call it like this :
MyCustom Dialog = new MyCustom(Results);
await App.CurrentWindow.ShowMetroDialogAsync(Dialog);

the popup appair but no content are display ... just an empty dialog...
Have you an idea ?
Thx in advance !

I close this for now, feel free to reopen it if it's still an issue.


Add multi-pathogen support to Usher options

Summary:

What: Adds support for storing usher options by pathogen and correctly displaying the options according to the pathogen selected on the frontend.
Ticket: sc<226107>
Env: <rdev link>

Demos:

Notes:
Checklist:

[x] I merged latest <base branch>
[x] I manually verified the change
[x] I added labels to my PR
[x] I tested in multiple browsers
[ ] I added relevant unit tests
[ ] I have notified others of changes they need to make locally (migrations, jobs, package updates, etc)

Looks like I need to update some tests


Fix dead link in the documentation [issue 294]

Fixes #294
Note: I have not updated the changes file: it doesn't look like documentation changes, or simply minor fixes, are kept in there.

Codecov Report

Merging #295 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #295   +/-   ##
=======================================
  Coverage   97.62%   97.62%
=======================================
  Files          15       15
  Lines         590      590
  Branches       72       72
=======================================
  Hits          576      576
  Misses          7        7
  Partials        7        7

Continue to review full report at Codecov.

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


Map is not rendering

geoURL is returning error.
GET https://raw.githubusercontent.com/deldersveld/topojson/master/world-countries.json 404
this file is empty.

Fixed error by using another geoURL.
geoUrl =<EMAIL_ADDRESS>

is possible to use this file locally?
for some reason the local path is not working (i put it in my project folder)
geoUrl = './countries-110m.json';
while the full web link path is forking fine
geoUrl =<EMAIL_ADDRESS>


Add a Help menu with documentation and issue reporting links

Would be nice to have link from MSAM itself that takes the user straight to GitHub's create an issue page for reporting bugs or requesting features.

Let's also add:
Feature Request
Bug Report
Solution Landing Page
Doc link (IG, USAGE, etc?)

Need to present version number as well.

Super Cool!

Reopening this to update documentation that references the Tools menu.


Implement Dark mode to the website

add a toggle button on the top right corner.
implementing dark and light mode when click on the button

I would like to contribute to this issue!

I can work on this under SSOC'22

@zugzwang03 Whats the update on dark mode?

Working on it, will require another day.


New Custom Check - extra9999

Context
This new check extra9999 can be used to build a custom check on the fly. This will help with edge and special cases and when a check does not exist in prowler. It will also help those that are familiar with the AWS CLI but do not have the time or do not know how to create new prowler checks.
You can build your own on-the-fly custom check by specifying the AWS CLI command to execute. The prowler commands requires  "-c extra9999 -a <aws_cli_cmd>"
Note: Omit the actual "aws" command and only use its parameters within quotes. Nesting quotes in the aws parameter may results in errors, therefore do not use quotes inside the parameter. Note:  --output text is already included in the check and can be omitted from the "aws" command parameter list
Here is an example of a check to find SGs with inbound port 80:
./prowler -c extra9999 -a 'ec2 describe-security-groups --filters Name=ip-permission.to-port,Values=80 --query SecurityGroups[*].GroupId[]]'
Description
Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Hi @sectoramen, please review this PR commit history because it contains some other commits related to another security check https://github.com/prowler-cloud/prowler/pull/1095. I think we only need the ones related to check9999.
Thank you.

Hi @sectoramen, I have just seen that you merged master branch into this PR. You need to remove the commits that do not belong to this PR because some of it contains a duplicate check.


Add grammy-middlewares to the list of plugins

I added my "plugin" to the list of plugins. Please, let me know if I need to change anything.

Otherwise LGTM.

Otherwise LGTM.
@WingLim or @linbuxiao please translate and add to third-party plugins in the nav bar.


Inserting equations

We should be able to add equations. Currently, the only figures not implemented are those from Chapter 7 that require inserting new equations (namely, 23, 24, 26, 27, 30, 32, 39, and 41).

Fixed by #128


Issue #43: Intro message when bot joins channel

Adds a message from the bot, introducing itself and telling the user about the help command.  This should enable the user to get a quick start.

Good point, thanks.  Moved!


Directory structure proposal for mercado

Reading and studing Mercado Pago API Reference I organized a propose of directory structure for this project, may I was verbose and create so much paths, but I want your opnions. Thanks regards.
.
├── config
│   └── mercadopago.config.yaml                         # API Client configuration for mercadopago
├── docs                                                # Documentation files
├── src                                                 # Source files
│   └── mercadopago                                     # Path of mercadopago methods
│       ├── customers
│       │   ├── customers.go                            # Create, Read and List customers methods.
│       │   └── customers_test.go
│       ├── cards
│       │   ├── cards.go                                # CRUD from client cards
│       │   └── cards_test.go
│       ├── identification_types
│       │   ├── identification_types.go                 # Get document types
│       │   └── identification_types_test.go
│       ├── invoices
│       │   ├── invoices.go                             # Get invoices
│       │   └── invoices_test.go
│       ├── merchant_orders
│       │   ├── merchant_orders.go                      # Create, Get and Update orders
│       │   └── merchant_orders_test.go
│       ├── payment_methods
│       │   ├── payment_methods.go                      # Get payments methods
│       │   └── payment_methods_test.go
│       ├── payments
│       │   ├── payments.go                             # Create, Get, Update and Search payments
│       │   └── payments_test.go
│       ├── preferences
│       │   ├── preferences.go                          # Create, Read and Update preferences
│       │   └── preferences_test.go
│       ├── mercadopago.go                              # Expose all methods for API Client and set configs
│       └── mercadopago_test.go
├── main.go
├── LICENSE
└── README.md

@raulinoneto you can create a PR with this struct, I liked!

Thanks for work. My vote is yes

Pretty good!

@MarcusMann you can close this issue too

@gwmoura Yeah, i'll clouse


Add report to generate AFF folder

starting point of #92. Most probably there will be several PR to get the feature working. Anyhow, contributions are welcome as always :purple_heart:

double space, false positive, https://github.com/abaplint/abaplint/issues/2523 opened
bug if you fix the bad pragma placement first, then it should also fix the double space false positive

few parameters fixed in https://github.com/open-abap/open-abap/pull/315/commits/4f151ae30f0b6a17ae1b3c27ebf7e231dfa69ffc

indentation, enable selectionScreenBlockIndentation in https://rules.abaplint.org/indentation/

Folder name is UPPER, should be LOWER ❗

@larshp

can we tell abapLint not to lint this program, or say ignore all findings for objects cl_aff_log, cl_aff_factory  and others?
The report relies on AFF framework which is not 7.42 and is only for SAP internal usage.
I like abapGit standalone feature a lot. Is it possible to update the package.json file to have this feature as well?

ignoring, add the filename in either "exclude" or "noIssues", in this case I think we can exclude it alltogether,

standalone, abapGit uses https://github.com/larshp/abapmerge / https://www.npmjs.com/package/abapmerge to build the standalone report take a look... I dont remember how it works 😄

@huber-nicolas I tested the PROG with the object type FUGR and it looked good. So it might be sufficient to test it for CLAS and it should be alright.

This report is decoupled from PROG z_generate_json_schema.
The latter is the basis for tooling development and automated JSON Schema generation.
The report in the pull request is a tool to upload and maintain the abap-file-formats repository and might be obsolete in the future. But for now, the development of new file formats requires some minimal tooling, that facilitates the conversion from some ABAP interface type (ABAP system) to the AFF folder (GitHub)

Do we need a small unit test class in the report?

I think Nicolas is right. This report also shall be possible to generate only a schema and only a simple transformation as object type owner will need this for now.

@wurzka for XSLT and JSON Schema there is still this PROG (suitable for maintaining the AFF in the ABAP system)

Is this ok for the object type owner to have two reports?

No, I don't think so. This report is not very powerful. It doesn't have any error log. I think we decided to bring our internal report to this repository

I will close this pull request and move to another pull request that will contain the full blown report as-is from our ABAP system. The features there are necessary to accomplish the developers needs and comfort.
Changes here, will still be available since the branch won't be deleted immediately.


CAMEL-9878 camel-commands - Add command to show top N inflight exchan…

…ges per routes
Added new argument (route) to context-inflight command. Client can
use the route argument to specify the route which inflight exchanges
should be displayed.

Thanks for the PR it has been merged. Do you mind closing this?


[BUG] Update Rest API 2024-08-01-preview for stream options

API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-08-01-preview/inference.yaml
API Spec version
2024-08-01-preview
Describe the bug
The "chatCompletionStreamOptions" has been added to the schema for returing the token usage into the streaming, but it is never used into the YAML. The "stream_options" parameter is missing, compared to the OpenAI specs
https://platform.openai.com/docs/api-reference/chat
Expected behavior
"stream_options" parameter should be exposed into the request body as optional parameter
Actual behavior
"stream_options" is not available and I had to have a look at the OpenAI specs to understand how to use the "include_usage" parameter.
Reproduction Steps
Create a request with Postman to the ChatCompletion.
Pass "stream" : true
Do not know which parameter name to pass for the streaming options.
Environment
No response

@yuanzhuangyuanzhuang Please help take a look, thanks.


There is no transition for Read more and Load more buttons and changing the background and box-shadow of glassdoor button

Would like to add a bit of transition in the readmore and loadmore button and I would like to change the styling of glassdoor button as well

@sunny6289 sure go ahead, make a pr with proper screenshot.

@sunny6289 Any update on this isuue?


olm_deploy: Remove the unused scripts directory

Remove the unused init-bundle-registry.sh bash script that is no longer needed (and the parent scripts directory).
Before, we needed to do some CSV manipulation at CI runtime which resulted in needed this script to substitute the images that were built by CI in favor of the default one listed in the metering CSV YAML manifest.
Now, the ci-operator has the ability to create bundle and index images for us which results in less workarounds needed.

/override ci/prow/metering-upgrade-aws


Fix for not setting up the camera if it is offline during setup phase

Description:
Currently onvif camera has to be online when Home Assistant is starting in order to be detected and handled. That's annoying, because I have to check if every camera, that I have is online, in order to restart the Home Assistant. Even if camera is turned on, there can be a communication error, which will prevent camera from being installed properly.
After this changes during setup Home Assistant will get to know that there is a camera to be handled, but it will try to communicate with it when requested to obtain image/stream from the camera. In case camera is offline/can't be reached for some other reason, HA will try to connect to it again and again whenever user requests to get the image/stream.
Related issue (if applicable): None
Pull request in home-assistant.github.io with documentation (if applicable): N/A
Example entry for configuration.yaml (if applicable):
platform: onvif
    name: Cam1
    host: <IP_ADDRESS>

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

I'm not familiar with Onvif, but would using PlatformNotReady make more sense here?

@andrey-git I thought about it. But I think that init upon request would be better.

I think the problem with PlatformNotReady would be that it could be that 1 camera is not ready but 2 others are fine.

@balloob Changes updated. I had to make the setup synchronous, as ONVIFService constructor performs I/O on wsdl files.


Some systems failed to build for Quicklisp dist

Building with SBCL <IP_ADDRESS>-d262a01cc / ASDF 3.3.5 for quicklisp dist creation.
Trying to build commit id 7987e755fffbfe7eca84147729bfd5702faec38b
vellum-binary fails to build with the following error:
; caught ERROR:
;   READ error during COMPILE-FILE: Symbol "DECODE-OBJECT" not found in the CONSPACK package. Line: 309, Column: 33, File-Position: 12585 Stream: #<SB-INT:FORM-TRACKING-STREAM for "file /home/quicklisp/quicklisp-controller/dist/build-cache/vellum-binary/c96ef62607ccaa9d894c474bc650a05f6271f152/vellum-binary-20230211-git/source/code.lisp" {10212566D3}>
...
Unhandled UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING {1040660073}>: COMPILE-FILE-ERROR while compiling #<CL-SOURCE-FILE "vellum-binary" "code">

Full log here

Caused by changes in cl-conspack. Fixed now.


wEth Stuck in Wormhole

I recently bridged wEth from Eth-->Sol using the wormhole.  I realized that there is literally nothing I can do with wEth on SOL (I cant unwrap it anywhere, I cant trade it.)
I am now trying to bridge my wEth back to ETH and continuously getting an error(I cleared cache and refreshed the page.)
https://explorer.solana.com/tx/5c1uSppyNQtK3naYR2uY4iuJEND7diyVUb1M3RyoMZbnANg1grwZe4Qz7KD1nDs8qdqfJtsu3ahDZwKA2Pw9JrFD

Tried several more times again today thinking it may have just been a temporary issue.  Same  quick error:
https://explorer.solana.com/tx/5AS5GKS6YNZSgAHhBV4RoEqUAaft9mRPdfLLv3FpNYatvwSXyqhrMxWBBzogXXf1PPAxn7dJqFGbs7MpvcujCwLE


Remove json-ld metadata for shows without location

Fixes PURCHASE-1516
Event types now have a required location field. For shows which don't have location we cannot provide one so removing it altogether
Questions:

Is there a problem rendering an empty tag like <script id="json-ld" type="application/ld+json"></script> or it needs to be removed when content is empty here
Is there a change needed for mobile? (mobile directory didn't have the corresponding file)

Warnings

:warning:
The staging version of Metaphysics has breaking changes, this might not affect your build, but could mean your queries don't work the way you expect. See below for breaking changes:

:warning: Type 'ExactPrice' was removed
:warning: Member 'Money' was added to Union type 'ListPrice'
:warning: Member 'ExactPrice' was removed from Union type 'ListPrice'
:warning: Field 'minPriceCents' was removed from object type 'PriceRange'
:warning: Field 'maxPriceCents' was removed from object type 'PriceRange'

  Generated by :no_entry_sign: dangerJS against 2b6be957a0127386a965faddb72c67c6cc901dad

Good questions.
Your logic looks okay for whether or not to populate that jsonLD variable. Wherever it's being included (probably in the main_layout somewhere?) we should make sure that it doesn't render the markup if there's no data.
For mobile, we should be including it there since that's more likely to be indexed. It's possible that just got overlooked when this was added originally!

Just to confirm so I also need to copy the jsonLD logic to this file for mobile?

Looks good! 🙌


11.1 SDK

Where are the Custom Data Feeds examples and updated documentation for 11.1?

Hi any update on this? I've tried the cdf using yelp provider here : https://developers.arcgis.com/enterprise-sdk/guide/custom-data-feeds/create-a-yelp-custom-data-feed/
But currently trying to find more provider sample.


Error "no such child: {http://www.battlescribe.net/schema/rosterSchema}profiles"

When I upload my roster that Battlescribe saved, I get an error:
no such child: {http://www.battlescribe.net/schema/rosterSchema}profiles

I'm not sure how to attach my roster file.

Pod League October.zip

Added the roster now.

Thanks, I'll check it ASAP! :)

Well, as usual, the problem was in battlescribe data. I added workaround in #1cdf51ba6648654282c289af9f3c94cb54d41607, hope it would work ok.
Thank you for reporting this issue, it was pretty important.


Feature/be 180 code quality

Current coverage is 67.11%

Merging #55 into master will increase coverage by +0.59% as of 4533409

@@            master     #55   diff @@
======================================
  Files           49      49
  Stmts         2046    2083    +37
  Branches       179     177     -2
  Methods          0       0
======================================
+ Hit           1361    1398    +37
- Partial         17      18     +1
+ Missed         668     667     -1

Review entire Coverage Diff as of 4533409

Uncovered Suggestions

+0.77% via .../models/receiving.py#92...107
+0.72% via .../models/receiving.py#74...88
+0.67% via ...views/sales_order.py#158...171
See 7 more...

Powered by Codecov. Updated on successful CI builds.


Having issue Java to EOSIO smart contract

Hi All,
I tried to connect to Simple Java Using EOSIO using RCPprovider but it looks eosio-java is tightly coupled with Andriod and can't find eosiojavaandroidabieosserializationprovider & eosiojavarpcprovider as these are aar files not jar files. If I can get simple java to smartcontract like:
 IRPCProvider rpcProvider = new EosioJavaRpcProviderImpl("");
 ISerializationProvider serializationProvider = new AbiEosSerializationProviderImpl();
IABIProvider abiProvider = new ABIProviderImpl(rpcProvider, serializationProvider);
 ISignatureProvider signatureProvider = new SoftKeySignatureProviderImpl();

I get error at initial stage EosioJavaRpcProviderImpl,AbiEosSerializationProviderImpl classes not found. The test contains mock's that not helpful for me for realtime connectivity.
        <dependency>
            <groupId>one.block</groupId>
            <artifactId>eosiojava</artifactId>
            <version>0.1.0</version>
        </dependency>
      <dependency>
            <groupId>one.block</groupId>
            <artifactId>eosiojavasoftkeysignatureprovider</artifactId>
            <version>0.1.2</version>
        </dependency>
        <dependency>
            <groupId>one.block</groupId>
            <artifactId>eosiojavarpcprovider</artifactId>
            <version>0.1.0</version>
        </dependency>
        <dependency>
            <groupId>one.block</groupId>
            <artifactId>eosiojavaandroidabieosserializationprovider</artifactId>
            <version>0.1.0</version>
        </dependency>

After adding dependencies
        <dependency>
            <groupId>com.squareup.retrofit2</groupId>
            <artifactId>retrofit</artifactId>
            <version>2.7.1</version>
        </dependency>
        <dependency>
            <groupId>com.squareup.retrofit2</groupId>
            <artifactId>converter-gson</artifactId>
            <version>2.7.1</version>
        </dependency>

Now I m getting error : os-mac
ava.lang.UnsatisfiedLinkError: no abieos-lib in java.library.path

Hi saradach, sorry you have having issues.  Since the abieos library used by the abieos serialization provider is C++, it has to be built for the architecture and platform that you are going to use it on.  If you look at the abieos serialization provider project you will see that it so far is only configured for building/cross compilation for Android, (thus the aar artifacts).  At this time, if you need to run on another architecture or platform, you would need to enhance the abieos serialization provider to build for your required platform and architecture or use an alternate serialization provider that conforms to the ISerializationProvider interface.

Hi saradach, sorry you have having issues. Since the abieos library used by the abieos serialization provider is C++, it has to be built for the architecture and platform that you are going to use it on. If you look at the abieos serialization provider project you will see that it so far is only configured for building/cross compilation for Android, (thus the aar artifacts). At this time, if you need to run on another architecture or platform, you would need to enhance the abieos serialization provider to build for your required platform and architecture or use an alternate serialization provider that conforms to the ISerializationProvider interface.

@opi-smccoole what serialization provider would you recommend for running on Java SDK (no android)? Any suggestion greatly appreciated. Thanks.

@crosspollinate Sorry, as far as I know right now there aren't currently any other providers that conform to the ISerializationProvider interface.  The main issue is knowing what platform you are targeting in order to do cross compiling of the C++ modules.  The existing JNI bridging code should work mostly as is I would think.  It'd largely be a matter of making sure you have a C++ 17 build chain for your target and altering the build/CMake appropriately.

Just posting an update to anyone wondering about compatibility with server-side java. We're in the process of wrapping both the eosio-java-rpc-provider and eosio-java-android-abieos-serialization-provider to convert them to JARs and should have these released in the next month.

Thanks. Keep us posted.
On Fri, Jul 17, 2020, 5:39 PM Jon La Marr<EMAIL_ADDRESS>wrote:

Just posting an update to anyone wondering about compatibility with
server-side java. We're in the process of wrapping both the
eosio-java-rpc-provider https://github.com/EOSIO/eosio-java-rpc-provider
and eosio-java-android-abieos-serialization-provider
https://github.com/EOSIO/eosio-java-android-abieos-serialization-provider
to convert them to JARs and should have these released in the next month.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/EOSIO/eosio-java/issues/106#issuecomment-660176417,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZGHAQVNKIQPRPLQLMPAC3R4BWCTANCNFSM4KW34OSA
.

With the 1.0 releases we now have eosio-java-abieos-serialization-provider and eosio-java-rpc-provider that do not require Android.  They, along with eosio-java can now be used for non-Android Java projects.


Will we work in Vue.js 3

Vue.js 3 beta is out.
What pattern do they recommend for libraries like ours? Do they recommend hooks?

Vue.js 3 beta is out.

You are faster than Vue twitter🤘🏻 I'm sure, we won't have a problem with Vuex 4 (for Vue 3). In contrast, new Vuex returns createStore function, just like Redux. So, our APIs will become more similar.
Soon I will refactor my old little pet project and will try to use Vue 3 new function based API. I will write here more details with implementation examples.

@euaaaio am I right that in Vue.js there is a trend against mixins and high-order component? Here is a recent example of CSS-Tricks article of replacing mixins to hooks
Are we ready for these changes? IN React migration to hook really cleaned up the code.

@ai, that's not exactly true. People were confused and scared by a few inaccurate words in RFC. Mixins will not be removed. It's a great mechanism, but now, I think, it will be recommended to be used differently.
And you're right. For our case, we should replace mixin with something similar to React hooks.
Also, I'm sure it will be very good to continue supporting Mixin for Vue 2 users for a while.

We can add both hook and mixin API. There are a few questions:

Do we need HOC API?
What API we should promote in docs?

Let's implement it. I don't like wrappers/HOCs, but it's useful in some cases.
We should promote the simplest solution — component. I'm going to update the docs after the release of the next version.

Let's wait for Vue 3 release to see how the community reacts. And if migration will be easy, we'll upgrade the docs with a hook API.


No feedback on Job Log action for dead job

If your job connection gets snipped, and you then click the View Job Log action, there is no feedback to the user, so it looks like the action itself is broken.
There is output in the debug console:
rejected promise not handled within 1 second: Error: Not connected, , 0
extensionHostProcess.js:144
stack trace: Error: Not connected, , 0
	at _Query.<anonymous> (c:\Code\vscode-db2i\dist\extension.js:584:15)
	at Generator.next (<anonymous>)
	at fulfilled (c:\Code\vscode-db2i\dist\extension.js:490:24)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

If instead you try to run a statement, there is at least some feedback, though not polished, posted to the IBM I view:
Not connected, , 0
Need to provide better feedback when a dead job is detected.

Perhaps getStatus needs to check the connection too?


fix #1478

fix #1478

Make sure that:

[X] You have read the contribution guidelines.
[X] You submit test cases (unit or integration tests) that back your changes.
[X] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

please check ci。。。。

Codecov Report

Merging #1482 (d8879aa) into master (08e108f) will decrease coverage by 0.52%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #1482      +/-   ##
============================================
- Coverage     64.75%   64.22%   -0.53%
+ Complexity     2069     2063       -6
============================================
  Files           407      407
  Lines          8799     8803       +4
  Branches        881      881
============================================
- Hits           5698     5654      -44
- Misses         2673     2721      +48
  Partials        428      428

Impacted Files
Coverage Δ
Complexity Δ

...ient/springcloud/init/ContextRegisterListener.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...enyu/client/tars/TarsServiceBeanPostProcessor.java
31.70% <0.00%> (-51.22%)
8.00% <0.00%> (-6.00%)

...henyu/plugin/httpclient/NettyHttpClientPlugin.java
57.14% <0.00%> (-2.05%)
10.00% <0.00%> (ø%)

...elimiter/handler/RateLimiterPluginDataHandler.java
69.23% <0.00%> (-1.54%)
14.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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


Skial

I get banned when I enter the skial serve

https://github.com/relaxtakenotes/xenos/releases/download/1.1.2/injectorstuff.7z

if i use this injector i am not banned?

if i use this injector i am not banned?

no, the reason why you are getting banned is, because of skial's anti-cheat system, they detect quickly if you use a high fov aimbot, fakelag, antiaim (or spinbot as new cheaters call it), bhop etc
@frel0 also linking jp4's edited xenos injector won't do much against skial's smac lol

Skial is most likely detecting the changed cvars (fog for example).  Even lmaobox's norecoil will get you banned.
Your best bet is to literally disable everything and only use esp. But eve then, skial will ban you for looking at enemies through walls or pre-firing only when there's an enemy.
Literally use chams and nothing else. Even a low fov of 3 can be detected in demo's and get you banned if somebody reports you.
There's not really a good way to bypass skial's anticheat unless we go through the entire cheat and block a bunch of features / reset a bunch of cvars, and I don't think anyone is willing to put that much effort to cheat in a single community server.
Disable everything, only use chams, and hope that fedoraware doesn't change any cvars upon injection and maybe you won't get immediately banned.

stop cheating on community servers

Should be fixed


PSA: ingress_port in egress input metadata

There are use cases of matching on ingress port for egress processing, particularly for punted packets. Is there a reason why we have chosen not to include ingress port as part of egress parser input metadata or egress input metadata? If not, would it be ok to add ingress port to both?
Otherwise, the above use cases will require an additional table in the ingress and bridge metadata.

Carrying ingress port to egress can be put into the bridged metadata in a pretty straightforward fashion.
Why would it require an additional table in ingress?  One could put it into bridged metadata unconditionally, for example, without any if statements or tables.
I think a reasonable guiding principle is to put not too much more than the minimum required, given that bridged metadata is user-defined.  Anything defined in PSA is a minimum that cannot be removed, even if it isn't used by a particular P4 program.


Rank feature query function typing fixes

Description
This PR fixes incorrect typings in rank feature saturation, sigmoid and log query functions. More specifically, pivot and scaling_factor fields should accept floats instead of integers. This can be confirmed for each function:

Saturation - elastic source, official client source
Sigmoid - elastic source, official client source
Log - elastic source, official client source

Official docs can be found here.
Context
The error was encounter while migrating from the deprecated high level rest client to elastic4s. We are using float values for boosting which cannot be changed, so the migration is on hold until the PR is merged. Please let me know if you need any additional input from me

Nice catch! I think the examples threw me off, as they only show whole numbers.


Handle EIP4844 proving when challenge is in domain

Issue: compute_kzg_proof_rust was hanging for me when x was a power of root of unity, which is a common case when KZG is used as vector commitment (like we do at Subspace).
Fix:

Handled the case when x is inside the evaluation domain (is a power of root of unity) according to what Ethereum does in PR111 by setting its inverse to 1
Fix infinite loops due to missing increments in the same case
Added test
cc @nazar-pc

Thanks @dariolina, let's wait for CI, this should fail for other ECC backends that run EIP-4844 tests.

These changes are no longer relevant because with #199 I remove all previous EIP-4844 tests and add 9 new ones, together with an entirely rewritten EIP-4844 interface up to commit 53b38fa, which include your proposed changes.

Thanks @belijzajac, I think we should get #199 merged and try to avoid large and long-running PR in the future.

Great, it would be nice to have it working. I'll use the fork in the meantime.

Closing in favor of #199


chore(pagination): pageChanged emitted 3 times on init

I'm using Your pagination component and I can see that pageCahnged is emitted 3 times on component init - why?

I encountered the same issues and still checking if it is the problems of two way bindings.

just to keep updated,  I will update this to beta1, then modal, then system.js build, tests and then issues
most probably tomorrow :)

@piernik is it still reproducing on latest version? can not reproduce

On my side the pageChanged event is not fired at all:
(page-changed)="pageChanged($event)" in the pagination and private pageChanged(event : any) : void {     console.log('Page changed to: ' + event.page);     console.log('Number items per page: ' + event.itemsPerPage);   };
In my component. Something wrong with that?

Ah documentation is wrong http://valor-software.github.io/ng2-bootstrap/index-bs4.html#pagination, where it is (page-changed).

pageChanged
very strange, I was updating gh-pages

thx! for some reason it was not updated,
need to automate this process
I will update later today

@valorkin I upgraded to latest version, still reproducing the issue.
My setup is like that, the pagination component is wrapped in a child component.
Everytime when pager / pagination item clicked, this child component will be updated.
Is it a proper way to do so? Should I treat pagination as static component and not reloading when result set refreshed?

Hi,
I've faced the same issue with getting the pageChanged event for three times on init, which obviously caused by running the page setter. It runs for the first time on the component's init
this.page = this.cd.value;

...and for the rest two times from the writeValue, probably triggered by parent controller initialization.
In my case, pageChanged is even triggered for the 4th time, when I get the response and set the totalitems property.
Changing pages triggers the event for once only if I re-use the parent component. Otherwise, it would be reinitiated and emit pageChanged for 3 times over and over.
I'm gonna get by with an if statement in my code, but most certainly it should not be that sensible.

I got this issue too, it cause multiple request to the server.
And if the pagination rebuild with the page data, for example navigate to page 5, the pagination will navigate to page 1 automatically.


apibinding: remove initializers

These were unused and are not needed.
Signed-off-by: Steve Kuznetsov<EMAIL_ADDRESS>

Need to run make codegen to get the CRD yaml updated?


python312Packages.auditwheel: 6.0.0 -> 6.1.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.auditwheel is: Auditing and relabeling cross-distribution Linux wheels
meta.homepage for python312Packages.auditwheel is: https://github.com/pypa/auditwheel
meta.changelog for python312Packages.auditwheel is: https://github.com/pypa/auditwheel/blob/6.1.0/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.1.0 with grep in /nix/store/5dfl3m50y6a9vxa0why31qnrfsx4jq0r-python3.12-auditwheel-6.1.0
found 6.1.0 in filename of file in /nix/store/5dfl3m50y6a9vxa0why31qnrfsx4jq0r-python3.12-auditwheel-6.1.0

Rebuild report (if merged into master) (click to expand)

39 total rebuild path(s)

39 package rebuild(s)

First fifty rebuilds by attrpath

auditwheel
changedetection-io
lacus
pentestgpt
playwright
python311Packages.auditwheel
python311Packages.batchspawner
python311Packages.dockerspawner
python311Packages.jupyterhub
python311Packages.jupyterhub-ldapauthenticator
python311Packages.jupyterhub-systemdspawner
python311Packages.jupyterhub-tmpauthenticator
python311Packages.lacuscore
python311Packages.oauthenticator
python311Packages.playwright
python311Packages.playwright-stealth
python311Packages.playwrightcapture
python311Packages.pycookiecheat
python311Packages.pytest-playwright
python311Packages.shiny
python312Packages.auditwheel
python312Packages.batchspawner
python312Packages.dockerspawner
python312Packages.jupyterhub
python312Packages.jupyterhub-ldapauthenticator
python312Packages.jupyterhub-systemdspawner
python312Packages.jupyterhub-tmpauthenticator
python312Packages.lacuscore
python312Packages.oauthenticator
python312Packages.playwright
python312Packages.playwright-stealth
python312Packages.playwrightcapture
python312Packages.pycookiecheat
python312Packages.pytest-playwright
python312Packages.shiny
shot-scraper
theharvester
urlwatch

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5dfl3m50y6a9vxa0why31qnrfsx4jq0r-python3.12-auditwheel-6.1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.auditwheel https://github.com/r-ryantm/nixpkgs/archive/39572bf5dd71dbb8f550183ec43405e1248b5295.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/39572bf5dd71dbb8f550183ec43405e1248b5295#python312Packages.auditwheel

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/5dfl3m50y6a9vxa0why31qnrfsx4jq0r-python3.12-auditwheel-6.1.0
ls -la /nix/store/5dfl3m50y6a9vxa0why31qnrfsx4jq0r-python3.12-auditwheel-6.1.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

72 packages built:

auditwheel (python312Packages.auditwheel)
auditwheel.dist (python312Packages.auditwheel.dist)
changedetection-io
changedetection-io.dist
lacus
lacus.dist
pentestgpt
pentestgpt.dist
playwright (python312Packages.playwright)
playwright.dist (python312Packages.playwright.dist)
python311Packages.auditwheel
python311Packages.auditwheel.dist
python311Packages.batchspawner
python311Packages.batchspawner.dist
python311Packages.dockerspawner
python311Packages.dockerspawner.dist
python311Packages.jupyterhub
python311Packages.jupyterhub-ldapauthenticator
python311Packages.jupyterhub-ldapauthenticator.dist
python311Packages.jupyterhub-systemdspawner
python311Packages.jupyterhub-systemdspawner.dist
python311Packages.jupyterhub-tmpauthenticator
python311Packages.jupyterhub-tmpauthenticator.dist
python311Packages.jupyterhub.dist
python311Packages.lacuscore
python311Packages.lacuscore.dist
python311Packages.oauthenticator
python311Packages.oauthenticator.dist
python311Packages.playwright
python311Packages.playwright-stealth
python311Packages.playwright-stealth.dist
python311Packages.playwright.dist
python311Packages.playwrightcapture
python311Packages.playwrightcapture.dist
python311Packages.pycookiecheat
python311Packages.pycookiecheat.dist
python311Packages.pytest-playwright
python311Packages.pytest-playwright.dist
python311Packages.shiny
python311Packages.shiny.dist
python312Packages.batchspawner
python312Packages.batchspawner.dist
python312Packages.dockerspawner
python312Packages.dockerspawner.dist
python312Packages.jupyterhub
python312Packages.jupyterhub-ldapauthenticator
python312Packages.jupyterhub-ldapauthenticator.dist
python312Packages.jupyterhub-systemdspawner
python312Packages.jupyterhub-systemdspawner.dist
python312Packages.jupyterhub-tmpauthenticator
python312Packages.jupyterhub-tmpauthenticator.dist
python312Packages.jupyterhub.dist
python312Packages.lacuscore
python312Packages.lacuscore.dist
python312Packages.oauthenticator
python312Packages.oauthenticator.dist
python312Packages.playwright-stealth
python312Packages.playwright-stealth.dist
python312Packages.playwrightcapture
python312Packages.playwrightcapture.dist
python312Packages.pycookiecheat
python312Packages.pycookiecheat.dist
python312Packages.pytest-playwright
python312Packages.pytest-playwright.dist
python312Packages.shiny
python312Packages.shiny.dist
shot-scraper
shot-scraper.dist
theharvester
theharvester.dist
urlwatch
urlwatch.dist

Maintainer pings
cc @DavHau for testing.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 333968 run on x86_64-linux 1

72 packages built:

auditwheel (python312Packages.auditwheel)
auditwheel.dist (python312Packages.auditwheel.dist)
changedetection-io
changedetection-io.dist
lacus
lacus.dist
pentestgpt
pentestgpt.dist
playwright (python312Packages.playwright)
playwright.dist (python312Packages.playwright.dist)
python311Packages.auditwheel
python311Packages.auditwheel.dist
python311Packages.batchspawner
python311Packages.batchspawner.dist
python311Packages.dockerspawner
python311Packages.dockerspawner.dist
python311Packages.jupyterhub
python311Packages.jupyterhub-ldapauthenticator
python311Packages.jupyterhub-ldapauthenticator.dist
python311Packages.jupyterhub-systemdspawner
python311Packages.jupyterhub-systemdspawner.dist
python311Packages.jupyterhub-tmpauthenticator
python311Packages.jupyterhub-tmpauthenticator.dist
python311Packages.jupyterhub.dist
python311Packages.lacuscore
python311Packages.lacuscore.dist
python311Packages.oauthenticator
python311Packages.oauthenticator.dist
python311Packages.playwright
python311Packages.playwright-stealth
python311Packages.playwright-stealth.dist
python311Packages.playwright.dist
python311Packages.playwrightcapture
python311Packages.playwrightcapture.dist
python311Packages.pycookiecheat
python311Packages.pycookiecheat.dist
python311Packages.pytest-playwright
python311Packages.pytest-playwright.dist
python311Packages.shiny
python311Packages.shiny.dist
python312Packages.batchspawner
python312Packages.batchspawner.dist
python312Packages.dockerspawner
python312Packages.dockerspawner.dist
python312Packages.jupyterhub
python312Packages.jupyterhub-ldapauthenticator
python312Packages.jupyterhub-ldapauthenticator.dist
python312Packages.jupyterhub-systemdspawner
python312Packages.jupyterhub-systemdspawner.dist
python312Packages.jupyterhub-tmpauthenticator
python312Packages.jupyterhub-tmpauthenticator.dist
python312Packages.jupyterhub.dist
python312Packages.lacuscore
python312Packages.lacuscore.dist
python312Packages.oauthenticator
python312Packages.oauthenticator.dist
python312Packages.playwright-stealth
python312Packages.playwright-stealth.dist
python312Packages.playwrightcapture
python312Packages.playwrightcapture.dist
python312Packages.pycookiecheat
python312Packages.pycookiecheat.dist
python312Packages.pytest-playwright
python312Packages.pytest-playwright.dist
python312Packages.shiny
python312Packages.shiny.dist
shot-scraper
shot-scraper.dist
theharvester
theharvester.dist
urlwatch
urlwatch.dist


FIX: Getting started

This gets it so that I can at least run this:
import scitran.data as scidata
fname_raw = 'test_raw.fif.tar'
ds = scidata.parse(fname_raw, load_data=True, filetype='meeg',
                   ignore_json=True)

where the .tar is just a tarred version of [this] (https://github.com/mne-tools/mne-python/blob/master/mne/io/tests/data/test_raw.fif).
@kevlarkevin you said the first thing to get us going is the sorting information. What do you mean by that?

For example, I am at the point that I can run this:
>>> import scitran.data as scidata
>>> ds = scidata.parse('test_raw.fif.tar', load_data=True, filetype='meeg',
                       ignore_json=True)
<Info | 23 non-empty fields
    acq_pars : unicode | 13886 items
    bads : list | 0 items
    ch_names : list | MEG 0113, MEG 0112, MEG 0111, MEG 0122, MEG 0123, ...
    chs : list | 376 items (EOG: 1, EEG: 60, STIM: 9, GRAD: 204, MAG: 102)
    comps : list | 0 items
    custom_ref_applied : bool | False
    description : unicode | 49 items
    dev_head_t : dict | 3 items
    dig : list | 146 items
    events : list | 1 items
    experimenter : unicode | 3 items
    file_id : dict | 4 items
    highpass : float | 0.10000000149
    hpi_meas : list | 1 items
    hpi_results : list | 1 items
    lowpass : float |<PHONE_NUMBER>49
    meas_date : numpy.ndarray | 2002-12-03 11:01:10
    meas_id : dict | 4 items
    nchan : int | 376
    proj_id : numpy.ndarray | 1 items
    proj_name : unicode | 4 items
    projs : list | PCA-v1: off, PCA-v2: off, PCA-v3: off
    sfreq : float |<PHONE_NUMBER>34
    acq_stim : NoneType
    ctf_head_t : NoneType
    dev_ctf_t : NoneType
    hpi_subsystem : NoneType
    line_freq : NoneType
    subject_info : NoneType
>

@Eric89GXL by 'sorting information', I mean stuff like research group name, project name, session information, acquisition/run information, subject code/number.  All of the properties that are prefixed with 'nims_' must be defined.  The API uses these properties for organizing the data, and for labels in the JS webapp.
Also: I've been thinking this module should be called 'MNE' instead of 'MEEG'.  Partially as homage to the package mne-python, and 'MNE' seem clearer than 'MEEG'.  Who named this branch 'meeg' anyway.... :sweat_smile:  Thoughts on renaming?

@Eric89GXL sorry to be away for so long.  I really appreciate you getting this stuff started.
Will merge this, but I will be dropping the changes to data.py and README.rst.  We FINALLY got rid of pymongo dependency, and I like the explicitness of os.path.

It's okay, I plan to make more progress once I find some free time. Sorry for the delays at my end.

I now have time to come back to getting M/EEG support working fully. It has been about 4 months, have the API or requirements changed substantially? Basically I'm wondering if we need to rebase the scitran:meeg branch, or if I should just start from scratch. What I did previously was pretty basic, so starting over isn't difficult if things have changed substantially.
Is @kevlarkevin the right person to talk to about these issues, or someone else?

Pinging @gsfr regarding above comment ^

It would be great to have you take another stab at this, @Eric89GXL. The commits that have since landed on master look rather minor, so rebasing should be possible, but I have not tried.
Our overall infrastructure has changed substantially, though. @kofalt has greatly simplified getting a dev environment running. Take a look at scitran/scitran.
Unfortunately, @kevlarkevin has left the project, leaving the scitran/data code rather unmaintained for the moment. @rmchamberlain and I are in discussion about how to best go forward from here.

That was pretty easy to get set up this time :)
I need to set up a file reaper, and finish the data processing/triaging code, which presumably means working with the reaping and data repos, respectively. Is there a suggested hierarchy for cloning/working with them? I am happy to work on reaping first if that one is more settled.

It depends. If you can reap without needing a full data parser, then do that first and just use a dummy parser to get your files in. Then you can flesh out the parser laster. Else, you obviously need the parser first.
In case you need to package up many data files, as we do for DICOMs, you should know that we are gearing up to converting scitran/data from tar to zip. I have already converted the reaper and the API, but have not pushed those changes. For context, zip lets us extract individual member files without much overhead and regardless of their position in the archive. We can also use the zip file comment to store additional metadata, which we currently store in a dedicated file within the tarball.


Expand / show multiple nodes in draw_node

Often I will want to show not just a few parents and a few children in a node subgraph, but also expand the parents or children of certain other nodes. Here's a relatively complicated example:

I wonder how difficult it would be to be able to specify multiple nodes, potentially descending into different depths for children/parents: draw_node([a, b, c], degree=([a_child_deg, b_parent_deg, c_child_deg], abc_parent_deg))
I'm not sure what would be expected if the nodes a, b and c were not in the same subgraph, but maybe it would be OK to show multiple subgraphs on the same canvas (or if not, the method could error out)

Missed this issue! Specifying multiple focal nodes within draw_node() seems like it should be doable without too much hassle. Will let you know.
The GUI would be tricky because either JavaScript would need to have access to the original graph (which could be lots of nodes that go unused in most applications) or there needs to be interactions back and forth from JS to Python (like with Pyodide). Don't think I'll be up for tackling that at the moment, but it would definitely be a convenient feature.

Specifying multiple focal nodes within draw_node() seems like it should be doable without too much hassle.

That would be so helpful. Probably the last piece of the puzzle that would make this a research-level visualizer for our large Covid ARGs. That is, as long as it was also possible to export the node positions from the subgraph for replotting in SVG (or perhaps simply restyling the SVG representation)


Added .scalaName extension property for Any

So we now can do member.scalaName instead of nameOf(member)

closing for staleness


Embed Client Regression on slow network

I've been doing some testing on a <0.25mbps network and I've been getting styling issues with polymer elements or the style not loading in (unlikely due to vulcanization). Seems to be a race condition

Solved by caching.


[FEATURE REQ] Appconfig default-context for each store

with current version 1.2.7 of spring-cloud-azure-appconfiguration-config  it's possible to define default-context only on level of entire application so each store is affected by that.
I'd propose to create also defaultContext for each store and if it's not specified then get the context of parent configuration. This will provide more flexibility when selecting keys from app configurations.
For example if we have stores:

for storage accounts we have something like /storage-accounts-cmmon...
for service bus /service-bus-common...

we share some of those settings between few services and it would be nice if we can specify for each store in which context are we interested.
Or maybe there is such configuration but I didn't found that.

@bilak In the 2.0.0 version we just released we redesigned how the contexts are loaded. You should be able to use it to selects configuration to load what you need. https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/appconfiguration/azure-spring-cloud-starter-appconfiguration-config#supported-properties


Fix EIP1559 gas params validation

Description
After #127, a validation to ensure that maxFeePerGas < maxPriorityFeePerGas was added. However, although the type is BigUInt, it's a custom type we're copying from the backend, which is a union between number and string, so it's failing particularly for strings.
Also an extra comment related to https://github.com/OpenZeppelin/defender/pull/2838 was added

I am still experiencing a bug (not sure if it was caused by this change) during validation with version 1.26.0:
TypeError: Cannot convert undefined to a BigInt
at BigInt ()
at validatePayload (/app/node_modules/defender-relay-client/lib/relayer.js:27:33)
at Relayer.sendTransaction (/app/node_modules/defender-relay-client/lib/relayer.js:66:9)
at DefenderRelaySigner.sendTransaction (/app/node_modules/defender-relay-client/lib/ethers/signer.js:110:34)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
i.e. this still returns true even though the two values are undefined and the conversion to BigInt() is failing
function isEIP1559Tx(tx) {
return 'maxPriorityFeePerGas' in tx && 'maxFeePerGas' in tx;
}
Since I am only specifying "speed" during the construction, there is no code on my end that is setting maxPriorityFeePerGas or maxFeePerGas, so it must be somewhere else in the library
const credentials = { apiKey: process.env.RELAY_API_KEY!, apiSecret: process.env.RELAY_API_SECRET! }
const provider = new DefenderRelayProvider(credentials);
const signer = new DefenderRelaySigner(credentials, provider, { speed: 'fast' });
return new Contract(contractAddress, MyContract__factory.abi, signer) as MyContract

Thanks for reporting @dsmitchell. I'm opening an issue here, and I'm taking care of it!

Excellent. Thank you!

Excellent. Thank you!

Just opened a PR (https://github.com/OpenZeppelin/defender-client/pull/136)
Accidentally, I was injecting undefined values while the isEIP1559Tx check only looks for the key to exist on the object. This should fix it but I'd love a review from you @dsmitchell  as well :)

Excellent. Thank you!

1.26.1 released, let us know if everything goes well :)


Adding unit tests for schema compare service

Adding unit tests for schema compare service

Pull Request Test Coverage Report for Build 397407203

52 of 69 (75.36%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 41.29%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/schema-compare/src/common/apiWrapper.ts
0
2
0.0%

extensions/schema-compare/src/schemaCompareMainWindow.ts
51
66
77.27%

Totals

Change from base Build 397262449:
0.1%

Covered Lines:
21922

Relevant Lines:
48655

💛  - Coveralls


Create Bucket sort.cpp

Please merge this PR.

@all-contributors please add @Saurabh-9 for his code


MGMT-1173 Run assistant using podman

Adds ISOGenerator and InstallConfigGenerator interfaces to allow k8s and local implementations.
Moves k8s job specific code to job.go.
Introduces deploy-onprem, clean-onprem, and test-onprem make targets.
Dockerfile.bm-inventory-onprem combines Dockerfile.bm-inventory with additional bits needed to bake install config and, in a follow-on patch, ISO generation scripts into the bm-inventory image.
Includes changes from mhrivnak to enable UI and pawanpinjarkar for ISO creation.

Hi @filanov, please review. It also contains the ISOGenerator and InstallConfigGenerator interfaces discussed in https://github.com/rwsu/bm-inventory/pull/1.

What about tests?
Does it make sense to UT some of this?
What about subsystem?

I will add them shortly.

Running jenkins using the new stages fails: http://<IP_ADDRESS>:8080/job/bm-inventory/job/PR-535/2/console
Also notice that in inventory.go, function ResetCluster() new logic relating to the job was added which needs to be handled in this PR, I guess

Running jenkins using the new stages fails: http://<IP_ADDRESS>:8080/job/bm-inventory/job/PR-535/2/console
Also notice that in inventory.go, function ResetCluster() new logic relating to the job was added which needs to be handled in this PR, I guess

The Jenkins stage failed because the "build-onprem" target was missing. I have included it in the Makefile.
I also added the reset logic to this PR. I added an AbortInstallConfig interface to the generator.

It is unclear to me what the lint error in the CI is about. Running "make lint" locally on this branch passes.


Testing rebuild

Fixes firstIdx bug
Improves testing setup to operate on all files in a test directory
Adds a check for cuda to allow cuda testing if available

This breaks the tests as the new space time test fails on python2.7. I think it is still worth merging to master as I don't think it is actually breaking anything, just highlighting an existing error

Pull Request Test Coverage Report for Build 198

11 of 13 (84.62%)  changed or added relevant lines in 1 file are covered.
14 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.04%) to 47.199%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

clifford/init.py
11
13
84.62%

Files with Coverage Reduction
New Missed Lines
%

clifford/tools/g3c/model_matching.py
1
49.18%

clifford/init.py
13
64.0%

Totals

Change from base Build 194:
0.04%

Covered Lines:
1323

Relevant Lines:
2803

💛  - Coveralls


[main_test] Fix if condition always being false.

This is because the result of header->flags & ((size_t)1 << 31)) is either 0 or (size_t)1 << 31, never 1.
Fixes #25.

bors r+


Do accessibility research sessions for GOV.UK forms

What
Do accessibility research sessions for GOV.UK forms
Why
Who needs to work on this
User researcher
Who needs to review this
Done when

[ ] research sessions completed w/c 6/11

@Katrina-Birch we discussed this in sprint planning. Is this part of the v5 pre-release testing?

No, this is doing research sessions with and for the Forms team with Oliver
Quinlan UR. I'm doing two sessions on 7/11 and one on 10/11
Katrina Birch
User Researcher
GOV.UK Design System https://design-system.service.gov.uk/
Government Digital Service
https://www.gov.uk/government/organisations/government-digital-service
07810654511
@.***
@.***>
City Tower, Piccadilly Plaza, Manchester, M1 4BT
The White Chapel Building, 10 Whitechapel High St, London E1 8QS
On Thu, 2 Nov 2023 at 14:26, Kelly Lee @.***> wrote:

@Katrina-Birch https://github.com/Katrina-Birch we discussed this in
sprint planning. Is this part of the v5 pre-release testing?
—
Reply to this email directly, view it on GitHub
https://github.com/alphagov/govuk-frontend/issues/4409#issuecomment-1790839615,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXQIJBDVKMZYK2OKM4WTD33YCOUSDAVCNFSM6AAAAAA6WGJ4DCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJQHAZTSNRRGU
.
You are receiving this because you were mentioned.Message ID:
@.***>


Feature request: Support LLRT (Low Latency Runtime)

Use case
This feature request is about the beta of the new lightweight JavaScript runtime LLRT (Low Latency Runtime).
Currently, the Logger crashes when importing the "console" module.
Demo repository: https://github.com/NimmLor/aws-cdk-llrt-demo
{
  "errorType": "ReferenceError",
  "errorMessage": "Error resolving module '/var/task/console' from '/var/task/index.js'",
  "stackTrace": [
    "    at<EMAIL_ADDRESS>(/var/task/index.js:1652:26)",
    "    at __require2 (/var/task/index.js:15:17)",
    "    at<EMAIL_ADDRESS>(/var/task/index.js:2555:18)",
    "    at __require2 (/var/task/index.js:15:17)",
    "    at <anonymous> (/var/task/index.js:2562:29)",
    ""
  ]
}

// esbuild output, failing code snippet

/** ... **/
var require_Logger = __commonJS({
  "../../node_modules/@aws-lambda-powertools/logger/lib/Logger.js"(exports) {
    "use strict";
    var __importDefault = exports && exports.__importDefault || function(mod) {
      return mod && mod.__esModule ? mod : { "default": mod };
    };
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.Logger = void 0;
    var node_crypto_1 = __require("crypto");
    var node_console_1 = __require("console");
/** ... **/

// index.ts

import { Logger } from '@aws-lambda-powertools/logger'

export const handler = async () => {
  const logger = new Logger()
  logger.info('Hello world')

  return {
    body: JSON.stringify({
      hello: 'world',
    }),
    statusCode: 200,
  }
}

Solution/User Experience

LLRT offers up to over 10x faster startup and up to 2x overall lower cost compared to other JavaScript runtimes running on AWS Lambda

It would be great if the aws-lambda-powertools would support this runtime,  usage should be exactly the same as for nodejs runtimes.
Alternative solutions
No response
Acknowledgment

[X] This feature request meets Powertools for AWS Lambda (TypeScript) Tenets
[ ] Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, Java, and .NET

Future readers
Please react with 👍 and your use case to help us understand customer demand.

Hey @NimmLor ,
thanks for raising the issue. This is strange, folling the compatibility matrix of LLRT, both crypto and node are supported. Can you provide more information on the Lambda settings and how you packaged the code (versions, package.json, any relevant tools used).
Happy to look into the issue and bring Powertools to LLRT.

Hi @am29d,
I've quickly setup a demo repository for testing the LLRT with AWS CDK.
https://github.com/NimmLor/aws-cdk-llrt-demo

I tried the example and something is odd with the LLRT, @dreamorosi was faster than me to open an issue in their repo.

Hi, I am able to reproduce the error you showed in the initial post but the issue is with LLRT rather than with Powertools.
As you mentioned, the code throws an error when importing the console module. To reproduce the issue I deployed a function with the following code, which as you can see doesn't have anything Powertools specific:
import { Console } from "node:console";

const con = new Console({ stdout: process.stdout, stderr: process.stderr });

export const handler = async (event: any) => {
  con.log("Hello, world!");
  return "Hello, world!";
};

Once deployed using the cdk-lambda-llrt construct, I get the same exact error:
  24-02-12T15:15:47.833Z        n/a     ERROR   ReferenceError: Error resolving module 'console' from '/var/task/index.mjs'
} stackTrace: [ '' ]or resolving module 'console' from '/var/task/index.mjs'',
INIT_REPORT Init Duration: 40.23 ms     Phase: init     Status: error   Error Type: Runtime.ExitError
  24-02-12T15:15:48.350Z        n/a     ERROR   ReferenceError: Error resolving module 'console' from '/var/task/index.mjs'
} stackTrace: [ '' ]or resolving module 'console' from '/var/task/index.mjs'',
INIT_REPORT Init Duration: 523.69 ms    Phase: invoke   Status: error   Error Type: Runtime.ExitError
START RequestId: 36e99bfc-806a-4326-963b-354ee212c545 Version: $LATEST
END RequestId: 36e99bfc-806a-4326-963b-354ee212c545
REPORT RequestId: 36e99bfc-806a-4326-963b-354ee212c545  Duration: 551.40 ms     Billed Duration: 551 ms Memory Size: 128 MB     Max Memory Used: 21 MB  Status: error      Error Type: Runtime.ExitError

After taking a look at the LLRT repo, and in light of this error, I think the compatibility matrix might be wrong. The table lists the console module as supported, however their API documentation doesn't include it anywhere.
I have opened an issue on their repo so that they can confirm whether the module is expected to work or not, and if not, to ask whether there's any chance that it will be implemented.
As a side note, I want to remark that according to both our tenets (see first point) and versioning policy (see dependency lifecycle section) our current priority is to officially support AWS Lambda managed runtimes - aka nodejs16x, nodejs18x, and nodejs20x at the time of writing.
LLRT has been met with remarkable positive feedback and shows a lot of promise, however while we are excited about it and eager to see where it goes, making significant changes to Powertools to support it would be premature since LLRT itself is considered experimental and subject to change.
With that said, we are open to work with the LLRT team to fix this specific issue, and other similar ones where LLRT is missing support for common Node.js APIs. Likewise, we are open to consider making changes on our side only as long as they don't impact compatibility, DX, and performance with the main Node.js runtimes.

Not sure if this helps, but at least for the Metrics package, if I patch it to lazy-load node:console and set the POWERTOOLS_DEV env environment variable to true, metrics appear to work.
I removed the const node_console_1 = require("node:console"); from the top of the compiled ts file at<EMAIL_ADDRESS>and updated the setConsole method to:
    setConsole() {
        if (!this.getEnvVarsService().isDevMode()) {
            const node_console_1 = require("node:console");
            this.console = new node_console_1.Console({
                stdout: process.stdout,
                stderr: process.stderr,
            });
        }
        else {
            this.console = console;
        }
    }

Hi @perpil thank you for chiming in. Indeed making the import lazy and bypassing the logic that uses it via the POWERTOOLS_DEV variable helps remove the issue. Thank you for confirming that this would be the only blocker for Logger to work on LLRT.
While it's a solution, this is not the kind of DX we are aiming for, so I would still consider the lack of console a blocker and push for it to be included in the runtime.
To this end, I'd appreciate your 👍 or comment on the linked issue if you'd like LLRT to improve compatibility with Powertools, that'd help to give more weight to the request.

According to awslabs/llrt#130 partial support for Console module has been added to LLRT. This would allow Logger & Metrics to work with the runtime without any patching.
As soon as they make a release and I can test the change I'll do so and report back here.

LLRT have released a new beta version and the issue with Console went away, however we now have another missing API.
I have opened an issue on their repo to track this: awslabs/llrt#302
LLRT also have opened an issue to track support for Powertools in general, which you can find here: awslabs/llrt#251

Hi, as mentioned above, node:util is only used once in the entire codebase and can easily be replaced by a template literal to allow us to use the logger for now.

Thanks for opening the PR, I left some more comments there on why I was reticent to remove it but on second thought I think it's safe to use template literals and remove the blocker.
I have modified/commented on the LLRT repo about the change on our side.
As far as I can tell we're still missing the randomInt API from node:crypto which was merged in awslabs/llrt#306 but not yet released.
Once LLRT releases the next beta, I'll test the Logger and see if we have everything. If anyone does it first I'd appreciate if they could report here.

Seems like the PR's for supporting console, switching to template literals and crypto.randInt are now resolved, is there anything remaining here?

Seems like the PR's for supporting console, switching to template literals and crypto.randInt are now resolved, is there anything remaining here?

The logger should be working as expected.
When I tried the tracer the last time and analyzed the bundle I notized the following node:xxxxx deps used in the esbuild output:

util
assert
async_hooks
dgram
fs
http
os
querystring
url

However it's very likely that most of these were imported in aws-xray-sdk-core

Yep, Tracer is the one lagging behind among the three core utilities, but no because of LLRT fault. All the modules mentioned come from AWS X-Ray SDK and for a number of reasons I don't expect LLRT to prioritize them in the short term.
Logger and Metrics work without any issue on LLRT, and the same goes for Batch Processing.


Julia right click "Run Code" returns an error

VSCode Version: Code 1.15.1 (41abd21afdf7424c89319ee7cb0445cc6f376959, 2017-08-16T18:07:25.676Z)
OS Version: Windows_NT x64 6.1.7601
Extensions:

Extension
Author (truncated)
Version

syntax-julia
be5
0.0.4

code-runner
for
0.7.1

language-julia
jul
0.7.0

linter-gfortran
krv
0.5.2

Steps to Reproduce:

Place cursor next to Julia code to run.
Right click mouse and select "Run Code" option
Get error message "'julia' is not recognized as an internal or external command, operable program or batch file."

Reproduces without extensions: Yes/No  Yes
sphere_vol.txt

It looks like this is an issue with one of your extensions. Can you file an issue against the extension responsible for the "Run Code" option? Thanks.


Added tabular explainer e2e testcase

What this PR does / why we need it:
Added tabular explainer e2e testcase.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #539
Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

No change in image versions.
Release note:

This change is

/assign @yuzisun

/retest

Nice work!
/approve
Feel free to get lgtm from anyone if I'm slow.

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

  [E 200418 07:33:40 web:1792] Uncaught exception POST /v1/models/isvc-explainer-tabular:explain (<IP_ADDRESS>)
       HTTPServerRequest(protocol='http', host='isvc-explainer-tabular-explainer-default.kfserving-ci-e2e-test.svc.cluster.local', method='POST', uri='/v1/models/
isvc-explainer-tabular:explain', version='HTTP/1.1', remote_ip='<IP_ADDRESS>')
       Traceback (most recent call last):
         File "/usr/local/lib/python3.7/site-packages/tornado/web.py", line 1701, in _execute
           result = method(*self.path_args, **self.path_kwargs)
         File "/kfserving/kfserving/handlers/http.py", line 61, in post
           response = model.explain(request)
         File "/alibiexplainer/alibiexplainer/explainer.py", line 74, in explain
           explanation = self.wrapper.explain(request["instances"])
         File "/alibiexplainer/alibiexplainer/anchor_tabular.py", line 89, in explain
           anchor_exp = self.anchors_tabular.explain(arr[0], **self.kwargs)
         File "/usr/local/lib/python3.7/site-packages/alibi/explainers/anchor_tabular.py", line 821, in explain
           for sampler in self.samplers:
       AttributeError: 'AnchorTabular' object has no attribute 'samplers'
   [E 200418 07:33:40 web:2250] 500 POST /v1/models/isvc-explainer-tabular:explain (<IP_ADDRESS>) 705.21ms

@janeman98 seems like it is failing here. @cliveseldon any idea?

Thanks @yuzisun !
@cliveseldon
There is a big change in /alibi/explainers/anchor_tabular.py in https://github.com/SeldonIO/alibi/pull/173. Will that relate to the error that Dan mentiioned above?

/retest

Thanks @yuzisun !
@cliveseldon
There is a big change in /alibi/explainers/anchor_tabular.py in SeldonIO/alibi#173. Will that relate to the error that Dan mentiioned above?

Yes the latest version of Alibi has some breaking changes but we access Alibi via the wrapper. So yes if the image is updated we should really fix at 0.3.0
https://github.com/kubeflow/kfserving/blob/3b282458eafe7fa423f7f4dcc34bd8f492c07884/python/alibiexplainer/setup.py#L36
I was hoping to update the alibi wrapper to work with latest.

Thanks @cliveseldon
Is there any existing issue opened for this? Or you want me to open one to keep track?

Thanks @janeman98 have opened https://github.com/kubeflow/kfserving/issues/792

@janeman98 Can you help rebase #803 from master and see if this fixes the e2e test issue.

@janeman98 Can you help rebase #803 from master and see if this fixes the e2e test issue.

Thanks @yuzisun !
I have lost my development machine. Will resume after I have everything set up. I mark this PR WIP for now.

Sorry @janeman98 I am closing this in favor of https://github.com/kubeflow/kfserving/pull/865 since we need the test to release 0.4, but thanks for your awesome work!

/close

@yuzisun
np. Sorry for delay.


[BUG] Job stuck in pending state after node fails to start because of insufficient capacity

Describe the bug
A job was submitted using sbatch and was allocated a new, powered down node.
The node couldn't be started because of an insufficient instance capacity exception (ICE).
The job did not get scheduled on a different node and is stuck in PENDING state.
To Reproduce
Submit a job requiring an instance type with insufficient capacity.
This can be difficult to reproduce.
In the past I've tried submitting to an x2i instance type that doesn't have capacity, however, while this exercises the ICE
handling, the job isn't ever expected to run.
Need to somehow request multiple instance types so that the nodes that get ICE get marked down and the job ultimately
runs on a different instance type.
This may require building a mock capability for ICE to facilitate reproducing the scenario.
Expected behavior
Remaining powered down nodes should get marked down and slurm should reschedule the job on different compute nodes.

Deprecating the legacy scheduler in favor of ParallelCluster.


Wait to load PgSearch::Document until after ActiveRecord has loaded

Loading the PgSearch::Document model without waiting for ActiveRecord to
load can cause problems because it causes ActiveRecord to pull
configuration into ActiveRecord::Base before the initializers get
loaded. This means ActiveRecord::Base could accidentally have inaccurate
configuration.
The fix for this is to wait until ActiveRecord has fully loaded before
requiring the model.
ref: rails/rails#23589

I ran into this issue today. After including the pg_search gem, my specs began to fail. AR changed a config in Rails 5 to add a validation to all belongs_to by default, but that flag is turned on in an initializer. Requiring the PgSearch::Document model before ActiveRecord loaded meant that this config was set to nil, which isn't the right behavior, and caused my specs to fail.
This has happened in a number of gems after the Rails 5 release. Some more reference:

rails/rails#23589
plataformatec/devise@c2c74b0
collectiveidea/delayed_job_active_record#128

:+1: I have the same problem

Thanks for merging this @nertzy! Any chance we can get a new release soon so we can switch from our branched version?

@nertzy Any plans to release a new version with this and the latest changes from master? Would like to get the official release back into production.

This fix is in v2.1.0 and later.


docs: update migration guide, examples, deploy

coverage: 95.224% (-0.8%) from 96.024%
when pulling 860f2a6d9e05d754a1bf61b304a749df84ea265e on 0-docs-update
into ffa167894404961de2bfd075144677f32264b5e1 on main.


Can these example work on SEEED XIAO ESP32S3, Also any example of LE audio i2s stream

We are searching for A2dp Alternate for new esp32s3 boards
We have find this place but codes are few.
any Idea or lead you can provide

These examples have pin configurations that are specific to Sonatino, and probably won't work with other boards without modification.
LE Audio requires at least Bluetooth 5.2, so unfortunately no ESP32-S3 devices (which use Bluetooth 5.0) will support LE Audio.

Thanks for the email
I find the note useful
Please tell me it is possible with esp32s3 seed Xiao can use i2s full
duplex. Like inmp441 as digital microphone and external dac as output.
On Wed, 6 Sep 2023, 8:12 pm lumination-labs, @.***>
wrote:

Closed #1 https://github.com/luminationlabs/Sonatino-Examples/issues/1
as not planned.
—
Reply to this email directly, view it on GitHub
https://github.com/luminationlabs/Sonatino-Examples/issues/1#event-10296936227,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACV6JJBER2IS2BZB635NTRLXZCDW5ANCNFSM6AAAAAA4NJCFSA
.
You are receiving this because you authored the thread.Message ID:
@.***
com>


Added setup and tear-down stages for the disconnect tests. Eliminated use of custom yaml files.

Replaced fixed interval with test+timeout when waiting for the degraded replica.
Create and use custom storage class this set of tests.
Deploy fio via client-go instead of yaml.
Adjust moac node affinity using client-go.

bors merge


Unset CurrentDownlink on schedule "replace"

Resolves #492

Coverage decreased (-0.006%) to 74.427% when pulling 77af7b8e14df00355623824674adbd939c9c0475 on issue/492-schedule-replace into 54c7613d6e7825eb0c4aebdfb4dbe557e408f27c on develop.

Coverage increased (+0.004%) to 74.438% when pulling 77af7b8e14df00355623824674adbd939c9c0475 on issue/492-schedule-replace into 54c7613d6e7825eb0c4aebdfb4dbe557e408f27c on develop.


fix/pairing_check_again

Still troubleshooting, but this did not resolve the issue for me and homescreen overrode setup during STT selection

the bug is likely in setup skill, something is changing state to "finished" too soon, we should add logs there for further info, but this PR should still be valid, now there is a distinction between finished and inactive that should help debug this better


Misaligned superscripts and subscripts - part 2

Description
Similarly to #539, super- and subscripts are still misaligned, when using accents. Accents on variables are vastly used by mathematicians, such that changing this should impact many documents.
Take:
#set page(width: auto, height: auto, margin: 5pt)

#let modifications = (x => $#x$, x => $hat(#x)$, x => $macron(#x)$, x => $tilde(#x)$)
#for modification in modifications {
  let mod(x) = $med #modification($#x$)_1^1 $
  box(box(
    $e_1^1 #mod($x$) #mod($y$) #mod($delta$) #mod($beta$) #mod($mu$) #mod($lambda$) #mod($l$) #mod($M$) #mod($(x)$)$,
    stroke: red + 0.2pt
  ), inset: (top: 1.6pt, bottom: 2.6pt), stroke: orange + 0.2pt)
  linebreak()
}

resulting in

whereas similar latex code results in

One notices, that in latex all super- and subscripts are aligned, whereas these change in typst with accents. Furthermore, the horizontal placement is also misaligned in typst, as can be seen with the ̀ M`.
(I am using typst 0.8.0)
Reproduction URL
No response
Operating system
No response
Typst version

[X] I am using the latest version of Typst

Duplicate of https://github.com/typst/typst/issues/1672


Print version on startup

@ablizorukov Ideally, there should be help and version commands or --help and --version flags available on the executables. But I don't know what's the right way to implement such. That's why I just print the current version for now.

I think there is no --help or --version command by default.
If we want to have it we would need to implement it using something like arguments parser, shouldn't be difficult
https://github.com/commandlineparser/commandline


Update and reformat README.md

Changed

Edited and reformatted README.md
IDE performed automatic code formatting

Thank you for updating this!


Pick QueryID from DBQLogTbl/QryLogV instead DBQLSQLTbl

Left outer join is based on L alias, but QueryID is taken from ST, making logs, missed in "dbc.DBQLSQLTbl", indistinguishable from each other.

@shevek-google short queries might not be present in DBQLSQLTbl, in this case their QueryText column in query logs table already contains full query text


useDrag swipe triggers in the wrong direction for certain devices

Describe the bug
Two quick swipes in a row trigger the wrong swipe direction (possible due to a weird interaction with react spring).
We encounter this bug only with Firefox and only for a specific device type. But there it's so bad it basically makes our app unusable. To better understand this issue I stripped down everything to the bare essentials: https://omkth.csb.app/
Video

Code
https://codesandbox.io/s/omkth
Information:

React Use Gesture version: [<EMAIL_ADDRESS>React Spring version (if this is any help): [<EMAIL_ADDRESS>Device: [Galaxy S20 5G SM-G981B/DS]
OS: [Android 11]
Browser [Firefox Browser 94.1.2]

Checklist:

[x] I've read the documentation.
[x] If this is an issue with drag, I've tried setting touch-action: none to the draggable element.

Hi, please make a sandbox so I can have a proper look. Thanks.

So I created the codesandbox - Hope this helps.
I understand that it probably isn't feasible to try to fix this if you can't reproduce it. Anyways, if you have some suspicion on what it could be I can offer my assistance by checking it for you.
Then something a bit off-topic: On chrome mobile onClick events (e.g. on the heart) are not registered right after swiping. I was planning to raise another question/issue but if you take a look at it anyways: Is this to be expected or is it a bug?

Hi @dbismut , I am having the same issue as documented here. Any chance you could please look into this?

@TPME what hardware / browser please?

@dbismut Sorry, I was specifically talking about the issue that the onClick event is not registered right after swiping. I end up having to tap twice (instead of just once). I can also re-create the bug in the code sandbox @uelibaumgartner linked in the original post now.
I am using a Samsung S20 with Chrome Browser (latest).

@TPME Oh right ok. Sorry I've let this issue stall a bit. I don't have an android device around unfortunately so I can't reproduce on my iPhone (Firefox, Safari, Chrome seem to work properly).

@dbismut I just good feedback, that this is very likely an issue tied to this specific device of this user. Therefore I'll close this issue.
For the other think where onClick events are not triggered that @TPME also is affected, I will raise a separate issue and with a better codesandbox, that really highlights the issue.

Thanks! Sorry I let this one stalled, just got a new job that takes me away from OSS.


use dumb-init

see https://github.com/Yelp/dumb-init for details
... I can make a PR if wanted

+PR
Thanks


feat: not

Current coverage is 100% (diff: 100%)

Merging #5 into master will not change coverage

@@           master    #5   diff @@
===================================
  Files           2     4     +2
  Lines          20    40    +20
  Methods         4     8     +4
  Messages        0     0
  Branches        0     0
===================================
+ Hits           20    40    +20
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 0984276...f1fff5d


Assign alliance through genesis block #99

Why:
To differentiate the ability of alliance and miner, a solution to assign these roles when initiating the blockchain is necessary.
How:
By assigning the initial alliance through genesis block, we are able to assign the address as an alliance. This can also differentiate each individual blockchain at the beginning through a completely different genesis block, which means that the blockchain with pre-assigned alliance cannot be connected or mine for those who are not assigned.
Usage:

The initial alliance address can be assigned in the configuration file (i.e. gcoin.conf). With the key alliance following by an address, the initial alliance address can be assigned, ex. alliance= 18JHzqnhdgVbx9xghA4BXfe75Mp4bYHCKs. If no alliance is assigned in genesis block, the mechanism remains the same as the former method (i.e. The first block miner will be the first alliance.)
The addresses in the configuration file will be recorded in the genesis block by a form of VOTE transaction.
By importing the corresponding key of the assigned address, user can assign the address as their default address through rpc assignfixedaddress.
Mining start!

Side Effects:
Since that the genesis block can be changed through the content of configuration file, the nonce of genesis block needs to be calculated in run-time, which means a little extra time is needed when starting the node.

是不是可以把設定初始 alliance 的多個 transactions 合成為一個 multisig address 的 transaction？

這邊應該會跟著alliance的新增機制來做更動

pass

pass