kobolds no longer die at 40 hp

About the PR
they now go into crit at 60 hp and die at 125 hp
Why / Balance
kobolds shouldnt be as fragile as a mothroach
Technical details

Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog
no

how much weaker is it compared to a monkey? It's meant to be more fragile.

how much weaker is it compared to a monkey? It's meant to be more fragile.

its the same
Why is it supposed to be fragile anyway

how much weaker is it compared to a monkey? It's meant to be more fragile.

its the same Why is it supposed to be fragile anyway

so it's mechanically different, otherwise it will be overwhelmingly stronger than a monkey because its much faster AND does more damage.

oh i didnt know they were faster, what about going into crit at 75

how much weaker is it compared to a monkey? It's meant to be more fragile.

its the same Why is it supposed to be fragile anyway

so it's mechanically different, otherwise it will be overwhelmingly stronger than a monkey because its much faster AND does more damage.

oh i didnt know they were faster, what about going into crit at 75

Im not sure if you meant died, but if its only 75 then theres basically no point in having a difference. 75 is basically the same as 80.

how much weaker is it compared to a monkey? It's meant to be more fragile.

its the same Why is it supposed to be fragile anyway

so it's mechanically different, otherwise it will be overwhelmingly stronger than a monkey because its much faster AND does more damage.

oh i didnt know they were faster, what about going into crit at 75

Im not sure if you meant died, but if its only 75 then theres basically no point in having a difference. 75 is basically the same as 80.

it goes into crit at 40 currently

it goes into crit at 40 currently

what are the currently values for monkeys?

currently

100 crit 200 dead

what are the currently values for monkeys?

100 crit 200 dead

probably make it make it 60 crit, 100 dead then.

honestly monkeys SHOULD be lower, they're small and don't need 100 hp.

no

honestly monkeys SHOULD be lower, they're small and don't need 100 hp.

i agree


TextEdit & LineEdit caret blink timers run only when focused

No need for timers to run at all times, now they are started only when the control is focused.
Fixes #31936

Thanks!


The server crash when i do pressure test to send messages

The server crash when i do pressure test to send messages.there is some describption  in hs_pid_xxx.log：
Faild to write code dump.Core dumps have been disabled. And the thread is ReputMessageService
i don't have any ideas about how to solve this problem.
Environment:
JDK1.8
apache-rocketmq4.3.1
2master-2slave
8cpu and 16g memory
Test script
distribution/benchmark
how to solve this problem？thanks。

can you give more details about the problem?e.g. the full error information

@AnyOSR thanks,i have solved  this problem,the problem was caused by a disk problem.


Error updating credentials for user admin : org.wso2.carbon.user.core.UserStoreException: Error occurred while updating string values to database.

Description:

