RP2040: I2C async transaction() does not work, while write/read/write_read do

While developing on a project using the RP2040, I found a case where https://github.com/embassy-rs/embassy/blob/main/embassy-rp/src/i2c.rs#L716 does not correctly result in the transactions being emitted on the bus.
The convenience functions for write/read/write_read do work properly.
With the current code, calling transaction() with operations to do two write_read operations in two function calls results in an I2C bus:

Note the missing Write transaction on the second batch.
With the attached change, I2C now correctly inserted the second write operation again.

Testing with multiple devices on the bus showed that this was a permanent breakage for the bus even for other devices. Only the first chip got the first write, and then all other addresses only got a read transaction, despite calling for a write in the code. Ex here talking to non-existent devices to demonstrate:

And fixed:

I'm not sure if this breaks anything else (or if there are other cases elsewhere in the file that are broken the same way, or even if this is the right fix), but here's an attached patch that moves the setup call to be outside of the transaction loop. I don't understand why this makes a difference, but it does.
fix_i2c.patch

Yeah, sorry I didn't think of making a PR for this. It's just been opened as #1666.


Improved logging related to security

This is still true as of Olive Helps 0.27.7.
The logs give no detailed information if an aptitude requiring a permission in the package.json file is used, but permission has not been requested. There will be a generic log message about a permission violation, but nothing about the particular permission that was missing. The improved message could say, for example, that a network call was made to the domain foo.com and that permission was not requested for foo.com. Another would be that network access was attempted, but no network permissions were requested. Prefixing the error with Security error will make them easy to find.
A second class of helpful log messages would be messages detailing the use of a forbidden package not allowed by the sandbox, e.g. fs or process. The improved message would state the name of forbidden package, e.g. Security error: There was an attempted load of the package fs. This package is not allowed in the Olive Helps sandboxed environment.

Hello again, @KeithMHughesRoteraAI! Better logging is definitely on our radar as a priority, we'll keep you updated as we go forward with this.


Unable to change account Id on Tomodachi accout

I made a mistake typing it in when I first made the account and I've only just realised, I feel that for situations like this there should be an option to be able to change it, at least once

You can change your ID anytime unless you're verified.


Stop Default Redirect

Hi all,
Is there a way to stop default redirect or a way to render instead of redirect?
Thanks

Please ask such of questions in the StackOverflow. Use the issue tracker only for issues.


Format Headlines of All Pages

The headlines across various pages of the College.ai project are inconsistent in terms of formatting. To maintain a cohesive and professional appearance, it's essential to standardize the formatting of headlines across all pages.
Tasks:

Review and standardize the formatting of headlines in all pages.
Ensure consistency in font size, style, and capitalization.
Use appropriate markdown formatting for headlines.
Verify that all headlines accurately reflect the content they introduce or summarize.

please assign me this issue

Please assign me this issue


small error in setup.py requirements lists

At https://github.com/xraypy/xraylarch/blob/master/setup.py#L19, requests is listed as being a requirement for larch's XRD functionality.  It should be listed in required_modules instead as it is used outside of the XRD functionality.
I found that, after a git pull, larch was non-functional until I used pip to install requests.

@bruceravel @margaretkolbeannellen  OK, will do.   Even if it is really only used in the XRD code, it's an easy enough dependency to meet.

fixed.


Convert u8 to char (necessary since rand 0.8)

This fixes one breaking skeptic test due to a change in the type of Alphanumeric between rand 0.7 and rand 0.8.

I think this PR needs to be merged. I could not understand why the checks failed. The trace seems to be from something unrelated.

Thanks @djc


libphpcpp.a/so in a subfolder of the home dir?

Is there a possibilty to use libphpcpp.so or libphpcpp.a loocally on a webserver without storing it in /usr/lib or /usr/local/lib? (Because I have no admin permissions) Rather I want to store the libphpcpp.a/so locally in in a subfolder of ma home directory. The g++/ld looks for libraries in /usr/lib etc. That's a problem. Changing the bash_profile file (LD_LIBRARY_PATH=~/lib and export LD_LIBRARY_PATH) doesn't seem to have any effect.

No. You must own the webserver to be able to tell it to run unprotected native code. It would be a security leak if regular users could to do this too.

@Haasrobertgmxnet, try passing -Wl,-rpath option to the linker.


[4.5] config: update env

Description

delete items that are not expected to change with the environment

Checklist:

[x] Securely signed commits
[] Component(s) with PHPDoc blocks, only if necessary or adds value
[] Unit testing, with >80% coverage
[] User guide updated
[] Conforms to style guide

For some reason, this PR is incredibly popular!


Add onBackdropClick to the ModalRoute props

It will be nice to disable or change the default behaviour of the onBackdropClick in ModalRoute

Added in v1.3.3. For now, the handler is invoked with no arguments (so no event for preventDefault, etc.) Let mw know if you have any other suggestions.


Tutorial - Angular 1 - Step 5 and up: Maximum call stack size exceeded

