Update mouseHandler.ts

Fix issue with popups not workin inside of a webcomponent, see: https://github.com/microsoft/monaco-editor/issues/3409

I think composedPath() is available everywhere, but only includes elements from open shadow roots.
For me it's okay in the other way if it works (don't have tested it).

how does dom.getShadowRoot fin the shadow root? does this work for closed ones?

why isn't https://github.com/microsoft/vscode/blob/8df188a390ec660405ca927d03ff2dee5a447899/src/vs/base/browser/dom.ts#L665 this check doen with
  instanceof ShadowRoot

I just wanted to comment that I ran into this issue as well and locally the proposed change does appear to fix it.

@jogibear9988 with regards to the last comment, would rebasing to use https://github.com/microsoft/vscode/pull/166240#pullrequestreview-1182547076 work or more help is needed?

could this be fixed in the near future?

could this be fixed in the near future?

@jogibear9988 My suggestion above in my review is that you change this Pull Request and use a pattern like the following -- https://github.com/microsoft/vscode/blob/bd32dd5c8fae9c19cc7cd2455d32ccf41cb74b45/src/vs/editor/browser/controller/mouseHandler.ts#L203-L210
That code I linked to checks if the dom node is not in the viewDomNode and then uses shadow dom API (shadowRoot.elementsFromPoint) to find the element inside the shadow node.

I think my pull req. is a simple fix (atm). And it works for openShadow roots and the non shadow root usage. So maybe it does not work for closed ones (but they are rarely used), and I could not get the monaco component to compile so i could test your way.
So this fix is better then the broken state we have since years

Is this still relevant?

Yes. This is still relevant.


Having two git repositories does not work

Verify it's not a duplicate bug report

[X] I searched for similar bugs reported on GitHub and nobody has reported a similar issue. Search all issuees.
[X] I read Troubleshooting guide on Readme and there is not a guide on how to solve my problem.

Describe the Bug
In most of my projects I have multiple git repos opened at the same time. It feels like the commit message button only every works for the first one. If i stage changes in the second and press the button there, it will say nothing staged.
Please tell us if you have customized any of the extension settings or whether you are using the defaults.
no
Additional context
No response

Problem apprears to be this line: diff = await getStagedChangesDiff(workspaceFolders[0].uri.fsPath);


fix viem

This fixes type inference issues seen in https://github.com/wagmi-dev/viem/discussions/468
Generally wouldn't advise the .map(x => x.result) pattern as this may put the consumer into a bad habit of silencing contract errors.
However, if you specify allowFailure: false to multicall, the type changes to be a plain result instead of the { result, error, status } shape.

Ahh interesting so the as const flags that I added seem to be the problem. That's interesting, I'd have thought that could only improve type inference, but tbh I don't know much about what those mean or how they (or the viem type inference more generally) works under the hood. I'll have to brush up on my TS 😅

Generally wouldn't advise the .map(x => x.result) pattern as this may put the consumer into a bad habit of silencing contract errors.

Yea that's fair. FWIW I took that pattern from the examples in the wagmi repo here, which is linked to in the viem docs from the Examples link in the header.

However, if you specify allowFailure: false to multicall, the type changes to be a plain result instead of the { result, error, status } shape.

This is really cool, love that
Thanks a lot for the PR! 🙌


Refactor based on deprecation warnings

Codecov Report

Merging #715 into develop will decrease coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #715      +/-   ##
===========================================
- Coverage    96.55%   96.55%   -0.01%
===========================================
  Files          138      138
  Lines         4093     4090       -3
  Branches       384      384
===========================================
- Hits          3952     3949       -3
  Misses          90       90
  Partials        51       51

Impacted Files
Coverage Δ

datahub/omis/order/admin.py
94.82% <100%> (-0.14%)
:arrow_down:

Continue to review full report at Codecov.

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


Add response body to the logs if it is not empty

I believe it's a nice feature to have the response body being logged if the response has one, we are consistently adding our own response logging for every request we use with the rest client.

Hi @ab, @christemple any updates on this PR!


The statement is wrong

Binary compatible changes are also source compatible changes.
There is no superset between binary and source compatible change.
Example:
    class Foo
    {
        public void Bar() { }
        public void Bar(int a) { } //Adding this method is binary compatible but becomes ambiguous for source
    }
//Client side:
      static void Main(string[] args)
      {
          Handle(new Foo().Bar);
      }
      static void Handle(Action<int> act) { }
      static void Handle(Action act) { }

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

ID: 7025d71b-df42-b8ad-3e31-20a480a5d652
Version Independent ID: a05ae06d-91e1-d1f8-0194-e7830f5c880e
Content: Version and update considerations for C# developers
Content Source: docs/csharp/whats-new/version-update-considerations.md
Product: dotnet-csharp
Technology: csharp-whats-new
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Good point @goyzhang
I've assigned this to me for next month.


Add supported AMI's for amazon

We should documents AMIs for Amazon available here:
https://aws.amazon.com/marketplace/pp/B00O7WM7QW
US East (N. Virginia)      ami-96a818fe
US West (Oregon)          ami-c7d092f7
US West (N. California)      ami-6bcfc42e
EU (Frankfurt)              ami-7cc4f661
EU (Ireland)              ami-e4ff5c93
Asia Pacific (Singapore)  ami-aea582fc
Asia Pacific (Sydney)      ami-bd523087
Asia Pacific (Tokyo)      ami-89634988
South America (Sao Paulo) ami-bf9520a2

We could also include this in terraform sample and do a lookup in the module file for aws.tf and include this in the project
source_ami = "${lookup(var.region, var.ami)}"

