text:
PWSTATS setup (adapting config files)

Moved from jasonacox/pypowerwall  repo.
...  I have 3 pricing periods for the whole year (no season usage)
09.00 -> 15.00 : Super Off peak $ 0.08
15.00-> 21.00 : Peak $ 0.52
21.00-> 09.00 : Mid Peak $ 0.20
I'm not getting paid any In feed tariff ($ 0.00 ).
In the example_usage.jason you defined the 4 periods:
"22:00": "Off-Peak",
"08:00": "Peak",
"11:00": "Off-Peak",
"17:00": "Peak"
Can I just rename the first 3 periods to suit my needs and do something like this:
"09:00": "Super Off-Peak
"15:00": "Peak"
"21:00": "Mid-Peak"
and what to do with the existing 4th defined period? Does anything also needs to be changed in other file(s) to follow this?
I can see that the other parts of this file needs to be altered as well but let's start from the basics.
Also, what is the meaning (and importance ) of:
"week_anchor": "MONTH",
"year_anchor": "JUN"
?
Thank you.
PS. thanks for the comment and your time in the other thread. I closed it as suggested.

Hi,
I preppared the modified example_usage.jason to suit my needs. Can someone with the experience verify if it does make sense please.
Also, what is the purpose and meaning of ""calendar": {  "2024-11-19": ..." ?
{
"settings": {
"influx_url": "http://localhost:8086",
"bucket": "powerwall/kwh",
"timezone": "Australia/Perth",
"supply_priority": [
"GRID_SUPPLY",
"PW_SUPPLY",
"SOLAR_SUPPLY"
],
"cost_unit": "$",
"energy_unit": "kWh",
"rename": {
"GRID_SUPPLY": "Grid supply---",
"GRID_EXPORT": "Grid export+++"
},
"resample": true,
"week_anchor": "MONTH",
"year_anchor": "JANUARY"
},
"plans": [
{
"name": "Synergy_Midday-Saver",
"report": [
"GRID_SUPPLY",
"GRID_EXPORT",
"SELF_PW_NET_OF_GRID",
"SELF_SOLAR_PLUS_RES"
],
"agent": "Simple",
"seasons": {
"All_Year": [
{
"schedule": "Week",
"days": [
0,
1,
2,
3,
4,
5,
6
],
"periods": {
"09:00": "Off-Peak",
"15:00": "Peak",
"21:00": "Mid-Peak"
}
}
]
}
}
],
"calendar": {
"2024-11-19": {
"plan": "Synergy_Midday-Saver",
"season": "All_Year",
"tariffs": {
"Peak": {
"GRID_SUPPLY": -0.525313,
"GRID_EXPORT": 0.00,
"SELF_PW_NET_OF_GRID": 0.525313,
"SELF_SOLAR_PLUS_RES": 0.525313,
"SUPPLY_CHARGE": -1.26075
},
"Mid-Peak": {
"GRID_SUPPLY": -0.231138,
"GRID_EXPORT": 0.00,
"SELF_PW_NET_OF_GRID": 0.231138,
"SELF_SOLAR_PLUS_RES": 0.231138,
"SUPPLY_CHARGE": -1.26075
},
"Off-Peak": {
"GRID_SUPPLY": -0.08405,
"GRID_EXPORT": 0.00,
"SELF_PW_NET_OF_GRID": 0.08405,
"SELF_SOLAR_PLUS_RES": 0.08405,
"SUPPLY_CHARGE": -1.26075
}
}
}
}
}
Thank you.

and... we got first problem (I think):
michal@NUC:~/Powerwall-Dashboard/tools/usage-service$ bash test_service.sh
Warning for developers: this script will delete any existing pwdusage container.
However, is does not delete the pwdusage docker image.
For general end users, this is what you want to happen for trouble shooting.
Enter y/Y to run test> y
Error response from daemon: No such container: pwdusage
Error response from daemon: No such container: pwdusage
3f1091c46479d7989058d08e8453bccdc357fa4c42f9951bc298e154db82fefc
Waiting. Please hit enter to clean up test container.>
pwdusage
pwdusage
the  previous bash build.sh went as follow:
michal@NUC:~/Powerwall-Dashboard/tools/usage-service$ bash build.sh
This script cleans up old versions of the pwdusage docker image,
and builds a new image using the latest version pwdusage from pypi.
Normal end users should enter 'y' when asked to clean up.
Developers should probably avoid this script - it's a bit terminal.
Clean up old versions of pwusage before building? (Y/n)>y
Error response from daemon: No such container: pwdusage
Error response from daemon: No such container: pwdusage
Error response from daemon: No such image: jasonacox/pwdusage:latest
[+] Building 35.1s (8/8) FINISHED                                                                    docker:desktop-linux
=> [internal] load build definition from Dockerfile                                                                 0.1s
=> => transferring dockerfile: 411B                                                                                0.0s
=> [internal] load metadata for docker.io/library/python:3.11-slim                                                 10.6s
=> [auth] library/python:pull token for registry-1.docker.io                                                        0.0s
=> [internal] load .dockerignore                                                                                0.1s
=> => transferring context: 2B                                                                                0.0s
=> [1/3] FROM docker.io/library/python:3.11-slim@sha256:370c586a6ffc8c619e6d652f81c094b34b14b8f2fb9251f092de23f16e  4.8s
=> => resolve docker.io/library/python:3.11-slim@sha256:370c586a6ffc8c619e6d652f81c094b34b14b8f2fb9251f092de23f16e  0.0s
=> => sha256:5f20101c4b63a3742b4155dcffc296c8ee0e2c7b83dbe6c7687441d991f358d4 250B / 250B                           0.7s
=> => sha256:51e2bd9c4b085ec5483ea37c7aff2b4fa3e49a780ff4db8f971fa68c9539db9c 16.20MB / 16.20MB                     3.4s
=> => sha256:3a75594a45d1452af40f08d7e4d4fa96572c3a09fb46ae142cf45e98973b3c69 3.32MB / 3.32MB                       2.4s
=> => sha256:bc0965b23a04fe7f2d9fb20f597008fcf89891de1c705ffc1c80483a1f098e4f 28.23MB / 28.23MB                     3.3s
=> => extracting sha256:bc0965b23a04fe7f2d9fb20f597008fcf89891de1c705ffc1c80483a1f098e4f                            0.6s
=> => extracting sha256:3a75594a45d1452af40f08d7e4d4fa96572c3a09fb46ae142cf45e98973b3c69                            0.1s
=> => extracting sha256:51e2bd9c4b085ec5483ea37c7aff2b4fa3e49a780ff4db8f971fa68c9539db9c                            0.4s
=> => extracting sha256:5f20101c4b63a3742b4155dcffc296c8ee0e2c7b83dbe6c7687441d991f358d4                            0.0s
=> [2/3] WORKDIR /app                                                                                0.2s
=> [3/3] RUN pip3 install --no-cache-dir pwdusage                                                                  12.1s
=> exporting to image                                                                                6.9s
=> => exporting layers                                                                                5.3s
=> => exporting manifest sha256:9691331f944d4828d5a4579f089b754b64b425c5fb99d4a5009bc8c9eb1c1697                    0.0s
=> => exporting config sha256:c34ace2ef66f89042dce59c834094103057f23412b73e1cf675bf4b409a969da                      0.0s
=> => exporting attestation manifest sha256:9d6e71268e0dae58823cd4bfcd760d2a8fbb55b2e9a35a8a05e19a77666ead84        0.1s
=> => exporting manifest list sha256:50211461f4ab4c107c8b0d303b16b544ad6d4d7d7a572f2b6ca20d874dbdba5c               0.0s
=> => naming to docker.io/jasonacox/pwdusage:latest                                                                 0.0s
=> => unpacking to docker.io/jasonacox/pwdusage:latest                                                              1.4s
View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/fpf76yif0ogj3qojcntict89d
Thanks.

When running the bash test_service.sh, I'm getting:
2024-12-25 10:26:09 ERROR: Error loading usage engine configuration file.
2024-12-25 10:26:09 ERROR: Details: <urllib3.connection.HTTPConnection object at 0x7fa6e5bb6510>: Failed to establish a new connection: [Errno 111] Connection refused
?
Thanks

Also, not sure what it is but influxdb does not specify an user for that querry, is it the part of the problem?
~/Powerwall-Dashboard/tools/usage-service$ docker inspect $(docker ps -q) --format '{{.Config.User}} {{.Name}}'
/pwdusage
1000:1001 /telegraf
1000:1001 /weather411
1000:1001 /pypowerwall
/influxdb
1000:1001 /grafana

Please post your pwdusage.extended.yml and usage.json files. I'll check when I have time.

Hi, thanks for  answering during this time of the year !
pwdusage.extended..yml:

version: "3.5"

services:

pwdusage:

    image: jasonacox/pwdusage:latest

    container_name: pwdusage

    hostname: pwdusage

    restart: always

    user: "1000:1001"

    volumes:

        - type: bind

          source: ./tools/usage-service

          target: /var/lib/pwdusage

          read_only: true

    ports:

        - target: 9050

          published: 9050

          mode: host

    environment:

        - USAGE_JSON=/var/lib/pwdusage/usage.json

    depends_on:

        - influxdb

usage.jason

{

"settings": {

    "influx_url": "http://localhost:8086",

    "bucket": "powerwall/kwh",

    "timezone": "Australia/Perth",

    "supply_priority": [

        "GRID_SUPPLY",

        "PW_SUPPLY",

        "SOLAR_SUPPLY"

    ],

    "cost_unit": "$",

    "energy_unit": "kWh",

    "rename": {

        "GRID_SUPPLY": "Grid supply---",

        "GRID_EXPORT": "Grid export+++"

    },

    "resample": true,

    "week_anchor": "MONTH",

    "year_anchor": "JUN"

},

"plans": [

    {

        "name": "Aurora-TAS-ToU",

        "report": [

            "GRID_SUPPLY",

            "GRID_EXPORT",

            "SELF_PW_NET_OF_GRID",

            "SELF_SOLAR_PLUS_RES"

        ],

        "agent": "Simple",

        "seasons": {

            "Summer": [

                {

                    "schedule": "Weekday",

                    "days": [

                        0,

                        1,

                        2,

                        3,

                        4

                    ],

                    "periods": {

                        "22:00": "Off-Peak",

                        "08:00": "Peak",

                        "11:00": "Off-Peak",

                        "17:00": "Peak"

                    }

                },

                {

                    "schedule": "Weekend",

                    "days": [

                        5,

                        6

                    ],

                    "periods": {

                        "00:00": "Off-Peak"

                    }

                }

            ],

            "Winter": [

                {

                    "schedule": "Weekday",

                    "periods": {

                        "21:00": "Off-Peak",

                        "07:00": "Peak",

                        "10:00": "Off-Peak",

                        "16:00": "Peak"

                    }

                }

            ]

        }

    }

],

"calendar": {

    "2022-10-06": {

        "plan": "Aurora-TAS-ToU",

        "season": "Summer",

        "tariffs": {

            "Peak": {

                "GRID_SUPPLY": -0.33399,

                "GRID_EXPORT": 0.08883,

                "SELF_PW_NET_OF_GRID": 0.33399,

                "SELF_SOLAR_PLUS_RES": 0.33399,

                "SUPPLY_CHARGE": -0.04579291666

            },

            "Off-Peak": {

                "GRID_SUPPLY": -0.15551,

                "GRID_EXPORT": 0.08883,

                "SELF_PW_NET_OF_GRID": 0.15551,

                "SELF_SOLAR_PLUS_RES": 0.15551,

                "SUPPLY_CHARGE": -0.04579291666

            }

        }

    },

    "2023-04-02": {

        "season": "Winter"

    }

}

}

