[Snyk] Upgrade @msgpack/msgpack from 2.6.0 to 2.8.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @msgpack/msgpack from 2.6.0 to 2.8.0.

:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 7 versions ahead of your current version.
The recommended version was released a month ago, on 2022-09-02.

Release notes

Package name: @msgpack/msgpack

2.8.0 - 2022-09-02What's Changed

[CI] set security-events: write for CodeQL workflow by @ gfx in #203
[ci] update workflow settings by @ gfx in #204
[ci] add nodejs v18 to the matrix by @ gfx in #206
add deno-with-jsdeliver as an example deno script by @ gfx in #207
use codeql actions @ v2 by @ gfx in #208
[doc] clarify the edge cases where the input buffer is empty by @ gfx in #209
fix #212; Let Encoder#encode() return a copy of the internal buffer by @ gfx in #213

Full Changelog: v2.7.2...v2.8.0

2.7.2 - 2022-02-08What's Changed

update dependencies including TypeScript 4.5 by @ gfx in #196
add nodejs v17 to CI scenarios by @ gfx in #197
Handle the case where process.env does not exists (but process exists) by @ gfx in #200

Full Changelog: v2.7.1...v2.7.2

2.7.1 - 2021-09-01What's Changed

Update README.md by @ hbre in #179
Setup cache in workflow and update Dependencies  by @ mmorel-35 in #186
upgrade typescript to 4.4 by @ gfx in #190

New Contributors

@ hbre made their first contribution in #179
@ mmorel-35 made their first contribution in #186

Full Changelog: v2.7.0...v2.7.1

2.7.0 - 2021-05-20What's Changed

Introduce Fuzzing with jsFuzz and fix issues found by fuzzing by @ gfx in #176

Full Changelog: v2.6.3...v2.7.0

2.6.3 - 2021-05-042.6.3

2.6.2 - 2021-05-042.6.2

2.6.1 - 2021-05-042.6.1

2.6.0 - 2021-04-212.6.0

    from @msgpack/msgpack GitHub release notes

Commit messages

Package name: @msgpack/msgpack

667539b fix a compilation error
dfdcc10 2.8.0
aa346fa changelog for 2.8.0
da998c6 Merge pull request #213 from msgpack/gfx/fix-212
f1b3f84 update CI environments
6789208 do not ask for install the jsfuzz script in test:jsfuzz
9050c93 fix #212
9b4123a update dependencies
eff7857 update benchmark results
60e0121 doc
44dcb7b bench: always use Buffer for JSON stuff
a804e13 tweaks
2b66bb7 clarify decodeMulti*() can decode empty inputs
32654ee Merge pull request #209 from msgpack/clarify_empty_input
81bf88b Merge pull request #208 from msgpack/codeql-v2
bebb16b clarify the edge cases where the input buffer is empty
29a6975 use codeql actions @ v2
b17287d Merge pull request #207 from msgpack/deno-with-jsdeliver
446bc29 add deno-with-jsdeliver as an example deno script
1ae2ba3 update dependencies
1f101f4 Merge pull request #206 from msgpack/node-18
3bf5faf add nodejs v18 to the matrix
bb7b9d8 update dependencies
dde2b5b fix a typo

Compare

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

Automatically closed by Warrick FitzGerald while cleaning up old PRs


Project is dead?

last commit  Oct 29, 2015

Hey @kivarun -- yeah, I changed jobs and haven't worked with a Swift cluster for the last couple of years.
You're welcome to take over the maintenance if you like.


Setup yaml files for Github Actions

As a developer
I need to create the required .yaml files in the .github/workflows/ directory
So that we define the workflow to run by GitHub Actions for each pull request/push to master.
Assumptions

GitHub Action workflow is created
Knowledge to create a workflow using different .yaml files
Required files: ci.yaml and cd.yaml

Acceptance Criteria
Given the .yaml files are setup
When Github Actions runs it automated CI/CD builds
Then the configuration of the builds are as per the specifications contained in the .yaml files

@TestSubjector @mm12063
I'm confused, i think this problem is duplicate of #58
could you confirm me ?

Issue #58 is the CI part of this story. The CD part is still left. That is we need to add a pipeline to deploy the service to the IBM Cloud automatically. Then it should run our TDD unit tests and then the BDD integration tests (not written yet)..
We can close this issue (as a dup) and then make new story for the CD part.


Sending email with SSL/TLS does not work

Hello,
After several attempts, I couldn't configure the emails to receive them correctly with a common SMTP configuration with SSL on.
Steps to reproduce.

pip install cookiecutter
cookiecutter https://github.com/whythawk/full-stack-fastapi-postgresql
Add a SMTP configuration (==> add SMTP_TLS=True in .env by default)
docker-compose up
Try to send a magic link or a reset password email.
=> Nothing happen.

After few research, I find out that the configuration inside backend (utilities) is not correct.
See python-emails documentation here: https://python-emails.readthedocs.io/en/latest/
Must replace tls by ssl inside the file.
Do you see a better idea?

@raouldo I'll raise this to a cookiecutter setting and include in the mail utilities. That way you get some flexibility depending on the mail server you're using. My test was fine with them as is, but obviously this isn't ubiquitous.

@raouldo OK, updated. I note that python-emails also supports DKIM signatures. That something I should include, or adding yet another layer of complexity too far?


started working on a sphinx-based documentation

Coverage decreased (-0.2%) to 61.461% when pulling d5e6553ab48393509f92522946faf22544834a63 on cknowledge:master into c41476a7a2309337346a5ea6370b462ec38f2505 on ctuning:master.


Using "withValidation" it stops insertion if any validation error occurs. I want it just ignore this validation and jumps to the next iteration

Prerequisites
Versions

PHP version:
Laravel version:
Package version:

Description

Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

My code
controller function:
`public function import(Request $request)
{
try {
Excel::import(new UsersImport,request()->file('sheet_to_upload'));
        return redirect()->back()->with('success', 'Users Created Successfully!');
    } catch (\Maatwebsite\Excel\Validators\ValidationException $e) {
        $import = new UsersImport();
        $import->import(request()->file('sheet_to_upload'));

        foreach ($import->failures() as $failure) {
             $failure->row(); // row that went wrong
             $failure->attribute(); // either heading key (if using heading row concern) or column index
             $failure->errors(); // Actual error messages from Laravel validator
             $failure->values(); // The values of the row that has failed.
        }
    }
}`

Import class:
`class UsersImport implements ToModel, WithValidation,WithHeadingRow
{
use Importable;
public function model(array $row)
{
        $subscription = SubscriptionTypes::select('id')->where('name',$row['subscription_plan'])->first();
        $client_type = ClientTypes::select('id')->where('name',$row['user_type'])->first();

        if($subscription != null && $client_type != null){
            $user = Users::create([
                'is_admin'              => 0,
                'client_type_id'        => $client_type->id,
                'subscription_id'       => $subscription->id,
                'user_name'             => $row['user_name'],
                'email'                 => $row['user_e_mail'],
                'is_blocked'            => 0,
                'password'              => Hash::make($row['password']),
                'first_name'            => $row['user_first_name'],
                'last_name'             => $row['user_last_name'],
                'phone'                 => $row['phone'],
                'notes'                 => $row['notes_for_internal_use'],
                'created_by'            => Auth::user()->id,
                'updated_by'            => Auth::user()->id,
                'created_at'            => '',
                'updated_at'            => '',
                'license'               => $row['licenseorganization'],
                'owg_invoice'           => $row['owg_invoice'],
                'self_notification'     => $row['multi_site_initiative'] == 'Yes' ? 1 : 0,
                'is_group_admin'        => 0,
                'renewal_notification'  => 0

            ]);

            $country = Countries::select('id')->where('name',$row['country'])->first();
            if($country != null){
                Addresses::create([
                    'user_id'           => $user->id,
                    'country'           => $country->name,
                    'city'              => $row['city'],
                    'state'             => $row['state'],
                    'street'            => $row['street_address'],
                    'zip'               => $row['zipcode'],
                    'organization_name' => $row['schoolcenterorg_name']

                ]);
            }

            GroupAdmins::create([
                'first_name'   => $row['admincooridnator_first_name'],
                'last_name'    => $row['admincooridnator_last_name'],
                'phone_number' => $row['admincooridnator_phone'],
                'email'        => $row['admincooridnator_e_mail_address']
            ]);

            Subscriptions::create([
                'user_id'              => $user->id,
                'subscription_type_id' => $subscription->id
            ]);

            return $user;
        }
}

public function rules(): array
{
    $packages = SubscriptionTypes::pluck('name');
    return [
        '*.license'     => 'numeric',
        '*.user_name'  => 'required|unique:users',
        '*.user_e_mail' => 'required|email|unique:users,email',
        '*.phone' => 'numeric',
        '*.subscription_plan' => Rule::in($packages)
    ];
}

public function customValidationMessages()
{
    return [
        'subscription_plan.in' => 'this subscription plan does not exist',
    ];
}`

See the documentation about skipping failures: https://docs.laravel-excel.com/3.1/imports/validation.html#skipping-failures . You need to add the SkipsOnFailure concern.

@patrickbrouwers  Thanks !!!
Now what if I want to export these validation errors

See the SkipsFailures trait example in on the same page

`    public function onFailure(Failure ...$failures)
{
$this->failures = array_merge($this->failures, $failures);
dd($this->failures);
}`

it only gives me the first row errors

onFailure gets called on each failure. You have to gather them yourself or by using the SkipsFailures trait. Then you can collect them in your controller.

onFailure gets called on each failure. You have to gather them yourself or by using the SkipsFailures trait. Then you can collect them in your controller.

got this. Now want to export this failures array

Refer to the export documentation. It's basic functionality to export an array of rows.

as seen in the picture Ihave only 15 records but whenever I import  this file it gives me 40 rows why?

Most likely because your file has empty rows

onFailure gets called on each failure. You have to gather them yourself or by using the SkipsFailures trait. Then you can collect them in your controller.

got this. Now want to export this failures array

Can i do something like "Excel::download(new UsersExport, 'users.csv',$array)"

What is $array ?

What is $array ?

failures array

Excel::download(new FailuresExport($array), 'failures.csv')

Excel::download(new FailuresExport($array), 'failures.csv')

then how to acces in $array in "FailuresExport".

Excel::download(new FailuresExport($array), 'failures.csv')

then how to acces in $array in "FailuresExport".

got it .  Thanks alot for your help

Why I am getting this

Why I am getting this

Please try with $error->row(). Looks like you're missing the ()

Thanks  @patrickbrouwers  @GlennM  . I have achieved everything what i needed from this package !!!
but only last thing I'm not able to figure out is. on exporting the failure array after import it always gives me extra 40 rows . for example I have only one row in my sheet which I imported "users(1).xlsx
" then in the failures file "failures.xlsx" it gave me errors upto 41 rows.
users (1).xlsx
failures.xlsx

