proxyConsole.js:56 Warning: Unknown prop underlineStyle

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
TextField Underline should be hidden when I mention underlineStyle={{display: 'none'}}
Current Behavior
Nothing changes for the TextField UnderLine
Steps to Reproduce (for bugs)
 <TextField
              placeholder="Search here"
              inputClassName={classes.input}
              className={classes.searchField}
              margin="normal"
              underlineStyle={{display: 'none'}}
            />

Your Environment

Tech
Version

Material-UI
1.0.0-beta.7

React
15.6.1

browser
chrome

The v1-beta branch do not support this feature.

will this support available once the stable version released?

@SidduMirji No. Use the class name API instead.

Okay thank you.

@oliviertassinari I've searched through the API docs but I believe that there is no way currently to change the color of the underline within a  element using the className API.

@oliviertassinari How to do that exactly? Can you point me to an example?
I've spent a lot of time to restyle a <Select> but only managed to change the text color.

@ha7ilm We have a customization demo for the text field: https://material-ui-next.com/demos/text-fields/#customized-inputs. Here, it's going to change the underline color:
import React from 'react';
import PropTypes from 'prop-types';
import { withStyles } from 'material-ui/styles';
import Input, { InputLabel } from 'material-ui/Input';
import TextField from 'material-ui/TextField';
import { FormControl } from 'material-ui/Form';
import purple from 'material-ui/colors/purple';

const styles = theme => ({
  underline: {
    '&:after': {
      backgroundColor: purple[500],
    },
  },
});

function CustomizedInputs(props) {
  const { classes } = props;

  return (
      <TextField
        defaultValue="react-bootstrap"
        label="Bootstrap"
        id="bootstrap-input"
        InputProps={{
          classes: {
            underline: classes.underline,
          },
        }}
      />
  );
}

CustomizedInputs.propTypes = {
  classes: PropTypes.object.isRequired,
};

export default withStyles(styles)(CustomizedInputs);

@oliviertassinari Thank you very much!


Basic deserailizing type checking

I feel pretty dumb asking this.
So I want to use the crate to help me handle Extensible Priorities headers, which is a set of priority parameters encoded as a Structured Headers Dictionary.
So far we have defined two parameters, u is an sh-integer, and i is a sh-boolean. When I parse this I want to ensure that the parameters are the expected type.
Take this example
fn main() {
    let ext_priority = "u=2,i";
    let dict = Parser::parse_dictionary(ext_priority.as_bytes());
    assert!(dict.is_ok());
    println!("{:#?}", dict);
}

prints:

Ok(
    {
        "u": Item(
            Item {
                bare_item: Integer(
                    2,
                ),
                params: {},
            },
        ),
        "i": Item(
            Item {
                bare_item: Boolean(
                    true,
                ),
                params: {},
            },
        ),
    },
)

great, it works!
But if I modify the input slightly to change the contents of u
fn main() {
    let ext_priority = "u=ohnoibrokeit,i";
    let dict = Parser::parse_dictionary(ext_priority.as_bytes());
    assert!(dict.is_ok());
    println!("{:#?}", dict);
}

prints:

Ok(
    {
        "u": Item(
            Item {
                bare_item: Token(
                    "ohnoibrokeit",
                ),
                params: {},
            },
        ),
        "i": Item(
            Item {
                bare_item: Boolean(
                    true,
                ),
                params: {},
            },
        ),
    },
)

The parser reads this as sh-token, not sh-integer.
How can I do some basic type checking of the parsing result?

Ok, hunting through the code and tweaking things slightly gives me a snippet that seems to achieve what I want
  if let Some(ListEntry::Item(item)) = dict.get("u") {
        let item_value = item
            .bare_item
            .as_int()
            .ok_or("unexpected BareItem variant").unwrap();
        assert_eq!(item_value, 2);
    }

I wonder if there is a way to do this with some more syntactic sugar, how do other libraries approach it.

I guess this can be reduced down to
let urgency = match dict.get("u") {
        Some(ListEntry::Item(item)) => item.bare_item.as_int(),
        _ => None
    };

which would probably work for me.

Hello @LPardue
Thanks for checking this crate.
Your question is a good one. I agree, that it's too verbose and getting value requires many levels of matching. Hopefully, I'll find a way to make the api better.
For the time being I unwrap values like this, pretty similar to your snippet:
use sfv::*;

fn main() {
    let ext_priority = "u=2,i";
    let dict = Parser::parse_dictionary(ext_priority.as_bytes()).unwrap();

    if let Some(ListEntry::Item(item)) = dict.get("u") {
        match item.bare_item {
            BareItem::Integer(val) => { println!("{}", val);}
            _ => ()
        }
    }
}

I guess this can be reduced down to
let urgency = match dict.get("u") {
        Some(ListEntry::Item(item)) => item.bare_item.as_int(),
        _ => None
    };

which would probably work for me.

I think you'll still need either to match on urgency to get value returned by as_int(), or just call urgency.is_some() to make sure it's indeed sh-integer.
use sfv::*;

fn main() {
    let ext_priority = "u=2,i";
    let dict = Parser::parse_dictionary(ext_priority.as_bytes()).unwrap();

    let urgency = match dict.get("u") {
        Some(ListEntry::Item(item)) => item.bare_item.as_int(),
        _ => None,
    };

    if let Some(val) = urgency {
        // do something with val
        println!("{}", val);
    }
}

Yeah I left that off my snippet thanks.
My intent was to collapse down the two matches into a single Option but I wonder if that is actually the right thing to do in this case, let me explain.
In extensible priorities, omitting a parameter implies a default value. So if we received a header without "u", we should assume the default value 3. This needs to be done in my code not your parser code.
I'm not exactly sure how to handle the case whe  "u" is present but not a valid sh-integer. I can assume a default, or reject a request, or maybe something else.

yeah, looks like you still need separate branches - one to handle missing u in dict, and the other one if u's value is not int.
Maybe if you need to fallback to default value if u is missing, this will be a bit more concise?
const DEFAULT: i64 = 3;
let dict = Parser::parse_dictionary(ext_priority.as_bytes()).unwrap();
let priority = {
        if let Some(ListEntry::Item(item)) = dict.get("u") {
            item.bare_item.as_int().unwrap_or(DEFAULT) // if u is not sh-integer
        } else {
            DEFAULT // if u is missing
        }
    };

I'm closing this issue as we found a good solution to my problem and you have a new issue for the documentation thingie. Thanks again.


Incorrect code snippet

The snippet:
SELECT 'language_id' AS "LCID" FROM sys.fulltext_index_columns;
doesn't work when run. It should be:
SELECT language_id AS "LCID" FROM sys.fulltext_index_columns;

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

ID: 4b1f8df8-6e72-0cf8-1f0c-4b5a609d680a
Version Independent ID: 33fe7c44-6a47-4729-eab6-e9455f31b1f2
Content: Configure and Manage Word Breakers and Stemmers for Search - SQL Server
Content Source: docs/relational-databases/search/configure-and-manage-word-breakers-and-stemmers-for-search.md
Product: sql
Technology: search
GitHub Login: @pmasl
Microsoft Alias: pelopes

Will get it fixed. Thanks

Thanks Pedro. (Issue 2573)
@jacob-displayr Hi Jacob, just as an fyi, a very effective option that many customers like is to edit our documentation directly through a Pull Request (PR), instead of describing the fix in an Issue. If you are ever interested, you can click the Edit-pencil icon at the top-right on the article's webpage, and then click the pencil icon on the GitHub webpage.
Pedro is planning on creating a PR to fix this Issue.
Thank you.
. .

Please close, it's fixed now

I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.


How to disable dates before today

Is it possible to provide some kind of range in the disabledDates option. For example, if we want to disable all dates in the past. I tried to look for info regarding this in the docs or the issues but couldn't find any.

http://eonasdan.github.io/bootstrap-datetimepicker/Functions/#minmaxdate

Ahh yes, sorry I missed that. I appreciate your help and thanks for the package.

we can easily disable past days by using the minDate function..
$('#datetimepicker').datetimepicker({ minDate: new Date() });
you can find the example in the below link
http://www.dotnetqueries.com/Article/105/bootstrap-datetimepicker-disable-past-dates


Fix syntax errors in dapr-bot.yml

Description
Fix syntax errors introduced in dapr-bot.yml after #1091
Issue reference
Example workflow failures:
https://github.com/dapr/components-contrib/actions/runs/1304509381
https://github.com/dapr/components-contrib/actions/runs/1304451259
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@tanvigour, please review. Also, is there a process for testing the dapr-bot changes that should be documented?


Performance for summarization task on BART is low after latest Transformer 4.40 upgrade

System Info
Bad
Optimum Habana latest main: c495f479d9abf04fb7adb6f0a5607d7963186649
Synapse docker image: v1.16

Good:
Optimum Habana one commit before Transformer 4.40 upgrade: 569580ff9bf44083514533ad28e336043891947b
Synapse docker image: v1.16

Information

[X] The official example scripts
[ ] My own modified scripts

Tasks

[X] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction
cd /root/optimum-habana/examples/summarization
pip install -r requirements.txt
PT_HPU_ENABLE_REFINE_DYNAMIC_SHAPES=1 python run_summarization.py --model_name_or_path facebook/bart-large-cnn --do_predict --predict_with_generate --dataset_name cnn_dailymail --dataset_config "3.0.0" --output_dir ./tst-summarization --overwrite_output_dir --per_device_eval_batch_size 2 --use_habana --use_lazy_mode --use_hpu_graphs_for_inference --gaudi_config_name Habana/t5 --ignore_pad_token_for_loss False --pad_to_max_length --num_beams 1 --generation_num_beams 1 --bf16 --ignore_eos False
Expected behavior
The quickest way to check if something is wrong is observe performance.
Before Transformer 4.40 upgrade the speed is ~3.9 it/s
After Transformer 4.40 upgrade the speed is ~1.7 it/s

@astachowiczhabana Are we still having this regression?


Discussion: use replaceState for mutating location.state

Imagine you have data that you want to persist to a particular location in history, e.g. expanded items on the listing, which shall be remembered when the user navigates to the detail and then returns back (with propper history.back or navigate (-1) or similar).
I thought it would be best to store such location specific data into the History API state and mutate them via
navigate(currentLocation, {
  replace: true,
  state: { ...currentLocation.state, [myDataKey]: myData }
})

This has two very convenient properties

in contrast to Web Storage API like sessionStorage it supports JavaScript objects so we don't need de/serialization for the data,
the change of location will be propagated to all location listeners, so this supports reactivity, which sessionStorage does not.

But this has also one (and maybe not only one) very nasty property, which blocks usage of this approach