Changing User Passwords in the Carbon H2 Database fail
1.Edit  /opt/wso2am-3.1/repository/conf/deployment.toml change password form {admin/admin} to {admin/$NEWPASSWORD}
2.Start the service and login web carbon-portal  to change password on web
carbon/user/change-passwd.jsp
Change New Password For User: admin
{change password value in mysql (shared_db. UM_USER . UM_USER_PASSWORD}
3.Change the Local H2 carbondb password with script as
bash chpasswd.sh --db-url jdbc:h2:/opt/wso2am-3.1/repository/database/WSO2CARBON_DB.mv.db  --db-username "wso2carbon" --db-password "wso2carbon" --username "admin" --new-password "{$NEWPASSWORD}"
`
setup:
[mkdir] Created dir: /opt/wso2am-3.1/repository/lib
[copy] Copying 66 files to /opt/wso2am-3.1/repository/lib
[mkdir] Created dir: /opt/wso2am-3.1/tmp/setup
[unzip] Expanding: /opt/wso2am-3.1/repository/components/plugins/org.wso2.carbon.security.mgt.stub_5.16.24.jar into /opt/wso2am-3.1/tmp/setup
[unzip] Expanding: /opt/wso2am-3.1/repository/components/plugins/org.wso2.carbon.security.mgt.ui_5.16.24.jar into /opt/wso2am-3.1/tmp/setup
[unzip] Expanding: /opt/wso2am-3.1/repository/components/plugins/org.wso2.carbon.security.mgt_5.16.24.jar into /opt/wso2am-3.1/tmp/setup
[delete] Deleting directory /opt/wso2am-3.1/tmp/setup
[unzip] Expanding: /opt/wso2am-3.1/repository/components/plugins/h2_1.4.199.wso2v1.jar into /opt/wso2am-3.1/repository/lib
[unzip] Expanding: /opt/wso2am-3.1/repository/components/plugins/org.wso2.carbon.utils_4.6.0.alpha3.jar into /opt/wso2am-3.1/repository/lib
[copy] Copying 4 files to /opt/wso2am-3.1/repository/lib
[move] Moving 30 files to /opt/wso2am-3.1/repository/lib
[delete] Deleting directory /opt/wso2am-3.1/repository/lib/META-INF
[delete] Deleting directory /opt/wso2am-3.1/repository/lib/org
BUILD SUCCESSFUL
Total time: 2 seconds
Error updating credentials for user admin : org.wso2.carbon.user.core.UserStoreException: Error occurred while updating string values to database.
`
Affected Product Version:
WSO2 APIM 3.1 alpha
Environment details (with versions):

OS: Linux wso2am-314 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64 GNU/Linux
Env :single server

Optional Fields
Related Issues:
Suggested Labels:
Passwords,Security
Suggested Assignees:

@loeb-ift did you manage to fix this issue by following the documentation?

Yes I did fix the issue by following the doc.
It looks like had nothing with the carbondb!?
Is chpasswd.sh not necessary at 3.1!?


index doesn't work

when using the block form, index is undefined - doesn't look like it's been implemented

I just set up a test with a fresh Ember 2.14 application and it definitely works for me. Could you perhaps share the template code you're using?


feat (documents): add a source code loader based on AST manipulation

Summary
A new approach to loading source code is implemented:
Each top-level function and class in the code is loaded into separate documents. Then, an additional document is created with the top-level code, but without the already loaded functions and classes.
This could improve the accuracy of QA chains over source code.
For instance, having this script:
class MyClass:
    def __init__(self, name):
        self.name = name

    def greet(self):
        print(f"Hello, {self.name}!")

def main():
    name = input("Enter your name: ")
    obj = MyClass(name)
    obj.greet()

if __name__ == '__main__':
    main()

The loader will create three documents with this content:
First document:
class MyClass:
    def __init__(self, name):
        self.name = name

    def greet(self):
        print(f"Hello, {self.name}!")

Second document:
def main():
    name = input("Enter your name: ")
    obj = MyClass(name)
    obj.greet()

Third document:
# Code for: class MyClass:

# Code for: def main():

if __name__ == '__main__':
    main()

A threshold parameter is added to control whether small scripts are split in this way or not.
At this moment, only Python and JavaScript are supported. The appropriate parser is determined by examining the file extension.
Tests
This PR adds:

Unit tests
Integration tests

Dependencies
Only one dependency was added as optional (needed for the JavaScript parser).
Documentation
A notebook is added showing how the loader can be used.
Who can review?
@eyurtsev @hwchase17

cc @eyurtsev for his thoughts as well

@rlancemartin we have the concept of parsers - how does this relate to that?

AFAIK parsers are used in LangChain to process the output of a model response and convert it to a Python struct.
In the context of this PR, parser refers to the manipulation of a source code written in a programming language, in order to separate chunks of text in a meaningful way.
Any suggestion about naming is welcome :smile:

@rlancemartin we have the concept of parsers - how does this relate to that?

@hwchase17 you're referring to BlobParsers here, right (not OutputParser)

Nice work! Interesting PR.
Suggestion: we can re-organize the code slightly to fit into a loader -> parser workflow as we do here.
(1) You should be able to use existing FileSystemBlobLoader here to load the .js or .py files. No new code should be required for loading.
(2) Then, just move your parsing logic into a new parser file in the directory here.
The UX is simple and we reduce code duplication (no new loading code). Specifically, the UX can follow what we do here where the loader and parser are called:
# Transcribe the videos to text
loader = GenericLoader(YoutubeAudioLoader(urls, save_dir), OpenAIWhisperParser())
docs = loader.load()

In this case, of course it will look like:
# Parse js or py to docs
loader = GenericLoader(FileSystemBlobLoader(path="",glob=""), <New_Code_Parser>())
docs = loader.load()

Thoughts?

Oh, right! That makes much more sense. I wasn't familiar with GenericLoader, and I wasn't sure how parsers were used. Now that's clear.
Let me refactor the code.

Done! It's much better now, in my opinion.
One thing to note: I've reused langchain.text_splitter.Language to avoid duplicate things, but maybe that class should be moved to a global module.
More suggestions are welcome!

Exactly, it only splits, or segments, the source code based on top-level classes and functions, and the remaining code.
I've edited the documentation trying to make it more straightforward. Also, the docstring mentions the only parameters that can be configured: language and parser_threshold.
Should I add an example in the notebook like the one I mention in the first post in this PR? I thought that the code and the results would be self-explanatory, but perhaps it's not clear enough.

Exactly, it only splits, or segments, the source code based on top-level classes and functions, and the remaining code.
I've edited the documentation trying to make it more straightforward. Also, the docstring mentions the only parameters that can be configured: language and parser_threshold.
Should I add an example in the notebook like the one I mention in the first post in this PR? I thought that the code and the results would be self-explanatory, but perhaps it's not clear enough.

Nice work! No need to add more examples. I'm running tests now and will plan to merge this once they all pass.

Nice, thanks for your help, and for that last fixes! :smiley:


How to create a git.io URL?

The title says all.

curl -i https://git.io -F "url=https://github.com/technoweenie" -F "code=t"

From: https://github.blog/2011-11-10-git-io-github-url-shortener/


Programming Exercises: Truncate test name instead of silent fail

Checklist
General

[x] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[x] Important: I implemented the changes with a very good performance and prevented too many (unnecessary) database calls.
[x] I followed the coding and design guidelines.
[x] I added multiple integration tests (Spring) related to the features (with a high test coverage).

Motivation and Context

During the creation of an exercise for PGdP we noticed the absence of the results for the solution participation. After a bit of debugging, we noticed that Artemis silently fails without any error message, because the automatically generated test names for the parameterized tests were too long.
Description

Artemis now truncates the test name to the maximum allowed length, if they are too long.
Steps for Testing

Prerequisites:

1 Instructor
1 Programming Exercise

Log in to Artemis
Create a test with a long name (at least 256 characters, @DisplayName from JUnit might be easier than such a long method name).
Check that the solution still gets a result in this exercise

Testserver States

[!NOTE]
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked

Review Progress

Performance Review

[ ] I (as a reviewer) confirm that the server changes (in particular related to database calls) are implemented with a very good performance

Code Review

[x] Code Review 1
[x] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Test Coverage

Server

Class/File
Line Coverage
Confirmation (assert/expect)

Constants.java
100%
✅

ProgrammingExerciseTestCase.java
98%
✅

On ts3 a test with 257 characters did not executed on solution repository

Can you add a small test that feedback with so long test names works correctly?


Make //kythe/cxx/common/indexing:output public [phab:D2220]

Created by zarko at 2018-03-15 22:02:09:

shahms accepted this revision at 2018-03-15 23:38:10

zarko closed via commit 5dbf51156aab297de3f2a1cdb957c347e8ba8211 at 2018-03-15 23:48:11


Aligning depth picture coordinates to real world coordinates

Required Info

Camera Model
D415

Firmware Version
<IP_ADDRESS>3

Operating System & Version
Win 10

Platform
PC/Raspberry Pi

SDK Version
2.0

Language
python

Hello,
Here you can see my current camera setup (2x D415).

The main idea is to use two cameras (placed parallel to scanning plane) to increase overall FOV. Distance between cameras, linear FOV on certain height are calculated based on cameras FOV 69.4x42.5.  The "h" height is chosen so that the edges of the frames between the cameras coincide without overlapping.
I'm trying to scan top view of objects which are placed on plain surface at about the same height from the camera (orange ones on the picture).  "c" on picture represents threshold filter for depth image, so I can catch only objects surfaces (within some range), and ignore objects side surfaces (which can be seen coz of parallax). I'm taking "photos" with two cameras simultaneously and then just stitch them together to get larger image.
Now I have only two pieces of whole process: scanning tool and program which takes images and searches for objects on them. But I'm missing essential thing - connection between the real world coordinates and image coordinates. Coz I want to locate objects centers coordinates (x,y) in real world. On the picture, it can be seen "origin" point, this is origin of scanning area. How to bind stitched image origin to real world scene origin?
After active google searching, I found a lot info related to multicameras setups. There are info about  inward/outward configurations, but none of the options doesn't look like mine.
Here is how I understand connection process:

Get cameras intrinsic and extrinsic parameters
Transform pointcloud from one camera to another using extrinsic parameters
Merge pointclouds
Using intrinsic parameters deproject pixels into points.
Am I right?

Does my camera setup even work? Google research considering translation panorama creation shows that it is big pain.
What if I'll add two more cameras along x axis? Should I overlap frames to exclude "black" strip of invalid depth info on the left side of frame?

Hi @Danilich1994   The placement of your two cameras is fine, though you may achieve improved depth sensing results if you position the cameras closer together so that their fields of view overlap.  This has the benefit of producing redundant depth data due to more than one camera observing the same area where the FOVs overlap.
Using overlapping may require using a third camera to achieve the same overall width of view as two cameras spaced further apart though.  The more cameras that you use, the fewer blind-spots there will be.
The link below provides information on methods of stitching point clouds using RealSense.
https://github.com/IntelRealSense/librealsense/issues/8044#issuecomment-749454720
The RealSense user in that case was also using a top-down view and trying to exclude detail representing areas outside of the top view, so that overall case may be useful to read from the start.

@MartyG-RealSense, thank you for your reply. It, definitely helped me to understand logic behind process which must be done to solve my problem. But, let's make sure I understood in right way:

Get depth frames from both cameras.
Choose one camera as main camera for the scene.
Find out extrinsic parameters of second camera (rotation and translation matrixes relative to main camera position). It's easy because I know exact positions of both cameras. May be It will be necessary to manually adjust extrinsic parameters.
Affine transform depth frame from second camera using extrinsic found above.
Stitch transformed depth frame to depth frame of main camera.
Save this "bigger" frame.
Convert it to colored image (for example grayscale), to perform object search algorithm to find center points coordinates (in pixels) of objects.
Using x,y pixel coordinates and main camera intrinsic parameters perform pixel_to_point transform  to obtain real world coordinates from saved "bigger" depth frame.
These x,y,z coordinates will be found in relation to origin of main camera.
Is it right?

Some clarifying questions:
May be it's necessary to convert depth frames into point clouds, and only after that affine transform and stitch them (followed with point_cloud -> depth_frame transformation)?
All provided functions for point_to_point, point_to_pixel, pixel_to_point in python require intrinsic and extrinsic parameters to be passed. These parameters are special objects in python. They can be obtained through another special function from cameras itself. How can I create custom extrinsic parameters object to use it in point_to_point function, to perform affine transform between two separate D415 cameras?

I have not performed the stitching process myself, so it is difficult for me to verify the listed procedure, beyond knowing that the procedure should involve moving and rotating individual clouds and then appending them together.
I would say though that my expectation- like your own 'clarifying question' about depth frame conversion - would be that the point cloud would be generated to produce XYZ coordinates before the affine transform is applied to the 3D point cloud data with rs2_transform_point_to_point.
Some more information about rs2_transform_point_to_point can be found in the link below.
https://github.com/IntelRealSense/librealsense/issues/5583
The link below may also be useful in regard to multi-camera data alignment:
https://github.com/IntelRealSense/librealsense/issues/2664

Great!
Only last step is unknown for me - how apply affine transform to pointcloud.
rs2_transform_point_to_point function needs point xyz coordinates to modify, how to get these coordinates from pointcloud?
pointcloud -> vertices and convert them to array? And then go through each array member with transform function?
If I'm right, then how to convert result vertices array back into pointcloud, to stitch it with pointcloud from main cam?

I'm not certain if the method in the link below will be applicable to your particular project, but I will share it in case it is helpful:
https://github.com/IntelRealSense/librealsense/issues/1653

Hello @MartyG-RealSense, thanks for the assistance! I'm slowly going forward in terms of my project, and that is great!
I got another question relative images produced by camera. Here is gif which shows what I'm talking about:

Here camera has default preset with enabled laser emitter (150mW), "Dynamic" visual preset chosen for visualization. Decimation and spatial filters applied.
So, when camera is parallel to flat wall some kind of pattern appears in terms of depth data, and overall picture becomes noisy. The difference can be easily seen compared with moments when the camera is angled to the wall. Rotation angle is small. The same noise and "pattern" I face using camera in different light condition, with turned on/off laser emitter. When I'm converting colorized depth picture into grayscale picture to feed it through further image processing (edge detection, segmentation, etc.) this noise strongly distorts the result. The only solution I found - adjust threshold filter so that camera don't see this big surface and only catches object surface. So, output grayscale picture, mostly black, with gray objects, so I can simply binarize (0 pixels = 0, pixels > 0 = 255 pixels).
So, what is source of this noise and can I get rid of it? Or I'm doing something wrong?

Is this view still a top-down view from the ceiling like the diagram in your opening comment of this discussion, please?
I ran extensive tests to replicate your image.  I had similar color change on my image during camera movement and could not achieve much improvement.  In lower light conditions (e.g late afternoon in a lounge sized indoor room), maxizing laser power to '360' instead of the default of '150' may offer some improvement in image quality.  Also, other projects with a top-down view also sometimes take the approach of depth-clamping out (thresholding) the far distance (such as the floor of a top-down view)
If your project is able to do so (if it will not affect the greyscale image processing), using depth to color algnment can enhance an image considerably.  It also makes it easier to distinguish foreground pixels from background pixels.  Python has an example alignment program called align_depth2color.py
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/align-depth2color.py
If you do not require a fully colorized depth image, you could have a greyscale image by default by setting the White to Black color scheme instead of the Jet color scheme.

No, this is not top-down view. Camera is placed on table, and is looking on the wall with some objecst attached to that wall.
Color to depth alignment is not my variant, because I wanted to exclude color information from result image. The objects I want to capture have a lot of different pictures, texts, etc. on their surfaces, and may be colored in about 4 different colors. So, it's very color noisy thing to process. So, after trying to success with simple RGB cam, I changed my mind and choose Depth camera to exclude color mess.
Here is "White to Black" depth image captured when camera is placed parallel to the wall:

The image is "flickering" - the depth noise level is around 10mm, the image seems to be split into separate dots that flicker (any edge detection algorithm will catch all these dots, because there is sharp change in values between each of the "dots"). But if this noise would be uniform across the image - no big deal. But here it's clearly seen middle circle where depth is "closer" to camera (~0.835m), and ring of "further" depth (~0.84-0.85m), followed by another ring closer to camera (~0.84-0.83m). Furthermore, middle region is more stable (1-2mm noise) than these "ring" regions. This reminds me of Newton's rings )
If I will angle the camera respective to wall, I will get the same noise level, but I would see nice depth gradient (representing flat wall) across the image. If I'll feed such image through edge detection algorithm it would not catch any part of wall, only objects.

I'll try to add better lightning to the scene, may be that would help.

Your scenario of the objects attached to the wall reminds me of a past case where a RealSense user did the same with VHS videotape boxes to try to detect them and measure the distance to them.  They also had difficulties with picking the boxes out from the image.  Their ultimate goal was to view objects from a top-down perspective.
https://support.intelrealsense.com/hc/en-us/community/posts/360033574174-415-depth-sense-granularity
I ran extensive further tests but the best improvement that I could get in image quality of the far wall was tu use a D455 camera (which has 2x better accuracy over distance compared to the D435 models) or disable the Histogram Equalization option in the colorization settings, as shown below.

RealSense 400 Series cameras can also better perceive white walls at a far distance if a physical optical filter called a longpass filter is applied over the camera lenses on the outside of the camera, as described in Section 4.2.1 of Intel's white-paper document about optical filters.
https://dev.intelrealsense.com/docs/optical-filters-for-intel-realsense-depth-cameras-d400#section-4-the-use-of-optical-filters

Depth frame resolution, in my case, is 1280x720 while capturing. Then, decimation filter reduce it to 640x360.
If I  turn off Histogram Equalization option in viewer picture becomes much better in terms of wall visualization, but objects would not be seen so clearly (the blend with background). Option of enabling\disabling Histogram Equalization exists only in viewer? Because I use viewer only for testing purposes, the main project runs on python code.  Does this option change only visualization inside viewer, or it influences depth data itself?