Thanks @patrickbrouwers @GlennM . I have achieved everything what i needed from this package !!!
but only last thing I'm not able to figure out is. on exporting the failure array after import it always gives me extra 40 rows . for example I have only one row in my sheet which I imported "users(1).xlsx
" then in the failures file "failures.xlsx" it gave me errors upto 41 rows.
users (1).xlsx
failures.xlsx

There may be some invisible content into those rows, which causes the rows to be parsed.
Could you try copy/pasting the first 2 rows into a new XLSX file and try again to see what failures are returned?

Thanks @patrickbrouwers @GlennM . I have achieved everything what i needed from this package !!!
but only last thing I'm not able to figure out is. on exporting the failure array after import it always gives me extra 40 rows . for example I have only one row in my sheet which I imported "users(1).xlsx
" then in the failures file "failures.xlsx" it gave me errors upto 41 rows.
users (1).xlsx
failures.xlsx

There may be some invisible content into those rows, which causes the rows to be parsed.
Could you try copy/pasting the first 2 rows into a new XLSX file, use that file and try again to see what failures are returned?

Thanks Alot Its working Now!!!! I think there were some invisible rows.

how to know if the imported file is empty or have no data?

Hi, i've follow all steps on the docs from validation, and I have an error when I make a first-load with validation.
If I comment the validation rules, I can make the import, then if I uncomment the  rules after make the 1st import, I can handle the validation errors.
Now, my problem is, if I left uncommented the validation rules and make a first import on my app, it doesn't work, I can import for first time on my app ONLY commenting the rules, ¿How can I solve this?
I put the "skipsError", 'skipsFailure' etc etc etc and doesn't work.

@Yousaf3339 can you please share your final code for this? It would be awesome for other people that are trying to achieve the same things as you did. Thanks!

@Yousaf3339 can you please share your code with us? It would be very helpful for people that are trying to achieve the same thing as you did. Thanks.

Hi, while importing data using collection and with some custom logic, it is displaying the error messages but it also inserted those records which got validation failures on it. Please look into code below
`<?php
namespace App\Imports;
use App\Colors;
use Illuminate\Support\Facades\DB;
use Throwable;
use Illuminate\Support\Collection;
use Maatwebsite\Excel\Validators\ValidationException;
use Maatwebsite\Excel\Concerns\ToCollection;
use Maatwebsite\Excel\Concerns\WithHeadingRow;
use Maatwebsite\Excel\Validators\Failure;
use Illuminate\Support\Facades\Validator;
use Maatwebsite\Excel\Concerns\Importable;
use Maatwebsite\Excel\Concerns\SkipsErrors;
use Maatwebsite\Excel\Concerns\SkipsFailures;
use Maatwebsite\Excel\Concerns\SkipsOnError;
use Maatwebsite\Excel\Concerns\SkipsOnFailure;
use Maatwebsite\Excel\Concerns\WithValidation;
class ColorsImport implements ToCollection, WithHeadingRow, WithValidation, SkipsOnError, SkipsOnFailure
{
use Importable,SkipsErrors,SkipsFailures;
/**
* @param array $row
*
* @return \Illuminate\Database\Eloquent\Model|null
*/
public function collection (Collection $rows)
{
$rowcounter = 1;
foreach ($rows as $row) {
$rowcounter++;
$this->insertValues($row);
}
}
public function headings(): array
{
    return [
        'id',
        'color'
    ];

}

public function rules(): array
{
    return [
        '*.color'       => 'required|unique:colors,color',
    ];
}

public function onError(\Throwable $e)
{
    $this->failures[] = new Failure(0, '', [ $e->getMessage() ], []);
}

public function insertValues($row) {
    $color = Colors::find((int)$row['id']);
    if ($color) {
        $color->color = trim($row['color']);
    } else {
        $color = Colors::create ([
            'color'     => trim($row['color'])
        ]);
    }

    $color->save();

    return $color;
}

}
`
I want to import data but they must be validated and skip failed rows.
Your little help can save me
Thanks

Hi,
does SkipsFailures trait works with a OnEachRow import?


Embed grafana dashboards

Grafana supports embedding dashboards in other applications. We could think about embedding some of our dashboards in the node details view. I think the Models UI for KFServing uses Grafana for monitoring similarly:
https://www.kubeflow.org/docs/components/kfserving/webapp/

we discussed this internally and decided against embedding Grafana views. Since there are already links to Grafana we don't want to add more complexity to the frontend.


Support php 8.2

Coverage remained the same at 47.297% when pulling 9ca9f8ec6f64ff49b8028d9435c78fc135d2992f on eiriksm-patch-1 into 4fb52f4e8416c842b1dd35dc66f5968966a29bc6 on master.


Overhaul help messages

Replace the bot with Wheatley, it with him, etc. in the help messages, and generally clean them up a bit.

Have you considered they/their as non-gendered singular pronouns?

Yes I have - and I don't think they flow as nicely.  The character after whom Wheatley is named is male, so I figured Wheatley would be too :).


No matching distribution found for opencv-python on ppc64le by pip

Expected behaviour
I want to install opencv-python on ppc64le successfully.
Write here how did you expect the library to function.
tensor2tensor will depend it and fetch its dependency from  /opt/conda/lib/python3.7/site-packages
Actual behaviou
No matching distribution found for opencv-python
Write here what went wrong.
Steps to reproduce
/opt/conda/lib/python3.7/site-packages# pip3 install opencv-python
Collecting opencv-python
Cache entry deserialization failed, entry ignored
Could not find a version that satisfies the requirement opencv-python (from versions: )
No matching distribution found for opencv-python

example code
operating system   ppc64le
architecture (e.g. x86) x64
opencv-python version : python 3.7

Hi, I a newer here, Is there a steps to create the whl on special platform, such as ppc64le.  or other solution to  create the opencv-python package .
Note, I can install the python-opencv by apt-get:
/opt/conda/lib/python3.7/site-packages# ll cv2.cpython-37m-powerpc64le-linux-gnu.so
-rwxrwxr-x 2 root root 6170648 Jul  4  2018 cv2.cpython-37m-powerpc64le-linux-gnu.so*

See my answer to similar question here: https://github.com/skvark/opencv-python/issues/173

@skvark Thanks for your great support, that is works for me.


Zigbee2mqtt group do not go offline when all the devices in group are offline

Description of problem:
I have a number of light group containing Ikea Bulbs . When bulbs go offline when power removed (availability: true) groups winthin home assistant indicate off not Unavailable . When checking groups and dashboard  in Zigbee2mqtt frontend,bulbs are not grayed out and allow changes to be made.
Zigbee2mqtt add-on version (if edge, please report commit hash):
Current version: 1.22.1-1
Running platform (details from Suypervisor > System)
core-2021.11.5
Home Assistant OS 6.6