with every location change, reach/router triggers focus of the main area, which could have many side effects, e.g. in my app it scrolls the page to the top of the main content upon every storage via this mechanism.

Given the benefits this technique has, I'm thinking whether it deserves some more investigation. I could, for example, disable focus when there is a replace call with no change in the path. But this might have other side effects. which I'm not aware of right now, which disqualifies this technique. Interestingly, scroll restoration in Gatsby uses sessionStorage, whilst History API state feels to be a perfect fit for such use-case.
Can please someone with a better understanding of HIstory API provide more insights into whether using replaceState is good or bad for mutating the state of the current location?

I'm reviving this thread. The History API replaceState seems to be specifically prepared for mutating the state object, thus the re-focus caused by @reach/router feels like a bug - it shall not focus the main content when there is only change in a state object. Correct?


[Metaschedule] get_top_k should not return not built records

Avoid the situation when the records have measurements equal to 1e10, which is used as a stub for an indefinite measurement time, for example, when forming a cost models of the meta scheduler. The result of this will be extracting a record(that fails while building) as the best and an error in applying the tuning.

CC @masahi @echuraev


"type" reference in Relationship

Hi there,
I'm probably missing something, so I would like to know if there is any particular reason to grab the relation's type by:
@type = class_name.underscore.pluralize.to_sym
Instead of something like this:
@type = resource_klass._type.to_sym
IMHO it would make more sense to grab it from resource_klass than class_name in order to avoid incoherences such as:
Having this value for type at relationship member:

And this one at included member:

Thoughts?

I don't remember why it was done this way. I'll blame coding without coffee. See if the PR works for you.

Awesome! Thanks @lgebhardt


How can I get the the lat/lon coordinates of the click position?

Issue Type
[ ] Question
Description and/or steps/code to reproduce the problem
How can I get the the lat/lon coordinates of the click position?
Version of osmdroid the issue relates to:
6.0.1

Something like mapView.getProjection().fromPixels(x,y)

Does the MapView class has a ClickListener method?

Something like
mMapView.getOverlayManager().add(new Overlay() {
	@Override
	public void draw(Canvas c, MapView osmv, boolean shadow) {}

	@Override
	public boolean onSingleTapConfirmed(MotionEvent e, MapView mapView) {
		final IGeoPoint geo = mapView.getProjection().fromPixels((int)e.getX(), (int)e.getY());
		Toast.makeText(mapView.getContext(), "Just clicked on " + geo, Toast.LENGTH_LONG).show();
		return true;
	}
});

ok，thank you very much.


fix: unify names of supported chains

issue: https://github.com/foundry-rs/foundry/issues/1564
Was using references:
https://users.rust-lang.org/t/structopt-enum-like-args/67414/2
https://github.com/TeXitoi/structopt/blob/master/examples/enum_in_args_with_strum.rs

Motivation

Solution
Unsure if I should be adding strum
https://github.com/foundry-rs/foundry/blob/c8872a969482b8a863a04effe045774a0b1c494f/cli/Cargo.toml#L73
I was a bit too hurried and didn't try using this:
https://github.com/foundry-rs/foundry/blob/ed4eb2de59ced6c8fc2ce84a101ec9d408b7a552/cli/src/opts/mod.rs#L40-L57
Will try again and update

I'm having a lot of trouble figuring out how to use
use ethers::prelude::Chain;
instead of
https://github.com/foundry-rs/foundry/blob/62c728aba7e2a1b8824c7a9d27d4a72a43c75b41/cli/src/cmd/forge/cache.rs#L42-L68
Do you have any pointers/search terms for google fu?
I will keep on at it until I grok it

looks like the https://docs.rs/strum/latest/strum/derive.EnumVariantNames.html macro simply creates a VARIANTS constant,
we probably should add this here instead: https://github.com/gakonst/ethers-rs/blob/842f4d260f7f1f7479eaadd7ebf7f98b329d0da5/ethers-core/src/types/chain.rs#L16
so we don't have duplicate Chain types,
we can either add the VARIANTS manually or use strum there
you can test changes to ethers-rs by patching the ethers-rs dependency against a local checkout:
https://github.com/foundry-rs/foundry/blob/b11b776934cce2a0e70ce4879e7a05c9a34ac008/Cargo.toml#L52

awesome will try that

Tests should pass after ethers-rs pr gets approved
https://github.com/gakonst/ethers-rs/pull/1249

I am a bit hard stuck here and would appreciate some guidance
From what I understand the solution should be

instead of using strum to use Chain::VARIANTS from ethers-rs (pr: https://github.com/gakonst/ethers-rs/pull/1249)
Use the chain enum on the config crate

pub enum Chain {
    /// Contains a known chain
    #[serde(serialize_with = "super::from_str_lowercase::serialize")]
    Named(ethers_core::types::Chain),
    /// Contains the id of a chain
    Id(u64),
}

where I am stuck is
If I try to get a possible_value from Chain from config/src/chain.rs
use foundry_config::{cache, Chain as FoundryConfigChain, Config};

#[derive(Debug, Parser)]
pub struct LsArgs {
    // TODO refactor to dedup shared logic with ClapChain in opts/mod
    #[clap(
        env = "CHAIN",
        default_value = "all",
        possible_value = "all",
        possible_value = FoundryConfigChain::Named(Chain::Mainnet)
    )]
    chains: Vec<ChainOrAll>,
}

I get the error below

error[E0277]: the trait bound `PossibleValue<'_>: std::convert::From<foundry_config::Chain>` is not satisfied
    --> cli/src/cmd/forge/cache.rs:67:26
     |
67   |         possible_value = FoundryConfigChain::Named(Chain::Mainnet)
     |         --------------   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<foundry_config::Chain>` is not implemented for `PossibleValue<'_>`
     |         |
     |         required by a bound introduced by this call
     |
     = help: the following implementations were found:
               <PossibleValue<'help> as std::convert::From<&'help &'help str>>
               <PossibleValue<'help> as std::convert::From<&'help str>>
     = note: required because of the requirements on the impl of `Into<PossibleValue<'_>>` for `foundry_config::Chain`
note: required by a bound in `Arg::<'help>::possible_value`
    --> /Users/m1/.cargo/registry/src/github.com-1ecc6299db9ec823/clap-3.1.12/src/build/arg.rs:1720:12
     |
1720 |         T: Into<PossibleValue<'help>>,
     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Arg::<'help>::possible_value`

For more information about this error, try `rustc --explain E0277`.
warning: `foundry-cli` (bin "forge") generated 2 warnings
error: could not compile `foundry-cli` due to previous error; 2 warnings emitted
warning: build failed, waiting for other jobs to finish...
warning: `foundry-cli` (bin "cast") generated 2 warnings (2 duplicates)
error: build failed

I am a bit hard stuck here and would appreciate some guidance
From what I understand the solution should be

instead of using strum to use Chain::VARIANTS from ethers-rs (pr: https://github.com/gakonst/ethers-rs/pull/1249)
Use the chain enum on the config crate

pub enum Chain {
    /// Contains a known chain
    #[serde(serialize_with = "super::from_str_lowercase::serialize")]
    Named(ethers_core::types::Chain),
    /// Contains the id of a chain
    Id(u64),
}

where I am stuck is
If I try to get a possible_value from Chain from config/src/chain.rs
use foundry_config::{cache, Chain as FoundryConfigChain, Config};

#[derive(Debug, Parser)]
pub struct LsArgs {
    // TODO refactor to dedup shared logic with ClapChain in opts/mod
    #[clap(
        env = "CHAIN",
        default_value = "all",
        possible_value = "all",
        possible_value = FoundryConfigChain::Named(Chain::Mainnet)
    )]
    chains: Vec<ChainOrAll>,
}

I get the error below

error[E0277]: the trait bound `PossibleValue<'_>: std::convert::From<foundry_config::Chain>` is not satisfied
    --> cli/src/cmd/forge/cache.rs:67:26
     |
67   |         possible_value = FoundryConfigChain::Named(Chain::Mainnet)
     |         --------------   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<foundry_config::Chain>` is not implemented for `PossibleValue<'_>`
     |         |
     |         required by a bound introduced by this call
     |
     = help: the following implementations were found:
               <PossibleValue<'help> as std::convert::From<&'help &'help str>>
               <PossibleValue<'help> as std::convert::From<&'help str>>
     = note: required because of the requirements on the impl of `Into<PossibleValue<'_>>` for `foundry_config::Chain`
note: required by a bound in `Arg::<'help>::possible_value`
    --> /Users/m1/.cargo/registry/src/github.com-1ecc6299db9ec823/clap-3.1.12/src/build/arg.rs:1720:12
     |
1720 |         T: Into<PossibleValue<'help>>,
     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Arg::<'help>::possible_value`

For more information about this error, try `rustc --explain E0277`.
warning: `foundry-cli` (bin "forge") generated 2 warnings
error: could not compile `foundry-cli` due to previous error; 2 warnings emitted
warning: build failed, waiting for other jobs to finish...
warning: `foundry-cli` (bin "cast") generated 2 warnings (2 duplicates)
error: build failed

@shawnharmsen I think using ClapChains might be preferable here because you need to derive ArgEnum for the enum like so:
#[derive(ArgEnum)]
pub enum MyEnum {
  OptionOne,
  OptionTwo
}

Doing that it just automagically kind of works. See the CoverageReportKind enum I have in the coverage PR (in cli/src/cmd/forge/coverage.rs)

Apologies but ran into another problem
Latest commit I see how argEnum works
pub struct LsArgs {
\\ ...
#[clap(long, arg_enum, default_value = "all", help = "Name of chain")]
    chains2: ChainOptions,
}

#[derive(Debug, Clone, ArgEnum)]
pub enum ChainOptions {
    All,
    Mainnet,
    Goerli,
}

and the --help shows the new --chains2 with possible values
foundry git:(feat-unify-names-supported-chains) target/debug/forge cache ls -h
forge-cache-ls
Shows cached data from ~/.foundry.

USAGE:
    forge cache ls [OPTIONS] [CHAINS]...

ARGS:
    <CHAINS>...    [env: CHAIN=] [default: all] [possible values: all, mainnet, ropsten, rinkeby, goerli, kovan, xdai, polygon, polygon-mumbai, avalanche, avalanche-fuji, sepolia,
                   moonbeam, moonbeam-dev, moonriver, optimism, optimism-kovan, fantom, fantom-testnet, arbitrum, arbitrum-testnet, bsc, bsc-testnet, cronos]

OPTIONS:
        --chains2 <CHAINS2>    Name of chain [default: all] [possible values: all, mainnet, goerli]
    -h, --help                 Print help information

