./byfn.sh up SERVICE_UNAVAILABLE error

Hello,
I downloaded and tried to run your code without any changes but when I ran the command to execute the E2E test it gave me an error of SERVICE_UNAVAILABLE:

Do you know how can I solve this?
Thank you

Hey @catarinaurgueira , looks like it is a similar case as https://github.com/keenkit/fabric-sample-with-kafka/issues/1, I provided the check list into the response from that thread, wondering if you may check it as well to drill down the root cause?
Thanks.

Hello @keenkit  I solved the problem by adding more time to the sleep of byfn.sh file.
I'm trying to build a network with three organizations and two orderers and I'm using Kafka.
In the script.sh file there's a method called createChannel() that runs the following command:
 peer channel create -o orderer.example.com:7050 -c $CHANNEL_NAME -f ./channel-artifacts/channel.tx --tls true --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem >&log.tx
I can already join the peers from both of the three organizations.
Do you know how can I create a channel with two orderers? Or how can I add an orderer to an existing channel?

Hello @keenkit I solved the problem by adding more time to the sleep of byfn.sh file.
I'm trying to build a network with three organizations and two orderers and I'm using Kafka.
In the script.sh file there's a method called createChannel() that runs the following command:
peer channel create -o orderer.example.com:7050 -c $CHANNEL_NAME -f ./channel-artifacts/channel.tx --tls true --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem >&log.tx
I can already join the peers from both of the three organizations.
Do you know how can I create a channel with two orderers? Or how can I add an orderer to an existing channel?
Thank you

Hey @catarinaurgueira , good to hear that the issue resolved.
A channel with two orderers, the example is with 2 orderers, can you clarify more on the question please?

Hello @keenkit , I just wanna know how can I run the network with a channel with two orderers, because on ./byfn.sh file the channel is created with just one peer.
Thank you

Hello @keenkit , I just wanna know how can I run the network with a channel with two orderers, because on ./byfn.sh file the channel is created with just one orderer.
Thank you

Hi @catarinaurgueira , I got what you mean here. In the scripts/script.sh file, it only touches orderer0, however when I check the logs from orderer1/2, looks like they share the same information. I have not drilled down to that part yet.. Need to verify it with deploying the network onto different VMs. I will on it very shortly.

@catarinaurgueira Hi, what kind of changes did you make, I've paused in a few places and nothing. Could attach a file or something like that?


Segmentation violation while refactoring

Expected behavior
Should not get segmentation violation while refactoring
Actual behavior
Getting the following error
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x13eda8c]

goroutine 67 [running]:
github.com/getgauge/gauge/refactor.(*rephraseRefactorer).getStepNameFromRunner(0xc420082e40, 0x0, 0x0, 0x18bd6c0, 0x0, 0x0, 0x0, 0x0)
	src/github.com/getgauge/gauge/refactor/refactor.go:404 +0xbc
github.com/getgauge/gauge/refactor.(*rephraseRefactorer).refactorStepImplementations(0xc420082e40, 0xc420469900, 0xc420014da0)
	src/github.com/getgauge/gauge/refactor/refactor.go:254 +0x186
github.com/getgauge/gauge/refactor.(*rephraseRefactorer).getRefactoringChangesFor(0xc420082e40, 0xc4201d8610, 0x1, 0x1, 0xc420014da0, 0x1)
	src/github.com/getgauge/gauge/refactor/refactor.go:243 +0x6d
github.com/getgauge/gauge/refactor.GetRefactoringChanges(0xc4204d8692, 0x27, 0xc4204d8152, 0x26, 0x0, 0x0, 0xc420469c20, 0x1, 0x1, 0x200001)
	src/github.com/getgauge/gauge/refactor/refactor.go:162 +0x32c
github.com/getgauge/gauge/api/lang.rename(0xc42014c320, 0xc42007e3d8, 0x186b9c0, 0xc4201b2360, 0x0)
	src/github.com/getgauge/gauge/api/lang/rename.go:42 +0x328
github.com/getgauge/gauge/api/lang.(*LangHandler).Handle(0x18bd6c0, 0x186d8c0, 0xc42007e3d8, 0x186b9c0, 0xc4201b2360, 0xc42014c320, 0x0, 0x0, 0x0, 0x0)
	src/github.com/getgauge/gauge/api/lang/server.go:162 +0xab7
github.com/getgauge/gauge/api/lang.(*LangHandler).handle(0x18bd6c0, 0x186d8c0, 0xc42007e3d8, 0xc4201b2360, 0xc42014c320, 0x0, 0x0, 0x0, 0x0)
	src/github.com/getgauge/gauge/api/lang/server.go:111 +0x66
github.com/getgauge/gauge/api/lang.(*LangHandler).(github.com/getgauge/gauge/api/lang.handle)-fm(0x186d8c0, 0xc42007e3d8, 0xc4201b2360, 0xc42014c320, 0x0, 0x0, 0x0, 0x0)
	src/github.com/getgauge/gauge/api/lang/server.go:103 +0x52
github.com/getgauge/gauge/vendor/github.com/sourcegraph/jsonrpc2.HandlerWithError.Handle(0xc4201b43e0, 0x186d8c0, 0xc42007e3d8, 0xc4201b2360, 0xc42014c320)
	src/github.com/getgauge/gauge/vendor/github.com/sourcegraph/jsonrpc2/handler_with_error.go:14 +0x6f
created by github.com/getgauge/gauge/api/lang.lspHandler.Handle
	src/github.com/getgauge/gauge/api/lang/server.go:107 +0x6b
[Info  - 17:47:33] Connection to server got closed. Server will restart.
[Error - 17:47:33] Request textDocument/rename failed.
Error: Connection got disposed.
	at Object.dispose (/Users/sswaroop/.vscode/extensions/getgauge.gauge-0.0.4/node_modules/vscode-jsonrpc/lib/main.js:825:25)
	at Object.dispose (/Users/sswaroop/.vscode/extensions/getgauge.gauge-0.0.4/node_modules/vscode-languageclient/lib/client.js:57:35)
	at LanguageClient.handleConnectionClosed (/Users/sswaroop/.vscode/extensions/getgauge.gauge-0.0.4/node_modules/vscode-languageclient/lib/client.js:1864:38)
	at LanguageClient.handleConnectionClosed (/Users/sswaroop/.vscode/extensions/getgauge.gauge-0.0.4/node_modules/vscode-languageclient/lib/main.js:106:15)
	at closeHandler (/Users/sswaroop/.vscode/extensions/getgauge.gauge-0.0.4/node_modules/vscode-languageclient/lib/client.js:1852:18)
	at CallbackList.invoke (/Users/sswaroop/.vscode/extensions/getgauge.gauge-0.0.4/node_modules/vscode-jsonrpc/lib/events.js:71:39)
	at Emitter.fire (/Users/sswaroop/.vscode/extensions/getgauge.gauge-0.0.4/node_modules/vscode-jsonrpc/lib/events.js:135:36)
	at closeHandler (/Users/sswaroop/.vscode/extensions/getgauge.gauge-0.0.4/node_modules/vscode-jsonrpc/lib/main.js:221:26)
	at CallbackList.invoke (/Users/sswaroop/.vscode/extensions/getgauge.gauge-0.0.4/node_modules/vscode-jsonrpc/lib/events.js:71:39)
	at Emitter.fire (/Users/sswaroop/.vscode/extensions/getgauge.gauge-0.0.4/node_modules/vscode-jsonrpc/lib/events.js:135:36)
[Error - 17:47:33] Request textDocument/codeLens failed.
  Message: failed to parse specification /Users/sswaroop/work/js/basic1/specs/example.spec
  Code: 0

Steps to replicate

Create a new js project
Refactor step * Vowels in English language are "aeiou". to ``
No errors are displayed
Now try refactoring it to * Vowels in English language are "aeiou"

The above error occurs

Version
Gauge version: 0.9.8.nightly-2018-02-15
Commit Hash: dfbaee0

Plugins
-------
js (2.1.1.nightly-2018-02-14)

Not replicable with latest nightly.


Arguments and options are not passed in correct order to method subcommands

I have a method subcommand in a class subcommand which is added to the main command by commandLine.addSubcommand().
This is my method:
    @Command(name = "subcommand")
    void start(@Option(names = "-r", arity = "0") boolean optionR,
               @Option(names = "-s", arity = "0") boolean optionS,
               @Parameters(arity = "1") String url) {
        System.out.println("Everything OK");
    }

and the command: "test", "subcommand", "-r", "-s", "URL"
The issue is that arguments are passed in wrong order: string, boolean, boolean
Minimal working example:
PicocliTest.zip
Just unzip and run with ./gradlew clean assemble :test --tests "test.MyTest" --info
And look at: java.lang.IllegalArgumentException: argument type mismatch
As you can see, the parsed args are passed in wrong order:

In the other hand, if I define the method as follows (with only one option):
    @Command(name = "subcommand")
    void start(@Option(names = "-r", arity = "0") boolean optionR,
               @Parameters(arity = "1") String url) {
        System.out.println("Everything OK");
    }

and I execute the command: "test", "subcommand", "-r", "URL"
the method is called with boolean, boolean

The first case may be related to https://github.com/remkop/picocli/issues/1741, but the second case may be not.

Also if I define the method as follows:
    @Command(name = "subcommand")
    void start(@Parameters(arity = "1") String url,
               @Option(names = "-r", arity = "0") boolean optionR,
               @Option(names = "-s", arity = "0") boolean optionS,) {
        System.out.println("Everything OK");
    }

and I execute the command: "test", "subcommand", "URL", "-r", "-s"
the method is called with:

instead of "URL", true, true

