Dependency license compatibility

Question
Hi Ratify is adding skywalking-eyes as license checker to its pipeline. And it turns out there are 2 libraries are under incompatible license:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>is missing a license but v2 added Apache 2.0 license.
go-metrics is under license BSD-2-Clause-Views which is not compatible with Apache 2.0 as mentioned in https://www.apache.org/legal/resolved.html#category-a
It's not a blocking issue, just wonder if you have plan to address the license incompatibility.

These are indirect dependencies, please raise this issue with each of these libraries.


Turkey Day Skillmap Assets

https://arcade.makecode.com/--skillmap#github:kiki-lee/beg-split/turkey
Needed:

[x] Badge
[ ] Homepage Banner
[x] Certificate

@kiki-lee for visibility

Here are the badge designs:

And here's the certificate
PDF:
turkey-cert.pdf
Image preview:

Here's the certificate
PDF:
turkey-cert.pdf
Image Preview:

Here's the homepage banner:


Visualise pointcloud from ros

I have a question!
Here is my question:
Thank you for sharing the awesome code. I am trying to use it with a mapping robot but struggled to find a way to visualise the pointcloud map from the robot.
I wonder if there is any material I can follow to set it up correctly in unity?
Thank you in advance.
Chang

Hello,
ROS# does not have point cloud subscriber/publisher/processor/visualizer scripts at the moment, but it is possible to adapt your application needs into current ROS# communication framework.
You can directly communicate over point cloud topics, i.e. bring the poincloud2 messages of ROS into Unity, process and visualize them by creating a custom mesh. However, as the pointcloud2 messages are quite big in terms of size, this would create bottleneck in the communication
Another idea would be to communicate over two compressed 2D images, i.e bring compressed rgb images and compressed depth images into Unity, apply back projection techniques to obtain 3D point coordinates, and then visualize them by create a custom mesh. Communicating over compressed image messages rather then poincloud2 messages would result in less bottleneck in the framework.
Please also refer to the issues #79 #152 and #153 .
I guess it would be nice to have a custom material with a custom shader in Unity. You can always search for a simple and high performance shader on web.
I hope it helps.

I believe you can google the ros-reality package. Alternatively u can write a subscriber for PointCloud2 and use it to animate a particle system.

Hi @berkayalpcakal@Berkay Alp Cakal,
You mentioned we need to bring compressed rgb images and compressed depth images into Unity
I know how to subscribe CompressedImage with the ImageSubscriber by using Messages.Sensor.CompressedImage. Is this the compressed rgb images you were taling about?  How about compressed depth images? Do I need to create my own compressed depth images messages and subscriber to have these data in unity？Thanks a lot

@stevensu1838 yes, you have to create your own compressed depth image subscriber.

Hi Martin, very clear. Will try it hard

@stevensu1838 have you been able to visualize pointCloud points in Unity by wrinting a compressed depth image subscriber ?

Hello everyone. I have written a Pointcloud subscriber, feel free to copy & paste if it helps you. @melkishengue I am currently working on combining depth & color images to create an RGB point cloud, I can post that here as well.
`
//Adapted from https://answers.ros.org/question/339483/ros-sharp-unity3d-import-pointcloud2/ & https://github.com/siemens/ros-sharp/blob/master/Libraries/RosBridgeClient/PointCloud.cs
using UnityEngine;
using System;
using UnityEditor;
namespace RosSharp.RosBridgeClient
{
[RequireComponent(typeof(RosConnector))]
public class PointcloudSubscriber : UnitySubscriber<MessageTypes.Sensor.PointCloud2>
{
//Mesh variables
public RgbPoint3[] Points;
private Mesh mesh;
public MeshRenderer meshRenderer;
Vector3[] vertices;
//int[] triangles;
Color[] colors;
//Subscription variable
private bool isMessageReceived = false;
    protected override void Start()
    {
        Debug.Log("Start\n");
        //Start Unity Subscriber
        base.Start();
        //Create empty new mesh for points
        mesh = new Mesh();
        GetComponent<MeshFilter>().mesh = mesh;
        meshRenderer.material = new Material(Shader.Find("Custom/VertexColor"));
    }

    private void Update() //Function to update when new messages are received
    {
        if(isMessageReceived){
            ProcessMessage();
        }
    }

    protected override void ReceiveMessage(MessageTypes.Sensor.PointCloud2 message) //Automatically called when new mesage received
    {
        Debug.Log("ReceiveMessage\n");
        //Processes message, transforms into form Unity can understand
        //NOTE: Pointcloud.cs methods could be implemented here (depth & image)
        long I = message.data.Length / message.point_step;
        RgbPoint3[] Points = new RgbPoint3[I];
        byte[] byteSlice = new byte[message.point_step];
        for (long i = 0; i < I; i++)
        {
            Array.Copy(message.data, i * message.point_step, byteSlice, 0, message.point_step);
            Points[i] = new RgbPoint3(byteSlice, message.fields);
        }
        vertices = new Vector3[I];
        colors = new Color[I];
        for (var i = 0; i < I; i++)
        {
            vertices[i].x = Points[i].x;
            vertices[i].y = Points[i].z;
            vertices[i].z = Points[i].y;
            colors[i].r = (float)((float)Points[i].rgb[0] / 255.0);
            colors[i].g = (float)((float)Points[i].rgb[1] / 255.0);
            colors[i].b = (float)((float)Points[i].rgb[2] / 255.0);
            colors[i].a = 1.0F;
            //Debug.Log("Colors: " + colors[i].ToString());
            //Debug.Log("Vertex Colors: " + Points[i].rgb[0] + " " + Points[i].rgb[1] + " " + Points[i].rgb[2] + "\n");
        }
        isMessageReceived = true;
    }

    private void ProcessMessage() //Clears mesh and loads new vertices
    {
        Debug.Log("ProcessMessage\n");

        mesh.Clear(); //Removed try / catch loop
        mesh.vertices = vertices;
        mesh.colors = colors;

        //Graphs mesh as points. Works with /rtabmap/cloud_map & /voxel_cloud
        int[] indices = new int[vertices.Length];
        for(int i = 0; i < mesh.vertices.Length; i++){
            indices[i] = i;
        }
        mesh.SetIndices(indices, MeshTopology.Points, 0);
        mesh.RecalculateBounds();
        //AssetDatabase.CreateAsset(mesh, "Assets/testMeshColorRTABMap4.asset");
        //AssetDatabase.SaveAssets();
        isMessageReceived = false; //Resets and waits for new message
    }
}

}`

Hi @Bradyk27 , thank you for sharing your PointCloud2 subscriber class here!
Surely it will be of help for others interested in visualizing a PointCloud2.
We decided against including it in ROS# as PointCloud2 messages are relatively huge and entail some latency.

Happy to help @MartinBischoff.

PointCloud2 messages are relatively huge

So I've noticed--quite a pain. I've started work on creating a visualizer script via a depth & rgb image subscriber based on your PointCloud.cs script. It's not working yet, but I'll paste what I have thus far and update over the next few days. If you or anyone else sees anything immediately wrong, please point it out. Excuse the slightly messy comments & redundancy--it's a work in progress.
If you have time and could explain to me the following aspects of your code, I'd thoroughly appreciate it.

Focal variable? Where might I find that / what is it?
Applying full (non-compressed) images to a 2D texture to make sure the image is being received. The ImageSubscriber.cs works only with compressed images.
This line: float depth = 0; // depthImage[u,v] I assume setting depth to 0 is simply a default value to prevent errors (in case a depth image is not received). I'm guessing that depthImage[u,v] is equivalent to depthImage.data[u*v]?

//Adapted from https://answers.ros.org/question/339483/ros-sharp-unity3d-import-pointcloud2/ & https://github.com/siemens/ros-sharp/blob/master/Libraries/RosBridgeClient/PointCloud.cs
// Need to see if pointcloud calculation is working
//  Might also be resetting...we shall see
using UnityEngine;
using System;
using UnityEditor;
using RosSharp.RosBridgeClient.MessageTypes.Sensor;

namespace RosSharp.RosBridgeClient
{
    [RequireComponent(typeof(RosConnector))]

    public class PointcloudSubscriberFast : MonoBehaviour
    {
        //Mesh variables
        public RgbPoint3[] Points;
        private Mesh mesh;
        public MeshRenderer meshRenderer;
        Vector3[] vertices;
        Color[] colors;
        public Image colorImage;
        public Image depthImage;
        public ImageSubscriberFull colorImageSubscriber;
        public ImageSubscriberFull depthImageSubscriber;

        void Start()
        {
            Debug.Log("Start\n");
            mesh = new Mesh();
            GetComponent<MeshFilter>().mesh = mesh;
            meshRenderer.material = new Material(Shader.Find("Custom/VertexColor"));

        }

        void Update() //Need to consider how when and how things are updated
        {
            if(colorImageSubscriber.pointcloudReady && depthImageSubscriber.pointcloudReady && colorImageSubscriber.generationReady && depthImageSubscriber.generationReady)
            {
                GeneratePointcloud();
            }
        }