Thanks.

Take a quick look at issue #10 - the same error came up and the debug steps there may sort you out.

Also, if the ip address works correctly, try replacing it with the name of the machine hosting docker - e.g. in my case orac.local (this is going to depend on your LAN/Wireless DNS working though).

Hi,
still, no success
2024-12-26 19:54:58 INFO: Powerwall-Dashboard usage proxy server [1.0.0] - HTTP Port 9050
2024-12-26 19:54:58 INFO: Powerwall-Dashboard usage engine proxy Started
2024-12-26 19:56:42 ERROR: Error loading usage engine configuration file.
2024-12-26 19:56:42 ERROR: Details: <urllib3.connection.HTTPConnection object at 0x7fc241e36e10>: Failed to establish a new connection: [Errno 111] Connection refused

so what about that ERROR: Error loading usage engine configuration file ?

the docker internal addresses are:
influxdb: 172.18.06
telegraf: 172.18.0.5
grafana: 172.18.04
I can play with them, but I need to know where to use it.
Thanks

now, if I put "influx_url": "http://172.18.0.6:8086" in usage.jason, I get:
"599 Error loading usage engine configuration file ((<urllib3.connection.HTTPConnection object at 0x7f69dcccd6d0>, 'Connection to 172.18.0.6 timed out. (connect timeout=10.0)'))."
So no more "refused" but "timed out"
thanks

Those are the files permissions in the /var/lib/pwdusage, that looks ok I hope.

and the influxdb is listening on 8086...
2024-12-26 23:43:40 ts=2024-12-26T15:43:40.962854Z lvl=info msg="Listening on HTTP" log_id=0thv2XDW000 service=httpd addr=[::]:8086 https=false
I restarted the influxdb then pwdusage and finally tried to load the http, no progress. I'm running out of ideas, there is not even a trace of connecting attempts in the influxdb logs. Time for bed.
Thanks

Michal, you need to set the influxdb url to the IP address of the docker host, not the internal docker IP i.e. http:///:8086.

Hi,
new day, new challanges :)
so, I put in usage.jason: "influx_url": "http://nuc:8086"
and in the local browser: http://192.168.9.245:9050/usage_engine
that resulted in: Usage Engine Status	"Engine OK, tariffs (re)loaded"
Time to follow the rest of the steps... :)
thanks

I changed it to "influx_url": "http://192.168.9.245:8086/" and it works again. Hmmm....
Usage Engine Status	"Engine OK, tariffs (re)loaded"

OK, after finishing the test, I did:
./compose-dash.sh stop
./compose-dash.sh up -d
which went trough with no problems. I noticed thou, that the jasonacox/pwdusage (latest) is not running.
Is that how it should be?
Thanks

I changed it to "influx_url": "http://192.168.9.245:8086/" and it works again. Hmmm....

So your problem with the nuc url is a problem with name resolution on your local network. Which I can't help with - you'll need to check your router docs and do some more general reading on this. However, if your nuc has a static ip, then there is no problem with just using that (and you know it works).

I noticed thou, that the jasonacox/pwdusage (latest) is not running.

Sorry - I gave incomplete instructions - check this for setting up the .extend file. https://github.com/BuongiornoTexas/pwdusage?tab=readme-ov-file#add-pwdusage-to-powerwall-dashboard

Thanks for that.
Actually, when I used "nuc", it was the first tiime I got:
Usage Engine Status "Engine OK, tariffs (re)loaded".
It stopped working thou after subsequent page reloads. Go figure!
I can use "nuc" for enything else so I don't understand what is happening. There is a discussion at https://github.com/influxdata/influxdb/issues/15321 (if you interested) about influx troubles itself.
Going to read the link you posted now!
Thanks

Update:
the pwdusage is running now in docker
I was able to add data source in grafana (2 green info squares shown up on saving)
I succesfully tested http://192.168.9.245:9050/usage_engine,  Usage Engine Status	"Engine OK, tariffs (re)loaded"
Now I will try to get the data to actually display in the Grafana browser screen.
Thanks.

Hi,
just probably one querry before I close that thread. I did some changes in the use.jason to adopt to my Synergy plan.
Can you please have a glimpse at it and let me know if it does have a chance to work. That file is currently in use but I can't see if it is ok before I set up new a dashboard in Grafana (which is the new, uncharted territory for me!).
Anyway, I got 3, daily price brackets, no seazons, no weekends, zero export $, 24/7. And that is what I did:
{
"settings": {
"influx_url": "http://192.168.9.245:8086",
"bucket": "powerwall/kwh",
"timezone": "Australia/Perth",
"supply_priority": [
"GRID_SUPPLY",
"PW_SUPPLY",
"SOLAR_SUPPLY"
],
"cost_unit": "$",
"energy_unit": "kWh",
"rename": {
"GRID_SUPPLY": "Grid supply---",
"GRID_EXPORT": "Grid export+++"
},
"resample": true,
"week_anchor": "MONTH",
"year_anchor": "JAN"
},
"plans": [
{
"name": "Synergy_Midday-Saver",
"report": [
"GRID_SUPPLY",
"GRID_EXPORT",
"SELF_PW_NET_OF_GRID",
"SELF_SOLAR_PLUS_RES"
],
"agent": "Simple",
"seasons": {
"All_Year": [
{
"schedule": "Week",
"days": [
0,
1,
2,
3,
4,
5,
6
],
"periods": {
"09:00": "Off-Peak",
"15:00": "Peak",
"21:00": "Mid-Peak"
}
}
]
}
}
],
"calendar": {
"2024-11-19": {
"plan": "Synergy_Midday-Saver",
"season": "All_Year",
"tariffs": {
"Peak": {
"GRID_SUPPLY": -0.525313,
"GRID_EXPORT": 0.00,
"SELF_PW_NET_OF_GRID": 0.525313,
"SELF_SOLAR_PLUS_RES": 0.525313,
"SUPPLY_CHARGE": -1.26075
},
"Mid-Peak": {
"GRID_SUPPLY": -0.231138,
"GRID_EXPORT": 0.00,
"SELF_PW_NET_OF_GRID": 0.231138,
"SELF_SOLAR_PLUS_RES": 0.231138,
"SUPPLY_CHARGE": -1.26075
},
"Off-Peak": {
"GRID_SUPPLY": -0.08405,
"GRID_EXPORT": 0.00,
"SELF_PW_NET_OF_GRID": 0.08405,
"SELF_SOLAR_PLUS_RES": 0.08405,
"SUPPLY_CHARGE": -1.26075
}
}
}
}
}
It would be great if you can comment. If all good I will close this thread and probably open one for the implementation in Grafana. You gave pretty good decription but I'm missing the very basic stuff.
Thanks

I just find out from the other closed thread that the supply charge is based on the hourly calculation so I will need to correct this.
Thanks.

So I got everything running in the end.
Thanks for the excellent utility and your support 😀

Excellent - I took a quick look at your json file, and it looks correct.

authors: BuongiornoTexas michalperth

repo: BuongiornoTexas/pwdusage


text:
[Burn-P3+ Bug]:  Default fuel table does not include all standard fuels

Contact Details
brett.moore@nrcan-rncan.gc.ca
What happened?
Some of the default fuels are missing, fixing shortly.
What component are you seeing the problem on?
R
Relevant log output
No response
Approvals Process

[ ] Testing For Issue
[ ] Merge

Fixed in #35

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Fix the Cargo.toml example in README

The name of the crate has changed, so this PR updates the dependency example in README so that it uses the name 'streaming-stats'.

Thanks!

source: gharchive/pull-request

authors: BurntSushi andrewjstone

repo: BurntSushi/rust-stats

license: Unlicense


text:
Open the Dialog by mvvm binding command from PopupBox or ContextMenu, and CloseDialogCommand can't execute in mvvm

i want to show dialog by mvvm binding command from PopupBox as it:
            <materialDesign:PopupBox DockPanel.Dock="Right" HorizontalAlignment="Right"
                                     VerticalAlignment="Top"
                                     PlacementMode="BottomAndAlignRightEdges" StaysOpen="False"  Focusable="False">

                <StackPanel Orientation="Vertical"  >
                    <Button Content="Show Dialog " ToolTip="Can't close dialog by left button."
                                        Command="{Binding OpenDialogCommand}" IsTabStop="True" />
                 </StackPanel>
            </materialDesign:PopupBox>

And OpenDialogCommand in ViewModel like it:
public RelayCommand OpenDialogCommand
{
get
{
return _openDialogCommand
?? (_openDialogCommand = new RelayCommand(
() =>
{
DialogHost.Show(new DialogView());
}));
}
}
and a button in shown Dialog call binding CloseDialogCommand like it:
    public RelayCommand CloseDialogCommand
    {
        get
        {
            return _closeDialogCommand
                ?? (_closeDialogCommand = new RelayCommand(
                () =>
                {
                    //i want to add the branch at here.

                    //if (false) return;

                    DialogHost.CloseDialogCommand.Execute(new object(), null);  //??? the second parament is wrong?

                }));
        }
    }

it can't execute in mvvm command.
if opened dialog is not from popupbox or contextmenu, DialogHost.CloseDialogCommand will be excuted in ViewModel.
and DialogHost.CloseDialogCommand have been excuted in ViewModel when Version V2.2.0.
i can't sure the reason is fixed #445 in MaterialDesignThemes.Wpf/Themes/Generic.xaml
used
FocusManager.IsFocusScope="True".
How can i CloseDialog in ViewModel?
samples is here.
https://github.com/helenchixp/TabAndTree/tree/master/MaterialTest
Thanks.

Hi,
In MVVM the best way to close a dialog is via it's DialogSession.
You can grab the session when you call the .Open method, by providing delegate as one of the parameters.
Example syntax here:
https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/wiki/Dialogs#dialogsessionclose

Hi, thanks you answer.
I know use the DialogSession.Close can close a dialog.
but i want to know, In MVVM DialogHost.CloseDialogCommand.Execute can execute by shown dialog from other UIElement,
and can't execute from Popup and ContextMenu.
i think the reason for focus.
if i move the focus by TAB key on button and press the enterkey,
it will be closed the dialog by DialogHost.CloseDialogCommand.Execute in MVVM.
but can't close the dialog by mouse left click.

sorry , this picture is what i want to question

You need to add IsDefault or IsCancel to your buttons to get proper keyboard  control.  I've created a PR to your demo repo: https://github.com/helenchixp/TabAndTree/pull/1

thanks you answer.
but i want to know why can't close the dialog by mouse. like this GIF picture (Step 2).

it could close the dialog when Version V2.2.0.

Hmmm, thought I tested that yesterday, and it was working OK. But is your sample repo up to date? The version I forked looked a little different. I will try and have another look later today.

Hey...OK...I sent you  a new PR illustrating how to do it.

Thanks your PR.
and i read you source commit for this:
//CloseDialogCommand is a RoutedCommand.  Which means it has to be executed in XAML, for the DialogHost event to correctly detect it.
//So you have to provide a target in the second parameter...
// DialogHost.CloseDialogCommand.Execute(new object(), null);
but i don't think the reason is the second parameter of RoutedCommand.
it can use the RoutedCommand Execute method when dialog is opened by Button.
and i try to update the MaterialDesignThemes.Wpf/Themes/Generic.xaml like this.
The DialogHost.CloseDialogCommand.Execute(new object(), null) can executed when dialog is opend by Popup and Context.

Hey, is this still an issue?  I lost track?

I try to  i try to update the MaterialDesignThemes.Wpf/Themes/Generic.xaml
and forked it in my repo.
https://github.com/helenchixp/MaterialDesignInXamlToolkit
and updated the test project of my repo.
https://github.com/helenchixp/TabAndTree
it can be used DialogHost.CloseDialogCommand.Execute without DialogSession .
open the dialog by the PopMenu or ContextMenu please.  :-)

