[sftp] All configured authentication methods failed

Expected Behavior
Trying to upload file to server via sftp
Actual Behavior
Getting error saying all configured authentication methods failed
Steps to Reproduce the Problem
This is my sftp.json file:
{
    "host"<EMAIL_ADDRESS>    "port": 22,
    "username": "example_username",
    "password": "example_password",
    "protocol": "sftp",
    "agent": null,
    "privateKeyPath": null,
    "passphrase": null,
    "passive": false,
    "interactiveAuth": true,
    "remotePath": "/example",
    "uploadOnSave": false,
    "syncMode": "update",
    "watcher": {
        "files": false,
        "autoUpload": false,
        "autoDelete": false
    },
    "ignore": [
        "**/.vscode/**",
        "**/.git/**",
        "**/.DS_Store"
    ]
}

Specifications

Version: 0.8.3
Platform: Mac OS X El Capitan 10.11.6

I think the error messages it’s clear.

Check your password.

my password is correct :/

having same issue here

Your ssh authentication failed. Check your sshd logs on your server. It has nothing to do with the extension.

The same happened to me because I didn't specified the private key path, my mistake.

Made modification in the server sshd config file /etc/ssh/sshd_config as below and it started working

KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
Ciphers 3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr,aes192-cbc,aes256-cbc,arcfour

The same password will ok when interactiveAuth is true, so I am sure there is a bug somewhere.

The same password will ok when interactiveAuth is true, so I am sure there is a bug somewhere.

this method can solve it.

The same password will ok when interactiveAuth is true, so I am sure there is a bug somewhere.

try to enable inter interactiveAuth

check your host ip、port、username and password

I have enabled interactiveAuth and the problem has gone

@marcosgugeler how im can active   interactiveAuth ??

@StarlingMercedes go to sftp.json file and add this line:
"interactiveAuth": true
Take a look at my file:
{
    "name": "My Site",
    "host": "my.ftp.net",
    "protocol": "sftp",
    "port": 5022,
    "username": "myftpuser",
    "password": "mypassword",
    "remotePath": "/home",
    "uploadOnSave": true,
    "interactiveAuth": true
}

If you have secondary authentication (eg:MFA) ,then the parameter "interactiveAuth" is required.

for me interactiveAuth does not work but setting privateKeyPath to my id_rsa works.

whats the point of storing password in config , if we cant use it ?
Same here ,
{
    "name": "vps ",
    "host": "<IP_ADDRESS>",
    "password": "passwordpassword",
    "protocol": "sftp",
    "port": 22,
    "interactiveAuth": false,
    "username": "lv5",
    "remotePath": "/remote/path",
    "uploadOnSave": true ,
    "ignore": [".vscode" , ".git" , ".gitignore" , ".log"]
}

logs :
02-28 13:46:21] [info] config at /my/paths/ {"remotePath":"/remote/path","uploadOnSave":true,"downloadOnOpen":false,"ignore":[".vscode",".git",".gitignore",".log"],"concurrency":4,"protocol":"sftp","connectTimeout":10000,"interactiveAuth":false,"secure":false,"remoteTimeOffsetInHours":0,"name":"vps ","host":"<IP_ADDRESS>","password":"******","port":22,"passive":false,"username":"******"}

"password":"******","port":22,"passive":false,"username":"******"}

Check password hided with * , is really smaller digits number than actual password. Maybe used a default string.. Or masked it with default "******""

for me interactiveAuth does not work but setting privateKeyPath to my id_rsa works.

thanks this one works

In my case, server's /var/log/auth.log said,

key type ssh-rsa not in PubkeyAcceptedAlgorithms

which lead to a solution by adding,

PubkeyAcceptedKeyTypes=+ssh-rsa

in /etc/ssh/sshd_config and restart sshd.
Seems newer Ubuntu 22.04 has changed default accepted key types and this plugin no longer worked despite ssh command working fine.

In my case, server's /var/log/auth.log said,

key type ssh-rsa not in PubkeyAcceptedAlgorithms

which lead to a solution by adding,

PubkeyAcceptedKeyTypes=+ssh-rsa

in /etc/ssh/sshd_config and restart sshd.
Seems newer Ubuntu 22.04 has changed default accepted key types and this plugin no longer worked despite ssh command working fine.

This worked for me, same exact issue.

In my case, server's /var/log/auth.log said,

key type ssh-rsa not in PubkeyAcceptedAlgorithms

which lead to a solution by adding,

PubkeyAcceptedKeyTypes=+ssh-rsa

in /etc/ssh/sshd_config and restart sshd.
Seems newer Ubuntu 22.04 has changed default accepted key types and this plugin no longer worked despite ssh command working fine.

this works

In my case, server's /var/log/auth.log said,

key type ssh-rsa not in PubkeyAcceptedAlgorithms

which lead to a solution by adding,

PubkeyAcceptedKeyTypes=+ssh-rsa

in /etc/ssh/sshd_config and restart sshd.
Seems newer Ubuntu 22.04 has changed default accepted key types and this plugin no longer worked despite ssh command working fine.

This work WSL Ubuntu 22.04 LTS local + Windows 10
password remove in sftp.json
use "privateKeyPath": "C:\\Users\\ANTON\\.ssh\\id_rsa",

In my case, server's /var/log/auth.log said,

key type ssh-rsa not in PubkeyAcceptedAlgorithms

which lead to a solution by adding,

PubkeyAcceptedKeyTypes=+ssh-rsa

in /etc/ssh/sshd_config and restart sshd.
Seems newer Ubuntu 22.04 has changed default accepted key types and this plugin no longer worked despite ssh command working fine.

WORK PERFECTLY !

With a Ubuntu 22.04 Digital Ocean droplet I found that doing what @windware-ono suggested above was almost but not quite enough.
Looking at the /var/log/auth.log was very helpful but, looking at why it was failing I saw a different error. Per this answer i had to enable legacy support for diffie-hellman-group1-sha1 algorithm. After doing this I saw the key type ssh-rsa not in PubkeyAcceptedAlgorithms error... and so added PubkeyAcceptedKeyTypes=+ssh-rsaas well and then it worked.
So the changes in total was to add this to the bottom of /etc/ssh/sshd_config and restart sshd. (systemctl restart sshd) after doing that sftp from vscode worked as I wanted.
#Legacy changes
KexAlgorithms +diffie-hellman-group1-sha1
Ciphers +aes128-cbc
PubkeyAcceptedKeyTypes=+ssh-rsa

In my case, server's /var/log/auth.log said,

key type ssh-rsa not in PubkeyAcceptedAlgorithms

which lead to a solution by adding,

PubkeyAcceptedKeyTypes=+ssh-rsa

in /etc/ssh/sshd_config and restart sshd.
Seems newer Ubuntu 22.04 has changed default accepted key types and this plugin no longer worked despite ssh command working fine.

this worked for me

In my case, server's /var/log/auth.log said,

key type ssh-rsa not in PubkeyAcceptedAlgorithms

which lead to a solution by adding,

PubkeyAcceptedKeyTypes=+ssh-rsa

in /etc/ssh/sshd_config and restart sshd.
Seems newer Ubuntu 22.04 has changed default accepted key types and this plugin no longer worked despite ssh command working fine.

 Really appreciate it! Thank you

ALL of this should be added to the FAQ.

systemctl restart sshd

In my case, server's /var/log/auth.log said,

key type ssh-rsa not in PubkeyAcceptedAlgorithms

which lead to a solution by adding,

PubkeyAcceptedKeyTypes=+ssh-rsa

in /etc/ssh/sshd_config and restart sshd.
Seems newer Ubuntu 22.04 has changed default accepted key types and this plugin no longer worked despite ssh command working fine.

Thx man, you saved my life hahaha


Add welcome message when application is launched

Added a welcome message when application is launched.
Start a new line when example usage example is shown for easier reading.

Codecov Report
Base: 70.77% // Head: 70.61% // Decreases project coverage by -0.15% :warning:

Coverage data is based on head (2611648) compared to base (1e283a3).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #113      +/-   ##
============================================
- Coverage     70.77%   70.61%   -0.16%
  Complexity      411      411
============================================
  Files            72       72
  Lines          1324     1327       +3
  Branches        128      128
============================================
  Hits            937      937
- Misses          343      346       +3
  Partials         44       44

Impacted Files
Coverage Δ

src/main/java/gim/logic/commands/AddCommand.java
100.00% <ø> (ø)

...rc/main/java/gim/logic/commands/DeleteCommand.java
100.00% <ø> (ø)

src/main/java/gim/logic/commands/FindCommand.java
100.00% <ø> (ø)

src/main/java/gim/ui/MainWindow.java
0.00% <0.00%> (ø)

src/main/java/gim/ui/ResultDisplay.java
0.00% <0.00%> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


How to add Spots ?

Hello i realy like Fi_chart but how i can add spots dynamic?
can I do something like that?
spots.add(
 FlSpot(1, 1.4),
 FlSpot(2, 3.4),
)

I don't know how to do it
      spots: [
// add
      ],

I've already solved it like this
List<FlSpot> mySpots = [];
mySpots.add(FlSpot(1, 2));

Hi. please check this sample:
We add spots dynamically in the time.
Line Sample 10 (Source Code)

I've already solved it like this
List<FlSpot> mySpots = [];
mySpots.add(FlSpot(1, 2));

I add spots like this
List _getMainDatas() {
List list = [];
for (int i = 0; i < 20; i+=2) {
list.add(FlSpot(i.toDouble(),Random().nextInt(10).toDouble()));
}
return list;
}


fix(create): auth via ssh

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

7 of 7 (100.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.2%) to 81.044%

Files with Coverage Reduction
New Missed Lines
%

cmd/create.go
1
68.92%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
295

Relevant Lines:
364

💛  - Coveralls


Fix example of json-chema README.md

the example was not working as the property name model is a reserved keyword.

thanks for your pull request! the change looks good! but the change on packages/json-schema/README.md is missing, please run pnpm regen-docs on repo root and after that it should be ready!
thanks again!

Thank you for submitting this PR!
The README.md is generated by running npm run regen-docs from inside packages/json-schema. This is the file where the property name should be changed:
https://github.com/microsoft/typespec/blob/main/packages/json-schema/.tspd/docs/usage.md
Note: In your original change, you updated make to maker, but I think this should remain make since it's common in the context of automobiles to refer to a car's model, make, and year. Definitely understand the model rename though given it's a reserved word.


include\tbb\concurrent_unordered_map.h(48): error C2143: syntax error: missing ',' before '<'

Problem: \include\tbb\concurrent_unordered_map.h(48): error C2143: syntax error: missing ',' before '<'
\include\tbb\concurrent_unordered_map.h(61): note: see reference to class template instantiation 'tbb::interface5::concurrent_unordered_map_traits<Key,T,Hash_compare,Allocator,Allow_multimapping>::value_compare' being compiled
\include\tbb\concurrent_unordered_map.h(70): note: see reference to class template instantiation 'tbb::interface5::concurrent_unordered_map_traits<Key,T,Hash_compare,Allocator,Allow_multimapping>' being compiled
When: A parallel_for code compiling on VS2017 with compiler parameter /std:c++latest. Compiling with /std:c++14 does not produce the issue.

