[FEATURE] show / hide header menu automatically based on it's submenu

Is your request related to a problem? Please describe.
I have this menu hierarchy:
        ['header' => 'ADMINISTRASI'],
        [
            'text'    => 'Master Data',
            'icon'    => 'fas fa-fw fa-database',
            'submenu' => [
                [
                    'text' => 'Kode Milik',
                    'route' => 'ms-kode-milik.index',
                    'can' => 'plant.master.kodemilik.viewAny'
                ],
                [
                    'text' => 'Kode Milik Detail',
                    'route' => 'ms-kode-milik-detail.index',
                    'can' => 'plant.master.kodemilikdetail.viewAny'
                ],
                [
                    'text' => 'Satuan',
                    'route' => 'ms-satuan.index',
                    'can' => 'plant.master.satuan.viewAny'
                ],
                [
                    'text' => 'Jenis Tanaman',
                    'route' => 'ms-jenis-tanaman.index',
                    'can' => 'plant.master.jenistanaman.viewAny'
                ],
           ]
       ]

i know i can hide ADMINISTRASI header and Master Data menu header by specify the can attribute. but it's bothering me because i must to create the other permission and then assign it to the user.
Describe the solution you'd like
I hope ADMINISTRASI header and Master Data menu header automatically visible/hide based on the child existence
Describe alternatives you've considered
yii2-admin already have this. i mean for our reference perhaps
Additional context

Laravel version: 9.1
Laravel-AdminLTE version: 3.8
Permission Manager: Spatie 5.5

Thanks

For a nested menu it will be possible if we check that the submenu array is empty after applying the permission's filter.

where i can do that @dfsmania  ?
Thanks

@abudawud It was like a self-note. This will require changes at least on the MenuBuilder logic.

Hi, @abudawud!
Did you solve that?

Hi @ruanpepe , I don't see any solution for menu headers element, since they don't have any relation internally with items displayed below of them.
However, for submenu items there might be an approach that may work, and it's based on the creation of a new filter for the menu items, see Menu Filters. The filter should be added at the end of the filter array, or at least after the GATE filter.
This new filter should:

Detect if for a submenu item, all the childs are restricted, i.e, if the restricted property of every child exists and it's true.
When the previous condition holds, then add the property restricted with a value of true to the submenu item.

You can check the Gate Filter for reference.
The other alternative that may work is to extend the Gate filter, so it will also "restrict" submenu item that holds the condition mentioned previously.
In any case, if you get to find a solution, you may share it here or open a PR to include it on next versions. I'm a little overwhelmed by work now to try the implementations by myself.

I've done this. It was quite simple.
Just create a filter with the following as content:
<?php

namespace App\Menu\Filters;

use JeroenNoten\LaravelAdminLte\Menu\Filters\FilterInterface;

class EmptyFilter implements FilterInterface
{
    /**
     * Transforms a menu item. Hides the menu item if it has a empty submenu list.
     *
     * @param  array  $item  A menu item
     *
     * @return array The transformed menu item
     */
    public function transform($item)
    {
        if (array_key_exists('submenu', $item) && is_array($item['submenu']) && !count($item['submenu'])) {
            $item['hidden'] = true;
        }

        return $item;
    }
}

@ruanpepe Nice, I will try to add that logic inside the Gate filter when I get some time, since the Gate filter should take care of this situation too.

@ruanpepe Please, can you test in your environment the next version of the Gate filter instead of the custom filter you created?

Comment out the custom filter that you've created in the set of filters in config/adminlte.php file.
Replace the content of the GateFilter with next one:

vendor/jeroennoten/laravel-adminlte/src/Menu/Filters/GateFilter.php
<?php

 namespace JeroenNoten\LaravelAdminLte\Menu\Filters;

use Illuminate\Contracts\Auth\Access\Gate;
use JeroenNoten\LaravelAdminLte\Helpers\MenuItemHelper;

class GateFilter implements FilterInterface
{
    /**
     * The Laravel gate instance, used to check for permissions.
     *
     * @var Gate
     */
    protected $gate;

    /**
     * Constructor.
     *
     * @param  Gate  $gate
     */
    public function __construct(Gate $gate)
    {
        $this->gate = $gate;
    }

    /**
     * Transforms a menu item. Add the restricted property to a menu item
     * when situable.
     *
     * @param  array  $item  A menu item
     * @return array The transformed menu item
     */
    public function transform($item)
    {
        // Set a special attribute when item is not allowed. Items with this
        // attribute will be filtered out of the menu.

        $isWholeRestrictedSubmenu = MenuItemHelper::isSubmenu($item)
            && $this->allItemsRestricted($item['submenu']);

        if (! $this->isAllowed($item) || $isWholeRestrictedSubmenu) {
            $item['restricted'] = true;
        }

        return $item;
    }

    /**
     * Check if a menu item is allowed for the current user.
     *
     * @param  array  $item  A menu item
     * @return bool
     */
    protected function isAllowed($item)
    {
        // Check if there are any permission defined for the item.

        if (empty($item['can'])) {
            return true;
        }

        // Read the extra arguments (a db model instance can be used).

        $args = isset($item['model']) ? $item['model'] : [];

        // Check if the current user can perform the configured permissions.

        if (is_string($item['can']) || is_array($item['can'])) {
            return $this->gate->any($item['can'], $args);
        }

        return true;
    }

    /**
     * Check if a set of items are all restricted (or unallowed).
     *
     * @param  array  $items  An array with the menu items to check
     * @return bool
     */
    protected function allItemsRestricted($items)
    {
        // Check if every provided item is restricted.

        foreach($items as $item) {
            if ($this->isAllowed($item)) {
                return false;
            }
        }

        return true;
    }
}

If this woks as expected, I will create a new PR for it.

Tested it. It worked pretty well.


Nuget error

Severity	Code	Description	Project	File	Line	Suppression State
Error		Package 'PayPal.Forms 2.15.7' is not found in the following primary source(s): 'https://api.nuget.org/v3/index.json'. Please verify all your online package sources are available (OR) package id, version are specified correctly.			0

I am getting this error when attempting to install it off of nuget in visual studio.
EDIT: this occurs only with version 2.15.7; version 2.15.5 seems to be working

Also seeing this issue, fwiw

Sorry I was a little bit busy but Ill upload a fix for this over the weekend

@xerotolerant @CMorooney I just release version 2.6.0 try installing it if you continue having issue with that try adding next feed source in your nuget config https://www.nuget.org/api/v2


[Bug] Pop revive service may get stuck in infinitely retry of old epoch messages when a topic is deleted then recreated

Before Creating the Bug Report

[X] I found a bug, not just asking a question, which should be created in GitHub Discussions.

[X] I have searched the GitHub Issues and GitHub Discussions  of this repository and believe that this is not a duplicate.

