Add a query showing billable data by table instead of solution

As solution can contain many tables, it can be helpful to see which tables inside the solutions have billable data.  A particular example is 'Security' where it would be helpful to see SecurityEvent (so we know whether to adjust common, minimal setting etc) and all the other security tables broken down.  This query should do that:
Usage
| where TimeGenerated > ago(32d)
| where StartTime >= startofday(ago(31d)) and EndTime < startofday(now())
| where IsBillable == true
| summarize BillableDataGB = sum(Quantity) / 1000. by bin(StartTime, 1d), DataType
| order by BillableDataGB desc

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

ID: a73a8a62-95c6-9ec9-9199-695ad1e5e8a9
Version Independent ID: 6089f013-8b5b-661c-9ee4-d6b267737357
Content: Manage usage and costs for Azure Monitor Logs - Azure Monitor
Content Source: articles/azure-monitor/platform/manage-cost-storage.md
Service: azure-monitor
Sub-service: ****
GitHub Login: @bwren
Microsoft Alias: bwren

@antonihanus Thank you for your feedback, we will look into it and get back to you at the earliest.

@antonihanus Apologies for delayed response on this, we appreciate your feedback and sharing the idea to enhance the documentation. Will further evaluate this feedback with our document author and see how we can incorporate it in any of the upcoming sprints.
We will go ahead and close this issue for now, however if you have any further queries please tag us in your reply and will be happy to reopen the thread and continue the conversation. Thank you


Increasing BCon.timeout attribute for Historical Index Composition

Hey!
Great work on the API - using it lots and it's doing a jolly good job.
I'm running into an issue where when I use the following:
X = con.ref('RAY Index','INDX_MWEIGHT_HIST', [('END_DT','19991231'),])

I end up facing the error:
raise RuntimeError("Timeout, increase BCon.timeout attribute")
RuntimeError: Timeout, increase BCon.timeout attribute

How can I manually hack the override in relation to this function call?

As of 2f8c3c82c743ac0c479fb3a914315242c066bcd2 you can set this in the constructor. Something like
import pdblp
con = pdblp.Bcon(timeout=5000)

This is available for version >= 0.1.3 on pypi as well.


With the attached file at /tmp/assassin.py:
rkt run \
    --debug \
    --insecure-options=ondisk,image \
    --mount volume=srv,target=/srv/ \
    --volume srv,kind=host,source=/tmp/ docker://python:2.7 \
    -- \
    /srv/assassin.py

In another window ¡ASSUMING THERE ARE NO OTHER CONTAINERS RUNNING!:
pkill --echo --full stage1/rootfs/usr/bin/systemd-nspawn

Wait for the container to exit.  Then:
grep -h 'got signal' /tmp/assassin_*.log

What did you expect to see?
2017-01-05 23:19:16,066 pid:5 - got signal SIGTERM

What did you see instead?
2017-01-05 23:15:12,592 pid:10 - got signal SIGTERM
2017-01-05 23:15:12,593 pid:11 - got signal SIGTERM
2017-01-05 23:15:12,593 pid:12 - got signal SIGTERM
2017-01-05 23:15:12,594 pid:13 - got signal SIGTERM
2017-01-05 23:15:12,594 pid:14 - got signal SIGTERM
2017-01-05 23:15:12,595 pid:15 - got signal SIGTERM
2017-01-05 23:15:12,595 pid:16 - got signal SIGTERM
2017-01-05 23:15:12,596 pid:17 - got signal SIGTERM
2017-01-05 23:15:12,596 pid:18 - got signal SIGTERM
2017-01-05 23:15:12,597 pid:19 - got signal SIGTERM
2017-01-05 23:15:12,597 pid:5 - got signal SIGTERM

What just happened here?
assassin.py spawns 10 child processes.  The parent and all the children write a log message whenever they receive SIGTERM, but they do not exit.  The parent does not automatically propagate signals to its children (inhibited via os.setpgrp()).  Therefore, sending SIGTERM to the parent process (or the process that spawned the container) should only result in a single log message being generated by the parent.  This is in fact exactly what happens when you run assassin.py in a terminal and send the parent process SIGTERM from another terminal.  rkt (or more likely systemd), on the other hand, sends SIGTERM to every single process in the container.
This makes it very difficult for a process which spawns children to shut down properly when the container is being shut down, especially when trying to wrangle an application whose source you don't directly control.  When combined with #2870, it is impossible to implement any kind of processing after the main application (process, whatever) has exited on command from the rkt runtime.

This is probably happening because the default systemd KillMode is control-group. I wonder if setting it to mixed in the stage1 unitfile would be the correct approach.

Possibly. But they would receive SIGTERM anyway, as when the whole pod goes down (ie. systemd-nspawn killed) systemd-pid1 will do a SIGTERM+SIGKILL round anyway. I don't see any easy way out of this, except for keeping the pod running á la rkt-app.

This issue has come up again for me.  There's gotta be some kind of solution or workaround.  I'm a big boy, I can handle my own signals, thankyouverymuch systemd. I really don't want to use Docker for my current problem. Or worse, not run in a container at all!