std::binary_function was removed from C++17. TBB needs to update it's source code to support building against C++17. All you can do write now is not use "concurrent_unordered_map.h". For example, create a custom "tbb.h" that doesn't include it.

Hello, ttnghia.
Problem that you reported was fixed in Intel TBB 2017 U6:
https://github.com/01org/tbb/blob/tbb_2017/CHANGES#L20
Can we close this thread?

Sure. Thank you very much :)


feat(compaction): notification based compaction trigger

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?

Compaction will be triggered when

commit epoch
add compactor
any compactor becomes available

Compactor will be picked before the task is picked. Therefore, no tasks will be canceled because of no available compactor.

Performance
this PR (left) vs. main (right), the first bench runs from 13:20 to 14:00, while the second bench runs from 14:06 to 14:46. The number of succeeded tasks and average running task number on the compactor as been improved. There are some sudden drops in the number of running tasks when no task can be picked.

TODO

unit test

Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)
Closes #5321, Closes #5303

When the number of tasks drop, the log shows no compaction tasks can be picked even if there are lots of L0 ssts. Is that expected?

When the number of tasks drop, the log shows no compaction tasks can be picked even if there are lots of L0 ssts. Is that expected?

Is there any other information about the L0 , like L0_sst_count , sub_level_count , sst_size , L0_size ? It is not easy to determine whether these tasks are rejected due to write amplification or other reasons...
I think we need some metrics or log to track the task_pick when trigger the task_pick but fail

@StrikeW PTAL to verify that this PR does not violate any assumption/restrictions in your testing tool.


❓ ERROR Frame Processor threw an error: Exception in HostFunction: java.lang.IllegalArgumentException: Only JPEG and YUV_420_888 are supported now

Question
I am using these package:
"react-native-reanimated": "^3.5.4",
"react-native-vision-camera": "^3.6.4",
"react-native-worklets-core": "^0.2.4"
I follow instruction in docs for create frame processor plugins with MLkit face detector and receive error:
ERROR Frame Processor threw an error: Exception in HostFunction: java.lang.IllegalArgumentException: Only JPEG and YUV_420_888 are supported now

What I tried
I 've log the pixel format of the frame in code and receive type is 'native'
I 've try to change the pixelFormat in react-native code to 'yuv' and receive this error:
ERROR Frame Processor threw an error: Exception in HostFunction: Received unknown JNI type "class com.facebook.react.bridge.WritableNativeArray"! Cannot convert to jsi::Value.

I change to 'rgb', i receive white screen with no warning or error logs.
Anyone solve this problem or anyway to convert the frame to extract pixelFormat?
VisionCamera Version
3.6.4
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

@mrousavy

I 've try to change the pixelFormat in react-native code to 'yuv' and receive this error:
Way to go 👌

The error you have after seems to be a bug on your Android code.
Can you show it?

@xseignard
Thanks for answer, this is my android code for FaceDetectorFrameProcessorPlugin:
package com.meditationaimobile;

import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.Rect;
import android.media.Image;
import android.media.ImageReader;
import android.util.Log;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.WritableMap;
import com.facebook.react.bridge.WritableNativeArray;
import com.facebook.react.bridge.WritableNativeMap;
import com.google.android.gms.tasks.Task;
import com.google.android.gms.tasks.Tasks;
import com.google.mlkit.vision.common.InputImage;
import com.google.mlkit.vision.face.Face;
import com.google.mlkit.vision.face.FaceContour;
import com.google.mlkit.vision.face.FaceDetection;
import com.google.mlkit.vision.face.FaceDetector;
import com.google.mlkit.vision.face.FaceDetectorOptions;
import com.mrousavy.camera.frameprocessor.Frame;
import com.mrousavy.camera.frameprocessor.FrameProcessorPlugin;

import java.nio.ByteBuffer;
import java.util.List;
import java.util.Map;

public class FaceDetectorFrameProcessorPlugin extends FrameProcessorPlugin {
    /**
     * The initializer of this Frame Processor Plugin.
     * This is called everytime this Frame Processor Plugin is loaded from the JS side (`initFrameProcessorPlugin(..)`).
     * Optionally override this method to implement custom initialization logic.
     *
     * @param options An options dictionary passed from the JS side, or null if none.
     */
    public FaceDetectorFrameProcessorPlugin(@Nullable Map<String, Object> options) {
        super(options);

    }

    FaceDetectorOptions options = new FaceDetectorOptions.Builder()
            .setPerformanceMode(FaceDetectorOptions.PERFORMANCE_MODE_ACCURATE)
            .setContourMode(FaceDetectorOptions.CONTOUR_MODE_ALL)
            .setClassificationMode(FaceDetectorOptions.CLASSIFICATION_MODE_ALL)
            .setMinFaceSize(0.15f)
            .build();
    FaceDetector faceDetector = FaceDetection.getClient(options);

    private WritableMap processBoundingBox (Rect boundingBox) {
        WritableMap bounds = Arguments.createMap();

        // Calculate offset (we need to center the overlay on the target)
        Double offsetX =  (boundingBox.exactCenterX() - Math.ceil(boundingBox.width())) / 2.0f;
        Double offsetY =  (boundingBox.exactCenterY() - Math.ceil(boundingBox.height())) / 2.0f;

        Double x = boundingBox.right + offsetX;
        Double y = boundingBox.top + offsetY;

        bounds.putDouble("x", boundingBox.centerX() + (boundingBox.centerX() - x));
        bounds.putDouble("y", boundingBox.centerY() + (y - boundingBox.centerY()));
        bounds.putDouble("width", boundingBox.width());
        bounds.putDouble("height", boundingBox.height());

        bounds.putDouble("boundingCenterX", boundingBox.centerX());
        bounds.putDouble("boundingCenterY", boundingBox.centerY());
        bounds.putDouble("boundingExactCenterX", boundingBox.exactCenterX());
        bounds.putDouble("boundingExactCenterY", boundingBox.exactCenterY());

        return bounds;
    }
    private WritableMap  processFaceContours(Face face) {
        // All faceContours
        int[] faceContoursTypes =
                new int[] {
                        FaceContour.FACE,
                        FaceContour.LEFT_EYEBROW_TOP,
                        FaceContour.LEFT_EYEBROW_BOTTOM,
                        FaceContour.RIGHT_EYEBROW_TOP,
                        FaceContour.RIGHT_EYEBROW_BOTTOM,
                        FaceContour.LEFT_EYE,
                        FaceContour.RIGHT_EYE,
                        FaceContour.UPPER_LIP_TOP,
                        FaceContour.UPPER_LIP_BOTTOM,
                        FaceContour.LOWER_LIP_TOP,
                        FaceContour.LOWER_LIP_BOTTOM,
                        FaceContour.NOSE_BRIDGE,
                        FaceContour.NOSE_BOTTOM,
                        FaceContour.LEFT_CHEEK,
                        FaceContour.RIGHT_CHEEK
                };

        String[] faceContoursTypesStrings = {
                "FACE",
                "LEFT_EYEBROW_TOP",
                "LEFT_EYEBROW_BOTTOM",
                "RIGHT_EYEBROW_TOP",
                "RIGHT_EYEBROW_BOTTOM",
                "LEFT_EYE",
                "RIGHT_EYE",
                "UPPER_LIP_TOP",
                "UPPER_LIP_BOTTOM",
                "LOWER_LIP_TOP",
                "LOWER_LIP_BOTTOM",
                "NOSE_BRIDGE",
                "NOSE_BOTTOM",
                "LEFT_CHEEK",
                "RIGHT_CHEEK"
        };
        WritableMap faceContoursTypesMap = new WritableNativeMap();

        for (int i = 0; i < faceContoursTypesStrings.length; i++) {
            FaceContour contour = face.getContour(faceContoursTypes[i]);
            List<PointF> points = contour.getPoints();
            WritableNativeArray pointsArray = new WritableNativeArray();

            for (int j = 0; j < points.size(); j++) {
                WritableMap currentPointsMap = new WritableNativeMap();

                currentPointsMap.putDouble("x", points.get(j).x);
                currentPointsMap.putDouble("y", points.get(j).y);

                pointsArray.pushMap(currentPointsMap);
            }
            faceContoursTypesMap.putArray(faceContoursTypesStrings[contour.getFaceContourType() - 1], pointsArray);
        }

        return faceContoursTypesMap;
    }

    @Nullable
    @Override
    public Object callback(@NonNull Frame frame, @Nullable Map<String, Object> params) {
        Image mediaImage = frame.getImage();

        Log.i("HMS ", "WIDTH" + frame.getPixelFormat()  + mediaImage.getFormat());
        if(mediaImage!= null) {
            InputImage image = InputImage.fromMediaImage(mediaImage, 0);
            Task<List<Face>> task = faceDetector.process(image);
            WritableNativeArray array = new WritableNativeArray();
            try {
                List<Face> faces = Tasks.await(task);
                for (Face face: faces) {
                    WritableMap map = new WritableNativeMap();

                    map.putDouble("rollAngle", face.getHeadEulerAngleZ()); // Head is rotated to the left rotZ degrees
                    map.putDouble("pitchAngle", face.getHeadEulerAngleX()); // Head is rotated to the right rotX degrees
                    map.putDouble("yawAngle", face.getHeadEulerAngleY());  // Head is tilted sideways rotY degrees
                    map.putDouble("leftEyeOpenProbability", face.getLeftEyeOpenProbability());
                    map.putDouble("rightEyeOpenProbability", face.getRightEyeOpenProbability());
                    map.putDouble("smilingProbability", face.getSmilingProbability());

                    WritableMap contours = processFaceContours(face);
                    WritableMap bounds = processBoundingBox(face.getBoundingBox());

                    map.putMap("bounds", bounds);
                    map.putMap("contours", contours);

                    array.pushMap(map);
                }
                return array;
            }catch (Exception e) {
                e.printStackTrace();
            }
        }

        return null;
    }

    public static Image createImageFromByteArray(byte[] nv21Data, int yuv420888, int imageWidth, int imageHeight) {
        // Create a ByteBuffer from the byte array
        ByteBuffer yuvBuffer = ByteBuffer.wrap(nv21Data);

        // Create an ImageReader
        ImageReader imageReader = ImageReader.newInstance(imageWidth, imageHeight, ImageFormat.YUV_420_888, 1);

        // Obtain the Image object from the ImageReader
        Image image = imageReader.acquireNextImage();

        // Get the image planes
        Image.Plane[] planes = image.getPlanes();

        // Get the buffers for each plane
        ByteBuffer yBuffer = planes[0].getBuffer();
        ByteBuffer uBuffer = planes[1].getBuffer();
        ByteBuffer vBuffer = planes[2].getBuffer();

        // Calculate sizes
        int ySize = yBuffer.remaining();
        int uSize = uBuffer.remaining();
        int vSize = vBuffer.remaining();

        // Ensure the input buffer has enough data
        if (yuvBuffer.remaining() < ySize + uSize + vSize) {
            throw new IllegalArgumentException("Not enough data in the input buffer");
        }

        // Copy the YUV_420_888 data into the image planes
        yuvBuffer.get(yBuffer.array(), 0, ySize);
        yuvBuffer.get(vBuffer.array(), 0, vSize);
        yuvBuffer.get(uBuffer.array(), 0, uSize);

        // Release the ImageReader
        imageReader.close();

        return image;
    }
}

