A little bit strange results from PerfMain.java

I tested Todo sample on OSX 10.10 iMac with Oracle Java 8 build45. TodoServerMain and PerfMain work on the same computer.
First strange thing is loosing commands:
SENDS 1400000 SIZE 1400001 duration 318312 rate 4402
SENDS 1600000 SIZE 1600001 duration 362776 rate 4419
SENDS 1800000 SIZE 1800001 duration 408225 rate 4411
SENDS 2000000 SIZE 2000001 duration 453760 rate 4415
SENDS 2200000 SIZE 2200000 duration 498682 rate 4417 -- one command lost ?
SENDS 2400000 SIZE 2399998 duration 543823 rate 4419 -- couple of commands lost ?
SENDS 2600000 SIZE 2599998 duration 588997 rate 4421
And after all:
SENDS 30600000 SIZE 30399956 duration 6859379 rate 4432
Waiting flag currentTotalSends 31000000 itemsReceived 30599955
SENDS 31000000 SIZE 30599955 duration 6921441 rate 4421
Waiting
Waiting
Waiting
Waiting
Waiting
Waiting flag currentTotalSends 31200000 itemsReceived 30799956
SENDS 31200000 SIZE 30799956 duration 6964903 rate 4422
Waiting
Waiting
SENDS 31200000 SIZE 30999954 duration 6979357 rate 4441
SENDS 31200000 SIZE 31040005 duration 6993728 rate 4438
And that's all.
Is it normal ? And I wonder how to detect this case ?
Second strange thing is extremely slow speed (4400TPS) with low CPU - Server+Client = 7% (could be 200% maximum for 2 active threads).
How to improve speed ?

Thanks.
Yeah that test has not been updated since we changed and refactored the Client.
I can run that test with no params other than host or port at 60K TPS.
If I tune the request batch size and protocol size, I can get:

SENDS 50000 SIZE 1573030 duration 2369 rate 786,515

SENDS 100000 SIZE 1623030 duration 3465 rate 541,010

SENDS 150000 SIZE 1673030 duration 4925 rate 418,257

SENDS 200000 SIZE 1723030 duration 6218 rate 287,171

SENDS 250000 SIZE 1773030 duration 7349 rate 253,290

SENDS 300000 SIZE 1823030 duration 8618 rate 227,878

SENDS 350000 SIZE 1873030 duration 9901 rate 208,114

SENDS 400000 SIZE 1923030 duration 11225 rate 174,820

I get as high as 1 million by tweaking params.
There is no back pressure implemented in this test so it does trail off.
If I enable auto flush and amp up the request batch size, I get...

SENDS 50000 SIZE 2880157 duration 1506 rate 2880157

SENDS 100000 SIZE 2930157 duration 1953 rate 2930157

SENDS 150000 SIZE 2980157 duration 2161 rate 1490078

SENDS 200000 SIZE 3030157 duration 2614 rate 1515078

SENDS 250000 SIZE 3080157 duration 3046 rate 1026719

SENDS 300000 SIZE 3130157 duration 3269 rate 1043385

SENDS 350000 SIZE 3180157 duration 3704 rate 1060052

SENDS 400000 SIZE 3230157 duration 3915 rate 1076719

SENDS 450000 SIZE 3280157 duration 4351 rate 820039

SENDS 500000 SIZE 3330157 duration 4550 rate 832539

SENDS 550000 SIZE 3380157 duration 4987 rate 845039

        final Client client = new ClientBuilder()
                .setPort(port)
                .setHost(host)
                .setAutoFlush(true)
                .setFlushInterval(100)
                .setRequestBatchSize(1_000)
                .setProtocolBatchSize(2_000)
                .build();

It is not a very good perf test.
/*
 * Copyright (c) 2015. Rick Hightower, Geoff Chandler
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  		http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * QBit - The Microservice lib for Java : JSON, WebSocket, REST. Be The Web!
 */

package io.advantageous.qbit.sample.server;

import io.advantageous.boon.core.Sys;
import io.advantageous.qbit.client.Client;
import io.advantageous.qbit.client.ClientBuilder;
import io.advantageous.qbit.sample.server.client.TodoServiceClient;
import io.advantageous.qbit.sample.server.model.TodoItem;

import java.util.Date;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;

import static io.advantageous.boon.core.IO.puts;

/**
 * created by rhightower on 12/4/14.
 */
public class PerfMain {

    final static AtomicBoolean wait = new AtomicBoolean();
    final static int startSize = 0;

    final static long startTime = System.currentTimeMillis();

    final static
    AtomicInteger totalSends = new AtomicInteger();

    public static void main(String... args) {

        String host = "localhost";
        int port = 8080;
        if (args.length > 1) {

            host = args[1];
        }

        if (args.length > 2) {

            port = Integer.parseInt(args[2]);
        }

        final Client client = new ClientBuilder()
                .setPort(port)
                .setHost(host)
                .setAutoFlush(true)
                .setFlushInterval(100)
                .setRequestBatchSize(1_000)
                .setProtocolBatchSize(2_000)
                .build();

        TodoServiceClient todoService = client.createProxy(TodoServiceClient.class, "todo-manager");

        client.start();

                /* Add a new item. */
        todoService.add(new TodoItem("Buy Hot dogs", "Go to 7/11 and buy some hot dogs", new Date()));
        /* Add a new item. */
        todoService.add(new TodoItem("Buy Hot dogs", "Go to 7/11 and buy some hot dogs", new Date()));

        todoService.add(new TodoItem("a", "b", new Date()));

        Date date = new Date();

        for (int runs = 0; runs < 10_000; runs++) {

            for (int index = 0; index < 50_000; index++) {
                todoService.add(new TodoItem("a" + index, "b", date));

                if (index % 10_000 == 0) {

                    if (wait.get()) {
                        todoService.size(PerfMain::adjustSize);
                        puts("Waiting");
                        Sys.sleep(100);
                    }

                }

            }

            client.flush();

            totalSends.addAndGet(50_000);
            Sys.sleep(25);

            todoService.size(PerfMain::adjustSize);

        }

        Sys.sleep(10_000);

        todoService.size(size -> puts("FINAL SIZE " + size));

        Sys.sleep(10_000);

        client.stop();

    }

    private static void adjustSize(Integer size) {
        long duration = System.currentTimeMillis() - startTime;

        int itemsReceived = size - startSize;
        int currentTotalSends = totalSends.get();

        if (currentTotalSends - 20_000 > (itemsReceived)) {

            puts("Waiting flag", "currentTotalSends", currentTotalSends, "itemsReceived", itemsReceived);
            wait.set(true);
        } else {
            wait.set(false);
        }

        puts("SENDS", currentTotalSends, "SIZE", size, "duration", duration, "rate", size / (duration / 1000));
    }

}

Take a gander at this:
https://github.com/advantageous/qbit/commit/7e6b064f6abd33df6dd92708969c985a2e55df27

On a new mac book pro that I have.. I do not see the trail off which I do see on the older mac book pro which is likely configured differently too.

SENDS 2150000 SIZE 2150003 duration 16894 rate 134375

SENDS 2200000 SIZE 2200003 duration 17332 rate 129411

SENDS 2250000 SIZE 2250003 duration 17553 rate 132353

SENDS 2300000 SIZE 2300003 duration 17987 rate 135294

SENDS 2350000 SIZE 2350003 duration 18415 rate 130555

SENDS 2400000 SIZE 2400003 duration 18624 rate 133333

SENDS 2450000 SIZE 2450003 duration 19058 rate 128947

SENDS 2500000 SIZE 2500003 duration 19504 rate 131579

SENDS 2550000 SIZE 2550003 duration 19724 rate 134210

SENDS 2600000 SIZE 2600003 duration 20155 rate 130000

SENDS 2650000 SIZE 2650003 duration 20603 rate 132500

SENDS 2700000 SIZE 2700003 duration 20820 rate 135000

SENDS 2750000 SIZE 2750003 duration 21309 rate 130952

SENDS 2800000 SIZE 2800003 duration 21760 rate 133333

SENDS 2850000 SIZE 2850003 duration 21987 rate 135714

Behavior changed, but I'm not sure it's good.
Here is link to my log: http://company.tvsori.com:8000/~sergey/tmp/log_20150623.html
You can see numbers had been increased, but a lot of waiting and most important - received items are not matched with sent. Actually it's most important issue - even with bad JVM/Client/Network settings we should be able to detect lost requests. Don't you think ? Speed in this case is less important.

My sizes do line up. As you can see from my above log. This test is not a serious perf test.
The issue you are running into probably has a lot to do with the heap on the server growing forever as in TODO list just keeps growing, and then you are running out of space and the GC is busy. When I run 2,850,003 calls, through it. It is fine. When you run 70,500,000, there are issues. Perhaps you ran out of memory. Again, the test is just an example not a real perf test. If the server memory fills up and it will eventually with this test since we are adding method todo items and never clearing them then the server will get behind. If I want to diagnose what was happening on your server or test env. I would register a callback handler that implemented the onError. Check the logs. Attach to the server with jvisualvm etc. The test does not force the two ends to meet. There is a throttle vis a vi a Sleep but we don't actually loop until the size comes through thus, one can expect that the size will get out of sync. At least that is my understanding of the perf test that I wrote.


MWPW-155333 - [FloodgateUI] URL validation

Setup validation of configured URLs and found fragment URLs in floodgate UI. Including UI to let the user know what error was returned in validation.
Will validate URLs for the following:

NOT FOUND (404)
NOT AEM URL
NOT SAME DOMAIN
MEDIA FILES (gif, jpg, jpeg, tiff, png, and webp)

Resolves: MWPW-155333
Test URLs:

Before: https://main--cc--adobecom.hlx.page/tools/floodgate?milolibs=floodgateui&ref=main&repo=cc&owner=adobecom&host=www.adobe.com&project=Creative+Cloud&referrer=https%3A%2F%2Fadobe.sharepoint.com%2F%3Ax%3A%2Fr%2Fsites%2Fadobecom%2F_layouts%2F15%2FDoc.aspx%3Fsourcedoc%3D%257B7efa1bf3-89fb-4f5a-95be-dbc80f596074%257D%26action%3Deditnew
After: https://main--cc--adobecom.hlx.page/tools/floodgate?milolibs=sean-loc&ref=main&repo=cc&owner=adobecom&host=www.adobe.com&project=Creative+Cloud&referrer=https%3A%2F%2Fadobe.sharepoint.com%2F%3Ax%3A%2Fr%2Fsites%2Fadobecom%2F_layouts%2F15%2FDoc.aspx%3Fsourcedoc%3D%257B7efa1bf3-89fb-4f5a-95be-dbc80f596074%257D%26action%3Deditnew

Thanks @Sartxi !


K_Sigma_transform.py的一条代码

原文：cvt_b = (sigma / (k ** 2) - sigma_a / (k_a ** 2)) * k_a
是不是应该修改成：cvt_b = sigma / (k ** 2) - sigma_a / (k_a ** 2) * k_a

Hi, sorry for the late response. I followed the code logic of the author, however, it is true that someone else still has questions about this formula... but at least you should calculate the offset


Move Technical Charter to this repo

Currently the technical charter is in a Google Doc.
Convert it to Markdown and move it to this repo.

Plan of attack:

Download in docx format
Run pandoc on it, docx -> gfm (GitHub Flavoured Markdown)
Verify it still looks OK & iterate if necessary
Send PR

Update: Will convert to rst instead, since it's better able to handle the type of ordered list numbering that we'll need if we want to maintain the numbering that's in the current doc.
See Richard's rst primer for more information.

The docx file needed a bunch of cleanup to make sure that the ordered lists were correct.
Once that was complete and confirmed against the Google Doc, I ran the docx through pandoc with this command:
pandoc -f docx TungstenFabricProjectTechnicalCharter.docx -t rst -o TungstenFabricProjectTechnicalCharter.rst