[X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment
all
RocketMQ version
develop
JDK Version
8
Describe the Bug

The request offset of old epoch is bigger than the current max queue offset. And the final impact is infinitely retry or end with reviving wrong messages.
Steps to Reproduce
See bug description
What Did You Expect to See?
See bug description
What Did You See Instead?
See bug description
Additional Context
No response

这里应该是没区分获取消息失败还是位点无效

这里应该是没区分获取消息失败还是位点无效

是的，我理解获取消息返回 OFFSET_OVERFLOW_ONE 和 OFFSET_OVERFLOW_BADLY 时可以跳过了
另外为了避免重试旧的消息或丢消息(#7914) ，revive 流程可以根据 popTime 和最大长轮询时间做一个校验?

Fixed at #8475


Fix libch.so crash on ubuntu 16.04

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
(Fixes: #1585)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
Manually test.
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

There is no need to using -fvisibility=hidden -fvisibility-inlines-hidden since we have version script.


Fix Data.Text.Lazy support (h$lazyTextFromString)

This brings Data.Text.Lazy working.
TEXT_ARR macro was undefined (names changed). Requires also patching of rts.h that is in ghcjs repo (https://github.com/ghcjs/ghcjs/pull/431)

Thanks, I've merged this, but since I've rebased the commit on top of master, github doesn't see this.

Thanks!


UnboundLocalError: local variable 'is_dct_decode' referenced before assignment

 [Traceback (most recent call last):,   File "/usr/local/bin/polyfile", line 11, in <module>,     load_entry_point('polyfile', 'console_scripts', 'polyfile')(),   File "/Users/allison/Documents/tob/polyfile/__main__.py", line 72, in main,     for match in matcher.match(file_path, progress_callback=progress_callback):,   File "/Users/allison/Documents/tob/polyfile/polyfile.py", line 170, in match,     yield from submatch_iter,   File "/Users/allison/Documents/tob/polyfile/pdf.py", line 288, in submatch,     yield from parse_pdf(file_stream, matcher=self.matcher, parent=self),   File "/Users/allison/Documents/tob/polyfile/pdf.py", line 282, in parse_pdf,     yield from parse_object(file_stream, object, matcher=matcher, parent=parent),   File "/Users/allison/Documents/tob/polyfile/pdf.py", line 208, in parse_object,     if is_dct_decode and raw_content[:1] == b'\xff':, UnboundLocalError: local variable 'is_dct_decode' referenced before assignment
triggering file: common_crawl/6fb/9cc/eb3/6fb9cceb33a2bf98749e895e43840e90f4bcbf4a631b512c010675e3763f5433

6fb9cceb33a2bf98749e895e43840e90f4bcbf4a631b512c010675e3763f5433.pdf


Error after attempt to save edited metadata

https://data.catalogueoflife.org/dataset/1146/about
I have edited metadata for CrabCat, id 1146. After I pushed Save button, I have got following error message (422):

duplicate of #1040


3.1.0 break change mode button

After updating to 3.1.0 I noticed the following problem: clicking on the change mode button closes the datepicker!
The problem is not present on the online demo, I suspect they are still running on 3.0.2, but I cloned the repo and then ran the examples locally and I can reproduce the problem.

Thank you for reporting this bug! As soon as it's fixed I'll release a new version

@ingro I released v3.1.1 which should fix this issue

Thanks @FrancescoCioria , I can confirm that the problem is fixed!


Dice score cannot be calculated for each class separately

🐛 Bug
Dice score cannot be calculated without reduction, instead raising a runtime error.
To Reproduce
Minimal reproducing example:
>> import torch
>> from torchmetrics import Dice
>> Dice(average='none', num_classes=3)

raises the following error
Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "[redacted]/site-packages/torchmetrics/classification/dice.py", line 168, in __init__
      raise ValueError(f"The `reduce` {average} is not valid.")
ValueError: The `reduce` none is not valid.

Same error is encountered with average=None.
Expected behavior
The documentation states

...
average:
Defines the reduction that is applied. Should be one of the following:
- 'micro' [default]: Calculate the metric globally, across all samples and classes.
- 'macro': Calculate the metric for each class separately, and average the
metrics across classes (with equal weights for each class).
- 'weighted': Calculate the metric for each class separately, and average the
metrics across classes, weighting each class by its support (tp + fn).
- 'none' or None: Calculate the metric for each class separately, and return
the metric for every class.
- 'samples': Calculate the metric for each sample, and average the metrics
across samples (with equal weights for each sample).

while neither 'none' nor None works.
Environment

TorchMetrics version (and how you installed TM, e.g. conda, pip, build from source): pip, version 0.11.0 and 0.11.3.
Python & PyTorch Version (e.g., 1.0): 3.10.6, 1.13.1.
Any other relevant information such as OS (e.g., Linux): Mac.

Additional context
Looking at the code, something seems fishy. Comparing the following two code snippets of classification/dice.py:
https://github.com/Lightning-AI/metrics/blob/825d17f32ee0b9a2a8024c89d4a09863d7eb45c3/src/torchmetrics/classification/dice.py#L149-L151
and
https://github.com/Lightning-AI/metrics/blob/21b23b6d472ec542c764a789af63bd054fbb3512/src/torchmetrics/classification/dice.py#L167-L168
It seems line 167 is wrong since average is not modified between the two snippes.

@asbjrnmunk would you be interested in working on this case and adding no reduction?

Isn't Dice score equivalent to F1 score? Mathematically it works out the same, not sure if there are some implementation nuances. If both are the same, maybe just add make an alias for people who prefer the name 'Dice' and a small line in docs of their eqivalence.

Have the same issue, I used MulticlassF1Score with average None and it worked for me. (since dice is equivalent to F1 score : https://torchmetrics.readthedocs.io/en/stable/classification/f1_score.html#multiclassf1score:~:text=(values)-,MulticlassF1Score,-CLASS)
pred = torch.tensor([0,2,5,2,2,2,1])
target= torch.tensor([0,1,5,2,1,2,1])
dice = MulticlassF1Score(num_classes=6,average=None)
OUTPUT :
tensor([1.0000, 0.5000, 0.6667, 0.0000, 0.0000, 1.0000])

Hi any updates on this? it would be handy for Dice score to support average=None since its also in the documentation


Undocumented idle delay variable

Hello,
I was looking for a way to insert a delay before triggering Codeium suggestions, and found this:
https://github.com/Exafunction/codeium.vim/blob/679e69465941451790e71b44109e07bcf1aa1571/autoload/codeium.vim#L363
This variable does exactly what I wanted, but it's not mentioned anywhere in the README or in the help page (:h codeium).
Is there a specific reason? Am I not supposed to use this variable?

This delay helps us debounce requests to reduce unnecessary load. If you'd like to make it configurable/submit a PR to that effect, that sounds reasonable, as long as 75ms is the minimum.

Actually I misspoke, this debouncing is now handled in the language server binary. So you're free to set it to whatever you like.

I don't really see a need to expose this, but feel free to submit a PR if you'd like to document it / make it configurable. As Prem said, the minimum will always be 75 ms regardless of what it's set to.

thanks for the info, I submitted a pull request (#138).


what are difference between "page.post.sort()" and "site.post.sort()"?

I found that why the archive page can't view all my post pages just because the difference between the flowing codes。
<% site.posts.sort('date', 'desc').limit(theme.customize.post_count || 5).each(function(post, i){ %>
and
<% page.posts.sort('date', 'desc').each(function(post) { %>
you can see "page" and "site" at the beginning.

site.posts lists all existing posts, while page.posts filters these posts based on the current page and uses pagination.  I am using the page.posts variable for the archive layout, because this makes it possible to filter the posts on a specific tag, month, ... (eg: https://probberechts.github.io/cactus-dark/tags/example/). If you don't need all this, then I suppose you can change it to site.posts, but a better solution is to disable pagination by adding per_page: 0 to your config.


Change code coverage trigger

Motivation: pull_request is actually describing the target branch. So the check for the name of the PR branch is handled in if: !startsWith(github.head_ref, 'dependabot')
See the doc page here:
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows

To run a job based on the pull request's head branch name (as opposed to the pull request's base branch name), use the github.head_ref context in a conditional.

Description:This change makes it so that any PR branch which starts with dependabot skips the Code Coverage workflow.
Part of https://github.com/grafana/code-coverage/issues/17

Going to go ahead and merge to see how it works out!


Help wanted for SPA + Code Flow

How do i implement the REST Server Part of the Code Flow Authentication in combination with a SPA ?
Like statet here: https://security.stackexchange.com/questions/129928/oidc-flow-for-spa-and-restful-api
**Authorization Code Flow**

1. User navigates to SPA, which redirects user to IdP to sign in.
2. User signs in (and authorizes the application, if needed).
3. IdP returns user to SPA with Authorization Code.
4. JavaScript code in SPA sends the Authorization Code to a login endpoint on the REST API Server.
5. The REST API Server sends a request to the IdP Server containing the Authorization Code (and usually also a Client ID and Client Secret which identify the REST API Server to the IdP server).
6. The IdP validates the Authorization Code and sends the Access Token and ID Token to the REST API Server.
7. The REST API Server stores the Access Token and ID Token in its memory, and sends its own Session Token back to the SPA.
8. For every request the SPA makes to the REST API Server, it includes the Session Token which the REST API Server gave it. If the REST API Server needs to request resources from another server, it uses the stored Access Token to make that request.

Any help with that? Or hints what to do?
Thansk and regards, fl0w

Hey @fl0wx
I'm unsure if I understand the question correctly.
If so, I would not recommend using the steps described. The SPA should get the token(s) on its own and just send the access_token to the REST API. The API then can for example verify it using the token introspection.

@livio-a:

I'm unsure if I understand the question correctly. Do you want to create a REST API in Go and us it with a SPA?
yes, but authorization will be done separate (ldap groups).

If so, I would not recommend using the steps described. The SPA should get the token(s) on its own and just send the access_token to the REST API. The API then can for example verify it using the token introspection.
i read many times that this approach is not recommended because of security concerns. In that case i need to store the access token in the browser, right?

@fl0wx :

If so, I would not recommend using the steps described. The SPA should get the token(s) on its own and just send the access_token to the REST API. The API then can for example verify it using the token introspection.

i read many times that this approach is not recommended because of security concerns. In that case i need to store the access token in the browser, right?
and even if i fetch the access token directly in my spa, i have the issue where to save / transmit the secret key?

If you use PKCE (Proof Key for Code Exchange: RFC 7636) correctly then there's not much of a concern. You will have a randomly generated validation token instead of client_secret and store the access_token in the session storage of the browser.
There are a lot of certified OIDC libraries for all common SPA languages / frameworks which will do exactly this.
For more info, please checkout the docs of our IAM as well on how to login a user into a (SPA) app:
https://docs.zitadel.ch/docs/guides/authentication/login-users
And we also have some quickstarts for some SPA frameworks (incl. Angular and React): https://docs.zitadel.ch/docs/quickstarts/introduction
On the API side, you can then use the introspection endpoint to validate if the token is (still) valid. A boolean active will be returned and depending on the implementation of your Auth Server it might return more information (username, ...)
This library will help you with that call. Check out the api example (/example/client/api) and the resource server package (/pkg/client/rs)
You could of course cache the introspection response of a token for some time (e.g. 5min) and not always introspect it on every request.

ok thanks, i´ll try that.
Any recommendations regarding my authorization requirements? I cannot do authorization with oidc currently and have to query a separate backend (ldap). Whats the best way to pair that with oidc? check roles on every request (+cache)? Using a session ? or any other idea?

Any recommendations regarding my authorization requirements? I cannot do authorization with oidc currently and have to query a separate backend (ldap). Whats the best way to pair that with oidc? check roles on every request (+cache)? Using a session ? or any other idea?

Your IdP could query the LDAP an append the groups as claim to the userinfo/introspect endpoint or the tokens. The decision to cache or refresh depends on how much risk your service can take. Or in other words, if you need a high level of guarantees don't cache.

Thanks i consider that. Everything is clear now, so ill close.


No details about the property SCIMEnabled in userstore

Document: https://docs.wso2.com/display/IS550/Configuring+Users#ConfiguringUsers-CreatingnewusersusingSCIM
Section: Creating new users using SCIM
Please make a note for the user to check if SCIMEnabled is set to true is the primary user store.
Type/Docs
Affected/5.5.0-M4
Priority/normal
Severity/Major

Updated the doc [1] with the note that the SCIMEnabled should be set to 'true'.
[1] https://docs.wso2.com/display/IS550/Configuring+Users#ConfiguringUsers-CreatingnewusersusingSCIM


meteorflux and meteor-react

Hi
Does anyone know of a way to use this and the meteor react package? I can't seem to reflect changes in my state on the UI (eg. user login error message)
Thanks

Check: https://github.com/worona/meteorflux/issues/35

Yes, maybe we should include an example of React in the documentation.
Is this enough to get you going?
// view component
MyWidget = React.createClass({
  mixins: [ReactMeteorData],
  getMeteorData() {
    return {
      active: State.get('MyWidget.isActive');
    };
  activate(event){
    Dispatch('MY_WIDGET_ACTIVATED', { event });
  },
  deactivate(event){
    Dispatch('MY_WIDGET_DEACTIVATED', { event });
  },
  render(){
    if (this.data.active)
      return
Click to deactivate

    else
      return
Click to activate

  }
});

State.modify('MyWidget.isActive', (state = false) => {
  switch(Action.type()) {
    case: 'MY_WIDGET_ACTIVATED':
      return true;
    case: 'MY_WIDGET_DEACTIVATED':
      return false;
    default:
      return state;
  }
});

I love you

It should work with TrackerReact as well but I haven't tested it yet. I will do this week. I like it better than getMeteorData.

Yeah me too, I'm going to try with that.

Great. Let me know how it goes :)


Package release for 8.1.0

There were a few missing PRs that weren't added to the Changelog.

Thanks for doing this Ignacio 👍


Failed to build on Apple Silicon

[ 53%] Building CXX object CMakeFiles/test_main.dir/testing_main.cc.o
In file included from /Users/offbeat/Projects/OpenSfM/opensfm/src/geometry/src/relative_pose.cc:1:
In file included from /Users/offbeat/Projects/OpenSfM/opensfm/src/geometry/relative_pose.h:4:
In file included from /Users/offbeat/ceres/usr/local/include/ceres/tiny_solver.h:57:
In file included from /opt/homebrew/include/eigen3/Eigen/Dense:1:
In file included from /opt/homebrew/include/eigen3/Eigen/Core:50:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/complex:932:12: error: no matching function for call to 'hypot'
return std::hypot(__c.real(), __c.imag());
^~~~~~~~~~

Did you succeed to build opensfm on your system finally ?


Import priority tool

In https://github.com/dart-lang/language/issues/4112 one technique discussed/suggested is to export a library with show/hide.

and then import that everywhere you would otherwise import package:flutter/material.dart.

I think we need improved tooling for this.
When I once attempted something similar, the inconvenience of needing to select the correct import - and needing to remember it - is not great.
Perhaps we should have some kind of annotation we could use to say that "this export is preferred over importing directly"? Or perhaps that should be its own issue? I'm not sure where it would go though.

Originally posted by @TekExplorer in https://github.com/dart-lang/language/issues/4112#issuecomment-2386427067
In my company, we have an internal rule. Say we have the following project structure:
lib/
├── a.dart
├── b.dart
├── f1/
│   ├── a1.dart
│   ├── b1.dart
│   └── f1.dart // barrel file exporting a1, b1
└── f2/
    ├── a2.dart
    ├── b2.dart
    ├── f2.dart // barrel file exporting a2, b2, f3/f3
    └── f3/
        ├── a3.dart
        └── f3.dart // barrel file exporting a3

If we are in either a or b, we'd import the barrel files for f1 or f2.
If we are in a1 and we need something from b1 we'd import it directly, if we need anything else we'd import the closest file with that declaration (meaning a, b or f2/f2)
If we are in a2 we'd follow the same rule as above (for files inside f3 we'd import its barrel)
If we are in f3 we'd import only barrel files or a/b.

I'm sure other projects have other rules for this but the point stands that importing the right file is a bit hard and a better tool for this would be a great addition!
Not sure what to suggest besides the above but I'm opening this as a place for this conversation.
P.S.: If this is not the right place to open this please say so.

I have the same rule with
lib/
├── core/
│   ├── a/
│   │   ├── a1.dart
│   │   ├── a2.dart
│   │   └── a.dart  // barrel file exporting a1, a2
│   ├── b/
│   │   ├── b1.dart
│   │   ├── b2.dart
│   │   └── b.dart // barrel file exporting b1, b2
├── feats/
│   └── f1/
│       └── f1_a.dart // import a, b

Every time I want to import something from a1, I have to choose between four options: relative or full path, and barrel or direct file. This creates significant mental overhead. To make matters worse, code completion randomly picks imports, sometimes choosing a relative import with the direct file, and other times a full path import from the barrel file. Fixing these inconsistencies is extremely frustrating.

For your particular issue, might I suggest instead lib/core.dart and lib/feats.dart? That way you can always use package imports without touching src, giving you one option for importing anything. It's possible, without knowing details of your case, that making these barrel files for every folder within core might be overkill

Related to:

https://github.com/dart-lang/sdk/issues/58778
https://github.com/dart-lang/sdk/issues/58749


Change $MYTH token logoURI back to png

Phantom v15.0.0 has a bug where it does not display tokens that have a .gif for the logoURI, so reverting back to png for now.
I also upped the resolution of the logo.png image from 44px -> 128px.
I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

@keone Could I get this manually reviewed please? Much much appreciated :)

added in https://github.com/solana-labs/token-list/commit/4718b3c204c90c1c23b6774814c30c59bd55b198


Now that I have the group, how to find its members

Please link to a related topic especially such as " Now that I have the group, how to find its members "

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

ID: d063d71b-c1d5-e995-9e0d-a3daf646c712
Version Independent ID: 7cff679f-a994-e371-a227-b8c5635f1aa2
Content: Get-UnifiedGroup (exchange)
Content Source: exchange/exchange-ps/exchange/users-and-groups/Get-UnifiedGroup.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@officedocsbot assign @yogkumgit

Hello @blouwagie
Thanks for your feedback.
I think you refer to the capability that offers the Get-UnifiedGroupLinks cmdlet, there is already a reference to it in this article that says To view members, owners and subscribers for Office 365 Groups, use the Get-UnifiedGroupLinks cmdlet.
Thank you

@get-itips  Thank you very much for the contribution and sharing this explanation. @blouwagie
Hope this comment is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also

@officedocsbot close


Bug: Impossible to grant refund for fulfilled lines

What are you trying to achieve?
Right now it's only possible to grant refund for unfulfilled lines, because orderGrantRefundCreate and orderGrantRefundUpdate do not have Fulfilled lines input.
Steps to reproduce the problem

Create an order with captured transaction.
Fulfill one of the order lines.
Grant refund for fulfilled order line
API returns INVALID error

What did you expect to happen?
Mutations orderGrantRefundCreate and orderGrantRefundUpdate should either:

accept fulfillment line IDs in order lines field
have separate field for fulfillment lines

Logs
https://github.com/saleor/saleor/assets/41952692/e3871ad0-e612-473a-86df-0fe37ad90706
Mutation:
mutation OrderGrantRefundAdd($orderId: ID!, $amount: Decimal, $reason: String, $lines: [OrderGrantRefundCreateLineInput!], $grantRefundForShipping: Boolean) {
  orderGrantRefundCreate(
    id: $orderId
    input: {amount: $amount, reason: $reason, lines: $lines, grantRefundForShipping: $grantRefundForShipping}
  ) {
    errors {
  field
  message
  code
    }
  }
}

Variables:
{
    "orderId": "T3JkZXI6MWJkN2JjNzAtNmM4NS00ZjM3LWE5ZDYtMjJlYjI5NjYxODUw",
    "reason": "",
    "lines": [
        {
            "id": "RnVsZmlsbG1lbnRMaW5lOjQ0MQ==",
            "quantity": 1
        }
    ],
    "grantRefundForShipping": false
}

Response:
{
    "data": {
        "orderGrantRefundCreate": {
            "errors": [
                {
                    "field": "lines",
                    "message": "Provided input for lines is invalid.",
                    "code": "INVALID",
                    "lines": [
                        {
                            "field": "id",
                            "message": "Invalid ID: RnVsZmlsbG1lbnRMaW5lOjQ0MQ==. Expected: OrderLine, received: FulfillmentLine.",
                            "code": "GRAPHQL_ERROR",
                            "lineId": "RnVsZmlsbG1lbnRMaW5lOjQ0MQ==",
                            "__typename": "OrderGrantRefundCreateLineError"
                        }
                    ],
                    "__typename": "OrderGrantRefundCreateError"
                }
            ],
            "__typename": "OrderGrantRefundCreate"
        }
    },
    "extensions": {
        "cost": {
            "requestedQueryCost": 0,
            "maximumAvailable": 50000
        }
    }
}

Environment
Saleor version: v3.19.0-a.0
OS and version: macOS Sonoma 14.0 (Intel)

for now we decided that we can use respective orderLines attached to fulfillment lines


[DOCFIX] Add workflow for community submitting a new feature

If a community member wants to design and submit a new feature to Alluxio, currently we don't have a clearly written workflow for the users to follow. This change will:

Provide a clear workflow for the community users to follow
Provide a design doc template

@apc999 This is currently WIP. I think there are a few open topics to discuss. Please feel free to involve more members! Thanks!

What's the best way of sharing the design doc template. Is the docx file acceptable or we can have a publicly shared google doc?
For Chinese users that cannot access Google service, what do you think can be an alternative?
For community users, they cannot assign a Github issue. We need at least one way for them to initiate the conversation (not we look for and find their Github issue) after they are done with the feature design and need review. Maybe they can use a placeholder PR so they can request for reviews?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8264/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8407/
Test PASSed.

@apc999 This is currently WIP. I think there are a few open topics to discuss. Please feel free to involve more members! Thanks!

What's the best way of sharing the design doc template. Is the docx file acceptable or we can have a publicly shared google doc?
For Chinese users that cannot access Google service, what do you think can be an alternative?
For community users, they cannot assign a Github issue. We need at least one way for them to initiate the conversation (not we look for and find their Github issue) after they are done with the feature design and need review. Maybe they can use a placeholder PR so they can request for reviews?

@ZacBlanco Wanted to discuss the questions above with you too.
Follow-up question on Point 1: if a Chinese community user doesn't have access to Google doc and chooses another shared doc, and that doc requires the reviewer/viewer to register an account, will that be acceptable?

@jiacheliu3 IMO I would rather iterate on a PR than sign into an external service. It also gives posterity to comments and opens it to public review if others have questions. I like the idea of (3) for a placeholder PR.
I would also be ok with opening an issue, uploading a PDF there, and then having a discussion within the github issue. A PR would probably be easier to review line-by-line though.

@jiacheliu3 IMO I would rather iterate on a PR than sign into an external service. It also gives posterity to comments and opens it to public review if others have questions. I like the idea of (3) for a placeholder PR.
I would also be ok with opening an issue, uploading a PDF there, and then having a discussion within the github issue. A PR would probably be easier to review line-by-line though.

@ZacBlanco I updated the workflow adding the alternative of creating a placeholder PR and request for review there. I think that is a valid alternative, which cannot simple replace a type:feature issue.
On A PR would probably be easier to review line-by-line though I think it might be hard, as we are reviewing the feature design doc at that stage, and there may be no real implementation. I don't want to complicate the process by saying "You are required to implement some skeleton at the design stage".

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8513/
Test PASSed.

There doesn't have to be a skeleton design on a PR design doc. The PR itself can simply include the design doc and nothing else. The review on the design can then happen in the PR, and then be implemented later on after the design is approved

@ZacBlanco That's totally fair to me.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8677/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8714/
Test PASSed.

@ZacBlanco Do you mind merging this pls? It's up to you whether it goes to 2.2.

alluxio-bot, merge this please


chore: remove --bail from system tests config

Please make the same change in logging-bunyan.

@ofrobots Ok will do.


Define port minimumSize property or anything equivalent

https://github.com/atsushieno/aap-lv2-sfizz/issues/5 exposed an issue that we cannot indicate minimum port buffer size, which leads to sfizz crash at runtime. In normal circumstance, audio and MIDI buffer sizes should be different, and (at least) in our androidaudioplugin-samples-host-engine does not really differentiate them and use 8192 bytes everywhere. It's not good.
As a quick workaround for the sfizz issue, we could increase control buffer sizes. But for general purpose solution, we should define some port size property.

This can be closed within aap core itself, but I would do so after the particular aap-sfizz issue.

It was fixed (a few days ago).


Format with Prettier

Add missing tslint-config-prettier dev dependency
Add script to format the src folder with Prettier and TSLint
Run Prettier on all source files
Add package-lock.json to .gitignore

thanks for the PR, but it will bring too much lines changes. I have already added prettier config into package.json, should have more consistent code style in the future. closing this PR for now as I would prefer to commit formatted files when it's touched


Default to 8.23.4

There have been some important inter-node networking fixes recently. We should run them by default.

@jtackaberry

Ack.  Sorry about the delay, been consumed by the day job on a big project for the past month or so. Will get this tested and merged in the next couple days.

I'll just jump straight to 8.24.0 when I test this weekend :)

Closing in favor of #22 which also adds support for backup timestamps.


Windows path resolution

Unfortunately, #1 still here. Even with latest rollup-plugin-chrome-extension v3.5.4
To reproduce just clone this repo and add import React from "react" to the beginning of src\content\index.js.
There are no bundler errors anymore. But popup won't work and you will see the error:

Failed to load resource: net::ERR_FILE_NOT_FOUND react.development-94e4b17c.js:1

The content script won't work as well. With error:

Denying load of chrome-extension://nplphkojpiolefcbfafcnhehhoekkmll/Projects/experiments/js-react-boilerplate/chunks/react.development-94e4b17c.js. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.

Looks like something with a path handling here. M on Windows...

@onikienko I'm not able to reproduce what you're describing. :disappointed:
When I add the following to the content script...
import React from 'react'
import { render } from 'react-dom'

console.log('content script')

const root = document.createElement('div')
root.id = 'root'
document.body.append(root)

render(
Hello World
, root)

You can see the Popup and "Hello World" halfway down the page. Everything seems to work! :smile_cat:

If you could provide a minimum reproduction and some screenshots, maybe we can get to the bottom of this problem.

@jacksteamdev Thank you for your reply.
I created a simple repo to demonstrate the bug - https://github.com/onikienko/js-react-boilerplate-bug-demo
There is a screenshot with errors I have:

M running Windows 10. node.js v14.15.3. npm v6.14.9

I was able to test this on Linux (Ubuntu). And it works there.
So looks like the issue is on Windows. I suppose it related to path resolving.

@onikienko Thanks for the screenshots! The problem is probably caused by this line:
https://github.com/extend-chrome/js-react-boilerplate/blob/65f8dd1769accdddea34b2fc7b6efb33abcbf53c/rollup.config.js#L17
The path segment separator would be different for Windows. I tried flipping the separator on Linux, and got the same behavior from your screenshot.
I've pushed a commit that changes that line to this:
https://github.com/extend-chrome/js-react-boilerplate/blob/a86908bc0540c36b69817555a6c2cfd24b188606/rollup.config.js#L19
I don't have a Windows machine to try it out on, but hopefully this will fix it! :crossed_fingers:

Hi, @jacksteamdev
Thanks for your fixes.
It fixes the popup but not fix the content script. Because generated manifes.json will have the wrong path in web_accessible_resource:

The easiest way to fix it will be to replace https://github.com/extend-chrome/js-react-boilerplate/blob/a86908bc0540c36b69817555a6c2cfd24b188606/rollup.config.js#L19
with something like chunkFileNames: 'chunk-[name]-[hash].js. To avoid subfolders and wrong path resolution.
Btw, it will be great to do not use web_accessible_resources in this case at all...

@onikienko Thanks for all your help! This seems to be a Rollup / rollup-plugin-chrome-extension issue.
The origin of that weird path in the manifest:
const path = require('path');

const string = path.join('foo', 'bar');
// Unix    => foo/bar
// Windows => foo\\bar

This PR maps all script paths through through slash to fix this.


New version: th-ch.YouTubeMusic version 1.14.0

\n\nAuto-updated by vedantmgoyal2009/winget-pkgs-automation
Microsoft Reviewers: Open in CodeFlow

@vedantmgoyal2009 - Installer Regex needs fixing


🐛 [cloud_firestore] Query listeners overlapping when running in Firebase Emulators

Bug report
Describe the bug
When listening to 2 firestore queries, one of the queries receives events from the other one.
Steps to reproduce
I have a Flutter widget that listens to 2 Firestore queries:
class ExampleWidget extends StatefulWidget {
  const ExampleWidget({super.key});

  @override
  State<ExampleWidget> createState() => _ExampleWidgetState();
}

class _ExampleWidgetState extends State<ExampleWidget> {
  @override
  void initState() {
    FirebaseFirestore.instance
        .collection('items')
        .where('tags', arrayContains: 'foo')
        .snapshots()
        .listen(
            (items) => print('Got items from query 1: ${items.docs.length}'));

    FirebaseFirestore.instance
        .collection('items')
        .snapshots()
        .listen(
            (items) => print('Got items from query 2: ${items.docs.length}'));

    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(body: Center(child: Text('Example')));
  }
}

The widget is rendered directly in the main.dart file:
Future<void> main() async {
  await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
  FirebaseFirestore.instance.useFirestoreEmulator('localhost', 8080);
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: ExampleWidget(),
    );
  }
}

Here are the documents in the Firestore DB:
items:
  item#1:
    tags: ['foo']
  item#2:
    tags: ['foo']
  item#3:
    tags: ['bar']

Reproduction Steps:

Run the emulators with firebase emulators:start --import ./emulator_data
Run the app with Flutter Web
Observe the logs

Expected behavior
Each query should receive exactly one event for 2 and 3 matched items respectfuly (like when running in prod)
Sample project
Example repo

Additional context
The app is running in Flutter Web (Chrome).
When I run the app in production, I see the following log:
Got items from query 1: 2
Got items from query 2: 3

When running the app with Firebase Emulators, I see the following log:
Got items from query 1: 2
Got items from query 2: 2
Got items from query 2: 3

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.6, on macOS 12.6.6 21G646 darwin-arm64, locale en-CA)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.81.0)
[✓] Connected device (2 available)
[✓] Network resources

! Doctor found issues in 1 category.

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 3.0.6
Flutter SDK 3.10.6
flutter_playground 1.0.0+1

dependencies:
- cloud_firestore 4.8.4 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 2.15.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- flutter 0.0.0 [characters collection js material_color_utilities meta vector_math sky_engine]

dev dependencies:
- flutter_lints 2.0.2 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection js matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]

transitive dependencies:
- _flutterfire_internals 1.3.4 [collection firebase_core firebase_core_platform_interface flutter meta]
- async 2.11.0 [collection meta]
- boolean_selector 2.1.1 [source_span string_scanner]
- characters 1.3.0
- clock 1.1.1
- cloud_firestore_platform_interface 5.15.3 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 3.6.3 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- collection 1.17.1
- fake_async 1.3.1 [clock collection]
- firebase_core_platform_interface 4.8.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.6.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- js 0.6.7 [meta]
- lints 2.1.1
- matcher 0.12.15 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.2.0
- meta 1.9.1
- path 1.8.3
- plugin_platform_interface 2.1.5 [meta]
- sky_engine 0.0.99
- source_span 1.9.1 [collection path term_glyph]
- stack_trace 1.11.0 [path]
- stream_channel 2.1.1 [async]
- string_scanner 1.2.0 [source_span]
- term_glyph 1.2.1
- test_api 0.5.1 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- vector_math 2.1.4

Thanks for the detailed report. Using the repo provided, I was able to replicate the reported behavior:
A Dart VM Service on Chrome is available at: http://<IP_ADDRESS>:56589/j451YKN7oVU=
The Flutter DevTools debugger and profiler on Chrome is available at:
http://<IP_ADDRESS>:9100?uri=http://<IP_ADDRESS>:56589/j451YKN7oVU=
Got items from query 1: 2
Got items from query 2: 2
Got items from query 2: 3

Does this reproduce on the web SDK?

@christhompsongoogle yes, this occurs on the web SDK

Hey @ANDREYDEN - considering this occurs on the Firebase web JS SDK, I don't suppose you opened a ticket on firebase-js-sdk repo? Please share if you did. Thanks.

@russellwheatley I apologize, I didn't actually try this on the web sdk (I was referring to the Flutter Web in my previous message). I'll try to repro with just the js sdk and open an issue on that repo as well if I succeeded.

Thanks for circling back and for solving the issue. Considering this is intended behaviour on the JS web SDK, I'm going to close out this issue.


add refresh method

Hello,
I had to implement the client for the refresh endpoint access for some tests. I hope that will be useful for everybody.

Great work @camfou! Thanks.


Gitlab: add indicator for archived projects

Description
Add indicator change for https://github.com/raycast/extensions/pull/2748
See https://github.com/raycast/extensions/pull/2748#pullrequestreview-1100581454

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

@pernielsentikaer


'Client' isn't a function issue

[class Client, abstract class Client]
The name 'Client' is defined in the libraries 'package:elastic_client/src/elastic_client_impl.dart (via package:elastic_client/elastic_client.dart)' and 'package:http/src/client.dart (via package:http/http.dart)'.
Try using 'as prefix' for one of the import directives, or hiding the name from all but one of the imports.dartambiguous_import
'Client' isn't a function.
Try correcting the name to match an existing function, or define a method or function named 'Client'.dartinvocation_of_non_function
Line taken from: https://github.com/isoos/elastic_client/blob/master/example/example.dart
In my pubspec.yaml I have installed:
elastic_client: ^0.3.1
some help would be very appreciated!

You can specify a library prefix as described in:
https://dart.dev/guides/language/language-tour#using-libraries
e.g. import 'package:http/http.dart' as http; and then use http.Client.

Thank you, changing to "import 'package:http/http.dart' as http;" fixed it.
Now my problem is a code with no errors but no idea how to implement it with a textfield. I know there's an example file with the logic, but us noobs don't know how to apply that logic.


Update CODEOWNERS

Add labels for the Auto-label of PRs.

@AlexGhiondea could you get this merged for us?  I'd like to get this change in so other teams can then start also adding their labels/entries to the file next.

@joshfree yes -- I am validating that the current format won't break existing functionality -- just merged the PR in the .NET repo and will monitor/validate for a bit. If nothing breaks, the rest of the repos will be merged.

@joshfree I updated the PR with the new format we are going to use.

/check-enforcer override


Find Text and highlight within SVG image

Hi,
I am trying to search on a particular word within a svg image using my browsers Ctrl + F find tool. My issue is it does not search any of the text within the svg image. Would I need to implement my own find tool or am I missing something?
Thanks,
Arjun

Sorry, but it seems to be related to browsers and not svg-pan-zoom. You can post this question on StackOverflow

Hi Bumbu, Yes you're correct.
I find IE is the only browser with this problem, the others work fine when using their default find text feature. I have managed to find resolution for IE but I am having trouble interfacing with the svg-pan-zoom plugin. Question: Is it possible to place an svg image within an iframe and still have the ability to pan and zoom? Currently when I use an iframe, I get the "Cannot ge
svg image within an iframe and still have the ability to pan and zoom? Currently when I use an iframe, I get the "Cannot get SVG" error.
Thanks

Is this question related to previous one (with search)?
Iframe should be treated as a separate window, and if you have all the code contained in it I don't see why it would not work.
But if it is still not working then you can open a new issue for that. Also a jsfiddle example will increase chances to find a solution.

Thanks Bambu, I've managed to resolve it.


Revise Offboarding section

What chapter/section?
Offboarding
What it says now:
It is fairly vague currently.
What it should say:
Needs more details, ideally from folks who have participated in the offboarding process recently (@jessicaguo & @KristinaRiemer)

toggl:

Can deactivate users (rather than deleting) to open up new seats
Should definitely remove users as part of off-boarding because there are limited seats in free version

UA-HPC: not necessary to do anything?  Users removed automatically when no longer employees.

Downgrade GitHub permissions and remove from Google Drive

Get people's followup contact info, at least email

Include a brief bit about becoming a DCC at UA

Add info about sending final date and resignation letter to HR

Returning equipment depends on situation


PRETTY: fix partially applied binop

fix https://github.com/aya-prover/aya-dev/issues/472

bors r+


Initial Windows support

r? @edunham @aneeshusa
I don't expect it to succeed yet (windows was broken by a recent servo commit), so homu is not gated on it. But, like arm64, I'd like to get it building regularly so that I can see the output.

This change is

Just curious: did you make any progress with #302?

And re: #302, it's going to be WAY harder than expected. buildbot requires an incredibly manual setup process (involving a bunch of manual registry key edits, a few aborted service start/restarts to create initial keys with proper permissions, etc.), so I just muscled my way through the setup manually.
When we go to stand up a second machine and we're not in urgent-Windows-mode, I'd like to look at it again, because nobody should have to go through that manually.

I figured as much, that sounds painful. Which version of Windows is this machine running? I think that would be valuable to document (on the wiki).

Will do! I went with Windows Server 2012. I like that it's got a longer support cycle, but the lack of a start button is incredibly disturbing :-)

This LGTM after a squash.
Side note: As far as I can tell we haven't actually deployed any of the last 3-4 PRs to our buildbot machines. I'm sure you and @edunham both have enough on your plates already; the Homu queue only has one build right now, so can you show me exactly how to restart Buildbot cleanly to deploy this when it finishes?

@bors-servo r=aneeshusa

:pushpin: Commit 9916006 has been approved by aneeshusa

:hourglass: Testing commit 9916006 with merge d268ef1...

@aneeshusa I typically just wait for the queue to empty, log in, and then highstate. I've found that the "careful" buildbot restarts that we described have a downside that we end up with a buildbot master process that is running as an orphaned child process instead of as a child of the service framework, so I don't use it very often.
I think that if we change the salt rules to push out the files but only send a SIGHUP to a running buildbot process, that should have the best effect, and could be integrated with normal salt rules.

OK, can I try deploying these changes? I'm logged into a tmux instance on servo-master1 if you want to watch.

@aneeshusa Sure! Please go right ahead, and thanks for all of the late-Friday-night reviews & chatter :-)

:sunny: Test successful - travis

Just deployed. BTW, I turned off the automatic buildbot-master restart in #307, so I also restarted it manually.
I'm running tail +F twistd.log in tmux and I'm seeing a lot of this:
invalid login from unknown user 'servo-windows1'

As well as the same message for servo-macpro1. I think we're missing some authentication?

I know that macpro1 should not be working, but servo-windows1 should be working because of this:
https://github.com/servo/saltfs/blob/master/buildbot/master/files/config/master.cfg#L27-L28
I'm not sure what's going wrong here...

Hrm, I re-ran the steps here:
https://github.com/servo/servo/wiki/Buildbot-administration#dealing-with-troubles
And now it's seeing servo-windows1. However, the buildbot process seems to be running as root instead of as the servo user.

Which steps in particular did you run? It's weird that a single restart didn't work properly.

I attempted to run:
# su - servo
# buildbot restart --clean --nodaemon /home/servo/buildbot/master &

But it told me that the .pid file was not owned by the servo user. So I just ran it as root and the service turned over nicely :-)

Also, I think something may be wrong with our buildbot-master.conf file. service buildbot-master status says that it's not running, and checking in syslog says it was terminated with status 1, so maybe it's being invoked incorrectly?


Always download repos when they are being patched

Description

This PR updates rapids_cpm_find to force downloading of a package whenever a nonempty patch command exists.
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[ ] The documentation is up to date with these changes.
[ ] The cmake-format.json is up to date with these changes.
[ ] I have added new files under rapids-cmake/

[ ] I have added include guards (include_guard(GLOBAL))
[ ] I have added the associated docs/ rst file and update the api.rst

@robertmaynard this is close, but there is an issue with passing an empty patch command. The issue comes from passing empty strings to rapids_cpm_find and how they are parsed by cmake_parse_arguments, which seems to drop that string even if it is quoted in the rapids_cpm_find function call. I tried using the cmake_parse_arguments(parse_argv 0...) syntax instead, but that causes the cpm_find-options-escaped-* tests to fail because quotes around CPM args are no longer preserved. I'm not sure what the best approach is here and could use some advice.

@robertmaynard this is close, but there is an issue with passing an empty patch command. The issue comes from passing empty strings to rapids_cpm_find and how they are parsed by cmake_parse_arguments, which seems to drop that string even if it is quoted in the rapids_cpm_find function call. I tried using the cmake_parse_arguments(parse_argv 0...) syntax instead, but that causes the cpm_find-options-escaped-* tests to fail because quotes around CPM args are no longer preserved. I'm not sure what the best approach is here and could use some advice.

@vyasr I tried playing around as well and I don't see a great solution to this. I think we are going to do is change around rapids_cpm_generate_patch_command to generate the entire CPM/FetchContent string of PATCH_COMMAND <....> or an empty string. Therefore we only pass a PATCH_COMMAND arg when we truly have a patch.
That would mean a change to each rapids_cpm_find invocation in rapids-cmake/cpm but it should be pretty easy:
PATCH_COMMAND ${patch_command} becomes ${patch_command}

/merge

Thanks all! 🙏


Influxdb 0.13

The settings provided by your module are no longer necessary for Influxdb 0.13. The template file should reflect this.

The config file has changed a bit, using [[graphite]] rather than just [graphite] etc.
Is it worth starting a new template for v0.13 and above or just updating that template and bumping the version that is required for the module?

I think the best bet is to bump the version and update the template file. That way people can support older versions by going back versions of your module


Docu page does not reflect latest docu state

e.g.
https://external-secrets.io/provider-ibm-secrets-manager/
the changes to kv etc are not available.
https://github.com/external-secrets/external-secrets/blob/main/docs/provider-ibm-secrets-manager.md
It seems, it is still an old version of the page

Hi @haf-tech ! Documentation is now versioned. You should check it on https://external-secrets.io/latest/provider-ibm-secrets-manager
Did you find this link somewhere in our docs?

thanks @gusfcarvalho for the info
to be honest, I can not remember how I reached this page...I was on the blog section. In case, I find the source I will post it here

Cool! Meanwhile, I'll close this issue. If you happen to find it, please reopen it!


cogs-rewrite update tracking review/master branch after release-260819 (iteration 3)

After creating your pull request, tick these boxes if they are applicable to you.

[x] I have tested my changes on Python 3.5.3 or higher

Description
This PR either update cogs-rewrite branch to be up to date against the review branch, changes I made to the cogs-rewrite in the meanwhile, or both.
This is expected to be merged into cogs-rewrite at most not long after the review branch is merged into master or when diff exceeds the tolerable limit.
Update Against the Review Branch:

#2025 "Fix disconnect bug"
#2033 "Resolve issues created by last most recent PR"

New changes for cogs-rewrite:

broken up the async QueueMagement._play into several "entry builders" as I feel that the method has become a "god method" or close if it's not.

I want to do this for a long time but did not have time to get to it and the PR was so huge already.

Bugfixes for cogs-rewrite:

change self.str to ctx.bot.str when getting string for the reply text due to changes in the bot structure. This was likely forgotten by me.
async playlist.add_entry now return position like expected

Related issues (if applicable)

Finally, after force-pushing the check runs. Not sure what happened before.


missing matrix_mul directory

Please merge this or change the steps in the get started documentation.

Please look into the new github site for oneAPI samples: https://github.com/oneapi-src/oneAPI-samples


Support IS_SYMLINK on Windows

@ethomson Would you mind also having a look at this, is there anything else to consider WRT detecting Vista-style symbolic links?

Thanks.  I merged commit e7d5c142c6ed1aca4eff85781bb03ebba8fb69bc to next for testing and will merge to master in the next batch of topics.  I pushed the KWSys change to upstream KWSys for review and testing here.  Once merged there it will be integrated into CMake soon after.


Add support for RxJava 1.1.5

https://github.com/ReactiveX/RxJava/blob/1.x/CHANGES.md

Yup, I know, I'm without computer at the moment, will make a release in a
few days.
On Tue, 10 May 2016, 11:11 jakubkrolewski<EMAIL_ADDRESS>wrote:

https://github.com/ReactiveX/RxJava/blob/1.x/CHANGES.md
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/artem-zinnatullin/RxJavaProGuardRules/issues/29

Closed by #30, should be available in ~hour.


Anki 2.1.50 beta

Hi,
since beta beta 4 I get such an error. I would love to see it fixed.

It seems @ccz-2 does not maintain this add-on anymore :-(

Hopefully someone might take over or just straighten out issues that may come in the future with new versions of Anki. For me the addon is a gamechanger.

Yeah. If it means staying with 2.1.49 for the time being, I will do that and not give up this add-on.
IMHO this should be a built-in feature of Anki.

Potential fix here

It does work, thanks!


Compiler version is outdated

I tried running this program in the Zig playground, but it doesn't compile successfully. This might be due to an outdated version of the Zig compiler:
const std = @import("std");

// we make the interface very explicit here.
// Might also be possible with less comptime parameters, but could be way more ugly then
fn map(comptime Src: type, comptime Dst: type, comptime len: usize, array: [len]Src, function: fn(Src) Dst) [len]Dst {
    var result: [len]Dst = undefined;
    for (result) |*res ,index| {
        res.* = function(array[index]);
    }
    return result;
}

fn add(a: f64) f64 {
    return a + 1.0;
}

pub fn main() void {
    var array_thing = map(
        f64, // src type
        f64, // dst type
        3,   // array length
        .{1.0, 2.0,3.0},  // anonymous literal, can be coerced to array
        add, // the function
    );
    std.debug.print("Hello, {d}!", .{array_thing}); // prints "Hello, { 2, 3, 4 }!"
}

Will the Zig playground be automatically updated to use the latest compiler version, or does it still need to be updated manually?

The docker container will need to be rebuilt. I can do this soon and get it to the latest stable version. I will look into automating it but I don't know how simple that will be.

I tested your snippet after updating it but let me know if it still fails for you.

This seems to have gone stale. Please open a new issue if you still have a problem.


manifest: try to clear up the langauge on layers

The meaning of "base" isn't terribly clear.
In OCI "version 1" isn't useful.

Rebasing around #51 should make Travis happy.

LGTM
Rebase please

Rebased and merging.

@s-urbaniak this addresses your confusion, I think.


Clarify pronoun references & paragraph structure

Fixes an ambiguous pronoun reference.
If only English had a type checker...

Hi there! This should be ready to merge.


boards: update STM32 disco boards name yaml property

Update yaml property for STM32 Disco boards.
It is set to silkscreen name
Signed-off-by: Erwan Gouriou<EMAIL_ADDRESS>

Ah, makes sense, thanks for clearing that up.
BTW, is there any plan to rename disco_l475_iot1, say to stm32l475_disco or so? It has kind of a different naming convention than all the others.

BTW, is there any plan to rename disco_l475_iot1, say to stm32l475_disco or so? It has kind of a different naming convention than all the others.

There is no plan right now. I agree current naming "itches". disco_l475_iot1 was just the only name I had waiting of an official name. Then I was disappointed with official name that seems worse to me and not correct (B-L475E-IOT01A  > should be B-L475G-IOT01A).
Let's wait to see if more of the B-XXX-XXX are coming with some naming logic (I know there is a second with similar name around, but I'd like to see a real tendency)

Let's wait to see if more of the B-XXX-XXX are coming with some naming logic

Makes sense, thanks for the explanation.

Do we want to do something similar in the .dts files?


[stable/anchore-engine] bump image versions to v0.7.3 & v2.3.2

Signed-off-by: Brady Todhunter<EMAIL_ADDRESS>
Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

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

[x] DCO signed
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign

/retest

@Btodhunter looks like an api version issue. See in the log:
6:51:29.667]
I0708 06:51:29.667] 1 chart(s) linted, no failures
I0708 06:51:29.675] Installing chart 'anchore-engine => (version: "1.6.10", path: "stable/anchore-engine")'...
I0708 06:51:30.818] Error: validation failed: unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"