@Onedy I assume this is all with picocli 4.6.3, but does this issue still occur with the latest picocli main branch? (since that has the fix for #1741)
I won't be able to look at this in details today.

Thank you for the project to reproduce the problem.
I created an equivalent test that does not use Spring:
package test;

import org.junit.jupiter.api.Test;
import picocli.CommandLine;
import picocli.CommandLine.*;

import static org.junit.jupiter.api.Assertions.*;
import static picocli.CommandLine.ScopeType.INHERIT;

/**
 * https://github.com/remkop/picocli/issues/1774
 */
public class Issue1774 {
    public CommandLine getTestCommandLine(ParentTestCommand parentCommand, TestCommand testCommand, IFactory factory) {
        CommandLine commandLine = new CommandLine(parentCommand, factory);
        commandLine.addSubcommand(testCommand);
        return commandLine;
    }
    @Command(name = "parentTestCommand", mixinStandardHelpOptions = true, scope = INHERIT)
    static class ParentTestCommand {
    }

    @Command(name = "parentTestCommand", mixinStandardHelpOptions = true, scope = INHERIT,
            subcommands = TestCommand.class)
    static class ParentTestCommand2 {
    }

    @Command(name = "test")
    class TestCommand {
        @Command(name = "subcommand")
        void start(@Option(names = "-r", arity = "0") boolean optionR,
                   @Option(names = "-s", arity = "0") boolean optionS,
                   @Parameters(arity = "1") String url) {
            System.out.println("Everything OK");
        }
    }
    @Test
    void testIssue1774() {
        CommandLine commandLine = getTestCommandLine(new ParentTestCommand(), new TestCommand(), CommandLine.defaultFactory());
        assertEquals(0, commandLine.execute("test", "subcommand", "-r", "-s", "URL"));
    }
}

This test fails with picocli 4.6.3, as demonstrated when I add it to the PicocliTest.zip project you provided:
Issue1774 > testIssue1774() FAILED
    org.opentest4j.AssertionFailedError at Issue1774.java:40  <--- test fails with picocli 4.6.3

MyTest > testIssue1774() FAILED
    org.opentest4j.AssertionFailedError at PicocliTest.java:26

2 tests completed, 2 failed

> Task :test FAILED

FAILURE: Build failed with an exception.

However, the test succeeds when I run it with the latest main.
So, I believe that the fix for #1741 also fixes this issue.


Added this line to effectively modify the crs.

Otherwise, the new CRS is not written when calling newfile.save().

Thanks for pointing this out. Fixed it in a slightly different way, by directly altering the dictionary structure without adding the unnecesary crs attribute.


failed to extract shortcode: template for shortcode "alert" not found

Hi there!
Thanks for opening source this perfect theme first.
I made a site myself and after I update to the latest version. I found that the site cannot be built anymore.
No matter the demo file or my own site, they all displays Error: module "github.com/wowchemy/wowchemy-hugo-modules/wowchemy" not found; either add it as a Hugo Module or store it in "xxxx/themes".: module does not exist and so many other errors.
I don't know whether it is because this url is unavaliable?
https://github.com/wowchemy/wowchemy-hugo-modules/wowchemy
But currently, your demo site files which is starter-academic cannot be built on my computer to with hugo server
The demo site displays an error as following:
Error: Error building site: "C:\Users\FanyangMeng\Desktop\academic-master\content\home\demo.md:69:1": failed to extract shortcode: template for shortcode "alert" not found

After I deleted the alert shortcode in demo.md and publication.md,
It displays that
Building sites … WARN 2020/09/12 20:52:33 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/12 20:52:33 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/12 20:52:33 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/12 20:52:33 found no layout file for "HTML" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/12 20:52:33 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/12 20:52:33 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/12 20:52:33 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/12 20:52:33 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/12 20:52:33 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/12 20:52:33 found no layout file for "JSON" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/12 20:52:33 found no layout file for "webappmanifest" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

I can assure you that I have already do what you said in this https://github.com/wowchemy/starter-academic/issues/117#issuecomment-688516652 issue.
Really drives me crazy.
But all things can be built yesterday, and I did not do anything.
Would you please give me a hand? I will appreciate that so much if it possible.

Cannot locate the reason why this happened and have already reinstalled WIN10.
Issue closed.

Just wanna give everyone who met this problem one solution.
This problem happens because the system cache of Windows does not fit Hugo anymore.
The most simple way to solve this problem is that when you view it or build it locally, set the --cacheDir to a cache folder in the root dictionary of your site. And Hugo will store the cache in it. Then problem solved.
Hoping you can solve it. : )

Experiencing similar error but I am working with remote docker containers off of WSL, Win10, VS Code as my IDE.  I have my container running hugo extended and just experimenting as I become more familiar with Hugo.  I run hugo new site myproject and it does as expected, creating all the files.  In the themes folder then, I thought I could git clone https://github.com/wowchemy/starter-academic.git then just run
hugo server -t starter-academic
but this is giving me an error....
Start building sites …
Built in 6 ms
Error: Error building site: "/workspaces/hugodev/myproject/themes/starter-academic/content/home/demo.md:76:1": failed to extract shortcode: template for shortcode "callout" not found

So I'm obviously missing something here.  Thanks for any help.


🤖 Automatically suggest a branch name when a person start working on an issue

Similar to a feature available on Clubhouse: https://help.clubhouse.io/hc/en-us/articles/207540323-Using-Branches-and-Pull-Requests-with-the-Clubhouse-VCS-Integrations
Suggestion by @NataliaDelCoco

[ ] Can we use this Github action: robvanderleek/create-issue-branch in our workflow?
[ ] Can we provide a similar functionality within our project, without this external integration?

The automation in https://github.com/openjournals/joss might be inspiring here


Write a TypeScript program to convert seconds to weeks

Description
Write a TypeScript program to convert seconds to weeks
1 week = 7 days = 168 hours = 10080 minutes = 604800 seconds
Input  : 3024000
Output : 5

How to contribute

Save the solution in program/ConvertSecondsToWeeks.ts file
Add ConvertSecondsToWeeks.ts file in convert-seconds-to-weeks folder

!assign


mouse scroll

Hi,
Can I know how do I add mouse scrolling on the vertical thumbnails?
Thanks.

Hi. There's mouse scrolling for the thumbnails by swiping/dragging the thumbnails with the mouse. This is the only type of navigation for the thumbnails.
Cheers.


Remove duplicate formulation of admissible header item entries

This is a follow up of #141 There were other entries off in this table. I also think we should not duplicate the ranges in the bullet points above, so I removed these and had the reader refer to the table.
WDYT?

OK, then I'll merge here and open a mirror PR in the EIP


chore: Black everything

This PR just goes full Black mode on everything, by changing the lint check in CI to run on all files in the repo and then likewise applying that same criteria to the repo itself. If there is motivation to only Black the codebase and not the whole repo this PR should be closed.
* Apply Black to all files in the repo
* Lint all files with Black

@alexander-held This is ready for review.

Thanks, this is fine with me for consistency. I wasn't sure whether it would accidentally reformat other (non-python) files but seems to work as intended.

I wasn't sure whether it would accidentally reformat other (non-python) files but seems to work as intended.

Totally legit concern. Luckily, Black is very smart and only affects Python files. :)


NuPlan dataset for closed-loop testing using the world model