I previewed the rst using this online tool and discovered that the ordered lists were no longer correct (the lowercase alphabet items didn't restart at 'a' each time, they just kept going through the alphabet). I fixed those manually in vim.
I think this is now ready for approval and merging into the docs directory, or will be once I send a PR.


Add skip-build option to use with keep-alive

Adding --skip-build option. The main purpose of this option is to allow an easy way to launch the docker container and connect to it interactively for development.
This will allows this command to launch a container and run until it's explicitly stopped
SS_ARGS="--skip-build --keep-alive" docker-compose up -d

And then start a shell session to do build commands interactively
docker exec -it seedsigner-os-build-images-1 /bin/bash

Looks good. Merged.
I'm thinking after seeing this:

What about to write there how to remove the container and image?


[FR] Serving mbtiles/pmtiles from cloud storage (S3 or any other)

As of today, Martin only serves tiles from locally stored files, it would be great to add the ability to serve tiles from files stored in cloud storage.

@AbelVM I agree :100:: -- it is already being tracked in #884 for PMTiles.  I do not believe it will be possible to serve MBTiles from a cloud storage though because SQLite database is optimized for local disk access (block devices), so even though I have seen a hack where a website was using sqlite binary in a webassembly to request the actual data from the server, it is far from efficient. In other words - lets focus on pmtiles for this usecase - help wanted :)
Closing as a duplicate of #884


Trying to record a video, getting an error

Discussed in https://github.com/aler9/rtsp-simple-server/discussions/598

Originally posted by antongenis September 29, 2021
2021/09/29 11:26:18 I [1/0] [RTSP] [session 644619446] opened by <IP_ADDRESS>:38766
[rtsp @ 0x5555c885b900] method SETUP failed: 461 Unsupported Transport**
2021/09/29 11:26:18 I [1/0] [RTSP] [session 158090036] opened by <IP_ADDRESS>:38766
the command I am using to send a video:
ffmpeg -re -i ipd.mp4 -c:v libx264 -preset superfast -tune zerolatency -f rtsp -rtsp_transport tcp rtsp://SS:DD@<IP_ADDRESS>:8554/stream7

in the yml file:
runOnPublish: ffmpeg -i rtsp://localhost:$RTSP_PORT/$RTSP_PATH -rtsp_transport tcp -c:v libx264 /mnt/video-dev/$RTSP_PATH.mp4

I am seeing that the file is being recorded, but not completely, not all frames are there
the original video has 247 frames , and the one recorded -220
$ ffprobe -select_streams v -show_streams stream7.mp4 2>/dev/null | grep nb_frames | sed -e 's/nb_frames=//'
220


🎮 Game Request
Game logic and basic description
In this we have to collect point and pass the  stage .
We have magic point and heath.
Point down the features
Game points
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

/assign

Hey @Killer2OP !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hello @Killer2OP, Time's Uppp!⏰
Sorry for closing your issue!
But it's more than a week since we haven't received anything from your side 😢 .
Come up with new ideas, create a new issue and make sure you finish it within a week! 🔥
All the best! 🚀
Happy Hacking! 💗

Hey @Killer2OP ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Docker build test suite

It would be really nice to have a docker file that can build on Linux with your local changes, so that you can quickly test clang compilation and unit test suites.

We already have https://github.com/flingengine/FlingDockerBuild that can run in something like Jenkins, but that does a fresh clone/build every time. I want something that I can run locally in the actual source repo here to test local changes before pushing them up to staging.

Hi, I'll work on it. I think I can do something good.

closing this because it's really unnecessary atm


Crash when getting properties of script

Select lever in testscene.
Open up script component.
Try to get properties of script.
Crash.

Fixed in #604


Plugin doesn't co-exist with cordova-plugin-fcm, dependency version conflict

When Installing this plugin the following message is outputted in the console
google-services plugin could not detect any version for com.google.android.gms or com.google.firebase, default version: 9.0.0 will be used.
After Installing cordova-plugin-fcm and running the app
The following error occurs
:processDebugGoogleServices Found com.google.android.gms:play-services-location:+, but version 9.0.0 is needed for the google-services plugin.
:processDebugGoogleServices FAILED FAILURE:
BUILD FAILED
Total time: 5.477 secs
Build failed with an exception.
* What went wrong:
Execution failed for task ':processDebugGoogleServices'.

Please fix the version conflict either by updating the version of the google-services plugin (information about the
latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updatin
g the version of com.google.android.gms to 9.0.0.`

Once either one of the plugin is uninstalled the application works perfectly
I am Using

Ionic 2.2.1
Cordova version 7.0.
cordova-plugin-mauron85-background-geolocation 2.2.5
cordova-plugin-fcm 2.1.2

Your're reporting to wrong repo. Anyway try workaround  It's for react-native-maps, but it should be applicable for cordova and fcm aswell.

Module react-native-maps v0.8.2 requires Google Play Services library version 9.4.0, we need to change node_modules/react-native-mauron85-background-geolocation/android/lib/build.gradle
dependencies {
...
compile 'com.google.android.gms:play-services-location:9.4.0'
...
}

Quote from: https://github.com/mauron85/react-native-background-geolocation-example

hi @mauron85 yes i just realized that i have reported to the wrong repo. Sure i will try this workaround

hi @mauron85 i am still getting the same issue. any possible insights into this. Thanks


Add a logger for nunit xml format

I might have some time to try to implement this, I'll have a quick look and report back.

Logger published : https://www.nuget.org/packages/NunitXml.TestLogger/1.0.0


Can't copy result from notebook

Issue Type: Bug

Azure Data Studio Version: 1.5.2
OS: Windows 10 Home x64

Steps to Reproduce:

Make a select statement in notebook
Select a cell and do Ctrl+c
Paste in any text editor. It paste the executed code instead of the cell value.

@royhq we enable "copy" output result using ctrl+a for active cell on windows/linux in April release. Could you try it out and see if you get what you need? Feel reopen it if you need something else.


docs: update doc structure, add new docs for grafana and plugins

Updated mainREADME.md structure for better navigation, and removed outdated info
Added a new GRAFANA.md doc in /docs
Setup and moved some docs to a new /docs folder
Built out README.md files for plugins (Jira & Gitlab)

LGTM


Website not displaying

Hey! I have downloaded the latest source code and even the beta builds, and no matter what I try, nothing appears on the Quad. The website never shows up on the Quad. Any way to get this to work?

What platform are you running it on?

It only runs on an oculus headset, not the unity editor

I’m using the Oculus headset and built the .APK and sideloaded it, and it will still only show a white Quad, won’t load the website

It only runs on an oculus headset, not the unity editor

I’m using the Oculus headset and built the .APK and sideloaded it, and it will still only show a white Quad, won’t load the website

Hey so I was working on my project LATE last night, I had thought I built it and tried it standalone on my Quest, but turns out I didnt. I'm sorry to raise an unneeded alarm for you, but thanks anyways for helping me!


externals update

#498  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Enalmada and the rest of your teammates on  Graphite


Quasar 2, typescript, vite error

Hi,
I cannot use "@globalhive/vuejs-tour": "^1.3.4", in my Quasar 2 app.
boot file:
import<EMAIL_ADDRESS>
import VueJsTour from '@globalhive/vuejs-tour';
import { boot } from 'quasar/wrappers';

export default boot(({ app }) => {
  app.use(VueJsTour);
});

and App.vue
<template>
 <VTour
  name="test"
  :steps="[]"
 />
 <router-view />
</template>

Anybody can help me?

Thanks

Hello,
first of all the 'name="test"' is not used anywhere
2nd. You have to provide some steps before starting the tour, else it will throw an error.
I don't know if the other errors have to do with Quasar 2, but since its based on Vue there shouldn't be any problems.
Please check the documentation on how to create a tour. HERE

Hi, I just migrated from quasar 1 to 2 (vue too) so I had original vue-tour and it seems I have a everything prepared. I'll doublecheck. Thanks

This is my App.vue:
<template>

Selected by its id 'selectByID'

Telected by its class 'selectByClass'

    <button data-step="3">Selected by the 'data-step="3"' attribute</button>

    <VTour :steps="steps"/>
 <router-view />
</template>

There is something wrong with VTour component. It does not render anything on screen, but when I comment VTour component everything renders fine. I don't have an issue with starting tour, but with rendering everything else on my page.
^^ is basically an example from docs. It does not work with


FYI / use in project

Hi there .. just a thanks and fyi that I've used your code in a recently published project re:places (a drop-in polyfill for Algolia Places), to help with geo polygon searches. The new library will be making it's way into citizensgbr.org and greatreefcensus.org sometime soon. There's an acknowledgement linking to your repo on the demo page. Cheers!

Awesome - glad it could be of use @theprojectsomething , particularly for a good cause, that's what makes open source great!
From a fellow dive monkey (although slightly out of practice) :)


Support Java9 Jigsaw module

https://github.com/jodastephen/jpms-module-names
http://branchandbound.net/blog/java/2017/12/automatic-module-name/
Related issue: #938

Java 9 is not a target but we will check it with https://github.com/cbeust/testng/issues/1808


CAPI Elemental & Rancher Turtles integration

This issue is about implementing a PoC to show integration between the CAPI Elemental infrastructure provider and Rancher Turtles.
This should be demoable by:

Deploying Rancher with the embedded-cluster-api feature disabled.
Deploying the CAPI core provider, the Kubeadm control-plane & bootstrap providers, and the Elemental infrastructure provider.
Marking the CAPI Cluster resource with the cluster-api.cattle.io/rancher-auto-import: "true" label (or the entire namespace where the Cluster is defined with the same label)
Applying the CAPI cluster.yaml manifest

The goal is to have a Kubeadm+Elemental cluster provisioned and showing on Rancher Dashboard.

Linking parent epic: #968

Just for clarification:
The primary goal here is not a perfectly running demo, but to explore (and document) various integration aspects and to create a plan/story about how 'Elemental' and 'CAPI' can add value (to Rancher).
Having something that almost runs, needs manual workarounds, or just fails at one point (because code is missing in Elemental or Turtles) is perfectly acceptable.

I just published a Rancher specific demo setup.
Not merged yet, but it's visible here: https://github.com/rancher-sandbox/cluster-api-provider-elemental/blob/rancher-capi-demo/demo/README-Rancher.md
Had a bit of struggling with kubelet and containerd, but now everything should be working and all dependencies satisfied.
I also had to switch to a VM setup instead of docker.
There is more that I have to try to make everything work from docker containers, for example enabling the br_netfilter that I didn't try yet inside the docker container. However since this can go wrong in many other ways, I'll put it aside on the moment.
One piece I still miss with the Rancher integration is the Elemental API routing.
According to steve's documentation, it should be possible to define a new APIService object to define a path based route (/elemental/v1) and a secret that points to http://elemental-controller.elemental-system.svc.cluster.local:9090

Added some higher level documentation.
The APIService route/aggregation is slightly more complex than anticipated, so I'll leave it on the side for the moment.
It would also be a best practice to not route through the Rancher API anyway, and to dedicate a separate load balancer for the Elemental API.


How to build flet locally or via CI?

I want to build my own fork for testing.

Currently it seems that I can follow https://github.com/flet-dev/flet/blob/main/.appveyor.yml .
And if I don't want to install MSVC on Windows, I can "steal" redist dll from official build😊.


fix to work with laravel 5.6

the throttle package in this version which is marked to work with larvel 5.6 was set to a 5.5 version of throttle. 7.0 introduced laravel 5.6 support

Thank you!

Thanks @pursehouse, I was going to look at that over the weekend!


Add a optional prometheus endpoint to record app latency

Signed-off-by: Rebecca Roberts<EMAIL_ADDRESS>Signed-off-by: Ben Fuller<EMAIL_ADDRESS>Signed-off-by: Andrew Crump<EMAIL_ADDRESS>Note on necessary changes that will have to be made before making this a default feature:

Possibly add more metadata, including app data, but also possibly success/failure outcome as well
expire metrics after a period of time.
There's a released change in loggregator-agent-release/metrics-discovery to handle bugs discovered to do with this change.

A short explanation of the proposed change:

Add a optional Prometheus endpoint to record app latency

An explanation of the use cases your change solves

Prometheus latency should usually produce less metrics per application, but should also be easier to parse and resolve. It should also be more accurate.

Instructions to functionally test the behavior change using operator interfaces (BOSH manifest, logs, curl, and metrics)

should be able to deploy with
  router:
       per_request_metrics_reporting: false
       send_http_start_stop_server_event: false
       send_http_start_stop_client_event: false
       per_app_prometheus_http_metrics_reporting: true
       prometheus:
         ca_cert: ((gorouter_metrics_tls.ca))
         cert: ((gorouter_metrics_tls.certificate))
         key: ((gorouter_metrics_tls.private_key))
         port: 18000
         server_name: gorouter_metrics

- name: gorouter_metrics_tls
  options:
    alternative_names:
    - gorouter_metrics
    ca: metric_scraper_ca
    common_name: gorouter_metrics
    extended_key_usage:
    - server_auth
  type: certificate
  update_mode: converge

Expected result after the change

prometheus metrics come out and the old latency metrics and start stops don't.

Current result before the change

prometheus metrics don't come out and old latency metrics and start stops do.

Links to any other associated PRs

[x] I have viewed signed and have submitted the Contributor License Agreement

[x] I have made this pull request to the main branch

[x] I have run all the unit tests using scripts/run-unit-tests-in-docker from routing-release.

[ ] (Optional) I have run Routing Acceptance Tests and Routing Smoke Tests on bosh lite

[ ] (Optional) I have run CF Acceptance Tests on bosh lite

Any more feedback you have? anything you want to do/want us to do before merging.


pfield on newtypes introduces an extra lambda

Example / bench: https://github.com/Plutonomicon/plutarch/pull/424/commits/72614e2afdaa5f69e89a6da2ba88c171b0e0e413 (from #424)
Discord discussion

test :: Term s (PTxOutRef :--> PTxInInfo :--> PTxId)
test = phoistAcyclic $
  plam $ \outref txininfo -> unTermCont $ do
    PTxOutRef outref' <- tcont $ pmatch outref
    PTxInInfo txininfo' <- tcont $ pmatch txininfo
    PTxOutRef inOutRef <- tcont . pmatch $ pfield @"outRef" # txininfo'
    _ <- tcont . plet $ pfield @"id" # inOutRef
    pure $
      pfield @"id" # outref'

test' :: Term s (PTxOutRef :--> PTxInInfo :--> PTxId)
test' = phoistAcyclic $
  plam $ \outref txininfo -> unTermCont $ do
    _ <- tcont . plet $ pfield @"id" #$ pfield @"outRef" # txininfo
    pure $ pfield @"id" # outref

-- test
((\\i0 ->
  (\\i0 ->
    (\\i0 ->
      \\i0 ->
        \\i0 ->
          (\\i0 -> i4 (i5 i3))
          (i3 (i4 (i3 (i4 i1))))
    )
    (force headList)
  )
  (\\i0 -> i2 (unConstrData i1))
)
(force (force sndPair)))

-- test'
((\\i0 ->
  (\\i0 ->
    (\\i0 ->
      \\i0 ->
        \\i0 ->
          (\\i0 -> i4 (i5 i3))
          ((\\i0 -> i4 (i5 i1)) (i3 (i4 i1)))
    )
    (force headList)
  )
  (\\i0 -> i2 (unConstrData i1))
) (force (force sndPair))))

I am looking into this but I'm afraid this might be another one of those issues that we can't actually solve "without linear types and punsafeLetInline".
I was under the impression we had a test for this particular event, but actually that's not the case - we only have a test for ensuring pmatch on single constructor types is the same as pndBuiltin . pasConstr - I got confused.

Manually desugaring the second pfield to what it should be translated to, actually makes them both the same-
test :: Term s (PTxInInfo :--> PTxId)
test = phoistAcyclic $
  plam $ \txininfo -> unTermCont $ do
    PTxInInfo txininfo' <- tcont $ pmatch txininfo
    let g = pfield @"outRef" # txininfo'
    PTxOutRef inOutRef <- tcont $ pmatch g
    pure $ pfield @"id" # inOutRef

test' :: Term s (PTxInInfo :--> PTxId)
test' = phoistAcyclic $
  plam $ \txininfo -> unTermCont $ do
    let g = pfromData $ pfield @"outRef" # txininfo
    pure $ pfromData $ pindexDataRecord (Proxy @0) $ ptoFields g

these two perform the same. But I don't quite see why, pfromData $ pindexDataRecord (Proxy @0) $ ptoFields g is exactly what pfield @"id" # g should desugar to anyway.

I see the issue, pfield is unoptimal when working on datasums (single constructors) that aren't in WHNF (pre-evaluated references to some lambda arg). It introduces an extra lambda-
plam $ \i -> pindexDataRecord (Proxy @0) $ ptoFields i

the issue is, if i is a PDataSum '[def], ptoFields i gets translated to punDataSum # i, so there's 2 back to back applications.
We can't remove the outer lambda altogether, since it is genuinely a good idea for working directly on data records, as ptoFields is just id for them, and the application is necessary to evaluate the data record.


Add RepositoryConnection.setWriterConfig

(Migrated from https://openrdf.atlassian.net/browse/SES-1828)
Need to add RepositoryConnection.setWriterConfig and RepositoryConnection.getWriterConfig to enable users to specify the writer configuration to use when exporting statements.
Scheduling this tentatively for 2.8.0 as it is adding to a major public interface, but feel free to schedule it to a 2.7.x release instead.
Being able to specify the writer config enables users to change the pretty-print setting, and change other settings that are relevant to specific file formats, especially JSON-LD where users need to be able to customise how the documents are structured using WriterConfig and JSONLDSettings.

The export functions on RepositoryConnection take an RDFHandler, which does not expose the setWriterConfig method. A method like this on RepositoryConnection would have limited use.


Code of Conduct

The project is currently missing the Code of Conduct file which is important for open source project
So can I go for it @ankingcodes

@Tejas1510 - As this is not a big project we are not looking to add a Code of Conduct file specifically for the project. Students have already read code of conduct from NWOC github repo.

Sure @ankingcodes


Documentation Sub-list don't render properly

Describe the bug
If you create a sub-list in the documentation the markdown renderer will automatically assume that it is a list for the sidebar on the right. And there is no way to get it to render properly.
To Reproduce
Steps to reproduce the behavior:

Create a regular documentation file with a header and a right sidebar menu
Create a couple of regular paragraphs (Separate the list out)
Create a unordered list with a sub-list
See error

Expected behavior
Sub-list should render as sublist
Desktop (please complete the following information):

OS: Elementary OS 0.4 (Ubuntu 16.04 based)
Browser: Firefox 63.0b11 64bit
Version: 1.2.5

Edit: After further review of the HTML the markdown renderer is rendering it properly, this is a CSS issue of some kind.

This issue was apparently fixed in a recent update and I failed to force update the assets.

Thank you @tankerkiller125 👍


display set_text 메소드 호출 시 json 오류

pyMODI version:0.7.0
Python version:3.7
Operating System:Windows 10

Description
Calling "display.set_text('Hello')" raises an TypeError stating that a given json is not serializable.
What I Expected
The text 'Hello' should be printed on the display module, and it should not throw an error.

Please attach a relevant python script for reproducing the issue.

I've managed to reproduce your issue and it has been fixed now.


Feature Request: Python Black Support

Consider adding support for Black.

This isn't suitable for syntastic.  Black is a code formatter, and syntastic assumes the linters it runs don't change the files under its feet.  Also syntastic is essentially dead, you might want to look at ALE instead.
Sorry, but no.


Stopping a debug session does not terminate the app on iOS

When running an app on the iOS Simulator in debug mode (eg. flutter run --start-paused), the app is not terminated on the device when you stop (send an app.stop request). This happens even if the app is not paused at the time.
To repro:

Open a Flutter app in Android Studio or VS Code (both have same behaviour)
Run the app on iOS Simulator) without debugging ("Start without debugging" in VS Code, or the green triangle run button in Android Studio)
After the app appears, click the Stop Debugging button
Note that the app closes on the Simulator
Re-run the app with debugging (the bug icon in Android Studio, or Start Debugging in VS Code)
After the app appears, click the Stop Debugging button
Note that the app remains open in the simulator

Looking at the logs in VS Code, the --start-paused flag is the only thing I can see that's difference in these cases, so I think something it's doing is changing the behaviour when app.stop is sent.
(moved from https://github.com/Dart-Code/Dart-Code/issues/2291)

I thought we had another issue for this but I can't find it at the moment.

I think we have an issue for physical iOS devices filled in 2016, but not one for simulators - possibly a similar issue though

FWIW I don't have a physical iOS device to test, so when I put "iOS Simulator" in the subject it was mostly because it doesn't happen for Android Simulators (so it may be the same issue as for a physical device).

Confirm this issue still exists unfortunately

I just tried this on Flutter master in Android Studio and the stop button quit the app.  Am I missing repro steps, @DanTup?
stop-sim-app.mov.zip
$ flutter doctor -v
[✓] Flutter (Channel master, 1.24.0-4.0.pre.37, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-US)
    • Flutter version 1.24.0-4.0.pre.37 at /Users/magder/Projects/flutter
    • Framework revision cb67513f29 (79 minutes ago), 2020-10-23 10:00:56 -0700
    • Engine revision defa8be2b1
    • Dart version 2.11.0 (build 2.11.0-242.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/magder/Library/Android/sdk
    • Platform android-30, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Users/magder/Applications/Xcode-12-2-beta3.app/Contents/Developer
    • Xcode 12.2, Build version 12B5035g
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.49.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.13.2

[✓] Connected device (1 available)
    • iPhone 12 mini (mobile) • 9A6E52CB-E5AC-4DC1-8846-9E86985E8AE2 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)

• No issues found!

Same for me in VS Code - so as far as I can see, it's no longer an issue. I tested with iOS Simulator, current Flutter master (today) and latest VS Code + extensions.
@mikeRozen if you're still seeing this, can you confirm Flutter version/device and how you're testing?

Sorry for the late response yes I still see it on IOS simulator. (android studio)
Flutter 2.3.0-17.0.pre.397 • channel master • git@github.com:MikePendo/flutter.git Framework • revision 03034e9e4a (3 months ago) • 2021-06-18 00:14:03 -0700 Engine • revision ced58ef9c1 Tools • Dart 2.14.0 (build 2.14.0-217.0.dev)

@jmagman I see the same with Flutter 2.5.0 in both VS Code and Android Studio now (using a new project created using flutter create from 2.5.0). The output from the flutter run process all seems normal with no errors and claims to have shut down cleanly.
[9:52:33 AM] [FlutterRun] <== [+125266 ms] DevFS: Deleting filesystem on the device (file:///Users/danny/Library/Developer/CoreSimulator/Devices/4B9D86FA-8A60-4903-A7C9-FF170548A059/data/Containers/Data/Application/9F9BC3E3-B578-4423-94A1-9A64909F1B71/tmp/flutter_application_5soa97y/flutter_application_5/)
[9:52:33 AM] [FlutterRun] <== [   +5 ms] DevFS: Deleted filesystem on the device (file:///Users/danny/Library/Developer/CoreSimulator/Devices/4B9D86FA-8A60-4903-A7C9-FF170548A059/data/Containers/Data/Application/9F9BC3E3-B578-4423-94A1-9A64909F1B71/tmp/flutter_application_5soa97y/flutter_application_5/)
[9:52:33 AM] [FlutterRun] <== [   +3 ms] Application finished.
[9:52:33 AM] [FlutterRun] <== [{"event":"app.stop","params":{"appId":"fc87f109-4a3e-47c0-be81-8c4f0e58698c"}}]
[9:52:33 AM] [FlutterRun] Process terminated! null, SIGTERM
[9:52:33 AM] [FlutterRun] <== [   +5 ms] "flutter run" took 139,111ms.
[9:52:33 AM] [FlutterRun] <== [   +4 ms] Running shutdown hooks
[9:52:33 AM] [FlutterRun] <== [        ] Shutdown hooks complete
[9:52:33 AM] [VmService] VM service connection closed: 1005 ()
[9:52:33 AM] [FlutterRun] <== [{"id":"3","result":true}]
[9:52:33 AM] [FlutterRun] <== [  +11 ms] exiting with code 0

did you solve this issue?

Same here. It used to work on my previous Intel Mac with Flutter 2.5. But on my M1 Max MacBook Pro with Flutter 2.8.1 on macOS 12.1, here's what happens if I stop the runner in IntelliJ IntelliJ IDEA 2021.3.1 (Ultimate Edition; Build #IU-213.6461.79):

The process in IntelliJ stops.
The app continues to run in the iPhone simulator.
I manually kill the app in the iPhone simulator.
macOS shows my a problem report about "Runner" (which I think is the app that I just killed).

Same here. It used to work on my previous Intel Mac with Flutter 2.5. But on my M1 Max MacBook Pro with Flutter 2.8.1 on macOS 12.1, here's what happens if I stop the runner in IntelliJ IntelliJ IDEA 2021.3.1 (Ultimate Edition; Build #IU-213.6461.79):

The process in IntelliJ stops.
The app continues to run in the iPhone simulator.
I manually kill the app in the iPhone simulator.
macOS shows me a problem report about "Runner" (which I think is the app that I just killed).

I have the exact same issue on M1 MacBook Air:
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-arm, locale en-QA)
    • Flutter version 2.8.1 at /Users/abdulrahman/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (6 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/abdulrahman/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.32.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 97.0.4692.99

• No issues found!

I am seeing this just with "flutter run" on an M1 mac mini, without the "--start-paused" and without using an IDE to launch.

Still an issue.
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.4, on macOS 12.3.1 21E258 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.66.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

I can reproduce this issue in the current stable and master
flutter doctor -v (Stable)
[✓] Flutter (Channel stable, 3.0.4, on macOS 12.4 21F79 darwin-arm, locale en-US)
    • Flutter version 3.0.4 at /Users/nabeelparkar/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 85684f9300 (12 days ago), 2022-06-30 13:22:47 -0700
    • Engine revision 6ba2af10bb
    • Dart version 2.17.5
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/nabeelparkar/Library/Android/sdk/
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_SDK_ROOT = /Users/nabeelparkar/Library/Android/sdk/
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 69.0.4
    • Dart plugin version 221.5921.27

[✓] VS Code (version 1.68.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.42.0

[✓] Connected device (3 available)
    • iPhone 13 Pro Max (mobile) • 16B8F156-111C-489F-A6E5-2D79142036B4 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-5 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)               • chrome                               • web-javascript • Brave Browser <IP_ADDRESS>

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

flutter doctor -v (Master)
[✓] Flutter (Channel master, 3.1.0-0.0.pre.1616, on macOS 12.4 21F79 darwin-arm, locale en-US)
    • Flutter version 3.1.0-0.0.pre.1616 on channel master at /Users/nabeelparkar/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ecfe51e652 (77 minutes ago), 2022-07-12 07:45:06 -0400
    • Engine revision 3cab418bb6
    • Dart version 2.18.0 (build 2.18.0-271.0.dev)
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/nabeelparkar/Library/Android/sdk/
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_SDK_ROOT = /Users/nabeelparkar/Library/Android/sdk/
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 69.0.4
    • Dart plugin version 221.5921.27

[✓] VS Code (version 1.68.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.42.0

[✓] Connected device (3 available)
    • iPhone 13 Pro Max (mobile) • 16B8F156-111C-489F-A6E5-2D79142036B4 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-5 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)               • chrome                               • web-javascript • Brave Browser <IP_ADDRESS>

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

I have the same issue as @PaulRudin above. M1MAX Macbook Pro, iOS Simulator, running flutter run -d <iOS simulator ID> from command line. Pressing q stops flutter but the app keeps going on the simulator (and it's functional). Latest stable.

flutter doctor -v
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.5 21G72 darwin-arm, locale en-US)
  • Flutter version 3.0.5 at /Users/kika/fvm/versions/stable
  • Upstream repository https://github.com/flutter/flutter.git
  • Framework revision f1875d570e (4 weeks ago), 2022-07-13 11:24:16 -0700
  • Engine revision e85ea0e79c
  • Dart version 2.17.6
  • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
  • Android SDK at /Users/kika/Library/Android/sdk
  • Platform android-31, build-tools 29.0.2
  • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
  • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
  • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
  • Xcode at /Applications/Xcode.app/Contents/Developer
  • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
  • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
  • Android Studio at /Applications/Android Studio.app/Contents
  • Flutter plugin can be installed from:
    🔨 https://plugins.jetbrains.com/plugin/9212-flutter
  • Dart plugin can be installed from:
    🔨 https://plugins.jetbrains.com/plugin/6351-dart
  • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.70.0)
  • VS Code at /Applications/Visual Studio Code.app/Contents
  • Flutter extension version 3.46.0

[✓] Connected device (3 available)
  • iPad Air (5th generation) (mobile) • 9408CD29-DC69-4366-8CE3-1D44A2C2A1A5 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-5 (simulator)
  • macOS (desktop)                    • macos                                • darwin-arm64   • macOS 12.5 21G72 darwin-arm
  • Chrome (web)                       • chrome                               • web-javascript • Google Chrome 104.0.5112.79

[✓] HTTP Host Availability
  • All required HTTP hosts are available

• No issues found!

I'm seeing the same issue from terminal and Android Studio.  When I run from IntelliJ it works.
MacBook Pro M1 Max running Flutter Beta 3.3.0-0.2.pre on macOS 12.5
flutter doctor -v
[✓] Flutter (Channel beta, 3.3.0-0.2.pre, on macOS 12.5 21G72 darwin-arm, locale en-US)
• Flutter version 3.3.0-0.2.pre on channel beta at /Users/Stef/Apps_Dev_Space/_Google/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 7ac27ac8e6 (8 days ago), 2022-08-02 14:35:08 -0700
• Engine revision d1e7dc18bf
• Dart version 2.18.0 (build 2.18.0-271.4.beta)
• DevTools version 2.15.0
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/Stef/Library/Android/sdk
• Platform android-31, build-tools 31.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 13F17a
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 67.1.4
• Dart plugin version 221.5591.58
[✓] VS Code (version 1.70.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.46.0
[✓] Connected device (3 available)
• iPhone SE (3rd generation) (mobile) • 27109987-D82E-4F53-87E1-DA7AA0EFF70C • ios            •
com.apple.CoreSimulator.SimRuntime.iOS-15-5 (simulator)
• macOS (desktop)                     • macos                                • darwin-arm64   • macOS 12.5 21G72
darwin-arm
• Chrome (web)                        • chrome                               • web-javascript • Google Chrome
104.0.5112.79
[✓] HTTP Host Availability
• All required HTTP hosts are available

Has continued to happen for me with all Flutter versions since at least January when I made my initial comments - M1 Max MacBook Pro, latest Flutter stable version (currently at 3.0.5), latest macOS version (currently at Monterey 12.5): When I start Flutter on an iOS simulator from IntelliJ and stop it in IntelliJ, it always goes on running in the simulator. And at least right now, the same is true when launching my app from the terminal.

I can confirm that this issue is fixed in the latest master. Closing this issue as fixed

@exaby73 if you were testing on a simulator, unfortunately I had to revert https://github.com/flutter/flutter/pull/114083.  Should re-land it shortly https://github.com/flutter/flutter/pull/114114

@jmagman Thanks for the clarification. Reopening this issue until the fix lands :)


components/alert - margin issue on Firefox

There is no gap between Terminal Icon and  AlertTitle on Firefox. But it is working fine on Google Chrome and MS Edge.
<Alert>
  <Terminal className="h-4 w-4" />
  <AlertTitle>Heads up!</AlertTitle>
  <AlertDescription>
    You can add components and dependencies to your app using the cli.
  </AlertDescription>
</Alert>

Just replace [&:has(svg)]:pl-11 with [&>svg~*]:pl-11.


Teams data not found for all sports

Has anyone else encountered this issue since today / know how to fix? Everything worked yesterday
DESCRIPTION:
No data is found across all sports when calling Team and Teams for the current year
CODE:
from sportsipy.nhl.teams import Teams
teams = Teams('2023')
ERROR:
The requested page returned a valid response, but no data could be found. Has the season begun, and is the data available on www.sports-reference.com?

To clarify, I am having this issue with NHL, NBA, NCAAB, NFL and NCAAF


podtato main not found error

PORT=$(kubectl get services --namespace=podtato-kubectl podtato-main -ojsonpath='{.spec.ports[0].nodePort}')
Error from server (NotFound): services "podtato-main" not found
In whatever approach I try, this service is not available. I have downloaded the entire git also and tried to check but the podtato-main service is missing. Can you please check and revert

Thanks @sravanthnag! The service should've been called podtato-head-entry (see https://github.com/podtato-head/podtato-head/blob/main/delivery/kubectl/manifest.yaml#L37), looks like there's a doc bug in the kubectl README.
In the meantime can you try: PORT=$(kubectl get services --namespace=podtato-kubectl podtato-head-entry -ojsonpath='{.spec.ports[0].nodePort}')?

Thanks, this now works as expected


Create NoTests build

This is a build that compiles with CMake but with testing disabled.

Fixed by #60 and some configuration inside Kokoro.


Is it possible to update from Ubuntu-14.04 to supported version(16.04 or higher) regarding rancher1.x docker image or not?

I pulled the docker image of rancher/server i.e. rancher v1.x from dockerhub and started its container. While checking the details about Ubuntu OS, it is still Ubuntu 14.04. So,could you confirm whether it is still supported ?

We understand that, rancher v1.x is not supported on Ubuntu 14.04. Can you please confirm, if Ubuntu- 14.04 can be upgraded to the supported version(16.04 or higher) in rancher1.x docker image? If it is not possible, could you confirm the reason(whether it is hard to support it or any other reason)?

Hi @vincent99 ,
It seems that the certificates of rancher.io were recently updated. Please find the snapshot of the same as below:

If So, could you please confirm whether the issue #21330 is because of this updation in certificates of rancher.io?

Hi @vincent99 , request you to please respond/confirm to our queries ?

Hi , request you to please respond/confirm to our queries ?

Hi sir, request you to please respond/confirm to our queries ?

The cert is from Let'sEncrypt and expires every 90 days so it's updated every 60 (30, or something like that) days.  The service was moved to a different cluster with a different TLS config accepting only modern ciphers, and that is now configured to allow older ones supported by 14.04.

Hi sir, can you also confirm about the future plan for supporting Rancher v1.x images on Ubuntu 14.04. Whether it has been configured to support it temporarily on Ubuntu 14.04 or will it continue, to support in future?

Hi @vincent99 ,
Can you please update on the above comment, i.e.,
about the future plan for supporting Rancher v1.x images on Ubuntu 14.04. Whether it has been configured to support it temporarily on Ubuntu 14.04 or will it continue to be supported in future?

There is no future support of 1.x in general, it has passed our end-of-maintenance date for customers.


Fix shipping metadata for blob files

The metadata on the PackageFile items was accidentally dropped in #1834, which causes all of the files uploaded to the dotnetbuilds storage account to be marked as non-shipping. This fix includes the metadata from the PackageFile items in the PackageToPublish items to allow shipping vs non-shipping to be tracked correctly.

I assume PackageFile's items will always be files that were included? That's the only difference I see here (this will break if the items are something like strings).

They should always be files. Earlier in the file, the PackageFile items should have been globes from the file system.

/backport to release/6.1


[Improvement] Ease of use for regular users

When updating FFNx inside 7H, instead of the popup saying "Please reset to defaults".
Have it open the General Settings window itself, auto reset them to defaults then pop up saying "Please reconfig these settings".
This will greatly help average users.

One way of accomplishing this is by moving the entire config management code from the Game Driver window class to a generic one and then make that class usable by all the places where it is needed. This might also unlock potentially new scenarios. I'll take this item as I know what to patch already.

Fixed by #33


feat: annual review settings users

Description
The purpose of this PR is to add the users feature to the list edit settings page.
Please watch the video below to see that that section looks like
https://user-images.githubusercontent.com/1377253/196526004-f3039f65-38b7-4b4f-bb2d-d192f741c9bc.mp4
Tests
This ticket also includes a handful of smoke tests for this specific feature:

Trello ticket: https://trello.com/c/kFvShxxf/1489-annual-review-list-settings-add-remove-users

Reverted the merge

changes made

Add migration of roles. Concatenating all List.jsonData.$ROLE into List.jsonData.users
Implement post redirect get for user editing
Remove listCreator role
fix list creation
various refactoring and tidying of code


loading html string from bundle.js

Hi. I have a webpack build to create an embeddable Form. Everything is webpack compliant, and bundled using require. Everything but two HTML files that are needed for the form.
I can require the HTML files of course:
require("html!./pages/custom.html");
require("html!./pages/follow.html");
The html is now in bundle.js but I do not know how to use it from the host page. Actually in the host page, the form is embedded this way:

The "source" param can't work in the webpack version.
One way is to write the actual html imported from the "source"  directly inside the  block. But I need to write some code that

gets the HTML from bundle.js
inject it inside the

Is this possible? How? Now the HTML required is a string exported but without any identifier...
Is there a better way to do this?
Thanks.

I'm not sure which template syntax

 is but their might have a way to dynamically create that binding with the library you're using. But I've never seen that syntax before so really have no idea.
Using the native browser API, you can do:
var html = require("html!./pages/custom.html");
document.querySelector('form').innerHTML = html;

and it will place whatever HTML that has been bundled into the form.
See: https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML


添加Slider组件自定义值，自定义值是否开启: custom-value-state 布尔值类型（默认值为false）自定义值: cus…

…tom-value 字符类型（需custom-value-state为true时可自定义）  因业务需求可能用户想在tooltip显示其他信息而做此添加
Please make sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's contributing guide (中文 | English | Español).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

You can use format-tooltip,  PR closed, thank you for your contribution.


Remove divisive terminology from project

Is your feature request related to a problem? Please describe.
There are several occurrences of potentially divisive words in our projects, which are unfortunately parts of the common parlance in engineering. We have discussed this in the team chat several times, and I am now opening this issue so we can discuss resolution.
There are three locations where we are aware of this:

"master" branch (git structure)
"whitelist" (tauri.conf.json)
"kamikaze" (docs - pattern)

There may be more that I am overlooking.
Describe the solution you'd like
I would like to find other words that we can use in order to be more intentionally inclusive.
Suggestions

master => release (because this is how we are using that branch as a reflection of the code at a particular state)
whitelist => permitlist / denylist (remove color from quality assertion)
kamikaze =>  one-timer (remove glorification of violence / suicide)

Describe alternatives you've considered
Doing nothing and ignoring complicity is actually how fascism becomes powerful.
Additional context
I think in the global social context of the current protests and endemic societal racism, it is important to consider the words we use - and how they can internally weaponise mental states. Remaining ignorant and doing nothing about this is, in fact, in contrast with our very own Code of Conduct, and something that we should constantly be vigilant about.
Personally, I feel that GitHub and Git itself should reconsider "creating" new repositories with "Master" as the default base branch. @devonzuegel ?

why not  delete white and black from color, let the world only corret color rahter colorful color.

While I understand the rationale behind renaming these terms, I'm afraid of discrepancies between projects regarding their new terminology. For this reason, I think that whitelist/blacklist should be renamed to allowlist/denylist, as proposed for Pi-Hole. This has already been done for Rails and GitLab.
As a replacement for "kamikaze", I think "lockdown" might be a better name to advertise the high security rating of that pattern.

Great suggestions @rajivshah3

Branch terminology has been updated in https://github.com/tauri-apps/tauri/pull/744.

@nothingismagick we need to find a good time to rename "whitelist" to "permlist" (breaking change). Maybe right now?

Yeah, now is nice and quiet.

Thanks everybody.


Update API urls

[ ]  ipns/[peerID]/profile -> /ob/profile/[peerID]

[ ] ipns/[peerID]/listings/index.json -> /ob/listings/[peerID]

More to come

I missed the discussion on this. What's the rational for the change?

I think the main reason was to wrap IPFS calls, because then the server could validate that data obtained from IPFS is valid. Otherwise, if we directly get it from IPFS, which is essentially from someone's file system, it's susceptible to being manipulated.

Any updates?


EternalJK hasn't been updated in years, let's use Vanilla OpenJK for JAMP

So, OpenJK which is used for the SP of Jedi Outcast and Jedi Academy is continuously updated, while EternalJK used for the Jedi Academy Multiplayer hasn't been updated in years.
It also seems to change the types of games that can be joined.
I have a server on my local network that can be joined with standard Steam Jedi Academy, as well as OpenJK, but not with Luxtorpeda's EternalJK.
So while EternalJK is nice, I think a more maintained, more vanilla option like standard OpenJK would be more appropriate for general Linux use.

@athendrix
Thanks for the request, I've replaced eternaljk with openjk. Outcast will use jk2mv since it's still being updated.


Filter center frequency condition not met

Hi,
I am trying to calculate Sharpness on 200ms temporal blocks of a signal sampled at 25600Hz.
I get the following error:
File ~\Anaconda3\lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
    exec(code, globals, locals)

  File d:\dev\alarm_new\identification\machine learning\postprocess_dataset.py:31
    dataset_sliced = load_slice_compute(

  File d:\dev\ml_tools\ml_tools\audio\machine_learning\load_slice_compute.py:113 in load_slice_compute
    feature_vector.compute(snapshot_norm, sampling_rate, filter_signal, Wn, btype, cepstrum_formula)

  File d:\dev\ml_tools\ml_tools\audio\machine_learning\features.py:58 in compute
    self._computation()

  File d:\dev\ml_tools\ml_tools\audio\machine_learning\features.py:146 in _computation
    result = eval(feature["function"])(self.signals[domain]["y"], function_args)

  File d:\dev\ml_tools\ml_tools\audio\machine_learning\features_functions.py:1088 in sharpness
    sharpness = sharpness_din_st(signal, args_dict["fs"], weighting="din")

  File ~\Anaconda3\lib\site-packages\mosqito\sq_metrics\sharpness\sharpness_din\sharpness_din_st.py:33 in sharpness_din_st
    N, N_specific, _ = loudness_zwst(signal, fs, field_type=field_type)

  File ~\Anaconda3\lib\site-packages\mosqito\sq_metrics\loudness\loudness_zwst\loudness_zwst.py:68 in loudness_zwst
    spec_third, _ = noct_spectrum(signal, fs, fmin=24, fmax=12600)

  File ~\Anaconda3\lib\site-packages\mosqito\sound_level_meter\noct_spectrum\noct_spectrum.py:63 in noct_spectrum
    spec.append(_n_oct_time_filter(sig, fs, fc, alpha))

  File ~\Anaconda3\lib\site-packages\mosqito\sound_level_meter\noct_spectrum\_n_oct_time_filter.py:43 in _n_oct_time_filter
    raise ValueError(

ValueError: ERROR: Design not possible. Filter center frequency shall
            verify: fc <= 0.88 * (fs / 2)

Probing noct_spectrum function with print statements, I see that the last value of fc_vec is 12589.25411794, which doesn't meet the criteria.
Why is that? Are there some requirements on the sampling rate of the signal I pass to the sharpness function? I can't found anything of the sort in the doc.
Thanks in advance!
Antoine
EDIT: After further investigation I understood that it tries to take into account all third octave bands, hence the error in my case where the sampling rate and thus max frequency is too low.
Would it be possible to calculate the metrics by omitting some bands? Perhaps it could still be a valuable acoustic indicator/feature.

Hello,
After further investigation, the ISO 532B standard we used to implemente loudness specifies that the sampling frequency should be of 48 kHz minimum. In case of a lower sampling frequency, the signal should be resampled. Since this loudness implementation is used into the sharpness_din_st function, the same rule applies here.
We are going to add a test at the beginning of all concerned functions to raise a warning if the sampling frequency is too low, and we'll resample the signal in that case.
Thanks for raising this issue,
Salomé

Hi Salomé,
Thank you for reviewing this issue!
I will resample my signals before computing the metrics then.
For performance reasons we have them sampled at 25600Hz, and resampling them to 48000Hz would certainly be time-consuming.
I was asking that because my goal is to distinguish different classes of sounds based on these metrics, so I don't really care about the accuracy of the absolute value in itself. I was thinking that accounting for bands only up to 12800Hz may be enough to show a relative difference between sounds of different classes.

Hi Antoine,
In our case we stick to the standard requirements so that the results correspond to the defined procedure and give the same values. But in your case I guess it makes sense to use the data you have to rank your signal with the first bands only...if you're sure the distinctive information is not located at higher frequencies !
PR#72 including the sampling frequency check has been merged, you'll have to get around it in your version to use the first bands only ;)
Salomé


mem NOT SATISFIED

there is 2G memory in my mesos slave node,but when i push a app who's memory was set to 512M,the app was still deploying status.
i found the key word mem NOT SATISFIED (512.0 > 401.0)
memory of slave is:
              total        used        free      shared  buff/cache   available
Mem:           1.8G        239M        398M         24M        1.2G        1.2G
Swap:          2.0G         76K        2.0G

i thought that marathon use the infomation of memory is from 'free' but not available
is it a bug?

Marathon does not query the slaves/agents resource availability at all. Marathon reacts to resource offers it gets from the mesos master, which are based on offers the master gets from connected agents. If Marathon receives an offer for 401M, but needs 512M to launch your task, then the log message you posted totally makes sense. The question is: Why does mesos only offer 401M, and most probably this is because other tasks are already running on that agent (or the mesos-slave process has a different understanding of the node's resources than you do).
In general, please provide information on your setup – marathon version, mesos version, as well as logs and app config. Otherwise, it's hard to see what's going on, like how many tasks have been started already on that agent.


[DOC-3940] Delegate security hotfix 23.12.81411, 23.12.81604

Delegate security hotfix 23.12.81411, 23.12.81604
What Type of PR is This?

[x] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://657aa280fde4ba64cb198a72--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://657aa48bb802a5653c0df53f--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://657aa60d2a791f68a95934c8--harness-developer.netlify.app

Monish approved via Zoom call


remove gcc

What is the problem that this fixes or functionality that this introduces? Does it fix any open issues?
We no longer need gcc. Installing GCC will increase the load time of jupyter plugin. After removing GCC, it still works finely on Ubuntu 22.04, Debian 11, and ghcr.io/opendevin/sandbox:main.
Give a brief summary of what the PR does, explaining any non-trivial design decisions
Remove gcc installation in jupyter's setup.sh
Other references

Why did I need to install GCC before?
Because with psutil version < 6, GCC was required to install psutil. But recently, psutil released version 6.0.0, and we no longer need GCC to install it. Please refer to the following logs for details.
root@806d2675cadd:/# pip install psutil
Collecting psutil
  Downloading psutil-6.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (21 kB)
Downloading psutil-6.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (292 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 292.0/292.0 kB 500.1 kB/s eta 0:00:00
Installing collected packages: psutil
Successfully installed psutil-6.0.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

root@806d2675cadd:/# pip install psutil==5.9.8
Collecting psutil==5.9.8
  Downloading psutil-5.9.8.tar.gz (503 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 503.2/503.2 kB 581.9 kB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: psutil
  Building wheel for psutil (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for psutil (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [46 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-aarch64-cpython-310
      creating build/lib.linux-aarch64-cpython-310/psutil
      copying psutil/_pslinux.py -> build/lib.linux-aarch64-cpython-310/psutil
      copying psutil/_common.py -> build/lib.linux-aarch64-cpython-310/psutil
      copying psutil/_compat.py -> build/lib.linux-aarch64-cpython-310/psutil
      copying psutil/__init__.py -> build/lib.linux-aarch64-cpython-310/psutil
      copying psutil/_pswindows.py -> build/lib.linux-aarch64-cpython-310/psutil
      copying psutil/_psbsd.py -> build/lib.linux-aarch64-cpython-310/psutil
      copying psutil/_pssunos.py -> build/lib.linux-aarch64-cpython-310/psutil
      copying psutil/_psposix.py -> build/lib.linux-aarch64-cpython-310/psutil
      copying psutil/_psosx.py -> build/lib.linux-aarch64-cpython-310/psutil
      copying psutil/_psaix.py -> build/lib.linux-aarch64-cpython-310/psutil
      creating build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/__main__.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/test_sunos.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/test_system.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/test_posix.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/runner.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/test_osx.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/test_bsd.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/__init__.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/test_process.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/test_misc.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/test_unicode.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/test_process_all.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/test_windows.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/test_connections.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/test_testutils.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/test_memleaks.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/test_contracts.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/test_aix.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      copying psutil/tests/test_linux.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
      running build_ext
      building 'psutil._psutil_linux' extension
      creating build/temp.linux-aarch64-cpython-310
      creating build/temp.linux-aarch64-cpython-310/psutil
      creating build/temp.linux-aarch64-cpython-310/psutil/arch
      creating build/temp.linux-aarch64-cpython-310/psutil/arch/linux
      gcc -pthread -B /opendevin/miniforge3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /opendevin/miniforge3/include -fPIC -O3 -isystem /opendevin/miniforge3/include -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=598 -DPy_LIMITED_API=0x03060000 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -DPSUTIL_LINUX=1 -I/opendevin/miniforge3/include/python3.10 -c psutil/_psutil_common.c -o build/temp.linux-aarch64-cpython-310/psutil/_psutil_common.o
      psutil could not be installed from sources because gcc is not installed. Try running:
        sudo apt-get install gcc python3-dev
      error: command 'gcc' failed: No such file or directory
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for psutil
Failed to build psutil
ERROR: Could not build wheels for psutil, which is required to install pyproject.toml-based projects

Why did I need to install GCC before? Because with psutil version < 6, GCC was required to install psutil. But recently, psutil released version 6.0.0, and we no longer need GCC to install it. Please refer to the following logs for details.

I presume, they did that for all platforms we run then?
Less to install is certainly a good thing (without breakage 😏  ).

Yes, we can remove GCC from the Dockerfile later as well. I'll first remove it in Jupyter's setup.sh since this is more urgent and can significantly reduce the jupyter plugin load time.
Can you help me rerun the tests? It looks like the macOS tests failed intermittently.

@tobitege Yes, we can remove GCC from the Dockerfile later as well. I'll first remove it in Jupyter's setup.sh since this is more urgent and can significantly reduce the jupyter plugin load time.

Sure, agreed.

Can you help me rerun the tests? It looks like the macOS tests failed intermittently.

I think we can ignore the macOS tests status. It's unrelated to your PR.

Oh, I just noticed the macOS tests are not necessary, please ignore them!

Oh, I just noticed the macOS tests are not necessary, please ignore them!

Right. This change looks good to me, but I'd defer to other maintainers' expertise for approval.

@Shimada666 This will help you #2179

when loading jupyter plugin.

That relates one time loading which even save time for you.


Integrate STT, QA and TTS ML APIs into app

Describe the bug
App should be making actual API calls instead of using mock data
Expected behavior
The STT, TTS and QA pages should be making actual API calls to the ML API Servers

STT and QA APIs added with #41. TTS is API is however not added yet

fully addressed with #43


Great Work! What is the GPU requirements for training?

Thanks for your great work! I am wondering the GPU requirements for training, and may I ask how long your training took?

Thanks for your interest! The requirement for our training follows the original CogVideoX. For per LoRA, the training step is set to 3000, and it takes around one day.


Change parameter for warp_mouse_in_window from Window to WindowRef

This allows the method to be used with the result of Renderer::window().

Nice one! Cheers


Output to stdout instead of stderr?

Is there any reason that verbose status info is output in stderr instead of stdout? I had a script that was watching for output on stderr and counting it as actual error data; this tripped it up.

Stderr is for error messages and diagnostic information, so program output and diagnostic messages are separated to stdout and stderr. Not the perfect example, but check curl -vvv https://github.com. In most cases it is better to rely on program exit code.

I did mod the script to look at exit code, so that got around the problem. I guess I just didn't really consider this output to be diagnostic information, but I suppose that makes sense.


Chart.js plugin support, chartjs-plugin-annotation not load

Package
filamentphp/filament
Package Version
^2.0
Laravel Version
^9.0
PHP Version
8.1.7
Problem description
In my case,  I want to use chartjs plugin, chartjs-plugin-annotation and chartjs-plugin-datalabels.

originally designed, the filament chart widget cannot add the plugin.
I extend a new blade to support the plugin
finally, I can add "plugins: [ChartDataLabels]", it shows correctly.
however, I figure out that chartjs-plugin-annotation is not work under "alpinejs" + "livewire"

is there any idea why this happen?
Here is the code.
`
<x-filament::widget class="filament-widgets-chart-widget2">
x-filament::card
    @once
        <script<EMAIL_ADDRESS>        <script src="https://cdnjs.cloudflare.com/ajax/libs/chartjs-plugin-annotation/2.0.1/chartjs-plugin-annotation.min.js">
        </script>
        <script<EMAIL_ADDRESS>    @endonce

    <div class="w-full">
        <canvas id="myChart" class="rounded-lg bg-white p-8"></canvas>
    </div>
    <script>
        const options = {
            plugins: {
                autocolors: false,
                annotation: {
                    annotations: {
                        line1: {
                            type: 'line',
                            yMin: 60,
                            yMax: 60,
                            borderColor: 'rgb(255, 99, 132)',
                            borderWidth: 2
                        },
                        label1: {
                            type: 'label',
                            xValue: 2.5,
                            yValue: 60,
                            backgroundColor: 'rgba(245,245,245)',
                            content: ['This is my text', 'This is my text, second line'],
                            font: {
                                size: 18
                            }
                        }
                    }
                }
            }
        };
        const config = {
            plugins: [ChartDataLabels],
            type: 'line',
            data: {
                labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
                datasets: [{
                    label: 'My First Dataset',
                    data: [65, 59, 80, 81, 56, 55, 40],
                    fill: false,
                    borderColor: 'rgb(75, 192, 192)',
                    tension: 0.1,
                    datalabels: {
                        color: 'red'
                    }
                }]
            },
            options
        };

        const myChart = new Chart('myChart', config);
        // const myChart2 = new Chart('chart2', config);
    </script>

    <div wire:ignore   x-data="{
        init() { let chart = new Chart('chart2', config); }
    }" class="w-full">
        <canvas id="chart2" class="rounded-lg bg-white p-8"></canvas>
    </div>

    <div wire:ignore   x-data="{
        init() { let chart = new Chart(this.$refs.canvas.getContext('2d'), config); }
    }" class="w-full">
        <canvas x-ref="canvas" class="rounded-lg bg-white p-8"></canvas>
    </div>