`

I think this would be best fixed upstream at https://github.com/Koenkk/zigbee2mqtt/issues/9176.


fix(config): path not defined error

This error occurred to me when I tried to run the project

So importing resolve from path module fixed the error

and i think should add devDependencies: @types/node

@Howell5 done

@dan5py


Remove auth

This commit removes authentication for accessing public images. Moreover,
it replaces ghcr.io/restatede/restate-dist with docker.io/restatedev/restate.

Moreover, it replaces ghcr.io/restatede/restate-dist with docker.io/restatedev/restate.

Copy paste mistake?


Badge not rendering in the correct spot

I'm trying to use reCAPTCHA in multiple forms on a page and having the badge only displayed in the bottom right of the page so it doesn't need to be inline within the form.
I currently have the config values set:
<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Default Request Method
    |--------------------------------------------------------------------------
    |
    | If not provided, will use curl as default.
    | Supported: "guzzle", "curl", if you want to use your own request method,
    | please read document.
    |
    */
    'request_method' => 'curl',

    /*
    |--------------------------------------------------------------------------
    | Enable/Disable Service
    |--------------------------------------------------------------------------
    | Type: bool
    |
    | This option is used to disable/enable the service
    |
    | Supported: true, false
    |
    */
    'is_service_enabled' => true,

    /*
    |--------------------------------------------------------------------------
    | Host Name
    |--------------------------------------------------------------------------
    | Type: string
    | Default will be empty, assign value only if you want domain check with Google response
    | Google reCAPTCHA host name, https://www.google.com/recaptcha/admin
    |
    */
    'host_name' => '',

    /*
    |--------------------------------------------------------------------------
    | Secret Key
    |--------------------------------------------------------------------------
    | Type: string
    | Google reCAPTCHA credentials, https://www.google.com/recaptcha/admin
    |
    */
    'secret_key' => env('RECAPTCHA_V3_SECRET_KEY', ''),

    /*
    |--------------------------------------------------------------------------
    | Site Key
    |--------------------------------------------------------------------------
    | Type: string
    | Google reCAPTCHA credentials, https://www.google.com/recaptcha/admin
    |
    */
    'site_key' => env('RECAPTCHA_V3_SITE_KEY', ''),

    /*
    |--------------------------------------------------------------------------
    | Badge Style
    |--------------------------------------------------------------------------
    | Type: boolean
    | Support:
    |  -  true: the badge will be shown inline within the form, also you can customise your style
    |  -  false: the badge will be shown in the bottom right side
    |
    */
    'inline' => false,

    /*
    |--------------------------------------------------------------------------
    | Background Badge Style
    |--------------------------------------------------------------------------
    | Type: boolean
    | Support:
    |  -  true: the background badge will be displayed at the bottom right of page
    |  -  false: the background badge will be invisible
    |
    */
    'background_badge_display' => true,

    /*
    |--------------------------------------------------------------------------
    | Background Mode
    |--------------------------------------------------------------------------
    | Type: boolean
    | Support:
    |  -  true: the script will run on every page if you put init() on the global page
    |  -  false: the script will only be running if there is action defined
    |
    */
    'background_mode' => true,

    /*
    |--------------------------------------------------------------------------
    | Score Comparision
    |--------------------------------------------------------------------------
    | Type: bool
    | If you enable it, the package will do score comparision from your setting
    */
    'is_score_enabled' => true,

    /*
    |--------------------------------------------------------------------------
    | Setting
    |--------------------------------------------------------------------------
    | Type: array
    | Define your score threshold, define your action
    | action: Google reCAPTCHA required parameter
    | threshold: score threshold
    | score_comparision: true/false, if this is true, the system will do score comparision against your threshold for the action
    */
    'setting' => [
        [
            'action' => 'contactform',
            'threshold' => 0.5,
            'score_comparision' => true,
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Setting
    |--------------------------------------------------------------------------
    | Type: array
    | Define a list of ip that you want to skip
    */
    'skip_ips' => [

    ],

    /*
    |--------------------------------------------------------------------------
    | Options
    |--------------------------------------------------------------------------
    | Custom option field for your request setting, which will be used for RequestClientInterface
    |
    */
    'options' => [

    ],

    /*
    |--------------------------------------------------------------------------
    | API JS Url
    |--------------------------------------------------------------------------
    | Type: string
    | Google reCAPTCHA API JS URL
    | use:
    */
    'api_js_url' => 'https://www.google.com/recaptcha/api.js',

    /*
    |--------------------------------------------------------------------------
    | Site Verify Url
    |--------------------------------------------------------------------------
    | Type: string
    | Google reCAPTCHA API
    | please use "www.recaptcha.net" in your code in circumstances when "www.google.com" is not accessible. e.g China
    | e.g. https://www.recaptcha.net/recaptcha/api.js
    */
    'site_verify_url' => 'https://www.google.com/recaptcha/api/siteverify',

    /*
    |--------------------------------------------------------------------------
    | Language
    |--------------------------------------------------------------------------
    | Type: string
    | https://developers.google.com/recaptcha/docs/language
    */
    'language' => 'en',
];

However, I am getting a weird rendering issue where it is rendering in the middle of the page.

But, if I do not render any recaptcha fields on the page, then it is rendered in the bottom right of the page. I'm pretty confident this has to do with explicit rendering being enabled when there is an action defined. https://github.com/RyanDaDeng/laravel-google-recaptcha-v3/blob/master/resources/views/googlerecaptchav3/template.blade.php#L25
With explicit rendering, it is rendering the badge in the first reCAPTCHA div on the page instead of within the body tag.
I feel like explicit rendering should only be defined if the config 'inline' => true, is set. At least, that's what I would think based on the comments from the config file as a new user of this package.

@ericp-mrel sorry for the late reply, it was a very busy week for me. i just got time to check it during the weekend! I have seen your PR just now. Will check and test locally this weekend!!!
Appreciate!!

A quick update, my company is gonna release a new version this week, its busy for us to prepare data migration.
I can only take a look next Friday.
Sorry.

@ryan-deng-plastiq No problem. I'm in no particular rush to get these merged.

@ryan-deng-plastiq Any updates on getting these changes possibly merged?
Thanks

All good mate. Sorry for taking such long.


Project Feedback!

Looks like you are missing the following required user stories:

User can sign in to Twitter using OAuth login
User can view tweets from their home timeline
- User is displayed the username, name, and body for each tweet
- User is displayed the relative timestamp for each tweet "8m", "7h"
User can refresh tweets timeline by pulling down to refres

Your assignment is incomplete until all the required user stories are complete. Once completed, please push your updates, update your README, update your gif and submit your assignment again using the submit button on the appropriate assignment page so we can regrade it.
Whenever you make updates to your project that require re-grading, you need to re-submit your project using the submit button on the associated assignment page in the course portal. This will flag your project as “updated” on our end and we know to re-grade.
You should re-submit your assignment anytime you:

Update a previously incomplete assignment
Add optional and additional features to an already completed assignment

<img alt="+1" title="+1" src="/images/emoji/unicode/1f44d.png"}" style="vertical-align:middle" width="20" height="20" /> Congrats on completing the third project!
I have provided a detailed Project 3 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you could improve your submission.
Let us know if you have any other thoughts or questions about this assignment. Hopefully by now you feel pretty comfortable with all the major pieces to basic Android apps (Views, Controllers, Models, Authentication, API Communication, Preferences, ActionBar, et al) and see how they all fit together.
/cc @codepathreview

👍 Congrats on completing the fourth project!
I have provided a detailed Project 4 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you could improve your submission.
Let us know if you have any other thoughts or questions about this assignment. Hopefully by now you feel pretty comfortable with all the major pieces to basic Android apps (Views, Controllers, Models, Authentication, API Communication, Preferences, ActionBar, et al) and see how they all fit together.
/cc @codepathreview


Cargo requires Windows-specific crates like winapi and wincolor in FreeBSD ports

When I run cargo tree in the FreeBSD port directory devel/cargo-tree/work/cargo-tree-0.26.0 it returns the tree of crates without Windows-specific crates like winapi* and wincolor. But during the port build it asks for winapi* and wincolor. It seems like the target OS isn't set by the ports framework.
The port's build command invokes cargo build like this:
cd /usr/ports/devel/cargo-tree/work/cargo-tree-0.26.0 && /usr/bin/env OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/usr/ports/devel/cargo-tree/work  XDG_CONFIG_HOME=/usr/ports/devel/cargo-tree/work  HOME=/usr/ports/devel/cargo-tree/work PATH=/usr/ports/devel/cargo-tree/work/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe -fno-omit-frame-pointer  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-fno-omit-frame-pointer"  LDFLAGS="  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" CARGO_HOME=/usr/ports/devel/cargo-tree/work/cargo-home  CARGO_BUILD_JOBS=8  CARGO_TARGET_DIR=/usr/ports/devel/cargo-tree/work/target  RUSTC=/usr/local/bin/rustc  RUSTDOC=/usr/local/bin/rustdoc  RUSTFLAGS=" -C linker=cc -C link-arg=-fstack-protector-strong" LIBGIT2_SYS_USE_PKG_CONFIG=1 LIBSSH2_SYS_USE_PKG_CONFIG=1 OPENSSL_LIB_DIR=/usr/lib  OPENSSL_INCLUDE_DIR=/usr/include  /usr/local/bin/cargo build  --manifest-path /usr/ports/devel/cargo-tree/work/cargo-tree-0.26.0/Cargo.toml  --verbose   --release

and it requires winapi* and wincolor. But simple cargo build doesn't seem to download winapi* and wincolor.
Could you please advise why the above long version of crate build requires windows-specific crates and simple crate build doesn't?

What exactly do you mean "it requires winapi"?  Does it download winapi?  Is there some other error?
I don't see anything obvious in that command that would cause other targets to be downloaded.  This sounds like an issue for freebsd ports, though?

It fails:
===>  Configuring for cargo-tree-0.26.0
===>   FreeBSD 10 autotools fix applied to /usr/ports/devel/cargo-tree/work/cargo-tree-0.26.0/cargo-crates/backtrace-sys-0.1.28/src/libbacktrace/config/libtool.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/devel/cargo-tree/work/cargo-tree-0.26.0/cargo-crates/libssh2-sys-0.2.11/libssh2/config.rpath
error: no matching package named `winapi` found
location searched: registry `https://github.com/rust-lang/crates.io-index`
required by package `cargo v0.35.0`
    ... which is depended on by `cargo-tree v0.26.0 (/usr/ports/devel/cargo-tree/work/cargo-tree-0.26.0)`

That looks like maybe it is applying source replacement with a .cargo/config file?  If it is using a directory source, it will need all the dependencies.  This is likely an issue with how freebsd ports works, so it is probably appropriate to file an issue there.

Thanks!
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240003


STORM-1045. Parse CREATE TABLE statements.

This PR supersedes https://github.com/apache/storm/pull/731.
Based on the discussion in STORM-1040, this PR takes the approach to extend the Calcite SQL parser to parse the CREATE TABLE statement. On a very high level it does the following:

Extract the template of Parser.jj from the calcite jar
Instantiate the template with the code in src/codegen
Invoke javacc to generate the parser

The approach is similar to the one in Apache Drill.

+1 . @ptgoetz @revans2 would like merge this into feature branch STORM-1040.


GetBittr/FastBitcoins notifications

Dependancy for tagging of transaction for notification from @Parsh

Transactions: (on the transaction list and the details) should show the source as FB
In the More tab > sources, FastBitcoins as a source is shown as a separate item
In the accounts, it should be visible as to what sources contribute to what funds within that account and what is the total

Dependency: Tagging of transactions.


Different version of loader.

Another version of loader from #5.
This one doesn't have any Generic provider per file type.
Loading McStas file or nexus file should be handled automatically, but users can change parameters for loading McStas files.

Closing this in favor of #9


[php] Provide HTML tag matching/language service support

I don't know if it's just me but there's no support for HTML tag matching.

OS X Yosemite. The same behaviour in Ubuntu 14.04.
VS Code version is 0.10.8

I have the same issue - http://prntscr.com/bnfaym

👍

Any update on this?
I have the same issue.

I'm also having the same issue.

Same here

same here

Issue still persists on latest update,  on twig and php files atleast,  would love to hear if there is any progress?  @alexandrudima

+1

+1

+1

+1

+1

+1

+1, I kindly ask to add this feature.

+1

+1

Seems to match the keyword, not the pair. It is matching even the comments:

+1

+1

@alexandrudima @aeschli, Is there any progress on this issue,  would be helpful if someone could point me in a direction to check the progress. Thank you for all your contributions.

Any updates? Still facing the same issue with the latest release also v1.8.0...

Changing the colour between the connecting line of the selected tag or an additional line in the margin would be ideal. Here is how webstorm looks in this scenario:

+1 here! I've been looking for an extension to do this until I found out it supposed to be built-in

+1 still seeing this in 1.8.1

+1

+1

+1
This is a much required feature for php / laravel developers to embrace VS Code. Most of the time the view or html is being written in .php or .blade.php file as far as PHP developers are concerned.
VS Code is a promising tool, needs a little help from the team to make more Laravel/PHP devs try and embrace it.

+1

+1

It's deal breaker !
Come on Dev Team, we need this feature...
+1

Need this
+1

+1

+1

+1

+1

+1
Or maybe there is an extention for it?

+1

+1

i guess we have to deal with it, someone know of a extension that helps timebeing.

for a while i'm using a different file associations settings, like below:
"files.associations": {
    "*.tpl": "php",
    "*.php": "html"
},

With this, the editor will recognize the php as a html file, and then we can see the tag matching.

@aeschli By the way, it is not only for PHP. It does not work for any JSX file or JSX syntax in a .js file aswell. It would be a nice feature considering how React is becoming (already is) very popular.

I have the same issue with the Pyramid Web Framework built with Python.
@guilhermebrunoreis solution worked for me by changing user settings to
"files.associations": { "*.pt": "html" },

Thanks @kjetilsg
I got this worked too on blade.
"files.associations": { "*.blade.php": "html" }

Can anyone point me how can I help/contribute towards this feature? By the amount of time it has taken to provide such a basic feature mean the team must be busy. I would love to contribute if someone can guide me. Thanks.

+1

@rifaldhiaw @kjetilsg changing the file suffixes like that will disable any native intellisense it may have had before though right? So changing .php to act like .html will disable any .php support it had previously. Correct me if I'm wrong.

+1

@ankitrg

Can anyone point me how can I help/contribute towards this feature? By the amount of time it has taken to provide such a basic feature mean the team must be busy. I would love to contribute if someone can guide me. Thanks.

