apache2-utils for suse

Hi,
I tried with opensuse and sles the cookbook as well, but there wasn't httpd-tools package there, only apache2-utils. My suggestion would be in default.rb attribute file:
from
default['htpasswd']['packages'] = value_for_platform_family(   ['rhel', 'fedora', 'suse'] => ['httpd-tools'],   ['default', 'debian'] => ['apache2-utils'] )
to
default['htpasswd']['packages'] = value_for_platform_family(   ['rhel', 'fedora'] => ['httpd-tools'],   ['default', 'debian', 'suse'] => ['apache2-utils'] )
Thanks and regards
Béla Szabó

@beco9292 don't hesitate to do a pull request :)


update the cmdlets to 'AzureRm' naming

the existing cmdlets are not working since the 'AzureRm' named cmdlets are out.

@tujamg : Thanks for your contribution! The author, @bryanla, has been notified to review your proposed change.

Hi, @tujamg. The Key Vault articles have already been updated for the new Az module; see https://docs.microsoft.com/azure/key-vault/quick-create-powershell, for example. Did you come across an instance of the AzureRM cmdlets remaining in the docs?

I got confused when it said powershell and I copied it in my local windows powershell ISE and things did not work. I did recheck now and realized that docs examples are targeted towards powershell on bash. If this is true please reject the PR.
From: M. Baldwin<EMAIL_ADDRESS>Sent: Tuesday, February 26, 2019 8:33 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Tushar Jamgaonkar<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] update the cmdlets to 'AzureRm' naming (#25521)
Hi, @tujamghttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftujamg&data=02|01|tujamg%40microsoft.com|b5c9c8bd6a4842aad4cf08d69c080435|72f988bf86f141af91ab2d7cd011db47|1|0|636867955574212910&sdata=d3Eav%2FYPBXZ3vpZ9y9rq8pPei0Rkt8Pzw4ZP%2FGYTXso%3D&reserved=0. The Key Vault articles have already been updated for the new Az module; see https://docs.microsoft.com/azure/key-vault/quick-create-powershellhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fkey-vault%2Fquick-create-powershell&data=02|01|tujamg%40microsoft.com|b5c9c8bd6a4842aad4cf08d69c080435|72f988bf86f141af91ab2d7cd011db47|1|0|636867955574222915&sdata=S%2B9vHkCyNLz1h8znuOL9CwxJk3pvjMrsnQQOFtS0SJE%3D&reserved=0, for example. Did you come across an instance of the AzureRM cmdlets remaining in the docs?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F25521%23issuecomment-467511032&data=02|01|tujamg%40microsoft.com|b5c9c8bd6a4842aad4cf08d69c080435|72f988bf86f141af91ab2d7cd011db47|1|0|636867955574222915&sdata=GMtloIePZOpdQnEQPLXwTjuzo0x6EYPDhI2ZU9B5Dc0%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALisQLZPpy3T3wzKA8R46rpoka_LLCuUks5vRWGkgaJpZM4bI-gp&data=02|01|tujamg%40microsoft.com|b5c9c8bd6a4842aad4cf08d69c080435|72f988bf86f141af91ab2d7cd011db47|1|0|636867955574232932&sdata=mEFjqykf%2Fjiuib35HBLab8yLrOU7LVSHiF6soKfHEV4%3D&reserved=0.

@msmbaldwin -  can you provide specific guidance for this PR.

#sign-off if it's ready to merge
#hold-off if it requires changes before it's ready for sign off
#please-close - if these changes aren't going to be merged

Thanks!

Yes @tujamg, these commands are intended to be run in a Powershell window. It may also be that you have not yet installed the Az module locally (see https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-1.4.0).
But thank you for taking the time to try and improve our documentation. We appreciate it.
#please-close


RISC-V multi-core computation

I am working on a RISC-V architecture ML chip that has many cores. IREE is used to enable ML models on my chip. However, I am not sure if multi-core is supported in RISC-V.
I find --task-topology_group_count=1 in the CMake code. Does this indicate the number of threads or cores? If not, which file should be modified to add these features?
Does anyone have some ideas?
Thanks so much!

Hi @hahayeong,
task_topology_group_count refers to the number of threads. I've been using it on RISC-V. You can use it with iree-benchmark-module or any other runner tools (e.g, iree-run-mlir, iree-run-module`, etc.).
Feel free to reach out if you have any other questions!
Diego

Hi @dcaballe ,
Thanks so much for your swift reply.
As my RISC-V chip will have many cores to run threads that are designed to achieve parallel computations of matrix multiplications, may I know if I need to implement this part by myself or if the current IREE has supported the multi-thread matrix multiplications?
Btw, I am also if there is a max limit for task_topology_group_count, as my designed chip has hundreds of cores (similar to CUDA cores).
Best,
Yeong

The task system is for coarse-grained workgroups on a reasonable number of workers. If you're on 2 to 64 big cores (or multiple sets of those on independent NUMA nodes) then our task system should work fine. If you're doing low-level dispatch where you control interrupts/scheduling/etc on hundreds+ cores then you're going to have to build that yourself as it gets very hardware/platform dependent. There may be some reusable components in there but it'll end up much easier to debug/tune if that fine-grained scheduling is handled by you - you don't want to be using any kind of syscalls to manage thousands of threads :)

Hi @benvanik ,
Does IREE Python binding support multi-threads setting?
I use local-task driver and pass it to load_vm_flatbuffer_file API but it barely speeds up. (compare #1 core vs #4 core, etc.)


Allow linux host in Animas device config

….+ comName present on system
Tested on tag v2.2.0 of master tree.

Could you please mention the Linux distro and version number you tested this with, as well as which Animas pump you used?

Yes, updated in first comment, Gentoo Linux (64 bits rolling release) and Animas Vibe pump.

 Suppress noisy platform log messages.

Closing this PR, as linux: true has been the case for Animas for a while now.


docs(readme): update twitter url

Please read and mark the following check list before creating a pull request:

[x] I read and followed the CONTRIBUTING.md guide.
[x] I read and followed the New Feature Checklist guide.

Short description of what this resolves:
Fix Twitter URL.

@Hongbo-Miao thanks for noticing.

@Hongbo-Miao thanks for noticing.


Update thumbnail css

Before

After

Hi @Mohab25, what do you think about this change?

@Fanevanjanahary much better look, thank you


Carousel: Remove slider max-height for desktop widths

This seems to be the cause of issue #194 .
slider.style.maxHeight = ${img.height}px; at carousel.js:122 is breaking the slider design in browser widths greater than around 1615px; my quick testing suggests you don't need to apply max-height above 600px wide.

@helms-charity I doubt this is the issue..as this shift is happening on all the pages (except 404) eg; https://main--888de--aemsites.hlx.page/banking. Looking into this further.

OK -- I have updated my comments in #194 since the login shift isn't isolated to the home page. But... The max-height is breaking the design still :-)


Microsoft.Azure.SignalR.ServiceConnection

Microsoft.Azure.SignalR.ServiceConnection|ERROR|Service timeout. 30000.00ms elapsed without receiving a message from service.

I am closing this issue as it contains little information for us to trouble shoot the issue. Could you please update the issue in detail inside https://github.com/Azure/azure-signalr/issues/250 for us to investigate?


Fixing FP on "Sharepoint fake file share" rule

/mql-mimic-exempt 324490, 329556, 144088, 144089, 144091, 144092, 144090


Add a resource

Extend the project to add a resource:

create a form requiring a URI in src/Components/DataAdder.js
send back the updated contents to GitHub in src/Hooks/useGitHubContents.js (see GitHub API documentation)

Ill pick up this issue :)


Installation slack link

We can notify after installation about our slack and other user resources that can be useful.
The main thing to check first is if it's readable and noticeable.

@idomic It looks like it's not possible to print a custom message after a successful pip package installation from PyPI.
There are some walkarounds but none of them looks promising. I think we can close it.


Can't view user online to chat with after proper configuration

Chat is not showing up and also people that are using the app and logged in are not showing after all configuration is done, is there a special way of using the app, kindly assist on how to get started with the chat and group chat, have been able to log into the app on two different phone and two difference account but can't still communicate with each other. @bensmiley  kindly assist

Have gone through the docs multiple times, someone should kindly help @bensmiley

@sodiqOladeni When you say - people are not showing up? Do you mean that they can't be found in the user search? Have you looked at our tutorial videos? If you have a specific question I can try to help, it since I don't know what you've done for the integration, I can't really say what's gone wrong! If you need extra support, you could consider purchasing an hour of priority support so we can look over your project in more detail.

@bensmiley
Same here, I followed the docs and tutorial videos in integrating the app. I have 2 users logged in but I cant seem to find the other user when searching for contacts

@alishouman could you download the standard version of the app and see if search is working? Also, what are you using to search? The user's name or email or phone number?

@bensmiley
My bad! I thought all of the users would be listed under contacts to choose from without having to specifically search for their names. Thanks for getting back to me.

@bensmiley I actually thought the same thing with @alishouman  but when is now search for the registered user i'm still getting a toast saying "No match found", please can be the cause of that ? @alishouman were you able to add users

@sodiqOladeni Have you added the security rules? Can you look at your Firebase database and look at the users/[user id]/meta path and verify that the string you are searching for does exist?

@bensmiley thanks for your time, i added the security rules, but on checking firebase database there is no tree users/[user id]/meta, my database is missing the "user id" part, kindly check the image below for the structure of my database for more understanding.

@bensmiley how can i make it work, have been searching for the email that is present in the database but is still giving error "No match found"


Test: Refine fine-grained shuffle ut

What problem does this PR solve?
Issue Number: ref #4609
Problem Summary:
remove setFineGrainedShuffleForExchange in fine-grained shuffle MPP test.
What is changed and how it works?

set fine_grained_shuffle_stream_count in toMPPSubPlan.
rename some test name.

Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/merge


proteomicsLFQ failing with a "correct" SDRF

Description of the bug
@jpfeuffer @daichengxin :
ProteomicsLFQ is failing with this SDRF: https://github.com/multiomics/multiomics-configs/blob/master/projects/additional-reanalyses/PXD007145/PXD007145.sdrf.tsv for me it looks OK, but Im getting the following error:
  ProteomicsLFQ \
      -threads 12 \
      -in 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_1_5.mzML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_1_1.mzML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_4_6.mzML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_10_2.mzML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_10_1.mzML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_10_5.mzML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_1_6.mzML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_4_4.mzML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_10_6.mzML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_10_3.mzML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_1_4.mzML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_1_2.mzML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_4_5.mzML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_1_3.mzML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_4_2.mzML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_10_4.mzML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_4_3.mzML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_4_1.mzML \
      -ids 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_1_5_comet_feat_perc_pep_filter.idXML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_1_1_comet_feat_perc_pep_filter.idXML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_4_6_comet_feat_perc_pep_filter.idXML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_10_2_comet_feat_perc_pep_filter.idXML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_10_1_comet_feat_perc_pep_filter.idXML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_10_5_comet_feat_perc_pep_filter.idXML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_1_6_comet_feat_perc_pep_filter.idXML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_4_4_comet_feat_perc_pep_filter.idXML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_10_6_comet_feat_perc_pep_filter.idXML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_10_3_comet_feat_perc_pep_filter.idXML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_1_4_comet_feat_perc_pep_filter.idXML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_1_2_comet_feat_perc_pep_filter.idXML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_4_5_comet_feat_perc_pep_filter.idXML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_1_3_comet_feat_perc_pep_filter.idXML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_4_2_comet_feat_perc_pep_filter.idXML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_10_4_comet_feat_perc_pep_filter.idXML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_4_3_comet_feat_perc_pep_filter.idXML 20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_4_1_comet_feat_perc_pep_filter.idXML \
      -design PXD007145.sdrf_openms_design.tsv \
      -fasta uniprot_yeast_human_rerviewed_decoy.fasta \
      -protein_inference aggregation \
      -quantification_method feature_intensity \
      -targeted_only false \
      -mass_recalibration false \
      -transfer_ids false \
      -protein_quantification unique_peptides \
      -alignment_order star \
      -PeptideQuantification:quantify_decoys \
      -psmFDR 0.01 \
      -proteinFDR 0.01 \
      -picked_proteinFDR true \
      -out_cxml PXD007145.sdrf_openms_design_openms.consensusXML \
      -out PXD007145.sdrf_openms_design_openms.mzTab \
      -out_msstats PXD007145.sdrf_openms_design_msstats_in.csv \
      -out_triqler PXD007145.sdrf_openms_design_triqler_in.tsv \
      -debug 0 \
      |& tee proteomicslfq.log

  cat <<-END_VERSIONS > versions.yml
  "NFCORE_QUANTMS:QUANTMS:LFQ:PROTEOMICSLFQ":
      ProteomicsLFQ: $(ProteomicsLFQ 2>&1 | grep -E '^Version(.*)' | sed 's/Version: //g' | cut -c 1-50)
  END_VERSIONS

Command exit status:
  8

Command output:
  Error: Unexpected internal error ((Fraction Group, Fraction, Label) combination can only appear once)

Command wrapper:
  Error: Unexpected internal error ((Fraction Group, Fraction, Label) combination can only appear once)

Work dir:
  /hps/nobackup/juan/pride/reanalysis/quantms-benchmark/PXD007145/work/6d/bd66795d4fad6a518c04a8b91b35d4

Tip: when you have fixed the problem you can continue the execution adding the option `-resume` to the run command line

This is how it looks the openms config:
Fraction_Group	Fraction	Spectra_Filepath	Label	Sample
1	1	20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_1_1.mzML	1	1
2	1	20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_1_4.mzML	1	2
3	1	20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_10_1.mzML	1	3
2	1	20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_1_2.mzML	1	1
3	1	20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_4_2.mzML	1	2
4	1	20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_10_2.mzML	1	3
3	1	20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_1_3.mzML	1	1
4	1	20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_4_3.mzML	1	2
5	1	20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_10_3.mzML	1	3
4	1	20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_4_1.mzML	1	1
5	1	20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_4_4.mzML	1	2
6	1	20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_10_4.mzML	1	3
5	1	20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_1_5.mzML	1	1
6	1	20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_4_5.mzML	1	2
7	1	20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_10_5.mzML	1	3
6	1	20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_1_6.mzML	1	1
7	1	20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_4_6.mzML	1	2
8	1	20171106_LUMOS1_nLC13_AH_TechBench2_LFQ_10_6.mzML	1	3

Sample	MSstats_Condition	MSstats_BioReplicate
1	SP=Yeast;CT=Mixture;QY=1	1
2	SP=Yeast;CT=Mixture;QY=4	2
3	SP=Yeast;CT=Mixture;QY=10	3

Command used and terminal output
No response
Relevant files
No response
System information
No response

No, the fraction groups must be different for each sample. In this case 1-18

We have there different technical replicates, all going from 1-6, and each sample is a biological replicate.

I know. But does not make a difference. They are all different fraction groups.

How did you fix it? For future reference.

We corrected the biological replicates and the sample names. https://github.com/multiomics/multiomics-configs/blob/master/projects/additional-reanalyses/PXD007145/PXD007145.sdrf.tsv
Im playing today with the tolerances to get more ids.


The MediaKeySessionConfiguration type definition misses the "sessionTypes" property

TypeScript Version:  2.6.0
Hi, As the title suggest, the MediaKeySessionConfiguration type, which is used in EncryptedMediaExtensions APIs on supported browsers, seems to miss its sessionTypes property, which should be an array of string as defined here.
I checked all definition files where it is defined (by the way I find it hard to know on which es[x].d.ts file it should be defined, since this is more of a W3C spec than a ECMA one), only this property seems to be missing.
Code
function foo(x : MediaKeySystemConfiguration) : string[] {
  return x.sessionTypes;
}

Expected behavior:
Should work.
Actual behavior:
TypeScript complains that:
Property 'sessionTypes' does not exist on 'MediaKeySystemConfiguration'.

PRs welcomed. You can find more information about contributing lib.d.ts fixes at https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md#contributing-libdts-fixes.

Seems like that issue has been resolved already with commit 2f9218f346b by @sandersn

Just looking at old issues; yes, this was fixed a while ago (as noted above).


endsWithEOF parse error handling

Would be great to warn developers if a template is found ending in states that have parse errors
Reference: EOF parse error handling as in https://html.spec.whatwg.org/multipage/syntax.html#tokenization

should we in general warn the developer if the template does not end with DATA state if it is not a partial template?

that could be a temp fix.
The spec defines that there're no parse errors (warnings) if a file ends in  https://html.spec.whatwg.org/multipage/syntax.html#rawtext-state and some others though.


update remote node screenshots for v18

Screenshots were outdated, replaced with newer screenshots. AVIF format used.

Thanks, LGTM , #2367 can build on top of this


Inconsistent implementation of TextSpan in google.cloud.language

In the documentation for Google Language, you refer to TextSpan objects as having two properties: content and beginOffset
This is correctly implemented in google.cloud.language.entity, however, in google.cloud.language.syntax the TextSpan objects are not implemented and are instead mapped to newly defined properties of Syntax objects called 'text_content' and 'text_begin'.

:thumbsup:


Right To Left

Hello
i was made new files for show right to left  side menu in rtl language like persian, ordu and arabic.
i hope like this :-)

