Multiple Stream not always connecting?

Hey guys,
we successfully implemented easyRTC for peer to peer videoconferencing, by using the easyApp example. Conferencing from one client to the other client is not a problem but when we start extending this to more than 2 users it gets problematic. What we experienced is that when a new user joins the conference sometimes the calling goes wrong. Sometimes it fails to call one of the participating clients or lets one stream of one of the other clients freeze. There is also a similar behaviour in the mutlistream demo (https://demo.easyrtc.com/demos/demo_multistream.html). As soon a third client joins the room it gets messy. So my question is now, is it a wrong implementation from our clientside? (I posted a small piece of code) Is it a known issue of webRTC standard/easyRTC library? Or is it something, that needs to be changed on server side? Can anyone help me?
Thank you :)
var roomListener = function (roomName, otherPeers) {
                    //somecode to determine which peers need to be called
                    for (i = 0; i < newPeersLength; i++) {
                        var newPeer = newPeers[i];
                        if (self.peer && (newPeer != self.peer))
                                self.performCall(newPeer);
                    }
                    //somecode to finish
            };

I found the issue. The participants where trying to call each other at the same time, no i added some checks for that, and it runs smooth now.

I need to check the code when i am back at work, the only thing i can say now, you might want to check, that the joining member is not trying to call himself. That might stop him to continue starting the calls to the others. But i am not quite sure right now. I will let you know, when i checked my code.

@renebrain