I follow this repository: https://github.com/mrousavy/react-native-vision-camera/pull/2108

Can you try to use plain:
import java.util.ArrayList;
import java.util.HashMap;

instead of:
import com.facebook.react.bridge.WritableNativeArray;
import com.facebook.react.bridge.WritableNativeMap;

?

@xseignard
There no error anymore but seem my code not work like i expect, no faces were detected.
Anyway, thanks so much

no error anymore

Glad to read that 🎉

no faces were detected

Well this is not an issue with react-native-vision-camera anymore, it is more on your own code.
I think this issue can be closed.

Might be wrong Orientation or Model not correctly loading.


Rework swarming status page to enable user to see their tasks without being an admin

Right now only admins can see tasks, it's a poor experience.

This is a tad complex to implement in practice, I see 3 types of use case:
- A user triggered a job for himself. Only the user and admins can see it.
- A bot triggered a job. Anyone can see it.
- Both a user and a bot triggered the same task (e.g. same isolated file and
same dimension filter), the less restrictive ACL is applied.

So the dashboard listing tasks has to adapt itself to list all tasks visible by
the user.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 14 Feb 2014 at 7:59

Implemented.


Q: If there is built-in HTTP2-FLV support?

Description
Because worrying about being limited by the browser when playing multiple videos, I would like to ask if there is built-in HTTP2-FLV support, or do I have to use other gateway proxies to achieve?

SRS Version: v5.0-b0

Since HTTP is a very mature protocol, existing tools and reverse proxy capabilities are well developed, and there is no need for SRS to implement a complete protocol.
See FAQ:

Chinese: https://ossrs.net/lts/zh-cn/faq#https-h2-3
English: https://ossrs.io/lts/en-us/faq#https-h2-3


issues#1 add tooltip to buttons in identity view

issues#1 add tooltip to buttons in identity view

Some suggestions:

Put inline style into class
Support i18n

great


File count check fix

Bug description:
For an existing project dir on executor, its file count file will be created only when azkaban executor is loading all projects before cache purging(https://github.com/azkaban/azkaban/pull/2032) when project cache size limit feature is enabled. If not enabled, file count check will try to read from the non-existing file count file causing dispatch failure.
Fix:

File count check would populate file count file when it doesn't exist.
File count check would only be performed when project cache size limit is enabled.

1 would fix the bug, 2 would reduce the overhead of file count check when the feature is not enabled.

Pull Request Test Coverage Report for Build 4252

9 of 9 (100.0%)  changed or added relevant lines in 1 file are covered.
218 unchanged lines in 6 files lost coverage.
Overall coverage decreased (-0.01%) to 36.354%

Files with Coverage Reduction
New Missed Lines
%

azkaban-exec-server/src/main/java/azkaban/execapp/JobRunner.java
3
76.77%

azkaban-common/src/main/java/azkaban/executor/FetchActiveFlowDao.java
8
87.5%

azkaban-web-server/src/main/java/azkaban/webapp/servlet/StatsServlet.java
10
0.0%

azkaban-exec-server/src/main/java/azkaban/execapp/event/JobCallbackRequestMaker.java
21
56.25%

azkaban-common/src/main/java/azkaban/executor/JdbcExecutorLoader.java
39
20.59%

azkaban-common/src/main/java/azkaban/executor/ExecutionController.java
137
29.11%

Totals

Change from base Build 4249:
-0.01%

Covered Lines:
10672

Relevant Lines:
29356

💛  - Coveralls


Get Rustdocs online

#34

[x] Test docs in CI

#37
I have added a check for rustdocs in PR #37.

This is done right?

Yes

@sinkingsugar Actually, I can't find "clamor" on crates.io?

Yea you are right. We merged generating but not pushing.

@aang114 turns out we cannot publish on crates.io because we use "dev" versions of crates not on crates.io.
We need to use the same method chainblocks repo uses and use nft.storage or so to self publish our generated docs.
Could you check with @Kryptos-FR quickly to get a fast overview on how he did with chainblocks docs?
Basically we can add simply at end of CI docs step, the self publishing bit.

Where is this published @aang114 ?
We need to integrate it into some public facing page from our website as next step.

Please write new story accordingly @aang114 ? (public publishing)

done


Inverter Frequency is more detailed as read 0.01 instead of 0.1

Reading the registers directly I saw, Frequency is shown as 49.89 Hz.
deye-inverter-mqtt only shows 49.9 Hz.
Maybe row in deye-inverter-mqtt/[src](https://github.com/kbialek/deye-inverter-mqtt/tree/main/src/deye_sensor.py needs to be changed to 0.01f in row print_format?
I'm no programmer, so here as in idea instead of send a pull request maybe causes an error

Yes, I can confirm that. I own string and micro inverters, and they both report frequency with scale of 2. However, later the value is sent over MQTT using the 0.1f print format, which is the default for all metrics. This conversion is lossy and introduces accuracy error, but I do not think it needs fixing. Or do you have a use case which requires higher accuracy?

That’s the reason I put it on enhancement ;)


Update introduction.mdx

🚀 Deployed on https://6682e29c7f25b443a5048426--cozy-fox-0defec.netlify.app


Update Hebrew language code to he per IANA registry

Per IANA registry, iw was deprecated as the code for Hebrew in 1989 and the preferred code is he
The correct subtag:
%%
Type: language
Subtag: he
Description: Hebrew
Added: 2005-10-16
Suppress-Script: Hebr
%%

And the deprecation
%%
Type: language
Subtag: iw
Description: Hebrew
Added: 2005-10-16
Deprecated: 1989-01-01
Preferred-Value: he
Suppress-Script: Hebr
%%

Thanks for pointing this out. We (carelessly) took the language code from VoxLingua107, which had a few entries that did not match the ISO-639-1 codes.
However, the dictionary LANGUAGE makes uses of the order-sensitive nature of Python dicts, so this PR will break the languages that comes after Hebrew.
https://github.com/openai/whisper/blob/eff383b27b783e280c089475852ba83f20f64998/whisper/tokenizer.py#L280-L282
I think it wouldn't hurt much to break the backward compatibility and replace iw with he everywhere, maybe redirecting the input "iw" with "he" where appropriate.

@jongwook hey, apologies, I completely missed your comment.
Agree, and changed to he per comment.


Fixed some spelling errors

Nice work. I'm going to close this PR so other's can work on the assignment.


Adding French

Failing on

Ploeh.Numsense.Numeral.tryParseFrench "quatre-cent-quatre-vingt-dix";;
val it : int option = Some 490
Ploeh.Numsense.Numeral.tryParseFrench "quatrecentquatrevingtdix";;
val it : int option = Some 434

still some work to do ...

 You should sign our Contributor License Agreement in order to get your pull request merged.

@rfrerebe, thank you for your interest in contributing to Numsense.

still some work to do

Since this is the case, I'll hold off with initiating a review until it's ready. When it's ready, please add a note here to that effect, since GitHub doesn't send me any notifications when a pull request branch is updated.

Hello Mark,
Thanks for tour answer.
For your info, property based testing is fine while manual unit test is
not.
I was surprised by that.
May I ask you to add a Licence.md to your project?
I was surprised by cla email.
What is the purpose of this project ?
I might be wrong but I found the cla very corporate and not very OSS
friendly.
Regards
Rémy
Le mer. 6 janv. 2016 à 08:13, Mark Seemann<EMAIL_ADDRESS>a
écrit :

@rfrerebe https://github.com/rfrerebe, thank you for your interest in
contributing to Numsense.
still some work to do
Since this is the case, I'll hold off with initiating a review until it's
ready. When it's ready, please add a note here to that effect, since GitHub
doesn't send me any notifications when a pull request branch is updated.
—
Reply to this email directly or view it on GitHub
https://github.com/ploeh/Numsense/pull/8#issuecomment-169254097.

May I ask you to add a Licence.md to your project?

I'm not sure the CLAassistant GitHub webhook allows that; it's driven by a gist.

What is the purpose of this project?

There's no particular purpose. I did the original languages (English and Danish) because I was surprised to find that there wasn't such a library available (that I could easily find). From there, it just turned out that it was fun to do :smile:

I might be wrong but I found the cla very corporate and not very OSS friendly.

I took the CLA originally suggested by CLAassistant and edited it to remove the worst. Feel free to suggest a more OOS-friendly CLA...
That said, the code and software itself is released under the MIT licence, as you may already have noticed.

I've now added a section about the CLA to the CONTRIBUTING.md document, in order to give advance warning to potential contributors.

Hello,
Thanks for your answer.
MIT is fine.
I did not saw it before...
I was looking for LICENCE.md upper case I guess and I missed your file.
Anyway I was tired yesterday evening....
I found a solution to the bug I had.
I won't have much time before this week end to update the last unit test
part.
I will keep you posted.
CLA signed
Rgds
Rémy
Le mer. 6 janv. 2016 à 21:27, Mark Seemann<EMAIL_ADDRESS>a
écrit :

May I ask you to add a Licence.md to your project?
I'm not sure the CLAassistant GitHub webhook allows that; it's driven
by a gist.
What is the purpose of this project?
There's no particular purpose. I did the original languages (English and
Danish) because I was surprised to find that there wasn't such a library
available (that I could easily find). From there, it just turned out that
it was fun to do [image: :smile:]
I might be wrong but I found the cla very corporate and not very OSS
friendly.
I took the CLA originally suggested by CLAassistant and edited it to
remove the worst. Feel free to suggest a more OOS-friendly CLA...
That said, the code and software itself is released under the MIT licence,
as you may already have noticed.
—
Reply to this email directly or view it on GitHub
https://github.com/ploeh/Numsense/pull/8#issuecomment-169451428.

I was looking for LICENCE.md upper case I guess and I missed your file.

That's good feedback, thank you. I've now renamed it to upper-case letters, in order to make it more visible.

Seems ok for me.
Please have look.
Thanks

Thank you for your interest in contributing to Numsense. FTR, I'm currently travelling, and have only limited time to evaluate pull requests. In due time, I'll work through my backlog, but it may take weeks :flushed: :sweat:

Sure, :-)
I saw on Twitter that on you were doing a conference in London.
I hope it went well.
It was fun to work on Numsense.
I found it was a good exercise.
French was tough because some corner cases exist for plural
("quatre-vingt(s)" and "cent(s)" mostly).
I will switch to other projects.
Good luck for you backlog.
It's good to see Numsense attracting many pull request.
Rémy
On Thu, Jan 14, 2016 at 8:34 PM Mark Seemann<EMAIL_ADDRESS>wrote:

Thank you for your interest in contributing to Numsense. FTR, I'm
currently travelling, and have only limited time to evaluate pull requests.
In due time, I'll work through my backlog, but it may take weeks [image:
:flushed:] [image: :sweat:]
—
Reply to this email directly or view it on GitHub
https://github.com/ploeh/Numsense/pull/8#issuecomment-171754055.

Yes, I updated the pull request

