Only save the most recent CIP rank for sorting

Reference Issue
Final PR for #7888
What does this implement/fix? Explain your changes.
Previous PRs have isolated rank sorting to sections of atoms that were previously tied. Since they were previously tied, the CIP entries of previous iterations are guaranteed to be identical, and no longer need to be stored.
With this change, each iteration no longer increases the length of vectors that need to be compared.
Any other comments?

Thanks for another nice optimization @scal444


Integrate Wolfram Language

Integrate Wolfram Language to support more complex calculations and rules and the ability to perform complex mathematics and operations on images, videos and wave files.
http://products.wolframalpha.com/api/

After looking into more details, I have decided to not proceed with this at this time.


Statement line is parsed incorrectly for customer/bank reference

The statement line like this is parsed incorrectly:
:61:2001010101DR59,73FCHGTRF SVC//200101ZCPB067071

The customer_reference and bank_reference populated incorrectly:
{
    'customer_reference': 'TRF SVC//200101Z',
    'bank_reference': None,
    'extra_details': 'CPB067071',
}

It should be parsed like:
{
    'customer_reference': 'TRF SVC',
    'bank_reference': '200101ZCPB067071',
    'extra_details': None,
}

@wolph , thank you for merging and maintaining the project. I would like to ask when we can have the next release with these changes?

Sorry for the slow release. My laptop had to go back for repairs and I don't have another machine set up for releasing to Github :)


Feature: Created User, Cheese, and Wine models

First pull request for db models

Looks great

Yay go me!


_prepare_deepspeed fail to capture correct kwargs with DummyOptim or DummyScheduler when calling prepare() multiple times

System Info
accelerate==0.34.2
python==3.10
deepspeed==0.15.1

Information

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

Tasks

[ ] One of the scripts in the examples/ folder of Accelerate or an officially supported no_trainer script in the examples folder of the transformers repo (such as run_no_trainer_glue.py)
[X] My own task or dataset (give details below)

Reproduction
Hey, since I may want to prepare only certain items depending on my training arguments (suppose I don't want to prepare scheduler this time), I decided to order them in a dict and call prepare function multiple time as the number of items are not fixed. After that, I use setattr to re-allocate them to their namespace. It works perfectly util I want to change my code to support deepspeed plugin.
        # handle scheduler manually
        accelerator_to_prepare = OrderedDict(
            [
                ("optimizer", self.optimizer),
                ("train_dataloader", self.train_dataloader),
                ("valid_dataloader", self.valid_dataloader),
                ("lr_scheduler", self.lr_scheduler),
                ("model", self.model),
            ]
        )
        if self.use_gan:
            accelerator_to_prepare["discriminator"] = self.discriminator

        for k, v in accelerator_to_prepare.items():
            self.print_global_rank_0(f"start prepare {k}")
            setattr(self, k, self.accelerator.prepare(v))

In accelerator's _prepare_deepspeed function, it captures the prepared items and finds the corresponding optimizer and scheduler, then catch the kwargs passed to them to feed in deepspeed config to make all things work. But In my case, I call the accelerate prepare method multiple times, it only captures the last time call, which means the result only contains one item ([model] in my case). Thus it cannot successfully find out the kwargs needed by the optimizer and scheduler (because they're set to "auto" in deepspeed config). Which make the deepspeed_config_process failed with error.
        model = None
        optimizer = None
        scheduler = None
        for obj in result:
            if isinstance(obj, torch.nn.Module):
                model = obj
            elif isinstance(obj, (torch.optim.Optimizer, DummyOptim)):
                optimizer = obj
            elif (isinstance(obj, (LRScheduler, DummyScheduler))) or (
                type(obj).__name__ in deepspeed.runtime.lr_schedules.VALID_LR_SCHEDULES
            ):
                scheduler = obj

Expected behavior
I think accelerate should handle this scenario.

Do you really need to call prepare multiple times? You should be able to run prepare in a single call, right?
return_values = self.accelerator.prepare(*accelerator_to_prepare.values())
for k, val in zip(accelerator_to_prepare.keys(), return_values):
    setattr(self, k, val)

Yeah, it's okay. But I think it would be nicer if you pointed it out in the documentation or fixed the logic internally. Otherwise, it might be confusing, and users might struggle to find the problem.

The deepspeed init logic is probably not easy to fix, but I'll wait for Zach's return to comment on that. Regarding the docs, yes, probably it should be highlighted that to be on the safe side, there should be a single prepare call containing all that's required.


Fixing the issue that the recall from the first search step is being cached in streaming evaluation.

Illustrates and fixes the issue that the recall from the first search step is being cached in streaming evaluation.
fixes harsha-simhadri/big-ann-benchmarks#279

I am merging this for now. Let's continue the discussion on the influence of this change in #279


Revert "Revert "Revert "PYIC-1065: Lambda and API gateway logs to Spl…