there is some scenario where the AMIs we currently recommend (https://aws.amazon.com/marketplace/pp/B00O7WM7QW - release 2015/09/29) are not available in some AWS accounts. We need to test with the latest release of the official Centos 7 AMI

Is the plan to support both the HVM and the official images?

The official centos 7 amis are HVM-based (see url above). All of the current AWS instance types support HVM. I don't think we need to support PV amis but if anyone knows of a reason, please chime in.
It does appear that the release we have been using (7.0.1406 - 2014-09-29, released 09/29/2014) is deprecated and not available for all AWS users. We need to test and support the newer release (7.1.1503 - 2015-09-28, released 10/13/2015). I just had a successful build with ami-d440a6e7 in us-west-2.

I was able to build with eu-west-1 in #870.

merged in #870


Avoid side effects in navi-vis-c3-chart

ESLint now enforces a rule forbidding side effects in computed properties.

Also remove deprecated sendAction call.

Moving to apex


Error: could not find path to FAST5 for read channel_100_0007dcec-e8d1-4b71-9330-30a7e5dc116d_template

Hi, I am getting this error when trying to run the polishing command. My nanopore 1D reads were extracted in fastq format using poretools, is this ok or I need to use fasta format?
This is the command I am running.
python /home/ubuntu/nanopolish/scripts/nanopolish_makerange.py /mnt/cris/JJ2_49/nanopolishspades/draftgenome/contigs.fasta | parallel --results nanopolish.results -P 8
/home/ubuntu/nanopolish/nanopolish variants --consensus polished.{1}.fa -w {1} -r /mnt/cris/JJ2_49/JJ2_49nanoporeraw.fastq -b mnt/cris/JJ2_49/nanopolishspades/sorted.bam -g /mnt/cris/JJ2_49/nanopolishspades/draftgenome/contigs.fasta -t 4 --min-candidate-frequency 0.1
Thanks!
Cris.

Hi,
nanopolish requires the path to the original fast5 file to be in the header of each record in the file. I don't remember if poretools writes this information to fastq - try the fasta option or try using nanopolish extract instead.
Jared

Closing issue, feel free to reopen if there is still a problem.

Hi,
I keep on getting the following outcome when trying to run Nanopolish:
Error: could not find path to FAST5 for read 0000914b-f7c3-4bd4-ba21-eba0466bba5b_Basecall_1D_template:1D_000:template
Please make sure that this path is accessible: /mnt/cris/allbasecalled/all/DPB9XH6V_20170504_FNFAE21462_MN18577_sequencing_run_JJ2_49_40517_82302_ch494_read5889_strand.fast5
##fileformat=VCFv4.2
##INFO=<ID=TotalReads,Number=1,Type=Integer,Description="The number of event-space reads used to call the variant">
##INFO=<ID=SupportFraction,Number=1,Type=Float,Description="The fraction of event-space reads that support the variant">
##INFO=<ID=BaseCalledReadsWithVariant,Number=1,Type=Integer,Description="The number of base-space reads that support the variant">
##INFO=<ID=BaseCalledFraction,Number=1,Type=Float,Description="The fraction of base-space reads that support the variant">
##INFO=<ID=AlleleCount,Number=1,Type=Integer,Description="The inferred number of copies of the allele">
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype">
#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO	FORMAT	sample
Error: could not find path to FAST5 for read 0000914b-f7c3-4bd4-ba21-eba0466bba5b_Basecall_1D_template:1D_000:template
Please make sure that this path is accessible: /mnt/cris/allbasecalled/all/DPB9XH6V_20170504_FNFAE21462_MN18577_sequencing_run_JJ2_49_40517_82302_ch494_read5889_strand.fast5
My reads.fasta file has been obtained using Nanopolish.
Any ideas?

Hi,
The error message indicates nanopolish cannot read one of your fast5 files. Is the path that nanopolish reports correct? Is that file readable?
Jared


Initial Concentration Parameters in SBML

sbml.convert directly assigns initial concentrations according to respective parameters and subsequently removes all initial condition parameters from the model. What is the rational behind this? Are initial condition in pySB always parameters? How should I explicitely define initial condition parameters that also appear as such in the SBML model?

My thinking was to use the simplest option (direct assignment to initialAmount) where possible to maximise compatibility. However, since InitialAssignment is part of the core spec. maybe this isn't an issue in practice and we should always use InitialAssignment as @jmuhlich says.

I am not aware of any SBML best practices on that topic, but given that all initial conditions are parameters, it probably does not make sense to have them as parameters in the SBML model. I would only create respective parameters in the SBML model if they are either estimated during model calibration or assigned according to experimental conditions. As this can currently be done using expressions, the current formalism seems fine to me.
I don't think that initialAmount vs InitialAssignment makes any difference, but initialAmount is generally more readable.


change php version error

Info:

Docker version ($ docker --version): 18.09.4
System info (Mac, PC, Linux): CentOS Linux release 7.6.1810 (Core)

Issue:
when i try to change my php version from 7.2 to 7.1，and i change .env conf like this:
PHP_VERSION=7.1
and rebuild:
docker-compose build php-fpm
and it make wrong like this:

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease  Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR: Service 'php-fpm' failed to build: The command '/bin/sh -c apt-get update -yqq &&     apt-get install -y apt-utils &&     pecl channel-update pecl.php.net' returned a non-zero code: 100

thanks very much.

docker-compose build —no-cache php-fpm

@bestlong  thanks,i try to add '--no-cache' ,but it's still error.

Check network, use debian image
~$ docker run -it --rm debian:jessie bash
Unable to find image 'debian:jessie' locally
jessie: Pulling from library/debian
bf295113f40d: Pull complete
Digest: sha256:201b887113d1190ed7811152af4c14f46a7ce8612dfdaee540fc353f5135d25a
Status: Downloaded newer image for debian:jessie
root@de2262d7c426:/# apt-get update
Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
Ign http://deb.debian.org jessie InRelease
Get:2 http://deb.debian.org jessie Release.gpg [2420 B]
Get:3 http://deb.debian.org jessie Release [148 kB]
Get:4 http://security.debian.org jessie/updates/main amd64 Packages [825 kB]
Get:5 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
Fetched 10.1 MB in 8s (1241 kB/s)
Reading package lists... Done
root@de2262d7c426:/# exit
~$

thanks.

@chinahub @bestlong How to solve this problem? I tried to use these commands without success.

@Sogl Same error message?
Failed to fetch mostly network problem, reboot and check again internet available.

Yeah the same. Solved with pulling new laradock version (but it create new problems 😄 )


Release 1.0.0 + 1.0.1

Please push those two versions to Maven-Central.
Thx,
Stephan

These are the staging-repo references:

1.0.0: orgcamunda-2191
1.0.1: orgcamunda-2193

Sorry, forgot to add the @camunda-community-hub/devrel reference.

Thank you @NPDeehan for jumping in! It is already published to Maven-Central 👍


Hr marshal

@aboodman Last commit shows marshal in action for samples/go/hr/

seems reasonable to me

@aboodman Now ready for review. PTAL.

lgtm

Better PR description needed.

lgtm


Translating "zero" constructor of Nat to "0" literal

I've found @uncle-betty's workaround for natural pattern matching at #117 quite useful. To be more precise, this one, when we make an equivalent version where we only pattern-match for zero:
module Test where

open import Haskell.Prelude
open import Haskell.Prim using (monusNat)

fac3 : Nat → Nat
fac3 0       = 1
fac3 (suc n) = suc n * fac3 n

{-# TERMINATING #-}
fac3' : Nat → Nat
fac3' 0 = 1
fac3' n = n * fac3' (monusNat n 1)

{-# COMPILE AGDA2HS fac3' #-}

fac3'≡fac3 : ∀ n → fac3' n ≡ fac3 n
fac3'≡fac3 zero = refl
fac3'≡fac3 (suc n) rewrite fac3'≡fac3 n = refl

However, this is not supported anymore per #154. I consider it to be useful; so I've rewritten Function.hs so that it always rewrites Agda.Builtin.Nat.Nat.zero to a 0 literal. Pattern matching to suc would still be rejected.
I don't know whether it would require a broader consensus; but I think we wouldn't lose anything by adding this feature. Thanks in advance for looking at it:)

Thanks for the PR, but I am still not convinced that using Agda's builtin Nat type in non-erased parts of Agda2Hs makes any sense. There is no default type in Haskell that corresponds to it, so I don't even know what kind of useful code you'd want to get out of this.

You are right about the Natural type… but still, recursive functions with a case for 0 and a case for everything else are legal Haskell code, maybe even idiomatic. (A factorial function is something I can imagine as an example – that could be written in Agda with integers and an erased proof that they are nonnegative, but it would look strange.) Maybe the Natural type can be replaced with Integer, but we should think about how to handle the negative cases then… I don’t what the best solution would be for that. But I think that might belong to a separate issue.

Maybe an idea for a replacement of naturals would be some kind of record, with an integer and an erased proof. And that could be used in the Agda code, and the Haskell code would simply work with Integers.


Types for TransitionEvent object

TypeScript Version:  Master
Code
/* propertyName and elapsedTime are variables above. */
let event = new TransitionEvent('transitionend', {propertyName, elapsedTime});

As per the definition of the TransitionEvent object, there are no parameters supported (See here)
Expected behavior:
As specified in MDN, the TransitionEvent has a different constructor signature and should accept a type and an options object.
Here is the MDN artice: https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent/TransitionEvent

Also confirmed that this works the same way in Chrome right now.

Actual behavior:
TypeScript currently only allows us to create a TransitionEvent without any parameters.
Would like to submit a PR if desired and if bug is valid.

Should be fixed by https://github.com/Microsoft/TypeScript/pull/13856

@mhegazy Cool. Thanks!


graph-node isn't syncing subgraph

I've managed to deploy a graph-node that logs when it's behind the Ethereum node.
Apr 01 12:19:55.565 INFO Syncing 1 blocks from Ethereum, code: BlockIngestionStatus, blocks_needed: 1, blocks_behind: 1, latest_block_head: 14500316, current_block_head: 14500315, provider: rpinode, component: BlockIngestor
Apr 01 12:20:08.784 INFO Syncing 1 blocks from Ethereum, code: BlockIngestionStatus, blocks_needed: 1, blocks_behind: 1, latest_block_head: 14500317, current_block_head: 14500316, provider: rpinode, component: BlockIngestor
Apr 01 12:20:25.967 INFO Syncing 1 blocks from Ethereum, code: BlockIngestionStatus, blocks_needed: 1, blocks_behind: 1, latest_block_head: 14500318, current_block_head: 14500317, provider: rpinode, component: BlockIngestor

I've also managed to deploy a subgraph. But when I go to its website, I get an error:
{
  "errors": [
    "{\n  \"errors\": [\n    {\n      \"message\": \"Store error: query execution failed: Subgraph `QmfYShvt1zUyeMijkAJxTMYxMRR1NwSPRa81gXAJmUenz5` has not started syncing yet. Wait for it to ingest a few blocks before querying it\"\n    }\n  ]\n}"
  ]
}

I don't understand how to debug this. My logs never mention any synching of this subgraph. How do I find out what is happening?

Hey @TimDaub!
Could you provide your subgraph code, so we can have more context to help you out, please?

Subgraph code: https://github.com/timdaub/web3-music-subgraph
graph-node HEAD commit: d1f9259f1689da7c6b53fb4965689e6d3697477e

facing same issue. has this issue been solved?

I solved this issue by providing a startBlock in source of dataSource.
This says that startBlock is optional but that does not seem to be the case

hi @jessepinkman9900 startBlock is optional but if it isn't provided the subgraph will start syncing from genesis (block 0 of the chain)

facing same issue. has this issue been solved?

haha I sadly resolved it by just deploying to the hosted service


Issue #2488 KeyError raised when Subject ID is not a URI

Changed from value, which may or may not be a list, to subject, derived from subjects which is always a list.

Thanks for the fix! At a glance, based on the details you provided in the issue, this seems like a pretty straightforward change. I'll take a closer look once checks complete :slightly_smiling_face:


proposal for "change workdir"  feature

Hi. Is it possible to realize feature wich will change the current workdir to destination (after project's dircetory created from template)? (Analog of feature "Create Project's Directory" or "Create Subdirectory" in the most of IDEs)
For example, I have a template like a:
* __pascalCase_name__ <--Root project's folder
** ...  <--Project's files.
** ...
** ...

At that time users should to make root project directory and open it manually in the file explorer.
Thanks.

Hmm... let me make sure I understand what you are asking for. When you create a a new folder/file you want VSCode to open that folder/file?

@reesemclean I mean next situation:

for example I have a some template for C application:

This template contains catalog .vscode and makefile
and I have some directory with set of C-projects, named "MyProjects-C"
I'm opening that directory via VSCode

Than I want to add a new project in that directory from template via blueprint

After this operation the directory with a new project was already created

But I can't to start working with that project immediately, because VSCode's current work directory still MyProjects-C
I should open the destination project's directory manually

of course it is not difficult to do manually, but would be a bit comfortable:

check if template is directory
open the destination directory after template processed (change current work directory in VSCode)

(if VSCode allows this operation)


Allow demo to use Somerville school year calculations to demo levels page

This is for the levels page, which is enabled in demo, but raises because the school year calculations aren't supported in the demo env.  For the demo page to work, it's fine to use the Somerville definitions.

selfie


Black screen during battles YKW3

I play ykw 3 on 3ds and during fights, there's a black screen and I can only hear the sound of the fight.

Make sure you don't have any update installed on your YKW3 version


Magnetometer as Compass

I am using the libraries for a project with arduino; the magnetometer works however it gives me values that are not accurate. I would like to know if it is possible to calibrate the magnetometer (without using the 8 movement) to make it more accurate so that I can then use it as a compass.

Hi @dyk74 , it would be great to have a simple one-off magnetometer calibration but I don't think it's possible. One reason is that the magnetic field changes depending on the location, e.g.
indoor/outdoor, buildings around, metallic parts, etc. I thought a bit and tried a bit when I wrote the library but then I noticed all ideas I had were more complex than I thought when it came to the details.
Usually people who want to know the absolute orientation of theq

... sorry, writing from smartphone and hit the wrong button....
I wanted to write: people use quaternions, but this is also quite complex.
If anyone has a smart idea I am happy to come back to this. For the moment I have not planned to proceed.

Hello,
There are those who like to tweak and therefore for whom the more details there are, the more they like.
And then there are those who seek only the useful for them....
Having a compensated compass is an example.
So a calibration process is needed when the assembly is stationary, then after keeping these parameters on condition of always placing the assembly in the same vicinity.
And then when it's on it gives the direction of the magnetic north pole;
Load is up to the user to manage a screen the deviation according to the place etc...
Is it possible to have an example with only an output in ° of the direction from 0° to 360°

Hi @froussel, in theory it's easy. Just turn the magnetometer in all directions and determine the max and min values for the x and y axis. You can define e.g. xmax as north xmin as south and use y values to eliminate the ambiguity of values in between (there are always two angles for each axis which will give the same magnetometer value). If you want to make it more robust, you also need to include the z-axis magnetometer value because if the sensor is not held horizontally it influences the x- and y values.
I have tried this bit but did not achieve satisfying results and then lost motivation spend more time. If anyone finds a reproducible, procedure I am happy to include it. As I wrote before, I currently do not plan to develop something myself.


Hello, when I checked the line of code 'from segment_anything import sam_model_registry' in camosam.py file, I didn't find 'sam_model_registry' file, did you forget to upload it?

You can find sam_model_registry in
segment_anything/build_sam.py


[Question] Caching notifications

Do you do this, and is this even possible? It would greatly decerease loading time when opening & closing again, it's kind of annoying to wait even after a little time. Like 25 message buffer would be nice to have.

He does cache them sometimes, but I do agree that it could be improved. Like I would like it to auto-fetch update after opening up with cache possibly, and maybe a larger buffer like you said would be good.

The notifications are cached every minute, only right before the notification count is updated, otherwise the cache is the same. This way it is optimized to not slow down the main thread.


Make stress test setup run faster

Steps to Reproduce Issue
time cargo run --package sui-benchmark --bin stress -- --log-path /tmp/stress.log --num-client-threads 10 --num-server-threads 24 --num-transfer-accounts 2 bench --target-qps 100 --num-workers 10 --transfer-object 50 --shared-counter 50 --run-duration 10s
The above command takes a while to setup the test objects before actually starting to run the test. One reason this happens is workload set up is based off of a single sui gas token. When creating workloads, we should use a separate gas token for each thread (setup already happens per thread). First do this in local mode, and then extend it for remote mode as well

@sadhansood - is this still relevant?


Hide/Show features implement sooner

Currently the toggling on and off of pages in Growthbooks requires the user to hit refresh or wait a period of time to see the changes.
This ticket is to have the page refresh sooner and not requiring the user to hit refresh.  Possibly the change is reflected in the user experience when they start a new session (i.e when they login, close and open the browser)

@wenzowski I've added this ticket for Growthbooks so you can add any technical information you feel necessary.


System include for company-c-headers not working

Autocompletion of C and C++ system headers always return no result. Instead, project local headers are completed as expected.
I did a bit of debugging and I found out that the company-c-headers-path-system variable is set to nil by the function cmake-ide-set-compiler-flags. The input parameter sys-includes of this function is nil and the reason seems to be that the system include flags could not be found in the project's compile_commands.json file.
An example of compile_commands.json generated by CMake on my system:
{
  "directory": "/home/franzo/Workspaces/cmake_test/build",
  "command": "/usr/local/bin/c++    -I/home/franzo/Workspaces/cmake_test/include    -o CMakeFiles/cmake_test.dir/src/cmake_test.cpp.o -c /home/franzo/Workspaces/cmake_test/src/cmake_test.cpp",
  "file": "/home/franzo/Workspaces/cmake_test/src/cmake_test.cpp"
}

CMake seems to avoid writing the system include flags, but the project local include directory is present. Am I missing any cmake-ide or CMake configuration to also enable system include flags in compile_commands.json?
My system informations:
$ uname -a
Linux Xubuntu-16-10 4.8.0-27-generic #29-Ubuntu SMP Thu Oct 20 21:03:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ cmake --version
cmake version 3.5.2
$ emacs --version
GNU Emacs <IP_ADDRESS>

Thanks.

From the README:
If cmake-ide-flags-c or cmake-ide-flags-c++ are set, they will be added to ac-clang-flags and company-clang-arguments. These variables should be set. Particularly, they should contain the system include paths (e.g. '("-I/usr/include/c++/4.9.1" "..."). For a system with gcc, you can get this information by running gcc -v -xc++ /dev/null -fsyntax-only (it's the same prerequisite for auto-complete-clang to work, since that's how clang itself works).
I'm not sure I tried it manually with company though.

Yes, I manually set cmake-ide-flags-c and cmake-ide-flags-c++ in init.el and their values are mantained when I open a source file of my C++ project. On the other hand, I also set a global value for company-c-headers-path-system (used by company-c-headers for autocompletion) in init.el, but, in the source file buffer, this value is overwritten by a local one which is nil. So, autocompletion works everywhere except when I try to autocomplete an header.
The culprit seems to be the parameter sys-includes of the cmake-ide-set-compiler-flags function, which its called by cmake-ide every time I open a new source file of my C++ project. But sys-includes is nil because there are no system include flags in compile_commands.json.
I also see that sys-includes is used in that function to set some flycheck related variables, so, if its value is nil, it could cause problems even to flycheck. But I personally have not seen any problem with flycheck so far...

I never even had the relevant package installed, so I'd never tried this myself. git tells me I wasn't the one who wrote those lines. I installed company-c-headers and, as you say, it gets set to nil locally. I think this was a misunderstanding of what sys-includes means - it's not the system include paths at all. And it's wrong to reset instead of adding to it. So I'll fix this.


Node Collaborators Meeting - May 17, 2018

Call in information for today's Node.js Certification Meeting
Time: May 17, 2018 11:00 AM Eastern
Node.js Foundation is inviting you to a scheduled Zoom meeting.
Topic: Node.js Foundation's Certification Collaborators Meeting
Time: this is a recurring meeting Meet anytime
Join from PC, Mac, Linux, iOS or Android: https://zoom.us/j/305783293
Or iPhone one-tap :
US: +16699006833,,305783293# or +16465588656,,305783293#
Or Telephone:
Dial(for higher quality, dial a number based on your current location):
US: +1<PHONE_NUMBER> or +1<PHONE_NUMBER>
or +1<PHONE_NUMBER> (Toll Free) or +1<PHONE_NUMBER> (Toll Free)
Meeting ID: 305 783 293
International numbers available: https://zoom.us/u/cBrZ2QMpK

We are online, where are you ?

Attendees:  Mark Hinkle, Annie Fisher, Erick Wendel, Igor Franca, Caitriona Mulholland, David Clements, Igor Franca, Kris Borchers, Tierney Cyren, Liz Kline
RFP

Uploading latest version to Gitbhub
Review for rev

Pull Requests

Tierney and Lucas working on PR for Nodesource

Add mango@ns to invite


[RocketMQ] is the consumeTimeout available? what the time unit is it?

Is the consumeTimeout available?  What the time unit is it?
I can't find the property in dapr rocketmq doc
but i found it in source code.
https://github.com/dapr/components-contrib/blob/b4cdc7a3cae9200cf68d98447cd02314d6329530/pubsub/rocketmq/metadata.go#L129

@jinjianfeng-chn can u answer my question?

maybe we should wait for this
https://github.com/apache/rocketmq-client-go/blob/25003f6f083d3347a169ceb472295c272fbdf7a6/consumer/option.go#L349


VERSION_AMPLIFY stuck at 6.3.1

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

App Id
d2y6lpj9x9jk05
AWS Region
eu-west-1
Amplify Hosting feature
Build settings
Describe the bug
I'm trying to update the amplify version used to build the application with de CI/CD
In the provision status I always see
ENV VERSION_AMPLIFY=6.3.1
I have manually set the build image settings to
Amplify CLI latest
But nothing happens
Expected behavior
CI/CD is always build with the latest amplify CLI version.
Reproduction steps

Change the Build image settings section with Amplify CLI latest
review the logs at "provision" stage

Build Settings
version: 1
frontend:
  phases:
    preBuild:
      commands:
        - npm ci --legacy-peer-deps
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: dist/awsdirectory
    files:
      - "**/*"
  cache:
    paths:
      - node_modules/**/*

backend:
  phases:
    build:
      commands:
        - ln -fs /usr/local/bin/pip3.8 /usr/bin/pip3
        - ln -fs /usr/local/bin/python3.8 /usr/bin/python3
        - pip3 install --user pipenv
        - amplifyPush --simple

Log output

# Framework Versions
ENV VERSION_NODE_8=8.12.0
ENV VERSION_NODE_10=10.16.0
ENV VERSION_NODE_12=12
ENV VERSION_NODE_14=14
ENV VERSION_NODE_16=16
ENV VERSION_NODE_17=17
ENV VERSION_NODE_DEFAULT=$VERSION_NODE_14
ENV VERSION_RUBY_2_4=2.4.6
ENV VERSION_RUBY_2_6=2.6.3
ENV VERSION_BUNDLER=2.0.1
ENV VERSION_RUBY_DEFAULT=$VERSION_RUBY_2_4
ENV VERSION_HUGO=0.75.1
ENV VERSION_YARN=1.22.0
ENV VERSION_AMPLIFY=6.3.1

Additional information
What is the correct way to ensure that the amplify CLI is updated?

Hi @CGarces 👋 , thanks for reaching out to us!
When you set the Amplify CLI package version to latest using live package updates in the build settings, the package is patched at build time and you can review the logs for it as follows:
1. For a particular build, navigate to the Build step of the CI/CD pipeline
2. Under the Cloning repository section, it should print the following:

2023-06-17T10:48:19.262Z [INFO]: # Patching NPM package '@aws-amplify/cli' from 10.5.2 to 12.1.1...
2023-06-17T10:48:35.212Z [INFO]: # Done patching NPM package '@aws-amplify/cli' to version 12.1.1

Additionally, you can also verify the Amplify CLI version that is being used for your app using the amplify --version in your build settings:
version: 1
frontend:
  phases:
    preBuild:
      commands:
        - amplify --version
        - npm ci --legacy-peer-deps
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: dist/awsdirectory
    files:
      - "**/*"
  cache:
    paths:
      - node_modules/**/*

backend:
  phases:
    build:
      commands:
        - ln -fs /usr/local/bin/pip3.8 /usr/bin/pip3
        - ln -fs /usr/local/bin/python3.8 /usr/bin/python3
        - pip3 install --user pipenv
        - amplifyPush --simple

The version will be printed in the backend build logs as follows: 2023-06-19T16:36:33.688Z [INFO]: 12.1.1.


chore: refactor functional tests, update tests, refactor api slightly

Description of changes
Adding/refactoring tests, and updating per feedback in https://github.com/aws-amplify/amplify-category-api/pull/1555
CDK / CloudFormation Parameters Changed
N/A
Issue #, if available
N/A
Description of how you validated changes
Unit tests + build + manual smoke testing.
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[x] Relevant documentation is changed or added (and PR referenced)
[x] Any CDK or CloudFormation parameter changes are called out explicitly

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #1578 (18fe9aa) into main (681939d) will increase coverage by 0.03%.
The diff coverage is 44.00%.

: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.
@@            Coverage Diff             @@
##             main    #1578      +/-   ##
==========================================
+ Coverage   63.11%   63.14%   +0.03%
==========================================
  Files         370      369       -1
  Lines       21611    21605       -6
  Branches     5156     5154       -2
==========================================
+ Hits        13640    13643       +3
+ Misses       7241     7233       -8
+ Partials      730      729       -1

Impacted Files
Coverage Δ

...l-api-construct/src/internal/user-defined-slots.ts
9.37% <13.33%> (+1.04%)
:arrow_up:

...y-graphql-api-construct/src/amplify-graphql-api.ts
95.83% <85.71%> (ø)

...-api-construct/src/internal/authorization-modes.ts
82.35% <100.00%> (+10.92%)
:arrow_up:

...ql-api-construct/src/internal/construct-exports.ts
97.61% <100.00%> (+2.38%)
:arrow_up:

...api-construct/src/internal/schema-preprocessors.ts
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[google_maps_flutter_web] Widget not disappearing after route change

Steps to Reproduce

Have a fullscreen-sized GMap widget in a Stack with a toolbar and stuff
Have a button launching pushNamed to change routes
(Have a custom onGenerateRoute giving normal MaterialPageRoutes, and use flutter_web_plugins to get rid of the hash in the url)
Open page with GMap in Chrome or Firefox on Windows
Click button

Expected results:
The new page opens, and the GMap on the old page disappears with the old page.
Actual results:
The new page opens, and the GMap quickly reappears on top of the new page after it's done animating its appearance. It will not resize with the browser window anymore, but it will react to dragging etc.
Detailed information:
This does not happen on mobile webbrowsers, and also not on emulated mobile in Chrome after refreshing the page. If I emulate mobile in Chrome, refresh the page, and then quit emulating mobile without refreshing, it does also not occur. I didn't have this issue using flutter_google_maps, so I doubt it's a common iframe issue. This happens on the latest dev and master build (probably others too, can't test my full application there without major adaptations), and my Flutter doctor is all good.

my pizza burned while I wrote this, so please make it worth it.

my pizza burned while I wrote this, so please make it worth it.

Hi @davidjan3
I cannot reproduce the issue.
Can you please provide your flutter doctor -v your pubspec.yaml and a minimal reproducible code sample.
Thank you

Hi @davidjan3
I cannot reproduce the issue.
Can you please provide your flutter doctor -v your pubspec.yaml and a minimal reproducible code sample.
Thank you

main.dart:
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      initialRoute: "/",
      routes: {
        "/": (context) => HomePage(),
        "/sub": (context) => SubPage(),
      },
    );
  }
}

class HomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Stack(
        children: [
          GoogleMap(
            initialCameraPosition: CameraPosition(
              target: new LatLng(52.5208271, 13.4093387),
              zoom: 14.0,
            ),
            minMaxZoomPreference: MinMaxZoomPreference(4.0, 20.0),
            zoomControlsEnabled: false,
            rotateGesturesEnabled: false,
          ),
          FloatingActionButton(onPressed: () {
            Navigator.pushNamed(context, "/sub");
          }),
        ],
      ),
    );
  }
}

class SubPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Text("Sub page"),
      ),
    );
  }
}

pubspec.yaml:
name: gmap_test
description: A new Flutter application.

publish_to: 'none'

version: 1.0.0+1

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  google_maps_flutter: ^1.1.1
  google_maps_flutter_web: ^0.1.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  integration_test:
    sdk: flutter

flutter:
  uses-material-design: true

flutter doctor -v:
[√] Flutter (Channel dev, 1.26.0-12.0.pre, on Microsoft Windows [Version 10.0.19042.782], locale de-DE)
    • Flutter version 1.26.0-12.0.pre at C:\WebCode\Tools\Flutter
    • Framework revision a706cd2112 (12 days ago), 2021-01-14 18:20:26 -0500
    • Engine revision effb529ece
    • Dart version 2.12.0 (build 2.12.0-224.0.dev)

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

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

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

[√] VS Code (version 1.52.1)
    • VS Code at C:\Users\David\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.18.1

[√] Connected device (3 available)
    • SM G973F (mobile) • RF8M21NL7DH • android-arm64  • Android 11 (API 30)
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 87.0.4280.141
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 88.0.705.50

• No issues found!

main.dart:
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      initialRoute: "/",
      routes: {
        "/": (context) => HomePage(),
        "/sub": (context) => SubPage(),
      },
    );
  }
}

class HomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Stack(
        children: [
          GoogleMap(
            initialCameraPosition: CameraPosition(
              target: new LatLng(52.5208271, 13.4093387),
              zoom: 14.0,
            ),
            minMaxZoomPreference: MinMaxZoomPreference(4.0, 20.0),
            zoomControlsEnabled: false,
            rotateGesturesEnabled: false,
          ),
          FloatingActionButton(onPressed: () {
            Navigator.pushNamed(context, "/sub");
          }),
        ],
      ),
    );
  }
}

class SubPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Text("Sub page"),
      ),
    );
  }
}

pubspec.yaml:
name: gmap_test
description: A new Flutter application.

publish_to: 'none'

version: 1.0.0+1

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  google_maps_flutter: ^1.1.1
  google_maps_flutter_web: ^0.1.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  integration_test:
    sdk: flutter

flutter:
  uses-material-design: true

flutter doctor -v:
[√] Flutter (Channel dev, 1.26.0-12.0.pre, on Microsoft Windows [Version 10.0.19042.782], locale de-DE)
    • Flutter version 1.26.0-12.0.pre at C:\WebCode\Tools\Flutter
    • Framework revision a706cd2112 (12 days ago), 2021-01-14 18:20:26 -0500
    • Engine revision effb529ece
    • Dart version 2.12.0 (build 2.12.0-224.0.dev)

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

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

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

[√] VS Code (version 1.52.1)
    • VS Code at C:\Users\David\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.18.1

[√] Connected device (3 available)
    • SM G973F (mobile) • RF8M21NL7DH • android-arm64  • Android 11 (API 30)
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 87.0.4280.141
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 88.0.705.50

• No issues found!

Appears the issue is only happening on dev and master channels, beta works as expected. So unless I'm mistaken and this package fails to adapt to some incoming changes, you might close this issue.

Appears the issue is only happening on dev and master channels, beta works as expected. So unless I'm mistaken and this package fails to adapt to some incoming changes, you might close this issue.

Moving from dev to beta channel actually has an influence on the bug. Now the map is behind the freshly opened page - due to iframe pointer passthrough, one can still drag around the map through the background. I've now figured out, that this only happens using CanvasKit, which explains the absence of the bug on mobile browsers.

Moving from dev to beta channel actually has an influence on the bug. Now the map is behind the freshly opened page - due to iframe pointer passthrough, one can still drag around the map through the background. I've now figured out, that this only happens using CanvasKit, which explains the absence of the bug on mobile browsers.

The issue seems to be that the navigator is showing the next in only some portion of the screen. In my example I've added a backgroundColor in the Scaffold of the page being pushed so you can see that it is being added in the right side of the web-page only. The issue disappear if you reload the page.
I can confirm that this only happens with CanvasKit renderer.
Found in: Master, Dev, Beta channel

On Beta channel, I'm able to interact with the Google Maps from the first page route, as mentioned by the OP, but the original is still reproducible, the second route does not cover the entire web-area.
Important: Notice the onTap callback being called while touching the scaffold oof the second page.

While reproducing on Master channel, I found this crash logs while you press the back button in the second route.