Python code for disabling Histogram Equalization can be found in the link below.
https://github.com/IntelRealSense/librealsense/issues/7089#issuecomment-672105974

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

Hi @MartyG-RealSense. Thank you for your assistance, you are very helpful! I think I found the solution for my problem. So I'll close this issue.

You are very welcome - great to hear that you found a solution that works for you.   Thanks for the update!

Hello @MartyG-RealSense.
Some questions appeared considering this issue.
In my code I set "Hand" (2) visual preset for camera sensor. But  DragonDeux in issue #7089 sets visual preset 1 for colorizer before equalization disable:
colorMap = rs.colorizer() colorMap.set_option(rs.option.visual_preset, 1) colorMap.set_option(rs.option.histogram_equalization_enabled, 0.0) #disable histogram equalization colorMap.set_option(rs.option.color_scheme, float) colorMap.set_option(rs.option.min_distance , float) colorMap.set_option(rs.option.max_distance , float)
What is difference between colorizer and sensor visual presets and do they interact somehow?
What the minimum and maximum distance settings do for colorizer (two last lines of code)?
"Color_sheme" is just "classic"/"jet"/"white to black"/etc. color shemes for colorizer, am I right?

The Visual Presets that are best known are the ones that affect depth data, such as Default, Hand, High Accuracy, High Density, etc.  These affect which depth coordinates are rendered in the depth image.

The Depth Visualization presets do not affect which depth coordinates are rendered, but instead determine the style in which those coordinates are color-shaded according to their depth values.

I do not believe that there is any interaction between the depth presets and the depth colorization presets.
Minimum Distance and Maximum Distance are the min and max distances at which color visualization will be applied to the image.
Yes, the Color Schemes such as Jet and White To Black / Black To White are color schemes for colorization.
Pages 11 to 14 of a PDF guide to the RealSense Viewer that Intel published explain the colorization settings very well.
https://www.intel.com/content/www/us/en/support/articles/000028593/emerging-technologies/intel-realsense-technology.html
The link below also provides useful resources about programming colorization settings.
https://support.intelrealsense.com/hc/en-us/community/posts/360048767633/comments/360012325493

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

Case closed due to no further comments received.

@Danilich1994 Sorry to re-active this thread but I was wondering if you succeed to apply rs2_transform_point_to_point() to apply affine transformation to your point cloud ? I want to do the same in order to, then, save a .ply file that is rotated by 90° ...
Thank you for your help !

Hello, @julienguegan. Yeah I did it.  And it's not necessary to use rs2_transform_point_to_point if you want to just rotate ready pointcloud. This function in realsense is used to "change" poincloud origin from depth to color camera for future color data alignment. So it uses depth - color transformation matrix defined by camera properties.
So to rotate any pointcloud (which is represented as numpy array of shape (3 x amount of points)) you have to multiply each point by transformation matrix Wiki.

So, if you need to rotate all points around X for 90 degrees without any translation, you have to put proper numbers into matrix:

Angle must be in radians!
And multiply all pointcloud points by the matrix:
assert(points.shape[0] == 3)  ##check if pointcloud has proper shape
n = points.shape[1]
points_ = np.vstack((points, np.ones((1,n)))) ##add one more row to "align" transformation matrix and pointcloud shapes
points_trans_ = np.matmul(pose_mat, points_) ##multiply
points_transformed = np.true_divide(points_trans_[:3,:], points_trans_[[-1], :]) ##get rid of additional row

@Danilich1994 Actually, I know that I can do affine transformation using the method you explained but I wanted to use rs2_transform_point_to_point() because it is from the librealsense library. I was hoping to make it works on a pointcloud object or a frame object (and not numpy array). Because my final objective is to save the point cloud as a .ply file and currently to save this file, I am using the following code lines :
# get frames from camera
_, frames = pipeline.try_wait_for_frames()
image_frame = frames.get_color_frame()
depth_frame = frames.get_depth_frame()
# save point cloud
pc = rs.pointcloud()
pc.map_to(image_frame)
points = pc.calculate(depth_frame)
points.export_to_ply('point_cloud.ply', image_frame)

I am using only librealsense method and object to do so and I am not sure if it is really possible to interface it with numpy array ... I ask @MartyG-RealSense about this here  but it seems that he does not have any good solutions :neutral_face:

@julienguegan if you want to use only realsense library functions, then you have to pass into rs2_transform_point_to_point() old origin to new origin extrinsic parameters as realsense object. And I don't know how to do it. May be @MartyG-RealSense  can help?
Otherwise -  get depth frame; convert it to numpy array; using rs2_deproject_pixel_to_point(...) convert depth map to poincloud; apply affine transform; THIS Link gives two options how to convert pointcloud as numpy array into ply file.
Otherwise - just save ply file. I suppose you are going to use this data in future, so, anyway conversion into numpy array will be present. Just don't forget to apply affine transform before using it.

@Danilich1994 yes, agree. I am thinking to use open3d as it seems more relevant, documented, flexible for this matter


CRToolImpl version tag

CRToolImpl for releases >= 24.01 are now built via CI and the release tag includes a v prefix
https://isrhub.usurf.usu.edu/CRTool/CRToolImpl/releases/
for example
23.03 https://isrhub.usurf.usu.edu/CRTool/CRToolImpl/releases/tag/23.03
v24.01 https://isrhub.usurf.usu.edu/CRTool/CRToolImpl/releases/tag/v24.01

completed with commits to main branch referenced above


npm install --save @eyevinn/srt fails on MacOS 11.0

Can anyone advise on this? I have many years of C# developement experience but this is my first time with NodeJS.
`joedemax@Joes-MacBook-Pro code % npm install --save @eyevinn/srt
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code 2
npm ERR! path /Users/joedemax/code/node_modules/@eyevinn/srt
npm ERR! command failed
npm ERR! command sh -c npm run build-srt && npm run rebuild
npm ERR! ><EMAIL_ADDRESS>build-srt
npm ERR! > node scripts/build-srt-sdk.js
npm ERR!
npm ERR! Creating dir: /Users/joedemax/code/node_modules/@eyevinn/srt/deps
npm ERR! Cloning https://github.com/Haivision/srt.git#v1.4.2
npm ERR! Building SRT SDK and prerequisites for current platform: darwin
npm ERR! Running ./configure
npm ERR! Running: cmake . -DCMAKE_INSTALL_PREFIX=/Users/joedemax/code/node_modules/@eyevinn/srt/deps/build -DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include -DOPENSSL_LIBRARIES=/usr/local/opt/openssl/lib/libcrypto.a
npm ERR! CONFIGURE: cmake reported error: couldn't execute "cmake": no such file or directory
npm ERR! Running make with threads: 8
npm ERR! make: *** No targets specified and no makefile found.  Stop.
npm ERR!      /Users/joedemax/.npm/_logs/2021-08-17T14_46_34_723Z-debug.log`

Hi!
Have you installed the pre-requirements as defined in the readme?
See: https://github.com/Haivision/srt?ts=2#build-on-mac-darwin-ios
In short you need to have cmake & openssl installed and have the following environment variables set:
OPENSSL_ROOT_DIR
OPENSSL_LIB_DIR
OPENSSL_INCLUDE_DIR

For me though it was enough to do the following OPENSSL_ROOT_DIR=/usr/local/opt/openssl/ npm install @eyevinn/srt.
We will look into including openssl automatically but installing them must still be done by you unfortunately.


Add a simple RAM benchmark script

Would it be possible to store more probe information, like STlinkv2 vs v3 or the product name for the various daplink (...we should probably rename it cmsis-dap one day) probes?

Would it be possible to store more probe information, like STlinkv2 vs v3 or the product name for the various daplink (...we should probably rename it cmsis-dap one day) probes?

Yes, this is definitely possible. I think this has to be changed in probe-rs itself since I just get the probe name string. We can do it in this PR or in a separate one :)
This would also be useful for J-Link EDU :)

Yes, this is definitely possible. I think this has to be changed in probe-rs itself since I just get the probe name string. We can do it in this PR or in a separate one :)
This would also be useful for J-Link EDU :)


Upgrade dep to 1.0.20 and version bump

@umair13adil  my CI/CD pipeline is passing now with this change.

Some heroes don't wear capes.

see #55

Is this library even maintained by @umair13adil ? The last commit is from last year...

Thank you a lot @umair13adil @neiljaywarner. I am waiting for PR is merged when ready :)

@leejonggun PR is merged, new version is now available. flutter_logs: ^2.1.11


check why forward_backward test in test_calibration does not work with CCDunit generated by test_CCDunit

Seems like the CCDunit generated by test_CCDunit does not have a .flatfield method.

Fixed bug in  Instrument.get_CCD


Standardise no valid data points error message

Description
Issue 3 mentioned here: https://github.com/roocs/rooki/issues/68 has error message 'There were no valid data points found in the requested subset.'. However, in other parts of the clisops the error message is 'There were no valid data points found in the requested subset. Please expand the area covered by the bounding box.'
Standardise this so that the user has a more useful error message.

Fixed


Dependency 'com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.4' not found.

you can use www.baidu.com

Your project may not be built yet

Solved, thank you very much


Unable to download embedded videos from https://miami.cbslocal.com