In order to achieve this, we'll need to include HTML as an embedded language. Improving our PHP+HTML experience will certainly be a priority in the coming months, and while I can't get to this immediately, I'm happy to share some preliminary thoughts and provide some quick pointers in case someone is interested in investigating it further.
Dissecting the built-in HTML language service
A good example to look at is the built-in HTML language service, which embeds CSS and JavaScript.
https://github.com/Microsoft/vscode/blob/master/extensions/html/client/src/htmlMain.ts#L47
A quick search reveals that the initializationOptions.embeddedLanguages is first used in the server initialize function, which is the main entrypoint the the language server:
https://github.com/Microsoft/vscode/blob/master/extensions/html/server/src/htmlServerMain.ts#L52
The initialize function calls getLanguageModes as one of its first steps, which is defined here:
https://github.com/Microsoft/vscode/blob/master/extensions/html/server/src/modes/languageModes.ts#L53
getLanguageModes returns an object of type LanguageModes which includes a bunch of methods that map between the positions / language IDs, and the LanguageMode:
https://github.com/Microsoft/vscode/blob/master/extensions/html/server/src/modes/languageModes.ts#L38-L46
This helps use know which language server to ask (CSS, JS, or HTML) for requests like document highlighting (which is the feature described in this thread):
https://github.com/Microsoft/vscode/blob/master/extensions/html/server/src/htmlServerMain.ts#L209-L216
What's LanguageMode?
https://github.com/Microsoft/vscode/blob/master/extensions/html/server/src/modes/languageModes.ts#L19-L36
LanguageMode is an interface that gets implemented by each of the individual languages supported in the language service. It basically maps a language-specific ID (see getId()) to the language-specific feature implementations:

HTML: https://github.com/Microsoft/vscode/blob/master/extensions/html/server/src/modes/htmlMode.ts#L12
CSS: https://github.com/Microsoft/vscode/blob/master/extensions/html/server/src/modes/cssMode.ts#L13
JS: https://github.com/Microsoft/vscode/blob/master/extensions/html/server/src/modes/javascriptMode.ts#L21

Now so far, this has all been plumbing - the actual logic for the HTML-specific features lives in vscode-html-languageservice, which gets pulled in as an npm module.

https://github.com/Microsoft/vscode-html-languageservice/blob/920806f456f5991fa5840f0755edc77853963797/src/htmlLanguageService.ts#L120-L131

Applying this to PHP
For PHP, we'll probably want to do something similar from the built-in PHP extension (at a high level, we want to have some way to distinguish between which language mode we're in, map that language mode to the corresponding feature implementation, and provide any other relevant context). PHP entrypoint here:
https://github.com/Microsoft/vscode/blob/master/extensions/php/src/phpMain.ts
For tag matching in particular, we care about getDocumentHighlight:
https://github.com/Microsoft/vscode-html-languageservice/blob/9ea1db325b7bb9c54f7e5fbb8c4a8474df150e7a/src/services/htmlHighlighting.ts#L11-L29
Now, one of the critical questions I glossed over when describing the HTML support above is "how do we actually differentiate between regions?" This is where things get a little trickier if you don't have a full lexer/scanner implementation because if you take the absolute simplest approach - e.g. simply look for the first start-tag, and the first end-tags, there are all sorts of edge cases like:

<?php // ?> *NOT PHP*
<?php /* ?> *STILL PHP*
<?php "hello ?> *STILL PHP*

<?php
$a = <<< 'PHP'
?> *STILL PHP*

So now we also need to account for heredoc, nowdoc, command expressions, comments, strings, template strings, etc. and any combination thereof.
The TextMate grammar (which is responsible for syntax highlighting) defines these rules, but we don't currently have a way to simply piggyback on this functionality from a language service, so we would either need to grit our teeth, and write it ourselves, or use an implementation that's already out there. Probably the easiest thing to do is use PHP's built-in tokenizer, token_get_all (see PHP validation logic for how we currently invoke PHP from the extension). T_INLINE_HTML will refer to all text outside of PHP, which is exactly what we want to know.

http://php.net/manual/en/function.token-get-all.php
http://php.net/manual/en/tokens.php

And of course, token_get_all doesn't return positions, so we'd have to calculate those ourselves while iterating through the loop. E.g. we currently do this in the new PHP parser:
https://github.com/Microsoft/tolerant-php-parser/blob/master/src/PhpTokenizer.php#L75
Now that we have php and non-php blocks, we can start looking into tag matching.
Now let's take a simple example:

<?php
echo `hello world`;

This could conceivably get split up into two regions:

/* PHP region */
<?php
echo `hello world`;

The HTML region could then get sent through for the HTML language service to find the document highlights. #winning
But wait. PHP is a templating language. Which means that you can also do stuff like this:

<?php ?>

Now our exclusive document regions don't work so cleanly anymore because we get three of them:

1: HTML region
2: PHP region
3: HTML region

If we pass region 1 in alone, then we won't get proper highlights if the end tag lives in region 2 (the same is also true of the PHP code, where for instance a block's close brace can appear after an inline HTML block). So instead of sending in the regions alone to the language services, we actually need to replace everything in the middle of the regions with whitespace to generate the virtual document, which is exactly what the HTML language extension does:
https://github.com/Microsoft/vscode/blob/master/extensions/html/server/src/modes/embeddedSupport.ts#L198
To be continued...
Anyways, hope you enjoyed that not-so-quick braindump of some of the considerations with this feature and potential places to start. Note that this is just one way of thinking about the problem, and there are also other approaches we could take. Additionally, I suspect it might be possible to simplify things for this feature in particular, but for now that's left as an exercise to the reader because it's getting late here in Seattle, and as much as I love you all, I also love sleep :wink:
cc @aeschli, @rebornix, @felixfbecker

@mousetraps I think this should be added to LSP. The language server already has an AST, so it knows the exact ranges where other languages are embedded

+1

+1

+1

Hope it gets corrected soon.

Sublime Text does it really well with the help of the BracketHighlighter extension.

Found a temporary solution on Stack Overflow Using the extension Auto Rename Tag

+1, Issue still present in v1.10.1, Not having much luck with @rgfx's auto rename tag workaround either, Seems to want to rename all or none of the closing tags in files with multiple <?php or


error[E0107]: populated from the Tic-Tac-Toe and CPA examples when followed explicitly