crash logs
[+5384 ms] Error: Assertion failed: org-dartlang-sdk:///flutter_web_sdk/lib/_engine/engine/navigation/history.dart:284:14
           _userProvidedRouteName != null
           is not true
               at Object.throw_ [as throw] (http://localhost:52564/dart_sdk.js:5336:11)
               at Object.assertFailed (http://localhost:52564/dart_sdk.js:5272:15)
               at _engine.SingleEntryBrowserHistory.new.onPopState (http://localhost:52564/dart_sdk.js:148292:59)
[  +83 ms] Error: Assertion failed: org-dartlang-sdk:///flutter_web_sdk/lib/_engine/engine/navigation/history.dart:239:12
           _isOriginEntry(state)
           is not true
               at Object.throw_ [as throw] (http://localhost:52564/dart_sdk.js:5336:11)
               at Object.assertFailed (http://localhost:52564/dart_sdk.js:5272:15)
               at _engine.SingleEntryBrowserHistory.new.[_unwrapOriginState] (http://localhost:52564/dart_sdk.js:148268:57)
               at _engine.SingleEntryBrowserHistory.new.tearDown (http://localhost:52564/dart_sdk.js:148328:79)
               at tearDown.next (<anonymous>)
               at http://localhost:52564/dart_sdk.js:39034:33
               at _RootZone.runUnary (http://localhost:52564/dart_sdk.js:38891:58)
               at _FutureListener.thenAwait.handleValue (http://localhost:52564/dart_sdk.js:33877:29)
               at handleValueCallback (http://localhost:52564/dart_sdk.js:34437:49)
               at Function._propagateToListeners (http://localhost:52564/dart_sdk.js:34475:17)
               at _Future.new.[_completeWithValue] (http://localhost:52564/dart_sdk.js:34317:23)
               at async._AsyncCallbackEntry.new.callback (http://localhost:52564/dart_sdk.js:34340:35)
               at Object._microtaskLoop (http://localhost:52564/dart_sdk.js:39178:13)
               at _startMicrotaskLoop (http://localhost:52564/dart_sdk.js:39184:13)
               at http://localhost:52564/dart_sdk.js:34691:9

flutter doctor -v
[✓] Flutter (Channel master, 1.26.0-13.0.pre.194, on Mac OS X 10.15.7 19H114 darwin-x64, locale en)
    • Flutter version 1.26.0-13.0.pre.194 at /Users/pedromassango/Code/flutter_master
    • Framework revision 71aec53acb (30 minutes ago), 2021-01-26 21:53:04 -0800
    • Engine revision b11bef83a5
    • Dart version 2.12.0 (build 2.12.0-263.0.dev)

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

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

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

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

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.2.5
    • Dart plugin version 203.6912

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • Mac OS X 10.15.7 19H114 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 88.0.4324.96

! Doctor found issues in 1 category.

[✓] Flutter (Channel dev, 1.26.0-12.0.pre, on Mac OS X 10.15.7 19H114 darwin-x64, locale en)
    • Flutter version 1.26.0-12.0.pre at /Users/pedromassango/Code/flutter_dev
    • Framework revision a706cd2112 (12 days ago), 2021-01-14 18:20:26 -0500
    • Engine revision effb529ece
    • Dart version 2.12.0 (build 2.12.0-224.0.dev)

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

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

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

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

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.2.5
    • Dart plugin version 203.6912

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • Mac OS X 10.15.7 19H114 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 88.0.4324.96

! Doctor found issues in 1 category.

[✓] Flutter (Channel beta, 1.25.0-8.3.pre, on Mac OS X 10.15.7 19H114 darwin-x64, locale en)
    • Flutter version 1.25.0-8.3.pre at /Users/pedromassango/Code/flutter_beta
    • Framework revision 5d36f2e7f5 (12 days ago), 2021-01-14 15:57:49 -0800
    • Engine revision 7a8f8ca02c
    • Dart version 2.12.0 (build 2.12.0-133.7.beta)

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

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

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

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

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.2.5
    • Dart plugin version 203.6912

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

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 88.0.4324.96

• No issues found!

The issue seems to be that the navigator is showing the next in only some portion of the screen. In my example I've added a backgroundColor in the Scaffold of the page being pushed so you can see that it is being added in the right side of the web-page only. The issue disappear if you reload the page.
I can confirm that this only happens with CanvasKit renderer.
Found in: Master, Dev, Beta channel

On Beta channel, I'm able to interact with the Google Maps from the first page route, as mentioned by the OP, but the original is still reproducible, the second route does not cover the entire web-area.
Important: Notice the onTap callback being called while touching the scaffold oof the second page.

While reproducing on Master channel, I found this crash logs while you press the back button in the second route.

crash logs
[+5384 ms] Error: Assertion failed: org-dartlang-sdk:///flutter_web_sdk/lib/_engine/engine/navigation/history.dart:284:14
           _userProvidedRouteName != null
           is not true
               at Object.throw_ [as throw] (http://localhost:52564/dart_sdk.js:5336:11)
               at Object.assertFailed (http://localhost:52564/dart_sdk.js:5272:15)
               at _engine.SingleEntryBrowserHistory.new.onPopState (http://localhost:52564/dart_sdk.js:148292:59)
[  +83 ms] Error: Assertion failed: org-dartlang-sdk:///flutter_web_sdk/lib/_engine/engine/navigation/history.dart:239:12
           _isOriginEntry(state)
           is not true
               at Object.throw_ [as throw] (http://localhost:52564/dart_sdk.js:5336:11)
               at Object.assertFailed (http://localhost:52564/dart_sdk.js:5272:15)
               at _engine.SingleEntryBrowserHistory.new.[_unwrapOriginState] (http://localhost:52564/dart_sdk.js:148268:57)
               at _engine.SingleEntryBrowserHistory.new.tearDown (http://localhost:52564/dart_sdk.js:148328:79)
               at tearDown.next (<anonymous>)
               at http://localhost:52564/dart_sdk.js:39034:33
               at _RootZone.runUnary (http://localhost:52564/dart_sdk.js:38891:58)
               at _FutureListener.thenAwait.handleValue (http://localhost:52564/dart_sdk.js:33877:29)
               at handleValueCallback (http://localhost:52564/dart_sdk.js:34437:49)
               at Function._propagateToListeners (http://localhost:52564/dart_sdk.js:34475:17)
               at _Future.new.[_completeWithValue] (http://localhost:52564/dart_sdk.js:34317:23)
               at async._AsyncCallbackEntry.new.callback (http://localhost:52564/dart_sdk.js:34340:35)
               at Object._microtaskLoop (http://localhost:52564/dart_sdk.js:39178:13)
               at _startMicrotaskLoop (http://localhost:52564/dart_sdk.js:39184:13)
               at http://localhost:52564/dart_sdk.js:34691:9

flutter doctor -v
[✓] Flutter (Channel master, 1.26.0-13.0.pre.194, on Mac OS X 10.15.7 19H114 darwin-x64, locale en)
    • Flutter version 1.26.0-13.0.pre.194 at /Users/pedromassango/Code/flutter_master
    • Framework revision 71aec53acb (30 minutes ago), 2021-01-26 21:53:04 -0800
    • Engine revision b11bef83a5
    • Dart version 2.12.0 (build 2.12.0-263.0.dev)

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

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

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

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

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.2.5
    • Dart plugin version 203.6912

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • Mac OS X 10.15.7 19H114 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 88.0.4324.96

! Doctor found issues in 1 category.

[✓] Flutter (Channel dev, 1.26.0-12.0.pre, on Mac OS X 10.15.7 19H114 darwin-x64, locale en)
    • Flutter version 1.26.0-12.0.pre at /Users/pedromassango/Code/flutter_dev
    • Framework revision a706cd2112 (12 days ago), 2021-01-14 18:20:26 -0500
    • Engine revision effb529ece
    • Dart version 2.12.0 (build 2.12.0-224.0.dev)

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

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

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

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

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.2.5
    • Dart plugin version 203.6912

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • Mac OS X 10.15.7 19H114 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 88.0.4324.96

! Doctor found issues in 1 category.

[✓] Flutter (Channel beta, 1.25.0-8.3.pre, on Mac OS X 10.15.7 19H114 darwin-x64, locale en)
    • Flutter version 1.25.0-8.3.pre at /Users/pedromassango/Code/flutter_beta
    • Framework revision 5d36f2e7f5 (12 days ago), 2021-01-14 15:57:49 -0800
    • Engine revision 7a8f8ca02c
    • Dart version 2.12.0 (build 2.12.0-133.7.beta)

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

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

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

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

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.2.5
    • Dart plugin version 203.6912

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

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 88.0.4324.96

• No issues found!

/cc @ditman @hterkelsen

/cc @ditman @hterkelsen

@ferhatb: @yjbanov is taking a look, this might be related to some CK optimizations pushed recently.

@ferhatb: @yjbanov is taking a look, this might be related to some CK optimizations pushed recently.


Fix VMWare leftovers when deleting VM without root disk

Description
The MS sends the destroy/delete command of a VM to vCenter when cleaning up its volumes.  If the VM does not have a root volume, the VM with its folder and metadata files remain in vCenter.
To reproduce, deploy a VM, detach its volume, and delete the VM. Then, check vCenter and the VM will still be there.
This PR fixes it by implementing finalizeExpunge for VMWareGuru, which queues a Cleanup Command that, if the VM still exists, sends a destroy command to vCenter to cleanup whatever remained.
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[X] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI
[ ] test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[X] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

Deploy VM
Destroy VM
Before PR
After PR

Without data disks, detach root disk.
With expunge
VM remains on vCenter :x:
VM gone from vCenter :white_check_mark:

Without data disks, detach root disk.
Without expunge
VM remains on vCenter :white_check_mark:
VM remains on vCenter :white_check_mark:

Without data disks, detach nothing
With expunge
VM gone from vCenter :white_check_mark:
VM gone from vCenter :white_check_mark:

With a data disk, detach root disk
With expunge, without selecting data disk
VM remains on vCenter :x:
VM gone from vCenter :white_check_mark:

With a data disk, detach root disk
With expunge, selecting the data disk
VM remains on vCenter :x:
VM gone from vCenter :white_check_mark:

With a data disk, detach nothing
With expunge, without selecting the data disk
VM gone from vCenter :white_check_mark:
VM gone from vCenter :white_check_mark:

@blueorangutan package

@vladimirpetrov a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 11557


ng-repeat for slides removed when settings changed

It seems that the destroy method deletes everything that was initially inside the slider directive, so any ng-repeat items are lost

Instead of destroying it, it should go a element.slick('unslick') rather than destroying the data when it's reinitialized


NVIDIA support fixes

Fixes to make the nvidia support work properly, and more robust.
Consolidated various hook scripts into single script called from oneshot service.  This ensure nvidia setup is always done proper to dockerd starting, such as after reboot or graphics interface re-connection due to content provider snap update.
Detect if system has an usable NVIDIA card, and ensure only set up in that case.

@xnox I've had a go at improving the NVIDIA support - PTAL


Softly assign workspace to monitor

Workspaces with intent is great, i.e. "Workspace (C)omms for email and messaging apps". I usually like this one on Monitor D but sometimes I want to focus it by moving it to Monitor A. To have this flexibility I can't use workspace-to-monitor-force-assignment but then I have to manually move all my workspaces into position on every start, which is annoying.
I'd like a workspace-to-monitor-assignment (no force) that assigns a workspace to a monitor, if it exists, at launch but doesn't force it to stay there. A "reset this workspace to assigned monitor" would be nice to avoid the workspace shuffle of moving one monitor-at-a-time.

Duplicate of #123


Use global CDN for package installation

This is open for feedback and testing. We had reports that package installation was very slow (the default mirror is set to one in the US). This adds a CDN endpoint alpine.gliderlabs.com which caches nl.alpinelinux.org. The Alpine Linux package index uses ETags which CloudFront obeys to invalidate cache, so updates should get picked up fairly quickly.
Speed in regions other than the US should be improved once packages are fetched and cached the first time. However, there are two concerns:

Costs supporting the CloudFront distribution. I have no idea of potential load and cost of the CloudFront distribution. Though, we are happy to sponsor the costs if it ends up being reasonable.
It is not an official means of repository usage and may differ too much from upstream.

To test this out, you can load up one of the images from the CircleCI build artifacts:
curl -s https://circle-artifacts.com/gh/gliderlabs/docker-alpine/45/artifacts/3/home/ubuntu/docker-alpine/images/gliderlabs_alpine_3.1_build-45.tar.gz | docker load

@andyshinn an alternative will be CloudFlare with the free plan (which offers CDN) but that requires:

DNS to be managed by CloudFlare (not bad actually)
Alpine Linux mirror server needs to support the new Host

If you guys figure this out, let me know :smile:

Yea, we did look at CloudFlare as well. But it seemed like it might be too much involvement upstream to do DNS hackery. I do want to solve the "mirror too far away" problem and am still playing with ideas.

Have you tried reaching out to CloudFlare or (e.g.) DigitalOcean? Perhaps they are willing to sponsor in exchange for some exposure

Yeah, I tried pointing CloudFlare at some existing mirrors which fails since they have virtual hosts and don't recognize the custom domain. However, you could point CloudFlare at the alpine.gliderlabs.com mirror. CloudFlare does seem supportive of open source, so they might be open to something. There's also Fastly who is currently donating their CDN services to the Python Package Index.

MaxCDN also sponsors some open source things: https://www.maxcdn.com/open-source/

I'm :+1: for figuring out something because I've been trying to build images all day and failing due to temporary problems with the default mirror. I tried adding other mirrors but unfortunately apk doesn't seem to fall back when there are problems. :-/

Fastly was the only CDN to actually be very open to the idea. I've merged this in for the gliderlabs/alpine image only at the moment. It may also make its way to the official Alpine image. But for the moment, this will be one differentiating feature between the two.
I'll be pushing this out to Docker Hub today or tomorrow.

Thanks, and thanks @fastly!!


Create "How-to use Existing CFN Template" in docs

Done. Since we already had this information in the "AWS CDK Concepts" section, I re-used that content.
This info is in the "How-To: Use Resources from an Existing AWS CloudFormation Template" section of cookbook.rst in the dougsch/addhowto branch. Once I've finished this round of how-to sections, I'll open a PR and add the PR # to this issue and close it.


Create readme.md

Pull Request Format
PR Title
Issue #0 : ISSUE NAME solved
Type of PR

Add X in the box to specify the improvement type.
[X] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): ___________

Description
This pull request aims to [briefly describe what the pull request does, e.g., "add a new feature," "fix a bug," "improve documentation," etc.].
Screenshots / Videos (if applicable)
Before:

[Describe the state before the changes, e.g., "The section headings in the footer were misaligned, leading to an inconsistent and cluttered appearance."]

After:

[Describe the state after the changes, e.g., "The section headings in the footer are now properly aligned, providing a clean and professional look."]

Checklist

Add X in the box to specify.
[X] I have performed a self-review of my code.
[ ] I have tested the changes thoroughly before submitting this pull request.
[ ] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ ] I have commented my code, particularly in hard-to-understand areas.

Additional Context
[Provide any additional context about the changes, such as specific challenges you faced or decisions you made. This can help reviewers understand the rationale behind your changes.]
Thank you for reviewing my pull request!

please label it hactoberfest-accepted

@AbhilashSavadatti What did you change in README ? I can't see any changes.
Also you didn't provide any issue number.


Replace Ptr with std::shared_ptr

Compare with current Ptr. We lost some feature of the ptr ownership. So it would be better to involve std::shared_ptr, std::unique_ptr and std::auto_ptr etc .
I would involve this class to replace RefCountObj.
#include <memory>

class Freeable {
public:
  virtual void free() = 0;

  struct Deletor {
   void operator()(Freeable *f) {
        f->free();
   }
  };
};

So the object creator would be
class ProxyMutex
{
void free() override;
}

std::shared_ptr<ProxyMutex>
new_ProxyMutex()
{
   auto m = std::unique_ptr<ProxyMutex, Freeable::Deletor>(proxyMutexAllocator.alloc());
  m->init();
  return m;
}

👍

I'm not sure we can do this. I recently ran in to a situation where Ptr works when shared_ptr would not.
The essence is that, given a raw pointer, it is safe to convert it to a Ptr but not safe to convert it to a shared_ptr. This comes up in plugins where various objects (most commonly a MutexPtr) is passed across the plugin API as a raw pointer. A very specific example is assigning the HttpSM mutex to a per transaction Continuation.
The C++ standard did not include Boost.IntrisuvePtr which is the equivalent of Ptr.

it is safe to convert it to a Ptr but not safe to convert it to a shared_ptr.

Where does the difference come from? (How does Ptr make it safe?)
My understanding was that Ptr is equivalent of shared_ptr and it has been used just because historical reason, but sounds like it is not.
Wrapping a raw pointer with Ptr (or shared_ptr) without its ownership sounds dangerous. I'd be curious if Ptr does it safely.

This isn't going to happen in the foreseeable future.


Some streams flicker

E.g. http://www.twitch.tv/nl_kripp flickers hard on vlc, but the flash version on the page doesn't show any flickering.

Sounds like specific issue in your VLC setup. Try changing video output and/or toggle accelerated video output.


fix(rust): pin ed25519 version due to deprecation changes

It's probably better to just #[allow(deprectated)]. Pinning has consequences downstream, allow(deprecated) doesn't.


Rate query failing from Grafana

Thanos, Prometheus and Golang version used:
Thanos 0.34.0
Prometheus 2.51.0

Object Storage Provider: Linode
What happened:
I have Grafana deployed to my k8s cluster as part of the kube-prometheus-stack Helm chart.
It is connected to my Thanos querier as its main datasource (which is connected to various Thanos sidecars).
One of our performance engineers has raised my attention to an issue in Grafana specifically, with the following query (note this is using custom metrics from our apps):
sum (irate(starlord_http_requests_total{container=“starlord-cyber-feed”,namespace=“app”, cluster=“qa-1”}[1m])) by (cluster)
The problem is:
On local prometheus UI, or on Thanos querier UI, running this query works, no problems at all.
But on Grafana (as part of a dashboard, or generally on explore), as soon as we increase the time to >12h, the graph flattens down to 0…
Now, since the query is working just fine on both Prometheus and Thanos Querier, I am left to believe the issue here must be with Grafana
(as Thanos Querier is its datasource, so why would it provide a different response?)
Some example screenshots:
Here is the query set to 1 hour, in both Grafana and Thanos querier, looks all good:

Now, here it is in both, set to 24 hours:

I’ve tried debugging this and haven’t found much, what I did try:

Tried using “rate” instead of “irate”, same issue
Tried changing the datasource’s “scrape interval” to 30s (from the default 15), same issue
Tried updating Promteheus+Grafana+Thanos to latest version

Only lead I did find is this log line, with http status 400, matching my query:
logger=context userId=3 orgId=1 uname=<my-email> t=2024-04-01T16:07:47.268619112Z level=info msg="Request Completed" method=POST path=/api/ds/query status=400 remote_addr=<IP_ADDRESS> time_ms=16 duration=16.278802ms size=13513 referer="https://<my-domain>/explore?orgId=1&panes=%7B%22r5m%22%3A%7B%22datasource%22%3A%22P5DCFC7561CCDE821%22%2C%22queries%22%3A%5B%7B%22refId%22%3A%22A%22%2C%22expr%22%3A%22sum+%28rate%28starlord_http_requests_total%7Bcontainer%3D%5C%22starlord-cyber-feed%5C%22%2Cnamespace%3D%5C%22app%5C%22%2C+cluster%3D%5C%22qa-1%5C%22%7D%5B1m%5D%29%29+by+%28cluster%29%22%2C%22range%22%3Atrue%2C%22instant%22%3Atrue%2C%22datasource%22%3A%7B%22type%22%3A%22prometheus%22%2C%22uid%22%3A%22P5DCFC7561CCDE821%22%7D%2C%22editorMode%22%3A%22code%22%2C%22legendFormat%22%3A%22__auto%22%7D%5D%2C%22range%22%3A%7B%22from%22%3A%22now-24h%22%2C%22to%22%3A%22now%22%7D%7D%7D&schemaVersion=1" handler=/api/ds/query status_source=downstream
So, possibly Thanos querier is failing to handle the query from Grafana for some reason? Thanos itself isn't showing anything on the log about this...
What you expected to happen:
I expected queries ran in Thanos querier, and in Grafana (which queries Thanos querier) to be the same.
How to reproduce it (as minimally and precisely as possible):
Not sure how to reproduce without our specific metrics, but general setup is kube-prometheus-stack + thanos-querier + thanos sidecar(s)

Got a response from Grafana support, issue was on their side


failed to encrypt: salt must be 32 bytes on nak bunker

I started nak bunker --sec 1 relay.damus.io, logged in to coracle.social using the bunker URL, and tried to send a NIP-17 DM, but couldn't.
The log was like this:
- got request from 'ec41458f7bdde8190818c41307f467096b99bb0182bb3982702e5d6cf45f44d0': {
    "id": "5376369500923434",
    "method": "nip44_encrypt",
    "params": [
      "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
      "{\"content\":\"test1\",\"kind\":14,\"created_at\":1724083587,\"tags\":[[\"p\",\"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798\",\"wss://nostr.fmt.wiz.biz/\",\"one\"]],\"pubkey\":\"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798\",\"id\":\"8dbaf3f55a59236f638745009f1a5ae483ef95176f4331c02f56338197e69e26\"}"
    ]
  }
~ responding with {
    "id": "5376369500923434",
    "error": "failed to encrypt: salt must be 32 bytes"
  }
* sent response through wss://relay.damus.io

Is this a problem with nak or coracle?

Probably nak. I had never tested the nip44 integration. Thank you for reporting.


Strava Provider Implementation

Please consider this pull request contribution for Strava OAuth Provider support to your fantastic project.  Let me know.
I also implemented and outlined how to leverage OwinOAuthProviderConfig.cs to help prevent committing clientId and clientSecret data into version control.
Cheers,
Sean

I think splitting the provider and the secrets storing method change in two different pull requests dould be better, as they can be evaluated separately.

Thank you @segilbert
I will look at all PRs this coming Friday

This PR is not valid anymore...

@segilbert We are looking for help moving to ASP.NET 5. Please read http://www.jerriepelser.com/blog/calling-contributors-for-oauth-providers


[feature request]improve service topology controller by using client.Client instead of kubernetes.Interface

What would you like to be added:
In service topology controller, kubernetes.Interface is used for updating annotations of endpoints, v1.endpointslices, v1beta1.endpointslices.
and it is recommended to use client.Client instead of kubernetes.Interface to update K8s object in yurt-manager controller because controller-runtime is imported by yurt-manager.
Why is this needed:
it is recommended to use client.Client instead of kubernetes.Interface to update K8s object in yurt-manager controller because controller-runtime is imported by yurt-manager.
others
/kind feature

I want to try this.

I want to try this.

Thanks for your participation. /assign @zhy76

/assign @zhy76


Add cardinality to shex validation report

this should take care of https://github.com/geneontology/minerva/issues/330

Feel free to self-merge and we can work out a time to put it up.


Single exclude doen't work in discover config

When a single exclude value is provided in the discover step config tests are not excluded as expected:
discover:
    how: fmf
    url: https://github.com/teemtee/tmt
    exclude: /tests/unit
execute:
    how: tmt

The exclude implementation iterates over all letters of the /tests/unit string and thus no tests are selected:
 tmt run discover -v
/var/tmp/tmt/run-118

/plans/example
    discover
        how: fmf
        url: https://github.com/teemtee/tmt
        hash: ec2e296
        summary: 0 tests selected
        warning: No tests found, finishing plan.

Would be good to tmt.utils.listify() the exclude key and add test coverage for this case. @Ajchler, would you be interested in this?

Great, thanks!


Update mime.types to properly serve JSON files. This addresses #30

Add configuration for JSON files, so that they are served as application/json mime type. Re #30

LGTM! Thanks so much for this contribution.

Verified desired behavior with fixture app:
HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Type: application/json
Date: Fri, 17 Apr 2015 17:56:31 GMT
Etag: "55314936-3d"
Last-Modified: Fri, 17 Apr 2015 17:56:06 GMT
Server: nginx/1.7.4
X-Cf-Requestid: 0171e6c9-b225-40c8-7c0d-7f51936d6d8b
Content-Length: 61
Connection: keep-alive

{
  "test": "working",
  "version": "<IP_ADDRESS>",
  "size": 42
}

Merged!


Fix for multiple query parameters with same name.

Add support for collectionFormat multi that is implemented with explode parameter. After identifying that we need collectionFormat multi, we store it in the builder and add flag multipleQueryParams = true. The multiple parameters part is implemented in azure-sdk-for-java/pull/21203.
This will fix the following:

Support URL with multiple query param with same same

This is ready for review.

@v-ddaian You can close this one. Superseded by https://github.com/Azure/autorest.java/pull/1161


Potential conflict in generating_ssh_keys provided by azure-cli-core

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug

When performing concurrent tests recently, we found that the generate_ssh_keys function provided by the cli core has potential concurrency conflicts.
In the existing implementation, when multiple processes try to create an ssh key, process A may have created a file but has not yet written key data, while process B reads an empty file at this time and obtains illegal empty key data.
In our module(acs/aks-preview), the example of calling this function is located in the validator.
For end users, this problem may also occur when users create multiple clusters (az aks create) at the same time and there is no ssh key that has been generated.
To Reproduce

Expected behavior

Environment summary

Additional context

A simple solution is to add a global lock to the generate_ssh_keys function.

@jiasli for awareness


About minMax

That function is indeed quite inefficient. The overhead of allocations and unnecessary device synchronization is large compared to the relatively fast execution time of the kernel.
A few tricks to get rid of this overhead with only minor changes:

Use cv::cuda::findMinMax instead of cv::cuda::minMax
Provide a GPU matrix for the output argument, and reuse the allocation for this matrix
Copy the results to pinned memory (e.g cv::cuda::HostMem) and reuse that allocation too
Only synchronize when you need to read the host outputs. You want to be as asynchronous as possible to avoid launch and synchronization latencies.

The code using these tips looks like this:
cv::cuda::Stream stream;
cv::cuda::GpuMat minmax_g(1, 2, CV_32FC1);
cv::cuda::HostMem minmax_h(1, 2, CV_32FC1);
for (uint32_t i{0}; i < 10; ++i) {
  float *minValue = (float *)minmax_h.data;
  float *maxValue = (float *)(minmax_h.data + sizeof(float));
  cv::cuda::findMinMax(m, minmax_g, cv::noArray(), stream);
  minmax_g.download(minmax_h, stream);
  stream.waitForCompletion();
  std::cout << *minValue << " " << *maxValue << std::endl;
}

Before:

After:

You can see that there are still launch and synchronization overheads. For the sake of comparison, without the stream sync it looks like this (but the host pointers only contain correct values after sync):

On a side note, the reduction kernels are suboptimal. The two one-block one-thread initialization kernels incur launch latencies, and the main kernel has room for improvement too.

@Nyrio thank you for the update. The findMinMax function indeed performs better. Somehow I missed it, maybe because it's not documented.

@nikitablack minMax is using findMinMax, the only difference is that we're skipping the internal allocations and copies ;)
It's listed in the docs although there aren't many details: https://docs.opencv.org/3.4/d5/de6/group__cudaarithm__reduce.html#gae7f5f2aa9f65314470a76fccdff887f2


Containers are run as root

The current implementation runs all containers as root. This is not necessary and a security concern. Re-factor to run containers as non-privileged users instead.

Requested by Czech ELIXIR node, see here: https://docs.google.com/spreadsheets/d/1vBFhBQ-nFqhSL5dLjQfOWO6x9BzmV9x6l18p9GYRZdQ/edit#gid=0
Contacts: @xhejtman & @viktoriaas

OpenShift runs then as a non root user by default, so this should be easy to solve by changing the HELM charts for the kubernetes templates.

There is also an issue #113 which appears when an executor is run as a non-root user and it most probably causes problems with permissions to access files creates by a root-run filer. It is not enough to change the user in the container of filer, as it is likely to cause even more issues with file access. The solution would be as @lvarin suggests, to force securityContext via K8s (runAsUser and sth to coordinate file access).


Fetchchild

api place ranking
http://<IP_ADDRESS>:8080/api/place/ranking/geoId/06?hl=zh
https://screenshot.googleplex.com/6i8e7NUYfzNxVnb
fetch_child
http://<IP_ADDRESS>:8080/api/place/child/geoId/06
This would take a long long time to load fetch children name are all fetched before filtering.
As far as I could tell, only placelist uses this. If we don't care about placelist i18n, I am thinking revert this change.
Or filter children first, before getting their i18n name.

This change is

placelist doesn't have to be i18n - it's essentially a sitemap for the search index.
if you'd like to keep the code, filtering first sgtm

Updated per comments and verified http://<IP_ADDRESS>:8080/api/place/ranking/geoId/06?hl=zh
submitting...


Concourse add affinity

Kubernetes now needs podAffinityTerm, added it to worker stateful set

/ok-to-test

/ok-to-test

@unguiculus gonna do this until this weekend, thanks for pointing this

Marking this as stale. Please update PR within one week.

@unguiculus: I just submitted a PR that implements your suggestion in #1756.


HybridObject needs to receive platform arguments

I was confused as the jsdoc states that the default generic parameter for HybridObject would be:
https://github.com/mrousavy/nitro/blob/2e2e67fbeb96efb4fb8bfa779d6ed009d42675d4/packages/react-native-nitro-modules/src/HybridObject.ts#L24-L35
However, when trying to generate a spec specifying no generic parameter:
export interface PointerHolder extends HybridObject {

i get this error:
🔧  Loading nitro.json config...
🚀  Nitrogen runs at ~/Documents/Github/react-native-filament/package
    🔍  Nitrogen found 2 specs in ./src/specs
⏳  Parsing PointerHolder.nitro.ts...
⚠   PointerHolder does not declare any platforms in HybridObject<T> - nothing can be generated.
    ❌  No specs found in PointerHolder.nitro.ts!

Ah right, there's some pre-parsing code that still validates this. We should just be able to remove that and everything will work.
I'll take a look at this soon, I think for now you're not blocked by just explicitly adding the type arguments right?

No I am not blocked, all good, just wanted to report this for DX

Let's turn this into a discussion; do we even want a default-behaviour for this?
Let's say the user doesn't explicitly declare the platforms, so just extends HybridObject.
It will generate C++ code on both iOS and Android.

Is that the best behaviour?
Why not Swift and Kotlin?
What happens if a new platform (e.g. windows) gets added? Should it also generate for that?

I think this is expected. You need to specify the platforms.

Agree but then we should remove the jsdoc comment about the defaults then I guess


Error Configuration JSON cannot be located : .\MandiantAzureADInvestigator.json

PS C:\Windows\system32> Invoke-MandiantAllChecks c:\temp
Running all checks...
WARNING: Configuration JSON cannot be located : .\MandiantAzureADInvestigator.json
Write-Warning : Cannot bind argument to parameter 'Message' because it is null.
At C:\Mandiant-Azure-AD-Investigator-master\MandiantAzureADInvestigator.psm1:643 char:36

        Write-Warning -Message $_

                               ~~

CategoryInfo          : InvalidData: (:) [Write-Warning], ParameterBindingValidationException
FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.WriteWarningCommand

Attached Screenshot for reference. Please advise.
Thanks,
Ali.

Try changing to the directory you have the module saved to and executing from there

Try changing to the directory you have the module saved to and executing from there

Thank you so much! It works as expected !!


KAFKA-4427: Skip topic groups with no tasks

@dguy @guozhangwang please have a look if you can. Thanks.

Thanks @dguy

org.apache.kafka.clients.consumer.KafkaConsumerTest.testCloseTimeout failed. This is unrelated to this PR.

kafka.producer.ProducerTest.testAsyncSendCanCorrectlyFailWithTimeout failed. Unrelated to PR. Streams tests passed.

Merged to trunk.


[sourcekit] Add an optional virtual file system per request and/or open document

TODO: description

This is an updated version of #24417 and much of the work is by @marcrasi
Changes since #24417:

Moved filesystem providers to live in the SwiftLangSupport layer, and instantiation into the requests
Migrated configuration of the file system to use OptionsDictionary
Renamed the builtin vfs from "testvfs" to "in-memory-vfs", since it's useful in its own right
Added the ability to pass "in-memory-vfs" file contents as strings
Moved the caching of the VFS from the ASTProducer onto the SwiftEditorDocument's semantic info. This provides better semantics for when to perform rebuilds

Open document now has a single entry in the ASTCache that gets rebuilt instead of one per VFS
VFS identity is not considered in shouldRebuild, only the contents and timestamps

Added additional tests for these state and caching changes

@swift-ci please smoke test

@swift-ci please smoke test macOS

@swift-ci please smoke test

@swift-ci please clean smoke test macOS

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 0c280edeedb234d66d537b418ccd634119ff35ac

Build failed
Swift Test OS X Platform
Git Sha - 0c280edeedb234d66d537b418ccd634119ff35ac

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 913dda7f548caf1f4bd868c9eecfb33fceda9ec1

Build failed
Swift Test OS X Platform
Git Sha - 913dda7f548caf1f4bd868c9eecfb33fceda9ec1

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - cdd9da0ef46f5eae033a4264936a68441a890c1a

Build failed
Swift Test Linux Platform
Git Sha - cdd9da0ef46f5eae033a4264936a68441a890c1a

I'll try getting this patch to work with my client today, to see if there are any unexpected difficulties.

Let me know how it does!

Are you waiting for anything else before you merge this in? Any way I can help?

Are you waiting for anything else before you merge this in? Any way I can help?

Nope, I just got busy with something else before I could apply your suggested changes.  I was hoping to get back to it this week, but if you want to take it back over, feel free :-)

I'll have some time to rebase this and update it today. So I'll do that today, unless you've already started working on it by now.

I wouldn't get to it today, so go for it!

Rebased and updated, in https://github.com/apple/swift/pull/26168.


Asyncio "no PONG received in 3 seconds" after 30 seconds

Hi,
I am wondering if the asyncio implementation sends the PINGs in the background because I receive no PONG received in 3 seconds every single time after 30 seconds.
My understanding is that the ping is sent every websocket.timeout in seconds and the websocket waits 3 seconds to receive PONG message, am I right?

Sorry for a late reply.
In brief, not quite. websocket.timeout is not supposed to be the exact PING/PONG period yet quite related.
Indeed PING/PONG messages are managed by uwsgi's websocket implementation, but uwsgi exposes no related api. Theoretically that timeout should not be necessary. If we use either bare uwsgi or the blocking uwsgi.websocket_recv, PING/PONG messages would be handled by uwsgi automatically. But once behind a reverse proxy or a load balancer, which would be a common setup, without calling uwsgi.websocket_recv_nb or uwsgi.websocket_recv uwsgi might not handle PING/PONG messages properly, resulting a timeout disconnect. So, websocket.timeout is just used to periodically trigger uwsgi to handle PING/PONG messages, and uwsgi will decide whether it should be sent which we cannot control.

Hi
I use this repo to stream client microphone samples to server. Unfortunately, every time I get aforementioned error, which consequences client websocket to close and so the program stop working...
If there is no way to control such crucial parameter of uwsgi, I think you choosed inappropriate library as base! Please give my start back!

This seems to be a bug in uwsgi, see this pull request: https://github.com/unbit/uwsgi/pull/1261.


Merge latest changes to master

In GitLab by @wknet123 on Oct 22, 2020, 01:27

In GitLab by @wknet123 on Oct 22, 2020, 01:31
mentioned in commit f1cd8ceb7813606f00a866488af31d293728b7f2

In GitLab by @wknet123 on Oct 22, 2020, 01:31
merged


Variable shadowing should be a warning (?) instead of an error

(define x 1)

(define f
  (lambda (x) (+ x 1)))
; The rebinding of x in the lambda should be a warning instead
; of an error so that we can talk about shadowing/scoping!

Solved in some previous commit---not sure why this didn't get closed!


I get an OverRecursionLimit Error when querying using spark

Question
I am using mysql-java connector to query using spark. While querying, sometimes I get this error. When does this error occur ?
Caused by: java.sql.SQLException: other error: unknown error StringError("[src/coprocessor/endpoint.rs:488]: WireError(OverRecursionLimit)")

Before asking a question, make sure you have:

Searched existing Stack Overflow questions.
Googled your question.
Searched open and closed GitHub issues
Read the documentation:

TiKV Readme
TiKV Doc
TiKV-Ctl Doc
TiDB & TiKV Stack Doc

Hi, it looks like your query is too complex and exceeds our parsing recursion limit. Would you like to post your query here?
As a quick fix, you may adjust the configuration end-point-recursion-limit to a higher value, i.e. 2000 and try again.

@breeswish The query is a bunch of comparisons on primary key to get data, but it is on a batch of 1 day and the number of rows are close to 1 lakh. The query is
select * from table where (pk_1=1 AND pk_2=2) OR (pk_1=2 AND pk_2=3) OR (pk_1=4 AND pk_2=5) OR (pk_1=5 AND pk_2=6) OR (pk_1=7 AND pk_2=8).... so on.
What should be the limit for  conditions in where clause?

@Guru107  How many conditions are there totally?
There is no precise limit of conditions currently. The conditions will be built into AST like:
OR( OR(AND(EQ(pk_1,1), EQ(pk_2,2)), AND(EQ(pk_1,2), EQ(pk_2,3))), OR(.....) )
When AST is being serialized and deserialized (to pass from TiDB to TiKV), it is done recursively. And end-point-recursion-limit is the limit of number of allowed times to do recursive deserialization. It does not directly affect TiKV performance (but if your request is very complex, then it takes time to deserialize).

@breeswish Total conditions are 6253 in where clause

Thanks, it is indeed too many and OverRecursionLimit error is expected behaviour. You may eliminate your condition (note that this many conditions are bad for performance) or enlarge the configuration as above.


Way to trigger an analyze for use in post add scripting

Video objects in plex have a analyze function that appears to block until analysis is done.
Maybe a new command to ask for an analyze of a candidate for kintro?
Or a Flag to try to generate an intro if an intro is missing (last chance behaviour)?

@brutog Thoughts?

I was going to check plex webhooks and see what was available. It might be nice to have a kintro command to trigger analyze if that will stuff intro data into the DB for any videos that somehow didn't scrape it. Calling analyze in bulk seems dangerous though.

Sounds fine to me...maybe with a warning that it could be heavy if used with high parallelism.


Nginx module doesn't support vhosts on both regular and ssl

Issue description
When, on a vhost, you specify enableAcme but not forceSSL, the HTTP server won't have the vhost defined and the ACME challenge will fail. enableAcme only works with forceSSL.
In general, vhosts have no way to be both on and off SSL, you need to double the specification.
I propose that vhosts can be either http-only (default), https-only (current enableSSL), http+https (not possible) or http=>https (forceSSL). I think enableSSL should be http+https, and for https-only you should also specify e.g. sslOnly.
Furthermore, enableAcme should work with enableSSL (and complain if neither is set).
Steps to reproduce
Create a vhost with enableSSL true and enableAcme true.
Technical details

System: NixOS: 17.03

/cc @globin @fadenb @rnhmjoj - thoughts?

This is basically what #27426 does. Could you test if ACME works with addSSL?

Also see https://github.com/NixOS/nixpkgs/issues/27338

Closed via #27426


[BUG] OB2 Threads Problem on Linux

Sorry for my english first ,  this problem living on jobs page if i open five jobs cpu usage it will reach 100% , its normal. If i want to close jobs and click abort buttons sometimes not closing threads and cpu usage it stays stable because of it. If i click stop buttons not closing just holding. I have no choice but to abort button. This causes the error to occur

yes same problem I m getting

fixed