$ youtube-dl -v  https://miami.cbslocal.com/2018/06/25/man-seen-on-hood-of-car-on-i-95/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://miami.cbslocal.com/2018/06/25/man-seen-on-hood-of-car-on-i-95/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.06.25
[debug] Python version 3.4.2 (CPython) - Linux-3.16.0-6-amd64-x86_64-with-debian-8.11
[debug] exe versions: ffmpeg 3.2.10-1, ffprobe 3.2.10-1, rtmpdump 2.4
[debug] Proxy map: {}
[CBSLocal] man-seen-on-hood-of-car-on-i-95: Downloading webpage
[CBSLocal] 3888789: Fetching server time
ERROR: An extractor error has occurred. (caused by KeyError('DVzl9QRzox3ZZsP9bNu5Li3X7obQOnqP',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/common.py", line 501, in extract
ie_result = self._real_extract(url)
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/cbslocal.py", line 92, in _real_extract
info_dict = self._extract_anvato_videos(webpage, display_id)
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/anvato.py", line 276, in _extract_anvato_videos
anvplayer_data['accessKey'], anvplayer_data['video'])
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/anvato.py", line 182, in _get_anvato_videos
video_data = self._get_video_json(access_key, video_id)
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/anvato.py", line 172, in _get_video_json
access_key, anvrid, server_time, self._ANVACK_TABLE[access_key])),
KeyError: 'DVzl9QRzox3ZZsP9bNu5Li3X7obQOnqP'
Traceback (most recent call last):
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/common.py", line 501, in extract
ie_result = self._real_extract(url)
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/cbslocal.py", line 92, in _real_extract
info_dict = self._extract_anvato_videos(webpage, display_id)
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/anvato.py", line 276, in _extract_anvato_videos
anvplayer_data['accessKey'], anvplayer_data['video'])
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/anvato.py", line 182, in _get_anvato_videos
video_data = self._get_video_json(access_key, video_id)
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/anvato.py", line 172, in _get_video_json
access_key, anvrid, server_time, self._ANVACK_TABLE[access_key])),
KeyError: 'DVzl9QRzox3ZZsP9bNu5Li3X7obQOnqP'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ant/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 792, in extract_info
ie_result = ie.extract(url)
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/common.py", line 514, in extract
raise ExtractorError('An extractor error has occurred.', cause=e)
youtube_dl.utils.ExtractorError: An extractor error has occurred. (caused by KeyError('DVzl9QRzox3ZZsP9bNu5Li3X7obQOnqP',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Duplicate of #16788.


Autocomplete for study-config.json won't trigger inside quotes

When editing a study-config.json file, auto-complete suggests the names of all Boa datasets.  But currently it will only suggest outside of the string.  So you have to auto-complete after the :, but before typing the " to start the string.
Our current workaround is to have the auto-complete actually place the dataset name with quotes around it.
But most users probably would only try to auto-complete once they start the string.  Ideally, it would automatically suggest the moment you type the " to open the string.
This is probably due to JSON disallowing auto-complete inside strings.  I am not sure if we can override that.

Not sure when things changed, but it is now autocompleting inside strings.
However, it is starting the completing from the current word (not the start of the string) so if you select it you get weird things like "java-sf": "2013  "2013 September/SF"/SF",.  So still not working as we would like it.


Last minute addition to 0.16.2 release

#462

Codecov Report

Merging #468 (29c7069) into master (7e93ab2) will decrease coverage by 5.21%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #468      +/-   ##
==========================================
- Coverage   82.70%   77.49%   -5.22%
==========================================
  Files          39       39
  Lines        2932     2466     -466
==========================================
- Hits         2425     1911     -514
- Misses        507      555      +48

Impacted Files
Coverage Δ

src/measures/finite.jl
94.82% <ø> (-0.09%)
:arrow_down:

src/resampling.jl
74.35% <ø> (-11.67%)
:arrow_down:

src/MLJBase.jl
100.00% <100.00%> (ø)

src/composition/learning_networks/inspection.jl
76.31% <100.00%> (-6.30%)
:arrow_down:

src/univariate_finite/arrays.jl
100.00% <100.00%> (ø)

src/utilities.jl
61.11% <100.00%> (-12.70%)
:arrow_down:

src/measures/meta_utilities.jl
30.76% <0.00%> (-67.48%)
:arrow_down:

src/composition/learning_networks/arrows.jl
0.00% <0.00%> (-46.67%)
:arrow_down:

src/measures/loss_functions_interface.jl
68.42% <0.00%> (-28.95%)
:arrow_down:

src/interface/model_api.jl
76.92% <0.00%> (-15.39%)
:arrow_down:

... and 30 more

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 7e93ab2...29c7069. Read the comment docs.


The running speed of LSTM model from MindSpore is extremely slow.

When using the squad dataset and bidaf model to train the QA task (question_answer.py), the training progress always maintains at 0% because of the slow speed of nn.LSTM.

use mindnlp.modules.StaticGRU and mindnlp.modules.StaticLSTM


Block multiple imports of json configuration

Hi Son,
I set the status back to "in work".
As per our discussion today. If the init.robot file loads a configuration, then the testuites (robot files) must startup with a clean environment. Only robotframework builtins are allowed till a level2,3 or 4 configuration is loaded.
Goal is to have zero implicitely done interference between robot files. When we want or need this later we will find an explicite way by means of syntax elements / keywords / ... to do this.
If a testsuite (robot file) loads multiple files, then the test run must abort with an error message due to multiple loaded config files.
Thank you,
Thomas

Hi Son,
where do I find the UML diagram with the nice overview.
Should be part of the documentation.
Thank you,
Thomas

Hi Son, where do I find the UML diagram with the nice overview. Should be part of the documentation. Thank you, Thomas

Hello Thomas,
Sure, I will upload UML diagram to testsuites-management repository.

Thank you,
Son

This issue is solved.


Student's attendance exceed lesson's attendance

Steps to reproduce:

Add a Class
Add a Student into the Class
Mark Student as Present

Situation: The total lessons and class lessons were not integrated well together
Fix: Added conditional statement to verify if after it will cause any problem if the command goes through


smtplib.SMTPNotSupportedError: SMTP AUTH extension not supported by server.

When I use mailthon on Ubuntu, SMTPNotSupportedError exception occurred, while it's OK on my own Mac system.
Traceback (most recent call last):
  File "main.py", line 195, in <module>
    main()
  File "main.py", line 102, in main
    args.func(args)
  File "main.py", line 150, in main_crawler
    build_number
  File "/var/lib/jenkins/TestDevHub/WebCrawler/utils/mail.py", line 69, in send_mails
    content="
{}
".format(mail_content),
  File "/var/lib/jenkins/.virtualenvs/StoreCrawler/lib/python3.6/site-packages/mailthon/postman.py", line 90, in send
    with self.connection() as conn:
  File "/usr/local/lib/python3.6/contextlib.py", line 82, in __enter__
    return next(self.gen)
  File "/var/lib/jenkins/.virtualenvs/StoreCrawler/lib/python3.6/site-packages/mailthon/postman.py", line 67, in connection
    item(conn)
  File "/var/lib/jenkins/.virtualenvs/StoreCrawler/lib/python3.6/site-packages/mailthon/middleware.py", line 61, in __call__
    self.password)
  File "/usr/local/lib/python3.6/smtplib.py", line 696, in login
    "SMTP AUTH extension not supported by server.")
smtplib.SMTPNotSupportedError: SMTP AUTH extension not supported by server.

The linux system version is:
Linux version 3.13.0-79-generic (buildd@lcy01-24) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) )

And I tried Python 3.4 and Python 3.6, both has the same exception.

Hi, firstly sorry for the late response. Seems like the AUTH command is not supported by the server. Are you trying to connect to something public like GMail? Or is it a server of your own? in the second case make sure that you have enabled authentication on your server and that it supports the AUTH extension.
Can I see your code that caused the problem?

The server is owned by our company, the strange point is that the exception only occurred on the specified server, even if I used the standard python smtp library instead. So I think that was the server's problem, and I should close this issue.
Thanks for your reply.


[PE-D] [BUG] Adding a new customer causes the sorting of the list to automatically change from ascending (default) to descending

This is what is looks like before adding a new customer (after doing a resetC to ensure its at its default settings).

After adding a new customer (addC n/zebra Doe p/00000000<EMAIL_ADDRESS>a/zebra lp/1000), this is the result shown:

Labels: type.FunctionalityBug severity.Medium
original: ramaven/ped#2

Think we have to test this out

LMAO this man is on drugs I tested with the exact same command and mine wasn't like that

Thank you to this man for showing us a bug


React-Summernote too heavy (over 600kb)

After building my app using Webpack with production environment.
I found that react-summernote is the largest component (over 600kb) when summernote.min.js is around 94kb
....
react-summernote: 627.8 KB (18.2%)
react-dom: 507.97 KB (14.7%)
jquery: 260.93 KB (7.56%)
redux-form: 171.38 KB (4.97%)
react: 134.05 KB (3.88%)
lodash: 126.91 KB (3.68%)
....
Is this a big deal?

That's because of codemirror dependency, not a big deal.
But perhaps, I would be able not to import it in future version and let the users to decide whether to import it or not.


[DOCS] add releases page and modify README.md

https://github.com/apache/incubator-xtable/issues/519
What is the purpose of the pull request

Add Downloads navbar to the site
Add release file/links to the site under Downloads section

Brief change log

Added new dir/files related to release
Changed docusaurus.config.js to support navigation

Verify this pull request
Doc update

Squashed into a single commit.


HTML ideas

Sé tu mism@Nenu-doc

Formularios

Complete Forms
Did the basic html course at SoloLearn
    Ludwig Van Beethoven

 Email

Search

SoloLearn

Phone Number

Number Phone

Date

Set Week

Set Month

Set Date and Time

Formularios

Complete Forms
Did the basic html course at SoloLearn
    Ludwig Van Beethoven

 Email

Search

SoloLearn

Phone Number

Number Phone

Date

Set Week

Set Month

Set Date and Time


Windows support link broken

The link http://support.microsoft.com/default.aspx?scid=kb;en-us;310294#XSLTH3194121123120121120120 doesn't work anymore located here.
I'd submit a PR to fix this, but I'm not sure where it should be pointing to now. Maybe this?

Looks like this has been resolved in #267

Thanks for the follow-up!


Glide Image Manipulation Content Length Mismatch Glitch on Laravel 6

Hi,
I have just upgraded my framework to the new Laravel 6.0.0. However, I'm experiencing a random glitch/bug/error with Glide as shown in the screenshot:

Glide seems to work fine (most of the time).. But whenever, I fetch the image without setting any manipulation parameters through the the ImageController, I get a partial view of the image and an error in chrome's console: net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK). But this happens about every 3 out of 5 requests, randomly... Behaviour seems inconsistent because sometimes I get the full image, but sometimes I also get only part of the image as shown in the screenshot.
I reverted to the last laravel 5 release, and I haven't noticed this particular problem.
Regards,
Phoenix Eve Aspacio

Could this be caused by an outdated dependency?