I've just retested your repo on 2.3.0 (ci)....seems OK now?

i think it is OK. thanks.

authors: ButchersBoy helenchixp

repo: ButchersBoy/MaterialDesignInXamlToolkit

license: mit

license_source: bigquery


text:
fix coredump in diskcache init

Changelog category :

Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
If the user configures DiskCache without using the default settings, there is a high probability of encountering a coredump due to division by zero in a multi-threaded initialization scenario.Adding the DiskCache configuration can reproduce the issue with a certain probability.
This issue has already been fixed by me in cnch. It has passed CI testing and cluster testing. It is possible that the relevant personnel have been busy and have not migrated the changes yet. Currently, I am no longer working at ByteDance, but I happened to notice that this problem has not been fixed, so I'm submitting a merge request.
Documentation entry for user-facing changes
no user-facing  changes happened.

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

https://github.com/ByConity/ByConity/issues/572

Seem be same with the https://github.com/ByConity/ByConity/pull/567/commits/edc416eea6d102c7446bd098f8100394a474dd41, which is also your contribution, haha

hi @foreverneverer , can we close this one?

hi @foreverneverer , can we close this one?

Yes, But I don't have permission. Could you apply for permission？

authors: CLAassistant TOMATOFGY foreverneverer hustnn

repo: ByConity/ByConity


text:
🛑 C21CoasttoCoast is down