</x-filament::card>

</x-filament::widget>
`
here is the result , First one is correct, other all wrong

Originally posted by @lam0819 in https://github.com/filamentphp/filament/discussions/4155

Hey @lam0819! Could you open an issue using the bug report template and fill in all required details? This would allow us to help you better. 🙂

Let me take some time to create a Reproduction repository

Let me take some time to create a Reproduction repository

Honestly I don't think this a Filament bug, it's just an issue with your implementation. Discussion should be continued in #4155, not here. You can post the reproduction repository there when you create it.


problem with type guards

Hi, I have this code
var test: number | string;
test = corrente.censimentoId;
if (typeof test === "number") {
    this.editedRecord = test;
}

if (typeof corrente.censimentoId === "number") {
    this.editedRecord = test;
}

corrente.censimentoId is defined number | string and this.editedRecord is defined as number: the first type guard works fine and I'm not able to to the assignment, the second one gives me this error.

Am I doing something wrong?

Type guards work only for local variable and parameter references, they don't work for expressions.

Type guards are particular expression patterns involving the 'typeof' and 'instanceof' operators that cause the types of variables or parameters to be narrowed to more specific types

See the spec.

ok, thanks


window.showOpenFilePicker() This will ever be implemented in chromedp?

Do I understand correctly that now there is no way to use the functions listed below to automate opening dialogs, passing values to them and getting results?
window.showOpenFilePicker()
window.showSaveFilePicker()
window.showDirectoryPicker()
Is it possible to hope that this will ever be implemented in chromedp?

Closing as a duplicate of #528.


Unable to play Downloaded videos when offline or when connectivity is lost!!

Version:0.4.3-c8d2db8
I've got only WiFi connectivity. So whenever I go offline, YTPlayer just shows "Network Offline" & nothing can be done!
It would be good if the user is still allowed to play the downloaded videos from within YTPlayer.. as no connectivity is required for that :)

I actually do plan to support better offline mode in the future, but I can't give any ETA on that. In the meantime Jolla Gallery app does find the downloaded videos and can play them. Not ideal solution, but should work.


669 remove omim pubmed mygene2 nebula

I'm going to merge this pull request (again, since it is a complicated test)

quarantest build successful. Demo link at
http://70b8935f.quarantest.iobio.io


Missing Issue Template in Repository

Description:
I noticed that the repository does not have an issue template. Having an issue template can greatly improve the clarity and consistency of issue reports, making it easier for contributors and maintainers to understand and address the problems or feature requests effectively.

I have solved the issue and created a pull request. Now, you can proceed to merge it.  👍🏻 https://github.com/apoorvaron/Shorty/pull/29

Okay Sure ! Will review it

I have Created  Pull request You can review it : https://github.com/apoorvaron/Shorty/pull/29


Integrate GitHub Actions

Part of the CI/CD workflows.
As a start, should include the python validation packages as part of PRs.

Resolved by #56.


janet: 1.7.0 -> 1.8.1

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/janet-lang/janet/releases.
meta.description for janet is: "Janet programming language"
meta.homepage for janet is: "https://janet-lang.org/"
Updates performed:

Version update
Quoted meta.homepage for RFC 45

Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.8.1 with grep in /nix/store/vdzf133rx9pas36hmzw25hhqwfq7cwz0-janet-1.8.1

directory tree listing: https://gist.github.com/c4b318b54ecdff7a5453b878c3885b32

du listing: https://gist.github.com/9211e853e7e9a91d9cfab8f51f52b24a

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

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
janet

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vdzf133rx9pas36hmzw25hhqwfq7cwz0-janet-1.8.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's 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 janet https://github.com/r-ryantm/nixpkgs/archive/86aa3630a7d717f5b4de0f083f1d8eb2719bb693.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vdzf133rx9pas36hmzw25hhqwfq7cwz0-janet-1.8.1
ls -la /nix/store/vdzf133rx9pas36hmzw25hhqwfq7cwz0-janet-1.8.1/bin

cc @andrewchambers for testing.

looks good to me.


Improves startAndBlock() documentation

Fixes #38

@amomchilov Wanted to confirm this is what you had in mind workflow wise when committing changes that don't necessarily need review, but that doing it in this way makes it easier to add feedback later?


Three minor cosmetics

missing override annotations on some methods
redundant (transitive) dependencies in the pom.xml

Sorry for slow response to this, completely missed it. Many thanks! I'll add you to the contributors list.

Grazie.


Predict on batch

Is there a way to perform batch prediction to leverage GPU? I believe it is a functionality in the JS version, but I am not sure how to do that in this python version.

It wouldn't be difficult to add a predict on batch function.
Internally (except for TF Lite I believe), it is using a batch already.
I think were it becomes a bit tricky is to follow it through with the post processing.
e.g. currently with a single image it looks like this:
result = bodypix_model.predict_single(image_array)

# simple mask
mask = result.get_mask(threshold=0.75)

# colored mask (separate colour for each body part)
colored_mask = result.get_colored_part_mask(mask)

For a batch it would then be something like:
batch_result = bodypix_model.predict_single(image_array_batch)

# simple mask
mask_batch = batch_result.get_mask_batch(threshold=0.75)

# colored mask (separate colour for each body part)
colored_mask_batch = batch_result.get_colored_part_mask_batch(mask_batch)

I also wonder whether there would be any noticable speed improvement.
What have you observed when using the JS version?
And what is your use-case?

Thank you for the reply.
My current use case is measuring BodyPix's performance over a dataset of 10000+ images, but given the high image resolution (1080p), it's taking ~1.3-1.5 sec/image on Colab's default CPU. Any improvement on inference time is useful (without having to downsample).
I have not tried with the JS version yet, but it seems that there is "a large performance difference" according to https://github.com/tensorflow/tfjs/issues/2197

Would you be happy to see whether you want to submit a PR to add batch support?


Feature Request: axis argument in np.nan[sum | mean | std | var | max | min | median]

Feature request
Over in pandas, I am trying to implement a windowing aggregation over an 2D array that utilizes numba: https://github.com/pandas-dev/pandas/issues/15095
I would like to utilize np.nansum(window, axis=0) for example to return a 2D result, but as I see documented the axis keyword is currently not supported https://numba.pydata.org/numba-doc/dev/reference/numpysupported.html#reductions
The particular functions I'd be interested in are np.nansum, np.nanmean, np.nanmedian, np.nanstd, np.nanvar, np.nanmax, and np.nanmin
Thanks!

See also #1269

See also #1269

@mroeschke thank you for submitting this. I believe this is a duplicate of #1269 and can be closed and labelled as such.

@mroeschke thank you for submitting this. I believe this is a duplicate of #1269 and can be closed and labelled as such.

Not to be pedantic, but these functions aren't mentioned in the duplicate issue.

Not to be pedantic, but these functions aren't mentioned in the duplicate issue.

feel free to add them to the duplicate, thank you!


web view should have an option to not show the url box

i think for safety reasons, there should be an option (possibly default enabled, if you ask me!) to not show or enable the url box, much less let the user interact with it.
a simple "Done" should suffice in the header, i think.

Could you elaborate what you mean by security reasons?
Also as far as I am aware, the web view we use doesn't let users interact with the url bar. Have you experienced otherwise?

Basically, if there is an open URL bar, the app can be directed by the user to go anywhere, which can affect ratings, e.g. whether it can be allowed in certain contexts, like education/kids, etc.
Also, if one wants to render certain content, it may be best that the actual url to the content (e.g. session IDs, or user IDs, etc.), not be known to users, for it could open easy paths to obtaining or hacking that content. Granted doing this just makes it much harder to obtain, so in a way it's just obfuscation, which is not truly security, it just elevates the level of attack vectors.
Sorry, I was not sure if there was any way to interact with it.
Then again, if it does not let user interact with the url bar, why show it at all? What's the upside?  In a previous project I found that it's possible to remove the URL from the standard native web view.

Actually as far as security is concerned, it works both ways. Jasonette uses SFSafariViewController for displaying "type": "web" views.
SFSafariViewController is the most secure way to display web content and that's why Apple recommends using this whenever you need to access web within an app.
Before this we used to be able to use what's called UIWebView to display web content. This had all the features you mentioned--it can be embedded in a view without displaying url, no address bar, etc--but this is actually dangerous because if you don't know which domain you're looking at, it can be used for phishing. This is why Apple is pushing SFSafariViewController.
As far as I know you can't edit the address bar on SFSafariViewController. It only displays the domain because of the reasons I mentioned above. But when you touch it it doesn't let you edit.
If you are concerned about parameters showing up on urls when someone presses the share button or safari button at the bottom I think you should not include those sensitive data. These can be sniffed if people really wanted to anyway. Hope this makes sense!

I am closing this because this is something that Apple would not allow anyway on the Appstore, and I'm positive this introduces security holes. Please reopen if anyone has a different view. Thanks!

This assertion is nothing short of baseless, near as I can tell. There are probably tens of thousands of apps that render  embedded HTML content using *WebView APIs. There is a whole class of such apps called "hybrid apps." Things like Phonegap, Cordova, Sencha, and a zillion of other apps (and these are just the ones mentioning WKWebView), including apps to compare UIWebView to WKWebView, editors, incognito browsers, offline browsers, online games, site recorders, etc. etc.
The web page for WKWebView in no way mentions or conveys that using this view is not proper.
Among all popular search results on WKWebView there is not a single one indicating this would be in any way forbidden or not allowed in the app store.
Do you have any information supporting your assertion that "Apple would not allow it anyway"? (not that Apple should be exempted from a stiff challenge)


RC.0 -  are not visible in the Chrome browser, ok in Device Mode

Short description of the problem:
Just playing with the new ionic2 RC0 release using the ionic2-starter-tabs, and I noticed that the bottom tabs <ion-tabs> are not visible in Chrome in the browser. The ARE visible in Chrome when in Device Mode. Seems to work fine in Safari.
What behavior are you expecting?
Bottom tabs appear.
Steps to reproduce:
ionic start --v2 myProject
cd myProject
ionic serve

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Which Ionic Version?  v2 RC.0
Plunker that shows an example of your issue
For Ionic 1 issues - http://plnkr.co/edit/Xo1QyAUx35ny1Xf9ODHx?p=preview
For Ionic 2 issues - http://plnkr.co/edit/me3Uk0GKWVRhZWU0usad?p=preview
Run ionic info from terminal/cmd prompt: (paste output below)
Your system information:
Cordova CLI: 6.3.1
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v5.12.0
Xcode version: Xcode 7.3 Build version 7D175

Hello, thanks for using Ionic! Unfortunately I cannot reproduce this issue with the latest version of chrome and Ionic 2 rc.0. Would you mind posting a repo i can use to reproduce this issue? Thanks!

I recreated my project now and it seems to be fine. It's really weird. Maybe it's because I was creating the project just as RC.0 was being released and I got some mismatched parts?


Wstool merge results in ERROR in config: Command requires a target workspace.

I locally rewrote a rosinstall file and it worked out.
Thanks


[BUG] Formulae not included when inserting rows

🐛 Bug Report
When I execute duplicateRow to insert a new row, the formulae won't follow.
Lib version: 3.9.0
Steps To Reproduce
const worksheet = workbook.getWorksheet(sheetName);
worksheet.duplicateRow(18, 1, true)

The expected behaviour:
Expecting the formulae to copy also. Expecting also the other formulae in the rest of the worksheet to update

@tjvg91 Currently duplicaterow() only supports copying values and styles, See https://github.com/exceljs/exceljs#duplicate-a-row.
Solution
I read the source code and found the source of the problem. Please tell me which way you use to add formulae? dataValidation or addConditionalFormatting.
Source code
// source code worksheet.js
duplicateRow(rowNum, count, insert = false) {
    // create count duplicates of rowNum
    // either inserting new or overwriting existing rows
    const rSrc = this._rows[rowNum - 1];
    const inserts = new Array(count).fill(rSrc.values);
    this.spliceRows(rowNum + 1, insert ? 0 : count, ...inserts);
    // now copy styles...
    for (let i = 0; i < count; i++) {
      const rDst = this._rows[rowNum + i];
      rDst.style = rSrc.style;
      rDst.height = rSrc.height;
      // eslint-disable-next-line no-loop-func
      rSrc.eachCell({includeEmpty: true}, (cell, colNumber) => {
        rDst.getCell(colNumber).style = cell.style;
        /***************************************************************/
        //rDst.getCell(colNumber).dataValidation = cell.dataValidation; // Operate here
      });
    }
  }

@Alanscut I would like to take this up, if anyone else is already not working on it.

I need this feature as well which is major as long as it is an ancestral and  fundamental inherent function of excell.
Thanks to push this one up

only supports copying values and styles, See

@Alanscut  Duplicate columns are not supported


Feature/assets branch

@udani521 - i think i need to pull this one down and add the images myself didnt work from this your branch. Closing PR


Fix README typo

Congratulations for releasing brand new library!
There you go!

Codecov Report

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

@@           Coverage Diff           @@
##           master      #59   +/-   ##
=======================================
  Coverage   49.12%   49.12%
=======================================
  Files          36       36
  Lines        1321     1321
=======================================
  Hits          649      649
  Misses        624      624
  Partials       48       48

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 5ab6548...ae2dc5a. Read the comment docs.