easyrtc.setRoomOccupantListener(function (roomName, newRoomUsers, newUser) {
...
newRoomUsers.forEach(function (newRoomUser) {
..
if (newUser.roomJoinTime < newRoomUser.roomJoinTime) {
easyrtc.call(newRoomUser. easyrtcid, ...
}

I took an aextract out of my code which works, so i am checking quite a few times which users i have already called and maintaing a list on my side for that. I hope it helps you. It looks kinda messy, but thats the best i can provide you. I haven't worked on it for quite a few weeks now :D
            var roomListener = function (roomName, otherPeers) {
                var peers = [];
                var i;
                var j;
                for (i in otherPeers) {
                    if(otherPeers.hasOwnProperty(i))
                        peers.push(otherPeers[i].easyrtcid);
                }
                if (callback) { //internal checking mechnism, just see this thing as true for now)
                    if (!peers.length) {
                        self.closeStreamCall();
                    } else {
                        $("#establishing-connection, #calling").removeClass("nowVisible");
                    }
                    if(initializing){
                        var participants = self.participants;
                        var newPeers = utilitiesController.findNewElementsInArray(peers, participants);
                        var newPeersLength = newPeers.length;
                        var oldPeers = utilitiesController.findNewElementsInArray(participants, peers);
                        for (i = 0; i < newPeersLength; i++) {
                            var newPeer = newPeers[i];
                            if (self.peer && (newPeer != self.peer))
                                self.performCall(newPeer);
                        }
                        participants = utilitiesController.addElementsToArray(participants, newPeers);
                        self.participants = utilitiesController.removeElementsFromArray(participants, oldPeers);
                        initializing=false;
                    }
//some other stuff which is not related to this problem

@renebrain For now I never had this issue. I will check a the demo code later.
Still adding some delay and making the right call mesh is still required.
Finally not to mention ICE exchange and TURN/STUN.

When using the long way (manual calls and connect rather than easyApp), I faced similar issues, since clients were trying to call each other all the time, so I basically maintain two dictionaries, one for already connected and another one for pending connects, plus an additional flag similar to the "isNewcomer" so the first time the room listener is fired it doesn't call anyone but instead the other members call him. The dictionaries are checked before calling and updated on the call callbacks. With these it seems that multi party videos never fail, probably they could still fail if they join at the exact same time and some race condition happens but I think this quite good.

In order to call incoming user in the room in the case of more that I recommend doing this, hope that help.
var enableAutoCall = true,
isRoomMostRecentUser = user.roomJoinTime > localUser.roomJoinTime;
// If user is owner and has media then call new user
if (
    // Auto call new user
    enableAutoCall &&
    // Was there before new user
    isRoomMostRecentUser &&
    // Is sharing media
    (
        supportsGetUserMedia && (
            isSharingCamera ||
                isSharingAudio ||
                    isSharingScreen
        )
    )
) {

    easyrtc.call(peerEasyrtcId, ...);
}


[JsonApiSerializer] Included resources that are queried through multiple relationships only get data from one result

When including the same resource through multiple relationships in one request, the JsonApiSerializer does not combine the information, resulting in missing child relationships. For example:
GET /books?include=author.publisher,publishers.company
A Book has an Author, that belongs to a Publisher.
A Book has one or more Publishers.
A Publisher belongs to a Company.
In this example, when the book's publisher is the same as the author's publisher, the publisher.company relationship will be missing from the result, because it is added twice, and ignored the second time.
I have made a workaround by extending the JsonApiSerializer class thusly:
<?php namespace App\Api\Serializers;

use League\Fractal\Resource\ResourceInterface;

class JsonApiSerializer extends \League\Fractal\Serializer\JsonApiSerializer
{

     /**
     * Serialize the included data.
     *
     * @param ResourceInterface $resource
     * @param array $data
     *
     * @return array
     */
    public function includedData(ResourceInterface $resource, array $data)
    {
        $serializedData = $this->pullOutNestedIncludedData($data);
        foreach ($data as $value) {
            foreach ($value as $includeObject) {
                if ($this->isNull($includeObject) || $this->isEmpty($includeObject)) {
                    continue;
                }

                $includeObjects = $this->createIncludeObjects($includeObject);
                foreach ($includeObjects as $object) {
                    $includeType = $object['type'];
                    $includeId = $object['id'];
                    $cacheKey = "$includeType:$includeId";

                    if (!array_key_exists($cacheKey, $serializedData)) {
                        $serializedData[$cacheKey] = $object;
                    } else {

                        // Inject relationshps
                        $serializedData[$cacheKey] = $this->injectRelationships($serializedData[$cacheKey], $object);

                    }
                }
            }
        }

        return empty($serializedData) ? [] : ['included' => array_values($serializedData)];
    }

    protected function injectRelationships($toObject, $fromObject) {

        // Are there relationships missing in the cached version, that are in this object?
        if (array_key_exists('relationships', $fromObject)) {

            // Compare relationship keys
            if (!array_key_exists('relationships', $toObject)) $toObject['relationships'] = [];
            $cachedRelKeys = array_keys($toObject['relationships']);
            $currentRelKeys = array_keys($fromObject['relationships']);

            // Check which are missing
            $missingRelKeys = array_diff($currentRelKeys, $cachedRelKeys);
            foreach ($missingRelKeys as $relKey) {
                $toObject['relationships'][$relKey] = $fromObject['relationships'][$relKey];
            }

        }

        return $toObject;

    }

    /**
     * Keep all sideloaded inclusion data on the top level.
     *
     * @param array $data
     *
     * @return array
     */
    protected function pullOutNestedIncludedData(array $data)
    {
        $includedData = [];

        foreach ($data as $value) {
            foreach ($value as $includeObject) {
                if (isset($includeObject['included'])) {
                    foreach ($includeObject['included'] as $object) {
                        $includeType = $object['type'];
                        $includeId = $object['id'];
                        $cacheKey = "$includeType:$includeId";
                        if (!array_key_exists($cacheKey, $includedData)) {
                            $includedData[$cacheKey] = $object;
                        } else {

                            // Inject relationshps
                            $includedData[$cacheKey] = $this->injectRelationships($includedData[$cacheKey], $object);
                        }
                    }
                }
            }
        }

        return $includedData;
    }

     /**
     * Check if the objects are part of a collection or not
     *
     * @param $includeObject
     *
     * @return array
     */
    private function createIncludeObjects($includeObject)
    {
        if ($this->isCollection($includeObject)) {
            $includeObjects = $includeObject['data'];

            return $includeObjects;
        } else {
            $includeObjects = [$includeObject['data']];

            return $includeObjects;
        }
    }

}

I can imagine there could be a more optimized version of this script, but I needed to fix this quickly because I'm working with a deadline.

Think I've encounter the same bug (my assumption is the latest include just replaces the existing one with the same key, thus removing any earlier relations.)
Has there been any movement on a solution to this? Happy to throw in a PR if i get a chance.


Fix Tokenize of new line, Remove space inserts

Hope im not getting in the way here.
Been playing with the GUFF branch, had a few issues with the InteractiveExecutor throwing trying to tokenize \n
I changed it to use the newline for LLama.cpp, not sure if this is the correct approch, so feel free to scrutinize.
I also removed the inserted spaces as they are no longer required llama : more tokenizer fixes #2810
All 3 executors seem to be working for me now

Looks good, thanks for fixing this!


View in devportal link not working properly

Description:
View in dev portal link not working properly in custom stepper

Duplicate https://github.com/wso2/product-apim/issues/10807


Encrypting Confidential Data at Rest task implies recommendation against AES CBC is due to padding oracle risk

Maybe I'm missing something, but the comment that "CBC's vulnerability to padding oracle attacks. " is why aescbc is not recommended seems to be misguided or wrong.
Padding oracle attacks can only occur if the attacker can send many different versions of the encrypted data and have the server respond in a way that the attacker can determine that there was an invalid padding. e.g. see https://blog.cloudflare.com/padding-oracles-and-the-decline-of-cbc-mode-ciphersuites/
That article notes that AES-CBC is secure for encrypting static content. I think that matches how it's used for the secrets API  I'd also hope that kubernetes stores the encrypted secrets using a MAC after encryption, which removes the padding oracle attack vector.
How does a padding oracle attack become relevant in this context?
re: https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/

/language en

It is not a support query.  I think this is a technical inaccuracy in the docs - I do not think there is any padding oracle that exists in kubernetes.  Indicating that aescbc is weak for that reason is inaccurate.
Obviously I can still use it, and we do use AES-CBC for similar purposes in code internal to our projects where we want to encrypt multiple secrets at rest using the same encryption key.

/remove-kind support
/priority awaiting-more-evidence
/sig security auth

Relevant but different to this issue's focus: we should add more of a concept guide to API encryption at rest. Then, the task page can focus on the “how”, with hyperlinks into the concept page for the “why” aspects.

What we actually recommend is KMS with a v2 plugin and a KEK that's never revealed to the Kubernetes API server. This is a security model I personally like, too.

In order for a padding Oracle to exist the attacker must be able to submit
multiple versions of the cipher text for attempted decryption and also the
stored value must have been done as MAC before encrypt.
I am pretty sure those conditions don't exist. What kind of proof is needed?
On Fri, Dec 1, 2023, 09:50 Tim Bannister @.***> wrote:

I'm inferring that in the absence of a formal proof around the lack of a
padding oracle, precaution is good. The docs don't state this.
—
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/website/issues/44169#issuecomment-1836244429,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA2JK52PQ22AY4S56AACW3YHHVD3AVCNFSM6AAAAABACEXQ62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZWGI2DINBSHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

/triage accepted


How do I undeploy from observablehq.cloud?

I deployed a site on observablehq.cloud by running observable deploy, how do I delete the site / undeploy the project?

Found it: https://observablehq.com/projects


Board IP Can Not Be Set Manually

Describe the bug
I am using Nucleo F429ZI Board. And trying to run net/sockets/echo server example.
Problem is that card can not set its own IPv4 nor IPv6 address given with CONFIG_NET_CONFIG_MY_IPV6_ADDR and CONFIG_NET_CONFIG_MY_IPV4_ADDR  parameters.
Although, CONFIG_NETWORKING, CONFIG_NET_IPV4 and CONFIG_NET_CONFIG_SETTINGS selected in the original prj.conf file, when compiling I get these errors;
warning: NET_CONFIG_PEER_IPV4_ADDR (defined at subsys/net/lib/config/Kconfig:110) was assigned the
value '<IP_ADDRESS>' but got the value ''.
warning: ignoring malformed line ' CONFIG_NET_CONFIG_SETTINGS=y'
warning: ignoring malformed line ' CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"'
warning: ignoring malformed line ' CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::2"'
warning: ignoring malformed line ' CONFIG_NET_CONFIG_MY_IPV4_ADDR="<IP_ADDRESS>"'

Note that the config option is named CONFIG_NET_CONFIG_PEER_IPV4_ADDR, are you missing CONFIG_?

Yes, the configuration is set with CONFIG_NET_CONFIG_PEER_IPV4_ADDR.

How you have modified the conf file, the upstream conf file works just fine with the board you mentioned.

@sercantun please post the whole build/zephyr/.config file.

.config file can not be generated because of the compile error.
Compile stops here;
Error: Aborting due to non-whitelisted Kconfig warning
../zephyrproject/zephyr/samples/net/sockets/echo_server/prj.conf:47: warning: ignoring
malformed line ' CONFIG_NET_CONFIG_SETTINGS=y''.

Error: Aborting due to non-whitelisted Kconfig warning
../zephyrproject/zephyr/samples/net/sockets/echo_server/prj.conf:47: warning: ignoring
malformed line ' CONFIG_NET_CONFIG_SETTINGS=y''.

Do you have extra space in start of the config entry, the error print indicates that.

Thank you all for your support. Problem is solved when I re-install zephyr in another directory. And board had a static IP.


⚠ MineVN Maven & Resource Pack has degraded performance

In 602320d, MineVN Maven & Resource Pack (http://app.minevn.net/pack) experienced degraded performance:

HTTP code: 404
Response time: 7567 ms

Resolved: MineVN Maven & Resource Pack performance has improved in 6b20aeb after 12 minutes.


facebook Nonetype object has no attribute get

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2021.12.27. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
private group, i'm used to download those video with cookies but in this week i can't download any videos in private group
use --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.47 Safari/537.36" still get, both youtube-dl and yt-dlp have problem
[facebook]<PHONE_NUMBER>016405: Downloading webpage
ERROR: 'NoneType' object has no attribute 'get'

youtube-dl
[facebook]<PHONE_NUMBER>016405: Downloading webpage
Traceback (most recent call last):
  File "__main__.py", line 19, in <module>
  File "youtube_dl\__init__.pyc", line 475, in main
  File "youtube_dl\__init__.pyc", line 465, in _real_main
  File "youtube_dl\YoutubeDL.pyc", line 2068, in download
  File "youtube_dl\YoutubeDL.pyc", line 808, in extract_info
  File "youtube_dl\YoutubeDL.pyc", line 815, in wrapper
  File "youtube_dl\YoutubeDL.pyc", line 836, in __extract_info
  File "youtube_dl\extractor\common.pyc", line 534, in extract
  File "youtube_dl\extractor\facebook.pyc", line 680, in _real_extract
  File "youtube_dl\extractor\facebook.pyc", line 499, in _extract_from_url
  File "youtube_dl\extractor\facebook.pyc", line 480, in parse_attachment
AttributeError: 'NoneType' object has no attribute 'get'

even public group is not working
yt-dlp https://www.facebook.com/rhyan.fernandez.1/videos/893150181367366
Verbose log
[debug] Command-line config: ['https://www.facebook.com/rhyan.fernandez.1/videos/893150181367366/', '--verbose']
[debug] User config file: C:\Users\GEN32UC\AppData\Roaming\yt-dlp\config.txt
[debug] User config: ['-o', 'I:/youtube-dl/%(extractor)s/%(title)s-%(uploader)s-%(channel_id)s-%(channel)s-%(id)s.%(ext)s', '-f', 'bestvideo[height<=?1080]+bestaudio/best', '--write-thumbnail', '--cookies', 'C:/Users/GEN32UC/AppData/Roaming/youtube-dl/cookies.txt', '--write-sub', '--write-auto-sub', '--sub-lang', 'en-GB']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2021.12.27 [6223f67a8]
[debug] Python version 3.8.2 (CPython 64bit) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg N-92966-gd52a1be4e3, ffprobe N-92966-gd52a1be4e3
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [facebook] Extracting URL: https://www.facebook.com/rhyan.fernandez.1/videos/893150181367366/
[facebook]<PHONE_NUMBER>67366: Downloading webpage
[facebook]<PHONE_NUMBER>67366: Downloading webpage
ERROR: [facebook]<PHONE_NUMBER>67366: Cannot parse data; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
  File "c:\users\gen32uc\appdata\local\programs\python\python38\lib\site-packages\yt_dlp\extractor\common.py", line 599, in extract
    ie_result = self._real_extract(url)
  File "c:\users\gen32uc\appdata\local\programs\python\python38\lib\site-packages\yt_dlp\extractor\facebook.py", line 721, in _real_extract
    return self._extract_from_url(real_url, video_id)
  File "c:\users\gen32uc\appdata\local\programs\python\python38\lib\site-packages\yt_dlp\extractor\facebook.py", line 667, in _extract_from_url
    raise ExtractorError('Cannot parse data')

I have a similar error specificly with Facebook in the same context (public or private). Perhaps due to the way the video is shared by the guy ? :
*** Using yt-dlp :**
yt-dlp https://www.facebook.com/groups/dossiersfrancereinfo/permalink/1434142093648577 [facebook]<PHONE_NUMBER>648577: Downloading webpage [facebook]<PHONE_NUMBER>648577: Downloading webpage ERROR: [facebook]<PHONE_NUMBER>648577: Cannot parse data; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
*Using youtube-dl :
youtube-dl https://www.facebook.com/groups/dossiersfrancereinfo/permalink/1434142093648577
[facebook]<PHONE_NUMBER>648577: Downloading webpage
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/bin/youtube-dl/main.py", line 19, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 475, in main
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 465, in _real_main
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2068, in download
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 808, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/facebook.py", line 680, in _real_extract
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/facebook.py", line 499, in _extract_from_url
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/facebook.py", line 480, in parse_attachment
AttributeError: 'NoneType' object has no attribute 'get'


'fvm flutter pub cache clean' deactivates fvm

I have been using FVM on Windows for 2 projects with different versions of flutter (1.22.6 and 2.5.0) by doing the following:

Installing Dart SDK via choco
dart pub global activate fvm
fvm use <version> in the project root
Configured android studio to use the symbolic link in the .fvm folder via Languages & Frameworks -> Flutter

I've been using it with no problems for a few weeks now. Today I had a problem where I removed a dependency from my pubspec.yaml, did a fvm flutter pub get, but the dependency still seemed to be there - I could still import the package. So, I decided to try cleaning the pub cache using fvm flutter pub cache clean, which resulted in:

This will remove everything inside C:\Users\james\AppData\Local\Pub\Cache.
You will have to run flutter pub get again in each project.
Are you sure? (y/N)? y
Removing pub cache directory C:\Users\james\AppData\Local\Pub\Cache.
The system cannot find the path specified.
No active package fvm.
The system cannot find the path specified.

After this I can no longer run FVM commands as it is not found. Running dart pub global activate fvm again solves the problem.
Is this expected behaviour, a bug, or does it suggest my setup is wrong? Would appreciate if someone else could try this command and report on what happens.

@jamesncl If you are using the dart version in cache I believe this will be the case..  could you try installing using chocolatey? See if the behavior persists in this case?

Sorry for the late reply, yes as stated in the original post I installed dart via chocolately. I did originally used the dart which came packaged with flutter, before I switched over to using FVM. When switching over to FVM I removed my existing installations of flutter first, so I had to install dart separately. Hope that makes sense.
I'm not sure what you mean by "the dart version in cache"?
Also, I just checked my PATH env variable and I have the following entries - I don't remember adding these, are these added by FVM automatically?
C:\Users\james\AppData\Roaming\Pub\Cache\bin (this directory doesn't exist)
C:\Users\james\AppData\Local\Pub\Cache\bin (this directory does exist, it contains fvm.bat and dectools.bat)

@jamesncl fvm does not add any environment variables, I think that is not even possible. However, these are the configuration instructions to use pub global from their guide.

Okay thanks, maybe I added them earlier and forgot. Are you able to reproduce this issue, i.e. does running fvm flutter pub cache clean on your system result in the same problem I encountered?

@jamesncl Not sure if its really an issue, once you run that command flutter warns you of the following.
You will have to run `flutter pub get` again in each project.
Are you sure? (y/N)? y```

On global it means you have to reinstall globally also which I think its the equivalent of the flutter pub get. Using brew helps you solve this problem.

I have an alike issue. As a result of fvm flutter pub cache repair i get
Error: Couldn't resolve the package 'fvm' in 'package:fvm/src/runner.dart'.
../../.pub-cache/hosted/pub.dartlang.org/fvm-2.2.3/bin/main.dart:3:8: Error: Not found: 'package:fvm/src/runner.dart'
import 'package:fvm/src/runner.dart';
       ^
../../.pub-cache/hosted/pub.dartlang.org/fvm-2.2.3/bin/main.dart:6:14: Error: Method not found: 'FvmCommandRunner'.
  exit(await FvmCommandRunner().run(args));
             ^^^^^^^^^^^^^^^^
Failed to reactivate fvm 2.2.3: Failed to build fvm:main:
Error: Couldn't resolve the package 'fvm' in 'package:fvm/src/runner.dart'.
../../.pub-cache/hosted/pub.dartlang.org/fvm-2.2.3/bin/main.dart:3:8: Error: Not found: 'package:fvm/src/runner.dart'
import 'package:fvm/src/runner.dart';
       ^
../../.pub-cache/hosted/pub.dartlang.org/fvm-2.2.3/bin/main.dart:6:14: Error: Method not found: 'FvmCommandRunner'.
  exit(await FvmCommandRunner().run(args));
             ^^^^^^^^^^^^^^^^
Binstubs exist for non-activated packages:
  From fvm: fvm
Reactivated 1 package.
Failed to reactivate 1 package:
- fvm
pub finished with exit code 69

@leoafarias Ah I see - so FVM is actually a dart package which is installed in the system package cache when we run dart pub global activate fvm. So yes it does make sense that cleaning the cache also basically deletes FVM. So I agree this is not really an issue, it's expected behaviour. I wonder if this is worthy of a small note in the docs?

@RomanKapshuk That's a different problem and might be worth opening a separate issue - it makes sense that cache clean deactivates FVM as it is itself a package in the cache, but it doesn't make sense that cache repair can't repair FVM, so that sounds like a more serious issue

@jamesncl if you can make any suggestions to the docs and do a PR, I will be able to review.


Ewey GUI (hah)

Hey man, great job!
I have a small issue

St [op]/St [art] ? ! :)

Hi, i´m also on an highres monitor, is there a way to change the UI in Burp (32px Layout): Thx.

I feel your pain, but I haven't had time to update the layout to work for low and hi-res monitors (I have a high res monitor and just change the font size within Burp to make it more manageable - but it is still a pain).


Validation certificate - success response body

The actual success code response (304 - Not Modified) used on Dovetail cannot be used with body content.
Changed to 200 code.

Part of Assimbly 3.9.0


fix: skip not only .js but also .mjs manifest entries

Description

The current manifest generation logic is faulty if manifest[src].file ends with .mjs instead of .js. This PR fixes it.
Additional context

This bug is breaking a production app.

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines, especially the Pull Request Guidelines.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Update the corresponding documentation if needed.
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

I think the CI is green; the one failure seems to be a falky test.


X.509 HTTP client example #2800

An example shown how to send a HTTP request with X.509 certificate. Like this curl command:
curl --cert < certificate> --key < device certificate key pair> -H <HTTP header> --cacert <CA> <URI>

You can configure client certificates using ClientBuilder::identity, and custom server certificates using ClientBuilder::add_root_certificate.

Thanks


Add osx_arm64 build

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@davidbrochart, this PR is ready for review. Please take a look when you have a chance, thanks!

Would you like to be added as a maintainer to this feedstock?

Yes, please!

Could you add your GitHub handle at the end of meta.yaml?

@conda-forge-admin, please add user @jeongseok-meta

Ah, I should request it through Issue:

https://github.com/conda-forge/taskflow-feedstock/issues/10

I think this PR can be merged as approved, and adding me as a maintainer can be done separately?

I think this PR can be merged as approved, and adding me as a maintainer can be done separately?

Sure!


new Simon game added

ISSUE #266 new feature added
kindly review and make PR

@shubham2-002 Resolve the conflicts.


Wiki: Add HowTo add a new Route to a controller

Add to wiki documentation enough to create a new route and bind it to a controller

added wiki
Router: How to add a route
;)


Settings: Make the drop down menu functional under 1. Taxa

Users can also select a file (one string per line and upload it). The dataset that users submit must be passed to  gene.sampling.retrieve.  Assume that the dataset have the following structure:
Felis
Vulpes
Phoca
Manis_pentadactyla

Do you think which format is good for the dataset?
(e.g., txt file, csv file, etc....)

A plain txt should be ok
--
Cristian Román-Palacios
Assistant Professor of Practice
School of Information
University of Arizona
Personal website: http://cromanpa94.github.io/cromanpa/
Official website: https://ischool.arizona.edu/people/cristian-roman-palacios
E-mail<EMAIL_ADDRESS>Zoom link: https://arizona.zoom.us/my/cromanpa
Schedule a meeting: https://calendly.com/cromanpa/15min
Office:<PHONE_NUMBER>

From: Wonnie @.>
Sent: Friday, August 19, 2022 7:18:06 AM
To: cromanpa94/salphycon @.>
Cc: Cristian Román Palacios @.>; Author @.>
Subject: Re: [cromanpa94/salphycon] Settings: Make the drop down menu functional under 1. Taxa (Issue #2)
Do you think which format is good for the dataset?
(e.g., txt file, csv file, etc....)
—
Reply to this email directly, view it on GitHubhttps://github.com/cromanpa94/salphycon/issues/2#issuecomment-1220735332, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AELMSLDLHP6KB2PLEFO2XFLVZ6JR5ANCNFSM566FAP6Q.
You are receiving this because you authored the thread.Message ID: @.***>

Feature implemented in: https://github.com/cromanpa94/salphycon/commit/f075f96e70782f4ac484e5bba6d4c5a846899be4. Template files also available from: https://github.com/cromanpa94/salphycon/commit/e0ad23d673d0b6a7070cd78af00758d58d7a61e9.


Save message buffer frequently

So I tried the "save on punctuation" thing, but I was a little uncomfortable because it only worked best when adding text to the end of the message, and I wasn't sure of a good way to check for the actual keypresses instead. So it was possible to add a bunch of text without it saving. I did it this other way - should this be changed?

Does this clear the saved buffer on send?


Revert version changes after failed release

What does this PR do?
Title says it all

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2023-01-27T15:55:43.660+0000

Duration: 60 min 46 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
3446

Skipped
43

Total
3489

:green_heart: Flaky test report
Tests succeeded.
:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run benchmark tests : Run the benchmark tests.

run jdk compatibility tests : Run the JDK Compatibility tests.

run integration tests : Run the Agent Integration tests.

run end-to-end tests : Run the APM-ITs.

run windows tests : Build & tests on windows.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)


Group mappings in concordances

This is a more complex issue but required to deliver mapping provenance metadata.

[ ] add /concordance endpoint returning a list of concordances. A sample list (ndjson) is available at http://coli-conc.gbv.de/concordances/csv/concordances.ndjson
[ ] implement HTTP PUT at /concordance/xxxx where xxx can be [a-z0-9_-] to add a new concordance.
[ ] Add default REST operations (at least GET) to get data about a single concordance
[ ] Add optional parameter concordance when adding mappings to specify a concordance that the mappings result from. During import validation should make sure that mappings actually fit to the concordance. The concordance URI is added to each mapping in field partOf
[ ] Support query parameter in to /mappings endpoint to filter mappings by concordance they belong to (this can be implemented independently)

related to #5 (download-URLs need to be changed to absolute URLs)

This is now implemented as /concordances.
Question: What would xxxx be in this case? Wouldn't it be enough to add the whole concordance as a JSON object? Do we even want/need a PUT endpoint for this?
Not yet implemented (suggestion: add parameter uri= to /concordances).
When importing a concordance, the associated mappings can be imported as well. The import function to import mappings also supports a concordance option to specify the mappings' concordance. No validation is done for this yet.
/mappings now supports the partOf= parameter to specify the concordance (or concordances).

We don't need update via HTTP by now, so closing this issue and adding #26 instead.


Verify upgrade and downgrade path

Currently the service assumes that the lexicographically ordered file list is correctly ordered - it may not be.
Ensure that there is a path from the initial revision to the final revision, but back tracking from the final revision. Every IRevision has a IRevision::previousVersion property that should match with another IRevision::version otherwise it will be undefined. Make sure to implement a solution to verify a path from the final revision to the initial revision. If no such path exists, then an error should be thrown and the change set should not be applied.

Can rename a file retroactively, since verification does not operate on the file name.
Order of revisions is determined by mapping the base revision (previous version is undefined) onward.
Revisions that are disjoint (more than one dependency chain) are not allowed.
Upgrade and downgrade will sort and verify with current version


Webhook exporter metrics route to be same as other exporters

All other exporters can read the metrics from other endpoints in the URL route such as / or /metrics as well as /whatever
To make it consistent webhook exporter also presents the prometheus metrics on the GET event for all endpoints.
For the POST events only /pelorus/webhook can be used.
Disallow all other methods.
Fixes #889
Fixes #888
Testing Instructions
It's enough to run the exporter via python and test endpoints:
$ python exporters/webhook/app.py

# visit:
#  http://localhost:8080
#  http://localhost:8080/
#  http://localhost:8080/metrics
#  http://localhost:8080/othertarget
#  http://localhost:8080/pelorus/webhook

# Above should give the prometheus metrics

# Send the POST to the http://localhost:8080/pelorus/webhook using updated documentation in this PR and ensure the metrics are visible when visiting one of the above metric endpoints.

@redhat-cop/mdt

/lgtm

/test 4.11-e2e-openshift

/test 4.11-e2e-openshift


The future of reactionmenu

discord.py's official owner stopped maintaining the library, many developers are migrating to pycord or nextcord.
What are your future plans for this cool project?
Originally posted by @felixsam359 in https://github.com/Defxult/reactionmenu/issues/19#issuecomment-912121542

I'd +1 for pycord


grpc-tools build missing for arm64 macOS

It's not possible to use grpc-tools on M1 macs right now, because there's no binary distribution of the Ruby gRPC compiler being shipped. Something will have to be done on the internal artifact build side to make this happen.

we currently don't provide support for the arm64 M1 macs, since we have no hardware to test on. For now, you need to use rosetta emulation to run on the new arm64 macs.
We might add this support at some point, but there is no ETA.

@jtattermusch I made a PR so the x86_64 binary gets picked up at least: https://github.com/grpc/grpc/pull/25756

@jtattermusch what do you need to test it?
I'm sure the community can help, I have a M1 and I could help if you provide the instructions :)

@jtattermusch what do you need to test it?
I'm sure the community can help, I have a M1 and I could help if you provide the instructions :)

Thanks, but it's not about running a one-time test and be done with it. We need continous testing to be able to ensure things won't break in the future. So we need mac M1s integrated with our internal testing platform and that's far from trivial.

related https://github.com/grpc/grpc/issues/26391

Maybe having instructions on how to compile from source would at least unblock to use grpc locally, until we have a definitive solution.

Also related: https://github.com/actions/virtual-environments/issues/2187
On Thu, Sep 16, 2021 at 3:38 PM Gabriel Sobrinho @.***>
wrote:

Maybe having instructions on how to compile from source would at least
unblock to use grpc locally, until we have a definitive solution.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/issues/25755#issuecomment-921305927, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABXRXJRBKPBSYZ5RVMXFRITUCJWXXANCNFSM4ZMGFKSA
.

Maybe having instructions on how to compile from source would at least unblock to use grpc locally, until we have a definitive solution.

The way the grpc-tools gem is built by our CI is here:
https://github.com/grpc/grpc/blob/master/tools/run_tests/artifacts/build_package_ruby.sh
basically, you need to first build the protoc binaries and grpc_ruby_plugin for all supported platforms (this step is quite unrelated to the ruby build process, since you just need the binaries), then you put the binaries in the right location where gem build expects them and finally you simply run gem build grpc-tools.gemspec.
So besides building the protoc / protoc plugin binaries, building the grpc-tools gems is trivial.
Building grpc-tools for your own needs locally is absolutely doable (but obviously the gems built that way won't get any kind of official support from the grpc team).

Hey folks, really would love to have first-class grpc-tools support for M1 macs since we're moving over from Intel-based to M1-based systems for doing our development and lean heavily on a grpc-tools stack for our workflow. I'm pretty sure I'm not the only one in this boat, so pretty please do find a way to support arm64!

@dweekly please see https://github.com/actions/virtual-environments/issues/2187

@nicolasnoble Thanks so much; the linked thread indicates that GitHub is thinking that M1 support in Actions may be available sometime in 2022. https://github.com/actions/virtual-environments/issues/2187#issuecomment-939033228
I can appreciate the team's desire for quality in wanting to incorporate M1 Actions as part of your release flow, but it's also a non-super experience for the buyer of a modern, popular developer computer to not be able to use a core piece of software because one trillion dollar company is waiting for another trillion dollar company to do something.
Since I'm definitely not going to be the last person to run across this, perhaps it would be possible to have some sort of error pop up for those who encounter this with a link and guidance? Or to offer support in "preview"/beta/hand-cranked until full M1 GitHub actions are available for the team?
I'm appreciative of the hard work your team does and trying to be empathetic to devs wanting to use the grpc tools.

Looks like 1.42.0.pre1 was released, even include a version for arm64-darwin but it doesn't work yet
$ bin/rails db:migrate
rails aborted!
LoadError: dlopen(/Users/sobrinho/.gem/ruby/2.7.2/gems/grpc-1.42.0.pre1-universal-darwin/src/ruby/lib/grpc/2.7/grpc_c.bundle, 9): no suitable image found.  Did find:
	/Users/sobrinho/.gem/ruby/2.7.2/gems/grpc-1.42.0.pre1-universal-darwin/src/ruby/lib/grpc/2.7/grpc_c.bundle: mach-o, but wrong architecture
	/Users/sobrinho/.gem/ruby/2.7.2/gems/grpc-1.42.0.pre1-universal-darwin/src/ruby/lib/grpc/2.7/grpc_c.bundle: mach-o, but wrong architecture - /Users/sobrinho/.gem/ruby/2.7.2/gems/grpc-1.42.0.pre1-universal-darwin/src/ruby/lib/grpc/2.7/grpc_c.bundle
/Users/sobrinho/.gem/ruby/2.7.2/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:332:in `require'
/Users/sobrinho/.gem/ruby/2.7.2/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:332:in `block in require'
/Users/sobrinho/.gem/ruby/2.7.2/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:299:in `load_dependency'
/Users/sobrinho/.gem/ruby/2.7.2/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:332:in `require'
/Users/sobrinho/.gem/ruby/2.7.2/gems/grpc-1.42.0.pre1-universal-darwin/src/ruby/lib/grpc/grpc.rb:20:in `<top (required)>'
/Users/sobrinho/.gem/ruby/2.7.2/gems/grpc-1.42.0.pre1-universal-darwin/src/ruby/lib/grpc.rb:19:in `require_relative'
/Users/sobrinho/.gem/ruby/2.7.2/gems/grpc-1.42.0.pre1-universal-darwin/src/ruby/lib/grpc.rb:19:in `<top (required)>'

$ bundle update grpc
...
Installing grpc 1.42.0.pre1 (universal-darwin)
...

$ bin/rails db:migrate
rails aborted!
LoadError: dlopen(/Users/sobrinho/.gem/ruby/2.7.2/gems/grpc-1.42.0.pre1-universal-darwin/src/ruby/lib/grpc/2.7/grpc_c.bundle, 9): no suitable image found.  Did find:
	/Users/sobrinho/.gem/ruby/2.7.2/gems/grpc-1.42.0.pre1-universal-darwin/src/ruby/lib/grpc/2.7/grpc_c.bundle: mach-o, but wrong architecture
	/Users/sobrinho/.gem/ruby/2.7.2/gems/grpc-1.42.0.pre1-universal-darwin/src/ruby/lib/grpc/2.7/grpc_c.bundle: mach-o, but wrong architecture - /Users/sobrinho/.gem/ruby/2.7.2/gems/grpc-1.42.0.pre1-universal-darwin/src/ruby/lib/grpc/2.7/grpc_c.bundle

Although, if I do:
$ gem uninstall grpc
[uninstall all versions]

$ gem install grpc:1.42.0.pre1
Fetching grpc-1.42.0.pre1-arm64-darwin.gem
Successfully installed grpc-1.42.0.pre1-arm64-darwin
Parsing documentation for grpc-1.42.0.pre1-arm64-darwin
Installing ri documentation for grpc-1.42.0.pre1-arm64-darwin
Done installing documentation for grpc after 0 seconds
1 gem installed

It does install the correct architecture and then the app works.

@sobrinho I'm new to ruby and I'm not sure if it's the right solution, but maybe you need to add arm64-darwin-20 to your Gemfile.lock platforms. I think it's what makes bundler to get the arm64-darwin instead of the universal-darwin. Not sure but maybe worth trying.
Btw, congratulations to the team on the newest v1.42.0 release!
I just noticed the latest gem is still released as 1.42.0.pre1
Does it only need a separate action to be triggered or is there anything left to be worked on?

to anyone who needs to get grpc-tools working on their development machines, you can temporarily set bundler platform to ruby which ignores any OS specific pre-built binary and rebuild directly from source:
bundle config set force_ruby_platform true

Any updates? Still see that issue
node-pre-gyp ERR! stack Error: 404 status code downloading tarball https://node-precompiled-binaries.grpc.io/grpc-tools/v1.8.0/darwin-arm64.tar.gz

@kiskesis this is specific to ruby gem, I'm sure other language will also have the problem, but please find/open a different issue

basically, you need to first build the protoc binaries and grpc_ruby_plugin for all supported platforms

@jtattermusch Thanks for describing how to build grpc-tools.gemspec.  Can you also provide information on how to build the protoc binaries and grpc_ruby_plugin?

What about doing it manually when a new version is released?
It's tedious and error prone but better than not having it at all.
Maybe it can be compiled into a single script to build everything and on every release, we can do it ourselves and submit to a private repository or even provide the compiled version here for the owner to push to public rubygems.

In case this is helpful to anyone –– I do dev work from an M1 and the work around I ended up using was building everything from a Docker image. Something like this, built with the --platform linux/amd64 flag include while building for compatibility:
FROM node:lts

# grpc_tools_node_protoc_ts for typescript bindings
RUN npm install -g grpc-tools grpc_tools_node_protoc_ts
RUN mkdir -p /home/node/out
RUN mkdir -p /home/node/in

WORKDIR "/home/node/in"

Then it's just a matter of mounting volumes in/out:
	docker run -v $(CURDIR)/server/proto:/home/node/out \
			   -v $(CURDIR)/proto:/home/node/in $(DOCKER_IMAGE) \
		grpc_tools_node_protoc \
			--plugin=protoc-gen-ts=/usr/local/bin/protoc-gen-ts \
			--ts_out=grpc_js:../out \
			--js_out=import_style=commonjs,binary:../out \
			--grpc_out=grpc_js:../out \
			api.proto

from an M1 [...] Something like this, built with the --platform linux/amd64

This only works if the Linux VM where docker is setup has binfmt_misc set up to run foreign x86_64 binaries via either Rosetta 2 for Linux (which requires using Virtualization.framework) or QEMU (which is slow).

(reposting my comment here for visibility)
I feel like it's more than that, the gem appears to break several rubygems expectations:
The gem is published as ruby (which means "pure ruby", or abusively "compatible with any platform because it builds native components on the spot") but is in fact thin packaging for target-specific binaries:
$ env GEM_HOME=fake gem install grpc-tools
1 gem installed

$ ls -1 fake/gems/grpc-tools-1.56.2 fake/gems/grpc-tools-1.56.2/bin

fake/gems/grpc-tools-1.56.2:
README.md
bin
platform_check.rb
version.rb

fake/gems/grpc-tools-1.56.2/bin:
grpc_tools_ruby_protoc
grpc_tools_ruby_protoc_plugin
x86-linux
x86-windows
x86_64-linux
x86_64-macos
x86_64-windows

None but the one it ultimately runs on would be executable (without binfmt_misc trickery + a compatible userland), and so are dead weight.
Each one of these should be published as individual binary platform gems:

x86-linux
x86_64-linux
x86_64-darwin (NOT x86_64-darwin-22 or something, the missing platform version component acts as a wildcard)

For Windows I'm less certain, could be mswin or mingw thingies:
-https://github.com/rubygems/rubygems/blob/8af163866564c6a2afb9fd3cd51f452459dd9f06/lib/rubygems/platform.rb#L103-L127

https://docs.ruby-lang.org/en/master/windows_md.html

And in addition, what this issue requests:

aarch64-linux
arm64-darwin (NOT arm64-darwin-22 or something)

The ruby gem platform should be attempting to build binaries from source upon install, or worst case, be a shim.
In addition, this case .. when bit of code falls through to return x86 on aarch64-linux:
  def PLATFORM.architecture
    host_cpu = RbConfig::CONFIG['host_cpu']

    # When we're on arm in macOS, we can rely on Rosetta and use the x86_64 binary
    return 'x86_64' if RbConfig::CONFIG['host_os'] =~ /darwin/ && host_cpu =~ /arm|aarch/

    case host_cpu
      when /x86_64/
        'x86_64'
      else
        'x86'
    end
  end

The java gem platform should include all binaries because it cannot be known which platform it will run on. But then I suppose JRuby is not a current target because the code above fails for JRuby.
For reference, here are some implementations:

https://rubygems.org/gems/libv8-node/versions
https://github.com/rubyjs/libv8-node/blob/4db6396edce91a5c17224c7c41a4b514dea1c85e/Rakefile
https://github.com/DataDog/libddwaf-rb/blob/913c4083ab3db2f5b755079af171ec32ba06b015/Rakefile
https://rubygems.org/gems/libddwaf/versions

Some additional notes:

here's how to pick up the underlying platform triplet for JRuby
if binaries do not run on musl†, I would recommend using *-linux-gnu to advertise it's only glibc compatible, otherwise *-linux would be picked by musl-built rubies as a fallback when there's no *-linux-musl gem available (which would get precedence)

† can be achieved by statically linking C++ stdlib in and taking care that no glibc-isms are used

Yep that problem still persists with the upcoming M4

we currently don't provide support for the arm64 M1 macs, since we have no hardware to test on. For now, you need to use rosetta emulation to run on the new arm64 macs. We might add this support at some point, but there is no ETA.

somehow, @lloeki  / @jtattermusch someone has to review the idea of relying on Rosetta 2
Sonoma 14.5 broke stuff in that translation layer
TLDR: GRPC tool needs to be natively compliant with ARM processor, including Apple Silicon
this would cut the chain of dependency, hoping that translation layer don't break

🦤
any news on google side for GRPC to be useable on ARM64 / Apple Silicon processor ?
Curious what's the google plan with mobile/desktop cpu moving to ARM64
also cheap cloud compute now runs on ARM64
it's honestly weird post M1 but we're now close to M4 and 2025. as a no ice in the field i fail to see any clear sign for support and things moving forward "actively"

I was able to get the tools working inside a Docker container by telling it to enable i386 architecture support and then installing a required lib. This is a little standalone Ruby gRPC server that just runs a server.rb forever listening on port 4000 for requests from a separate Rails app I'm working on. Here's the complete Dockerfile:
ARG RUBY_VERSION=3.3.4
FROM ruby:$RUBY_VERSION

WORKDIR /app
COPY . .

RUN dpkg --add-architecture i386
RUN apt update
RUN apt install -y libc6:i386
RUN bundle install

EXPOSE 4000

CMD ["ruby", "server.rb"]

I can also run the codebase in a devcontainer in VS Code (the devcontainer Dockerfile includes the same the three RUN commands that setup i386) and can verify that grpc_tools_ruby_protoc -I . --ruby_out=. --grpc_out=. sample.proto runs every time!


AttributeError: 'LandslideProbability' object has no attribute 'landslide__factor_of_safety_histogram'

Running the following code:
example_FS_dist = LS_prob.landslide__factor_of_safety_histogram[
 core_nodes[46]]
Returns the following error:

AttributeError: 'LandslideProbability' object has no attribute 'landslide__factor_of_safety_histogram'

@itaher1995 Please close and move to https://github.com/hydroshare/hydroshare-jupyterhub


v 4+ isValidated is NOT == 'NEEDS_VALIDATION' when TreeBOT makes a positive ID

ToDO:
This is going back to the spec outlined in #339 for the Design of 1 & 2 (the 'IT'S A MATCH' cases). As of the completion of #414 this looked to be working - but now it is not.
ANYTIME (whether it is a genus match OR a species match) TreeBOT correctly identifies a tree and the user saves this to the database - the 'isValidated' field should = 'NEEDS_VALIDATION' instead of the default (which is 'SPAM').
ALSO AIResult should be AIResult = 1. (instead of the default '0').
Repo of the bug:
https://user-images.githubusercontent.com/62637055/216443044-a05efbe9-26a7-41ea-a857-7ac666268149.MOV

CONFIRMED fixed in version 74


[AutoDiff upstream] Add SIL differentiability witness IRGen.

SIL differentiability witnesses are a new top-level SIL construct mapping
an "original" SIL function and derivative configuration to derivative SIL
functions.
This patch adds SILDifferentiabilityWitness IRGen.
SILDifferentiabilityWitness has a fixed { i8*, i8* } layout:
JVP and VJP derivative function pointers.
Resolves TF-1146.

@swift-ci Please smoke test


Type the size prop according to the available sizes

Is your feature request related to a problem? Please describe.

It's not a problem per se but it would be nice to get autocomplete on the size prop.
Describe the solution you'd like

type all size props to the available sizes:
size: "3xs" | "xs" | "md" | "lg"  aaand so on
Describe alternatives you've considered

I don't know if the solution above works, because i don't know if you can set your own sizes (did not find anything in the docs).
In that case you'd probably have to read in the tailwind.config.ts 🤔
Additional context

i'm willing to make a PR to set it for every component, but i don't know if the sizes are customizable

The sizes and all the other props depends on your app.config.ts:

https://github.com/nuxtlabs/ui/blob/dev/src/runtime/app.config.ts#L148
https://github.com/nuxtlabs/ui/blob/dev/src/runtime/components/elements/Button.vue#L67

However, you can override the app.config.ts entirely and make your own sizes.
Maybe it would work to type it with something like this?
  size: {
      type: String as PropType<typeof appConfig.ui.button.size>,
      default: () => appConfig.ui.button.default.size,
      validator (value: string) {
        return Object.keys(appConfig.ui.button.size).includes(value)
      }
    }

i wanted to test it out locally so i forked and cloned it, but couldn't test it / run it because i need the Token 🤔
am i doing something wrong?

You can run the docs and the playground in dev mode, you just can't generate the docs.

I think if import appConfig from '#build/app.config' is typed, it should work, won't it?
  size: {
      type: String as PropType<keyof typeof appConfig.ui.button.size>,
      default: () => appConfig.ui.button.default.size,
      validator (value: string) {
        return Object.keys(appConfig.ui.button.size).includes(value)
      }
    }


keyboard not available for old macOS guest on macOS 14 host since UTM 4.4.0

Describe the issue
In virtualization mode, the keyboard is not available and cannot proceed in the setup assistant after fresh installation. The setup assistant prompts user to power on bluetooth keyboard. I am not aware of any workaround to skip this step.
This bug was introduced in UTM 4.4.0. It seems that old macOS guest does not support VZMacKeyboardConfiguration. I have no idea which macOS version is the minimal version that supports VZMacKeyboardConfiguration.
https://github.com/utmapp/UTM/blob/180c67e5858705bd2400df8b53ba5004cf76dd57/Configuration/UTMAppleConfigurationVirtualization.swift#L141-L148
Configuration

UTM Version: v4.4.3
macOS Version: 14.0 (23A344) host, 12.X guest
Mac Chip (Intel, M1, ...): M1

Crash log
no crash
Debug log
not needed for this issue
Upload VM
not needed for this issue

duplicate of #5810

Thx


Change: make browser validations configurable via DSL

Add the ability to enable/disable html5 browser validations through:
RailsAdmin.config do |config|
  config.browser_validations = true
end

I'm not able to reproduce the failure with mongoid...

Actually, browser validations are generating a lot of javascript errors for has_many/has_one widget becouse the input fields are hidden.
For instance:
An invalid form control with name='' is not focusable.
An invalid form control with name='recipe[main_variant_attributes][variant_ingredients_attributes][1435052695601][quantity]' is not focusable.
An invalid form control with name='' is not focusable.
An invalid form control with name='recipe[main_variant_attributes][variant_ingredients_attributes][1435052695601][quantity]' is not focusable.

@mshibuya Let me know what do you think about this PR :wink:

+1

+1

@mshibuya I changed the default value to true

@mshibuya @sferik any news about this PR?

Squashed and cherry-picked with slight modification(html_required? is unnecessary, because setting novalidate to form is enough). Thanks!

:heart:
Thanks @mshibuya!!

@dalpo
do you need that or is it an oversight? :
register_instance_option :html_attributes do
          {
            required: required?,
          }
   end

in my case , config.browser_validations  = false has no effect, and browser validation still works for me.

@fmh Thanks for reporting!
I fixed it here: https://github.com/sferik/rails_admin/pull/2373

now, it works, thx 👍

@dalpo as you said, I am getting a bunch of the following js errors on rails_admin 0.7:
An invalid form control with name='' is not focusable.
An invalid form control with name='recipe[main_variant_attributes][variant_ingredients_attributes][1435052695601][quantity]' is not focusable.

This did not happen on 0.6.8. Disabling all browser validation feels like overkill. Did we figure out what was wrong in this case?

@vincentwoo I didn't investigate too much about it.
Btw this was the old PR that introduced the required attribute:
https://github.com/sferik/rails_admin/pull/2170/files
As you can see that PR didn't introduce the required attribute for all input fields, but only for those that are using the _form_field.html.haml and _form_text.html.haml partials.
However with the latest changes, now the required attribute is present for every input field.
May be this could cause your errors.
P.S.
Sorry for my bad English..

I have found some bug on browser validation #2492


waitForData return false but wait time has not arrived!

when i debug my code ,i found a strange bug:"waitForData" always return false immediately.
i spend some hours and found that if the time between “conn.write” and “conn.waitForData” is large than
wait time, "waitForData" always return false.
here is my sample code:
void somejob()
{
    StopWatch sw;
    sw.start;

    int c = 0;
    foreach(j;1..300_000_000)
    { c = j; }

    sw.stop;
    logInfo("job time %s",sw.peek.msecs);
}

ubyte [] send_recv(TCPConnection conn,ubyte [] buf)
{
    conn.write(buf);
     //sleep(10000.msecs);

    somejob();//it take 830ms in my machine

    StopWatch sw;
    sw.start;
    if(!conn.waitForData(2.seconds)) //just wait about 1170ms and then return false
    {
        sw.stop;
        logInfo("wait failure %s",sw.peek.msecs);

        return null;
    }

    auto rbuf = new ubyte[cast(uint)conn.leastSize];
    conn.read(rbuf);

    return rbuf;
}
int main(string[] argv)
{
    //setLogLevel(LogLevel.trace);

    runTask({
        auto conn = connectTCP("<IP_ADDRESS>",60000);
        ubyte [] sbuf = [1,2,3];
        foreach(i;1..100)
        { auto rbuf = send_recv(conn,sbuf); }
    });

    runEventLoop();
    return 0;
}

Did you verify that the connections is still alive after waitForData returns? Which version of vibe.d is being used there? I recently made some changes on master, could have something to do with it if those are in use.
You could also run the program with setLogLevel(LogLevel.trace); setLogFormat(FileLogger.Format.threadTime, FileLogger.threadTime); and post the log output, that might give some more insights.

i test it both 0.7.26 version and master version
connections is still alive after waitForData returns
here is my test code and results:

import std.datetime;
import vibe.appmain;
import vibe.core.core;
import vibe.core.net;
import vibe.core.log;

void somejob()
{
    StopWatch sw;
    sw.start;

    int c = 0;
    foreach(j;1..300_000_000)
    { c = j; }

    sw.stop;
    logInfo("......job time %sms",sw.peek.msecs);
}

ubyte [] send_recv(TCPConnection conn,ubyte [] buf)
{
    conn.write(buf);
     //sleep(10000.msecs);

    somejob();//it take 830ms in my machine

    StopWatch sw;
    sw.start;
    if(!conn.waitForData(2.seconds)) //just wait about 1170ms and then return false
    {
        sw.stop;
        logInfo("......connect status %s ,wait failure %sms",conn.connected,sw.peek.msecs);

        return null;
    }

    auto rbuf = new ubyte[cast(uint)conn.leastSize];
    conn.read(rbuf);

    return rbuf;
}

shared static this()
{
	setLogLevel(LogLevel.trace);
	setLogFormat(FileLogger.Format.threadTime);
    runTask({
        auto conn = connectTCP("<IP_ADDRESS>",60000);
        ubyte [] sbuf = [1,2,3];
        foreach(i;1..100)
        {
        	logInfo("......start");
        	auto rbuf = send_recv(conn,sbuf);
        }
    });
}

Running .\echoserver-example.exe
[00D70000:00000000 2016.01.11 13:59:34.611 dbv] Creating new fiber...
[00D70000:00D73200 2016.01.11 13:59:34.614 trc] Event loop not running at task start - yielding.
[00D70000:00000000 2016.01.11 13:59:34.615 dia] Running event loop...
[00D70000:00000000 2016.01.11 13:59:34.617 dbg] Starting event loop.
[00D70000:00D73200 2016.01.11 13:59:34.618 trc] Initial resume of task.
[00D70000:00D73200 2016.01.11 13:59:34.620 dbg] dnsresolve <IP_ADDRESS>
[00D70000:00D73200 2016.01.11 13:59:34.621 dbg] dnsresolve ret
[00D70000:00000000 2016.01.11 13:59:34.633 dbv] Creating new fiber...
[00D70000:00000000 2016.01.11 13:59:34.636 dbg] Socket event on fd 640: 128 (B69964 vs B69964)
[00D70000:00000000 2016.01.11 13:59:34.638 trc] resuming corresponding task...
[00D70000:00D73200 2016.01.11 13:59:34.641 trc] Connect result status: 128
......start
[00D70000:00D73200 2016.01.11 13:59:34.643 trc] evbuffer_add (fd 640): 3 B
......job time 813ms
[00D70000:00D73200 2016.01.11 13:59:35.460 trc] add timeout event with 2/0
[00D70000:00D73200 2016.01.11 13:59:35.462 trc] wait for data
[00D70000:00000000 2016.01.11 13:59:35.463 trc] socket 640 write event (false)!
[00D70000:00000000 2016.01.11 13:59:36.636 trc] data wait timeout
[00D70000:00D73200 2016.01.11 13:59:36.640 trc]  -> timeout = true
......connect status true ,wait failure 1182ms
......start
[00D70000:00D73200 2016.01.11 13:59:36.644 trc] evbuffer_add (fd 640): 3 B
......job time 814ms
[00D70000:00D73200 2016.01.11 13:59:37.461 trc] add timeout event with 2/0
[00D70000:00D73200 2016.01.11 13:59:37.463 trc] wait for data
[00D70000:00000000 2016.01.11 13:59:37.465 trc] socket 640 write event (false)!
[00D70000:00000000 2016.01.11 13:59:38.637 trc] data wait timeout
[00D70000:00D73200 2016.01.11 13:59:38.641 trc]  -> timeout = true
......connect status true ,wait failure 1181ms


time out kernel problem.

im using both of vscode and insider.
my system is ubunyu and there is no problem wirh vscode, but Insider!
i have no idea for handling insder's kernel problem.
Environment : pylance, python,  anaconda 's virenv
the Error message is "Timed out waiting to get a heartbeat from kernel process."

/extPython


a8m.where when collection is undefined

When collection is undefined on where filter, we got:
"TypeError: Cannot read property 'filter' of undefined"
A simple check solve the problem.
if(!collection)) { return false; }

LGTM.
We should add isUndefined(collection) test on line 15.
feel free to PR. thx

+1, but this needs to be implemented for all collection filters. I'm using Restangular promises in my $scope, whose collections are undefined before they get resolved. This gives me this error with isEmpty:
TypeError: Cannot read property 'length' of undefined

So, nothing actually happened on this? I'm also getting the error:
Error: collection is undefined
@http://cdnjs.cloudflare.com/ajax/libs/angular-filter/0.5.8/angular-filter.js:1278:7
...
Can't the isUndefined(collection) check just be added by the owner (@a8m) to make the implementation consistent? We need a pull request update on #88 for this?


Question - Is there a way to add functions that are global only to a given context or environment?

We are evaluating Jactl for an end-user/customization programming language in a piece of software.
When adding global functions and members, is there a way to do it without them being available to every single script that Jactl executes?
If you can imagine there are two parts of the system, module A and module B, unrelated to each other, but within the same process that allow customization, it would be great to be able to add in functions and methods as the integration points in such a way that functions/methods from module A are not accessible when executing scripts related to module B.
Looking into the source code this does not look to be possible, but I am wondering if I am missing something.

You are right. It is not currently possible but it seems like a reasonable thing to support so I will look into it. Shouldn't be too hard to implement I think.


Nothing on 8080 or

Hi:
phpstack concept is great, I would like to use it.
My OS is Ubuntu, I used DOCKER_HOST
export DOCKER_HOST=tcp://<IP_ADDRESS>:2375

After "installation" process, everything seems to be up and running, but...
There is nothing at http://<IP_ADDRESS>:8080
Message at http://<IP_ADDRESS>:2375 is 'Page not found'
After vagrant halt, and up again; it goes even worse
docker-compose up
Recreating ..._shipyard_1...
Cannot start container ...d5db: exec: "/bin/echo": stat /bin/echo: no such file or directory
Could you give me a hint to solve this problem?
Thanks
Best Regards!

Shipyard has been removed from the project as it was causing more harm than good.


[CSE-231] 'Address does not exist' error for existing addresses.

https://issues.serokell.io/issue/CSE-231
Uncomment the necessary lines in the test, run the test, and see how it fails.
Before:
http://localhost:8100/api/addresses/summary/DdzFFzCqrhsqU7rLVY4rjYgmHidTDLLfNpLDQk85QwCBu8WQW8Snpmq4rEmeZ2ze96WzBrLEt8FjTWU4f7cG7bsymDrpfKpDC5Jknpda
{"Left":"Address length is not equal to 32, can't be redeeming pk"}
After:
http://localhost:8100/api/addresses/summary/DdzFFzCqrhsqU7rLVY4rjYgmHidTDLLfNpLDQk85QwCBu8WQW8Snpmq4rEmeZ2ze96WzBrLEt8FjTWU4f7cG7bsymDrpfKpDC5Jknpda
{"Right":{"caAddress":"DdzFFzCqrhsqU7rLVY4rjYgmHidTDLLfNpLDQk85QwCBu8WQW8Snpmq4rEmeZ2ze96WzBrLEt8FjTWU4f7cG7bsymDrpfKpDC5Jknpda","caType":"CPubKeyAddress","caTxNum":2,"caBalance":{"getCoin":"0"},"caTxList":[{"ctbId":"ac439284933ba4a2bc81e5e8995c4a0c0a39256884d905e74ffcdf7ba9b257e7","ctbTimeIssued":1506329611,"ctbInputs":[["DdzFFzCqrhsqU7rLVY4rjYgmHidTDLLfNpLDQk85QwCBu8WQW8Snpmq4rEmeZ2ze96WzBrLEt8FjTWU4f7cG7bsymDrpfKpDC5Jknpda",{"getCoin":"1000000"}]],"ctbOutputs":[["DdzFFzCqrhsgHx6CUkwaLwABsZLtFZpuQsTbXpMkinerzLPCX9aNdpTVvj4P7uEmytxD8wW34y1A3f7awj1vGQMU3dBjv56619WXLjCo",{"getCoin":"329106"}],["DdzFFzCqrhsuXWViKNnvsC5NdWhT4NEw5FeDtzdm9WbzzDTTTrFSjRAPhiPhE258dt7hfHmQAHo6PNEkfzXZ7ZrF4WAiLYqPCmgUrc5G",{"getCoin":"500000"}]],"ctbInputSum":{"getCoin":"1000000"},"ctbOutputSum":{"getCoin":"829106"}},{"ctbId":"dbc87d198fc9f6067c8e65f89da60a944e1ef52f0c539d980ebbc95f3dc71b65","ctbTimeIssued":1506329391,"ctbInputs":[["Ae2tdPwUPEZ8fbeSrt7u4SfYF3GDCMBmqX4KaKygHjjcm8AjJH4R9Nbpp6u",{"getCoin":"1000000"}]],"ctbOutputs":[["DdzFFzCqrhsqU7rLVY4rjYgmHidTDLLfNpLDQk85QwCBu8WQW8Snpmq4rEmeZ2ze96WzBrLEt8FjTWU4f7cG7bsymDrpfKpDC5Jknpda",{"getCoin":"1000000"}]],"ctbInputSum":{"getCoin":"1000000"},"ctbOutputSum":{"getCoin":"1000000"}}]}}
Also you can run the mainnet and try it there.

@Pastafarianist, please note that this PR is identical to this one - https://github.com/input-output-hk/cardano-sl/pull/1646 and that one contains much more information.
Specifically, I think this is what you are after - https://github.com/input-output-hk/cardano-sl/pull/1646#issuecomment-332177456

@ksaric, basically your changes undo https://issues.serokell.io/issue/CSE-161. AFAIK that't not OK. @akegalj could you confirm that we still want to support searching for RSCoin addresses?
Apparently the problem is caused by the fact that currently Cardano addresses are serialized in such way that they can be decoded as base64.
@gromakovsky or @volhovm, could you say whether

Cardano addresses can be deserialized with a base64 decoder
it is guaranteed that they will never deserialize to a 32-byte value?

If (2) is true, then we can add a quick hack to preserve the ability to search for RSCoin addresses by checking whether the address can be decoded to a 32-byte value via base64. If it can, then it is definitely an RSCoin address; otherwise, it's a Cardano address.
If (2) is false, then we should introduce some modifications to Explorer — specifically, if the address deserializes to a 32-byte value, we should check whether the DB contains information on 1) this deserialization 2) the result of a call to fromCAddress on the original value. This is more difficult to implement quickly, and should probably be done post-launch.

@ksaric we have to have these changes that you made in 1.0 . You should probably cherry pick these last few commits to https://github.com/input-output-hk/cardano-sl/pull/1664


MPI environment variables are not set

System Info
HPC ubuntu 22.04 2nodesx8H100
LSF as scheduler
[tool.poetry.dependencies]
python = "^3.10"
importlib-metadata = { version = "~=1.0", python = "<3.8" }
tensorboard = "^2.16.2"
sge-data-package = {version = "", source = "sgedata"}
torch = "2.2.1"
torchvision = "0.17.1"
torchaudio = "2.2.1"
transformers = "4.42.0"
datasets = "2.18."
accelerate = "0.28.0"
deepspeed = "0.13.4"
safetensors = "0.4.2"
mpi4py = "^4.0.0"

module load cuda-12.1.1
module load ISG/experimental/fg12/openmpi/5.0.4-cuda12.1-lsf
export LD_LIBRARY_PATH=$CUDA_HOME/lib64:$LD_LIBRARY_PATH

deepspeed \
    --hostfile=${HOSTFILE_PATH} \
    --launcher=OPENMPI \
    --launcher_args="-bind-to none -map-by slot --mca pml ob1 --oversubscribe --display-allocation --display-map" \
    --master_addr=${MASTER_ADDR} \
    --master_port=${_M_PORT} \
    --no_ssh_check \
    src/dna_mlm/runner.py

def setup_env_ranks() -> tp.Tuple[int, int, int]:

    # Map MPI environment variables to those expected by DeepSpeed/PyTorch
    if 'OMPI_COMM_WORLD_LOCAL_RANK' in os.environ:
        os.environ['LOCAL_RANK'] = os.environ['OMPI_COMM_WORLD_LOCAL_RANK']
        os.environ['RANK'] = os.environ['OMPI_COMM_WORLD_RANK']
        os.environ['WORLD_SIZE'] = os.environ['OMPI_COMM_WORLD_SIZE']
    else:
        raise EnvironmentError(
            "MPI environment variables are not set. "
            "Ensure you are running the script with an MPI-compatible launcher."
        )

 setup_env_ranks()

the function should set the env vars but instaed it raises the error

I found the error
deepspeed \
    --hostfile ${HOSTFILE_PATH} \
    --launcher "OPENMPI" \ #openmpi should have been between ""
    --launcher_args "-bind-to none -map-by slot --allow-run-as-root --mca pml ob1 --oversubscribe --display-allocation --display-map" \
    --master_addr ${MASTER_ADDR} \
    --master_port ${_M_PORT} \
    --no_ssh_check \
    src/runner.py

the real question is why I need to setup
    if 'OMPI_COMM_WORLD_LOCAL_RANK' in os.environ:
        os.environ['LOCAL_RANK'] = os.environ['OMPI_COMM_WORLD_LOCAL_RANK']
        os.environ['RANK'] = os.environ['OMPI_COMM_WORLD_RANK']
        os.environ['WORLD_SIZE'] = os.environ['OMPI_COMM_WORLD_SIZE']
    else:
        raise EnvironmentError(
            "MPI environment variables are not set. "
            "Ensure you are running the script with an MPI-compatible launcher."
        )


update proptype and null-check in GitterRoomList component

This PR resolves #99
Added the correct prop-types and null-check to the component GitterRoomList.
Handle empty title prop

Add correct PropTypes

Could you please review this? @wdevon99 @charithccmc


Add clock_times and clock_values to stream dictionary

"Clock offsets" are a feature defined in the XDF specification, detailed here. However, they are not directly accessible when loading XDF contents with pyxdf. These offsets are being used to synchronize clocks within the function _clock_sync, as seen here. Unfortunately, the original values used in these functions are not exposed outside of pyxdf, making it impossible to retrieve them.
When utilizing LabRecorder, these values are conveniently accessible within the footer, under "info" > "clock_offsets". This accessibility is due to LabRecorder internally storing the original clock offset data, which is then included in the footer. The process of writing the offset data into the specified chunk in the XDF spec can be found here. Notably, the offset data is stored in a vector and later retrieved to populate the footer, as shown here.
The redundancy in storing and retrieving offset data appears unnecessary. Hence, I propose exposing the original offset values via the stream dictionary returned by pyxdf. This becomes particularly relevant for us, given that we've developed our own recording software in line with XDF specifications, rather than relying on LabRecorder. Despite this, we're eager to access offset data through pyxdf without resorting to redundant duplication in the footer.

No objections, could you please add a changelog entry?

No objections, could you please add a changelog entry?

Done.

Thanks @expensne!


Ingest property config policies for Edge Workers

We need to ingest Edge Worker policies as part of Policy Config ingest.

#32

Closed by this PR: https://github.com/nodestream-proj/nodestream-plugin-akamai/pull/32


Fixed erroneous double encoding in URLs

Effectively rolls back #171.
URL encoding is the responsibility of the developer / application, not needle.
Consider this example:
needle.get('foo.app/accounts?email=' + encodeURIComponent('foo@example.com'), (err, res) => ... );

You'd actually end up sending a doubly-encoded URL.
Also included in this PR:

URL encoding should be handled by the application.
Added supporting unit test
Fixed missing var declaration in test/helpers.js
Added callbacks to before/after in test/url_spec.js
Added note about running unit test environments

Merged and published as 1.1.2. Thanks @kfitzgerald !

@tomas Thank you! Much appreciated 👍


Spelling error in contributions page

Hey Matthew,
I don't want to be an A.H., but I've noticed a spelling error in your contributions page. The image of the error is attached to this issue.

Hey Julius, I just saw this, thank you for point it out! Fixed it!


Handle no filename in multipart

https://github.com/expressjs/multer/issues/553
@obukspan

We will likely need to tag a version here once this is merged


added 2 libraries necessary to run connector in requirements.txt

Can u please check why some linting checks are failing.

yes I am working on it. These linting workflows were added today only that's why before we didn't get any.


$validate when using async validation

vue & vue-validator version
1.0.24, 2.1.3
Steps to reproduce

A form validation
A field with aysnc validation
A button to save the form
The save function looks like:function save() {
  this.$validate(true);
  if (this.$validation.valid) {
    // do save
  }
}

Click the save button

What is Expected?
Can't save the form because there is a field that is invalid.
What is actually happening?
Success post the save data because the invalid field needs async validate, when click the save button, the async result not returned.
JSFiddle
A demo here
https://jsfiddle.net/k0h3m8aq/1/
Typed something, blur, then type unique, click save button quickly, nothing. Wait for a while, click button, the alert shows.
My puzzle
The $validate returns undefined, so it's sync, this makes the question. Can it return a promise so I can submit the form after resolve?
Or? There is no need to do unique validation in this case? Do it in backend?

In current version, The $validate don't  return the promise. However, You can use the cb argument.
See the document.
http://vuejs.github.io/vue-validator/en/api.html#validate-field-touched-cb-
(sorry, bad sample ...)
the below demo (fork the your demo and updated):
https://jsfiddle.net/kazupon/7pxyayqj/2/

Ok, got it. The cb did the same. I didn't see this argument before....


TEST PR for CI

Temporary fix for the CI jobs. For some strange reason, DockerHub
latest build is not working for CI connections. This is a temporary
patch to allow them to run correctly while we look into the issue.

You have to change for pull event as well.


Can I get timestamp info by GPU inference?

I found timestamp info from here . But it's only for cpu. Is it possible to get timestamp from GPU inference? For example by using your docker server

@yuekaizhang is it possible?

@yuekaizhang is it possible?

Yes, it's possible to add timestamp. Currently gpu inference using this ctc_decoder, which needs to modify to add timestamps. Or we could replace it with https://pytorch.org/audio/main/models.decoder.html, which has already supported timestamps.
I could implement it next week.
@Mddct would wenet python bindings give an python API for ctc_prefix_beam_search?

@yuekaizhang is it possible?

Yes, it's possible to add timestamp. Currently gpu inference using this ctc_decoder, which needs to modify to add timestamps. Or we could replace it with https://pytorch.org/audio/main/models.decoder.html, which has already supported timestamps.
I could implement it next week.
@Mddct would wenet python bindings give an python API for ctc_prefix_beam_search?

python bindung  is for the convenience of using wenet。If we can binding wenet ctc prefix search in other repo to replace ctcdecoder？I've implemented a statedledd binding before which maybe helpful
https://github.com/Mddct/losses/blob/main/src/ctc_decoder.h

@yuekaizhang Plz note this issue: https://github.com/parlance/ctcdecode/issues/148

seems solved， close this issue


Add Spotify Media via URL not possible - Validation error

It is no longer possible to add Spotify content via Spotify URL.
The message appears: URL is invalid or No internet connection
Notes:
Adding via Spotify Search Syntax works.
Adding an ID manually via data.json also works without any problems.
Play spotify Songs works (so no connection error)
Currently tested version: DEV 2024-10-18

Same issue here with DEV 2024-11-01. Thanks for the workarounds @calibrationcube !

In my case this happens because it tries to connect to http://mupibox:5005/validate  (even if I set ip_control_backend to true)
For some reason that doesn't work here. I'm not sure whether it's an issue with my network setup or whether the spotify service doesn't listen on the hostname. I changed my mupibox host from mupibox to just the ip address of the raspberry, and now it's working fine again.

Can confirm, that setting the Hostname to IP also works for me!
-> Since IP = Hostname no validation error


Fix bug: Prevent crash when regions array is empty due to invalid country

When country code is undefined, regions array is an empty array rather than falsey. Add checker for zero length array to throw console.error

Thanks @n-david! I didn't get time to look at this this weekend, but I will this week.

Thanks for the handy library @benkeen


typescript types problem, broken es6 import, implicitly has an 'any' type

webpack 4.29.1
ts-loader 5.3.3
typescript 3.3.1
choices.js 6.0.1
I can't import choices.js by "import" command:
import Choices from 'choices.js';

Error:
TS2307: Cannot find module 'choices.js'

And this doesn't work:
import Choices from '../../node_modules/choices.js/public/assets/scripts/choices.js';

Error:
TS7016: Could not find a declaration file for module '../../node_modules/choices.j
s/public/assets/scripts/choices.js'. '/project/node_modules/choices.js/public/assets/scr
ipts/choices.js' implicitly has an 'any' type.

And this too:
/// <reference path="../../node_modules/choices.js/types/index.d.ts" />
import Choices from '../../node_modules/choices.js/public/assets/scripts/choices.js';

Error:
TS7016: Could not find a declaration file for module '../../node_modules/choices.j
s/public/assets/scripts/choices.js'. '/project/node_modules/choices.js/public/assets/scr
ipts/choices.js' implicitly has an 'any' type.

ES6 import works only if i change noImplicitAny from true to false in tsconfig.json and use absolute path to js file in this library in my .ts file:
import * as Choices from '../../node_modules/choices.js/public/assets/scripts/choices.js';

or use commonJS import with simple package name:
const Choices = require(choices.js);
I haven't this problem with other packages like a loadash. It imported without any problems:
yarn add -D lodash @types/lodash
import lodash from 'lodash';

My version there is a problem with types...

Choices.js doesn't support es6 import in typescript now?

Setting "strict" to false on tsconfig.json can help as well.


Issue: Error in LangChainTracerV1.on_chain_end callback: Unknown run type:

I am trying to trace my LangChain runs by using LangChain Tracing Native Support on my local host, I created a session named agent_workflow and tried to receive the runs on it but it didn't work.
The problem is that whenever I run the RetrievalQA chain it gives me the following error:
Error in LangChainTracerV1.on_chain_end callback: Unknown run type: retriever
This is the code snippet specifying the problem:
os.environ["LANGCHAIN_TRACING"] = "true"
os.environ["LANGCHAIN_SESSION"] = "agent_workflow"
embed = OpenAIEmbeddings(
    model=self.embedding_model_name
)

vectorStore = Chroma.from_documents(texts,embed)

 def retrieval(self,question):

      qa = RetrievalQA.from_chain_type(
          llm,
          chain_type="stuff",
          retriever= vectorStore.as_retriever(k=1),
          verbose=True,
          chain_type_kwargs={
              "verbose":True,
              "prompt":prompt,
              "memory": memory,
          }
      )

      with get_openai_callback() as cb:
             response = qa.run({"query":question})

      return qa.run({"query":question})

How can I solve this? I saw a tutorial where it worked with initialized_agent instead of RetrievalQA but don't know whether this is the case or not.

@dosu-bot
I tried your solution and changed the _on_chain_end function in the source code as you told me but the same error exactly existed, which was: Error in LangChainTracerV1.on_chain_end callback: Unknown run type: retriever
Think about the problem step by step as why this is happening and how to avoid it, then provide the solution

Not exactly sure why this is the case, and i'm pivoting to another solution so won't be looking into this any further at the moment, but I run into the same error when executing my chain(s) via a python script in the terminal but it seems to work when I execute the code in a jupyter notebook.


How should localhost be fully setup?

I downloaded the project into localhost and applied the following codes in order:

Copy server / config / config.example.js to server / config / config.js
Copy app / public / config / config.example.js to app / public / config / config.js
cd app
npm install
npm run build
cd ..
cd server
npm install

and I could not run the project. How should the project be setup?

Regarding your points 1 and 2, please read the manual installation part of the readme.

@jhonforde So sorry, but please share more info.
We can't help without a very detailed description of the error you experience.. :(

@misi facing the same issue. Regarding the "Edit your two config.js with appropriate settings (listening IP/port, logging options, valid TLS certificate, don't forget ip setting in last section in server config: (webRtcTransport), etc)."
What exactly can i edit to make it work?


Created for level: 77558400

reject
its bad


Material Design: Tabs

From @eseidelGoogle on June 8, 2015 21:8
Our next demo will need a Material Design Tab:
http://www.google.com/design/spec/components/tabs.html
The Android ones appear to go off-screen, even for small numbers of tabs.  Unclear which tab-spacing we'll want to implement.
Copied from original issue: domokit/mojo#223

From @HansMuller on June 30, 2015 14:33
As of https://codereview.chromium.org/1212993003, basic support for not-scrollable tabs is in. There's a
simple demo in sky/sdk/example/widgets/tabs.dart.
Support for scrollable tabs is next. And then support for animating selected tab transitions.

From @eseidelGoogle on June 29, 2015 21:5
I heard mention in the standup that tab navigation worked?

We now have tabs.


Usability of title/URL matchers

Tab Modifier version
 0.19.3
I just installed this plugin today for the first time. It took me awhile to figure out how to use the title/URL matchers. At first, I didn't even notice the the regular expression input areas because they were "below the fold".  Even then, I didn't recognize them as places where I could type something because I had interpreted the grey strings "Title matcher" and "URL matcher" as static text titles for the snippets of help below.  For URL matching (which I tried at first), I'd presumed that capture groups defined in the "URL Fragment" regex (if selected vs. contains, etc.) would be the ones I'd have access to with $1, etc.
Suggestions:

The vertical flow of the page doesn't match my mental model.  Putting the "Title matcher" and "URL matcher" inputs above the "Title constructor" makes more sense to me because those values, if defined are used when constructing a title.

Some text inputs (like "Name") have example input in the text area in addition to a title.  This made it clear to me that I had the option of typing something there.  However, the "Title matcher" and "URL matcher" inputs aren't this way.  An example would have helped me to identify them as places where I could type something

I think the above two changes would have alleviated my confusion about using capture groups from the URL fragment.

Hi @shabino,
Thanks for your feedback.
I'm aware that the form is now hard to understand for a new user. Features came quickly.
The Options page needs a total rework, with a new UX (especially for the form as you described) but maybe with a new UI. Angular Material doesn't allow me to be really free about the UX, there are many limitations because of poor components.
No EAT available for a fresh Options page.
Bests

A little off-topic, but what is "EAT" in that sentence.  I have a feeling I'm missing a meme... ;-)

@42degrees It's a typo, I would say "ETA" for "Estimated Time of Arrival". :)

Well, that makes more sense ;-)


Internal Admin takeover link throws error

The link to the Internal Admin takeover https://portal.office.com/adminportal/Home is wrong I think, I think it should be https://portal.office.com/admintakeover

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

ID: cd934d58-08f8-a3ca-2686-0006b0b8f74a
Version Independent ID: 84d9cab3-09b7-95ba-83ea-435ca0ccbb47
Content: Administrator takeover of an unmanaged directory or shadow tenant in Azure Active Directory
Content Source: articles/active-directory/users-groups-roles/domains-admin-takeover.md
Service: active-directory
GitHub Login: @curtand
Microsoft Alias: curtand

@colinrippeyfinarne
Thanks for your feedback! We will investigate and update as appropriate.

@colinrippeyfinarne what do you see when you go to that link?

@colinrippeyfinarne The link is correct and if you are getting an access denied error then you need to be a Global Admin to access the admin portal.

@colinrippeyfinarne The link is correct and if you are getting an access denied error then you need to be a Global Admin to access the admin portal.

Okay...but the point of this section of the docs is that the viral tenant has only just been created and the next set of steps is to take over as the admin of the tenant - so If I need to be a global tenant admin before I can takeover the tenant, how do I do that?

Hi @MarileeTurscak-MSFT
Let me go through the steps I have followed.

From a tenant I own (let's call that mytenantalreadyonazuread) I have sent an Azure B2B Guest invitation to<EMAIL_ADDRESS>The<EMAIL_ADDRESS>user checks their email inbox and sees the guest invitation email, they go through the steps to accept the guest invitation (and in the process they are creating the first account in the Azure AD viral tenant smallcompanynotonazureadyetcom.onmicrosoft.com).
All is good, the<EMAIL_ADDRESS>user can now browse to https://account.activedirectory.windowsazure.com and they will be able to see two organisations that they are a member of: mytenantalreadyonazuread and smallcompanynotonazureadyet
The user<EMAIL_ADDRESS>would now like to take over the viral tenant created at step 2, so they use this article and they browse to the link https://portal.office.com/adminportal/Home and they see the following error details:

If the user<EMAIL_ADDRESS>browses to https://portal.office.com/admintakeover they see the following:

So to me the experience is if I want to takeover the viral tenant I should browse to the https://portal.office.com/admintakeover url and NOT the https://portal.office.com/adminportal/Home url.
Worth noting, at step 4, when browsing to https://portal.office.com/adminportal/Home and being presented with the error screen, i can then go to the waffle menu, choose the Admin link, and this actually takes me to the https://portal.office.com/admintakeover url!

This was the clue to me that I should browse to the https://portal.office.com/admintakeover url.

@colinrippeyfinarne Ok, I get your point and I have assigned this issue to content author to investigate and update the document as appropriate.
@curtand  Can you please help here.

https://github.com/MicrosoftDocs/azure-docs-pr/pull/61030
Hi @colinrippeyfinarne
I'm getting this reviewed.

It's very likely this won't be published until I return from vacation 1/7.


simplify maintenance of pinout docs via  "dynamic views" feature resolved

The main document for pinouts is the YAML definition, but often multiple iterations are required to create a fully correct definition.
At the same time certain subsets of the definition "views" are required in docs to illustrate facts like grouping of all pins used for "power" or "ignition".
Currently  these views have to be created manually via a copy & paste process.
Unfortunately later changes in YAML need to be applied to these "disconnected copies" too.
There is a high risk of failure because original author(s) and maintainer(s) are frequently different persons.
This risk could be avoided by defining a "dynamic view" as a kind of query for the YAML definition that gets resolved into a static markdown text at time of document build/lint.

https://mdxjs.com/docs/extending-mdx/ could be an approach to implement this feature

I think I understand now, but this is not within the scope of this tool.
This tool generates interactive pinouts with HTML/CSS/JS, not markdown files.

HTML can be embedded into
Would the pick operator be the mechanism to select the required fields?

Maybe; try it and find out.


Consider using response headers & data padding

https://tools.ietf.org/html/rfc7540#section-6.1
"   DATA frames MAY also contain padding.  Padding can be added to DATA
frames to obscure the size of messages.  Padding is a security
feature; see Section 10.7."
"The HEADERS frame can include padding. "
https://tools.ietf.org/html/rfc7540#section-10.7
"   Padding can be used to obscure the exact size of frame content and is
provided to mitigate specific attacks within HTTP, for example,
attacks where compressed content includes both attacker-controlled
plaintext and secret data (e.g., [BREACH])."
@blowdart

Do we have any evidence that other production web servers use these features? Last I checked with our crypto team they were really hesitant to recommend going this route since this area has been fraught with peril for years. But I can spin up the conversation with them again if there's compelling justification to add this feature.

The only reference I can find for Apache is that padding was out of scope as recently as Jan. https://hc.apache.org/news.html
I couldn't find any references for nginx.

Backlogging this based on the comments.


Creation date storing for claibration data

Add a creation_date entry to the calibration/correction entries in the config, and also add this to the meta data upon application of these corrections/calibrations, to track which calibration/correction has been applied.

I missed this issue, looks like a very good idea!


KAFKA-15853: Refactor org.apache.kafka.server.config.Defaults to follow Java config pattern

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@ijuma, @mimaison  can one of you have a look into this pr? This is related to @ijuma comment here https://github.com/apache/kafka/pull/15158#pullrequestreview-1836760668

okay we can leave this one as the last pr to merge them together

Am going to close this as we already started to move defaults out of Default and into the scoped config classes.


[Bug] NetUtils should ignore the local link address

Pre-check

[X] I am sure that all the content I provide is in English.

Search before asking

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

Apache Dubbo Component
Java SDK (apache/dubbo)
Dubbo Version
Any
Steps to reproduce this issue
In the K8S scenario, some applications may have two NICs, eth0 and veth0, and eth0 is configured with a real physical address. veth0 is configured with a local link address, which may randomly select the local link address to veth0, resulting in unavailability of the service.
When I look at the netUtils code, I see that netutils only ignores the lookback address, not the local link address.
https://github.com/mercyblitz/dubbo/blob/d8a4acd13c8270bdefe38f8b109dee457ee15593/dubbo-common/src/main/java/org/apache/dubbo/common/utils/NetUtils.java#L148
What you expected to happen
NetUtils should ignore the local link address
Anything else
No response
Are you willing to submit a pull request to fix on your own?

[X] Yes I am willing to submit a pull request on my own!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

You can submit a pr to try and fix the issue.

I've opened https://github.com/apache/dubbo/pull/14793 to fix this, please take a review in your free time, thanks!

maybe this solution will solve your problem click


WIP: OSS Survey Results article

Going to finally finish this thing, damnit.

Bummer -- looks like the iFrames are going to cause an issue, at least on Firefox. It annoyingly scrolls to them when loaded.
Might need to turn into links instead.


[SPARK-32180][FOLLOWUP] Fix .rst error in new Pyspark installation guide

This simply fixes an .rst generation error in https://github.com/apache/spark/pull/29640

Test build #128584 has started for PR 29735 at commit 4721d29.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/33209/
Test PASSed.

Test build #128584 has finished for PR 29735 at commit 4721d29.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128584/
Test PASSed.

Thanks! merging to master.


WebSocket connection to 'wss://ws.pusherapp.com/..............' failed: Proxy authentication failed

I got this problem when I try invite or join someone :
I tried with pusher, hipchat, and slack.
WebSocket connection to 'wss://ws.pusherapp.com/app/blablabla?protocol=7&client=js&version=2.2.3&flash=false' failed: Proxy authentication failed
I think the reason is because we have internet access behind a proxy, I'm sure of this because when I tested on a computer over wifi not behind a proxy, it worked fine.
I already got around proxy problems for atom itself to install packages by editing the .apmrc file, but this doesn't seem to fix it for atom-pair.
If this can't work, is there a local network solution ?
This was on
Atom: 1.18.0 x64
Electron: 1.6.9
OS: Microsoft Windows 7 Professional
Thrown From: atom-pair package 2.0.12

Could you please go to http://test.pusher.com/?env=mt1&version=2.2.3 and tell me if you see the same issue there?

Seems to work fine, I guess maybe because my browser already has the proxy settings setup ?
Here's the event log :
12:01:10 debug Pusher : No callbacks on presence-channel for pusher:subscription_succeeded 12:01:10 debug Pusher : Event recd : {"event":"pusher_internal:subscription_succeeded","data":{"presence":{"count":3,"ids":["33","794","920"],"hash":{"33":null,"794":null,"920":null}}},"channel":"presence-channel"} 12:01:10 debug Pusher : Event sent : {"event":"pusher:subscribe","data":{"auth":"a0173cd5499b34d93109:779cb7f2e5d0653a3e7ace8c8190547509927228494412b0faac517280dd29bd","channel_data":"{\"user_id\":920}","channel":"presence-channel"}} 12:01:10 status connected 12:01:10 debug Pusher : State changed : connecting -> connected 12:01:09 debug Pusher : Connecting : {"transport":"wss","url":"wss://ws-mt1.pusher.com:443/app/a0173cd5499b34d93109?protocol=7&client=js&version=2.2.3&flash=false"} 12:01:07 debug session id: 191662519 12:01:07 debug Pusher : Connecting : {"transport":"ws","url":"ws://ws-mt1.pusher.com:80/app/a0173cd5499b34d93109?protocol=7&client=js&version=2.2.3&flash=false"} 12:01:07 debug Pusher : State changed : initialized -> connecting

Could you try updating to the latest version of atom-pair (I just published) and trying again? If it still doesn't work I think this is something that will require more investigation

I also have the same issue

I have the same issue.

Same issue here

Anyone figure out a solution?


[Business] Home page Cards Layout for Categories

https://www.macquarie.com.au/help/business.html

This requires a confirmation from customer if this needs to same as other tabs layouts as well, will discuss this in next week's call