@ploeh seeing this pull request, how would you handle localized versions of languages (I'm thinking of Belgian French but there are other examples).

how would you handle localized versions of languages

We had a discussion about that related to the Portuguese pull request. Perhaps we could use the same approach here?
I'll need to native speakers to guide me, because I suspect that every situation is going to be slightly different than the last. After all, we're dealing with the real world here, so no consistent rules are guaranteed to always hold.

@ploeh didn't see that, thanks. I guess toBelgianFrench would do it then.

It builds and runs all tests without warnings on my machine, so from a technical perspective I think we're good to go :+1:
As I don't read French, I'd like someone who does to review that part of it, if at all possible. I don't expect any errors, but it's always good with a second pair of eyes :smile:

I solicited a review on Twitter: https://twitter.com/ploeh/status/693905655799943168
Please retweet and spread the word :smile:

Zero (0) is spelled with an acute accent: "zéro".


Cannot install 2 versions of the same public package

Describe the bug
I try installing a different version of a package that was already cached by verdaccio, and it fails
To Reproduce
Install version a of a package and then try installing version b.
Expected behavior
Both packages are installed successfully.
Screenshots
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR!      C:\Users\rony.fragin\AppData\Roaming\npm-cache\_logs\2020-09-18T22_16_05_892Z-debug.log

Configuration File (cat ~/.config/verdaccio/config.yaml)
#
# This is the default config file. It allows all users to do anything,
# so don't use it on production systems.
#
# Look here for more config file examples:
# https://github.com/verdaccio/verdaccio/tree/master/conf
#

# path to a directory with all packages
storage: /root/.local/share/verdaccio/storage

store:
  offline-storage:

# path to a directory with plugins to include
plugins: ./plugins

web:
  title: Verdaccio
  # comment out to disable gravatar support
  # gravatar: false
  # by default packages are ordercer ascendant (asc|desc)
  # sort_packages: asc
  # convert your UI to the dark side
  # darkMode: true

listen: <IP_ADDRESS>:4873

# translate your registry, api i18n not available yet
# i18n:
# list of the available translations https://github.com/verdaccio/ui/tree/master/i18n/translations
#   web: en-US

auth:
  htpasswd:
    file: ./htpasswd
    # Maximum amount of users allowed to register, defaults to "+inf".
    # You can set this to -1 to disable registration.
    # max_users: 1000

# a list of other known repositories we can talk to
uplinks:
  npmjs:
    url: https://registry.npmjs.org/
    timeout: 100ms
    cache: false
    fail_timeout: 1m
    max_fails: 100
  server2:
    url: http://mirror.local.net/
    timeout: 100ms
    cache: false
    fail_timeout: 1m

packages:
  '@*/*':
    # scoped packages
    access: $all
    publish: $authenticated
    unpublish: $authenticated
    proxy: npmjs

  '**':
    # allow all users (including non-authenticated users) to read and
    # publish all packages
    #
    # you can specify usernames/groupnames (depending on your auth plugin)
    # and three keywords: "$all", "$anonymous", "$authenticated"
    access: $all

    # allow all known users to publish/publish packages
    # (anyone can register by default, remember?)
    publish: $authenticated
    unpublish: $authenticated

    # if package is not available locally, proxy requests to 'npmjs' registry
    proxy: npmjs

# You can specify HTTP/1.1 server keep alive timeout in seconds for incoming connections.
# A value of 0 makes the http server behave similarly to Node.js versions prior to 8.0.0, which did not have a keep-alive timeout.
# WORKAROUND: Through given configuration you can workaround following issue https://github.com/verdaccio/verdaccio/issues/301. Set to 0 in case 60 is not enough.
server:
  keepAliveTimeout: 180

middlewares:
  audit:
    enabled: true

# log settings
logs:
  - { type: stdout, format: pretty, level: http }
  #- {type: file, path: verdaccio.log, level: info}
#experiments:
#  # support for npm token command
#  token: false
#  # support for the new v1 search endpoint, functional by incomplete read more on ticket 1732
#  search: false

# This affect the web and api (not developed yet)
#i18n:
#web: en-US

Environment information
*** WARNING: Verdaccio doesn't need superuser privileges. Don't run it under root! ***

Environment Info:

  System:
    OS: Linux 4.15 Ubuntu 18.04.4 LTS (Bionic Beaver)
    CPU: (2) x64 Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz
  Binaries:
    Node: 10.22.0 - ~/.nvm/versions/node/v10.22.0/bin/node
    npm: 6.14.6 - ~/.nvm/versions/node/v10.22.0/bin/npm
  npmGlobalPackages:
    verdaccio: 4.8.1

Workaround
I manually go to the url
https://registry.npmjs.org/@angular/common
copy the data to the package.json in the storage folder and then it works
I ran the following python script to do it for all packages:
import json
import urllib

my_list = [<list of package names>]
BASE_DIR = '/root/.local/share/verdaccio/storage'

for item in my_list:
  data = json.loads(urllib.request.urlopen(f"https://registry.npmjs.org/{item}").read())
  with open(f'{BASE_DIR}/{item}/package.json', 'w') as outfile:
    json.dump(data, outfile)
  print(f"done - {item}")

every time I install a new version, I need to fetch the package.json again from the npm repo... how do I make verdaccio not update package.json to only contain specific versions?

I ran the following python script to do it for all packages:
import json
import urllib

my_list = [<list of package names>]
BASE_DIR = '/root/.local/share/verdaccio/storage'

for item in my_list:
  data = json.loads(urllib.request.urlopen(f"https://registry.npmjs.org/{item}").read())
  with open(f'{BASE_DIR}/{item}/package.json', 'w') as outfile:
    json.dump(data, outfile)
  print(f"done - {item}")

It still doesn't work for some packages :/

every time I install a new version, I need to fetch the package.json again from the npm repo... how do I make verdaccio not update package.json to only contain specific versions?

Could you reduce the reproducible steps to a simple setup? I don't fully get it.

npm set registry http://localhost:4873/

npm i<EMAIL_ADDRESS>
npm i<EMAIL_ADDRESS>

npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

It works for me, with a clean storage and default configuration.
npm_test_publish on  master [?] is 📦 v0.1.2 via ⬢ v14.8.0 at ☸  docker-desktop
➜ npm i<EMAIL_ADDRESS>npm http fetch GET 200 http://localhost:4873/@angular%2fcdk 1077ms
npm http fetch GET 200 http://localhost:4873/parse5 476ms
npm http fetch POST 200 http://localhost:4873/-/npm/v1/security/audits/quick 741ms
npm http fetch GET 200<EMAIL_ADDRESS>4046ms
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN<EMAIL_ADDRESS>autor should probably be author.

+<EMAIL_ADDRESS>added 2 packages from 1 contributor, removed 367 packages and audited 3 packages in 10.088s
found 0 vulnerabilities

npm_test_publish on  master [?] is 📦 v0.1.2 via ⬢ v14.8.0 at ☸  docker-desktop took 11s
➜ npm i<EMAIL_ADDRESS>npm http fetch GET 200 http://localhost:4873/@angular%2fcdk 160ms
npm http fetch GET 304 http://localhost:4873/parse5 44ms (from cache)
npm http fetch POST 200 http://localhost:4873/-/npm/v1/security/audits/quick 429ms
npm http fetch GET 200<EMAIL_ADDRESS>1307ms
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^10.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^10.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN<EMAIL_ADDRESS>autor should probably be author.

+<EMAIL_ADDRESS>removed 1 package, updated 1 package and audited 2 packages in 2.121s
found 0 vulnerabilities

@juanpicado my solution isn't docker based, if it matters.

@juanpicado my solution isn't docker based, if it matters.

I see, my terminal output might be miss-leading. I used the npm installation.

@juanpicado I'll try reproducing it on a clean environment and will update you 🙏

@juanpicado you're right. It looks like an issue with https://github.com/g3ngar/verdaccio-offline-storage
I'll repost it there

Thanks for the feedback


Improve injection detection and some refactoring

I suggest to improve the detection of code injection techniques with this PR. It fixes issue #88 partly by contributing new rules for certain injection techniques and by refactoring existing ones.
The suggested changes in this PR are mainly based on https://www.elastic.co/de/blog/ten-process-injection-techniques-technical-survey-common-and-trending-process and include:

New rule for DLL injection (ATT&CK ID T1055.001)
New rule for PE injection (ATT&CK ID T1055.002)
New rules for MBC micro-behavior (thread suspend and resume)
Refactoring of existing injection detection rules

The test-files repository will be updated accordingly with the added example files of the suggested rules afterwards.

Corresponding PR to add test files in the capa-testfiles repo is #56

Corresponding PR to add test files in the capa-testfiles repo is #56

Thanks for all your comments. I addressed most of them in the newly provided commits.
The linter currently fails with the following error:
allocate memory

  FAIL: lib rule not found in lib directory: Move the rule to the `lib` subdirectory of the rules path

The allocate-memory.yml is already placed in the lib directory. Can you help me with fixing this linter error?

Thanks for all your comments. I addressed most of them in the newly provided commits.
The linter currently fails with the following error:
allocate memory

  FAIL: lib rule not found in lib directory: Move the rule to the `lib` subdirectory of the rules path

The allocate-memory.yml is already placed in the lib directory. Can you help me with fixing this linter error?

I noticed that the usage of indefinite articles in rule names is quite inconsistent in the current rule base. E.g. create-process.yml is not using an article but create-a-process-with-modified-io-handles-and-window.yml is using one. This can be addressed in the future to make the rule base more consistent and to not confuse rule contributors. ;D

I noticed that the usage of indefinite articles in rule names is quite inconsistent in the current rule base. E.g. create-process.yml is not using an article but create-a-process-with-modified-io-handles-and-window.yml is using one. This can be addressed in the future to make the rule base more consistent and to not confuse rule contributors. ;D

Thanks for all your comments. I addressed most of them in the newly provided commits.
The linter currently fails with the following error:
allocate memory

  FAIL: lib rule not found in lib directory: Move the rule to the `lib` subdirectory of the rules path

The allocate-memory.yml is already placed in the lib directory. Can you help me with fixing this linter error?

running this locally, I see the following:
allocate RW memory
  FAIL: doesn't match on referenced example: Fix the rule logic or provide a different example

allocate user process RWX memory
  FAIL: doesn't match on referenced example: Fix the rule logic or provide a different example

I'll investigate the missing matches and look into fixing the check linter output.

Thanks for all your comments. I addressed most of them in the newly provided commits.
The linter currently fails with the following error:
allocate memory

  FAIL: lib rule not found in lib directory: Move the rule to the `lib` subdirectory of the rules path

The allocate-memory.yml is already placed in the lib directory. Can you help me with fixing this linter error?

running this locally, I see the following:
allocate RW memory
  FAIL: doesn't match on referenced example: Fix the rule logic or provide a different example

allocate user process RWX memory
  FAIL: doesn't match on referenced example: Fix the rule logic or provide a different example

I'll investigate the missing matches and look into fixing the check linter output.

Reran this after the capa fix and getting
hijack thread execution
  FAIL: doesn't match on referenced example: Fix the rule logic or provide a different example

The offset doesn't match the sample. Could you take another look, please?

Reran this after the capa fix and getting
hijack thread execution
  FAIL: doesn't match on referenced example: Fix the rule logic or provide a different example

The offset doesn't match the sample. Could you take another look, please?

Thanks for the update!
Unfortunately, the sample referenced by the rule was not suitable since the memory allocation happens in a separate function. Therefore, I added another sample in the test files repository which matches the rule. Sorry for the extra work.
I also reworked the usage of articles by removing them from the rules and resolved the merge conflict.

Thanks for the update!
Unfortunately, the sample referenced by the rule was not suitable since the memory allocation happens in a separate function. Therefore, I added another sample in the test files repository which matches the rule. Sorry for the extra work.
I also reworked the usage of articles by removing them from the rules and resolved the merge conflict.

There was another problem with the example files of the rule inject-thread.yml. The example file Practical Malware Analysis Lab 12-01.exe_:0x4010D0 had no detection since the rule only matched on the allocation of RWX memory but this sample only allocates RW memory. This is fixed in commit cf84ebe.
Thanks for your comments!

There was another problem with the example files of the rule inject-thread.yml. The example file Practical Malware Analysis Lab 12-01.exe_:0x4010D0 had no detection since the rule only matched on the allocation of RWX memory but this sample only allocates RW memory. This is fixed in commit cf84ebe.
Thanks for your comments!

That's great news! :)
Thanks for merging my PR and for all your effort in fixing the linter and reviewing my stuff, @mr-tz!

That's great news! :)
Thanks for merging my PR and for all your effort in fixing the linter and reviewing my stuff, @mr-tz!


Investigate Java collection wrappers performance

Investigate if any of the methods provided by our Java collection wrappers (JavaList, JavaDictionary, etc.) could be implemented more efficiently.
For example, JavaList implements ToArray ()  by calling java.util.List.get (int) for each item in the List, resulting in a lot of marshalling overhead.
Could we instead call java.util.List.toArray () to retrieve all of the items in one call?
Another possibility might be to add something like ToImmutableList () to efficiently move a copy of the list to C# that no longer needs to be kept in sync with Java?

@jpobst: short version: try it and let's find out. 😅
That said, there may be some semantic complications.  We don't have any constraints on the T of JavaList<T>, meaning JavaList<int> is supported.  However, Java doesn't support ArrayList<int>; it requires ArrayList<java.lang.Integer>.  We make this work by centralizing all of the type conversion logic in JavaList<T>.InternalGet():
https://github.com/dotnet/android/blob/b74d0fe8cb6040ae7028c3eafafe6acba994d82c/src/Mono.Android/Android.Runtime/JavaList.cs#L43-L46
It should be possible to rework things so that a single toArray() call is involved, but I suspect (without evidence) that our various type coercion & marshaling code will dominate.

Another possibility might be to add something like ToImmutableList () to efficiently move a copy of the list to C# that no longer needs to be kept in sync with Java?

I'm do not understand the suggestion.  If you need a C# list that isn't kept in sync w/ Java, why not just new List<TWhatever>(javaList)?

Another possibility might be to add something like ToImmutableList () to efficiently move a copy of the list to C# that no longer needs to be kept in sync with Java?

I'm do not understand the suggestion. If you need a C# list that isn't kept in sync w/ Java, why not just new List(javaList)?

With the current setup, new List (javaList) has the same undesirable performance characteristics as JavaList.ToArray.
If that can be fixed to be O(1)-ish instead of O(N) then a new method that efficiently does it isn't needed.


fix(administration): handle outdated records

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


Add: -DBUILD_{SHARED_LIB, STATIC_LIB, CLI, TESTS} cmake options

This introduces new cmake options to speed up builds (like skipping tests), preserving the old behaviour.

Coverage decreased (-0.06%) to 85.569% when pulling ebd377ac7cdf9712c488690216c0a6562ff6640f on choopm:master into cfeac045475b55e355af63877fbd42e807a06e65 on calccrypto:master.


One-shot key support

Reference:

zmk sticky key: https://zmk.dev/docs/keymaps/behaviors/sticky-key
qmk one-shot key: https://docs.qmk.fm/one_shot_keys

I can try to implement this, have you already started on that?
I can think of two methods to implement this, one is processing the following events inside process_key_action_oneshot (just like process_key_action_tap_hold), the other is to add state to the Keyboard struct and handle it in process_key_change.

I have not started yet, it would be great if you can do this! Personally I prefer the first one, aka process_key_action_oneshot which is similar with the tap hold implementation


semver violation, vscode-languageclient 6.1.3 can install vscode-languageserver-protocol 3.16  but they don't work together

I have a language server client with a dependency "vscode-languageclient": "^6.1.3" in package.json.
vscode-languageclient has a dependency "vscode-languageserver-protocol": "^3.15.3".  This means that minor version increments are supposed to be compatible.
When I did npm install it installed vscode-languageserver-protocol 3.16.  However, that version IS NOT compatible with vscode-languageclient 6.1.3, this is what happens:
node_modules/vscode-languageclient/lib/client.d.ts:2:19 - error TS2305: Module '"../../vscode-languageserver-protocol/lib/common/api"' has no exported member 'RPCMessageType'.

2 import { Message, RPCMessageType, ResponseError, RequestType, RequestType0, RequestHandler, RequestHandler0, GenericRequestHandler, NotificationType, NotificationType0, NotificationHandler, NotificationHandler0, GenericNotificationHandler, MessageReader, MessageWriter, Trace, Event, ClientCapabilities, TextDocumentRegistrationOptions, InitializeParams, InitializeResult, InitializeError, ServerCapabilities, DocumentSelector, DidOpenTextDocumentNotification, DidChangeTextDocumentNotification, DidCloseTextDocumentNotification, DidSaveTextDocumentNotification, WillSaveTextDocumentNotification, WillSaveTextDocumentWaitUntilRequest, FileEvent, CompletionRequest, HoverRequest, SignatureHelpRequest, DefinitionRequest, ReferencesRequest, DocumentHighlightRequest, WorkspaceSymbolRequest, CodeActionRequest, DocumentFormattingRequest, DocumentRangeFormattingRequest, DocumentOnTypeFormattingRequest, RenameRequest, DocumentLinkRequest, ProgressType, StaticRegistrationOptions, DocumentColorRequest, DeclarationRequest, FoldingRangeRequest, ImplementationRequest, SelectionRangeRequest, TypeDefinitionRequest, Proposed } from 'vscode-languageserver-protocol';
                    ~~~~~~~~~~~~~~

node_modules/vscode-languageclient/lib/client.d.ts:413:33 - error TS2314: Generic type 'RequestType0<R, E>' requires 2 type argument(s).

413     sendRequest<R, E, RO>(type: RequestType0<R, E, RO>, token?: CancellationToken): Promise<R>;
                                    ~~~~~~~~~~~~~~~~~~~~~~

node_modules/vscode-languageclient/lib/client.d.ts:414:36 - error TS2314: Generic type 'RequestType<P, R, E>' requires 3 type argument(s).

414     sendRequest<P, R, E, RO>(type: RequestType<P, R, E, RO>, params: P, token?: CancellationToken): Promise<R>;
                                       ~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/vscode-languageclient/lib/client.d.ts:417:31 - error TS2314: Generic type 'RequestType0<R, E>' requires 2 type argument(s).

417     onRequest<R, E, RO>(type: RequestType0<R, E, RO>, handler: RequestHandler0<R, E>): void;
                                  ~~~~~~~~~~~~~~~~~~~~~~

node_modules/vscode-languageclient/lib/client.d.ts:418:34 - error TS2314: Generic type 'RequestType<P, R, E>' requires 3 type argument(s).

418     onRequest<P, R, E, RO>(type: RequestType<P, R, E, RO>, handler: RequestHandler<P, R, E>): void;
                                     ~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/vscode-languageclient/lib/client.d.ts:420:32 - error TS2315: Type 'NotificationType0' is not generic.

420     sendNotification<RO>(type: NotificationType0<RO>): void;
                                   ~~~~~~~~~~~~~~~~~~~~~

node_modules/vscode-languageclient/lib/client.d.ts:421:35 - error TS2314: Generic type 'NotificationType<P>' requires 1 type argument(s).

421     sendNotification<P, RO>(type: NotificationType<P, RO>, params?: P): void;
                                      ~~~~~~~~~~~~~~~~~~~~~~~

node_modules/vscode-languageclient/lib/client.d.ts:424:30 - error TS2315: Type 'NotificationType0' is not generic.

424     onNotification<RO>(type: NotificationType0<RO>, handler: NotificationHandler0): void;
                                 ~~~~~~~~~~~~~~~~~~~~~

node_modules/vscode-languageclient/lib/client.d.ts:425:33 - error TS2314: Generic type 'NotificationType<P>' requires 1 type argument(s).

425     onNotification<P, RO>(type: NotificationType<P, RO>, handler: NotificationHandler<P>): void;
                                    ~~~~~~~~~~~~~~~~~~~~~~~

node_modules/vscode-languageclient/lib/client.d.ts:498:32 - error TS2708: Cannot use namespace 'Proposed' as a value.

498     getFeature(request: typeof Proposed.CallHierarchyPrepareRequest.method): DynamicFeature<TextDocumentRegistrationOptions> & TextDocumentProviderFeature<TypeDefinitionProvider>;
                                   ~~~~~~~~

node_modules/vscode-languageclient/lib/workspaceFolders.d.ts:3:48 - error TS2305: Module '"../../vscode-languageserver-protocol/lib/common/api"' has no exported member 'RPCMessageType'.

3 import { ClientCapabilities, InitializeParams, RPCMessageType, ServerCapabilities, WorkspaceFoldersRequest } from 'vscode-languageserver-protocol';

I fixed this by explicitly downgrading and pinning to vscode-languageserver-protocol 3.15.3.
It seems like vscode-languageserver-protocol has some critical backwards-incompatible change between 3.15 and 3.16 where either it should have maintained backwards compatibility or been a major (4.0) version increment by the semver rules used by npm.

so temporary fix is:
Client package.json
{
  ...
  "engines": {
    "vscode": "^1.42.0"
  },
  "dependencies": {
    ....
    "vscode-languageclient": "6.1.1",
    "vscode-languageserver-protocol": "3.15.3"
  },
  "devDependencies": {
  ...
    "@types/vscode": "^1.42.0"
  }
}

Server package.json
{
  ...
  "engines": {
    "node": "*"
  },
  "dependencies": {
    ...
    "vscode-languageserver": "6.1.1",
    "vscode-languageserver-protocol": "3.15.3"
  },
  "devDependencies": {
    ...
    "@types/vscode": "^1.42.0"
  }
}

This seems to work for me

Actually, this is quite tricky: the protocol package follows the version number of the LSP specification. Although the LSP spec version 3.16 is backwards compatible with 3.15 the TypeScript interfaces aren't. I agree that from a semver point of view we should have move to 4.0 but that would be very confusing since the protocol package 4.0 would be for LSP version 3.16.
To avoid such a confusion in the future the LSP client and server package have no a concrete version dependency on protocol (e.g. no ^version).
I can if necessary make a 6.x version of the client and server package which pins 3.15.3 of the protocol. Let me know how important that is for you.

I'm not OP, but I'm also affected by this.
IMO, if there's the possibility that the LSP spec is backward compatible but the Typescript interfaces aren't, then the versions need to be decoupled. The LSP spec is then treated as a "dependency" of the Typescript interfaces. The LSP version that the interface uses can be documented in the changelog of the interfaces. Possible confusion of the version numbers are avoided if the numbers are clearly distinct (e.g., let the interface version start from 10 or so). This would also enable having independent bugfix releases for spec and interfaces.
For me, that would be better than the confusion that follows from not adhering to the SemVer spec.
That being said, a bugfix release is not necessary for me as the workaround is only one line.

I can if necessary make a 6.x version of the client and server package which pins 3.15.3 of the protocol. Let me know how important that is for you.

I think that would be a good idea.  The workaround isn't difficult but understanding the cause of the error in order to get to the workaround was a headache.
(For me this came up trying to contribute to a project where I was trying to build for the first time, it is off-putting when it doesn't build.)

Decoupling the protocol version from the package version would require to move the node specific code of the protocol package to its own package. But even then a change in the TS compile might still result in compile errors.
The protocol package is actually backwards compatible in the sense of JSON schemas. It is not in terms of TS typings. When we last discussed this we decided to do explicit versioning since there was a expressed need to keep with LSP version and the protocol version in sync.
I will create a 6.1.x version to avoid the problem.

Decoupling the protocol version from the package version would require to move the node specific code of the protocol package to its own package. But even then a change in the TS compile might still result in compile errors.
The protocol package is actually backwards compatible in the sense of JSON schemas. It is not in terms of TS typings. When we last discussed this we decided to do explicit versioning since there was a expressed need to keep with LSP version and the protocol version in sync.
I will create a 6.1.x version to avoid the problem.

Release<EMAIL_ADDRESS>which precisely depends on 3.15.3 of the protocol.

Release<EMAIL_ADDRESS>which precisely depends on 3.15.3 of the protocol.


Add ability to skip higher order components

Allows a component to be skipped if its constructor has the innerComponentRef prop.
@jhollingworth quick check, thanks :)
Closes #34

What about stubbing?

Good catch, forgot about that. Will implement it and add tests.


Add ability to batch-extract for 1 or n clinics given their uuid/ids

In order to validate the accuracy of indicator lib, we need to extract data for an entire clinical and compare the results for TX_NEW , TX_PVLS, and TX_CUR with reports generated using the current ETL pipeline.
Should have filter for passing one or n clinics
Also this is important as reports are always aggregated by facility (combination of 1 or n clinics).

As discussed in the meeting, the idea is to do these kinds of filtering at the query time (instead of implementing them in the pipelines). So we extract everything (for an active period) and then add facility/location constraints at query time.
@kimaina can you please let me know which FHIR field this constraint should be applied to? And do you prefer this field to be exposed in the flattened views as an extra column (so the filtering can be done on the Panadas DataFrame) OR filter out rows that do not meat this constraint in the query library?

Thanks  @bashir2 for following up on this ! location (clinic) details are tied to encounter resource. here is a sample encounter resources. We might want to join the flat_obs with encounters asit also contains other relevant information. Here is a sample de-identified resource

{
  "resourceType": "Encounter",
  "id": "bc5084f6-8cda-41c5-bf48-864d7f73befd",
  "meta": {
    "tag": [
      {
        "system": "http://fhir.openmrs.org/ext/encounter-tag",
        "code": "encounter",
        "display": "Encounter"
      }
    ]
  },
  "status": "unknown",
  "class": {
    "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
    "code": "AMB"
  },
  "type": [
    {
      "coding": [
        {
          "system": "http://fhir.openmrs.org/code-system/encounter-type",
          "code": "some code uuid",
          "display": "HEMATONCOLOGYTRIAGE"
        }
      ]
    }
  ],
  "subject": {
    "reference": "Patient/some-patient uuid",
    "type": "Patient",
    "display": "some patient name"
  },
  "participant": [
    {
      "individual": {
        "reference": "Practitioner/Practitioner-uuid",
        "type": "Practitioner",
        "identifier": {
          "value": "some-identifier-0-2"
        },
        "display": "some Practitioner name"
      }
    }
  ],
  "period": {
    "start": "2000-03-30T10:31:24+03:00"
  },
  "location": [
    {
      "location": {
        "reference": "Location/some-uuid",
        "type": "Location",
        "display": "some facility name"
      }
    }
  ],
  "partOf": {
    "reference": "Encounter/uuid.....",
    "type": "Encounter"
  }
}


TabTransformer final fixes PR

Fix HPO CPU, bug fix for unlabeled/train mismatch, TT hyperparameter changes, train/pretrain split time_limits.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-791-2 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-791/2/index.html

Job PR-791-3 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-791/3/index.html


Shceduling build

Hi Team,
wondering how to schedule build using pipeline.yml file.
Thanks,
Aparna

Hi @aparnamane,
I'm afraid that, for now at least, scheduled builds can only be configured from within your pipeline's settings on buildkite.com or by using the GraphQL API. We're still having a think about how this might fit into pipeline.yml. :-)
Cheers,
Sam.


Mother's Education Status cannot be filled correctly.

While filling * Your mother's educational status? *.The checkboxes do not function correctly. I tried to check Higher education but it didn't workout.

Are ruk bhai theek kar rha hu ☺


Option to custom adjust when color is flipped between black or white

Is it currently possible to adjust when a given color will flip to black or white when e.g. doing:
invert('#f46e76', true) // produces black and want to produce white

No, sorry. That's against "invert"ing.. :)

@onury alright, thanks for the quick reply!

BTW, it's still against "inverting" but you could hack around it like:
invert('#f46e76', { black: '#fff', white: '#000' })

🤔


C++ language support

add documentation c++ language support

@parbenc please move this to https://github.com/ROCm/HIP/

moved to HIP repo: https://github.com/ROCm/HIP/pull/3512


Shouldn't OSG support be removed?

As discussed on GGUS it seems that OSG decommissioned their BDII support and now tob-levels BDIIs should not have any OSG mention.
This need to be clarified, and in the meantime it's possible to disable OSG in the configuration file: https://github.com/EGI-Foundation/glite-info-update-endpoints/blob/314ac0f1d71b0e7d599691bdb000fb69db7f2c1e/etc/glite-info-update-endpoints.conf#L3

OK, thanks!


Suggestion to play GIF inside the Newsfeed

Hello JakeLane again, I really don't know if it is possible, because https://m.facebook.com/home.php website shows GIF in NewsFeed in a link to open it outside the FB Newsfeed.
Do you know any possibility to play GIF inside Newsfeed (likewise what happens in Facebook Android app) ?
Thank you anyway.

Will look at implementing but I have my doubts it will be simple.


Stockpile Switch causing crash

Describe the Bug
When a Stockpile Switch connect to a chest(with items in it) that attached to a funnel/chute, it will lead to a crash.
Reproduction Steps
1.Place a chest
2.Place a Stockpile Switch face to the chest
3.Place a chute/funnel under the chest
4.put at least one item into the chest
5.crash
...
Expected Result
It shouldn't crash, I think
Screenshots and Videos

Crash Report or Log
No response
Operating System
Windows 10
Mod Version
0.4.1
Minecraft Version
1.18.2
Other Mods
fabric-api-0.53.3+1.18.2.jar
Additional Context
No response

Already fixed, just needs to be released


Godot scene is corrupted when saving

Godot version
v4.1.dev2.official [668cf3c66]
System information
Pop OS - v4.1.dev2.official [668cf3c66] - Forward+ Compability
Issue description
Okay, so I am using Godot 4.1 alpha (Yes, i know it's still in development version).
When I am about to save my project, I got an error: "Condition "fwrite(p_src, 1, p_length, f) != p_length" is true.".
I close my project, when I go back to edit my project ALL of my scenes are CORRUPTED, I put a lot of work in this project, now it's all gone! I don't know what to do, I think godot should have autosave.
So, please, I really need an autosave feature.
If anyone knows how to recover my files, please tell me.

The image above is files of my scenes that already gone.
Steps to reproduce
No example.
Minimal reproduction project
No reproduction steps.

Hi,
I am very sorry that you face this problem. But as it is always stated is that this a version is not ready for production use, so it should be used with care. In addition even in any stable software it is recommended to use a version control system so that the loss is very small. Maybe you consider using this, e.g. just having git locally. This would at least reduce some friction for you in general regardless of your chosen technically, you are never safe on this side.
Nontheless, I think what would help is if you can reproduce this error, for ideal with a small project to that others do not run into this problem as well.
I cannot say something about restoring your data, as I previously said, is normally minimized using a version control system.

Can you describe some reproduction steps? We can't do anything without detailed reproduction steps.

If anyone knows how to recover my files, please tell me.

There's no way to recover those files as they were never written to disk, judging by the description.

Thanks everyone for the support and help! I think the error/bug is caused because of my full disk. But I think Godot should have a warning message if it can't save the scene correctly.

Duplicate of #45354

ninja'd


Error regarding version when syncronizing the Base Application

Hello
When I try to Syncronize the Base Application I get this error:

PS C:\Windows\system32> Sync-NAVApp -ServerInstance $ins -Tenant $Tenant -Name "Base Application" -Version $Base_Version
Sync-NAVApp : Cannot synchronize the extension because no synchronized extension could be found to satisfy the dependency definition for System Application by Microsof
t <IP_ADDRESS>.
At line:1 char:1

Sync-NAVApp -ServerInstance $ins -Tenant $Tenant -Name "Base Applicat ...

  + CategoryInfo          : InvalidOperation: (:) [Sync-NAVApp], InvalidOperationException
  + FullyQualifiedErrorId : MicrosoftDynamicsNavServer$BC180/Default,Microsoft.Dynamics.Nav.Apps.Management.Cmdlets.SyncNavApp

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

ID: 05a03500-5e14-08ad-8fe0-f1bd752312b9
Version Independent ID: 543729ab-ec13-3e2a-dc1d-73a9567b9802
Content: Upgrading Unmodified C/AL Application to Version 18 - Business Central
Content Source: dev-itpro/upgrade/upgrade-unmodified-application-v14-v18.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: jswymer

Hello
I had missed to Sync the System Application first.
But now I get another error:

Hello, thanks for the feedback.
From what I can tell, these two fields where added in 18.0. Can you tell me the version of 14 that you're upgrading from?

Hello
I am upgrading from  14.0.46884
Med venlig hilsen
Henry Lethager
Konsulent |H: + 45 78 79 40 40 | D: +45 78 79 41 54 | @.***
@.***D74272.5DC62290]https://www.erpgruppen.dk/
@.***D74272.5DC62290] https://www.erpgruppen.dk/ @.***D74272.5DC62290] https://erpsupporten.dk/ @.***D74272.5DC62290] https://www.linkedin.com/company/erpgruppen-a-s/ @.***D74272.5DC62290] https://www.facebook.com/ERPgruppen   IT-løsninger, support og træning til Dynamics 365 Sales, Business Central, NAV og C5
@.***D74272.5DC62290]https://t.xink.io/Tracking/Index/1RwCAPCrAQAi_bEA0
Fra: jswymer @.>
Sendt: 6. maj 2021 12:18
Til: MicrosoftDocs/dynamics365smb-devitpro-pb @.>
Cc: Henry Lethager @.>; Author @.>
Emne: Re: [MicrosoftDocs/dynamics365smb-devitpro-pb] Error regarding version when syncronizing the Base Application (#1835)
Hello, thanks for the feedback.
From what I can tell, these two fields where added in 18.0. Can you tell me the version of 14 that you're upgrading from?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb/issues/1835#issuecomment-833410455, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJK6F3NDX74AYTVCOMAMJQLTMJUEXANCNFSM44GRBUYQ.

Hello
Can you help me how to solve this issue??
Med venlig hilsen
Henry Lethager
Konsulent |H: + 45 78 79 40 40 | D: +45 78 79 41 54 | @.***
@.***D74326.161349A0]https://www.erpgruppen.dk/
@.***D74326.161349A0] https://www.erpgruppen.dk/ @.***D74326.161349A0] https://erpsupporten.dk/ @.***D74326.161349A0] https://www.linkedin.com/company/erpgruppen-a-s/ @.***D74326.161349A0] https://www.facebook.com/ERPgruppen   IT-løsninger, support og træning til Dynamics 365 Sales, Business Central, NAV og C5
@.***D74326.161349A0]https://t.xink.io/Tracking/Index/1RwCAPCrAQAi_bEA0
Fra: Henry Lethager
Sendt: 6. maj 2021 12:22
Til: MicrosoftDocs/dynamics365smb-devitpro-pb @.>; MicrosoftDocs/dynamics365smb-devitpro-pb @.>
Cc: Author @.***>
Emne: SV: [MicrosoftDocs/dynamics365smb-devitpro-pb] Error regarding version when syncronizing the Base Application (#1835)
Hello
I am upgrading from  14.0.46884
Med venlig hilsen
Henry Lethager
Konsulent |H: + 45 78 79 40 40 | D: +45 78 79 41 54 |<EMAIL_ADDRESS>@.***D74326.161349A0]https://www.erpgruppen.dk/
@.***D74326.161349A0] https://www.erpgruppen.dk/ @.***D74326.161349A0] https://erpsupporten.dk/ @.***D74326.161349A0] https://www.linkedin.com/company/erpgruppen-a-s/ @.***D74326.161349A0] https://www.facebook.com/ERPgruppen   IT-løsninger, support og træning til Dynamics 365 Sales, Business Central, NAV og C5
@.***D74326.161349A0]https://t.xink.io/Tracking/Index/1RwCAPCrAQAi_bEA0
Fra: jswymer<EMAIL_ADDRESS>Sendt: 6. maj 2021 12:18
Til: MicrosoftDocs/dynamics365smb-devitpro-pb<EMAIL_ADDRESS>Cc: Henry Lethager<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Emne: Re: [MicrosoftDocs/dynamics365smb-devitpro-pb] Error regarding version when syncronizing the Base Application (#1835)
Hello, thanks for the feedback.
From what I can tell, these two fields where added in 18.0. Can you tell me the version of 14 that you're upgrading from?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb/issues/1835#issuecomment-833410455, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJK6F3NDX74AYTVCOMAMJQLTMJUEXANCNFSM44GRBUYQ.


[chip-test] chip_sw_keymgr_sideload_otbn

Test point name
chip_sw_keymgr_sideload_otbn
Host side component
SystemVerilog
OpenTitanTool infrastructure implemented
No response
Contact person
@tjaychen
Checklist
Please fill out this checklist as items are completed. Link to PRs and issues as appropriate.

[x] Check if existing test covers most or all of this testpoint (if so, either extend said test to cover all points, or skip the next 3 checkboxes)
[x] Device-side (C) component developed
[x] Bazel build rules developed
[ ] Host-side component developed
[x] HJSON test plan updated with test name (so it shows up in the dashboard)
[ ] Test added to dvsim nightly regression (and passing at time of checking)

@gdessouky @tjaychen
Sorry, after a closer look, I think we can probably close this issue now without further action.
We already compare the correct sideload key is sent to Otbn here. Ideally, we should also check the output from otbn, when it uses this key to do an operation, but we don't have a C model to calculate the result.
This could be a low risk. If I remember correctly, @jadephilipoom and I have discussed this - it may be not worth developing this C model, which may take couple weeks.
Let me know what you think.

@weicaiyang does this apply to all the other sideload test sequences? They can all make sure of keymgr_derivation?
Not doing the otbn check is fine with me.  I think as long as we can guarantee right "sideload" gets there, we can cover the rest in a variety of ways :)