        private void GeneratePointcloud()
        {
            colorImageSubscriber.generationReady = false;
            depthImageSubscriber.generationReady = false;
            Debug.Log("Started Generation");
            try{
                float focal = 1.0f;
                colorImage = colorImageSubscriber.image;
                depthImage = depthImageSubscriber.image;
                uint width = depthImage.width;
                uint height = depthImage.height;
                float invFocal = 1.0f / focal; //Remove focal variable

                Points = new RgbPoint3[width * height];
                for (uint v = 0; v < height; v++)
                {
                    for (uint u = 0; u < width; u++) //why the hell is u not incrementing? Something to do with how "generate pointcloud" variable???
                    {
                        Debug.Log("W: " + width);
                        //Debug.Log("H: " + height);
                        Debug.Log("U: " + u);
                        //Debug.Log("V: " + v);
                        //Debug.Log("W*H: " + (width*height));
                        //Debug.Log("U*V: " + ((u+1)*(v+1)));
                        //double percent_complete = ((double)(u*v) / (double)(width*height)) * 100.0f;
                        //Debug.Log("Percent Complete: " + percent_complete.ToString("0.000000000000###"));

                        float depth = 0; //depthImage.data[u*v]; //Gotta figure out what this is and how to set it.
                        if (depth == 0)
                        {
                            Debug.Log("Depth 0");
                            Points[u + v * width].x = float.NaN;
                            Points[u + v * width].y = float.NaN;
                            Points[u + v * width].z = float.NaN;
                            Points[u + v * width].rgb = new int[] { 0, 0, 0 };
                        }
                        else
                        {
                            Debug.Log("Depth not 0");
                            Points[u + v * width].z = depth * invFocal;
                            Points[u + v * width].x = u * depth * invFocal;
                            Points[u + v * width].y = v * depth * invFocal;
                            Points[u + v * width].rgb = new int[] { 0, 0, 0 };// rgbImage[u, v]; // Gotta figure out what this is and how to set it as well
                        }
                    }
                }

                Debug.Log("Pointcloud being generated!");
                vertices = new Vector3[Points.Length];
                colors = new Color[Points.Length];
                for (var i = 0; i < Points.Length; i++)
                {
                    vertices[i].x = Points[i].x;
                    vertices[i].y = Points[i].z;
                    vertices[i].z = Points[i].y;
                    colors[i].r = (float)((float)Points[i].rgb[0] / 255.0);
                    colors[i].g = (float)((float)Points[i].rgb[1] / 255.0);
                    colors[i].b = (float)((float)Points[i].rgb[2] / 255.0);
                    colors[i].a = 1.0F;

                    Debug.Log("Vertexes: " + Points[i].x + " " + Points[i].y + " " + Points[i].z + "\n");
                    Debug.Log("Vertex Colors: " + Points[i].rgb[0] + " " + Points[i].rgb[1] + " " + Points[i].rgb[2] + "\n");
                }

                mesh.Clear();
                mesh.vertices = vertices;
                mesh.colors = colors;

                //Graphs mesh as points
                int[] indices = new int[vertices.Length];
                for(int i = 0; i < mesh.vertices.Length; i++){
                    indices[i] = i;
                }
                mesh.SetIndices(indices, MeshTopology.Points, 0);
                mesh.RecalculateBounds();
                //AssetDatabase.CreateAsset(mesh, "Assets/testMeshColorRTABMap4.asset");
                //AssetDatabase.SaveAssets();
            }
            catch(Exception) {
                return;
            }

            colorImageSubscriber.generationReady = true;
            depthImageSubscriber.generationReady = true;
            colorImageSubscriber.pointcloudReady = false;
            depthImageSubscriber.pointcloudReady = false;

        }

    }
}

And the accompanying modified image subscriber:
using UnityEngine;
using RosSharp.RosBridgeClient.MessageTypes.Sensor;

namespace RosSharp.RosBridgeClient
{
    [RequireComponent(typeof(RosConnector))]
    public class ImageSubscriberFull : UnitySubscriber<MessageTypes.Sensor.Image> //Better way to do this, probably be some version of ID
    {
        public Image image;
        private bool isMessageReceived;

        public MeshRenderer meshRenderer;
        private Texture2D texture2D;
        private byte[] imageData;

        public bool pointcloudReady;
        public bool generationReady;

        protected override void Start()
        {
			Debug.Log("Start\n");
			base.Start();

            texture2D = new Texture2D(1, 1);
            meshRenderer.material = new Material(Shader.Find("Standard"));
            generationReady = true;
        }
        private void Update()
        {
            if (isMessageReceived)
                ProcessMessage();
        }

        protected override void ReceiveMessage(MessageTypes.Sensor.Image Image)
        {
            Debug.Log("ReceiveMessage\n");
            image = Image;
            isMessageReceived = true;

            imageData = Image.data;
        }

        private void ProcessMessage()
        {
            Debug.Log("ProcessMessage\n");
            isMessageReceived = false;

            texture2D.LoadRawTextureData(imageData);
            texture2D.Apply();
            meshRenderer.material.SetTexture("_MainTex", texture2D);
            pointcloudReady = true;
        }

    }
}

I have tried to use the codes above and this project， but the code never jump to ReceiveMessage() callback functions because Debug.Log never output in console.
Console shows that RosBridge is connected.
My versions: ROS noetic & unity 2021.3.33.
Does anyone encounts this issues?


Fix container logging for intializers and injected container calls

See https://github.com/tempestphp/tempest-framework/pull/177/files#r1507660304

So I actually had a working version of this. This is an outdated form of that, I never committed the latest iteration.
Basically, because each "step"/"context" was keep a reference of the previous one, we were never losing the originator, as the tree could continue as long as necessary and would never reset the originator. The key is I was also completing steps, so it would throw away stuff that was successful and not relevant.
As I'm looking at it now, there's a chance we could just pull the origin by the first array key though. 🤔

As I'm looking at it now, there's a chance we could just pull the origin by the first array key though. 🤔

Could you elaborate on that?

Instead of storing the origin in a special property, track it by whatever is first in the array. 🙂

Believe it or not, this now works


Bridge relayer, correct asset conversion and add better trace

Summary

RFCs: Link to RFC, Link to RFC, or $\emptyset$.
Categories: any of protocol-units, networks, scripts, util, cicd, or misc.

Do some corrections to the relayer for Mvt -> Eth transfer direction.
Set some better trace for the bridge relayer execution.
Changelog

Testing
To test follow the process in  this PR: #714

Outstanding issues

The client integration tests client_l1move_l2move.rs and client_l1move_l2move.rs pass.
Integration tests against the old FA modules fail (client_eth_movement and client_movement_eth) due to a linker error. I raised an issue about it here:
https://github.com/movementlabsxyz/movement/issues/746
But think this is good to approve for now unless we're planning to use the FA modules in the near future.

As agreed with @musitdev I wont be merging this as we will instead be removing AssetType entirely as the original usecase for this type no longer exists and we will no longer have to deal with this conversion.


feat: support for notification filter by date in portal

Portal PR Checklist
Pre-requisites

[x] I have gone through the Contributing guidelines for Submitting a Pull Request (PR) and ensured that this is not a duplicate PR.
[x] I have performed preliminary testing to ensure that any existing features are not impacted and any new features are working as expected.

PR Details
PR details have been updated as per the given format (see below)

[x] PR title adheres to the format specified in guidelines (e.g., feat: add admin login page)
[x] Description has been added
[ ] Related changes have been added (optional)
[ ] Screenshots have been added (optional)
[ ] Pending actions have been added (optional)
[ ] Any other additional notes have been added (optional)

Additional Information

[x] Appropriate label(s) have been added (ready for review should be added if the PR is ready to be reviewed)
[x] Assignee(s) and reviewer(s) have been added (optional)

Description:
Added support for filtering notifications by date in portal
Related changes:
N/A
Screenshots:
N/A
Pending actions:
N/A
Additional notes:
N/A

Summary by CodeRabbit

New Features

Added calendar components for filtering notifications by date range.
Users can now select "From" and "To" dates to refine notification searches.

Bug Fixes

Improved date constraints to prevent invalid selections in the calendar.

Style

Enhanced CSS styling for dropdowns and calendar components for better readability and layout.

Chores

Minor adjustments to CSS for improved visual spacing in the notifications view.

In the current approach, if I want to see the notifications created on a specific day (for example, 12th August 2024), then I need to select "From" as 12th and "To" as 13th (as 12th is greyed out in "To").
Is this expected? I would assume if I only want to see notifications on a specific date, then I choose the same date in both "From" and "To". Maybe the gte and lte operators can be used instead of gt and lt?

In the current approach, if I want to see the notifications created on a specific day (for example, 12th August 2024), then I need to select "From" as 12th and "To" as 13th (as 12th is greyed out in "To").
Is this expected? I would assume if I only want to see notifications on a specific date, then I choose the same date in both "From" and "To". Maybe the gte and lte operators can be used instead of gt and lt?

Updated operator to gte and lte. Updated Select Date To by 24 hour (1 Day) in the code since the date selected from the calendar points to <date> 00:00:00 hr which is start of the day but we need notifications till end of the day.


Create 0000-01-02-winays.md

dne

created a branch, created a file and made a commit, and opened a pull request

created a branch, created a file and made a commit, and opened a pull request


implement lint rules

After I wrap up the work on https://github.com/Boshen/oxc/pull/57 it'd be great to try to implement some lint rules, do you have any particular rules in mind that you'd like implemented? 🙂

I'm ironing out the details in https://github.com/Boshen/oxc/pull/59
It would be superb if you review the PR by commits, and question all the things that doesn't make sense or lack documentation.
Once we are satisfied with the result, I'll gather some lint rules that only require AST checks.

I feel like I can follow along with most of the code there, as far as my understanding goes, it looks like you had to support trivia to the lexer/parser to be able to access those kind of information in the linting rule. I would have expected that some of those trivia (like single line comments and multi line comments) would have been AST nodes themself though?
Additionally, Im able to follow along on most of the config parsing/reading, but im not entirely grokken what the from_json fn on the Rule impl does exactly.
Also I should read up more on const fns it looks like lol 😄


fix(NgTableParams): thisArg for apply on $log functions should be $log

$log may be decorated or replaced by different modules, and therefore
instead of providing this in the $log.debug.apply call, $log itself
should be passed in as the thisArg to ensure state needed for replaced
functions is present.

Thanks


freeglut: 3.0.0 -> 3.2.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/freeglut/versions.
meta.description for freeglut is: '"Create and manage windows containing OpenGL contexts"'.
meta.homepage for freeglut is: '"http://freeglut.sourceforge.net/"

Checks done (click to expand)

built on NixOS

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

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

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

directory tree listing: https://gist.github.com/8f75b4f2d7af219c2d97ec0bc3dd1b26

du listing: https://gist.github.com/02ea2341bb4587dbefb63c5fcfbcd355

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

729 total rebuild path(s)
245 package rebuild(s)
245 x86_64-linux rebuild(s)
222 i686-linux rebuild(s)
49 x86_64-darwin rebuild(s)
213 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
Sylk
afterstep
alsaTools
appimage-run
appleseed
asymptote
bicgl
boinc
box2d
bullet
bullet-roboschool
bumblebee
cegui
celestia
chipmunk
cinepaint
construo
crack_attack
crrcsim
csound
csound-qt
cubicsdr
cups-filters
curaByDagoma
cura_stable
digikam
dillo
displaycal
electricsheep
enblend-enfuse
enlightenment.econnman
enlightenment.efl
enlightenment.enlightenment
enlightenment.ephoto
enlightenment.rage
enlightenment.terminology
eureka-editor
exrdisplay
extremetuxracer
fakenes
faust2csound
fldigi
fllog
flmsg
flpsed
flrig
fltk
fltk13
fltk14
fltrator

Instructions to test this update (click to expand)

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

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A freeglut https://github.com/r-ryantm/nixpkgs/archive/66a13c808d3375ecff38944174857a5ce6ee4b71.tar.gz

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