Hi,
Sorry for bothering... Just solved my problem.
https://serverfault.com/questions/235154/permission-denied-while-reading-upstream
It wasn't a laravel/glide issue afterall..
Eitherway, this is a very nice package.. I was working on a project and was using gumlet (https://www.gumlet.com/) then I found this and settled..
Cheers to the developer!

👍


CSGBox hides coordinate system lines (GLES3 render)

Godot version:
Godot 3.1 Stable Mono
OS/device including version:
Windows 10 Home Edition 64-Bit
Issue description:
Whenever I'm adding a CSGBox while using the GLES3 render, the lines which indicate the coordinate system disappear.
Steps to reproduce:
Add a CSGBox inside the NodeTree while using the GLES3 render.
Minimal reproduction project:
RPG.zip

Cannot confirm on master non-mono build.
Mind if you share a screenshot?

@softwaredev101 Which graphics card model are you using?

@softwaredev101 To add to bojidar-bg's question, which graphics card model are you using?

I'm using an Intel HD 620 Integrated Graphics Card

@softwaredev101 To add to bojidar-bg's question, which graphics card model are you using?

Cannot confirm on master non-mono build.
Mind if you share a screenshot?

Sorry for the late reply. Due to work I couldn't send the screenshot earlier

Is this no longer relevant?


Rewrite the bot in telethon?

This will speed up the bot, besides, the library is asynchronous.
I can do this

Hi!
Thanks for the issue
I think the current implementation is currently multithreaded too? Like in it processes several videos at the same time? I'm not really sure.
Could you give me more info in what improvements could telethon provide?
Thanks!

This is an asynchronous library for Telegram, which implements MTProto (Own Telegram Protocol), which is faster and safer than HTTPs (which is used in python-telegram-bot).

Hi!
I've read a bit and it certainly connects by MTProto instead of using the HTTP Bot API.
However:

The current implementation is already async in nature due to how the code works. You can try it yourself, start rendering a video and then issue an /about command. You can see that it doesn't get blocked while waiting for the video and it instead answers right away. If this isn't what you meant by "async" please try to explain it one more time
While it is certain that text-based protocols (like HTTP Rest bot API) carry more overheard than other kind of protocols (like MTProto), I think the cost is negligible in this case. This is a bot that literally renders and sends video files, the text-based part of the conversation may not be the one that's consuming the more time.

I don't have any special interest on using either python-telegram-bot nor telethon. I am however, struggling to understand what benefits would the switch make for such a big re-work.
Thanks again for your issue!


use git submodules in the docker container

This PR tries to fix the issue with simsopt import due to pybind11 related error.

This PR also changes the workflows by moving the CI to ubuntu-latest from ubuntu 18.04


Bans for multiaccounting ban all associated accounts

Players should be able to play up to the limit and only have extra accounts banned.
This probably happens because when a share ban is applied to an account, all associated accounts will get share banned on login.
This is probably why /forgive name shared is also not pardoning accounts from future share bans unless all associated accounts are pardoned.

This is intended behavior.  Instead of this issue which require heavy mangling with BanSticks internals, I'd recommend allowing only the n (3 or whatever it is) oldest accounts in a share to login.


Local Multimocal Rag App

SEE README.MD FOR INSTRUCTIONS
I'm using OpenAI Whisper and OpenAI GPT-4 instead of Whisper and Llama.cpp because of an FP16 vs FP32 issue with Whisper and a virtual environment issue with Llama.cpp that I wasn't able to debug.
One can test the application with these alternatives or others if they prefer, including OpenAI. The goal is to eventually switch to Whisper and Llama.cpp so that users can have a fully local RAG multimodal app.
In terms of functionality, you should be able to upload PDFs up to 150 MB. This limit is arbitrary and can be changed in ChatInterface.tsx on line 64 with the following line: const MAX_FILE_SIZE = 150 * 1024 * 1024;. Audio and video files do not have limits.
For testing, I'd recommend sequentially uploading a document, an audio file, and a video file, and then using the LLM. I'm using the recommended logic to build context using the assistant role and append the message history.
I'd be curious about your benchmark for the PDF upload, as it took 50 minutes for a 30 MB research paper PDF on my end since my GPU is not utilized.

This change is

I would also rename the folder to be local-multimodal-rag-application instead of underscores that way we keep naming conventions the same style

I'm successfully being able to use llama_cpp in this app now that my GPU is detected by Torch
llama_new_context_with_model: n_ctx_per_seq (512) < n_ctx_train (32768) -- the full capacity of the model will not be utilized                                         | 0/1 [00:00<?, ?it/s]  Inserting rows into documents: 1 rows [00:00, 501.05 rows/s]██| 21/21 [00:06<00:00,  3.11 cells/s] Computing cells: 100%|██████████████████████████████████████████| 21/21 [00:06<00:00,  3.10 cells/s] Inserted 1 row with 0 errors. Inserting rows into conversations: 1 rows [00:00, ? rows/s] Inserted 1 row with 0 errors. INFO:     <IP_ADDRESS>:65096 - "POST /api/chat HTTP/1.1" 200 OK
docs_table['response'] = llama_cpp.create_chat_completion(     messages=docs_table.messages,     repo_id='Qwen/Qwen2.5-0.5B-Instruct-GGUF',     repo_filename='*q5_k_m.gguf',     args={'max_tokens': 50000, 'temperature': 0.7, 'top_p': 0.9, 'top_k': 20} )
@jacobweiss2305 so we should swap the dependency on open ai for the LLM call and whisper to llama.cpp and whisper: https://docs.pixeltable.com/docs/whisper for this open source version that will live in the sample apps folder. We can keep OpenAI or Gemini for the hosted one.

Closing in favor of: https://github.com/pixeltable/pixeltable/pull/413


Introduce runtime2/dispatcher

Introducing runtime2/dispatcher.
This PR introduces an optimized runtime.Dispatcher implementation.
The new Dispatcher uses two sets of pooled objects to reduce garbage
generation during the dispatch. It also avoids creating closures and
other garbage generating constructs as much as possible.
NOTE1: I am not happy with the structure of the main-line dispatch function. I can possibly split an "aggregator method" for aggregating results at the end, at best. But this does not yield a very good refactoring. Feel free to comment on the structure. If you have opinions to better this, I'd like to hear it.
NOTE2: Please do look at tracing and monitoring code. Some of the counters have changed from the original. Mainly the error code based one (it was impossible to write this in a backward compat manner without generating considerable garbage) , and the config resolution time one (it is different type of call-path, comparable part should now be a constant).

@ozevren: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
5eb07440900b016cb376d530edb88502dddb2c30
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ozevren: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
47381af96134c18e98b4fbe87c973a2611bdf3f2
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-pilot-e2e

@ozevren: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
6a53df932b444dbf623e23144a554122d7d848e8
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-pilot-e2e

This is ready. PTAL.

Putting this on top of the Monday morning pile.

/lgtm


Nvidia jetson TK1 is also supported

The server node is compatible with the 32bit arm/nvidia chip on the Jetson TK1. However it takes a bit of tweaking. Including using a legacy node modules.

if you're referring to the node-legacy Ubuntu package, that's just a work-around Ubuntu provided to deal with legacy Node programs that assume the command is "node" and not "nodejs" which is the standard name.

I've done a clean install on a RaspberryPi and made some updates to the readme.


[Feature] Introduce key-value cache for paimon lookup operator in flink

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
When we use Paimon as the source for outer key joins, it is usually necessary to lookup the source table.
For example, there are two tables

Table A(a, b, c, c1, c2, c3, c4, c5), where a is the primary key
Table B(c, d, e, e1, e2, e3, e4, e5), where c is the primary key

Now we need to perform A JOIN B on A.c = B.c to output result (a, b, c, d, e, c1, c2, c3, c4, c5, e1, e2, e3, e4, e5).
In Flink, we can convert the outer key join into a primary key join. We first perform Join on A (a, c) and B (c) to obtain the related data of (a, c), and then lookup A and B respectively based on the a and c of the related data, and finally output the resulting data.
During this process, due to the delay (default 10 seconds) in loading incremental data of the Paimon dimension table, it is possible that the related data of (a, c) fails to lookup the data of A and B in a timely manner, resulting in incorrect output results.
To solve this issue, I'd like to introduce key-value cache in Paimon for lookup operator. When data is written to Paimon, it can be written to a key-value cache before the snapshot is created. And when the downstream operator get data from Paimon, it can always lookup data from key-value cache correctly.
Solution
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Any progress here? Very useful feature and looking forward to release


bat preview doesn't work on telescope.builtin.quicklist after helpgrep

This is to be expected : the file name in the quickfix list is just the name of the file somewhere in doc files, Bat has no idea where to find the files.
Probably not easy to "fix" as well, since a quickfix list doesn't really carry the extra information about which base folder you're supposed to use to extend the filenames does it ?

We could instead try and make a specific thing for helpgrep -- is that your main goal for what you'd like to see?
I can also look at improving the filename detection in the quickfix previewer (obviously not sure if it will be possible to perfectly detect).
I'm open to other ideas as well :)

I think having a require("telescope.builtin").helpgrep might be better.
I think that's the only case where the quickfix list is filled using files not from the current working directory (maybe vimgrep has an option for that, but if a user is considering that they could just fzf their projtect instead)
So just for this one we could use a special function. Edge case to consider: how are rendered the result if the hit comes from a file under rtp/pack/?/?/package/doc/package-special-doc-file.txt ? Can we actually extract the absolute path for bat, or does helpgrep only return package-special-doc-file.txt and "good luck with that" ?

I think I've fixed.
Should work after helpgrep now.

(please let me know if it's not working though)


ConsumerGroup - empty topics validation

Bug Report
Why kafka.ConsumerGroup doesn't check if the topics array is empty when it is initiated or try to connected? I tried to remove a topic  from consumerGroup dynamically ( the consumerGroup include only one topic), it doesn't throws error and  stuck my application
Environment
Node version:
v8.11.3
Kafka-node version:
v3.0.1
Kafka version:
2.1.0

Perfectly! Now It's impossible to start with an empty array and then dynamically add topics. I'll have to duplicate the logic, thanks =(


Introducing Atlas Guru on Gurubase.io

Hello team,
I'm the maintainer of Anteon. We have created Gurubase.io with the mission of building a centralized, open-source tool-focused knowledge base. Essentially, each "guru" is equipped with custom knowledge to answer user questions based on collected data related to that tool.
I wanted to update you that I've manually added the Atlas Guru to Gurubase. Atlas Guru uses the data from this repo and data from the docs to answer questions by leveraging the LLM.
In this PR, I showcased the "Atlas Guru", which highlights that Atlas now has an AI assistant available to help users with their questions. Please let me know your thoughts on this contribution.
Additionally, if you want me to disable Atlas Guru in Gurubase, just let me know that's totally fine.

Hey @kursataktas 👋
Sorry for the late response - I saw this two weeks ago and forgot to follow up.
This is the first time I see Gurubase.io, but I'll check it out, share it with the team, and update this PR in the coming days.

Hi again,
Have you had a chance to check this out?
Additionally, I’d like to update you on the release of the Maintainer Panel feature on Gurubase. With this panel, you can add, remove, or update data sources, as well as change the logo and more. You can find the details here.
In the near future, I’m planning to include analytics insights in this panel, such as the number of questions asked, the most frequently asked ones, and more. I’ll be sure to update this thread once it’s available. However, in case I miss it, I highly recommend joining our Discord channel to stay updated.
If you’d prefer that I don’t update this thread anymore, please let me know.


added readme correction

@JamilOmar  create PR fix for read me updates.

:tada: This PR is included in version 2.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


what does the @ mean in the output of show-dnsservercache

I want to know what does the @ mean in the output of show-dnsservercache
In linux dns configuration file , the @ , usually means the domain name that the configuration file is created for.
But I feel confuse here in windows show-dnsservercache.

@officedocsbot assign @e0i

@tlsalex
Somehow your issue has been opened without being associated to a documentation topic.
Could you clarify which documentation you're referring to? A link would be helpful.
Thanks.

@tlsalex
The issue has been noted and the document will be revised in the light of your feedback.
Thank you.

@tlsalex  Thank you for your feedback. @ is the Hostname for the particular record type (it is NS record in the doc). Usually To create a Blank record admins use an @ in the Hostname field. This represents an empty prefix (so the name exactly matches the domain name. The @ hostname is also referred to as the the root of the domain.
Hope this helps!
Thanks
Sri

Hello @tlsalex  ,
The issue is being closed since your question seems to be answered. Feel free to re-open this issue if you feel that it hasn't been answered or that there are further suggestions to improve the documentation itself.
Thanks.


Pull request #332 not updated in Nuget package Vanara.PInvoke.User32 3.4.10

Describe the bug and how to reproduce
The SetPointSize extension method is still broken.
What code is involved
Pull request #332 modified the signature of the Vanara.Extensions.LOGFONTExtension.SetPointSize method.
This change is not present in the Nuget package Vanara.PInvoke.User32 version 3.4.10.
I decompiled the assembly, the method has not changed.
Sample code
using Vanara.PInvoke;
using Vanara.Extensions;

namespace ConsoleTest;

public static class Program
{
    [STAThread]
    public static void Main()
    {
        LOGFONT l = new();
        Console.WriteLine(l.lfHeight);
        l.SetPointSize(10);
        Console.WriteLine(l.lfHeight);
    }
}

Expected output
0
-13

Actual output
0
0

The history shows you deleted the PR on 24 Oct after I had accepted it. That is why it was missing in the push. Please resubmit it and I'll get it into 3.4.11.

The history shows you deleted the PR on 24 Oct after I had accepted it. That is why it was missing in the push. Please resubmit it and I'll get it into 3.4.11.

sorry about that, i'm a noob with git

On new repository pulls it won't show up if you've deleted the PR.


add links to logs

Somewhere in the webpage hierarchy, include links to the qproc logs, highlighting the ones where qproc returned a non-zero exit code.
Additionally, it would be useful to figure out a way to make the log output of "qqa monitor" accessible from the webpages themselves, both as a running log "what's it doing right now?" and the snippet that applies to each individual exposure.  That might require some standardization / reformatting of the outputs.

First part (qproc logs) implemented in PR #91.
Second part (qqa monitor logs) will require some more thinking + work.


Add documentation for Policy.load and Policy.persist

For implementing custom Policy classes
It'd be useful to add these methods to the API documentation - to use Agent.load and Agent.persist with a custom policy, you have to implement these methods in your custom Policy, but this isn't documented anywhere yet

Thanks for submitting this PR, we'll give it a review as soon as possible


Switch test env to CircleCI cimg

CircleCI is now promoting the use of a new set of starting
images in the "cimg" space, designating the ones we used
as "legacy".
This commit switches to using this newer "cimg" format
as our starting image, then adds what we need.
Signed-off-by: David A. Wheeler<EMAIL_ADDRESS>

I don't currently know why it's failing.
Documentation here:
https://circleci.com/developer/orbs/orb/circleci/browser-tools
It should probably just install one browser & driver, but that's not the problem.
The failure is in this step:
browser-tools/install-browser-tools
/bin/bash: browser-tools/install-browser-tools: No such file or directory

But the orbs statement is there. Maybe it's getting installed to the wrong image?

@jdossett - we now have a conundrum.
This would switch us to a better test environment. It's based on Ubuntu 20.09, which is closer to the production environment (I hope to switch that to 20.04). It's also the CircleCI-recommended environment, instead of the current one which is "legacy".
However, this appears to be much slower. There's a lot of variance, but it seems to move from ~4min to ~8min per job execution.  That's really long.
I'm inclined to go ahead & accept it & try to speed this up, but there are a lot of reasons to not do that. Ugh, ugh.

SUCCESS, in spite of CircleCI's documentation :-).
However, this is an incredibly messy branch. I'm going to clean this up & create a new PR.

Closing and starting over.


Google Drive error

How to fix it?

Same error here, this is what I get in the console

Try these steps:

go here: https://myaccount.google.com/permissions
search for paimon.moe, then remove access
sign in again on paimon.moe and make sure to check the permission

^ This actually fixes the error

Try these steps:

go here: https://myaccount.google.com/permissions
search for paimon.moe, then remove access
sign in again on paimon.moe and make sure to check the permission

Unfortunately, it didn't help me.

@mehmeh1z Open console by clicking F12 and screenshot the error

@mehmeh1z try other browser with no extension

@mehmeh1z Open console by clicking F12 and screenshot the error

@mehmeh1z try other browser with no extension

I figured it out.
Looking at the console, I saw that the problem was in third-party cookies.
Turning them on and linking "paimon.moe" to the Google drive again, everything worked.


Fix some invalid int property ranges

HeightMapShape3D had ranges configured for float instead of int
Particles had amount that used exp which is not supported, added a note

The amount case could be fixed by adding support for this to EditorPropertyInteger but unsure how useful that would be generally, so just fixing it here

I think it would be useful. Exp was probably used in an attempt to have more control over the lower values (where particle count is WAY more noticeable).

We can always add it back in if we improve that side, but ensuring it works correctly might be finicky, and might be buggy with integer values especially in the lower range (though I haven't tested it myself)
So opening a separate PR and adding different cases that would benefit from exp (including these ones back in) seems to be the way to go with that side

Instead of removing it, which does not change anything, you could put a FIXME comment.

Sure can do that instead, this does do one thing though: Discourage others adding this to their code thinking it will work

With just a quick check, without doing any deeper reworking, adding support for exp to this specific property makes it impossible to edit reliably, it only affects the grab behavior, and skips wildly, it only works reasonably well with the slider exposed, which won't happen without a step smaller than 1
So I think the better solution is simply to remove it, I don't see the usefulness of it, but I'll leave it as a note for now but I'd say to just remove it is the better solution, even with the slider exposed by using a smaller than 1 step it's still very clumsy to edit like that, so I don't see the usefulness at al

exp range for particles amount was added back in dfd1331690fab7e634e2e18fd7269bab8f759b3a. idk if it was better back then, but I guess it doesn't make much sense anymore.

As you can see from the code the integer one didn't support exp then either so it seems to always have been dead code

Thanks!

Thank you!


Setting source map destination path

postcss's documentation states:

By default, PostCSS presumes that you want to save the source map as opts.to + '.map' and will use this path in the annotation comment. But you can set another path by providing a string value for annotation.

Setting option.map.annotation adds a comment with that path to the source map as expected.
That setting is ignored by grunt-postcss and it is always written to destination plus .map.
It would be great to adopt the postcss behavior to be consistent and to allow sourcemaps in different locations than the stylesheet. :smile:

:+1:

A little addition: It would be great if you could put a path to a directory (string ends with a / or \) in option.map.annotation as in grunt we can put an array of sourcefiles in src. postcss should then be called with path/to/maps/destinationfilename.map.


Unread Badge not being removed when read

I see you closed the adding of the unread badge issue, so I'll start a new issue here.
Windows 10.  If I get a new message, the windows badge correctly appears.  If I read the message on my phone, the unread badge does not go away on the desktop.  If I do the same thing with the basic shortcut, the unread badge does go away.  If I open your android messages app on the desktop, it does show that the message is read and then the badge goes away, so that is making it to you that it's ready, you just aren't removing the badge when it's read on the phone.
Do you have the ability to remove the unread badge from the desktop icon if the message is read on the phone?

Hi @lexluthor5 , this sounds like Google may be sending an event to the web client to signal that the notification was read on the phone. I'll have to investigate this. The key is being able to determine how the event is received and how to decipher what code it runs because Google obfuscates their JavaScript. It may be possible!

Hopefully you can figure this one out.  It can be a bit annoying compared to using the chrome shortcut.

Is there supposed an unread badge for the Windows taskbar icon itself that shows "1", "2", etc.?  I'm getting the notification popup when I get a new message but if I don't see that then I can't tell by looking at the taskbar icon that I have unread messages.  Thanks


add SerializableObject type

/**
 * an object that can be serialized, for example with JSON.stringify
 */
type SerializableObject =
  | string
  | number
  | boolean
  | null
  | undefined
  | { [property: string]: SerializableObject }
  | SerializableObject[];

may need to add support for
  | DomainObject<any>

specifically, since for some reason they dont naturally cast to this


Discord server invite.

Can you update the discord server invite link please?

sorry for a very late response but i updated the server link


node.location is 0

getPhotos is not reading correctly the Exif location from photos.
edges[0].node.location for a photo I know has location is read as:
{"latitude": 0, "longitude": 0}

Could be related to #9

Found a solution for Android (which I had trouble at first).
AndroidManifest.xml must include ACCESS_MEDIA_LOCATION permission, and also request that in app.


port: revert "port: Register missingProperties custom function to get all v…

…ariables the template contains (#3885)" (#3970)
This reverts commit 3e2beae24e616c89075532a6385e2399f2bc8500.
#minor

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

20 of 23 (86.96%)  changed or added relevant lines in 3 files are covered.
8 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.05%) to 84.543%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botbuilder-dialogs-adaptive/src/generators/multiLanguageGeneratorBase.ts
17
20
85.0%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

libraries/botbuilder-dialogs/src/memory/scopes/dialogClassMemoryScope.ts
7
20.83%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
19650

Relevant Lines:
22018

💛  - Coveralls


Flag to disable gas tracking

While doing some profiling of my app, I noticed gas tracking (revm_interpreter::gas::Gas::record_cost) is a decent amount of the cpu usage (#1 overall, 12% total).  In this particular use case, 99% of my calls into revm don't require gas tracking (as in, I don't need the result, I imagine there's some infinite-loop protection I'd be forgoing?).
Is there any possibility of adding a flag (ex: make TxEnv.gas_limit be an Option) to disable gas accounting?

There was a feature in the past that disabled the gas, some people used it for tests but in the end, I decided to remove it as there was not a lot of usage traction for it
.
Gas is used as you said for infinite-loop and memory size protection, so in general, it is good to have.

Yep, I remember the feature in previous versions, but had never gotten around to actually using it (I need gas tracking in some cases, but not others, plan was to import two copies of the library and use based on that).  I think I can likely do the same thing here (just a fork that disables gas tracking).
Just odd to see the cpu usage be so high in what looks to be a very small/simple function (screenshot attached).  I imagine there's some tight loop happening on one of the contracts I'm simulating that is causing it, but I haven't been able to isolate yet.

Yep, I remember the feature in previous versions, but had never gotten around to actually using it (I need gas tracking in some cases, but not others, plan was to import two copies of the library and use based on that). I think I can likely do the same thing here (just a fork that disables gas tracking).
Just odd to see the cpu usage be so high in what looks to be a very small/simple function (screenshot attached). I imagine there's some tight loop happening on one of the contracts I'm simulating that is causing it, but I haven't been able to isolate yet.
Thanks for sharing pprof pic, it is informative!
gas calculations is called on every instruction, so it takes its time, and this is in ballpark o what i measured few years ago.

There isn't plan to support no gas flag/feature or gas block optimisation, at least not rn so I will close this Issue


update phpunit version

This change is incorrect.

PHPUnit 5 doesn't work on php 5.3/5.4/5.5.

So, >= 4.x would be correct?

So, >= 4.x would be correct?

No.

"4.x or 5.x" is correct

We don't know that php 7.x or something might move to namespaces and break everything

for now ^4|^5 works
We already use PHPUnit 5 on Travis: https://travis-ci.org/FriendsOfPHP/PHP-CS-Fixer/jobs/100858474#L164

updated

Thank you @gharlan.


KubeStellar Community Meeting March 7th, 2024

Bi-Weekly At 10am Eastern, 7am Pacific, 2pm UTC; find your time
Video call link: https://ibm.webex.com/ibm/j.php?MTID=mc9015c89e56fb75fc0956a1bdb93f931
Or dial: 1-844-531-0958 PIN:<PHONE_NUMBER>#
More phone numbers: https://ibm.webex.com/webappng/sites/ibm/meeting/scheduler
Or join via SIP<EMAIL_ADDRESS>Meeting recordings available on YouTube at https://kubestellar.io/tv
Agenda is here: https://kubestellar.io/agenda
(Join our mailing list at https://kubestellar.io/join_us to get access to the Agenda and other artifacts)
Add topics you'd like to discuss below!
Contributor Code of Conduct
As contributors and maintainers in the CNCF community, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
We are committed to making participation in the CNCF community a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality.

This hasn't occurred yet. Why are you closing?

its awareness.  All the links for the agenda and how to get access to them are in the description.


High Availability

If its within the scope of this project, having an option to create a High Availability cluster (e.g. 3 master nodes) would be good

I think this will comme with kubeadm

Can you clarify @ekozan ?

I've only seen examples of kubeadm usage with single-master, and it doesn't really help with the phase1 changes that would be necessary to support HA. Put another way, the changes to support kubeadm and the changes needed to support HA are a bit orthogonal from my perspective.

kubeadm will support HA
Kubeadm will be integrated to kubernetes-anywhere soon
So i think HA will not be integrated before :)

+1


Not possible to transfer more than ~1GB with sshd

Summary
diego-sshd fails when transferring more than 1GB with a error, either via stdin pipe, SSH tunnel or using scp.
Bad packet length<PHONE_NUMBER>.
Disconnecting: Packet corrupt

Impact
This prevents CF users from using cf ssh app to:

copy files > 1GB
pipe data using stdin (e.g. DB dump)
pipe data to a backing service using a TCP ssh tunnel (e.g. DB dump), as described here https://docs.cloud.service.gov.uk/#creating-tcp-tunnels-with-ssh

How to reproduce
You can reproduce this locally in any computer running diego-sshd First compile the diego-sshd daemon
# Get the diego release for the dependencies
git clone https://github.com/cloudfoundry/diego-release
cd diego-release
./scripts/update

# Use diego release as GOPATH
export GOPATH=$(pwd)

# Compile sshd
CGO_ENABLED=0 go build -a -installsuffix static code.cloudfoundry.org/diego-ssh/cmd/sshd

# Run sshd without authentication.
./sshd \
	--allowedKeyExchanges= \
	--address=<IP_ADDRESS>:2223 \
	--allowUnauthenticatedClients=true \
	--inheritDaemonEnv=true \
	--allowedCiphers= \
	--allowedMACs= \
	--logLevel=debug \
	--debugAddr=

Then test several failure scenarios:

Stdin failure (1034 * 1024k or more makes it crash )

dd if=/dev/zero bs=1024k count=1034 | ssh -p 2223 localhost sh -c 'cat > /dev/null'

Tunnel failure.
Disconnecting: Packet corrupt

The packet length reported in Bad packet length seems to be random:
Bad packet length<PHONE_NUMBER>.
Disconnecting: Packet corrupt
Bad packet length<PHONE_NUMBER>.
Disconnecting: Packet corrupt
Bad packet length<PHONE_NUMBER>.
Disconnecting: Packet corrupt

Related info
There are these issues in golang that might be related:

https://github.com/golang/crypto/commit/d68c3ecb62c850b645dc072a8d78006286bf81ca in golang, which might be related. But testing with go 1.8  that should contain this patch did not fix the issue.
https://github.com/golang/go/issues/18711

Additional notes
We tried some things in our testing

I tried throttling, it fails always.
Tried compiling with golang 1.8, fails anyway.

We do not know if ssh-proxy is also affected by this issue and might cause the same problem.

I have just tested compiling diego-sshd with golang from master, and it fails anyway:
$ go version
go version devel +b9f6b22 Fri Mar 17 13:59:31 2017 +0000 linux/amd64

Tested upgrading the pinned version of golang/x/crypto seems to fix the issue:
cd cf-release
cd src/golang.org/x/crypto/
git checkout master
git pull --rebase

cd ../../../..
CGO_ENABLED=0 go build -a -installsuffix static code.cloudfoundry.org/diego-ssh/cmd/sshd

We tried compiling with the latest master version of golang.org/x/crypto/ bosh diego-sshd and ssh-proxy. We confirm that in a CF installation we can transfer more than 1GB if we replace both binaries. Replacing either one of diego-sshd or ssh-proxy , won't fix the issue.
This makes us consider that:

This issue affects both diego-sshd and ssh-proxy
The issue is fixed in golang.org/x/crypto/, which can be upgraded in the diego-release

NB: We replaced the diego-sshd and ssh-proxy manually in a CF installation, by changing the corresponding binaries in the access/* vm, in /var/vcap/packages/ssh_proxy/bin/ssh-proxy and buildpack_app_lifecycle/buildpack_app_lifecycle.tgz / diego-ssh

Thanks for the detailed report, @keymon, including the findings from upgrading the crypto/ssh library. We'll prioritize the story for the Diego team to fix soon.
Thanks again,
Eric

https://github.com/cloudfoundry/diego-release/pull/288 would fix this issue to go above 1GB.
However, https://github.com/cloudfoundry/cli/issues/1098 breaks the upload at 2GB in recent cf cli versions.

Hi @keymon,
The diego-release/288 fix seems to address a lot of those test cases. Can you give it a shot and let us know?
Thanks,
@bdshroyer && @caod123
CF Engineering, Diego Team

I don't work anymore on that project and in consequence with cloudfoundry (although open to hear about offers 😉). I'll tell my ex-collegues like @csaliceti

Thanks @bdshroyer and @keymon . This can be closed now.


refactor(compiler_base): fix warnings by 'cargo clippy' for Compiler_Base.

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

issue #115
2. What is the scope of this PR (e.g. component or file name):
compiler_base
3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[x] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Other

fix warnings by 'cargo clippy'
4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[x] Other

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 60.418%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
23789

Relevant Lines:
39374

💛  - Coveralls


bug(@vtmn/svelte): linear progressBar not displayed correctly on storybook

Description
On the svelte storybook, on every linear version of the VtmnProgressbar component (link), the progress displayed (blue background on the progress element) is always at 100%.

=> This error only affect storybook. The component himself is working properly.
This error occurs because the following CSS code is missing.
transform: var(--vtmn-progressbar_progress-transform);

Expected behavior
As for every other languages, the progress should be reflected on the component as in the exemple bellow.

Version affected
@vtmn/svelte: v3.2.5

hey can i work on this


Format and setup.cfg modifications

Adding subfolder to linter and formatter
This PR takes care of:
#218 and #197
lint runners will now produce the same errors
modules ignores have been minimized
formatting changes have been made

lint and format only, I'm merging with one review


[EventRequest]: TransferOrder-Post Shipment: OnBeforeCopyTransAndTransferTracking

Hi all,
we would like a Handled Parameter in the above named codeunit in here
            TransLine.SetFilter(Quantity, '<>0');
            TransLine.SetFilter("Qty. to Ship", '<>0');
            if TransLine.Find('-') then begin
                NextLineNo := AssignLineNo(TransLine."Document No.");
                repeat
**OnBeforeCopyTransAndTransferTracking(TransLine,TransHeader)
**If not Handled then begin**
                    CopyTransLine(TransLine2, TransLine, NextLineNo, TransHeader);
                    TransferTracking(TransLine, TransLine2, TransLine."Qty. to Ship (Base)");
**end;**
                    TransLine.Validate("Quantity Shipped", TransLine."Quantity Shipped" + TransLine."Qty. to Ship");

                    OnBeforeUpdateWithWarehouseShipReceive(TransLine);
                    TransLine.UpdateWithWarehouseShipReceive;
                    TransLine.Modify();
                    OnAfterTransLineModify(TransLine);
                until TransLine.Next() = 0;
            end;

OnBeforeCopyTransAndTransferTracking(var IsHandled: Booelan;TransferHeader: Record "Transfer Header";TransLine: Record "Transfer Line")
We are adding derived lines and tracking with our own method and so this would be redundant here.

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


[docs]: elaborate on theming for developers

Elaborate on the stub content in the file: put that stuff in the second half of the page, because it's more "under the hood" stuff
if the first section explain the "how to use" stuff:

themable containers like surface, card, tile, accordion, etc
color-palette attribute as the key to the whole system (which will not change when style queries land)
using <rh-surface role="main"> for whole-page theming
theming individual sections with surface

Link to current DP: https://deploy-preview-1802--red-hat-design-system.netlify.app/theming/developers/


Move to Windows 10 UWP Xaml Bahaviors

https://www.nuget.org/packages/Microsoft.Xaml.Behaviors.Uwp.Managed/

This is already included in current Template10

He's right. Look for version 1.0.9 coming soon.


Ctrl+I, currently is there a way to trick spyder to inspect from ipyconsole when actually in editor?

There are many issues about Ctrl+I working in ipython console but not in the editor. The more I use spyder the more I hate that I have to copy the line to ipython console to inspect the object and switch back to the editor to continue.
Is it possible to implement a patch or plugin for the short term until this issue is solved? For example maybe:

Instead of copying the line to ipython console, Ctrl+I to inspect it, then switching back to the editor to continue.  Make this working automatically with a shortcut key. Or:
Another inspecting behavior to inspect an object in the editor, trick spyder to believe it's in the ipython console.

Or if it's not the dev team's interest, can someone point out a way how to implement this?

This is basically a duplicate of issue #2162. And please don't insist, we're not going to add any short term solution for this.

The only solution we're going to accept (as I told you before) is a PyLS plugin that creates a kernel in the background and gets completions from it.
Here you can find a PyLS plugin for MyPy:
https://github.com/tomv564/pyls-mypy
And you also need to learn about Abstract Syntax Trees in Python (i.e. its ast module) to detect definitions in your code, i.e. things like a = 10 and evaluate those assignments in the kernel.
If/once you something working, we can take a look at it and include it in Spyder. Thanks for understanding.


Add dashboard-list commands

wizzy create dash-list list_name
wizzy add to-dash-list dash-list-name dashboard_slug
wizzy remove from-dash-list dash-list-name dashboard_slug
wizzy show dash-list list_name
wizzy clear dash-list list_name
wizzy delete dash-list list_name

Implemented in master!


No easy way to setup password protected nuget sources

I am trying to setup an appveyor build server but because you can only interact with paket config through prompts I am having difficulties setting the password.
I've tried stuff like
(echo user
echo pass) | .paket/paket.exe ... but it doesn't work I am getting error from paket.

Also I read through the manual and I can see no explanation how you're supposed to do this.

did you try the env variable?


Groups not working after restore

Hardware
ESP32
Firmware version
v2.4.2
Application version
v2.4.2
What happened? What did you expect to happen?
I changed my hardware for an ESP32 board. I reinstalled from scratch and restored from backup file.
All the shades work again normally individually after the restore.
However, I have 4 groups. Two of them do not respond to any command anymore. The two other groups work fine.
I see in the Serial port that the commands are sent to the correct groupID with the correct remote address. The members of the group change status in the WebUI but the shades themselves do not react at all. As if they did not receive or not recognize the command sent from the group remote.
Could it be a rolling code issue with the group remote ?
Any idea other than unpair the group remotes from all the shades and recreate the groups ?
How to reproduce it (step by step)
click any button for these groups

Logs
No response

It does appear the rolling code is out of sync.  Sometimes you can send enough command to get it to catch up.

I'll try some more times to try to catch up.
Shouldn't the last rollling code for group remotes be saved in the backup file like the other remotes ?

Unfortunately, catchup does not work.
The two non-working-groups members are old shutters. The two working-groups members are recent blinds.
Maybe the old shutters have less tolerance to rollingcodes out of sync.
After digging deeper in the source code, I see that the rollingcodes for all remotes (shades and groups) are stored in the preferences, ie in non volatile flash supposedly not wiped during OTA updates.
Shade remote lastrollingcode are also stored in a config file in flash with the Shade settings  and can be restored from there. Group remote lastrollingcode are not stored on file and thus can not be restored. Backup file is a copy of the config file.
Someone updating on the same board may never notice the problem as the rcodes are still in NVS flash. But updating to a new board will certainly create an issue with the groups. Their rollingcodes will restart at 0 and thus be seriously out of sync with the shades motor memory. It should be fixed or mentioned as a limitation.
Group remote can be paired with the shades in the group, but can not be unpaired.
The only option I see is to delete these two groups from the controller and recreate them with a new remote address.

It should be fixed or mentioned as a limitation.

I agree.  I cannot believe I missed that and will be adding the lastRollingCode to the group definition.  You are correct in that users on the same board would not see and issue but restoring to a new one would be a problem.

The rolling code has been added to the group backup/restore in v2.4.3

I am going to close this for now as we detected why the issue was occurring and I fixed it in v2.4.3 that I expect to release to the gen-pop this weekend.


[Proposal] Support Library for mocking SQLDelight queries

SQLDeligth is commonly used in Kotlin Multiplatform projects for state management. The generated queries can trivially be stubbed with Mockative given a few additional tools, which could be provided by a support library for mocking SQLDelight queries using Mockative, or as a non-mockative extension library. In particular, adding code like the following two classes will enable stubbing of SQLDelight generated queries using Mockative:
class IteratorCursor<RowType : Any>(private val results: Iterator<RowType>) : SqlCursor {
    // Could also use AtomicRef from `kotlinx.atomicfu`
    private var _current: RowType? by AtomicReference(null)

    // Could also use `by atomic()` from `kotlinx.atomicfu`
    private var isClosed: Boolean by atomic(false)

    val current: RowType?
        get() = _current

    override fun close() {
        isClosed = true
    }

    override fun getBytes(index: Int) = throw IllegalStateException()
    override fun getDouble(index: Int) = throw IllegalStateException()
    override fun getLong(index: Int) = throw IllegalStateException()
    override fun getString(index: Int) = throw IllegalStateException()

    override fun next(): Boolean {
        if (isClosed) {
            throw IllegalStateException("The cursor is closed")
        }

        if (results.hasNext()) {
            _current = results.next()
            return true
        }

        return false
    }

}

class IterableQuery<RowType : Any>(private val results: Iterable<RowType>) : Query<RowType>(
    queries = mutableListOf(),
    mapper = { cursor -> @Suppress("UNCHECKED_CAST") (cursor as IteratorCursor<RowType>).current!! }
) {
    override fun execute() = IteratorCursor(results.iterator())
}

Having these pieces you could write test stub code like the following:
given(queries).invocation { getOfflineRatesByBase(currencyResponse.base) }
  .thenReturn(IterableQuery(listOf(offlineRates)))

if anyone wanted to work on this i'd chip in $25


Don't rely on user config for getting tree directories

I think we should add a function which recursively scans directories for trees relative to the working directory. The current setup is annoying to work with, since I need to propagate the user config deep into the plugin.

Since now forester has configuration, should be able to scan upper to find a config file?

local function find_config(filename)
  return vim.fn.findfile(filename, ".;")
end

local function find_default_config()
  return vim.fn.findfile("forest.toml", ".;")
end

local function get_file_contents(filename)
  return table.concat(vim.fn.readfile(filename), "\n")
end

local get_tree_dirs = function(config)
  local text = get_file_contents(config)
  local parser = vim.treesitter.get_string_parser(text, "toml")

  local query = vim.treesitter.query.parse(
    "toml",
    [[(document
        (table
          (pair
            (bare_key) @key
            (array (string) @dir))))
    ]]
    -- (bare_key) @key (#eq? @key "trees")
    -- (array (string) @tree_dir ))))
  )

  local dirs = {}
  for id, node in query:iter_captures(parser:parse()[1]:root(), 0) do
    local name = query.captures[id]
    local dir = vim.treesitter.get_node_text(node, text)
    table.insert(dirs, { dir, name })
  end
  return dirs
end

This is what I have so far. For some reason I can't get the query to work properly. using the uncommented line gives nothing.

figured it out 👍

Sorry it's taking so long to release the update. I need to figure out a way to ergonomically switch between different config files in neovim, and in general need to polish a lot of stuff

the unreleased branch contains all of the work. You can search for hardcoded ocurrences of forest.toml in the codebase to see where I still need to work some stuff out.

I tried install it like
{
    "nvim-treesitter/nvim-treesitter",
    opts = {
      ensure_installed = {
        -- ...
        "yaml",
        "toml",
      },
    }
}

maybe I misunderstood something.

I ran into this too, I fixed it by running :TSInstall toml


Fix rename package bugs

Add missing polyfill (Node. My global git ignore excluded this = =)
Update README links.

Coverage remained the same at 73.903% when pulling 7803e3e7b54dd47ab3773b5c0dae802e4339a063 on scottmo/fixRenamePackageBugs into 556931cf9febeec0afb35741d064669d0ca5026f on master.


Project token for Codacy task is null.

When downloading source code of library as zip on machine that has no environment variables required by some of the project's Gradle tasks specified, Gradle fails to properly synchronize project in Android Studio.

#18 CLOSED


[stable/sysdig] Upgrade image to 0.89.5 and update cluster role

Signed-off-by: Néstor Salceda<EMAIL_ADDRESS>
What this PR does / why we need it:
This PR upgrades Sysdig Agent to the latest release 0.89.5
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @bencer

/lgtm
/approve


provide setting to start web search in Incognito mode

Description of the new feature / enhancement
as title
Scenario when this would be used?
in PowerToys Run
Supporting information
No response

Hi @TonyWW
Could you plaese explain for which scenarios this could be used.

when I type "??PowerToys use centralized keyboard hook" in PowerToys Run, I don't want Google to keep track of it and then push me a lot of news about PowerToys, or keyboard, or hook, etc. So I thought if there is a setting to start the search in Incognito mode, that would help? Does Google still track your activities even you search in Incognito mode?
btw, what does "use centralized keyboard hook" mean in PowerToys Run?

@crutkas I agree this must be a setting. But I think we can't support every browser.
The parameters I know so far:

Browser
Parameter

Edge
--inprivate

IE
-private

Firefox
-private-window

Chrome/Chromium/Vivaldi
--incognito

Opera
-private

A setting is OK. But this seems to me a pretty important feature.

@htcfreek
Thanks for the table. I was wondering why Firefox wasn't launching in private mode on a second desktop with the -private switch. Now I know the switch has to be -private-window.