auth-server with docker-notary fails with error HTTP 400 response body: invalid character 'B'

I have been able to successfully use auth-server with docker registry. Trying to use the same with docker notary and I am seeing following error
RRO[0000] Could not publish Repository since we could not update: error parsing HTTP 400 response body: invalid character 'B' looking for beginning of value: "Bad request: invalid scope: "repository:xxxxxxxxxxxx:5000/golang:push,pull"\n"
Failed to sign "xxxxxxxxxxxx:5000/golang":test - error parsing HTTP 400 response body: invalid character 'B' looking for beginning of value: "Bad request: invalid scope: "repository:xxxxxxxxxx:5000/golang:push,pull"\n"
error parsing HTTP 400 response body: invalid character 'B' looking for beginning of value: "Bad request: invalid scope: "repository:xxxxxxxxxxxx:5000/golang:push,pull"\n"
This happens once I import the auth-server certificate at my docker client end. This is done to establish a trust between auth-server and my docker client host.

wait, this doesn't make sense to me.
where are these logs from?

This I suppose is coming from https://github.com/cesanta/docker_auth/blob/f78c304094a6679b524251d4d587bc3a24fcb4d9/auth_server/server/server.go#L172

One more point to add here I run the following command
docker push xxxxxxxxxx:5000/golang:test
so there is a tag "test" also at the end
But above in the error message I see golang:push,pull

Comment from docker team
https://github.com/docker/notary/issues/916#issuecomment-239861223

thank you! this should be easy to fix, please try :latest.

I still have the same issue, with latest

strange, works for me. please make sure you re-pulled :latest and if it still doesn't work, please post full auth_server log at --v=2.

Not sure if I understood you correctly, do you mean I should run
docker push xxxxxxxxxx:5000/golang:latest

I just pulled latest docker_auth image and looks like it worked. I will run few more tests over few days and provide more updates on this issue. Thanks a lot for your prompt response.

i meant pull docker_auth:latest with the fix. looks like you did it and it works, ok.

The previous one which worked was when I used a http connection. Now switching http connection to https is making it fail again which I have pointed out earlier at you. Just wanted to check with you that was your docker_auth server listening on http or https.

http/https is probably the trust issue you described, which cannot possibly be related to this.

agreed your fix works and this is unrelated to current issue. Just checking if you guys have been able to make https work with docker. Have raised an issue with docker here https://github.com/docker/docker/issues/25682

yes, for example docker.cesanta.com uses SSL

okay thanks for this information, appreciate your help and prompt reply


Classless / 4-6 Class Options, 16+ multiple characters per account / character selection screen / multiboxing features

From Discord Suggestion.
Can we have a classless option like in osrs / oblivion too?
like maybe 4-6
adventurer (classless)
melee
ranged
caster
support
hybrid
Also can 1 account have a character selection screen like in wow / eq so we can have alts and not a billion passwords to keep track of like at least 16 characters if not like 100+ but like idk how we handle multiboxing I guess you have a feature like add alt to 1 client with ai / macros like rts / crpg like bg or iwd or d2 merc etc

1 computer has run 16 characters before its just if it was better integrated the experience would be better than 16 tab hoping. 16 is a natural number where it still does small things but it can do big things and also like chess its where most people can still keep track and it is a super divisible organization number 16->8->4->2->1. Its where it has RTS features but with the mental capability still within common expectations for most people to keep track of. This is an extra feature but it would be good for testing especially for dungeons / raids / player count activities. Even /follow /stop /hostile /defensive /passive /heal lowest ally commands would go so far with multiboxing / rts features.

Out of scope for this project or near future roadmap, closing this ticket


fix(deps): update dependency shell-quote to 1.7.3

🎉 Thanks for submitting a pull request! 🎉
Summary
Fixes https://github.com/netlify/cli/security/dependabot/57

For us to review and ship your PR efficiently, please perform the following steps:

[X] Open a bug/issue before writing your code 🧑💻. This ensures we can discuss the changes and get feedback from everyone that should be involved.
[X] Read the contribution guidelines 📖. This ensures your code follows our style guide and
passes our tests.
[X] Update or add tests (if any source code was changed or added) 🧪
[X] Update or add documentation (if features were changed or added) 📝
[x] Make sure the status checks below are successful ✅

A picture of a cute animal (not mandatory, but encouraged)

@danez please excuse the delay. thank you for explaining, and I did realize that during my attempt to upgrade this. compositor/x0 is currently sparking 3 critical security alerts, and a number of high and below security alerts.
We need to decide a next action to take here.

We have to understand the actual risk of running this unmaintained version of compositor/x0.
Ideally each one of the security alerts (see image below) needs to be attested to. If we feel the risk is lower than critical, we can adjust.
I can move this discussion to an issue now if that makes more sense.
cc: @krider2010 @markdorsi

@dustincrogers an issue would be the best thing. We need to understand the implications of that vulnerability when run in the context of the CLI. Moving a transitive dependency across those versions is not possible, and removing a dependency like this is some engineering effort. As ever, trade offs 😸


Play puts animation in timeline

@shans @dstockwell I think this is all we need to fix the problem


I have built an engine,should I build again the next time, or should reuse the engine?how to load the old engine?

specify engine file as example below.
./install/runYolov3 --enginefile=./your_engine_name.engine --W=416 --H=416 --class=80


Avoid rerunning build script

As per the last line of install.sh, ./build.sh is already called once . Avoid rerunning build.sh, but needs to be mentioned since someone might want to build explicitly and that detail should be mentioned.
Edits are welcome. We can also remove ./build.sh from install.sh as an alternative.

Thanks for the documentation update.  I just changed this today, because the first run of build.sh is actually doing a lot of heavy installation.


chore: setup CI pipeline(s)

Describe the improvement
Pipeline should run Reassure examples to check if they are working correctly.
Scope of improvement

This should be run on PR branches and main branch.
Each run example should generate a separate Danger CI report, so if 4 examples are being run, there should be 4 reports, one for each example.
If possible only run the modified examples, as performance test take longer time to execute.

Suggested implementation steps

Create a separate GH workflow for all example apps. These should be run sequentially not to interfere with each other.
Invoke workflow parts for each example conditionally only if relevant folder files are modified (if possible).

Resolved by #52


Add network to mixpanel metrics

Closes #1863
Description
Adds value of the network flag to metrics

For contributor use:

[x] Targeted PR against master branch
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[x] Code follows the standards mentioned here
[ ] Updated relevant documentation
[x] Re-reviewed Files changed in the Github PR explorer
[x] Added appropriate labels

Codecov Report
Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 28.55%. Comparing base (f529b1f) to head (e02d00f).

Files with missing lines
Patch %
Lines

internal/command/command.go
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1864      +/-   ##
==========================================
- Coverage   28.55%   28.55%   -0.01%
==========================================
  Files          95       95
  Lines        6524     6525       +1
==========================================
  Hits         1863     1863
- Misses       4479     4480       +1
  Partials      182      182

Flag
Coverage Δ

unittests
28.55% <0.00%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add NC server functionality

I'm creating this issue to open a discussion on if and how it would be possible to add NC server functionality to ncclient. I guess it's a bit of an oxymoron to add server functionality to a library with "client" in the name but here goes..
The current NETCONF server implementations out from the likes of Cisco and Juniper are proprietary and included in their products. I would like the ability to add NC/YANG functionality to other systems, for example a Linux host running an application where I would want to configure both the Linux machine (IP addresses, routes, hostname..) and the application via NC/YANG, much like I would with a normal router.
I have two active use cases where this would be very nice;

Configuration of Snabbswitch, an open source framework for writing NFV-style applications. It can also be used as a vSwitch/vRouter for OpenStack or similar. I'm writing applications using Snabb that do router-like jobs and as such it would be nice to configure them the same way I configure my "real" routers, ie using NC/YANG.
I've just added IPv6 support for IPTV-Analyzer to measure quality of IPTV streams in our network. I would like to be able to configure an "appliance" (like a VM image or whatever) of IPTV-Analyzer using NC/YANG. Again, much like any other network appliance. I would really like to avoid manual hacking of configuration files or even using something like Ansible.

I'm not at all familiar with the ncclient code base (yet) so I'm not sure how well suited it is to be molded into being not only a client but also act as a server. If this is the worst idea ever just tell me so but I imagine that there should be common parts between a server and client. I'm open to all and any ideas and an open discussion on the topic :)

Hi Kristian,
Have you tried libnetconf: https://github.com/cesnet/libnetconf ? It's quite customizable and it may fit your needs.
Best,
Leo

@leopoul no I haven't, I was looking for something in Python :)
Is this a bad fit or are there parts in ncclient that could be reused for building a server?

Some parts could be used, however I would consider the server as a completely different project.


[SPARK-25451][SPARK-26100][CORE]Aggregated metrics table doesn't show the right number of the total tasks

What changes were proposed in this pull request?
Total tasks in the aggregated table and the tasks table are not matching some times in the WEBUI.
We need to force update the executor summary of the particular executorId, when ever last task of that executor has reached. Currently it force update based on last task on the stage end. So, for some particular executorId task might miss at the stage end.
How was this patch tested?
Tests to reproduce:
bin/spark-shell --master yarn --conf spark.executor.instances=3
sc.parallelize(1 to 10000, 10).map{ x => throw new RuntimeException("Bad executor")}.collect()

Before patch:

After patch:

Test build #98840 has started for PR 23038 at commit ed98958.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

cc @vanzin @srowen kindly review

Test build #98840 has finished for PR 23038 at commit ed98958.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98840/
Test FAILed.

I'll update the PR, for test failures

Test build #98849 has started for PR 23038 at commit b7a47c2.

Test build #98850 has started for PR 23038 at commit c53ca48.

Test build #98849 has finished for PR 23038 at commit b7a47c2.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98849/
Test FAILed.

Retest this please

Test build #98850 has finished for PR 23038 at commit c53ca48.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Test build #98856 has finished for PR 23038 at commit c53ca48.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98856/
Test FAILed.

retest this please

Test build #98863 has started for PR 23038 at commit c53ca48.

Test build #98863 has finished for PR 23038 at commit c53ca48.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Test build #98893 has started for PR 23038 at commit 0d92185.

Test build #98893 has finished for PR 23038 at commit 0d92185.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Test build #98895 has finished for PR 23038 at commit 7c3a80b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Test build #98894 has finished for PR 23038 at commit 805ebb8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Test build #98935 has started for PR 23038 at commit 93181aa.