Hello Alma, as you see this branch has no conflict with your base branch,
this branch made for people by right to left language have menu in right by all changes need only by two step.
thanks for your awesome panel

Hello @hamid80386,
We greatly appreciate the effort you put into this and we realize the need for an RTL version by an overwhelming amount of our users. However, your implementation contains many issues at the moment. Here are a few:
1- The control sidebar still appears on the right when it should be on the left

2- The tasks navbar dropdown menu  gets sliced

3- Some text using sidebar mini disappears

The problem is that with our implementation of AdminLTE v2 at this time is that it makes it really difficult to create an RTL version. In AdminLTE v3, we are going to use SASS conditionals to make sure that every component in AdminLTE is implemented correctly in both RTL and LTR. We appreciate your patience and look forward to your future contributions.
Sincerely,
Abdullah

tnx for review
i will solve the problems and re-commit ;-)


"prove Humanity" more than once same wallet on multiple machines

The Issue
I authenticated my wallet on one machine, and have installed LBRY on a second.  I loaded my wallet from backup, but it is now asking me again to verify my wallet.   I verified after the backup.  Funds are correct.
Steps to Reproduce

install on machine one
install on machine two
Verify (on machine two)

Expected Behaviour
Recognize verification on any node.
Actual Behaviour
Asks for e-mail, and rewards are greyed out
Suggested Solutions
Tell us your suggested solutions if you have any.
System Configuration
App | 0.22.1
Daemon (lbrynet) | 0.20.3
Wallet (lbryum) | 3.2.3

Please see https://lbry.io/faq/lbry-basics on how authentication/rewards work. You can only sign in with a single email on one device currently (we'll be changing this in the future). If you plan on running on 2 machines, simply don't sign in on the other or sign in with a different email but do not go through the rewards process (rewards are 1 per person/household).
It's also not advisable to run the same wallet on 2 machines at the moment.


[question] Handling images in markdown with Propshaft

Just started digging into this, but is there an effective way to handle images inline in markdown? How about with Propshaft (default in 8)?
I will update as I work through it :)

So to respond to my above:
Standard markdown image tags ( title works out of the box, regardless if you have sprockets or propshaft as your asset pipeline (pretty cool!).
Additionally, if you want to use fancy stuff like picture_tag available in rails 7+, which gives you fallbacks, and formatting, you need to have an erb markdown renderer enabled


Esri-Leaflet lab doesn't render layers in correct order

this is being worked on in Esri/esri-leaflet-renderers#113

we should force a non-async load in the meantime so it at least renders correctly


I use ViewList with TextField.The words disappear When I scolling

gif of the bugs:

or full gif

ListView(
          children:
            List(40).map((f) => TextField(
                            // key: Key(f.toString()),
                            decoration: InputDecoration(
                                contentPadding: EdgeInsets.fromLTRB(5, 5, 5, 5),
                                hintText: ''),
                            onChanged: (e) {
                              print(e);
                            },
                          ))
                      .toList()
                ]);

3.flutter doctor
[✓] Flutter (Channel v1.9.1-hotfixes, v1.9.1+hotfix.6-pre.1, on Mac OS X 10.14.4 18E226, locale zh-Hans-CN)
    • Flutter version 1.9.1+hotfix.6-pre.1 at /Users/admin/Desktop/Application/flutter
    • Framework revision eb6877bf92 (9 weeks ago), 2019-10-23 15:17:08 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /usr/local/Caskroom/android-sdk/4333796
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /usr/local/share/android-sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • CocoaPods version 1.6.1

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

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

