Cannot uninstall etcher... but it's not installed...

Description of issue

Output of your command with --verbose --debug
$ brew cask remove etcher --verbose --debug                                                                                2396ms
==> Uninstalling Cask etcher
Error: etcher is not installed/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/uninstall.rb:13:in `block in run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/uninstall.rb:9:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/uninstall.rb:9:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:115:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:158:in `process'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:91:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:163:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:163:in `rescue in process'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:149:in `process'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:91:in `<main>'

Output of brew cask doctor
==> Homebrew-Cask Version
Homebrew-Cask 1.1.12
caskroom/homebrew-cask (git revision bf560; last commit 2017-04-15)
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask (1 files, 0B)
==> Homebrew-Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3634 casks)
/usr/local/Homebrew/Library/Taps/buo/homebrew-cask-upgrade (0 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions (177 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-completions (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-fuse (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-python (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-science (0 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/Library/Ruby/Site/2.0.0
/Library/Ruby/Site/2.0.0/x86_64-darwin16
/Library/Ruby/Site/2.0.0/universal-darwin16
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/universal-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16
==> Environment Variables
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
PATH="~/bin:~/Developer/git/nanocube/build/bin:~/.cargo/bin:~/Developer/go/bin:~/.yarn/bin:/opt/X11/bin:/Library/TeX/texbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Homebrew/Library/Taps/buo/homebrew-cask-upgrade/cmd:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/usr/local/bin/fish"

It seems the download links are down, so I suggest we wait a few days and see if they start working.

I actually want to uninstall etcher. Notice how brew cask list shows etcher but then brew uninstall etcher does not work.

@domoritz Do brew cask unintall --force etcher.
If that doesn’t work, seeing as it only installs an app bundle, delete it manually (likely from /Applications) and delete the $(brew --prefix)/Caskroom/etcher (likely /usr/local/Caskroom/etcher) directory.

That works. Thank you @vitorgalvao. I wonder if brew cask could show a hint when you try to uninstall an app that is not installed ("Looks like you are uninstalling an app that is not installed. Try --force if you think that is a mistake.").

@domoritz This is a rare occurrence and brew cask list is broken itself, so it’s not worth it to put effort into it. It’ll likely be solved when other things are fixed as well.


persist non-owner events, restore line-through on complete

Description
Please include a summary of the change and a link to which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] Test A local
[ ] Test B

Checklist:

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

Tried and failed to integrate Tyler's material-ui formatting with dynamic line-through on event group complete.


Using ScoreTiler with two different masks produces identical results.

Describe the bug
When using two different extraction masks (over two very different WSI regions) the output csv from ScoreTiler and the tiles extracted are the same when clearly the slide coordinates at a minimum should be different (and in this case the Nuclear score is anticipated to be different. Interestingly, the locate tiles function shows these tiles to be located in the correct positions and in the right numbers. Is there a file that is being leaked between class instances?
Here are my examples:
scored_tiles_extractor2 = ScoreTiler(
    scorer = NucleiScorer(),
    tile_size=(512, 512),
    n_tiles=20,
    level=0,
    check_tissue=True,
    tissue_percent=80.0,
    pixel_overlap=0, # default
    prefix="CA2scored/", # save tiles in the "scored" subdirectory of slide's processed_path
    suffix=".png" # default
)

scored_tiles_extractor2.locate_tiles(
    slide=test_slide,
    extraction_mask=ca_2_poly_custom_mask,
)

scored_tiles_extractor3 = ScoreTiler(
    scorer = NucleiScorer(),
    tile_size=(512, 512),
    n_tiles=20,
    level=0,
    check_tissue=True,
    tissue_percent=80.0,
    pixel_overlap=0, # default
    prefix="CA1scored/", # save tiles in the "scored" subdirectory of slide's processed_path
    suffix=".png" # default
)

scored_tiles_extractor3.locate_tiles(
    slide=test_slide,
    extraction_mask=poly_custom_mask,
)

Expected behavior
I would expect that given two different extraction masks I should at least pull tiles with different coordinates between masks and in cases where appropriate produce differing nuclear scores.
Some copy/paste from the .csv:
[from CA1]
CA1scored/tile_0_level0_13501-26400-14013-26912.png,0.7599788363195672,1.0
CA1scored/tile_1_level0_14013-25888-14525-26400.png,0.7598940221993982,0.999888185646619
CA1scored/tile_2_level0_12989-16672-13501-17184.png,0.7506675064022765,0.987724445743891
CA1scored/tile_3_level0_11965-16160-12477-16672.png,0.7480076281028041,0.9842178059115734
CA1scored/tile_4_level0_12477-16160-12989-16672.png,0.7333986936009114,0.9649581760096282
CA1scored/tile_5_level0_11965-15648-12477-16160.png,0.7279953669776805,0.9578347221404039
[truncated but 20 results reported]
[from CA2]
CA2scored/tile_0_level0_13501-26400-14013-26912.png,0.7599788363195672,1.0
CA2scored/tile_1_level0_14013-25888-14525-26400.png,0.7598940221993982,0.999888185646619
CA2scored/tile_2_level0_12989-16672-13501-17184.png,0.7506675064022765,0.987724445743891
CA2scored/tile_3_level0_11965-16160-12477-16672.png,0.7480076281028041,0.9842178059115734
CA2scored/tile_4_level0_12477-16160-12989-16672.png,0.7333986936009114,0.9649581760096282
CA2scored/tile_5_level0_11965-15648-12477-16160.png,0.7279953669776805,0.9578347221404039
[truncated but 20 results reported]
Screenshots showing correct tile positions:

Dear @PinkEyeSurvivor, would it be possible for you to share the WSI used for the example?

@PinkEyeSurvivor Also, I think the important missing information is: how do you call the extract method? Are you correctly passing the extraction_mask?
If left to default, the tiler will use the BiggestTissueBoxMask, therefore explaining why you get the same tiles :)


[DO NOT MERGE][WIP] Update to GOV.UK Frontend v4.0.0

Closes https://github.com/alphagov/govuk-design-system/issues/1851
Updates the Design System to use v4.0.0.
Note: the current PR updates the Design System to use the v4.0.0 pre-release. This PR will need to be updated for the actual release, to point to the version of GOV.UK Frontend published on npm.
Things I've checked
The Design System:

does not use the govuk-main-wrapper or govuk-main-wrapper--l mixins
does not use the $govuk-border-width-form-element-error variable
does not individually import JavaScript files
does not use HTML error messages
does not use HTML hints
does not use HTML skip link
does not use iff Sass function
does not use govuk-tag--inactive class
does not import individual Sass files from core or overrides
does not use HTML date input
does not use the HTML cookie banner
already uses aria-hidden="true" for SVGs in the header
already styles custom HTML being passed to the cookie banner component
already uses conditional reveals with unique id's per page
uses the header HTML in non-standard ways (using custom navigation that doesn't sit inside the header like it does for the component) - I'm not sure the changes we've made to the component can be applied directly to the design system implementation
has a PR raised to update the summary list guidance (https://github.com/alphagov/govuk-design-system/pull/1990)
has a PR raised to update the accessibility statement for accordions (https://github.com/alphagov/govuk-design-system/pull/1825)
has a PR raised to update the accordion guidance and examples for the new iteration (https://github.com/alphagov/govuk-design-system/pull/1961)

I've added commits to:

ensure character counts use unique ids
add the width macro option to any footer components that need it

I've updated the Design System to the current pre-release and gone through the GOV.UK Frontend Changelog to double check any changes that need to be made. I don't think any changes need to be made.
Once all the changes are merged into GOV.UK Frontend, I'll generate a new pre-release and update to that one to cover the breaking changes merged in after the pre-release was shared with users on 07/12/2021

I've updated this to the latest pre-release which includes the footer changes.

I think we need to initialise the skip link JavaScript in src/javascripts/govuk-frontend.js.

Thanks @36degrees , good spot, I've added a commit to do that now


New battery rifles and gladstone resprite

WIP
:cl:

add: Added fun!
remove: Removed fun!

Apologies, it was supposed to be from branch, not master.


Ability to override command and args in K8s Service

What would you like to be added:
The K8s deployment API can override the ENTRYPOINT and CMD of the Docker image via the command and args properties on the ContainerSpec. The allows you to build 1 image with your application and deploy it with different commands.
Why is this needed:
Without this, you have to build separate images for each command you want to use the same container, causing you to have to create multiple Docker repos or tag them differently.
Extra info (e.g. existing slack convo link):

done!


TS-2790 Deprecated VConnection do_io

[approve ci]

I made the changes requested.

[approve ci]

[approve ci]

Please run clang format and push again.
diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index 0c68d4ad1..c74b1a888 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -3384,7 +3384,7 @@ HttpSM::tunnel_handler_cache_write(int event, HttpTunnelConsumer *c)
       *status_ptr      = HttpTransact::CACHE_WRITE_COMPLETE;
       c->write_success = true;
       c->vc->do_io_close();
-      c->write_vio     = nullptr;
+      c->write_vio = nullptr;
     }
     break;
   default:

@masaori335 Can you check on your review? Looks like that got cleaned up.
[approve ci]

If all tests are passed, let's ship this.

[approve ci]

I'll take a look at the AUTest. I think it's a change of curl version issue.

[approve ci]


Authenticator: automate username password tests

Converts manual tests for the UsernamePasswordAuthenticator into automated tests.
Like the OAuth tests, there is one test here that fakes responses from the server in order to verify that ArcGISToken authentication works. This test for ArcGIS challenges is not present in the manual tests (but it should have been). The other tests use NetworkAuthenticationChallengeHandler in the same manner as the ServerTrustTests, ie. they don't do actual network calls but just ensure that the Authenticator UI works as expected.

Thanks @colinanderson


Workflow Activity State

I Tried to create a branch activity which takes a value from the record using a custom form .
it works fine and i can clearly see the value inserted into the ActivityRecords table .
on the GetPossibleOutcomes i'm creating outcomes depending on the the activity value .
the Activity state in the table : {"PageId":"13"}
on the get possible outcomes :
        public override IEnumerable<LocalizedString> GetPossibleOutcomes(WorkflowContext workflowContext, ActivityContext activityContext)
        {
            var PageId = activityContext.GetState<string>("PageId");
            if (PageId  != null)
            {
                var Outcomes = _outcomesManager.PageOutComes(int.Parse(PageId ));
                if (Outcomes == null || Outcomes.Count() <= 0)
                {
                    yield return T("Done");
                }
                else
                {
                    foreach (var outcome in Outcomes)
                    {
                        yield return T(outcome.OutcomeLabel);
                    }
                }
            }
            else
            {
                yield return T("Done");
            }
        }

for some reason PageId is always null .
i tried to take a look at the branch activity :
        private IEnumerable<string> GetBranches(ActivityContext context) {
            var branches = context.GetState<string>("Branches");

            if (String.IsNullOrEmpty(branches)) {
                return Enumerable.Empty<string>();
            }

            return branches.Split(new [] { ',' }, StringSplitOptions.RemoveEmptyEntries).Select(x => x.Trim()).ToList();
        }

the line BranchActivity.cs line 54 is never hit but still gives the specified branches .
is there anything special here ?

@sebastienros the branch is splited on the Activity View . but still the GetOutcomes method is not
getting the activity record informations .

User Task Activity: https://www.youtube.com/watch?v=iioKQkXUwXA
The other one follows next.

Here's a screencast showing how to use the Trigger URL token in combination with the Signal and Email activities: https://www.youtube.com/watch?v=M57Dp0O3ttI

I think I confused this issue with the other one here #8015

@bufferz There's nothing special being done to get the activity's form state, so you're probably doing something wrong or missing something if it doesn't work in your custom activity. Perhaps if you shared the full activity's source code I can try it on my machine and help identify the issue.

@sfmskywalker its a hack but its not really bad since it won't affect the workflow system so its doing fine at the moment , but i managed to get it done by editing the view instead of the Activity class :
I created an overrided view Activity-stepSubmission.cshtml in my module
@using Orchard.Workflows.Helpers
@using Orchard.Utility.Extensions;
@{
    var PageId = ((string)Model.State.PageId) ?? "0";
    var OutcomeService = WorkContext.Resolve<IOutcomesManager>();
    var Branches = string.Empty;
    var Pageoutcomes = OutcomeService.PageOutComes(int.Parse(PageId));
    if (Pageoutcomes != null && Pageoutcomes.Count() > 0)
    {
        Branches = (string.Join(",", OutcomeService.PageOutComes(int.Parse(PageId)).Select(x => T(x.OutcomeLabel)))).FormatOutcomesJson();
    }

    string name = Model.Name;
    string isEventClass = Model.IsEvent ? "event" : null;
    string canStartClass = Model.CanStartWorkflow ? "canStart" : null;
}

<div data-outcomes="@Branches" class="@isEventClass @canStartClass activity-@name.HtmlClassify()"<EMAIL_ADDRESS>
@name.CamelFriendly()


Expose legend model in layer views

This is part of #101. It exposes a legend model on layers/sublayers so that users can do some custom things, such us:

Changing the template of the legend.
Customizing the title of the legend.
Showing/hiding the title of the legend.
Getting/Setting the items that are displayed in the legend.
Showing/hiding the legend.

@javisantana what do you think?

:es:

Sweet :+1:

How would this be used to create the default legend? new cdb.geo.ui.Legend({ model: layer.get('legend') })?

@knownasilya You can basically manipulate the legend models (layer.legend) to customize your legends. Once this is relased, you will be able to get/set the items, customize the template, show/hide a legend, etc.

Would love an example of this being used

Do I have to use createVis, or can this be accessed from createLayer as well?


Im unable to get GetLatestVersionNumber of the play store. It is always showing empty or null

If this issue is for a new feature, please skip the "Bug" section and fill out the "Feature Request" section at the bottom.
Bug
Im unable to get GetLatestVersionNumber. It is always showing empty or null
Plugin Version:  2.1.0
Platform (e.g., Android v21):  Andriod 11
Device/Hardware:
Expected behavior
Actual behavior
Steps to reproduce the issue

Feature Request
Description:

GetLatestVersionNumber return null values.

What ? this plugin is just parsing GooglePlay website to try to find version ? this is really not a great design...
I use this plugin in a lot of projects (and I didn't browse the source until yet... my fault), and all are currently raising error on each startup foreach user... cause of this plugin (and initialy cause of the Google website changes... but you will never be able to know the google changes on his website... never). So this plugin/architecture is useless by design ;-)
For Android, to correctly get the version, we have to use Xamarin.Google.Android.Play.Core and IAppUpdateManager...
Let me know if people are interested, I'll do a PR that use IAppUpdateManager (if I found some time available...)

Me too.
I have this problem.

yes, idealy, "someone" have to create a plugin that is based on IAppUpdateManager (for Android) and AppstoreConnectAPI (for iOS).
But if you're really stucked, you can just create your own custom platform service implementation directly in your project :
1 - Based on the "dependency injection/IOC" fundamentals :
https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/dependency-service/introduction
2a - Create the custom implementation on Android :
https://developer.android.com/guide/playcore/in-app-updates/kotlin-java#java
2b - Create the custom implementation on iOS :
https://developer.apple.com/documentation/appstoreconnectapi/list_all_app_store_versions_for_an_app
Or another (easier) solution is that maybe you can fork and update this plugin to find the version number on the "new GooglePlay website" ? (I even don't know if the version is anymore available anywhere on the current new website)... I do not recommand this approach (see my previous posts), but it may work again for some times (at least until Google change again it's website) with just few changes... all the logic of the "currently broken code" is here :
https://github.com/edsnider/latestversionplugin/blob/master/src/LatestVersion.android.cs#L72
Note that nobody can "force" OSS developer to do this job or to complain about their contribution (even if it's outdated)...
Every single OSS developer is doing it for free and for the community... community plugins are not products supported by companies.
But if you (or your company) have any budget to spend on this, I can develop the "ideal plugin" quickly, and professionnaly (on my company work hours with a french/€ invoice...)
Sadly I don't have "personal OSS free time" at this moment... and on work hours it's customers first !
;-)

I am experiencing this one too.  It appears the regex no matter matches the results returned by the play store URL.
Seems like a plan B Implementation is needed for Android.

Workaround https://stackoverflow.com/a/72643625/7149454

Thanks @taublast for doing the most of the work, your workaround works great ! :-)
I've merge your code in the #44 PR... I hope @edsnider will accept & merge soon...
For those who can wait, I've made a temporary nuget package here... (No support and I'll delete it when PR will be merged !)
https://www.nuget.org/packages/Xam.Plugin.LatestVersion.Forked/0.1.1

Beta nuget is available here: https://www.nuget.org/packages/Xam.Plugin.LatestVersion/2.1.1-beta.107

Beta nuget is available here: https://www.nuget.org/packages/Xam.Plugin.LatestVersion/2.1.1-beta.107

@edsnider I'm using this version and seeing the problem again.


Adding ability to set colours using <col=XXXXX> tags to npc indicator…

Adding the ability to specify a specific color when highlighting an npc

We'd much rather have work put into developing reactive config panels to support the ability for multiple NPC highlight groups


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 2020 ms

Resolved: Bofrost.be performance has improved in 6384519 after 1 hour, 24 minutes.


Test Automation

Need to explore tools(Jest etc.) for doing automated testing for Hexa.

I don't think this will be possible before 2.0.0 taking this out for now.


Add flatten option to the NLocal family

Summary
This commit adds a new flag flatten to the circuit library elements in the NLocal family. This flag is used to avoid the nested wrapping of the output that is done by default in the output of these gates. This is done primarily in the interest of performance. The runtime performance of bind_parameters() is vastly improved with a flattened output compared to the nested object. For example, running:
qc = EfficientSU2(100, entanglement="linear", reps=100)
qc.measure_all()
qc.bind_parameters({x: math.pi / 2 for x in qc.parameters})

the runtime of bind_parameters() went from ~390 seconds with the default wrapped output to ~0.5 seconds with the flattened output. I think given these results longer term we might want to flip the default behavior to only wrap on user request (likely for visualization as that's the only use case I can think of for the wrapped output). The default value is set to None in this PR to facilitate this change. In 0.26/0.45 we can emit a warning if flatten is None to warn that the default will change in a future release.
Details and comments

A couple of thoughts:
Would it make sense to expose flatten as a property too so that you can change how it comes out for visualization without having to construct a whole new identical circuit? In notebooks we show an ansatz (or a combination of feature map and anstaz in ML) - sometimes decomposed at present  sometimes not depending on what we want to show. Changing flatten would invalidate it so it needs to get built again.
I wonder whether this could/should be done for data_preparation (feature maps) too.
QAOAnsatz is not directly an NLocal cct but goes through EvolvedOperatorAnsatz (which UCC in Nature is based on). I saw that was not changed but further see the tests with qaoa failed around passing flatten to the parent.

A couple of thoughts:
Would it make sense to expose flatten as a property too so that you can change how it comes out for visualization without having to construct a whole new identical circuit? In notebooks we show an ansatz (or a combination of feature map and anstaz in ML) - sometimes decomposed at present sometimes not depending on what we want to show. Changing flatten would invalidate it so it needs to get built again.

I worry about changing the contents of the circuit dynamically like this if feels kind of error prone (granted I feel that way about blueprint circuits in general though). Maybe it's as easy as setting _is_built to false in the setter. I'll test it locally

I wonder whether this could/should be done for data_preparation (feature maps) too.

Yeah I started small here, but I think we'll want to do this to all the circuit library classes that have wrapped output. The performance difference is so drastically improved. I was tempted to just revert #6634 at first. But figured this approach was a bit more sustainable than a breaking api change revert of a breaking change from 2 yrs ago.

QAOAnsatz is not directly an NLocal cct but goes through EvolvedOperatorAnsatz (which UCC in Nature is based on). I saw that was not changed but further see the tests with qaoa failed around passing flatten to the parent.

Yeah, I reverted this when I saw. I was just confused because it's in the nlocal directory and was kind of on autopilot when I was making the changes.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

9 of 10 (90.0%)  changed or added relevant lines in 1 file are covered.
7 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.05%) to 85.956%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/circuit/library/n_local/n_local.py
9
10
90.0%

Files with Coverage Reduction
New Missed Lines
%

qiskit/transpiler/passes/synthesis/unitary_synthesis.py
1
90.39%

qiskit/extensions/quantum_initializer/squ.py
2
80.0%

crates/accelerate/src/sabre_swap/layer.rs
4
97.32%

Totals

Change from base Build<PHONE_NUMBER>:
0.05%

Covered Lines:
71467

Relevant Lines:
83144

💛  - Coveralls

This is a good addition 👍🏻 But the current implementation doesn't quite do what I expected from the documentation. For example, the EfficientSU2 nicely gets decomposed in standard gates:
>>> EfficientSU2(3, flatten=True, reps=1).draw()
     ┌──────────┐┌──────────┐                  ┌──────────┐ ┌──────────┐
q_0: ┤ Ry(θ[0]) ├┤ Rz(θ[3]) ├──────────■───────┤ Ry(θ[6]) ├─┤ Rz(θ[9]) ├
     ├──────────┤├──────────┤        ┌─┴─┐     ├──────────┤┌┴──────────┤
q_1: ┤ Ry(θ[1]) ├┤ Rz(θ[4]) ├──■─────┤ X ├─────┤ Ry(θ[7]) ├┤ Rz(θ[10]) ├
     ├──────────┤├──────────┤┌─┴─┐┌──┴───┴───┐┌┴──────────┤└───────────┘
q_2: ┤ Ry(θ[2]) ├┤ Rz(θ[5]) ├┤ X ├┤ Ry(θ[8]) ├┤ Rz(θ[11]) ├─────────────
     └──────────┘└──────────┘└───┘└──────────┘└───────────┘

However, more complex circuits, such as the EvolvedOperatorAnsatz don't seem "flattened" but just less convolved:
>>> EvolvedOperatorAnsatz(op, flatten=True).draw()
     ┌─────────────────────────────┐
q_0: ┤0                            ├
     │                             │
q_1: ┤1 exp(-it (ZZZ + XXX))(t[0]) ├
     │                             │
q_2: ┤2                            ├
     └─────────────────────────────┘

For an argument called "flatten" I would rather expect something that decomposes to standard gates, no matter the nesting:
# on this circuit, h rz cx are enough, but this should include all standard gates
>>> transpile(EvolvedOperatorAnsatz(op), basis_gates=["h", "rz", "cx"]).draw()
          ┌───┐┌──────────────┐┌───┐┌───┐          ┌───┐┌──────────────┐┌───┐┌───┐
q_0: ─────┤ X ├┤ Rz(2.0*t[0]) ├┤ X ├┤ H ├──────────┤ X ├┤ Rz(2.0*t[0]) ├┤ X ├┤ H ├─────
     ┌───┐└─┬─┘└──────────────┘└─┬─┘├───┤┌───┐┌───┐└─┬─┘└──────────────┘└─┬─┘├───┤┌───┐
q_1: ┤ X ├──■────────────────────■──┤ X ├┤ H ├┤ X ├──■────────────────────■──┤ X ├┤ H ├
     └─┬─┘                          └─┬─┘├───┤└─┬─┘                          └─┬─┘├───┤
q_2: ──■──────────────────────────────■──┤ H ├──■──────────────────────────────■──┤ H ├
                                         └───┘                                    └───┘

That's analog to what numpy.flatten does -- no matter the dimension of your tensor, a flattened array is a vector.
So if this argument is supposed to "flatten", would it be better to decompose to the standard gates? Otherwise we could also rename it to wrap (default=True), to make it clearer?

So if this argument is supposed to "flatten", would it be better to decompose to the standard gates? Otherwise we could also rename it to wrap (default=True), to make it clearer?

I fixed the flatten behavior for EvolvedOperatorAnsatz here: https://github.com/Qiskit/qiskit-terra/pull/10269/commits/b56e960ee45d4bd562f8e457215e54ae2adcfc09
The tricky bit for that class was that it was built using other circuit library elements which were proper gates, so from the perspective of the flatten option it was flattened to just gate objects (instead of wrapped circuits containing other circuit library elements).

In the interest of time I've enqueued it to merge I'll open an issue based on your comment and track that as a fix post-rc1 (since it's just a doc change)


Handling depth restriction depends on type

Hello :) I'm sorry for my poor English skill.
Thank you for your kindness.
I'm trying to make a crawler which handles depth with url type.
For example.
'iframe url' => handle as the same depth with its parent(referrer)
'a link' =>handle as +1 depth.
so.. It will make the Crawler not stop for collecting iframe urls by depth restriction.
I read APIs and.. I found some points, fetcher, linkextractor. But It's not clear to do that.
Could you give me some advice?
Thank you :)

The depth represents the number of "jumps" from one URL to another.  Frame URLs are distinct documents so they will always be one level deeper than their containing parent page (unless they are also linked from elsewhere less deep).  So if they are skipped because of your maxDepth setting, increase it.   If that causes other documents to be crawled you do not want, I suggest you rely less on the maxDepth and add other filtering rules instead to exclude pages you do not want.   Make sense?

Okay.. Then I should make a class for this and increase maxDepth.
<documentFilters> <filter class="MyClass"/> </documentFilters>
`class My{
void someFilterMethod(Doc doc, Properties metadata){
if( metadata.get(referer.tag) == "iframe.src"  )
// do something
else //do something else.
}
}
`
Right?

Why don't you just increase the maxDepth?    Do you have a specific example of documents you do not want? Maybe you can share your config and explain what you want to happen.  Chances are regular filter could do the trick (whether a reference filter, metadata filter, importer filter, etc.).

Yes, I'm worried about getting too many documents.
So I just want to handle iframe urls on the leaf and urls within maxDepth.
Max Depth : 2   or   3(to crawl)
Home(Depth 0) -- A href url (Depth 1)  -- A href url (Depth 2) -- A href url (Depth 3, Rejected | Filtered)
|--iframe url (Depth 3, Accpeted)
This is what I want to do.
So I thought that I should make maxDepth => 3  and filters for accepting iframe.src(referrer tag)

Short of writing your own filter class, you can try using a ScriptFilter.  The following should work (change "1" to whatever depth you want):
      <importer>
        <preParseHandlers>
          <filter class="com.norconex.importer.handler.filter.impl.ScriptFilter">
            <script><![CDATA[
              isFromIFrame = metadata.getString('collector.referrer-link-tag') == 'iframe.src';
              depth = metadata.getInt('collector.depth');
              /*return*/ (depth < 1 || isFromIFrame);
            ]]></script>
          </filter>
        </preParseHandlers>
      </importer>

For it to work, you have to keep referrer data when you crawl.  If you are using the latest snapshot those are always stored so it should just work.  Otherwise, you may have to add this first to your crawler config:
      <linkExtractors>
        <extractor class="com.norconex.collector.http.url.impl.GenericLinkExtractor"
          keepReferrerData="true" />
      </linkExtractors>

In any case, this solution will only work if your iframe are always encountered at the same depth.  If the depth may vary, I would suggest you try to rely on other patterns to exclude/include just what you want.

Did the suggested approach work for you?  Can we close this issue?

Oh, Sorry for late.
I tried and checked that.
Now It can crawl A-links( < maxDepth) and  iframes( <= maxDepth) :+1:
Thank you very much, really.

Glad you have a working solution.  Thanks for confirming.


Fix an error when populating KV store.

I found an error when populating KV store.
If we use the double quote here, the function kv will read all parameter as single variable $1.
And the key name on ETCD would be "max_open_files 131072" instead of "max_open_files".
e.g.
2017-07-12 02:07:14  bash: Adding key /auth/cephx true with value  to KV store.

2017-07-12 02:07:14  bash: Adding key /global/max_open_files 131072 with value  to KV store.

2017-07-12 02:07:14  bash: Adding key /osd/osd_journal_size 100 with value  to KV store.

We should remove the double quote and make it work.
2017-07-12 02:06:51  bash: Adding key /auth/cephx with value true to KV store.
true
2017-07-12 02:06:51  bash: Adding key /global/max_open_files with value 131072 to KV store.
131072
2017-07-12 02:06:51  bash: Adding key /osd/osd_journal_size with value 100 to KV store.
100

My env:
etcdserver: 3.0.14
etcdctl version: 2.2.5
luminous
ubuntu 16.04

@mkkie shellcheck complains because you removed the double quote, could you rework your commit to fix the bug without shellcheck complaining about the syntax ?

@mkkie what about :
grep -E '(^$|^#)' "$defaults_path" | while read -r line; do
KV=($line)
kv "${KV[@]}"
done

@guits
Thanks for helping and it works.
grep -Ev '(^$|^#)' "$defaults_path" | while read -r line; do
local KV
KV=($line)
kv "${KV[@]}"
done

jenkins test this please

@mkkie :
$ cat foo.sh
#!/bin/bash

function kv {
  local key="$1"
  shift
  local value="$*"
  echo "Adding key ${key} with value ${value} to KV store."
}

grep -vE '(^$|^#)' "/tmp/foo.conf" | while read -r line; do
KV=($line)
kv "${KV[@]}"
done

$ cat foo.conf
param1 value1
param2 value2
param3 value3

$ bash foo.sh
Adding key param1 with value value1 to KV store.
Adding key param2 with value value2 to KV store.
Adding key param3 with value value3 to KV store.

@mkkie your fix seems to work as well, we can keep it

jenkins test ceph_ansible-jewel-centos7-dedicated_journal


[Expensify Help] Create a "coming soon" page

Problem
We hijacked https://help.expensify.com/, which used to redirect to https://community.expensify.com/ to our new help site, which is not done yet.
Why this is important
This means that users going to https://help.expensify.com/ will see docs that are not ready yet instead of the help site they're used to seeing.
Solution
Create a "coming soon" page for the new help site that can direct users to the old help site. The link should say:
"Looking for our old help site?" and link to https://community.expensify.com/
The new ComingSoon page should be hosted at https://help.expensify.com/index.html, which will mean it's what users going to https://help.expensify.com/ will see. The current main page will be moved to https://help.expensify.com/main.html. Once we're ready to launch the site in production, we'll just delete the ComingSoon page and rename main.html back to index.html.

Posted in Slack, and we're good to go with this design:

Adding the engineering label now!

Actually, assigning @marcochavezf since you're implementing the help site

Thanks for the design @michelle-thompson! Could you post here a link for the sand clock icon?

Here you go!
Circle Hourglass.svg.zip

Created this PR to add the coming soon page https://github.com/Expensify/App/pull/9869


Making changes will often trigger a rebuild of all the C files

This is caused by the git report of the exception handler.

Yea, that's one of the caveats of doing it via a compiler flag. You'll lose your incremental builds when you edit a new file.
We could restrict those compiler flags to only the sources that need it, though rebuilding all C files is pretty much instant as it is -- I don't know how much faster it'd be.


Display 'Loading' only after 'min-chars' condition is met.

Plunker example: http://plnkr.co/edit/3pB1Gx?p=preview
E.g. With Remote Source as HTTP URI String
The 'Loading' text is displayed as soon as the text-filed is focused.
Is there a way to show this only after the min-chars condition is met?
Also, do we have an option to display 'No rows found' if the remote source is empty. Any workaround?
Thanks in Advance.

Hi Allen,
That was super quick.
Could you apply the same logic to 'No Match Found' i.e only after the min-chars condition is met/ if remote call is made?
Thank you.

Perfect.
Thank you.


Update bridged displaynames and profile pictures

With this PR, the bridge updates the displayname and/or the avatar of the bridged Matrix user when the Telegram user changes them.
This is done by checking the name and profile pic of the sender when a message is received from Telegram, and comparing to the database to see if they have changed. If they have, it will update the database and send the updated display name and profile picture to the Matrix homeserver.

Fixed a bug where it tried to download the profile picture of people without a pic set, so now that should work too

...as well as removing your profile picture (just tested it)


Support more version types

Coming from https://github.com/sindresorhus/refined-github/pull/2042#issuecomment-492785932

Hotfixes: 1.0.0-hotfix should be greater than 1.0.0

console.assert(
    tinyVersionCompare('1.0.0', '1.0.0-hotfix') === -1,
    '-1.0.0 should be lower'
);

GA (General Availability): 1.0.0-GA should be greater than 1.0.0-M1

console.assert(
    tinyVersionCompare('1.0.0-M1', '1.0.0-GA') === -1,
    '1.0.0-M1 should be lower'
);

RCs and M: v1.0.0.RC1 should be greater than v1.0.0.M2.

console.assert(
    tinyVersionCompare('v1.0.0.RC1', 'v1.0.0.M1') === -1,
    'v1.0.0.M1 should be lower'
);

The above assertions fail. Can we add support for hotfix, GA and M?

is incorrect, at least as far as npm is concerned. 1.0.0-0 is considered a prerelease of 1.0.0, so I treat the dash as “it came before”

What’s M? Examples in the wild?

I agree with you but can we treat numbers and string as different. e.g. 1.0.0-0 is a pre-release but 1.0.0-hotfix is not? and sorry for not being clear for M. It stands for milestone release. Kind of pre-alpha thing.

https://github.com/github/version_sorter.
Just dropping this here in case anyone needs it, can't say if this is the one GitHub actually uses on their platform though.

Good one. I should probably find the most popular version sorting lib on npm and steal its tests (but not just semver, because it’s more restrictive than this module needs)


Object focused tutorial series

Copied from slack:
from @lxfind
Sui being a object-centric chain and most people's first series of questions on how to program it will be around when to choose different types of object relationships: wrapping vs owning, collection vs bag vs vector, shared vs owned, child object reference vs child object id and etc.
We have docs describing the concepts of each and the libraries, but it's hard to think about how to really use a combination of them in practice. Ideally they want to see them used in action and the trade-offs in code.
I am thinking about creating a "Programming with Objects" tutorial series, which is a series of tutorials on how to interact with objects with real examples, from the basics to advanced topics, e.g. from basic object transfers, to object wrapping, to object owning objects, to how to use collection/bag and etc. Each chapter will be focusing on one topic, and the difficulty level should build up.
What do you think?

Empty files are causing errors when publishing, need a solution. @Jibz1 suggests: do not add incomplete content/files to the main branch.
cc @lxfind @Clay-Mysten

Yeah we can remove the empty ones for now for sure

Hi Xun, I'm slotting this in the TestNet milestone while triaging. Please feel free to move as you desire. Thanks!

Let's rename move.md to Smart Contracts with Move Quick start:
https://docs.sui.io/build/move
This will be our codelab.

+Godwin
Hi Xun,
I've created these PRs to replace relative links into example source files with absolute links:
https://github.com/MystenLabs/sui/pull/1902
https://github.com/MystenLabs/sui/pull/1903
https://github.com/MystenLabs/sui/pull/1904
https://github.com/MystenLabs/sui/pull/1905
Not sure why I can't add this issue to the Development field of those PRs. See this text file for the reported issues:
404s-in-live-site.txt
I've also added Godwin for this reported issue:
URL        `/img/Sui-logo-blue.png'
Parent URL https://docs.sui.io/_nuxt/css/9baafdd.css, line 4, col 70228
Real URL   https://docs.sui.io/img/Sui-logo-blue.png
Check time 2.864 seconds
Size       1KB
Result     Error: 404 Not Found

That image does exist on the main site though:
https://sui.io/img/Sui-logo-blue.png
Godwin, let me know if you want a distinct issue for that.

And here is that one to link up chapter 4:
https://github.com/MystenLabs/sui/pull/1893

Hi @lxfind , I am wondering if we should remove references to the later chapters since I recall you saying it will be hard to get to them soon. We can do that and close this out as complete, adding new material later as time allows. WDYT? Thanks!


Doesn't work for buttons created with $.ajax

Doesn't work for buttons created with $.ajax

Yes, initially was for plain html so users don't have to script anything.
Don't know your use case, but added index2.html & modal2.js if it helps.
Basically it gets all elements which has classname 'showmodal' and adds an event to just show the modal. So you could also just add the addEventListener to your button and call showModal(modal-name).

button or a elements that were hard coded in html works, but if the elements were generated dynamically it doesn't work
I use datatables to load my data from database, which is fire on page load, click the edit button on tablecell nothing, the add button which is hard coded is working fine, both add and edit modal also hard coded, only the textvalues in the form is changed during button.onclick


Add functional test

Starting covering our extensions using a zds tutoriel as reference : https://zestedesavoir.com/contenus/249/rediger-sur-zds/

Coverage increased (+22.6%) to 89.908% when pulling 08620dd9d48d212854a4c4daed59122c856ece0b on add_test_fonc into 4a04041240394c8d408c6847f19025aa761451b7 on master-zds.


Update 1.11 fixes

fix to https://github.com/knative-extensions/eventing-rabbitmq/pull/1237

Hey @creydr this PR fixes the automation updates!


Update all dev dependencies

Coverage remained the same at 100.0% when pulling 8b316b33294f31c68dc5d93995a0e362f1913b40 on dependency-updates into 84b38331f5be0d469ba6c354b25cca00a237f051 on master.

Coverage remained the same at 100.0% when pulling 8b316b33294f31c68dc5d93995a0e362f1913b40 on dependency-updates into 84b38331f5be0d469ba6c354b25cca00a237f051 on master.


Add benchmarks to documentation.

Adding benchmarks to documentation and readme.
Addresses #59

Codecov Report

Merging #81 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #81   +/-   ##
======================================
  Coverage    95.2%   95.2%
======================================
  Files          17      17
  Lines         647     647
======================================
  Hits          616     616
  Misses         31      31

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6f34169...5052356. Read the comment docs.

I would add a collage of the UKBench dataset if possible at the beginning after "To gauge an idea of the speed and accuracy of the implemented algorithms, a benchmark has been provided on the UKBench dataset and some variations derived from it.". I tried to download the dataset but this would almost take 2hrs lol. Here is a nice website to create collages: https://www.photocollage.com/. So that people get a feeling of what images are shown.
You should add a section with hardware or call it "environment" e.g. which hardware was used on AWS, memory, CPU and so on and also for the CNN part was GPU used?
For the results, there are many numbers. Can we draw some conclusions after each table? So what algorithm works best after each dataset?
The numbers in the table should be round down otherwise it's very hard to read it


Consider providing a mongo image with data for Mac Users

Unfortunately docker for Mac has not the capability of running mongoDB with an external data volume mapped to a local folder. That means that for Mac OS users we are going to need to provide an alternative Mongo image that includes both Mongo and the data.
We can reference such an image in the Docker Compose and provide a new target called 'orion-embedded' or a better name that will allow Mac users to overcome the issue with external data.

I think that what you want to do can already be achieved with the current data image, as it uses mongo:2.6 as its base image.  Something like this for the mongo container should work:
mongodb:
    image: bitergia/fiware-devguide-restaurant-data:20150728
    expose:
        - "27017"
    command: --smallfiles

With this configuration, the container does not rely on volumes from other containers and have both mongo and the database files on the same container.  I don't have Mac OS to test this.  Can you try it?

Hello friends,
Yes it works. I wonder if we can provide some documentation or alternative docker-compose.yml for Mac users.


login page social icons are too much close

Describe the bug
A clear and concise description of what the bug is.
The social icons on the Login page are way too close to each other

To Reproduce
Steps to reproduce the behavior:

Go to 'circuitverse.org'
Click on 'login on the navigation bar'
Scroll down to 'login with social section below the form'
the social icons are too close

Expected behavior
there should be some distance between the icons
Screenshots

Are you working on this issue? (Yes/No)
yes

can i work on this issue?

@niladrix719 Thanks for the issue,
But the initial design is more suitable!
Some good practice:

Kindly have an approval or descussion in #community in slack before opening an issue and PR.

@vedant-jain03 yeah sure


About DOOB'evaluation code

Hi, Guoxia Wang. I tried to use your DOOBNet/doobscripts/evaluation/EvaluateOcc.m to evaluate occ edge results. But I don't understand the content of edge_maps, which is in EvaluateBoundary.m
resfile = fullfile(resPath, [imglist{ires}, '.mat']);
edge_maps = load(resfile);
edge_maps = edge_maps.edge_ori;
res_img = zeros([size(edge_maps.edge), 2], 'single');
res_img(:,:,1) = edge_maps.edge;
res_img(:,:,2) = edge_maps.ori;

Can you please tell what is included in edge_maps, and besides, whether the edge_maps.edge and edge_maps.ori are the original result of the test, without any processing(such as NMS)?
Thank you very much!

edge_maps  is the predicted .mat results, which contains two maps (the one  is  object boundary map and the other one  is occlusion orientation map)
Here  is the python save code:
    edge_ori = {}
    edge_ori['edge'] = edgemap
    edge_ori['ori'] = orimap
    sio.savemat( 'xxx.mat', {'edge_ori':edge_ori})

Thank you! I get it!

You have got the edge map from DooBNet. Then how  you  got the occlusion orientation map from edge map ???
Can you please explain me.


Feb 01, 2018 4:03:11 PM com.amazonaws.services.iot.client.mqtt.AwsIotMqttConnectionListener onFailure WARNING: Connect request failure MqttException (0) - java.lang.NullPointerException         at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:38)

Hi All,
Since mqtt ports are blocked in my org I am trying to use websockets. I tested it with telnet and it is works fine.
I am able to run the same application with websockets from my laptop and it works fine but when i try to run from raspberry pi i am getting the following error.
I tried to change versions of paho mqtt lib and aws sdks but no use.
the following lib versions used.
aws-iot-device-sdk-java-1.1.0
org.eclipse.paho.client.mqttv3-1.1.0
trying to connect to AWS IOT
Feb 01, 2018 4:03:11 PM com.amazonaws.services.iot.client.mqtt.AwsIotMqttConnectionListener onFailure
WARNING: Connect request failure
MqttException (0) - java.lang.NullPointerException
at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:38)
at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:664)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at org.eclipse.paho.client.mqttv3.internal.websocket.WebSocketHandshake.receiveHandshakeResponse(WebSocketHandshake.java:133)
at org.eclipse.paho.client.mqttv3.internal.websocket.WebSocketHandshake.execute(WebSocketHandshake.java:74)
at org.eclipse.paho.client.mqttv3.internal.websocket.WebSocketSecureNetworkModule.start(WebSocketSecureNetworkModule.java:77)
at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:650)
... 1 more
Feb 01, 2018 4:03:11 PM com.amazonaws.services.iot.client.core.AwsIotConnection onConnectionFailure
INFO: Connection temporarily lost
Feb 01, 2018 4:03:11 PM com.amazonaws.services.iot.client.core.AbstractAwsIotClient onConnectionFailure
INFO: Client connection lost: TrackAndTraceClientId
Feb 01, 2018 4:03:14 PM com.amazonaws.services.iot.client.core.AwsIotConnection$1 run
INFO: Connection is being retried
Feb 01, 2018 4:03:17 PM com.amazonaws.services.iot.client.mqtt.AwsIotMqttConnectionListener onFailure
WARNING: Connect request failure
MqttException (0) - java.lang.NullPointerException
at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:38)
at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:664)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at org.eclipse.paho.client.mqttv3.internal.websocket.WebSocketHandshake.receiveHandshakeResponse(WebSocketHandshake.java:133)
at org.eclipse.paho.client.mqttv3.internal.websocket.WebSocketHandshake.execute(WebSocketHandshake.java:74)
at org.eclipse.paho.client.mqttv3.internal.websocket.WebSocketSecureNetworkModule.start(WebSocketSecureNetworkModule.java:77)
at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:650)
... 1 more
Feb 01, 2018 4:03:17 PM com.amazonaws.services.iot.client.core.AwsIotConnection onConnectionFailure
INFO: Connection temporarily lost
Feb 01, 2018 4:03:17 PM com.amazonaws.services.iot.client.core.AbstractAwsIotClient onConnectionFailure
INFO: Client connection lost: TrackAndTraceClientId

Hi @bhaskarmr ,
This is a websocket handshake failure thrown by paho and the exception is hot handled properly in version 1.1.0.
I would suggest double check if you are using the correct IAM credentials and log into cloudwatch to see what is the server side log.
Thanks,
Fengyi

HI Fengyi,
Thanks for the response, I will check but surprisingly it works on laptop but not on pi.

Closing due to inactivity.


the meaning of Pilot Changelog

The output of fastlane action pilot
+--------------------------+-------------------------------------------------------------------------+--------------------------------+---------------------+
|                                                                       pilot Options                                                                       |
+--------------------------+-------------------------------------------------------------------------+--------------------------------+---------------------+
| Key                      | Description                                                             | Env Var                        | Default             |
+--------------------------+-------------------------------------------------------------------------+--------------------------------+---------------------+
| username                 | Your Apple ID Username                                                  | PILOT_USERNAME                 |<EMAIL_ADDRESS>  |
| app_identifier           | The bundle identifier of the app to upload or manage testers (optional) | PILOT_APP_IDENTIFIER           | com.mickeysha.slack |
| ipa                      | Path to the ipa file to upload                                          | PILOT_IPA                      |                     |
| changelog                | Provide the what's new text when uploading a new build                  | PILOT_CHANGELOG                |                     |
| skip_submission          | Skip the distributing action of pilot and only upload the ipa file      | PILOT_SKIP_SUBMISSION          | false               |
| apple_id                 | The unique App ID provided by iTunes Connect                            | PILOT_APPLE_ID                 |                     |
| distribute_external      | Should the build be distributed to external testers?                    | PILOT_DISTRIBUTE_EXTERNAL      | false               |
| first_name               | The tester's first name                                                 | PILOT_TESTER_FIRST_NAME        |                     |
| last_name                | The tester's last name                                                  | PILOT_TESTER_LAST_NAME         |                     |
| email                    | The tester's email                                                      | PILOT_TESTER_EMAIL             |                     |
| testers_file_path        | Path to a CSV file of testers                                           | PILOT_TESTERS_FILE             | ./testers.csv       |
| wait_processing_interval | Interval in seconds to wait for iTunes Connect processing               | PILOT_WAIT_PROCESSING_INTERVAL | 30                  |
| team_id                  | The ID of your team if you're in multiple teams                         | PILOT_TEAM_ID                  |                     |
| team_name                | The name of your team if you're in multiple teams                       | PILOT_TEAM_NAME                |                     |
+--------------------------+-------------------------------------------------------------------------+--------------------------------+---------------------+

the key changelog's description is Provide the what's new text when uploading a new build
but for TestFlight, only What To Test or App Description and so on, so this property means What To Test?

Please refer to https://github.com/fastlane/fastlane/issues/4444#issuecomment-219850554


circle-large-outline is too thick

I thought of using this codicon in a Tree View along with pass to represent 2 states. But the circle-large-outline has different line-width.
I think all the other large circle-like icons have the same width except this one.

This was a larger version of circle-outline which uses a 2px line width used in unverified breakpoints. I can tweak it so it can be used interchangeably with other circle icons.


Styles

Description:

Styles added using tailwindcss classes
Needy components added for BookList and Book

Note:

Dear CR, how can I add my custom classes inside tailwindcss. e.x. (in Gloabl.css see the text-style- classes)

@1GORDON ,
Thanks dear CR.
I will merge it.


1314/email dashboard

As this is a known issue with a solution already merged into the main codebase of react-email repo.
https://github.com/resend/react-email/pull/884.
The issue is anticipated to be resolved with the upcoming NPM release.
@calbertan, I recommend marking this ticket as blocked until the release of the new version.


Xpraversion and Xprarelease are only set when explicitely selecting --xpra

Warning messages due to implicit selection of xpra:
$ xpra --version
xpra v3.0.6-r25177
$ x11docker --podman --desktop --size 1400x900 x11docker/mate
x11docker note: Option --podman: experimental only.

x11docker note: Using X server option --xpra

x11docker note: Your xpra version  is out of date. It is
  recommended to install at least xpra v1.0. Look at:  www.xpra.org

x11docker note: Your xpra version does not support desktop mode.
  Please use another X server option like --xephyr or --nxagent.

x11docker note: Xpra desktop mode works best since xpra v2.2-r17117.
  You have installed lower version xpra .
  It is recommended to use --xephyr or --nxagent instead.
  Rendering issues can be reduced disabling OpenGL in Xpra tray icon. Screen
  size issues can be avoided with non-integer scaling (e.g. --scale=1.01).
...

Thank you for the report! I am looking at this.

The bug is fixed now. Thanks again!


Async call to shouldUseLocalResponse() ?

Which platform are you running AnyProxy
Linux
The version of the AnyProxy
3.10.4
Your expected behavior of AnyProxy
I need to fetch cache data from Redis if present. To do so I need to asyncronously call Redis to check if data is present, then return true or false from shouldUseLocalResponse.
For now I added a step in requestHandler, that set a req.header if Redis is to be fetched, and use this flag in shouldUseLocalResponse.
async.series([
    fetchReqData,
    PREPARE_SHOULD_USE_LOCAL
    routeReq
],function(){

Any way to support this behaviour ?
The actual behavior of AnyProxy
Only sync calls are allowed in shouldUseLocalResponse
Regards

Promise will be supported in the coming AnyProxy 4.x.
Here is a preview doc in Chinese : http://anyproxy.io/4.x/#beforesendrequest . We will release an English version soon, maybe a week or two.

Hi, AnyProxy 4.x document in English is released http://anyproxy.io/4.x/

thanks for this job !


Added the possibility to use this script from command line and fixed the creation error

Now it's possible to easily use the index.php from command line like this:
php index.php filename=PATH_TO_YOUR_FILE\WinSCP.ini > OUTPUT_FILE.xml
I updated the readme to explain the usage, too
There was an error creating the folder structure. The check was count($aFoldersToCreate) > 1 instead of > 0 and the urldecode function was missing.
The name of the session/server was defined twice in the structure which is unnecessary for fileZilla. I removed this.

Thanks a lot !

Thanks a lot !


Inconsistent names used in the create and verify steps for ZosCloudBroker

What is the link to the document from the "main" branch?
https://www.ibm.com/docs/en/cloud-paks/z-modernization-stack/2023.1?topic=broker-creating-zos-cloud-instance
Which section(s) is the issue in?
Procedure, step 6. and Verify step 3.
What needs fixing?
In Procedure step 6., name is set to zoscloudbroker but in Verify step 3., ac-zoscloudbroker-01 is specified. This can be confusing as users could infer that we add a prefix and a suffix to the name they supplied. It would be better to specify a consistent name in both cases.
Additional context

Closing this here as I had raised it against the wrong category. Now raised as https://github.ibm.com/IBM-Z-and-Cloud-Modernization-Stack/zoscb/issues/2288 .


The page component does not contain any pages

In case PDF document is opened before page component is created, the page component does not contain any page.
Code snippet to reproduce problem>
var pdfComponent = PDFFactory.PDFComponent;
pdfComponent.OpenDocument(@"....\TestData\PDFs\Precalculus.pdf");
var pageComponent = pdfComponent.LayoutComponent.CreatePageComponent("standard", PageLayoutType.Standard);
var count = pageComponent.PageCount;

The same problem occurs with the bookmarks component.


Sorting bug with the HTML  element

Describe the bug (required)
I'm trying to use an html  element with a custom icon. It will sort on the first two clicks and then it will blow up with an error similar to this SO question: https://stackoverflow.com/questions/54880669/react-domexception-failed-to-execute-removechild-on-node-the-node-to-be-re
My table head looks like this:

   {column.render('Header')}

      {column.isSorted ? (column.isSortedDesc ?  :  ) : ''}

My table config looks like this:
const data = React.useMemo(
    () => rows.map((project) => {
      return project
    }), [rows])

  const columns = React.useMemo(
    () => [
      {
        Header: () => null,
        disableSortBy: true
      },
      {
        Header: 'Name',
        accessor: 'name',
        sortType: 'basic'
      },
      {
        Header: 'Description',
        accessor: 'projectDescription',
      },
      },
    ], []
  )

  const {
    getTableProps,
    getTableBodyProps,
    headerGroups,
    prepareRow,
    page,
    canPreviousPage,
    canNextPage,
    pageOptions,
    pageCount,
    gotoPage,
    nextPage,
    previousPage,
    setPageSize,
    state: { pageIndex, pageSize },
  } = useTable({ columns, data, initialState: { pageIndex: 0, pageSize: 15 }}, useSortBy, usePagination)

Some things to note:

The icons always return the second icon (fa-sort-up). It returns the second icon regardless of the boolean column.isSortedDesc value.
I've used this logic with version 7.2 on another project and had no problems. (I was using a SVG and not the  element if that makes a difference?)
Bug happens with both version 7.2.2 and 7.6.2

Provide an example via Codesandbox! (required)
Wish I had time to set this up in codesandbox but I don't because i've spent too much time trying to figure out this bug.

Ugh, here is the reason why: https://stackoverflow.com/questions/48358529/failed-to-execute-removechild-on-node-with-fontawesome-in-react
It was a FontAwesome problem, not react-table. Sorry! (hopefully somebody in the future finds this helpful)


factory(MyClass::class)->create()->each(...) can be called more than once

Laravel Version: 5.5.#
PHP Version: 7.1.10
Database Driver & Version: MySQL PDO 7.1.10

Description:
If you call factory without specifying number of object to create, each method will be called for every row in the data-set.
I think, 1 count must be as default.
Steps To Reproduce:
esch will be called more than one time, if table of MyClass has more than one row:
factory(MyClass::class)->create()->each(function ($row) {
});

looks to be the same situation as #21780. When you don't specify a quantity, an instance is returned. This is just how eloquent works. It would be the same as calling 'each' on an empty instance of the model. This is the same functionality that allows us to inject an instance of a model, then call builder methods on it.
To get the behavior you're wanting, you need to specify the number of instances you would like. This way, you'll receive a Collection that you can iterate over.


Error: forwarding ports: error upgrading connection: error sending request:

Error: forwarding ports: error upgrading connection: error sending request: Post https://ip:port/
Output of helm version:
Client: &version.Version{SemVer:"v2.13.1", ...
Error: forwarding ports: error upgrading connection: error sending request: Post https://ip:port/api/v1/namespaces/kube-system/pods//portforward: unexpected EOF
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.7+1.2.3.el7", GitCommit:"cfc2012a27408ac61c8883084204d10b31fe020c", GitTreeState:"archive", BuildDate:"2019-05-23T20:00:05Z", GoVersion:"go1.10.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.1+2.1.5.el7", GitCommit:"ea4c95b07dd46d5563e4f6851ede13157bf04266", GitTreeState:"archive", BuildDate:"2018-03-23T02:54:15Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
Linux, Kube

Can you connect with the Kubernetes cluster using kubectl?
Tiller (the Helm server-side component) has been upgraded to the current version.
Happy Helming!
After runnig this also the, I see the same issue

Just to add.. This was working fine a few days back on another box/setup. Today I setup a new box with the same user and it stopped working on the older setup as well. (the directory /home/xxxx/ is common for a given user)

Behind the scenes, helm initialized a kubectl port-forward to tiller. Can you try establishing a connection to tiller manually using kubectl port-forward -n kube-system NAME-OF-TILLER-POD 44134:44134? Sometimes the cluster hasn’t been properly configured to handle those requests.

something like this: kubectl -n kube-system port-forward $(kubectl -n kube-system get pod -l app=helm -o jsonpath='{.items[0].metadata.name}') 44134

Behind the scenes, helm initialized a kubectl port-forward to tiller. Can you try establishing a connection to tiller manually using kubectl port-forward -n kube-system tiller-deploy-78dfcfd45d 44134:44134? Sometimes the cluster hasn’t been properly configured to handle those requests.

Its just hung there now. No output...

something like this: kubectl -n kube-system port-forward $(kubectl -n kube-system get pod -l app=helm -o jsonpath='{.items[0].metadata.name}') 44134

bash-4.2$ kubectl -n kube-system port-forward $(kubectl -n kube-system get pod -l app=helm -o jsonpath='{.items[0].metadata.name}') 44134
error: error upgrading connection: error dialing backend: dial tcp xx.xxx.xx.xxx:xxxxx: getsockopt: connection timed out
bash-4.2$

Okay. It would appear that the backend supporting the kubectl port-forward APIs is not configured properly. You’ll have to look into Kubernetes’ troubleshooting documentation and see if there’s anything to help diagnose this issue. There’s nothing on our end that we can do here, unfortunately.
Once you have that fixed, helm should work again.

Could it be because I am on VPN connection... by any chance

I can’t say that for certain, but it could be a factor.
Let us know how you fixed the issue once it’s resolved. Thanks!

I can’t say that for certain, but it could be a factor.
Let us know how you fixed the issue once it’s resolved. Thanks!

Okay .. thanks for your time.

Hi, @KaushikRout - if you're still experiencing issues, please try Helm v3; tiller has been removed, so you should no longer have this problem. Helm 2 will no longer be updated soon: https://helm.sh/blog/helm-v2-deprecation-timeline/ - thanks!

unset you proxy

unset you proxy

unset you proxy

Confirmed. Kubectl port-forwarding does not work if you set environment vars http_proxy/https_proxy or set proxy-api in ~/.kube/config. Other commands work correctly.
Steps to reproduce (first open a Socks5 proxy on <IP_ADDRESS>:1080):
## other commands work with proxy
$ https_proxy=socks5://<IP_ADDRESS>:1080 kubectl version --short=true
Client Version: v1.23.1
Server Version: v1.21.6-gke.1500

## port-forwarding fails with proxy
$ https_proxy=socks5://<IP_ADDRESS>:1080 kubectl port-forward svc/my-server 8080:80
error: error upgrading connection: error sending request: Post "https://<IP_ADDRESS>/api/v1/namespaces/argocd/pods/my-server-bc59fd78c-59knp/portforward": EOF

Has anyone found the relevant upstream bug?


sentinel mode failover by hand, how can ioredis know

If i use sentinel mode, and connected with host1 (master node), and then I exec a failover cmd on a sentinel node.  In this condition, my client will get a READONLY ERROR when i still write host1.
Should I check this error in another way or does ioredis support?

ioredis should be able to handle the failover so you don't have to. When a failover happens, Redis will disconnect all the client that connected to the old master and the new master, so ioredis will ask the sentinel servers again for the new master node. Didn't it work for you?
Get Outlook for iOS
On Fri, May 13, 2016 at 11:22 PM -0700, "hzxuzhonghu"<EMAIL_ADDRESS>wrote:
If i use sentinel mode, and connected with host1 (master node), and then I exec a failover cmd on a sentinel node.  In this condition, my client will get a READONLY ERROR when i still write host1.
Should I check this error in another way or does ioredis support?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

I know what you mean. But what I said is faillover by hand, connection between client and redis master is alive and how client know?

No matter what causing the failover, Redis always disconnects all clients so that clients are able to know whether a failover happens. Refer to http://redis.io/topics/sentinel-clients#sentinel-failover-disconnection for details.

Ok， get  it. Thanks !

Becarefull, according to http://redis.io/topics/sentinel-clients#sentinel-failover-disconnection, Sentinel failover disconnection require at least Redis 2.8.12(ioredis already point out in the documention), if you use low redis versions(like me 2.8.7), application will broken after redis failover.
I already use "reconnectOnError" options to force reconnect if READONLY, and ask op to upgrade redis.


New function: subscribeProperties

I added a new function subscribeProperties.
It is like subscribe but subscribes to changes only of a particular set (represented as an array) of properties of a state that is an object.

Appreciate the PR, but we're not looking to change the core API at this point in time.  You can always define this as your own store enhancer, though!

Appreciate the PR, but we're not looking to change the core API at this point in time.  You can always define this as your own store enhancer, though!


Added Nothing

There's something here -- I think #105 and #119 are in better alignment with the no code best practices

Has this been tested for a smooth UX?


trying new install on osx big sur at pip3 install fontbakery

following the Mac install directions, and after "pip3 install fontbakery" I get:
[various successful downloads]...
Collecting opentype-sanitizer>=7.1.9 (from fontbakery)
  Downloading https://files.pythonhosted.org/packages/7a/a8/f8058ecb3bce155789ac4b480ce7efdca7ae6915d303f1043cc24f0bbd9f/opentype-sanitizer-8.1.4.post2.tar.gz (141kB)
     |████████████████████████████████| 143kB 14.3MB/s
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: /Library/Developer/CommandLineTools/usr/bin/python3 /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /private/tmp/pip-build-env-_zyrgtxi/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel setuptools_scm 'meson >= 0.48' ninja
       cwd: None
  Complete output (50 lines):
  Collecting setuptools
    Using cached https://files.pythonhosted.org/packages/4e/78/56aa1b5f4d8ac548755ae767d84f0be54fdd9d404197a3d9e4659d272348/setuptools-57.0.0-py3-none-any.whl
  Collecting wheel
    Using cached https://files.pythonhosted.org/packages/65/63/39d04c74222770ed1589c0eaba06c05891801219272420b40311cd60c880/wheel-0.36.2-py2.py3-none-any.whl
  Collecting setuptools_scm
    Downloading https://files.pythonhosted.org/packages/c4/d5/e50358c82026f44cd8810c8165002746cd3f8b78865f6bcf5d7f0fe4f652/setuptools_scm-6.0.1-py3-none-any.whl
  Collecting meson>=0.48
    Downloading https://files.pythonhosted.org/packages/e6/e4/11fc433adb18567dcf90041c54e5e65b03e9451bc1a45f9cd2dac9e9bb05/meson-0.58.1.tar.gz (1.9MB)
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'done'
      Preparing wheel metadata: started
      Preparing wheel metadata: finished with status 'done'
  Collecting ninja
    Downloading https://files.pythonhosted.org/packages/55/a3/56376f09d6be4be5b7ebfc492d3e89cb05206a61f8c5f695a5d1e8cc49b7/ninja-1.10.0.post2.tar.gz
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'done'
      Preparing wheel metadata: started
      Preparing wheel metadata: finished with status 'done'
  Building wheels for collected packages: meson, ninja
    Building wheel for meson (PEP 517): started
    Building wheel for meson (PEP 517): finished with status 'done'
    Created wheel for meson: filename=meson-0.58.1-cp38-none-any.whl size=758341 sha256=5d25342676ef682e0dfb310c1d5a680988fb69b71989b3156cca68db648d4592
    Stored in directory: /Users/xadm-cdeliason/Library/Caches/pip/wheels/5d/b6/74/f4181f4e2320e75faf1b694790dcf3e84c3cb9ff8379a03d78
    Building wheel for ninja (PEP 517): started
    Building wheel for ninja (PEP 517): finished with status 'error'
    ERROR: Command errored out with exit status 1:
     command: /Library/Developer/CommandLineTools/usr/bin/python3 /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpmgep5g8q
         cwd: /private/tmp/pip-install-79jn83tr/ninja
    Complete output (9 lines):
      File "/private/tmp/pip-build-env-pal3uvds/overlay/lib/python3.8/site-packages/skbuild/setuptools_wrap.py", line 560, in setup
        cmkr = cmaker.CMaker(cmake_executable)
      File "/private/tmp/pip-build-env-pal3uvds/overlay/lib/python3.8/site-packages/skbuild/cmaker.py", line 95, in __init__
        self.cmake_version = get_cmake_version(self.cmake_executable)
      File "/private/tmp/pip-build-env-pal3uvds/overlay/lib/python3.8/site-packages/skbuild/cmaker.py", line 81, in get_cmake_version
        raise SKBuildError(
    Traceback (most recent call last):

    Problem with the CMake installation, aborting build. CMake executable is cmake
    ----------------------------------------
    ERROR: Failed building wheel for ninja
    Running setup.py clean for ninja
  Successfully built meson
  Failed to build ninja
  ERROR: Could not build wheels for ninja which use PEP 517 and cannot be installed directly
  WARNING: You are using pip version 19.2.3, however version 21.1.3 is available.
  You should consider upgrading via the 'pip install --upgrade pip' command.
  ----------------------------------------
ERROR: Command errored out with exit status 1: /Library/Developer/CommandLineTools/usr/bin/python3 /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /private/tmp/pip-build-env-_zyrgtxi/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel setuptools_scm 'meson >= 0.48' ninja Check the logs for full command output.
WARNING: You are using pip version 19.2.3, however version 21.1.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

I'm new enough at this that I have no idea how to parse this or what to try next.

@anthrotype / @m4rc1e, this seems to indicate something broken on the opentype-sanitizer package when building for osx big sur. Any idea what could that be?

it's trying to build ninja from source instead of downloading a pre-compiled wheel package. maybe the ninja maintainer haven't published a pre-compiled wheel for that platform yet.
You said "big sur". Do you know whether it's one of the new macs with the M1 chip?

Indeed, the list of wheels on ninja's PyPI page currently only has mac wheels for x86_64 architecture, none for arm64 or "universal2" (which includes binaries for both)
https://pypi.org/project/ninja/1.10.0.post2/#files

My laptop has a 6-Core Intel Core i7.

this is the relevant issue upstream https://github.com/scikit-build/ninja-python-distributions/issues/41

Intel Core i7

hm so it's not about the architecture (as that one is still x86_64).. 🤔

have you tried to pip install --upgrade pip as suggested in the error message?

good, closing as solved


[Bug] Import Issues: ambiguous import: found package github.com/btcsuite/btcd/chaincfg/chainhash in multiple modules

Describe the bug
Run go mod tidy
github.com/benri-io/**/**** imports
        github.com/tbd54566975/ssi-service/pkg/server imports
    github.com/tbd54566975/ssi-service/pkg/service/did imports
    github.com/TBD54566975/ssi-sdk/did/ion imports
    github.com/btcsuite/btcd/btcec/v2/ecdsa tested by
    github.com/btcsuite/btcd/btcec/v2/ecdsa.test imports
    github.com/btcsuite/btcd/chaincfg/chainhash: ambiguous import: found package github.com/btcsuite/btcd/chaincfg/chainhash in multiple modules:
    github.com/btcsuite/btcd v0.22.0-beta<EMAIL_ADDRESS>    github.com/btcsuite/btcd/chaincfg/chainhash v1.0.2<EMAIL_ADDRESS>
Temporary fix:
go get -d<EMAIL_ADDRESS>Expected behavior
No import issue
Supporting Material
https://github.com/btcsuite/btcd/issues/1937
Environment (please complete the following information):

OS: macOS

Additional context
Add any other context about the problem here.

https://github.com/golang/go/issues/60352


Turn the WCAG 2.2 design elements into macros

What
Turns the WCAG 2.2 callouts and criteria notes linked to by the callouts into respective macros and replaces all instances of the callouts and notes in guidance with the macros.
Additionally, this PR fixes few missed duplicate content issues found in content, adjusts the classes used for the WCAG designs to be more specific to their function and moves the override of strong element styling when they're govuk tags into prose scope since we always want our tags to be regular font size.
Why
The WCAG 2.2 designs are repeated across 34 pages of content and we're effectively rebuilding them every time we use them. Turning them into macros makes the website lighter and our content less complex.
We've gone back and forth around if we want to do this since the designs are going to be removed eventually, however even if it's a few months, it's still worth doing for neatness and it makes these designs easier to repurpose in the future.
Notes
I'm not super happy with how I've managed inconsistencies between the callout content. The introType attribute feels a bit hacky but managable, however the override attributes which I'm only using for the images page feel messy. I'm not sure if there's a better alternative though and welcome suggestions from others on this.

@querkmachine @romaricpascal I've addressed both your comments. Whilst you've both already approved, to be belt and bracers could I get one of you to sus this out one more time?


Better perf on mobile

Currently, doesn't run on mobile, probably due to large canvas size.
Try detecting memory / CPU available?

Use Timestamp queries? https://gpuweb.github.io/gpuweb/#timestamp


No longer works after update to ASP.NET Core RC2

I am receiving the following error when updating the nugget packages:
Package Microsoft.AspNetCore.SpaServices 1.0.0-beta-000002 is not compatible with net452 (.NETFramework,Version=v4.5).
So it's telling me that it is not compatible to full .net framework? How can I resolve this? Thank you.

Ok, so after digging the migration documentaions, it seems that I need to add this entry to my project.json.
"frameworks": {
    "netcoreapp1.0": {
      "imports": [
        "dotnet5.6",
        "dnxcore50",
        "portable-net45+win8"
      ]
    }
  },

After doing this, the packages successfully restored.
But I cannot compile because of this error:

Can not find runtime target for framework '.NETCoreApp,Version=v1.0' compatible with one of the target runtimes: 'win10-x64, win81-x64, win8-x64, win7-x64'.

I add the following to resolve this:
"runtimes": {
    "win10-x64": { }
  },

What I don't understand is why is this not in the ASP.NET Core Template project that comes with the tooling.


Added New Relic micrometer extension

Signed-off-by: Cem Nura<EMAIL_ADDRESS>

I merged your PR which fixed the first problem.
Looking into the second problem.

@all-contributors please add @cemnura for newrelic

@all-contributors please add @cemnura for adding code to support newrelic


Fix None handling errors

These are recurring errors in my logs:
thread 'tokio-runtime-worker' panicked at 'called `Option::unwrap()` on a `None` value', src/sources/anubisdb.rs:23:14
thread 'tokio-runtime-worker' panicked at 'called `Option::unwrap()` on a `None` value', src/sources/wayback.rs:27:35

This PR fixes those.

I see this might unintentionally fix #21!

Clippy runs on my machine, not sure what's wrong

I've been getting these Clippy errors locally, but this looks fine to me maybe I'll fix the lint in the future.


how to use with prometheus operator

It would be great to get some hint how to use this exporter with the prometheus operator helm chart...

it lokks like this setup is needed:
    prometheus-node-exporter:
      extraArgs:
        - --collector.textfile.directory=/host/root/var/lib/node_exporter

I'll look into adding more docs when working on a Helm chart for this image.

I have added a node_exporter Configuration here https://github.com/galexrt/container-node_exporter-textfiles/blob/main/docs/node_exporter.md
For Kubernetes users a helm chart has been added, see https://github.com/galexrt/container-node_exporter-textfiles/tree/main/charts/node-exporter-textfiles
I hope this make using this project easier.
Please note that I have renamed the git repo and image name, see the notice in the readme: https://github.com/galexrt/container-node_exporter-textfiles#container-node_exporter-textfiles


add_example docs

此为PR说明模版
如提交的为部署C++代码，请确认以下自测点是否完成（完成勾选即可），并保留以下的自测点列表，便于Reviewer知晓。

[ ] Linux下测试通过

[ ] batch = 1 预测

[ ] batch > 1预测

[ ] 多GPU卡预测

[ ] TensorRT预测

[ ] Triton预测

[ ] Windows下测试通过

[ ] batch = 1预测

[ ] batch > 1预测

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.yuzhiliang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

add_example docs for 2.1


isMatched not set when rebuilding tree by setting nzData with nzTreeTemplate

Reproduction link
https://stackblitz.com/edit/angular-w9iuev?file=src/app/app.component.ts
Steps to reproduce
Click the "Reload" button in the stackblitz.
Or create a tree component with a custom template, reference it with ViewChild and try to use this.tree.nzSearchValue.
What is expected?
The component should update with highlighting. The nz-tree-node component should get the isMatched values and calculate matches. You can comment out the custom template to see how it should happen.
What is actually happening?
The tree node just doesn't get updates and highlighting fails.

Environment
Info

ng-zorro-antd
8.1.2

Browser
chrome

check this: https://stackblitz.com/edit/angular-w9iuev-waryg5?file=src/app/app.component.ts
and your code has errors:

<ng-template #nzTreeTemplate let-node>
  {{node.isMatched}}
  <ng-container *ngIf="node?.isMatched">
    *** you don't define highlightKeys and nzSearchValue
    {{highlightKeys[0]}}{{nzSearchValue}}{{highlightKeys[1]}}
  </ng-container>
  <ng-container *ngIf="!node?.isMatched">
    {{node.title}}
  </ng-container>
</ng-template>

you can use nzHighlight pipe of ng-zorro-antd:
<ng-template #nzTreeTemplate let-node>
  {{node.isMatched}} -

</ng-template>

Thanks @simplejason. Is nzHighlight a documented pipe? I don't see it when searching documentation.

Maybe we should add it to the document too. 🤔

This issue has been closed due to inactivity.


fix(Auth): Help modal authentication

@clarkjefcoat @blaino

:+1:

:+1: It appends the appropriate 0,1,2 to the help URL based on user highest role level.


Re-enable device file opening

Re-enable device file opening for service_reconfiguration example.

Has been enabled by another commit.


Update Changelog for 0.1.33

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
13 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.1%) to 77.616%

Files with Coverage Reduction
New Missed Lines
%

src/compiler/sexp.rs
13
77.53%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
7039

Relevant Lines:
9069

💛  - Coveralls


Introduce PostCSS/SCSS for better CSS writing experience

Revisit this issue today, and found myself not quite in the mood for writing CSS. Maybe I will do this months later.
Anyway it works (despite been a little bit messy), why bother?


Add moduleForIntegration

This PR moves component integration testing behavior into its own module named (unsurprisingly :smile:) TestModuleForIntegration. This new module now depends on AbstractTestModule instead of TestModule thus removing boilerplate. Additionally, the new module doesn't contain behavior associated with 'legacy' and unit tests.

This looks good to me. I'm happy to land this and iterate.
@mmun r?

@rwjblue r+


French versions Is not up to date (SMTP opening)

[Enter feedback here]
French versions https://docs.microsoft.com/fr-fr/azure/virtual-network/troubleshoot-outbound-smtp-connectivity
Is not up to date (it should say that pay as you go cannot open port 25)
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 027fa865-2329-23de-3740-cfbe35359302
Version Independent ID: 99f0a52f-8df4-f8d4-3d4e-778fea2a389f
Content: Troubleshoot outbound SMTP connectivity in Azure
Content Source: articles/virtual-network/troubleshoot-outbound-smtp-connectivity.md
Service: virtual-network
GitHub Login: @genlin
Microsoft Alias: genli

Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.


Strings and letters radio buttons for randomTextColor.js

I assume some might want to have to color text not by words, but by strings or sentences or letters. Perhaps even a delimiter mode can be used, where not only a dot-period can be used to track ends of sentences.

Hi, gchegr .
Thanks for the feedback.
Nice idea.
I will try to respond as soon as possible.

Added the function to change colors by character or sentences.


How to display the exact x value provided to FlSpot in SideTitles?

I need to display the exact x values that I've provided to spots, but when I get the value in getTitlesWidget it is different from the original data. Actually, I don't want the interval changes the value. Is it possible with fl_chart?
By the way, thanks for the awesome package!
...
                    bottomTitles: AxisTitles(
                      sideTitles: SideTitles(
                        showTitles: true,
                        reservedSize: 20,
                        interval: 600,
                        getTitlesWidget: (value, meta) {
                          final dateFormat = intl.DateFormat("H");
                          return Text(
                            dateFormat.format(
                              ViewHelper()
                                  .convertTimeStampToDate(value.toInt()),
                            ),
                          );
                        },
                      ),
                    ),
...

Too little information to help u.
But I have the same use case and it works for me. So check your input again.

Thanks for the tip. I will check it again. @RobinJespersen

Did it work? @shahpasandar

I have the same issue in LineChart, the value passed to getTitlesWidget is not the same than the actual data.

Guys, I didn't understand the issue. Can anybody explain it and provide a reproducible code (a simple main.dart file)?

Hey, how did you solve the problem? Can you please share?

Guys, I didn't understand the issue. Can anybody explain it and provide a reproducible code (a simple main.dart file)?

Hi, hope you are fine
Example: I have this  List
[(0.0, 0.0), (21.6, 0.0), (23.4, 100.0), (64.8, 100.0), (66.6, 0.0), (86.4, 0.0)]
Value doesn't contains 21.6 , 23.4 , 64.8 and 66.6 it only contains 21.0, 23.0, 64.0, 66.0
Need value to contains numbers with decimals difering to 0
Value contains:
flutter: 0.0
flutter: 1.0
flutter: 2.0
flutter: 3.0
flutter: 4.0
flutter: 5.0
flutter: 6.0
flutter: 7.0
flutter: 8.0
flutter: 9.0
flutter: 10.0
flutter: 11.0
flutter: 12.0
flutter: 13.0
flutter: 14.0
flutter: 15.0
flutter: 16.0
flutter: 17.0
flutter: 18.0
flutter: 19.0
flutter: 20.0
flutter: 21.0
flutter: 22.0
flutter: 23.0
flutter: 24.0
flutter: 25.0
flutter: 26.0
flutter: 27.0
flutter: 28.0
flutter: 29.0
flutter: 30.0
flutter: 31.0
flutter: 32.0
flutter: 33.0
flutter: 34.0
flutter: 35.0
flutter: 36.0
flutter: 37.0
flutter: 38.0
flutter: 39.0
flutter: 40.0
flutter: 41.0
flutter: 42.0
flutter: 43.0
flutter: 44.0
flutter: 45.0
flutter: 46.0
flutter: 47.0
flutter: 48.0
flutter: 49.0
flutter: 50.0
flutter: 51.0
flutter: 52.0
flutter: 53.0
flutter: 54.0
flutter: 55.0
flutter: 56.0
flutter: 57.0
flutter: 58.0
flutter: 59.0
flutter: 60.0
flutter: 61.0
flutter: 62.0
flutter: 63.0
flutter: 64.0
flutter: 65.0
flutter: 66.0
flutter: 67.0
flutter: 68.0
flutter: 69.0
flutter: 70.0
flutter: 71.0
flutter: 72.0
flutter: 73.0
flutter: 74.0
flutter: 75.0
flutter: 76.0
flutter: 77.0
flutter: 78.0
flutter: 79.0
flutter: 80.0
flutter: 81.0
flutter: 82.0
flutter: 83.0
flutter: 84.0
flutter: 85.0
flutter: 86.0
flutter: 86.4

Hey, how did you solve the problem? Can you please share?

Check interval and change it from here:
sideTitles: SideTitles(
showTitles: true,
interval:1,

Is this issue resolved?


Updated to PM5

Changed version number to PM5
Changed some classes to readonly
Added exception comments

I'm a bit confused about that RandomException and the readonly.
Why!?

The Exception only shows that there is a possibility an exemption could
happen & i added the readonly since the functions are only read but feel
free to remove it😭
DataLioness @.***> schrieb am Mo. 29. Apr. 2024 um
13:48:

I'm a bit confused about that RandomException and the readonly.
Why!?
—
Reply to this email directly, view it on GitHub
https://github.com/TheDataLioness/SkinBan/pull/3#issuecomment-2082512483,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A25BEYELQ4QFLY2NIVMTDIDY7YXQBAVCNFSM6AAAAABG6ENKOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBSGUYTENBYGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


Generate file types from flags

Why
Having a few thousand lines of generated code in a single file isn't always readable.
Having the ability to break down those files for easier navigation is something I was using before, but had to run 2 commands.
With the revamp of the cli, I am hoping that this can be natively supported.
Example
This following snippet should generate 2 files, a types one, with all the structs and possibly Binder methods, and a server one, with the routing, binding and interfaces.
Example command
goapi-gen --server=server.gen.go --types=types.gen.go

Edge case
By default, the server relies on the models, so in case the typed flag is empty, the types should be generated too, in the server.

This is pain, and clearly not worth it. There's barely any advantage. In hindsight, this would be worse than before.


27545 - Tuareg - Suggest splitting

Society 27545
Rename: "Tuareg Ahaggar" or "Kel Ahaggar"? or "Kel Ahaggar Tuareg"? Could use some guidance on what name to use from @kirbykat @annalwood
Keep songs 9246, 702, and 3209 assigned to it.
Keep matched with xd506, Tuareg Ahaggar (Cc9), language hogg1238.
This society refers to the Tuareg of the Hoggar Mountains.

Create new society
Name: "Kel Adagh" (or Adrar) or "Kel Ifoghas" (or Iforas) or some variation on that, with or without "Tuareg"
Assign songs 704, 705, 3210.
Match with xd490, Ifora (Cc12), language tadh1242.
This society refers to the Tuareg of the Adrar des Iforas region.

Song 703 currently has lat-lon in Tamesna, Morocco, but that is incorrect. It should be in the Tamesna region of Niger (roughly 18.84, 4.43). Liner notes list performers as a group of both Kel Ahaggar and Kel Iforas, so perhaps we could simply assign to one or the other and make a note in the metadata.

The remaining songs are less clear-cut.
Of the 3 songs whose location is "Damergu," only song 956 is explicitly listed as being from Damergu in the liner notes. Songs 954, 955, 3208, and 3212 don't have an explicit location listed in their liner notes. However, I'm inclined to just leave the locations as is, since they all seem to be in the general region discussed in the liner notes. Lat-lon for songs assigned to Damergu should be corrected though, to 15, 8.92.
Liner notes for 955, 3208, and 3212 identify performers as "Kel Issekeneren." I couldn't find anything online aside from the original source that used that name, but I found several sources explaining that "Isekkemaren" are people of mixed Arab and Tuareg descent. From what I can tell they reside with several different Tuareg clans (they are sometimes described as a class).

In terms of assigning these to a society, they are all fairly close to the Aïr Mountains, and so the best match would probably be named Kel Aïr or a variation of that, matched to xd488, Asben (Cc10), language taya1257. I could note in the song metadata that this is a rough match.
@annalwood, @kirbykat, @SamPassmore , please weigh in if you think a different solution would be better.

Created Kel Aïr society, matched to xd488, Asben (Cc10), language taya1257, and assigned songs named in item 4 to that society. Other suggestions implemented as written.


Requirements about the training face dataset

Hello,
Thanks for your great works.
I want to know whether this model training has some requirements on the dataset such as dataset size,  image scenes,  data prepocessing method.
Looking forward to your reply.

Hi @qiangz520, there is no requirement on the dataset. All face datasets are applicable.

Do you train the model successflly? Could you give me some advise?


Sign in logs contain information on Success as well as failure events.

The customers came back asking if only failure sign in logs will be displayed in case of CAE and not success logs , As the documentation doesn't specify anything particularly. We reproduced at our end and both success and failure logs are displayed

@kanishka1234 : Thanks for your contribution! The author(s) have been notified to review your proposed change.