Test build #98936 has started for PR 23038 at commit 5b13b77.

Test build #98937 has started for PR 23038 at commit 6e1d2fa.

Test build #98938 has started for PR 23038 at commit 8109396.

Test build #98931 has finished for PR 23038 at commit cbd885a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Test build #98935 has finished for PR 23038 at commit 93181aa.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98935/
Test FAILed.

Test build #98937 has finished for PR 23038 at commit 6e1d2fa.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98937/
Test FAILed.

Test build #98936 has finished for PR 23038 at commit 5b13b77.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test PASSed.

Merged build finished. Test PASSed.

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

Test build #98939 has finished for PR 23038 at commit 50cc762.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test PASSed.

Test build #98953 has started for PR 23038 at commit 4385035.

Test build #98953 has finished for PR 23038 at commit 4385035.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98953/
Test FAILed.

Test build #98956 has started for PR 23038 at commit ecac386.

Merged build finished. Test PASSed.

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

Test build #98966 has started for PR 23038 at commit ad30c36.

Hi @vanzin ,
For history server also the same issue happens (see https://issues.apache.org/jira/browse/SPARK-26100) , and the current fix alone is not sufficient for history server case.
In History server, both 'Jobs' table and 'Aggregated Metrics' table shows incorrect total tasks.
The reason is because, when the condition satisfies, we force update only live application store.
I have modified the code, so that the issue will not happen for both History and live UI.

App UI  from History server after the patch:

Test build #98968 has started for PR 23038 at commit a21bc0c.

Test build #98967 has finished for PR 23038 at commit dca941d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Test build #98966 has finished for PR 23038 at commit ad30c36.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Test build #99012 has started for PR 23038 at commit ed85016.

Test build #99012 has finished for PR 23038 at commit ed85016.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #99025 has finished for PR 23038 at commit ed85016.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

@vanzin could you please check the updated changes, thanks

(Also merged to 2.4.)

This seems to have broken the master build, probably some other change that happened since this was last tested. Will send a follow up.


feat(components): overlay functionality on conditionals - I233

Issue #233
Closes #233 with full support of boolean and if/else conditional variables in the UI
Changes

Create an addition symbol component

Tooltip which reads on hover "Hide text" when true and "Change to: TEXT" when false

Wrap conditionals with tooltip

Tooltip which reads  "Show text: OTHER_TEXT" on hover

Rely on Slate key for all functionality
Store conditional information on state in clause IFF conditional is an empty string

Flags

~Issue with this approach is shown in the demo~

~Conditionals that span more than one line break the logic~

Related Issues

Pull Request #288

Also wondering if it wouldn't be better to try and unify the conditional and conditional+else code and UX. Maybe something for further discussion.

Could you expand on this? Not sure I understand.

Also wondering if it wouldn't be better to try and unify the conditional and conditional+else code and UX. Maybe something for further discussion.

Could you expand on this? Not sure I understand.

Maybe I followed wrong but it seemed like there was two components one ConditionalBoolean and one ConditionalSwitch ?
Looking again, I see that they cover different part of the logic so I'm probably just completely mistaken

Maybe I followed wrong but it seemed like there was two components one ConditionalBoolean and one ConditionalSwitch ?
Looking again, I see that they cover different part of the logic so I'm probably just completely mistaken

Ah yes yes yes, so ideally the ConditionalPlugin would house all the logic. However, the hovering over a clause and thus displaying editing/deleting/testing icons is in the ClausePlugin, which that ConditionalBoolean needs to display. So I had to unfortunately separate them.


Capturing errors always runs apm ls --json --no-color and renders atom unusable for an amount of time

Everytime an error dialog is shown:

Atom runs apm ls --json --no-color producing this profile

It renders atom unusable for about a minute or so (using 100% cpu for handling apm ls --json --no-color's output, which is only 10mb)
Also clicking the reporting button has no effect until atom finishes this process.
It could be one reason for https://github.com/atom/atom/issues/3426
I tried to find the code that runs apm ls --json --no-color, but unsuccessful.
Versions

Atom:       1.3.0-beta6
Atom-Shell:
OS:         Mac OS X 10.10.5
Misc

apm  1.1.1
npm  2.13.3
node 0.10.40
python 2.7.10
git 2.5.1

I could also upload the whole cpuprofile, just tell me where.

Hey @despairblue, could you please move this over to atom/notifications?  That's probably also where the apm command is being called.  Thanks!


managers should provide reset functions for traffic rules.

Introduction
For each segment end flag like entering blocked junction allowed as an example (why did I chose the longest name?!) we can have these states:
States:
- NotConfigurable(NA) (default 1 or default 0)
- Not Set: true by default or false by default.
- Forced: true or false

when we set a flag we force its value. if we force set it to default value it will not change if default changes (eg. change options or change road configuration).
if we don't set the state then default value is used. Not configurable means that the default value cannot be changed.
we have also these functions for every flag:
ToggleEnteringBlockedJunctionAllowed
SetEnteringBlockedJunctionAllowed bool
- NA => force set to input value 0 or 1(the values are lost on game load).
- else => force set to input value 0 or 1 (preserved on game load)

IsEnteringBlockedJunctionAllowed bool
- not set => return default
- forced => return forced
- NA => return default

GetDefaultEnteringBlockedJunctionAllowed bool
- set => return default
- not set => return default
- NA => return default

IsEnteringBlockedJunctionAllowedConfigurable bool  TICK logic
- NA => return true
- else => return false

GetEnteringBlockedJunctionAllowed => TernaryBool
- Not set => return TernaryBool.undefined
- NA  => if not set then return  TernaryBool.undefined else returned forced (true or false)
- forced => forced (true or false)

Several problems:

(main problem) There is no interface for clearing forced values. this is important for #568 . Note that force setting the flag to default value is not same as not having the flag in the first place because the default value CAN change (change options or add/remove/upgrade segments). see screenshot.
SetEnteringBlockedJunctionAllowed does not check if IsEnteringBlockedJunctionAllowedConfigurable. This condition does not matter when using UI but can be reached by programming interface.
forced values are removed when they become un-configurable. But this does not work with the corssings mod. you can put a crossing, set the U turn and then remove crossing but the U turn remains. it is lost on next game load though.

In the picture bellow I toggle every arrow a couple of times to force set it to its default value. but when I delete a segment the lane arrows do not change.

Solution:

introduce Clear<traffic rule>() methods in the interface
Set<Traffic rule> to check for Is<Traffic rule>Configurable . This prevents programming errors.
lane arrow manger to check for invalid arrow directions when segment layout changes.

Almost done here. one problem.
Why does lane connector have configurable hotkey for delete? delete and backspace do the same thing (I have tested it). I am guessing this is a bug:

I think all tools should use delete for removing traffic rules for all tools. no need to make it configurable. while configurability is good idea this is just too much!

maybe we can assign backspace to remove traffic rules of a particular tool  and delete for removing all traffic rules?

Just random thought on this:
- NotConfigurable(NA) (default 1 or default 0)
- Not Set: true by default or false by default.
- Forced: true or false

Might be better as:

Vanilla - just use vanilla value

I realise this is conceptually different to 'immutable'; maybe we need (separate?) immutable state?

Default - TM:PE applied default (eg. user defined default road speed, or set default policies, etc)

Fallback to Vanilla value

Manual - user made customisation at node/segment/lane-level

Fallback to Default value

maybe we can assign backspace to remove traffic rules of a particular tool and delete for removing all traffic rules?

Backspace -- for selected thing(s), remove customisations made by active tool
Alt+Backspace -- for selected thing(s), remove customiations made by all tools

On Mac keyboards Delete does not exist as a separate button, you have to press Fn + Backspace, hence Backspace was added for convenience. Don't give them different meaning, for some users its the same Backspace key.

@kianzarrin Does this issue need retaining - eg. for speed limits and parking restrictions there is still no way to reset customisations.

@aubergine10 for speed limits and parking restrictions there is still no way to reset customisations.

I don't know about them. Isn't parking restriction like priority sings, the states are:

Not applicable
allowed
not allowed

so to restore to defaults I should just set it to allowed (if applicable).
I thought we have  a default speed limit. If my recollections are correct setting the default speed limit is same as not setting at all with the exception of the overlay symbol that is shown to the user and storage space. not ideal but its not a big issue.
I was under the impression that we have a 1+ issue per Pull request policy. if that is the case create new issues for them if not reopen this one. It has to be you because I don't use those tools too much.

Continued in #692


Performance issues with ogbl-biokg graph in DeepSNAP

Hello,
I am trying to use the ogbl-biokg (docs | github) with the DeepSNAP package. The graph has 5.088.434 edges and 93.773 nodes. I created a custom dataset (link to the code), but I have massive performance issues.
The problem is that it takes more than 30 min for the graph to process and generate the HeteroGraph object:
hetero = HeteroGraph(G)

And that the memory consumption is too much, even for a node with 256GB when I start the training, so it always crashes. I am using it in the link prediction with the heterogeneous GraphSAGE model (tutorial colab from DeepSNAP).
I think the problem might be using networkx in the backend. I tried loading the graph with the StellarGraph package via numpy arrays, with are much more efficient. All of the graph loads within a minute, even on a CPU.
Is there any suggestion you have as to how to better load the data into DeepSNAP? Or could you possibly integrate the ogbl-biokg graph as a dataset into your library, considering the ogb package is also part of snap-stanford ? This would be very helpful!

Hi,
Thanks for pointing out this. Right, handling the graph data by using the NetworkX graph object seems not efficient. But the performance issue for generating the HeteroGraph might be mainly caused by what DeepSNAP does internally, transforming the NetworkX graph into tensors and in the link prediction case it will also split multiple negative edges. These can actually cause the performance / memory issue. One potential solution is to not use DeepSNAP if you don't need to manipulate the graph heavily (for example during training). You can use PyG directly with its transforms functions. Also, now the heterogeneous functionality has also been merged into the PyG and you can use it from PyG directly. If you have heavy graph manipulation requirements and need to use the graph algorithm from NetworkX, you can try to feed tensors directly such as this example but I am not sure whether this can work for the link prediction task (also not very sure about the performance). I will benchmark and try to find the performance issue if I have time recently.
Thanks.


How can I run amplify function push so that it only pushes up one function, not all?

Which Category is your question related to?
Function
Amplify CLI Version
4.26.0
What AWS Services are you utilizing?
Lambdas (function), API Gateway (api) and Cognito (auth)
Provide additional details e.g. code snippets
When I run the following command, where tables is my function name
amplify push function tables

It shows this:
λ amplify push function tables

Current Environment: dev

| Category | Resource name | Operation | Provider plugin   |
| -------- | ------------- | --------- | ----------------- |
| Function | tables        | No Change | awscloudformation |

No changes detected

When I run amplify push, I am able to add --force and it will auto push the function even if there are no changes. I have to use the --force command since I use typescript and for some reason amplify doesn't recognize the generated js files in my dist folder (in the same location as the src folder). So I need the force command.
However, When I run amplify push function tables --force, it will not push the function.
This means that I have to run amplify push --force for one small change. Is there a --force command for amplify push function <funcName>?

Hi @danielmhair
we currently doesn't support this functionality: amplify push function <funcName> --force. For the workaround you can  do amplify push --force.

Hi @danielmhair
we currently doesn't support this functionality: amplify push function <funcName> --force. For the workaround you can do amplify push --force.
If you are stuck one something feel free to comment and I will reopen this issue again

Hi @akshbhu - are there any intentions to support this functionality in the future? We have a project with numerous lambda functions and pushing all of them slows down our development iteration.
Thanks very much.

The workaround I came up with is to mock the function as much as a possible locally, but i understand that's not always ideal.

The workaround I came up with is to mock the function as much as a possible locally, but i understand that's not always ideal.

Mocking function locally still doesn't support a lot of features


[WIP] ChannelDepletionSimulator.py Example

Template to include the simulation of payments on the ChannelGraph, extending the previous single period model to a multi period model.
Not included is the Channel Graph "listchannels20220412.json", residing in repo root.

Simulation of payments in the Lightning Network
Setup

Definition of network that serves as OracleLightningNetwork
Definition of Strategies that the sending nodes act upon
Definition of number of runs
Definition of distribution of payment amounts
Creation of a collection of N payments (src, rcv, amount)

Behaviour

define strategy for routing: how many tries before calling it a failure (no route)
define when settlement failed, what to do next - retry or record failure

Metrics

what do we record when (and why)


Fancy Zones: Space around zones glitchy slider

Microsoft PowerToys version
0.65.0
Installation method
Microsoft Store
Running as admin
No
Area(s) with issue?
FancyZones Editor
Steps to reproduce
Edit any zone and slide the Space around zones slider using the mouse from left to right.
As soon as you go from single digit pixels to double digit pixels the slider glitches and jumps values due to the whole window layout being resized.
✔ Expected Behavior
You can smoothly adjust the slider with the mouse.
❌ Actual Behavior
Slider values jump back and forth, depending on the direction you are adjusting, due to the window being resized and the slider size along with it.
Other Software
No response

Totally agree, this is annoying. I think adding a box to manually insert values for fine-tuning could be helpful and should not require too much effort to implement.

We had troubles in the past with using number box UI element here. Once the issues with that UI element are resolved we can move back to it

The easiest fix would probably be to have the window implement a minwidth that is equal to the preferred width, so when the slider goes from single digit to double digits and causes the window's preferred width to increase, we set the min width to that value so that the window does not decrease back in side when the slider goes from double digits to single digits.  Frankly I don't think this is an issue with the slider UI component, it's a layout issue.

/dup https://github.com/microsoft/PowerToys/issues/23152


incorrect order book interpretation

python 3
Let's say that I want to get order book. I run code like this:
#---------------------------------------------code---------------------------------------------
order_book = client.get_order_book(symbol=symbol, limit=10)
order_book = pd.DataFrame(order_book)
order_book.to_excel('order_book.xlsx')
#----------------------------------------------------------------------------------------------
and .xslx file looks like (look at attachments)
According to the table ask price exceed bid price. So, name of columns(asks, bids) are incorrect.
Because asks(buyers) always want to buy at less price and bids(sellers) always  want to sell at high price.
order_book.xlsx

no you just got it wrong. Ask and bid refers to price. So sellers, ASK for a certain (high) price and buyers BID a certain (low) price

Got it, thank you.


Unable to get decryption working with shielding key

See the created upstream issue: https://github.com/integritee-network/worker/issues/987

Small update:
we are still not able to get it working. It looks like the key pair that TEE generates is either wrong or non-standard RSA pair. See the upstream thread

Resolved, see the upstream issue. In a nutshell, we need to:

reverse the bytes that are generated from TEE
don't use node-rsa lib, use other libs instead (e.g. crypto)


Generator should use Process Lock when pickle safe instead of Threading Lock

When pickle safe is True, using Threading Lock in generator causes problem when generate random index of inputs.
Two way to avoid this:

if pickle_safe is True, check generator whether has 'lock' attribute and replace it with multiprocess version
always use multiprocess.Lock, this is less efficient of performance

Could someone please review this PR? @Dref360 maybe this is your domain?

Will look into it tonight.
I guess the lock attribute come from something like that , is that right?

@Dref360
Indeed,  Keras Iterotor
used the lock to generator thread/process safe index array, which caused the problem that the lock not longer safe in multi process mode.

Great! Maybe just add a comment around this block to specify where the lock comes from. (If Iterator get deprecated and/or Iterator.lock get renamed, it will cause a lot of problems and nobody will know why.)
Otherwise, LGTM.

@Dref360 Done, plz check


Fix custom parameters are not working in an open_terminal command

The following key binding should work but not. The parameters is overwritten by user settings.
{
    "keys": ["f5"],
    "command": "open_terminal",
    "args": {
        "parameters": ["-NoExit", "-File", "C:/MyFile.ps1"]
    }
},

Ref: https://www.reddit.com/r/SublimeText/comments/4bt2fk/launch_powershell_with_a_specific_command_by/

Nice catch and fix. This looks good to me :+1: I will land it by the end of the weekend (unless someone beats me to it)

This has been landed and released in 1.11.0. Thanks for the fix =)


Why is stage not responding to HTTP requests?

May 12 07:12:41 pod-stage.stanford.edu apachectl[2592627]: AH00526: Syntax error on line 23 of /etc/apache2/sites-enabled/25-aggregator.conf:
May 12 07:12:41 pod-stage.stanford.edu apachectl[2592627]: PassengerDataBufferDir not allowed in <Location> context
May 12 07:12:41 pod-stage.stanford.edu apachectl[2592614]: Action 'start' failed.

Fixed by https://github.com/sul-dlss/puppet/pull/7995/commits/80c3013db2fc339e6fe1c6f5e1c0a24a72c33205.


python3Packages.pillow: 8.4.0 -> 9.0.0, python3Packages.imageio: 2.13.2 -> 2.13.5

Motivation for this change
https://nvd.nist.gov/vuln/detail/CVE-2022-22815
https://nvd.nist.gov/vuln/detail/CVE-2022-22816
https://nvd.nist.gov/vuln/detail/CVE-2022-22817
I wouldn't consider these as severe as most pillow vulnerabilities - only moderately rare use cases would be vulnerable.
Bumped imageio and added a patch to fix its behaviour and tests with pillow 9.
Have also built from python39Packages: kivy tilequant mahotas pydicom pilkit cairosvg piexif pytesseract bokeh wordcloud faker pikepdf imageio python-mapnik imageio on macos 10.15 and nixos x86_64.
These vulnerabilities look quite patchable so no backport label.
Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg build python3Packages.pillow python3Packages.imageio


[EngSys] adding coverage tools

Adds to coverage tests to fail if the code coverage is below a supplied number

/azp run go - armcore

Just wondering if there is a reason we're writing the tool in go? It seems to be searching for files named coverage.xml, running a regular expression over them, and parsing the line.
I feel like this could be down by a powershell script, but if we're extending it to be more complex in the future that makes a bit more sense.

I am more familiar with using Go to do this than a Powershell script. In the future Rick and I discussed adding branch coverage and this tool could be expanded to do so.

/azp run go - to - ci


Fix concurrent read/write of map

The Google App Engine example is unsafely reading / writing from a map.  This fixes it to use a RWMutex to ensure that map is accessed safely.

I'm not sure we should complicate the example that much. Might be better to just add a note, that this code requires a proper mechanism in production.
Feedback weclome.


Errors when web workers use importScripts()

Hey, I stumbled upon a similar issue as https://github.com/filedescriptor/untrusted-types/issues/1  (This document requires 'TrustedScriptURL' assignment.) for websites that leverage web workers. It seems that Chrome isn't using the default policy as a fallback in case strings are passed to importScripts() resulting in errors since the CSP enforces trusted types.
The minimal POC to reproduce this is:
index.html
<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Security-Policy" content="require-trusted-types-for 'script'">
</head>
<body>
<script>
trustedTypes.createPolicy('default', {
  createHTML: string => string,
  createScript: string => string,
  createScriptURL: string => string
});

var worker = new Worker("script1.js");

</script>

script1.js
console.log('hi, from script1.js');
importScripts('script2.js');

script2.js
console.log('hi, from script2.js');

Here's a live version http://<IP_ADDRESS>/web-worker-trusted-types/index.html
I couldn't find much information regarding this behaviour, however, my gut feeling tells me this might be a bug in Chrome, but I'm not too familiar with web workers (and how they work with trusted types). Just thought that I'll mention it here if others run into it (not sure there is anything the extension could do in these cases).

Thanks for reporting this! I can reproduce this issue.
I'll try to find someone familiar with this matter and get their opinions.

Thanks for reporting this! I can reproduce this issue.
I'll try to find someone familiar with this matter and get their opinions.

I got an answer from koto:

It's not a bug I think. Every realm (a document, or a worker) needs its own policies, so in this case the default policy should be also created in the worker code before doing importScripts

Don't think there's anything we can do (maybe intercept the request and inject Trusted Types?)

I got an answer from koto:

It's not a bug I think. Every realm (a document, or a worker) needs its own policies, so in this case the default policy should be also created in the worker code before doing importScripts

Don't think there's anything we can do (maybe intercept the request and inject Trusted Types?)

I think that makes sense. On first sight, it seems a little inconsistent though that script1.js still uses the default policy defined in index.html, but there might be a reasonable explanation for that too, I guess.
The injection might be doable if extensions can tell something is requesting a web worker and prepend a default trusted type definition to the response.

I think that makes sense. On first sight, it seems a little inconsistent though that script1.js still uses the default policy defined in index.html, but there might be a reasonable explanation for that too, I guess.
The injection might be doable if extensions can tell something is requesting a web worker and prepend a default trusted type definition to the response.

I also ran in same issue in chrome version 86.
Scripts (http://<IP_ADDRESS>/web-worker-trusted-types/index.html) works fine on chrome version 100 and later.
Not sure in which exact version issue was fixed.


Conda entries duplicate after installing python

Testing #18731
For this to work, ensure that your global python is a python.org install.

We tried debugging but could no longer reproduce this issue where that entry is duplicated after install 🤷♂ But another bug in that screenshot is that the executable install inside the env failed, and is still pointing to an executable outside environment. That issue should be solved with https://github.com/microsoft/vscode-python/pull/18767.

The bug isn't reproducible with latest fixes, closing it.

/verified


Update site footer and remove from homepage

Changes

Update site footer text.
Remove footer on homepage.

Testing

Visit branch preview PR and see that there is no footer on the homepage and other pages have updated footer text.

Screenshot

Personally, I like it on the homepage. 🤷

+1


feat: add message, reload and action to visit original file in filesC…

…hecker
There could be a comparer. Maybe working on it these days.

conflict xD


RFC: Consider rolling our own project generation tool

Since this templates inception we have been using cargo-generate as the project generation tool. This has worked for the most part, however we have encountered a number of limitations and rough edges which have made continued development of this template more difficult that it probably needs to be.
Our team has discussed this topic in various meetings to some degree, and have come to the conclusion that perhaps we should just roll our own project generation tool for this. We can be incredibly opinionated about things and cater the tool to our specific needs, instead of trying to coerce a generic tool into doing what we want.
We will need to have some further discussion to nail down the requirements for such a tool, and make a final decision if we do indeed want to go down this path, however I am opening this issue now for the sake of tracking progress here.

I made some experiments here: https://github.com/bjoernQ/esp-generate

Ill start doing some investigation on this issue! Ill start by collecting a list of requirements/ideas and then take a look at esp-generate

Requirements

The user should be able to select:

Project name
Target chip
Enable esp-alloc
Enable Wifi/bluettoth/esp-now via esp-wifi
Enable esp-openthread
Use embassy
Enable stack protection? https://github.com/esp-rs/esp-template/issues/146. Maybe if the user selects nightly, enable this by default?
Other options:

Devcontainer support
Wokwi simulation support
GHA files
Initialize git repo?
Toolchain channel (nightly/stable)?
RA support for Vscode?

Output code should be formatted
We need to have some CI that check the different combinations (or at least, the most simple and the most complex scenarios)
https://github.com/esp-rs/esp-template/issues/86?

@esp-rs/espressif feel free to add/modify anything to the list. esp-generate already does a bunch of those things, which is a excellent starting point!

I think this is a great initial set of requirements for the end-user experience!
I think we should also think about the requirements of the maintainer side of things (us :D), for example managing code snippets - is there a better way to do it? How might we manage generating multiple templates, for instance we may want an RTIC, Embassy and normal blocking template (maybe more?). These kinds of requirements are why we're exploring not using cargo-generate, so I think they're important to think about.

I thought about some of that in my POC
The most annoying thing to me with cargo-generate was the fact that it's mostly trial-and-error - so my idea was to have a "template" which is just a normal project which works in VSCode (or any other IDE) and can be compiled just as is
t.b.h. the result is not as great as I hoped for but much better than what we had before - the code needs a lot of weird hints for replacements - while that would remain the case there are probably ways to improve the experience
For "multiple templates": could be done as multiple independent templates but in the POC I opted for having multiple binaries (which are "filtered" out during generation)

We need to have some CI that check the different combinations (or at least, the most simple and the most complex scenarios)

Haven't implemented that but I briefly thought about a way to tell the tool to generate all valid permutations which then could be tested if they compile - maybe it's not a great idea since that might be a lot of combinations. That idea could be adapted by having a way to give you the cmd-line invocations for all the valid combinations and we can copy-paste the relevant ones to a workflow

BTW I would really love a have an optional TUI like in the POC

How might we manage generating multiple templates, for instance we may want an RTIC, Embassy and normal blocking template (maybe more?)

For "multiple templates": could be done as multiple independent templates but in the POC I opted for having multiple binaries (which are "filtered" out during generation)

My idea would be to have an extra argument which selects the template (blocking, embassy....)

Haven't implemented that but I briefly thought about a way to tell the tool to generate all valid permutations which then could be tested if they compile - maybe it's not a great idea since that might be a lot of combinations.

I guess this should be explored later on, but I think there gonna be too many possible combinations.

BTW I would really love a have an optional TUI like in the POC

Agree! I really like using the TUI

Just discovered https://github.com/AdinAck/cargo-embassy, which we can get some inspiration from

I created https://github.com/bjoernQ/esp-generate/issues/2 to track the esp-generate improvements that we planned

While I'm not sure whether or not we're ready to promote esp-generate to our recommended tool, might be nice to come up with a game plan here. I think we're close to the point where we can consider retiring this repository.
@SergioGasquez @MabezDev @bjoernQ do you have any thoughts on this?

I think esp-generate is already better than esp-template.
Maybe we could do a "soft launch" by advertising it on Matrix and ask users to give it a try. There is always something to improve but at this point getting feedback from real users might be very valuable

@MabezDev what's the plan here? We've closed most of the issues in esp-generate, if there is any missing functionality or blocking issues remaining please let us know so that we can take care of it. Otherwise, I'd like to finally be done with this repo.

I think @bjoernQ's suggestion of a soft launch on matrix is a good idea. If all goes well we can retire this a promote esp-generate everywhere.

I've created an issue in esp-generate to make sure we're happy with the state of things prior to doing our first release, if anybody has any input there: https://github.com/esp-rs/esp-generate/issues/38
Probably next week we can pull the trigger on this.


No "Technical" Issue Type available

[Enter feedback here]
When I try to open a support ticket the only available issue types are "Billing" and "Subscription management".
Tried different tenants and different ways to open the blade.
How do the other issue types become available? How can I request technical support?

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

ID: 7bb3e4b3-be5b-87f7-7d83-d62e98ccde78
Version Independent ID: fc9e170a-2fbd-5cec-dde0-2a71226d28fe
Content: Find help and open a support ticket - Azure Active Directory
Content Source: articles/active-directory/fundamentals/active-directory-troubleshooting-support-howto.md
Service: active-directory
Sub-service: fundamentals
GitHub Login: @msaburnley
Microsoft Alias: ajburnle

@HeinzLm Thank you for your query. Do you have a valid support plan ? "Billing" and "Subscription management" cases are free however for any technical support you require to subscribe at least a developer support plan which will cost you around $29/month . Alternatively , you can also ask for help on our Community forum Microsoft QnA where the community will help you with your query.

@HeinzLm Hope the explanation above helped. We will now close this issue. Should you have any further query , please feel free to tag me to your reply and I will be happy to help . Thank you.


Support feature filtering based on datasource

MDS integration is complete, and allows selecting particular data sources based on version compatibility (e.g., not allowing datasources below 2.18+ to be selectable). However, in addition to this, we may need further maintenance of feature discrepancies across different versions / configurations. For example, suppose we have an OSD 2.19 server running, connected to a 2.18 datasource and 2.19 datasource. And, suppose we introduce a new ingest processor in 2.19. We can toggle between the 2.18 & 2.19 datasources, but we should limit the available processors when selecting 2.18, to not show the newly-introduced processor as an option.
We should have some config/mechanism to add further filtering (feature flags?) based on the version and/or additional configuration of the selected datasource.

Will be completed by #537


Native Notebooks - metadata and output diffs not collapsed

Action item after Diffing QP was to collapse metadata and output components of notebook diffs.
Opening issue to track progress

We allow users to hide metadata and output changes in the diff editor through setting notebook.diff.ignoreMetadata and notebook.diff.ignoreOutputs.


Replace deprecated String.prototype.substr()

String.prototype.substr() is deprecated so we replace it either with slice() or substring() which work similarily but aren't deprecated.

thanks will look into it when I have some time

Why not use substring for all changes?

slice() is imo stricter as substring() as it doesn't switch variables based on their value.
It would however make no difference in the usecases here so if you like substring() more I'm happy to change it to that.

I have updated the PR to use substring


[InlineNotification] An improper svg property causes warning in the component.

[InlineNotification] An improper svg property causes warning in the component.
Detailed description
There is a warning said
Warning: Invalid DOM property `fill-rule`. Did you mean `fillRule`?

Is this issue related to a specific component?
It is related to InlineNotification

What did you expect to happen? What happened instead? What would you like to see changed?
In dev env, I hope there is no warning in the browser console related to the components. But there is it. Although it does not influence the production, it's better to see no warnings...

What browser are you working in?
Chrome.

What version of the Carbon Design System are you using?
v6.55.1

Additional information
The codes which cause the problem might be here:
https://github.com/IBM/carbon-components-react/blob/master/src/components/Notification/a11yIconWarningSolid.js#L28

Confirming. I'm getting two warnings concerning the warning icon SVG:
https://codesandbox.io/embed/wqqz38o43k

@IOIO72 this should be resolved in https://github.com/IBM/carbon-components-react/pull/1629. Can you verify that the warnings no longer here at this staging link? https://deploy-preview-1629--carbon-components-react.netlify.com/

@IOIO72 this should be resolved in #1629. Can you verify that the warnings no longer here at this staging link? https://deploy-preview-1629--carbon-components-react.netlify.com/

Sure! It works fine now. Thank you! 👍


Keep #Or patterns which appear only on the RHS of a rewrite

Fixes: #1789
@dwightguth please pay extra attention to this PR. I followed the instructions in the issue, but I don't fully understand all the implications behind the reasoning.

This seems needlessly complicated to me. Shouldn't it be sufficient to just not call apply in the KRewrite overload of applp inside transform?

Let's make sure we have a test which exercises the #Or above a => case, something like this:
rule <k> a => b ... </k>
     <foo> bar #Or baz </foo>

We want this to become (bar #Or baz) #as X, to make it executable for the LLVM backend.
But we don't want the rewrite itself to split (#Or pushed through the =>).


其他节点运行后端时 显示 Can't get hostname for your address

2017-01-24 22:29:10 ERROR    shell.py:50 (1042, u"Can't get hostname for your address")
2017-01-24 22:29:10 ERROR    auto_block.py:211 Auto block thread error
2017-01-24 22:29:11 ERROR    db_transfer.py:669 Traceback (most recent call last):
File "/root/shadowsocks/db_transfer.py", line 661, in thread_db
db_instance.push_db_all_user()
File "/root/shadowsocks/db_transfer.py", line 223, in push_db_all_user
self.update_all_user(dt_transfer)
File "/root/shadowsocks/db_transfer.py", line 61, in update_all_user
passwd=get_config().MYSQL_PASS, db=get_config().MYSQL_DB, charset='utf8')
File "/usr/local/lib/python2.7/dist-packages/cymysql/init.py", line 85, in Connect
return Connection(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/cymysql/connections.py", line 244, in init
self._connect()
File "/usr/local/lib/python2.7/dist-packages/cymysql/connections.py", line 411, in _connect
self._get_server_information()
File "/usr/local/lib/python2.7/dist-packages/cymysql/connections.py", line 512, in _get_server_information
packet = MysqlPacket(self)
File "/usr/local/lib/python2.7/dist-packages/cymysql/packet.py", line 67, in init
raise_mysql_exception(self.__data)
File "/usr/local/lib/python2.7/dist-packages/cymysql/err.py", line 142, in raise_mysql_exception
_check_mysql_exception(errinfo)
File "/usr/local/lib/python2.7/dist-packages/cymysql/err.py", line 138, in _check_mysql_exception
raise InternalError(errno, errorvalue)
InternalError: (1042, u"Can't get hostname for your address")
请问这是怎么回事

上网搜索 Can't get hostname for your address


Documentation missing on how to setup vscode debugger

I'm trying to configure vscode debugger to work with swc-node and I can't find any documentation on how to setup that, Am I missing something?
I start my project using the following command line node -r @swc-node/register src/index.ts and I set my launch.json with this content
{
      "type": "node",
      "name": "Debug back server",
      "request": "launch",
      "cwd": "${workspaceFolder}/back",
      "runtimeExecutable": "node",
      "args": ["-r", "@swc-node/register", "src/index.ts"],
      "envFile": "back/.env",
      "console": "integratedTerminal",
      "internalConsoleOptions": "neverOpen",
      "env": {
        "NODE_ENV": "development"
      }
    },

It start my project properly but can't reach my breakpoint, since I guess the link between the source code and node is not set properly. Do you have any idea ?
Sorry to post an issue for that, I can't find any other way to ask this.

@bastien-m I had the same issue, I fixed it by adding "inlineSourceMap": true, inside compilerOptions of my tsconfig.json

@mikaoelitiana thx indeed it works ;)
Maybe it could be put inside the documentation.


Plugin seems to stop working in PhpStorm 2020.2

Not a solution, but I switched to "Code MiniMap".

Code Minimap no longer exists, it seems.

Yes, I noticed. :(

I got it working after trying installing CodeGlance from the marketplace, and then manually installing this one:
https://github.com/mgziminsky/Minimap-for-Jetbrains
Jetbrain will throw an exception when it will start, then you remove the Minimap plugin and tada! CodeGlance is working :)

ok but that's no real solution, is it.
and nobody seems to care, so i assume this plugin is dead too?

It has been for a long time.

that's a real shame... one of my favorite plugins
and there's still no alternative? :/

Unless someone has a local copy of the Code MiniMap repository, probably not.

So what is the issue? Does Code Glance depends on MiniMap somehow?

No, it's just that "Code MiniMap" worked properly and CodeGlance does not.

Ah it seems "Code MiniMap" is fork of CodeGlancec that still used to work, correct?

I do not really know Java but may attempt someday. Perhaps someone else could try. Maybe looking thru changes in the plugin API, finding what needs to be updated may be enough?
https://plugins.jetbrains.com/docs/intellij/api-changes-list.html#known-breaking-changes

FWIW, this also stopped working in PyCharm 2021.1, but https://plugins.jetbrains.com/plugin/15562-codeglance2 seems to work. Maybe an option for PhpStorm users as well?

FWIW, this also stopped working in PyCharm 2021.1, but plugins.jetbrains.com/plugin/15562-codeglance2 seems to work. Maybe an option for PhpStorm users as well?

 This is working great in IDEA Ultimate for me, so I imagine it'd work for most.

I  rebuild  in my  repo： https://github.com/ranbest/CodeGlance/releases


Images output format is incomplete

Looks like !(src) is not a valid Markdown image format. I wasn't able to find any example using this format and parsers don't accept it, like react-markdown.
The format should be: ![](src)
Test:

And after adding []:

Btw, thanks for this library!

@eduludi : I am looking into this.

I have change image markdown and square brackets will have alt text if present in the image.
Release<EMAIL_ADDRESS>Thanks


Add a command flag to enable running in background

I'm using Crafty to create an "idle run" game. Would it be possible to add some kind of "runInBackground" flag or some other idiom to actually allow the frames/drawing to happen even if nobody is looking at the tab actively?

This is a larger discussion of decoupling the rendering logic from the engine logic. This would also be valuable to allow Crafty to run in a node.js server environment

That would also be really nice!
Honestly it might be worth it to add support for web-workers (though I dunno if that works so well in node.js) and allow binding to a new "FixedFrame" event or something?

Currently we use requestAnimationFrame to drive the game loop, and browsers fire that only occasionally when the tab doesn't have focus.  But, they also throttle setInterval and setTimeout, so allowing you to switch to them won't necessarily help.
I think your usecase can be satisfied by changing the mode of the gameloop, though: Crafty.timer.stepType("variable", 60000) sets the maximum time step to one one minute.  Then, so long as your logic works off the time step rather than just incrementing each frame, everything should be ok.

Closing, since it doesn't seem technically possible to run the gameloop while the tab is inactive.


Define OperationalCredentialsDelegate interface and implement for Darwin

Problem
Need mechanism to connect a certificate authority with CHIP operational credentials provisioning.
Summary of Changes
This PR defines a new delegate interface OperationalCredentialsDelegate. CHIP's DeviceCommissioner will call this interface when opcerts will be added to a device. The interface should be implemented by the certificate authority, that'll sign the opcerts.
The PR also adds the certificate authority for Darwin framework by implementing this interface.
The logic to call OperationalCredentials cluster API to request OpCSR, and to provision OpCerts in pending. That'll be added in a follow on PR.

rebased, hoping it'll kick in the CI.

rebased..

rebased and resolved merge conflicts


Add support for x86_64 macos wheels

✨ Feature Request
There is community appetite for cf-units wheels on MacOS x86_64, reference #258.
Contact @alexgleith.

Hey @alexgleith!
Fancy doing some testing?
So I've got a dev branch where I've successfully built MacOS x86_64 wheels 🥳 ... can I take you up on the offer of testing?
Go to this GitHub Action run on my personal GitHub bjlittle/cf-units fork, and click the pypi-artifacts to download the built wheel assets zip file

Then unzip pypi-artifacts.zip, which should unpack 6 wheels and 1 sdist

3 of the wheels are for linux, and 3 of the wheels are for macosx, but all for py38, py39 and py310.
Ignore the wheels version number for now (in my build environment it's defaulted to the bogus version of 2.0.3), but choose one of the macosx_10_9_x86_64 wheels to install... which I guess you're doing in a conda environment or a virtual environment.
e.g., simply pip install cf_units-2.0.3.dev134-cp39-cp39-macosx_10_9_x86_64.whl
I've built the macosx wheels in a MacOS 11 environment. If this isn't compatible with your OS, then I do have the option to build on MacOS 12.
Could you let me know if either of all of them work for you please?
Thanks so much 🙏

Looks fine to me!
pip3 install /Users/alex/Downloads/pypi-artifacts/cf_units-2.0.3.dev134-cp39-cp39-macosx_10_9_x86_64.whl

DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Processing /Users/alex/Downloads/pypi-artifacts/cf_units-2.0.3.dev134-cp39-cp39-macosx_10_9_x86_64.whl
Requirement already satisfied: cftime>=1.2 in /usr/local/lib/python3.9/site-packages (from cf-units==2.0.3.dev134) (1.4.1)
Requirement already satisfied: jinja2 in /usr/local/lib/python3.9/site-packages (from cf-units==2.0.3.dev134) (2.11.3)
Requirement already satisfied: antlr4-python3-runtime==4.7.2 in /usr/local/lib/python3.9/site-packages (from cf-units==2.0.3.dev134) (4.7.2)
Requirement already satisfied: numpy in /usr/local/lib/python3.9/site-packages (from cf-units==2.0.3.dev134) (1.21.2)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python3.9/site-packages (from jinja2->cf-units==2.0.3.dev134) (1.1.1)
cf-units is already installed with the same version as the provided wheel. Use --force-reinstall to force an installation of the wheel.
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621

In [1]: import cf_units

In [2]: cf_units.__version__
Out[2]: '2.0.3.dev134'

Awesome, that's brilliant!
It just gives me the confidence that it actually works.
I'm going to make a pull-request and see if I can get another core dev to merge it. I'd then be keen for force a swift cf-units 3.1.0.post0 or 3.1.1 release to make them available to the community.
Thanks for all your help. Much appreciated indeed 🍻

It's great you're doing this work! Makes it all simple... including the udunits doesn't make the package bigger and will help people like me who just want to use the Python library!

No worries @alexgleith, glad to help!
Have fun playing, and don't hesitate to touch base with use again if you have any other questions or issues and we'll try our best to help.
Hopefully I can get my PR up and merged sometime next week, and get a release cut so that you can use the wheels straight from PyPI. So watch out for that.
Cheers :+1:


pythonPackages.gcovr: Fix build

Motivation for this change
This fixes pythonPackages.gcovr. Please backport to 19.03.
ZHF-19.03: #56826
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build python2Packages.gcovr python3Packages.gcovr

Could you also use the https url for the homepage?

@worldofpeace Done. Also added an alias to use the package simply as gcovr.

ping @knedlsepp

@worldofpeace Sorry for the late reply. Did fixup the suggestions that you made. I tried switching to the github source for the tests, finally could make it work by disabling hardening flags and using gcc5 + some manual patching. Since the tests highly depend on the gcc version I figured it wasn't really worth the maintenance effort on our side.

@worldofpeace Sorry for the late reply. Did fixup the suggestions that you made. I tried switching to the github source for the tests, finally could make it work by disabling hardening flags and using gcc5 + some manual patching. Since the tests highly depend on the gcc version I figured it wasn't really worth the maintenance effort on our side.

Indeed that is true. We can wait for upstream for that.
Thanks for completing this :sparkles:
I've looked over the diff and it looks good, everything builds too.

backported in

c23891f49d318df72c22d924f29157888a914044
b50c2a82aaeaa73cc3866e724c6cce68e2b47875
a0b7a7913c422a791996532b1a72aa5ddb0c3536

Thx!


include ability to add a schema to duckdb database

Adds the ability to include schemas to any dialects we implement.

Noets:
I don't think this will currently work

We're going ahead with the logic in (this PR instead)[https://github.com/moj-analytical-services/splink/pull/379].


How to call event hide?

Hi i cant find docs how to call event hide?

Hi i cant find docs how to call event hide?

You can make something like this:
<Popper ref="popper">...</Popper> ... this.$refs.popper.doClose()
Be careful - doClose is an internal method of vue-popper. Better use forceShow property ;)

im already leave this plugin, cuz its not working correctly,,, Using clean popper.js with api.


Team Page

what we have to do in this @smaranjitghose ?

Create a Team Page with animations like this:
https://dscvit.com/team.html

@smaranjitghose can I work on this?

@smaranjitghose I would like to work on this issue. Please assign me with this issue.

May I work on this
?

@smaranjitghose Okk I will do....Please assign me this issue

Assigned to @payal-98 for the next 5 days..post that @SaranshDawra can take over

@smaranjitghose please assign this issue to me, i am interested in working on this.

@smaranjitghose  can i work on this issue?


reformat kubeadm upgrade page

Fixes: https://github.com/kubernetes/website/issues/20942
A few things I've noticed:

Goldmark doesn't like indented notes / tabs in capture statements
Goldmark doesn't like line breaks inside code tags

fixed with a dash :/

Since removing indents breaks numbered lists, I converted them to bullets. Once we resolve some of these problems we could add them back in.
/cc @neolit123 @sftim

Looks like netlify issues...
9:29:48 AM: Failed to upload file: id/docs/concepts/storage/volumes/index.html
9:30:00 AM: Failing build: Failed to deploy site
9:30:29 AM: Failed during stage 'deploying site': Failed to execute deploy: &{0 } (*models.Error) is not supported by the TextConsumer, can be resolved by supporting TextUnmarshaler interface
9:31:10 AM: Failed to inform the API about a failed build, please retry the build or contact support
9:31:10 AM: Finished processing build request in 26m39.386456393s

Rebuilding now.

Preview: https://deploy-preview-20975--kubernetes-io-master-staging.netlify.app/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/

preview looks fine!
/lgtm

/approve
/hold
@jimangel just in case you had more you wanted to do

Feel free to /unhold

Thanks @sftim! I think this is better than the current state. I will leave touchups for a future PR if needed.
/hold cancel


Update DG with ClearFiltered functionality

Also updated PPP with DG implementations and AboutUs on roles.

Codecov Report

Merging #242 (42d0895) into master (7fadeb5) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #242   +/-   ##
=========================================
  Coverage     68.02%   68.02%
  Complexity      713      713
=========================================
  Files           115      115
  Lines          2274     2274
  Branches        240      240
=========================================
  Hits           1547     1547
  Misses          638      638
  Partials         89       89

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Cannot flee during battle

Description
During battle sequence, cannot flee:
Client side:
> flee

Server side:
2017-12-12T15:27:01.137Z - error:  TypeError: Cannot read property 'direction' of undefined
    at Command.func (/home/mud/ranviermud/bundles/ranvier-combat/commands/flee.js:15:57)
    at TelnetStream.player.socket.once.error (/home/mud/ranviermud/bundles/ranvier-input-events/input-events/commands.js:40:30)
    at TelnetStream.g (events.js:292:16)
    at emitOne (events.js:96:13)
    at TelnetStream.emit (events.js:188:7)
    at TelnetSocket.socket.on.message (/home/mud/ranviermud/bundles/ranvier-telnet/lib/TelnetStream.js:16:12)
    at emitOne (events.js:96:13)
    at TelnetSocket.emit (events.js:188:7)
    at TelnetSocket.input (/home/mud/ranviermud/bundles/ranvier-telnet/node_modules/ranvier-telnet/index.js:328:10)
    at Socket.connection.on (/home/mud/ranviermud/bundles/ranvier-telnet/node_modules/ranvier-telnet/index.js:176:16)

Expected outcome
Ability to flee or error message on client side indicating inability
Steps to reproduce

Initiate battle
type flee or flee <direction> command

Version of Ranvier
# ./ranvier --version
2.0.0

I can't replicate this, did you try to run this command in a room without exits?

I thought the room would have inferred exists like in http://ranviermud.com/extending/areas/rooms/#rooms-with-coordinates .
Here is a reproducer rooms.yml:
- id: start
  behaviors: {}
  coordinates:
    - 0
    - 0
    - 0
  description: This is where it begins.
  doors: {}
  items: []
  meta: {}
  npcs:
    - {id: 'test:4'}
  script: null
  title: Starting point
  exits: []
- id: end
  behaviors: {}
  coordinates:
    - 0
    - 1
    - 0
  description: >-
    A large room.
  doors: {}
  items: []
  meta: {}
  npcs:
    - {id: 'test:3'}
  script: null
  title: End room

Yep looks like flee wasn't updated to support rooms with coordinates, will fix


Translate all Dart-side Flutter integration tests to virtual JUnit tests on Android

This PR resolves #1026.

Current progress:

All bundled (currently manually) Dart test groups and test cases are collected by an artificial Dart test and sent to the native Android side using gRPC

The native side translates Dart test groups and test cases into native JUnit Descriptions (groups and tests). This is not completed yet, and requires more work.
Specifically, the granularity of which tests the Android Test Orchestrator should restart is TBD (Per Dart test()? Per Dart group()? Per a Dart test file? The last one looks like the best choice).

A problem appeared with dynamically creating JUnit test cases. We need to do this, so we can use Android Test Orchestrator.
Currently I see 2 solutions to this problem, none of them perfect:

use JUnit 4 parametrized tests (Android Test Orchestrator works with them)
use JUnit 5 @TestFactory (looks like it works with Android Test Orchestrator). JUnit5 has better support for dynamic creation of tests than JUnit4, but it's not officially supported on Android

Plan for Monday:

[ ] create better test files hierarchy to work with (e.g. login, feed - 2-3 directories deep, a few tests in each dir)
[ ] fix the issue with multiple NativeAutomator.configure() calls (causes the current bundled test to stall after pressHome() is called)
[ ] verify JUnit 4 parametrized tests approach to dynamic test creation (+ make sure it works with ATO)
[ ] verify unofficial JUnit 5 @TestFactory approach to dynamic test creation (+ make sure it works with ATO)

Private notes
This is the JUnit output we want.
<?xml version='1.0' encoding='UTF-8' ?>
<testsuite name=".top" tests="13" failures="0" errors="0" skipped="0" time="30.727" timestamp="2023-04-17T22:57:07" hostname="localhost">
  <properties>
    <property name="device" value="Pixel_4_API_31(AVD) - 12" />
    <property name="flavor" value="" />
    <property name="project" value=":app" />
  </properties>
  <testcase name="accepts location permission" classname=".top.permissions.permissions_location_test" time="0.02" />
  <testcase name="grants various permissions" classname=".top.permissions.permissions_many_test" time="0.001" />
  <testcase name="signs in with Facebook" classname=".top.sign_in.sign_in_facebook_test" time="0.0" />
  <testcase name="signs in with Google" classname=".top.sign_in.sign_in_google_test" time="0.001" />
  <testcase name="counter state is the same after going to Home and switching apps" classname=".top.example_test" time="0.002" />
</testsuite>

Current status: chicken and egg problem with collecting the initial test results
Used resources:

Android Test Orchestrator unmasked

Current problem: our MainActivity is killed by MonitoringInstrumentation just before the test starts. That's why the native Patrol can't reach Flutter Patrol - it's already dead.
Logs that look interesting

-20 21:37:35.139 25058 25088 I flutter : Patrol (native): markPatrolAppServiceReady() succeeded
04-20 21:37:35.140 25058 25088 I flutter : BUNDLED TEST: before future
04-20 21:37:35.140 25058 25088 I flutter : BUNDLED TEST: before runFuture
04-20 21:37:35.151 25058 25088 I flutter : PatrolAppService.listDartTests() called
04-20 21:37:35.161 25058 25081 I PatrolServer: MainActivityTest.testCases(): Got Dart test files: [permissions_location_test.dart, permissions_many_test.dart, example_test.dart]
04-20 21:37:35.166 25058 25081 D AndroidJUnitRunner: Use the raw file system for managing file I/O.
04-20 21:37:35.168 25058 25081 D TestExecutor: Adding listener androidx.test.internal.runner.listener.LogRunListener
04-20 21:37:35.168 25058 25081 D TestExecutor: Adding listener androidx.test.internal.events.client.TestDiscoveryListener
04-20 21:37:35.168 25058 25081 D TestExecutor: Adding listener androidx.test.internal.runner.listener.ActivityFinisherRunListener
04-20 21:37:35.168 25058 25081 D TestExecutor: Adding listener androidx.test.internal.runner.listener.TraceRunListener
04-20 21:37:35.170 25058 25081 I TestRunner: run started: 3 tests
04-20 21:37:35.171 25058 25081 I TestRunner: started: runDartTest[permissions_location_test.dart](pl.leancode.patrol.example.MainActivityTest)
04-20 21:37:35.171 25058 25058 I MonitoringInstr: Finishing activity: pl.leancode.patrol.example.MainActivity@1481621
04-20 21:37:35.176   338 20002 D goldfish-address-space: claimShared: Ask to claim region [0x1f6178000 0x1f677c000]
04-20 21:37:35.190 25058 25081 I MonitoringInstr: Unstopped activity count: 1
04-20 21:37:35.193 25058 25058 D LifecycleMonitor: Lifecycle status change: pl.leancode.patrol.example.MainActivity@1481621 in: PAUSED

Another problem.
Logcat

$ adb logcat -v color | grep -E 'flutter :|PatrolServer'
04-20 23:54:11.619  8469  8469 I PatrolServer: --------------------------------
04-20 23:54:11.619  8469  8469 I PatrolServer: PatrolJUnitRunner.onCreate(), packageName: pl.leancode.patrol.example (initial run)
04-20 23:54:11.652  8469  8469 I PatrolServer: Created and started PatrolServer, port: 8081
04-20 23:54:11.652  8469  8469 I PatrolServer: Created PatrolAppServiceClient, target: localhost:8082
04-20 23:54:11.922  8469  8517 I flutter : The Dart VM service is listening on http://<IP_ADDRESS>:39427/5LpXCgrQkGU=/
04-20 23:54:12.123  8469  8506 I flutter : 00:00 +0: patrol_test_explorer
04-20 23:54:12.137  8469  8506 I flutter : Starting PatrolAppService on port 8082...
04-20 23:54:12.140  8469  8506 I flutter : Patrol (native): markPatrolAppServiceReady() started
04-20 23:54:12.146  8469  8506 I flutter : PatrolAppService started on port 8082
04-20 23:54:12.149  8469  8506 I flutter : PatrolBinding.tearDown() called on test explorer, skipping
04-20 23:54:12.153  8469  8506 I flutter : 00:00 +1: permissions permissions_location_test.dart accepts location permission
04-20 23:54:12.266  8469  8506 I flutter : patrolTest(): innermostGroupName: permissions permissions_location_test.dart
04-20 23:54:12.266  8469  8506 I flutter : patrolTest(): parentGroupName: permissions_location_test.dart
04-20 23:54:12.266  8469  8506 I flutter : patrolTest(): test permissions_location_test.dart registered and waiting
04-20 23:54:12.266  8469  8506 I flutter : PatrolAppService.waitUntilRunRequested(): permissions_location_test.dart registered
04-20 23:54:12.326  8469  8494 I PatrolServer: PatrolJUnitRunner.setUp(): waiting for PatrolAppService to report its readiness...
04-20 23:54:12.326  8469  8494 I PatrolServer: PatrolJUnitRunner.setUp(): PatrolAppService is ready, will ask it for Dart tests...
04-20 23:54:12.338  8469  8506 I flutter : Patrol (native): markPatrolAppServiceReady() succeeded
04-20 23:54:12.339  8469  8506 I flutter : BUNDLED TEST: before future
04-20 23:54:12.339  8469  8506 I flutter : BUNDLED TEST: before runFuture
04-20 23:54:12.349  8469  8506 I flutter : PatrolAppService.listDartTests() called
04-20 23:54:12.361  8469  8494 I PatrolServer: MainActivityTest.testCases(): Got Dart test files: [permissions_location_test.dart, permissions_many_test.dart, example_test.dart]
04-20 23:54:12.872  8574  8574 I PatrolServer: --------------------------------
04-20 23:54:12.872  8574  8574 I PatrolServer: PatrolJUnitRunner.onCreate(), packageName: pl.leancode.patrol.example
04-20 23:54:12.903  8574  8574 I PatrolServer: Created and started PatrolServer, port: 8081
04-20 23:54:12.903  8574  8574 I PatrolServer: Created PatrolAppServiceClient, target: localhost:8082
04-20 23:54:13.163  8574  8616 I flutter : The Dart VM service is listening on http://<IP_ADDRESS>:45927/BV39JZbNVGE=/
04-20 23:54:13.354  8574  8605 I flutter : 00:00 +0: patrol_test_explorer
04-20 23:54:13.369  8574  8605 I flutter : Starting PatrolAppService on port 8082...
04-20 23:54:13.371  8574  8605 I flutter : Patrol (native): markPatrolAppServiceReady() started
04-20 23:54:13.377  8574  8605 I flutter : PatrolAppService started on port 8082
04-20 23:54:13.380  8574  8605 I flutter : PatrolBinding.tearDown() called on test explorer, skipping
04-20 23:54:13.383  8574  8605 I flutter : 00:00 +1: permissions permissions_location_test.dart accepts location permission
04-20 23:54:13.522  8574  8605 I flutter : patrolTest(): innermostGroupName: permissions permissions_location_test.dart
04-20 23:54:13.522  8574  8605 I flutter : patrolTest(): parentGroupName: permissions_location_test.dart
04-20 23:54:13.522  8574  8605 I flutter : patrolTest(): test permissions_location_test.dart registered and waiting
04-20 23:54:13.522  8574  8605 I flutter : PatrolAppService.waitUntilRunRequested(): permissions_location_test.dart registered
04-20 23:54:13.617  8574  8596 I PatrolServer: PatrolJUnitRunner.setUp(): waiting for PatrolAppService to report its readiness...
04-20 23:54:13.621  8574  8596 I PatrolServer: PatrolJUnitRunner.setUp(): PatrolAppService is ready, will ask it for Dart tests...
04-20 23:54:13.633  8574  8605 I flutter : Patrol (native): markPatrolAppServiceReady() succeeded
04-20 23:54:13.633  8574  8605 I flutter : BUNDLED TEST: before future
04-20 23:54:13.633  8574  8605 I flutter : BUNDLED TEST: before runFuture
04-20 23:54:13.644  8574  8605 I flutter : PatrolAppService.listDartTests() called
04-20 23:54:13.649  8574  8596 I PatrolServer: MainActivityTest.testCases(): Got Dart test files: [permissions_location_test.dart, permissions_many_test.dart, example_test.dart]
04-20 23:54:13.665  8574  8596 I PatrolServer: MainActivityTest.runDartTest(): permissions_location_test.dart
04-20 23:54:13.665  8574  8596 I PatrolServer: PatrolJUnitRunner.runDartTest(permissions_location_test.dart)
04-20 23:54:13.674  8574  8605 I flutter : PatrolAppService.runDartTest(permissions_location_test.dart) called
04-20 23:54:13.674  8574  8605 I flutter : patrolTest(): test permissions_location_test.dart received run request
04-20 23:54:15.336  8574  8605 I flutter : Patrol (native): isPermissionDialogVisible() started
04-20 23:54:15.940  8574  8605 I flutter : Patrol (native): isPermissionDialogVisible() succeeded
04-20 23:54:15.940  8574  8605 I flutter : Patrol (native): selectCoarseLocation() started
04-20 23:54:16.179  8574  8605 I flutter : Patrol (native): selectCoarseLocation() succeeded
04-20 23:54:16.179  8574  8605 I flutter : Patrol (native): selectFineLocation() started
04-20 23:54:16.892  8574  8605 I flutter : Patrol (native): selectFineLocation() succeeded
04-20 23:54:16.893  8574  8605 I flutter : Patrol (native): selectCoarseLocation() started
04-20 23:54:17.615  8574  8605 I flutter : Patrol (native): selectCoarseLocation() succeeded
04-20 23:54:17.615  8574  8605 I flutter : Patrol (native): selectFineLocation() started
04-20 23:54:18.357  8574  8605 I flutter : Patrol (native): selectFineLocation() succeeded
04-20 23:54:18.358  8574  8605 I flutter : Patrol (native): grantPermissionOnlyThisTime() started
04-20 23:54:20.553  8574  8605 I flutter : Patrol (native): grantPermissionOnlyThisTime() succeeded
04-20 23:54:27.601  8574  8605 I flutter : PatrolBinding.tearDown() called, count: 1, results: {accepts location permission: success}
04-20 23:54:27.601  8574  8605 I flutter : PatrolBinding.tearDown(): test: accepts location permission
04-20 23:54:27.601  8574  8605 I flutter : PatrolBinding.tearDown(): parent group: permissions_location_test.dart
04-20 23:54:27.601  8574  8605 I flutter : PatrolBinding: before stupid temporary wait
04-20 23:54:30.605  8574  8605 I flutter : PatrolBinding: after stupid temporary wait
04-20 23:54:30.606  8574  8605 I flutter : PatrolAppService.markDartTestAsCompleted(): permissions_location_test.dart
04-20 23:54:30.607  8574  8605 I flutter : BUNDLED TEST: heading out
04-20 23:54:30.610  8574  8605 I flutter : 00:17 +2: permissions permissions_many_test.dart grants various permissions
04-20 23:54:30.620  8574  8605 I flutter : patrolTest(): innermostGroupName: permissions permissions_many_test.dart
04-20 23:54:30.620  8574  8605 I flutter : patrolTest(): parentGroupName: permissions_many_test.dart
04-20 23:54:30.620  8574  8605 I flutter : patrolTest(): test permissions_many_test.dart registered and waiting
04-20 23:54:30.620  8574  8605 I flutter : PatrolAppService.waitUntilRunRequested(): permissions_many_test.dart registered
04-20 23:54:30.620  8574  8605 I flutter : PatrolAppService.waitUntilRunRequested(): permissions_many_test.dart was not matched by requested test permissions_location_test.dart
04-20 23:54:31.174  8724  8724 I PatrolServer: --------------------------------
04-20 23:54:31.174  8724  8724 I PatrolServer: PatrolJUnitRunner.onCreate(), packageName: pl.leancode.patrol.example
04-20 23:54:31.215  8724  8724 I PatrolServer: Created and started PatrolServer, port: 8081
04-20 23:54:31.215  8724  8724 I PatrolServer: Created PatrolAppServiceClient, target: localhost:8082
04-20 23:54:31.511  8724  8766 I flutter : The Dart VM service is listening on http://<IP_ADDRESS>:37005/wjejmJGw0_s=/
04-20 23:54:31.711  8724  8755 I flutter : 00:00 +0: patrol_test_explorer
04-20 23:54:31.726  8724  8755 I flutter : Starting PatrolAppService on port 8082...
04-20 23:54:31.729  8724  8755 I flutter : Patrol (native): markPatrolAppServiceReady() started
04-20 23:54:31.736  8724  8755 I flutter : PatrolAppService started on port 8082
04-20 23:54:31.739  8724  8755 I flutter : PatrolBinding.tearDown() called on test explorer, skipping
04-20 23:54:31.742  8724  8755 I flutter : 00:00 +1: permissions permissions_location_test.dart accepts location permission
04-20 23:54:31.858  8724  8755 I flutter : patrolTest(): innermostGroupName: permissions permissions_location_test.dart
04-20 23:54:31.858  8724  8755 I flutter : patrolTest(): parentGroupName: permissions_location_test.dart
04-20 23:54:31.858  8724  8755 I flutter : patrolTest(): test permissions_location_test.dart registered and waiting
04-20 23:54:31.858  8724  8755 I flutter : PatrolAppService.waitUntilRunRequested(): permissions_location_test.dart registered
04-20 23:54:31.895  8724  8755 I flutter : Patrol (native): markPatrolAppServiceReady() succeeded
04-20 23:54:31.895  8724  8755 I flutter : BUNDLED TEST: before future
04-20 23:54:31.895  8724  8755 I flutter : BUNDLED TEST: before runFuture
04-20 23:54:31.903  8724  8748 I PatrolServer: PatrolJUnitRunner.setUp(): waiting for PatrolAppService to report its readiness...
04-20 23:54:31.903  8724  8748 I PatrolServer: PatrolJUnitRunner.setUp(): PatrolAppService is ready, will ask it for Dart tests...
04-20 23:54:31.931  8724  8755 I flutter : PatrolAppService.listDartTests() called
04-20 23:54:31.938  8724  8748 I PatrolServer: MainActivityTest.testCases(): Got Dart test files: [permissions_location_test.dart, permissions_many_test.dart, example_test.dart]
04-20 23:54:31.946  8724  8748 I PatrolServer: MainActivityTest.runDartTest(): permissions_many_test.dart
04-20 23:54:31.946  8724  8748 I PatrolServer: PatrolJUnitRunner.runDartTest(permissions_many_test.dart)
04-20 23:54:31.949  8724  8755 I flutter : PatrolAppService.runDartTest(permissions_many_test.dart) called
04-20 23:54:31.949  8724  8755 I flutter : PatrolAppService.waitUntilRunRequested(): permissions_location_test.dart was not matched by requested test permissions_many_test.d

Merging this into develop.


The "Add Tag" button is visible for tools hat are in "Fully Automated" mode unlike 1.2.10

Bug Report
The "Add Tag" button is visible for tools hat are in "Fully Automated" mode unlike 1.2.10.
Hide it for non-manual tools.
Broken out from #877

Looks fixed


Docker-ce | Debian-jessie | Docker is not running ... Failed!

BUG REPORT INFORMATION
Description
Hi, I want to run the new docker-ce on a debian-jessie machine.  I installed Docker-ce from the instructions at https://store.docker.com/editions/community/docker-ce-server-debian?tab=description .
Steps to reproduce the issue:

Following instruction at https://store.docker.com/editions/community/docker-ce-server-debian?tab=description
Run sudo service docker start
Run sudo service docker status

Describe the results you received:
I got:
[ ok ] Starting Docker: docker. # sudo service docker start
[FAIL] Docker is not running ... failed! # sudo service docker status

Describe the results you expected:
I expected the docker service to be running.
Additional information you deem important (e.g. issue happens only occasionally):
I downloaded the check script by running :
curl https://raw.githubusercontent.com/docker/docker/master/contrib/check-config.sh > check-config.sh

After running it, I got :
info: reading kernel config from /proc/config.gz ...

Generally Necessary:
- cgroup hierarchy: properly mounted [/sys/fs/cgroup]
- CONFIG_NAMESPACES: enabled
- CONFIG_NET_NS: enabled
- CONFIG_PID_NS: enabled
- CONFIG_IPC_NS: enabled
- CONFIG_UTS_NS: enabled
- CONFIG_CGROUPS: enabled
- CONFIG_CGROUP_CPUACCT: enabled
- CONFIG_CGROUP_DEVICE: enabled
- CONFIG_CGROUP_FREEZER: enabled
- CONFIG_CGROUP_SCHED: enabled
- CONFIG_CPUSETS: enabled
- CONFIG_MEMCG: enabled
- CONFIG_KEYS: enabled
- CONFIG_VETH: enabled
- CONFIG_BRIDGE: enabled
- CONFIG_BRIDGE_NETFILTER: enabled
- CONFIG_NF_NAT_IPV4: enabled
- CONFIG_IP_NF_FILTER: enabled
- CONFIG_IP_NF_TARGET_MASQUERADE: enabled
- CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: enabled
- CONFIG_NETFILTER_XT_MATCH_CONNTRACK: enabled
- CONFIG_NETFILTER_XT_MATCH_IPVS: enabled
- CONFIG_IP_NF_NAT: enabled
- CONFIG_NF_NAT: enabled
- CONFIG_NF_NAT_NEEDED: enabled
- CONFIG_POSIX_MQUEUE: enabled

Optional Features:
- CONFIG_USER_NS: enabled
- CONFIG_SECCOMP: enabled
- CONFIG_CGROUP_PIDS: enabled
- CONFIG_MEMCG_SWAP: enabled
- CONFIG_MEMCG_SWAP_ENABLED: enabled
    (cgroup swap accounting is currently enabled)
- CONFIG_LEGACY_VSYSCALL_NONE: enabled
    (containers using eglibc <= 2.13 will not work. Switch to
     "CONFIG_VSYSCALL_[NATIVE|EMULATE]" or use "vsyscall=[native|emulate]"
     on kernel command line. Note that this will disable ASLR for the,
     VDSO which may assist in exploiting security vulnerabilities.)
- CONFIG_BLK_CGROUP: enabled
- CONFIG_BLK_DEV_THROTTLING: enabled
- CONFIG_IOSCHED_CFQ: enabled
- CONFIG_CFQ_GROUP_IOSCHED: enabled
- CONFIG_CGROUP_PERF: enabled
- CONFIG_CGROUP_HUGETLB: enabled
- CONFIG_NET_CLS_CGROUP: enabled
- CONFIG_CGROUP_NET_PRIO: enabled
- CONFIG_CFS_BANDWIDTH: enabled
- CONFIG_FAIR_GROUP_SCHED: enabled
- CONFIG_RT_GROUP_SCHED: enabled
- CONFIG_IP_VS: enabled
- CONFIG_IP_VS_NFCT: enabled

- CONFIG_IP_VS_RR: enabled
- CONFIG_EXT4_FS: enabled

- CONFIG_EXT4_FS_POSIX_ACL: enabled
- CONFIG_EXT4_FS_SECURITY: enabled
- Network Drivers:
  - "overlay":
    - CONFIG_VXLAN: enabled
      Optional (for encrypted networks):
      - CONFIG_CRYPTO: enabled
      - CONFIG_CRYPTO_AEAD: enabled
      - CONFIG_CRYPTO_GCM: enabled
      - CONFIG_CRYPTO_SEQIV: enabled
      - CONFIG_CRYPTO_GHASH: enabled
      - CONFIG_XFRM: enabled
      - CONFIG_XFRM_USER: enabled
      - CONFIG_XFRM_ALGO: enabled
      - CONFIG_INET_ESP: enabled
      - CONFIG_INET_XFRM_MODE_TRANSPORT: enabled
  - "ipvlan":
    - CONFIG_IPVLAN: enabled
  - "macvlan":
    - CONFIG_MACVLAN: enabled
    - CONFIG_DUMMY: enabled
  - "ftp,tftp client in container":
    - CONFIG_NF_NAT_FTP: enabled
    - CONFIG_NF_CONNTRACK_FTP: enabled
    - CONFIG_NF_NAT_TFTP: enabled
    - CONFIG_NF_CONNTRACK_TFTP: enabled
- Storage Drivers:
  - "aufs":
    - CONFIG_AUFS_FS: enabled
  - "btrfs":
    - CONFIG_BTRFS_FS: missing
    - CONFIG_BTRFS_FS_POSIX_ACL: missing
  - "devicemapper":
    - CONFIG_BLK_DEV_DM: missing
    - CONFIG_DM_THIN_PROVISIONING: missing
  - "overlay":
    - CONFIG_OVERLAY_FS: enabled
  - "zfs":
    - /dev/zfs: missing
    - zfs command: missing
    - zpool command: missing

Limits:
- /proc/sys/kernel/keys/root_maxkeys: 1000000

Output of docker version:
Client:
 Version:      17.03.1-ce
 API version:  1.27
 Go version:   go1.7.5
 Git commit:   c6d412e
 Built:        Mon Mar 27 17:07:28 2017
 OS/Arch:      linux/amd64
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Output of docker info:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Additional environment details (AWS, VirtualBox, physical, etc.):
$ uname -a
#=> Linux 3e4a7b1ad401 4.9.13-moby #1 SMP Sat Mar 25 02:48:44 UTC 2017 x86_64 GNU/Linux

Can you check the logs (in journald I assume) to see why it failed?

I see this in the docker.log file :
# root@3e4a7b1ad401:~# tail /var/log/docker.log

Error starting daemon: error initializing graphdriver: operation not permitted
time="2017-04-06T14:13:20.987085928+02:00" level=info msg="libcontainerd: new containerd process, pid: 13216"
time="2017-04-06T14:13:22.006591358+02:00" level=error msg="[graphdriver] prior storage driver aufs failed: operation not permitted"
Error starting daemon: error initializing graphdriver: operation not permitted
time="2017-04-06T14:21:05.604192492+02:00" level=info msg="libcontainerd: new containerd process, pid: 14099"
time="2017-04-06T14:21:06.612651161+02:00" level=error msg="[graphdriver] prior storage driver aufs failed: operation not permitted"
Error starting daemon: error initializing graphdriver: operation not permitted
time="2017-04-06T14:34:00.626674227+02:00" level=info msg="libcontainerd: new containerd process, pid: 14209"
time="2017-04-06T14:34:01.642979019+02:00" level=error msg="[graphdriver] prior storage driver aufs failed: operation not permitted"
Error starting daemon: error initializing graphdriver: operation not permitted

I don't think it is because I'm running the command as root. In fact, I have tried to launch the deamon with aoher user who belongs to the dockergroup.
Thanks in advance

How are you starting docker, exactly?

By running :
root@3e4a7b1ad401:~# sudo service docker start
[ ok ] Starting Docker: docker.

There's not much to go on here, other than the denial when trying to fire up aufs.
What happens if you sudo dockerd -D

I figured it out.
I missed to mount the docker host socket when launching my container; then the container could access the /var/run/docker.sock. So I did this :
docker run ... -v /var/run/docker.sock:/var/run/docker.sock ...

No need to run the docker daemon although what I really need was just the docker client.
Sorry, I wasn't clear about my goal and my expectation.
Thanks for you support though.
Take care @cpuguy83

I meet the same problem. Would you like to teach me how to solve the problem？
docker run ... -v /var/run/docker.sock:/var/run/docker.sock ...
What is the meaning of "..." in the instruction?

Nothing, just "your other options".

I installed the docker on Windows 10, pull ubuntu image, and then installed the docker on ubuntu, so how to use the the instruction. I could not find the file in /var/run/docker.sock.  docker run ... -v /var/run/docker.sock:/var/run/docker.sock ...