Same error code populated from the Tic-Tac-Toe and CPA examples when followed explicitly.
error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied
--> programs/tic-tac-toe/src/lib.rs:58:67
|
58  | pub fn setup_game(ctx: Context, player_two: Pubkey) -> Result<()> {
|                                                                   ^^^^^^ -- supplied 1 generic argument
|                                                                   |
|                                                                   expected 2 generic arguments
|
note: enum defined here, with 2 generic parameters: T, E
help: add missing generic argument
|
58  | pub fn setup_game(ctx: Context, player_two: Pubkey) -> Result<(), E> {
|                                                                            +++
For more information about this error, try rustc --explain E0107.

I'm not able to reproduce this. Are you you using version 0.22.0 of the cli and the imported anchor-lang?

0.22.0 on Ubuntu WSL on Windows 10 loaded via the AWM & the same errors thrown with 0.20.1 installed with NPM before the upgrade. Following instructions on both verbatim.

Possible to upload the finalized versions of the modified lib.rs files etc.; maybe at the end of the book example...I think there are other requests for this.

have you uninstalled the nvm version?
Ill upload the files tmr when Im back at my laptop

Yes. The NPM version was successfully removed. Anchor was off the machine, then reinstalled with the AWM and restarted with latest.

in the Cargo.toml of the program itself does it say anchor-lang = 0.22.0?

No. Now updated from 0.20.1 but this error is thrown...
error[E0412]: cannot find type ProgramResult in this scope
--> programs/tic-tac-toe/src/lib.rs:11:52
|
11 |     pub fn initialize(ctx: Context) -> ProgramResult {
|                                                    ^^^^^^^^^^^^^ not found in this scope
warning: unused import: num_traits
--> programs/tic-tac-toe/src/lib.rs:6:5
|
6 | use num_traits::*;
|     ^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default
For more information about this error, try rustc --explain E0412.
warning: tic-tac-toe (lib) generated 1 warning
error: could not compile tic-tac-toe due to previous error; 1 warning emitted

this is a bug in the cli. Just change ProgramResult to Result<()> or copy the code from the book.

Success. Much thanks! Here is the complete, updated lib.rs for reference.
`use anchor_lang::prelude::*;
declare_id!("Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS");
use num_derive::;
use num_traits::;
#[program]
pub mod tic_tac_toe {
use super::*;
pub fn initialize(ctx: Context) -> Result<()> {
Ok(())
}
}
#[derive(Accounts)]
pub struct Initialize {}
#[account]
#[derive(Default)]
pub struct Game {
players: [Pubkey; 2],          // 64
turn: u8,                      // 1
board: [[Option; 3]; 3], // 9 * (1 + 1) = 18
state: GameState,              // 32 + 1
}
#[derive(AnchorSerialize, AnchorDeserialize, Clone, PartialEq, Eq)]
pub enum GameState {
Active,
Tie,
Won { winner: Pubkey },
}
#[derive(
AnchorSerialize, AnchorDeserialize, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq,
)]
pub enum Sign {
X,
O,
}
impl Default for GameState {
fn default() -> Self {
Self::Active
}
}
#[derive(Accounts)]
pub struct SetupGame<'info> {
#[account(init, payer = player_one)]
pub game: Account<'info, Game>,
#[account(mut)]
pub player_one: Signer<'info>,
pub system_program: Program<'info, System>,
}
pub fn setup_game(ctx: Context, player_two: Pubkey) -> Result<()> {
let game = &mut ctx.accounts.game;
game.players = [ctx.accounts.player_one.key(), player_two];
game.turn = 1;
Ok(())
}
`

great! Im uploading the program to the repo currently


Fix integration tests

Which issue does this PR close?

Closes https://github.com/apache/arrow-datafusion/issues/918
Rationale for this change

We want the tests to work
What changes are included in this PR?

Change some versions from 0.5.0-SNAPSHOT to 0.6.0
Upgrade Rust from 1.53 to 1.54
Comment out some use of cargo chef because I didn't know how to fix the errors with that

Are there any user-facing changes?

No

Thanks for the help @houqp .. this is ready for review now

LGTM, I will update the version bump automation as follow up PR to take care of these files going forward.


Preferences changes are not taken into account immediately

For some reason, preferences changes are not taken into account immediately into the ranking.
Saving a second time works.

@teolemon Could you be a more specific about to way to reproduce the bug?
In the preferences I said I was a "mandatory vegetarian" and then had a look at the category "processed meat".
My assumption is that in that case I guess I should see something like an empty list: is that correct?
I clicked again and again on the preferences / mandatory vegetarian choice, but still, the category was not empty: I did not experience your "but the second time I saved the preferences it worked".

Yes, the list should at least shrink.
did you see a change in the list the second time ? We might not have ingredients for all products, and therefore not the vegan status all the time ?

From what I saw the preferences are not used when we get all the products of a category: no filter there.


Is branch

What can we help you with?

Where would you expect to find this information?

Hi, I saw this PR https://github.com/aiven/tiered-storage-for-apache-kafka/commit/fd19a107a485e212d097c1771429c64f43f240cb reverts the kafka branch from 3.3 back to 3.0, is branch 3.3-2022-10-06-tiered storage ready to use?  @jeqo @mdedetrich

Hi @HenryCaiHaiying
Not yet, there is a couple of bugs to fix in 3.3

I would say it's ready now. 3.3 is used here: https://github.com/aiven/tiered-storage-for-apache-kafka/pull/262
Will close this one once #262 is merged.


refactor(MODULE.TESTS): cleanup types, reorder mock implementation reset

Hey, thanks so much for accepting the changes, and cutting a release!
I think the build from 0.1.4 is missing a compiled lib folder... have a look and see for yourself.
I also noticed I could improve the typing of my changes.  Here's a very small follow-up PR, thanks again for all the work on this library!

Yes, I forgot to run the build, sorry, a long time without touching the project, but now everything is fine with version 0.15.0 :smiley:


Query endpoint api/services returns 503

Query endpoint api/services returns 503 if i try to find spans.
Primary storage: Elasticsearch

How to solve it?

It's coming from your Elastic backend: "all shards failed". Check if it's available and accessible from where jaeger-query runs.


improved tdd cover

add tdd tests for routes.py

Codecov Report

Merging #140 (2458fa0) into main (069c2d5) will increase coverage by 0.96%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #140      +/-   ##
==========================================
+ Coverage   95.26%   96.22%   +0.96%
==========================================
  Files           6        6
  Lines         613      610       -3
==========================================
+ Hits          584      587       +3
+ Misses         29       23       -6

Impacted Files
Coverage Δ

service/routes.py
99.20% <100.00%> (+2.35%)
:arrow_up:

Continue to review full report at Codecov.

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


[Bug]: The top tesult for "Beam godocs" in Google points to an old Godocs page of Beam

What happened?
Google finds the following page at the top, which has not been updated since 2021 and is not up to date.

https://pkg.go.dev/github.com/apache/beam/sdks/go/pkg/beam

The correct page is:
https://pkg.go.dev/github.com/apache/beam/sdks/v2/go/pkg/beam
Issue Priority
Priority: 1
Issue Component
Component: sdk-go

hey @pabloem ,i would like to take up this issue .
Could you give any idea of how this issue can be solved.

hello Ayush!
I have a couple ideas for this...
Some options:

We could add all new releases to the v1 package, and continue to make releases there.
We could try to com0pletely remove the v1 package, and this should eventually make the v2 package the default doc site.

Information on how to do these things is here: https://pkg.go.dev/about
I think I like the idea of releasing on the v1 package and ignoring the v2 package going forward. @lostluck do you have thoughts / preferences?

Option 2 looks tractable, based on https://pkg.go.dev/about#removing-a-package. In particular, where we file an issue asking for them to not request them.
I don't beleive we can use the "retract" options because we didn't have modules until 2.33.0 (which is why the v2 is under the SDK directory.)
Option 1 is bad, and would hurt users. Don't tell people "use the V1" when there's a V2 out. This is an incredibly bad experience and it cannot be considered. This would put as back into an "incompatble" state for user imports and that's an incredibly bad look.
Another alternative is the docs in the 2.32 branch to point to the newer versions and tagging it with 2.32.1. This would update the pkg.go.dev page as a result, since the "latest" version in the pre-v2 series is what's displayed by default.

why did we add a v2? was something wrong with v1? otherwise, it seems obvious to me that having a v2 when we already had a working v1 is hurting users..?

What version is beam?

https://go.dev/ref/mod#major-version-suffixes

Beam is still under its first major version : )

If that were true, we wouldn't be having this discussion, since we'd still be on v1.XX.0

https://beam.apache.org/blog/beam-first-stable-release/
On Mon, Nov 7, 2022 at 11:23 AM Robert Burke @.***>
wrote:

If that were true, we wouldn't be having this discussion, since we'd still
be on v1.XX.0
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/23974#issuecomment-1306081018, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJ5Z3FP76ZKGT22JAYATB3WHFJKDANCNFSM6AAAAAARWSVHYQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

And yet v2. Which is what users will see, rather than unfindable blog posts.
On Mon, Nov 7, 2022, 11:25 AM Pablo @.***> wrote:

https://beam.apache.org/blog/beam-first-stable-release/
On Mon, Nov 7, 2022 at 11:23 AM Robert Burke @.***>
wrote:

If that were true, we wouldn't be having this discussion, since we'd
still
be on v1.XX.0
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/23974#issuecomment-1306081018,
or
unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAJ5Z3FP76ZKGT22JAYATB3WHFJKDANCNFSM6AAAAAARWSVHYQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/23974#issuecomment-1306083562, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADKDOFKPOW23QQOEFV7JNRLWHFJUDANCNFSM6AAAAAARWSVHYQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@ayushthe1 do you have what you need to proceed?


Allow for text in Input accessories

🚀 Feature Proposal
Right now you can only have images or icons as input accessories but it would be great to prefix/suffix with text
Motivation
For a lot of inputs you want to add labels such as weight units (e.g. LB/KG), social handles/emails
Example

Hi! 👋  Thanks for the proposal.
It's not a big deal to achieve such behavior with a current realization, is it?
https://snack.expo.io/ksyUQNoIC

Hah I was getting an error that it needed it be an Image but I was just not rendering the text component correctly. Thank you!


findHeads() handles graph cycles

This pull request reimplements DependencyUtils.findHeads() to handle cycles in the dependency graph.
It also reimplements DependencyUtils.findHeadsStrict() to call findHeads() instead of reimplementing graph traversal.
Fixes #43

Seems like this solution is still incomplete. Please don't merge yet.

There was still an issue if the root node had incoming edges, which sounds wrong to me but apparently it is possible. Added a test and a fix for that situation.

Yeah, that sounds wrong to me, too.  Why would the root have anything incoming? It sounds like a red flag that the parse is wrong. Anyway, at least you're handling those cases.

It can happen because the parser is dumb. It makes local decisions wo/ worrying about global coherence.


Implement the mode parameter of GCOL for drawing commands

0: Plot the specified colour
1: OR the colour with the colour already there
2: AND the colour with the colour already there
3: XOR the colour with the colour already there
4: NOT (invert) the colour already there
5: No change to colour already there
6: Clear the colour - set it to colour 0

NB: FabGL only supports NOT and swapping the foreground and background colours

Think the only modes FabGL can support are: 0, 4, 6. All other modes will have no effect as per 5.
Not sure how the swap fg/bg colour option works.

Swap fg/bg is supposed to work like this: for every point you visit:

if it has the foreground colour, change it to background colour.
else if it has the background colour, change it to foreground colour.
else leave the point unchanged.

I would also implement the distinct 0..7 plot modes:
0..3 use relative coordinates.
4..7 use absolute coordinates
0,4 move, do not draw anything.
1,5 draw in foreground colour.
2,6 draw in inverse colour (this is FabGL's NOT operation I think).
3,7 draw in background colour
FabGL appears to have inverse colour support only for dots and lines, but it would be good to implement all these modes for them. Relative coordinates, fg and bg drawing can also be implemented for the other graphics primitives.

That's not part of the scope for this card.

I'll make another card for it then.


Add .md to broken function subcommand links

- Summary
I noticed some broken links when reading the function documentation and felt like it was my duty to fix them
- Test plan
Case 1

Navigate to https://github.com/netlify/cli/blob/master/docs/index.md
Click on any of the function subcommands

Expected Results
Taken to the appropriate page
Actual Results
404
Case 2

Navigate to https://github.com/netlify/cli/blob/master/docs/commands/functions.md
Click on any of the function subcommands

Expected Results
Taken to the appropriate page
Actual Results
404
- Description for the changelog
Fixes broken links to function subcommands that were missing the .md part of the URL
Approved by Riley 😝

Thanks @mattymess ❤

You have inspired me https://github.com/netlify/cli/pull/650
https://github.com/netlify/cli/tree/master/docs is now fully browsable on github and on https://cli.netlify.com/
🎉🎉🎉🎉🎉

Most excellent, @DavidWells! Glad much more good came out of my PR 😊


#29-CODE-OF-CONDUCT

Description:
This pull request aims to enhance the existing Code of Conduct for our project repository by adding more detailed information and clarification to each section. The goal is to ensure that our community standards are clearly communicated and understood by all contributors and participants.
Changes Made:
1.Expanded the "Our Pledge" section to provide additional context on the importance of fostering a welcoming and inclusive community environment.
2.Elaborated on the "Our Standards" section to highlight specific examples of behavior that contribute to a positive community atmosphere and provided explanations for each.
3.Added more detailed descriptions to the "Examples of Unacceptable Behavior" section to clearly outline behaviors that are not tolerated within our community.
4.Strengthened the "Enforcement Responsibilities" section by specifying the responsibilities of community leaders in enforcing the Code of Conduct and handling reported incidents.
5.Expanded on the "Scope" section to clarify where the Code of Conduct applies and examples of situations covered.
6.Provided additional information in the "Enforcement Guidelines" section to outline the consequences for violating the Code of Conduct in more detail, ensuring fairness and consistency in enforcement.
7.Included attribution to the original Contributor Covenant and Mozilla's code of conduct enforcement ladder for transparency and acknowledgment.
Expected Outcome:
1.Improved clarity and comprehensiveness of the Code of Conduct, leading to better understanding and adherence by all community members.
2.Enhanced community standards and enforcement procedures, fostering a safer and more inclusive environment for participation.
3.Increased transparency and accountability in handling reported incidents and enforcing consequences for violations.
Note: Feedback and suggestions from the community are welcome and encouraged to further refine the Code of Conduct and ensure that it effectively reflects our community values and expectations.

please, assign @anglerfishlyy and label GSSOC'24 and its LEVEL in this PR as it would not count towards leaderboard of GSSOC'24, if it doesn't .


docs: Use HTML tags to demo custom slots

Rather than [], which at first glance looks a little like a rendering bug, and we just want to demo primarily that you can write whatever you want in there, including HTML

@jackkoppa looks much better.

Should I update my pr?

Merged into PR :+1:


Would this be useful? Prompt user to get every nth value from column

Yeah the title wasn't long enough. A lot of times people ask  "I want to get every nth cell from a column HOWTO?" I thought I'd write a sub to walk them through it - not sure if it'd be useful or not to this toolpak.
Sub GetEveryNth()

On Error GoTo endtimes
Dim begin As Range
Set begin = Application.InputBox("Where does your range begin?", Type:=8)

If begin.Cells.Count > 1 Then
    Set begin = begin.Cells(1)
End If

Dim x As Integer
x = Application.InputBox("You'd like to get cells at what interval?", Type:=1)

Dim nth As Integer
nth = Application.InputBox("Which occurence do you want to start on?", Type:=1)

Dim start As Range
Set start = Application.InputBox("Where would you like the output?", Type:=8)

If start.Cells.Count > 1 Then
    Set start = start.Cells(1)
End If

Dim formula As String
formula = "=OFFSET(" & begin.Address & ",Row(A" & nth & ")*" & x & ",0)"

Dim lastrow As Integer
lastrow = Cells(Rows.Count, begin.Column).End(xlUp)

Dim filltimes As Integer
filltimes = Int(lastrow / x) - nth + 1

Range(Cells(start.row, start.Column), Cells(filltimes, start.Column)).formula = formula
Exit Sub
endtimes:
MsgBox ("You did not provide enough valid input")
End Sub

I've thought it would be good to have a tool that helps create formulas.  I'm not aiming for help entering values into SUM like the Insert Function menu but instead something that helps build complicated formulas.  I think there are some advanced formulas that could be entered more quickly and with fewer errors if the add-in is helping to build them.  The idea would be something like a stored formula that allows you to forget about the boilerplate stuff.  Those stored formulas would then be able to take inputs like "all unique values in this range" and then insert the probably complicated formula for that inside whatever formulas is trying to be built.
So I would definitely be interested in pursuing this general formula building tool.  We will want to think about what formulas could be supported and make a list.  After that, figuring out the ideal interface is probably next.
Does this sound like something that would be useful/worth building?
For the specific formula above, it looks good.  I would use INDEX instead of OFFSET though.  OFFSET is volatile and INDEX is not.  INDEX just requires a larger range at the start, but that is usually doable.  Worst case you use the entire sheet as the range and it reduces to how OFFSET works.

Yeah, maybe it's a better bet to create a formula helping tool rather than to add it in to this one, it might get crowded.

The formula helper could also be a part of bUTL.  I didn't necessarily mean a separate tool.  If nothing else, we can create something inside this tool and see where it goes.  If it gets too big, it can be forked out into its own project/add-in.


cricket live score api implementation added

🎯 Title and Issue Number
[Existing API Name] : Live Cricket Score Tracker API implementaion #170
Closes #170

ScreenShots of Showed and fetched data
1. Match wise data

2. Series wise data

3. player List

🗒 Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x]  I have gone through rules of when PR will get merged.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] I have followed proper file structure.
[x] I have gone through CONTRIBUTING GUIDELINES.md.

Thank you for contributing!❤
Don't forget to show some love by ⭐ the repository!

Hey @Yashgabani845, Thank you for creating PR! We will review it super soon. 😇❣
As we continue to evolve and innovate, we encourage you to share your ideas, feedback, and code to help us push the boundaries of what's possible in the world of APIs🚀.
We hope you have followed CONTRIBUTING GUIDELINES.
Thank you for being an essential part of our community. Together, we'll keep building amazing things!
Don’t forget to ⭐ our repository!
Happy Coding!✨
Will See you soon❣

@dishamodi0910 Please Review PR asap

/gssoc24

@Yashgabani845 We're thrilled to inform you that your pull request has been successfully merged into the APIverse🚀🎁
Your hard work, dedication, and expertise have made a significant impact on our project, and we couldn't be more grateful for your contributions.😇
Your code will now be a part of our growing ecosystem, helping developers worldwide to create exceptional APIs.❣🔥
Happy Coding! ✨
Will See you soon❣


3.0.2 RE3 20c 302 bug

Version
3.0.2
Seed
R730-07PC-ZTC885XZ3Z300NRPW4T0VZZQGYZZVZZZZZZ
Scenario
RE 3 (Jill)
Player Character
Annette
What happened?
generator : R730-07PC-ZTC885XZ3Z300NRPW4T0VZZQGYZZVZZZZZZ
pl0.txt : R730-07PC-ZTC885XZ3Z320NRPW4T0VZZQGYZZZZZZZZZ

jill , carlos and nikolai in cable car cut scene crashed
disable mod_biorand\room and \data_a also cannot avoid crashing
c 20c_2023-05-23 20^50.17.zip

302 backgroup music lag
c 302 03_2023-05-23 20^35.24.zip

NPC and voice did not match ( npc jill , chris voice)
20c insert all 3 items in cable car to trigger carlos cut scene.
c voice 05_2023-05-23 21^31.43.zip

I think 3. is a duplicate of #378

I am not sure what you mean by "backgroup music lag"

I am not sure what you mean by "backgroup music lag"

audio glitching

@otamega72 hmm, I didn't notice any audio glitching when I tried it

@otamega72 hmm, I didn't notice any audio glitching when I tried it
Then I think it might be my pc problem.

Possibly, but I think it is worth trying the same version of the game I have. Send me a message on discord, link to channel is on the biorand UI.


Worker ramdisk persistence is getting deleted

Alluxio Version:
Alluxio 2.6.2
Describe the bug
When following the steps in the Alluxio upgrading doc
to persist & restore Alluxio worker ramdisk caches, the worker ramdisk appears to be
empty.
To Reproduce
Steps to reproduce the behavior (as minimally and precisely as possible)

Deploy a local Alluxio cluster by following the documentation.
Execute bin/alluxio runTests.

Stop and restart the Alluxio worker with the ramdisk cache persistence flag enabled in accordance with the documentation.

ls /mnt/ramdisk/alluxioworker will report 0 files.

Adding some debug lines to the script
alluxio-start.sh
        # recursively copy all contents of the src directory
        # (including hidden files) to the destination directory
        ls -l "${cache}/${dir}/alluxioworker/"
        echo "cp -R ${cache}/${dir}/. ${dir}/"
        cp -R "${cache}/${dir}/." "${dir}/"
        ls -l "${dir}/alluxioworker/"

reveals that the files do get copied over, but somehow after the worker process starts the directory gets cleared.
Expected behavior
The persisted worker ramdisk cache blocks should remain in the /mnt/ramdisk/alluxioworker path after the worker process starts.
Are you planning to fix it
I will investigate what is causing this issue, as this was not the behaviour observed when this feature was introduced.

Further testing shows that this only occurs to blocks which were marked as PERSISTED in the Alluxio filesystem. Changing alluxio.user.file.writetype.default to MUST_CACHE shows the intended behaviour for worker ramdisk cache persistence.


support line number and file name in log message

Signed-off-by: Shijiang Wei<EMAIL_ADDRESS>

CC @zh-lab


Allow entries like the Wild Magic table on dndbeyond

Example input:
01–02
Roll on this table at the start of each of your turns for the next minute, ignoring this result on subsequent rolls.
03–04
For the next minute, you can see any invisible creature if you have line of sight to it.
05–06
A modron chosen and controlled by the DM appears in an unoccupied space within 5 feet of you, then disappears 1 minute later.

Added in 1.2.1


Testing: Problems with docker-compose in tests

Description
Hello!
I had a problem running the tests due to the fact that docker-compose is called as if from the command line in the tests.
Therefore, I want to suggest that you rewrite these tests using the official docker SDK for python, so that in the future users will have fewer errors related to docker and docker-composer
If you agree and allow me to make such a change to the tests, then I will update the tests by the end of the week
URL to code causing the issue
No response
MCVE
# Your MCVE code here

Steps to reproduce
1. Go to 'litestar'
2. Run `make test` or `make test-all` or `pytest`

Screenshots
"![SCREENSHOT_DESCRIPTION](SCREENSHOT_LINK.png)"

Logs
https://drive.google.com/file/d/1gH37wLFYPTXtnLZmrUY8EhnAg6JONDHX/view?usp=sharing

Litestar Version
2.4.5
Platform

[X] Linux
[ ] Mac
[X] Windows
[ ] Other (Please specify in the description above)

[!NOTE]
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard

If you would like to see an issue prioritized, make a pledge towards it!
We receive the pledge once the issue is completed & verified
This, along with engagement in the community, helps us know which features are a priority to our users.

I had a problem running the tests due to the fact that docker-compose is called as if from the command line in the tests.

What exactly is the problem?

I had a problem running the tests due to the fact that docker-compose is called as if from the command line in the tests.

What exactly is the problem?

The problem is that in the subprocess parameters for launching docker-compose, the very name docker-compose is passed with an error (like this ['docker', 'compose'], instead of ['docker-compose']) therefore, the system perceives the command in such a way that we want to launch docker with a flag that a simple one does not have docker, and only docker-compose has it.
Here is an example of an error that repeats itself in all failed tests:
subprocess.CalledProcessError: Command '['docker', 'compose', '--file=/home/ashm/oss/litestar/tests/docker-compose.yml', '--project-name=litestar_pytest-master', 'up', '-d', 'redis']' returned non-zero exit status 125.

I suggest fixing this error by using a special SDK for working with docker and docker-compose so that problems with it no longer arise

the system perceives the command in such a way that we want to launch docker with a flag that a simple one does not have docker, and only docker-compose has it.

docker-compose is the command used by the legacy compose version. Compose v2 is integrated with docker itself, and the correct command for it is docker compose.
https://docs.docker.com/compose/migrate/#what-are-the-differences-between-compose-v1-and-compose-v2

Update scripts to use Compose V2 by replacing the hyphen (-) with a space, using docker compose instead of docker-compose.

We don't want to support an outdated version of docker just for testing and I don't think there's much to be gained from using the SDK except for a bit more added complexity.


[bn] Static/ redirects - minor fix

fixes  https://github.com/kubernetes/website/pull/45009#discussion_r1595758730

redirect rule of /bn/docs/setup/learning-environment/

/approve

/lgtm

/label tide/merge-method-squash


Transfurred Players will stutter when moving against a wall

Hitbox probably should stay as the normal size.

Is this while you drag the slider, or when you exit the BPI menu?
Also the hitbox size difference is negligible.

Is this while you drag the slider, or when you exit the BPI menu?
Also the hitbox size difference is negligible.

When you exit the menu after changing your size.
But since the hitbox is only different on the client, the server will teleport you back if you try to fit under spaces that you wouldn't be able to normally.

I was not able to replicate this bug. Please provide a video showcasing how you caused this.

When I get a chance later I will.

@LtxProgrammer
Okay, this doesn't seem to a hitbox size related issue, it appears to be something wrong with entity collision/hitbox with any transfurred player in general.
If moving against a wall, the camera and player will stutter (also why is the latex human hitbox larger? Can't fit under a slab).
https://github.com/LtxProgrammer/Changed-Minecraft-Mod/assets/100542617/a177abeb-d8ce-4485-b365-222125eb123a

Bijimio was able to replicate this bug in the dev environment. He set the BPI size to < 100%, and walked into a wall. I am still unable to replicate it consistently myself.

I think I found it. Bug seems to occur when the player esc's out of the BPI screen. Reviewing the code shows that the BPI packet only sends when the player clicks "Done"


WIP: Update osc

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
What type of PR is this?

Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:

Documentation:

This approach is quite complex and very error prune, thus I am gonna close this PR and open another one which is a bit more simplified and more robust.


HTTPS checkout test errors

Something (in my environment?) creates trouble with https checkout:
  1) Clone can clone with https:
     Error: Failed to resolve address for https: hostname nor servname provided, or not known
      at Error (native)

  2) Clone can clone using nested function:
     Error: Failed to resolve address for https: hostname nor servname provided, or not known
      at Error (native)