cc @bjornfor for testing.

It seems the bug is already fixed upstream. Looking at the history, I think 3.2.0 also used the wrong .so version number. Ugh. Better ask upstream to make another relase, IMHO.

I think in lib, they have it as 3.1.0.so which doesn't match

Ah, they are already preparing for 3.2.1 bugfix release: https://sourceforge.net/p/freeglut/mailman/message/36771648/.

Superseded by above PR.


Request: add github.astrophel.org to the filter

Evidence: https://github.astrophel.org/notracking/hosts-blocklists
Original: https://github.com/notracking/hosts-blocklists
Evidence: https://github.astrophel.org/topics/ublock-list
Original: https://github.com/topics/ublock-list

Thanks a lot!


Getting group list

I couldn't find any way to extract ChatId that my bot was added to before launching the application.
Is this just something that hasn't been implemented yet?

I don't know whether I interpret your question correctly. In general, you are limited with what the Telegram Bot API provides (obviously). The API doesn't provide a method that returns a list of chat ids to which your bot was added in the past. If you need that, you have to keep track of that by yourself. I believe there is no event being sent to the bot when he is invited to a channel/group/chat. But as soon as he receives a message, you can extract the chat_id. Positive chat_ids are private chats (i.e. chat_id is equal to user Id) , negative ids represent groups.


Support for unary positive expressions

Support for expressions like:

+5
+(3+2)
-5
-(-5)

Excellent addition.  Thanks.  I will update the docs and probably merge the tests into the normal expressions.  New version will be forth coming.

Thank you!


Is there a way to modify a PDF document?

Question
I need to read an already created PDF document into memory and add additional content to that PDF. Is it possible with pdfkit?
I went through the documentation and couldn't find anything about modifying existing documents.

Editing is not possible. pdfkit library is for creating pdf documents.


UserGuide notebook not found

I get a 404 message when I try to open the UserGuide:
(http://nbviewer.jupyter.org/urls/networkit.github.io/uploads/docs/NetworKit_UserGuide.ipynb)
404 : Not Found
You are requesting a page that does not exist!
The remote resource was not found.
Same issue with any of the provided guides

Yeah, I've found that most of the links on the website are broken of 404ed

I fixed the link the readme and now it works, is that what you meant @alvarodemig?
@AlexMRuch Apart from that, are there any other broken links? The links on the website seems to work.

Thanks for those fixes!
On the website (https://networkit.github.io/) if you click the User Guide button in the middle of the screen (https://nbviewer.jupyter.org/url/networkit.github.io/uploads/docs/NetworKit_UserGuide.ipynb), it leads to a 404 not found error page.
Also, if you go to notebooks section of the documentation link (https://networkit.github.io/dev-docs/notebooks.html), the same happens when you click networkit user guide (https://nbviewer.jupyter.org/urls/networkit.github.io/uploads/docs/NetworKit_UserGuide.ipynb) or any other notebook (e.g., spectral clustering: https://nbviewer.jupyter.org/urls/networkit.github.io/uploads/docs/SpectralCentrality.ipynb).
Lastly, some of the Python documentation pages seem to be empty (e.g., correlation: https://networkit.github.io/dev-docs/python_api/correlation.html)
Thanks for looking into this!

Thanks a lot for the feedback. We fixed the broken links to the user guide also on the website.
About the documentation, there are indeed some empty pages because of missing docstrings; we will write them as soon as possible.

Happy to help! Very excited to see how this project continues to develop! Thanks again!

On Apr 4, 2019, at 7:34 AM, Eugenio<EMAIL_ADDRESS>wrote:
Thanks a lot for the feedback. We fixed the broken links to the user guide also on the website.
About the documentation, there are indeed some empty pages because of missing docstrings; we will write them as soon as possible.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/kit-parco/networkit/issues/280#issuecomment-479860988, or mute the thread https://github.com/notifications/unsubscribe-auth/AVGLOYlHw6pq2VHukOmRVGTZV7vqVvk5ks5vdeNWgaJpZM4Y_BIm.


Modify channel utils to include group messages

Summary
Includes GM channels to the list and sort favorites excluding the type of channel
Ticket Link
https://mattermost.atlassian.net/browse/PLT-5721
Test Information
This PR was tested on: IOS 10.2.1 iPhone 6s, Android 6.0.1 Samsung J5

If you load the app and one of your hidden GMs has an unread, will it show up in the LHS? Assuming the message was received while you weren't connected to the websocket

Good question, haven't tried that will do

actually its not even happening with DM's

@jwilander done my friend


Please explain Google

https://github.com/chenjishi/android_location_demo/issues/2

The issues on our sample repositories should only be used for issues with the samples. In order to get an answer on your own code, we recommend using stackoverflow.

Your samples does not work. When register the Intent with:
private PendingIntent getGeofenceTransitionPendingIntent() {
  | Intent intent = new Intent(this, GeofenceTransitionsIntentService.class);
  | return PendingIntent.getService(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);
  | }
It triggers but after a while it stops. Why? (I do not reboot my mobile)


Custom grainy line drawing sample in complex ink

Hi,
Thanks for all the great samples!  I'm trying to create a pen that will allow me to draw a line with texture, something like a pencil on rough paper.  I'd also like to be able to colorize that line, and vary the saturation of the color based on pressure.
At present I am trying to use a BitmapBrush with a partially transparent grayscale png of a texture, and repeating the bitmap of the texture as the pen moves.  I'm not sure how to colorize the bitmap, or even if this approach makes sense.
It would be very helpful to have another pen in the Complex Ink sample that displayed more extensive customization of the line drawn for the strokes.  There are no good tutorials other than this sample that I can find on the subject.

Hi Kelly, we are well aware of this scenario and is working on exposing more custom line drawing functionality in the platform.  Today there's basically no way for an app to customize wetink (the ink that's rendered before you lift the pen off screen) rendering, and you get either the solid "ballpoint pen" look or the semi-transparent "highlighter" look.  Our plan is to allow apps to customize this in the future, like specifying a shader function.
If you can live with wetink and dryink (rendered after you lift the pen) look different, you can have InkPresenter draw the wetink in a color/pen that approximates the pen you want, then render the dryink yourself through CustomDry (covered in ComplexInk sample).  This gives you the option of using BitmapBrush to render the dry ink, and you can even dry the ink strokes to SwapChainPanel and draw using DX.  One caveat with this approach is you won't be able to use the same smoothing algorithm wetink is using, so the dried stroke may look blocky.  This is another area where we plan to expose more customization functionality, so apps that decides to draw wetink their own way can still benefit from ink stroke modeling provided by DirectInk.
Thank you for the comments and suggestion, and feel free to email us at<EMAIL_ADDRESS> I'm much more prompt at responding to that alias :)


components/tx/createTxForm: fix broken imports

Previous merge messed up some imports and the createTx screen was not working. #58

Actually I've fixed it too, in my code cleanup #64

fixed by #64


docs: first pass at some docs

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 55.98%. Comparing base (3638fe1) to head (7733173).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #66   +/-   ##
=======================================
  Coverage   55.98%   55.98%
=======================================
  Files           9        9
  Lines        1077     1077
=======================================
  Hits          603      603
  Misses        401      401
  Partials       73       73

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


Version 1.x.x introduced an bug where breaking changes are display, but there are none

Using the latest version (v1.0.1) show breaking changes on parameters but there are none.
Compare the given spec with itself. The expected result is no changes, but it shows a breaking change on the referenced parameter. Your example application shows the same wrong result. Just copy paste the yaml spec in your application and diff it.
Spec:
openapi: 3.0.0
info:
  version: 2.8.0
  title: test api

paths:
  /test/endpoint:
    get:
      parameters:
        - $ref: "#/components/parameters/name"
      responses:
        "200":
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: string
components:
  parameters:
    name:
      name: name
      in: query
      schema:
        type: string
      required: true

Example code:
import { apiCompare } from "api-smart-diff";
import { readFile } from "fs/promises";

const specText = await readFile("spec.json", "utf-8");
const specObj = JSON.parse(specText);

const { diffs } = apiCompare(specObj, specObj);

console.log(diffs);

Output:
[
  {
    path: [ 'paths', '/test/endpoint', 'get', 'parameters', 0 ],
    before: { '$ref': '#/components/parameters/name' },
    action: 'remove',
    type: 'breaking',
    description: '[Removed] required query parameter `name`'
  },
  {
    path: [ 'paths', '/test/endpoint', 'get', 'parameters', 1 ],
    after: { '$ref': '#/components/parameters/name' },
    action: 'add',
    type: 'non-breaking',
    description: '[Added] required query parameter `name`'
  }
]

fixed in<EMAIL_ADDRESS>

thanks for the fix!


Analytics framework

A great resource on implementing iOS analytics with Segment: https://segment.com/docs/libraries/ios/
We want to make three types of tracking calls:

Identify, to record a user's unique identifiers and any associated traits

[[SEGAnalytics sharedAnalytics] identify:@"a user's id"
                                traits:@{ @"email": @"a user's email address" }];

Screen, to record screen views and associated properties

[[SEGAnalytics sharedAnalytics] screen:@"Photo Feed"
                            properties:@{ @"Feed Type": @"private" }];

Track, to record actions the user takes in the app

[[SEGAnalytics sharedAnalytics] track:@"Bought an Item"
                           properties:@{ @"item": @"Sword of Heracles", @"revenue": @2.95 }}];

Right now the only integration we're using is Mixpanel, but we may want to turn on other integrations in the future.
See https://docs.google.com/a/artsymail.com/spreadsheets/d/1bLbeOgVFaWzLSjxLOBDNOKs757-zBGoLSM1lIz3OPiI/edit#gid=497747862 for a tracking plan that includes the screens we want to track, event names, and describes the properties we want to record for these tracking calls.

This is almost in: https://github.com/artsy/eigen/pull/442 closing as dupe

There's a lot of additional info here, but feel free to pull into the the other issue if you like!
cc @ashfurrow @alloy


add implementations for org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl#examineSubscriptionGroupConfig

What is the purpose of the change
add implementations for org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl#examineSubscriptionGroupConfig
Brief changelog
implementations for org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl#examineSubscriptionGroupConfig
Verifying this change
run  test case org.apache.rocketmq.tools.admin.DefaultMQAdminExtTest#testExamineSubscriptionGroup and run org.apache.rocketmq.tools.admin.DefaultMQAdminExt#examineSubscriptionGroupConfig in run time mode
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage decreased (-0.09%) to 51.167% when pulling 691df5915e521cab434f2b7495d44640334cb620 on ChaosYjh:examineSubscriptionGroupConfig-v2 into b6307dfce1c201877f7a27691cad74b842c0d971 on apache:develop.


Add sentry for logging

See:

http://flask.pocoo.org/docs/1.0/errorhandling/#error-logging-tools
https://docs.sentry.io/clients/python/
https://sentry.io/for/flask/
https://docs.sentry.io/clients/javascript/integrations/angularjs/

setting up sentry server


change URL to "FFEC" instead of "FFEC-website"

"FFEC-website" seems a bit silly in a URL.

This is not possible unless:
A) we change the repo name
B) we create a custom domain where these pages are hosted.
A) is the easiest but means that everyone who forked, will need to fork again