The documentation doesn't give any indication of how NuPlan is tested, so we'll assume it's by running the simulate_model_for_world_model_reactive_agents.sh file.
SAVE_DIR='/home/public/data/nuPlan-v1.1/data/test/0831simulation'
MODEL_PATH="/home/public/data/ckpt/epoch_llama_sm.ckpt"
EXPERIMENT="tmp"
export NUPLAN_MAPS_ROOT="/home/public/data/maps"
export NUPLAN_DATA_ROOT="/home/public/data/nuPlan-v1.1/splits/test/"
export NUPLAN_HYDRA_CONFIG_PATH=/root/workspace/GUMP/nuplan_extent/planning/script/config
export CUDA_VISIBLE_DEVICES=0
export PYTHONPATH=$PWD:$PYTHONPATH
python nuplan_extent/planning/script/run_simulation.py
experiment_name=$EXPERIMENT
group=$SAVE_DIR
+simulation='closed_loop_reactive_agents'
planner=ml_planner
planner.ml_planner.model_config='${model}'
planner.ml_planner.checkpoint_path=$MODEL_PATH
common_cfg=gump
common_cfg.input_cfg.input_channel_indexes=[0,1,2,3,4,5]
common_cfg.output_cfg.trajectory_steps=16
common_cfg.output_cfg.time_horizon=8.
scenario_builder=nuplan
scenario_filter=nuplan_challenge_scenarios
scenario_builder.data_root=$NUPLAN_DATA_ROOT
scenario_builder.scenario_mapping.subsample_ratio_override=0.5
model=policy_structured_plan_model_raster_naive
model.feature_builders.0.subsample_ratio_override=0.5
scenario_filter.timestamp_threshold_s=15
number_of_gpus_allocated_per_simulation=1.0
scenario_builder.map_root=$NUPLAN_MAPS_ROOT
scenario_filter.num_scenarios_per_type=1
~callback.simulation_nuboard_video_callback
simulation_history_buffer_duration=6.0
worker.threads_per_node=8
max_callback_workers=8
observation=world_model_agents_observation
callback.simulation_feature_video_callback.visualize_all_scenarios=True
scenario_filter.limit_total_scenarios=1 \
The result was   File "/usr/local/lib/python3.9/dist-packages/hydra/_internal/defaults_list.py", line 773, in config_not_found_error
raise MissingConfigException(
hydra.errors.MissingConfigException: In 'horizon_simulation': Could not load 'callback/simulation_nuboard_video_callback'.
Config search path:
provider=hydra, path=pkg://hydra.conf
provider=main, path=file:///root/workspace/GUMP/nuplan_extent/planning/script/config
provider=hydra.searchpath in main, path=pkg://nuplan.planning.script.config.common
provider=hydra.searchpath in main, path=pkg://nuplan.planning.script.config.simulation
provider=hydra.searchpath in main, path=pkg://nuplan_extent.planning.script.config.common
provider=hydra.searchpath in main, path=pkg://nuplan_extent.planning.script.experiments
provider=hydra.searchpath in main, path=pkg://nuplan_extent.planning.script.config.simulation
provider=hydra.searchpath in main, path=file://root/workspace/GUMP/nuplan_extent/planning/simulation/callback
provider=schema, path=structured://
However，we make sure the file is under the corresponding path.    Besides, we sincerely hope to see your Downstream Task: Reinforcement Learning

Hi @happy-yan , thank you for your interest. The content related to this part hasn't been released yet. We are currently optimizing the entire pipeline in terms of both efficiency and performance. At the moment, I can't guarantee a specific time for the code release, as we are somewhat short on manpower.


Encapsulate Step performing logic

Currently the agent needs to perform 1 or more steps to fulfill a command. Encapsulate this logic into Steps implements Step. Also Step.perform() should return boolean:

true if the next step(s) can be performed
false otherwise.

done


add script to get corpus stats

This PR adds a small Python script to get stats about the corpus. The more complete solution would be to make a Rust crate that does proper parsing/analysis of policies/schemas, but I think this script will do for now.
Analysis of the current corpus in main

Total test cases
1982

Unique policies
1048 ( 52.9% )

Unique schemas
631 ( 31.8% )

Unique entity stores
918 ( 46.3% )

Entities per entity store
mean: 1 / median: 1 / p90: 2

Schema entity types
mean: 1 / median: 1 / p90: 1

Schema actions
mean: 1 / median: 1 / p90: 1

Trivial policies
834 ( 42.1% )

Pure RBAC (non-trivial) policies
436 ( 22.0% )

Pure ABAC (non-trivial) policies
60 ( 3.0% )

Comparison of the new vs. old corpus from #7

Original
New
Difference

Total test cases
6065
6969
-904

Unique policies
3486 ( 57.5% )
3918 ( 56.2% )
-432

Unique schemas
2298 ( 37.9% )
2818 ( 40.4% )
-520

Unique entity stores
2826 ( 46.6% )
3207 ( 46.0% )
-381

Entities per entity store
mean: 1 / median: 1 / p90: 4
mean: 1 / median: 1 / p90: 7
n/a

Schema entity types
mean: 1 / median: 1 / p90: 2
mean: 1 / median: 1 / p90: 4
n/a

Schema actions
mean: 1 / median: 1 / p90: 2
mean: 1 / median: 1 / p90: 2
n/a

Trivial policies
2191 ( 36.1% )
2690 ( 38.6% )
-499

Pure RBAC (non-trivial) policies
1148 ( 18.9% )
1299 ( 18.6% )
-151

Pure ABAC (non-trivial) policies
156 ( 2.6% )
119 ( 1.7% )
37

Ready for review! Scripts looks like they're working as expected -- you can find the output in the Action details. I'll update the main branch corpus and submodules in a future PR.


clh: Use Static build of cloud-hypervisor

The cloud-hypervisor binary we build (from static-build/cloud-hypervisor/build-static-clh.sh) is dynamically linked to libc due to a limitation of cloud-hypervisor (CLH). As a part of the v0.7.0 release, CLH now supports to build with MUSL libc and hence we can produce a pure static binary as a part of our packaging.
Also, the CLH community maintains its own container image (cloudhypervisor/dev) for building/testing CLH without installing extra dependencies. We may want to think about switching to use this container image as in our building script static-build/cloud-hypervisor/docker-build/build.sh.

cc @jcvenegas @chavafg @devimc @GabyCT


Track id v2.18.x - further bugfixes

This PR is the second for #139.
I have found and fixed numerous 'null dereference' bugs with the walkthrough and some menus in RapiD.
RapiD walkthrough functionality should be fully restored now, and menus should behave correctly.

Bumpity-bump!


Handles tests in any test source set

We are using the TestSets plugin in our project (to separate integration tests) and the console reporter wasn't working with our new test sets...
I've identified this as the plugin assuming the test output directory and this PR aims at fixing this by resolving the directory based on the task that was just run.
Note that when automagically attached to the task we report only on that task. When running gradle reportTest however we scan for all tests tasks and report on all of them (when there is anything to report).
Thanks for looking into the PR.

Coverage decreased (-2.3%) to 91.582% when pulling 7f9090ab32cd1dc4a531f30b680eb9182f58c52b on sleberrigaud:master into a63235b5b6ebad53dc9dc1c7cf589044a75ba3ff on ksoichiro:master.

Thanks for your PR!
This is a very nice improvement.


Searchbar is lagging/stopping

Search bar is lagging and stopping while searching for something, I'm currently using brave browser

@lucaburgio I would be happy to help with this if you publish the website source as a repository! I know that might be difficult with the donate button being there etc, but figured I would offer.

@sammarks It's not on GitHub at the moment, but I'll consider it for sure 👍

It should be fixed now @JohnDominicJasmin. Checked on Brave too.
We can still improve that anyway 🙌


Enable ImGui for use in Fahrenheit.

This did not initially work because of missing DX11/Win32 backend enablement.
ImGui.NET does not bundle/wrap the backends, so that is out of the question. We can therefore do two things:

Write our own that includes them;
Perform ImGui enablement from C++ and include the imgui_impl_*.h headers verbatim.

Rough procedure for compiling an amended ImGui.NET/cimgui:

git clone https://luajit.org/git/luajit.git
From a Developer PowerShell, run the supplied msvcbuild.bat
Copy luajit.exe, lua51.dll to some arbitrary folder, and the contents of src/jit to a folder lua/jit in the same place as the former two
git clone --recursive https://github.com/cimgui/cimgui.git
In generator/generator.bat, edit the set PATH directive to include your LuaJIT folder
In generator/generator.bat, have the luajit directive read ./generator.lua cl "internal noimstrv" dx11 win32 %*
Run generator/generator.bat
Amend the top-level CMakeLists.txt as such:

#general settings
file(GLOB IMGUI_SOURCES
    cimgui.cpp
    imgui/imgui.cpp
    imgui/imgui_draw.cpp
    imgui/imgui_demo.cpp
    imgui/imgui_widgets.cpp
    imgui/backends/imgui_impl_win32.cpp
    imgui/backends/imgui_impl_dx11.cpp
    ${TABLES_SOURCE}
)

Open the folder in Visual Studio, select Manage Configurations
Set the Toolset to msvc_x86_x64, save, then compile
git clone https://github.com/ImGuiNET/ImGui.NET
Place the new cimgui.dll in deps/cimgui/win_x86
In src\CodeGenerator\definitions\cimgui, place cimgui's generator/output/{impl_definitions,definitions,structs_and_enums}.json
Patch CodeGenerator's ImguiDefinitions.cs according to: https://github.com/equilibrium-hub/ImGui.NET/commit/696c9b7a71a0e8adf19a0f108a1550e0075e41c3#diff-8a4f306bfae678663d6bfafdb3b902f8afe3246a28ccd14e1d3379d22476b152R42-R48, https://github.com/equilibrium-hub/ImGui.NET/commit/696c9b7a71a0e8adf19a0f108a1550e0075e41c3#diff-8a4f306bfae678663d6bfafdb3b902f8afe3246a28ccd14e1d3379d22476b152R108
Build CodeGenerator, run CodeGenerator, place its output under ImGui.NET's Generated folder
Build it for x86

Fahrenheit will bring LuaJIT, cimgui and ImGui.NET in as submodules and provide build scripts as soon as it is confirmed that this, in fact, works.

Partial: a4bfe84cd2b4db532f1532a5e46722a648462802, 2abe70869d83f42f59dc92cc9842163bc2751679

Enablement complete as of 1236a99545a845a1201859f4c5e9ae28fa500491.
Rendering hook still requires implementation, but beyond that we are- hopefully- done.

@fkelava did it :3

Implementation complete as of 650abb23560f016e7c0da2a0d4582a266af66571.
API bindings not yet set (i.e. that the ImGui core module invokes other modules' ImGui rendering callbacks), but the module can be used for internal testing even pending that.
At long last, we've done it.


Add an option to set window title to the command line

Solves #3129

Other than my minor comments, I think this is ready :-)

Ok, code is updated with the suggestions.

@eendebakpt, thanks a lot for your contribution! :-)


Constant Execution Step Count in Proof Mode for Cairo1 Programs

I am encountering a bug where the step count remains constant in proof_mode, regardless of the input, when executing a Fibonacci program in Cairo1.
Steps to Reproduce:

I'm using the following Fibonacci program written in Cairo1:

use core::felt252;

fn main(n: felt252) -> felt252 {
    let result = fib(1, 1, n);
    result
}

fn fib(a: felt252, b: felt252, n: felt252) -> felt252 {
    match n {
        0 => a,
        _ => fib(b, a + b, n - 1),
    }
}

To fetch the number of steps, the following code is added in cairo1-run/main.rs:

let (runner, vm, _, serialized_output) = cairo_run_program(&sierra_program, cairo_run_config)?;
let resources = runner.get_execution_resources(&vm)?;
let n_steps = resources.n_steps;

println!("Number Steps: {}", n_steps);

Execution results without proof mode:

$ cargo run ./programs/fib.sierra.json --layout all_cairo --args '1'
>>> Number Steps: 17

$ cargo run ./programs/fib.sierra.json --layout all_cairo --args '50'
>>> Number Steps: 311

Execution results with proof mode:

$ cargo run ./programs/fib.sierra.json --layout all_cairo --args '1' --proof_mode
>>> Number Steps: 32768

$ cargo run ./programs/fib.sierra.json --layout all_cairo --args '50' --proof_mode
>>> Number Steps: 32768

It appears that in proof mode, the number of steps is consistently 32,768 regardless of the number of iterations in the Fibonacci function.
Expected Behavior:
The number of steps should vary based on the input parameter n, similar to the behavior observed without proof mode.
Actual Behavior:
In proof mode, the number of steps remains constant at 32,768 for any input.
Version/Commit:
I am on commit c5839fd.
Additional Context:
Similar behavior has been detected on more complex programs. I suspect that the origin of this bug causes fake proofs when trace/memory files are submitted to Platinum, as the proof time is too fast, even on very complex programs.

I think this is expected behaviour coz the proof mode is adding infinite loop at the end of the program to fill trace to the closest power of two. It should jump up to next power of two if u supply really big fib num.
Power of two sized trace is required in proof mode coz it is needed for FFT to work on the prover side.
Regular execution is not adding this kind of stuff so it behaves more naturally.

I think this is expected behaviour coz the proof mode is adding infinite loop at the end of the program to fill trace to the closest power of two. It should jump up to next power of two if u supply really big fib num. Power of two sized trace is required in proof mode coz it is needed for FFT to work on the prover side. Regular execution is not adding this kind of stuff so it behaves more naturally. Afaik :)

Thanks for your answer @Okm165, pretty clear!


Downgrade http4s back to 0.14.1a

In order to temporarily fix issue #1852

Current coverage is 66.20% (diff: 100%)

Merging #1862 into master will increase coverage by 0.06%

@@             master      #1862   diff @@
==========================================
  Files           357        357
  Lines         17376      17397    +21
  Methods       17006      17026    +20
  Messages          0          0
  Branches        231        232     +1
==========================================
+ Hits          11492      11518    +26
+ Misses         5884       5879     -5
  Partials          0          0

Powered by Codecov. Last update 44babce...6765914


Fix Missing icons in blocks editor component list. Ref: issue #372

LGTM
@Momoumar very nice to have found this so quickly!

@Momoumar @halatmit MERGE into master. Will be in tonight's non-component release.

Yay!


[Threading] Fix C11 once implementation to not rely on lock recursion.

The implementation mistakenly locked and unlocked the mutex in helper.once_wait(), which is only ever called from inside a region where the mutex is already locked.
rdar://119739594