There's a generated systemd .service file in the stage1 rootfs that is (or appears to be) specifically for the single application that's been spawned:
2z [root@elasticsearch-0ed6f9c740fd9491c:/proc/6933/cwd/stage1/rootfs] # cat ./usr/lib64/systemd/system/elasticsearch.service
[Unit]
OnFailure=halt.target
Description=Application=elasticsearch Image=s3.amazonaws.com/bsd-aci/apps/elasticsearch
DefaultDependencies=false
Wants=reaper-elasticsearch.service
Requires=sysusers.service
After=sysusers.service
<EMAIL_ADDRESS><EMAIL_ADDRESS>
[Service]
Restart=no
SyslogIdentifier=elasticsearch
StandardInput=null
StandardOutput=journal+console
StandardError=journal+console
TimeoutStartSec=0
ExecStart="/usr/local/bin/launch-elasticsearch.sh"
RootDirectory=/opt/stage2/elasticsearch/rootfs
WorkingDirectory=/
EnvironmentFile=/rkt/env/elasticsearch
User=0
Group=0
NoNewPrivileges=false
MemoryLimit=26000000000
CPUQuota=650%```

Why can't that single service have `KillMode` set to `mixed` or `process` without impacting the pod as a whole?  I'm sorry, I've never used rkt with multiple apps in a pod, so perhaps I'm missing a detail (or something bigger).  I need time to orchestrate the shutdown of the application, but obviously more serious action needs to be taken if the timeout's exceeded.

@blalor is this a pod with a single app inside? My understanding is that your root problem comes from the pod also being torn down with this single application.

Yes, it's a single-application pod.  I need the application to shut down in a controlled fashion, whereby the process launched by systemd is able to initiate cleanup and then notify child processes to exit.  I can't do that if the child processes are told to terminate by systemd (and I'm unable to inhibit the child processes' SIGTERM handling).
This is the second time I've run into this problem, which revolves around managing data for a stateful application.  I'm currently attempting to get an Elasticsearch node to remove itself from the cluster by deallocating shards on shutdown.  A wrapper script is responsible for starting and stopping the main ES process; when SIGTERM is received, it updates the cluster state to move shards away from the terminating node, waits for the shards to be relocated, and then sends SIGTERM to the main ES process.

I'm not sure if this works, but you may as well try: instead of stopping the pod, just enter the running stage1 (via nsenter on the systemd-pid1 process) and do a systemctl kill or a plain kill on the parent service. This should let the parent do whatever it needs to handle children and then exit. I understand this is quite dirty, but it is actually how we are planning to implement rkt signal for https://github.com/rkt/rkt/issues/1496.

I'm working with containers scheduled via Nomad; that's not a viable production solution.  I can test it on Monday against a running pod if you're looking for verification of the final config of the unit, but that's not something I can entertain in a production scenario.

I started working on custom KillModes on #3732


[Bug fix] getTitle() to support BackedEnum in Group.php

[Y] Changes have been thoroughly tested to not break existing functionality.
[Not Applicable] New functionality has been documented or existing documentation has been updated to reflect changes.
[Not Applicable] Visual changes are explained in the PR description using a screenshot/recording of before and after.

You should implement HasLabel.


Inconsistent decoder output between Numpy versions 1 and 2

Hi,
When using the version 2 of numpy, the output of velodyne_decoder.ScanDecoder().decode is not consistent with the output of numpy version 1.
When running print_velodyne_packets.py in the attached zip file (I am using the bag file from https://github.com/valgur/velodyne_decoder/issues/16), you can reproduce the issue. You need to create two virtual environments, one for numpy v1 and the other for numpy v2.
numpy_v1_vs_v2.zip
This is the type of print I get when using v2:
[(-7.0058007 , 1.44407053e+01, -2.8227181e+00, 1.0000e+00, -0.07022647,     2,   0,  1)
 (-0.07022647, 2.35098926e-38,  1.1180001e+12, 3.0782e-41, -6.9860806 , 30383, 104, 65)
 (-6.9860806 , 1.45289755e+01, -2.8352208e+00, 1.0000e+00, -0.07017117,     3,   0,  1)
 ...
 (-0.03936471, 2.51644954e-38, -7.5699681e-01, 5.0000e+00,  3.0647848 , 62442, 123, 62)
 ( 3.0647848 , 2.46047646e-01, -3.9017126e-01, 7.0000e+00, -0.03936241,   560,   2,  1)
 (-0.03936241, 2.38787985e-38,  6.1868995e-01, 6.0000e+00,  3.9605806 , 28993, 162, 62)]

While I get the following with v1:
[(-7.0058007, 14.440705 , -2.8227181,  1., -0.07022647,    2, 0, 1)
 (-6.9860806, 14.5289755, -2.8352208,  1., -0.07017117,    3, 0, 1)
 (-6.954817 , 14.587616 , -2.8421667,  1., -0.07011587,    4, 0, 1) ...
 (-6.008182 , -6.68918  , -1.5780078, 62., -0.00143852, 1246, 0, 1)
 (-6.0235662, -6.659404 , -1.575924 , 64., -0.00138322, 1247, 0, 1)
 (-6.0270514, -6.619004 , -1.571062 , 64., -0.00132799, 1248, 0, 1)]

I am not sure where the issue is really located. I hope that could help someone to debug the issue.
Thanks

Thanks a lot for reporting this! I have not tested the library at all with NumPy v2 yet.
I'll see if I can find a fix for this over the weekend, perhaps.

The Python bindings simply needed to be re-built with NumPy 2.x for compatibility with both 1.x and 2.x. I created a new minor release for this. Thanks again for reporting!

Thanks for the fix! Have a great day.


Add Favicon to the website

What feature would you like to see?
The favicon are not present in the website
Why is this feature useful?
Show the brand directly from the top
How important is this feature to you?

[X ] Must have
[ X] Should have
[ X] Nice to have
[x] Just an idea

Have you seen this feature in other projects?

[ X] Yes, I've seen something similar elsewhere
[x] No, this is a unique idea

Any other details?
Add any other information or screenshots about your feature idea here.

Your experience level with this project:

[ X] I'm new here (first-time contributor)
[ ] I've used this project before
[ ] I've contributed to this project before

Would you like to work on this feature?

[X ] Yes, I'd like to try implementing this feature
[X ] I can help with testing
[ ] I can help with documentation
[ ] No, I'm just suggesting the idea

Hey @aswathcm29 @jahnvisahni31 @muruga21 assign this task to me

ok i work on this

@jahnvisahni31 If this issue not resolved. I want to work on this issue.

Hey @SurajPrakash24  i solve the issue and raise the pr but not check and merged untill

@YasirKhan231 Ok


Unable to change password.

I did not see a way to change my password. I had to reinstall the integration which meant I have to rename all the sensors again.

A way to change Username or Password is very cool also for me.

Closed with V3.2.9


[997] Authorisation with pundit

Context
To prevent unauthorised publishers inadvertently gaining access to other publishers' data.
Changes proposed in this pull request
Introduce Pundit, a commonly used authorisation framework and apply it to all v1 and v2 endpoints.

@misaka I've had to tweak b147811da07d193a8025ce8cc33eb3ac70ddcd9e to get a couple of request specs to pass, they broke as a result of the change to exception handling. It's running green now...


Default settings fixes

optimize and fix default values setting code
bug fix: on Android SDK 27, if location service is disabled, when we create a task with smb share, a prompt asks to set the WIFI AP to "Private address". If we answer ok, the Wifi AP was regardless set to "Any AP"

this also merges the Wifi AP bug from previous commit
optimizations would simplify code maintenance if defaults and values are changed

Suggestion: time_diff_value_offset: I think it is simpler to remove it from en_2018_11_26.xml (msgs_main_sync_profile_dlg_diff_time_value_option_0, msgs_main_sync_profile_dlg_diff_time_value_option_1...) and replace spinner in code by SYNC_FILE_DIFFERENCE_ALLOWABLE_TIME_0, SYNC_FILE_DIFFERENCE_ALLOWABLE_TIME_1
Like you did with DST offset spinner
Feel free to modify as you like since you're who maintains ;-)
The current version is really great now

ok, I am committing an amend to add what I am talking about


Add wasm toolkit that serializes some structs using borsh

Closing this, because we decided to get rid of borsh serialization and wasm is not needed anymore.


Minor samples doc tweaks

Thanks @ronzilla, this is awesome.  Sorry for the delay on our end though.
Could you please change the target of this from tableau:master to tableau:submissions?  We are trying to avoid taking requests directly to master.  If it ends up being too much work, I can reapply the changes myself.


Pebble

This pebble code came from here:
https://github.com/baabeetaa/tm-db/tree/pebble
And is a great starting point.
But kind of updating everything from here so we start from the right place.
So:

pebble
gorocksdb -> grocksdb
Dockerfile
Remove remotedb
add a .vscode folder containing build tags because it's a stumbling block for this repo specifically

could you separate this into a few prs. this is too big to review

Sure.  moment while I make sure it's working....

Honestly, you may want to merge this one.
https://github.com/cosmos/cosmos-db/runs/7888143073?check_suite_focus=true

sam here with conflicts

It could cause more conflicts, but merging the newer PR's first will further reduce the scope of this one.
Happy to resolve e'm again if need be.

@faddat can you resolve conflicts

yep happy to


Annotation parity with Sleuth

adds missing implementations of interfaces for @NewSpan and @ContinueSpan aspects.
feature parity will not be full cause we don't have access to Spring code in Micrometer so aspects will not work as well as they did in Sleuth. The difference will be that annotations (@NewSpan and @ContinueSpan) on interfaces will not be supported. We will only support them on the implementing classes, however we will support @SpanTag on the interfaces too).
fixes #163

Done via https://github.com/micrometer-metrics/tracing/commit/ca3241d8fdca61a295af998143b4c3d9eb144c07


UI buttons don't work on latest Firefox Android

Can't switch between different selection tools, open chat etc.

Thanks for reporting it. On the way to reproduce and fix it.

Do you have the address bar in the bottom of the screen? In this case, try to click just above the button (where the buttons are when the bar is visible). Does it works?

May be related to https://github.com/mozilla-mobile/fenix/issues/17991 ?


CreateAccount and DeployContract can be more robust if use broadcast-txn-async

Like this fail: https://buildkite.com/nearprotocol/rainbow-bridge/builds/373#5eed625f-630c-4677-9d66-92bb5b32cf43
Error was createAccount rpc timeout, but when you retry, the previous createAccount become success, thus lead to "AccountAlreadyExist". I work around it there, but it probably considers to be a bug in near-api-js. Currently near-api-js did broadcast-txn-commit then poll tx-status. broadcast-txn-commit sometimes timeout and failed to returns the txHash, but the txn was actually successfully submitted. A more reliable way would be use broadcast-txn-async and poll tx-status until success/fail. The benefit is:

it's not much different to turn broadcast-txn-commit+poll tx-status into broadcast-txn-async+poll
broadcast-txn-async almost never timeout, make submit txn reliable

/cc @vgrichina

Draft PR https://github.com/near/near-api-js/pull/370

broadcast_tx_async result only contains txn hash
broadcast_tx_commit gives a json object that includes receipts, etc
doing this will require major changes to signAndSendTransaction in account.ts and a few functions in json-rpc-provider.ts, so adding test coverage for txn error cases is important before doing this
this has high devx value to make the apis more robust

@ailisp @janedegtiareva  AFAIK there is change (https://github.com/nearprotocol/nearcore/issues/2867) from @bowenwang1996 to make broadcast_tx_commit succeed when you send same transaction second time.
So either that change isn't real or the problem is with something else.
Changing to use broadcast_tx_async + comes with it's own set of problems, I'd prefer we don't do it.

@vgrichina we encountered a tricky case with broadcast_tx_commit in bridge:

check account exist: get "not exist"
send create account first time (fail, timeout)
call createAccount for second time, fail, get account exists (turn out to be first time was success)

broadcast_tx_commit succeed when you send same transaction second time.

We should do resend until success before return createAccount method, otherwise it timeout and user call createAccount second time encounter account already exist

Changing to use broadcast_tx_async + comes with it's own set of problems, I'd prefer we don't do it.

Benefit of broadcast_tx_async is it almost never timeout, and combine it with poll txStatus before return createAccount gives user same "createAccount Sync" effect. What is the problem of it?

@vgrichina is it possible that retry wait is not long enough?

This is very likely fixed by https://github.com/near/near-api-js/pull/374


⚠ St. Lawrence Global Observatory CKAN Sitemap has degraded performance

In d514461, St. Lawrence Global Observatory CKAN Sitemap (https://catalogue.ogsl.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 13188 ms

Resolved: St. Lawrence Global Observatory CKAN Sitemap performance has improved in 0d1c9f4 after 4 minutes.


The build step failed for canister

dfx Error, trying to debug it.
!
<exp_nullary(ob)>
 <exp(ob)>
; seplist(,)
or <exp_bin(ob)>
 <exp(ob)>
 <exp_bin(ob)>
.
: <typ_nobin>
 <exp_bin(ob)>
 <exp(ob)>
and <exp_bin(ob)>
 <exp_bin(ob)>
 <exp_nullary(ob)>
[ <exp(ob)> ]

Insufficient information. Feel free to re-open this issue if you have relevant information to reproduce the issue.


specify db to use on intantiation of client?

I have two apps using elasticsearch, I'd like to keep them in different databases. is there a way to define that when I create the client in each app?
https://stackoverflow.com/questions/74123613/can-i-specify-database-in-uri-for-elasticsearch/74125109#74125109

I answered the question in Stackoverflow. Specifiying the index at the client instantiation is not possible and shouldn't be a necessary a future since you can already target the indices as you wish. Closing the issue since it's not related with the module but with the Elasticsearch.


Envoy partitioning open source?

Will the code used to setup Envoy to create partitioning be open sourced?

It already is see: https://github.com/Microsoft/service-fabric-reverse-proxy/blob/master/sfintegration/Controllers/v1.cs


Deploy Source in Manifest to Source Org - failed

Summary
Deploy fails with a number of errors, summarised below:

If Action is set to 'Tab', you must specify a CustomApplication.

To resolve this issue, I commented out profileActionOverrides for those profiles containing the node
Quite a few of these errors associated with apex classes occurred:

An unexpected error occurred. Please include this ErrorId if you contact support: 470492228-1778 (976141748)

Another error  associated with a trigger occurred:
An unexpected error occurred. Please include this ErrorId if you contact support: 470492228-1779 (841340242)
Another error  associated with a ConnectedApp occurred:

An unexpected error occurred. Please include this ErrorId if you contact support: 470492228-1780 (-147323903)

Steps To Reproduce:

Refresh my production org into a sandbox
Create a project with a manifest using the Salesforce Extensions for VSCode (45.2.0)
Copy current package.xml file into manifest folder
The package version is 44.0
Retrieve Source in Manifest from Source Org
Deploy Source in Manifest to Source Org

Expected result
I would expect a successful deploy to follow a successful retrieval if no further change has occurred in the files
Actual result
The deploy fails reporting 27 errors.
Additional information
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>*</members>
        <name>ApexClass</name>
    </types>
    <types>
        <members>*</members>
        <name>ApexTrigger</name>
    </types>
    <types>
        <members>Envato_App</members>
        <name>CustomApplication</name>
    </types>
    <types>
        <members>*</members>
        <name>CustomMetadata</name>
    </types>
    <types>
        <members>*</members>
        <name>CustomObjectTranslation</name>
    </types>
    <types>
        <members>Coaching</members>
        <name>FlexiPage</name>
    </types>
    <types>
        <members>*</members>
        <name>Flow</name>
    </types>
    <types>
        <members>Account-Admin %28Account%29 Layout</members>
        <members>Account-Coaching %28Account%29 Layout</members>
        <members>Case-Coaching Interaction %28Case%29 Layout</members>
        <members>SystemSettings__c-System Settings Layout</members>
        <members>Account-Account Layout</members>
        <members>Case-Case Layout</members>
        <members>CaseClose-Close Case Layout</members>
        <members>CaseInteraction-Case Feed Layout</members>
        <members>Contact-Contact Layout</members>
        <members>Lead-Author Growth %28Lead%29 Layout</members>
        <members>Lead-Admin %28Lead%29 Layout</members>
        <members>Account-Author Growth %28Account%29 Layout</members>
        <members>Contact-Author Growth %28Contact%29 Layout</members>
        <members>Opportunity-Author Growth %28Opportunity%29 Layout</members>
        <members>Opportunity-Opportunity Layout</members>
        <name>Layout</name>
    </types>
    <types>
        <members>*</members>
        <name>Profile</name>
    </types>
    <types>
        <members>Account.NewCoachingInteraction</members>
        <members>Case.SendRichTextEmail</members>
        <name>QuickAction</name>
    </types>
    <types>
        <members>PhotoQC</members>
        <members>Datadog</members>
        <name>RemoteSiteSetting</name>
    </types>
    <types>
        <members>Account</members>
        <members>Case</members>
        <members>Opportunity</members>
        <name>Workflow</name>
    </types>
    <types>
        <members>Account</members>
        <members>Case</members>
        <name>Settings</name>
    </types>
    <types>
        <members>Account</members>
        <members>Case</members>
        <members>Contact</members>
        <members>SystemSettings__c</members>
        <members>Campaign</members>
        <members>Lead</members>
        <members>Opportunity</members>
        <members>JobExecutionLog__c</members>
        <name>CustomObject</name>
    </types>
    <types>
        <members>*</members>
        <name>Role</name>
    </types>
    <types>
        <members>AuthorManagementEmailTemplates</members>
        <members>AuthorGrowthEmailTemplates</members>
        <name>EmailTemplate</name>
    </types>
    <types>
        <members>*</members>
        <name>Group</name>
    </types>
    <types>
        <members>AuthorGrowthReports</members>
        <members>AuthorManagementReports</members>
        <name>Report</name>
    </types>
    <types>
        <members>AuthorGrowthDashboards</members>
        <members>AuthorManagementDashboards</members>
        <name>Dashboard</name>
    </types>
    <types>
        <members>*</members>
        <name>ApexPage</name>
    </types>
    <types>
        <members>*</members>
        <name>ConnectedApp</name>
    </types>
    <types>
        <members>ContentPipelineStages</members>
        <members>ContentCategories</members>
        <name>GlobalValueSet</name>
    </types>
    <version>44.0</version>
</Package>

VS Code Version:
1.30.2 (1.30.2)
SFDX CLI Version:
45.2.0
OS and version:
MacOS Sierra 10.12.6

Moving this to the CLI repo as it is not a VS Code bug.

@kfidelak94 can you take a look at this one? I think it might be a metadata issue.

I ran into this same error:

If Action is set to 'Tab', you must specify a CustomApplication.

When deploying using the ANT tool when I switched up my package.xml version from 43.0 to 45.0.
My deployment did not include changes to Profiles, Apps, or anything that seems like it should have caused the problem.
Going back to 43.0 allowed me to deploy normally.

@clairebianchi  is there any ETA to fix this issue or is it still in TBD ?


#946 Implement SassDoc

Important bits:

I set sassdoc to build in /docs/static/sassdoc
See my @todo comments in pfe-sass, I added one after the meeting re: documenting a var
See elements/pfe-sass/gulpfile.js:58 to mess with the SassDoc settings, the options are here: http://sassdoc.com/configuration/

@wesruv  can you catch this up with master?

I copied this fork branch and made a copy on master so we can all pitch in and help out. https://github.com/patternfly/patternfly-elements/pull/1204


Add linking instructions for .yml + .md articles

Had public contributors getting confused about how linking to the .yml vs .md files work on our platform.  Added clarification.

cc: @gewarren

checked out the preview, LGTM.
#sign-off


Support ndarray contains

Add support for ndarray contains
solves #6259

Tests fail with
No implementation of function Function(<built-in function contains>) found for signature:

 >>> contains(array(int64, 1d, C), int64)

There are 18 candidate implementations:
  - Of which 18 did not match due to:
  Overload of function 'contains': File: <numerous>: Line N/A.
    With argument(s): '(array(int64, 1d, C), int64)':
   No match.

During: typing of intrinsic-call at /Users/runner/work/1/s/numba/tests/test_np_functions.py (324)

File "numba/tests/test_np_functions.py", line 324:
def __contains__(a, key):
    return key in a
    ^

It has to do with how I'm trying to override contains at this part of the code, but I'm having trouble figuring out what should fix it.

@mugoh thank you for submitting this. Unfortunately we can not review your submission in it's current state. If we look at the  changes introduced:
https://github.com/numba/numba/pull/6271/files
It seems like there are a large number of cosmetic reformatting of the code. My guess would be, that you editor is configured to automatically reformat files that you edit. This makes it impossible for a reviewer to understand what changes actually pertain to the feature being implemented as overall 'diff'  is huge. My advice would be to go back and alter the git history to remove all of the cosmetic changes being made so that only changes that are part of the contains implementation remain.
We do really appreciate your efforts on this front and I am sorry we can't review the PR in it's current state.

Looking into the large-diff issue @esc

Working on top of this PR, this demonstrates the sort of thing that should help:
import operator
from numba import njit, types
import numpy as np

from numba.extending import overload

@overload(operator.contains)
def ol_contains_array(a, b):
    if not isinstance(a, types.Array):
        return
    def impl(a, b):
        for x in np.nditer(a):
            if x == b:
                return True
        return False
    return impl

@njit
def foo(a, b):
    return b in a

print(foo(np.ones(4), 1))
print(foo(np.ones(4), 0))

@mugoh thanks for submitting this. It seems like there are still a number of cosmetic changes in the diff. Also, there is a build failure for the docs on Azure pipelines that will need to be looked at:
Warning, treated as error:
/home/vsts/work/1/s/docs/source/reference/numpysupported.rst:257:Error in "code" directive:
maximum 1 argument(s) allowed, 30 supplied.

.. code:: pycon
    >>> import numpy as np
    >>> from numba import njit
    >>> @njit
    ... def nd_contains():
    ...     arr = np.array([0, 3, 7, 5])
    ...     print(5 in arr)
    >>> nd_contains()
    True
Makefile:53: recipe for target 'html' failed

Sure!
On Friday, September 25, 2020, Valentin Haenel<EMAIL_ADDRESS>wrote:

@esc requested changes on this pull request.
@mugoh https://github.com/mugoh thanks for following up on this. The
implementation looks good so far! As for the tests, I think it would be
good to include a few different dtypes (float,int, complex... maybe) and to
mix them during lookup. For example, looking for a float in an int based
array?
But also at least the following edge cases ought to be tested:

Empty array
Single value array
Numpy scalar

Keep up the good work! 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/numba/numba/pull/6271#pullrequestreview-496462429,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKQE2Q3NI5GYPYIYF6MMN5DSHSQUTANCNFSM4RVTGGCA
.

@mugoh thanks for looking in this some more. It seems you may have inadvertently introduced some flake8 violations as discovered by our CI systems:
numba/tests/test_np_functions.py:469:18: E271 multiple spaces after keyword
numba/tests/test_np_functions.py:472:13: E303 too many blank lines (2)
numba/tests/test_np_functions.py:484:13: E303 too many blank lines (2)
numba/tests/test_np_functions.py:490:9: E303 too many blank lines (3)

@mugoh thanks for following up on this! I have reviewed all the changes you added and it LGTM!

@gmarkall thanks for the review!
@mugoh the changes look, I think this can be marked for merge now.


Improvement to bokeh callback mechanism

Minor improvements to the callback mechanism including an initial delay before executing an event. Recently introduced the same in datashader and seems to work very well. Just tested it on the NYC taxi dataset with 11 million downsampled to 20k points and it's amazingly responsive and works well. Best I think we'll be able to do in terms of user experience.

Ready to review/merge.

Improved the docstrings now. Ready to merge.

Merging.


The answer of task4 of Interest is Interesting is wrong.

Here is my code:
func YearsBeforeDesiredBalance(balance, targetBalance float64) int {
	rate := float64(InterestRate(balance)) / 100.0
    rateSqur := targetBalance / balance
    base := 1.0 + rate
    year := math.Log(rateSqur) / math.Log(base)
    fmt.Println(rate, rateSqur, base, year)
    return int(year) + 1

}

Here is the last test case:

The correct answer is 104, instead of 85:
2345.67 * (1 + 0.01621) ^ 104 = 12489.56

The test is correct. The problem with your solution and trying to use a formula, is that the interest rate is not constant, and it grows as your balance grows, so you can't assume your interest rate will always be 0.01621 - it'll change over the years as the balance increases.

Yes, you are right. I get the point.


Deploying a Wordpress Site - no POD is deployed

When trying to deploy a Wordpress site using the given example, I don't see any pod deployed in my K8s cluster, although 'kubectl get wordpress' shows the site:
kubectl get wordpress
NAME     AGE
mysite   5m17s
kubectl get pod
NAME                                  READY   STATUS    RESTARTS   AGE
wordpress-operator-7554fff899-4mb4v   1/1     Running   0          17m
=> no wordpress pod is created
more info:
kubectl describe wordpress mysite
Name:         mysite
Namespace:    default
Labels:
Annotations:  kubectl.kubernetes.io/last-applied-configuration:
{"apiVersion":"wordpress.presslabs.org/v1alpha1","kind":"Wordpress","metadata":{"annotations":{},"name":"mysite","namespace":"default"},"s...
API Version:  wordpress.presslabs.org/v1alpha1
Kind:         Wordpress
Metadata:
Creation Timestamp:  2019-08-15T17:24:10Z
Generation:          1
Resource Version:    357188
Self Link:           /apis/wordpress.presslabs.org/v1alpha1/namespaces/default/wordpresses/mysite
UID:                 7e3aef3c-bf81-11e9-8623-00505684da21
Spec:
Bootstrap:
Env:
Name:  WORDPRESS_BOOTSTRAP_USER
Value From:
Secret Key Ref:
Key:   USER
Name:  mysite
Name:      WORDPRESS_BOOTSTRAP_PASSWORD
Value From:
Secret Key Ref:
Key:   PASSWORD
Name:  mysite
Code:
Git:
Repository:  https://github.com/example.com
Domains:
example.com
Env:
Name:   WORDPRESS_DB_HOST
Value:  mysite-mysql
Name:   WORDPRESS_DB_PASSWORD
Value From:
Key:             PASSWORD
Secret Key Ref:  mysite-mysql
Env From:
Image:  quay.io/presslabs/wordpress-runtime
Ingress Annotations:
Media:
Gcs:
Bucket:  calins-wordpress-runtime-playground
Env:
Name:  GOOGLE_CREDENTIALS
Value From:
Secret Key Ref:
Key:   google_application_credentials.json
Name:  mysite
Name:      GOOGLE_PROJECT_ID
Value:     development
Prefix:      mysite/
Replicas:        3
Tag:             latest
Tls Secret Ref:  mysite-tls
Volume Mounts:
Volumes:
Events:

Hello @guillierf,
Sorry for the late reply.
We've done some upgrades on the wordpress-operator and on the stack.
Can you please upgrade the operator, try again and if it still doesn't work, please attach the operator log.

I think the issue is caused by using the example values withouth changing the "code" & "media" value,
to be clear you also need to pre-install mysql and set the "DB_*" env variables to match it.

I have the same issue, I attach my config:
`yaml
apiVersion: wordpress.presslabs.org/v1alpha1
kind: Wordpress
metadata:
name: demo-site
namespace: wordpress
spec:
replicas: 1
domains:
- demosite.example.com
image: quay.io/presslabs/wordpress-runtime
tag: latest
code: # where to find the code
# contentSubpath: wp-content/
# by default, code get's an empty dir. Can be one of the following:
git:
repository: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
reference: master
env:
- name: SSH_RSA_PRIVATE_KEY
valueFrom:
secretKeyRef:
name: eurofashion-ecommerce-deploy-key
key: id_rsa
# persistentVolumeClaim: {}
# hostPath: {}
# emptyDir: {} (default)