When I try to use argEnum on enum ChainOrAll I get ArgEnum only supports non-unit variants
 foundry git:(feat-unify-names-supported-chains) ✗ cargo build
   Compiling foundry-cli v0.2.0 (/Users/m1/CLionProjects/foundry/cli)
error: `#[derive(ArgEnum)]` only supports non-unit variants, unless they are skipped
  --> cli/src/cmd/forge/cache.rs:20:5
   |
20 |     Chain(Chain),
   |     ^^^^^

I've opened a new pr because I've been getting build errors that I think stem from cargo.lock
Will close this one and use this: https://github.com/foundry-rs/foundry/pull/1636


Drush connections to remotes broken

It looks like there is an issue with the entry point.
drush @staging ssh  gives following error
[example]cli-drupal:/app$ drush @staging ssh
sh: /app/web: Permission denied
command terminated with exit code 126
Connection to ssh.lagoon.amazeeio.cloud closed.
An error 126 occurred while running the command `ssh -o LogLevel=ERROR -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 32222 -t<EMAIL_ADDRESS>'cd /app/web && bash -l'`                                                                                [error]

whereas connecting directly without changing the webdirectory and executing bash works.
ssh -o LogLevel=ERROR -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 32222 -t<EMAIL_ADDRESS>
I'm not sure if that is related to the issue we were seeing yesterday - https://github.com/amazeeio/lagoon/commit/b122bda814fc7d0a55f2c7d068d9183792e517ee

@dasrecht
what is the WEBROOT env variable set too in the cli container?
it is used by drushrc.php:
https://github.com/amazeeio/lagoon/blob/f8fa6a724b4159c8ff12f8d54fed5a24b95af02b/images/php/cli-drupal/drushrc.php#L10
to automatically find the drupal webroot and is also used during remote connections to automatically cd into the right directory

mhh actually, testing this looks like it's some other problem, looking into this

looks like the culprit is here:
https://github.com/amazeeio/lagoon/commit/dca2158214b4ca3a2da9f80594405c468a17f1ba
this works when using direct ssh connections (which I tested) but not via the weird drush way it uses (cd and then running bash)
rolled back production and now figuring out how to fix this.


Not Supported For Android 11

This plugin is not working for android 11 devices. It will we very helpful if guys can fix that.
Thank You

What's the error you are getting?

Thanks for helping me out
On Wed, Apr 7, 2021, 2:43 PM Md.Azharuddin @.***> wrote:

What's the error you are getting?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/azhar1038/UPI-Plugin-Flutter/issues/39#issuecomment-814749243,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APVK4OMBNW574PLT2IOWT4TTHQO2JANCNFSM42QMGDKA
.

What's the error you are getting?
(https://raw.githubusercontent.com/imrishuroy/Images/c71958d30ee253858406175706eed27685e15a37/WhatsApp Image 2021-04-07 at 3.32.52 PM.jpeg)
Getting this error. I have 5 UPIs app still installed. Still it is not detecting any of them.
Thanks In Advance.

Can I know which upi apps do you have? Also what is your target sdk version?

I have Bhim, Google Pay, Phone Pay, Paytm, Yono, Baroda Pay
Target Sdk version is 30
And Min Sdk version is 21
On Wed, Apr 7, 2021, 4:01 PM Md.Azharuddin @.***> wrote:

Can I know which upi apps do you have? Also what is your target sdk
version?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/azhar1038/UPI-Plugin-Flutter/issues/39#issuecomment-814801741,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APVK4OL65OMR3CFHT77ZQITTHQX6PANCNFSM42QMGDKA
.

The problem was Android 11 introduced changes related to package visibility. For more information, check the documentation. I have published the updated version.

You have to change Target Sdk version from 30 to 29. It will work.

I believe it works with latest version even if you target api 30

This plugin is not working for android 11 devices. It will we very helpful if guys can fix that.
Thank You

Is this issue was fixed for you ?

I believe it works with latest version even if you target sdk 30

still not fixed.


Growing Season operators

Pull Request Checklist:

[x] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #1794

[x] Tests for the changes have been added (for bug fixes / features)

[x] (If applicable) Documentation has been added / updated (for bug fixes / features)

[x] CHANGES.rst has been updated (with summary of main changes)

[x] Link to issue (:issue:number) and pull request (:pull:number) has been added

What kind of change does this PR introduce?

Adds the op keyword to growing_season_{start | end} indices and indicators, allowing for customizable threshold operators using indices.generic.compare().
Added the op operator to the indicator docstrings in English and French.
Clarifies a docstring typo in xclim.indices.growing_season_length

Does this PR introduce a breaking change?
Not really. The call signature has changed, but default behaviour is unchanged.

coverage: 90.595% (+0.01%) from 90.584%
when pulling 8e1e57b0423a493b92f625f24b2abb9ea8a6377c on growing-season-operators
into 98c251cf59f5e9c0e1573593342445e08ea9c957 on main.


SSR render issue !!function()

Seeing this behavior when starting from bare template.  Also tried updating to latest versions but same...
export default function Home() {
  const alwaysFalse = () => false;
  return (<>

Inspect data-value on these paragraphs while refreshing the page...

Server correctly renders data-value="false"

Server incorrectly renders data-value="true" - then updates client-side

  </>
  );
}

Suggestion on discord in might be related to  !!__vite_ssr_import_2__.escape(alwaysFalse, true), false) not calling the function
Repro link on stackblitz (thanks liquid)

This is a bug in the compiler. In DOM Expressions. I'm going to move this to Solid proper repo to keep better track of it.


make envoy-eg pod able to debug

correct me if I'm wrong
Right now, there's no debug tool (curl etc) in envoyproxy/envoy, admin port is listen on <IP_ADDRESS>, we need provider a way to access config_dump for debug?
cc @danehans @arkodg WDYT?

hey @zirain what about port forwarding to the envoy pod ?

hey @zirain what about port forwarding to the envoy pod ?

that need open more than one shell, once the pod changed, you need port forward again.
I want just run one line script like following:
kubectl exec -it <pod_name> -nenvoy-gateway-system -- curl <IP_ADDRESS>:19000/config_dump

I understand your pain :). I think we might have to continue with above workflow until

we have a debug subcommand such as envoy-gateway collect to collect config_dump and much more for offline triaging (we could target this for v0.2.0)
or we support BYO Envoy Bootstrap config (scheduled for post v0.2.0)

Actually I have some workarounds now, just open a ticket to track this.
IMO, it's necessary, but not that urgent.
here's my proposal:

change the base-images like this
add a subcommand like istioctl pc all(what we do in istio project) if we have tools like egctl

replaced by https://github.com/envoyproxy/gateway/issues/794


PC plot improvements (interactivity, grouping, axes normalization, log scale changes)

PC plot is extended with following options:

Interactivity
Possibility to click on the plot to select / highlight rows (the expected behavior similar to the ScatterPlot)

Grouping
Adding option to group by a categorical column
Once grouping is applied there should be an option to select aggregator for each plotted column independently
Default aggregator: Average

Log scale improvements
"Log columns" modal should be consisted only of a subset of columns  (the ones that are currently plotted)

v1.8.2
PC Plot transformations issues:

There is no way to scroll through the columns selection. If table has too many columns, some of them won't be available. For example see SPGI dataset:

Transformations dialog can become too wide on adding columns in some cases. Tested on SPGI dataset:


document Wireless settings

Use guidance from here.

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327595


Feature request: pandas.DataFrame.to_sas

Hello,
I find very usefull pandas.read_sas but, as I'm collaborating a lot with SAS users, I'm wondering if there are some plans to implement pandas.DataFrame.to_sas?
Up to now, the only possibility I see is to pass through common file formats like pandas.DataFrame.to_csv.
Thanks a lot for your help.
Best regards.
P.S.: Sorry to push that as an issue, but I don't find how to suggest new features.

see #4052
cc @kshedden
AFAIK this is not possible. read_sas was reverse engineered, but writing out a valid sas file is not easy at all. I suppose its possible, but testing is not easy/possible. Further we generally don't want to write to a proprietary format.


No startup on Windows VM

Hey, first of all, thank you for the new KCV, I was losing my mind having to play on KC3Kai.
Now, it works without problems on my main computer, but when I tried to launch it on a VM, it will pop up for a few seconds on the Task Manager and then close without errors.
Any idea what it could be?

Windows 10 64bit
4Gb RAM
256Mb Video Memory
3 Processors

Since idk if it installs on a VM version of Windows 10, make sure .Net and VC++ is installed from here.
https://www.microsoft.com/en-US/download/details.aspx?id=30653
https://www.microsoft.com/en-us/download/details.aspx?id=48145