Ideally, we should also check the output from otbn, when it uses this key to do an operation, but we don't have a C model to calculate the result. This could be a low risk. If I remember correctly, @jadephilipoom and I have discussed this - it may be not worth developing this C model, which may take couple weeks.

One note here is that OTBN is more flexible model-wise than other blocks. I think we originally talked about the work required for a C model for KMAC, which is fairly high-effort, but for OTBN we can choose any operation for which we have an OTBN program. For instance, an OTBN SHA-512 implementation was recently merged -- we could perform HMAC with SHA-512. X25519, the operation currently used in this test, is also probably easier to write a C model of than KMAC. However, they're all still substantial chunks of work if we can't use an existing implementation, so maybe this doesn't change the bigger picture.

@weicaiyang does this apply to all the other sideload test sequences? They can all make sure of keymgr_derivation? Not doing the otbn check is fine with me. I think as long as we can guarantee right "sideload" gets there, we can cover the rest in a variety of ways :)

I want to avoid just testing the key arrives at the IP boundary if possible
The best way to ensure right sideload key gets there, is to have kmac/otbn/aes use the key and check the digest output, which we really test the interaction. For kmac and aes, we have C mode, so that it's not very hard to do it
I wonder if you have some other way to guarantee right "sideload" gets there.

One note here is that OTBN is more flexible model-wise than other blocks. I think we originally talked about the work required for a C model for KMAC, which is fairly high-effort, but for OTBN we can choose any operation for which we have an OTBN program. For instance, an OTBN SHA-512 implementation was recently merged -- we could perform HMAC with SHA-512. X25519, the operation currently used in this test, is also probably easier to write a C model of than KMAC. However, they're all still substantial chunks of work if we can't use an existing implementation, so maybe this doesn't change the bigger picture.