roger that. let's not change anything immediately, but i'll keep the issue open.


ResizableTextArea not work in unity 2017.4.16

ResizableTextArea not work in strings and array strings.

Check 2019.1. It started working again on my end again. They probably fixed some bug.


Uses orchestra/testbench-core instead of orchestra/testbench

~Added or updated tests~
~Documented user facing changes~

Changes
For "Development" packages it is best to require orchestra/testbench-core due to the minimum amount of dependencies introduced.

Breaking changes
No breaking changes since it only changes require-dev

Thank you.


CircularProgress.startAngle doesn't take effect

Hi ,
I just want the animation start from the top of the circle.
So I set the startAngle as -Double.pi / 2 , but it still start from 0 .
Is there anything I missed?
Here is my code :
@IBAction func runAction(_ sender: Any) {
productACircularProgress.colors = [.purple, UIColor(rgba: 0xFFF77 A55), .orange]
productACircularProgress.startAngle = -Double.pi / 2
productACircularProgress.set(progress: 0.618, duration: 0.75)
}
Thanks in advance!

@objcCodingTogether
I updated to library version 1.2.0.
It added strokeStart / End property, and can set progress offset.
Although it may be enough by CGAffineTransform this time.
Thanks.


Bump npm package to include #24

Since my change in #24 is a somewhat serious bug in hashids.js, it would be great to have the npm package updated with this change. Maybe a minor bump?

Published.

Thanks @ivanakimov 😄


feat: use security-group module instead of resource

what

use security-group module instead of resource
update tests

why

more flexible  than current implementation
bring configuration of security group/rules to one standard

references

CPCO-409

/test all

/test all

Please explain why options existing_security_groups and use_existing_security_groups were removed.

@z0rc you should be able to provide existing security groups using var.security_groups and disable the security group creation by setting var.security_group_enabled = false. Does that work for you ?

@SweetOps @nitrocode Can we provide backward compatibility by doing something like
locals {
  security_groups = compact(concat(var.existing_security_groups, var.security_groups))
  security_group_enabled = var.use_existing_security_groups == null ? var.security_group_enabled : ! var.use_existing_security_groups
}

variable "use_existing_security_groups" {
  type        = bool
  description = <<-EOT
    DEPRECATED: Use `var.security_group_enabled` instead.
    HISTORICAL USAGE: Flag to enable/disable creation of Security Group in the module.
    Set to `true` to disable Security Group creation and provide a list of existing security
    Group IDs in `existing_security_groups` to place the cluster into"
    EOT
  default     = null
}

variable "existing_security_groups" {
  type        = list(string)
  default     = []
  description = <<_EOT
    DEPRECATED: Use `var.security_groups` and set `var.security_group_enabled = false` instead.
    HISTORICAL USAGE: List of existing Security Group IDs to place the cluster into.
    Set `use_existing_security_groups` to `true` to enable using `existing_security_groups` as Security Groups for the cluster"
    EOT
}

Breaking changes have been added in the release notes https://github.com/cloudposse/terraform-aws-elasticache-redis/releases/tag/0.40.0
@Nuru , we could do this in a follow up PR, perhaps also update the README a bit more.
What do you think @SweetOps and @osterman ?


Update badges to use shields.io and add downloads

Description
Update badges to use shields.io and add downloads column

It gets a bit messy, any chance you can specify widths so all buttons look like they have the same font size and align nicely in the column?

Closing for now. Will have to deal with the layout regression + update all the individual READMEs.

The wrong references are a different problem: #1916


Replace rebalance-leaders with k8s job

see: https://github.com/zeebe-io/benchmark-helm/pull/7 and deploy-models in https://github.com/camunda-consulting/zeebe-tuner/blob/master/src/main/resources/benchmarktemplates/Makefile

@upgradingdave would you like to take this on given that you worked on #62 already?

Hi @falko, yes, I could look into this. I'll block some time to work on this on Friday and will update status here 👍

This is really an impediment for any benchmarks now because the rebalance-leaders in the main branch is broken for Zeebe 8.2.11 and onwards. Zeebe Tuner requires this to work. As a workaround, I'm working with the old code, which we should restore if we don't get the job to work, soon.

Hi @falko, I used this example to create a job that uses a curl image to rebalance leaders. See commit 63ee2cc6bc82b9b860fe6521c1fc785f88429d8e


Integrate CustomFormatConverter

For IFormatable types:
https://gist.github.com/maslevx/635a3b5085928dd8dad9

We can't do it because the format and format provider only works for ToString op but not FromString


OCM-7083 | fix: use util to create version ID

OCM-7083
Change type

[ ] New feature
[x] Bug fix
[ ] Build
[ ] CI
[ ] Documentation
[ ] Performance
[ ] Refactor
[ ] Style
[ ] Unit tests
[ ] Subsystem tests

Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.

/approve
/lgtm


Add Dockerfiles and Docker instructions

The main https://github.com/CommunitySolidServer/CommunitySolidServer repo has instructions for running with Docker. To make integrating the recipes easier into existing Docker workflows, I've added a minimal Dockerfile for each of the extensions and instructions how to use them.
I've only recently started using Docker, so a review of the Dockerfiles by someone with more experience might be helpful

I don't think the Dockerfiles of the CSS were specifically designed to be used as a base to build plugins on top of in a new Dockerfile. Instead I would use a simplified approach to build from scratch (as you essentially also do when building in nodejs):
# Build stage
FROM node:lts-alpine

# Set current working directory
WORKDIR /community-server

# Copy the package.json and package-lock.json files and any required docker context files (like a src folder)
COPY package*.json .

# Container config & data dir for volume sharing
# Defaults to filestorage with /data directory (passed through CMD below)
RUN mkdir /config /data
# Copy all config files to /config
COPY config* /config

# Install and build the Solid community server
RUN npm ci --unsafe-perm --omit=dev

# Remove src folder if present (not needed in container once built)
RUN rm -rf /community-server/src

# Informs Docker that the container listens on the specified network port at runtime
EXPOSE 3000

# Set command run by the container
ENTRYPOINT [ "npx", "community-solid-server", "-c", "/config/config-penny.json" ]

# By default run in filemode (overriden if passing alternative arguments or env vars)
ENV CSS_CONFIG=/config/config-penny.json
ENV CSS_ROOT_FILE_PATH=/data

This can be built in the penny folder docker build -t mypennyexample:latest . and then be used to run with docker run --rm --name test -p 3000:3000 -v C:\Users\user\mydata:/data -it  mypennyexample:latest.


Add a possibility to generate phrase from given entropy

A possibility to generate a phrase from given entropy seems to be common
these days as shown here: https://iancoleman.io/bip39/#entropy-notes
The page above allows to get same phrases for same entropy.
===========
Huge thanks for the project! It's very helpful for us!
Could you please review this tiny feature request as we need this feature for our project. Would greatly appreciate your help here

Hey @oltarasenko! Thanks for the PR, glad this is used and it's helpful :).
Thanks for kind words :)

Are you using this in an open source project ? I'd be curious to check it out.
No, we're building a commercial project for a client, but he has an intention to opensource it if our MVP will be successful. In short, we are building an elixir version of Hashicorp Vault. Let's see, hopefully we will make it successful and opensource for other people!

This is such an obscure library that every single use case is interesting to me.
I am curious if it's possible to accept other entropy sizes, now just 32 bytes. E.g. https://iancoleman.io/bip39/ suggest a lot of options starting from 3 words. In our case I have to use 24 option only. Is this done because of security concerns?

Thanks for approving it! :)
Could I ask you when you will have time to merge it to master & prepare the release/tag

I am curious if it's possible to accept other entropy sizes, now just 32 bytes. E.g. https://iancoleman.io/bip39/ suggest a lot of options starting from 3 words. In our case I have to use 24 option only. Is this done because of security concerns?

Yes, it all comes down to the strength of your initial entropy 32 bytes (256bit) is exponentially better than 4 bytes (32 bits) in the case of using 3 words. If I remember correctly, Parity and some other HD wallets were using 128bits (12 words) - that is probably ok for blockchain. Keep in mind that a 3 random word password like ontolog-obsequy-wiremen is much much stronger than a 3 word mnemonic which uses a fixed 2048 word dictionary!
The Vault is an interesting use case. I will keep an eye out in case the project gets released. I was thinking of using this library to manage a hierarchy of SSH keys. One day ... 😅

Thanks for approving it! :)
Could I ask you when you will have time to merge it to master & prepare the release/tag

@oltarasenko just cut a new release and published it


[Mbed] Unit tests improvements

Problem
Mbed unit tests implementation needs improvement. Not all tests passed. We verified and fix all issues.
Change overview
Reduce Mbed unit test coverage (due to flash memory size limitations) - remove dnssd testing.
Fix TestConfigurationMgr_GetPrimaryMACAddress for Mbed platform - skip comparing with default address - Mbed implementation always return MAC address.
Add TestKeyValueStoreMgr for Mbed platform
Fix ReadConfigValueBin function for Mbed platform - check buffer size
Fix InetInterface.cpp - move CloseIOCTLSocket() function to the right place
Fix InetEndPoint test - skip InterfaceNameToId checking for Mbed
Testing
Build and run Mbed unit test on the device. The result should be CHIP test status: 0, which means all tests passed.

Fast tracking, as this is a platform maintainer making platform changes.


API Spec in the Design tab exports well but cannot be imported

Expected Behavior
The exported JSON file or the exported YAML file is expected to reproduce the exact copy of the exported document when imported. All features including the yaml document file, requests, tests, environments and cookies are expected to be the same.
Actual Behavior
When exporting a document with the "insomnia v4 (JSON)" format or with the "insomnia v4 (YAML)" format, the yaml file in the "DESIGN" tab is exported well like the images below.

However, when I create a new document by clicking "+ Create" and then "Import" to import the exported JSON/YAML file, the yaml specification document is not recovered as shown below.