full log:
https://gist.github.com/f694d4646bd4e1e90793

@tbranyen must be something easy and obvious... ideas?

@saper can you join Gitter? https://gitter.im/nodegit/nodegit


v3 dot caret declaration has syntax error

v3.3.6
line 3512: duplicate declaration for border-top and \9 is invalid, please remove the line

More importantly, how does this happen when compiling the sass? Shouldn't have errored out?

after lookign at line 14 in the dropdowns.less file I have concluded that the less parser is not picking up the additional chars but I've never seen this usage before ~"\9" must be "less than IE9" should the slash be there??

See http://getbootstrap.com/getting-started/#support-validators
\9 is an intentional IE CSS hack.

Found that out but since it was declared second it defaults to that line in Chrome and then you have now dropdown carets at all. It's not closed... I'm using Chrome Version 46.0.2490.71 (64-bit)

Take that back. My current configuration of gulp is outdated and when it compiles to dist\ it only gets the IE hack.

gulp-csso package .0.2.9 is deprecated so moving to 1.0.1 is the fix! Thanks for reminding me that IE8 is still a plague even tho my apps don't need to run on it ;)


plugins: support autocron hook

The list for viable plugin candidates is long, see system_configure_cron()'s $autocron parameter

schedules are not properly deleted after apply...