In 321c3bb, C21CoasttoCoast (https://www.c21coasttocoast.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: C21CoasttoCoast is back up in b7836ed after 25 minutes.


text:
Allow Opening BIQ Files

Go to Load Game
Navigate to the scenarios folder
Choose a BIQ file, then click Open
It loads in-game.

Known issues: For some reason all pine forests are snow-covered.
Recommended to merge https://github.com/C7-Game/Prototype/pull/82 first, as it fixes non-square maps, which is a lot of BIQs.

This is largely duplicated from ImportSav. Can we extract the logical blocks to common methods? eg. InitGameData, ReadBytes, ReadTerrain, ReadTiles...

Good point, and largely yes.  The major exception being tiles, since there are separate SAV and BIQ tile objects whose data may be different - although even there, we can standardize the variable names and structure more than they are currently.

authors: QuintillusCFC WildWeazel


text:
Build an embedded model for AI service

Build an embedded model to enhance AI service accuracy

It takes 5 hours.
done

repo: CAFECA-IO/AICH


text:
How to verify your implementation?

This is more a question about test infrastructure than it is about CANopenNode: How do you test your implementation of CANopenNode in hardware?
I'm working on implementing CANopenNode using an STM32F446 microcontroller, and I have been able to compile the package, expand the example driver to work with the STM32 HAL, and produce a heartbeat on a 1 second interval. All good there! I'm confident that the driver and the hardware interface are working A-OK. (Well, at least on the transmit side.)
The thing I'm seeking to answer now is whether everything else is implemented correctly - SDO data, PDO consumer, etc.
For example: I did a bit of extra work to embed git describe information into my firmware, and to tie that info to the appropriate CANopen field for manufacturer software version (if I remember right that's object 0x100A in the OD). What can I use to make a request to ensure that field is read out correctly?
I'm guessing I'd need some sort of auxiliary CAN interface to my computer, and a host program to drive that CAN interface and implement the CANopen protocol.
Some basic research shows that there are a few USB CAN interfaces out there, as well as Raspberry Pi hats that speak CAN as well. I've also found the canopen Python package here on GitHub that would allow for a fast implementation of CANopen for test purposes.
Any other recommendations for how to go about testing my implementation of CANopenNode? I'm relatively new to using this protocol and I'm not sure the fastest way to test it.

There is a CANopenNode implementation for Linux available that you can easily build on your platform of choice (Raspberry Pi, pc, etc). As CAN interface you can go for a RPI "HAT" (which mostly features some MCP CAN chip), or a USB CAN device such as PEAK. Look here.
You can use that to setup a CANopen gateway on linux, and then use a client application to interface with you CANopen devices through the gateway.

Appreciate the insight, @geoffrey-vl - I usually develop on Windows, so I hadn't tried that full getting started guide on CANopenNode yet. This morning I spun up a Linux VM, ran thru the tutorial, and got a working virtual CAN network. It seems fairly straightforward to go from this, to a hardware interface.
I will see about getting my hands on a hardware interface like the ones you suggest, try expanding the tutorial with hardware in the loop, and see that I'm getting expected behavior with SDO requests and the like.
Path forward seems clear - I'll leave this open for another day or two in case anyone else has a suggestion, but this is resolved in my mind. Thank you for your support!

CiA provide a test tool to check CANopen conformity based on your EDS file (SDO PDO... and checks your entries) but I am not sure if this is available to members only.

I would suggest the same as geoffrey-vl and JuPrgn. Currently I'm expanding CANopenSocket (Linux based demo, tutorial, examples, testing tools, etc.) On the other side I'm updating the CANopenPIC project, which will also have demo (Max32 board), similar as in CANopenSocket. I will add a notice about PIC32 in its tutorial too.
Currently there are only PIC microcontrollers inside CANopenNode project. But if there will be similar repositories for another microcontrollers, we have great interest to add them aside.

Closing after receiving some suggestions on how to go forward. Thanks folks!

authors: CANopenNode Cushychicken JuPrgn geoffrey-vl

repo: CANopenNode/CANopenNode


text:
🛑 Test Broken Site is down

In b265b41, Test Broken Site (https://radcord.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Test Broken Site is back up in f36835e after 2 hours, 56 minutes.


text:
CLI: command to download singularity/docker cache

works across users, save disk space using shared cache.
see RENEE for implementation.

There were some problems using nextflow inspect with singularity, so let's wait on this until nextflow >= v23.11 is released.

repo: CCBR/CHAMPAGNE


text:
add veraison package to manipulate Parsec (TPM) evidence

Add a new veraison package to handle Parsec (TPM) evidence.

Encode attestation evidence, from given claim set
Decode attestation evidence, into given claim set
Check the sanity of the supplied evidence and then
Verify attestation evidence using a supplied key

Issue resolved via:
https://github.com/veraison/parsec-tpm/pull/1

repo: CCC-Attestation/attested-tls-poc


text:
fix assets/ installation

Description
Moved assets/ to within the src/ directory so data files can be found after setup tools installs the project.
Related Issues
closes #117
Additional Notes
Additionally, removed the symbolic initial_algorithms link in tests/unit/assets, and opted to just load the file directly from src now that its being installed.  Did a rename of "load_json_assets" to "load_test_json_assets" so others are aware that its explicitly loading testing assets.
<--------------------- REMOVE THE LINES BELOW BEFORE MERGING --------------------->
Checklist
Please review and complete the following checklist before submitting your pull request:

[x] I have ensured that the pull request is of a manageable size, allowing it to be reviewed within a single session.
[x] I have reviewed my changes to ensure they are clear, concise, and well-documented.
[x] I have updated the documentation, if applicable.
[x] I have added or updated test cases to cover my changes, if applicable.
[x] I have minimized the number of reviewers to include only those essential for the review.

Checklist for Reviewers
Please review and complete the following checklist during the review process:

[ ] The code follows best practices and conventions.
[ ] The changes implement the desired functionality or fix the reported issue.
[ ] The tests cover the new changes and pass successfully.
[ ] Any potential edge cases or error scenarios have been considered.

@cbrinson-rise8 I had to resolve some merge conflicts and made an additonal change (renamed recordlinker.utils.init to recordlinker.utils.path).  Could you give this another look?

repo: CDCgov/RecordLinker


text:
Time of Test cancel button looks bad.

The Time of Test cancel button needs some styling. Also, I know this was confusing for people so when we fix it maybe it's a good time to update the language on the "Add to queue" button too.

We can live with this for the next week.

The general styling is as designed, at least last I looked--the alignment problem is hopefully a somewhat easy fix.

Needs updated language on the "Add to queue" button too.

I think the button is actually supposed to say "Add to Queue" and then if you edit the time of test questions for someone who is already in the queue it is supposed to say "Save," which is how the button works today.

The current UI looks like this, where the clear button is not spaced/aligned correctly.

It should look like this.

[ ] Update Clear Button location

These issues go beyond just the button styling—I created a new ticket to list out all the issues and linked back to this one
https://github.com/CDCgov/prime-central/issues/176

I think this is superseded by https://github.com/CDCgov/prime-central/issues/176 and could be closed? I'm about to start on that one so that we can remove the last CMDSD stuff.

authors: aliciabeckett-gov benwarfield-usds dmethvin-gov hmyers-cms timothybest-usds

repo: CDCgov/prime-data-input-client


text:
Export test events to .csv

TODO
[x] add a mechanism to export test events
Example https://gist.github.com/timothybest-usds/11fba7410952eafab50d35bc7bcfb4bf
Open Questions/ TODO

[ ] Is our format of values okay

Patient_DOB
Patient_gender
Patient_ethnicity
Test_result_code
Employed_in_healthcare
Resident_congregate_setting

[ ] What is Specimen_source_site_code?
[ ] What is Specimen_type_code
[ ] split ordering provider name into first_name, last_name
[ ] what is Testing_lab_ID CLIA Number? our database unique identifier?
[ ] we have one organization should its information be in testing_lab and/or ordering_facility.

Testing_lab_name Ordering_facility_name`
_state
_street
_street2
_zip_code
_county Note the example has a Ordering_facility_county but not a testing_lab_county

[ ] what is Ordered_test_code?
[ ] what is Specimen_source_site_code?
[ ] what is Specimen_type_code?
[ ] Instrument_ID is the device IONIC code?
[ ] What is the difference between Test_date and Date_result_released

Should be a full dump of MVP required fields before they are translated by the data hub.
expected headers.xlsx

OK, I owe you a few more answers, but here's a first pass.
Formats:

Patient_DOB.     We currently expect yyyymmdd, eg, 19850531
Patient_gender.  We expect single uppercase letter , eg, F, A (ambiguous), O (other), N (not applicable), M
Patient_ethnicity. We expect single uppercase letter, eg, U (unknown), N (not hisp), H (hisp)
Test_result_code. We expect numeric codes as follows:

    - code: 260373001
      display: Detected
    - code: 260415000
      display: Not detected
    - code: 895231008
      display: Not detected in pooled specimen
    - code: 462371000124108
      display: Detected in pooled specimen
    - code: 419984006
      display: Inconclusive

Employed_in_healthcare.  We expect Y, N, or UNK.   (Note:  It looks like AZ PHD does not current expect this field)

Resident_congregate_setting We expect Y, Y, UNK.  This seems fishy to me - need to doublecheck.  (Note:  It looks like AZ PHD does not current expect this field)

[ ] What is Specimen_source_site_code?  Answer:  We don't have a value set for this yet.   AZ PHD example for this is "Forearm".

[ ] What is Specimen_type_code.  Answer:  as follows...

- name: covid-19/specimen_type
  system: SNOMED_CT
  referenceUrl: https://www.hhs.gov/sites/default/files/hhs-guidance-implementation.pdf
  values:
    - code: 258500001
      display: Nasopharyngeal swab
    - code: 871810001
      display: Mid-turbinate nasal swab
    - code: 697989009
      display: Anterior nares swab
    - code: 258411007
      display: Nasopharyngeal aspirate
    - code: 429931000124105
      display: Nasal aspirate
    - code: 258529004
      display: Throat swab
    - code: 119334006
      display: Sputum specimen
    - code: 119342007
      display: Saliva specimen
    - code: 258607008
      display: Bronchoalveolar lavage fluid sample
    - code: 119364003
      display: Serum specimen
    - code: 119361006
      display: Plasma specimen
    - code: 440500007
      display: Dried blood spot specimen
    - code: 258580003
      display: Whole blood sample
    - code: 122555007
      display: Venous blood specimen

[ ]  split ordering provider name into first_name, last_name.   Answer:  Yes, AZ PHD is expecting these as two separate fields.

[ ]   what is Testing_lab_ID CLIA Number? our database unique identifier?  Answer: Not sure. @jlusds ??   Does SimpleReport get a Clia number or, more likely, this is different for each lab using SimpleReport.

[ ]   we have one organization should its information be in testing_lab and/or ordering_facility.  Answer: Not sure.  @jlusds  ??

Testing_lab_name Ordering_facility_name`
_state
_street
_street2
_zip_code
_county Note the example has a Ordering_facility_county but not a testing_lab_county

what is Ordered_test_code?  Answer:
- name: covid-19/order
  system: LOINC
  reference: Incomplete - Supports BD Veritor, Quidell Sofia, and Abbott ID Now
  referenceUrl: https://www.cdc.gov/csels/dls/documents/livd_test_code_mapping/LIVD-SARS-CoV-2-2020-10-21.xlsx
  values:
    - code: 94563-4
      display: SARS coronavirus 2 IgG Ab [Presence] in Serum or Plasma by Immunoassay
    - code: 94500-6
      display: SARS coronavirus 2 RNA [Presence] in Respiratory specimen by NAA with probe detection
    - code: 94558-4
      display: SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay
    - code: 94534-5
      display: SARS coronavirus 2 RdRp gene [Presence] in Respiratory specimen by NAA with probe detection
    - code: 94564-2
      display: SARS-CoV-2 (COVID-19) IgM Ab [Presence] in Serum or Plasma by Immunoassay
    - code: 94531-1
      display: SARS coronavirus 2 RNA panel - Respiratory specimen by NAA with probe detection
    - code: 94559-2
      display: SARS coronavirus 2 ORF1ab region [Presence] in Respiratory specimen by NAA with probe detection
    - code: 95209-3
      display: SARS coronavirus+SARS coronavirus 2 Ag [Presence] in Respiratory specimen by Rapid immunoassay

[ ]   what is Specimen_source_site_code?  Answer:  Answered this above.

[ ]   what is Specimen_type_code?  Answer:  Answered this above.

[ ]   Instrument_ID is the device IONIC code?  Answer:  Not sure.  I need to get back to you.   It looks like we expect a numeric ID for this right now.  No enumerated set of values

[ ]  What is the difference between Test_date and Date_result_released.   Answer:   AZ PHD expects two dates:  the "Collection date" and the "Result Date".    I presume test_date is the date the sample was collected.

Whew!!

Here's my takeaway but would want a second opinion.
Background
Before POC testing, an Ordering Facility (a school, nursing facility) would often order testing but send it out to a different testing lab (ABC Laboratories) to do the actual testing. The ordering facility might not have a CLIA number.
With POC testing, Ordering Facilities are now doing the testing themselves, in house. To do this, they apply for a CLIA Certificate of Waiver. They now become both the Ordering Facility and Testing Facility.
Proposal
In a Point of Care Antigen world, which is our MVP, Ordering Facility Name = Testing Facility Name. We should list the same name in both fields. However, if Nursing Home A wants to do a send out PCR test to a different testing facility, then a given test would have a different Ordering Facility Name and Testing Facility Name.
Testing_lab_ID I think can be the CLIA number. In case this is sensitive, this is a public number.

I'll check in with our pilot site and see what kind of nasal swab they are using. We can hard code it until we build out the ability to add it (hopefully that comes soon!!)

@jimduff-usds - what are your thoughts on having the Data hub do the work to translate the format from SimpleReport into the expected format by AZDHS?

@jimduff-usds - what are your thoughts on having the Data hub do the work to translate the format from SimpleReport into the expected format by AZDHS?

I think the answer will vary on the fields, for example if the change is trivial for @TimBest , then it would be good to do it in SimpleReport.  But I realize we're all running short of time for the initial release, so we can take shortcuts now and try to patch later.    Generally, its best to generate the data "correctly" as early as possible, but we might need to do otherwise to be expedient.

@timothybest-usds @RickHawesUSDS @jlusds @aliciabeckett-gov
A couple items for our ongoing conversation on the "contract" between SimpleReport and the Hub.
Two changes to the SimpleReport Schema:

I changed columnn named 'Testing_lab_ID' to 'Testing_lab_CLIA' to make it more accurate.  The Testing_lab_CLIA value for Via Elegante, Tucson Mountains is  03D2159846.

I am adding a Patient_lookup_ID column, immediately after Patient_ID, per discussion with Tim.

@jimduff-usds Just on the issue of where to copy lab fields to facility fields, the mapper function in hub the schema is intended to handle this. I was about to hook this up when the Azure stuff hit. Will have it finished this weekend.

@jimduff-usds and @RickHawesUSDS  I have updated the csv example with the latest format. Let me know if anything needs to be changed.
Note the columns are currently sorted alphabetically. @jimduff-usds your comment seems to imply that properties are implied from column order. Is this true? If so is example-simplereport-file-11-20-2020.csv in the expected order?

Thanks @TimBest , I'll take a look at your example, and I'll adjust what we're expecting as much as possible to try to match that.   So, ball's in my court, and I may change our expected column ordering to match yours.
(Yes, at the moment, we expect both the exact column ordering, and exact the column header names to accept a file as validated.)

at the moment, we expect both the exact column ordering

What's the benefit of doing that? Seems like a green-M&M situation at best, and unnecessarily brittle at worst.

at the moment, we expect both the exact column ordering

What's the benefit of doing that? Seems like a green-M&M situation at best, and unnecessarily brittle at worst.

Its just how its working now.   I'd like us to allow columns in arbitrary order, but its not built yet.

@TimBest , per the LIVD spreadsheet, it looks like the Ordered_test_code for Binax is 94558-4
Abbott | BinaxNOW COVID-19 Ag Card | SARS-CoV-2 nucleocapsid protein antigen
And the only associated Specimen_type_code for Binax is 44529700   - nasal swabs (Swab of internal nose)
However, almost every other device has multiple Specimen_type_code. For example Abbott's ID NOW test has 4 different kinds of specimens that can be taken.

Also, @TimBest what happened to the device-id field? That's kind of important isn't it?

@RickHawesUSDS  - we have it.   Its the "Ordered_test_code" field in our data.  Probably we need a better name....

So, this is complicated and we are new to the space, but the way I read the LIVD table, there are many device types and manufactures for a given "Ordered_test_code". That is many devices can run a "SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay". So the field is not the same as saying "Abbott", "BinaxNow COVID-19 AG Card". If you agree, I'd propose that you go back to providing the "BinaxNow COVID-19 AG Card" device-id field and let the hub translate it to a particular LONIC Ordered_test_code.

I've added Device_ID to the expected data from SimpleReport; its in a PR now.
I'm realizing this Issue has gotten quite hard to understand; I'm going to start a (hopefully!) organized data dictionary somewhere, in an attempt to save @TimBest 's sanity.

per todays discussion this is the current state of the simple report export https://gist.github.com/timothybest-usds/11fba7410952eafab50d35bc7bcfb4bf

@TimBest , the Data Dictionary is here:
https://github.com/CDCgov/prime-data-hub/blob/master/prime-router/docs/simplereport-data-dictionary.md

@TimBest I just tried this sample file (with Device_ID and a single race value) and it worked
https://gist.github.com/RickHawesUSDS/f082131bb6b1d04cb58cd861de3d60cc

Going to mark this as complete since we successfully tested the pipeline last night
the issue with race=null will be resolved in https://github.com/CDCgov/prime-data-input-client/pull/211
Future integration work can be found: https://github.com/CDCgov/prime-central/issues/160

authors: RickHawesUSDS aliciabeckett-gov benwarfield-usds jimduff-usds jlusds timothybest-usds


text:
Upgrade Okta Classic to Okta Identity on Production

Problem statement
In order to obtain new features and avoid being stuck on a deprecated engine, we want to upgrade our Okta Classic engine to Okta Identity engine.
What you need to know

Plan document: https://docs.google.com/document/d/1DKrBuRR_VwEvBoIBgkZt5V52X0gHeLiZPEFIamSuwgs/edit#heading=h.t7m2dyannnnn
Settings updates post-upgrade: https://docs.google.com/document/d/1QpK25QUOem4Dnz2DOTwYIdaUsNnehS2FETXM5pj1uMM/edit?usp=sharing

Acceptance criteria
Before June 10:

[x] (Joseph) Schedule the upgrade on Production (Okta) for June 3 at 2pm EST

On June 10, after upgrade:

[ ] (Chris) to inform stakeholders of the upgrade via Slack
[ ] (Joseph) Update email templates’ usage of fromURI
[ ] (Joseph) Settings updates per doc
[ ] (Audrey, Joseph) Verify login/self-service scenarios

[x] Login
[x] Lock-out
[x] Reset Password
[x] MFA Factors
[ ] New account first login setup

[ ] (Joseph) Verify frontend -> API communication works
[x] (Victor) Verify backend CLI -> API communication works

Delay by one week to be cautious

Reset password works, but still takes you back to the Okta Dashboard when complete.
This is known, and will be fixed soon.

When admin resets only the Phone (or other non-security question MFA), the user is NOT prompted to reset that MFA upon login. Instead, they can login as normal with their password.
In order to reset a non-security question MFA, the user will need to login to the Okta Dashboard interface and resubmit their MFA in their settings page on the Okta Dashboard.

Users don't have an Authenticated Nav Bar IF they are not part of a group

repo: CDCgov/prime-reportstream


text:
Louisiana - UP Migration - Move to Production

User Story:
As a developer, I want to move the [STLT] settings to production after getting approval from the STLT, so that they can start receiving live data.
Description/Use Case
[STLT] is already receiving data from the covid pipeline they will be onboarded to the UP where they will be receiving data from SimpleReport including Covid, Flu and RSV. We need to make sure the message we generate from the UP passes the STLTs validation. We can use SimpleReport to submit test messages to the STLT.
Risks/Impacts/Considerations
Dev Notes:

[ ] Upload the staging receiver settings to Production
[ ] Copy the receiver's secret key with the new receiver name in Azure's production environment
[ ] Verify we can connect to the newly created receiver
[ ] Monitor the UP data for the conditions the receiver is interesed in and notify them when reports are routed to them
[ ] Send a test message through Simple Report and make sure it gets routed to the STLT
[ ] Send test messages according to the STLT needs

Acceptance Criteria

[ ] Receiver UP settings are pushed to production
[ ] ReportStream can connect to STLT in production
[ ] Notify STLT when reports are routed to them for each condition they are receiving

Work already completed


text:
OR - Receiving records from PA

Problem statement
OR is reporting test messages for facilities in PA, and is requesting suppressing messages not intended for OR.
What you need to know
OR was recently onboarded to RS. So it's possible they're receiving data for OR residents getting tested in PA. Need to investigate root cause and apprise OR.
Acceptance criteria

Explanation is provided to OR on current issue and path forward

To do

Investigate why OR is receiving records from PA
Inform OR why this is the case, and what, if any, fix is needed to correct the issue

Sender likely accidentally hit the wrong state on a drop down. Do they need to be resent? @anshulkumar-usds will follow up.

Checking with OR if they need us to resubmit corrected results

OR confirmed no resubmissions are needed. Closed.

@anshulkumar-usds - Wouldn't PA be the one who might want the results sent?  The results shouldn't have gone to OR in the first place, but they should have gone to PA


text:
Create error message for duplicate organization

###Problem
There are two issues happening here:

An admin user abandoned the sign up process and tries to register again.

A staff member is told they will be using SimpleReport and completes the sign up form.

In both of these cases, users receive an error message with "Duplicate organization" and the are blocked from moving forward.
###Solution
We want to share an error message that helps users know what to do next, either to help an admin user schedule bookings or a staff member to reach out for access.

@LGFranklin is there a screenshot of the current dup org error they get so I can go from there? I thought I remember working on this previously

Got it, thanks! You mentioned adding info either to help an admin user schedule bookings or a staff member to reach out for access, but what is the process to do either?

Duplicate of #2549

authors: LGFranklin Rebecca-LM emmastephenson

repo: CDCgov/prime-simplereport


text:
Add HIV result guidance

FRONTEND PULL REQUEST
Related Issue

Resolves #7286

Changes Proposed

This PR adds test result guidance for any HIV result in English and Spanish.

Additional Information

I also updated the styling for the external link symbol because it was rendering weirdly for multiline links.

Before

After

Testing

Deployed on dev6 for testing

Screenshots / Demos
PXP

Print modal

Changed how the Spanish translation for HIV result appears in the PXP view based on feedback from the CDC:

Deployed on dev2 for testing! ready for re-review @fzhao99 @mpbrown


text:
C/I Via Git Actions (Issue #13)

Description
Please Describe the Bug(s) Fixed and/or the Feature(s) Added:
Checklist
Go Through Checklist Below and Place A :heavy_check_mark: (X Inside the Box) if Completed
General Checks

[] Have you run appropriate tests (unit/integration/end-to-end) to check logic across run environments (Conda/Docker/Singularity on Scicomp/AWS/NF Tower/Local)?
For each relevant configuration:

Can the program run completely through without erroring out?
Does it produce the expected outputs, given the inputs provided?

[] Have you conducted proper linting procedures?

Numpy formatted docstrings for functions
Comments explaining lines of code
Consistent and intuitive naming conventions for variables, functions, classes, methods, attributes, and scripts
Single empty line between class functions, two lines between non-class functions, and two lines between imports and code body
Camel case formatting for class names

[] Have you updated existing documentation (README.md, etc.) or created new ones within docs?

CDC Checks

[] Did you check for sensitive data, and remove any?
[] If you added or modified HTML, did you check that it was 508 compliant?

Are additional approvals needed for this change? If so, please mention them below:
Are there potential vulnerabilities or licensing issues with any new dependencies introduced? If so, please mention them below:

This needs to be merged into main last.
Getting error during checks because ci-13 does not have certain changes that the tests assume, due to the other enhancements/bug fixes not being merged into main yet. I will rebase based on main once these other branches are merged in + then test out whether the checks go through.

repo: CDCgov/tostadas


text:
Research Test Order & Results Processes and Challenges for Healthcare Providers

Story
Sentence
As a healthcare provider,
To ensure the capabilities of the Trusted Intermediary MVP align with business needs,
I need the team to better understand the processes and challenges of lab test orders and results.
Acceptance Criteria

[ ] Document our findings and share them with the CDC.

Tasks

[x] Document a hospital NBS workflow from desk research data @MikeC-A6
[ ] Compare and contrast NBS "orders" with other lab order types @MikeC-A6
[ ] Document several examples of connections between Providers and Labs.
[ ] Document why or why not they're already connected.
[ ] Learn why some healthcare providers do not utilize ETOR when their lab supports it.
[ ] Learn if it's costly to set up new EHR connections to labs.
[ ] Learn if existing connections can instead be setup via ADT.

LucidChart link to Michigan Hospital NBS order process based on desk research

repo: CDCgov/trusted-intermediary


text:
Show peripheral terms on work page

They are not included in the Instance response, so we need to do an Item query as well.

Done in df4a7c1

repo: CDH-DevTeam/queerlit-gui


text:
RORs pointing the the wrong organization

It looks like the RORs of some contributor affiliations are pointing to the wrong ROR.
All of the contributors to the Moorea Biocode DMP are pointing to UC Berkeley https://dmphub.uc3prd.cdlib.net/dmps/10.48321/D1F88S
For the EAGER grant, they are all pointing to the UCOP ROR https://dmphub.uc3prd.cdlib.net/dmps/10.48321/D17598
In both examples, the correct affiliation is listed on the DMP ID landing page, but the corresponding ROR ID is either UC Berekely (for Moorea Biocode) or UCOP (for our EAGER)

I was able to fix this by adding myself as a collaborator on these 2 DMPs and then going into the DMPTool, adding a blank space to the end of the abstract, and then saving (on both plans). This forced an update to the DMPHub which now has the correct ROR ids.
This unfortunately creates a new "version" in the DMPHub, but I guess that makes sense since we have updated/fixed the ROR ids.
I'm not sure why it happened, my suspicion is that it has been that way for a while ... at least since the last updates to the DMPs in January.

authors: briri mariapraetzellis


text:
144 v7 framework

Params for v7 (final) framework updated
Model performances for final models added (except for _labels files which have text of comments and are therefore sensitive)

Closes #144

repo: CDU-data-science-team/pxtextmining


text:
Update README.md

This is my first commit

This is my first pull request

repo: CEASLIBRARY/First-Repository


text:
Confirmed-commit support[Question]

Hi Michal,
Have a query regarding confirmed-commit capability support. Are we supporting confirmed-commit now? If no, Is there any plan in near future for the same.
Thanks!
Regards,
Ankit

No, ti is not supported but should be in a matter of days. We are just finalizing the PR, the functionality is finished and working.


text:
Added error envelope

Added the one sigma error envelope to the Wetherill concordia line.

What was the issue? - something simple?

I was using the actual values of λ235 and λ238 instead of their uncertainties.

authors: bowring johnzeringue

repo: CIRDLES/Topsoil


text:
last_reset must not be an int

Version of the custom_component
0.0.7

Describe the bug
If "last_reset" is set to an int, the event processing for the StatisticsTasks throws an error.
Debug log

2021-08-11 18:17:36 ERROR (Recorder) [homeassistant.components.recorder] Error while processing event StatisticsTask(start=datetime.datetime(2021, 8, 11, 15, 0, tzinfo=datetime.timezone.ut\
c)): argument 1 must be str, not int
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/recorder/__init__.py", line 623, in _run_event_loop
    self._process_one_event_or_recover(event)
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
    self._process_one_event(event)
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/recorder/__init__.py", line 738, in _process_one_event
    self._run_statistics(event.start)
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/recorder/__init__.py", line 721, in _run_statistics
    if statistics.compile_statistics(self, start):
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/recorder/util.py", line 303, in wrapper
    return job(instance, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/recorder/statistics.py", line 154, in compile_statistics
    platform_stats.append(platform.compile_statistics(instance.hass, start, end))
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/sensor/recorder.py", line 284, in compile_statistics
    stat["last_reset"] = dt_util.parse_datetime(last_reset)
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/util/dt.py", line 133, in parse_datetime
    return ciso8601.parse_datetime(dt_str)
TypeError: argument 1 must be str, not int

The problem seems to be here: https://github.com/CJNE/ha-sunspec/blob/a81faf6607adc9d1fb7149cf6f3caee37c4b817a/custom_components/sunspec/sensor.py#L208
this should be changed to
dt.utc_from_timestamp(0)

where dt is
from homeassistant.util import dt

Thanks guys, i have merged and released this in 0.0.8!

authors: CJNE mptei

repo: CJNE/ha-sunspec


text:
红米手机预览的时候很模糊，手动对焦也没用，拍出来的却不模糊

如题，红米手机预览的时候很模糊，手动对焦也没用，拍出来的却不模糊，这是什么问题。。，
预览的时候就非常模糊

@CJT2325 求解答

__

源代码中这个参数太大了。。导致糊掉了 ，改成950之后 低端机的预览好点。而且取值950  和960的区别很大。。。希望作者可以优化下选择最佳尺寸的算法，谢谢


text:
Can't hit weeds underneath puddles

Description
Puddles block weeds, can't whack them
Reproduction

Bleed over weed
Knife weed under puddle
No weed deweeding

Screenshots
no
Additional context
explosives probably work because they don't rely on melee being blocked by puddles

Duplicate of #2369


text:
Implement the a General RecyclerView List

Task is to implement the a General RecyclerView List that can be used for the following fragments:

Your Library - My Books
Your Library - Borrowed Books
Borrow - Available Books
Borrow - Requested Books
Borrow - Accepted Books

need to wait for the Book entity class and BookService class to be implemented before implementing actual functionalities
Related User Stories:

US 01.04.01
US 06.03.01
US 04.02.01
US 05.04.01

I'm currently working on Your Library page, Book entity, and BookService in this branch. Maybe we can make it faster by separate some tasks out. https://github.com/CMPUT301F20T21/Book_Friends/tree/library

We should definitely separate books entity, service from UI implementation. We want to keep PR small.

will cut off all my changes in entities and services. we might want to discuss about how a general recycler would work because we have different behaviours on different book list tabs.

I thought you were just working on entity and services at the moment.
Yeah I do agree we should separate the tasks, having a big PR is hard to review

Closing this issue since we decide to have one user story per issue


text:
Requesting a book crashes the app sometimes

Requesting a book crashes the app sometimes.
To Reproduce
Steps to reproduce the behavior:

Go to Borrower from Home page
Hit '+' FAB
Request any book
You may need to do this multiple times
Stack trace:

E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.example.atheneum, PID: 28547
    java.lang.IllegalStateException: Fragment BorrowerPageFragment{2743c11} not attached to a context.
        at android.support.v4.app.Fragment.requireContext(Fragment.java:696)
        at android.support.v4.app.Fragment.getResources(Fragment.java:760)
        at android.support.v4.app.Fragment.getString(Fragment.java:782)
        at com.example.atheneum.fragments.BorrowerPageFragment$4.onDataChange(BorrowerPageFragment.java:201)
        at com.google.firebase.database.core.ValueEventRegistration.fireEvent(com.google.firebase:firebase-database@@16.0.6:75)
        at com.google.firebase.database.core.view.DataEvent.fire(com.google.firebase:firebase-database@@16.0.6:63)
        at com.google.firebase.database.core.view.EventRaiser$1.run(com.google.firebase:firebase-database@@16.0.6:55)
        at android.os.Handler.handleCallback(Handler.java:751)
        at android.os.Handler.dispatchMessage(Handler.java:95)
        at android.os.Looper.loop(Looper.java:154)
        at android.app.ActivityThread.main(ActivityThread.java:6111)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)

I think this is due to the some lifecycle thing related to one of the borrower pages.

I haven't seen this since #189 was merged. I think it should be closed. What do you think @MarcusBoay?

This may have been fixed

authors: MarcusBoay ishchow


text:
Clarification on "supplementary alignment" in logs

Hello Oarfish team,
I am analyzing the logs generated by Oarfish and noticed a read subgroup named as supplementary alignment. Here is an excerpt from the log:
╭─────────────────────────────────
│ reason                          │ count  │
├─────────────────────────────────
│ too far from 5' end             │ 0      │
│ too far from 3' end             │ 0      │
│ score too low                   │ 79     │
│ aligned fraction too low        │ 0      │
│ aligned length too short        │ 0      │
│ inconsistent orientation        │ 0      │
│ supplementary alignment         │ 34564  │
│ reads with valid best alignment │ 794444 │
╰─────────────────────────────────
I could not find detailed information about the term supplementary alignment in the README or the preprint. Could you clarify:

What exactly is meant by "supplementary alignment" in this context?
Under what circumstances would a read be categorized this way and if it is included or excluded in the analysis.

Thank you for your time and for developing such a great tool!
Best regards,

Hi @iza-mcac,
So in our context, this simply means that minimap2 has marked these alignments as "Supplementary".  This, unfortunately, is a SAM flag that doesn't have a widely accepted definition.  However, in the context of minimap2, I believe it generally means that the alignment was either chimeric or had very large linear gaps that don't match potential intron boundaries (irrelevant in the context of oarfish since we're aligning to the transcriptome anyway rather than the genome).
Best,
Rob

Hey @rob-p
Thanks for the very-fast in-depth explanation!

My pleasure :).

authors: iza-mcac rob-p

repo: COMBINE-lab/oarfish


text:
Add inventory grid information, fix dates, add/correct some trees

Grid survey done 2021-04-16 by @aestearns01 and me; also found several errors in inventory and trees without tags. Finally this PR reverts dates to a YYYY-MM-DD format.
The A-J, 1-8 grid information will let us perform future surveys more quickly and makes for nice visualizations:

Looks awesome, thanks @aestearns01 and @bpbond !

repo: COMPASS-DOE/TEMPEST


text:
new score attributes in match export, new score properties, misc fixes

match export:

added new scoreprop_line for tempo_indication score meta information using optional param 'tempo_indication'
added missing grace score note attribute
added new score attribute voice_overlap for deletion-score notes that have a voice-overlapping (aligned) score note
added new score attribute diff_score_version for score notes that reflect a special score version

score, musicxml import: new score attributes capturing score meta information: work_title, work_number, title_number , movement_number
midi import: minor fix for note IDs (numbering starting from 1 instead of 0)
midi export: new optional merge_tracks_save param
test_match_import.py: minor fix for default midiClockUnits rate, updated mozart_k265_var1.match file

Codecov Report
Patch coverage: 63.09% and project coverage change: -0.38% :warning:

Comparison is base (36450da) 85.36% compared to head (4d73f13) 84.98%.
Report is 27 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #303      +/-   ##
===========================================
- Coverage    85.36%   84.98%   -0.38%
===========================================
  Files           79       80       +1
  Lines        13590    13739     +149
===========================================
+ Hits         11601    11676      +75
- Misses        1989     2063      +74

Files Changed
Coverage Δ

partitura/directions.py
78.49% <ø> (ø)

partitura/io/matchlines_v1.py
82.38% <ø> (ø)

tests/__init__.py
100.00% <ø> (ø)

tests/test_tonal_tension.py
100.00% <ø> (ø)

partitura/io/matchfile_utils.py
92.87% <28.00%> (-4.59%)
:arrow_down:

partitura/io/importmidi.py
83.94% <50.00%> (ø)

partitura/io/exportmatch.py
78.30% <64.70%> (-4.84%)
:arrow_down:

partitura/io/exportmidi.py
90.54% <66.66%> (-0.37%)
:arrow_down:

tests/test_pianoroll.py
99.45% <66.66%> (-0.55%)
:arrow_down:

partitura/io/importmusicxml.py
79.97% <80.00%> (+0.39%)
:arrow_up:

... and 3 more

... and 8 files with indirect coverage changes

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

The PR is not linked to any reported issues but addresses changes/change requests originating from discussions with @neosatrapahereje (match export) and @sildater (score attributes).

authors: codecov-commenter huispaty

repo: CPJKU/partitura


text:
benchmarked libraries are not submodules

fix #70

What, you don't want to ship copies of RapidJSON and nlohmann's JSON with Boost?

LOL

@vinniefalco Should we add /bench/lib to the gitignore?

Yeah we should add it to gitignore if running the script would change the working set

I added it to .gitignore

authors: sdkrystian vinniefalco

repo: CPPAlliance/json


text:
feat: Update Hugr lowering for lists

Closes #525

Implement None-swapping logic for linear list indexing similar to arrays
Lowering of __length__ is still todo until https://github.com/CQCL/hugr/issues/1543 is resolved

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

Project coverage is 91.09%. Comparing base (63a7502) to head (028ac62).

Files with missing lines
Patch %
Lines

guppylang/prelude/_internal/compiler/list.py
63.55%
39 Missing :warning:

guppylang/prelude/_internal/util.py
20.00%
4 Missing :warning:

Additional details and impacted files
@@                  Coverage Diff                   @@
##           chore/linst-is-ded     #534      +/-   ##
======================================================
- Coverage               91.54%   91.09%   -0.45%
======================================================
  Files                      59       59
  Lines                    6136     6264     +128
======================================================
+ Hits                     5617     5706      +89
- Misses                    519      558      +39

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

authors: codecov-commenter mark-koch

repo: CQCL/guppylang


text:
Logic: Fix Hints bug and Refactor Hints

Resolves bug where ad | auto completes to ad d|
Refactor hints such that parse() need not be called to parse hints. Hints are assumed to be parsed on construction. We assert this with requiredFIeldsNonNull() .

Coverage increased (+0.08%) to 92.78% when pulling 941dcf3eecd0f0d6dee3ea9df698304ee23a587a on nicholaschuayunzhi:hints-fix into a260e31ac3a643e82f7c64af465d9746d7f46aec on CS2103AUG2017-W11-B4:master.

authors: coveralls nicholaschuayunzhi


text:
Implement database syncing and List Fetching

This PR implements some basic database syncing methods and the list all plugins boundary.
There's one bug with the progress bar implementation that causes the progress to jump to full after the request is finished. I'll fix that tonight :)

This is great! I'll review it in a moment.
In the future, can we split a feature into many smaller detailed commits rather than one commit that changes everything? For example, moving the hash function to a HashUtil class could be its own commit.

Yeah! I can do that. This is actually a squashed commit lol 😅
There are still some issues I'm cleaning up. I'm not going to mark it as WIP since there aren't any regressions though. I don't think I'm going to merge compression into this PR either.

src/main/java/org/hydev/mcpm/client/database/DatabaseInteractor.java
Why delete the search functions, boundaries, and the input class? I thought DatabaseInteractor also implements the search methods, which I made before.

Also, remember to add java doc on methods. Some in-line comments here and there would also be very helpful

We have a linter that requires all methods/classes to be javadoc'd, theoretically I should have everything commented. If there's a spot I missed, can you point it out in a PR review?
PS. I'm not sure about the search related stuff. They seem empty though, so I think it's best to fill them in a PR related to adding search functionality.

Okay then maybe it's fine. I was just looking through ProgressBarFetcherListener.java and LocalDatabaseFetcher.java and some private methods weren't commented.
Yeah makes sense to delete those. I can make a PR for the setup for the search use case and get into implementation once the listing functionality here goes through.


text:
Profile query implementation with large collections

Description
We don't currently now how well queries do perform for large collections, so some performance testing need to be done at some point.

locust.io could be used for this performance testing

authors: blankdots otahontas

repo: CSCfi/metadata-submitter


text:
How to decode data in a specific format

Hi,
I am using the dbc file from CSS electronics to decode CAN Data.
I have CAN data as following format:
CF00400#FFFFFFC080FFFFFF
first part is CAN Id (or frame id) : CF00400
second part (CAN data) : FFFFFFC080FFFFFF
How do I decode this CAN data using the can_decoder?
df_decoder.decode_frame(df_raw, columns_to_drop=["CAN ID", "Raw Value"])
How do I construct the df_raw based on above CAN data?

Hi there, I suggest seeing our api-examples where you can test this with the J1939 sample data:
api-examples/examples at master · CSS-Electronics/api-examples

authors: MatinF smpshehan


text:
Will not read right Joy Con when connected

I can connect both left and right joy-cons via bluetooth to my pc, but when I attempt to open the application with a right joy-con connected, it tells me to pair a controller first. Attempting with left opens as normal. This happened suddenly out of nowhere.

I am having a similar problem, Which sucks because I was looking forward to trying this out.

Same here, all 3 of my right joy-cons (FW Version 4.00, 3.B5) have the connection error while the lefts are fine.

authors: FlamingOranges M3KAI5ER44 koibumi


text:
Reserved but Public (RBP) records block ADPs from contributing to a CVE record until it is published.

In cases where a CNA may have already published the CVE on their website, but fails to update the CVE within a reasonable time, (aka RBP) the CVE program consumers do not see any information about the CVE. ADPs can not add their value additions to the record until the CNA takes action to publish a record. This offers a less than optimal experience for CVE consumers and ADPs.
Few suggestions to improve this situation:

The Program can develop a checks-and-balance automation to webscrape CNA advisories based on Advisory URLs provided by a CNA to detect RBPs.
After a warning to the CNA and a grace period secretariat can create a stub published CVE record pointing to the RBP evidence URL.
Such records are flipped to a published (or a new RBP state) that would allow ADP submissions.

This is more of a high-level CVE Board decision about how to handle RBPs. There may be ways to help through automation, but the CVE Board must ultimately decide the path forward here.

authors: ccoffin chandanbn

repo: CVEProject/cve-schema


text:
Import is broken

After upgrading new release I started to get import errors.
{
"errorType": "Error",
"errorMessage": "Cannot find module '/var/task/node_modules/gpt-tokens/dist/index.ts' imported from /var/task/index.js\nDid you mean to import gpt-tokens/dist/index.js?",
"code": "ERR_MODULE_NOT_FOUND",
"url": "file:///var/task/node_modules/gpt-tokens/dist/index.ts",
It looks like package.json export has wrong dist file for "import", should be index.d.ts
"exports": {
".": {
"import": "./dist/index.ts",
Previous version 1.2.0 works well.

This is indeed a serious issue, thanks for your feedback
I fixed this issue in v1.3.3
...
"exports": {
        ".": {
          "types": "./dist/index.d.ts",
          "import": "./dist/index.js",
          "require": "./dist/index.js"
        }
    }
...

repo: Cainier/gpt-tokens


text:
CI: warnings should fail test runs

e.g.
seip_service2= vo.dal.sia2.SIAService('https://irsa.ipac.caltech.edu/SIA')

WARNING: AstropyDeprecationWarning: The SIAService class is deprecated and may be removed in a future version.
        Use SIA2Service instead. [warnings]

Note that we do fail the sphinx build on warnings, but that doesn't fail on deprecation warnings, so I'm still looking for a solution that takes the usual pytest filterwarnings config into consideration.

repo: Caltech-IPAC/irsa-tutorials


text:
what happens when a binary variable is 1 for all non-deaths?

does the coef explode to infinity?

It does. This is known as complete seperation. I've added a warning to CoxPH to help users debug.

repo: CamDavidsonPilon/lifelines


text:
[Request] Set-netshare using SDDL rather than permission string

Hi,
Love this module.  Am currently using it to change permissions on a bunch of shares but it would be nice if I could pass the sddl string to the function.  I could copy your functions into my own script but I like the idea of the module having full capability :)
If you are interested the reason for the request is I am dealing with SID history values and so have to evaluate the sddl rather than the access object as it misreports the actual account in use.
Thanks for the great module

I added the option in the release 1.0.24 to use an SDDL string instead of the text format. With this also wild even inexistent / unresolvable SID can be set in the share permissions. Preferably I would suggest to set fine grained permissions on the folder an not on the share.  But both works.
So fixed with https://github.com/CamFlyerCH/FileShareUtils/releases/tag/1.0.24
Also the version published in the PSGallery is updated.

authors: CamFlyerCH haydentrail

repo: CamFlyerCH/FileShareUtils


text:
Feature:add new operator ml_nms

ml_nms初版，改进版本进行中

Hi, what's the relationship between https://github.com/Cambricon/mlu-ops/pull/196 and this？
If this has been abandoned, recommended to close

1、修改了nram空间的申请，从之前多次申请改为一次申请全部nram空间。
2、集成了gtest框架并进行了测试
| |
jones980116
|
|
@.***
|
---- Replied Message ----
| From | @.> |
| Date | 9/22/2022 13:36 |
| To | @.> |
| Cc | @.> ,
@.> |
| Subject | Re: [Cambricon/mlu-ops] Feature:add new operator ml_nms (PR #128) |
Hi, what's the relationship between #196 and this？
If this has been abandoned, recommended to close
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

repo: Cambricon/mlu-ops


text:
Feature: add cache checking middleware and APISchema #151

Description
This pull request adds a new middleware to validate cache configurations defined in the .yaml file.
Validation logic:

if cache is used in .SQL file, but no cache configuration found in .yaml file, throw error.
if cache configuration is set, the refreshTime and refreshExpression can not exist at the same time.
the time interval(variable "every") in refreshTime and refreshExpression should be a valid string that can be parse by library "ms", throw Error if not valid.

Issue ticket number
issue #151
Additional Context

This PR does not include the validation of the variable "express" in refreshExpress and the indexes configuration.
the SQL defined in the .yaml file will be validated in another place(like SQL engine).

This PR came from #159, due to Github did not detect the latest commit.

repo: Canner/vulcan-sql


text:
test: create a framework for testing functions

Test all functions in CSV could be executed.

Hi @goldmedal, I adjusted the CSV and CSV reader based on the new Wren core. It looks so good. Thanks for your help.

repo: Canner/wren-engine


text:
competible, disturbedly

This pull request was generated by the 'mq' tool

/trunk merge

repo: Canva/mergequeue-trunk


text:
desmography, grandmama

This pull request was generated by the 'mq' tool

/trunk merge


text:
andronicus, fisherfolk

This pull request was generated by the 'mq' tool

/trunk merge


text:
feat: iOS - background mode, delay start of audio

Added support for background mode on iOS - must be enabled in iOS project capabilities.
Added option to delay start of audio - iOS only (for now!)

please merge it in main. I need this.

Thanks a lot !
i think you need to run npm run fmt and then i will be able to accept it !

ok, I have run and pushed.

Thanks a lot ,can you check your conflict as well ?

What happens with that now?

I don't know where the problem is right now, but I really need this feature urgently. Is there a status on whether it works in the current release or not?

Hey @lordrepha1980 I think this can be handled by a community member if you are willing to support it.
Usually between 30 to $50 would make someone want to make it happen in 3/4 days.

Sorry, I've been busy on other projects. Conflict should be resolved!

authors: lordrepha1980 riderx webdog-rich

repo: Cap-go/native-audio


text:
MultiSampleVideo 播放一段时间之后停止

（
问题描述：
使用MultiSampleVideo播放rtsp视频流时，过10分钟左右，视频停止播放
问题机型/系统：
魅族，华为等多个机型都有这个问题
Demo中的复现步骤
ListMultiNormalAdapter的视频播放地址为rtsp的视频直播地址，或者M3u8(http://live.hkstv.hk.lxdns.com/live/hks/playlist.m3u8)，播放四个视频，过一段时间之后，四个视频都停止播放

rtsp可能断了，是配置了option的tcp连接吗

https://github.com/CarGuo/GSYVideoPlayer/blob/master/QUESTION.md  - > 17、rtsp连接有问题

authors: CarGuo qiaoshouliang

repo: CarGuo/GSYVideoPlayer


text:
Exo内核播放mp4黑屏但有声音，ijk正常播放

问题描述：
exo内核播放mp4出现黑屏但有声音，ijk内核及vlc等播放正常。最新demo10.0.0表现也是如此。
是否能解决此问题，如果不能解决，该错误是否可以以回调通知到onPlayError。
出现问题的视频流
https://d16n6tdp1xddz9.cloudfront.net/share_moment/2024/11/18/1731896623_1280x720_-928feaa800ce4f16b01417287578c009.mp4
问题机型/系统：
真机 三星s20 Android13,  摩托罗拉g51 android12，等机器
GSY依赖版本
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer:v10.0.0
Demo中的复现步骤
Demo中1.切换到exo 2.使用URL打开视频。

如图，视频在 exo 内部最终无法解析出视频轨道，只解析出来了音频轨道，视频轨道没有解析出来，看起来应该是视频和 exo 内部解码判断逻辑的兼容问题

那请问针对这个情况以后会做错误回调通知到外层吗

exo 没有报错，就是丢弃了 track，简单看的话，可以通过判定 onPrepared 的时候，是否包含视频轨道来判断
.setVideoAllCallBack(new GSYSampleCallBack() {
                @Override
                public void onPrepared(String url, Object... objects) {
                    super.onPrepared(url, objects);
                    //设置 seek 的临近帧。
                    if (binding.detailPlayer.getGSYVideoManager().getPlayer() instanceof Exo2PlayerManager) {
                        IjkExo2MediaPlayer player = ((IjkExo2MediaPlayer) binding.detailPlayer.getGSYVideoManager().getPlayer().getMediaPlayer());
                        MappingTrackSelector.MappedTrackInfo mappedTrackInfo = player.getTrackSelector().getCurrentMappedTrackInfo();
                        boolean hadVideo = false;
                        if (mappedTrackInfo != null) {
                            for (int i = 0; i < mappedTrackInfo.getRendererCount(); i++) {
                                TrackGroupArray rendererTrackGroups = mappedTrackInfo.getTrackGroups(i);
                                if (C.TRACK_TYPE_AUDIO == mappedTrackInfo.getRendererType(i)) { //判断是否是音轨
                                    for (int j = 0; j < rendererTrackGroups.length; j++) {
                                        TrackGroup trackGroup = rendererTrackGroups.get(j);
                                        Debuger.printfError("####### Audio " + trackGroup.getFormat(0).toString() + " #######");
                                    }
                                } else if (C.TRACK_TYPE_VIDEO == mappedTrackInfo.getRendererType(i)) {
                                    for (int j = 0; j < rendererTrackGroups.length; j++) {
                                        TrackGroup trackGroup = rendererTrackGroups.get(j);
                                        Debuger.printfError("####### Video " + trackGroup.getFormat(0).toString() + " #######");
                                    }
                                    hadVideo = true;
                                }
                            }
                        }
                    }
                }

好的感谢

authors: CarGuo yin-haoran


text:
Error 429

Thank you for the tutorial. I think my IP got banned by Youtube. Any idea on how to do this on Mac? https://ramblings.fred.moe/2020/3/tunnelbroker-with-lavalink

you can run lavalink on docker to be able to do this on macos

429 means you've been ratelimited. Try waiting for little while (you may have to wait until tomorrow). If that doesn't work, or you don't want to wait, try Nitsuga's solution.

It's already 4 days I believe. Any link that I can read regarding the docker? I never use that before. Thanks

Try Googling it, or find a video tutorial. I don't have any on my channel, but I'm sure there are some out there.

https://docs.docker.com/docker-for-mac/install/
This is the install guide
https://hub.docker.com/r/fredboat/lavalink/
and this is the docker image to use

Oh ok. Thank you. Let me try to learn it

If you have any further issues, feel free to open a case in the support server.

authors: IamCLY nitsuga5124 parafoxia


text:
Expiry Year format

Is there a way i can enter the year as MM-YYYY

It seems like there is no possible way other than directly modify the mask value in the source code.

repo: CardJs/CardJs


text:
🐛 Resolved sorting of experiment list with mixed cases

Resolves #988
Earlier. the fix was working fine. But, the experiment list changed after archived state experiments and that new list had to be sorted as well.

I tested this and sorting seems to work as expected, including the Archived experiments. Let me know if there's any other things that should be tested.

I tested this branch and sorting seems to work as expected, including the Archived experiments. Let me know if there's any other things that should be tested.

@zackcl I guess then you can approve and merge this PR.

QA: @zackcl Can you please QA this?

QA: Passed

repo: CarnegieLearningWeb/UpGrade


text:
Publish documentation for beta release

From https://github.com/CartoDB/carto-vl/issues/64

[ ] Review documentation once again
[ ] Publish documentation in the developer center

outdated

repo: CartoDB/carto-vl


text:
Find a way to mark methods/properties that are being used by other components as publics

Right now, some parts of CartoDB.js are public and some others are private. For example, deep-insights.js is using the API to create a visualization and define some dataviews for each of the widgets and it also have access to those filters of those dataviews. It's therefore using some methods and properties that are public.
The problem is that there's currently no way to know that those methods are being used "externally". Anybody (CartoDB.js developers) could change them and break other apps that depend on them. We should find a way/convention to avoid this.

I think a comment line above the method would be enough. JSDoc notation has @public and @private, but we can use any other tag like @api (to denote a stable method we can use externally).

There has been no activity on this issue for several months and that's why we are closing it (automatically). If you think this still needs to be addressed please reopen it. The good news is that we are now working on the next version of CARTO.js, stay tuned.

authors: acanimal alonsogarciapablo nobuti


text:
[Dashboard] Cannot duplicate a dataset when visiting "Your Data" from the homepage

Steps to reproduce:

Go the HOME page.
Click VIEW ALL DATASETS.
Select on dataset.
Click "Duplicate dataset" in the bulk action menu.

Current result:
Nothing really happens:

Expected results:
The "import" should be enqueued and I should see that the dataset is being duplicated.

Fixed! 🎉

Thanks! 👏👏👏

authors: alonsogarciapablo jesusbotella

repo: CartoDB/cartodb


text:
importer does not guess types with csv has lot of columns

import this csv
1400000US55025000100,55025000100,"Census Tract 1, Dane County, Wisconsin",1401,118,1070,128,903,136,167,82,131,62,36,34,0,9,179,74,179,74,0,9,0,9,0,9,0,9,36,31,35,28,6,11,75,45

you will see how some columns are not guessed as integers

Not happening anymore! Closing.

authors: iriberri javisantana


text:
Number of rows is not reduced in public list of dataset

In the public list of a dataset, you can find something like:

While in the Editor it would be collapsed to 9.0M
@xavijam

+1

authors: iriberri saleiva


text:
Upgrade cartodb extension to 0.18.4

There was a problem with migration from 0.18.2 to 0.18.3

@rafatower it's not déjà vu, I need you to review another version upgrade

okay, and sorry about the previous review w/o added benefit

authors: jgoizueta rafatower


text:
13768 root url no domain

Closes #13768
Fix:

Make sure extract_subdomain returns '' if the domain doesn't match at all (instead of the domain)
Fallback to /login if no subdomain is given

Bonus:

Make subdomainless/subdomainful use the same code for consistency
Fix carto_db tests. They were very broken (tested only subdomainless due to excessive copypaste)

Acceptance 🍏

authors: alrocar javitonino


text:
Fixing translation for infowindow none template

Mustache templates don't know anything about _t functionality, and also interpolation was not correct. Do you think @alonsogarciapablo we could pass variables to the fields array? Any better idea?
CR: @alonsogarciapablo
cc @matallo
Fixes #9199.

Using .tpl (underscore template) instead of mustache, makes sense, idea by @alonsogarciapablo. What do you think?

👍

Merging, frontend tests ready 💋

authors: alonsogarciapablo xavijam


text:
update npm-shrinkwrap.json

@xavijam

UPDATE THE WORLD!

How did you update the shinkwrap file? manually or running a command? if the latter, which one? I Know that helps to review the change.

@viddo
I did
npm run preupdate-internal-deps
npm run update-internal-dept

👍 btw, preupdate is run implicitly on the 2nd command
That said, seem to have been changes in those updates that breaks some definitions… please look into those

Hey @viddo, we have not updated any dependency in deep-insights, last commit:
https://github.com/CartoDB/deep-insights.js/commit/37c7e5af2f2871bcfc7dd3c3380f0fdfebbdf683
It was only code.

BTW, could you (@viddo) help @gfiorav with those failed tests?

Ready to go then?

🚀 ;)

authors: gfiorav viddo xavijam


text:
Some Netflix profiles throw a 500 error when searching videos

Bug report
Your Environment

Netflix add-on version: 1.12.2
Operating system version/name:  LibreElec 9.2.6
Device model:  Raspberry Pi4

Used Operating system:

[ ] Android
[ ] iOS
[ ] Linux
[ ] OSX
[X] Raspberry-Pi
[ ] Windows

Describe the bug
My main Netflix profile works just fine, but when my wife searches for her shows using her profile, the addon throws an HTTP 500 api error.
Expected behavior
The list of search results should appear.
Actual behavior
500 Internal server error
Steps to reproduce the behavior

Star the netflix addon
Choose a secondary profile
Use the search function
enter a search term
Sit in disappointment as you get the error.

Possible fix

Debug log

Debug Log
Additional context or screenshots (if appropriate)
Other information

Screenshots

your log is without debug info,
please follow instruction steps from the Readme and post a new log

if no log will be provided this issue will be closed on next days

authors: CastagnaIT daveseff


text:
ImGui support

Bind imgui to haskell

Just needs individual gui elements binding as required

repo: Catchouli/tyke


text:
Compiler internal failure not reported

trait Warm
  fun welcome(): String => "Welcome!"

trait Cool
  fun goodbye(): String => "See ya~"

type Style is (Warm | Cool)

type MixStyles[A: Style, B: Style] is (A & B)
type MixThreeStyles[A: Style, B: Style, C: Style] is (A & B & C)

type Same[T: Style] is T

// Not special, just for contrast:
//actor Main is (Warm & Cool)  // OK
//actor Main is (Warm & Warm)  // Error: can't find declaration of 'goodbye'
//actor Main is Same[(Warm & Warm)]  // Error: can't find declaration of 'goodbye'
// Please mind:
//actor Main is MixStyles[Warm, Cool]  // OK
actor Main is MixStyles[Warm, Warm]  // Error: internal failure not reported
//actor Main is MixStyles[Warm, (Warm & Cool)]  // Error: internal failure not reported
//actor Main is MixStyles[(Warm & Cool), Warm]  // OK
//actor Main is MixStyles[Warm, MixStyles[Warm, Cool]]  // Error: internal failure not reported
//actor Main is MixStyles[MixStyles[Warm, Cool], Warm]  // OK
//actor Main is MixThreeStyles[Warm, Warm, Warm]  // Error: internal failure not reported
//actor Main is MixThreeStyles[Warm, Warm, Cool]  // OK
//actor Main is MixThreeStyles[Warm, Cool, Warm]  // OK
  new create(env: Env) =>
    env.out.print(welcome())
    env.out.print(goodbye())

Yep, that's hitting an assert on debug builds, definitely a compiler bug.
Thanks for reporting it!

It turned out to be an edge case that one of our AST manipulation functions wasn't handling properly.
Fixed!

authors: andymcn jakwings

repo: CausalityLtd/ponyc


text:
Shovel won't show as crucible

Maybe it's because I'm using DanceTools to spawn it in, but when I spawn the shovel, it just shows up as a regular shovel.

So after removing DanceTools and LethalDevMode it suddenly shows up like it should lmao

idk why this would be

I'll see if I can look at their code to see why

authors: Ccode-lang NexusFrostbite

repo: Ccode-lang/CrucibleShovel


text:
io.WantCaptureMouse

Hi there,
I think that ImGUI::GetIO().WantCaptureMouse should be true when any ring is highlighted I think. Otherwise, there's no way to know whether a click in your scene was meant to select something in the scene, or if it was meant for the gizmo.
Perhaps there are other flags like this that also need to be managed?
PS - I know there is IsOver() and IsUsing() on ImGuizmo, but I feel like WantCaptureMouse is part of the puzzle

Hi Nick,
You can use ImGuizmo::IsOver to detect when mouse is over an active part of the gizmo or if it is being used.
In my code I do:
bool overImGui = GImGui->HoveredWindow || ImGuizmo::IsOver();
if (io.MouseDown[0] && !overImGui)
{
// handle mouse for world selection, moving view,...
}
Once the mouse is 'captured' by the gizmo, IsOver will always return true....until a mouseUp event.

Okay, thanks! I will do it that way.

authors: CedricGuillemet meshula

repo: CedricGuillemet/ImGuizmo


text:
🛑 qinglong is down

In 9de81c5, qinglong (ql.hiripple.com) was down:

HTTP code: 530
Response time: 52 ms

Resolved: qinglong is back up in 832f1ed after 10 minutes.

repo: CelestialRipple/ripplelog


text:
🛑 Alist is down

In c2d8fc6, Alist (https://alist.hiripple.com) was down:

HTTP code: 502
Response time: 223 ms

Resolved: Alist is back up in 064ca5d after 18 minutes.


text:
Set up a database

Configure a database with the necessary tables

[ ] Populate the database
[ ] Set up the database connection

This seems to be blocking everything else (kinda).

Latest changes over in Vipul's PR #94.

(It's missing actually initializing the DB connection etc. before starting the app.)

authors: BenCapper nphilipp

repo: CentOS/duffy


text:
Spectra curation: download failed spectra tables

Option to download the tables shown in the "View spectra curation results" box.

Moved to "Discussions"


text:
[feature] Add s3 bucket server side encryption

Purpose:
Provide users the option to utilize Amazon's server side encryption (data at rest encryption).
Changes:

Add AddonS3NodeSettings.encrypt_uploads field
Modify S3 settings mako template and JS to allow encryption setting
Modify node config view to handle encrypt parameter
Add default setting for server side configuration

Side Effects:
None.
Notes:

Depends on PR: #3363
This PR updates the OSF. A sister PR will need to be submitted against Water Butler to ensure the correct headers are added to any putObject requests sent to buckets with the encryption policy active.
This PR takes a different approach and replaces PR: #3471 after a functional review with Chris.

This looks great to me - no bugs found. :star:
Is the sister PR for WaterButler done?

@lyndsysimon yep, it was merged sometime last week :)

Pass finished.

Pass finished.

Discussed on flowdock:

bucketLocations should be formatted :
Remove defaultBucketLocations

@sloria pending CI pass, ready for review

The removed setting breaks the current code. Please fix and do a quick functional test. Once that's done , I'll do next pass.

@sloria -- refactored tests/views. Tests passing locally and functional test worked fine -- created a bucket for each possible location

Note for deployment: will need to upgrade boto
sudo -u www-data `which pip` install boto==2.38.0

Not sure if this was in the proposal, but is there any reason we shouldn't encrypt uploads by default and remove the option to disable it? @HarryRybacki @lbanner @GaryKriebel

I would call in @bnosek to weigh in on that as well.

I would not have a problem with always encrypting updloads.

For context:

Is encryption on by default for S3 and boto? Will encrypting by default meet or violate the user's expectation?

^ @chrisseto may know the answer to that.

@sloria No it's not. It's an additional header we must send along with the request. It might, do we have a data agreement with our users?

I think we discussed this a bit before and decided that we wouldn't give users the choice - we'd just encrypt everything.  Because there is little performance impact in ordinary use (at least that is my understanding), there isn't a meaningful cost to always encrypting, and - further - we are doing more to save users from themselves.

Thanks for the feedback. @HarryRybacki , let's remove the checkbox for now.

@sloria ready for review

The buttons are out of order in the Create Bucket modal.

I'll fix the button order and language when I merge.

https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html

In the China (Beijing) and EU (Frankfurt) regions, Amazon S3 supports only Signature Version 4, and AWS SDKs use this signature version to authenticate requests.

Ah, good catch, @chrisseto. Would you advise removing that region from the
bucket list for now?
On Fri, Jul 31, 2015 at 11:15 AM, Chris Seto notifications@github.com
wrote:

https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html
In the China (Beijing) and EU (Frankfurt) regions, Amazon S3 supports only
Signature Version 4, and AWS SDKs use this signature version to
authenticate requests.
—
Reply to this email directly or view it on GitHub
https://github.com/CenterForOpenScience/osf.io/pull/3812#issuecomment-126722289
.

--
Harry Rybacki - Developer, Center for Open Science
Research: http://scinet.osf.io
Blog: http://rybacki.io
[image: http://github.com/harryrybacki]
http://github.com/HarryRybacki [image:
https://twitter.com/HarryRybacki] https://twitter.com/HarryRybacki [image:
http://www.linkedin.com/in/HarryRybacki/]
http://www.linkedin.com/in/HarryRybacki/ [image:
https://plus.google.com/+HarryRybacki]
https://plus.google.com/+HarryRybacki

@HarryRybacki Yes

authors: GaryKriebel HarryRybacki bnosek chrisseto lyndsysimon sloria


text:
Origin/feature/make swagger json links browsable

Purpose

Changes

Side effects

Ticket

It's Autumn Cleaning time, so I'm closing this PR. Feel free to re-open when development becomes active again.

authors: HalcyonChimera brianjgeiger


text:
[feature] Close ERPC [OSF-7843]

Purpose

Close ERPC by preventing new draft registrations from being created with the ERPC metaschema.

Changes

Add enabled boolean field to MetaSchema model and serializer.
Update ensure_schemas() to use Django's update_or_create().
Prevent draft registrations from being created with disabled metaschemas (in APIv1 and APIv2).

Side Effects / Notes

Existing ERPC draft registrations will still be able to be registered. See ticket for discussion.
The /v2/metaschemas/ endpoint will return only active metaschemas that are of the latest version.
The /v2/metaschemas/<schema_id>/ endpoint will return any metaschema, including previous versions and inactive schemas.

QA Notes

Confirm ERPC draft registrations cannot be created on the OSF or through the API.
Confirm ERPC is not returned from /v2/metaschemas/
Confirm 200 (not 404) when requesting ERPC detail (/v2/metaschemas/<erpc_schema_id>/)

Ticket

OSF-7843

Oof. This didn't fare well in the Merge Conflict wars of '17.

authors: brianjgeiger caseyrollins


text:
Remove unused APIv1 pointer endpoints [OSF-8108]

Purpose
It appears that the following endpoints are unused by the frontend and can therefore be removed:

POST /api/v1/pointers/move/
POST /api/v1/project//pointer/
DELETE /api/v1/folder//pointer/<pointer_id>

Changes

Remove those three routes
Remove views associated with those routes
Remove tests accessing those routes or views

Side effects
Doesn't look like any other code is accessing those pointer views, so none anticipated
Ticket
https://openscience.atlassian.net/browse/OSF-8108

Merged into feature/next-djangole.

authors: erinspace sloria


text:
CPU utilization

When the app is running the CPU usage gradually gets higher, after a long time (a few hours to a day) the CPU is nearly maxed out by the Java runtime. Suggesting there is a memory/cache "leak", and currently the app initialization would need to be reset manually or this caching reduced/dumped. I haven't seen whether the increased CPU use is directly related to the app getting refreshed during use, or whether this reflects the duration of time the app is running. My version of the app is refreshed 100+ times before this becomes an issue and usually is open 5+ hours before getting a reset.
task manager
these two articles suggest that this is a garbage collection issue
https://tech.asimio.net/2016/02/11/Troubleshoot-high-CPU-usage-in-Java-applications.html
https://stackoverflow.com/questions/15811411/high-cpu-utilization-in-java-application-why

I see we could force garbage collection with call to System.gc()

This issue seems to affect windows users using java 11 or higher. The issue is deep inside the javaxt-server library, somewhere in the jetty code.

authors: pborissow swordysrepo

repo: CentrifugeTech/BlueWave