Installed both of them ( .NET was already installed), but the problem persists x(

hmmm I just did a fresh install of Windows 10 on a VM and had no issues. you sure the VM is 64 bit and not 32 bit? Idk if it works on 32 bit anymore after dependencies changed and switching to VS17

Well, here are my VM specs https://i.imgur.com/cktXS8o.png
So unless this is lying to me, the VM is indeed Windows 10 64 bit.

is there any debug.log file?

Well, nevermind, I got it to work.
Uninstalled all VC++ and installed them again, works now.
Guess I should have done that from the beginning.
However, I now have the same problem I had when I played on the VM via KC3Kai or directly through Chrome: the game uses 95%+ of the CPU and huge amounts of RAM, which results in an extremely laggy game x(
Playing with Edge though is a different story, 40% CPU usage at most, and low RAM usage.
Btw, on my main computer, KCV doesn´t use that much CPU and RAM at all, and runs just fine.
I admit I have no idea why it's like that, I'm not that knowledgeable about these things.

Well at least that part is fixed, unfortunately the viewer uses a chromium mini browser now so it will behave more like chrome in terms of memory usage. Its the only good alternative available to the old IE browser for C# and WPF. At that point its more looking into ways to speed up chrome rather then the program itself. (I personally use firefox for main internet use so idk much about why chrome is so taxing even though its the reason I switched). Going to close it for now though as the main issue was resolved.


Dataprep doet not work on debian:buster

The Dataprep uses the dotnetcore2 engine. When it start for the first time it downloads stuff from from https://azuremldownloads.azureedge.net/dotnetcore2-dependencies/
I noticed that Debian 10 (released 6 July 2019) is not available:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python3.7/dist-packages/dotnetcore2/runtime.py", line 181, in ensure_dependencies
    if not attemp_get_deps():
  File "/usr/local/lib/python3.7/dist-packages/dotnetcore2/runtime.py", line 175, in attemp_get_deps
    raise NotImplementedError('Unsupported Linux distribution {0} {1}.{2}'.format(dist, version[0], version[1]))
NotImplementedError: Unsupported Linux distribution debian 10.

Reproduce
# Start linux buster
docker run -it --rm debian:buster-slim

# Install python and pip
apt-get update && apt-get install python3-pip --no-install-recommends

# Install package:
pip3 install dotnetcore2

# Test dependecies:
python3 -c 'from dotnetcore2 import runtime; runtime.ensure_dependencies()'

If you replace duster (v10) with stretch (v9) it works, this is the base image from conda/miniconda3 used in the MLOps image.
Can you also include debian:duster, of at least give a matrix of supported versions in the dotnetcore2 pipy repo?
update:
I have found the dotnet-linux-matrix

Related:
https://github.com/Azure/MachineLearningNotebooks/issues/950
https://github.com/Azure/MachineLearningNotebooks/issues/713
https://github.com/Azure/MachineLearningNotebooks/issues/1003
A ugly workaround worked for me. But MS stated that it "should work" if you install .NET Core 2.1 manually first with whatever means fits your distro.

I tried to pre-install dotnetcore 2.1 as mentioned in the MS docs. I can confirm this works, but you do need to install curl as an extra dependency. This should be a transient dependency in my opinion.
# Pre install dotnetcode-2.1 on Debian-10 (note: requires wget)
wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
dpkg -i packages-microsoft-prod.deb

# note also curl is required!
apt-get update && apt-get install -y --no-install-recommends curl dotnet-runtime-2.1

In the Dataprep package (azureml.dataprep.api.engineapi.engine.launch_engine) the runtime.ensure_dependencies() is always called. This will check the dotnet libs are executable. Preinstalling the dotnetcode2.1 does work.


Revert changes from 1258

The changes made to support #1216 is not really needed as we always need the metadata loader extension entry in the extensions.json. Without this, if customer is not enabling the "WEBSITE_USE_PLACEHOLDER_DOTNETISOLATED" setting, functions will not be loaded. @brettsam knows the details.
We should revert #1258

Good bot.

Flagging this one as needing some additional discussion.

This is not valid. closing.


Not able to read from vault via spring cloud using profiles

Hi Team,
I have one microservice which get the config from vault via spring cloud.
It works fine without any profile. I need to fetch the details from vault on based of profile.
So I created folder structure in vault like /secret/application/dev and also /secret/microservicename/dev inside this I have all configurations.
So problem is I am unable to find it on profile basis from vault.
Can you please help?
Basic configuration for spring cloud server is as below-
spring.profiles.active=vault,git spring.cloud.config.server.vault.host=localhost spring.cloud.config.server.vault.port=8900 spring.cloud.config.server.vault.order=1 spring.cloud.config.server.git.order=2 spring.cloud.config.server.git.uri=https://giturl spring.cloud.config.server.git.username=username spring.cloud.config.server.git.password=password spring.cloud.config.server.git.searchPaths=configuration,iam server.port=6565
I have started the microservice in dev profile.
Thanks

Welcome @mp911de
Yes please.

The profile should be part of the secret name as shown in the docs, not in a folder structure. Instead of:
/secret/application/dev
/secret/microservicename/dev

use:
/secret/application,dev
/secret/microservicename,dev

Hi @scottfrederick
Thanks for your help.
It worked.


[BEAM-10694] Work around serialization issue with ReaderContext by memoizing the serialized form and propagating it forward.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @boyuanzz @iemejia @aromanenko-dev
This issue was discovered when working on #12519.

@lukecwik Do you think we need to cherry-pick to 2.24 branch?

Its a pretty narrow group of people who would be impacted so I would hold off from cherry-picking.


Python client - missing mandatory logs attribute

Have added the mandatory logs attribute into response format

Pull Request Test Coverage Report for Build 4676

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 70.069%

Totals

Change from base Build 4670:
0.03%

Covered Lines:
12974

Relevant Lines:
18516

💛  - Coveralls


MINOR: add note on IDEMPOTENT_WRITE ACL to 3.2.0 notable changes

Update 3.2.0 notable changes documentation to include a subsection on requiring IDEMPOTENT_WRITE permission when producing messages with default/idempotent configuration and broker version lower than 2.8.0.

Thanks @showuon I have updated per your comment

Hi @ijuma I rm'd the ul tag.
That format was originally requested in the comments here: https://issues.apache.org/jira/browse/KAFKA-13598
More info here: https://kpow.io/articles/kafka-producer-breaking-change/
I'm not sure including this line in the previous li is a good idea that mixes this note into the context of a statement about Connect, this breaking change impacts any user of Kafka where:

The Kafka Cluster has brokers running version < 2.8.0, and
The Kafka Cluster has ACLs configured, but not IDEMPOTENT_WRITE, and
Producer configuration is default, or capable of being defaulted to idempotent
The producing application is using Kafka-Clients version > 3.2.0

@d-t-w I tweaked it a bit. Does this look OK to you? Basically, I wanted to include this note in the main bullet point regarding the change.

Hi @ijuma yes it looks good to me.

Merged to trunk, 3.3, 3.2, 3.1 and 3.0.


Add note re unable to modify user profile when has AAD admin roles

Recommend you add a note to clarify that when a user has certain (any?) AAD admin roles, it is not possible to modify their user profile unless you yourself have Global Admin role. Otherwise there is an error msg. Thanks

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

ID: 7d8c77b2-27b0-269c-6e96-5ca02b8a4f18
Version Independent ID: f11ce176-9a04-5d47-05fa-8c86278048cd
Content: Add or update user profile information - Azure AD
Content Source: articles/active-directory/fundamentals/active-directory-users-profile-azure-portal.md
Service: active-directory
Sub-service: fundamentals
GitHub Login: @ajburnle
Microsoft Alias: ajburnle

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

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

@ajburnle, I believe @softwarecraft  is right and the user needs to be either global administrators or privileged role administrators to update other admin accounts.
I made a pull request to add a note about this. https://github.com/MicrosoftDocs/azure-docs-pr/pull/142978
Please confirm, @ajburnle

@ajburnle, I believe @softwarecraft  is right and the user needs to be either global administrators or privileged role administrators to update other admin accounts.
I made a pull request to add a note about this. https://github.com/MicrosoftDocs/azure-docs-pr/pull/142978
Please confirm, @ajburnle


[Feature Request] Add ability to view redis instance in read-only mode

OS
Windows
VERSION
1.5.2
ISSUE DESCRIPTION
It would be nice to be able to set an instance's settings to read-only, so for high-priority instances where I only want to look but not touch, I don't have to worry about accidental modifications or deletions.

good idea! I'am considering the implement

done, will release in next update


Feature: Expose alz provider arguments for Private DNS and Policy Assignment addition

Summary
In testing the module and using it for deployments I found that there are certain configuration properties available in the alz provider that are not exposed in the module to allow for configuration in detail of an Enterprise Scale platform landing zone setup.
In specific the alz provider exposes the policy_assignments_to_add and private_dns_zone_resource_group_id arguments that allow for configuration of Policy Assignments using the provider to override library default values with environment specific values.
Below I have included an example of the implementation proposed for the module based on what the provider documentation offers and can submit this as a PR.
Examples
variable "policy_assignments_to_add" {
  type = map(object({
    display_name               = optional(string, null)
    enforcement_mode           = optional(string, null)
    identity                   = optional(string, null)
    identity_ids               = optional(list(string), null)
    policy_definition_id       = optional(string, null)
    policy_definition_name     = optional(string, null)
    policy_set_definition_name = optional(string, null)
    parameters                 = optional(string, null)
  }))
  default     = {}
  description = <<DESCRIPTION
A map of policy assignment objects to add or update the alz archetype with.
DESCRIPTION
}

Would replace the existing definition by including the object optional arguments per the provider spec. For the private_dns_zone_resource_group_id this could be implemented using the prior art for the default_log_analytics_workspace_id variable as a reference.
variable "default_private_dns_zone_resource_group_id" {
  type        = string
  description = <<DESCRIPTION
DESCRIPTION
  default     = null
}

This would then result in an update to the data.alz_archetype.this definition to include in the defaults block the private_dns_zone_resource_group_id variable reference.
data "alz_archetype" "this" {
  id = var.id
  defaults = {
    location                           = var.default_location
    log_analytics_workspace_id         = var.default_log_analytics_workspace_id
    private_dns_zone_resource_group_id = var.default_private_dns_zone_resource_group_id
  }
...

Hi @OmnipotentOwl
Thanks for this, the feedback is much appreciated. I am back in the office next week and will respond properly then.

fixed in #11


resolve /v1/delete-ltp-and-dependents  throws internal server error for Operation-clinet update if the connected operation-client does not participate in a link

Fixes #404

Reviewer is @PrathibaJee


Error in irrigated area and slack variable

I try to run the Malawi example at 30 sec resolution. When I run the script 03_model_preparation/01_model_preparation.R, it shows the error below:
There is not enough irrigated area, which will result in slack.
Error in `map()`:
Caused by error in `$<-.data.frame`:
Warning messages:
1: In max(df$grid_size) : no non-missing arguments to max; returning -Inf
2: In max(cl_ia$ia1_cum) : no non-missing arguments to max; returning -Inf
3: In max(cl_ia$ia2_cum) : no non-missing arguments to max; returning -Inf
4: In max(cl_ia$ia3_cum) : no non-missing arguments to max; returning -Inf

It looks like there is no data in the df?

That is odd. Unfortunately, you caught me on me last day before holidays so I will not be able to have a look at this before end of August. Please send me a reminder and I will pick it up asap.

I tried to replicate your error by installing the package from the GitHub repo and a fresh download of the data. In found one error in the data. The data file with the MWI production system shares had the wrong name (farming_system_shares.csv instead of production_system_shares.csv, which I corrected in the mapspam_db database (v.0.0.2 on Zenodo now). After I corrected this I managed to run the 5 arcmin and 30 sec versions without any problem.
Hence, I do not know what caused the error. Perhaps you can reinstall the package and also update any related packages? Recently there have been changes in several of the spatial processing packages in particular terra. Perhaps you use an older version. Please try again after you re-installed the package and used the latest mapspam_db_v0.0.2 database. If the error still occurs, we can have a second look.


Add back top-level "make docs"

Just to make life easier on devs so they don't need to 'cd' into
the docs dir just to test their docs edits.  This doesn't do anything
more than "cd docs && make docs" so that all of the smarts are still
in the docs's Makefile and not in docker's.
Signed-off-by: Doug Davis<EMAIL_ADDRESS>

This can be simplified:
docs:
    make -C docs docs

And if we use "$(MAKE)" instead of just "make", then parameters like "-j"
get passed through appropriately too! :smile:

done

LGTM

LGTM


clean up documentation

Codecov Report
Base: 100.00% // Head: 99.82% // Decreases project coverage by -0.18% :warning:

Coverage data is based on head (0ebf818) compared to base (f4d9d7d).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##            master      #16      +/-   ##
===========================================
- Coverage   100.00%   99.82%   -0.18%
===========================================
  Files            9        8       -1
  Lines          616      573      -43
===========================================
- Hits           616      572      -44
- Misses           0        1       +1

Impacted Files
Coverage Δ

src/clauses.jl
99.43% <0.00%> (-0.57%)
:arrow_down:

src/q.jl
100.00% <0.00%> (ø)

src/memo.jl
100.00% <0.00%> (ø)

src/parse.jl
100.00% <0.00%> (ø)

src/grammar.jl
100.00% <0.00%> (ø)

src/frontend.jl
100.00% <0.00%> (ø)

src/traverse.jl
100.00% <0.00%> (ø)

src/PikaParser.jl

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

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


Jenkins - Adding ability to create jobs inside of folders.

Signed-off-by: Jonathan Hatalla<EMAIL_ADDRESS>What this PR does / why we need it:
Allows Jenkins maintainers to group jobs in folders.
Special notes for your reviewer:
This job does not provide any impact for currently running Jenkins configurations using this helm chart.
Assumption: The three hyphens --- between folder and job names should be unique enough to be used as a delimiter.
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @viglesiasce

/assign @lachie83


Add unique index for two fields

Your Question
Trying to figure out how to tell Gorm that there cannot be two records with the same value for two fields, meaning, the equivalent of the following code from gorm v1:
tx.Model(&Codigo{}).AddUniqueIndex("idx_codigo_grupoid", "codigo", "grupo_id")

The document you expected this should be explained
https://gorm.io/docs/indexes.html#uniqueIndex
Expected answer
The equivalent solution (with its explanation) that applies to Gorm v2 for the code above.

My bad, it seems that this is already explained, it should go like this:
type Codigo struct {
	gorm.Model
	Codigo  string `gorm:"not null;size:20;uniqueIndex:idx_codigo_grupoid"`
	Detalle string `gorm:"not null;size:160"`
	GrupoID uint   `gorm:"uniqueIndex:idx_codigo_grupoid"`
}

From the documentation:

Use same index name for two fields will creates composite indexes


BracesFixer - correctly fix indents of anonymous functions/classes

closes #1094, refs #1691

fixed tests and harmonized comment handling around {.
Please take a look at changed test cases.
input:
if (true) // foo
{
}

function () // foo
{
}

expected before this pr:
if (true) {
    // foo
}

function () {// foo
}

harmonized result after merging this pr:
if (true) { // foo
}

function () { // foo
}

I quite liked the comment moving tbh. :P

Seriously though, your new changes do look much better. ;)

ping :)

Anyone willing to make a review ?

I really wish @DeeJaVu would stop spamming this issue. ;(

It does look like GitHub have suspended the account though, so that's good. :)

Thank you @gharlan.


GPU Replacement for Performance Enhancement

Hello everyone,
I upgraded the GPU on my workstation to enhance my machine learning speed. I have updated all the drivers, and the system correctly detects the model of the GPU.
However, I have not seen an improvement in model performance. Should I consider removing and re-downloading Python packages, especially the xgboost package?
Thanks.

Could you please take a look into XGBoost's documentation site https://xgboost.readthedocs.io/en/stable/gpu/index.html
?

Feel free to reopen if there are further questions.


OUT_FILE is actually the input file

Wow. Major fuck-up on my end. o.o
REWRITE THE WHOLE DAMN THING!

Fixed in rewriting the whole damn thing, AS INTENDED!


storage: yield in kv scan to avoid occupying cpu resource for too long

What problem does this PR solve?
Issue Number: close #9188
What is changed and how it works?
This PR makes scan interface asynchronous. Then, we can reschedule a long scan task during its execution. It should help yatp schedule these tasks better. So these long scan tasks will not affect normal requests greatly.
Check List
Tests

Manual test (add detailed scripts or steps below)

Release note
Schedule long scan requests better when using the unified thread pool for the storage module.

Already implemented by other PR


Packer image build of windows-2022 using azure hosted pipeline agent fails on Install-KubernetesTools.ps1 with 404.

Description
    vhd: Describing Windows 10 SDK
    vhd:   [+] Verifies 17763 SDK is installed 4ms (2ms|2ms)
    vhd: Tests completed in 5.39s
    vhd: Tests Passed: 80, Failed: 0, Skipped: 0 NotRun: 0
==> vhd: Provisioning with powershell script: /home/vsts/work/1/s/msrepo/images/win/scripts/Installers/Install-KubernetesTools.ps1
    vhd: Install Kind
    vhd: Downloading package from: https://github.com/kubernetes-sigs/kind/releases/download/v0.12.0/kind-windows-amd64 https://github.com/kubernetes-sigs/kind/releases/download/v0.12.0/kind-windows-amd64.sha256sum to path C:\ProgramData\kind\kind.exe .
    vhd: There is an error encounterd after 0.33 seconds during package downloading:
    vhd:  Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
    vhd: Waiting 30 seconds before retrying. Retries left: 19

Virtual environments affected

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11
[ ] Windows Server 2016
[ ] Windows Server 2019
[X] Windows Server 2022

Image version and build link
20220306.1
Is it regression?
No response
Expected behavior
Packer image generation of windows-2022 completes successfully.
Actual behavior
No response
Repro steps

Configure an azure devops yaml pipeline to build the windows-2022 packer image using the contents of this virtual-environments repository.
Set the agent pool to be "ubuntu-latest"
Attempt to build it, after about ~2 hours, the 404 error message appears.

I am a bit confused myself, the files seem to be present in the git repo itself but the MS-hosted agent which is executing this pipeline is getting the 404. The yaml pipeline has "ubuntu-latest" specified as the agent pool, and the version is 2.200.2.
This last worked successfully on 02/17/2022 to build image version 20220207.1.
Is it possible the upstream git repo has some rate limiting or security settings applied which are blocking the IPs of the Microsoft hosted agents due to heavy traffic? From other systems, I can browse to the repository successfully and download those files. The packer installers immediately before this failing package are working successfully, so I do not believe it is an issue with internet connectivity as a whole from the MS-hosted agents.

Closing this issue, as a duplicate of https://github.com/actions/virtual-environments/pull/5192


Abort SelectionPrompt and MultiSelectionPrompt with Escape key

Code in this PR adds possibility to abort SelectionPrompt and MultiSelectionPrompt with Escape key. When Escape key is pressed, prompt is aborted and its Aborted property is set to true. I believe this PR does not change the current default behavior in any way, because Escape key still does nothing unless AllowAbort property is explicitly set to true.
I tried to follow existing coding style as closely as possible. I did add some tests and made sure all existing tests are passing before opening this PR. As suggested by contribution guidelines I started the discussion first in https://github.com/spectreconsole/spectre.console/discussions/700 but then had to move on with the implementation before I received any reply. I'm really sorry for that but I couldn't continue with a soon-to-be-releasedTM Pkcs11AdminConsole project without being able to abort these prompts.
If implementation in this PR is not suitable for inclusion I am willing to work on any suggested alternative.

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

I haven't been able to get on my PC for the past few days, but I was thinking about the syntax and one thought I had was perhaps this syntax would be better over setting some properties
public static bool TryPrompt<T>(IPrompt<T> prompt, out T result)

I think that syntax AnsiConsole.TryPrompt is not necesary.
SelectionPrompt.ShowAsync should return default(T) if prompt was aborted.
MultiSelectionPrompt.ShowAsync  should return empty list.

@phil-scott-78 Sorry, you have right. If we add Aborted property to IPrompt then we can add AnsiConsole.TryPrompt and this should not break existing logic.

TryPrompt could be easily added on top of the existing code for example this way:
namespace Spectre.Console;

/// <summary>
/// A console capable of writing ANSI escape sequences.
/// </summary>
public static partial class AnsiConsole
{
    /// <summary>
    /// Displays abortable prompt to the user.
    /// </summary>
    /// <typeparam name="T">The prompt result type.</typeparam>
    /// <param name="prompt">The prompt to display.</param>
    /// <param name="result">The prompt input result.</param>
    /// <returns>True if prompt processed normally; false if prompt aborted.</returns>
    public static bool TryPrompt<T>(SelectionPrompt<T> prompt, out T result) where T : notnull
    {
        prompt.AllowAbort = true;
        result = prompt.Show(Console);
        return !prompt.Aborted;
    }

    /// <summary>
    /// Displays abortable prompt to the user.
    /// </summary>
    /// <typeparam name="T">The prompt result type.</typeparam>
    /// <param name="prompt">The prompt to display.</param>
    /// <param name="result">The prompt input result.</param>
    /// <returns>True if prompt processed normally; false if prompt aborted.</returns>
    public static bool TryPrompt<T>(MultiSelectionPrompt<T> prompt, out List<T> result) where T : notnull
    {
        prompt.AllowAbort = true;
        result = prompt.Show(Console);
        return !prompt.Aborted;
    }
}

However in this case TryPrompt would work directly with SelectionPrompt<T>  and MultiSelectionPrompt<T> instead of more general IPrompt<T> that was proposed by @phil-scott-78.
I currently see three options on how to proceed with this idea:

Add TryPrompt methods mentioned above.
It's tempting because the solution is just one commit away but it somehow does not feel right.
Modify IPrompt to support aborting.
This would most likely be an API breaking change and I'm not sure if that's acceptable in this project.
I'm also not quite sure that every prompt implementation needs to / should support aborting.
Introduce IAbortablePrompt with AllowAbort and Aborted properties to support prompt aborting in general.
I personally find this to be the best option.

What do others think?

I want to be sure I did not miss any important feedback (English is not my native language) so let's sum up this merge request from my point of view:

@phil-scott-78 suggested TryPrompt method to be added.
I suggested three possible implementations but did not receive any hint on which one (if any) should I implement.
I'm not sure how to proceed. Should I do my best and decide myself or should I wait for an additional feedback?

@patriksvensson suggested ShowAbortable method to be added.
He asked @phil-scott-78 and @nils-a for their opinions but they didn't provide any yet.
I'm not sure how to proceed. Should I do anything or should I wait for an additional feedback?

I'm still here. I still want to continue with this PR. I'm just not sure how.

Nobody asked for my opinion, but since I hit the same issue in another project of mine, I'll chip in my €0.02 anyway. :-)
Let me start with a philosophical statement: I think supporting escape is a worthy goal, and I might even go as far as to state that practically every prompt actually should be cancelable, as non-cancelable prompts just lead to the user hitting Ctrl-C if they panic. It would be better for the application to deal with cancellation according to its best possible understanding of the situation - this is much similar to GUIs having close buttons in dialog boxes even if a choice is logically mandatory. This was true when I wrote my first console UX library for BBSes in 1992, and I think it still mostly is. That may still obviously not be the scope under consideration here.
I agree with @patriksvensson that adding a result property into the Prompt object confuses things - that's the way e.g. Winforms did things with Form.DialogResult, and I don't think it was a good choice. But I'm not super-excited by a separate ShowAbortable method either: Sometimes the "abortability" (with whatever definition it has, given what I said above) is just another property of the prompt, and having a separate method for it makes things more complex at the callsite, especially if you have a structure where a generic UI framework (say, a wizard wrapper) is just passed a bunch of prompts. With separate ShowAbortable method, you'd end up passing (Prompt, bool callShowAbortable) tuples around which quickly turns into a mess. Also, if you ever need another separate Show* family, the combos quickly add up.
What I'm saying is leading into the direction of a breaking change; perhaps having Show<T>() methods return a PromptResult<T> instead of a T, but perhaps that could have an implicit conversion to T. The value T would be one field of the PromptResult, the "dialog state" (i.e. aborted/OK) would be another. That's not trivial, but it could have potential for future extensibility as well.
From past experience, I'd guess some likely extensibility points to come up are supporting tab/shift-tab to navigate between prompts (i.e. encapsulating several prompts into a form), which might be implementable as a "AllowTabNavigation" property and a couple of new "dialog states" (MovePrev/MoveNext), which a form controller might handle - but no, I don't think something like ShowNavigableAbortableAsync is going to fly. Another one is a combobox control, which may be used to pick from a list of customers (objects), but also enter a new customer name, in which scenario the result will never fit into a single field (as it may be either an object or a string).
None of these issues is fully solved by complicating the result type of a Prompt.Show call, but I do think composability of complex UI (whether console or GUI) benefits from having result objects that can return not just the value, but also some information about the user's intent. That should be the part that makes complex things possible. Simple things should then be kept simple by having the Abortability be false by default and having the PromptResult be implicitly convertible to the result type.
It will still break var foo = p.Show() scenarios, but hey, isn't this what 0.x versions are for?

I'm really digging the feedback from @jouniheikniemi. I'd actually prefer to break things than introduce properties to force it into working with the current model.
Sorry to keep hemming and hawing over this, @jariq. I think this is a really good feature and one that is needed for Spectre to reach a 1.0 release so it means a lot that we land it with something we all feel good about support long term.

Just a quick reminder I'm still waiting for the input from maintainers willing to merge this feature.

Stumbled across this PR and wanted to pitch in. I'm looking for similar functionality, but my use case is a tad different. I'm using this project as a rudimentary UI for a dialog API. Basically it's a form which can be filled in on per question basis. So we render a given question, the user answers it and we move on to the next. The question types range from text input to numeric, date, choice, boolean, etc.
What I wanted to acheive is the ability to navigate back and forth between questions. The API behind this allows the user to navigate forward as long as the questions have already been answered. The user can also go back in order to revisit their answer to a given question.
I was looking to use the arrow keys for navigating back and forth, so my first comment would be: do not tie cancelling a prompt to specific keys, but allow for the ability to specify which keystrokes should cause the prompt to cancel.
If there's a need to implement this as a non-breaking change, you could consider a solution like this:
var item = await new SelectionPrompt<string?>()
    .AllowAbort(true, Keys.Left, Keys.Right)
    .AddChoices( choices )
    .ShowAsync( AnsiConsole.Console, CancellationToken.None );

Setting AllowAbort to true would only be available for nullable types (extension method probably?) and would have the ability to specify the keys to abort. Any of these keystrokes would abort the prompt and return null as a result. Then I would have the need to find out which key actually caused the prompt to cancel, could be done using a callback.
Even better imho would be to not return the typed response directly, but have a typed Result object which would either contain the requested typed value, or an abort indication along with the pressed keys. Such a Result object would allow for a broader set of usecases than just this one. That would probably be a breaking change although you might be able to get around that using an explicit operator to convert Result<T> to T.

I'm closing this PR as I'm no longer interested in working on this feature.


The spaces between the social media icons is not set properly

The space should be increased a bit with gap property in css ,  please assign me this ..

Will this be listed under Hactoberfest PR? If not please tag this as
Hactoberfest.
On Sat, 26 Oct, 2024, 3:19 pm Arijit Ghosh, @.***>
wrote:

Closed #51
https://github.com/Arijit-017/ISTE-Contribution-React/issues/51 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/Arijit-017/ISTE-Contribution-React/issues/51#event-14899509514,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBI3LD6ZP5LQF55PMMNUMX3Z5NQUFAVCNFSM6AAAAABQT2NBDKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUHA4TSNJQHE2TCNA
.
You are receiving this because you were assigned.Message ID:
<Arijit-017/ISTE-Contribution-React/issue/51/issue_event/14899509514@
github.com>


[extensions] Quickpick enhancements

VSCode Version: 1.10.0-insider 256d76fed7947e7289f921df10658d7a69233b65
OS Version: macOS Sierra 10.12.3 (16D32)

It would be great to have more control over a Quickpick. Here are some things I would love to have.

Stream or push items into a Quickpick (basically be able to show/add more items to the list as promises are resolved)
Update the placeholder dynamically
Control which item should be selected when shown
Add event for right-arrow press on an item, similar to the file access quickpick
Seed the inputbox with a value

dupe of https://github.com/Microsoft/vscode/issues?q=is%3Aissue+is%3Aopen+label%3Aapi+label%3Aquick-pick+assignee%3Ajrieken

@jrieken only some of those are duped there.
I don't see these 3 on that list

Stream or push items into a Quickpick (basically be able to show/add more items to the list as promises are resolved)
Update the placeholder dynamically
Add event for right-arrow press on an item, similar to the file access quickpick

Please file one issue per request/problem/bug


Add @arethetypeswrong/cli run to dtslint

eslint literally fails with

Unused eslint-disable directive (no problems were reported from 'no-fallthrough')

and when I remove the directive

error  Expected a 'break' statement before 'case'  no-fallthrough


Make BBAN, bank and branch structure position relative to IBAN

Codecov Report

Merging #16 into develop will increase coverage by 0.58%.
The diff coverage is 50%.

Impacted Files
Coverage Δ

src/IbanNet/Registry/BbanStructure.cs
75% <ø> (+25%)
:arrow_up:

src/IbanNet/Registry/IbanCountry.cs
75% <50%> (-6.25%)
:arrow_down:

src/IbanNet/Registry/BranchStructure.cs
75% <0%> (+25%)
:arrow_up:

src/IbanNet/Registry/BankStructure.cs
75% <0%> (+25%)
:arrow_up:

src/IbanNet/Registry/IbanStructure.cs
75% <0%> (+25%)
:arrow_up:


Gmesh-topology interfaces broken

The gmesh reader directly inserts an interfaces topology, bypassing the code in UnstructuredTopology.interfaces. Because of this the local coordinate systems of the both sides might not be in agreement. This means that DG type calculations on these topologies are currently broken.

Fixed in 6726e73.


Migrate to Yarn

So we can have better package and dependency management.
Yarn Install Docs

love it!

Here is a commit from refactoring foresight to use yarn - https://github.com/spartansystems/foresight-client/commit/88f5c5150d911cdeb78a5181c3b271302cedf2bf
Sorry about the flow def noise...

This PR migrates npm to yarn.


OpenSSL usage in scrypt.cpp

To my surprise, OpenSSL is still used for crypto operations: https://github.com/dogecoin/dogecoin/blob/3a29ba6d497cd1d0a32ecb039da0d35ea43c9c85/src/crypto/scrypt.cpp#L35
We need to remove this, with the next release.

Fixed with #3076


Performance enhancements when accessing dictionary

We ran into some performance issues when using JSON documents with a large number of records.
The first commit adds a test case which demonstrates the issue. On my laptop, this test takes 23 minutes to run.
The second commit fixes the performance issue bringing the execution time to 3 seconds.
The main issue is that, in Swift, each iteration in the reduce treats the dictionary as non-mutable and copies it into a new instance each time it adds a new element. This results a lot of object creation/releasing churn with O(n*n) performance. The fix replaces this with an implementation with O(n) complexity.

Just a quick correction - current behavior is O(n log n).

Sweet, looks great. 👍
Can you help solve conflicts and let's ship it. 😄

We are planning on rewrite the way we access dictionary on the next major version.
Which doesn't require creating all the intermedia objects.
But that might require a breaking change on the API.

I think this is covered in https://github.com/SwiftyJSON/SwiftyJSON/pull/660
Feel free to reopen this if needed.


NFC: Disable clang-format for inline bitfields

clang-format tries to impose the wrong formatting on these, so let's disable it for these blocks.

@swift-ci please smoke test and merge


Add alerts dismiss

Added missing 'pagestcript' section (for bootstrap.bundle.min.js, in this case, but you can add more .js files there). already inside layout.php. This alaw you to dismiss (close) alerts msgs. with a "X" buttom.
FILES: login.php and register.php.

Hi @treborin
Thank you for your excellent PR.
Shield allows the implementation of customized views for any developer.
Therefore, I assume that in a real project, all views are definitely customized.
On the other hand, there is a nice package here  that any developer can use without much time.
We will wait for you in another PR.
So thank you.


Support extensible destructuring

What do you think about supporting extensible destructuring described here:
https://github.com/vacuumlabs/es-proposals/blob/master/extensible-destructuring.md
There is currently babel plugin for that:
https://www.npmjs.com/package/babel-plugin-extensible-destructuring

Or at least, it would be nice to mention that in docs:)

Closing this aging issue - sorry for letting it sit. Excellent work, @hleumas! Please feel free to add the package to the wiki on this repo!


chore: Store refactor followups

Some small changes that didn't make it to the original PR:

[x] Improve NoteFilter to allow for more state filtering, plus refactor it to use Vec instead of slices.
[x] Add a tag to future notes in order to remove the Option from the NoteState::Expected tag.
[x] Add transitions for committed/cancelled transactions. (PR for review)
[x] Add conversion into NoteFile for InputNoteRecord (Issue created)
[x] Allow for upsert_input_notes to receive multiple notes to insert (Mentioned in this comment)

Committed transaction transitions are addressed in #531
The rest of the follow-ups are addressed in #538


luci-mod-network: Can't configure second GRE tunnel

Steps to reproduce:

Create a GRE interface in Network → Interfaces named gre
Attempt to create a second GRE tunnel with a different name

Actual behavior:
Lucy throws an error in the device selector:

Expected behavior:
The GRE tunnel is created.
Additional Information:
OpenWrt version information from system /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='11' #my versioning based on master
DISTRIB_REVISION='r26386-1188cae092'
DISTRIB_TARGET='ath79/generic'
DISTRIB_ARCH='mips_24kc'
DISTRIB_DESCRIPTION='OpenWrt 11 r26386-1188cae092'
DISTRIB_TAINTS='no-all'

If the tunnel is created directly in UCI it works and shows up in LuCI correctly

I'm not seeing anything in the browser console logs, is there any way to turn on the debug mode? or should it show up in console logs?
Not used to this sorry

If anything it should appear in the console log.
Maybe some error is logged if the GUI flags a problem and marks it in red. I could not identify any cause in the GRE code, so perhaps the error arises from a different vector.

I don't see anything here, am I looking in the wrong place?

In your picture, you're in the elements view. Try the console view next to it.

here it is:

Worked fine for me.

Weird, two of the same protocol type?
I was able to reproduce this in two devices 😕
Could I be doing something wrong?

Could not on my VM. what is the relevant GRE config?

I get these unsaved changes, and can make 2 GRE fine:
uci set network.gre1=interface
uci set network.gre1.proto='gre'
uci set network.gre1.peeraddr='asdf.com'
uci set network.gre2=interface
uci set network.gre2.proto='gre'
uci set network.gre2.peeraddr='qwer.com'

What if you create one, apply and then try to create a second tunnel?
That's what I did.

I can make 50 tunnels in the same fashion. No problem.

Unless there's enough evidence to find a problem or we can localise a fault, I'm closing this, since you have a custom build going, and nobody else reports anything with GRE.

Ok, I nailed down on the issue after making a video that almost embarrassed me 😓
The issue arises when the first tunnel is created with the name gre.
When i hover over the tooltip it says the interface name is already used.
https://github.com/openwrt/luci/assets/39808643/99680faf-c95b-4e2f-a70e-e85393d171a7

Video was corrupt. Were you attempting to show us the problem?

I can see it in my phone and my laptop 😅
But yeah, basically, if you create the first tunnel with the name gre you won't be able to create the second one.

I took at look at this problem and the reason is at least simple; the protocol validate functionality reuses the name validate functionality, which means that if you create the first GRE tunnel with name gre, when creating the second one, uci.get('network', 'gre') will not return null, causing the red tooltip to appear for the protocol.
This affects every case where the name of the interface collides with the protocol name, I just tried DHCPv6 as an example.

@jow- is there a special reason why it reuses it one-to-one as implemented in e4bc192012b05078eb7675e42908e0dd9d04ee88 or was it just for convenience sake? The protocol is a list value so I assume that we won't need the too long of an interface name either. This is a corner case of course, since you could just name the interface something else, but it's not obvious to the user what the actual issue is.

Seems to be for convenience. If you see a trivial fix, like anchoring on additional conditions, we're open to suggestions.

I think I realized why it's probably set up that way, since if you enter an protol + interface name combo which ends up less than the 15 character limit, and you then change the protocol, the resulting protocol + interface name combo needs to be validated again, and that includes the length of the interface name since it now could exceed those 15 characters... but I'll try and think of a solution.

Ah, of course. Like wireguard_wg0. Doesn't leave us with much space. I think the 15 characters isn't a total length limit tho. I have some configs which are 24 characters long with e.g. wireguard_blah_blah_blah.

If you need me to test a fix let me know!

If you need me to test a fix let me know!

If you're equipped to compile your own build, you could cherry-pick https://github.com/dannil/luci/commit/0fa2271e86d7f7e15a883bdc04ff1857332e19cd and see how it behaves, I need to properly test if there's any regression cases but it looks promising.

 Clear browser cache and retry.

Hi @dannil , sorry I haven't been able to test yet, I will test it this week, as soon as I can I'll give some feedback, thanks for the awesome work!

Hi @dannil, This seems to fix my issue, I changed the file on my router (so not a complete build), and I could add the second GRE interface as I tried in the video. Great work! 😄

Awesome, I've created #7306 to bring it into the code base.


Pressing 'back' goes to main page

Summary:
When pressing 'back' button in ''nearest places'' after pressing the button on right top, it goes straight to the main page. I should expect that it would just close that tab , and continue searching on map.
Steps to reproduce:
At main page, show menu and choose 'Nearest Places' ( or whatever, my app is in Greek )
When map shows up , press the button on top right
A list with places appears
Then press back button
Screen-shots:

@athatsakk  are you working on this issue or should I take up this issue

you can go for it

Hey, guys, I fixed this issue!

Hey if no-one is working on this issue then I have a PR submitted here #2301. Kindly review :)


Update Readme.md to make this case clear

:translate-n="count" would only work if v-translate='{count: count}'.
See: https://jsfiddle.net/escapedcat/rwbz962e/
Let me know if this is wrong. Thanks.

Thanx, you're right.


Fix defer and error check ordering

Felt like some regex today, so fixed #211 with this one:
find -name '*.go' -not -path 'vendors/*' -exec perl -i -p0e \
    's/(defer [a-zA-Z0-9]+.Close\(\)\n)(\s+)(if err != nil \{.*?\}\n)/\3\2\1/s' \
    {} \;

😃

Coverage decreased (-0.01%) to 27.254% when pulling c3e9cabbeb8377c708c4ac16f3f03902025d9eab on yurizhykin:fix-defers into 0a7064b07a4b1297d7fb9d6a31f74bffc877386d on OpenBazaar:master.


[Broker] Remove check resource when delete failure domain

Motivation
This PR is used to keep same behavior with Pulsar 2.8 and 2.7 version.
In Pulsar 2,7 and 2.8, when delete a non-existent failure domain resource, it will return 404 status code.
In Pulsar 2.9, when delete a non-existent failure domain resource, it will return 200 status code.

Modifications

Remove check resource exists when call the ClusterResources#deleteFailureDomain()
Add check resource exists when call the  ClusterResources#deleteFailureDomains()

Documentation
Need to update docs?

[x] no-need-doc

Signed-off-by: Zixuan Liu<EMAIL_ADDRESS>

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

@nodece Do you know which change introduced the breaking change?

@codelipenghui This issue caused by #11693.

@codelipenghui Added test.

/pulsarbot run-failure-checks


Self-update script for Beaglebone software

Going down to Tech Lab to do software updates is a bit of a pain, so we should add a self-update capability to the code which can pull new releases from GitHub.

Looking at using this self_update Rust module which seems to have some nice features.

This is done. Releases are created using package.sh script in the root of the project, then you need to create a release on GitHub manually and upload the tar.gz file from target/release/.
Running uts-update on the Beaglebone will trigger a self-update to pull down the latest release from GitHub, and systemd should restart all the services.
This update mechanism is designed for updating the binaries and webapp code. Other changes are intentionally not supported:

systemd and nginx config are not included, because updating them requires a daemon-reload
environment variables are not updated because they should be configured on a per-machine basis
the distribution includes an example programs TOML file, but does not update the usual install location of the actual programs.

One minor issue with the update code is that it seems to require a description ("body") to be set for the release on GitHub otherwise it doesn't see it. So if uts-update is not picking up a new release, that may be the reason.


DBZ-927 : Exception while parsing table schema with invalid default value for timestamp field

https://issues.jboss.org/browse/DBZ-927
Summary of Changes :

Changed the regex expression for matching the zero date and datetime values.
Added test case for various date values.
Modified test case of testing datetime values containing zeros

I have addressed the review comments.

Rebased and applied. Thanks a lot, @deepakbarr!


Small fixes and improvements to visualization docs

1D plot from
julia> trixi_include("examples/1d/elixir_advection_basic.jl", tspan=(0.0, 0.5))


Is it possible to implement my own descriptor classes in python?

I don't know any C++, but I would like to create a custom descriptor (like B2) to use instead, is that possible to do in python?
Is there a class structure I could emulate in python to create my own descriptor class?

Hi @jmusiel
Sorry for the late response. In principle this should be possible as long as you provide the descriptors, the derivatives of descriptors, etc. as shown in https://github.com/mir-group/flare_pp/blob/master/src/flare_pp/descriptors/descriptor.h#L39-L44
These modules have python binding, so you could read/write the class variables with python list/numpy array. Our developer team has never tried using python customized descriptors though.


Add support for running examples on GPU and test on GPU

Add flexibility to run examples on GPU similar to #22, and test running on GPU similar to how it is done in NDTensors.jl and ITensors.jl. We can test running on GPU backends using JLArrays as discussed in https://github.com/ITensor/ITensorTDVP.jl/issues/86.

See also https://github.com/ITensor/ITensors.jl/pull/1553 for a workflow for running DMRG tests on various GPU backends.


Error: Please accept our latest Terms of Service.

Im getting this error while fetching the course data:
Fetching Course data, this may take a minute...
An error occurred while trying to fetch the course data! {"error": "Please accept our latest Terms of Service."}

Thats interesting, are you able to watch lectures on udemy.com?

yes, I can watch lectures on udemy.
Problem is solved - Im using udemy business and I had to adjust the url (from udemy.com to company.udemy.com)


refactor(lttng_info): remove redundant member variables

Description

This PR uses lru_cache to refactor existing code
Related links

Notes for reviewers

It is easier to read if you review each commit.
Pre-review checklist for the PR author

[x] I've confirmed the contribution guidelines.
[x] The PR is ready for review.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR has been properly tested.
[x] The PR has been reviewed.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[x] (Optional) The PR has been properly tested with CARET_report verification.
[x] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

As this PR is a reactoring, the results of caret_report are substituted as a test.


Support for the NIH At-Home testing standards

Is your feature request related to a problem? Please describe.
The NIH has developed an HL7 profile of self-administered tests. The project is https://www.nibib.nih.gov/standardized-reporting-covid-self-test-results. This profile is being balloted by HL7 now and is likely to be accepted as a standard HL7 profile soon.
We are meeting weekly with the NIH team to coordinate messaging and help present a unified Federal response. NIH is meeting with ReportStream senders as well to advocate their standards. As part of this effort, ReportStream should support the NIH standard (details below).
Describe the solution you'd like
ReportStream should have comprehensive support for the NIH standard

On-Boarding changes to support the standard

Documenting ReportStream's support for at-home testing on the top-level of the public website.
Referencing the NIH website in our programmer's guide documentation.
New self-test manufacturers like Roche and Quidel should send data according to the standard if using HL7 messages or the standard's value sets if sending CSV formatted data.

Internal Changes to track Self-Administered tests

Create a algorithm to best determine a self-administered vs proctored test. This algorithm should be based on sender, device identifier, and NIH conventions. The algorithm will change and be refined over time. So, it should not be recorded as data value.
Remove the is_unproctored data element because the current values are unreliable. As discussed, the value is based on a false assumption that all OTC tests are self-administered.
Clarify that is_otc, is_home, and is_serial,  are authorization values that are fixed for the device. This can be done either by changing the data elements name or changing the description of the data element.
Store the is_otc, is_home, is_serial into the covid metadata table.
Create a dashboard that tracks OTC and Self-Administered test volume.

HHS Protect Feed changes to make OTC data more actionable

Update existing manufacturers like Abbott and Ellume, migrate them to the new performing conventions, either by doing per sender defaults (or defining a self-administer sender) or having the senders send this information.
In HHS Protect, create dashboards that track self-administered and otc data feeds.

State Feed Changes

Add the option for states to receive a self-administered feed in addition to an OTC feed

Describe alternatives you've considered
N/A
Additional context
The standard will also solve problems a problem for OTC data reporting. Often, OTC is conflated with self-administered tests. In reality, OTC tests are used in both self-administered and proctored settings. From a public health action perspective, there is a big difference between a positive self-administered test result and positive proctored test. How should we track this information?
Today, ReportStream has an is_unproctored data element to track self-administered vs proctored tests. However, the data element is tied to the is_otc data element. This is a false assumption. A better signal would be tie the is_unproctored to the sender. Abbott only reports self-administred tests, for example. However, this assumption would be false as well for data aggregators like ImageMover.
The NIH standard states how to encode this difference and to report self-administered tests in the ordering provider and the reporting facility fields. By adopting this standard, we can have self-administered status reported instead of assumed.

3/9:

Onboarding changes: @RickHawesUSDS will meet with @jbiskie to

Review the sender onboarding documentation to review SA tests and how the sender needs to transmit that
Add references tot he NIH documentation in the API onboarding guide

Internal changes to track

We're making assumptions about the 4 identifiers for the SA tests.
Where we need the most clarity is on the "is_unproctored" identifier. This is the piece that PHAs are most interested in. So we need to work with the senders/aggregators/manufacturers to get more clarity on this.

HHS Protect Feed changes

Lifepoint has agreed to make the changes for Ellume data
O&O needs to do the same for Abbott data

Today, the OTC feed can include POC and SA tests

We'd like to offer just an SA feed to the states (need to check with states on their preference)

@RickHawesUSDS Hi Rick, is this still relevant? Did we get this done earlier in the year? Thanks cc: @brick-green

Outdated? Close? @brick-green


Confirm valid path for moving network dependencies

I have noted the remark on this page of, "To move a virtual machine with a network interface card, you must move all dependent resources."
If I have a VM and it's NIC in a different resource group than the VNET, and am trying to move the contents of both resource groups into a new subscription, is the following the only valid method of accomplishing this?

Move VM and NIC resources into VNET resource group (same subscription)
Move contents of VNET resource group to new subscription
Move VM and NIC resources from VNET resource group into separate resource group (same subscription)

This method appears successful, I'm trying to determine if there's a more efficient way.

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

ID: 00e153c8-1997-af5a-5f0d-120c9ba1d5cf
Version Independent ID: 0ef379b5-db4f-8d78-2562-662ef595bca5
Content: Move Azure Networking resources to new subscription or resource group
Content Source: articles/azure-resource-manager/move-limitations/networking-move-limitations.md
Service: azure-resource-manager
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@jeffwmiles , Why do you want to place VM in a RG and NIC in another RG?
We recommend to place both NIC and VM in the same RG and then the migration will be easy.
Whatever you have mentioned is the only way to migrate the VNET and its resources to another subscription as you have placed NIC and VM in different RG.
Let me know if you have any further questions.

@jeffwmiles - thanks for this question. I see that we need to add a link to some related content. The steps you suggested are correct. Here is the related content - https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-move-resources#scenario-for-move-across-subscriptions

@tfitzmac , Can we update this doc with the link which you have referenced?

The link has been added.


[ADAM-1233] Expose header lines in Variant-related GenomicRDDs

Resolves #1233. Adds a headerLines field to all Variant-related GenomicRDDs. In the current implementation, this field is populated by the set of all header lines for all INFO/FORMAT fields that we support. In a future patch, we will also store the header lines that correspond to fields that do not map to a specific field in the Variant/Genotype schema, and that are stored in an
attribute map.

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

LGTM

I don't see a way for users to add to the set of headers (short of modifying the headerLines field directly) and I don't see the code for persisting them out to disk or using them to write out the VCF header.  Future commits to this PR or wait to a later PR?

I don't see a way for users to add to the set of headers (short of modifying the headerLines field directly)

Since these are all case classes, that's a one-liner via the copy method, but I can make a pass to update this if you'd like.

I don't see the code for  using them to write out the VCF header

That change is https://github.com/bigdatagenomics/adam/pull/1260/files#diff-b8227780b230d68bbf54dc946ef1907eR145.

I don't see the code for persisting them out to disk

You know, I'd thought that change would require an addition and a bump to BDG formats, but I just realized it doesn't. I'll get that today.

I don't see a way for users to add to the set of headers (short of modifying the headerLines field directly)

Since these are all case classes, that's a one-liner via the copy method, but I can make a pass to update this if you'd like.

I can check learn something new off my todo list for the day, thanks.  :)

I can check learn something new off my todo list for the day, thanks. :)

Yeah, it's a poorly documented feature of case classes. Sigh!

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

Thank you, @fnothaft!


.htaccess and index.php should be in Public folder

.htaccess and index.php should be in public folder. With this way no one enter to app folder and files.

There is already .htaccess file in public folder. It's forbidden to access app foder and files.


'show_deleted' doesn't update cursor position for nvim-cmp

Description
Hi, first of all, thank you very much for this great plugin :)
I have an issue with how 'show-deleted' works with nvim-cmp. I think it is rather related to gitsings, but if not, just let me know and I will open this issue on nvim-cmp.
Neovim version
0.8.0
Operating system and version
macOS Monterey 12.6
Expected behavior
The 'show_deleted' option should move cursor by as many lines the deleted hunk high is.
Actual behavior
The 'show_deleted' option potentially doesn't update the cursor position on insert, and thus completion engines, like nvim-cmp still think that the cursor is 'above' the deleted hunk.
See the screenshot:

Note: I increased the col_offset in nvim-cmp so that the floating window is moved to the right a little. Of course, this is not sufficient enough.
Minimal config
vim.o.packpath = '/tmp/nvim/site'

local plugins = {
  gitsigns = 'https://github.com/lewis6991/gitsigns.nvim',
  cmp = 'https://github.com/hrsh7th/nvim-cmp',
  buffer = 'https://github.com/hrsh7th/cmp-buffer',
}

for name, url in pairs(plugins) do
  local install_path = '/tmp/nvim/site/pack/test/start/'..name
  if vim.fn.isdirectory(install_path) == 0 then
    vim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
  end
end

require('gitsigns').setup{
  debug_mode = true, -- You must add this to enable debug messages
  show_deleted = true,
}

require('cmp').setup({
  sources = {
    { name = "buffer" },
  }
})

Steps to reproduce

nvim --clean -u minimal.lua
Make sure that nvim-cmp is enabled
Toggle deleted lines to be visible
Open a buffer and delete some lines, or just edit one
While typing notice that nvim-cmp thinks that the cursor position is still above the deleted virtual lines
Notice also that depending on how many deleted lines are displayed, the nvim-cmp's floating window might be hiding the text you're typing.

Gitsigns debug messages
No response

Honestly, I would say this is an issue with nvim-cmp. Gitsigns is just setting extmarks, it shouldn't be expected to worry about handling of floating windows from other plugins.