First, there is no error message when importing. The import process finishes without any popup or failing.
Second, the requests in the "DEBUG" tab, the tests in the "TEST" tab, environments and cookies are all fully recovered.
Finally, I have tried using other documents and tried making the document with the same name but it still did not work.
 Make soem tests, environments and cookies if you want.
Export the document by pressing on the dropdown form on the left of the "DESIGN" tab and press "Import/Export".
Press "Export Data" and then press 'Export the "" Document'.
Select all and press "Export"
Select "Insomnia v4 (JSON)" or "Insomnia v4 (YAML)" and press "Done" and save
Return to "Personal Projects" and press "+ Create" and then "Import"
Choose the saved file and press "Scan"
Change Name if you want and press "Import"

Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
No response
Insomnia Version
2023.2.2
What operating system are you using?
Windows
Operating System Version
Windows 11 Pro 22H2
Installation method
downloaded from insomnia.rest
Last Known Working Insomnia version
No response

Fixed in 2023.3.0


Django CMS 3.3: Advanced Permissions popup is just empty if the user has no permission to edit them

I gave my users access to a subset of pages to edit, but I didn't gave an explicit permission to edit 'advanced settings'.
The menu item for this is disabled (ok)

However the user is still able to access that screen by the bottom of the regular settings

Or by Shift+Click on the settings icon in the page tree.
In both cases the user will just see a blank, gray popup with no information. The backend is triggering a 401 response correctly.

@bartTC
Thanks for reporting.
We're currently working in a cleanup of our permissions system for 3.4
I'll keep this open in the meantime.

Fixed by https://github.com/divio/django-cms/pull/5532
The shift+click part will be fixed by https://github.com/divio/django-cms/pull/5617


[proofing] Show page number on editor

Proofers find this useful to ensure that page numbers are defined correctly.
Most of the work in this PR is a large refactor of edit and edit_post.

over 24h, landing


GCP credentials reference are not set into the Backup and the Role

Changes were backported to branches 1.15 and 1.16


Support Staging Site For Docs

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


PySpark fails to read multiple nested levels of Elasticsearch index