@jadephilipoom we have a kmac C mode available in the DV testbench. With that, is it easy to calculate the output of X25519 operation?

@jadephilipoom we have a kmac C mode available in the DV testbench. With that, is it easy to calculate the output of X25519 operation?

Ah, I didn't realize that there was already a KMAC C model available! Unfortunately, KMAC and X25519 are unrelated, and we don't have any OTBN implementations that overlap cryptographically with AES or KMAC.

@jadephilipoom we have a kmac C mode available in the DV testbench. With that, is it easy to calculate the output of X25519 operation?

Ah, I didn't realize that there was already a KMAC C model available! Unfortunately, KMAC and X25519 are unrelated, and we don't have any OTBN implementations that overlap cryptographically with AES or KMAC.

I see. Thanks for the clarification.
Given the difficulty of having a C mode for X25519 program, perhaps let's make an exception for otbn sideload - just check the sideload key on the IP boundary. @tjaychen Let me know if you have any concern.

sounds good to me!
On Mon, Oct 31, 2022 at 12:13 PM weicaiyang @.***>
wrote:

@jadephilipoom https://github.com/jadephilipoom we have a kmac C mode
available in the DV testbench. With that, is it easy to calculate the
output of X25519 operation?
Ah, I didn't realize that there was already a KMAC C model available!
Unfortunately, KMAC and X25519 are unrelated, and we don't have any OTBN
implementations that overlap cryptographically with AES or KMAC.
I see. Thanks for the clarification.
Given the difficulty of having a C mode for X25519 program, perhaps let's
make an exception for otbn sideload - just check the sideload key on the IP
boundary. @tjaychen https://github.com/tjaychen Let me know if you have
any concern.
—
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/14159#issuecomment-1297549546,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSTQGWGIBEHXIK5TIO3WGAK5TANCNFSM56CN7CIA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Extract reusable javascript install sections