perf: objdestroy message is now a value type

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


Help needed - invoking WebDav operations in JS via the webdav server API, instead of running http requests

Hi, i have just started experimenting with webdav-server and i like the effects,  the webdav functions work very nicely.
My plan, however, is to provide an accompanying web gui for managing the files via web browser - so we end up with both webdav and web access to the same files and folders. In ideal case integrated with same user auth system for both access channels.
And i'm using the webdav-server implementation as the base for the app, so i'm relying on webdav-server JS apis when implementing the web UI functions. Mostly successful in that, but sometimes it just doesn't work as expected, for example when doing move/copy operation.
Below is my copy/move function - _vd is the webdav server object. So my sequence of operations is to

create external context
getResource with the source path - this gets me Resource object
then i'm calling copy or move on the resource, giving it the destination path

First of all, this doesnt seem to work correctly with my setup - i get an error when trying to move file between two filesystems (because the application doesn't get the path right - it inserts the 'vol1' into the path even if vol1 is just the alias for c:\temp\wd2 folder - because vo1 is the filesystem i have added to webdav).
And my question is - is this a correct approach? Or should i be using the apis in a different way?
Can you provide some examples of how to work with that?
thanks
rg
path: Path { paths: [ 'label2.zpl' ] } }
error { '0':
   { Error: EINVAL: invalid argument, rename 'c:\temp\wd2\label2.zpl' -> 'c:\temp\wd2\vol1\label2.zzzzpl'
     errno: -4071,
     code: 'EINVAL',
     syscall: 'rename',
     path: 'c:\\temp\\wd2\\label2.zpl',
     dest: 'c:\\temp\\wd2\\vol1\\label2.zzzzpl' },
  '1': undefined }

function handle_copy(sourcePath, targetPath, isMove, req, res) {
    var ctx = _vd.createExternalContext();
    _vd.getResource(ctx, sourcePath, function(e, rc) {
        console.log('got rc', e, rc);
        if (e) {
            throw new Error();
        }
        var cb = function(e, k) {
            if (e) {
                console.log('error', arguments);
                return err('failed to copy:' + e, res);
            }
            console.log('done', k);
            return returnJson({
                data: {
                    id: sourcePath,
                    type: 'file',
                    attributes: {
                        path: sourcePath,
                        writable: 0,
                        readable: 0
                    }
                }
            }, res);
        }
        if (isMove) {
            rc.move(targetPath, true, cb);
        }
        else {
            rc.copy(targetPath, true, -1, cb);
        }
    });
}

Hello,
A resource is just an interface to a file system.
When calling rc.move(...), it will call the method move of the file system mounted at the path of the resource.
The method move of the file system allows to move a resource inside the file system, not outside.
To do a cross file system move, you can use the standard method standardMove.
Note: it's the same with the method copy.
var ctx = _vd.createExternalContext();

_vd.getResource(ctx, sourcePath, function(e, rcSource) {
    _vd.getResource(ctx, targetPath, function(e, rcTarget) {
        if(rcTarget.fs === rcSource.fs)
        { // Keep the special behaviour of the move/copy of the file system
            if(isMove)
                rcSource.move(targetPath, true, cb);
            else
                rcSource.copy(targetPath, true, -1, cb);
        }
        else
        { // Cross file system move/copy
            if(isMove)
                _vd.StandardMethods.standardMove(ctx, rcSource.path, rcSource.fs, rcTarget.path, rcTarget.fs, true, cb);
            else
                _vd.StandardMethods.standardCopy(ctx, rcSource.path, rcSource.fs, rcTarget.path, rcTarget.fs, true, -1, cb);
        }
    });
});

Tell me if that answered your question and if it is working as you expected.

Thanks!
Still, i think there might be some error in the way fs.getRealPath() is implemented
when i ask the app to get me the real path of this resource (file):
/vol1/boxing_mobile.png
i get
'c:\\temp\\wd1\\vol1\\boxing_mobile.png'
but this is wrong, because of the way vol1 and vol2 filesystems are set up:
server.setFileSystem('/vol1', new webdav.PhysicalFileSystem('c:\\temp\\wd1') server.setFileSystem('/vol2', new webdav.PhysicalFileSystem('c:\\temp\\wd2') ...
so, vol1 is an alias for c:\temp\wd1 and it should not be included in real path
c:\temp\wd1\vol1\boxing_mobile.png
and that's why the copy / move fails - wrong path on the disk.

No, getRealPath is protected and you are not supposed to use it.
It is owned by the class PhysicalFileSystem and it is not a standard method of a FileSystem.
This method returns an object containing the resource instance and the realPath which is the path.join(...) of the root path you provided to the file system (in your case c:\\temp\\wd1) and the path you put in parameter (in your case /vol1/boxing_mobile.png), which build the result you obtain.
So, the implementation is right, but you are not supposed to use it. The only case you would be supposed to use it is when you implement a subclass of PhysicalFileSystem.
The method you are looking for is getFullPath.
const ctx = server.createExternalContext();

server.getFileSystem(new webdav.Path('/vol1/boxing_mobile.png'), (fs, rootPath, subPath) => {
    console.log(rootPath.toString(), subPath.toString());

    fs.getFullPath(ctx, subPath, (e, fullPath) => {
        console.log(fullPath.toString());
    })
})

@AdrienCastex i'm not using it directly, trying to use  StandardMethods move or copy function, exactly as in your example. But in such case the application is generating wrong paths (exactly as described) and that's why i did a test with getRealpath.
here is a test, with move:
`
// JavaScript
const webdav = require('webdav-server').v2;
const path = require('path');
const server = new webdav.WebDAVServer({
port: 1900
});
server.setFileSystem('vol1', new webdav.PhysicalFileSystem('c:\temp\wd1'), (success) => {
console.log('fs ready');
server.setFileSystem('vol2', new webdav.PhysicalFileSystem('c:\temp\wd2'), (success) => {
console.log('second fs ready');
    server.start(function() {
        console.log('server started');

        var _vd = server;
        var sourcePath = '/vol1/screen_topbar_workstation.png';
        var targetPath = '/vol1/MOMO';
        var isMove = true;

        var ctx = _vd.createExternalContext();
        _vd.getResource(ctx, sourcePath, function(e, rcSource) {
            _vd.getResource(ctx, targetPath, function(e, rcTarget) {

                var cb = function(e, k) {
                    if (e) {
                        console.log('op error', arguments);
                        return;
                    }
                    console.log('op success', arguments);
                }

                if(rcTarget.fs === rcSource.fs)
                { // Keep the special behaviour of the move/copy of the file system
                    if(isMove)
                        rcSource.move(targetPath, true, cb);
                    else
                        rcSource.copy(targetPath, true, -1, cb);
                }
                else
                { // Cross file system move/copy
                    if(isMove)
                        _vd.StandardMethods.standardMove(ctx, rcSource.path, rcSource.fs, rcTarget.path, rcTarget.fs, true, cb);
                    else
                        _vd.StandardMethods.standardCopy(ctx, rcSource.path, rcSource.fs, rcTarget.path, rcTarget.fs, true, -1, cb);
                }
            });
        });

    });

});

});
`
error message generated:
C:\devs\ufilman>node test.js fs ready second fs ready server started op error { '0':    { Error: ENOENT: no such file or directory, rename 'c:\temp\wd1\screen_topbar_workstation.png' -> 'c:\temp\wd1\vol1\MOMO'      errno: -4058,      code: 'ENOENT',      syscall: 'rename',      path: 'c:\\temp\\wd1\\screen_topbar_workstation.png',      dest: 'c:\\temp\\wd1\\vol1\\MOMO' },   '1': undefined }
for copy, a different error message:
op error { '0': Error: One or more intermediate resources are missing for this operation.     at Object.<anonymous> (C:\devs\ufilman\node_modules\webdav-server\lib\Errors.js:68:34)     at Module._compile (internal/modules/cjs/loader.js:654:30)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)     at Module.load (internal/modules/cjs/loader.js:566:32)     at tryModuleLoad (internal/modules/cjs/loader.js:506:12)     at Function.Module._load (internal/modules/cjs/loader.js:498:3)     at Module.require (internal/modules/cjs/loader.js:598:17)     at require (internal/modules/cjs/helpers.js:11:18)     at Object.<anonymous> (C:\devs\ufilman\node_modules\webdav-server\lib\resource\v1\std\ResourceChildren.js:3:16)     at Module._compile (internal/modules/cjs/loader.js:654:30),   '1': undefined }

Hello,
My bad, the right parameter in the following part is not targetPath (because it is the full path, not the one in the file system), but rcTarget.path (because this path is the one in the file system).
if(isMove)
    rcSource.move(targetPath, true, cb);
else
    rcSource.copy(targetPath, true, -1, cb);

So it must be:
if(isMove)
    rcSource.move(rcTarget.path, true, cb);
else
    rcSource.copy(rcTarget.path, true, -1, cb);

Thanks Adrien
one more question to you: users and permissions. Do you think it's possible to use users and permissions model from the webdav server library also for authenticating website (www interface) users? I mean, assuming that i'm using express framework and authenticate an user in the web browser, how to pass this user information further into webdav api so i get access control check? What is the right way to query for user's permissions on a resource?
R

You can use the HTTP authentication system, or use a custom filter on ExpressJS.
Here is a basic example using the authentication in ExpressJS with a login page:
const app = express();
app.use(cookieParser());

let currentSession = undefined;

app.all('/signin', (req, res) => {
    if(req.query.login === 'ok')
    { // Good credentials, we create, store and send the new session.
        currentSession = Math.random() + 1;
        res.cookie('session', currentSession);
        res.send('You signed in');
    }
    else
    { // Bad credentials, we send an error message.
        res.send('Wrong login');
    }
});

const webdavRoute = '/webdav';
const route = express.Router(webdavRoute);

route.use((req, res, next) => {
    if(!currentSession || !req.cookies || !req.cookies['session'] || req.cookies['session'].toString() !== currentSession.toString())
    { // If the session is not found, stop executing the request and send an error message.
        res.send('You must sign in first');
    }
    else
    { // If session found, go to the next step.
        next();
    }
});
route.use(webdav.extensions.express(webdavRoute, webdavServer));

app.use(route);
app.listen(1900);

Of course, you can mix it with a PrivilegeManager and a custom authentication instance. See more in the wiki.


VSIX version possible?

Discussed in https://github.com/dankeboy36/vscode-arduino-api/discussions/9

Originally posted by F4ceMeltor November 23, 2023
It'd be great if you could pack this into a VSIX, because I'm trying to run your ESP32 exception decoder in VSCodium and that one's extension browser finds the decoder extension and can install it just fine but fails to get this one which it depends on. It'd be a great help, as I don't really know how to transfer the error properly into the Arduino IDE.

Related: https://github.com/dankeboy36/vscode-arduino-api/issues/5
I misconfigured the tokens.

Closed via #12.
https://marketplace.visualstudio.com/items?itemName=dankeboy36.vscode-arduino-api


queue: edits to new docs

Follow up to https://github.com/iterative/dvc.org/pull/3715#issuecomment-1203509146

Thanks @jorgeorpinel! Would you mind taking a look at my few comments and then hopefully we can merge and call this done?


TimeoutTestNodeStateProperty not causing test session failure and summary count is wrong

This seemed to have worked in 1.3.2, but is failing on 1.4.0-preview.24422.11.
Reporting just tests that have timed out causes:

The test session to pass, when it should fail
The count at the end to be wrong

Test run summary: Passed! - TestingPlatformTimeoutStateRepro.dll (net8.0|x64)
  total: 1
  failed: 0
  succeeded: 0
  skipped: 0
  duration: 66ms

As you can see, there's a total of 1, but 0 for all the actual states it could be.
Repro:
// See https://aka.ms/new-console-template for more information

using Microsoft.Testing.Platform.Builder;
using Microsoft.Testing.Platform.Capabilities;
using Microsoft.Testing.Platform.Capabilities.TestFramework;
using Microsoft.Testing.Platform.Extensions.Messages;
using Microsoft.Testing.Platform.Extensions.TestFramework;
using Microsoft.Testing.Platform.TestHost;

var builder = await TestApplication.CreateBuilderAsync(args);
builder.RegisterTestFramework(_ => new TestFrameworkCapabilities(), (_, _) => new DummyAdapter());
var app = await builder.BuildAsync();
return await app.RunAsync();

internal class DummyAdapter() : ITestFramework, IDataProducer
{
    public string Uid => nameof(DummyAdapter);

    public string Version => string.Empty;

    public string DisplayName => string.Empty;

    public string Description => string.Empty;

    public Type[] DataTypesProduced => new[] { typeof(TestNodeUpdateMessage) };

    public Task<CloseTestSessionResult> CloseTestSessionAsync(CloseTestSessionContext context) => Task.FromResult(new CloseTestSessionResult { IsSuccess = true });

    public Task<CreateTestSessionResult> CreateTestSessionAsync(CreateTestSessionContext context) => Task.FromResult(new CreateTestSessionResult { IsSuccess = true });

    public Task ExecuteRequestAsync(ExecuteRequestContext context)
    {
        context.MessageBus.PublishAsync(this, new TestNodeUpdateMessage(new SessionUid("1"), new TestNode()
        {
            Uid = "2",
            DisplayName = "Blah",
            Properties = new PropertyBag(new TimeoutTestNodeStateProperty(new Exception()))
        }));

        context.Complete();

        return Task.CompletedTask;
    }

    public Task<bool> IsEnabledAsync() => Task.FromResult(true);
}

internal class Capabilities : ITestFrameworkCapabilities
{
    IReadOnlyCollection<ITestFrameworkCapability> ICapabilities<ITestFrameworkCapability>.Capabilities
        => Array.Empty<ITestFrameworkCapability>();
}

@thomhurst can you confirm that the exit code is not 0?
@nohwnd I suppose some issue with the new UX?

@MarcoRossignoli ExitCode looks to be 2, so that's good. Just a misleading UI then.
Test run summary: Passed! - bin\Debug\net8.0\TUnit.TestProject.dll (net8.0|x64)
  total: 1
  failed: 0
  succeeded: 0
  skipped: 0
  duration: 30s 608ms

PS C:\git\TUnit\TUnit.TestProject> echo $LASTEXITCODE
2

Will have a look. :)
We need that intermediate service that summarizes the data for consumers, and the ux will just render them so all different possible renditions of the result (like exit code, terminal and trx) are reporting the same results.