I'm trying to read document properties that are nested under 3 levels of entities and getting the familiar 'typically this occurs with arrays which are not mapped as single value' error.
The document I'm trying to read looks like this:
"_source": {
"Actions": {
"Agree": {
"Total": 0,
"Involved": false
},
"Disagree": {
"Total": 0,
"Involved": false
},
"Report": {
"Total": 0,
"Involved": false
},
"Comment": {
"Total": 6,
"Involved": false,
"NextLoad": 0
}
}
I'm setting the field-specific config this way:
conf.set('es.read.as.array.include', 'Actions, Actions.Agree, Actions.Disagree, Actions.Comment')
conf.set('es.read.field.include', 'Actions.Agree.Total, Actions.Disagree.Total, Actions.Comment.Total')
I've tried messing around with this config, either not setting the read.as.array at all or not setting the root 'Actions' entity, same result as below for all combinations.
Setting schema and initializing DF this way:
schema = StructType([
StructField("_id", StringType(), True),
StructField("Actions.Agree.Total", IntegerType(), True),
StructField("Actions.Disagree.Total", IntegerType(), True),
StructField("Actions.Comment.Total", IntegerType(), True)
])
df = sqlContext.read.format("org.elasticsearch.spark.sql").load('index/type')
Trying to fetch results gives this error:
org.elasticsearch.hadoop.EsHadoopIllegalStateException: Field 'Actions.Comment' not found; typically this occurs with arrays which are not mapped as single value
Calling printSchema() on DF returns the following structure:
root
|-- Actions.Agree.Total: integer (nullable = true)
|-- Actions.Disagree.Total: integer (nullable = true)
|-- Actions.Comment.Total: integer (nullable = true)
Without manually setting schema on the DF the schema shows the following:
root
|-- Actions: struct (nullable = true)
| |-- Agree: struct (nullable = true)
| |-- Comment: struct (nullable = true)
| |-- Disagree: struct (nullable = true)
Spark version is 2.2.0
Please advise

I tried to get a reproduction on this but did not succeed. After closer inspection, it seems that your provided schema does not match the actual structure of the Elasticsearch index. The second schema is the correct one. Setting the schema as you have it set up tells spark to look for a single field with the name "Actions.Agree.Total", instead of looking for the nested fields in the document. While you should be able to query the data using that dot notation, you should avoid using it when creating your schema.


Document HTTP Status Codes

This PR:

Adds section on HTTP Status Codes
as suggested in https://github.com/ipfs/go-ipfs/issues/6746#issuecomment-549759085 by @Stebalien
Adds "HTTP Commands" header, which was missing
Switches to go-ipfs v0.4.22
Fixes build under go v1.13.4 (not sure if it can be done better, but #worksForMe :upside_down_face:)

(i will PR to docs.ipfs.io and  link to a preview shortly)

Works for me without hacking the imports

Nevermind, it seems I'm running a go 1.13 version that still does not fuck up everything.

@lidel @hsanjuan What was your workaround for the CircleCI build test failing? I'd like to merge https://github.com/ipfs/docs/pull/368 ...


Add MOZART LU decomposition scheme

Add the MOZART LU decomposition scheme.
closes #685
Also:

creates an alias for the default LU decomposition scheme (currently Doolittle) named LuDecomposition. This will allow us to change the default scheme more easily, just by changing the alias to point to the new scheme.

Can you setup one of the integration tests with a solver builder that uses the mozart LU decomp?

done!


Has this article been accepted by any conference or journal?

Great work! I'm currently writing an article and would like to cite your work. Has this work been formally accepted by any conference or journal?

https://arxiv.org/abs/2312.02126

Hi! Thanks for your interest in our work! SplaTAM has been accepted and will be presented at CVPR 2024.

Readme and other material will be updated shortly to indicate CVPR 2024.


--ignore-case with -g option

Option -g doesn't respect neither -i nor -S options, so there is no way match path pattern case insensitively.
For example
Given pwd files
├── context
│   └── context.txt
├── depth
│   ├── Context.txt
│   ├── dir_1
│   │   ├── dir_2
│   │   │   └── file_3.txt
│   │   └── file_2.txt
│   └── file_1.txt

running pt -ig context produces context/context.txt.
should:
depth/Context.txt
context/context.txt

with -G option it is ambiguous to respect -i and -S for path pattern (imho).

Just came here to ask about why -g wasn't respecting -i, wondering if it was a bug.  I ended up using ag for this specific purpose instead, because as stated it returns all matches.  Not sure if it's a bug or not but I think it's more helpful to return too many matches than too few, as the former can be handled by the user with some extra work.

Well, I used to submit pr, which would fix this, but looks like it didn't get any attention. Personally I've switched to rg.

@vbauerster I tried switching but they have no real equivalent of -g.  The closest they have is --files -g or something, but that didn't even come close to what I wanted, like respecting gitignore.

@rosshadden rg --files respects gitignore. If it isn't, please file a bug.

@BurntSushi I don't mean to turn this into a conversation about rg, but the --files argument is just not anywhere close to how -g behaves in ack, ag, or pt.  I have brought this up in its github before but users of rg don't seem to care.
For example pt -g foo will find the following:
test/a/b.c
test/a.b
a/test/b.c
a/b/c/d/e/test/f.g
a/b/c/d/test.e
foo-test
foo_test
testing

Whereas rg --files test finds just:
test/a/b.c
test/a.b

And rg --files -g test finds nothing at all.  I have been as of yet unable to find a series of arguments that comes even remotely close to what these other projects all handle consistently.

Please file a bug on the proper issue tracker. Not here.
On Oct 1, 2017 1:39 PM, "Ross Hadden"<EMAIL_ADDRESS>wrote:
@BurntSushi https://github.com/burntsushi I don't mean to turn this into
a conversation about rg, but the --files argument is just not anywhere
close to how -g behaves in ack, ag, or pt. I have brought this up in its
github before but users of rg don't seem to care.
For example pt -g foo will find the following:
test/a/b.c
test/a.b
a/test/b.c
a/b/c/d/e/test/f.g
a/b/c/d/test.e
foo-test
foo_test
testing
Whereas rg --files test finds just:
test/a/b.c
test/a.b
And rg --files -g test finds nothing at all. I have been as of yet unable
to find a series of arguments that comes even remotely close to what these
other projects all handle consistently.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/monochromegane/the_platinum_searcher/issues/175#issuecomment-333393161,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAb34i1IADCrmp7MuOLPHbH0g4Y4gQ-Oks5sn85UgaJpZM4Mk7t6
.


How to get probability of data point?

Let's say I have a trained model for some dataset X of unknown distribution. How can I use the Glow library to compute the probability of a new data point from the distribution?
I am looking at theinfer()function in train.py and f_encode() in model.py
What I'm doing right now is using the calculated objective in f_encode to compute p = tf.exp(objective). Is this correct? Could someone point me in the right direction?

Any follow ups or insights or this? Any idea how to get probability from demo/model?


Pass through GPU command line flags to electron/chromium

I'm running Fedora 30 on an Intel i7-8700  CPU using integrated graphics with 4k/UHD displays. Chrome/Chromium famously  doesn't want to enable GPU acceleration by default on Linux, citing fears of buggy drivers.
I'm however happily running chromium using --enable-gpu-rasterization --enable-native-gpu-memory-buffers and get full GPU acceleration without any noticeable graphic glitches. I'd like to have the same for VSCode too.
I want to have the ability to force VSCode to use GPU acceleration too, as it makes for a very big difference in responsiveness on 4k screens. Unfortunately, code doesn't pass the required chromium args through to electron -> chromium and I couldn't find other flags to try (i.e. there's a --disable-gpu flag, but not a --force-enable-gpu or similar).
Here's what I tried, note that GPU rasterization and native_gpu_memory_buffers is still disabled
10:13 $ code --enable-gpu-rasterization --enable-native-gpu-memory-buffers
10:13 $ code --status
[12966:0716/101357.767249:ERROR:sandbox_linux.cc(379)] InitializeSandbox() called with multiple threads in process gpu-process.
Version:          Code 1.35.1 (c7d83e57cd18f18026a8162d042843bda1bcf21f, 2019-06-12T14:27:31.086Z)
OS Version:       Linux x64 5.1.15-300.fc30.x86_64
CPUs:             Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 800)
Memory (System):  31.29GB (16.74GB free)
Load (avg):       2, 1, 1
VM:               0%
Screen Reader:    no
Process Argv:     --enable-gpu-rasterization --enable-native-gpu-memory-buffers
GPU Status:       2d_canvas:                    enabled
                  checker_imaging:              disabled_off
                  flash_3d:                     enabled
                  flash_stage3d:                enabled
                  flash_stage3d_baseline:       enabled
                  gpu_compositing:              enabled
                  multiple_raster_threads:      enabled_on
                  native_gpu_memory_buffers:    disabled_software
                  rasterization:                disabled_software
                  surface_synchronization:      enabled_on
                  video_decode:                 unavailable_off
                  webgl:                        enabled
                  webgl2:                       enabled

What happens when you start code with --gpu-sandbox-start-early
$ code --enable-gpu-rasterization --enable-native-gpu-memory-buffers --gpu-sandbox-start-early

Turns out I had something mixed up. Maybe it also changed between v1.35 to 1.36 which I think also updated electron version, but on the latest version I can use code
--ignore-gpu-blacklist --enable-gpu-rasterization --enable-native-gpu-memory-buffers and get decent acceleration.
Documented my findings here


[Snyk] Upgrade gatsby-plugin-image from 1.3.0 to 1.15.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade gatsby-plugin-image from 1.3.0 to 1.15.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 64 versions ahead of your current version.
The recommended version was released a year ago, on 2022-12-07.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

👷 Deploy Preview for taupe-cassata-172709 processing.

Name
Link

🔨 Latest commit
a104786f685f156c231460d456301646d7de4e0d

🔍 Latest deploy log
https://app.netlify.com/sites/taupe-cassata-172709/deploys/66246f45035b420008bdbf85


Temp no longer available after update to 2022.4

Since the update to 2022.4 the temperature sensor is no longer available for the dyson pure humidify and cool. Other entities work as expected.

That's fixed on 0.16.3 (but the other entities are still broken, see #117.)

All fixed in v0.16.4 thanks to @Flameeyes

Works great again - Thanks!


Schema for mandatory traits

Hi all,
I came to this repository because of #1 issue. I was searching for all traits and types, and found it's available in a schema which is nice. But currently, I cannot know which type have what trait(s) as a mandatory trait. Is there any way you guys can add this like you did in #1?
Thanks in advance :)

Hi,
The required trait information is available in the Index.yaml file.
For example, for AC UNIT have these required traits


Damage could not be changed in the config file

Hi mpbb. I have encountered two weird problem using this mod. The durability could be changed by config normally, but the damage could be not. Every time I changed the damage and restart the game, the damage in the config file changed back to the default values.
And by the way, the new bows could not be seen in the JEI's item list in the inventory view in survival mode. But JEI will work normally when trying to view the bows' recipes.

Hi @Trevor-wen
Thank you for submitting an issue. I am aware of the JEI and creative inventory issues, these will be fixed in the next release.
The config file issue seems more major and I will investigate and try to release a fix at the same time


Delete button not appearing

Describe the bug
The "delete" button doesn't appear after the end of a newly opened video.
To Reproduce
Steps to reproduce the behavior:

Open a video file.
When it ends only the "next" button appears, not the "delete". Tap the "next" button.
After the end of the next video, the delete button appears as supposed to.

Expected behavior
The delete button should appear after the end of the first opened video.
Device:

Model: Nokia 6.2
OS: Android 11
Version: 0.136

Anyway, it'd be much more handy, if the "next"  and "delete"  buttons appeared when the pause button is pressed.

Works for me, stale, so closing.


[Feature] KV Cache Compression

Checklist

[x] 1. If the issue you raised is not a feature but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
[x] 2. Please use English, otherwise it will be closed.

Motivation
For long context (long input prompts), the group I work with would love to have a compressed KV cache implementation, similar to H2O or SnapKV, integrated into SGLang.
Related resources

SnapKV: paper
Heavy-Hitter Oracle: paper

cc @andy-yang-1 who is working on something related https://github.com/andy-yang-1/DoubleSparse

Double Sparsity is a great paper! If @andy-yang-1 can provide brief tips on how to integrate it into SGLang, I would be very grateful.
Looking forward to hearing more discussion on this topic!

@vnkc1 I am working on integrating Double Sparsity into SGLang. We will notify you as soon as the PR is released!

https://github.com/sgl-project/sglang/pull/1459


Add hint to README.md when running Jenkins as a docker container

Singed-off-by: Grigori Prokhorov<EMAIL_ADDRESS>

I need to redo this PR cleanly. Sorry, closing this.


ParentSpanId instead of ParentId

I'm a bit of newbie in questions of telemetry, but label ParentId may seem to be a bit misleading when in actuality it points to SpanId of parent request.
Is there any reason not to log it as ParentSpanId? I think it'd give more depth to clarity.

ParentId and ParentSpanId are two different properties on Activity. We just use the same names as what .NET uses.
https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.activity

Again, sorry for the stupid question
If we work strictly in W3C format - ParentId will always match ParentSpanId, correct?

I see it
https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.activity.parentspanid?view=net-6.0#system-diagnostics-activity-parentspanid
OK, issue closed.


Capturing Parameter from Url

Hello,
I am trying to use the Get or Delete operations as follows.
http://localhost:1923/product/1234

My ES6 compatible JS code is as follows.
import avrasya from "avrasya";

const server = new avrasya.default();

server.router.get("/product/{id}", (ctx) => {
    console.log(ctx.req);
    ctx.send("Wellcome to my real world");
});

server.use((ctx) => {
    console.log("middleware");
    console.log(ctx.req.url + " " + ctx.req.method);
})

server.listen(1923);

However, when I try it, I get an HTTP 404 Not Found error. How can I get parameters through this type of router?

Thanks and best regards.

Hi,
Wrong package imported. Please install the "avrasya" package.
For more examples, check please.
https://github.com/muhtalipdede/avrasya/tree/main/examples

Hello again,
I edited the package correctly but I keep getting HTTP 404. My goal is to define a redirect where I can use the value 1234 in requests such as localhost:1923/product/1234.
Thanks.

Hi,
Can you try the route definition like this?
Wrong
server.router.get("/product/{id}", (ctx) => {
    console.log(ctx.req);
    ctx.send("Wellcome to my real world");
});

Correct
server.router.get("/product/:id", (ctx) => {
    console.log(ctx.req);
    ctx.send("Wellcome to my real world");
});

Please let me know if the problem is not solved.
Regards.

Dear DeDe,
Thank you for attention and answer. I fixed my code by using your suggestion.
import avrasya from "avrasya";

const server = new avrasya.default();

server.router.get("/product/:id", (ctx) => {
    console.log(ctx.params["id"]);
    ctx.send(ctx.params["id"] + " product infos");
});

server.listen(1923);

Now, it's working ;)


Release 0.2.6 version

With the backported non-breaking changes from #301

r? @therealprof
(rust-highfive has picked a reviewer for you, use r? to override)

:warning: Warning :warning:

Pull requests are usually filed against the master branch for this repo, but this one is against v0.2.x. Please double check that you specified the right target!


Constructor functions are not recognized as equivalent to classes

TypeScript Version:  3.1.0-dev.20180922
Search Terms:
js constructor function
Code
// clazz1c.js
function clazz1c(){
	this.constructorOnly = 0 // (1.) [ts] 'this' implicitly has type 'any' because it does not have a type annotation.
	this.constructorUnknown = undefined // (1.) [ts] 'this' implicitly has type 'any' because it does not have a type annotation.
}

clazz1c.prototype.method = function() {
	this.constructorOnly = 3
	this.constructorUnknown = "plunkbat"
}

module.exports=clazz1c

// node-global.ts
/// <reference types="node" />
export {}
import Clazz1cType = require("../clazz1c") // (2.) (alias) function Clazz1cType(): void
var clazz1bGlobalVar: Clazz1bType // (2.) var clazz1bGlobalVar: any
declare global {
	namespace NodeJS {
		interface Global {
			clazz1bGlobalVar: Clazz1cType // (4.) (property) NodeJS.Global.clazz1bGlobalVar: any
		}
	}
}

// index.js
 var clazz1c = require("./clazz1c") // (3.) var clazz1c: typeof clazz1c
 var clazz1cInstance = new clazz1c(); // (3.) var clazz1bGlobalVar: any
global.clazz1bGlobalVar=clazz1bInstance // (4.) (property) NodeJS.Global.clazz1bGlobalVar: any

// jsconfig.json
{
    "compilerOptions": {
		"allowSyntheticDefaultImports": true,
		"checkJs": true,
		"noEmit": true,
		"module": "commonjs",
		"moduleResolution": "node",
		"strict": true,
		"noImplicitAny": true,
		"noImplicitThis": true,
		"target": "es5",
        "baseUrl": ".",
        "lib": [
            "es2015",
            "dom"
		]
	},
    "exclude": [
        "node_modules"
    ],
    "typeAcquisition": {
        "enable": false
    }
}

Expected behavior:

this inside the constructor is infered based on this-property assignments
function is recognized as constructor function; assignment gives type of class?
type equivalent to a class t.i. (alias) class clazz1c (per default type is exported too)
typed equivalent to type of constructor function of clazz1c, sth like new() => clazz1c?

Actual behavior:

this inside the constructor is not infered based on this-property assignments
function is not recognized as constructor function; assignment gives any type
type is not recognized as equivalent to a class
typed as any

Playground Link:
For (1) see http://www.typescriptlang.org/play/#src=function clazz1c(){
	this.constructorOnly %3D 0
	this.constructorUnknown %3D undefined
}

clazz1c.prototype.method %3D function() {
	this.constructorOnly %3D 3
	this.constructorUnknown %3D "plunkbat"
	}

module.exports%3Dclazz1c
(2), (3) and (4) not in playground link, but doable as github tag on request
Related Issues:
None found

I think this is the intended behavior under noImplicitThis. There's no good way for us to tell what's a constructor function and what's meant to be a method. If we just assume that any function might be used as a constructor we'll miss out on a lot of errors, as all assignments to an untyped this become legal. If you don't care about that and just want your constructor functions to work you could set "noImplicitThis: false" in your jsconfig.

@andy-ms  Quoting https://github.com/Microsoft/TypeScript/wiki/Type-Checking-JavaScript-Files#constructor-functions-are-equivalent-to-classes, i interpreted that said hold without further hinting or limitations?

Before ES2015, Javascript used constructor functions instead of classes. The compiler supports this pattern and understands constructor functions as equivalent to ES2015 classes. The property inference rules described above work exactly the same way.