While i was debugging my own application using the tutorial as a guide, i discovered that from step 5 onwards, there is a 'Maximum call stack size exceeded' when you select the body tag in devtools Chrome. At first i saw the message on my local machine, but the online version http://socially-step05.meteor.com/parties also has this error/message.
The stack message is:
RangeError: Maximum call stack size exceeded
    at String.toLowerCase (native)
    at Function.ie.acceptData (http://socially-step05.meteor.com/5a6fa3105e364deaaef1390ec36176faaa2adab1.js?meteor_js_resource=true:68:9993)
    at c (http://socially-step05.meteor.com/5a6fa3105e364deaaef1390ec36176faaa2adab1.js?meteor_js_resource=true:66:1621)
    at Function.ie.extend.data (http://socially-step05.meteor.com/5a6fa3105e364deaaef1390ec36176faaa2adab1.js?meteor_js_resource=true:68:10371)
    at o.scope (http://socially-step05.meteor.com/5a6fa3105e364deaaef1390ec36176faaa2adab1.js?meteor_js_resource=true:82:31941)
    at Me.(anonymous function) [as scope] (http://socially-step05.meteor.com/5a6fa3105e364deaaef1390ec36176faaa2adab1.js?meteor_js_resource=true:84:1337)
    at getScope (<anonymous>:30:46)
    at getScope (<anonymous>:35:14)
    at getScope (<anonymous>:35:14)
    at getScope (<anonymous>:35:14)

This also happens on my local machine. I downloaded the step 5 zip and even after updating to 1.3.1. the problem still exists.

Did some further investigation: The problem appears directly after including the angular package in step 0.5 and disappears again in step 11 when module initialization is changed.
To see the error message:

follow tutorial up to the 'meteor add angular'
in devtools select html tag and check the $scope

Looks like there is an infinite loop in angular_angular.js when the app isn't setup 'properly'...

@gjr-qm , I cant see it in my localhost or in the deployed version.
Just deployed a new version with 1.3.1, can you check it now in the online version?
Thanks.


Put cleanup in finally block so if process throws exception we cleanup

We like to have the cleanup to be called if process throws an exception.

@sliu008  -- thanks for the contribution!.   This change looks fine, but should have an explicit unit test/CHANGELOG entry to merge.  I'll set-up the contribution branch and CHANGELOG entry, and will see if I can take a look at adding a unit during the IP, if one isn't added sooner.


Updated workflow

Pull Request Test Coverage Report for Build 521957315

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 88.818%

Totals

Change from base Build 520095257:
0.0%

Covered Lines:
3074

Relevant Lines:
3461

💛  - Coveralls

Pull Request Test Coverage Report for Build 521957315

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 88.818%

Totals

Change from base Build 520095257:
0.0%

Covered Lines:
3074

Relevant Lines:
3461

💛  - Coveralls


Rust rebase signoff

What this PR does / why we need it:
Special notes for your reviewer:
If applicable:

[ ] this PR has an associated PR with documentation in akri-docs
[ ] this PR contains unit tests
[ ] added code adheres to standard Rust formatting (cargo fmt)
[ ] code builds properly (cargo build)
[ ] code is free of common mistakes (cargo clippy)
[ ] all Akri tests succeed (cargo test)
[ ] inline documentation builds (cargo doc)
[ ] all commits pass the DCO bot check by being signed off -- see the failing DCO check for instructions on how to retroactively sign commits

tested and pushed, closing...


First and last bars in bar chart are cropped

Hi, just started using this library and am loving it.
I've found an odd issue that appears to be caused by the way I'd like to structure my data.
It might be similar to this previous issue:
https://github.com/apexcharts/apexcharts.js/issues/280
I started with this example that works the way I want:
https://apexcharts.com/javascript-chart-demos/column-charts/column-with-data-labels/
Then I restructured the data to be the way I'd like it, example code in this repo:
https://github.com/ashleydavis/apex-charts-example
Now my first and last bars are cropped:

Is this a bug or is this a mistake in the way that I'm using it?
Thanks so much.

This is the code that renders the chart with the cropped bars:
var chartDef = {
    chart: {
        type: 'bar',
    },
    series: [{
        name: 'Inflation',
        data: [
            { x: 0, y: 2.3 },
            { x: 1, y: 3.1, },
            { x: 2, y: 4.0,  },
            { x: 3, y: 10.1,  },
            { x: 4, y: 4.0,  },
            { x: 5, y: 3.6,  },
            { x: 6, y: 3.2,  },
            { x: 7, y: 2.3,  },
            { x: 8, y: 1.4,  },
            { x: 9, y: 0.8,  },
            { x: 10, y: 0.5,  },
            { x: 11, y: 0.2 },
        ]
    }],
};

var chart = new ApexCharts(document.querySelector("#chart"), chartDef);

chart.render();

Sorry for the late response.
The fix for the candlestick issue which you referenced was for datetime x-axis.
If you're seeing this issue in a numeric x-axis, I will take another look.
You can also avoid it by converting x-axis to category (if you're not plotting linear/datetime data). I will show an example soon.

Adding this would prevent the cropping of the first and last bar
   xaxis: {
      type: 'numeric',
      tickAmount: 'dataPoints'
    }

Thanks adding type: 'numeric' does the job.
I'm integrated ApexCharts into my application:
http://www.data-forge-notebook.com/
I've love to give you a free copy of it and be able to get your feedback ;)

Sorry for the late response, I missed your last message.
Sure, I would love to try it out ;)

Awesome. Please send me an email to<EMAIL_ADDRESS>then I'll have your email and I can sign you for a free copy of Data-Forge Notebook.

@junedchhipa I'm having the same problem, but can't change my type to numeric or category as I have a large data set, and when changing it to one of these, I get lots of labels that overlap one another (even when hideOverlappingLabels is used, or tickAmount is a number like 10, it still shows them all).
For me, only the last column is cropped off

Should this be a new issue?

Hello..may I get help why my graph is showing 23rd instead of 1st..This occurs for every month in apex chart.


extractStyles not working when script tag is in partial

When including a partial in a view and the partial has script tags inside it, they don't get extracted to the end of the page. Is this a bug or am I supposed to do it another way? I've enabled the layout extractStyles option in app.set

Can you write a unit test showing the failure?

I have the same issue
My external js script in inside the header of the layout.ejs and whenever I enter in index/Home page the script works fine but as i click the other page in the website then this error occurs:
"GET http://localhost:3000/books/javascripts/fileUploads.js net::ERR_ABORTED 404 (Not Found)"
Kindly help!!


⚠ 366.ru has degraded performance

In fe57dac, 366.ru (https://366.ru) experienced degraded performance:

HTTP code: 200
Response time: 2067 ms

Resolved: 366.ru performance has improved in a1cc95b.


Barcode Type

How can i set the type of the barcode to scan, if i want to scan only QRCodes, how to do it?

Right now you can't. But this will be available in the next release later today. I will update the readme file too.

Released in 0ccd161


[Fabric] Game Crashes with Error java.lang.RuntimeException on Launch

Fabric Version: 0.14.24
Minecraft / Mod Version: 1.20.2

Whenever launching the game, it immediately crashes on startup, and returns me the error stated in the title:
java.lang.RuntimeException: Could not execute entrypoint stage main due to errors, provided by rightclickharvest
Here is the logfile Minecraft gave me, if that helps.
rightclickharvest-error.txt

You probably need to update JamLib

Aight, I'll try it tomorrow. Thanks for the help! 😃

Assuming fixed, feel free to reopen if that isn't the case


lnwallet+rpc: allow unconfirmed transactions to be returned over RPC, fix SubscribeTransaction unconf for neutrino

In this PR, we add a new test to the set of lnwallet integration
tests. In this new test, we aim to ensure that all backends are able to
display unconfirmed transactions in ListChainTransactions. As of this
commit, this test fails as no backends will return unconfirmed
transactions properly.
In this PR, we fix a bug in the arguments to GetTransactions for the
btcwallet implementation of the WalletController interface. Before this
commit, we wouldn't properly return unconfirmed transactions. The issue
was that we didn't specify the special mempool height of "-1", as the
ending height. The mempool height is actually internally converted to
the highest possible height that can fit into a int32.
In this commit, we set the start to zero, and end to -1 (actually
2^32-1) to properly scan for unconfirmed transactions.
In this PR, we also add a new test to ensure that all backends will
properly send out notifications when an unconfirmed transcation that we
send is inserted into the tx store. Before we updated the btcwallet
build commit in dep, this would fail for neutrino but now passes.
Fixes #1422.

Yay


Sorry, we can't find that page

Problem description

Problem location

I saw a problem on the following URL:

I couldn't find the information I wanted. I expected to find it near the following URL:

Other:

Project version(s) affected

Suggestions for a fix

when opening pages getting error as Sorry, we can't find that page.

Do you have a link to the page that failed to load?

@prime123  Thank you for your feedback. There doesn't seem to be enough details in the issue for us to work on. If this really is a documentation issue and I have misunderstood, please reopen it with more information.


Handle complex types when decompressing/compressing

Changes CMSG_AUTH_SESSION to decompress addon_info into a Vec instead of a Vec, and implements the sending of SMSG_ADDON_INFO from the example vanilla server.
TODO:

[ ] Update test for CMSG_AUTH_SESSION to include the correctly parsed version of a normal Blizzard addon packet.

I think quite a lot of stuff was changed in the doc_printer while I was working on this, so my rebase ended up pretty broken, will need to revisit this and get it working again.

I think quite a lot of stuff was changed in the doc_printer while I was working on this, so my rebase ended up pretty broken, will need to revisit this and get it working again.

Oh yeah, sorry, I have done quite a bit of refactoring to avoid having to pass around literally everything through the Objects object. Let me know if you need any help or pointers.

There's one problem left in this PR:
The size in the header is calculated by using .size() on the struct, which results in a calculation that reflects the uncompressed size of the struct instead of the compressed size.
When I was just compressing a Vec member, this was a simple fix, because I could just alter the print_size_impl to have a different case when dealing with a struct member with the "compressed" tag.
Now that the member is actually a struct, it calls .size() on AddonInfo instead, and inside the size impl of AddonInfo we have no way of accessing the tags that were set on the member.
Will think about this some more, but maybe size should be aware of the tags (if any) used in the parent to describe it?


Add a link to KUDO Github

Currently there is no link to the KUDO Github repo. Let's add one under getting started or potentially on every page.

Fixed by kudobuilder/kudo#148


Update connect to make it more extensible

I've attempted to refactor connect to provide additional (optional) exports that would allow the user to easily create a custom Connect class. This allows the user to override specific parts of Connect while maintaining all the existing caching and update logic. Here is an example of usage:
import { Connect, createConnect } from 'react-redux/components/connect'

class MyConnect extends Connect {
  handleChange() {
    if (!this.unsubscribe) {
      return
    }

    const prevStoreState = this.state.storeState
    const storeState = this.store.getState()

    if (!this.pure || prevStoreState !== storeState) {
      this.hasStoreStateChanged = true
      return new Promise((resolve) => { this.setState({ storeState }, resolve) })
    }
  }
}

export default createConnect(MyConnect)

In this example I've overridden the handleChange method to return a Promise that resolves when the changes have been flushed to the DOM.
You then just use this custom connect method to decorate your components instead of the default one from react-redux.
All but one of the tests are passing, but I'm interested in getting feedback on this before working on it further.

Inheritance is generally problematic, and especially so when mixed with a functional paradigm. React components should not create class hierarchies, and even for this use case we don’t want to do that.
To solve #269, I would much prefer to extract the core logic from connect() so it can become a simple wrapper that is easy to write on your own with custom logic.

@gaearon thanks for the quick feedback. I'm really interested in getting something that works for this, but it seems you have pretty specific ideas about how it should work. Would you mind giving a little bit more guidance on how you'd like to see this structured? Happy to put the work in to get to something useful. I'm struggling to see how to get a clean API here with out inheritance when so many lifecycle methods are involved. We could double wrap the component but that seems even worse to me.

Something like subscribeComponentToStateChanges(store, callback, mapStateToProps, mapDispatchToProps, mergeProps, options)?

@mhodgson yes i'd also prefer to avoid inheritence but rather use composition / strategy pattern, where the default strategy remains compatible with current behavior.


It is time to add registry to nacos?

[ ] I have searched the issues of this repository and believe that this is not a duplicate.
[ ] I have checked the FAQ of this repository and believe that this is not a duplicate.

Now nacos is open sourced. I think it is time to develop registry to nacos

You're right. We are communicating with Nacos team for this task. Stay tuned pls.

@diecui1202 I'm trying to finish the task, but I find it not so easy.

We are going to close this issue. Feel free to reopen it if necessary.
&READY-TO-CLOSE&

yeah.I want join it. it's powerful feature.


Add exportTo() alias to avoid reserved word issues

export is a reserved word in JavaScript, so it is illegal to use it as
an identifier. Many linting tools will complain about a regular call to
export(module), requiring the following (ugly) fix:

).export(module);

)['export'](module);

To encourage good style while maintaining backwards compatibility,
the exportTo(module) alias can be used as a syntactically valid
replacement for export(module).
Closely related issue/fix in vows:
https://github.com/cloudhead/vows/issues/27
https://github.com/cloudhead/vows/commit/398443dab28d4ed3aa313bdf22915df097a9a451

Thanks. Cherry-picked. Published in<EMAIL_ADDRESS>


Depth function not working properly

Required Info

Camera Model
{ D445 }

Firmware Version
<IP_ADDRESS>12

Operating System & Version
Windows 10

Kernel Version (Linux Only)
n/a

Platform
python on windows (pycharm)

SDK Version
2.45.0

Language
python

Segment

Issue Description
I am trying to write a program that will return the depth of your hand. I am using media pipe to track your hand location, specifically your wrist. With the XY coordinates of your wrist, I am using the get_distance function to get the depth, but its just not accurate. It is only accurate in a straight line in front of the camera. If  I put my hand anywhere else, it just says 0 or really far away.
Things to note: Open Media normalizes the coordinates of your hand (each x and y is between 0-1). Then I multiply the results by whatever my resolution is, which gives me the exact position of my hands. I have written the program to show a blue dot of the point that is being tracked. This is to confirm that it is actually trying to get the depth of my hands.
My frames are aligned. I am making sure I am getting the depth from my depth frame.
What am I doing wrong?

it only works in this one area.  If I move away from the middle, it stops working. I can confirm that the blue dot is following my wrist. The coordinates of the blue dot are the exact same coordinates that I am feeding into the depth function.
The code:
import pyrealsense2 as rs
import numpy as np
import cv2
import mediapipe as mp

mp_drawing = mp.solutions.drawing_utils
mp_hands = mp.solutions.hands

pipeline = rs.pipeline()

config = rs.config()

pipeline_wrapper = rs.pipeline_wrapper(pipeline)
pipeline_profile = config.resolve(pipeline_wrapper)
device = pipeline_profile.get_device()
device_product_line = str(device.get_info(rs.camera_info.product_line))

config.enable_stream(rs.stream.depth, 1280, 720, rs.format.z16, 30)

if device_product_line == 'L500':
    config.enable_stream(rs.stream.color, 960, 540, rs.format.bgr8, 30)
    print("YEAHEH")
else:
    config.enable_stream(rs.stream.color, 1280, 720, rs.format.bgr8, 30)

profile = pipeline.start(config)

depth_sensor = profile.get_device().first_depth_sensor()
depth_scale = depth_sensor.get_depth_scale()
print("Depth Scale is: ", depth_scale)

 (THIS IS REDUNDANT, I am going to delete it)
clipping_distance_in_meters = 2.5  # 1 meter
clipping_distance = clipping_distance_in_meters / depth_scale

align_to = rs.stream.color
align = rs.align(align_to)

##so it does not crash on start
WRIST_X = 9
WRIST_Y = 9
WRIST_Z = 1

with mp_hands.Hands(
        min_detection_confidence=0.5,
        min_tracking_confidence=0.5) as hands:
    try:
        while True:
            # Get frameset of color and depth
            frames = pipeline.wait_for_frames()

            ### Align the depth frame to color frame
            aligned_frames = align.process(frames)

            # Get aligned frames
            aligned_depth_frame = aligned_frames.get_depth_frame()
            color_frame = aligned_frames.get_color_frame()

            # Validate that both frames are valid
            if not aligned_depth_frame or not color_frame:
                continue

            depth_image = np.asanyarray(aligned_depth_frame.get_data())
            color_image = np.asanyarray(color_frame.get_data())

            # Remove background - Set pixels further than clipping_distance to grey-i dont need this
            grey_color = 153
            depth_image_3d = np.dstack(
                (depth_image, depth_image, depth_image))  # depth image is 1 channel, color is 3 channels
            bg_removed = np.where((depth_image_3d > clipping_distance) | (depth_image_3d <= 0), grey_color, color_image)

            # Render images:
            #   depth align to color on left
            #   depth on right
            depth_colormap = cv2.applyColorMap(cv2.convertScaleAbs(depth_image, alpha=0.03), cv2.COLORMAP_JET)
            images = np.hstack((bg_removed, depth_colormap))

            cv2.namedWindow('Align Example', cv2.WINDOW_NORMAL)
            cv2.imshow('Align Example', images)

            key = cv2.waitKey(1)

            ####Hand/wrist Tracking

            # Flip the image horizontally for a later selfie-view display, and convert
            # the BGR image to RGB.
            color_image = cv2.cvtColor(cv2.flip(color_image, 1), cv2.COLOR_BGR2RGB)
            # To improve performance, optionally mark the image as not writeable to
            # pass by reference.
            color_image.flags.writeable = False
            results = hands.process(color_image)

            color_image.flags.writeable = True
            color_image = cv2.cvtColor(color_image, cv2.COLOR_RGB2BGR)

            if results.multi_hand_landmarks:
                for hand_landmarks in results.multi_hand_landmarks:
                    mp_drawing.draw_landmarks(
                        color_image, hand_landmarks, mp_hands.HAND_CONNECTIONS)

                    # MediaPipe normalizes the x and y coordinates to be between (0,1). This is why we multiply each
                    # coodrinate by the resolution in each axis.

                    WRIST_X = (hand_landmarks.landmark[mp_hands.HandLandmark.WRIST].x) * 1280
                    WRIST_Y = (hand_landmarks.landmark[mp_hands.HandLandmark.WRIST].y) * 720

                    ## This is to prevent the program from crashing
                    if (WRIST_X > 1280):
                        WRIST_X = 1279

                    if (WRIST_X < 0):
                        WRIST_X = 0

                    if (WRIST_Y < 0):
                        WRIST_Y = 0

                    if (WRIST_Y > 720):
                        WRIST_Y = 719

            WRIST_X = int(WRIST_X)
            WRIST_Y = int(WRIST_Y)
            depth_wrist = aligned_depth_frame.get_distance(WRIST_X, WRIST_Y)
            print("Wrist X: ", WRIST_X, "Wrist Y:", WRIST_Y, "Wrist Z:", depth_wrist)

            cv2.circle(color_image, (WRIST_X, WRIST_Y), 4, (255, 0, 0), -1)  ##This is the blue dot
            cv2.imshow('MEDIAPIPE', color_image) ## this shows the image with the hand tracking

            # Press esc or 'q' to close the image window
            if key & 0xFF == ord('q') or key == 27:
                cv2.destroyAllWindows()
                break
    finally:
        pipeline.stop()

Hi @Swazir9449   A deviation in measured depth at the sides of an image compared to correct values at the center is a known possibility when using get_distance with an aligned image.  The links below provide past reported examples of this effect.
https://github.com/IntelRealSense/librealsense/issues/7395
https://github.com/IntelRealSense/librealsense/issues/7925#issuecomment-751318128
https://github.com/IntelRealSense/librealsense/issues/6749#issuecomment-653548150
When performing alignment and also using post-processing filters, it is recommended that alignment is carried out after application of post-processing, which was the solution in one of the cases linked to above.
https://github.com/IntelRealSense/librealsense/issues/7395#issuecomment-698016942
Whilst you do not seem to be using the RealSense SDK's built-in post-processing filters, I note that the background is removed and the image flipped horizontally after alignment has been initiated.  Could you try moving alignment to a point in the script after the flip, and also test commenting out the image flip line to confirm whether or not doing so has a negative effect on the depth measurements.
It should also be noted that for the D455, the optimal depth accuracy resolution is 848x480 rather than 1280x720.

Hi @MartyG-RealSense,
I was able to fix the problem by removing the horizontal image flip. This was inside the code to make the left and right hand identification make sense. I can apply this later on. Thank you so much for helping me fix this code.
I have a question: Does the use of post-processing filters actually improve the accuracy of the depth function? I read on another github support request that post-processing filters are only for human viewing pleasure and the depth data doesn't actually change.
I am okay with using 840x840. I tried to input that into my code but it just gives me this error. (In this separate piece of code (different than the one above) I am just trying to get two camera streams working side by side, which they do when the resolution is set to 1280x720)
Note: even when I insert try 840x840 in the above code, I still get the same error.
The code (where I am trying to get just two cameras working side by side, which works when the resolution is 1280x720) :
import pyrealsense2 as rs
import numpy as np
import cv2
Configure depth and color streams...
...from Camera 1
pipeline_1 = rs.pipeline()
config_1 = rs.config()
config_1.enable_device('105322251827')
config_1.enable_stream(rs.stream.depth, 840, 840, rs.format.z16, 30)
config_1.enable_stream(rs.stream.color, 840, 840, rs.format.bgr8, 30)
...from Camera 2
pipeline_2 = rs.pipeline()
config_2 = rs.config()
config_2.enable_device('105322250790')
config_2.enable_stream(rs.stream.depth, 840, 840, rs.format.z16, 30)
config_2.enable_stream(rs.stream.color, 840, 840, rs.format.bgr8, 30)
Start streaming from both cameras
pipeline_1.start(config_1)
pipeline_2.start(config_2)
#Alignment
align_to = rs.stream.color
align = rs.align(align_to)
try:
while True:
    # Camera 1
    # Wait for a coherent pair of frames: depth and color
    frames_1 = pipeline_1.wait_for_frames()
    aligned_frames_1 = align.process(frames_1)
    aligned_depth_frame_1 = aligned_frames_1.get_depth_frame()
    #depth_frame_1 = frames_1.get_depth_frame()
    color_frame_1 = aligned_frames_1.get_color_frame()
    hands = aligned_frames_1.get_color_frame()
    if not aligned_depth_frame_1 or not color_frame_1:
        continue
    # Convert images to numpy arrays
    aligned_depth_image_1 = np.asanyarray(aligned_depth_frame_1.get_data())
    color_image_1 = np.asanyarray(color_frame_1.get_data())
    #hands_image_1 = np.asanyarray(color_frame_1.get_data())
    #Apply colormap on depth image (image must be converted to 8-bit per pixel first)
    depth_colormap_1 = cv2.applyColorMap(cv2.convertScaleAbs(aligned_depth_image_1, alpha=0.5), cv2.COLORMAP_JET)

    # Camera 2
    # Wait for a coherent pair of frames: depth and color
    frames_2 = pipeline_2.wait_for_frames()
    aligned_frames_2 = align.process(frames_2)
    aligned_depth_frame_2 = aligned_frames_2.get_depth_frame()
    # depth_frame_2 = frames_2.get_depth_frame()
    color_frame_2 = aligned_frames_2.get_color_frame()
    hands1 = aligned_frames_2.get_color_frame()
    if not aligned_depth_frame_2 or not color_frame_2:
        continue
    # Convert images to numpy arrays
    aligned_depth_image_2 = np.asanyarray(aligned_depth_frame_2.get_data())
    color_image_2 = np.asanyarray(color_frame_2.get_data())
    #hands_image_2 = np.asanyarray(color_frame_2.get_data())
    # Apply colormap on depth image (image must be converted to 8-bit per pixel first)
    depth_colormap_2 = cv2.applyColorMap(cv2.convertScaleAbs(aligned_depth_image_2, alpha=0.5), cv2.COLORMAP_JET)

    # Stack all images horizontally
    #images = np.hstack((color_image_1,color_image_2))

    # Show images from both cameras

    cv2.imshow('RealSense', images)
    #cv2.imshow('left', color_image_1)
    #cv2.imshow('right', color_image_2)

    cv2.waitKey(1)

    # Save images and depth maps from both cameras by pressing 's'
    ch = cv2.waitKey(25)
    if ch == 115:
        cv2.imwrite("my_image_1.jpg", color_image_1)
        cv2.imwrite("my_depth_1.jpg", depth_colormap_1)
        cv2.imwrite("my_image_2.jpg", color_image_2)
        cv2.imwrite("my_depth_2.jpg", depth_colormap_2)
        print("Save")

    #distance = rs.depth_frame.get_distance(aligned_depth_image_1, 650, 340)
    #print(distance)

finally:
# Stop streaming
pipeline_1.stop()
pipeline_2.stop()

How can I use 840x840?

It is great to hear that you were successful in correcting your depth problem!
840x840 is not a resolution that is supported by RealSense.  The closest supported resolution is 848x480
In regard to post-processing filters: they can play an important role in performing image enhancement such as reducing noise, stabilizing fluctuations, removing unwanted depth detail using minimum and maximum depth distances, and filling in holes and gaps.  So they are more important than being for the purposes of visual pleasure.
It is fair to say though that there are other factors, such as lighting, environment and distance of an observed object from the camera, that will be a primary influence on the accuracy of depth measurements rather than post-processing filters.

Hi @Swazir9449  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


Missing "./src/types/StepEntity" export in "v-onboarding" package

Describe the bug
I'm receiving the error Missing "./src/types/StepEntity" export in "v-onboarding" package when starting local development server.
To Reproduce
Steps to reproduce the behavior:

Use latest v.2.0.0 version of this library
Add import type { StepEntity } from 'v-onboarding/src/types/StepEntity' to .ts file
Start local Vite dev server
Error appears during local startup

Additional context
I don't believe this error occurred with the previous version of this library, was the StepEntity type export changed?

Dumb mistake on my part. I hadn't merged code from the branch containing the v2 upgrade into my current branch, which meant I was still on the previous version! Closing this issue.

Hey @jimmiejackson414, no worries :) I was looking into the issue. I'm glad you solved it 👍

@fatihsolhan thanks for being so responsive, and for the killer library!


Updating kubelet kube-proxy and kubectl to 1.7.2

Existing steps were referring to 1.6.1, since the control plane components are already 1.7.2, it would be better to move worker components to 1.7.2 as well.

I've updated all the docs. This should be fixed now.


Unescape html escape characters in reddit text and titles

Use html.unescape to replace html escape characters with their Unicode equivalent in reddit text and titles.
Examples:

@asleep-cult Will you be continuing this PR?

We'll merge this for the time being, should be fixed in Reddit migration to Sir-Lancebot.


Avoid inline styles with !important

Describe the new a11y feature or project enhancement

Users may define their own stylesheet for accessibility purposes. Inline styles can only be overridden using !important, and inline styles with !important cannot be overridden via a user stylesheet, so they should be avoided.
From WebAIM: "To improve accessibility, end users may change browser default styles and may define custom styles that override any other styles in the "cascade". Pages must be adaptable and flexible to end user style customizations."
Describe the solution you'd like

Show an error/warning if inline styles are present and they have an !important, as users won't be able to override those styles with a custom stylesheet. The CSS rule could be like this:
[style*="!important"] {
  /* error/warning */
}

Link(s)

WebAIM: Accessible CSS
MDN attribute selectors
MDN: The important exception

This sounds like a fantastic feature!!!

Can I take this one? I know I have a different one assigned, but it is "blocked" by the SCSS change


Make Prodash "impl prodash::Progress" optional?

Not everyone may be interested in using Prodash, or creating an instance of impl prodash::Progress before calling our render function. So wrapping that paramater in an Option may make more sense.

What do you think of this @Byron? Is this a good idea or is there a better way to do this?

Even though I don't fully understand the problem, I think what you might be looking for is DoOrDiscard.
It's easy to ignore progress entirely with Discard as well.
A program that uses Discard will pay nothing for progress handling as all operations are no-ops. In applications that support turning progress on or off, DoOrDiscard is usually the solution, along with bringing up the renderer conditionally.


Some problem for installing ’pip install torch-geometric‘

It looks like it cannot found the pytest-runner package. You can try to install it before installing torch-geometric.


Random example PR branch

Example (empty> pr
Affected area:

CI System              [X]

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
No

/runScale


Implement Node support

Demo: https://codepen.io/pento/pen/OJjZPgE
Fixes #4.
Uses the canvas package, which provides a Node implementation of <canvas>, as well as some basic Image support (sufficient for these purposes, at least).
When running in the browser, it provides a small shim that maps to document.createElement('canvas') and document.createElement('img').
Where Stickerify currently takes a HTMLImageElement and returns a HTMLCanvasElement, running it in Node.js will cause it to take an Image object, and return a Canvas object, both defined by the canvas package.
Here's an example of Node usage (I've also added this to the README):
const { stickerify } = require("stickerify");
const { loadImage } = require( "canvas" );
const { writeFile } = require( "fs" );

loadImage("https://raw.githubusercontent.com/markus-wa/stickerify/main/example/input.png")
	.then(image => stickerify(image, 3, "white"))
	.then(image => stickerify(image, 1, "grey"))
	.then(canvas => writeFile("output.png", canvas.toBuffer(), err => console.log(err || "done")));

Great work!
I'll have a closer look later this week, but one thing that bothers me is that we have to turn the images into data-URL strings, which has a high overhead (~33% data size increase and time to encode/decode).
Ideally the API would take and return one of the following:

byte array
reader / writer Streams
abstract cross-environment "image" type

the least one would be my preference.
some things to look at - maybe that will help solve this issue:

does canvas have a type for this?
https://github.com/lovell/sharp
https://github.com/oliver-moran/jimp

we could also use the above libraries instead of canvas - not sure.

also a tiny minor request - could you make sure all the indentation is consistent across the code? :innocent:

ah - I just realised now that the only reason we'd need a promise-based API is if we're loading remote images.
so yeah sorry, I got myself a bit confused!
but basically - can we split this into multiple functions? It would be good to have a func that doesn't do promises, but rather just the pure transformation and then we provide a wrapper that adds image loading via promises as a utility.

Thanks for the feedback, @markus-wa. 🙂 I've re-thought it a bit, and realised it's just as straightforward for the image loading to be done before passing the image to Stickerify: this removes the API breakage that I'd originally proposed.

also a tiny minor request - could you make sure all the indentation is consistent across the code?

No worries, I think I've fixed it all up, but please double check it. If you happen to have a linting config you could add to the project, that'd be super helpful. 🙂

Thanks @pento - that looks and sounds all good to me!
I will add a linting config later this week and make sure all the code is compliant with that :slightly_smiling_face:
But for now I'll merge it as is!

just published v0.2.0 with this change :rocket: - thanks again!


Backup and restore a12 and A11 rules for User backing up user preferences

Closing due to inactivity. If you still wish to submit this change you can create a new PR.


Project Wiki as first-class citizen in Repository

Feature Description
Wiki's are not just scratchpads to dump random notes. They are integral part of the project. Yet both Github and Gitea offer wiki's as sort of 2nd-class citizens by not integrating deeply with the rest of the feature set.
Project wiki's are ideal to:

Maintain Living Documentation owned by the dev team (those with edit privilege).
Because it is low-barrier to keep in sync (no PR'ing required).
Making it ideal for Readme Driven Development (well, .. in the wiki then :)

Were it not that wiki's aren't really integrated. As a result most wiki's encountered in-the-wild are silent backwaters where once a diligent developer documented something, and then the chore of keeping it up-to-date was too high.
Wiki integration
Some places where deeper integration is desirable (there may be more):

[ ] Ability to reference Issues and PR's from wiki commit msgs (e.g. docs: updated 'techstack' wiki page (#201))

The cross-reference entry becomes visible on the referenced Issue / PR just like for regular code commits

[ ] Wiki edits are shown in Product Activity feed (and people will also be aware if e.g. they have a Matrix chat bridge).
[ ] Wiki edits count as Contributions (i.e. on the colored dots calendar on someone's profile).
[ ] [Maybe] Other team members are notified of Wiki edits ("Folks, this is relevant to ya").

Update: Sideways related improvement..

[ ] Show Wiki Page Title in the OpenGraph link preview when dropping a page URL somewhere else (like in Matrix chatroom). Now the repo name is shown (repo on Codeberg).

Screenshots
No response

+1. We had that in an old unmaintained bugtracker and that was so efficient and useful...


adding OIDC + federate support

Signed-off-by: Abhinav Gupta<EMAIL_ADDRESS>Description
Integrate Jenkins with OIDC via federate
Issues Resolved
#24
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Raised the PR with same changes as in - https://github.com/opensearch-project/opensearch-ci/pull/29


Washing states

(https://github.com/Andre0512/hon/commit/52c3a861de901b21cb64a94ebb24d9b341542df5#r117766642)
Is it possible to add all states or additionally make the numeric value available (? hidden)

This would be good to have, since the update that changed the states to be text based I'm getting false positive on washing machine end status.
Best would be to expose the numeric value somehow or at least change state 7 to "Ended"


Error handling in TLS is incorrect or missing

Describe the bug
When malformed key shares are sent to the server, the server doesn't abort the connection or aborts it with wrong alerts
To Reproduce
reproducer
openssl req -x509 -newkey rsa -keyout /tmp/localhost.key -out /tmp/localhost.crt -subj /CN=localhost -nodes -batch
openssl s_server -key /tmp/localhost.key -cert /tmp/localhost.crt -www -curves X25519MLKEM768:SecP256r1MLKEM768 2>server.err >server.out &
openssl_pid=$!
git clone https://github.com/tomato42/tlsfuzzer
pushd tlsfuzzer
# won't be needed after https://github.com/tlsfuzzer/tlsfuzzer/pull/968 is merged
git checkout full-fuzz-for-mlkem-share
git clone https://github.com/tomato42/tlslite-ng .tlslite-ng
ln -s .tlslite-ng/tlslite tlslite
git clone https://github.com/warner/python-ecdsa .python-ecdsa
ln -s .python-ecdsa/src/ecdsa ecdsa
git clone https://github.com/GiacomoPope/kyber-py .kyber-py
ln -s .kyber-py/src/kyber_py kyber_py
PYTHONPATH=. python scripts/test-tls13-mlkem.py  --no-fuzz --kems x25519mlkem768,secp256r1mlkem768
popd
kill $openssl_pid

OpenSSL output
8022C3703E7F0000:error:0A000132:SSL routines:tls_parse_ctos_key_share:bad ecpoint:ssl/statem/extensions_srvr.c:693:
8022C3703E7F0000:error:0A000126:SSL routines::unexpected eof while reading:ssl/record/rec_layer_s3.c:689:
8022C3703E7F0000:error:0800006B:elliptic curve routines:EC_POINT_set_affine_coordinates:point is not on curve:crypto/ec/ec_lib.c:879:
8022C3703E7F0000:error:0A0C0103:SSL routines:ssl_encapsulate:internal error:ssl/s3_lib.c:5006:
8022C3703E7F0000:error:1C8000A4:Provider routines:ossl_ecx_compute_key:failed during derivation:crypto/ec/ecx_key.c:143:
8022C3703E7F0000:error:0A0C0103:SSL routines:ssl_encapsulate:internal error:ssl/s3_lib.c:5006:
8022C3703E7F0000:error:0A000132:SSL routines:tls_parse_ctos_key_share:bad ecpoint:ssl/statem/extensions_srvr.c:693:
8022C3703E7F0000:error:0A000132:SSL routines:tls_parse_ctos_key_share:bad ecpoint:ssl/statem/extensions_srvr.c:693:
8022C3703E7F0000:error:0A000132:SSL routines:tls_parse_ctos_key_share:bad ecpoint:ssl/statem/extensions_srvr.c:693:
8022C3703E7F0000:error:0A000132:SSL routines:tls_parse_ctos_key_share:bad ecpoint:ssl/statem/extensions_srvr.c:693:
8022C3703E7F0000:error:0A000126:SSL routines::unexpected eof while reading:ssl/record/rec_layer_s3.c:689:
8022C3703E7F0000:error:0A000126:SSL routines::unexpected eof while reading:ssl/record/rec_layer_s3.c:689:
8022C3703E7F0000:error:0A000065:SSL routines:final_key_share:no suitable key share:ssl/statem/extensions.c:1470:
8022C3703E7F0000:error:0A000126:SSL routines::unexpected eof while reading:ssl/record/rec_layer_s3.c:689:
8022C3703E7F0000:error:0A000132:SSL routines:tls_parse_ctos_key_share:bad ecpoint:ssl/statem/extensions_srvr.c:693:

tlsfuzzer output
sanity ...
OK

x25519mlkem768: padded key share ...
OK

secp256r1mlkem768: basic connection ...
OK

x25519mlkem768: malformed pqc part, variable 1 ...
Error encountered while processing node ExpectAlert(level=2, description=47) (child: <tlsfuzzer.expect.ExpectClose object at 0x7fcf1bb0f0b0>) with last message being: <tlslite.messages.Message object at 0x7fcf1bb0cda0>
Error while processing
Traceback (most recent call last):
  File "/home/hkario/dev/tlsfuzzer/scripts/test-tls13-mlkem.py", line 454, in main
    runner.run()
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 235, in run
    raise AssertionError("Unexpected message from peer: " +
AssertionError: Unexpected message from peer: Handshake(server_hello)

x25519mlkem768: malformed pqc part, variable 2 ...
Error encountered while processing node ExpectAlert(level=2, description=47) (child: <tlsfuzzer.expect.ExpectClose object at 0x7fcf1bb0c260>) with last message being: <tlslite.messages.Message object at 0x7fcf1bb0cda0>
Error while processing
Traceback (most recent call last):
  File "/home/hkario/dev/tlsfuzzer/scripts/test-tls13-mlkem.py", line 454, in main
    runner.run()
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 235, in run
    raise AssertionError("Unexpected message from peer: " +
AssertionError: Unexpected message from peer: Handshake(server_hello)

secp256r1mlkem768: malformed classical part ...
Error encountered while processing node ExpectAlert(level=2, description=(47,)) (child: <tlsfuzzer.expect.ExpectClose object at 0x7fcf1baef560>) with last message being: <tlslite.messages.Message object at 0x7fcf1bb0cda0>
Error while processing
Traceback (most recent call last):
  File "/home/hkario/dev/tlsfuzzer/scripts/test-tls13-mlkem.py", line 454, in main
    runner.run()
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run
    node.process(self.state, msg)
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1973, in process
    raise AssertionError(problem_desc)
AssertionError: Expected alert description "illegal_parameter" does not match received "internal_error"

x25519mlkem768: basic connection with HRR ...
OK

x25519mlkem768: malformed classical part ...
Error encountered while processing node ExpectAlert(level=2, description=(47,)) (child: <tlsfuzzer.expect.ExpectClose object at 0x7fcf1bb0c4a0>) with last message being: <tlslite.messages.Message object at 0x7fcf1bb0ecf0>
Error while processing
Traceback (most recent call last):
  File "/home/hkario/dev/tlsfuzzer/scripts/test-tls13-mlkem.py", line 454, in main
    runner.run()
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run
    node.process(self.state, msg)
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1973, in process
    raise AssertionError(problem_desc)
AssertionError: Expected alert description "illegal_parameter" does not match received "internal_error"

secp256r1mlkem768: invalid ECDH point format: raw ...
OK

secp256r1mlkem768: invalid ECDH point format: hybrid ...
Error encountered while processing node ExpectAlert(level=2, description=47) (child: <tlsfuzzer.expect.ExpectClose object at 0x7fcf1bb0d910>) with last message being: <tlslite.messages.Message object at 0x7fcf1bb0dbe0>
Error while processing
Traceback (most recent call last):
  File "/home/hkario/dev/tlsfuzzer/scripts/test-tls13-mlkem.py", line 454, in main
    runner.run()
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 235, in run
    raise AssertionError("Unexpected message from peer: " +
AssertionError: Unexpected message from peer: Handshake(server_hello)

x25519mlkem768: truncated key share ...
OK

secp256r1mlkem768: padded key share ...
OK

secp256r1mlkem768: truncated key share ...
OK

x25519mlkem768: malformed pqc part, variable 0 ...
Error encountered while processing node ExpectAlert(level=2, description=47) (child: <tlsfuzzer.expect.ExpectClose object at 0x7fcf1bb0c860>) with last message being: <tlslite.messages.Message object at 0x7fcf1bb0c800>
Error while processing
Traceback (most recent call last):
  File "/home/hkario/dev/tlsfuzzer/scripts/test-tls13-mlkem.py", line 454, in main
    runner.run()
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 235, in run
    raise AssertionError("Unexpected message from peer: " +
AssertionError: Unexpected message from peer: Handshake(server_hello)

secp256r1mlkem768: basic connection with HRR ...
OK

x25519mlkem768: malformed pqc part, variable 3 ...
Error encountered while processing node ExpectAlert(level=2, description=47) (child: <tlsfuzzer.expect.ExpectClose object at 0x7fcf1bb0d430>) with last message being: <tlslite.messages.Message object at 0x7fcf1bb0e540>
Error while processing
Traceback (most recent call last):
  File "/home/hkario/dev/tlsfuzzer/scripts/test-tls13-mlkem.py", line 454, in main
    runner.run()
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 235, in run
    raise AssertionError("Unexpected message from peer: " +
AssertionError: Unexpected message from peer: Handshake(server_hello)

secp256r1mlkem768: malformed pqc part, variable 2 ...
Error encountered while processing node ExpectAlert(level=2, description=47) (child: <tlsfuzzer.expect.ExpectClose object at 0x7fcf1bad4d10>) with last message being: <tlslite.messages.Message object at 0x7fcf1bb0eab0>
Error while processing
Traceback (most recent call last):
  File "/home/hkario/dev/tlsfuzzer/scripts/test-tls13-mlkem.py", line 454, in main
    runner.run()
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 235, in run
    raise AssertionError("Unexpected message from peer: " +
AssertionError: Unexpected message from peer: Handshake(server_hello)

secp256r1mlkem768: malformed pqc part, variable 1 ...
Error encountered while processing node ExpectAlert(level=2, description=47) (child: <tlsfuzzer.expect.ExpectClose object at 0x7fcf1bad42f0>) with last message being: <tlslite.messages.Message object at 0x7fcf1bb0cc50>
Error while processing
Traceback (most recent call last):
  File "/home/hkario/dev/tlsfuzzer/scripts/test-tls13-mlkem.py", line 454, in main
    runner.run()
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 235, in run
    raise AssertionError("Unexpected message from peer: " +
AssertionError: Unexpected message from peer: Handshake(server_hello)

secp384r1mlkem1024: basic connection ...
OK

x25519mlkem768: basic connection ...
OK

secp256r1mlkem768: malformed pqc part, variable 0 ...
Error encountered while processing node ExpectAlert(level=2, description=47) (child: <tlsfuzzer.expect.ExpectClose object at 0x7fcf1baefb90>) with last message being: <tlslite.messages.Message object at 0x7fcf1bb0c800>
Error while processing
Traceback (most recent call last):
  File "/home/hkario/dev/tlsfuzzer/scripts/test-tls13-mlkem.py", line 454, in main
    runner.run()
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 235, in run
    raise AssertionError("Unexpected message from peer: " +
AssertionError: Unexpected message from peer: Handshake(server_hello)

secp256r1mlkem768: malformed pqc part, variable 3 ...
Error encountered while processing node ExpectAlert(level=2, description=47) (child: <tlsfuzzer.expect.ExpectClose object at 0x7fcf1bb0c1d0>) with last message being: <tlslite.messages.Message object at 0x7fcf1bb0f1d0>
Error while processing
Traceback (most recent call last):
  File "/home/hkario/dev/tlsfuzzer/scripts/test-tls13-mlkem.py", line 454, in main
    runner.run()
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 235, in run
    raise AssertionError("Unexpected message from peer: " +
AssertionError: Unexpected message from peer: Handshake(server_hello)

secp256r1mlkem768: invalid ECDH point format: compressed ...
OK

sanity ...
OK

Test hybrid ML-KEM key share support
Verify that hybrid ML-KEM key exchange groups are supported and
basic error handling is implemented correctly.

Test end
====================
version: 4
====================
TOTAL: 24
SKIP: 0
PASS: 13
XFAIL: 0
FAIL: 11
XPASS: 0
====================
FAILED:
        'secp256r1mlkem768: invalid ECDH point format: hybrid'
        'secp256r1mlkem768: malformed classical part'
        'secp256r1mlkem768: malformed pqc part, variable 0'
        'secp256r1mlkem768: malformed pqc part, variable 1'
        'secp256r1mlkem768: malformed pqc part, variable 2'
        'secp256r1mlkem768: malformed pqc part, variable 3'
        'x25519mlkem768: malformed classical part'
        'x25519mlkem768: malformed pqc part, variable 0'
        'x25519mlkem768: malformed pqc part, variable 1'
        'x25519mlkem768: malformed pqc part, variable 2'
        'x25519mlkem768: malformed pqc part, variable 3'

Expected behavior

The server should check validity of the client encapsulation key, failure in that should generate illegal_parameter alert
The server should check the validity of the client ECDH key share, failure in that should generate illegal_parameter alert
The server should validate that the client ECDH key share is in the uncompressed point format, it should reject shares in hybrid point format

Screenshots
n/a
Environment (please complete the following information):

OS: RHEL-10
OpenSSL version: 3.2.2
oqsprovider version: 0.7.1-dev
liboqs version: 0.11.0

I'm not sure that this is a oqs provider bug. I would consider it as oqs provider bug if the provider caught an error and didn't add it to the error stack, otherwise it looks like an OpenSSL issue.
I'm also sure that wrong alert is definitely an OpenSSL issue because alerts are thrown at OpenSSL level

Alt least the lack of encapsulation key checks is in liboqs, and will need to be handled in oqsprovider: https://github.com/open-quantum-safe/liboqs/issues/1951

@beldmit oh, and I suspect that OpenSSL knows how to reject the hybrid point encoding, I suspect it's just not configured by oqsprovider to do it

@beldmit done


Columns pass through

Fixes #13, improves on #24 by being simpler and passing all attributes, as inky (node) does.

👍


Claims from ext.Idp should not get stored for new users

Hello
I have an identityserver3 in federation with an external idP. Our identityserver uses IdentityServer3.EntityFramework to get users from database.
Now if a new user logs in via ext. Idp then in the database a new user table entry with a new entry in UserLogins is created. Also all the claims from the ext. Idp are persisted in user claims table. Then later solely the stored claims are being used to construct the token – not the claims from the current external Idp login.
But claims from external Idp will change. So they should not get persisted. And Our Policy does not allow external claims being put even encrypted into any database. But all the external Idp claims and the previously persisted claims(i.e.via IdentityAdmin) should get put nevertheless into the tokens.
Can you hint me towards how to not store claims from external Idps in db?
PS: adding features to refresh and update external Idp data like following is not allowed:
App_Packages\IdentityServer3.AspNetIdentity\IdentityServer3.AspNetIdentity.cs
protected virtual async Task ProcessExistingExternalAccountAsync(TKey userID, string provider, string providerId, IEnumerable claims)
{
claims = await SetAccountEmailAsync(userID, claims);
claims = await SetAccountPhoneAsync(userID, claims);
        var updateResult = await UpdateAccountFromExternalClaimsAsync(userID, provider, providerId, claims);
        if (updateResult != null) return updateResult;

        var refreshResult = await RefreshAccountFromExternalClaimsAsync(userID, provider, providerId, claims);
        if (refreshResult != null) return refreshResult;

        return await SignInFromExternalProviderAsync(userID, provider);
    }

So change your implementation of AuthenticateExternal to do what you want. The implementation provided from the ASP.NET Identity sample is just a starting point.


Add tests/test_imports.py to sdist

Could you provide a description of why the tests should be included in the installation? From my understanding, a source distribution is usually only for installation. For the purpose of development (including testing), I expected them to use the source code directly.

Some packaging systems (FreeBSD ports) attempt to use the sdist and have builtin make targets to run unit tests.   With the tests in the sdist the testing and building can happen at the same time for that packaging platform.

Got it. Thanks!


Add jnp.unravel_index

To maximize consistency with indexing a raveled array, negative indices are tolerated, even though onp.unravel_index would raise an exception. Out-of-bounds indices are clipped.
Closes #2889

@googlebot signed


Add support for calculated Value property to Select-Object

Summary of the new feature / enhancement
Currently a string-valued Expression value is interpreted as a property name in a calculated expression for Select-Object:
See: #19386:
[pscustomobject] @{
  '2016-06-01' = 'hi'
} | Select-Object @{ n='apiVersion'; e='2016-06-01' }

Output:
apiVersion
----------
hi

This mean that any literal value can only be assigned by invoking an expression:
[PSCustomObject]@{
    b = 2
    c = 3
} |Select-Object @{ n='a'; e={1} },b,c

a b c
- - -
1 2 3

Proposed technical implementation details (optional)
Apart from the unattractive syntax (with embedded curly brackets), the value is not always required to be (re)evaluated, as in the Stackoverflow question: powershell add key value to the json.
It would be nice to have a straightforward Value (alias v) property for the Select-Object cmdlet.
Wishful thinking:
Select-Object @{ name = 'apiVersion'; value = '2016-06-01' }, kind, properties

Abbreviated:
Select-Object @{ n='apiVersion'; v='2016-06-01' }, kind, properties

Please triage this issue and either mark it with something like Resolution-Declined or put it on a kind of wishlist "Issue we would like to prioritize, but we can't commit we will get to it yet"


Configurable product options are using wrong attribute label

I expect the configurable_options field to contain the german label if I run this:
magento vsbridge:index vsbridge_product_indexer germany 123456

However, in a multistore setup where the german store is not the default one, it uses the label of the default store.
The result is that the product's configurable_options field has the wrong label in Elasticsearch:
"attribute_id": 123,
"attribute_code": "color_fabric_parasol",
"label": "Color fabric parasol",  <---- This should have the german version: "Farbe Schirmbezug"
"values": [
    {
      "value_index": "41055",
      "label": "Stoffklasse 6 - Dessin 652 - Silver (Silber-meliert)",
      "swatch": {
        "type": 3,
        "value": null
      }
    },
]

I will provide a pull request for this.

#339


Artisan about - no composer version displayed when using composer.phar

Laravel Version: 9.26.1
PHP Version: 8.1.7
Database Driver & Version: MySql 8.0.16
Windows/10 latest version

Description:
The artisan about does not show the correct composer version when using composer.phar.

Steps To Reproduce:

Have a composer.phar in the root of the project.
Don't have composer installed otherwise.
Execute php artisan about
Observe there is no composer version displayed

Can you please provide us with the output of php composer.phar -V?

The output of php composer.phar -V:

Can you go to Illuminate\Support\Composer and die var_dump the variable "$command" on the line 118?

var_dump($command):

L118: I also dumped current working directory
L124: I also var_dump($output) (which is empty and I guess the problem)

So, apparently, d:\projects\bin\php-8.1.7-x64\php.exe is not a valid binary, or your user don't have permissions to access it. You should be able to fix this issue by re-installing that PHP version, or fixing the permissions of that binary.

That is an incorrect conclusion:

L124: I added var_dump(['output' => $output, 'errorOutput' => $process->getErrorOutput()]);
array(2) {
  ["output"]=>
  string(0) ""
  ["errorOutput"]=>
  string(134) "'"\"d:\projects\bin\php-8.1.7-x64\php.exe\""' is not recognized as an internal or external command,
operable program or batch file.
"
}

So the problem is that the executable is wrongly escaped, because it is enclosed in " ".
I changed L84 to not escape the phpBinary() and then it works for me (on Windows).
2 Observations about my quick-and-dirty fix:

I don't know if this handles spaces in the path correctly.
I don't know if this will work on Unix.
I noticed that vendor\symfony\process\Process.php - public function start(callable $callback = null, array $env = []) - $commandline is really wrong when passed in the wrong phpBinary() value.

    /**
     * Get the PHP binary.
     *
     * @return string
     */
    protected function phpBinary()
    {
        return strval((new PhpExecutableFinder)->find(false));    // MircoBabin - L84: changed to strval()
    }

@MircoBabin can you please try with https://github.com/laravel/framework/pull/43880

After applying #43880 I can confirm it works. I even put "php.exe" in a path with spaces d:\projects\bin\With Spaces php-8.1.7-x64\php.exe and it still works.
To dump some settings I put some var_dump in:

Composer.php - getVersion()

    /**
     * Get the version of Composer.
     *
     * @return string|null
     */
    public function getVersion()
    {
        $command = array_merge($this->findComposer(), ['-V', '--no-ansi']);
        var_dump(['Composer.php L118 - $command' => $command, 'getcwd()' => getcwd(), '$this->workingPath' => $this->workingPath]);

        $process = $this->getProcess($command);

        $process->run();
        var_dump(['Composer.php L129 - $process->wait' => $process->wait()]);

        $output = $process->getOutput();
        var_dump(['Composer.php L131 - $output' => $output, 'errorOutput' => $process->getErrorOutput()]);

        if (preg_match('/(\d+(\.\d+){2})/', $output, $version)) {
            return $version[1];
        }

        return explode(' ', $output)[2] ?? null;
    }

vendor\symfony\process\Process.php - start()

    /**
     * Starts the process and returns after writing the input to STDIN.
     *
     * This method blocks until all STDIN data is sent to the process then it
     * returns while the process runs in the background.
     *
     * The termination of the process can be awaited with wait().
     *
     * The callback receives the type of output (out or err) and some bytes from
     * the output in real-time while writing the standard input to the process.
     * It allows to have feedback from the independent process during execution.
     *
     * @param callable|null $callback A PHP callback to run whenever there is some
     *                                output available on STDOUT or STDERR
     *
     * @throws RuntimeException When process can't be launched
     * @throws RuntimeException When process is already running
     * @throws LogicException   In case a callback is provided and output has been disabled
     */
    public function start(callable $callback = null, array $env = [])
    {
...
        var_dump(['Process.php L347 - $commandline' => $commandline]);
        $this->process = @proc_open($commandline, $descriptors, $this->processPipes->pipes, $this->cwd, $envPairs, $this->options);
...
}

The output with both #43880 and my var_dump additions is:
d:\Projects\Webpage\tripportals>php artisan about
array(3) {
  ["Composer.php L118 - $command"]=>
  array(4) {
    [0]=>
    string(49) "d:\projects\bin\With Spaces php-8.1.7-x64\php.exe"
    [1]=>
    string(13) "composer.phar"
    [2]=>
    string(2) "-V"
    [3]=>
    string(9) "--no-ansi"
  }
  ["getcwd()"]=>
  string(31) "D:\Projects\Webpage\tripportals"
  ["$this->workingPath"]=>
  string(31) "D:\Projects\Webpage\tripportals"
}
array(1) {
  ["Process.php - $commandline"]=>
  string(208) "cmd /V:ON /E:ON /D /C ("d:\projects\bin\With Spaces php-8.1.7-x64\php.exe" composer.phar -V --no-ansi) 1>"C:\Users\Mirco\AppData\Local\Temp\sf_proc_00.out" 2>"C:\Users\Mirco\AppData\Local\Temp\sf_proc_00.err""
}
array(1) {
  ["Composer.php L129 - $process->wait"]=>
  int(0)
}
array(2) {
  ["Composer.php L131 - $output"]=>
  string(44) "Composer version 2.2.9 2022-03-15 22:13:37
"
  ["errorOutput"]=>
  string(0) ""
}

My conclusion is that the PR works, even with a path with spaces in it.

It seems like we're not going to take action here right now, sorry.


Seitan V2 implementation

Important question: which version of seitan is generated after this PR by default (and by the UI)?  V1 or V2?  We have to keep generating V1 tokens for a few release cycles until all clients have abilities to understand seitan V2.

@joshblum, also it's useful to provide a description in the PR about what the big changes are, and anything notable at a high level.

good point, the default is V2. let's flip it back to V1 for seitan generation. it understands both when handling

Ack, do no merge then!

I also haven't looked that it doesn't leak tokens into e.g. logs; @joshblum would you mind making sure that it doesn't? I will not have time today to check that

@maxtaco yes i'll change to v1 generation by default and @zapu i'll double check any logger statements

@joshblum, I also think you need a few more tests: what happens if the sig is generated with the wrong key? Or what happens if the signature is over the wrong payload?  I think it's important to test that we get signature verification failures in both cases.

agreed, adding tests now!

LGTM with the minor comments above.


iOS Bug - dropdownPosition don't working properly ( How To Fix )

just pass the component inside a view with position: relative and zIndex: 1

this still does not solve the problem

So you are applying some different logic in your code, provide a part of the code of how you are using it and how the parent element is styled


[Post-Patch-Octber] Merge released version back to main branch

Cherry-pick Increase Version changes from the patch release branch and solve the conflicts.
This PR will merge the released information back to main branch.

/check-enforcer override


merge from arlac77/template-github-action,arlac77/template-kronos-module

.github/workflows/update_readme_api.yml

chore(github): add API to readme (name)
chore(github): (on)
chore(github): (jobs)

Codecov Report

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

@@           Coverage Diff           @@
##           master     #782   +/-   ##
=======================================
  Coverage   28.94%   28.94%
=======================================
  Files           1        1
  Lines          76       76
  Branches        1        1
=======================================
  Hits           22       22
  Misses         54       54

Continue to review full report at Codecov.

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


Close ticket

Error creating ticket: TypeError: Cannot read properties of undefined (reading 'send')
at /root/sentinel-tickets/events/interactionCreate.js:2068:38
help

Hello, this error is mostly caused by a missing configuration option in your config.yml file or a needed configuration that you didn't adjust yet such as the default log channel. Please double check your config file and make sure it's up to date, that should sort your issue.

Hey, hopefully the answer above helped resolve your issue.
logs:
  default: "" # The ID of the default log channel

Filling this section of your config.yml file with the correct channel ID for your logs channel is the fix in that case.
Thank you for using the bot!


Bibliography/keeping track of links and public references

A random thought/idea in my traveling to various links and documentation sites: does it make sense to have one centralized place to collect all of our key public/internet references and links, and then publish as a "Reference" document? Is this common practice or even a good idea anyway?
I'm not sure how one would do this, my only idea is to keep a BibTeX file -- and I guess keep it on github -- and then add to along the way like another code file and render an output file when we need to. I've never done this, though. Thoughts? @gronert-m @alexandraqn @Junying-T @giofsantos11

Thanks for raising the issue, Tom! I think it's a good idea to compile all the public references together and keep updating the list. I feel it is important to categorize the links and keep them altogether at one place as I am now downloading all kinds of docs and papers for national industrial and occupational classifications. I just put the downloads to the "Doc" folder in the master data folder. And the corresponding links are spread in my notes. It's hard to get a full picture of those docs as they increases. I guess it is important to figure out a way to categorize the references, i.e. by country -  module - year?

Hi Tom,
This is actually a good idea. I understand that @gronert-m  is working towards a very good resource where we can guide users to references (web page). I wonder if the bibtex file could be a good resource for internal purposes. For sure it will help others understand where is everything coming from.
Thanks for bringing this up!
-Alexandra


Use libvmi in disk related unit tests

What this PR does
This PR improves test readability by using libvmi which shortens the code and makes it more elegant.
Before this PR:
All vmis created for admitter unit tests were made with NewMinimalVMI() and disks are manually added.
After this PR:
Unit tests are using libvmi, adding disks elegantly and cleary.
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] ~Design: A design document was considered and is present (link) or not required~
[X] PR: The PR description is expressive enough and will help future contributors
[X] Code: Write code that humans can understand and Keep it simple
[X] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] ~Upgrade: Impact of this change on upgrade flows was considered and addressed if required~
[X] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] ~Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.~
[ ] ~Community: Announcement to kubevirt-dev was considered~

Release note

NONE

/sig code-quality

Thanks!
/lgtm


Required parameters aren't accurate

for az kusto data-connection event-grid create we show only cluster-name,data-connection-name,database-name,resource-group are required. However running the command w/ only those 4 gives you:
(BadRequest) One or more mandatory properties are missing.

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

ID: 607c986e-02c6-93b9-57cc-9c6c10af7f48
Version Independent ID: 454469af-535d-b37a-0ad2-40fc49f7a76c
Content: az kusto data-connection event-grid
Content Source: latest/docs-ref-autogen/ext/kusto/kusto/data-connection/event-grid.yml
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

kusto

+@astauben to answer.


[BEAM-3863] Ensure correct firing of processing time timers

In Beam, a timer with timestamp T is only illegible for firing when the time
has moved past this time stamp, i.e. T < current_time. In the case of event
time, current_time is the watermark, in the case of processing time it is the
system time.
Flink's TimerService has different semantics because it only ensures
T <= current_time. To make up for this, we previously subtracted one from the
Watermark. However, this does not fix the problem for processing time. We can't
modify processing time easily like we can for event time via the watermark.
To fix processing timers, we change Flink's internal timer timestamp. We add one
millisecond to the timestamp to ensure that the time has moved past the original
timer timestamp in both event and processing time.
Note that we do not modify Beam's timestamp and we do not expose Flink's
timestamp. For consistency this approach has also been applied to event time
timers.

Thanks!

Run Flink ValidatesRunner


didn't work well in grafana 8.0.3

same as the title.

I was able to get this to work in grafana 8.* but adding the plugin to the allow unsigned plugins grafana cfg
allow_loading_unsigned_plugins = grafana-kdb-datasource-ws-2.0.0,aquaqanalytics-kdbadaptor-datasource-vars,aquaqanalytics-kdbadaptor-datasource

it is ok to load the plugin, but did not show the setting when creating dashboard,. there is no where to write qsql  to get aim data.

to this issue


Upgrade AzureDisk/AzureFile CSI Drivers Versions to v1.4.0

/cc @andyzhangx

@xuto2 could you merge this PR? thanks.


Input from simulations

Hi Daniel,
I'm trying to use MAGIC on simulated data from msprime, but I'm not sure how I should input the data. Is the easiest way to directly write out an MSMC-style SNP file and a bed mask that includes the whole simulated region? Or should I output a VCF and go from there?
Thanks!
Arun

Hi Arun,
I see that I forgot to document this part. The ms2msmc.py script converts
ms-style output to MSMC input format. Then you can either make a fake
coverage file (just a whole bunch of lines of "80", or whatever your
minimum window size is) and use windower.py, or use this attached script
window_msN.py instead. window_msN.py is just if you want the distribution
of pairwise distances in your simulated sample, so you'd have to tweak it
if you're looking at a different tree property.
I hope that helps. I'm traveling right now, but I can get back to you with
more specifics when I get a chance if it would be helpful.
Best,
Daniel
On Tue, May 22, 2018 at 9:43 PM, Arun Durvasula<EMAIL_ADDRESS>wrote:

Hi Daniel,
I'm trying to use MAGIC on simulated data from msprime, but I'm not sure
how I should input the data. Is the easiest way to directly write out an
MSMC-style SNP file and a bed mask that includes the whole simulated
region? Or should I output a VCF and go from there?
Thanks!
Arun
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/weissmanlab/magic/issues/2, or mute the thread
https://github.com/notifications/unsubscribe-auth/AIdKQFos4D-hDxFtxN0vVu3D08C6XBVhks5t1FxjgaJpZM4UJMRa
.

Thanks Daniel! I ended up writing a little function to do this in python since I'm using msprime to simulate sequence data. I have some questions about the output as well, but I will open another issue to keep things organized.

Hello Daniel and Arun,
I came across this thread also looking for a way to run MAGIC on ms-simulated data, because the documentation on this is indeed lacking. Where can I find this window_msN.py script that generates the coverage files?
Thanks a lot,
Armando.

Hi Armando,
I just uploaded it to the repository. I still need to document everything though.
Best,
Daniel

Thanks Daniel, that is very helpful.


Backsub in SLURM: Pixel size overwrite not specified (It was semicolon separator in markers.csv)

Dear @kbestak
I am trying to run some samples through vanilla mcmicro and backsub is giving me some issues.
Context:
These are .czi images each about 5gb x 5 cycles. Total ashlar output about 30gb
ashlar worked perfectly, it runs into error at backsub
Problem in short:
Command executed:

  python3 /background_subtraction/background_sub.py   -r P30E01_Tonsil.ome.tif -m markers.csv   -o P30E01_Tonsil_backsub.ome.tif -mo markers_bs.csv

Command exit status:
  1

Command output:
  Pixel size overwrite not specified

Do I have to explicitly provide pixel size?
Any clue what is going on?
P30E02_params.yml:
workflow:
    start-at: illumination
    stop-at: background
    background: true
    background-method: backsub

options:
    ashlar: --flip-y --align-channel 4 -m 50 --filter-sigma 1

nextflow script
#!/bin/bash
#SBATCH --job-name=P30E02_Cancer    # Job name
#SBATCH --output=P30E02.%j.out      # Output file
#SBATCH --error=P30E02.%j.err       # Error file
#SBATCH --time=24:00:00             # Time limit hrs:min:sec
#SBATCH --mem=10G                   # Memory per node
#SBATCH --cpus-per-task=2           # Number of CPU cores per task
#SBATCH --partition=medium          # Partition/queue name (check with your HPC)

eval "$(conda shell.bash hook)"
conda activate mcmicro

PATH_TO_DATA="/data/cephfs-1/home/users/jnimoca_m/work/P30_SF_HNSCC/P30E02_Cancer"
echo "Path to data: $PATH_TO_DATA"

nextflow run josenimo/mcmicro -r mcmicro_SLURM --in $PATH_TO_DATA -profile singularity --params $PATH_TO_DATA/P30E02_params.yml

echo "--end--"

Nextflow Standard Out:
P30E02.10614787.log
Nextflow log files:
nextflow.log
nextflow1.log
nextflow2.log

Here you go :)
markers.csv

Thank you for sending it, it seems the separators in the marker file are semicolons, whereas Backsub is hardcoded to read the marker sheet as comma-separated. Could you change the marker file accordingly and just rerun Backsub on your data and let me know if the issue persists?

I see, excel strikes again..
I will run this and let you know.
Thanks

I confirm it works, cheers


display actual jshint error code in hover

It would be helpful if the actual error code could be displayed:
Here  is an example:

You might think that the jshint error code is 40, but this is not the case:
Here is the comment to turn the warning off is:
  /* jshint -W116 */
  if (typeof document !== 'undefined') return;

So the 40: at the beginning of the tooltip message is not really useful, the code used by jshint would be more useful:
https://github.com/jshint/jshint/blob/2.1.4/src/shared/messages.js

40 is the character. Happy to include the reason too. Needs to be changed here: https://github.com/sindresorhus/atom-jshint/blob/master/index.js#L164 PR welcome.
Should be:

40: Expected... (W116)

I tried it. I think the format 40: <message> (<code>) is a bit unpractical as it is hard to read and the text sometimes already contains parentheses.
I changed the string to display `40 []: , which is easier to read and you see the error code at a glance.
PR is here: https://github.com/sindresorhus/atom-jshint/pull/116


Insert new random UUID

Is your feature request related to a problem? Please describe.
Often i need a uuid (eg. for unit tests or for the ID of a new entity in databases) - would be nice to have a "Insert new UUID" action.
Describe the solution you'd like
Insert the result of UUID.randomUUID().toString() at the current cursor location
Describe alternatives you've considered
Currently i switch to a terminal, run uuidgen, copy result, switch back to intellij and insert
Additional context
Maybe a configuration to select which UUID generation to use, https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_4_(random) - but imo the java default v4 is mostly used

How about this? https://plugins.jetbrains.com/plugin/8320-uuid-generator

Good point - will have a look on it, thx


Forces TLS connection to emit 'connect' event.

In node v0.10.x tls.connect does not emit a connect event because it is an instance of tls.CleartextStream instead of net.Socket. This results in secure connections never resolving.

Bueller?

Missed this one, apologies! I'm going to tackle some of the le_node issues this weekend and then this will be live in the next release. Thanks.


Document friction parameters for each physics engine

We currently support some physics parameters from the SDF spec, as well as some extra ones with custom tags, and it's difficult for users to know what they are and which ones are supported by each physics engine.
To make things more complicated, because of https://github.com/ignitionrobotics/ign-physics/issues/49, users may observe different behaviours with the same engine and ign-physics version, but different Ubuntu versions. See how this block of code is dependent on the DART version:
https://github.com/ignitionrobotics/ign-physics/blob/1a98780ca5f6287a650f954ff2e14701bd131fe3/dartsim/src/SDFFeatures.cc#L812-L818
I think friction deserves its own tutorial in the tutorials folder.
Parameters to document:

mu
mu2
slip1
slip2
fdir1
ignition:expressed_in (see https://github.com/ignitionrobotics/ign-physics/pull/224)

This external project comparing friction between Gazebo classic and Ignition Gazebo is relevant: https://github.com/athackst/ignition_vs_gazebo/tree/main/friction

@chapulina, I want to help with this. If I understand it correctly, is there a tutorial to be written highlighting the above params?

Thanks, @addy1997 ! Yes, you can add a tutorial to this repository's tutorials folder. You'll need to dig in a bit to test each parameter inside <friction> with each of the supported physics engines: DART, Bullet and TPE.


build: fatal error: absl/hash/hash.h not found

When running ./test.sh on MacOSX12.6 →
#8 8.141 ../third_party/s2geometry/src/s2/s2point.h:21:10: fatal error: absl/hash/hash.h: No such file or directory
#8 8.141  #include "absl/hash/hash.h"
Does radar have updated docker build files that use abseil-cpp as a github submodule? Or updated CMakeFiles used for in-house builds?

This happens if the git submodule hasn't been pulled in. I've updated ./test.sh in this PR to fix this: https://github.com/radarlabs/s2/pull/59


Color handling

Describe the bug
Smug handles colors incorrectly:
e.g. background in fzf, background in vim, statusbar active window background, see in screenshot below marked by red rectangle (left is smug, right - just tmux):

for vim this issue resolves by :

Expected behavior
Show colors as expected
Output of cat ~/.config/smug/smug.log
Don't have one
Smug version
You can get it from the $ smug --help output
0.1.8
OS you're using
Void Linux.

I think I've figured it out.
It's ok, problem was, that I've been launching smug through rofi, and it seems that it was launched by not my default user (root?)
Anyway, problem solved.
Thanks!


template under direct link issues

if I go to https://enanomapper.adma.ai/templates?uuid=44f05171-780d-400b-a7e0-2fa0764a5f42  , the Generate Excel doesn't work , says invalid UUID . The share link does nothing
if I find and open the template , it goes to the same link , but the Generate Excel now works  . The share link has duplicate uuids
https://enanomapper.adma.ai/templates?uuid=44f05171-780d-400b-a7e0-2fa0764a5f42?uuid=44f05171-780d-400b-a7e0-2fa0764a5f42

this was resolved


Even with IP restriction IIS of the App Service still respond to anyone, normal?

I made some tests and even if we use IP restriction on the web app, if you know the public IP or the generated public domain name by Azure we can still have a valid telnet connection on a IIS server from anywhere. Is that normal?
I suspect some kind of proxy server make some response but is it something we wish? In security you would want to have anything blocked from outside to not even be accessible from outside at all. My concern is if it's a proxy IIS server or even the same not deliver traffic for the blocked web app is running but still open to traffic, it can still be potentially vulnerable to 0days against that server.
Also, that behavior is not documented at all, that would be greatly appreciated if we can know what happens under the hood, at least at higher level.
Thanks for your time

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

ID: d90bbf62-44f9-30a6-d6ea-bbf776f6efc5
Version Independent ID: b3961eac-6c70-b345-f48c-e4c0ec67059c
Content: Restrict client IPs - Azure App Service
Content Source: articles/app-service/app-service-ip-restrictions.md
Service: app-service-web
GitHub Login: @ccompy
Microsoft Alias: ccompy

@BryanTrach-MSFT
Is there any updates on this? It's been a month now.
Thanks

@francoislarouche Apologies for the delay. My email rules are setup so I only get notified of GitHub alerts if I'm tagged in the message.
Can you please reach out to me at brtrach at Microsoft dot com with your subscription ID and the URL of this post? This will require a deeper investigation. We look forward to your reply.
Closing out this post and taking this offline.

@francoislarouche It appears I missed your message as you tagged the wrong person.
This channel, Azure-Docs, is specifically for issues about the docs themselves. As you mentioned, this is/was a potential product issue and not a doc issue.  As a result, we need to review sensitive data to see where the issue is occurring. In order to do so, we need Personally Identifiable Information (PII) from you. In order to protect your PII and privacy, we kindly asked you to reach out to us offline. Our policy prevents us from engaging or requesting for PII on a public forum.
Once the resolution has been found, Microsoft or the original poster will typically update the thread with a sanitized solution.
Thank you for your concerns and for your understanding.


iOS panels look better with the dark layout, but split view is better light

On iOS, it'd be nice to have the dark layout when the panel is behind the menu button (phones and portrait tablets) and the light layout when it is a split view (landscape tablets).

Change the side menu background colour to white...


Trouble with ROUGE score

I am having trouble running the score.py script from SUM when --rouge is passed
python score.py --file "REALSumm/data.pkl" --device "cuda:0" --output "REALSumm/scores.pkl" --rouge

Leads to
Cannot open /content/BARTScore/SUM/gehrmann_rouge_opennmt/rouge_baselines/pyrouge/RELEASE-1.5.5/smart_common_words.txt

I can find smart_common_words.txt under BARTScore/SUM/gehrmann_rouge_opennmt/rouge_baselines/pyrouge/RELEASE-1.5.5/data, but even if I move it to RELEASE-1.5.5 (as the script seems to expect) this just leads to other issues
Cannot open exception db file for reading: /content/BARTScore/SUM/gehrmann_rouge_opennmt/rouge_baselines/pyrouge/RELEASE-1.5.5/WordNet-2.0.exc.db

Are there extra dependencies/instructions not currently listed that are needed to run the scripts with rouge?

Nvm, answered my own question. I need to run the following (following the instructions here) to get rouge to work
pyrouge_set_rouge_path "/content/BARTScore/SUM/gehrmann_rouge_opennmt/rouge_baselines/pyrouge/RELEASE-1.5.5"
cd "/content/BARTScore/SUM/gehrmann_rouge_opennmt/rouge_baselines/pyrouge/RELEASE-1.5.5/data"
./WordNet-2.0-Exceptions/buildExeptionDB.pl ./WordNet-2.0-Exceptions ./smart_common_words.txt ./WordNet-2.0.exc.db
cp ./smart_common_words.txt ../smart_common_words.txt
cp ./WordNet-2.0.exc.db ../WordNet-2.0.exc.db


style-of helper should allow positional arguments to be passed.

right now we require the hash style arguments even for things like block:scope which are just set to true. Because helpers can take positional arguments, we can also accept block:scope without a "value" assigned to it.

@abritinthebay We need to fix the code that analyzes and rewrites mustache and sub expressions to look at the params in addition to the argument hash.
I think the only change that's needed is for this code to examine node.params too:
<EMAIL_ADDRESS>

in params, we should allow <namespace>:scope as well as <namespace>:<state-attribute> but <namespace>:class should be an error because that always requires a value.


GitHub Pull Request does not show pre-production environment url

According to docs https://learn.microsoft.com/en-us/azure/static-web-apps/review-publish-pull-requests#review-changes

Once the workflow completes building and deploying your app, the GitHub bot adds a comment to your pull request, which contains the URL of the pre-production environment.

I don't see this anywhere. I see the build completed.

And if I click through to details I can dig out the url.

In this case I can see this is indeed a pre-prod url as it links to the PR -24 but how do I get the bot to work? Whereabouts is the bot displayed? Somewhere in the PR form?

Perhaps line 410 is the answer.  Any idea why the failure here?

Think I figured it out. The workflow needs pull-request write permissions
permissions:
  id-token: write
  contents: read
  pull-requests: write


ComposeBox: Small cleanups (better type checking, move custom hook to new file, etc.)

These will make ComposeBox a bit more efficient and more pleasant to work with, for #1975 (which we recently got another nudge for; see there) and for other issues. The file is down from 713 lines to 627 lines with this PR; not huge, but something.

Thanks @chrisbobbe! Glad to have these cleanups.
This all looks good, with one nit: let's just call the new file useUncontrolledInput.js, rather than introducing an umbrella name reactNativeUtils. This feels to me more specific and detailed than that latter name suggests.

Thanks for the review! Revision pushed, with the function a default export in its new same-named file.

Thanks for the revision! Looks good -- merging.


DisCatSharp is a fork of DSharpPlus

Just to repeat for any new readers: These two libraries seem to share the same contributors. This can be seen by going to Insights > Contributors.


New API ONNXRT example update

Type of Change
example
Description
update ONNXRT example for new API
JIRA ticket: ILITV-2468
How has this PR been tested?
extension test on onnx models
Dependency Change?
no

hi @chensuyue, PR is ready for extension test

extension test

pls check the tuning regression.
benchmark.sh api gap.

https://inteltf-jenk.sh.intel.com/job/intel-lpot-validation-top-mr-extension/3845/

https://inteltf-jenk.sh.intel.com/job/intel-lpot-validation-top-mr-extension/3877/
Note: object detection models need new quantization recipe support from Strategy team and may not pass extension test now.

https://inteltf-jenk.sh.intel.com/job/intel-lpot-validation-top-mr-extension/3877/ Note: object detection models need new quantization recipe support from Strategy team and may not pass extension test now.

NLP models failed due to some typos and code changes not working.
Retest: https://inteltf-jenk.sh.intel.com/job/intel-lpot-validation-top-mr-extension/3883/

https://inteltf-jenk.sh.intel.com/job/intel-lpot-validation-top-mr-extension/3877/ Note: object detection models need new quantization recipe support from Strategy team and may not pass extension test now.

NLP models failed due to some typos and code changes not working. Retest: https://inteltf-jenk.sh.intel.com/job/intel-lpot-validation-top-mr-extension/3883/

Retest: https://inteltf-jenk.sh.intel.com/job/intel-lpot-validation-top-mr-extension/3890/
yolov3, yolov4 and tiny_yolov3 will not be enabled in this version because 'onnxrt.graph_optimization.level' is not supported now.

Retest: https://inteltf-jenk.sh.intel.com/job/intel-lpot-validation-top-mr-extension/3890/ yolov3, yolov4 and tiny_yolov3 will not be enabled in this version because 'onnxrt.graph_optimization.level' is not supported now.

ssd-12, ssd-12_qdq, faster_rcnn, faster_rcnn_qdq, mask_rcnn, mask_rcnn_qdq will be re-enabled in 2.1 with supported 'onnxrt.graph_optimization.level' and quantization recipe. Please ignore them in extension test.
hf model failed with error: 'setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (4,) + inhomogeneous part.', which is caused from numpy version update. issue

Update:

remove ssd, faster_rcnn and mask_rcnn model
update model config json
add numpy==1.23.5 into requirements.txt in huggingface model

Retest: https://inteltf-jenk.sh.intel.com/job/intel-lpot-validation-top-mr-extension/3909/

passed: bert_squad_model_zoo_dynamic, mobilebert_squad_mlperf_dynamic, mobilebert_squad_mlperf_qdq, duc, BiDAF_dynamic and huggingface question answering models
failed: gpt2_lm_head_wikitext_model_zoo_dynamic and huggingface test classification models, retest: https://inteltf-jenk.sh.intel.com/job/intel-lpot-validation-top-mr-extension/3913/

passed:
bert_squad_model_zoo_dynamic, mobilebert_squad_mlperf_dynamic, mobilebert_squad_mlperf_qdq, duc, BiDAF_dynamic and huggingface question answering models: https://inteltf-jenk.sh.intel.com/job/intel-lpot-validation-top-mr-extension/3908/artifact/report.html
gpt2_lm_head_wikitext_model_zoo_dynamic and huggingface test classification models: https://inteltf-jenk.sh.intel.com/job/intel-lpot-validation-top-mr-extension/3919/artifact/report.html


Add tests

Should improve test coverage significantly. Resolves #25

:tada: This PR is included in version 1.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


ERR_INVALID_HTTP_RESPONSE since Net Core 2.2

Describe the bug
Since the upgrade to Net Core 2.2 the API(s) are answering, most of the times, with a status code 0 (instead of 200)
To Reproduce
Steps to reproduce the behavior:

Create an API project based on Net Core 2.2
Make an API request trough javascript XMLHttpRequest()
Check the status code of the request

Expected behavior
Good answer with status code 200
Screenshot
(auto) request interval of 5 seconds
Net Core 2.1: https://i.imgur.com/kLtSc3R.png
Net Core 2.2: https://i.imgur.com/6QsxQp3.png
Additional context
Since this upgrade is not even possible to add an API controller by
right click on 'controllers' -> Add -> Controller -> API Controller - Empty
since there is an error there was an error running the selected code generator
If you perform multiple 'fast' requests the answer is almost always good but if there is something like more than 1 second between requests then you have this strange behavior.
Found this StackOverflow post from 24/Dec/18 from an user with the same issue: https://stackoverflow.com/questions/53906866/neterr-invalid-http-response-error-after-post-request-with-angular-7
output of dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   2.2.101
 Commit:    236713b0b7

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.17134
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.2.101\

Host (useful for support):
  Version: 2.2.0
  Commit:  1249f08fed

.NET Core SDKs installed:
  2.1.202 [C:\Program Files\dotnet\sdk]
  2.1.302 [C:\Program Files\dotnet\sdk]
  2.1.401 [C:\Program Files\dotnet\sdk]
  2.1.402 [C:\Program Files\dotnet\sdk]
  2.1.403 [C:\Program Files\dotnet\sdk]
  2.1.500 [C:\Program Files\dotnet\sdk]
  2.1.502 [C:\Program Files\dotnet\sdk]
  2.2.101 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.3-servicing-26724-03 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

Just found that author of StackOverflow post opened #6114

@pakrym you're right! It is the same issue and the workaround works!
Moreover i noticed that the pre-flight request is sent only if i set the 'Authorization' Header in the 'XMLHttpRequest', that's why you don't see it in every scenario.

Closing this a duplicate of #4398.


Fix JFrog Xray JSON parser for CWE and CVSS v3 (#3597 fix)

Work

[X] add more unit tests (new file)
[X] add more tests on Finding attributes
[X] found that CWE are not well managed (bug) :D
[X] found also that CVSS v3 are not well managed also :D (no data)
[X] reduce test file size
=> fix issue #3597

@madchap could you take another look?

@madchap could you take another look?