Explanation: The C11 support was developed originally with a shim implementation that wouldn't have picked this problem up (we were accidentally locking and unlocking the mutex twice for the swift::once slow path). Apparently this problem wasn't noticed until now.
Risk: Low. Fixes an obvious bug.
Original PR: #70761
Reviewed by: @mikeash
Resolves: rdar://119739594
Tests: There are already unit tests for this code, but the exact code paths that get tested are platform specific and to exercise this particular bug you'd need a platform with C11 threads that also errors when recursively locking a non-recursive mutex. (CI doesn't have such a thing.)

@swift-ci Please test


date formatting

the result for this
scheduledFor: pgp.as.date(job.scheduledFor || new Date()),

will be the same as:
scheduledFor: job.scheduledFor || new Date(),

provided that job.scheduledFor is also of Date type, because if not - they will both fail, but differently.

Thanks Vitaly !


V0.0.1

Complete initial structs

[x] Refine Graph.jl
[x] Update code for node and edge creation
[x] Add more tests

@codejaeger  self-review


Left-most navigation groups are broken

Description
The shortcut groups on the left-most side of the window are broken. Some which should be expanded are not and clicking the arrow to expand them sometimes works.
Steps To Reproduce

Open Files
Look at the left panel - some arrows point up while others point down
Tap some of the arrows

Expected behavior
When tapping a down-pointing arrow, the group should expand. When tapping an up-pointing arrow, the group should contract.
Files Version
Version: <IP_ADDRESS> OS Version: 10.0.22000.466
Windows Version
Windows 11 21H2 22000.466
Relevant Assets/Logs

Tracked in #6469

Tracked in #6469

...My bad. I should have searched, first.


example links broken

fyi links to examples are broken:
https://pub.dev/packages/nhost_sdk/example

Thank you. I'll get that fixed up.


Search-AzGraph -First maximum value

[Enter feedback here]
Following the discussion of https://github.com/Azure/azure-powershell/issues/15955 . The doc should be corrected . The maximum value of -First is 1000 instead of 5000.

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

ID: a5c0115d-13e2-a96c-466d-84634b1aa6f3
Version Independent ID: ec0c3fb4-442a-95d4-6aa6-f036af484552
Content: Work with large data sets - Azure Resource Graph
Content Source: articles/governance/resource-graph/concepts/work-with-data.md
Service: resource-graph
GitHub Login: @DCtheGeek
Microsoft Alias: dacoulte

@dingmeng-xue Thanks for your comment. We will review the issue and get back to you shortly.

@dingmeng-xue Thanks, I'll get this fixed right now.
#reassign:DCtheGeek
#label:"in-progress"


ModuleNotFoundError: No module named 'dataclasses'

Hey,
Whilst installing the master branch in Ubuntu Bionic (18.04), I found this error:
Jul 22 21:50:12 tpm2 keylime_registrar[690]: ModuleNotFoundError: No module named 'dataclasses'
...and this makes me a bit skeptical as to what's happening. I understand dataclasses is already in-build in Python 3.7+ but we have Python 3.6.9 in Ubuntu Bionic.
Going forward, we have two ways to deal with this:

Either we package the dataclasses module separately, or
Embed the dataclasses module for now until we support Bionic and remove Focal onward.

Weighing the pros and cons of the two options, I feel, it's better to just embed the dataclasses module for now as having a separate package will cause upgrade problems which will need to be dealt with Breaks+Replaces and what not. And I don't wanna go there. At all.

I'm currently testing your new changes on Debian 11 which has Python 3.9 and the temporarily included dataclasses breaks there. I would propose to load the included dataclasses package conditionally only when the system version is less than 3.7.
import sys
if sys.version_info >= (3,7):
    import dataclasses
else:
    import keylime.dataclasses as dataclasses

Hi @THS-on,

I'm currently testing your new changes on Debian 11 which has Python 3.9 and the temporarily included dataclasses breaks there. I would propose to load the included dataclasses package conditionally only when the system version is less than 3.7.
import sys
if sys.version_info >= (3,7):
    import dataclasses
else:
    import keylime.dataclasses as dataclasses

Oooh, that is a good! Can you make a PR, please? I'll be happy to merge this right away! 😄


Support only-connect mode

To avoid unexpected container restarting on heavy traffic in a Kubernetes cluster, we need to check a connection with the gRPC server instead of calling an RPC because it won't be get executed because of the heavy traffic. In that situation, the exit code of this tool becomes 3, and it's not handled as success in a Kubernetes probe, then it triggers container restarting and abort some executing and queuing requests. So far, I wrote the following probes to ignore this exit code, but I think we should have an only-connect mode to reduce the number of lines of our manifests.
readinessProbe:
  exec:
    command:
    - grpc_health_probe -addr=localhost:5000
livenessProbe:
  exec:
    command:
    - sh
    - -c
    - |
      grpc_health_probe -addr=localhost:5000 -rpc-timeout=1s
      ret=$?
      test $ret -eq 0 || test $ret -ge 3

With this PR, the same approach will be,
readinessProbe:
  exec:
    command:
    - grpc_health_probe -addr=localhost:5000
livenessProbe:
  exec:
    command:
    - grpc_health_probe -addr=localhost:5000 --only-connect

I didn't come up with a better name than only-connect, but please give me a suggestion.

Why don't you use tcpSocket probe if you're interested in opening a connection?

@ahmetb Thank you for your comment. Do you mean an extra tool to check a tcp socket?

Please read Kubernetes health checks documentation. There's a builtin TCP socket open probe in k8s.

I read the document. You're right. We can use tcpSocket, so I think we should mention it on README or somewhere as the liveness probe fails if the server gets more heavy requests than the max workers.

This is the solution of this probelm.
readinessProbe:
  exec:
    command:
    - grpc_health_probe -addr=localhost:5000
livenessProbe:
  tcpSocket:
    port: 5000


Add Lottie animation

This PR adds the dependencies needed to run Lottie animations.
Note this was while playing around and we don't yet have an animation but I also didn't want to lose this bit.
To-do

[ ] Add dependency to wiki

Resources

@dotlottie/player-component
LottieFiles & IconScout for examples we can use/buy
Convert Lottie JSON to .lottie

Closing this PR as we don't have a use for it right now - will leave the branch for future work 😊


Modernized a bit app.js

app.js is now more readable.
Some let were used as constant, which is an error because JS' token for constants is const .
P.S. Happy Hacktoberfest 😊

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

Thank you @arguiot  for the contribution.


Do not import on the fly during fields of record literal syntax

When only fields are relevant during record literal syntax (Foo { field_$0 }), RA already avoids completions of in-scope items, but with rust-analyzer.completion.enableAutoimportCompletions enabled, more than field names were eagerly suggested. This PR adds a case to import_on_the_fly to avoid the extra completions in this context.
Closes #8300

Thank you.
bors r+

changelog fix


Adapt transform to C++20

This adapts transform to C++20 (all overloads according to the Standard) and adds unit tests. It deprecates the hpx::parallel::transform overloads.
flyby: it adds get_in_in_out_result.

@hkaiser  Thank you very much for providing this!

@gonidelis apparently, tests/performance/local/CMakeFiles/stream_test.dir/stream.cpp relies on a now obsolete API. Would you mind updating this to the appropriate new API?

@gonidelis apparently, tests/performance/local/CMakeFiles/stream_test.dir/stream.cpp relies on a now obsolete API. Would you mind updating this to the appropriate new API?

@gonidelis I think this is the last remaining deprecated overload that should be updated: https://github.com/gonidelis/hpx/blob/09bff92fb2be501e89dd6437e524091d150d2bc0/libs/full/compute_cuda/tests/unit/transform_compute.cu#L48-L49.

@gonidelis I think this is the last remaining deprecated overload that should be updated: https://github.com/gonidelis/hpx/blob/09bff92fb2be501e89dd6437e524091d150d2bc0/libs/full/compute_cuda/tests/unit/transform_compute.cu#L48-L49.

@msimberg  Ok I will fix that. Is CI back again? I will do a grep just to be safe in any other case.

@msimberg  Ok I will fix that. Is CI back again? I will do a grep just to be safe in any other case.

@msimberg Ok I will fix that. Is CI up again? I will do a grep just to be safe in any other case.

The rostam jenkins CI is still down, but all the rest are up as usual. There are some additional configurations on rostam, but they're unlikely to uncover any additional issues on this PR.

@msimberg Ok I will fix that. Is CI up again? I will do a grep just to be safe in any other case.

The rostam jenkins CI is still down, but all the rest are up as usual. There are some additional configurations on rostam, but they're unlikely to uncover any additional issues on this PR.

I am pretty sure that I fixed any remaining depracations and unnecessary tagged_xxx uses. The PR should be ready to merge now if CI is ok with it.

I am pretty sure that I fixed any remaining depracations and unnecessary tagged_xxx uses. The PR should be ready to merge now if CI is ok with it.

Looks like CI is (sort of) happy now, thanks @gonidelis! Let's merge this and deal with any remaining problems once rostam is back up (hopefully none).

Looks like CI is (sort of) happy now, thanks @gonidelis! Let's merge this and deal with any remaining problems once rostam is back up (hopefully none).


 Deurbel
Show the Homebridge logs here, remove any sensitive information.

{
"bridge": {
"name": "Homebridge 70E1",
"username": "0E:12:DC:EA:70:E1",
"port": 51180,
"pin": "699-34-406"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"platform": "config"
},
{
"username": "xxxxxxxx",
"password": "xxxxxx",
"enablePush": false,
"platform": "EufySecurityHomebridgePlugin"
}
]
}
Plugin Config:
Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

Plugin Version: 0.1.6
Homebridge Version:
Node.js Version:
NPM Version:
Operating System:

yep no video
Failed to start stream: spawn ffmpeg ENOENT Doorbell
[12/30/2020, 8:11:58 AM] [EufySecurityHomebridgePlugin] Stopped video stream. Doorbell
[12/30/2020, 8:12:36 AM] [EufySecurityHomebridgePlugin] Starting video stream: 1280 x 720, 30 fps, 299 kbps Doorbell
[12/30/2020, 8:12:36 AM] [EufySecurityHomebridgePlugin] Failed to start stream: spawn ffmpeg ENOENT Doorbell
[12/30/2020, 8:12:36 AM] [EufySecurityHomebridgePlugin] Stopped video stream. Doorbell
[12/30/2020, 8:12:54 AM] [EufySecurityHomebridgePlugin] Starting video stream: 1280 x 720, 30 fps, 299 kbps Doorbell
[12/30/2020, 8:12:54 AM] [EufySecurityHomebridgePlugin] Failed to start stream: spawn ffmpeg ENOENT Doorbell
[12/30/2020, 8:12:54 AM] [EufySecurityHomebridgePlugin] Stopped video stream. Doorbell
[12/30/2020, 8:12:56 AM] [EufySecurityHomebridgePlugin] An error occurred while making snapshot request: Error: spawn ffmpeg ENOENT Doorbell
[12/30/2020, 8:13:05 AM] [Air Conditioner] Active BEGIN WRITE 0 0
[12/30/2020, 8:13:05 AM] [Air Conditioner] Active WRITE OK 0 0
[12/30/2020, 8:13:32 AM] [EufySecurityHomebridgePlugin] An error occurred while making snapshot request: Error: spawn ffmpeg ENOENT Doorbell
[12/30/2020, 8:13:35 AM] [EufySecurityHomebridgePlugin] Starting video stream: 1280 x 720, 30 fps, 299 kbps Doorbell
[12/30/2020, 8:13:35 AM] [EufySecurityHomebridgePlugin] Failed to start stream: spawn ffmpeg ENOENT Doorbell
[12/30/2020, 8:13:35 AM] [EufySecurityHomebridgePlugin] Stopped video stream. Doorbell
[12/30/2020, 8:13:44 AM] [EufySecurityHomebridgePlugin] Starting video stream: 1280 x 720, 30 fps, 299 kbps Doorbell
[12/30/2020, 8:13:44 AM] [EufySecurityHomebridgePlugin] Failed to start stream: spawn ffmpeg ENOENT Doorbell
[12/30/2020, 8:13:44 AM] [EufySecurityHomebridgePlugin] Stopped video stream. Doorbell
[12/30/2020, 8:13:49 AM] [EufySecurityHomebridgePlugin] An error occurred while making snapshot request: Error: spawn ffmpeg ENOENT Doorbell
[12/30/2020, 8:13:53 AM] [EufySecurityHomebridgePlugin] Starting video stream: 1280 x 720, 30 fps, 299 kbps Doorbell
[12/30/2020, 8:13:53 AM] [EufySecurityHomebridgePlugin] Failed to start stream: spawn ffmpeg ENOENT Doorbell
[12/30/2020, 8:13:53 AM] [EufySecurityHomebridgePlugin] Stopped video stream. Doorbell
[12/30/2020, 8:14:16 AM] [EufySecurityHomebridgePlugin] Starting video stream: 1280 x 720, 30 fps, 299 kbps Doorbell
[12/30/2020, 8:14:16 AM] [EufySecurityHomebridgePlugin] Failed to start stream: spawn ffmpeg ENOENT Doorbell
[12/30/2020, 8:14:17 AM] [EufySecurityHomebridgePlugin] Stopped video stream. Doorbell

Do I need to install homebridge-camera-ffmpeg?

I have but now can't even sign into eufy app
login failed request
will have to wait and see how long eufy takes to get that back up
[EufySecurityHomebridgePlugin] failed to register push token Error: Request failed: https://mysecurity.eufylife.com/api/v1/passport/login -> 100028 - Failed to request.
at /usr/local/lib/node_modules/homebridge-plugin-eufy-security/node_modules/eufy-node-client/build/http/http.utils.js:24:15
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/homebridge-plugin-eufy-security/node_modules/eufy-node-client/build/http/http.utils.js:5:58)
at processTicksAndRejections (internal/process/task_queues.js:93:5)

its in the dependancies yes

So install it and no need to configure it?

I can't get it to work im using the Eufy app for now
the read me for home bridge Eufy plug in needs more info if extra config is required ???

Working for me now. Turns out my Mac mini software was to old. Installed Catalina OS. Ffmpeg is now also installed automatically.
Incan start the video and see the stream. Only no audio yet and I don't get a message on screen form HomeKit when doorbell is activated.

ive been on Big Sur so im not sure if its a ops version issue
also every email address ive associated to the home bridge plug in can no longer log into the Eufy app if I log out and try to log back into Eufy iOS app
failed to request error ???
waiting for Eufy support responses


Colab demo doesn't work

I would love to try out this model but I am struggling with installation. The Colab demo does not work either and gives the error:
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
/content/Mask2Former/mask2former/modeling/pixel_decoder/ops/functions/ms_deform_attn_func.py in <module>()
     21 try:
---> 22     import MultiScaleDeformableAttention as MSDA
     23 except ModuleNotFoundError as e:

ModuleNotFoundError: No module named 'MultiScaleDeformableAttention'

During handling of the above exception, another exception occurred:

ModuleNotFoundError                       Traceback (most recent call last)
7 frames
/content/Mask2Former/mask2former/modeling/pixel_decoder/ops/functions/ms_deform_attn_func.py in <module>()
     27         "\t`sh make.sh`\n"
     28     )
---> 29     raise ModuleNotFoundError(info_string)
     30
     31

ModuleNotFoundError:

Please compile MultiScaleDeformableAttention CUDA op with the following commands:
	`cd mask2former/modeling/pixel_decoder/ops`
	`sh make.sh`

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------

Have you restarted runtime after installation?

@bowenc0221 also get this issue when running in colab on cpu
RuntimeError                              Traceback (most recent call last)
 in ()
9 cfg.MODEL.MASK_FORMER.TEST.PANOPTIC_ON = True
10 predictor = DefaultPredictor(cfg)
---> 11 outputs = predictor(im)
16 frames
/content/Mask2Former/mask2former/modeling/pixel_decoder/ops/functions/ms_deform_attn_func.py in forward(ctx, value, value_spatial_shapes, value_level_start_index, sampling_locations, attention_weights, im2col_step)
35         ctx.im2col_step = im2col_step
36         output = MSDA.ms_deform_attn_forward(
---> 37             value, value_spatial_shapes, value_level_start_index, sampling_locations, attention_weights, ctx.im2col_step)
38         ctx.save_for_backward(value, value_spatial_shapes, value_level_start_index, sampling_locations, attention_weights)
39         return output
RuntimeError: Not implemented on the CPU

The current ms_deform_attn cuda kernel only supports GPU. However, there is a pure PyTorch implementation here: https://github.com/facebookresearch/Mask2Former/blob/012049cd100ce313f294ea95664e668344d9603d/mask2former/modeling/pixel_decoder/ops/modules/ms_deform_attn.py#L116-L119
Maybe you can try ms_deform_attn_core_pytorch instead of MSDeformAttnFunction.apply when using CPU.

@bowenc0221 thanks could the colab be updated to support cpu? I am currently testing it to add the models to https://huggingface.co/spaces as a web demo, similar to
github: https://github.com/facebookresearch/omnivore
Spaces: https://huggingface.co/spaces/akhaliq/omnivore
Spaces is completely free, and I can help setup a Gradio Space. Here are some getting started instructions if you'd prefer to do it yourself: https://huggingface.co/blog/gradio-spaces

@AK391 thanks for adding it to huggingface space!
I've updated the code to support inference on CPU (16c3bee). Could you try it again?

@bowenc0221 thanks working on it now, also the models can be added to the facebook organization on Huggingface
Would you be interested in becoming part of the Facebook organization on the hub? This allows you to have write access to all model repos of Facebook, which means you can easily upload new checkpoints, write model cards, etc.
Once a model is added it can be made into a Gradio space with a few lines of code
for example in xm_transformer
https://huggingface.co/spaces/facebook/xm_transformer_600m
import gradio as gr gr.Interface.load("huggingface/facebook/xm_transformer_600m-es_en-multi_domain").launch()
can join here: https://huggingface.co/welcome

@bowenc0221 inference is working in colab, I setup the space here https://huggingface.co/spaces/akhaliq/Mask2Former but I get this error
Traceback (most recent call last):
File "setup.py", line 76, in
ext_modules=get_extensions(),
File "setup.py", line 52, in get_extensions
raise NotImplementedError('CUDA_HOME is None. Please set environment variable CUDA_HOME.')
NotImplementedError: CUDA_HOME is None. Please set environment variable CUDA_HOME.

Installing the package requires CUDA (GPUs are not needed). Is CUDA available?
You can use the following command:
FORCE_CUDA=1 CUDA_HOME=/path/to/cuda python setup.py build install

@bowenc0221 thanks, yes I tried that step, see the code here: https://huggingface.co/spaces/akhaliq/Mask2Former/blob/main/app.py#L16

Hey @AK391, sorry for the late reply. I think there is an easy solution to avoid installing the custom op. Could you try to do the following:

Define an environment variable, e.g., HUGGINGFACE_DEMO
Do not import the following when HUGGINGFACE_DEMO=1. https://github.com/facebookresearch/Mask2Former/blob/0293b1cef024bb2efdedc2681a8c9c0cf6d4a296/mask2former/modeling/pixel_decoder/ops/modules/ms_deform_attn.py#L24

For example:
if os.environ.get('HUGGINGFACE_DEMO', 0):
    MSDeformAttnFunction = None
else:
    from ..functions import MSDeformAttnFunction

@bowenc0221 thanks, I opened a PR here https://github.com/facebookresearch/Mask2Former/pull/52 for the Huggingface demo

@bowenc0221 thanks, I opened a PR here #52 for the Huggingface demo

Excuse me, have you resolved the question above?

The current ms_deform_attn cuda kernel only supports GPU. However, there is a pure PyTorch implementation here:
https://github.com/facebookresearch/Mask2Former/blob/012049cd100ce313f294ea95664e668344d9603d/mask2former/modeling/pixel_decoder/ops/modules/ms_deform_attn.py#L116-L119
Maybe you can try ms_deform_attn_core_pytorch instead of MSDeformAttnFunction.apply when using CPU.

Thanks for your help! But I tested it on a random input and found that there is a significant error between using ms_deform_attn_core_pytorch under CPU mode and using MSDeformAttnFunction.apply under GPU mode.

@AK391  @lianzheng-research @bowenc0221 @bh-cai @blnfb , I need this very bad. I started it recently it would be very helpful if you guys could share it to my mail<EMAIL_ADDRESS>


modified the AI logic to make it a bit more difficult to win based on tic-tac-toe game theory

looks good but I suggest leaving a comment the code (and maybe the readme.md in the game folder) about this?


v0.31 pypi file differs from version in dist?

The file uploaded to pypi for v0.31 does not appear to have the encoding fixes for digital signatures, so I'm not getting those fixes through pip?
It does not appear to be the same as the file in the 'dist' directory for v0.31.

This morning I made a '32 version. Please upgrade and close. Let me know if all is well now.

All seems to be good now with v0.32 thanks :)


eni: Add trigger metrics

This change is

test-me-please

Coverage increased (+0.04%) to 44.52% when pulling 99737badc9d6cb12dac1deedbd8947c8821b1c50 on pr/tgraf/eni-metrics into 9254431c761069565ca9a0b56cf62a55d318a1fe on master.

test-me-please