#media: # where to find the media files
# by default, code get's an empty dir. Can be one of the following:
#gcs: # store files using Google Cloud Storage
#bucket: calins-wordpress-runtime-playground
#prefix: mysite/
#env:
#- name: GOOGLE_CREDENTIALS
#  valueFrom:
#    secretKeyRef:
#      name: mysite
#      key: google_application_credentials.json
#- name: GOOGLE_PROJECT_ID
#  value: development
# persistentVolumeClaim: {}
# hostPath: {}
# emptyDir: {}
bootstrap: # wordpress install config
env:
- name: WORDPRESS_BOOTSTRAP_USER
valueFrom:
secretKeyRef:
name: eurofashion-ecommerce-wordpress-bootstrap
key: USERNAME
- name: WORDPRESS_BOOTSTRAP_PASSWORD
valueFrom:
secretKeyRef:
name: eurofashion-ecommerce-wordpress-bootstrap
key: PASSWORD
- name: WORDPRESS_BOOTSTRAP_EMAIL
valueFrom:
secretKeyRef:
name: eurofashion-ecommerce-wordpress-bootstrap
key: EMAIL
- name: WORDPRESS_BOOTSTRAP_TITLE
valueFrom:
secretKeyRef:
name: eurofashion-ecommerce-wordpress-bootstrap
key: TITLE
extra volumes for the Wordpress container
volumes: []
extra volume mounts for the Wordpress container
volumeMounts: []
extra env variables for the Wordpress container
env:
- name: DB_HOST
value: "xxxxxxxxxxxxxxxxxxxxxxx"
- name: DB_USER
valueFrom:
secretKeyRef: eurofashion-ecommerce-wordpress-database
key: USERNAME
- name: DB_PASSWORD
valueFrom:
secretKeyRef: eurofashion-ecommerce-wordpress-database
key: PASSWORD
- name: DB_NAME
valueFrom:
secretKeyRef: eurofashion-ecommerce-wordpress-database
key: DATABASE
envFrom: []
secret containg HTTPS certificate
tlsSecretRef: mysite-tls
extra ingress annotations
ingressAnnotations:
kubernetes.io/ingress.class: nginx-internal
`
Log from wordpress-operator
text E0213 20:53:14.970214       1 reflector.go:134] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: Failed to list *v1alpha1.Wordpress: v1alpha1.WordpressList.Items: []v1alpha1.Wordpress: v1alpha1.Wordpress.Spec: v1alpha1.WordpressSpec.Env: []v1.EnvVar: v1.EnvVar.ValueFrom: v1.EnvVarSource.SecretKeyRef: readObjectStart: expect { or n, but found ", error found in #10 byte of ...|tKeyRef":"eurofashio|..., bigger context ...|ER","valueFrom":{"key":"USERNAME","secretKeyRef":"eurofashion-ecommerce-wordpress-database"}},{"name|...


Fix pyhindsight and python3 packages

There have been a lot of changes in pip over the last few months, some of which cause salt to break with upgrade: True as seen here, and now some packages which require cryptography need a newer version of pip along with setuptools_rust to install.
This pull request first upgrades pip to 21.0.1 in both Bionic and Focal, then installs all the python3 packages, then runs a state called upgrade.sls which does a manual upgrade to all python3 packages which previously had upgrade: True. It also includes setuptools_rust for pyhindsight, which requires a newer version of pip. Version 21.0.1 of pip is a stable version of pip which accomplishes all tasks on both supported versions of Ubuntu.
The pip.sls state accomplishes the pip upgrade and pins the version to 21.0.1, so all of the python3 states needed to be updated to include/require sift.python3-packages.pip vice sift.packages.python3-pip.
This change has been tested in docker and VM environments, on both fresh installs and upgrades.

I was looking at this issue last night and again tonight before I saw your PR and I’d come to a similar conclusion.
I’ll be testing this out fully in the morning to confirm, but most these changes align with what I had already done locally.
I’m also looking at some alternatives to managing python and salt.
I’ll follow up if anything stands out.


feat: workflows icon

Description
Added icon node-tree from figma for workflows.
Fixes #712
Depends on # (pr)

every PR in the design-system repository should have a corresponding PR in the appsmith repository to ensure that changes
here don't break existing flows. Link the corresponding PR here to trigger dpulls and prevent accidental merging.
If relevant, link the enterprise PR here as well.

Type of change

New feature (non-breaking change which adds functionality)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/generate-alpha

/generate-alpha

/generate-alpha


increment version to 0.1.8

Consolidation of recent updates into version 0.1.8

Codecov Report
Attention: 18 lines in your changes are missing coverage. Please review.

Comparison is base (0c58b14) 80.27% compared to head (fceacd2) 80.27%.
Report is 4 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #30   +/-   ##
=======================================
  Coverage   80.27%   80.27%
=======================================
  Files          37       37
  Lines        3158     3158
=======================================
  Hits         2535     2535
  Misses        623      623

Files
Coverage Δ

src/nuropb/contexts/context_manager.py
94.66% <ø> (ø)

src/nuropb/encodings/encryption.py
96.96% <100.00%> (ø)

src/nuropb/interface.py
99.30% <100.00%> (ø)

src/nuropb/service_runner.py
47.93% <ø> (ø)

src/nuropb/testing/stubs.py
91.11% <100.00%> (ø)

src/nuropb/utils.py
86.66% <100.00%> (ø)

tests/encodings/test_json_serialisation.py
100.00% <ø> (ø)

tests/test_message_routing.py
100.00% <100.00%> (ø)

tests/test_service_container.py
100.00% <100.00%> (ø)

tests/transport_connection/test_channel_state.py
100.00% <100.00%> (ø)

... and 12 more

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


How to style with card mod?

I am using your weather bar and am integrating it into a mushroom-themed dashboard.
(https://github.com/piitaya/lovelace-mushroom)
I have styled the card to match the mushroom aesthetic but wanted to know if it is possible to edit the bar or text with the card mod app in home assistant. I have an image of what I have made and what I want to match plus the code I have used. I do not know it this is a feature request as in you would implement the possibility of moding the design or if you could give some advice on the lines to mod the configuration, please?
I am trying to change the radius and transparency of the bar and the font style/size of the text (in the bar and under the bar).
Mushroom light

Design so far

type: custom:stack-in-card
cards:
  - type: custom:layout-card
    layout_type: custom:grid-layout
    layout:
      grid-template-columns: 42px auto
      margin: '-4px -4px -12px -4px;'
    cards:
      - type: custom:mushroom-template-card
        entity: sensor.openweathermap_condition
        icon: mdi:weather-cloudy
        icon_color: yellow
        card_mod:
          style: |
            ha-card {
              background: none;
              --ha-card-box-shadow: 0px;
            }
      - type: custom:hourly-weather
        entity: weather.openweathermap
        icons: false
        label_spacing: '2'
        num_segments: '12'
        name: ' '
        card_mod:
          style: |
            ha-card {
              padding: 0px;
              margin-left: 12px;
              --bar-card-border-radius: 12px;
              --mush-rgb-red: 244, 67, 54;
              --mush-rgb-pink: 233, 30, 99;
              --mush-rgb-purple: 156, 39, 176;
              --mush-rgb-deep-purple: 103, 58, 183;
              --mush-rgb-indigo: 63, 81, 181;
              --mush-rgb-blue: 33, 150, 243;
              --mush-rgb-light-blue: 3, 169, 244;
              --mush-rgb-cyan: 0, 188, 212;
              --mush-rgb-teal: 0, 150, 136;
              --mush-rgb-green: 76, 175, 80;
              --mush-rgb-light-green: 139, 195, 74;
              --mush-rgb-lime: 205, 220, 57;
              --mush-rgb-yellow: 255, 235, 59;
              --mush-rgb-amber: 255, 193, 7;
              --mush-rgb-orange: 255, 152, 0;
              --mush-rgb-deep-orange: 255, 87, 34;
              --mush-rgb-brown: 121, 85, 72;
              --mush-rgb-grey: 158, 158, 158;
              --mush-rgb-blue-grey: 96, 125, 139;
              --mush-rgb-black: 0, 0, 0;
              --mush-rgb-white: 255, 255, 255;
            }
            hour {
              margin: 12px;
              font-size: 12px;
              font-weight: bolder;
            }
            temperature {
              margin: 12px;
              font-size: 12px;
              font-weight: bolder;
            }
            bar-backgroundbar {
              opacity: 0.9;
              filter: brightness(1);
            }

As you may already know, Home Assistant's dashboard system makes heavy use of WebComponents and thus ShadowDOM. card-mod has good support for ShadowDOM navigation through their $ keyword.
In the case of this hourly weather card, I use two layers of WebComponents, which is why your initial attempt isn't quite working. The outer card, title, and any warnings/errors are rendered at the top level while the bar and axes are rendered within a weather-bar component.
So, to style things like the hour elements, you'd do something like:
card_mod:
  style:
    .: |
      ha-card {
        /* whatever styles you want on the card itself */
      }
    weather-bar$: |
      .hour {
        margin: 12px;
        font-size: 12px;
        font-weight: bolder;
      }

Hope this helps. I'll close the issue as it's not a bug, but feel free to comment further if you need more help.

Thank you decompil3d for the help.
@sashalondon did you manage to do what you wanted? I am really bad at css and even worse with card-mod.. could you share your result if you managed to do so?
I cannot seem to change the height of the ".bar" no matter what I try, it remains fixed to 30px

@Sku4l Here you go:
card_mod:
  style:
    weather-bar$: |
      .bar, .bar > div {
        height: 50px !important;
      }

Based on the selected background colours for the weather bars, the text can often appear lost because of the text shadow. I've tried slightly darker colours for the text but again the shadow gets in the way.
Can you please tell me what card_mod path/syntax to use to set the 'text-shadow' attribute on the 'condition-label' elements?

Based on the selected background colours for the weather bars, the text can often appear lost because of the text shadow. I've tried slightly darker colours for the text but again the shadow gets in the way.
Can you please tell me what card_mod path/syntax to use to set the 'text-shadow' attribute on the 'condition-label' elements?

card_mod:
  style:
    weather-bar$: |
      .condition-label {
        text-shadow: none !important;
      }

The !important is important (no pun intended) since it has to override the style tag that lit outputs. You can set it to whatever you want, not just none.

@decompil3d Thank you, exactly what I was looking for.

Locking this issue since the original problem is resolved. Please open new issues for any other questions or problems.


Fix backward compatiblity for MDTrajTopology

This fixes a backward compatibility problem introduced in #1012:
import openpathsampling as paths
paths.engines.openmm.topology.MDTrajTopology

After #1012:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-2-95752f96565c> in <module>
----> 1 paths.engines.openmm.topology.MDTrajTopology

AttributeError: module 'openpathsampling.engines.openmm' has no attribute 'topology'

After this PR:
/Users/dwhs/miniconda3/envs/dev/bin/ipython:1: DeprecationWarning: openpathsampling.engines.openmm.topology.MDTrajTopology has been moved. Import MDTrajTopology from openpathsampling.engines instead.
  #!/Users/dwhs/miniconda3/envs/dev/bin/python

Huh, I am a bit surprised that worked before.

Yeah, I'm also not quite sure what's happening there. I can't create a minimal example that reproduces the working version. But it broke a test this morning, so I'll go ahead and merge this immediately.


RAT-81: Fixed encoding issue causing text files to not be read properly

Fix for RAT-81
Fixed encoding issue where text files not in UTF-8 encoding would not be read properly.
Change adds charset to the metadata when it can be discovered.  If not UTF8 is returned.
Added integration test RAT-81 to show reading of UTF8 and IBM037 encoding works.

Should we add the encoding to the XML output?

Should we add the encoding to the XML output?

Do you mean an encoding entry per file or a general encoding information?

I added "encoding" if the document is a STANDARD type (e.g. not ARCHIVE,  BINARY, GENERATED, NOTICE, or UNKNOWN)
I added mediaType as well since I was there and so was it.
Now at least people can generate reports for non-standard encodings, or unexpected mediaTypes.


Fixed event fix (lol)

Basically made some quick fixes to the class and remade the typings (since parameters are no longer in an object) and also some formatting

Waiting for your (Eman) review to merge this and publish to npm as 1.3.1


Mysterious InvalidBuildDefinitionName causing builds to fail.

Question, Bug, or Feature?
Type: Bug
Enter Task Name: Mysterious InvalidBuildDefinitionName causing builds to fail.
Environment

Server - Azure Pipelines or TFS on-premises?  Azure Pipelines.

Issue Description
We are trying out Azure pipelines for some Facebook open source projects, and multiple projects have hit this mysterious error:
The error says "##[error]Definition name facebook.reason didn't correspond to a valid definition"
The pipelines are named something like facebook.reason, and they exist in the "reasonml" organization, under the "reason" project.
Here is the failing build which contains
https://dev.azure.com/reasonml/reason/_build/results?buildId=127
This only occurs occasionally despite not changing anything about the azure pipelines configuration. There's no actionable feedback about how to fix this and I suspect it's a bug because it happens intermittently.
Here's where it's thrown in your code: https://github.com/Microsoft/azure-pipelines-tasks/blob/96494cc125378bc183180cd00fe472e655255410/Tasks/DownloadBuildArtifactsV0/main.ts#L153

Notice how in this PR (from me), the build succeeds: https://dev.azure.com/reasonml/reason/_build/results?buildId=131&view=logs&jobId=6e654dbd-b371-5faa-e386-2572fcb1349f

only things I notices is that youre not actually creating the staging directory, youre just passing the script to do it ?
the other thing is that the archive file name is file.zip.zip and the jobs cant find it

Neither of those seemed to be the error. The problem seemed to be that pull requests from outside can't consume the build cache built on master branch. I switched it to the REST API and kept everything else the same and it worked fine. I think that pulling down artifacts using DownloadBuildArtifacts might need to be made to match the permissions of the REST API?

#10297

https://github.com/microsoft/azure-pipelines-tasks/pull/10297 would resolve this issue.


Show how to declare multiple variables of the same type in one line

The tutorial says
The syntax for declaring variables is:
<variable_type> :: <variable_name>
where <variable_type> is one of the built-in variable types listed above and <variable_name> is the name that you would like to call your variable.

In even the smallest programs one may have several variables of the same type, so I think it is worth introducing the syntax for this at the beginning. So the above could be changed to
The syntax for declaring variables is:
<variable_type> :: <variable_name_1>, <variable_name_2>
where <variable_type> is one of the built-in variable types listed above and <variable_name_1> and <variable_name_2> are the names that you would like to call your variables.

Then in the illustrative program
program arithmetic
  implicit none

  real :: pi
  real :: radius
  real :: height
  real :: area
  real :: volume

the declarations can be consolidated to one line. Modern Fortran has been criticized as verbose -- I think concise syntax should be used when it does not sacrifice clarity.
A nitpick about the code is that the line
area = pi * radius**2.0
should be
area = pi * radius**2
When you want to raise a value to an exact integer power, you should not write the exponent as a float.
Typo -- "running" not "runnning" (2 not 3 n's) at https://fortran-lang.org/learn/quickstart/arrays_strings .

I agree with these observations (should we add a comment about the difference between integer and real exponents?)


Faster clone method

Instead of cloning the repo and then looking for a tag, you can use git ls-remote  (Remote::create_detached & connect_auth & list in git2) to find a tag and its sha1.
When you have a sha1, you can init an empty repo, and do git fetch +3db7c05aa35749cc4e0f0f892bc5831219901f98:refs/heads/whateverbranch --depth=1 to get just that one commit.

This sounds like a great idea, and for long term storage of repos would also help us known when it's time to pull again.

I've meant searching tags for crates that lack sha1 from cargo, usually due to having a "dirty" directory when publishing.

Another related idea might be abusing the git-sha1 hash in the git tree objects to avoid having to fetch and hash each file.
This would be relying on the known cyptographically broken sha1, so maybe this defeats the whole point of a tool like this, but it would certainly improve speed and reduce disk usage.
For example for this repo:
❯ cd tmp/
collin@xps ~/Git/cargo-goggles/tmp (main +2#3%2)
❯ git init
Initialized empty Git repository in /home/collin/Git/cargo-goggles/tmp/.git/
collin@xps ~/Git/cargo-goggles/tmp (master)
❯ git remote add origin https://github.com/M4SS-Code/cargo-goggles
# get the commit hash from .cargo_vcs_info.json
❯ git fetch --depth=1 --filter=blob:none origin 92433e4a738f76ec1be401980233923f2e86044c
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 5 (delta 0), reused 4 (delta 0), pack-reused 0
Receiving objects: 100% (5/5), 676 bytes | 676.00 KiB/s, done.
From https://github.com/M4SS-Code/cargo-goggles
 * branch            92433e4a738f76ec1be401980233923f2e86044c -> FETCH_HEAD
collin@xps ~/Git/cargo-goggles/tmp (master)
❯ git ls-tree 92433e4a738f76ec1be401980233923f2e86044c
040000 tree b07426be3c96c9168d94e7cf0dc3284a28846259    .github
100644 blob ea8c4bf7f35f6f77f75d92ad8ce8349f6e81ddba    .gitignore
100644 blob 28252ccb26f961b7d6687e31eb26bc935e7044b0    Cargo.lock
100644 blob 0d02031c146bd44b47a4a1f0ac46b37d5de2c9e0    Cargo.toml
100644 blob 261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64    LICENSE-APACHE
100644 blob e1ae93ef989a7d08f231a6eff61adc9824a7040c    LICENSE-MIT
100644 blob 5622ff48d638dbc80555a766c64295649209a5ff    README.md
100644 blob 8dc2ad7a4f24845ff9dac85b9a879646b43ba6e8    deny.toml
040000 tree 15ff46ac1ec3fe2f28ab5b1ddf51e7d29934788c    src

tar -xOf cargo-goggles-0.0.2.crate cargo-goggles-0.0.2/deny.toml | git hash-object -w --stdin
8dc2ad7a4f24845ff9dac85b9a879646b43ba6e8

Here we can see that the hash of the deny.toml matches. We could walk both trees and compare all files.
A downside would be no way to compare the differences. If there's a mismatch, you'd likely want to request the sources from the git forge anyway to compare the differences.


Unable to install extension

Sadly I can't load the provided binary:
Error: ~/lib/libparquet.so.xz.so: cannot open shared object file: No such file or directory
But the file is there, I have also tried the absolute path with no difference.
And I can't build from source either:
after ./make-linux the  ./make-linux-pgo does nothing and stops at:
unsure what libicu version to use
I would really love to use this extension though.

Warning: I tried to fix this by adding my ubuntu version and libicu version to the make file and it nuked the whole parent directory and adjacent using rm-rf. Don't know how or why but advise people to proceed with caution using this unmaintained repo


docs: Update implementation of deleteTask to DG

What type of PR is this? (check all applicable)

[ ] Refactor
[ ] Feature
[ ] Bug Fix
[ ] Optimization
[X] Documentation Update

Description

Add implementation of deleteTask command.

Related Tickets & Documents

Related Issue #

Added/updated tests?
We encourage you to keep the code coverage percentage at 75% and above for new changes.

[ ] Yes
[X] No, and this is why: these are documentation (DG) updates
[ ] No, there are UI changes that I'm unable to cover.
[ ] I need help with writing tests

[optional] Are there any post deployment tasks we need to perform?

Hi, could you push directly into the branch instead? You don't need a PR to push into the team branch, as long as it's not master. This is why we chose the feature workflow for the DG in the first place because it would speed things up.
Though it would be good to drop a message to let others know when you've done so, so they can sync their local copies of the branch.


Jenkins migration

Action required after merging
You will need to run service-bot and merge the PR it creates. See the instructions
If applicable, apply these changes to release branches
Changes
This PR is the first step in migrating this repo from Jenkins to Semaphore.
Once you see things are running smoothly on Semaphore for this repo, open a follow-up PR to delete the Jenkinsfile.
This PR does two things:

Disables jenkins deploy.
Sets up cc-service-bot to create a semaphore.yaml. -> Expect a PR from service-bot.

Why are we migrating?
Read the background and motivation
Please merge this PR ASAP because we plan on shutting down Jenkins by the end of the year.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 4 committers have signed the CLA.:x: amitr17:x: b-goyal:x: ConfluentJenkins:x: cprovencherYou have signed the CLA already but the status is still pending? Let us recheck it.


add torus link below wallet address

Description

Related Ticket

Resolves #998

Checklist

[x] I have run npm run build-all without errors
[x] I have formatted JS and TS files with npm run format-all

@sprrwhwk let me know when you want me to review / qa the front end again

@jabby09 ready for review

Not sure what's going on in the preview link but it's looking pretty funky:

I can reproduce this as well when connecting with metamask Chrome extension

@Atmosfearful the new CopyValueButton is also used by app/NavMenu. Should I duplicate it and put the copy in lib/components? Seems hacky…

@Atmosfearful the new CopyValueButton is also used by app/NavMenu. Should I duplicate it and put the copy in lib/components? Seems hacky…

For the record:
After talking to @Atmosfearful we decided to move the CopyValueButton into the lib project.

@Atmosfearful this grew quite in scope. You might want to have another look at it…


Add support for in-use snapshotting of cinder volumes.

Adding failure case if a cloudprovider is misconfigured
Adding support for openstack in-use snapshotting via annotation.
Adding docker files which perform the build instead of make to be used with docker hub's automated build.

The goal of this PR is to add an annotation which will allow a force flag to be passed to openstack to create a snapshot of a volume which is in-use.
We are using the added dockerfiles for docker automated builds.  I'm okay removing these if there is issue with them, keeping my fork for the automated builds of the containers.
https://hub.docker.com/r/ciscosso/snapshot-controller/
https://hub.docker.com/r/ciscosso/snapshot-provisioner/
Note: We are also using the kube-controller-manager method for external-storage.  This sub project is valuable enough on its own.

/assign @wongma7

closing in favor of kubernetes-csi work


Update branch that works

You cannot mix versions in dependencies. Is the intention that all code referencing a version should point to 0.9.26? If so, those should be updated, otherwise users will inevitably run into versioning problems.


DS - Create Select Component

This Epic represents the work of the Design System team to create a new RadioGroup component within the va-mobile-library repo. This does NOT include the work to incorporate the new component throughout the Flagship App.
Project Status Overview
Project Objective:

Create Design System component for a Select field.

Current Dependencies / Blockers

Blockers

Blocker
Team / Owner
Est to Resolution

Internal dependency ?

External dependency ?

Project Timeline

Milestones

Step
Timing

Sprint 0 - Discovery

Step 1 - Strategy

Step 2 - Design

Step 3 - Building / Implementing

100% Release

Step 4 - Post Verification

Monthly Update for Stakeholders

Updates

Month
Project Health
Progress & Key Accomplishments
Issues/Risks/Blockers

Month Year

Month Year
.....

Month Year

Month Year

Detailed Project Scope
Problem Statement
Current Veteran Experience

What the Veteran experiences today and its painpoints
Veteran Experience
Veteran Painpoints

Assumptions

Assumptions that need to be true for this project
1.)
2.)
3.)

Risks

Risks identified and accepted by stakeholders
1.)
2.)
3.)

Definition of Done

Conditions that must be true in order to consider this project completed

Item
Completed

Project Scope

Items in and out of scope

In Scope
Out of Scope

Important Project Links

Links

Github Epic
Github VA Mobile Page

Product Brief

Product Canvas
Design

Discovery
Mockups
Final Design
Figma File

Research

Research Plan
Research Results and Findings
-Analytics
-Decision Log

Team Members

Contact List
VA:

Mobile OCTO Product Leads: Rachel Han or  Ryan Thurlwell
VA OCTO Product Leads:
External Team 1 & Role:
External Team 1 & Role:

Ad Hoc:

Mobile Team: Global, Health and Benefits, Design System, QA, API
Mobile Team Lead:
FE Engineering:
BE Engineering:
Design:
Content
QA:
Mobile Teams that are involved: Global, Health and Benefits, Design System, QA, API

OKR and Analytic Metrics

Analytic Information
What KPIs / OKRS are the focus of this project?
1.)
2.)
The link to the project's analytical dashboard

What we are measuring
Why
How / Event Name

How will we determine this is a success?

How will we determine if this is not a success?

Analytic Event
What is it measuring
How to use it to measure

Questions

Open Questions

How are we measuring success?

What is MVP and what is out of scope?

Has there been existing research or work done on this project before?

Is this work being done within the VA today (ex. web)

Closed Questions

Question
Answer
Owner

Change / Decision Log
Product will need to create on in the Github folder and link it here.
Checklist

Toggle Product Checklist
Project Kickoff & Requirements Gathering

[ ] PM to create new Github epic and fill out accordingly (Type - Epic, Template - Epic Ticket

[ ]  Updated so it is seen in Mobile and External Github Boards - may need to view this epic in Github and not Zenhub

[ ] PM to create new Github folder for feature or update existing

[ ] Create a separate document for the project's decision log - link it here

[ ] Project Kickoff session to review problem statement, Veteran experience, and goals with stakeholders
[ ] Determine team roles, responsibilities, approvers with stakeholders
[ ] Determine future cadance reviews with stakeholders
[ ] Review dependencies
[ ] Scope finalized or approved by Mobile POs
[ ] PM to create and/ or link Product Brief
[ ] Other:

Pre-Production Readiness

[ ] PM to update Call Center Guide

[ ] Coordinate with contact center support teams to have guide out before feature in production

[ ] PM to determine if In-App What’s New feature needs to be used and coordinated with Content / Engineering to complete - tickets needed

[ ] If so, will need to determine content before release

[ ] PM to determine if VA, Apple, Google App stores need changes and coordinate with UX / Engineering to complete - tickets needed

[ ] Apple Store - Content, Whats New, Phone Images, iPad Images
[ ] Google Playstore - Content, Whats New, Phone Images
[ ] VA App Store - Content, Phone Images

[ ] UAT complete, if applicable
[ ] Update demo mode to ensure demo mode matches production
[ ] Complete automation/detox work for new / updated feature
[ ] Stakeholder demo completed
[ ] Release plan - (slow rollout, 100% release, other) - link to plan
[ ] Review existing bugs and open tickets to determine if they need to be include in MVP or considered post-mvp work

[ ] If post MVP work - create separate epic to store work

[ ] Coordinate with Release coordinator from QA and Release Team on when release is expected
[ ] Design work to update hi-res internal files
[ ] Engineering created successful unit tests
[ ] UX has completed visual QA
[ ] Content has completed content QA
[ ] Accessibility testing has been completed
[ ] QA sign off
[ ] Obtain Go/No Go decision from Mobile POs and / or Octo POs for launch
[ ] PM fills out and completes Epic's checklists
[ ] Post launch monitoring plan / post production follow-up
[ ] Other:

Feature Go Live

[ ] Ensure Waygate/Feature toggle release ticket submitted w/engineering & QA

Template: Turn on Waygate/Turn off feature flag

[ ] Coordinate with content & release coordinator if what’s new in app is required

Toggle Team Collaboration Checklist

[ ] Design Intent & Feasibility discussions
[ ] PO prioritization determined
[ ] Dependencies resolved
[ ] Determine if Veteran Research is needed, if so link Rsearch Plan
[ ] UAT Needed, if so link UAT plan
[ ] Steps process completed and documented
[ ] Waygate / feature flag needed
[ ] Update demo mode
[ ] Accessibility needs
[ ] Where updates need to be communicated (Team of Teams, MHV Weekly Standup, other, etc)
[ ] What approvals will we need (ex. Internal POs, External POs, CAIA, external, etc)
[ ] How and when are we going to measure success / failure
[ ] Does In-App App Store Feedback need to be modified for this project
[ ] Other:

Toggle Design/UX Checklist

[ ] If QA testing needed, coordinate with QA agent and assign QA agent to the ticket
[ ] Review problem/opportunity statement
[ ] Add questions and assumptions to product brief
[ ] Add research links to product brief
[ ] Document high-level research/design plans
[ ] Create lo/hi fi wireframes & user flows if applicable
[ ] Add links to Epic & applicable GitHub folders
[ ] Socialize designs
[ ] Sign off received on finalized design - link to approval
[ ] Design QA / Visual QA approval
[ ] If QA testing needed, coordinate with QA agent
[ ] Component review
[ ] Accessibility review
[ ] Design system review
[ ] Update internal documents
[ ] Other:

Toggle Content Checklist

[ ] If QA testing needed, coordinate with QA agent and assign QA agent to the ticket
[ ] Review product brief and surface any questions, assumptions & risks
[ ] Participate in project discovery and kickoff activities/ceremonies
[ ] Complete comparative analysis/content research activities for net-new content
[ ] Review current content and determine where app may need to differ and potential improvements to share with web
[ ] Review past VA research and decisions documentation
[ ] Support Research & UX Design in research sessions and synthesis
[ ] Make content recommendations for lo-/hi-fi wireframes in collaboration with UX Design
[ ] Collaborate with Sitewide Content team for alignment, improvements, and sign-off
[ ] Participate in FE hand off
[ ] Complete content QA
[ ] Write copy for What's New In App
[ ] Write copy for app stores' What's New sections.
[ ] Write copy for updated screenshots in app stores
[ ] Other:

Toggle Engineering Checklist

[ ] If QA testing needed, coordinate with QA agent and assign QA agent to the ticket
[ ] Are UI designs/ specs available/ready? If yes, they should be attached to  attach specs. (We are assuming the design specs have been approved)
[ ] Are there any deadlines that need to be met?
[ ] What is the roll out plan? (Do we need a feature toggle? is this going to be available to every user immediately or do we want to roll out to a few users first)
[ ] Does this project require api integration? if yes, what api endpoint are we integrating with and what is the expected response body?
[ ] Do we want to capture analytics for this projects (i.e. update GA, add logs to grafana/datadog etc)?If yes, what metrics would we like to capture?
[ ] Do we need to update our in-app review code to include this new feature?
[ ] Determine what analytics are going into production with MVP
[ ] Other:

Toggle QA Checklist

[ ] Team PM creates test plan and assigns to Team QA agent-  Template: QA Test Plan
[ ] QA agent to monitor and speak up on QA needs for the project
[ ] Document decision in the descision log regarding QA
[ ] Identify test data needs

[ ] Determine and document test accounts used

[ ] Test plan creation and resolution
[ ] Successful testing on all MVP tickets
[ ] Reviews open bug tickets pre-production
[ ] Waygate tasks complete
[ ] Added new feature cases to the RC in TestRail - MVP
[ ] Added feature cases to appropriate section of active cases in TestRail - MVP
[ ] Detox UI / Automation work completed - MVP
[ ] Other:

Analytics Checklist

[ ] Discussion on what can and can't be measured pre-design
[ ] Determine what analytics work is included in for MVP
[ ] Document non-mvp analytic needs in Github
[ ] Update Analytics section of this epic
[ ] Determine if analytics can be tested by QA - if so coordinate with QA
[ ] Modify or create dashboard to account for this feature
[ ] Determine how long after production that analytics can be measured and reviewed
[ ] Other:

Q3 SWAG:
UX - 1.5
FE - 2.5 sprints

Q4 SWAG:
UX - 1.5
FE - 3 sprints


Advice for beginner.

Hi, I'm new to Arduino projects and Github. Is there a wiring diagram and parts list available at all?

Hi! Thanks for checking out my project. This repository only contains the source code for the project, I would have to make a wiring diagram.
I will try to compile one for you soon.
Are you planning to build a clone for a Moog Analog Delay unit?

HI Ryan i came across your project via the video you have on youtube. I have a mf104m and this preset box project is exactly the kind of thing i need. If you could make a wiring diagram that would be much appreciated.
Thanks


Fix bugs in daily GHCND diff update

Last and latest files not being handled correctly.  Code not quitting if nothing needing doing.

Had branched, not from master - so re-doing edits


I plan to change master branch to track release-1.3.0.

I need to make patch incompatible API changes. Please let me know if there are any objections.  Otherwise, I will proceed with the push.

what this change is?

At a minimum, I'd like to introduce more constructors to AbstractLengthPrependerClient() and be able to increase AbstractClient.writeBuffer lenght for Server.Subscriber.

Sure. do not foresee any harm.?
--
Chetan

From: Vlad Rozov<EMAIL_ADDRESS>Sent: Monday, May 16, 2016 11:47 AM
To: DataTorrent/Netlet
Cc: Chetan Narsude; Comment
Subject: Re: [DataTorrent/Netlet] I plan to change master branch to track release-1.3.0. (#50)
At a minimum, I'd like to introduce more constructors to AbstractLengthPrependerClient() and be able to increase AbstractClient.writeBuffer lenght for Server.Subscriber.

You are receiving this because you commented.
Reply to this email directly or view it on GitHubhttps://github.com/DataTorrent/Netlet/issues/50#issuecomment-219511189

Sounds good to me..

OK, thanks. Proceeding with the forced push. The current branch is preserved as release-1.2.


Create CITATION.cff

For better citation I recommend creating and maintaining a CITATION.cff file, see https://citation-file-format.github.io/

Also, visit https://github.com/Parallel-in-Time/qmat/community for further recommendations.

Citation file will be added with the first beta release 0.1.0 and the link to zenodo

Done


Drop isValid flag which was always true, move isCorrect from Solution…

…Evalution to upper entities with proper data.

Coverage increased (+0.005%) to 73.571% when pulling c6ec527a33005ed718d2fe111b92914dde33fa55 on evaluation-items into d21dee58f15e6c83de43ac85371064ca7301f63e on master.


⚠ Bofrost.be has degraded performance

In f2a4ead, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2166 ms

Resolved: Bofrost.be performance has improved in 8b88e81 after 1 hour, 43 minutes.


examples in docs added

- Summary
#365
Looking for examples/blog posts of this CMS being used with different Static Site Generators. I am looking to add a section to the docs for new and existing users can reference. But for now just looking for a place to collect this data.
- Description for the changelog
Added a examples section to the repo in preparation to collect examples.
- A picture of a cute animal (not mandatory but encouraged)

This PR just reminded me that I need to start dogfooding this project.

LGTM!


Automated Package Upgrade

:tada: This PR is included in version 2.2.91 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Detection issue with custom regex

Hello @zricethezav
I have added a regex to detect password in urls. But not sure why gitleaks is not able to detect it.
https://raw.githubusercontent.com/hackerarbaz/Tryme/master/slakc.py
→ gitleaks --version
1.22.0

→ gitleaks --repo=https://github.com/hackerarbaz/Tryme --config=/root/cimex2/gitleaks-back.toml -v
INFO[2018-12-14T04:51:35Z] cloning https://github.com/hackerarbaz/Tryme
Enumerating objects: 57, done.
Counting objects: 100% (57/57), done.
Compressing objects: 100% (49/49), done.
Total 57 (delta 18), reused 0 (delta 0), pack-reused 0
INFO[2018-12-14T04:51:37Z] 0 leaks detected. 20 commits inspected in 2 seconds 347 milliseconds

→ cat gitleaks-back.toml
title = "gitleaks config"
[[regexes]]
description = "WOOT"
regex = '''[a-zA-Z]{3,10}://[^/\s:@]{3,20}:[^/\s:@]{3,20}@.{1,100}[\"'\s]'''

[whitelist]
regexes = [
  # "AKIA.*EXAMPLE",
]
files = [
  "(.*?)(jpg|gif|doc|pdf|bin|go)$"
]

Hello @milo-minderbinder ,

Thanks alot for detailed info, i will be more careful from next time.

I had never used grep with any specific expression, Just wondering why it detects the pattern in Perl Expression only. @milo-minderbinder  I know it is out of scope topic, but would be helpful for me to understand it.

If you're asking asking why grep -P "[a-zA-Z]{3,10}://[^/\s:@]{3,20}:[^/\s:@]{3,20}@.{1,100}" works but grep "[a-zA-Z]{3,10}://[^/\s:@]{3,20}:[^/\s:@]{3,20}@.{1,100}" does not, it's because the -P flag tells grep to interpret the regex as a Perl-compatible regular expression (a.k.a. PCRE). Perl's regular expressions provide more functionality than basic or extended regular expression syntax (which grep uses by default), and includes support for special escape characters to represent character classes (e.g. \s represents any whitespace character, whereas in basic or extended regex syntax, you'd have to use the posix [[:space:]] named set), named groups & references (e.g. (?<quote>['"])foo\g{quote}), and more.
tl;dr: grep won't work without the -P switch with your regular expression because the \s (which represents a whitespace character) is only supported in Perl-compatible regular expressions.

Awesome @milo-minderbinder  , Thanks for helping me understanding it.


[BUG] Tooltip calls build when mouse enters/leaves Flutter window

Bug Summary
When mouse enters/leaves the flutter app window,  Tooltip widget rebuilds its child unnecessarily. The mouse pointer doesn't even need to enter the Tooltip area, just by entering or leaving the app window, all Tooltip widgets rebuild their children.
Demonstration
Sample code is provided below. There's  a print() in the builder which is the child of the Tooltip. Each time mouse enters or leaves the app, the print() is getting called and logs "rebuilding!". (My original code had TweenAnimationBuilder and it was repeating the animation over and over but I've stripped it down to a simple builder to demonstrate.)
https://user-images.githubusercontent.com/17809451/209461262-f571fc35-ef58-4177-8100-855f4da72f0f.mp4
Sample code
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

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

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

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Container(
          decoration:
              BoxDecoration(border: Border.all(width: 1, color: Colors.blue)),
          child: SizedBox(
            height: 100,
            width: 100,
            child: Tooltip(
              message: 'Some label',
              child: Builder(
                builder: (BuildContext context) {
                  // ignore: avoid_print
                  print('rebuilding!');
                  return const Icon(
                    Icons.abc_outlined,
                    size: 100,
                    color: Colors.red,
                  );
                },
              ),
            ),
          ),
        ),
      ),
    );
  }
}

Flutter Doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.10, on Microsoft Windows [Version 10.0.22621.963], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.3.6)
[√] Android Studio (version 2021.2)
[√] VS Code, 64-bit edition (version 1.74.1)
[√] Connected device (4 available)
[√] HTTP Host Availability
• No issues found!

@asmith20002 thanks for your report. This issue is reproducible on the latest stable and master channels. It seems only to happen on desktop app as below since I can't see the issue on Web app.

MacOS
Web

❌
✅

✅: No Issue ❌: Issue reproduced

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.3.10, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.3.10 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (13 hours ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 12 (API 31)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[!] Flutter (Channel master, 3.7.0-13.0.pre.68, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.7.0-13.0.pre.68 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 239f80ed6c (6 hours ago), 2022-12-25 14:48:16 -0500
    • Engine revision 3ae55014ff
    • Dart version 3.0.0 (build 3.0.0-63.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Moreover on this issue:
If there are CustomPaints in the code, those CustomPaint builders are get called along with tooltips children. Again it doesn't matter if the CustomPaint is inside Tooltip or not. Even the ones outside and completely unrelated get rebuilt again. (shouldRepaint is set to false)
Same sample code with CustomPaint added
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

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

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

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Container(
          decoration: BoxDecoration(
            border: Border.all(width: 1, color: Colors.blue),
          ),
          child: Column(
            mainAxisSize: MainAxisSize.min,
            children: [
              CustomPaint(
                painter: MyCustomPaint(),
                child: const SizedBox(
                  height: 100,
                  width: 100,
                ),
              ),
              SizedBox(
                height: 100,
                width: 100,
                child: Tooltip(
                  message: 'Some label',
                  child: Builder(
                    builder: (BuildContext context) {
                      // ignore: avoid_print
                      print('rebuilding!');
                      return const Icon(
                        Icons.abc_outlined,
                        size: 100,
                        color: Colors.red,
                      );
                    },
                  ),
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

class MyCustomPaint extends CustomPainter {
  @override
  void paint(Canvas canvas, Size size) {
    print('rebuilding paint!');

    canvas.drawRect(
        Rect.fromLTWH(0, 0, 100, 100), Paint()..color = Colors.blue);
  }

  @override
  bool shouldRepaint(covariant CustomPainter oldDelegate) {
    return false;
  }
}

Just ran into this same issue. This is particularly noticeable when your widget has an Image.memory() widget in it since it will redraw the image and it looks like it's reloading the picture on each mouse reentry. 😅


Restarting kernel with external output area hides entire UI area

Description
When the kernel is restarted, the UI area containing the external output area (EOA) is hidden.
For example, if the EOA is in the same UI element as the project path view, either as a tab:

or above or below in the same sidebar:

Restarting the kernel will hide the 'project' tab.
Here are (I'm pretty sure) the lines that cause this behavior.
Does hiding the EOA, in this context, serve a purpose? If it is, could it be configurable in settings? Having to re-open sidebars every time I restart the kernel is a little annoying.

The sidebar gets only hidden when the output area is the active tab inside the dock. We do this since the panel wouldn't show anything useful if no kernel is running. Therefor we hide it to don't waste any space which is particular useful for smaller screens.
The panel will automatically appear if one executes output though. So there shouldn't be the need for manually re-opening the sidebar.
That said, maybe we should rethink the way we currently restart our ZMQ kernels. Right now we basically destroy the old one and start a fresh kernel. I think for the kernel process we still need to do this, but we probably don't need to dispose the whole kernel class (which causes the panel to hide).

Thanks for responding!
So it's intended behavior for shutting down the kernel, but not necessarily for restarting.
Would it be too cruft-y to add an 'isRestarting' flag, and check !kernel && !isRestarting rather than just !kernel  ? It might be quicker+safer to implement than changing the behavior of the kernel class.
I realize it's a small problem, but having the code area jump left or right, or having to re-open the project tab when it was visible pre-restart, is a little jarring.

That said, maybe we should rethink the way we currently restart our ZMQ kernels. Right now we basically destroy the old one and start a fresh kernel. I think for the kernel process we still need to do this, but we probably don't need to dispose the whole kernel class (which causes the panel to hide).

Yeah, we could even keep the same connection file and ports (assuming the other kernel hasn't run away). ZeroMQ will automatically reconnect.

Should we reset the output in the output area if a kernel is restarted?

I'd be inclined to keep it if it's only a restart, making the output clearing a separate thing. Restart and clear all could be a separate action.

/cc @williamstein