Add cryptocurrency prices using bittrex api

Hi There,
First timer here! I'd like to add a functionality that would fetch cryptocurrency ticker prices from the public bittrex api.
e.g. ticker BTC-LTC or market BTC-LTC would return the real-time tick values for a market.
Could this be in conflict with the existing currency feature? I'm all ears for suggestions!

If you could think of a query that unambiguously calls the cryptocurrency module (like "BTC-LTC cryptocurrency") that would make it easier to direct the query to the appropriate module.

cryptocurrency, crypto, ticker, market should call the cryptocurrency module unambiguously (e.g. cryptocurrency BTC to LTC, get ticker for LTC to BTC)
If I enter the symbols BTC and LTC into the fixer api, the "rates" returns empty. Would it be better to call the bittrex api if the above condition is satisfied?

I think it would be ideal to only call one API per user query. Since you know Fixer won't give you a value for Rates, I would try to make that query rely entirely on Bittrex without calling Fixer. So you would have to implement some logic to decide which API to call based on the user's query.

I was just thinking to add this. Are you working on the feature?

Yep! Feel free to take a look at #283 and make changes as you see fit if you'd like to work on it (:

is this issue still open


Created cityplym.txt

pull request from andrew reed at city college plymouth

@asreed666 First stage of verification passed, official domain for City College Plymouth is cityplym.ac.uk as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@asreed666 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Add Koala destination documentation

What do these changes do?
Initial documentation of koala destination
Configuration
transformer
Type of documentation

[x] New documentation
[ ] Documentation update
[ ] Hotfix

@gustavowt thanks for your contribution! While we review the doc, request you to please sign the CLA if you haven't already. Thanks!

The CLA is already, filled, thans

@gustavowt thanks! this integration is expected to go live by March 20. We will release the docs along with it.

@gustavowt thanks! this integration is expected to go live by March 20. We will release the docs along with it.

@ameypv-rudder is there any chance we could get this out before March 20? Our mutual customer Sanity.io has been hoping to leverage this integration for a while now and we'd prefer to avoid an extra two weeks of latency here!

@samoht625, we understand you.
However, along with the transformer, we need to make changes to the configuration and the web app (we'll reuse your contributions), which we're already working on.
Given our other sprint commitments, we can release this integration to production on March 20.
We'll keep you posted if we are able to expedite this.
Thanks for your contribution and patience!
CC @Gauravudia @krishna2020

@samoht625 just to confirm, this integration is now live and the docs are available at: https://www.rudderstack.com/docs/destinations/streaming-destinations/koala/

Thank you! We let the customer know earlier today :)
On Thu, Mar 21, 2024 at 9:27 PM Amey Varangaonkar @.***>
wrote:

@samoht625 https://github.com/samoht625 just to confirm, this
integration is now live and the docs are available at:
https://www.rudderstack.com/docs/destinations/streaming-destinations/koala/
—
Reply to this email directly, view it on GitHub
https://github.com/rudderlabs/rudderstack-docs/pull/1186#issuecomment-2014333462,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABZIR45MZA7E5FCVRXSI53YZOXJZAVCNFSM6AAAAABD5BZ3FOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJUGMZTGNBWGI
.
You are receiving this because you were mentioned.Message ID:
@.***>


Dispose LinkedTokenSources

Summary
There is at least one memory leak in NBitcoin because LinkedTokenSource instances have to be disposed when their WaitHandle instances are used.
Details
Yesterday @nopara73 found a memory leak in Wasabi Wallet after some user reported the wallet becomes slower and slower after running it for a couple of days.
Given I couldn't request his wallet process dump file (because the private keys are there) I run my Wasabi wallet and keep it running for about 4 hours before creating a core dump to analyze (this is necessary because attaching a debugger crashes the wallet for some unknown reason). The process heap dump showed an incredible huge amount of CancellationTokenSource instances and an also big number of Linked2CancellationTokenSource instances that combined were using more memory than all the byte[] instances together.
It looks pretty abnormal that plumbing types were listed at the top of the memory usage objects! See:

After disposing the LinkedTokenSource I build NBitcoin for debug and referenced it from Wasabi wallet to see the impact in the memory usage. I also was able to load the Wasabi and NBitcoin symbols in order to get a more descriptive list of objects.
Below you can see a better list of objects:

This makes a lot of sense for Wasabi, GolombRiceFilters are kept in memory and byte[] and uint256 are among the top types consuming memory. Of course other applications could be not suffering this problem because it only affects those that connects to peers and basically use the peer-2-peer network capabilities.
@NicolasDorier please review it carefully and if well this is not urgent, we want to release Wasabi wallet in Oct 31 so, it would be great if you could release a new package version before.

Just a side note: it takes several days/weeks to slow down the process enough because as you can see, or calculate, from the numbers in the first image every CancellationToken requires only 80 bytes so, it leaks memory very slowly. For example, leaking between 10 MB/hrs and 15 MB/hrs (more or less what I saw in Wasabi Wallet) it leaks 7.2 GBs/month and 10.8 GBs/month.

Funny he tweeted that today https://twitter.com/davidfowl/status/1050278811558850560


Enable basic solr auth

I am testing out how well adding in Basic Auth works with the OpenID stuff....


lazy loading implemented and build issue fixed

commented the dekstop and tablet UI code and its supplementary code in other folders
implemented lazy loading of the past mails as the user scrolls down & removed sequence id from email model
fixed the issue that was preventing build in android device & renamed the app title in the android device from "test_drive" to "IITK Mail Client"

I have commented the code for other devices because, the changes that I made in my previous commit broke down that code. With that, flutter could not build the app, and hence I commented that.