We had some repeating information in our JS docs. This extracts the
sections that are reusable.
There are a lot of javascript frameworks and including these partials should make it simpler to add new JS installation instructions in the future.

Thanks for the review 🎉 🍺!


chore(translations): translation updates

@daragh-king-genesys  For my own understanding, what's the process for updating translation files in the spark repo? Do we download a translations file from somewhere and dump it in the spark repo?


Release Google.Cloud.Trace.V1 version 2.3.0

Changes in this release:

Commit ac367e2: feat: Regenerate all APIs to support self-signed JWTs

Created release for Google.Cloud.Trace.V1-2.3.0


When auto-hidden taskbar is enabled, Files prevent it from showing up

Description
If you have auto-hidden taskbar enabled and you open Files in the foreground, moving your mouse towards the bottom of the screen won't make the taskbar appear like in every other Windows program
Steps To Reproduce

Enbale auto-hidden taskbar
Try making it show up when the Files window in in the foregroung

Requirements

Fix bug that breaks auto-hidden taskbar

Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.2134
Log File

Fix bug that breaks auto-hidden taskbar

Thank you for reporting this. The issue was fixed in #13207. Fix will be included in the next Files release.


fix: create postgis extension on the app database

postgis extension was being enabled on postgis database, suspect that it needs on the app "quickstart" database
Description
Changed the database that the bitnami postgis extension is being enabled on.
Fixes # (issue)
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
In related repo that used this template found that the postgis extension wasn't available on the user database that was created.

[x] - verified that the postgis extension worked after the change by running

SELECT name, default_version,installed_version FROM pg_available_extensions WHERE name LIKE 'postgis%' ;
SELECT PostGIS_Full_Version();

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have already been accepted and merged

Thanks for the PR!
Deployments, as required, will be available below:

Frontend
Backend

Please create PRs in draft mode.  Mark as ready to enable:

Analysis Workflow

After merge, new images are deployed in:

Merge Workflow

@franTarkenton Guy Lafleur in the town, yay, thanks for the fix.


[Bug]: Page Header commands do not retain order set in settings

Describe the bug
given order of commands x, y, z
the app periodically changes the order of y and z to the app's preferred order x, z, y
in my use case, y = "Navigate forward" and z = "Navigate back"
Relevant errors (if available)
No response
Steps to reproduce
set your own preferred order of page header commands, watch the app blend them at it it's leasure
Expected Behavior
commands stay in the order which the user sets in the settings
Additional context
I'm using these particular commands in conjunction with the Pane Relief plugin for per-pan navigation. This works great with Commander, except for the random command reordering. The Customizable Page Header and Title Bar plugin handled these two commands without issue and without random reordering.
Operating system
Windows

Does this still happen after the recent Changes?

Yes, it is still happening. But it is no longer an issue for me at the moment because I am using the now default per tab navigation built into Obsidian 1.0. So I will now only be using this plugin to add one command to the page header, and the order of one command does not matter... :)


NWM Viewer - Begin time should be constrained

I am able to select a Beginning Date earlier then the available NWM data.  The input date should be constrained to the available data, otherwise users will be confused about why data from last year can't be accessed.

Fixed on apps server.
We only keep NWM data for 30 days (swap out old data each day), so the date range for which data is available for view or download is dynamic:

Begin date is constrained on app UI
List current date range on Help page

This issue was moved to CUAHSI-APPS/nwm-forecast-viewer#20


We need api end points for all data tables and specified data

/Games
/Games/1/
(maybe) /Games/1/Developer   = Game 1 developer info
(maybe) /Games/1/Console       = Game 1 console info
/Developers
/Developers/1
/Consoles
/Consoles/1

I started this, check group chat

Finished the postgres side of things!

Finished, add ?db=mongo or ?db=postgres or ?db=both to see the different data sets on these routes


Tabs titles alignment changed since upgrade to Chrome62

It's very strange, since I upgraded to Chrome62, the alignment of my titles went slightly wrong.
If I revert to old Chrome version, everything goes back to normal.
Looks like the WebView engine of Chrome62 deals differently with some CSS of super tabs.
Old Chrome:

New Chrome62:

For information, here are all my modules:

"angular/common": "4.4.4",
"angular/compiler": "4.4.4",
"angular/compiler-cli": "4.4.4",
"angular/core": "4.4.4",
"angular/forms": "4.4.4",
"angular/http": "4.4.4",
"angular/platform-browser": "4.4.4",
"angular/platform-browser-dynamic": "4.4.4",
"ionic-native/core": "4.3.3",
"ionic-native/firebase-analytics": "4.3.3",
"ionic-native/splash-screen": "4.3.3",
"ionic-native/status-bar": "4.3.3",
"ionic/storage": "2.1.3",
"cordova-android": "6.3.0",
"cordova-ios": "4.5.3",
"cordova-plugin-device": "1.1.6",
"cordova-plugin-firebase-analytics": "0.12.0",
"cordova-plugin-splashscreen": "4.0.3",
"cordova-plugin-statusbar": "2.2.3",
"cordova-plugin-whitelist": "1.3.2",
"cordova-support-google-services": "1.0.0",
"ionic-angular": "3.8.0",
"ionic-plugin-keyboard": "2.2.1",
"ionic2-super-tabs": "4.1.4",
"ionicons": "3.0.0",
"moment": "2.19.1",
"ng-elastic": "1.0.0-beta.3",
"rxjs": "5.4.3",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.18",
"cordova-plugin-console": "1.0.5"

here too :(

I had the same issue, see css fix here:
https://github.com/zyra/ionic2-super-tabs/issues/199#issuecomment-338765548

Yes thanks!


update gulp build to better align with custom builds

the dist files should not contains the version since this breaks builds when a new version comes out.
The package.json is also updated to better align with npm

+1! When can we expect this to be merged?

@chrisirhc & @Foxandxss, what are your thoughts on this? I believe you two are the ones familiar with the release process.
This is a breaking change, but one that may be sensible to do since the file names should just be fixed.

We need to rework the publishing process. Right now, the contents of the bootstrap-bower repository should be what's used for publishing to npm. That repository doesn't contain version numbers.

I don't think this PR matches what we are doing with our releases. We are using an external repo and all the stuff we generate into /dist is merely internal only.
If you think there is an issue yet, please open an issue for proper discussion.
Thanks.


Wrong display of "Show Type"

It is right now (0.8.0) all "in-line" which is not readable for long types:

I agree that's not very useful, but is there a better alternative? It's possible to insert newlines, but then it probably won't fit on your screen vertically.
In my opinion, this feature is meant for fast checking of small types, not for big module signatures.
Suggestions and PR's to enhance the type bubbles are very welcome, I don't like it either, but I'm not a graphical designer :grin:

In vim and emacs if the type is long a new split is open with the type.

Types are now displayed with correct newlines and indentation. I created #19 for @neojski's suggestion.


Virtualcon perms

In #1429, support for virtual connections was added, but the ability to set permissions to virtual connections at the project level was omitted. Adding support for virtual connections as well as databases and tables.

Email added to GH account

@TrimPeachu this PR was affected by a recent force-push of the development branch and now GitHub is quite confused. Could you please submit a new PR based off the current development branch? Then it should be clean with just your changes. Sorry for the inconvenience.


When comment is last thing in a collection, :indent-only adds blank line before closing.

When a comment is the last element in a collection, and you use :indent-only, a blank line is added after the comment before the closing token of the collection.  For instance:
(czprint "(a (b (c (d e f\n;whatever\n) h\n) ;bar\n) i j)" {:parse-string? true :style :indent-only})
(a (b (c (d e f
           ;whatever

           ) h
        ) ;bar

     ) i j)

It should look like this:
(czprint "(a (b (c (d e f\n;whatever\n) h\n) ;bar\n) i j)" {:parse-string? true :style :indent-only})
(a (b (c (d e f
           ;whatever
         ) h
      ) ;bar
   ) i j)

Fixed in 1.0.0.


[DOCFIX] Add missing newline in User-CLI doc

add newline to end of recently modified doc page

alluxio-bot, merge this please


new rows in table as nested view

hi @oblomov-dev
im trying to create nested view with list and table.
and inserting rows from list to table..
something is happening when i append rows to the table from the list,
the first row is ok, but the second row appended is going on top the first one in the ui table..
something is wrong with the bind of the table or the nest model update ?
here is my demo for it..
demo_97.txt

checked it:

I can press on every list element on the left side and then on the right side the row is displayed in the table. Is this the expected behaviour?

ah ok with every row click on the left side, the entry should be appendend to the right table?

yes, is it got to do with the binding ?? or i am doing something. wrong.

check out demo 97:

Maybe the problem is solved, when you just update both models, because you also want to update the selected entry of the table on the left side:
https://github.com/abap2UI5/abap2UI5-samples/blob/7ba597551768b725fd48cdf42194e065958b1ace/src/z2ui5_cl_app_demo_97.clas.abap#L145
Best regards.

well its working..
the selected entry is getting pulled from the event..
does it suppose to behave this way ?? any way.. this solves it.. thx @oblomov-dev

Yes there are two json models one for the nested view and one for the normal one. Depending on the situation you have to decide which needs to be updated. It's a little bit tricky, we will find out if this is working in every situation or we need adjustments.

yes there are two view and two models and at the moment both views can update the backend values. so when you only update one view model it can happen that you overwrite later the actual values with a state from the past.
so i would recommend to update both all the time, but then there is the question why are you working with a nested view in this case?
i did not put too much effort in nested view so far, because i did not use them too much. just added the existing functionality. maybe there is the need to adjust the handling and add binding methods for two different models etc. but this also makes everything more complicated.

i see,
the use of nested view is to somewhat replicate sapui5 catalog demo app.
its a solution to update both models, im just writing down issues.. if a fix is needed or not its up to tou to decide, fixing everything at once surly not possible.
for the issue at hand, just pointing out that any type of using two models might cause an issue once update is needed, and updating both models not seem so intiative.
any way like you said before, updating both models solves the problem.
im just following up on this issue thats all

Yes it's fine! You are somehow the first who explores the nested views in abap2UI5. Just share your problems and snippets that's very helpful.
Then we can see what we can make possible with this approach. To a certain level we can extend abap2UI5 and from a certain point on it will become too complicated but I have no idea where this is :)
But I see that there is a problem when both views have editable values and they compete for changes... for example using an editable tree on the left side and a table on the right side will lead to encapsulate/decapsulate problems when both models are updated. At the moment fortunately you are using just tables.

oh i see, well until then :)

Updated the handling of model updates again, check demo 97.
You can now (optionally) bind the values to certain views (main, nested):
https://github.com/abap2UI5/abap2UI5-samples/blob/6e6687f9b5425e90a0943480960575b79c73473e/src/z2ui5_cl_app_demo_97.clas.abap#L100
Or here:
https://github.com/abap2UI5/abap2UI5-samples/blob/6e6687f9b5425e90a0943480960575b79c73473e/src/z2ui5_cl_app_demo_97.clas.abap#L50
Hopes that makes the handling more understandable and should also make it possible to handle editable trees and tables in different views synchronously.

that sound great ! thanks
ill check it out


Option to clear log messages after being displayed for X amount of time.

The log can fill up my screen, and block my gameplay. I have it toggled off because of this. It's not always bad to display the information, but I don't need it to stay there.
I'd like an option under native_logger that for a message lifetime. I'd imagine it should be on by default and last a similar duration to Unreal or Unity print to screen.
I may try to implement this myself if I need it in the future. For now I'm just working without the native_logger.

I had to change the extension to upload it, but this suits my needs. I didn't add a nice menu option to change the lifetime, and it could probably use some optimization, but it works.
logger_view.txt


Bluetooth: att: don't re-use the REQ buffer for confirmations

If the peer is a zephyr host, there is no problem, as the Zephyr
host limits sending parallel REQs and INDs.
But the spec allows sending those in parallel, and it may end up that
the re-used REQ buffer hasn't been destroyed when an indication comes.
Only re-use the buffer when enqueuing ATT responses.
This means that we may run out of buffers if the peer sends too many
indications and our application also sends a lot of commands/notifications.
The rationale for this is that having to handle a lot of requests is a
more plausible scenario (e.g. being discovered by multiple peers) than
handling lots of parallel indications.

omg this kinda stuff is why we don't have more contributors

This is literally what clang-format outputs being rejected by another linter in the chain.


Include new features to tree cover loss alerts widget.

Active check data source filter.

Add:

Functions to change source and origin filters.


EFO update was visible yesterday, but no longer is

The ontology ID
EFO
The title of the ontology
The Experimental Factor Ontology
When last did you publish changes to your ontology?
Nov 15th
Did the purl of the ontology change recently?
Not sure
Description
There was a recent EFO release on Nov 15th, if i remember correctly, i saw the EFO changes reflected in OLS yesterday, but today I cannot, one term that was recently imported to EFO was there yesterday but I cant no longer find it (MONDO_0022308)
Term was confirmed added here: https://github.com/EBISPOT/efo/issues/2118

This data release is in progress and has not been on OLS as yet.


Game tic tac toe

Let me know if needed in changes

Thanks for contribution, make sure you star the repository for the confirmation.

Yea sure


Fixes issues with the RSS reader app not displaying properly on some settings

What this PR does...

[x] Switches from using vanilla JavaScript to Alpine.js
[ ] Applies fixes to the app given some settings

What this PR doesn't do...

Overhaul the RSS reader Edge App's layout and design based on the Figma mockups provided

Test runs (settings and results)
Test Run 1
Settings
[Paste the output displayed after running screenly edge-app setting list].
Results
[Include screenshots, console outputs, and other relevant info here.]

Here's an issue that I keep getting almost every time.

Keywords:

"Database failed to open"
"Internal error opening backing store for indexedDB.open."

@vpetersson, @iamplugged, @rusko124
I gave up using IndexedDB (for now) and switched to using localStorage, JSON.stringify, and JSON.parse instead.
Changes are now ready again ready for review.


Header element sticks, but page jumps

I have a <header> element which i make sticky when scrolling down.
side-note: in order to make it stick i gave it margin-top: 1px like suggested in issue #132.
But when happens when i scroll down is that the placeholder div is added very violently and it seems like the entire page "jumps".
Any idea how to add that in a softer manner?

Same here.
not on header though.
Just a form tag with 100% width.
The page jumps up to fill to space even if I manually place
use-placeholder="true"