Could it be from the rather old postgresql dependency chart, as I find no references to Deployment extensions/v1beta1 directly in the anchore chart?

@zhill @Btodhunter Could it be from the rather old postgresql dependency chart, as I find no references to Deployment extensions/v1beta1 directly in the anchore chart?

@davidkarlsen Yeah, that's almost certainly it. It looks like the testing cluster is now on 1.16 that is hitting this issue. We'd love to upgrade it's just been a very thorny issue for users trying to upgrade and I'd really prefer not to do that for a point-release update of the application.

@zhill @Btodhunter Could it be from the rather old postgresql dependency chart, as I find no references to Deployment extensions/v1beta1 directly in the anchore chart?

@davidkarlsen Yeah, that's almost certainly it. It looks like the testing cluster is now on 1.16 that is hitting this issue. We'd love to upgrade it's just been a very thorny issue for users trying to upgrade and I'd really prefer not to do that for a point-release update of the application.

Sure - I can understand that - on the other side the pg chart is very very old - (1.0.0) while the latest one is 8.6.4 (https://github.com/helm/charts/blob/master/stable/postgresql/Chart.yaml#L3) - actually now deprecated as it is moved to bitnami.
Maybe it's time for a 2.x chart and move it home to anchore as stable is about to shut down? I guess nothing much changed in the patch release of anchore and users can just bump their tag if needed?

Sure - I can understand that - on the other side the pg chart is very very old - (1.0.0) while the latest one is 8.6.4 (https://github.com/helm/charts/blob/master/stable/postgresql/Chart.yaml#L3) - actually now deprecated as it is moved to bitnami.
Maybe it's time for a 2.x chart and move it home to anchore as stable is about to shut down? I guess nothing much changed in the patch release of anchore and users can just bump their tag if needed?

@davidkarlsen we are actually working on a 2.x chart that we will host ourselves. That should be ready very soon. In the meantime we want customers to be able to easily upgrade their deployments using this stable chart. For an interim solution, we're going to vendor in the old postgresql chart and update the apiVersion to work with k8s v1.15+

/retest

We're re-evaluating our strategy with the chart. Will submit a new PR when the time comes.


Sliders "shake" when printed values change in width

Right now when our slider values transition between single-digit and double-digit values, there is no formatted print so it changes the location of the next slider, which causes jittering. We should be able to fix it using string formatting, or by putting sliders in separate rows.

With the newer sliders, I've been removing the output number, since I'm not so sure it's a necessary thing to show. That effectively solves the problem.


HTML tag not paired in PHP files

VSCode Version: 1.7
OS Version: Win 10 64

Hello, I work a lot in PHP and one feature that will boost a lot productivity is the possibility to "pair" the HTML tags in PHP files as normally done in HTML files (please refer to the attached image for visual explanation).
I know that it is possible to switch between PHP and HTML languages using the button on the bottom right part of the page. I was just wondering if it is possible to have an automatic recognition of HTML tags in mixed HTML / PHP content (like other editors do) without the need to switch forth and back between languages.
Thanks

duplicate of #2915


Automatic MEGA run

Consider adding an option to the GUI, if a command-line version of MEGA is installed, that automatically generates a UPGMA tree with MEGA from the compareMS2 distance matrix.
The MEGA command-line version is available on https://www.megasoftware.net/ and can be launched with the following command:
megacc -a infer_UPGMA_distances.mao -d comp_distance_matrix.meg -o comp_UPGMA_tree
where "comp" is (or should be replaced with) the compareMS2 output filename root (in both places) and the "infer_UPGMA_distances.mao" is attached in the zip file below.
This creates a Newick file "comp_UPGMA_tree.nwk", which can of course be opened in MEGA (or any other software that read Newick files).
infer_UPGMA_distances.zip

To start megacc without knowing its install location, the following can be used on Windows:
cmd /c start megacc -a infer_UPGMA_distances.mao -d comp_distance_matrix.meg -o comp_UPGMA_tree
It might also be nice to open the MEGA GUI directly from compareMS2 in a similar way (with mega_64 as the command to execute)


Added style to table representation

Hi there
Since we would like to use Pandas DataFrame to present data in PyMAPDL documentation, I thought we might as well include the style in the Pyansys Theme.
The proposal is shown as this:

I'm happy to do any changes you might propose. I just tried the colors align with Ansys color theme.

Slightly improved version:

Notes
This affects any table in the documentation (see for example tech demo in User guide > Extended examples). It looks super good in my opinion, specially for big tables.

The issue is it ALSO affects autosummary (not sure why).

This is not a good effect.
Proposal
I wonder if someone more skilled than me can sort out how to create a table style in CSS which is only applied to Dataframes.
I believe by default the style for dataframes is something like Dataframe table or similar (please check this). If it is like that, we should just over write that style in our ansys.css.
I did a bit of research and I didn't find the way to do this. However, if requested I can keep trying.

Final proposal:

The general style (colouring) is common to tables, dataframes and longtable.

Tables do not have hovers.

Dataframes and longtable do have hovers.

autosummary tables have all their rows white and do have hovers (the rest of the format is inherited from table)

I have added a few more comments. I like what you've done with the comments and adding in specific sections for different types of tables, it's a bit more verbose but I think it's the right way to go.
I have only tested the dataframe table type, because that's the only one our docs are currently using. I'll have to rely on you or Alex to test out some of the other table types you have added to the CSS.

I have only tested the dataframe table type, because that's the only one our docs are currently using. I'll have to rely on you or Alex to test out some of the other table types you have added to the CSS.

I typically use sphinx tables and pandas.DataFrame, so we're going to have to test out the other styles as we go.
I think these tables look excellent. Nice work @germa89 (and by extension, @RomanIlchenko1308 who I think helped inspire this work with VM examples).

I typically use sphinx tables and pandas.DataFrame, so we're going to have to test out the other styles as we go.

In PyMAPDL you can find:

Tables: https://dev.mapdldocs.pyansys.com/user_guide/mapdl.html#unsupported-interactive-commands
Long tables: https://dev.mapdldocs.pyansys.com/user_guide/mapdl.html#table-1
Plain Dataframes: vm8 (when merged) https://mapdldocs.pyansys.com/examples/06-verif-manual/vm-008-parametric_calculation.html#sphx-glr-examples-06-verif-manual-vm-008-parametric-calculation-py
and Formatted Dataframes: https://dev.mapdldocs.pyansys.com/examples/06-verif-manual/vm-007-plastic_compression_of_a_pipe_assembly.html#sphx-glr-examples-06-verif-manual-vm-007-plastic-compression-of-a-pipe-assembly-py

If this theme modification is successful I guess we will get rid of formatted dataframes, in favour of plain dataframes which will inherit the settings (colors, etc) from the theme.

Hi @germa89 and @Andy-Grigg,
I have checked your modification of table style, and I have seen this not an issue,
however, it looks weird a bit,
that we have a connectivity (hover selection) of the first row and the index column with column, as you can see below:

But, if you move you mouse down, we have just a partial hover selection of the columns but without indexing column as you can see it below:

If I am wrong, please write me)
thank you in advance @germa89 and @Andy-Grigg !!!

Hi @RomanIlchenko1308!
I think the issue is caused by the merged rows, and I'm not really sure what the best option is to fix it. The first column is taking the color of the row that it starts on. The same thing is happening when it highlights as well.
I don't think there's much we can do to make the first column highlight correctly, because the CSS can only ever highlight a cell all the same color. I think all we can do is not highlight tables with merged cells, but I don't know if that's possible. @germa89, any thoughts?

We could create a class for non-highlighted tables if needed, so we leave it at the writer if he wants that behavior or not.
Other than that, I do not think I can fill the color issue. It is way beyond my expertise. I could try, but the amount of time required vs reward, it is very low.
I would leave it as it is. Or if @RomanIlchenko1308 wants to implement the non-highlighted class, I'm happy to review them.


Separate filesystem source impl into its own JAR

The "default" filesystem source impl should be separated into its own JAR, with a dependency on the source JAR only, to demonstrate correct decoupling.
Relates to issue #2.
Depends on issue #32.

This probably doesn't make sense, given that a source has to be an AMP as it contains Spring contexts, Web Scripts and other paraphernalia.
Given that I want the basic install experience to be a single AMP file, it's not appropriate to separate out the "default" filesystem source.


Add scripts/create_network.py

I guess it makes more sense when I maintain this in my own repo. Frequent changes are needed to keep the script working and aligned with my environment. See https://github.com/ypid/netbox-scripts


[REVIEW] feature/env-device-id

READY TO REVIEW!

TOTAL SUMMARY for test suite:
PASSED: 640/644
FAILED: 4/644
CRASH: 0/644
TOTAL: 644

!!!!!!!!!!!!!!!! FAILED gdf TESTS !!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!! FAILED psv TESTS !!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!! FAILED parquet TESTS !!!!!!!!!!!!
!!!!!!!!!!!!!!!! FAILED orc TESTS !!!!!!!!!!!!!!!!
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
SUMMARY for FAILED test suite: Date Test - orc
FAILED: 2/5 ['TEST_01', 'TEST_02']
CRASH: 0/5
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
SUMMARY for FAILED test suite: Timestamp Test - orc
FAILED: 1/12 ['TEST_02']
CRASH: 0/12
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
SUMMARY for FAILED test suite: Cast Test - orc
FAILED: 1/9 ['TEST_01']
CRASH: 0/9
MAX DELTA: 248.0

2 RALs:

TOTAL SUMMARY for test suite:
PASSED: 659/671
FAILED: 12/671
CRASH: 0/671
TOTAL: 671

!!!!!!!!!!!!!!!! FAILED gdf TESTS !!!!!!!!!!!!!!!!
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
SUMMARY for FAILED test suite: Bindable Alias Test - gdf
FAILED: 1/13 ['TEST_13']
CRASH: 0/13
!!!!!!!!!!!!!!!! FAILED psv TESTS !!!!!!!!!!!!!!!!
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
SUMMARY for FAILED test suite: Bindable Alias Test - psv
FAILED: 1/13 ['TEST_13']
CRASH: 0/13
!!!!!!!!!!!!!!!! FAILED parquet TESTS !!!!!!!!!!!!
!!!!!!!!!!!!!!!! FAILED orc TESTS !!!!!!!!!!!!!!!!
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
SUMMARY for FAILED test suite: Date Test - orc
FAILED: 2/5 ['TEST_01', 'TEST_02']
CRASH: 0/5
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
SUMMARY for FAILED test suite: Timestamp Test - orc
FAILED: 1/12 ['TEST_02']
CRASH: 0/12
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
SUMMARY for FAILED test suite: Bindable Alias Test - orc
FAILED: 2/13 ['TEST_09', 'TEST_13']
CRASH: 0/13
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
SUMMARY for FAILED test suite: Cast Test - orc
FAILED: 1/9 ['TEST_01']
CRASH: 0/9
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
SUMMARY for FAILED test suite: Literal Test - orc
FAILED: 4/5 ['TEST_01', 'TEST_02', 'TEST_03', 'TEST_05']
CRASH: 0/5
MAX DELTA: 270.0

Closed, too old and the architecture has changed since orchestrator is not needed anymore


perf(formatter): Allocation free interned

Summary
This PR removes the need for an Rc to implement interned by using the Buffer as an interner

Create an ID for the interned content
Wrap the content in StartInterned and EndInterned tag with the corresponding ID and write the content directly to the target Buffer.
Write a Reference(id) node to reference to the interned content.

The Printer skips interned content but writes it to an internal Index. The Printer uses the internal Index to resolve the Interned content when it sees a Reference. The fact that ids tend to be monotonic allows the use of a Vec as an Index similar to Group ids
The downside of this approach is that it is more complicated to reason about and it is no longer possible to inspect the content of Reference without tracking all interned content. Another downside is that the IR is slightly misleading because you see Interned content and would assume it gets printed in that place, which is not true. For example, the interned content appears before the best_fitting, but the content only gets printed inside the best-fitting variants. Moving the Interned content into the first best fitting variant doesn't work because that content only gets printed conditionally, meaning the Printer would then not always see the Interned content, failing to resolve the Reference.

Alternatives
One alternative that I explored is to use bumpallo instead and use it to allocate BestFitting vectors, dynamic strings, and Rcs. This could improve performance even more because it eliminates the 3-4% drop-time too. However, it comes at the downside that Buffer requires a new 'elements lifetime that needs to be added everywhere (Format, Formatter, Buffer, FormatNode, FormatNodeRule....). I gave up at some point because it made the API significantly more complicated.
Test Plan
cargo test

Current dependencies on/for this PR:

main

PR #7443   👈

This comment was auto-generated by Graphite.

We may want to bring this back when working on other best fitting layouts but closing for now


"Pâncești","Chilia Benei","Dieneț","Fulgeriș","Fundu Văii", "Motoc", "Petrești" and "Soci" villages are listed in the drop-down menu

Description:
The villages are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Preconditions : the website (https://peviitor-ro.github.io/ui.orase/) is up and runing. After every step delete the text you typed from the search bar.

Step 1
Type "Pâncești" in the search bar.
Expected results
The location is listed in the drop-down menu as "Pâncești, Bacău(Pâncești)"

Step 2
Type "Chilia Benei" in the search bar.
Expected results
The location is listed in the drop-down menu as "Chilia Benei, Bacău(Pâncești)"

Step 3
Type "Dieneț" in the search bar.
Expected results
The location is listed in the drop-down menu as "Dieneț, Bacău(Pâncești)"

Step 4
Type "Fulgeriș" in the search bar.
Expected results
The location is listed in the drop-down menu as "Fulgeriș, Bacău(Pâncești)"

Step 5
Type "Fundu Văii" in the search bar.
Expected results
The location is listed in the drop-down menu as "Fundu Văii, Bacău(Pâncești)"

Step 6
Type "Motoc" in the search bar.
Expected results
The location is listed in the drop-down menu as "Motoc, Bacău(Pâncești)"

Step 7
Type "Petrești" in the search bar.
Expected results
The location is listed in the drop-down menu as "Petrești, Bacău(Pâncești)"

Step 8
Type "Soci" in the search bar.
Expected results
The location is listed in the drop-down menu as "Soci, Bacău(Pâncești)"


Will this tool support RE7 in the future?

This tool won't support RE7, because it use other encryption metod. For RE2, RE3, RE7, RE8 you can use AutostongSharp.

This tool won't support RE7, because it uses other encryption method. For RE2, RE3, RE7, RE8 you can use AutostongSharp.

thanks!


Many successive JOINFAIL attempts - requires setting RP_MARGIN_DELAY to ~5000ms

Hello,
I have recently completed a board port for SWL2001 to work on ESP32-S3 with the Semtech SX1262. I can successfully join with my LNS (AWS), but only typically after several failed JOINFAIL events occurring first. Occasionally, it will join successfully on the first attempt.
I have also noticed that I must set RP_MARGIN_DELAY to a value around 5000ms for it to ever join successfully. When I enable MODEM_HAL_DBG_TRACE_RP, I notice that I always get the print that the high priority task (the join request) is in the future, and a delay amount of around 4800ms.
I have verified that the LNS is configured for the correct MAC version (1.0.4), and the correct regional parameters version. I have tried configuring both RP2_101 and RP2_103 on the SWL2001 side, with the corresponding correct RP version on AWS, as well as using MAC version 1.0.3 with similarly matching configurations on AWS, but have yet to have a successful combination with consistent results.
Is it the case that this is just the reality and behavior of LoRaWAN? Or should join attempts and RX window 1 and 2 openings be more accurate and consistent than this? Any help is appreciated.
Thanks.
Brandon
UPDATE:
I found this document and followed the section 8, RX Window Debugging procedure. I am now using a board delay of 1ms (the same as it was previously), and an RP margin delay of 234ms - far less than the previously mentioned 5000ms delay I was using.
I am able to join with this timing, but it still seems to take more JOINFAIL events than I had hoped for.

@lbm-team Bump. Hoping to get a little guidance or suggestions for reducing JOINFAILs.

Hi lbm-team,
Thank you for your response. Yes, I followed the porting guide and have run the porting tests. All tests are now passing (explanation ahead).
I realized that the reason for the need to increase the RP margin delay was a delay I added in the busy line wait loop. The intent was to avoid hogging processor time with a busy wait, as there are other peripherals and threads in my use-case. Re-running the RX debugging procedure with the delay removed shows that timing is now correct (both delays were exactly 5000ms) without any margin delay adjustment. The result from the related porting test also no longer indicates that RX and TX configuration times are too long as it did prior to the change.
This being said, I still observe more join failures than I would expect. With the RP margin delay now fixed, I have entirely run out of ideas as to what the problem could be, other than possibly the issue stemming from my gateway.
main_porting_tests_output.txt

Is this issue still valid ? Many thanks.

The issue has yet to be resolved, but yes can be closed. Thanks.


Error when trying to build the docker image

System information

OS Platform and Distribution: Docker on Windows 10 (Linux containers)

Describe the problem
Error when trying to build the docker image
Steps to reproduce the issue
in repo folder, run: docker build -t mediapipe_unity:latest . -f docker/linux/x86_64/Dockerfile
Full logs
[internal] load build definition from Dockerfile                                                                                0.1s
=> => transferring dockerfile: 3.74kB                                                                                0.1s
=> [internal] load .dockerignore                                                                                0.1s2
=> => transferring context: 2B                                                                                0.0s
=> [internal] load metadata for docker.io/library/archlinux:latest                                                                              0.0s
=> [base  1/10] FROM docker.io/library/archlinux:latest                                                                                0.0s
=> [internal] load build context                                                                                0.1s
=> => transferring context: 6.79kB                                                                                0.1s
=> CACHED [base  2/10] RUN if [[ "${RANKMIRROS}" ]]; then         pacman -Syu pacman-contrib --needed --noconfirm &&         {             rea  0.0s
=> CACHED [base  3/10] RUN pacman -Syuu archlinux-keyring sudo --needed --noconfirm                                                             0.0s
=> CACHED [base  4/10] RUN echo -e "%wheel ALL=(ALL) NOPASSWD: ALL\n" > /etc/sudoers.d/01_wheel                                                 0.0s
=> CACHED [base  5/10] RUN useradd -u 1000 -m mediapipe && usermod -aG wheel mediapipe                                                          0.0s
=> CACHED [base  6/10] WORKDIR /home/mediapipe                                                                                0.0s
=> CACHED [base  7/10] RUN sudo pacman -Sy base-devel git glibc jdk11-openjdk unzip zip --needed --noconfirm                                    0.0s
=> CACHED [base  8/10] RUN git clone https://aur.archlinux.org/yay.git                                                                          0.0s
=> CACHED [base  9/10] RUN cd yay && makepkg -si --noconfirm                                                                                0.0s
=> CACHED [base 10/10] RUN rm -rf yay                                                                                0.0s
=> [android 1/6] WORKDIR /tmp                                                                                0.0s
=> [android 2/6] RUN curl -L https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip -o commandlinetools.zip &&     13.6s
=> [android 3/6] RUN sudo unzip commandlinetools.zip -d /opt/android                                                                            0.9s
=> [android 4/6] RUN yes | /opt/android/cmdline-tools/bin/sdkmanager --sdk_root=/opt/android --licenses                                         2.1s
=> [android 5/6] RUN /opt/android/cmdline-tools/bin/sdkmanager --sdk_root=/opt/android --install     "platforms;android-30"     "platform-to  219.3s
=> [android 6/6] RUN rm commandlinetools.zip                                                                                0.4s
=> [builder 1/7] COPY --from=android /opt/android /opt/android                                                                                23.7s
=> [builder 2/7] RUN mkdir ffmpeg                                                                                0.3s
=> [builder 3/7] ADD docker/linux/x86_64/ffmpeg/ ffmpeg/                                                                                0.1s
=> ERROR [builder 4/7] RUN cd ffmpeg &&     yay -Sy &&     makepkg -si --needed --noconfirm &&     cd .. &&     rm -rf ffmpeg                  37.7s

[builder 4/7] RUN cd ffmpeg &&     yay -Sy &&     makepkg -si --needed --noconfirm &&     cd .. &&     rm -rf ffmpeg:
#24 0.426 :: Synchronizing package databases...
#24 37.55 error: failed retrieving file 'core.db' from mirror.pkgbuild.com : Resolving timed out after 10000 milliseconds
#24 37.55  core downloading...
#24 37.55  extra downloading...
#24 37.55  community downloading...
#24 37.55 error: failed retrieving file 'core.db' from mirror.rackspace.com : Resolving timed out after 10000 milliseconds
#24 37.62 ==> ERROR: PKGBUILD contains CRLF characters and cannot be sourced.

executor failed running [/bin/sh -c cd ffmpeg &&     yay -Sy &&     makepkg -si --needed --noconfirm &&     cd .. &&     rm -rf ffmpeg]: exit code: 12
D:\MediaPipeUnityPlugin>

Same as #169
See also https://github.com/homuler/MediaPipeUnityPlugin/issues/172#issuecomment-843014178

Thanks!


useRequestHeaders is cached with back navigator button

Environment

Operating System: Linux
Node Version:     v22.7.0
Nuxt Version:     3.13.2
CLI Version:      3.13.2
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/nuxt-starter-7vchtp
Describe the bug
This is an simple example, but in dev mode works OK, only in production mode works wrong.

We access to our page through google link.
In home page, referrer is google.es. OK
Click to "Go to Slug page through NuxtLink Navigation" and access in mode SPA to next PAGE. In this page referer is home. OK
Click "Go to create through normal a href link" to go to create in request mode (NO SPA).
Go to previous page through back button of navigator.
REFERRER IS GOOGLE!!!! not create page!!!

UseRequestHeader is cached!!!!
Additional context
No response
Logs
No response

Any notice??? maybe a problem with BF-cache?

Any notice???

I can't reproduce with your stackblitz. I cloned it, built + ran the app.
I'm confused by your comment about the correct referer being printed out after SPA navigation as a referer is only present on the server. Maybe you are doing something else that you've not included in the reproduction?


Fatal error: Call to undefined function PhpBrew\json_decode()

Output
phpbrew install php-5.6.0 +mysql +json +pdo +apxs2=usr/bin/apx2
WARNING: json extension is required for parsing release info.
WARNING: ctype extension might be required for parsing yaml file.
PHP Fatal error:  Call to undefined function PhpBrew\json_decode() in phar:///usr/bin/phpbrew/src/PhpBrew/ReleaseList.php on line 50
Fatal error: Call to undefined function PhpBrew\json_decode() in phar:///usr/bin/phpbrew/src/PhpBrew/ReleaseList.php on line 50
Command
phpbrew --debug install php-5.6.0 +mysql +json +pdo +apxs2=usr/bin/apx2
Platform
OS:
Ubuntu 17.04

Running PHP: Need to install php 5.6 with mysql and apache
Installing PHP: installed php 5.6 but after trying to install apache and mysql showing this error.

Looks like your system PHP doesn't have the JSON extension loaded. Please try:
sudo apt install php7.0-json

sudo apt-get install php7.0-json
Reading package lists... Done
Building dependency tree
Reading state information... Done
php7.0-json is already the newest version (7.0.22-0ubuntu<IP_ADDRESS>).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

@nmohanan please see if the output your php -m contains ctype and json. Even if the packages are installed, they may be disabled in your PHP configuration.

When i do php -m i can see the ctype and json in the list,
php -m
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
intl
json
libxml
mbstring
mcrypt
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache

Are you sure you're using the same PHP for running PHPBrew? According to the output, both extensions are installed and loaded but PHPBrew says they aren't. Is there a chance you have another PHP which doesn't have those extensions and you're running PHP on it?

Same problem here.
I have installed with this:
phpbrew install php-7.2.7 +json +ctype +mbstring +iconv +dom +mcrypt +curl +mysql +pdo +xml +xmlrpc +soap +zip +zlib +bcmath +bz2 +cli +exif +openssl +gettext +sockets +readline +gd +posix +gcov +ftp +mbregex +imap +filter +libgcc +debug +phpdbg +pcre +pgsql +phar +mhash +kerberos +intl +ipc +ipv6 +fileinfo +editline +sqlite +static
But executing phpbrew path throws this error:

PHP Warning:  PHP Startup: Unable to load dynamic library 'json.so' (tried: /home/vagrant/.phpbrew/php/php-7.2.7/lib/php/extensions/debug-non-zts-20170718/json.so (/home/vagrant/.phpbrew/php/php-7.2.7/lib/php/extensions/debug-non-zts-20170718/json.so: undefined symbol: __gcov_merge_add), /home/vagrant/.phpbrew/php/php-7.2.7/lib/php/extensions/debug-non-zts-20170718/json.so.so (/home/vagrant/.phpbrew/php/php-7.2.7/lib/php/extensions/debug-non-zts-20170718/json.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

phpbrew ext install json fixed it for me.


Add docs for distributed K/V discovery with secured TLS communication

Fixes #1487
Signed-off-by: Alexandre Beslic<EMAIL_ADDRESS>

LGTM

@thaJeztah PTAL, thanks for the suggestions :)

Thanks @abronan, LGTM

LGTM ping @moxiegirl

@abronan looking at this now, lines 198/199 look wrong the statement is:
You can securely talk to the distributed k/v store using TLS. This works only for Consul and Etcd, SSL support for ZooKeeper is coming.
libkv does support ZooKeeper --- ok to change?

@moxiegirl Yes, It does support zookeeper but not TLS/SSL communication with zookeeper.

Closing for my carry.


bug(gridsome): detail pages need --variant flag for install

Same as #774 but for the detail page content. (Whereas #774 was for the sidebar.)
As there in #774, I think we only want to use --variant if the plugin is not the default.

Resolved by #781


MKTextfield keyboardType not working

Using JSX to create an email address type keyboardType text input does not work. The resulting text field is a standard text field without a specific keyboard type.
Keyboard type docs: https://facebook.github.io/react-native/docs/textinput.html
The text input should show the proper email keyboard and not autocomplete or autocapitalize.
Run on iOS simulator.
import {
  MKTextField
} from 'react-native-material-kit';
import styles from './styles';

...

<MKTextField
  textInputStyle={styles.TextfieldText}
  placeholder="Email"
  style={styles.Textfield}
  onEndEditing={(email) => this.setState({email})}
  keyboardType="email-address"
/>

I just tried and I have the right keyboard with keyboardType. But like with RN itself, you have to specify autoCapitalize &  autoCorrect to not have autocorrect & autocapitalize. This example works great.
<MKTextField
  textInputStyle={styles.TextfieldText}
  placeholder="Test"
  style={styles.Textfield}
  placeholderTextColor="red"
  keyboardType='email-address'
  autoCapitalize="none"
  autoCorrect={false}
/>

I am also having similar issue. keyboard type is not changing to email-address type. instead I am seeing normal keyboard. I tried both keyBoardType='email-address' and keyBoardType="email-address"
          <TextInput style={styles.Input}
            placeholder="Email"
            placeholderTextColor="rgba(255,255,255,0.7)"
            keyBoardType='email-address'
            returnKeyType="next"
            autoCapitalize="none"
            autoCorrect={false}
            onSubmitEditing={() => this.passwordInput.focus()}
            onChangeText={(text) => this.setState({email:text})}
          />

@44kapps try keyboardType not keyBoardType. Note the lowercase b


Unnecessary conversion of trace context to base64 in OTLP exporters

OTLP pipeline converts trace and span IDs from hex to base64 only for these to be decoded back from base64 in protobuf.js when serializing the payload.
hexToBase64 should be replaced with hexToBinary which converts the hex strings to Uint8Array.

When this was written our protobuf serialization library took base64 input in order to produce binary output, not Uint8Array. We've since changed a lot about the way proto is handled so I wouldn't be surprised if that is no longer true.


Small improvement to work without CORS

Hello.
Thanks for amazing lib!
I found a strange thing in CORS specification: if you add 'upload' handler, browser will trigger CORS (and send OPTIONS preflight) even for "simple" GET and POST requests (http://goo.gl/ojJq85, http://goo.gl/XB42c0). Since sometimes it's required to a
void CORS in order to minimize latency, I created a simple patch that adds 'withoutProgress()' builder method.
What do you think?

It would be better to just check if the user has added any progress listeners. If they have not, then we would not attempt to attach to upload.

Overlapping issues with https://github.com/visionmedia/superagent/pull/538. Will track there.


Is there a way to put pre entered data instead of dummy data ?

I'd like to know if that's possible too. For example, for dummy credit card, I'd like to force a test credit card number, along with a fixed date of expiration and CVC code.

It's actually possible to put pre entered data. You can put in "alphanumeric", and instead of a pattern, simply write the number or the text (for example :
 for numbers, and for text you can wrap your text inside of [] like so :

)


Issue with Organizations

/app/app/views/organizations/_form.html.erb line #1 raised:
undefined method `model_name' for #<Organization:0x0055889036c590>

On GET /organizations/new

Needed to require the mccracken/compat/active_record library from McCracken.