test-me-please


Indentation is none ignoring editor setting

Type: Bug
Since update to 1.95.0 the setting of editor.autoIndent is no more honored. before I had it set to "keep". Now I can set any value, but the cursor goes always at the beginning of the next line. Already checked workspace and folder that do not modify this entry. Tried also to disable all extensions without any change.
To reproduce:

Open a typescript file.
Go at the end of a line already indented
Push Enter.
The cursor goes to line start, not align with the previous line

VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
31.77GB (12.14GB free)

Process Argv
D:\Projects\STMng\STMng.code-workspace --crash-reporter-id df3b806e-c371-4e03-89b8-d13088946634

Screen Reader
no

VM
0%

Extensions (81)

Extension
Author (truncated)
Version

vscode-openapi
42C
4.29.2

Bookmarks
ale
13.5.0

appmap
app
0.131.2

github-markdown-preview
bie
0.3.0

markdown-footnotes
bie
0.1.1

markdown-mermaid
bie
1.26.0

markdown-yaml-preamble
bie
0.1.0

glsl-literal
boy
1.0.6

vscode-toggle-quotes
Bri
0.3.6

vscode-pandoc
Chr
0.4.8

refactorix
chr
0.3.7

codium
Cod
0.12.2

markdown-word-count
Cur
0.0.7

vscode-eslint
dba
3.0.13

eslint-disable-snippets
drK
1.4.1

vscode-great-icons
emm
2.1.110

vscode-todo-plus
fab
4.19.1

auto-close-tag
for
0.5.15

seito-openfile
Fr4
2.2.3

todo-tree
Gru
0.0.226

vue-snippets
hol
1.0.4

plantuml
jeb
2.18.1

code-eol
jef
1.0.12

vscode-peacock
joh
4.2.2

jsdoc-generator
kim
0.0.4

tag-rename
kri
0.2.1

stack-tabs
kyl
0.0.2

git-graph
mhu
1.30.0

prettify-json
moh
0.0.3

tab-cycle
mpo
1.0.1

debugpy
ms-
2024.12.0

isort
ms-
2023.10.1

python
ms-
2024.20.0

vscode-pylance
ms-
2024.11.2

jupyter
ms-
2024.10.0

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.21

vscode-jupyter-cell-tags
ms-
0.1.9

vscode-jupyter-slideshow
ms-
0.1.6

cpptools
ms-
1.23.1

hexeditor
ms-
1.11.1

notepadplusplus-keybindings
ms-
1.0.7

vscode-speech
ms-
0.12.1

vscode-speech-language-pack-it-it
ms-
0.5.0

color-highlight
nau
2.8.0

gremlins
nho
0.26.0

abracadabra
nic
9.4.8

pandocciter
not
0.10.4

leaper
Onl
0.10.5

vscode-jscpd
pau
0.3.4

bib
phr
0.3.0

git-file-history
pom
1.0.1

vscode-thunder-client
ran
2.29.15

vscode-yaml
red
1.15.0

vscode-file-templates
rio
1.17.0

pandoc-markdown
rso
0.1.2

vscode-javascript-booster
sbu
14.0.1

vue-vscode-snippets
sdr
3.1.1

trailing-spaces
sha
0.4.1

markdown-preview-enhanced
shd
0.8.15

vscode-scss-formatter
sib
3.0.0

vscode-autohide
sir
1.0.10

shader
sle
1.1.5

stardog-rdf-grammars
sta
0.2.1

code-spell-checker
str
4.0.18

code-spell-checker-italian
str
1.1.2

unique-window-colors
stu
1.0.51

vscode-stylelint
sty
1.4.0

sass-indented
syl
1.8.31

open-in-browser
tec
2.0.0

d2
Ter
0.8.8

highlight-matching-tag
vin
0.11.0

intellicode-api-usage-examples
Vis
0.2.9

vscodeintellicode
Vis
1.3.2

explorer
vit
1.6.9

volar
Vue
2.1.10

vue-mess-detector
Web
0.7.0

change-case
wma
1.0.0

JavaScriptSnippets
xab
1.8.0

pretty-ts-errors
Yoa
0.6.0

markdown-all-in-one
yzh
3.6.2

(1 theme extensions excluded)

I cannot confirm

are you sure it's not modified elsewhere?

do you have editor.trimAutoWhitespace enabled?

Hi @crystalfp thank you for filing this issue. Could you give more detail as @RedCMD suggested?

Sorry for the long hiatus!
Tried all that @RedCMD suggested and nothing changes.
Also disabled all extensions and again nothing changes. With all extensions disabled and no changes in Workspace and Directory, the entries in setting.json related to indent are:
    "editor.wrappingIndent": "indent",
    "editor.autoIndent": "keep",

There are no other entries with name containing "indent".

@crystalfp have a try at https://vscode.dev/ and/or https://insiders.vscode.dev/

Hi @crystalfp thanks for the response. To do that, you can create a new blank profile with no extensions and the default settings by clicking on the gear icon, then clicking on profile and from the profile view, creating a new profile. Let us know if you continue seeing this issue.
I suppose you are using the stable VS Code release. Perhaps this issue does not happen on the nightly VS Code release. To verify this, you can try reproducing the issue on https://insiders.vscode.dev/ or download the Insiders release here https://code.visualstudio.com/insiders/

In the online VSC the problem does not happens. So it is something I have in my settings. So let me try to start VSC as:
code -n --user-data-dir empty-dir  --disable-extensions .

and see what happens. I'll keep you informed

Indeed launching VSC this way (no extension and no settings) the issue disappears. No problem also if I don't disable extensions.
So now with a ton of patience I will fill again settings.json piece by piece and see if I find something interesting.
BTW,  I'm using the latest stable version 1.95.3
Thanks! And I'll keep you informed

Found!
The problem is caused by the entry:
    "editor.experimentalEditContextEnabled": true,

Removing it or setting it to false makes the indentation return to normal.
I don't know who put it and what is its meaning.
Anyway, thanks for all the support and the ideas!

Hi thanks for the comment. I implemented the experimental edit context and this comment is valuable feedback, I'll open an issue from it.


Is there an easy way to get the keypath of a component's event?

Orig: Is there an easy way to get the keypath of an event source?
Description:
Consider the following template:

{{#each curr.myArray:i}}

{{.foo}}

{{/each}}

...
on: {
    'aHandler': function(ctx, i){
        curr = this.get('curr');
        item = curr.myArray[i];
        item.foo = "hello!";
        this.set('curr', curr);
    }
}

When x is clicked an action is taken by taken i into account in order to calculate curr.myArray[i].
Is there an easy way to get the clicked keypath, like "curr.myArray.3" ?
This would be handy when we have a button in a deeply nested document, for example, which will add or remove an item to the array.
Versions affected:
0.9.3

I think that would be context.resolve() and not supplying any args.

Yep, that's what context is made for. You can event store a ref to the context and use it to modify the array with context.push('../', { newItem }).

@fskreuz  I tried to use context.resolve() like this, but it resolves to "" in my actual application.
Let me dig in further.

Okay, I found the problem.
I'm defining the handlers in a separate file and pass them to the component via an attribute. At this point, context.resolve() resolves to "":
Handlers file:
mysettings: {
    handlers: {
        aHandler: function(ctx){
            console.log(ctx.resolve() + " is an empty string...");
        }
    }
}

My Component:
<my-component settings="{{mysettings}}"></my-component>

...
oninit: function() {
    aHandler = this.get('settings').handlers.aHandler.bind(this);
    innerHandlers = {
        foo: function(ctx){
            console.log(ctx.resolve() + " resolves here correctly");
        }
    }
    innerHandlers.aHandler = aHandler;
    this.on(innerHandlers);
}

Does it make any sense or should I provide a full working example?

That's really weird because the context shouldn't be affected by where it's being passed. Can you provide a working example?

It is really weird because in this example it works as you expected. I'm going to close this issue until I find the root of the problem.

Okay, here is a reproduction: link
Root of the problem seems proxying the events.

Here's what's up: the event is firing outside of the yield, which means that its scope is the component root, whereas inside the yield with the interpolator is the surrounding scope - the iteration.
There's nothing built into ractive right now to address this particular issue, but there is a way around it if you're willing to go a bit lower level with your component. Basically, at construct, you can arrange to have a mapping automatically generated that pulls the scope surrounding the component into the component as a key (say scope e.g. ~/scope in the component template). Then you can wrap the span in a with that makes it the context for the event e.g. {{#with scope}}...{{/with}}.
I've tried to come up with a good way to achieve that with friendly helpers, but it hasn't played out any better than just doing it manually thus far. The this mapping from #2166 would get part of the way there, but you'd still have to specify it on the component, which is unfortunate. Perhaps an option on the component to make automatic mappings would help and get rid of the need to mangle the template surrounding the component.
At the very least, I think I could come up with something that would remove the need to do your own shallow copying, but you'd still probably have to come up with your own template bits. That's not too bad if you know that you have the parser available, as it's just a Ractive.parse('<dummy bind-scope="." />').t[0].m away for getting an array of attributes for this case. Being able to force the parser into attribute-parsing-mode would help a bit more, as then you could Ractive.parse('bind-scope="."').t for your attributes array. Creating the literal template bits will always be faster, though not necessarily as future-proof.

I appreciate for the workaround, which will make me move forward when I badly need the functionality (now I copied and pasted the component contents into the target place)
Do you think this case is very specific so we should implement the workaround when we need?

This would definitely be in corner-case territory. There are some other related cases though, so I've added experimental support for a shortcut version in edge - see #3070.

As a workaround, @keypath could be passed as an argument to the handler: Playground
If we could get the @keypath with an attribute, whole problem might be solved appropriately by #3070

So technically, you could achieve this by snagging the event directives off of the outer component template, throw them into a partial, and yield them, but that's probably not a reasonable expectation for not-a-maintainer devs to get into. So, on my list for a while has been to allow context traversal in a finer grained way than per-element since contexts don't necessarily require an intervening element ({{#with foo}}how do you get this context{{#with .bar}}from here?{{/with}}{{/with}}). You can pass @context objects out of the template, but there's no external access.
As of edge, there's now a getParent( crossComponentBoundary ) method on contexts, and there is a check in the event directive code to allow reuse of a context by setting refire to a truthy value, allowing this:
const aaa = Ractive.extend({
  template: `<span on-click="_click">{{yield}}</span>`,
  on: {
    _click(ctx) {
      const c = ctx.getParent(true); // event will be fired with parent context object
      // would probably be a good idea to copy in original event, etc from source ctx
      c.refire = true;
      this.fire('click', c);
    }
  }
});

Awesome!


CHANGELOG

Should we have a CHANGELOG to make it easy for users to figure out key things that have changed between versions?

yes totally! still working out the release kinks - but will definitely do this before the official release of 1.0.0!

Added in 0.1.9


Fix encoding of entities_json2csv.py and other scripts for decomposition

"value": "hans im glück",
=>
Traceback (most recent call last):
File "watson-assistant-workbench/scripts/entities_json2csv.py", line 61, in
entityFile.write(';'.join(value) + "\n")
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 10: ordinal not in range(128)

Still blocked, postponing..

@MichalPospech will not continue on this.


Sunset rust-relay Sample Apps

https://staging-rust.react-wallet.walletconnect.com/
https://staging-rust.react-app.walletconnect.com/

Can be remove as we sunsetted ts relay in favor of rs relay.

[x] Removed from Cloudflare DNS
[x] Removed from Vercel > Domains config
[x] Cleaned up in Vercel > Environment variables
[x] Cleaned up config/staging-rust-relay branch in this repo


How about supporting weixin, qq, baidu ... and more China services?

If you have existing accounts login package for those services. I would gladly to add them into this package.
But I probably dont have enough free time to develop account package for them then add them myself

Add support for qq and wechat thanks to @leonzhang1109

great, thanks @yubozhao , @leonzhang1109


I don't understand how to push your first dependencies to Azure Artifacts

I have a company specific parent-pom that I need in my Azure Artifacts feed. You're guide states the following under "Install an artifact from your feed":
2. In Azure Artifacts, browse to the artifact that you want to install and copy the contents of the <dependency> element.
How can I browse to the artifact I want to install in a completely empty Artifact Repository? First I have to migrate all my dependencies to Azure artifacts, right? Shouldn't this guide explain how to do this first?

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

ID: a845b604-ed87-fb81-fcea-3ef43062f445
Version Independent ID: 45762c44-81aa-9c59-6011-b57e5f8f4796
Content: Get started with Maven packages - Azure Artifacts
Content Source: docs/artifacts/get-started-maven.md
Product: devops
Technology: devops-artifacts
GitHub Login: @chasewilson
Microsoft Alias: phwilson

@aufbakanleitung Thank you for the feedback, we're sorry for any confusion caused by the article steps.
Assigning this to the author for further review.

@aufbakanleitung Thank you for your feedback.

You're guide states the following under "Install an artifact from your feed":
2. In Azure Artifacts, browse to the artifact that you want to install and copy the contents of the  element.

The paragraph you are referring to is under Install an artifact from your feed section. What you need is How to publish your Maven Artifact which is the previous section in that same article.
You can also refer to this article to learn how to publish your Maven Artifacts from the command line.


Project was banned on google chrome store. Crx build

As this was banned from store could you please build a .crx so that can be installed without chrome store

Yup. Banned on Chrome Store. I love this extension, would be great to have it as a crx.

hi @Feverqwe планируете восстанавливать в store расширение?
скачать можно пока отсюда: https://chrome-stats.com/d/ngcldkkokhibdmeamidppdknbhegmhdh/download?hl=ru#

Zip from the link above ngcldkkokhibdmeamidppdknbhegmhdh.zip

Zip from the link above ngcldkkokhibdmeamidppdknbhegmhdh.zip

thk for zip


SelectableText double click on the space before a word to select the previous word throws if there's no word

to reproduce

create a SelectableText with string which ends on word and begins with two or more spaces, e.g. "  word"
double click the left half of the space that goes right before the word - it will try to select the previous word but will fail because there's isn't any

in my code sample you should click the left half of the green box

logs
══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════
The following _CastError was thrown while handling a gesture:
Null check operator used on a null value
When the exception was thrown, this was the stack:
#0      RenderEditable._getWordAtOffset (package:flutter/src/rendering/editable.dart:3061:39)
#1      RenderEditable.selectWordsInRange (package:flutter/src/rendering/editable.dart:3003:37)
#2      RenderEditable.selectWord (package:flutter/src/rendering/editable.dart:2989:5)
#3      TextSelectionGestureDetectorBuilder.onDoubleTapDown (package:flutter/src/widgets/text_selection.dart:1171:22)
#4      _TextSelectionGestureDetectorState._handleTapDown (package:flutter/src/widgets/text_selection.dart:1396:31)
#5      TapGestureRecognizer.handleTapDown.<anonymous closure> (package:flutter/src/gestures/tap.dart:580:61)
#6      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
#7      TapGestureRecognizer.handleTapDown (package:flutter/src/gestures/tap.dart:580:11)
#8      BaseTapGestureRecognizer._checkDown (package:flutter/src/gestures/tap.dart:287:5)
#9      BaseTapGestureRecognizer.didExceedDeadline (package:flutter/src/gestures/tap.dart:258:5)
#10     PrimaryPointerGestureRecognizer.didExceedDeadlineWithEvent (package:flutter/src/gestures/recognizer.dart:501:5)
#11     PrimaryPointerGestureRecognizer.addAllowedPointer.<anonymous closure> (package:flutter/src/gestures/recognizer.dart:454:41)
(elided 11 frames from class _RawReceivePortImpl, class _Timer, dart:async, and dart:async-patch)
Handler: "onTapDown"
Recognizer:
  _TransparentTapGestureRecognizer#51bba
════════════════════════════════════════════════════════════════════════════════════════════════════

code sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    const title = 'code sample';
    return MaterialApp(
      title: title,
      home: Scaffold(
        backgroundColor: Colors.black,
        body: Home(),
      ),
    );
  }
}

class Home extends StatelessWidget {
  const Home({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Center(
      child: SingleChildScrollView(
        child: Theme(
          data: ThemeData(
            textSelectionTheme: TextSelectionThemeData(selectionColor: Colors.red),
          ),
          child: SelectableText.rich(
            TextSpan(
              children: [
                TextSpan(text: ' ',
                  style: TextStyle(
                    fontSize: 110.0,
                  ),
                ),
                TextSpan(text: ' ',
                  style: TextStyle(
                    backgroundColor: Colors.green,
                    fontSize: 110.0,
                  ),
                ),
                TextSpan(text: 'word',
                  style: TextStyle(
                    color: Colors.white,
                    fontSize: 110.0,
                  ),
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

flutter doctor -v
[√] Flutter (Channel master, 2.1.0-13.0.pre.288, on Microsoft Windows [Version 10.0.19041.867], locale ru-RU)
    • Flutter version 2.1.0-13.0.pre.288 at c:\dev\src\flutter
    • Framework revision e384ca7979 (80 minutes ago), 2021-03-26 17:34:03 +0100
    • Engine revision b5e15d055d
    • Dart version 2.13.0 (build 2.13.0-162.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\danya\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.7)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.7.30621.155
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.54.3)
    • VS Code at C:\Users\danya\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.20.0

[√] Connected device (4 available)
    • Redmi Note 5 (mobile) • 40c9f14 • android-arm64  • Android 9 (API 28)
    • Windows (desktop)     • windows • windows-x64    • Microsoft Windows [Version 10.0.19041.867]
    • Chrome (web)          • chrome  • web-javascript • Google Chrome 89.0.4389.90
    • Edge (web)            • edge    • web-javascript • Microsoft Edge 89.0.774.57

• No issues found!

also noticed that it will throw if you hold the tap down and hover over this area
https://user-images.githubusercontent.com/39104740/112694777-ffed2380-8e93-11eb-990e-e94f99875546.mp4

according to the source of this exception, this is mobile-specific
https://github.com/flutter/flutter/blob/e384ca7979097922e08ea30b960759bf6dfa1e60/packages/flutter/lib/src/rendering/editable.dart#L3052-L3071

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.3, on macOS 11.2.3 20D91 darwin-x64, locale en-AO)
    • Flutter version 2.0.3 at /Users/pedromassango/Code/flutter_stable
    • Framework revision 4d7946a68d (10 days ago), 2021-03-18 17:24:33 -0700
    • Engine revision 3459eb2436
    • Dart version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/pedromassango/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 54.0.3
    • Dart plugin version 203.7759

[✓] VS Code (version 1.54.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (3 available)
    • iPhone 11 Pro Max (mobile) • 7A82F29E-E49E-4B3C-8609-1570361DBC17 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 89.0.4389.90

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.1.0-13.0.pre.294, on macOS 11.2.3 20D91 darwin-x64, locale en-AO)
    • Flutter version 2.1.0-13.0.pre.294 at /Users/pedromassango/Code/flutter_master
    • Framework revision a603714610 (20 hours ago), 2021-03-28 03:54:02 -0700
    • Engine revision b5e15d055d
    • Dart version 2.13.0 (build 2.13.0-162.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/pedromassango/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 54.0.3
    • Dart plugin version 203.7759

[✓] VS Code (version 1.54.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (3 available)
    • iPhone 11 Pro Max (mobile) • 7A82F29E-E49E-4B3C-8609-1570361DBC17 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 89.0.4389.90

! Doctor found issues in 1 category.

CC @chunhtai

The native behavior:

android will select the single white space (the green one)
ios will select the single white space +  the next word. if there are multiple white space between the tap position and next word, select all the white space in between + the new word. If there is no next word, select nothing.


What's the proper way to upgrade AspNetCore patch version?

I've searched for this answer from some places and do not think I have a good answer for that.
so I have the latest SDK installed.

And I new up a brand new AspNetCore empty project (using CLI or VS 2019)
 dotnet new web
And now here is the screenshot from Nuget UI.

I can not select v2.2.5 from the dropdown list (on the right hand side),  the dropdown is unselectable.
I am just wondering what's the proper way to update to the latest path verison?
I know that I can edit the *.csproj file do this <RuntimeFrameworkVersion>2.2.5</RuntimeFrameworkVersion> manually.
Is there any other way to do this?
And I do not think manually change the patch version for the latest version is a good idea.
Another person had the same problem, without an answer either.
Thanks

If you are using .NET Core, the only thing you need to do to update to the patch is install the latest patched runtime. .NET Core applications automatically roll forward to the highest patch version associated with the major/minor pair you target. This behavior can be disabled using a setting in [appname].runtimeconfig.json but we strongly recommend you keep it to ensure you always run on the most up-to-date runtime (with all released security fixes).
While we do recommend you run on the latest patch, we recommend you do not update your app to target later patch versions as your app will fail to start if that patch doesn't exist on the target machine. Patches shouldn't be introducing APIs that you need to update to depend upon so there's no need to update the package reference.

Ah....I see, Thank you very much for the clarification. Will close this.

Should we update (docs?

You need to update your .NET Core installation to get new versions of the ASP.NET Core and .NET Core runtime.

So many people will upgrade .net core, but when they still see same old version in nuget window,
they are confused and will create issues here.

I did not find that implicit versioning link there. It is OK then.

It's not the clearest path to follow :). I would certainly be interested in any thoughts you have on how it can be clearer. If you didn't find it, others might not either :)


Dataset Preview is showing NULL

Dataset Preview is showing NULL instead of the just leaving it blank.

Will not fix.


Making Readme File more Readable

Description
Small Change in README.md
Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context.
List any dependencies that are required for this change.
Fixes # 277
Type of change
Making Changes in Markdown Language
Please delete options that are not relevant.

[x] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] Any dependent changes have been merged and published in downstream modules

Reviewer: Vinit Shahdeo

Attach the screenshot the new readme file.

Screenshot of the new README.md file

@vinitshahdeo I am a GSSOC aspirant and due to my ongoing Internship, I was not able to give time to contribute for GSSOC, that's why I have made a small change in README.md file and want you to merge this small change and provide me a PR.....I hope you can understand.

@THEBEAST310 Please point the PR to fetaure/documentation.

I have merged PR into master branch because the README.md file of feature/documentation is different from the one in master branch. Merging my PR into master branch will not affect anything in master branch.....

@vinitshahdeo


Unexpected BitLocker encryption Lonovo laptop windows 10 Version 1703

is there any issue with Lenovo Laptop
we buy some lenovo laptop and someone said with Lonovo laptop bitlocker encryption by default enabled
now what happend when we joined system in domain our bitlocker key lost and system locked

@officedocsbot assign @jvsam

@biren1234. I think you must contact Lenovo support site or  contact Lenovo customer care number

Hi @biren1234 thanks for your question. With this, it's best to contact Windows 10 Support to get immediate assistance regarding MBAM. Perhaps Lenovo customer service can also help if it's something pre-configured on their machines. I would also recommend asking your question on the TechNet Forum.
Thank you for engaging with the Microsoft Docs community!
Important: Please be informed that site is intended to help improve the quality of the technical documentation of Microsoft Docs through user contributions and feedback. If you have suggestions related to this documentation, please let us know here and we will submit them for review.

Hi again @biren1234, we haven't heard or received any updates from you, but we are hoping you were able to contact Windows 10 or Lenovo support. For now we will close this issue, however, feel free to re-open it if you have suggestions to improve the quality of this documentation. Thanks for being part of the Microsoft Docs community!

@officedocsbot close


Installer

Issue Type: Feature Request
Can you make the installer install as a user install like Visual Studio Code?
SQL Operations Studio version: sqlops 0.32.8 (efd470b3c771ef7473ba3cf108a33b6579c96a53, 2018-08-30T19:40:40.895Z)
OS version: Windows_NT x64 10.0.17134

@Bydia we're in the process of merging the VS Code 1.26 source code which has the per-user install code.  We'll look into enabling this feature as part of that update.

This is blocked on this bug https://github.com/Microsoft/azuredatastudio/issues/3352


Is this in Nuxt core... or ?

Does this package still need to be explicitly installed, or is it in Nuxt core?
Looking at Nuxt official docs, one could mistake it being Nuxt core...
https://nuxtjs.org/api/components-client-only
or
https://nuxtjs.org/guides/features/nuxt-components#the-client-only-component

It is automatically included by Nuxt.

Here is the link on the documentation: https://nuxtjs.org/docs/2.x/features/nuxt-components#the-client-only-component


feat/input-chip-add-remove-manually

Linked Issue
Closes #2293
Description
implemented exported functions add/remove chip to manually add-remove chip.
@endigo9740

I know we have a feat freeze, but I think even if we had to rewrite the implemented function, they can serve as a base for the rewrite.
I refactored the existing functions to make them easier to read and debug, but feel free to revert anything you don't agree with.

Changsets
Instructions: Changesets automate our changelog. If you modify files in /packages, run pnpm changeset in the root of the monorepo, follow the prompts, then commit the markdown file. Changes that add features should be minor while chores and bugfixes should be patch. Please prefix the changeset message with feat:, bugfix: or chore:.
Checklist
Please read and apply all contribution requirements.

[x] This PR targets the dev branch (NEVER master)
[x] Documentation reflects all relevant changes
[x] Branch is prefixed with: docs/, feat/, chore/, bugfix/
[x] Ensure Svelte and Typescript linting is current - run pnpm ci:check
[x] Ensure Prettier linting is current - run pnpm format
[x] All test cases are passing - run pnpm test
[x] Includes a changeset (if relevant; see above)

@Mahmoud-zino I somehow completely missed this, so I'll plan to review and merge between now and the next release. My bad!

@Mahmoud-zino I haven't forgot your PR here, just been too swamped to devote proper time to it. I hope to rectify that soon. I do think we'll move forward with this if I can confirm all is well.

@Mahmoud-zino one more thing....can you make the numbers random values between say 1-10,000? I think it'll look nicer than the decimal values. But super nitpicky, don't stress about it you don't have time. We can evaluate again when we port to v3.

@Mahmoud-zino perfect, thanks!


Keyboard shortcuts stop working at random

Hey guys.. I noticed that TAB stops working at random.. Few other shortcuts stop working too..
The most strange thing is that when I click Check for Updates button they start to work again..
I'm using newest Mac OS version.

I assume you are using version 1.21 of VS Code?
Does this problem also occur when you disable all extensions?
Please provide steps so that we can reproduce this problem.

Chiming in here to say that this happens to me and my coworkers as well. There really are no steps to reproduce because it happens intermittently, as far as I can tell. I'll just be working and the keyboard shortcuts for Copy/Paste/Save (maybe others) will stop working.
Restarting VSCode fixes the issue, but only temporarily.
I'll try running VSCode without extensions for a while and see if it persists.


Opportunistic mode

Have an opportunistic option implemented so that haulers will only haul to frames/blueprints within X distance of themselves. Might require caching a grid and updating every n ticks to avoid performance issues.

Maybe implement enum with something like Close / Medium / Long range and Entire Map like it is at the moment.


Upgrade httpx version support to 0.27.0

Problem
Why is the current httpx supported version only >0.23.0, <0.24.0? Current stable httpx version is 0.27.0. Is there any blockers to upgrading it? I'm using another package which is using httpx=0.27.0 httpcore=1.0.4 which is conflicting.
Is it safe to use httpx=0.27.0 alongside solana=0.31.0? How could I check?
Compatibility tests with httpx=0.27.0
So I clone and ran the repository test suite with current 0.23.0 version as well as by setting httpx = "^0.27.0" from httpx = "^0.23.0" in the pyproject.toml file (and re-generating the poetry.lock).
Test resulst httpx = 0.23.0
============= short test summary info =============
FAILED tests/integration/test_http_client.py::test_request_air_drop - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
FAILED tests/integration/test_http_client.py::test_send_transaction_and_get_balance - solana.rpc.core.RPCException: SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Transaction results in an account (1) without insufficient funds for rent", data: RpcSimulateTransactionResult(RpcS...
FAILED tests/integration/test_http_client.py::test_send_raw_transaction_and_get_balance - solana.rpc.core.RPCException: SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Transaction results in an account (1) without insufficient funds for rent", data: RpcSimulateTransactionResult(RpcS...
FAILED tests/integration/test_http_client.py::test_send_raw_transaction_and_get_balance_using_latest_blockheight - solana.rpc.core.RPCException: SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Transaction results in an account (1) without insufficient funds for rent", data: RpcSimulateTransactionResult(RpcS...
FAILED tests/integration/test_websockets.py::test_multiple_subscriptions - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_new_account - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_new_associated_account - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_get_account_info - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_get_mint_info - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_mint_to - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_transfer - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_burn - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_mint_to_checked - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_transfer_checked - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_burn_checked - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_get_accounts - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_approve - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_revoke - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_approve_checked - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_freeze_account - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_thaw_account - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_close_account - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_create_multisig - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
============= 5 failed, 264 passed, 18 errors in 234.12s (0:03:54) =============
make: *** [tests] Error 1

Test resulst httpx = 0.27.0
============= short test summary info =============
FAILED tests/integration/test_http_client.py::test_request_air_drop - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
FAILED tests/integration/test_http_client.py::test_send_transaction_and_get_balance - solana.rpc.core.RPCException: SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Transaction results in an account (1) without insufficient funds for rent", data: RpcSimulateTransactionResult(RpcS...
FAILED tests/integration/test_http_client.py::test_send_transaction_cached_blockhash - assert 2 == 1
FAILED tests/integration/test_http_client.py::test_send_raw_transaction_and_get_balance - solana.rpc.core.RPCException: SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Transaction results in an account (1) without insufficient funds for rent", data: RpcSimulateTransactionResult(RpcS...
FAILED tests/integration/test_http_client.py::test_send_raw_transaction_and_get_balance_using_latest_blockheight - solana.rpc.core.RPCException: SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Transaction results in an account (1) without insufficient funds for rent", data: RpcSimulateTransactionResult(RpcS...
FAILED tests/integration/test_websockets.py::test_multiple_subscriptions - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_new_account - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_new_associated_account - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_get_account_info - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_get_mint_info - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_mint_to - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_transfer - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_burn - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_mint_to_checked - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_transfer_checked - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_burn_checked - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_get_accounts - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_approve - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_revoke - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_approve_checked - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_freeze_account - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_thaw_account - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_close_account - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
ERROR tests/integration/test_token_client.py::test_create_multisig - assert<PHONE_NUMBER>0 ==<PHONE_NUMBER>0
============= 6 failed, 263 passed, 18 errors in 231.87s (0:03:51) =============
make: *** [tests] Error 1

Comparaison httpx 0.23.0 vs 0.27.0 results
In both scenarios there are 18 errors due to asserts.
As we can definitely see above, no errors are raised due to the httpx package. Errors raised are due to:

Insufficient funds for rent (Transaction simulation failure)
Assertion error

Therefore I do not see any objections as to upgrade the httpx package to version 0.27.0.
If so I will raise a PR with the change.

Feel free to raise a PR!

@michaelhly Got access denied when trying to push the branch in order to raise the PR.
ERROR: Permission to michaelhly/solana-py.git denied to perezmunoz.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

@perezmunoz you need to fork


Add tracing ability

Add tracing ability can increase system observability, help dev&DBA to identify and solve problems.
Trace SQL query execution can analyze and identify performance issues.
Trace tablet lifecycle can help debug hard bugs/issues in clone/load/schema_change etc.
To start we can integrate opentelemetry client into our be code base, and add traces later.

Added in #5287 #7220 #7139 #7187