[!] Proxy Configuration
    • HTTP_PROXY is set
    ! NO_PROXY is not set

[✓] Connected device (1 available)
    • iPhone Xʀ • A51F5BB6-D6E7-4A8B-B956-AD6E53E20DC2 • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)

! Doctor found issues in 1 category.

I believe that this is because this is because off-screen widgets in Flutter can be destroyed. You will need to use something like AutomaticKeepAliveClientMixin in order to maintain the state of your off-screen list item widgets.

If that's the case, please close this issue! If it's a real bug, please provide more details on how to reproduce said issue.

If that's the case, please close this issue! If it's a real bug, please provide more details on how to reproduce said issue.

Thanks.The reasean is that off-screen widgets execute the dispose.I disposed the TextEditingController.But I do not find any hooks be executed when on-screen.


Intents length should have a max number and checked on proposal creation

I'm not sure whether this is a big problem, but maybe it would be nice to limit the amount of Intents sent within a proposal.
Does this implicitly have a limit due to the amount of items in a stack? or am I missing something here?

There are "natural" constraints like size of the create-proposal transaction, GAS costs of that transaction (because the intents have to be stored on-chain).
But we could impose an artificial maximum number.


[Bug]: Register button should be highlighted

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Bug Info :

Register button should be highlighted along with the navigation elements.
The register button should stand out in the navigation bar.

Expected behavior
Register button styles should be added :

border
background color
separate hover effect

Add ScreenShots

On which device are you experiencing this bug?
Chrome
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC-EXT contributor
[X] I'm a HACKTOBERFEST contributor
[X] I have starred the repository

@4F24L Designing a button doesn't count under contribution. Try to find out more issues and merge it.

@4F24L go ahead.


{testsdk} Copy command index to random config dir

Temporally bypass https://github.com/Azure/azure-cli/issues/28848
Final fix should be done by https://github.com/Azure/azure-cli/pull/28849
Description
Running test_containerapp_manualjob_withsecret_crudoperations_e2e and test_hdinsight_application sequentially fails with
$ azdev test test_containerapp_manualjob_withsecret_crudoperations_e2e test_hdinsight_application --series -a -rP
...
self = <azure.cli.core._session.Session object at 0x7f15c1b06410>

    def save(self):
        if self.filename:
>           with open(self.filename, 'w', encoding=self._encoding) as f:
E           FileNotFoundError: [Errno 2] No such file or directory: '/home/user2/.azure/dummy_cli_config_dir/mvDaOhlAGfu4OvI6/commandIndex.json'

src/azure-cli-core/azure/cli/core/_session.py:54: FileNotFoundError

As explained in https://github.com/Azure/azure-cli/issues/28848#issuecomment-2081967874, even after test_containerapp_manualjob_withsecret_crudoperations_e2e finishes and deletes the random config dir, test_hdinsight_application still tries to initialize command index in the same random config dir, because of polluted env var AZURE_CONFIG_DIR (https://github.com/Azure/azure-cli/pull/28849#issue-2267820600).
This PR copies command index to random config dir first so that it can be loaded during azure.cli.core.AzCli.__init__:
https://github.com/Azure/azure-cli/blob/f98ba8062f08bf5b7460260c56916bd3074bf9e5/src/azure-cli-core/azure/cli/core/__init__.py#L82
which is called during azure.cli.testsdk.base.ScenarioTest.__init__:
https://github.com/Azure/azure-cli/blob/2750c65ea77638ecf699243555a5f2f7a1314ed4/src/azure-cli-testsdk/azure/cli/testsdk/base.py#L86
Then command index will not be initialized again by test methods.
Testing Guide
azdev test test_containerapp_manualjob_withsecret_crudoperations_e2e test_hdinsight_application --series -a -rP

testsdk


meta: Track progress on moving device drivers APIs to iterable structs

Now that #71773 has been merged, device driver API declarations need to call the DEVICE_API macro.
 :)

There's still some left from other merged PRs, will do another run, and maybe keep it for the 4.1 release?


plan non-breaking app, runtime, rpc upgrade process

ensure

people who don't update the app can still use it

may need to run multiple versions of rpc node in parallel (must be listed under endpoints)
doesn't work for runtime upgrade: must enforce upgrade

plan steps:

when to upgrade what such that no disruptions occur

Hmmm, can we define "a while" and "most users"?

I don't think we can define a meaningful metric for most users because Android does only track the percentage of the newest version installed compared to all versions, but it doesn't consider app activity and I couldn't find any such metric for IOS.
So I would say we can wait for one full cycle, this ensures that all active users have at least opened the app meanwhile and had the chance to opt in for the update.


A solution to the failure of image loading on a specific device

Steps to reproduce
Dear Flutter Team and Community,
I recently encountered an interesting issue with my Flutter app on certain Android devices (specifically those using the RK3288 chipset).  I would like to share my experience and the solution I found, as it might be useful for other developers facing similar problems.
Background:
Problem: On these devices, when navigating to a page containing a large number of images, the app would crash or the images would not load properly.
Solution: Adding a blank splash screen (Initialize2Page) before the main InitializePage and delaying the navigation to the target page solved the issue.
Details:
The issue was device-specific and occurred even when memory usage was low.
Adding a delay through Initialize2Page ensured that the app did not crash and that all images were loaded correctly.
This workaround was effective regardless of whether the app was activated or not.
Potential Reasons:
Based on my observations, here are some potential reasons for the problem:
GPU Resource Management: Certain devices may have specific GPU resource management issues that cause problems when loading a lot of images.
Resource Initialization: The presence of Initialize2Page could have provided more time for resources to initialize properly.
Flutter Engine Initialization: It might affect how the Flutter engine initializes and manages resources.
Code Example:
Here is a simple example of how you can implement Initialize2Page in your app:
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'My App',
      home: Initialize2Page(),
    );
  }
}

class Initialize2Page extends StatefulWidget {
  @override
  _Initialize2PageState createState() => _Initialize2PageState();
}

class _Initialize2PageState extends State<Initialize2Page> {
  @override
  void initState() {
    super.initState();
    Future.delayed(Duration(seconds: 3), () {
      Navigator.of(context).pushReplacement MaterialPageRoute(
        builder: (context) => YourFirstPage(),
      );
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Text('Initializing...'),
      ),
    );
  }
}

Expected results
eeeee
Actual results
While the exact root cause remains unclear, this workaround has proven effective. I am interested in hearing from the Flutter team if they have any insights into why this happens and whether there is a more elegant solution.
Thank you for reading, and I hope this helps others who might encounter similar issues!
Best regards,
Code sample
The current test situation is that as long as there are more resource files, such as pictures, videos, voice and other resources, and the resource folder has multi-level directories, it is easy to appear abnormal bugs
Screenshots or Video
No response
Logs
Image loading exception problem There is no log exception
Flutter Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.5, on macOS 14.2.1 23C71 darwin-x64, locale
    zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.85.0)
[✓] Connected device (3 available)

Thanks for filing the report and providing a solution @Deathislikethewind.

I am interested in hearing from the Flutter team if they have any insights into why this happens and whether there is a more elegant solution.

Since this occurs only on specific devices, it could be related to that device's hardware or how it renders / loads images, so it would be tough for Flutter team to provide a solution without knowing what exception is thrown or without any logs.

Thank you for reading, and I hope this helps others who might encounter similar issues!

I suggest you to write a blogpost for this and share it across on different platforms so that it will get good reach which will be more useful than filing it here as an issue.
Since you already have a solution that works and considering the fact that it was device-specific issue, I will close this as resolved for now.
If you face similar issues or get exception logs pointing to the framework itself, please file a new issue with relevant details so that the team can analyze it and make it actionable as required.


Pull request regarding the repo

Dear tmaerz ,
Please find my comments.
You did a good job!
Kr,
Stavroula

GitHub Actions failing as expected.


Allow template path to be passed to render method.

This should also allow issue #41 to be closed.  There's most likely a much cleaner way of doing this.

bad patch: path=path is wrong.


Feature/compare all page

This PR starts the compare all page

The new menu item is at the end of our long commitments list.
Added header, info, disabled compare button, search and table
The table is missing:  'Pre-2020 pledge' and 'Targets in National Policies' columns. We still have to find this data on another PR
Mobile styles
True values are represented with a blank right now
Column widths should be adjusted when we have all the columns

The hint text is different. If it's a new version you discussed with fanny somewhere, we should consider adding some extra information about the maximum 3 submitted boxes that we can choose, as it was in the old one, @fannycc.

Besides, it'd be nice to tweak a bit layout on mobiles:

"Compare" button is too wide in comparison to the design:

Additional margin below main menu:

Weird error on Firefox and Chrome in incognito mode: `Maximum call stack size exceeded:

Sorry about the text. I forgot to change it 👍

Also, there is one thing that I'd like to discuss: we're not setting the minimum or fixed height for the layout from the beginning. It means when data is loading, we see the entire footer and then, once data is on place, the entire layout jumps and stretches to the right side. It's not a big issue, but I find it quite disturbing when browsing the internet. It's not only this place where it's happening in CW, so I'd like to know your opinion about that and if we should care to avoid unnecessary jumps in layout while developing new pages @fannycc @Bluesmile82?

I'm checking the code now :mag:

Yeah, sure, I'll add a min-height

Thanks for the heads up! I agree on setting a min-height to avoid jumps and I have 2 additional comments:

Is it possible to align text lines so we don't end up with that weird text paragraph?

Why do we have 2 spinners at the same time running?

Ready again! Thanks

Hey, @Bluesmile82 thank you for your changes :+1: The last thing that still needs to be tweaked is the issue described by fanny in paragraph one, it still occurs on mobiles:


Add Eigen

The purpose of this PR is to add the powerful and flexible Eigen library for matrix and vector computations. I will add some tests to verify that it outputs the same results as the existing matrix/vector math code.

Awesome! This is so cool!


OptIn ignored, whole classes serialized

Hi I have already solved my problem,
In a dll project I used v13 with     [JsonObject(MemberSerialization.OptIn)]
but serialized in a v12 project,
the result was optin was simply simply being ignored.
May I ask which of the changes in v13 might have caused it?
(not sure if i am having an overcurious moment)

The problem seems to be with your v12 project.
Newtonsoft.Json v12 itself does not seem to have an issue with opt-in (demo: https://dotnetfiddle.net/oiJIQg)


Flaky assertion failure in profiler.cc:934

@a-siva
This occurred locally and on the builbot occasionally (http://build.chromium.org/p/client.dart/builders/pkg-linux-debug-be/builds/2794/steps/Build SDK/logs/stdio)
runtime/vm/profiler.cc:934: error: expected: os_thread != NULL
Aborted
make: *** [out/DebugIA32/obj/gen/dartfmt.dart.snapshot] Error 134

@sgmitrovic Is this a known issue?

Got a backtrace in gdb:
runtime/vm/profiler.cc:934: error: expected: os_thread != NULL
[New Thread 0x7ffff4d7c700 (LWP 15067)]
[New Thread 0x7ffff5092700 (LWP 15059)]
[New Thread 0x7ffff5693700 (LWP 15058)]
[New Thread 0x7ffff597a700 (LWP 15057)]
[New Thread 0x7ffff7fc5700 (LWP 15056)]
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff5092700 (LWP 15059)]
0x00007ffff6c01cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff6c01cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff6c050d8 in _GI_abort () at abort.c:89
#2  0x000000000068e20a in dart::DynamicAssertionHelper::Fail (this=0x7ffff5090f20, format=0x11419cb "expected: %s") at runtime/platform/assert.cc:41
#3  0x00000000008e4fb9 in dart::Profiler::SampleThread (thread=0x7fffe8021f30, state=...) at runtime/vm/profiler.cc:934
#4  0x00000000009653e0 in dart::ThreadInterrupterLinux::ThreadInterruptSignalHandler (signal=27, info=0x7ffff50912b0, context=0x7ffff5091180)
at runtime/vm/thread_interrupter_linux.cc:41
#5
#6  __GI___pthread_setspecific (key=0, value=0x7fffe00008c0) at pthread_setspecific.c:28
#7  0x000000000088cfc9 in dart::OSThread::SetThreadLocal (key=0, value=140736951486656) at runtime/vm/os_thread_linux.cc:157
#8  0x000000000088c4f8 in dart::OSThread::SetCurrent (current=0x7fffe00008c0) at runtime/vm/os_thread.cc:207
#9  0x0000000000966f30 in dart::ThreadRegistry::Unschedule (this=0x7fffe8020c70, thread=0x7fffe8021f30, is_mutator=true, bypass_safepoint=false)
at runtime/vm/thread_registry.cc:113
#10 0x0000000000962713 in dart::Thread::ExitIsolate () at runtime/vm/thread.cc:163
#11 0x000000000080a8b4 in dart::StartIsolateScope::~StartIsolateScope (this=0x7ffff5091cd0, __in_chrg=) at runtime/vm/isolate.h:918
#12 0x0000000000813fd9 in dart::MessageHandler::HandleMessages (this=0x7fffe8024680, allow_normal_messages=true, allow_multiple_normal_messages=true)
at runtime/vm/message_handler.cc:245
#13 0x00000000008143f3 in dart::MessageHandler::TaskCallback (this=0x7fffe8024680) at runtime/vm/message_handler.cc:338
#14 0x0000000000814c24 in dart::MessageHandlerTask::Run (this=0x7fffe4122fa0) at runtime/vm/message_handler.cc:30
#15 0x0000000000966425 in dart::ThreadPool::Worker::Loop (this=0x7fffe8035dd0) at runtime/vm/thread_pool.cc:385
#16 0x000000000096671b in dart::ThreadPool::Worker::Main (args=140737085922768) at runtime/vm/thread_pool.cc:440
#17 0x000000000088ca75 in dart::ThreadStart (data_ptr=0x7fffe8035e70) at runtime/vm/os_thread_linux.cc:105
#18 0x00007ffff7bc4182 in start_thread (arg=0x7ffff5092700) at pthread_create.c:312
#19 0x00007ffff6cc547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb)

Looks like we're interrupted during OSThread::SetCurrent where the Thread::Current() has os_thread_ already set to NULL before SetCurrent is completed.

proposed fix: https://codereview.chromium.org/1491283002/

Fixed in https://github.com/dart-lang/sdk/commit/d9b13018218c19c82e86c8da6020bdc524fef7de


Reduce the maximum fuzzer depth to conserve memory and time

The fuzzer has recently struggled a bit with very deep documents, which can take up loads of memory and time, even though a 40-deep nested document won't tell us anything that a 32-deep document won't. I'm decreasing the max depth, default indentation, and max indentation depth in the hope that it helps the fuzzer a bit.
* [ ] I've included my change in CHANGELOG.md

Codecov Report
Patch and project coverage have no change.

Comparison is base (c65fa75) 95.31% compared to head (a0dd168) 95.31%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #490   +/-   ##
=======================================
  Coverage   95.31%   95.31%
=======================================
  Files          74       74
  Lines        9000     9000
=======================================
  Hits         8578     8578
  Misses        422      422

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


zoom: even if the scrollbar is necessary does not appear

Describe the bug
Even if the scrollbar is necessary does not appear.
To Reproduce
Steps to reproduce the behavior:

Open md-components-cards-safari.sketch demo file
Click zoom button
Scrollbar does not appear

Screenshots

Desktop (please complete the following information):

OS: macOs High Sierra
Browser: Chrome
Version: 68

I have a solution, but, it looks a little bit not completely proper, I should say.
Check out my gif.
I can scroll after the zooming in, but, when I can't scroll up, to the content, which I don't see
For example, I zoomed in a datepicker, then zoomed it again, and can scroll for the whole viewport, but can't see what is on the top. The only way to do it - zoom out again...

Need to investigate more, I think

I had investigate and I think the problem is where is used
translate3d(-50%, 50%, 0px) scale(${zoomLevel})
Maybe in a different element we have a better result.
So weird, not easy to fix it. :thinking:

What about increasing the margins while zooming in (and decreasing while zooming out), which will give us some room to scroll up and down and keeping the content in the viewport?

fixed by https://github.com/xlayers/xlayers/pull/62


GEOMESA-3162: Geomesa client configuration file properly loaded.

Despite the best efforts of GEOMESA-2800 only a handful of Accumulo client settings were actually loaded at runtime. This meant that Accumulo client settings like TLS or instance.id were ignored. Worse, there was no way for a user to specify them because TLS settings are not available as command line options for tools like geomesa-accumulo ingest.
Other related changes (originally separate commits, but squashed together to meet coding standards):

New license headers for MITRE 2021 contributions. This is fairly brittle, but AFAICT this is a limitation of the license-maven-plugin.
AvroSchemaRegistryConverterTest now uses a random Jetty port, not 8089. (Necessary for the unit tests to complete successfully when port 8089 is in use by another process.)
Error message in accumulo config parser is clearer when authentication options are missing.

Thanks for the fix! do you know if the new api calls will work with both accumulo 1.10 and 2.0?

I've only tested with 2.0, but because the ClientConfiguration class from Accumulo that we're using is a deprecated holdover from 1.x I'd think that it should behave correctly.

Realized that I had done the copyright headers incorrectly, so I pushed a small fix for that.


Not able to run a project in tor-browser: "0Operation is not supported"

If a project (any project, including the playground) is run via tor-browser (all the features for Javascript are on) then it gives an error:
"0Operation is not supported"
So, a babylon project cannot be hosted on an onion site.

As indicated in the template, please use the forum first to discuss the issue.
[...] I can see you already did it: https://forum.babylonjs.com/t/hosting-babylon-js-project-on-onion-site/40758
Please be patient before you get an answer, as it is still the weekend and your question is quite specific, I'm not sure there are many people in the community who know about onion sites...

The issue has not been resolved; still exists, gotta re-open it.

Yes, it will be discussed on the forum.


rosbridge_suite not sending custom message types

Rosbridge status - Client Connected, Subscribed to /topic.
Also 'rostopic echo /topic' is giving the right output.
Under subscriber callback function in Unity, printing Message, parsing as MessageType and printing, both are giving Null Object. Help, please.

@pushkalkatara any progress in this problem you were having?

Couldn't find a workaround for this :/

I have a similar question! I just use the Info_CodeExample but i find that i can only publish a topic and cannot get the "world" . I think there is something wrong with the websocket.onmessage()

Hi @PengC98 ! Thanks for trying out the example!

We send std_msgs/String.msg in this example. So the problem you are having is not related to this issue about custom message types . Better open a new issue next time.
Triggered by your comment we revised Info-CodeExample.md: We updated Advertize to Advertise (which was changed in this recent commit). Then  this example works as it should. Here is a screenshot of the console windows (Ubuntu and Windows):

If the problem persists on your machine, I'd suggest to check your firewall and proxy settings.
Please also note that websocket.onmessage()is a method of websocket-sharp, the Websocket protocol implementation we are using. You might want to look for help there.
For further support please open a new issue and provide a detailed error description.


Fix flaky test by improving SQLite concurrency model

Changed mode to operate SQLite to WAL mode, see https://sqlite.org/wal.html
To address migration locking, an exclusive lock is used, which is skipped whenever migration isn't necessary.
To address concurrent database access WAL mode plus an operation-level retry mechanism when database deadlocks.

In the last revision, I've disabled the WAL mode and everything seems to be working fine after many test iterations, without any extra workaround other than ignoring 1032 maps to SQLITE_READONLY_DBMOVED error when deleting a non-persistent node.


Problem writing x-ray angiography data (2D+ time)

Hi.
I try to use the software to write a DICOM SEG file for x-ray angiography images (2D+time).
The files can be found here:
http://www.rubomedical.com/dicom_files/dicom_viewer_0002.zip
However, I get the following error:
##########################
Exception has occurred: ValueError       (note: full exception trace is shown but execution is paused at: _run_module_as_main)
Only a single frame is supported when the source image has no Frame of Reference UID.
#########################
I use the hidicom installed from source.
The code I use is the following:
`from pathlib import Path
import highdicom as hd
import numpy as np
from pydicom.sr.codedict import codes
from pydicom.filereader import dcmread
series_path = "/home/alatar/miacag/data/angio/sample_data/2/0002.dcm"
Read XA angiography data
image_dataset = dcmread(series_path)
Create a binary segmentation mask
mask = np.zeros(
shape=(
image_dataset.pixel_array.shape[0],
image_dataset.Rows,
image_dataset.Columns
),
dtype=np.bool
)
mask[0:20, 0:20,0:20] = 1
Describe the algorithm that created the segmentation
algorithm_identification = hd.AlgorithmIdentificationSequence(
name='test',
version='v1.0',
family=codes.cid7162.ArtificialIntelligence
)
Describe the segment
description_segment_1 = hd.seg.SegmentDescription(
segment_number=1,
segment_label='first segment',
segmented_property_category=codes.cid7150.Tissue,
segmented_property_type=codes.cid7166.ConnectiveTissue,
algorithm_type=hd.seg.SegmentAlgorithmTypeValues.AUTOMATIC,
algorithm_identification=algorithm_identification,
tracking_uid=hd.UID(),
tracking_id='test segmentation of slide microscopy image'
)
Create the Segmentation instance
seg_dataset = hd.seg.Segmentation(
source_images=[image_dataset],
pixel_array=mask,
segmentation_type=hd.seg.SegmentationTypeValues.BINARY,
segment_descriptions=[description_segment_1],
series_instance_uid=hd.UID(),
series_number=2,
sop_instance_uid=hd.UID(),
instance_number=1,
manufacturer='Manufacturer',
manufacturer_model_name='Model',
software_versions='v1',
device_serial_number='Device XYZ'
)
print(seg_dataset)
seg_dataset.save_as("/home/alatar/seg.dcm")
`
I hope you can help me out.

Hi @ChristianEschen, thanks for using the library and reporting this issue.
Unfortunately, what you are reporting is currently the expected behaviour of the library in this situation, i.e. an error message that what you are trying to do is not supported. There are a very large number of possible DICOM objects for which users may wish to create segmentations, which often require tailored methods to index the frames in the created segmentation in order to be compliant to the standard, and supporting many of them is therefore a considerable challenge. We have tried to support those inputs that we think are most likely to be useful, and unfortunately we have not yet implemented a solution for the 2D + T angiography case (or indeed any input image or series with multiple frames and no frame of reference UID to describe the frames in 3D space).
I hope that we will be able to support this at some point, although I have to say that it is unlikely to be soon I'm afraid. Your example file will be very helpful to us for this purpose so we do appreciate you filing the issue. I will leave this issue open.
A note for when we work on this: we will need to create a new indexing scheme based on the FrameTime attribute, which gives the time in ms between consecutive frames.

Note that #174 is a related issue


rename namespace to organization

This PR removes the usage of namespace and replaces it with organization in an effort to remove confusion from the application. Also, this was recently done in the customers service.

go<EMAIL_ADDRESS>reading goftp.io/server/go.mod at revision v0.4.0: unknown revision v0.4.0
make: *** [makefile:10: build] Error 1

I changed this recently. Will take a look at why it's failing.

go<EMAIL_ADDRESS>reading goftp.io/server/go.mod at revision v0.4.0: unknown revision v0.4.0
make: *** [makefile:10: build] Error 1

I changed this recently. Will take a look at why it's failing.

@adamdecaf do you want me to wait until you look into this before I merge or can I merge now?

https://github.com/moov-io/paygate/pull/597 should fix the build


feat(container) - update container

Closes #466
Todos :

[x] Have to add modal confirm for recreation
[x] See if it is possible to recreate portainer container => No

Tests Recreate :

[x] Name
[x] Image
[x] Publish All => Dynamic port could be different
[x] Port binding with dynamic host port => Dynamic port could be different
[x] Port binding with fix host port
[x] Entry point
[x] Command (args)
[x] Work dir
[x] User
[x] Interactive/TTY
[x] Binded volumes
[x] Named volumes
[x] Anonymous volumes
[x] Network
[x] Network shared with container
[x] Hostname (keep auto generated hostname)
[x] Domain name
[x] Hosts entries
[x] Env var
[x] Labels
[x] Restart policy
[x] Privilege mode
[x] Devices
[x] IPv4 addr
[x] Access control
[ ] IPv6 addr

Tests Duplicate/Edit :

[x] Name
[x] Image - Have to test with custom registry
[x] Publish All => Dynamic port could be different
[x] Port binding with dynamic host port => Dynamic port could be different
[x] Port binding with fix host port
[x] Entry point
[x] Command (args)
[x] Work dir
[x] User
[x] Interactive/TTY
[x] Binded volumes
[x] Named volumes
[x] Anonymous volumes
[x] Network
[x] Hostname (keep auto generated hostname)
[x] Domain name
[x] Hosts entries
[x] Env var
[x] Labels
[x] Restart policy
[x] Privilege mode
[x] Devices
[x] IPv4 addr
[x] Access control
[x] Network shared with container
[ ] IPv6 addr

@WTFKr0 do you want me to fix the conflicts?

Conflicts resolved

I have done some functional testing on this... i think the popup displayed when editing a container "same name" needs to be enhanced. "We are about to recreate the container with the new settings, this means deleting the old container in the process"

Ok for some functional issue
Can you retest the docker-compose issue with these changes ?
Have to get some time for refactoring code (ContainerHelper/Chaining)

Compose related issues seems solved :+1:

OK Ownership is good now

For the networks bug, it's expected cause we can't create a container with multiple networks
See https://github.com/moby/moby/issues/29265#issuecomment-265909198
In fact, docker compose create container and attach networks in second step
I think we have to disable container recreate/update if we saw more thant 1 network, no ?
Cause we have same problem on Duplicate/Edit mode, only the first network is reattach

We should issue a warning in the container creation view displaying that
only one network will be reattached
Le mer. 26 juil. 2017 à 21:53, Thomas Krzero<EMAIL_ADDRESS>a
écrit :

For the networks bug, it's expected cause we can't create a container with
multiple networks
See moby/moby#29265 (comment)
https://github.com/moby/moby/issues/29265#issuecomment-265909198
In fact, docker compose create container and attach networks in second step
I think we have to disable container recreate/update if we saw more thant
1 network, no ?
Cause we have same problem on Duplicate/Edit mode, only the first network
is reattach
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/portainer/portainer/pull/855#issuecomment-318163713,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFOyBZ5EhZn2r6jqTtZHJ14bIpeX0iAVks5sR5lVgaJpZM4NbFtp
.

--
Anthony Lapenna
https://deviantony.github.io

Missing thing: we need to display a message on the top of the container-creation view saying 'This container is connected to multiple networks, only one network will be kept at creation time".
I think we need to display this message in the recreate message too, as it recreate only with one network...

A Docker image is available for this implementation via portainer/portainer:pr855 (Linux amd64 build).

Been wanting this for a while, just testing the docker image for the pr, recreating container appears to work as it should but using Duplicate/Edit container to then overwrite the existing container deletes the container and doesn't recreate it, leaving this error:
:9000/api/endpoints/1/docker/containers/d3860ff4e2c61036bd90693334f99a15385001a8d85914396a59149704b17d29/json Failed to load resource: the server responded with a status of 404 (Not Found)
app.70299ccd.js:3 TypeError: Cannot read property 'split' of null
    at b (app.70299ccd.js:25)
    at Object.a.commandStringToArray (app.70299ccd.js:32)
    at B (app.70299ccd.js:29)
    at app.70299ccd.js:29
    at app.70299ccd.js:3
    at o.$eval (app.70299ccd.js:3)
    at o.$digest (app.70299ccd.js:3)
    at o.$apply (app.70299ccd.js:3)
    at i (app.70299ccd.js:2)
    at u (app.70299ccd.js:2)
(anonymous) @ app.70299ccd.js:3

@fourbytes Strange, we'll need more information, can you tell us how you created the container that you wanted to duplicate/edit so that we can reproduce?
I'll push changes to the test image to use unminified libraries.

Yeah i'll look that soon, seems to be linked to the CMD parser
Maybe with an image with entry point but without CMD

@fourbytes
OK resolved by https://github.com/portainer/portainer/pull/855/commits/20e0a2b238f668a4bfa7048154b1092cd0ed2cf5
You could test soon when pr image is rebuilt

@fourbytes portainer/portainer:pr855 image updated.

Hello @WTFKr0
I gave it some testing and only found one issue, when re-creating a container the host section of the port mapping isn't being copied over, let me know if you need more info or testing.

@liamcottam
I found the problem in the Duplicate/Edit view, forgot to test with an IP
Resolved by https://github.com/portainer/portainer/pull/855/commits/45d24a41bcfb4919014320946e3971406c19ade4

Works perfectly, thanks!

Commands with quotes are not quoted properly in the duplicate screen:
https://gist.github.com/theit8514/d7ffef3f67f51c69b748797de1af8f22/raw/1ea2862262d32a96ad2a701893e1e7699496cc53/Capture-command.PNG
Also, when recreating, I sometimes have my bind volume drop. This doesn't appear to be an issue on the duplicate screen.
https://gist.githubusercontent.com/theit8514/d7ffef3f67f51c69b748797de1af8f22/raw/1ea2862262d32a96ad2a701893e1e7699496cc53/Capture-volumes.PNG

any chanse we can get a health check here too?

i am looking on that "start conainer" button and it doesnt realy describe what gona happen.

do we just stick a new network without restart of  container?
do we realy make a clone, clone with some fresh changes?
do we apply changes and restart/relaunch  container?

@WTFKr0 could you have a look at @theit8514 's issues?
@querplis

any chanse we can get a health check here too?

Do you mean the ability to set a health-check during container creation? If that's the case, this would be a feature request, mind opening an issue for that?

i am looking on that "start conainer" button and it doesnt realy describe what gona happen.

do we just stick a new network without restart of container?
do we realy make a clone, clone with some fresh changes?
do we apply changes and restart/relaunch container?

Indeed, we should make this clearer. When using the edition capability, the current container will always be removed and then a new one will be created (tho this is explained in the modal box displayed after clicking on the start button).

Can we please add a popup message whenever recreate or duplicate buttons are pressed?
"This feature is currently experimental, please use with caution"
Then if they click ok, it continues to the message modul as is shown already
Rgds,
Neil Cresswell
On 6/08/2017, at 8:37 PM, Anthony Lapenna <notifications<EMAIL_ADDRESS>wrote:
@WTFKr0https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_wtfkr0&d=DQMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=0M03CN0M-Nd5Tz92SpRhS3JIf1DFfAQ4EdRorZYhYU4&s=joYeZDA7-vcFG_AvKGfs7hXTNh4Eu9PiCdFFsj6Yrbo&e= could you have a look at @theit8514https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_theit8514&d=DQMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=0M03CN0M-Nd5Tz92SpRhS3JIf1DFfAQ4EdRorZYhYU4&s=PBRTNVa7ZqL07Y_VW0lGKi0aASLh6Ty0CGAqQfQJKL4&e= 's issues?
@querplishttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_querplis&d=DQMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=0M03CN0M-Nd5Tz92SpRhS3JIf1DFfAQ4EdRorZYhYU4&s=Q0PbRSDMwnWUxuDzE68uoW8-JmSFRZms83QXA8NH8Ms&e=
any chanse we can get a health check here too?
Do you mean the ability to set a health-check during container creation? If that's the case, this would be a feature request, mind opening an issue for that?
i am looking on that "start conainer" button and it doesnt realy describe what gona happen.

do we just stick a new network without restart of container?
do we realy make a clone, clone with some fresh changes?
do we apply changes and restart/relaunch container?

Indeed, we should make this clearer. When using the edition capability, the current container will always be removed and then a new one will be created (tho this is explained in the modal box displayed after clicking on the start button).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_pull_855-23issuecomment-2D320493675&d=DQMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=0M03CN0M-Nd5Tz92SpRhS3JIf1DFfAQ4EdRorZYhYU4&s=M4HNEQL5CoCkzAD_BzT1hPDLnYxg8A-I2ZcULbdhJBk&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGrlfzi-5FIODUm53Y47riojYz7ozJsrlks5sVXtWgaJpZM4NbFtp&d=DQMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=0M03CN0M-Nd5Tz92SpRhS3JIf1DFfAQ4EdRorZYhYU4&s=3yWxNTL32Dx7iu-pvdRap3TFxovIMi0ty1DT6ue8Gy8&e=.

@theit8514
Can you tell me more about your issues ?
For the cmd one, can you give more information about the image source ? And about the Dockerfile you use ? I can't reproduce for now
And for the bind one, you say that the duplicate screen seems good but the bind volume doesn't occur ? And only sometimes ? Need more info please
@ncresswell
I push https://github.com/portainer/portainer/pull/855/commits/55058f5201874158e6da62db814b7239d23a4d9c, adding a modal for recreate button, and a message on top of createContainer when you duplicate/edit one
Is that OK for you ?

This is the Dockerfile: https://gist.github.com/theit8514/22a615e42da04a375c7ddc38af435d1b
On the Portainer Container Details, the command shows as /bin/sh -c /usr/local/bin/docker-gen -watch -notify "/bin/bash /app/cli53routes.sh" /app/cli53routes.tmpl /app/cli53routes.sh but the Duplicate screen populates the Command as "/bin/sh" "-c" "/usr/local/bin/docker-gen -watch -notify "/bin/bash /app/cli53routes.sh" /app/cli53routes.tmpl /app/cli53routes.sh".
The bind issue appears for this Dockerfile as well. I add a new manual binding for /var/run/docker.sock:/tmp/docker.sock:ro when creating the initial container through Portainer. When I click the Duplicate button, the volume settings get populated as shown in the image from my earlier comment. However, if I click Recreate, the new container does not have the manual volume mapping.

portainer/portainer:pr855 updated with latest changes.

Also @WTFKr0 could you remove the banner when in the duplicate/edit state and replace it with the same modal as the re-create button but on the duplicate/edit button ?

Also please rebase the branch, I've fixed the bug I was talking about in https://github.com/portainer/portainer/pull/855#pullrequestreview-52860481

@deviantony
For the CMD, even if we store data in array all long, we have to display it as a string in the view, and transform it to array when user click, so for me it's not a priority to transform that
I understand the problem with the Dockerfile
If you set CMD like that :
CMD /my/command "myparam with space"
docker build set CMD to
["sh","-c,","/my/command \"myparam with space\""]
I usually use CMD with array form, so miss in my tests
I think if CMD was
CMD ["/usr/local/bin/docker-gen", "-watch", "-notify", "/bin/bash /app/cli53routes.sh", "/app/cli53routes.tmpl", "/app/cli53routes.sh"]
It will be OK
But I have to found solution for that...

@WTFKr0 in any case the Docker API will return it as an array. You can use the existing method to convert this array to a string inside the $scope.formValues.Cmd field.
See the latest point:

if do not exists, we apply the ContainerHelper.commandStringToArray function on scope.formValues.Cmd and assign it to config.Cmd

I've fixed the conflicts introduced by #1104

Thanks for the work on this @WTFKr0 :+1:

Yeah huge work ! Thanx to you to finish it. 👍


Catch access denied

If the user starts the client as admin and later on starts it as normal user he might get access denied exceptions because he has not all permissions for the game files....

This not yet fixed

User gets a warning now etc.


trouble with plotting campbell diagram

import numpy as np
import ross as rs
r = rs.rotor_example()
speed_range = np.linspace(0, 1000, 100)
campbell = r.run_campbell(speed_range)
campbell.plot(harmonics=[0.5, 1])
this is the code I have used according to the ROSS documentation. But after running the code, no plot is seen. There is  no syntax or semantic error. Please help

Hi there @GitDiscipline !
Are you running your code in a jupyter notebook or in an IDE?
The issue #733 also has some discussion about this that could help you.

Hi @raphaeltimbo
I  am using IDLE.  #733 has helped me.  Adding  .show()  resolved the issue
Thanks!

Great @GitDiscipline !
I will close this issue now. Feel free to reopen it if you have problems in the future.


Support (ReadOnly)Span for buffer related operations

Today all buffer related operations in both the high level and the low level APIs use arrays. When one must deal with external buffer slices this becomes inefficient and error prone since temporary arrays need to be allocated and content must be copied back and forth.
For example consider implementing the ICryptoTransform.TransformBlock method:
public int TransformBlock (byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset);

If the inputOffset parameter is non-zero, temporary array must be allocated and inputCount bytes must be copied from it before it can be passed to C_EncryptUpdate method. If a new overload would be added to Pkcs11Library supporting the Span
public CKR C_EncryptUpdate(NativeULong session, ReadOnlySpan<byte> part, Span<byte> encryptedPart, ref NativeULong encryptedPartLen);

the unnecessary allocation could be eliminated and the call would be simplified to
public int TransformBlock (byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
{
  ...
  _lib.C_EncryptUpdate(_session,
    new ReadOnlySpan<byte>(inputBuffer, inputOffset, inputCount),
    new Span<byte>(outputBuffer, outputOffset, outputBuffer.Length - outputOffset),
    ref len);
  ...
}

The downside of this is the Span could be only supported for net45 and netstandard2.0 builds through the System.Memory package.

Yes, Span utilization would be a great addition but as you already mentioned it would limit supported platforms. Maybe it will land in Pkcs11Interop 6 along with #160 and #161. We'll see.


Proxying doesn't work for services with different port and targetPort

I found interesting problem. When we have kubernetes service like this:
apiVersion: v1
kind: Service
metadata:
  name: ...
  labels:
    service: ...
    app: service
spec:
  type: ClusterIP
  ports:
    - port: 8890
      targetPort: 8888
  selector:
    service: ...
    app: service

Then it doesn't work because, as far as I understand, envoy tries to proxy to the port 8890, but endpoint listens 8888 port. So, we get an answer from envoy, that this service doesn't have healthy endpoints.

I've had several goes at fixing this problem and I was hopeful I nailed it last time. Can you please grab a copy of /clusters (or run the contour cli cds k exec trick) and the service document from the api and I'll look into it.
Thanks

for reference
https://github.com/heptio/contour/blob/master/internal/e2e/eds_test.go#L103

Maybe I've mistaken about the reason of problem. Because eds gives me right endpoint (it works):
resources: <
  [type.googleapis.com/envoy.api.v2.ClusterLoadAssignment]: <
    cluster_name: "kube-system/kubernetes-dashboard"
    endpoints: <
      lb_endpoints: <
        endpoint: <
          address: <
            socket_address: <
              address: "<IP_ADDRESS>"
              port_value: 9090
            >
          >
        >
      >
    >
  >
>

Cluster:
resources: <
  [type.googleapis.com/envoy.api.v2.Cluster]: <
    name: "kube-system/kubernetes-dashboard/80"
    type: EDS
    eds_cluster_config: <
      eds_config: <
        api_config_source: <
          api_type: GRPC
          cluster_names: "contour"
        >
      >
      service_name: "kube-system/kubernetes-dashboard"
    >
    connect_timeout: <
      nanos: 250000000
    >
  >
>

And route:
    virtual_hosts: <
      name: "dashboard.host"
      domains: "dashboard.host"
      routes: <
        match: <
          prefix: "/"
        >
        route: <
          cluster: "kube-system/kubernetes-dashboard/80"
        >
      >
    >

describe svc
kubectl describe svc -n kube-system kubernetes-dashboard

Name:              kubernetes-dashboard
Namespace:         kube-system
Labels:            addonmanager.kubernetes.io/mode: Reconcile k8s-app: kubernetes-dashboard kubernetes.io/cluster-service: true
Annotations:       kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"labels":{"k8s-app":"kubernetes-dashboard"},"name":"kubernetes-dashboard","namespace":...
Selector:          k8s-app=kubernetes-dashboard
Type:              ClusterIP
IP:                <IP_ADDRESS>
Port:              <unset>  80/TCP
TargetPort:        9090/TCP
Endpoints:         <IP_ADDRESS> <unset>, 9090, TCP

But eventually I get this from envoy in its logs:
source/common/upstream/cluster_manager_impl.cc:755] no healthy host for HTTP connection pool

That looks right. Is the dashboard talking http or https?

On 25 Mar 2018, at 08:13, Alexander Lukyanchenko<EMAIL_ADDRESS>wrote:
Maybe I've mistaken about the reason of problem. Because eds gives me right endpoint (it works):
resources: <
[type.googleapis.com/envoy.api.v2.ClusterLoadAssignment]: <
cluster_name: "kube-system/kubernetes-dashboard"
endpoints: <
lb_endpoints: <
endpoint: <
address: <
socket_address: <
address: "<IP_ADDRESS>"
port_value: 9090
>
>
>
>
>

Cluster:
resources: <
[type.googleapis.com/envoy.api.v2.Cluster]: <
name: "kube-system/kubernetes-dashboard/80"
type: EDS
eds_cluster_config: <
eds_config: <
api_config_source: <
api_type: GRPC
cluster_names: "contour"
>
>
service_name: "kube-system/kubernetes-dashboard"
>
connect_timeout: <
nanos: 250000000
>

And route:
virtual_hosts: <
  name: "dashboard.host"
  domains: "dashboard.host"
  routes: <
    match: <
      prefix: "/"
    >
    route: <
      cluster: "kube-system/kubernetes-dashboard/80"
    >
  >
>

describe svc
kubectl describe svc -n kube-system kubernetes-dashboard
Name:              kubernetes-dashboard
Namespace:         kube-system
Labels:            addonmanager.kubernetes.io/mode: Reconcile k8s-app: kubernetes-dashboard kubernetes.io/cluster-service: true
Annotations:       kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"labels":{"k8s-app":"kubernetes-dashboard"},"name":"kubernetes-dashboard","namespace":...
Selector:          k8s-app=kubernetes-dashboard
Type:              ClusterIP
IP:                <IP_ADDRESS>
Port:                80/TCP
TargetPort:        9090/TCP
Endpoints:         <IP_ADDRESS> , 9090, TCP
But eventually I get this from envoy in its logs:
source/common/upstream/cluster_manager_impl.cc:755] no healthy host for HTTP connection pool
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

It talks http.

Can you port foward to the [envoy admin interface][0] and grab the relevant portion of the /cluster output. I'm interested to see if there are no endpoints registered, or if they are, but are not responding.
[0] https://github.com/heptio/contour/blob/master/docs/troubleshooting.md#access-the-envoy-admin-interface-remotely

This is /cluster grep dashboard:
kube-system/kubernetes-dashboard/80::default_priority::max_connections::1024
kube-system/kubernetes-dashboard/80::default_priority::max_pending_requests::1024
kube-system/kubernetes-dashboard/80::default_priority::max_requests::1024
kube-system/kubernetes-dashboard/80::default_priority::max_retries::3
kube-system/kubernetes-dashboard/80::high_priority::max_connections::1024
kube-system/kubernetes-dashboard/80::high_priority::max_pending_requests::1024
kube-system/kubernetes-dashboard/80::high_priority::max_requests::1024
kube-system/kubernetes-dashboard/80::high_priority::max_retries::3
kube-system/kubernetes-dashboard/80::added_via_api::true

And this is stats of dashboard with one failed request:
cluster.kube-system/kubernetes-dashboard/80.bind_errors: 0
cluster.kube-system/kubernetes-dashboard/80.internal.upstream_rq_503: 1
cluster.kube-system/kubernetes-dashboard/80.internal.upstream_rq_5xx: 1
cluster.kube-system/kubernetes-dashboard/80.lb_healthy_panic: 1
cluster.kube-system/kubernetes-dashboard/80.lb_local_cluster_not_ok: 0
cluster.kube-system/kubernetes-dashboard/80.lb_recalculate_zone_structures: 0
cluster.kube-system/kubernetes-dashboard/80.lb_subsets_active: 0
cluster.kube-system/kubernetes-dashboard/80.lb_subsets_created: 0
cluster.kube-system/kubernetes-dashboard/80.lb_subsets_fallback: 0
cluster.kube-system/kubernetes-dashboard/80.lb_subsets_removed: 0
cluster.kube-system/kubernetes-dashboard/80.lb_subsets_selected: 0
cluster.kube-system/kubernetes-dashboard/80.lb_zone_cluster_too_small: 0
cluster.kube-system/kubernetes-dashboard/80.lb_zone_no_capacity_left: 0
cluster.kube-system/kubernetes-dashboard/80.lb_zone_number_differs: 0
cluster.kube-system/kubernetes-dashboard/80.lb_zone_routing_all_directly: 0
cluster.kube-system/kubernetes-dashboard/80.lb_zone_routing_cross_zone: 0
cluster.kube-system/kubernetes-dashboard/80.lb_zone_routing_sampled: 0
cluster.kube-system/kubernetes-dashboard/80.max_host_weight: 0
cluster.kube-system/kubernetes-dashboard/80.membership_change: 0
cluster.kube-system/kubernetes-dashboard/80.membership_healthy: 0
cluster.kube-system/kubernetes-dashboard/80.membership_total: 0
cluster.kube-system/kubernetes-dashboard/80.retry_or_shadow_abandoned: 0
cluster.kube-system/kubernetes-dashboard/80.update_attempt: 1
cluster.kube-system/kubernetes-dashboard/80.update_empty: 0
cluster.kube-system/kubernetes-dashboard/80.update_failure: 0
cluster.kube-system/kubernetes-dashboard/80.update_rejected: 0
cluster.kube-system/kubernetes-dashboard/80.update_success: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_active: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_close_notify: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_connect_attempts_exceeded: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_connect_fail: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_connect_timeout: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_destroy: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_destroy_local: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_destroy_local_with_active_rq: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_destroy_remote: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_destroy_remote_with_active_rq: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_destroy_with_active_rq: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_http1_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_http2_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_max_requests: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_none_healthy: 1
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_overflow: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_protocol_error: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_rx_bytes_buffered: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_rx_bytes_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_tx_bytes_buffered: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_tx_bytes_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_flow_control_backed_up_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_flow_control_drained_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_flow_control_paused_reading_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_flow_control_resumed_reading_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_503: 1
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_5xx: 1
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_active: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_cancelled: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_maintenance_mode: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_pending_active: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_pending_failure_eject: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_pending_overflow: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_pending_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_per_try_timeout: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_retry: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_retry_overflow: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_retry_success: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_rx_reset: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_timeout: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_tx_reset: 0
cluster.kube-system/kubernetes-dashboard/80.version: 0

Ok, that’s looking like the same error that others have been reporting. Your cluster has no endpoints even though they are there in the api

On 27 Mar 2018, at 15:48, Alexander Lukyanchenko<EMAIL_ADDRESS>wrote:
This is /cluster grep dashboard:
kube-system/kubernetes-dashboard/80::default_priority::max_connections::1024
kube-system/kubernetes-dashboard/80::default_priority::max_pending_requests::1024
kube-system/kubernetes-dashboard/80::default_priority::max_requests::1024
kube-system/kubernetes-dashboard/80::default_priority::max_retries::3
kube-system/kubernetes-dashboard/80::high_priority::max_connections::1024
kube-system/kubernetes-dashboard/80::high_priority::max_pending_requests::1024
kube-system/kubernetes-dashboard/80::high_priority::max_requests::1024
kube-system/kubernetes-dashboard/80::high_priority::max_retries::3
kube-system/kubernetes-dashboard/80::added_via_api::true
And this is stats of dashboard with one failed request:
cluster.kube-system/kubernetes-dashboard/80.bind_errors: 0
cluster.kube-system/kubernetes-dashboard/80.internal.upstream_rq_503: 1
cluster.kube-system/kubernetes-dashboard/80.internal.upstream_rq_5xx: 1
cluster.kube-system/kubernetes-dashboard/80.lb_healthy_panic: 1
cluster.kube-system/kubernetes-dashboard/80.lb_local_cluster_not_ok: 0
cluster.kube-system/kubernetes-dashboard/80.lb_recalculate_zone_structures: 0
cluster.kube-system/kubernetes-dashboard/80.lb_subsets_active: 0
cluster.kube-system/kubernetes-dashboard/80.lb_subsets_created: 0
cluster.kube-system/kubernetes-dashboard/80.lb_subsets_fallback: 0
cluster.kube-system/kubernetes-dashboard/80.lb_subsets_removed: 0
cluster.kube-system/kubernetes-dashboard/80.lb_subsets_selected: 0
cluster.kube-system/kubernetes-dashboard/80.lb_zone_cluster_too_small: 0
cluster.kube-system/kubernetes-dashboard/80.lb_zone_no_capacity_left: 0
cluster.kube-system/kubernetes-dashboard/80.lb_zone_number_differs: 0
cluster.kube-system/kubernetes-dashboard/80.lb_zone_routing_all_directly: 0
cluster.kube-system/kubernetes-dashboard/80.lb_zone_routing_cross_zone: 0
cluster.kube-system/kubernetes-dashboard/80.lb_zone_routing_sampled: 0
cluster.kube-system/kubernetes-dashboard/80.max_host_weight: 0
cluster.kube-system/kubernetes-dashboard/80.membership_change: 0
cluster.kube-system/kubernetes-dashboard/80.membership_healthy: 0
cluster.kube-system/kubernetes-dashboard/80.membership_total: 0
cluster.kube-system/kubernetes-dashboard/80.retry_or_shadow_abandoned: 0
cluster.kube-system/kubernetes-dashboard/80.update_attempt: 1
cluster.kube-system/kubernetes-dashboard/80.update_empty: 0
cluster.kube-system/kubernetes-dashboard/80.update_failure: 0
cluster.kube-system/kubernetes-dashboard/80.update_rejected: 0
cluster.kube-system/kubernetes-dashboard/80.update_success: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_active: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_close_notify: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_connect_attempts_exceeded: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_connect_fail: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_connect_timeout: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_destroy: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_destroy_local: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_destroy_local_with_active_rq: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_destroy_remote: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_destroy_remote_with_active_rq: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_destroy_with_active_rq: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_http1_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_http2_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_max_requests: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_none_healthy: 1
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_overflow: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_protocol_error: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_rx_bytes_buffered: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_rx_bytes_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_tx_bytes_buffered: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_cx_tx_bytes_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_flow_control_backed_up_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_flow_control_drained_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_flow_control_paused_reading_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_flow_control_resumed_reading_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_503: 1
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_5xx: 1
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_active: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_cancelled: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_maintenance_mode: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_pending_active: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_pending_failure_eject: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_pending_overflow: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_pending_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_per_try_timeout: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_retry: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_retry_overflow: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_retry_success: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_rx_reset: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_timeout: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_total: 0
cluster.kube-system/kubernetes-dashboard/80.upstream_rq_tx_reset: 0
cluster.kube-system/kubernetes-dashboard/80.version: 0
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

How can I debug it and how can I understand what's wrong with EDS communication?  Only using tcpdump and see what's going there?

Try turning up the envoy logging level, you can do it via the admin web interface.
You’ve already confirmed that the entries are present in EDS via contour cli eds so either envoy is rejecting the update (the cluster entry has a version of 0 which leads me to suspect this), or the endpoints are somehow broken or pointing to the wrong thing or the contour pod cannot communicate with them and thus they are not able to leave the prewarming state after which the configuration will be applied. Turning envoys logging up to debug will help prove or disprove these hypothesises

On 27 Mar 2018, at 16:30, Alexander Lukyanchenko<EMAIL_ADDRESS>wrote:
How can I debug it and how can I understand what's wrong with EDS communication? Only using tcpdump and see what's going there?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

It seems like it's related with https://github.com/heptio/contour/issues/291
Because when I had decreased the number of clusters in envoy, the same kube configuration started to work as expected.

Can you please set up port forwarding to the contour admin api [0] then paste the results on this command
curl http://<IP_ADDRESS>:9001/clusters | grep ^contour

[0] curl http://<IP_ADDRESS>:9001/clusters | grep ^contour

Thanks to Alexander Lukyanchenko (@Lookyan) we have increased the general gRPC limits on both the Envoy client and Contour server well above anything that should be an issue for the immediate future.
The symptoms of hitting gRPC limits vary, but are basically "envoy doesn't see changes in the API server until I restart ". The underlying cause is likely to be that you have a large (more than 100, possibly 200, the exact limit is not precisely known) number of Service objects in your cluster -- these don't have to be associated with an Ingress. Currently Contour creates a CDS Cluster record for any Service object it learns about through the API, see #298. Each CDS record will cause Envoy to open a new EDS stream, one per Cluster, which can blow through the default limits that Envoy, as the gRPC client, and Contour, as the gRPC server, have set.
One of the easiest ways to detect if this issue is occuring in your cluster is too look for lines about "cluster warming"
[2018-04-03 03:34:16.920][1][info][upstream] source/common/upstream/cluster_manager_impl.cc:388] add/update cluster test2/reverent-noether/80 starting warming
[2018-04-03 03:34:16.922][1][info][upstream] source/common/upstream/cluster_manager_impl.cc:388] add/update cluster test2/serene-bohr/80 starting warming
[2018-04-03 03:34:16.924][1][info][upstream] source/common/upstream/cluster_manager_impl.cc:388] add/update cluster test2/sleepy-hugle/80 starting warming

Without a matching "warming complete" message.
We believe we have addressed this issue, #291, and the fixes are available now to test.
These changes are in master now, and available in the gcr.io/heptio-images/contour:master image for you to try.
This has been backported the release-0.4 branch and are available in a short lived image gcr.io/heptio-images/contour:release-0.4 (it's not going to be deleted, but don't expect it to continue to be updated beyond the 0.4.1 release).

Not sure why github won't auto close this, but it's fixed.


Allow the resolution of images to be specified in SaveFig, and allow for high dpi plots

Purpose:
As discussed in #982 and #981, these changes allow Plot.SaveFig to adjust to the new output width and height without resizing the plot. This allows high resolution images to be saved without changing the size/width of any plot elements. This required a new property in PlotDimensions (TransformScale) and two new properties in Settings (OutputWidth and OutputHeight). It also required converting most GDI.Graphics calls to be adjusted to use the version that has access to the PlotDimensions.
New Functionality:
The answer given in #981 required that label sizes and widths needed to be adjusted to give high resolution images, as shown here.
var plt = new ScottPlot.Plot(3000, 2000);

var sig = plt.AddSignal(DataGen.Sin(51));
sig.LineWidth = 5;
sig.MarkerSize = 20;

plt.XLabel("Horizontal Axis");
plt.YLabel("Vertical Axis");
plt.XAxis.Label(size: 96);
plt.YAxis.Label(size: 96);

plt.XAxis.TickLabelStyle(fontSize: 36);
plt.YAxis.TickLabelStyle(fontSize: 36);

plt.XAxis.MajorGrid(lineWidth: 5);
plt.YAxis.MajorGrid(lineWidth: 5);

With the changes in the PR, the process is much simpler, and identical plots can be produced at different resolutions.
var plt = new ScottPlot.Plot();
var sig = plt.AddSignal(DataGen.Sin(51));
plt.XLabel("Horizontal Axis");
plt.YLabel("Vertical Axis");
plt.SaveFig("TestPlot_LowRes.png", 400, 300);
plt.SaveFig("TestPlot_Standard.png",800,600);
plt.SaveFig("TestPlot_HiRes.png",4000,3000);

I just checked MatPlotLib to see how it deals with this, and rather than specifying an output width/height it allows a DPI setting to be given. See https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.savefig.html. If you would prefer this I could change the SaveFig to work with a DPI setting instead.

It would also be useful to be able to set the size without rendering, for interactive plots.

From #982:

There were still some calls to GDI.Graphics that I couldn't change to use the version that required the PlotDimensions, so these will not have the ScaleTransform applied - these seem mostly to be associated with measuring text.

Measuring text is commonly used in ScottPlot to allocate space for text so that it doesn't overflow onto the plotting area or get obscured by axes. I think the best solution is to move the resolution setting up to the GDI class, seeing as it's not really connected to the dimensions of any one plot. This has already been done for DPI-correcting mouse inputs, and similar things.

Thanks for the fast response @bclehmann and for your helpful comments. I will make the naming and comment changes that you suggested. I was worried about having separate transforms in x and y, since it would stretch elements (fonts, circles etc) in a way that might be surprising to users. The way I have it there will just be whitespace on the plot if they specify and output dimension that is not compatible with the input dimension. The other alternative (as mentioned above for matplotlib) is to pass in a single DPI parameter, but this would require an understanding of what the default DPI of the base plot is. The TransformScale could then just be the ratio of the specified DPI to the default DPI.
I wasn't sure what to do for interactive plots because I haven't looked at them yet (I'm mainly interested in generating static outputs at the moment) and I didn't want to break anything. Happy to take a suggestion on what should change here.
With respect to your comment on measuring text I'm not sure what you mean about moving the resolution setting up to the GDI class. As I understand it GDI is a static class so can't contain these sort of settings.

With respect to your comment on measuring text I'm not sure what you mean about moving the resolution setting up to the GDI class. As I understand it GDI is a static class so can't contain these sort of settings.

Yeah, I think I edited my response right as you replied. I think you could move the methods for creating System.Drawing.Bitmap objects into a separate class or remove the static modifier from GDI, although I am hesitant about such a move.

Looking through the library one of the things that struck me was that the Render function has a passed in bitmap, even though (as far as I could see) it only uses it to pass into GDI.Graphics. It would seem clearer to me if the Render function only used a passed in Graphics, as then all of the Plottables could be used to draw directly onto a graphics context, not only a bitmap. This would make it easier to apply transforms on a Graphics context when establishing a render pipeline and then it would automatically be used by all Plottables.

I also have found when combining the Circle code with this high DPI code described here that the HashBrush stuff doesn't work properly with the resolution scaling, since HashBrushes are pixel based. I would like to make another change to GDI to get it to return a TextureBrush rather than a HashBrush if the output resolution has changed, but this would require PlotDimensions to be passed into GDI.Brush. This would require changing lots of files so I thought I'd check before I add it to the PR.

Thanks so much for this PR @PeterDavidson! I'm already finding this useful not just for high DPI images, but also for making thumbnails. This is a fantastic improvement!
Here are a few changes I made:

I changed the language/behavior away from resizing or not to scaling
The scale factor is now passed into the Render and SaveFig methods but never saved (it's stateless)
Argument docstrings have been rewritten to better reflect what's going on: if you pass dimensions into SaveFig(), the plot is resized by those dimensions, then the output figure is scaled by the scale factor.
This configuration gets around the state issues I hit calling the old code multiple times, and also gets around X/Y ratio issues touched on by @bclehmann

Future improvements:

As @bclehmann noted, these concepts could be extended to the user controls to allow comfortable mouse-interactive plots in high DPI environments. This could be a can of worms though, so I'll save this topic for another day/PR

I'll touch this up a bit more today, but hope to merge/release this weekend.


Own dot-notation filter types

The MongoDB team is planning to remove the default dot-notation support from the Filter type in the upcoming v5 of the driver.
See: https://github.com/mongodb/node-mongodb-native/pull/3520
We want to adopt those types inside Papr, in order to keep Papr filters type safe.

Although they are removing dot-notation support from the Filter, they are also creating a new experimental type StrictFilter that keep the dot-notation.
What do you think if we try to convince them to implement a StrictRootFilterOperators too and encourage them to use it in the StrictFilter?
That would solve all our issues, right?

https://github.com/mongodb/node-mongodb-native/pull/3520#issuecomment-1402140927
I would rather not use their StrictFilter types, since they still mix in Document in there. So we'd like to bring those types into Papr and own them. We can definitely follow the upstream changes and bring in improvements as they come in there.

MongoDB has released the v5.0.0 of Node driver with the StrictFilter changes (https://github.com/mongodb/node-mongodb-native/releases)


synth: fix build on darwin

Motivation for this change
ZHF 21.11 https://github.com/NixOS/nixpkgs/issues/144627
Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

I updated synth and attempted to fix darwin build on staging and it is in staging-next now
https://github.com/NixOS/nixpkgs/blob/staging-next/pkgs/tools/misc/synth/default.nix
I am running a build to see if it builds on x86_64-darwin, if it doesn't, fixes should probably be submitted to staging-next too

I cancelled the build, it was trying to build coreutils
https://github.com/figsoda/nixpkgs-test/runs/4116700550?check_suite_focus=true

Oh nice, didn't see that. Remind me to check again when hydra completes its first darwin eval of the current staging-next cycle, and this can probably be closed.

It didn't build, I created a new pull request to target staging-next: #144925
builds: https://github.com/figsoda/nixpkgs-test/runs/4127483251


Added null checks for session_id in redis store

Redis store might get a session_id of None, which would break the prefix function that wraps session_id in all the store's methods.
Closes #22

This is obsolete as the handler won't load the session if session id is falsy.
See https://github.com/alex-oleshkevich/starsessions/blob/d45bf2ecc69ff84718fc60e9b7dce3a5b3117dec/starsessions/session.py#L108
Also, it will generate a new session id for write method if session id is empty.