4组 邹可焓灵 第一、二次作业

4组 邹可焓灵 第一、二次作业

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


feat: parse version from BuildInfo if it was not defined during build

This adds meaningful version info also to binaries created with go install without defining -ldflags to override .../config.Version variable.

Looks good! Tested locally and got expected v2.2.0-9-gc95605f

Same & same!


Interfacing with react.js

Would it possible to try and interface with react.js, since the idea with OOP components is that they're shareable where react.js has more popularity.

this belongs in common package supposedly.

is that something that could even be well done, where you use react for boiler plate that would come with writing a widget avoiding react.js easily.

I do not understand what you have in mind here?

I suppose mapping api calls between each other such that you can override them and etc, so that importing react component doesn't mean that it's alien or that you have to write in react.js further down the chain. I hardly know react.js.

class convertedWidget extends reactWidget{
mixins() {
return [convertReact];
}
}
They say react.js constantly breaks it API and has no computed property or if for that matter. So basically you take it's render() method and create a template out of it that you then pass into convertedWidget template() method. With like 3 state management packages for react and it being able to compile to native mobile, it should be easy to recompile to blaze-components.

Yes. That was somehow planned with the whole idea of base component which would then be extended into react and blaze component. But then, somehow I never got to do it.


feat(frameworks): add Vite