If not, i could be fine with annotating the constructor function with the TS comment hint @constructor. If this is the case, one should additionally PR the above documentation.
In any case, according to the title of this issue, i would like to discuss (2) (3) and (4) as not "working as intended". Neither the resulting TS signature nor the compiler's evaluated/exported type of such a constructor function are currently handled equivalent to a class. On any usage in said ts or js files, the constructor function is still interpreted as sth like (alias) function clazz1c(): void, not as a type of a class's equivalent constructor function. So when I assign that as a type to a variable, the variable gets typed as any. Guess that the compiler does not bring in the proper class-like type, but should do that. What bugs me is that else there is currently no way to type a variable to be of type clazz1c in e.g. node-global.ts, and also all the other effects described above in (2) (3) and (4).
P.S. If i rewrite clazz1c to be a proper es2015 class, the exact same usage in said ts or js files works as intended. So this issue aims to get constructor functions as equivalent to ES2015 classes recognized by TS in js and ts files

See also #18171 relating to (1)

That document is titled "Type Checking JavaScript Files" -- in JS files the rules are looser.

@andy-ms  Okay, got that. So it has to be
// clazz1c.js
/**
 * @constructor
 */
function clazz1c(){
	this.constructorOnly = 0
	this.constructorUnknown = undefined
}
module.exports=clazz1c

to make noImplicitThis give no error. But for the other why parts of Constructor functions are not recognized as equivalent to classes, please consider
// std-globals.ts
export {}

import Clazz1cType = require("../clazz1c") // (A)
                                           // (C)
declare global {
	var clazz1CGlobalVar: Clazz1cType // (B)
}

Clazz1cType is just a (alias) function Clazz1cType(): void at (A). At (B) it defaults to any. Because it seems to me that Clazz1cType gets not conotated as a class-like type, as it would be if it was recognized as equivalent to classes.
Even no hand-written declaration liketype Clazz1cType = typeof Clazz1cType at (C) does make this right, as on the usage in the next file e.g.
// index.js
var clazz1cInstance = new clazz1c();

clazz1CGlobalVar=clazz1cInstance // (D)

gives [ts] Type 'clazz1c' is not assignable to type 'typeof clazz1c'.   Type 'clazz1c' provides no match for the signature '(): void'.  at (D)

See also #27550. Although other worded, but may apply here.

I think the reason is that constructor functions are special-cased in resolveCallExpression -- they still only have call signatures, not construct signatures.

This should all work as expected now. @joma74 do you mind trying typescript@next to check?

Checked, but sorry can't see it fixed. For reference of testcases see  joma74/ts-in-js-1 on branch master and branch ts-issue-global-demo. On both then run yarn & yarn ci to see tsc validation failure.

P.S. would expect noImplicitAny to error if it would be an error :)
// std-global.d.ts
export {}

import clazz1a = require("../clazz1a")
// type clazz1a = typeof clazz1a // is i comment this "why extra"

declare global {
	var aglobalstringFromTsInJs1: string = "aglobalstringFromTsInJs1"
	var aglobalClazz1aFromTsInJs1: clazz1a <= this turns any
}

This is fixed now.


Allowing initializer words which map to >1 token if num_vectors_per_token supports it

I ran into a situation where the only initializer word I could find which was close to my target was mapped to 2 tokens (using stable diffusion), so have come up with a way which I think allows more than 1 token to be the starting basis for textual inversion. This is my first time attempting to write in python or torch, but I think I've got this working (after a very painful afternoon of lessons :P), and just wanted to mention it in case it would be useful to add, or to see if anything obviously wrong about it stands out to the authors.
In embedding_manager.py:
Copied get_clip_token_for_string to get_clip_tokens_for_string, which asserts that (num_vectors_per_token % (nonzerocount-1) == 0), and returns torch.narrow(tokens, 1, 1, count-1) - this should give the tokens for the string, without the trailing 49407's, or the starting 49406, so long as they divide neatly into num_vectors_per_token
Copied get_embedding_for_clip_token to get_embeddings_for_clip_tokens, which returns embedder(tokens)[0]
Changed the code under if initializer_words and idx < len(initializer_words) to:
init_word_tokens = get_clip_tokens_for_string(embedder.tokenizer, initializer_words[idx], num_vectors_per_token)
with torch.no_grad():
init_word_embeddings = get_embeddings_for_clip_tokens(embedder.transformer.text_model.embeddings, init_word_tokens.cpu() )
num_tokens = torch.count_nonzero(init_word_tokens)
token_params = torch.nn.Parameter( init_word_embeddings.repeat( int(num_vectors_per_token / num_tokens), 1 ), requires_grad=True, )
self.initial_embeddings[placeholder_string] = torch.nn.Parameter(init_word_embeddings.repeat(int(num_vectors_per_token / num_tokens), 1), requires_grad=False, )
Using a num_vectors_per_token of 4 (which maybe 'doubles' my initialization word weight?), my very first training image at 500 steps immediately looks better than anything I've gotten in the first few thousands steps before with the same training data set, and is immediately recognizable as correct, despite the initializing word not being particularly close to the target, only much closer than any words I've found previously. This might be why some targets are able to be mapped quite well, and some have struggled, because it takes an ideal initialization word and many of them would have more than 1 token.
I also spent a long time finding template phrases for personalized.py which generated somewhat correct images when using my initializer word in place of the token, in the hope that it will mostly train the embeddings on what is different.

That's interesting. Did you use the same number of vectors in the runs that took more time to converge? I'd be happy to experiment with this change and add it if it does consistently improve results.

Yeah I've tried quite a few times with 4 vectors, since early on I had one get excellent results with 46 training images but it was over-trained on closeup shots of the clothing I'm training it on. Since then I've tried many things from varying dataset sizes (5-120) of different consistencies in quality, mixing in images of all different art style since the leavanny case seemed to benefit from that, different learning rates, etc, but can't seem to get anything decent again.
The new 2-token init word started excellent with 4 or 6 vectors (sometimes producing a training image which looks near perfect straight away), but ended up giving fairly similar results to all my other attempts after a bit of training . The reported loss while training seems to get stuck around 1.1-1.3. However the fact that I was able to get such a good start, which then seemed to go wrong somehow, tells me there's something else I need to look into on top of this. Maybe something in my dataset or other training parameters, or the personalized.py prompts.

Another idea, similar to per_image_tokens or progressive_words, is that it could be interesting to train with multiple vectors, and have different data sets and prompts which individual vectors or sub-ranges of the vectors get trained on in isolation, to try to get them to focus on particular elements (such as biases in the data like skin tones). Then some of them might be cut from the final token vectors (e.g. you might train on 8 with the intention to keep 4, and the last 4 are used to try to capture known biases evident in the training data).
Some of the vectors might be used to focus on features like close-up shots, and these sub-vectors could be weighted in the final prompt when using the token (e.g. *[1.0, 1.0, 1.0, 0.5]). So you'd identify parts of your training data set which have that particular feature, and then weight that vector higher when training with them included, and weight it lower when training without them included or referenced as often, to try to get the particular vector to capture that feature.

I suppose in the end I'm just reinventing the original tagged images database concept there, and have realized that it would be nice to be able to train multiple embeddings at once which are matched to tags on the images (i.e. they only get used in test generation prompts when an image tag includes the associated term, and maybe are given a user-assigned weighting estimate per image which can be applied to the embedding in the way that prompt weightings have been implemented in some stable diffusion implementations).
Or rather, if we know our data set is going to have some closeup images, distant images, face in frame images, material x images, background colour y images, actor q images, etc, we could tag each training image with those terms and ensure they're included in the test prompt used against that image, and stick to one embedding which doesn't encode all that stuff.


Exceptions from serialization are not routed to on_server_error callback

The callback(s) specified using on_server_error are not invoked when a resource's serializer raises an exception. Execution instead proceeds through the handle_exceptions method added from JSONAPI::ActsAsResourceController. Is this behavior intentional?
In our particular case, this behavior caused serialization failures to be only logged despite a block in on_server_error that we thought was also routing them to Sentry. We worked around the issue with the following code:
class Api::ThingiesController < ApplicationController
  authorize_resource
  include JSONAPI::ActsAsResourceController

  on_server_error :handle_error

  def self.handle_error(error)
    ErrorHandler.notify_detailed(exception: error, message: "Error in thingy API: #{error.message}",)
  end

  def handle_exceptions(error)
    self.class.handle_error(error)
    super
  end
end

This feature could use some attention. See #734

I think this can be closed as of https://github.com/cerebris/jsonapi-resources/commit/4c856ef59d80afd2484eedb20e350330688d04e5, yes?


[SPARK-40361][SQL] Migrate arithmetic type check failures onto error classes

What changes were proposed in this pull request?

In the PR, I propose to use error classes in the case of type check failure in arithmetic expressions.
Why are the changes needed?

Migration onto error classes unifies Spark SQL error messages.
Does this PR introduce any user-facing change?

Yes. The PR changes user-facing error messages.
How was this patch tested?

build/sbt "sql/testOnly *SQLQueryTestSuite"
build/sbt "test:testOnly org.apache.spark.SparkThrowableSuite"
build/sbt "test:testOnly *ExpressionTypeCheckingSuite"
build/sbt "test:testOnly *ArithmeticExpressionSuite"

+1, LGTM. Merging to master.
Thank you, @lvshaokang.


METRON-2311: Remove JUnit from all our uber jars

Contributor Comments
Couple things

added JUnit exclusions into all the uber jars. For dependencies on hbase-shaded-client these exclusions are on a class level, rather than a dependency level. I believe this is because of the shaded jar's construction, but I'm open to suggestions

JUnit 4 and 5 are included, so I'm not redoing half the work in #1554 and because it doesn't hurt anything

Added exclusions on json-simple, which pulls JUnit in as default (compile) scope.
dependencies_with_url.csv updated to drop JUnit.
Updated StellarProcessorUtils.java to remove JUnit from src in favor of throwing AssertionError. I'm not convinced that a subclass of Error is the appropriate thing to do, but it's the underlying JUnit does, so I basically just moved that semantic into our code for this purpose.

Pull Request Checklist
Thank you for submitting a contribution to Apache Metron.
Please refer to our Development Guidelines for the complete guide to follow for contributions.
Please refer also to our Build Verification Guidelines for complete smoke testing guides.
In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following:
For all changes:

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

[x] Have you included steps to reproduce the behavior or problem that is being changed or addressed?

[x] Have you included steps or a guide to how the change may be verified and tested manually?

[x] Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
mvn -q clean integration-test install && dev-utilities/build-utils/verify_licenses.sh