…unk"""
This reverts commit 7425811a2d5aacc1cb77c8bc6e10a75efe7afbb1.

Proposed changes
What changed
This removes the Lambda APU gateway logs to splunk changes as the role required is missing - until this is added this will need to be reverted.
Why did it change
These changes were made as the necessary role required is currently missing and has to be converted from terraform to cloudformation.
Issue tracking

PYIC-1065

Checklists
Environment variables or secrets

[ ] No environment variables or secrets were added or changed

[ ] Documented in the README
[ ] Added to deployment repository
[ ] Added to local startup repository

Other considerations

[ ] Update README with any new instructions or tasks

@danworth yep, it applies cleanly to the dev env and works as expected. Unfortunately not so in build. Turns out that api gateway had an account wide setting that lets it write to cloudwatch that needs to be set. Effectively giving a role permissions. This had already been done in dev so the changes worked. It’s not yet been done in other account. @vam-gds and I were discussing it yesterday and I think heI’ll be writing some cloudformation today to create the role and permissions. There’s a terraform example in the config repo doing it that we’re found (which is what is applied to dev)

Yeah the changes are here: https://github.com/alphagov/di-ipv-config/pull/410


Update to support latest craco alpha

(webpack 5 & react-scripts 5 compatible)
You might not want to use my package-lock.json but releasing an alpha version matching the craco alpha version would be great :)
(I'm not 100% sure that adding webpack 5 as a dependency is necessary)

@hasanayan - The version of craco you have listed in this plugin has webpack 4 as a dependency. Therefore container is undefined on webpack and it crashes when trying to build.
@tomap's changes solve these issues by both upgrading the craco dependency and including webpack 5 as a bundled dependency. Please merge this 🙏


Chore fix some undefined behaviors

Proposed changes
/home/zcp/repo_center/doris_master/doris/be/src/olap/rowset/segment_v2/column_reader.cpp:895:21: runtime error: load of value 423208544, which is not a valid value for type 'doris::ReaderType'

/home/zcp/repo_center/doris_master/doris/be/src/vec/columns/column_decimal.cpp:260:33: runtime error: load of misaligned address 0x7fa3348b301c for type 'int64_t' (aka 'long'), which requires 8 byte alignment

/home/zcp/repo_center/doris_master/doris/be/src/olap/block_column_predicate.cpp:82:24: runtime error: variable length array bound evaluates to non-positive value 0

/home/zcp/repo_center/doris_master/doris/be/src/vec/columns/column_string.h:225:26: runtime error: null pointer passed as argument 2, which is declared to never be null

Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall


[8.x] Implement Full-Text Search for MySQL & PostgreSQL

This PR implements natural language Full-Text Searches for MySQL and PostgreSQL. The columns that are searched in the MATCH part always need to exist as a fulltext index.
Schema::create('articles', function (Blueprint $table) {
    $table->id('id');
    $table->string('title', 200);
    $table->text('body');
    $table->fulltext(['title', 'body']);
});

// Search for "databases" in the title and body fulltext index...
$articles = DB::table('articles')->whereFulltext(['title', 'body'], 'database')->get();

// Search for "databases" in the title and body fulltext index with boolean mode...
$articles = DB::table('articles')->whereFulltext(['title', 'body'], 'database', ['mode' => 'boolean'])->get();

// Search for "databases" in the title and body fulltext index with an expanded query...
$articles = DB::table('articles')->whereFulltext(['title', 'body'], 'database', ['expanded' => true])->get();

More info:

https://dev.mysql.com/doc/refman/8.0/en/fulltext-natural-language.html
https://dev.mysql.com/doc/refman/8.0/en/fulltext-boolean.html
https://dev.mysql.com/doc/refman/8.0/en/fulltext-query-expansion.html

Thanks to @tpetry for also implementing PostgreSQL support! https://github.com/laravel/framework/pull/40229

Might also be related for SQL Server: https://docs.microsoft.com/en-us/sql/relational-databases/search/full-text-search

I worked on 3 database migrations (EC2 to RDS, RDS to Aurora and Aurora 5.6 to 5.7) on databases ranging from 100GB to 350GB and all 3 migrations were a nightmare because of Mysql full text indexes. When using services like AWS DMS to copy data over without downtime, large table with fulltext indexes easily crash. MySQL 5.7 is very buggy with fulltext indexes and can lead to a lot of deadlocks and semaphore waits crashing after 600 seconds. Even a table with only 2 columns (id and comment) where the comment column is fulltext indexed lead to database crashes (Aurora MySQL 5.7 compatible). I don't know how 8.0 is now but I would avoid MySQL fulltext indexes like the plague.

@driesvints
Nice addition
@deleugpn
In my experience mysql fulltext search is good enough for mid size datasets, like ~1M rows.

RDS Aurora supports adding indexes only to read-replicas. :P

As promised on Twitter, I would take a look at the implementation for porting it to PostgreSQL. The implementation looks solid but is very MySQL-specific (as expected). For introducing PostgreSQL support, I would have to add entirely new functions, as the current ones are exactly designed to work with MySQL.
I had already been working on a common implementation, but that's not simple. PostgreSQL's fulltext engine is wholly different from the MySQL one:

You need to specify a language for fulltext indexes and search because stemming on words is different for every language (a common ruleset like MySQL does will not work correctly for any non-english language)
There is no boolean or natural language mode because you are being handed all the options on how to do matching than just two mode

You can build very complex matching rules by combining text search operators
Some functions exist for common search behavior to build text search operators by a string

The plainto_tsquery function will transform a search string by and-ing the search terms: plainto_tsquery('english', 'The Fat Rats door') --> must match 'fat' & 'rat' & 'door'
The phraseto_tsquery function will transform a search string by needing the phrases to appear in the exact order one after another: phraseto_tsquery('english', 'The Fat Rats door') --> must match 'fat' <-> 'rat' <-> 'door'
The websearch_to_tsquery function is mostly like MySQL's boolean search mode, which allows positive/negative operators in the text. But contrary to MySQL the terms are combined with and instead of or:  websearch_to_tsquery('english', 'fat +rat -door') --> must match 'fat' & 'rat' & !'door'

These are the most impactful differences. But still is not tackling the options PostgreSQL will provide. The article Fine Tuning Full Text Search with PostgreSQL 12 easily explains how many options you have to really fine-tune the fulltext search behavior of PostgreSQL in contrast to MySQL.

My advice would be to make the following changes to be able to add a very basic PostgreSQL implementation i could work on:

Remove the expanded  and mode parameters from matchAgainst as they will only make sense for MySQL

They could be replaced with a single $options array which every implementation could interpret differently: ['expanded' => boolean, 'mode' => 'boolean' | 'natural'] could work for MySQL and ['language' => 'english', 'query' => 'websearch_to_tsquery'] and countless more options could work for example for PostgreSQL. That's the implementation I were working on.

Transforming multiple strings to a single one should be done by the database driver as PostgreSQL will need an entirely different one (imploding by space and not comma)

I am aware that supporting all PostgreSQL options for fulltext search are beyond the scope of Laravel. With my adviced changes i could add them one by one to tpetry/laravel-postgresql-enhanced.

Another question I have is the default mode for MySQL fulltext search by Laravel? Which mode will be used? It would be best aligning the default behavior for MySQL and PostgreSQL so they kind of behave similar. The results will not be exactly similar (search term combining differences in and and or logic).
I am not very experiences in MySQL's fulltext search and the documentation does not exactly describe how the default mode works. Is the default mode comparable to one of the PostgreSQL string functions i described? I guess making the default search behaviour the typical google one "laravel database +postgresql" would be the one everyone is expecting?

Placing this in draft while I talk to @tpetry on how to improve this PR.

We simplified the API to whereFulltext so we can implement this on different engines. The extra $options argument can be used to use engine specific features.

Merged @tpetry's PostgreSQL PR into this one.

Hi @driesvints, Redist also supports Fulltext search. I'd like to work on that, too.

@humaneguy since Redis isn't a direct database engine but rather a standalone thing, I'd rather not mix up things in this PR.

@driesvints Ok, great.

This is also missing orWhereFulltext.

@taylorotwell added orWhereFulltext.

I've adjusted the bindings to be back on the query builder. Please note that this now sets $language directly in the query.
A final alternative could be that we check the language option inside the query builder but then it could conflict with other grammars in the future.

@driesvints @taylorotwell  A common querying pattern with fulltext indexes is to use the MATCH .. AGAINST .. AS relevance in the SELECT clause, and then add WHERE relevance > 0.
e.g. as stated within https://www.cloudsavvyit.com/10172/how-to-use-full-text-searches-in-mysql/ ..
"When using MATCH ... AGAINST in a SELECT statement, you don’t need to repeat it in the WHERE clause. You could manually filter the results to include only records with a non-zero relevance score."
SELECT content, MATCH (content) AGAINST ('database engine') AS relevance FROM articles WHERE relevance > 0 ORDER BY relevance DESC
Is there any possibility of somehow making methods to create that kind of query a part of what's built-in to Eloquent?
I think otherwise for many uses-cases where query results need to be ordered by relevance, we'd end up still doing something like:
$query = $this->model
    ->selectRaw("*,MATCH (words) AGAINST (? in natural language mode) as relevance", [$search_words])
    ->having('relevance', '>', 0)
    ->orderByDesc('relevance');

@jonnott I think it's best that you attempt a PR for that.

@jonnott you could start experimenting on a orderByFullText implementation. Keep me in the loop for PostgreSQL specifics.

@jonnott you could start experimenting on a orderByFullText implementation. Keep me in the loop for PostgreSQL specifics.

@tpetry I have a wip here https://github.com/jonnott/framework/commit/7cee6f851cf4ed4a2f83b26cae1dadea4af7dbff which could turn into a draft PR for this. I've added selectFullText() and addSelectFullText() methods. I have no clue on the PostGres side of things though..

Great addition, but what can be sent in the $options argument? I can't find any documentation for that

Look at the changes of the MySQL grammar. My enhanced PostgreSQL driver also uses the options to add some PG specific stuff.

@tpetry Thanks
So:
array{mode:string} for both MySql and Postgres
array{expanded:bool} for MySql
array{Language:string} for Postgres
It would be great if that could be added to the PHPDoc on the whereFullText method.


Mb mlkem768

This fixes a minor bug, rebases to master, adds support for TLS_GROUPS and passes self-testing but not interop testing -- but I don't really understand why there's so many conflicts (the rebase?)

but I don't really understand why there's so many conflicts (the rebase?)

You are trying to merge this into my personal ml-kem branch in my personal repo which is built on an older version of master. So the rebase is going to really confuse things.
I suggest instead that you create a new PR against the openssl repo (including both mine and your commits), and I close my old PR in favour of yours - and then you can maintain it moving forwards.

ACK. But this is really not geared for "master" -- for one as it contains the wrong crypto. How would I need to go about creating an "experimentation" (feature) branch to put this into?

I wouldn't necessarily create a "real" feature branch. Our feature branches are geared towards stuff that will eventually get merged. I would be probably just create a branch in your own repo, and have a PR created from that branch to showcase your work to the wider community until such time as we are done with "experimenting" and want to start merging stuff for real (with the correct crypto implementation in it). At that point we can create a "real" feature branch.


Replace Log4j2 with Logback

PR description
As a continuation of the work made on #3285 this PR completely removes Log4j2 as a project dependency, substituting its behaviour with Logback
This has been split into the following commits:

HEAD~6: renames leftover method from #3285
HEAD~5: removes Log4j2 usage dependencies relying on the Log4j2ConfiguratorUtil (this is for simplifying the last diff)
HEAD~4: replace Log4j2 ThreadContext usage with Slf4j's MDC
HEAD~3: this is to avoid problems with ch.qos.logback.classic.Level which deserializes silently to DEBUG level by default when an invalid value gets passed (e.g. FATAL)
HEAD~2: for the same reason than before, the level values are filtered by the received string
HEAD~1: addresses java:S116 Sonar rule
HEAD: replaces Log4j2 dependency with Logback. Removes custom Log4j2 management for dealing with ANSI colors by using conditionals in the Logback config file.

TODO

[ ] configure Splunk in logback.xml properly (cc @atoulme)

Documentation changes
Configure logging wiki page will need to be updated. This doc page explains how to override the default location of the configuration file.
Changelog

[ ] I thought about the changelog and included a changelog update if required.

Thanks @jflo. I tried to respect every existing CLI flag in this PR. Also I followed the exact same output format for logging messages, the only difference is about the colour palette that is used by Log4j2 vs Logback for the different levels.
With regards of the Sonar checks, those were the same approved for #3285, i.e. setting log level explicitly (this time for Logback) and using System.out for when the logging context wasn't initialized yet.

Sorry if I've mentioned this before, but how are we dealing with backwards compatibility for people who are using custom log4j.xml configurations?

It might still be possible to use log4j2 with slf4j, just need to change the jars in the classpath. There's some options folks can use from there on.
Do you know of anyone using custom log4j2 configs, besides what we use for direct Splunk logging here?

@atoulme I think we are not that agnostic of the logging backend [yet]. Features like changing the log level at runtime are implementation specific and we require implementation level dependency. Another option would be to add an abstraction layer like the one that vert.x has, but I don't know if it wouldn't be too much for Besu

I agree, sounds like too much.

Do you know of anyone using custom log4j2 configs, besides what we use for direct Splunk logging here?

It's used on all the Besu nodes ConsenSys runs to output logs as JSON which is then sent processed and aggregated etc. I also use it personally particularly for development because it makes it so easy to change logging config at runtime (we do have a JSON-RPC API to do that but it's so much more painful).  I've recommended using a custom log4j setup for anyone doing anything serious for years mainly because of that flexibility to change things at runtime - not sure how many people have actually listened...
I don't think it's a big deal to change the custom config format we'd use, but I think we need to give reasonable notice. I'd be against changing the logging backend if there wasn't a roughly equivalent approach to providing custom config, but the logback config looks extremely similar so I don't think we're losing anything, just changing some syntax.

Hi all - closed for now in favor of the existing solution in #3759. I think we can look at this again when we address tech debt post-merge.


ESP32 Demo

In platform io,I take this library,I try to use it for my ESP32,But when I Use like this
#include "DAC8551.h"
#include "Wire.h"
DAC8531 mydac(1);
void setup()
{
  Serial.begin(115200);
  selectVSPI();
  mydac.begin();
}

The IDE will ERROR about 'selectVSPI' was not declared in this scope.
Would you please give me a true example for HW to ESP32?

updated post for code readability

Thanks for the issue.
At the moment I'm very busy working on other issues in other libraries, so it might take a few days.
Sorry for the inconvenience.

Had a quick look, you forgot to use the object
//
//    FILE: DAC8551_ESP32_VSPI.ino
//  AUTHOR: Rob Tillaart
// PURPOSE: demo DAC8551 library Arduino with hardware SPI
//     URL: https://github.com/RobTillaart/DAC8551

#include "DAC8551.h"
#include "Wire.h"

// HW SPI uses slave spin since 0.2.0
DAC8531 mydac(1);

void setup()
{
  Serial.begin(115200);
  mydac.selectVSPI();
  mydac.begin();
}

void loop()
{
  // minimal sawtooth
  for (uint16_t val = 0; val < 65500; val += 30)
  {
    mydac.setValue(val);
    int av = analogRead(A0);

    Serial.print(val);
    Serial.print("\t ==> \t");
    Serial.print(av);
    if (val % 300 == 0) Serial.println();
  }
  Serial.println();

  // minimal sinus
  for (long i = 0; i < 360; i++ )
  {
    long s = 32768 + 32768 * sin( i * (PI / 180.0));
    mydac.setValue(s);
    int av = analogRead(A0);
    Serial.print(i);
    Serial.print("\t ==> \t");
    Serial.print(av);
    delay(100);
    if (i % 30 == 0) Serial.println();
  }
  Serial.println();
}

// -- END OF FILE --

Compiles for ESP32 (not tested any further,
Will add this as an extra example if it works for you

Thank you very much!

Please let me know if it works.

I used the following statement, the DAC8531 module I made by myself correctly output 0.2V, maybe the module I made was wrong, the dac8531 burned out 5 seconds after the output voltage.
`#include "DAC8551.h"
#include "Wire.h"
DAC8531 mydac(10);
void setup()
{
Serial.begin(115200);
mydac.selectVSPI();
mydac.begin();
}
void loop()
{
mydac.setValue(150);
}

I used the following statement, the DAC8531 module I made by myself correctly output 0.2V, maybe the module I made was wrong, the dac8531 burned out 5 seconds after the output voltage.
#include "DAC8551.h" #include "Wire.h" DAC8531 mydac(10); void setup() {   Serial.begin(115200);   mydac.selectVSPI();   mydac.begin(); } void loop() {     mydac.setValue(150); }

So ccording to the datasheet the DAC8551 and DAC8531 should be compatible

@guaizai2023
Some posts suddenly disappeared  ?

I found why my dac8531 module can not control,the ESP32 hardware VSPI did not turn on(I use the logic analyzer,The start signal of SPI no found ),I use software spi setGPIOPin() use my module successfully.And to DAC8531 module, if someone want to try it rail to rail function ,should use OPA703 but not LM358.#include "DAC8551.h" #include "Wire.h" DAC8531 mydac(1); void setup() {   Serial.begin(115200);   mydac.selectVSPI();   mydac.begin();   mydac.setGPIOpins(18,2,23,5); } void loop() {     mydac.setValue(10000); }

Sounds you got it working now,
If so please close the issue/


[Storage] Fix for invalid x-ms-expiry-time header in request

Description
This pull request addresses the issue (#38518) with the DataLakeFileClient.set_file_expiry() method when using expiry_options="NeverExpire". Previously, the method failed due to an incorrect format in the HTTP headers, specifically the redundant x-ms-expiry-time header.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

@microsoft-github-policy-service agree

API change check
API changes are not detected in this pull request.

Sorry for the delay and thanks for the contribution @prejs! The change looks good! CI is failing because you modified some "recorded" tests but did not "re-record" them. Test recordings and basically a record of all the HTTP requests/responses that a test makes so that, during CI, the tests don't actually make any network requests and instead just look at the recording to "playback" the requests.
Recording tests is a bit tricky and likely not something you want to attempt. We can record the tests for you and either contribute them back to this PR or we may have to just create our own PR.
We are a bit busy currently and with it being around the US holiday season, it may be a bit before we get to this, but we hope to include it in our next release. Thanks again!

Thank you for the detailed explanation and for reviewing the pull request @jalauzon-msft! I really appreciate your time, especially given how busy things can get around the holiday season.
I want to clarify that I wasn’t intending to rush or push for a resolution - I’m mainly exploring the contribution process and challenging myself to fix issues I am capable of fixing. That said, I understand that recording tests can be a bit tricky, so I’m happy to defer to you.
Also, I’ve made sure that “Allow edits from maintainers” is enabled on this PR, so feel free to make any necessary changes directly if that’s more convenient.
Thanks again for your support! Looking forward to seeing how this evolves.

Hi again @prejs, we created #38767 to address this issue which mostly takes your solution with a minor refactor to make the method a little cleaner overall. It was easier for us to just create a new PR rather than commit to your fork. Sorry you won't actually get merge credit but thanks again for finding/reporting the issue and your contribution to fixing it!
I am going to close this PR for now and the attached issue will close when our PR merges. This will then go out with the next release which will hopefully be early next year. thanks again!


Unable to deploy uisng ARM template by passing the content of the json file.

Hi folks,
I am trying to do a deployment but rather than passing the TemplateLink and ParametersLink, I'd rather passing the content. When I do so however I get an error as follows. What I do right now is simply loading the content of my template file
    public static Object GetTemplate() {
        return File.ReadAllText( @"E:\OfficialTemp\tmplt.json" ); }

    public static Object GetParameters(){
        return File.ReadAllText( @"E:\OfficialTemp\params.json"); }

and then in my main:
        deployment.Properties = new DeploymentProperties
        {
            Mode = DeploymentMode.Incremental,
            Template = GetTemplate(),
            Parameters = GetParameters(),
        };

        var resourceManagementClient = new ResourceManagementClient( credential )
        { SubscriptionId = subscriptionId };

        return await resourceManagementClient.Deployments.CreateOrUpdateAsync(
          groupName,
          deploymentName,
          deployment );

I'd like to mention that my tmplt.json and params.json are exactly the file that I used to in my deployment using the URI so I do not think that is an issue. I tested with the values that are stated for the template and parameters in https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-windows-csharp-template/ and I get the same error.
Error: System.AggregateException: One or more errors occurred. ---> Microsoft.Rest.Azure.CloudException: The request content was invalid and could not be deserialized: 'Error converting value "

}" to type 'Microsoft.WindowsAzure.ResourceStack.Frontdoor.Templates.Schema.Template'. Path 'properties.template', line 3, position 23171.'.
at Microsoft.Azure.Management.ResourceManager.DeploymentsOperations.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Management.ResourceManager.DeploymentsOperations.d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Management.ResourceManager.DeploymentsOperationsExtensions.d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at ConsoleApplication1.Program.d__3.MoveNext() in

Hi @rshirani
I'm always glad to help, but unfortunately I can't answer a C# issue in the Python issue tracker :(
Please submit your issue in the C# Python tracker and the C# expert (who I'm not) will be able to help you:
https://github.com/Azure/azure-sdk-for-net/issues
Thanks and sorry about that,

OOPS. I actually wanted to post it there. Sorry for the noise. For the record, here is the link: https://github.com/Azure/azure-sdk-for-net/issues/2190


cannot read property 'DocumentDir' of undefined

I met the problem after installing the img-cache and the fetch-blob.
This problem was happened at compiling.
Please help me.
Thank you.

i have the same problem. Installed both and ran react-native link

@thijssteel / @dmh19900611  do you find a solution guys ?

not yet, haven't had the time

i also have this,and i found the solution,you can see https://github.com/wkh237/react-native-fetch-blob/issues/299

Apparently react-native link does not work well. You have to link RNFetchBlob.xcodeproj and libFetchBlob.a manually

Hello i have solved this issue---- when you install the react-native-fetch-blob and link with iOS, it only provide limited lib on native side.
you can to open project from iOS in Xcode then remove the library of RNFetchBlob.xcodeproj from library folder and then again add by right click on library folder from node modules-->react-native-fetch-blob--->iOS folder --->add project RNFetchBlob.xcodeproj then all required file will be there and make sure add lib on build phases also libRNFetchBlob.a
it works for me.
Thanks


FileNotFoundError: [Errno 2] No such file or directory: 'gifsicle'

Getting this error
python3 read.py input.gif output.tgs
Traceback (most recent call last):
File "read.py", line 19, in
run(["gifsicle", "-U", sys.argv[1]], stdout=tmpfile)
File "/data/data/com.termux/files/usr/lib/python3.8/subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "/data/data/com.termux/files/usr/lib/python3.8/subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/data/data/com.termux/files/usr/lib/python3.8/subprocess.py", line 1700, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'gifsicle'

install gifsicle

install gifsicle

is this correct pip install pygifsicle

nope

nope

then how plz tell

then how plz tell

@F36  Just install gifsicle from official website
And put the gifsicle.exe in the directory

brew install gifsicle if you have home brew on mac


Maybe we need a wire protocol for controlling capture

Something to control capture, like "start trimming" and "stop trimming" would be great..
Because there would be a little delay connecting to the app maybe also an option to capture to cause GFXR to wait in CreateInstance and a wire signal for "control app connected" (GFXR can continue) would be helpful.
Maybe the control app would be a Python script with Tcl/Tk.  I don't want to think much more about it for fear of overengineering it before we even commit to such a thing.

Sounds great. Maybe we can stretch to some prettier buttons than Tk's :pray:
https://github.com/hoffstadt/DearPyGui
https://kivy.org/

Could do.  Mostly I was thinking the Python/Tk app probably would run on any installation of Python so we don't add any new dependencies.

True. TkInter actually got a bit prettier since I tried it ... some time
before the 2007 revamp I guess :-).
On Fri, 21 Oct 2022 at 22:38, bradgrantham-lunarg @.***>
wrote:

Could do. Mostly I was thinking the Python/Tk app probably would run on
any installation of Python so we don't add any new dependencies.
—
Reply to this email directly, view it on GitHub
https://github.com/LunarG/gfxreconstruct/issues/870#issuecomment-1287460968,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZDANZ453W32T5SX5LL2RX3WEMEMHANCNFSM6AAAAAARLQGYBU
.
You are receiving this because you commented.Message ID:
@.***>

I think TkInter themes help them look a little better.

What's the basic idea for this? Are we going to bese it on adb (android specific) or something more general like a tcp socket?


[BUG] Missing areas in structure.json files

Describe the bug
Some of the atlases have areas in the annotation volume that don't appear in the structure.json file. It would be great to add the missing annotations by following up with the original uploaders/authors of the atlas or at a minimum just putting in some generic metadata to make it clear that the structure is unknown.

Hi @dbirman, thanks for raising this. I think this has two parts:

Preventing this on the atlas generation side - https://github.com/brainglobe/bg-atlasgen/issues/81
Adding some check on the API side to inform users


gdUnit 4 support

This PR is still Work in Progress!
Description
This pull request aims to introduce unit testing via gdUnit4. This is a prerequisite for #70.
Addressed issues

closes #2

Closing this, as I will provide separate PRs for GDUnit 4 + the build pipeline.


PDF.js Critical Vulnerability

CVE-2024-4367: JavaScript Flaws Threaten Millions of PDF.js
Please update the pdf js to 4.2.67

@hrynko

Hi @AmmarMohamadIsmaeel @leeobrum
Thanks for bringing this up, I'm on it

@hrynko - any updates? Would love to push out updates for projects using this package. Thank you for all of the hard work!

@hrynko I made a PR with at least a way to minimize the vulnerability until there is a larger updated - https://github.com/hrynko/vue-pdf-embed/pull/217

PDF.js has been updated to 4.3.136 in v2.0.4


command: all audios but with 1 exception?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.09.24 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
I have a question about commands in Windows command prompt.
Is it possible to make a command with the best video + all audios but with only 1 exception? Just without audiodescription?
By the channel Arte.tv there are often 3-4 audios plus audiodescription, which I would like to avoid.
As a rule I use commands like this:
yt-dlp -f bv+mergeall --audio-multistreams --merge-output-format mkv https://www.arte.tv/de/videos/097606-000-A/medikamentenmangel-profitgier-mit-todesfolge
I tried to make a kind of “exception” but it didn't work:
yt-dlp -f bv+mergeall --audio-multistreams,-VAAUD-program_audio_0-VAAUD --merge-output-format mkv https://www.arte.tv/de/videos/097606-000-A/medikamentenmangel-profitgier-mit-todesfolge
The error message was: "error: no such option: --audio-multistreams,-VAAUD-program_audio_0-VAAUD".
German audiodescriptions are usually called VAAUD-program_audio_0-VAAUD
French audiodescriptions are usually called VFAUD-program_audio_0-VFAUD
There a lot of examples like this, among others, especially BBC series, like “The Paradise” (unfortunately available only today, today is the last day), each series has 8 episodes (with 4 audios):
https://www.arte.tv/de/videos/112357-001-A/the-paradise-staffel-2-1-8/
https://www.arte.tv/de/videos/112356-008-A/the-paradise-staffel-1-8-8
————-
I use now nightly build yt-dlp nightly 2<IP_ADDRESS>044
yt-dlp.exe from here (https://github.com/yt-dlp/yt-dlp-nightly-builds/releases), because the normal yt-dlp can’t manage arte.tv at the moment.
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

-f "bv+mergeall[vcodec=none][format_id!~='V[AF]AUD']" --audio-multistreams
or if using a unix shell, you'll need to use single quotes for inner and double quotes for outer
-f 'bv+mergeall[vcodec=none][format_id!~="V[AF]AUD"]' --audio-multistreams

Thank you very much, bashonly!


Feature/refactor

#2001 - first pass at refactoring code

This is going to take some time to test and review

I created a alpha branch for this purpose. This isn't merging into master.

This doesn't need to be merged anytime soon. More of a RFC.


Machine Learning - Process Note Files

[x] Remove stop words and punctuation
[x] Convert to different data types (dictionaries etc) for storage and use in ML algorithm

Closing because I finished this in my branch "claire"


Bug: When you move to the bottom navigation and then go back, the bottom navigation tab does not change.

Problem
We have identified a bug in the bottom navigation system. The issue manifests as follows:
After moving to another screen using the bottom navigation bar, when you press back to return to the main screen, the bottom navigation bar tab does not change to the main screen.
(It is the main screen, but the screen tab that was moved before going back is maintained.)
https://github.com/user-attachments/assets/0ab9115f-8d22-49b9-91b3-275251a7e079

Thanks. This has been fixed in https://github.com/DroidKaigi/conference-app-2024/pull/317

My guess is that it is resolved when going to the sub screen and back, but not resolved or degreased for the screen at the top of the tab.

I try this


Document Koa support

https://github.com/60frames/webpack-hot-server-middleware/tree/master/example/koa


Can XCPlite and CANape be run on the same machine?

Hello, I want to learn XCP by running XCPlite and CANape on one PC and debugging. I have set up a CANape project using the generated C_Demo.a2l. Clicking "Test connection" in CANape gives the result "Communication established". But CANape also reports all bus monitors and devices are offline, and the Online icon is disabled.
Can XCPlite and CANape be run on the same machine? Or do I need to run XCPlite and CANape on different machines, and connect them using Vector hardware? Thanks.

Don't need Vector devices or other machine, just run both XCPlite application and CANape on same machine.
You can build C_Demo, run it. Open CANape and then start measurement.

Hello,
if you have problems to connect, make sure the CANape XCP device (device manager/protocol/settings)  is set to the correct IP address (localhost <IP_ADDRESS>).
The A2L file generated by the demos specify the IP address of the first ethernet adapter found in your system, unless not explicilty set on the command line (C_Demo -bind <IP_ADDRESS>).
If CANape is set to automatic upload of the A2L file, the initial IP address setting has to be correct, to make the A2L upload possible.
Regards
RainerZ


feat: min fee query #ntrn-386

Adds query to get min fee from feefunder module.
Implements this task: https://p2pvalidator.atlassian.net/browse/NTRN-386
Test run: https://github.com/neutron-org/neutron-tests/actions/runs/4426356223

lgtm but let's merge https://github.com/neutron-org/neutron-dev-contracts/pull/11 first
would be bad to merge this one first since it has the reflect.wasm binary built from code that isn't merged yet


setup.py: Remove outdated setup_requires

This has been superseded by the declarations in pyproject.toml. Removing it will suppress the message _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. upon installing the package.

 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.


Return same SnapshotHierarchy when nothing was invalidated

So we can rely on SnapshotHierarchy being the same instance when nothing changes. We use this currently when printing the warning at the end of the build whether we dropped unsupported file systems.

@bot-gradle test QF

OK, I've already triggered QuickFeedback build for you.

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.


Duplicate property; Two m8

https://github.com/ryupold/raylib.zig/blob/c9748415f56b4f40b40a60f472322d6df2211961/raylib.zig#L97

PR fix for it https://github.com/ryupold/raylib.zig/pull/32

merged it


moves ansible-lint into userspace

Check fails due to codeclimate having scheduled downtime. Waiting until cc is back up. - http://status.codeclimate.com/incidents/fly3g14z63cy


Frontend: Implement Soroswap's optimal routing

[x] Code executeRoute() function
[x] Code generateRoute() function

to test after merge https://github.com/soroswap/frontend/pull/263

I suggest modifying our approach to handling trade routes by incorporating the route fetching directly within useBestTrade. This change aims to improve efficiency by eliminating delays between the user initiating a swap and the SDK querying the backend for the route. By fetching the route as part of the trade generation process in useBestTrade, we can ensure the expected amount out is accurately calculated based on the route, addressing the current issue where it's based on reserves and updated at swap time. It's necessary to update the trade object to include the route from the sdk, reflecting the accurate expected output and price impact in the SwapComponent. Given the introduction of the router and its response patterns, we should also evaluate the structure of the trade object, particularly the relevance of the swaps[] array, to align with our updated trading logic. This adjustment is aimed at enhancing the trading process's accuracy and responsiveness.


📝 Update includes in ./docs/tr/docs/tutorial/cookie-params.md

Thanks for the effort! :cake:
This was handled in another PR, so I'll close this one now. :coffee:


use_memo

We should add use_memo. In the meantime, copy-pasting this code should work.
_T_use_memo = tp.TypeVar("_T_use_memo")

def use_memo(
    fn:  Callable[[], _T_use_memo],
    dependencies: tp.Any,
) -> _T_use_memo:
    stored, _ = use_state([None,None])
    if stored[1] != dependencies:
        stored[0] = fn()
        stored[1] = dependencies
    return stored[0]

https://react.dev/reference/react/useMemo

Published in v2.7.0


I want to make kaya

I have made kaya robot according to relevant documents, and I think the kaya robot in video is very cool. However, I found only joystick, follow_me, object_detection, gmapping_distributed in the example, I want to know whether kaya waste sorting will be open source,I think garbage sorting is really cool.

Hi bigboss10186,
You've asked a very well-timed question! We have just released Isaac 2019.2, which includes the waste_sorting and navigate apps. These will both require maps, which you can generate using the pre-existing gmapping_distributed app.
If you have questions about how to use these, I would point you toward the Isaac SDK forums here:
https://devtalk.nvidia.com/default/board/375/sdk/

Thank you. I found what I wanted.    :)


bug(build): Gulp task build:release fails on windows

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Should be able to run a release build. build:components works, but build:release doesn't
What is the current behavior?
C:\Dev\GitHub\material2>gulp build:release
(node:17036) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
[03:02:24] Using gulpfile C:\Dev\GitHub\material2\gulpfile.js
[03:02:24] Starting 'build:release'...
[03:02:24] Starting 'clean'...
[03:02:25] Finished 'clean' after 270 ms
[03:02:25] Starting 'build:components'...
[03:02:25] Starting ':build:components:ts'...
[03:02:33] Finished ':build:components:ts' after 8.03 s
[03:02:33] Starting ':build:components:rollup'...
[03:02:34] Finished ':build:components:rollup' after 1.37 s
[03:02:34] Starting ':build:components:assets'...
[03:02:35] Finished ':build:components:assets' after 812 ms
[03:02:35] Starting ':build:components:scss'...
[03:02:36] Finished ':build:components:scss' after 1.16 s
[03:02:36] Starting ':inline-resources'...
[03:02:36] Finished ':inline-resources' after 56 ms
[03:02:36] Finished 'build:components' after 11 s
[03:02:36] Starting ':build:components:ngc'...
Error: spawn UNKNOWN
at exports._errnoException (util.js:1007:11)
at ChildProcess.spawn (internal/child_process.js:302:11)
at Object.exports.spawn (child_process.js:383:9)
at ../../tools/gulp/task_helpers.ts:84:40
at ../../tools/gulp/task_helpers.ts:128:41
at C:\Dev\GitHub\material2\node_modules\resolve-bin\index.js:40:5
at C:\Dev\GitHub\material2\node_modules\find-parent-dir\index.js:25:26
at FSReqWrap.cb [as oncomplete] (fs.js:251:19)
What are the steps to reproduce?
Clone the source, install the dependencies then run gulp build:release on Windows
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, browsers are affected?
Is there anything else we should know?
Running node v6.2.2 and npm v3.9.3

Dupe of #1129


These tests will bring up statement coverage for UTestPlatform.cpp (GCC) to 100%

They are rather simple-minded and don't do any checking (yet?). Some observations:

PlatformSpecificFOpen(), PlatformSpecificFPuts() - it seems like those functions probably don't get used anywhere in CppUTest. One could write some stuff in an actual temp file, read it back and have the test compare it. However, temporary files (that get automatically unlinked) are not supported under Cygwin, as far as I know.

GetPlatformSpecificTimeString() - this doesn't seem to be used, either. The interface does not allow for any kind of sensible test.

PlatformSpecificMutexLock and PlatformSpecificMutexLock - better tests might be possible for this. Personally, I have no experience so I left it at this.

Commented on this change in another pull request. I'm uncomfortable with this because the tests don't test anything and they are purely created for coverage sake


Typescript Support Available!

TYPESCRIPT
I've created a new repository for a typescript version of this plugin.
It has a whole new API and up-to-date type definitions.
I was going to post it in this repository but for the meantime, it will be available under react-sortablejs-typescript on NPM.
Project
I'll be tracking this as a project in here: https://github.com/SortableJS/react-sortablejs/projects/2
Repository
Here is the repo: https://github.com/waynevanson/react-sortablejs-typescript
The repository is now under the typescript branch for this repository: https://github.com/SortableJS/react-sortablejs/tree/typescript
It will be managed separately to react-sortablejs until it is merged to master.

A Good Job!

what is the answer to get the updated list of array ?


link in MSSM networks to app

Location of MSSM networks: syn7770770

Only 14 targets in this network:
EPB41L3, IGFBP5, LRP10, MSN, OLFM3, PADI2, PAK1, PLXNB1, RGS4, SCN2A, SNAP25, SV2B, SYT1, VSNL1

Can test this on branch mssmnetworks.


Making endpoints and addresses easier

This makes endpoints and addresses easier to work with by dropping the
'metadata first' approach for the the things that are really at the core
of the dispatcher.

@davidfowl thoughts?
/cc @jbagga please have a look as well

Discussed this in person, I'm going to go ahead and merge for now since this is cleanup.


[Storage-S3-DDB] Support re-definition of DynamoDB client configuration

DeltaLake uses DynamoDB to support the reliable operation on multi-cluster mode over S3 storage.
Signed-off-by: Maksim Zinal<EMAIL_ADDRESS>
Which Delta project/connector is this regarding?

[ ] Spark
[ ] Standalone
[ ] Flink
[ ] Kernel
[X] Other (storage)

Description

The current implementation of S3DynamoDBLogStore class defines the DynamoDB client configuration as a private getClient() method, which cannot be overridden.
In our case we needed to re-define the endpoint for the DynamoDB client, which forces us to copy the full S3DynamoDBLogStore.java file just to override the DynamoDB client configuration.
In addition, the current code in the getClient() method uses the deprecated direct construction of DynamoDB client, which was replaced with the builder-style construction in this patch.
How was this patch tested?

We used and tested the customized code in our environment.
Does this PR introduce any user-facing changes?
The existing clients will unlikely see any changes at all. Those who need to re-define the DynamoDB client setup will be able to do so.

I believe that test failures shown above are unrelated to the contents of this patch (seems to be some timeouts).

We would be interested in this as well.


Add support for custom arguments to OptionalArgumentFactory

This PR adds support for custom arguments (e. g. JodaDateTimeArgumentFactory) to OptionalArgumentFactory.
The implementation is rather clumsy because jDBI doesn't seem to provide extension points for this kind of customization.
Refs #1297.

Are the Travis test failures relevant to the pull request?

@nickbabcock Yes, unfortunately they are. I'll take another look at this tomorrow if no one else has a better idea. :disappointed:

Do we really need DelegatingArgumentFactory? I think, we could write OptionalJodaTimeArgumentFactory, register it last, and use the fact that JDBI processes argument factories in the reverse order.
Personally, I don't think that this problem is worth to solve, if there is no simple solution.
Users could easily work around it.

@arteam I created DelegatingArgumentFactory as preparation if more than just one additional ArgumentFactory is available in Dropwizard (e. g. dropwizard-java8 adds more). It's a bit unfortunate that jDBI doesn't support wrapped arguments in a way that would make this PR unnecessary.
Feel free to come up with another (maybe more pragmatic) PR for this issue. I'll happily review and merge it.

@arteam Any more reasons not to merge this? Otherwise I'd merge this PR for Dropwizard 0.9.0.

As I said, I don't like relative complexity of the fix and that we could break something in the final release, because nobody tested its effects on real applications.
I will send a PR with an alternative implementation, but would contest that this issue should be addressed in 0.9.0.
@dropwizard/committers, what is your opinion on this?

I could go either way on this. I agree with @arteam that his approach in #1304 is more isolated at this time for 0.9.0.  We could revisit this PR in 1.0.0 as a more generic implementation.

Closed in favor of #1304.

FYI I prefer this to 1304. We have use cases for Optional as well. Having to do a new argument factory for each complex type with Optional is really irritating.


DO NOT SUBMIT -- messy rebase will break apart

This change is

#2442  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


API redesign

This issue lists ideas for redesigning the core API of Storm. The intention of this issue is to mark down ideas so they're not forgotten.
A redesign should allow for greater composability when developing higher level abstractions on top of Storm. Most users never hit these issues, because they don't do things that involved. However, the DRPC and Transactional topology abstractions "leak" a little bit (the id for the batch needs to be maintained in the first field of the tuple manually by the user), and those leaks can be completely plugged with more sophisticated primitives in Storm.

a message should be able to be any type (list, map, object, whatever). currentlly they have to be lists.
arbitrary metadata for streams beyond "Fields". For example, you may not need any metadata, or maybe you have a different kind of metadata for your particular datatype
different types of streams should work with different groupings. certain groupings like shufflegrouping, nonegrouping, globalgrouping are generic. but fieldsgrouipng is specific to a particular data model.
should be able to layer messages on top of each other, like how network packets work. for example, coordinatedbolt stacks information about the coordination on top of whatever data the delegate bolt emits. similarly, the coordinatedbolt metadata stacks over the metadata for the delegate bolt. then when stream groupings are done, the "CoordinatedGrouper" can delegate to the grouping chosen by the user. kryo should make this pretty easy.
these changes prevent the need to do things like choose a unique name for the first field of tuples like TransactionalSpout implementations need to do. instead they can wrap the underlying data in their own data model
the subscription api should look like this: ".subscribe(component, stream, new TypeOfGrouping())"

e.g. ".subscribe(component, stream, new CoordinatedGrouping(new FieldsGrouping("word"))
the higher level abstraction can cleanly hide the nested groupings from you

One should be able to add hooks into spouts and bolts.  Ideas:

Emit hook, for both spouts and bolts
A hook when a bolt receives a tuple (or message)

These could be done with wrapper classes around bolts of course, or in our DSLs, but I think hooks would be a cleaner way to do them and be able to separate out functionality better.


xpath parent search gets stuck

What versions are you running?
chromedp v0.7.4
chrome  93.0.4577.82 (Officiële build) (64-bits)
go version go1.17 darwin/amd64
Problem:
It looks like an xpath parent search does not return. The following does click the 'a' parent of the 'span' but then becomes stuck.
err = chromedp.Run(ctx,
   chromedp.Click(`\\span[text()="01011888"]/..`, chromedp.BySearch),
)
fmt.Print("clicked")

What did you expect to see?
I expected to see the 'clicked' text
What did you see instead?
The click in chrome, and a stuck context
Kludged it in the meantime by having the click timeout with a context.withTimeout

chromedp.Click(\\span[text()="01011888"]/.., chromedp.AtLeast(0)) try?

@mbetel Please provide a reproducer (including the target web page).

Closing due to lack of activity.


Fix typo in KubernetesCluster interface.

Rename "custer_subnet" to "cluster_subnet".

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Renames a field in the KubernetesCluster interface.

What is the current behavior? (You can also link to an open issue here)
The field has the wrong name.

What is the new behavior (if this is a feature change)?
The field has the right name.

Other information:
That's it.

Thanks so much for the contribution @haunted-loaf! This fix has been released to npm in version 1.5.12.


Solution to CodeForces Phoenix and Puzzle problem

Is your feature request related to a problem? Please describe.
problem link- https://codeforces.com/contest/1515/problem/B
(LGM_SOC)

Describe the solution you'd like
I'll add a solution in C++
Programming language

[ ] C
[x] C++
[ ] Java
[ ] Python

assign me for this
LGM_SOC Participant


First click doesn't work when using shortcuts to change mode (move, scale, pan, rotate, etc)

Godot version
3.5.stable.mono.official [991bb6ac7]
System information
Windows 11, GLES3, Intel iris xe graphics
Issue description
Changing from one mode to another using shortcut (q, w, e, etc..) makes the mouse click do nothing in the first click, so I have to click two times for it works.

Steps to reproduce
Change mode using shortcut (q, w, e, r, g) and then try to move or scale or use the pan to move around the map (workspace) and see how the mouse doesn't do anything, it doesn't use the tool at the first click, then you click again and it'll use it.
Minimal reproduction project
No response

Can you reproduce this in the 3D editor as well, or only in the 2D editor?

in both, 2D and 3D.


Nacos integrates Dubbo, GoS command offline does not take effect.

https://github.com/alibaba/nacos/issues/2230

fixed


It's Here: Use terra-dev-site

Summary
Only been working on these changes off and on for two months 😅 Closes #1254
This PR uplifts terra-core to use terra-dev-site. A few test examples had to be added that perviously exported multiple examples and a few tests needed updated for more explicit selectors.

Whoops. I made changes locally to run the tests, however this is blocked on the next terra-dev-site release to get this change: https://github.com/cerner/terra-dev-site/pull/43

@emilyrohrbough We have 5 new components that are being developed which we are aiming to land in terra-core master by March 14th.

Tag
Avatar
Fieldset
Section Header
Action Footer

I think it would be good to get the terra-dev-site update in review after these 5 components land so we don't have new components in flight as we change the example/test directory set up. We'll also have a bit of a pause on new components after these 5 are done until Q2 development picks up around April so that would be an ideal time to roll out the terra-dev-site update.

@bjankord Sounds good. I will move this issue to blocked.

As this PR is blocked by the five issues listed above, closing this issue until they are resolved.

So I am getting linting errors for the Tag Component. I don't think Travis is consistently running the linter in PRs.

I'm worried we'll loose access to some of our deeper nested documentation with this change, for things like form that have sub-items.

I'm worried we'll lose access to some of our deeper nested documentation with this change, for things like form that have sub-items.

Yes, the sub-nav example pages no longer show up in the nav in the deployed site. +1 to just merging together the sub doc into a single doc.


start.sh: set RELOAD=1 if VM already exists

Signed-off-by: André Martins<EMAIL_ADDRESS>Fixes https://github.com/cilium/cilium/issues/4628

This change is

test-me-please

test-me-please

test-me-please

test-me-please


No results from Consumers view

Hello,
I notice that viewing Consumer offset and lag information feature had been merged to master (as @patelh mentioned in #109 ), so I built the source from master and start it. (It's versioned with <IP_ADDRESS>.)
However, everything works fine except that in the Consumers view, no results are available, only a hint "No data available in table".
I'm using kafka <IP_ADDRESS>, and store the offset in kafka. Also I'm using SimpleConsumer from maven:
<dependency>
    <groupId>org.apache.kafka</groupId>
    <artifactId>kafka_2.11</artifactId>
    <version><IP_ADDRESS></version>
</dependency>

And every configs are default(except the "kafka-manager.zkhosts" of cause).
Are there some things I've missed?

Consumer offset is only saved in zookeeper for the high level consumer.

Does this mean it will not support this feature, if high level consumer
offset are stored in kafka?
since kafka <IP_ADDRESS> release there is option to store offset in kafka
special topic
On Mon, Sep 28, 2015 at 9:11 PM, patelh<EMAIL_ADDRESS>wrote:

Consumer offset is only saved in zookeeper for the high level consumer.
—
Reply to this email directly or view it on GitHub
https://github.com/yahoo/kafka-manager/issues/135#issuecomment-143939003
.

Hi gopal, as of right now, we only surface offsets stored in ZK.  However, getting them from brokers would just be an additional implementation which we'd love to have contributed ;)

@gpatwa will try to add it over the weekend.

Thank you
On Mon, Sep 28, 2015 at 9:58 PM, patelh<EMAIL_ADDRESS>wrote:

@gpatwa https://github.com/gpatwa will try to add it over the weekend.
—
Reply to this email directly or view it on GitHub
https://github.com/yahoo/kafka-manager/issues/135#issuecomment-143944728
.

Thanks @patelh ! But I'm wondering are there any plans to support SimpleConsumer offset information with offset stored in Kafka?

@MichaelScofield I am not aware of that being an option on the SimpleConsumer.  IIRC using SimpleConsumer means you are managing the offset storage yourself.

@MichaelScofield Are you committing offsets with the simple consumer?  However, I don't think the simple consumer has a "consumer group" and so it does not register the instance in zookeeper.

@patelh Sorry for the late reply.
I'm using SimpleConsumer, and store its offset in Kafka. SimpleConsumer does not register itself in zookeeper, however, I am looking for a way to check the offset directly in Kafka. Is that possible?

@patelh did you manage to pull it of (support for kafka offset storage in kafka-manager)?

I am using kafkaspout as consumer, which writes consumers offset to zookeeper under the defined zkRoot. I am not sure if I can pass explicit zkRoot to search for consumers.Currently I guess kafka-manager looks for consumers from zookeeper under consumers directory so its not showing up in UI.

#195 adds support for kafka managed consumer offset tracking.  Next up is adding support for KafkaSpout.  @salano21 stay tuned.

+1 for KafkaSpout

+1 for KafkaSpout

+1 for KafkaSpout

+1 for KafkaSpout


Outdated

This information is extremely outdated

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

ID: 784a196f-3e0e-0c0a-0b2f-af2105a774d9
Version Independent ID: 08300f82-3b1d-b96d-bf10-e401ac6ef2c0
Content: Allow members to send as or send on behalf of a Group
Content Source: Office365-Admin/create-groups/allow-members-to-send-as-or-send-on-behalf-of-group.md
Service: o365-administration
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@sth2258 - From our understanding, the issue you raised has been answered by msbemba so we will close this issue.
Thank you for your contribution to make the docs better! Much appreciated!


couldn't find file 'i18n'

Hey!
I tried version 3.0.0.rc8 on my project with rails 4.2.beta4 and faced with the next error
Sprockets::FileNotFound (couldn't find file 'i18n' (in /projects/name/app/assets/javascripts/application.js:3)):

Any ideas of what it can be?

@cpence same problem. So me to :)

@PikachuEXE I have downgraded to rails 4.1.9 from 4.2.*. So it seems that it works with rails < 4.2.

Does //= require i18n resolve it?
I am busy until the middle of March :S

With rails < 4.2 yes. With rails 4.2+ no.

I finally got it to work with rails 4.2+
You need to //= require i18n.js instead of //= require i18n. I still don't really get why, but I had a similar issue with older versions of sprockets and other gems so I gave it a try and it worked.

@kevin-bonnin +rep :)

So we confirmed that the //= require i18n should be replaced by //= require i18n.js?
I can update the README if so.
Also do we need the .js suffix for i18n/translations?

@kevin-bonnin @zeitnot can you please answer @PikachuEXE's question so we can close this issue?

@PikachuEXE, @johnnyshields this is what I use and it's working fine:
//= require i18n.js
//= require i18n/translations

I will put it in README

Added in 78030390e36529b2611f960bda88df1d9e01aafd
Anymore action needed?

@PikachuEXE  nope I think you can close, thanks :D


ADMembershipService throwing error when using build# 2f9a001

I had to change this line:
using (UserPrincipal user = UserPrincipal.FindByIdentity(principalContext, username))
to this:
using (UserPrincipal user = UserPrincipal.FindByIdentity(principalContext, username.Replace("!",@"")))

How did you provide your Username for git? The intended way is domain\username

I am using the ActiveDirectory membership service so I I only need to supply the ActiveDirectoryMemberGroupName to allow a list of users. Here is my config:
<add key="AuthenticationProvider" value="Windows" />

<add key="MembershipService" value="ActiveDirectory" />
<add key="ActiveDirectoryDefaultDomain" value="xxxxxx" />
<add key="ActiveDirectoryBackendPath" value="~\App_Data\ADBackend" />
<add key="ActiveDirectoryMemberGroupName" value="GroupName" />
<add key="ActiveDirectoryTeamMapping" value="Developers=GroupName" />
<add key="ActiveDirectoryRoleMapping" value="Administrator=Domain Admins" />

Oh I see. Can you please provide a PR?

I just did a quick check and AD does allow you to have an ! in the username, so I think my fix is not correct.
I think the solution would be to only convert the first ! in the username. Yes will submit a PR.

Although many services will allow ! in the usernames the PR I submited will not like them as I do a Replace("!", "\") in many places. Maybe you can fix those too, to only replace the first occurrence?

This is my first PR so please be gentle.
I changed all the Replaces() I could find but left the views alone.

You should fix the replace in the Views to for consistency IMHO.

Will do this as soon as I get a chance

Just a heads up that this will probably be fixed by #426

@chrismdev Can please check that this is fixed on latest master? https://ci.appveyor.com/project/jakubgarfield/bonobo-git-server/build/artifacts
Please backup your Database as latest master will upgrade it to a format not compatible with 5.1.1.

I deleted my ADBackend folder and Bonobo.Git.Server.db and got this error in the log Bonobo.Git.Server.Errors.log:
w3wp.exe Error: 0 : Error occured and caught in Global.asax - System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
at System.Guid.TryParseGuidWithNoStyle(String guidString, GuidResult& result)
at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
at System.Guid.Parse(String input)
at Bonobo.Git.Server.UserExtensions.Id(IPrincipal user) in C:\projects\Bonobo-Git-Server\Bonobo.Git.Server\Extensions\UserExtensions.cs:line 35
at ASP._Page_Views_Shared__Layout_cshtml.Execute() in c:\inetpub\wwwroot\Git\Views\Shared_Layout.cshtml:line 35
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.WebPages.WebPageBase.<>c__DisplayClass3.b__2(TextWriter writer)
at System.Web.WebPages.WebPageBase.Write(HelperResult result)
at System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action1 body)    at System.Web.WebPages.WebPageBase.PopContext()    at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList1 filters, ActionResult actionResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.b__1e(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult)    at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.b__5(IAsyncResult asyncResult, ProcessRequestState innerState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Can you clear your browser cookies for the Bonobo server address?   Sounds like the browser might be claiming you're logged-in to an account which no longer exists.  (I'll try and repro this here anyway)

Does this look right? we seem to be trying to cast a Upn to a guid in the UserExtensions class?
user.GetClaim(ClaimTypes.Upn);

Yeah that looks like the problem. My Upn looks like this<EMAIL_ADDRESS>

Apologies, after I cleared that cookie it started working

@chrismdev Cool - but we need to handle that better.

With the new integration tests we can probably fake a cookie. Not sure how
to test the AD part tho.
Am 22.02.2016 03:50 schrieb "Will Dean"<EMAIL_ADDRESS>
@chrismdev https://github.com/chrismdev Cool - but we need to handle
that better.
—
Reply to this email directly or view it on GitHub
https://github.com/jakubgarfield/Bonobo-Git-Server/issues/407#issuecomment-186931660
.

Not sure if I should create a new issue or add this in here. It no longer determines that I am in the administrators role. I'll dig in to this when I have a bit of time.

Same as #459

@chrismdev Can you please chime in on that thread? Maybe we are able to reproduce it with your help.


Work with ruby 2.3's --enable-frozen-string-literal

These changes are the minimal ones necessary to allow Sequel's specs
to pass. There may well be other changes that are required.

Thank you @jeremyevans ! I opened #1413 , which addresses the remaining issues. Unfortunately we can not test it on travis-ci, currently.


Question: Use v1.0 and beta endpoints in one project

Just wanted to raise some more "discussions" here and ask a question (and give one answer how I handle myself).
Anyone using v1.0 AND beta endpoint together in the own project?
How do you handle?
Do you use the new published 5.0.0 Graph .NET SDK package which simplifies it a bit?
Do you "mix" older <=4.54.0 beta and v1.0 package?
I'd like to use the 5.0.0 but cannot due to one bug exactly in the beta endpoint I want to use AND
because I have a Teams project and there is still a dependency with TeamsFx and 4.54.0
So I decided (also always in the past when there was no 5.x.x) to mix with HttpClient.
So (not only!) to fulfill the conditions of hack-together I make all my v1.0 calls with .NET SDK and only one call (beta) I make via REST and the HttpClient
Would love to hear your feedback. Concerns, different approaches and why? Helpful for you?

Install Microsoft.Graph.Beta and Microsoft.Graph
Rename the namespace for the beta client
Create two GraphServiceClient instances, (from different namespaces).

I guess with that you could do the following:
using Azure.Identity;
using Microsoft.Graph;
using Microsoft.Graph.Models;
// This is the trick, we rename the namespace
using Beta = Microsoft.Graph.Beta;

// And then you can create 2 clients in the same file
var graphClient = new GraphServiceClient(interactiveCredential, scopes );
var betaClient = new Beta.GraphServiceClient(interactiveCredential, scopes );

As the older 4.x.x version will have models and request builders with conflicting namespaces, The suggestion from @svrooij should work out. There also more similar instructions at the link below.
https://github.com/microsoftgraph/msgraph-beta-sdk-dotnet/tree/support/4.x#using-the-beta-client-along-with-the-v10-library


[BUG] Get-PnPTeamsChannelMessageReply and -IncludeDeleted flag bug

Reporting an Issue
Get-PnPTeamsChannelMessageReply command is returning only deleted replies if we don't specify -IncludeDeleted flag
Get-PnPTeamsChannelMessageReply -Team MyTestTeam -Channel "My Channel" -Message<PHONE_NUMBER>293 -IncludeDeleted
Actual behavior
Get-PnPTeamsChannelMessageReply -Team CLITeamDemo -Channel "climicrosoft365" -Message<PHONE_NUMBER>830
If we are not specifying -IncludeDeleted option it is only returns deleted messages replies, below screenshot
Reference message screenshot (if you see here there are 4 replies and only 1 is deleted)

Output

Expected behavior
if we don't specify -IncludeDeleted option it should return all the active messages/which are not deleted
Steps to reproduce behavior
Run the command with below option
Get-PnPTeamsChannelMessageReply -Team CLITeamDemo -Channel "climicrosoft365" -Message<PHONE_NUMBER>830
What is the version of the Cmdlet module you are running?
PnP.Powershell 2.0.53 (nightly build)
Which operating system/environment are you running PnP PowerShell on?

[x ] Windows

hi @gautamdsheth - I found this as part of creating new command and was able to fix this..will create PR for this


[bugfix](vertical compaction) fix dcheck failed on MOW tablet

fix a dcheck error for vertical compaction on Merge-On-Write table。 When merge rowsets with empty segment, VerticalHeapMergeIterator::init return ok directly and _record_rowids not set, dcheck failed when _unique_key_next_block call current_block_row_locations。
Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.84 seconds
load time: 472 seconds
storage size:<PHONE_NUMBER>1 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230105064942_clickbench_pr_73966.html


improve editorconfig

Resolves #162
What changed

add line ending preference
recommend utf-8

Testing instructions
Try it in your editor, you will need a supported editor or plugin: https://editorconfig.org/

didn't mean to also hit the merge button 😅 should be a safe file


OpCerts chains are required to be in memory and storage as a block, preventing memory optimizations

Problem
AdminPairingInfo has a large linear blob of storage for one set of opcerts for a given fabric:
    struct StorableAdminPairingInfo
    {
        uint16_t mAdmin;    /* This field is serialized in LittleEndian byte order */
        uint64_t mNodeId;   /* This field is serialized in LittleEndian byte order */
        uint64_t mFabricId; /* This field is serialized in LittleEndian byte order */
        uint16_t mVendorId; /* This field is serialized in LittleEndian byte order */

        uint16_t mRootCertLen; /* This field is serialized in LittleEndian byte order */
        uint16_t mOpCertLen;   /* This field is serialized in LittleEndian byte order */

        Crypto::P256SerializedKeypair mOperationalKey;
        uint8_t mRootCert[kMaxChipCertSize];
        // The operationa credentials set can have up to two certs -> ICAC and NOC
        uint8_t mOperationalCert[kMaxChipCertSize * 2];
        char mFabricLabel[kFabricLabelMaxLengthInBytes + 1] = { '\0' };
    };

This contains 3x opcerts at kMaxChipCertSize (600).
Furthermore, the OperationalCredentialSet expects to keep all of these in-memory, per fabric, in a way that they cannot be used in place.
Both of these together cause a large amount of data to be maintained in RAM on embedded platform, when they are actually very infrequently used (only during case), and only ever used one at a time.
This prevents memory optimizations on memory-starved devices and is an obstacle to fitting multi-fabric support on some low-RAM targets. Already some Silabs parts testing commissioning flow with real opcerts are running out of heap due to fragmentation because of these large blocks.
Proposed Solution
This particular problem can be addressed in several steps:

Communicating to the dev team that operational certs are infrequently used, and their lookup from non-volatile storage on-demand is a very small cost compared to the time cost of signature verifications in which they take part, and memory cost in maintaining them in RAM working set permanently.
Split kMaxChipCertSize from 600 (which is the max for DER certs for Device Attestation and for DER version of opcerts) to two values:

kMaxChipOpCertSize = 400 -> The maximum size of a TLV cert
kMaxCHIPDerCertSize = 600 -> The guaranteed max size of a DER cert like for DAC/PAI/PAA, and opcert at commissioner prior to TLV conversion
This is a savings of 33%

Refactor OperationalCredentialSet and code using it, to never expect an "already in-place" version, and rather to look them up from persisted storage every time. Currently this keeps copies of all elements of the opcert chain in HEAP (see AdminPairingInfo::SetXXXCert which allocs into heap). Release is done at the end of CASE, but the whole set (3x certs) is needed in memory at a time. If N incoming CASE sessions are in progress, Nx3 certs are maintained.
Introduce a TlvCertificateStore interface, which can be provided by platform  to enable optimization of storage/lookup of operational certs.

All primitives in the spec (and their related implementations) should be able to work with OpCerts one by one. They do not need to be maintained in memory permanently, or contiguously.
The following interface sketch would fulfill all requirements of Matter Operational Certs:

Allow removal of roots by SKID
Allow lookup of "next in chain" by AKID/SKID
Allow lookup of NOC by full node reference if needed (PK + fabric id  + node id)
Add simple implementation of AddTrustedRootCertificate/RemoveTrustedRootCertificate/AddOpCert/UpdateOpCert/RemoveFabric to spec with no dangling issues and no duplication of certificates
Allow optimization of large blob storage by platform, since OpCerts are the largest contributor to non-volatile stored state in quantity and size
Make clear that you can just look-up the certs in a temp buffer.

// Store/Retrieve TLV certificates by properties.
// Has all the primitives that may be needed to implement
// Matter operational certs
class TlvCertificateStore
{
 public:
  // Search by SKID --> Good to find known cert / next in chain
  virtual CHIP_ERROR GetBySkid(
    const uint8_t* cert_skid,
    size_t skid_len,
    uint8_t * cert_buffer_out,
    size_t cert_buffer_len) = 0;

  // Search by Public Key --> Used by GetByFullFabricRef
  virtual CHIP_ERROR GetByPublicKey(
    const uint8_t* public_key,
    size_t public_key_len,
    uint8_t * cert_buffer_out,
    size_t cert_buffer_len) = 0;

  // Good to find a NOC, so that chain can be followed
  virtual CHIP_ERROR GetByFullFabricRef(
    const uint8_t* public_key,
    size_t public_key_len,
    uint64_t fabric_id,
    uint64_t node_id,
    uint8_t * cert_buffer_out,
    size_t cert_buffer_len) = 0;

  // Insert any cert
  virtual CHIP_ERROR Insert(uint8_t * cert_buffer, size_t cert_buffer_len) = 0;

  // Remove by public key. Unambiguous.
  virtual CHIP_ERROR RemoveByPublicKey(const uint8_t* public_key, size_t public_key_len) = 0;
  // Remove by content. Unambiguous.
  virtual CHIP_ERROR RemoveByCertContent(const uint8_t* cert_buffer, size_t cert_buffer_len) = 0;
};

The trust store concepts for roots mentioned in this issue would help solve #17208 and #17209

@tcarmelveilleux is this now complete? What remains here?


Links and Scheduler

This PR implements a link system for the transport layer. It's based of the apollo-link package.
Breaking change

[x] Renamed Client to GraphQLClient to avoid name collision with other packages.
[x] Renamed GraphqlProvider to GraphQLProvider to align with new naming.
[x] Renamed GraphqlConsumer to GraphQLConsumer to align with new naming.
[x] Renamed GQLError to GraphQLError to align with new naming.
[x] GraphQLClient requires a Link to passed into the constructor.
[x] GraphQLClient no longer requires a endPoint  or apiToken to be passed into the constructor. Instead you can provide it to the Link.
[x] The Query and Mutation widgets are now StreamBuilders, there the api did change slightly.

Fixes / Enhancements

[x] Improved typing throughout the library.
[x] Queries are handled as streams of operations.
[x] Added the HttpLink to handle requests using http.
[x] HttpLink allows headers to be customised.
[x] The api allows contributors to write their own custom links.

Docs

[x] Document the new link system.
[x] Write an upgrade guide.
[x] Implement the new link system in the example.

@cal-pratt managed to get a couple hours in to work on the new link system. I think including subscriptions won't be to much of a hassle what do you think?

:tada: This PR is included in version 1.0.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


Adding new templates for azure backup

Adding new templates for azure backup

 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.:x: piyushanshu sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


The option to set specific phone orientations for android and ios exports are no longer in the export options

Godot version
3.3.3
System information
macOS bigsur 11.5.2 intel cpu
Issue description
The option to set the games orientation while exporting to android and ios are no longer in the export options
Steps to reproduce
im not entirely sure what the steps were i was just exporting to both android and ios for testing on a real device.
Minimal reproduction project
No response

oh alright thanks i was unaware of the option in the project settings. sorry if it was a stupid issue. hope you have a great day


fixed #git-command-not-execute-in-script-issue

to enable execute git in script

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[x] Docs
[ ] Underlying tools
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

Other information:

Could you elaborate on this line? What exact problem does it solve? I don't get it.
Also, please target the PR to the master branch.

It enables running git commands from script. Without this line git commands
in deploy.sh script just skipped on my linux machine.
пт, 9 окт. 2020 г., 11:08 Haoqun Jiang<EMAIL_ADDRESS>
Could you elaborate on this line? What exact problem does it solve? I
don't get it.
Also, please target the PR to the master branch.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vuejs/vue-cli/pull/5918#issuecomment-706037529, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQMKY546AQQ5AUWVQNY5KXLSJ3AJTANCNFSM4SADKAZA
.

I found solution for simular issue here:
https://stackoverflow.com/questions/6122932/execute-git-command-inside-bash-script
Thanks for patience.
сб, 10 окт. 2020 г. в 15:09, Нурия Алибаева<EMAIL_ADDRESS>
It enables running git commands from script. Without this line git
commands in deploy.sh script just skipped on my linux machine.
пт, 9 окт. 2020 г., 11:08 Haoqun Jiang<EMAIL_ADDRESS>
Could you elaborate on this line? What exact problem does it solve? I
don't get it.
Also, please target the PR to the master branch.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vuejs/vue-cli/pull/5918#issuecomment-706037529, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQMKY546AQQ5AUWVQNY5KXLSJ3AJTANCNFSM4SADKAZA
.

How does that work? If I understand correctly, env -i only works in the way with a command as its argument, such as env -i git pull .... It does not have any effect as a standalone command.

I think the documentation is not the best place to put such a workaround solution.
The actual problem is the unexpected environment variables in your shell.
env -i git is only a workaround, not a solution.
And if we put that line on, all other code examples that could possibly be affected by unexpected environment variables would also have to put such prefixes on. This would confuse users.
BTW, such problems won't occur if the app's deployed via TravisCI, because they would have set up a clean environment.

Ok, thank you.
сб, 10 окт. 2020 г., 12:06 Haoqun Jiang<EMAIL_ADDRESS>
Closed #5918 https://github.com/vuejs/vue-cli/pull/5918.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vuejs/vue-cli/pull/5918#event-3862553888, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQMKY57LUFFCMKA5NK7OPPDSKAPYBANCNFSM4SADKAZA
.


Copy-LinkedServer as SQL Server agent "Console not elevated, but elevation is required" and Export-LinkedServer "Can't connect to registry on [remoteServer]

I think I have found a way round not requiring local admin on the local or remote server when using either of these two commands Copy-LinkedServer or Export-LinkedServer. I am also unsure as to why "Test-ElevationRequirement -ComputerName" is included within the Copy-LinkedServer when its not in Export-LinkedServer.
I would like a bypass option for Test-ElevationRequirement within the command Copy-LinkedServer. This was similarly discussed but not implemented here for Copy-DbaCredential: https://github.com/sqlcollaborative/dbatools/issues/5088, I am hopeful that the method of workaround would also be effective with this command (it uses the same underlying internal function Get-DecryptedObject after all.
Environment tested: Two nodes of an availability group server, lets call them Fred and Wilma. The SQL Engine and SQL Agent accounts run as standard domain accounts (FLINTSTONE\svcDinoEng, FLINTSTONE\svcDinoAgent), do not have local admin permissions to the operating system but are named sysadmins within the SQL instances. These are both default instances of SQL 2016 running on Windows 2016 and both have dbatools module at 1.0.134,
If a SQL Agent job is created on Fred running the operating system command (N.B. This is just for test and a very poor usage example i.e assumes DBATools is installed, and assumptions are dangerous):
powershell.exe -command Export-DbaLinkedServer -SqlInstance Wilma-Path c:\temp
The expected return message is:
Executed as user: FLINTSTONE\svcDinoAgent. WARNING: [09:46:00][Export-DbaLinkedServer] Can't connect to registry on Wilma. | Connecting to remote server   Wilma failed with the following error message : Access is denied. For more information, see the   about_Remote_Troubleshooting Help topic.  Process Exit Code 0.  The step succeeded.
The docs say that local admin at this point is required, there are also workarounds for the other two commands to say that a credential is required (as SQL Agent can't raise an elevated command).. what about if we didn't do that - either because you're going down the route of Managed Service Accounts that can't be used as a stored credential within SQL Server, or you're following the Microsoft best practice of not running SQL Services under local admin accounts..
My method:
On each node (Wilma and Fred):

Open the registry and grant the service account running the commands read permission on the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.\Security
With an elevated PowerShell prompt run the following and add the service account running the commands read and execute permissions:
Set-PSSessionConfiguration Microsoft.PowerShell -ShowSecurityDescriptorUI
Test

Proposal: Add ByPassElevation variable to the commands that use Get-DecryptedObject and Test-ElevationRequirement. Those that are happy to give local admin everywhere can do so, those that are more restricted can follow the workaround method.
Clearly more testing required, but I have also done the same with a Managed Service Account running under a scheduled task which has performed the same behaviour.

Interesting, we can add a dbatools config value to skip the requirement and then add it to Test-ElevationRequirement


Handle DMV native buttons

Native DMV roll buttons are being added

Work has begun. Remaining issues:

[ ] Add listeners to roll spell and roll cantrip buttons
[ ] Add listeners to roll weapon damage buttons
[ ] Troubleshoot table bug for weapons and proficiencies
[ ] Update documentation and screenshots


Cannot open terminal via 'Windows Terminal Here as Administrator'

After running the installation script I get the context menu. It works fine if I use  'Windows Terminal Here' for cmd, pwsh, etc. But when I want to open the terminal as administrator via 'Windows Terminal Here as Administrator', the powershell window and cmd window just flash on my screen and then nothing happens.
I have check the registry for the running command as follows:
\HKEY_CLASSES_ROOT\Directory\ContextMenus\AddMenuTerminalAdmin\shell{0caa0dad-35be-5f56-a8ff-afceeeaa6101}\command
PowerShell -WindowStyle Hidden -Command "Start-Process cmd.exe -WindowStyle Hidden -Verb RunAs -ArgumentList "/c C:\Users\Kwan Hwaitzit\AppData\Local\Microsoft\WindowsApps\wt.exe -p ""命令提示符"" -d ""%V.""" "
Does it matter if there are spaces in my username? I tried to run the command directly with 'Windows Run' but got the same result.