This PR adds detection for Vite.
Part of #204.

This is great @Xenonym, I was going to do this myself once I'm done with https://github.com/netlify/cli/pull/1704


Unimplemented Game Rules

Aces are always 11, must be decreased to 1 if it would cause a UserPlayer or Dealer class to bust. If have several Aces, only make the first Ace a 1.
Natural or "Blackjack" when your first two cards equal 21. Auto-win unless the two initial cards of the dealer are also a 21.
Doubling Down (Doubling your bet based on your first two cards)
Splitting (Possible new sorta Usercase), if you have two cards of the same rank, you can split them into two different hands and place an equal bet for the 2nd hand. Then, play as normal (maybe just generate a new UserPlayer when it comes to that?)

Unfortunately No Splitting/Doubling added, oh well


toString for some Diagnostics classes include debug properties

toString should only include info properties of DiagnosticLevel.info and higher but the wrong default value is used in some constructors.

Closing, since #50645 landed.


Fixed bug in ModuleInstallerTest.java

Description
Fixes bug that caused fail of build 393. Basically, a unit test, namely testInstallDependencies had too strong assertions which were not guaranteed to be fulfilled. I fixed the assertions to match the spec of the ModuleInstaller.install(). Also removed some redundant times(1) arguments from that file.
Testing

[ ] I created new unit tests
[x] All unit tests pass
[ ] I have tested manually

Have you updated the README or other relevant documentation?

[ ] Yes
[ ] Not yet. I will do it next.
[x] Not relevant

The branch build succeeded (see https://travis-ci.com/Aalto-LeTech/intellij-plugin/builds/150521614?utm_medium=notification&utm_source=email). GitHub servers kept constantly failing last evening; I guess that's why the branch build status was not updated.