[x] Have you written or updated unit tests and or integration tests to verify your changes?

[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

[x] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
cd site-book
mvn site

[x] Have you ensured that any documentation diagrams have been updated, along with their source files, using draw.io? See Metron Development Guidelines for instructions.

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
It is also recommended that travis-ci is set up for your personal repository such that your branches are built there before submitting a pull request.

After a maven install of the project,
find ./ -name "*uber*jar" | xargs -I{} jar tf {}  | grep junit

shouldn't return any results.

How again are we getting test deps in the uber jars in the first place?

json-simple pulls it in as compile scope
hbase-shaded-client seems to just pull JUnit along for the ride.
stellar-common carried it along because of the JUnit in src, so even though it was excluded from the uber jar, anything that pulled it in as a dep was still pulling in compile level JUnit.'

We probably could be less aggressive about killing it from the uber jars, but playing whack-a-mole was kind of a pain.

+1


Allow data-draggable to be set in components

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
Hi,
Was trying to get the desktop app, using webview2 and using modus react.

Looks like modus is somehow suppressing data-draggable so i cant capture drag events. For example this will be important if creating diagrams that we need to drag and drop.
In my particular case is a window chrome that i want to simulate for a desktop app.
Motivation and context
Desktop app

Prerequisites

[x]  I have searched for duplicate or closed feature requests
[x]  I have read the contributing guidelines

Proposal
Hi,
Was trying to get the desktop app, using webview2 and using modus react.

Looks like modus is somehow suppressing data-draggable so i cant capture drag events. For example this will be important if creating diagrams that we need to drag and drop.
In my particular case is a window chrome that i want to simulate for a desktop app.
Motivation and context
Desktop app

Thank you for reporting, we will look into the issue.

in fact i need to draglle in all elements on the app bar... after this it works..

sorry for the noise


Update the Readme.md to correctly reference VS 2015

Currently, Build Instructions says:
...
To build the Open XML SDK:
Clone the repo at https://github.com/OfficeDev/Open-XML-SDK
Open the solution using Visual Studio 2015. Community Edition of VS2015 works just fine.
That last line should say 2017, as we now have a requirement for 2017.

This table too needs an update:
Table 1: The latest builds are available via a MyGet feed
Client
Feed URL
NuGet V3 (Visual Studio 2015+)
https://dotnet.myget.org/F/open-xml-sdk/api/v3/index.json
NuGet V2 (Visual Studio 2012+)
https://dotnet.myget.org/F/open-xml-sdk/api/v2

@tarunchopra I think for using the library it's ok


Feature Request: Pathfinding Ruler functionality for Drag Ruler

This is the last big remaining functionality missing from Drag Ruler.
The main reason why players need it is hard corners in dungeon maps where direct movement fails 3 of 4 attempts because players forget hard corners prohibit movement. This incredibly frustrates players and I have to remind them of hard corners all the time.

If Pathfinding Ruler and Drag Ruler implemented libRuler functionality, you should get pathfinding in Drag Ruler automatically if the Pathfinding module is enabled. I created a git pull in Pathfinding Ruler for the needed functionality:
https://github.com/mothringer/foundry-vtt-pathfinding-ruler/pull/7
Issue #101 covers the needed change for Drag Ruler.

@manuelVo @caewok I know that Caewok implemented this in his forks via libruler, but is there a chance that the standard non-libruler version can get this functionality, perhaps integrated into drag-ruler rather than relying on a non-updated to V9 mod?

This feature has been available since version 1.11.0 so I think this issue can be closed.


Fixing duration detection for FLAC files?

This isn't an issue with the plug-in itself but rather with exiftool, which reports wrong duration for FLAC files:
% exiftool -ver
12.76

% exiftool -Duration file-1.flac
Duration                        : 0:04:39

% mediainfo --Output=$'General;Duration: %Duration/String3%\r' file-1.flac
Duration: 00:06:51.870

% exiftool -Duration file-2.flac
Duration                        : 0:02:48

% mediainfo --Output=$'General;Duration: %Duration/String3%\r' file-2.flac
Duration: 00:04:08.150

Just wondering if this could be improved.
It seems that mediainfo does a better job overall, as exiftool cannot read ape,wav or wv tags for example.

I could look into using mediainfo by default and exiftool as a fallback. Thanks for pointing this out!

This has been implemented in the mediainfo branch, unix-only for now until I figure out a way to access the template.txt file on Windows. Please test it if you can.
Mediainfo is preferred for displaying the file's metadata, but exiftool is still required for extracting (and thus displaying) the cover art. If mediainfo can't be found, exiftool is used for everything instead.

Thanks!
Works fine on my end. A minor issue is values spacing compared to exiftool, they overlap cover art:

Is the template.txt file present inside ~/.config/yazi/plugins/exifaudio.yazi? Because if it is, the plugin is not picking it up.

Reimplemented without the need for a template file in the plugin directory, should work under Windows now as well (haven't tested). Closing for now.


store sessionData in the prefs. required for native app development.

See my notes in the jira ticket.


fixing start amd end layers names

fixing start and end layers naming

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@FaragElsayed2 , ready for review

@FaragElsayed2 , all drc violations are now fixed :
tested over the shown patterns

@FaragElsayed2 , please review

@RehabSayed-G Please fix linting issues

@FaragElsayed2 , please review


default_bucket_stage error

Looks like run function expecting default_bucket_stage option, otherwise it ends with error.
We should handle it in more proper way or make this configuration variable required/default. For example in for writers and out for extractors?
Sample:
docker-af3885faf24566e54353b31e36ee86f3

Fixed by ae7c3580d47e04724bcd2365db5e410ca6e185eb


kube-spawn not usable without internet

kube-spawn is not usable without internet. It would be nice if there was a way to pre-pull the Docker images we need for testing, before running some tests without internet access.
/cc @jonboulle

Yes, it would be really a nice feature.
I think the first step would be to try to run kubeadm without internet connection. For that, we would need to make kube-spawn pre-pull images listed on https://kubernetes.io/docs/reference/generated/kubeadm/#running-kubeadm-without-an-internet-connection. I haven't tried it yet.
After doing that, it's another question, whether it's possible to run pods for the general purpose, like running microservices-demo. At the moment the demo seems to heavily rely on downloading additional images.


Not possible to use currentColor for svg icons

The current implementation uses the tag  setting the icon as a background-image from the css. In this manner, it is impossible to use the currentColor variable that comes with the SVG. (https://stackoverflow.com/questions/13367868/how-to-modify-the-fill-color-of-an-svg-image-when-being-served-as-background-ima)
A possible solution is to apply a mask to each icon from the global theme, but it doesn't work well with all icons
background-color:<theme>;
    -webkit-mask-image: url(icon.svg);
    mask-image: url(icon.svg);

The best approach would be to insert the svg inside of each toolbar component instead of using the tag
For the previous example, the you would replace :

<DropDownItem on:click class="item">

  Image
</DropDownItem>

with
<DropDownItem on:click class="item">
  <svg src="images/icons/image.svg">
  Image
</DropDownItem>

This way the currentColor variable will take the text color.

Hi @ctwhome ,
If I understand it correctly, the suggested solution will make the SVG part of the component itself.
The downside is the user will lose the ability to change the SVG using CSS. What do you think about this downside?

Why not let the user choose their own svg with a placeholder with ? I am thinking of how important is to be able to theme. Any application with a dark theme will be broken this way.


Template struct doesn't derive common traits

I'm missing Debug, but not having Clone is crucial to me.
Is there a good reason for not deriving these?

Is there a good reason for not deriving these?

no reason, just didnt need it yet (forgot to do it)
will address in next update

I see. Will you be having a feature branch for this, which I can use while waiting for a stable release? If not, I'll try and fork locally in the mean time. I wouldn't mind contributing, but I'm a true novice Rust dev, so I'd be worried that I wouldn't be using the right idioms or methodology.

which I can use while waiting for a stable release?

i dont really delay stable releases (this is not a big project), so it should be out in at least 5min or at most 4 hours


For multimeric protein structure

Hi,
I used this tool for protein analysis.
I successfully extracted single and pair representations of my target protein using the local version of AlphaFold.
and performed structural distribution analysis with the pickle file containing these representations.
When I run this tool for a monomeric target, it works fine. However, for a multimeric protein, the output structure appears tangled. I provided a FASTA file with concatenated protein sequences, and the lengths and dimensions of the arrays seem correct.
Why does this code not work well for multimeric proteins?

Currently it doesn't support complex yet.


⚠ LabBricks has degraded performance

In 8166460, LabBricks (https://labbricks.com) experienced degraded performance:

HTTP code: 523
Response time: 3201 ms

Resolved: LabBricks performance has improved in eec9aa9 after 26 minutes.


Kamailio registration always returns "wrong password"

Im using Kamailio 5.4 Sip Proxy and using the last version to register and Kamailio returns always wrong password.
Using the old version sip-0.10.0 it works fine, some has information about this problem? .
v-0.19.0-ERROR.log
v-0.10.0-OK.log
thanks in advance

Questions for our Google Group


how to set meta property?

As title, how to set meta property?

@ustccjw Could you please elaborate on the problem and context that you have? meta is just a field in a plain action object, its "properties" are fields as well.

return (...args) => ({
    type,
    payload: finalActionCreator(...args)
})

I mean, when use createAction, the return value is payload, i want to pass meta property, how can i do?

@clearjs I think @ustccjw wants to be able to specify meta using createAction(). I've been thinking about it, because it's particularly important for async actions, where you need the ability to pass certain metadata to the throw() handler, and to the begin() handler once we implement https://github.com/acdlite/redux-actions/issues/2
@johanneslumpe and I discussed this on Slack, and the idea we come up with is to have an optional second parameter to createAction() that accepts the same parameters as the action creator, but it returns a plain object whose contents will be added to the meta field:
const addTodo = createAction('ADD_TODO', (text, id) => ({ text, id }), (text, id) => ({ id }));
addTodo('Use Redux', 123); // { type: 'ADD_TODO', payload: { text: 'Use Redux', id: 123 }, meta: { id: 123 } }

That way, for example, if the action fails (say you're using redux-promise and the promise rejected) the reducer still has access to the meta object, which it can use to undo an optimistic update:
{ type: 'ADD_TODO', error: true, payload: error, meta: { id: 123 } }

@ustccjw @acdlite Thanks. Sorry, I was still thinking in the context of FSA and thus didn't get it at first.

Oops, forgot to close this, but v0.8 added support for a meta creator https://github.com/acdlite/redux-actions/releases/tag/v0.7.0