Can you rerun the latest install.ps1? I fixed that yesterday.
Duplicate to #16

I fixed that problem. Thank you!


Fix add dataset UI fixes #353

Fix uploader formatting bug
Fix formatting of add dataset explainer text

FYI @viviandien wasn't able to pin analyze button to bottom at first try but i think it's 95% of the way there!


Make crosses go first

As per the list of issues in the to-do list in the read me, I have changed the code to make the player mark with an X as to follow the rules of tic-tac-toe.

Great, thank you so much for your contribution!


Bug in App Check debug provider

Step 1: Describe your environment

Xcode version: 13.0 (13A233)
Firebase SDK version: 8.8.1
Installation method: Swift Package Manager
Firebase Component: Auth

Steps to reproduce:

Enable App Check for Storage in the Firebase console by going to Project Settings -> App Check -> Storage and clicking on Enforce.
Wait 15 minutes or so for your changes to take effect.
Somewhere in your project, set up the Debug Provider Factory.
Generate a CI Debug token by going to Project Settings -> App Check -> Manage debug tokens. (Don't use a local token generated by Simulator, create a new one in the Firebase Console.)
Put the token in your app environment by editing the scheme and adding a value for the APP_CHECK_DEBUG_TOKEN key.
Run the app, and try to access a file from Firebase Storage in your project.

What happened? How can we make the problem occur?
Access to storage is denied (files don't load), and an error is logged in the console:
ResponseBody={
  "error": {
    "code": 401,
    "message": "Firebase App Check token is invalid."
  }
}

Relevant Code:
App Check provider setup:
#if targetEnvironment(simulator)
let providerFactoryDebug = AppCheckDebugProviderFactory()
AppCheck.setAppCheckProviderFactory(providerFactoryDebug)
#else
if ProcessInfo.processInfo.environment["ui_test"] == "true" {
    let providerFactoryDebug = AppCheckDebugProviderFactory()
    AppCheck.setAppCheckProviderFactory(providerFactoryDebug)
} else {
    let providerFactory = MyAppCheckProviderFactory()
    AppCheck.setAppCheckProviderFactory(providerFactory)
}
#endif

@maksymmalyhin changing the name of the environment variable fixed the issue. Thanks so much for your help!
I think the docs are clear, I just wasn't reading over them carefully. I think it was the fifth step in the instructions (passing in APP_CHECK_DEBUG_TOKEN=$(APP_CHECK_DEBUG_TOKEN_FROM_CI) to a CI build) that made me think that the Firebase framework was looking for APP_CHECK_DEBUG_TOKEN instead of FIRAAppCheckDebugToken.


Report images as test metadata

Test metadata is a new feature of TeamCity 2018.2, see https://confluence.jetbrains.com/display/TCD18/Reporting+Test+Metadata
This enables viewing screenshots directly in expanded test results:

Do you think you can change lowest supported node version to 6? This is the lowest non-deprecated version at the moment:
https://github.com/nodejs/Release


Please add support for u.gg

U.gg is a pretty new site for getting champion statistics, but they have good data, and apparently collect from a very large set of games. Would be great if they were a source for this app!

Hey! At the moment I'm not planning to add new sources. But RuneBook will always be open to contributions, so if someone else wants to integrate u.gg I'll be happy to support it.
Also note: I visited the site and it's well done, but I think content is generated from JavaScript and that means it's impossible (with current RuneBook tech) to get pages in the same way we did with other sources.

#67


Upgrade smoke tested AGP versions

from 7.3.0-rc01 to 7.3.0
from 7.4.0-alpha10 to 7.4.0-beta01
adding 8.0.0-alpha01

@bot-gradle test AST

OK, I've already triggered the following builds for you:

AllSmokeTestsPullRequestFeedback build

@bot-gradle test and merge

OK, I've already triggered a build for you.