README.md is missing information required to get the PowerShell module to import properly.

Brief description of your issue
After freshly cloning and building the repository, the Tools\PowerShellModule\src\Microsoft.WinGet.Source.psd1 module cannot be imported:
Add-Type : Cannot bind parameter 'Path' to the target. Exception setting "Path": "Cannot find path
'C:\src\winget-cli-restsource\Tools\PowershellModule\src\Library\HelperLib\x64\Microsoft.Winget.PowershellSupport.dll'
because it does not exist."
At C:\src\winget-cli-restsource\Tools\PowershellModule\src\Microsoft.WinGet.Source.psm1:24 char:32
+ ... -Type -Path "$PSScriptRoot\Library\HelperLib\x64\Microsoft.Winget.Pow ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (:) [Add-Type], ParameterBindingException
    + FullyQualifiedErrorId : ParameterBindingFailed,Microsoft.PowerShell.Commands.AddTypeCommand

In fact, there's no Tools\PowerShellModule\src\Library\HelperLib\x64 path at all.
I manually copied the contents of %reporoot%\src\WinGet.RestSource.PowerShell\bin\debug\netstandard2.1 into %reporoot%\Tools\PowerShellModule\src\Library\HelperLib\x64 which appeared to be enough to allow the Microsoft.WinGet.Source.psd1 file to import.
I'm reporting this because I didn't see any mention of this in the README.md, and this is critical information needed to get the cmdlets to work. The docs should be updated to make sure these steps are mentioned so that the PowerShell module is usable.

Hi @ameltzerMSFT, the inclusion of the ..\HelperLib\x64 is included as part of the Released PowerShell module. On a new release of the project the HelperLib is included in the PowerShell module compressed folder.

Thanks. I don't recall seeing anything about this in the README and I was approaching this from a "clone the git repo, build it, and use it" but this doesn't seem to be the case.
From: Roy @.>
Sent: Tuesday, 4 October, 2022 17:13
To: microsoft/winget-cli-restsource @.>
Cc: Adam Meltzer @.>; Mention @.>
Subject: Re: [microsoft/winget-cli-restsource] README.md is missing information required to get the PowerShell module to import properly. (Issue #172)
Hi @ameltzerMSFThttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FameltzerMSFT&data=05|01|Adam.Meltzer%40microsoft.com|dbb43a65132f4125f11f08daa6665786|72f988bf86f141af91ab2d7cd011db47|1|0|638005255743609430|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=ya9fASBPY8aKI4txpccuhMAKfcYRw2Tj2mC3qPL4GrY%3D&reserved=0, the inclusion of the ..\HelperLib\x64 is included as part of the Released PowerShell module. On a new release of the project the HelperLib is included in the PowerShell module compressed folder.

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fwinget-cli-restsource%2Fissues%2F172%23issuecomment-1267753076&data=05|01|Adam.Meltzer%40microsoft.com|dbb43a65132f4125f11f08daa6665786|72f988bf86f141af91ab2d7cd011db47|1|0|638005255743629321|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=ADL69JVbusLDRrSvKpkhRE931D9u3xOMtD6wh1JREWk%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGLNDFB4TACGGM7RINZYP3LWBTBYFANCNFSM6AAAAAAQWJJ77E&data=05|01|Adam.Meltzer%40microsoft.com|dbb43a65132f4125f11f08daa6665786|72f988bf86f141af91ab2d7cd011db47|1|0|638005255743639287|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=eH6W45i8aN%2BT%2FVFhW913Z6zqOIql15xKDzASr0OsDec%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Hi @ameltzerMSFT, the inclusion of the ..\HelperLib\x64 is included as part of the Released PowerShell module. On a new release of the project the HelperLib is included in the PowerShell module compressed folder.

just downloaded the latest release and the file (and folder) is missing in WinGet.RestSource-Winget.PowerShell.Source.zip. No such folder as HelperLib\x64. Copied the file from WinGet.RestSource-WinGet.RestSource.Functions\bin


Bounty: HMAC

Hash-based Message Authentication Code: HMAC-SHA256
HMAC is a message authentication code that allows you to verify both, Data integrity and Authenticity, of a message. We currently have no tool like this in ronkathon. It involves using multiple primitives together.
Requirements
An implementation of HMAC-SHA256 using ronkathon's SHA256 hash satisfying:

[ ] #146
[ ] #145

Resources

Wikipedia overview
HMAC Generator/Tester
How HMAC Works Step By Step
What is HMAC?

Criteria
The winner will be selected based on the following criteria, in this order:

Thorough convincing that the implementation is completely correct. (Requirements at least met.)
Code clarity and quality. This means succinct code that is easy to follow, naming, minimal use of other resources (no outside crates, please), use of Rust’s type system for flexibility and security (e.g., compile time checks where possible). Optimizations are a bonus, but should be de-prioritized for clarity. (Bonus points: If you want to add in slick optimizations, please gate these behind a feature!)
Documentation quality. Other modules in ronkathon have wonderful READMEs, Cargo docs, and inline comments where code itself is not clear enough. ronkathon is primarily an educational toolbox and playground. We prioritize clarity, readability, and our contributors’ ability to learn and grow over anything. Help us maintain this quality throughout!

This feels like you are trying to get hackers to just do your company's work for you

We don't use any of this code in production and it's strictly a learning resource so i am not sure how the company benefits from this work other from collaborating and learning with community. As we are sponsoring the hackathon in zkmontreal we decided to offer financial bounties to help people learn about different cryptographic primitives!


Put build step in a separate job in dashboard repo

Is that related to #562 in some way?

Haha, that exactly the same :)


fix optional parameters support

Currently, all parameters for API clients are mandatory.
Some of them are unnecessary and should be addressed.
ex) struct pattern, Functional option pattern

Fixed


Fix the incorrect file name in OrderedCollections cmake file

Currently OrderedCollections cmake incorrectly list "Utilities/_UnsafeBitSet.swift" instead of "Utilities/_UnsafeBitset.swift", causing build failures
Checklist

[x] I've read the Contribution Guidelines
[x] My contributions are licensed under the Swift license.
[x] I've followed the coding style of the rest of the project.
[ ] I've added tests covering all new code paths my change adds to the project (if appropriate).
[ ] I've added benchmarks covering new functionality (if appropriate).
[x] I've verified that my change does not break any existing tests or introduce unexplained benchmark regressions.
[ ] I've updated the documentation if necessary.

@swift-ci test


It should be W3School not CodeSchool

@Rick-Anderson @spboyer Please review the change.

@aftab10662,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@spboyer  is that the link we want?

@fiyazbinhasan  please review.

@Rick-Anderson not sure. code school provides in browser code challenges after completing a video. so i guess the code school link is ok!


crystal: 1.2.1 → 1.2.2

Motivation for this change
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

/cc @NixOS/crystal-lang

/marvin opt-in
/status needs_reviewer

nixpkgs-review:
12 packages built:
ameba crystal crystal2nix icr invidious lucky-cli mint oq scry shards shards_0_15 thicket

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/636


Default color for Doughnut/Pie

This adds a helper function, hue(), to Doughnut and adds a default color to each segment if color is not included in data. It adds color just before addData() is invoked. It currently uses Array.prototype.map to do this which requires ECMAScript 5 or a polyfill. Also included is a demo.

Yes! Please add default colors to pie/doughnut charts.

You think we need to add a little more documentation?

This change should be optimized.
CSS support hsl colors in amost every browser, see http://caniuse.com/#search=hsl. Instead of calculating some hexcolor with magic, just use hsl(degree, saturation, lightness). Saturation and lightness should be set via settings (with smooth defaults) and degree (base-color) changed by items of chart.
Additionally it could set highlighted colors (changing saturation or lightness) too.
I'm not sure, if everything still works, if some colors are set in data with this pull-request. Should be tested and yes, documentation needs to be changed, too.  And last of all, the colors should be set to all charts, not only Doughnut/Pie.

At the time I wrote this I was unaware of hsl colors but, yes, hsl should be used instead and I've just made that change on my fork. Settings for saturation and lightness are a good idea but for the moment I just want some easy default behavior with a minimal impact on the api. Maybe someone could suggest an api for saturation and lightness.
Highlights are not required so I'm more hesitant to add default behavior for that. Perhaps something like defaultHighlights: true could be a new setting in the chart options object. That would be easy for the default hsl colors but a new algorithms would be required for user supplied colors for each of the possible color values (an algorithm for hex values, one for rgb/rgba, one for hsl/hsla, and one for predefined color names). Perhaps defaultHighlights: true would add the default highlights only if a default color was added.
Doughnut/pie charts are the only style that currently requires colors to be specifically set which is why only doughnut/pie needs default colors.
Each object in the data array gets checked to see if it has a color property and only adds one if it's missing so if your data has some colors specified and others not it will still work and only add color where it's needed.

Regarding the documentation:
Currently the documentation says "you must pass in an array of objects with a value and a color property." I think it should be changed to "you must pass in an array of objects with a value and an optional color property."
Or perhaps simply "you must pass in an array of objects with a value."
Thoughts anyone?

+1 for merge. Do we want this in polar area charts as well?

@cmweiss, you're right. We should start simple with a default color. All other enhancements could be added later.
+1 for merge.

I don't mind having this as just a doughnut/pie thing originally but agree it'd be nice to add in support for line/bars later on.
Has anyone got a screenshot of that the default colours actually end up looking like? It'd be nice to have a pretty set of saturations/values else it might be a bit redundant!
Also, I'd like to remove the need for a native Array.prototype.map, or the need for it to be polyfilled. It'd be trivial to have the same effect using helpers.each and pushing to a new array on each iteration or even adding in a helpers.map method for this purpose. It'd be a small extra bit of code but would make peoples lives a lot easier for dealing with older browsers.

Here's the demo: http://cmweiss.github.io/chartjs/samples/doughnut.color.html
I love Array.prototype.map (and its kin) but for the sake of code consistency (and for older browsers) I'll check out helpers.each.
I would add that supporting older browsers forever is not reasonable and some thought should be given to when to move to ES5.

My fork now uses helpers.each in place of Array.prototype.map.
I don't know how to get my current version pulled in place of the one I submitted.

@cmweiss it is auto updated.

Cool, thanks!

@nnnick , Here's a screenshot:

I've collapsed it down to two lines of code that fit within the existing helpers.each at line 75.
What's your take on the change to the documentation? Should the reference to the color property be removed entirely from line 58 of the docs?

:+1:

Is this good to be merged? @nnnick @fulldecent @jakesyl @tannerlinsley @derekperkins @fntneves

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain typeshape.com has exceeded the max emails per hour (1/1 (100%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext2.iad.github.net ([<IP_ADDRESS>]:46771 helo=github-smtp2b-ext-cp1-prd.iad.github.net)
by whm01.mammoth.net.au with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.85)
(envelope-from<EMAIL_ADDRESS>id 1YgAN8-000CIL-HX
for<EMAIL_ADDRESS>Thu, 09 Apr 2015 21:11:55 +1000
Date: Thu, 09 Apr 2015 04:11:41 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1428577901;
bh=fLH32Q8L/5NcdgjHVHRvFNpgIJ6zIqLeJYPKnvYmFO4=;
h=From:Reply-To:To:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=0frA1UDt7Ymt1Qd6ogbYyc+AiHLjpNKRdu7uIRaj2SHMWKjS/jlIkK2WbLmtE0X/f
7TGrbsPaeTHkE+mPpriBft7HZq7LTc98BAbLRjrJrFLLTsaCMsWqGPpU3f7BXte7Oa
a3GxKV1nh0VZIA6tcXRQbVPBE/FDt5rXYNnKAqFw=
From: Evert Timberg<EMAIL_ADDRESS>Reply-To: "nnnick/Chart.js"<EMAIL_ADDRESS>To: "nnnick/Chart.js"<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [Chart.js] Default color for Doughnut/Pie (#711)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_55265e6de316d_c2f3ff828b072b8235529";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: etimberg
X-GitHub-Recipient: thowmas
List-ID: nnnick/Chart.js <Chart.js.nnnick.github.com>
List-Archive: https://github.com/nnnick/Chart.js
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AAzPAQfqBScBzd96lhF50VNnXjnokzQWks5n9lXtgaJpZM4CxT7g
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>X-Spam-Status: No, score=-5.9
X-Spam-Score: -58
X-Spam-Bar: -----
X-Ham-Report: Spam detection software, running on the system "whm01.mammoth.net.au",
has NOT identified this incoming email as spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
root@localhost for details.
Content preview:  Is this good to be merged? @nnnick @fulldecent @jakesyl @tannerlinsley
@derekperkins @fntneves --- Reply to this email directly or view it on GitHub:
https://github.com/nnnick/Chart.js/pull/711#issuecomment-91197609 [...]
Content analysis details:   (-5.9 points, 5.0 required)
pts rule name              description

-5.0 RCVD_IN_DNSWL_HI       RBL: Sender listed at http://www.dnswl.org/, high
trust
[<IP_ADDRESS> listed in list.dnswl.org]
-0.0 RCVD_IN_MSPIKE_H4      RBL: Very Good reputation (+4)
[<IP_ADDRESS> listed in wl.mailspike.net]
-0.0 SPF_PASS               SPF: sender matches SPF record
-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
0.0 HTML_MESSAGE           BODY: HTML included in message
1.1 HTML_IMAGE_ONLY_16     BODY: HTML: images with 1200-1600 bytes of words
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
domain
0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
-0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
X-Spam-Flag: NO
----==_mimepart_55265e6de316d_c2f3ff828b072b8235529
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Is this good to be merged? @nnnick @fulldecent @jakesyl @tannerlinsley @derekperkins @fntneves

Reply to this email directly or view it on GitHub:
https://github.com/nnnick/Chart.js/pull/711#issuecomment-91197609
----==_mimepart_55265e6de316d_c2f3ff828b072b8235529
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Is this good to be merged? @nnnick @fulldecent @jakesyl @tannerlinsley @derekperkins @fntneves
—Reply to this email directly or view it on GitHub.

----==_mimepart_55265e6de316d_c2f3ff828b072b8235529--

+1

w00t!

version 1.0.2 doesn't include this, right? Can we bump bower?

I'd like to be able to use this as well.

this is awesome. Thanks cmweiss!

I'm a bit confused - was this added to the current stable version? I cannot seem to find mention of it in the documentation and a pie chart without colors for each item results in black slices that disappear on hover.

I'm having the same issue as @opheliadesign, ever reach a conclusion?

No this was not added to the current stable... and migrating from stable 1.0.2 to 2.0 is a massive rewrite, it should just be a new library it seems to me :/  And the array of backgroundColor doesn't seem optional... so no clue how this feature might at all work in 2.0...

does it work in current version or do I need to add something?

hsl doesn't seems to work at all


Utilize progress updates with E2E plugin after v1.17+

Describe the solution you'd like
https://github.com/kubernetes/kubernetes/pull/84524 merged meaning that after v1.17 is released we can routinely get progress updates as a run is in flight.
That ticket shows how to accomplish this (we just need to provide a default value for the E2E_EXTRA_ARGS) but we should also accompany this with a blog post to show off the new feature. It has been a big ask for a long time (I'll create another ticket for the blogpost)
Anything else you would like to add:
I think this is the first time that the plugin definition will be based partially on the cluster version. There may be a bit of thinking required to find the most reasonable place to insert the tiny bit of code needed.

So I dont forget; the reason why we can't just set the E2E_EXTRA_ARGS regardless of the version is that for v1.16 the go runner will still see/apply that to the command line. In versions < 1.17 then the cmd line would error out because of the flag not being defined.


[ep-matrix] Make sure the auth script synchronizes room permissions

The script should not just add people to rooms, but also remove them from rooms they no longer have access to.

Francesco says that this already works.


Add new tools

minimize-prep
cssjs-minify
htaccess-minifier
Website Auto Upload - work in progress, this will upload only the files changed between two tags using SFTP.

autoprefixer
apache-log_filter

Add https://github.com/JackieDo/Xampp-PHP-Switcher

complete


Issue on equation overline.

I created an equation using MS word.

The overline looks good here but when we use it in our content using mathjax, the overline is not stretching.

The issue is showing in all browsers(checked in chrome and firefox). The overline should be stretched. i think there is an issue with mathjax render.

Can you provide the MathML that is being generated?  Is is not clear what character is being used for the overline, or what attributes may be in use for the MathML elements involved.  There are a number of factors that control how accents are handed, and I can't tell which might need to be changed without seeing the MathML that you are producing.
For example:
<math xmlns="http://www.w3.org/1998/Math/MathML">
  <mover>
    <mrow>
      <mi>A</mi>
      <mo>+</mo>
      <mi>B</mi>
    </mrow>
    <mo>¯</mo>
  </mover>
</math>

produces the result you are looking for.

Note that what you have provided is the MathJax HTML output, not the MathML input.  What I was looking for was your original format before MathJax typesets it.
In any case, it looks like the character that is being used for the overline is a minus sign (or perhaps a hyphen -- I can't tell without the original input format).  Whether a character stretches or not by default is specified in the MathML operator dictionary, and neither the hyphen-minus (U+002D) nor the minus sign (U+2212) are listed as stretchy in the operator dictionary.  So MathJax will not stretch these by default.  You would need to specify stretchy="true" explicitly on the <mo> in order for MathJax to stretch that character.  E.g.,
<math xmlns="http://www.w3.org/1998/Math/MathML">
  <mover>
    <mrow>
      <mi>A</mi>
      <mo>+</mo>
      <mi>B</mi>
    </mrow>
    <mo stretchy="true">-</mo>
  </mover>
</math>

would produce the result you are looking for.  Adding accent="true" would also be a good idea.
In any case, this is not a bug.  It is the correct behavior for the MathML that (it appears) you are using.  If you can provide the actual MathML, not the HTML output of MathJax, we can confirm that.  One way would be to use the contextual menu (right-click or command-click) on the MathJax typeset expression and use the "Show Math As -> Original MathML" option to get the underlying MathML input.

This is the MathML,
<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"> 	<mml:mover accent="true"> 		<mml:mrow> 			<mml:mi>A</mml:mi> 			<mml:mo>+</mml:mo> 			<mml:mi>B</mml:mi> 		</mml:mrow> 		<mml:mo>-</mml:mo> 	</mml:mover> 	<mml:mo>=</mml:mo> 	<mml:mi> </mml:mi> 	<mml:mover accent="true"> 		<mml:mrow> 			<mml:mi>A</mml:mi> 		</mml:mrow> 		<mml:mo>-</mml:mo> 	</mml:mover> 	<mml:mo>.</mml:mo> 	<mml:mi> </mml:mi> 	<mml:mover accent="true"> 		<mml:mrow> 			<mml:mi>B</mml:mi> 		</mml:mrow> 		<mml:mo>-</mml:mo> 	</mml:mover> </mml:math>
Client copies the equations from MS Word. The input doesn't contain any 'stretchy' attribute. So we need to add 'stretchy="true"' to the MathML every time when we copy equation from the MS Word.
I think that would be difficult. Because our content contains huge collection of equations and adding 'stretchy="true"' to all the  may cause other issues. Can you provide a solution ?

It is unfortunate that Word uses a minus sign for the overline, since that is the wrong character for it, and it doesn't stretchy by default.  It is also unfortunate that their display is non-standard in stretching the minus (though they are allowed to do that since the operator dictionary in Appendix C of the MathML specification is non-normative).
If you are not willing to adjust the MathML to conform to the MathML specification's operator dictionary, there are a couple of alternatives you could try.  One would be to use a post-filter on the MathML input to looks for <mover> or <munderover> elements with <mo>-</mo> in the over position and add the stretchy="true" at that point.  This has the advantage of producing better output in the "Show Math As -> MathML" menu item, but has the disadvantage of requiring more processing (as every expression must be scanned).
Alternatively, you could modify the MathJax operator dictionary to make the minus sign stretchy by default.  This has the advantage of being more efficient, but the disadvantage of treating the MathML in a non-standard way (like Word is doing).  To do this, add
<script type="text/x-mathjax-config">
MathJax.Hub.Register.StartupHook("mml Jax Ready", function () {
    MathJax.ElementJax.mml.mo.prototype.OPTABLE.infix['-'][3] = {stretchy: true};
});
</script>

to your page just before the script that loads MathJax.js itself.  That will make the minus sign stretchy by default.

If someone is interested,  the above solution no longer seems to be working. The issue is that there is another renderer that is set to default. To solve it, use the following in the hub.config:
jax: ["input/TeX", "output/HTML-CSS"],
so the overall code should be in the lines of:
MathJax.Hub.Config({          jax: ["input/TeX", "output/HTML-CSS"],         tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]],                 skipTags: ["ul", "ol", "li"],                 processEscapes: true,             }       });
In the javascript region.

@kavibvaidya, nothing has changed in MathJax since the solution above was posted, so if it is not working for you, there may be something wrong with your configuration.  The changes you suggest will not resolve the issue (without the original solution), and the full configuration you give is inappropriate for most uses (in particular, the skipTags value is not something that most people would want to use).
If you want to post a link to a page the exhibits the problem, where you have tried the solution I posted above, we can see if we can figure out what is happening for you.

@dpvc  The link to the page is here here, I looked at this example

Here I have noticed that we can define an output format. Then I checked my output type and it was "preview HTML", which is the root of the issue.
I have tried the solution that you have mentioned, but that did not work. I removed that script (to avoid unknown side effects) and then tried this and it worked. One thing that may cause this is that I have not used CDN, and I have a local copy. Basically the default is stretchy:false is in "preview HTML" and stretchy:true is "HTML-CSS"

If you used this configuration and are getting the "Preview HTML" renderer, then you have probably changed the renderer using the MathJax contextual menu.  That is a personal change, not one to the site, so it only affects you.  Others visiting the site will get the HTML-CSS output that is specified (unless they also change it using the menu).
You are right that PreviewHTML output will not handle the overline, as PreviewHTML doesn't support any horizontal stretching; it is not intended to be used as the final output form (thus the "Preview" in its name).  Your claim that "the above solution no longer seems to be working" is incorrect; it is not working for you because you have changed to a renderer in which horizontal stretching doesn't work at all.  It has nothing to do with the solution above and whether it is working in the output renderers for which it was intended.
Also, I didn't ask for a pointer to the documentation page, but to your own page that contains the math where the overline isn't stretching.  That way, I could look at the actual code that is being used, and see the rest of the context of the page, which might also be affecting it.

No I did not use this configuration when I got the "Preview HTML" renderer. I fixed the issue with this configuration. My page uses user input to render the math into the format that they want, so I am unsure how I can give that to you. But rest assured, this is the only configuration that I used. The only other time I use mathjax is when I compile the user input using MathJax.Hub.Queue(["Typeset",MathJax.Hub,newtext]) where newtext is a new DOM object that I would be appending.  Also, I have never changed the renderer before this, so I think the default is "Preview HTML".
Also now that we know that mathjax has not been changed, I can edit my post saying that this could be an alternative fix. Will that be fine?

I can edit my post saying that this could be an alternative fix.

This is not an alternative fix.  It is not a fix to the original poster's issue at all.  It may be a "fix" to your having used PreviewHTML originally, but that is not the original poster's issue.  That issue had to do with whether the minus sign is stretchy by default or not.  That is, the original issue reported here was about whether
<math xmlns="http://www.w3.org/1998/Math/MathML">
  <mover>
    <mrow>
      <mi>A</mi>
      <mo>+</mo>
      <mi>B</mi>
    </mrow>
    <mo>-</mo>
  </mover>
</math>

will have the minus sign stretched over the A + B or not.  Your configuration will not cause this to be stretchy; indeed, your configuration will not process this at all, since the example is MathML but your configuration will only process mathematics in TeX format.  It would be very difficult to produce the situation reported by the original poster using TeX input, so the problem does not occur for users of the TeX input format.  So your "solution" is unrelated to the actual issue at hand (it can't even be used to try out the poster's example.)
None of MathJax's output renderers will stretch the minus sign by default because the operator dictionary that is used to determine the default stretchability of operators does not list the minus sign as stretchable.  That has nothing to do with which output renderer is used, and switching from PreviewHTML to HTML-CSS doesn't change that.  The only solution to making the minus sign stretchable by default is to modify the operator table, as in my response above.  Your configuration doesn't do that, so will not solve the original poster's problem.

I have never changed the renderer before this, so I think the default is "Preview HTML".

This is not the case.  One usually loads a configuration file by adding ?config=[config-file-name] after MathJax.js in the script tag that loads MathJax (you don't list the script tag that you are using, so we can't tell if you have done that or not).  The renderer used by MathJax will be determined by the configuration file you load (e.g., ?config=TeX-AMS_SVG will load the SVG output renderer).  None of the predefined configuration files use PreviewHMTL as their final rendering (they do use it temporarily as a quick intermediate rendering, which is replaced later by a more careful rendering produced by one of the other output renderers).
If you don't load one of these pre-defined configuration files, then your other option is to use MathJax.Hub.Config() to configure MathJax (as in your example), in which case you specify the input and output formats; there is no default for these, so it will be whatever you explicitly specify.  If you don't specify an input and output format, then no math will be processed.
If you ended up with PreviewHTML as the final format on your page, then either you configured it to be that yourself, or you changed the renderer by using the MathJax contextual menu, or something has gone wrong and the final format is not being produced.  That could be due to a configuration issue, or some other problem.  But without access to the page where it is happening, we can't tell what that might be.

My page uses user input to render the math into the format that they want, so I am unsure how I can give that to you.

All I wanted was the URL for the page.  There must be some URL for the page in order for your users to be able to access it, so I was just asking for that.  I was going to look into why your original configuration (which you never provided) might have been causing a problem, but that is unlikely to happen at this point.

@dpvc  I see. All I wanted to do was to point people in the right direction. Should I make another issue for that? Or like a note so that it is easier for people to view it online?
For reference, I was using {% static 'MathJax/MathJax.js' %}?config=TeX-MML-AM_CHTML in django for importing the file. I am new to developing, so I have not figured out how to deploy websites yet.  I think this is the one that is mentioned in the documentation. However, I have tunneled my localhost to annotex.net, which you can access if my laptop is available to take requests. Also, please note that I have not used stretchy:true anywhere on the website, but $\overline{A+B}$ still works.

Should I make another issue for that?

No, I think there is sufficient discussion here.

please note that I have not used stretchy:true anywhere on the website, but $\overline{A+B}$ still works.

As I said above, the issue in this thread is about using a minus sign for the overline.  The TeX \overline macro does not use a minus sign for the overline, so whether \overline works or not is not the issue here.  Again, as I mentioned above, you will not be able to produce the problematic MathML from within TeX (without using some of MathJax's TeX extensions).  So what happens with TeX input is unrelated to the issue that is the subject of this issue tracker.  The fact that PreviewHTML does not display any horizontal stretchy characters (which seems to be the problem you are dealing with) is a separate issue, but not one that needs to be reported, as that is one of the limitations of the PreviewHTML output.


Support custom query: Relation with another table

I cannot see that this will be supported in the near future, but feel free to create a pull request!


How to properly build the website

Sorry if this is a dumb question, I've been reading and re-reading the README and wiki but I can't seem to manage to build the website.
I managed to build the mhrice.exe and even generated an TDB file ... but how can I generate the website? Or even generate the "database" that the website will use.
When I try to run gen-website I get Error: No matching hash for data/Define/Common/HunterNote/MonsterListBossData_MR.user. Is there a place where I need to specify the path to the game files?

Hi, which game version are you using? I have only tested for PC version from 10.0.2 to 16.0.1. The error you got looks like a version that mhrice doesn't support

I'm running <IP_ADDRESS> (which the game update to in the last month or so) maybe that's the problem ...
Also, I've been trying to make it work and now i'm getting this error:
PAK_MAIN_KEY_MOD not provided. Going to guess the key...
PAK_MAIN_KEY_MOD not provided. Going to guess the key...
Error: Can't find a pivot

Is this because of the hash? Or is it other thing?

Ah interesting. I never properly tested 16.0.2. Perhaps they updated something there. Let me see...

I just installed a fresh copy of the latest version from steam and I was able to generate the website in the ./website folder with the following command
mhrice.exe gen-website -p g:\SteamLibrary\steamapps\common\MonsterHunterRise -o website --origin "https://mhrise.mhrice.info"

(replace that path with your steam library path)
Is your game folder clean without mod?

It worked, yay! I have both the GamePass and Steam versions, but I mostly play on the GamePass one. I didn't install them in the standard location, so sometimes I get confused between them when datamining or modding something... and I was passing the GamePass .paks (rookie mistake sorry).
Thank you for your help; this is truly an incredible project. I've been trying to find some of this information for about two weeks, and I can only imagine how much effort it took to make this work so well.
This is the first time I've worked with Rust. I'll try to dedicate some of my time to making it work with the Game Pass version. ^~^

Ah, I keep forgetting the GamePass version and never got a chance to test it. Did you get it work with the GamePass version?

No (sadly) I just changed the pak path to point to Steam's version.
I did some memory reading and stuff, and also some minor datamining and GamePass version seems to be very very similar to Steam version.
Specially in <IP_ADDRESS> ... in <IP_ADDRESS> the binary had some different offsets compared to Steam, I couldn't any different offset after the update.
Can you briefly explain what the guess_key method do? I've never needed to have any sort of key while modding/datamining etc.

The header of pak files are "encrypted" using a key. Due to the weak algorithm used there, it is possible to derive the key by observing patterns in the encrypted data and decrypt it. That's what guess_key does. It is possible that the gamepass version uses a different algorithm so this method doesn't work any more.


Rework client API in Sender/Receiver style similar to binding package

The client will still Send/Receive Event (not Message) but following the Sender/Receiver pattern.
Note this should include the resolution of https://github.com/cloudevents/sdk-go/issues/227
Events are distinct from HTTP: Events support stream style communication - one way streams of events. HTTP supports RPC-style communicaiton: each request gets a response. Both are important paradigms - HTTP already covers RPC well;  the eventing API and implementation should be focussed on one-way streams of events.
Even if eventing is often implemented over HTTP, the optimal way to use HTTP for carrying events is different from using it to carrying end-to-end correlated requests and responses, especially with the extra flexibility of HTTP2.

We did this! Woot! Implemented client.Send and client.Request


K9Mail beta 5.715 has no way to move message to spam without opening it

Expected behavior
When an account has some spam messages it would be great to move them to the spam folder without opening them.  That used to be possible with the unhandy long push in K9Mail 5.600.
I would prefer to have this options also in batch mode (marking multiple mails as spam).
Actual behavior
Open the message (potentially exposing K9Mail to a malicious mail), click the three-dots-button, click refile, click spam.
Steps to reproduce

open unified inbox or any other mailbox
try to move a message to spam
fail to find an option

Environment
K-9 Mail version: 5.715
Account type: IMAP

"Spam" is still an option in batch mode. Long-press a message in the list or tap the contact picture to enter batch mode. Open the "three dots" menu to see the actions that don't fit on the action bar.
We'll add "swipe to action" eventually. See #1426

Thank you for answering.  My fdroid 5.715 build does not have the batch mode.  When selecting a message, the "three dots" menu only has 'Add star' and 'Select all'.  Am I missing something?

"Batch mode" is what is entered when you select a message. You can select more than one and perform operations on all selected messages. If "Spam" and some other actions are not available you're probably in a view where messages from more than one folder are being displayed, e.g. Unified Inbox. See #667.

  That's only a limitation of the Unified Inbox.  Thank you for figuring that out.


Error: Protocol error (Target.attachToTarget): No target with given id found

Steps to reproduce
Tell us about your environment:

Puppeteer version: 1.17.0
Platform / OS version: macOS 10.14.5
URLs (if applicable):
Node.js version: 12.4.0

What steps will reproduce the problem?
Please include code that reproduces the issue.

Run below code in headless: false mode:

browser.on('targetcreated', async target => {
    if (target.type() === 'page') {
	    const page = await target.page()
		await page.target().createCDPSession()
	}
})

Press Cmd+T to open new tab, and Cmd+W to close it quickly.

What is the expected result?
Should not throw error.
What happens instead?
Sometimes throw below error:
Error: Protocol error (Target.attachToTarget): No target with given id found

This works as expected.
Your repro steps causing a race condition: when the tab is closed,the target is destroyed, so there's nothing to attach to. That's the reason for the error and exactly what it tells.


azure-vnet can leave lock behind if called on a loaded system

Is this an ISSUE or FEATURE REQUEST? (choose one): Issue
Which release version?: 1.0.29
Which component (CNI/IPAM/CNM/CNS): CNI
Which Operating System (Linux/Windows): Windows
For windows: provide output of "$(Get-ItemProperty -Path "C:\windows\system32\hal.dll").VersionInfo.FileVersion"

Which Orchestrator and version (e.g. Kubernetes, Docker): Kubernetes 1.17
What happened:
Under a heavily loaded system - azure-vnet.exe terminated without logging any result or deleting the lock file. All azure-vnet calls since then have failed.
azure-vnet.json.lock contents are 7740
These are all the logs from the process 7740 that terminated without removing the lock.
2019/12/19 20:02:10 [7740] Connected to telemetry service
2019/12/19 20:02:10 [7740] [cni-net] Plugin azure-vnet version v1.0.29.
2019/12/19 20:02:10 [7740] [cni-net] Running on windows
2019/12/19 20:02:16 [7740] [net] Network interface: {Index:6 MTU:1500 Name:vEthernet (Ethernet 2) HardwareAddr:00:0d:3a:c2:a0:b5 Flags:up|broadcast|multicast} with IP: [fe80::8c4c:911b:131f:132a/64 <IP_ADDRESS>/12]
2019/12/19 20:02:17 [7740] [net] Network interface: {Index:1 MTU:-1 Name:Loopback Pseudo-Interface 1 HardwareAddr: Flags:up|loopback|multicast} with IP: [::1/128 <IP_ADDRESS>/8]
2019/12/19 20:02:19 [7740] [net] Network interface: {Index:12 MTU:1500 Name:vEthernet (nat) HardwareAddr:00:15:5d:76:8d:b5 Flags:up|broadcast|multicast} with IP: [fe80::dc51:edd1:aefe:f886/64 <IP_ADDRESS>/20]

Other processes following that one also logged the same failure:
2019/12/19 15:31:26 [21564] Formatted Boot time: 2019-12-12 22:58:19
2019/12/19 15:31:26 [21564] [Azure-Utils] ver
2019/12/19 15:31:26 [21564] Connected to telemetry service
2019/12/19 15:31:26 [21564] [cni-net] Plugin azure-vnet version v1.0.29.
2019/12/19 15:31:26 [21564] [cni-net] Running on windows
2019/12/19 15:31:26 [21564] [net] Network interface: {Index:6 MTU:1500 Name:vEthernet (Ethernet 2) HardwareAddr:00:0d:3a:c2:a0:b5 Flags:up|broadcast|multicast} with IP: [fe80::8c4c:911b:131f:132a/64 <IP_ADDRESS>/12]
2019/12/19 15:31:26 [21564] [net] Network interface: {Index:1 MTU:-1 Name:Loopback Pseudo-Interface 1 HardwareAddr: Flags:up|loopback|multicast} with IP: [::1/128 <IP_ADDRESS>/8]
2019/12/19 15:31:26 [21564] [net] Network interface: {Index:12 MTU:1500 Name:vEthernet (nat) HardwareAddr:00:15:5d:76:8d:b5 Flags:up|broadcast|multicast} with IP: [fe80::dc51:edd1:aefe:f886/64 <IP_ADDRESS>/20]
2019/12/19 15:31:26 [21564] [net] network store key not found
2019/12/19 15:31:26 [21564] [cni-net] Plugin started.
2019/12/19 15:31:26 [21564] [cni-net] Plugin stopped.
2019/12/19 15:31:26 [21564] Sending report succeeded

Once the system load was relieved, from this point on, all azure-vnet calls are failing:
2019/12/19 20:13:43 [16676] Formatted Boot time: 2019-12-12 22:58:19
2019/12/19 20:13:43 [16676] [Azure-Utils] ver
2019/12/19 20:14:11 [16676] Formatted Boot time: 2019-12-12 22:58:19
2019/12/19 20:14:11 [16676] [cni] reboot time 2019-12-12 22:58:19 +0000 UTC storeLockFile mod time 2019-12-19 20:02:05.2168854 +0000 UTC
2019/12/19 20:17:04 [16676] [cni] Failed to lock store: timed out locking store.
2019/12/19 20:17:04 [16676] Failed to initialize key-value store of network plugin, err:timed out locking store.
2019/12/19 20:17:04 [16676] Report plugin error

What you expected to happen: No lock leaks

How to reproduce it (as minimally and precisely as possible):
Deploy this and scale to > 4x the number of CPUs the node has
apiVersion: apps/v1
kind: Deployment
metadata:
  name: burn500m
  labels:
    app: burn500m
spec:
  replicas: 3
  template:
    metadata:
      name: burn500m
      labels:
        app: burn500m
    spec:
      containers:
      - name: windowswebserver
        resources:
          limits:
            cpu: .5
            memory: 1Gi
          requests:
            cpu: .25
            memory: 1Gi
        image: mcr.microsoft.com/windows/servercore:ltsc2019
        command:
        - powershell.exe
        - -command
        - "foreach ($loopnumber in 1..8) { Start-Job -ScriptBlock { $result = 1; foreach($mm in 1..2147483647){$res1=1;foreach($num in 1..2147483647){$res1=$mm*$num*1340371};$res1} } } ; get-job | wait-job"
      nodeSelector:
        "beta.kubernetes.io/os": windows
  selector:
    matchLabels:
      app: burn500m

Anything else we need to know:
This also causes some difficult to understand errors in kubelet logs
W1219 23:13:16.676189   14772 cni.go:237] Unable to update cni config: no valid networks found in c:\k\azurecni\netconf
E1219 23:13:29.295807   14772 cni.go:364] Error adding default_burn2-7b86d4db4f-m2zbc/2a108f19f55a5fd4e2572182c3cdb90280309c4626a35fe31c4a1c1173897c49 to network azure-vnet/azure: unexpected end of JSON input
W1219 23:13:43.276619   14772 cni.go:202] Error validating CNI config list {
    "cniVersion":  "0.3.0",
    "name":  "azure",
    "plugins":  [
                    {
                        "type":  "azure-vnet",
                        "mode":  "bridge",
                        "bridge":  "azure0",
                        "capabilities":  {
                                             "portMappings":  true,
                                             "dns":  true
                                         },
                        "ipam":  {
                                     "type":  "azure-vnet-ipam"
                                 },
                        "dns":  {
                                    "Nameservers":  [
                                                        "<IP_ADDRESS>",
                                                        "<IP_ADDRESS>"
                                                    ],
                                    "Search":  [
                                                   "svc.cluster.local"
                                               ]
                                },
                        "AdditionalArgs":  [
                                               {
                                                   "Name":  "EndpointPolicy",
                                                   "Value":  {
                                                                 "Type":  "OutBoundNAT",
                                                                 "ExceptionList":  [
                                                                                "<IP_ADDRESS>/8",
                                                                                "<IP_ADDRESS>/12"
                                                                                ]
                                                             }
                                               },
                                               {
                                                   "Name":  "EndpointPolicy",
                                                   "Value":  {
                                                                 "Type":  "ROUTE",
                                                                 "DestinationPrefix":  "<IP_ADDRESS>/16",
                                                                 "NeedEncap":  true
                                                             }
                                               }
                                           ]
                    }
                ]
}
: [decoding version info: unexpected end of JSON input]
W1219 23:13:43.276619   14772 cni.go:237] Unable to update cni config: no valid networks found in c:\k\azurecni\netconf
E1219 23:13:51.423887   14772 remote_runtime.go:105] RunPodSandbox from runtime service failed: rpc error: code = Unknown desc = failed to set up sandbox container "2a108f19f55a5fd4e2572182c3cdb90280309c4626a35fe31c4a1c1173897c49" network for pod "burn2-7b86d4db4f-m2zbc": networkPlugin cni failed to set up pod "burn2-7b86d4db4f-m2zbc_default" network: unexpected end of JSON input

And these events are passed back to Kubernetes, visible in kubectl describe pod ...
Events:
  Type     Reason                  Age                    From                 Message
  ----     ------                  ----                   ----                 -------
  Warning  FailedScheduling        <unknown>              default-scheduler    0/6 nodes are available: 6 Insufficient cpu.
  Warning  FailedScheduling        <unknown>              default-scheduler    0/6 nodes are available: 6 Insufficient cpu.
  Normal   Scheduled               <unknown>              default-scheduler    Successfully assigned default/burn2-7b86d4db4f-m2zbc to 2758k8s010
  Warning  FailedCreatePodSandBox  9m1s                   kubelet, 2758k8s010  Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "8931a83501dcb167bf10e9365d2a7f8fe4bd125ddc04f8370b08bd7c3a799e50" network for pod "burn2-7b86d4db4f-m2zbc": networkPlugin cni failed to set up pod "burn2-7b86d4db4f-m2zbc_default" network: unexpected end of JSON input
  Warning  FailedCreatePodSandBox  6m2s                   kubelet, 2758k8s010  Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "2044513a9f09b702c426085091d420d129292e62979d10b77b053f3002e27ebc" network for pod "burn2-7b86d4db4f-m2zbc": networkPlugin cni failed to set up pod "burn2-7b86d4db4f-m2zbc_default" network: unexpected end of JSON input
  Warning  FailedSync              5m18s (x4 over 5m41s)  kubelet, 2758k8s010  error determining status: rpc error: code = Unknown desc = Error: No such container: 8931a83501dcb167bf10e9365d2a7f8fe4bd125ddc04f8370b08bd7c3a799e50
  Warning  FailedCreatePodSandBox  4m12s                  kubelet, 2758k8s010  Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "b32c54cb368f0c37f769a795ceb1c8a10dfb58db54dc3152c2f71cf9caeaff54" network for pod "burn2-7b86d4db4f-m2zbc": networkPlugin cni failed to set up pod "burn2-7b86d4db4f-m2zbc_default" network: unexpected end of JSON input
  Warning  FailedCreatePodSandBox  2m43s                  kubelet, 2758k8s010  Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "af3d169eb3390c9692d78fef343dbb9959fcb523d981000af0127f79a29c5467" network for pod "burn2-7b86d4db4f-m2zbc": networkPlugin cni failed to set up pod "burn2-7b86d4db4f-m2zbc_default" network: unexpected end of JSON input
  Warning  FailedCreatePodSandBox  74s                    kubelet, 2758k8s010  Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "4cd552d3e6df57530227ea9a4a633eea05c62d87cf53ba765164545124e79391" network for pod "burn2-7b86d4db4f-m2zbc": networkPlugin cni failed to set up pod "burn2-7b86d4db4f-m2zbc_default" network: unexpected end of JSON input
  Normal   SandboxChanged          52s (x5 over 7m28s)    kubelet, 2758k8s010  Pod sandbox changed, it will be killed and re-created.

@PatrickLang We fixed an issue related to lock timeout in 1.0.30(#445). This will take care of removing lockfile if the process holding that lock was exited. Check the pid printed in azure-vnet.json.lock under c:\k\ and check if the process is still running. If its running can you get processdump of that pid ?


Rc/2.14.2

Description
LEARNER-5558
Add a description of your changes here.
Notes
How to test this PR

@saeedbashir the branch has conflicts.

Open new PR https://github.com/edx/edx-app-ios/pull/1135 to merger this branch into origin/master


Support macOS ARM64 (M1)

The existing dylib is compiled against macOS x86_64. Running mvn clean test in M1 gives:
[ERROR] Could not find agent library /Users/ggastald/workspace/check-leak/core/src/main/resources/platforms-lib/darwin/libcheckleak.dylib in absolute path, with error: dlopen(/Users/ggastald/workspace/check-leak/core/src/main/resources/platforms-lib/darwin/libcheckleak.dylib, 0x0001): tried: '/Users/ggastald/workspace/check-leak/core/src/main/resources/platforms-lib/darwin/libcheckleak.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/ggastald/workspace/check-leak/core/src/main/resources/platforms-lib/darwin/libcheckleak.dylib' (no such file), '/Users/ggastald/workspace/check-leak/core/src/main/resources/platforms-lib/darwin/libcheckleak.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

https://github.com/actions/runner-images/issues/2187


The equal operator can't be used between pg_type.oid and pg_type.typinput

The BasicTypeMapForResults class in ruby-pg will execute the SQL below, which results in an error:

ERROR rw-main handle_query{mode="simple query" session_id=0 sql=				SELECT t.oid, t.typname, t.typelem, t.typdelim, ti.proname AS typinput FROM pg_type as t JOIN pg_proc as ti ON ti.oid = t.typinput
}: pgwire::pg_protocol: error when process message error=Failed to run the query: Failed to bind expression: ti.oid = t.typinput: function equal(integer, character varying) does not exist

SELECT t.oid, t.typname, t.typelem, t.typdelim, ti.proname AS typinput
	FROM pg_type as t
	JOIN pg_proc as ti ON ti.oid = t.typinput;

works in pg:
martin=# SELECT t.oid, t.typname, t.typelem, t.typdelim, ti.proname, t.typinput
FROM pg_type as t
JOIN pg_proc as ti ON ti.oid = t.typinput;
  oid   |                typname                 | typelem | typdelim |           proname            |           typinput
--------+----------------------------------------+---------+----------+------------------------------+------------------------------
     16 | bool                                   |       0 | ,        | boolin                       | boolin
     17 | bytea                                  |       0 | ,        | byteain                      | byteain
     18 | char                                   |       0 | ,        | charin                       | charin
     19 | name                                   |      18 | ,        | namein                       | namein
     20 | int8                                   |       0 | ,        | int8in                       | int8in
     21 | int2                                   |       0 | ,        | int2in                       | int2in
     22 | int2vector                             |      21 | ,        | int2vectorin                 | int2vectorin

regproc seems to be a very special type in PG, printed as characters but able to join with type oid
https://github.com/risingwavelabs/risingwave/blame/main/src/frontend/src/catalog/system_catalog/pg_catalog/pg_type.rs#L34
https://github.com/risingwavelabs/risingwave/pull/12272
cc: @TennyZhuang @xiangjinwu, do you know how it is expected to work?

regproc seems to be a very special type in PG, printed as characters but able to equal with type oid

Yes. As we used quick hacks to provide pg_type.typinput as varchar while pg_proc.oid as int, we cannot continue on this path to allow equal operation between any varchar and int. We will need to support these internal data types natively - or defer the effort further if more hacks are possible.

It looks like we have to provide a plugin if users want to access RW via ruby-pg

Will be covered by #16830


mouse clicks are buggy sometimes

Description
I am using files instead of windows explorer and I think it's the best app I have used after a very long time on windows 10, it is far better than windows explorer, RAM and CPU consumption is also very low as compared to the default explorer. but sometimes the mouse clicks act weirdly, sometimes a folder opens with a single click and sometimes doesn't respond even after several double clicks. I see the app improving and getting better with each passing day. I hope this would be fixed very soon.
Thank you
Steps To Reproduce
simply browse through the system and folders with a mouse.
Expected behavior
I don't see any particular reason for the double click and single click bug. It's just happening randomly.
Files Version
Version: <IP_ADDRESS> OS Version: 10.0.19043.1466
Windows Version
Windows 10 21H1 (19043.1466)
Relevant Assets/Logs
debug_fulltrust.log
debug.log

It will be becuase it's loading the directory i believe. Have you looked in th tab icon area for a loading icon?


package.json dependency hover not working

Type: Bug
VSC Used to show the information of packages when you hover the name and the latest version when you hover over the version number in package.json. This seems to be broken now.
Tested without extensions.
VS Code version: Code 1.74.3 (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T17:05:47.808Z)
OS version: Darwin arm64 22.3.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Apple M2 (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
9, 11, 11

Memory (System)
24.00GB (2.43GB free)

Process Argv
/Users/stan/projects/personal/WeakAuras-Companion --crash-reporter-id 8d0e8889-abad-4d94-80df-9496600ad51f

Screen Reader
no

VM
0%

Extensions: none
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
vscccc:30610679
pyindex848cf:30577861
nodejswelcome1:30587005
2e4cg342:30602488
89544117:30613380
2i9eh265:30646982

Works OK for me (on Windows):
Version: 1.74.3 (user setup)
Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Date: 2023-01-09T16:59:02.252Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22621
Sandboxed: No

Broken for me on Windows as well

Maybe diagnostic steps in comments on #108605 can help you.

Maybe diagnostic steps in comments on #108605 can help you.

Those only suggest checking for npm being on the path, that is the case here,

The npm extension which adds the hovers and code completions to package.json expects package.json do be or language json. It will not work if configured to jsonc.
Redefining all json files to jsonc is not correct and not recommended as adding a comment to package.json will break it.
Better be more specific:
 "files.associations": {
	"foo.json": "jsonc",
	"**/foo/*.json: "jsonc",
	....
}

or
"files.associations": {
	"*.json": "jsonc",
	"package.json": "json",
}

Works as designed


Chinese quote eg. “”  is been parse as  string  quote

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce

PS C:\Users\ABlue> $a = "我的“三体”"
ParserError:
Line |
1 |  $a = "我的“三体”"
|           ~~~~
| Unexpected token '三体”"' in expression or statement.
PS C:\Users\ABlue> $b = “三体”
Expected behavior
> echo $a
> 我的“三体”
> $b = “三体”
> ParseError:

Actual behavior
$a  parseError
$b  valid

Error details
Type        : System.Management.Automation.ParseException
Errors      :
    Extent  : 三体”"
    ErrorId : UnexpectedToken
    Message : Unexpected token '三体”"' in expression or statement.
Message     : At line:1 char:10
              + $a = "我的“三体”"
              +          ~~~~
              Unexpected token '三体”"' in expression or statement.
ErrorRecord :
    Exception             :
        Type    : System.Management.Automation.ParentContainsErrorRecordException
        Message : At line:1 char:10
                  + $a = "我的“三体”"
                  +          ~~~~
                  Unexpected token '三体”"' in expression or statement.
        HResult : -2146233087
    CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    FullyQualifiedErrorId : UnexpectedToken
    InvocationInfo        :
        ScriptLineNumber : 1
        OffsetInLine     : 10
        HistoryId        : -1
        Line             : $a = "我的“三体”"
        PositionMessage  : At line:1 char:10
                           + $a = "我的“三体”"
                           +          ~~~~
        CommandOrigin    : Internal
TargetSite  :
    Name          : Invoke
    DeclaringType : System.Management.Automation.Runspaces.PipelineBase, System.Management.Automation, Version=<IP_ADDRESS>
0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    MemberType    : Method
    Module        : System.Management.Automation.dll
Source      : System.Management.Automation
HResult     : -2146233087
StackTrace  :
   at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
   at Microsoft.PowerShell.Executor.ExecuteCommandHelper(Pipeline tempPipeline, Exception& exceptionThrown, ExecutionOp
tions options)

Environment data
Name                           Value
----                           -----
PSVersion                      7.3.1
PSEdition                      Core
GitCommitId                    7.3.1
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Perhaps surprisingly, PowerShell recognizes non-ASCII-range quote characters as interchangeable with their ASCII-range equivalents, such as, in your case, the following equivalents of " (QUOTATION MARK, U+0022):

“ (LEFT DOUBLE QUOTATION MARK, U+201C)
” (RIGHT DOUBLE QUOTATION MARK, U+201D)

This is by design, and changing it would amount to a serious breaking change.
For a list of all interchangeable quotation / punctuation characters recognized by PowerShell, see this Stack Overflow answer.

@mklement0   but  how can you safely write powershell script by program that handle human input ?
PS C:\Users\ABlue> $a = -- 我的“三体”
ParserError:
Line |
   1 |  $a = -- 我的“三体”
     |         ~
     | Missing expression after unary operator '--'.
PS C:\Users\ABlue> $a = -- "我的“三体” "
ParserError:
Line |
   1 |  $a = -- "我的“三体” "
     |              ~~~~~
     | Unexpected token '三体” "' in expression or statement.
PS C:\Users\ABlue> $a = --%我的“三体”
ParserError:
Line |
   1 |  $a = --%我的“三体”
     |         ~
     | Missing expression after unary operator '--'.
PS C:\Users\ABlue> $a = --% 我的“三体”
ParserError:
Line |
   1 |  $a = --% 我的“三体”
     |         ~
     | Missing expression after unary operator '--'.

Since your non-ASCII double-quotation marks are considered the equivalent of ASCII-range ", use (ASCII-range) '...', i.e. single-quoting to enclose strings that contain them:
$a = '我的“三体”'

Also note that something like $a = -- 我的“三体” can never be expected to work in PowerShell, given that in expression-parsing mode strings must always be quoted. Also, you can't use (quasi) parameters such as -- or --% in expression mode.

@mklement0
the user can also input single-quoting  in git comment  so you solution  doesn't work
eg.
user input 我的'三体'
program write :
$a = '我的'三体'‘

PS C:\Users\ABlue> $a = '我的‘三体’'
ParserError:
Line |
   1 |  $a = '我的‘三体’'
     |           ~~~~
     | Unexpected token '三体’'' in expression or statement.
PS C:\Users\ABlue> $a = '我的'三体''
ParserError:
Line |
   1 |  $a = '我的'三体''
     |           ~~~~
     | Unexpected token '三体''' in expression or statement.
PS C:\Users\ABlue>

As with any text, if you want to express it as a string literal, you need to escape whatever quoting character you use to delimit that string literal if  (possibly equivalent) instance of it happen to be embedded in the text itself.
To escape ' chars. (or equivalent) inside a '...' string, double them:
$a = '我的'‘三体'’'

大段注释，可以用$xxx = @'
任意多个单引号，双引号
‘@
hi  菜鸟问题请来powershell脚本之巅：qq群=183173532

Perhaps surprisingly, PowerShell recognizes non-ASCII-range quote characters as interchangeable with their ASCII-range equivalents, such as, in your case, the following equivalents of " (QUOTATION MARK, U+0022):

“ (LEFT DOUBLE QUOTATION MARK, U+201C)
” (RIGHT DOUBLE QUOTATION MARK, U+201D)

This is by design, and changing it would amount to a serious breaking change.

If you type powershell in Word and it has "smart quotes" on (the default)
you get
$x = “hello”
$x

I was surprised back in PowerShell V1 that the special quotes were treated as normal quotes, and there will be code that reliess on that.

the user can also input single-quoting in git comment so you solution doesn't work eg. user input 我的'三体' program write :
$a = '我的'三体'‘

if you are writing something which auto generates a script
$a = @'
$userInput
'@

will be OK.

Thanks, @jhoneill; just to clarify: your single-quoted here-string example relies on someone other than PowerShell to expand $userInput, such as the macro-style expansion in CI systems. (Double-quoted here strings do expand PowerShell variables, and require literal $ to be escaped as `$)
@kasini3000, your here-string tip is helpful, but it will be useful to more people if you post tips in English.


What does your project do?

What does your project do? I donot know her reason for existence. What reqirement does she meet? Could you privide me a wiki for she? thx...

close old question.


api key null

在最新开发版本下未开启API ACCESS 但是首页刷新会提示api key null
疑似因为引入mp.js 导致/api/content/themes/activation/settings   403 API has been disabled by blogger currently

在最新开发版本下未开启API ACCESS 但是首页刷新会提示api key null 疑似因为引入mp.js 导致/api/content/themes/activation/settings 403 API has been disabled by blogger currently

已修复，感谢提出Issues


Stepwise reduction in CV in observer programme

Simulations of observer programme produce stepwise reductions in CV for all rejection rates.

Vessel effect not the issue. No change in bug when turned off.

It also persists when you set a different seed. I thought maybe this was some kind of artifact of the random numbers but it is not; here's the same plot with a different seed:

@dlusseau do you have any insights on this/ have you seen the same thing in any of your simulations?

After yesterday's discussion and playing with the code, I've concluded the step-wise behavior is likely due to large refusal rate suppressing the realized vessel sampling.
Large refusal rates mean that even though target proportion increases, the realised proportion doesn't change. Therefore, CV stays constant until the target proportion overcomes the refusal rate enough to add one more vessel. At refusal=0.9, that effect is so strong we only see it once and it's big because adding one more vessel to a small sample size has a huge effect.
As @dlusseau suggested yesterday, the small size of the fishery (n_boats = 31) doesn't help because it magnifies this effect, that would otherwise be squished if more boats made the x-axis longer.


Invalid certificate

I get this error :

Uncaught (in promise) DOMException: Failed to register a ServiceWorker for scope ('https://<IP_ADDRESS>:5173/src/') with script ('https://<IP_ADDRESS>:5173/src/sw.ts'): An SSL certificate error occurred when fetching the script.

And this is my vite.config.ts file :
`
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import basicSsl from '@vitejs/plugin-basic-ssl'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
basicSsl()
],
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),
},
},
server: {
https: true
},
});
`
Also, I have vue 3.2.45 and vite 3.2.4.
And I launch the dev server with the command
npm run dev -- --https

Me also having this issue. this issue is going from 2022. i think no body is going to take a look at this.


Annotator: The setting text annotation position 'above' is not working properly

The code overlaps with the text!
increase line height when using that option

i fixed that in https://github.com/uhh-lt/dats/commit/a4da50a4ba43123f36446c608a41e5bebda59fdd


Redesign

Updates design of contribute.cncf.io to align with CNCF's new brand. It also pulls the contribute repo into this one and automatically generates all project data from the CNCF Landscape.

A few bits of feedback on the projects listing:

[ ] - add tooltips to social icons
[ ] - it may not be clear to people what the chat channel is... what about putting it directly under the Slack or Gitter icon and not use parentheses?
[ ] - it looks a bit weird having the logo directly above the project title as often the project title is then repeated twice; I thought having the logo out to the right would look ok but, if not, I guess we can live with it how it is
[ ] - the spacing is non-ideal around Archived Projects. Because the two archived projects are spaced so far apart, they don't both look part of the Archived Projects section, which is quite close to the Non-code Projects content. Maybe add space above the "Archived Projects" h2? I'd done quite a bit of work to figure out the header spacing throughout the site and it's hard to get it looking good in all the different contexts.
[ ] - some logos, like this one, are very small. Is it possible to make them more consistent?

Do you mean to add title text to the links or an actual tooltip library? Have added the former.
Positioning the text underneath will be ugly and messy with alignment of the other icons and make responsive difficult (how would it look if it wrapped to a new line?). Have added the word "Channel" to it although I do not thinks thats necessary.
Traditionally we have had an either/or scenario for this - so solutions are to A) use the project icon instead of the logo, or B) remove the project name? IMO the logo + project name just makes it easier for a user to look through the projects, I find when looking at logos only (like on CNCF.io) my eyes are all over the place trying to read the different placed text and fonts. I really do not like the logo floated to the right idea. The logo should be on the left or above, nowhere else would be a quality aesthetic choice.
The spacing is the same for all project categories. Archived projects maybe looks strange as "No-code" above it is not using the same icon layout as the rest of the page so the Archive title is missing some space above it. I've added a spacer here for simplicity and I think it looks fine. The spacing work you had done was not responsive or consistent, but I can revert my changes back to what you had done if you think that is the solution? LMK
I can change it, but this would not then be consistent with CNCF.io or fair to the other projects. Shouldn't projects be using a stacked logo format?
Done
Updated to that color. My initial idea was to use shades going down the page based from the original color, so this messes that up but it still looks ok.

If you are not happy with decisions 2,3,4 regarding projects layout, we should probably get Gareth to revisit his design with the following feedback:

Make use of existing design patterns around Projects on CNCF (i.e. right side drop shadow is a new design pattern and not needed)
Allow for very short (5 words) and very long descriptions (40 words) and also be flexible (i.e. no hard line count)
Designs should use the icon set we use on the website as we don't have all the icons needed in his custom icon design and his icons change the appearance of the design
Allow for a range of social icons to be displayed as not always consistent, and the Slack channel name needs be displayed next to the Slack icon as text
Logo (with text) and heading should not be next to each other
Desktop and mobile designs
Accessible

Yes, I meant title text. Looks good!
Ok, cool.
Ok
Looks fine now.
Yes, looks like stacked logos should be used. Ok, we can leave this to the project to update.

I'll pass this around for feedback then we should get this merged. More refinements can come later if needed.

website/static/social/boxed-reddit.svg

@carolynvs the file appears to be broken. I have just removed it from the repo as we don't make use of it anyway. I had just copied it in by accident when copying in the other social images.


Audio stops when camera opened on IOS

Describe the Bug
Audio stops when camera opened on IOS. I expect it to continue playing when I close the camera.
Steps To Reproduce
How can someone else reproduce this bug?

Play any audio
Get out of the application (audio still playing)
Open phone camera
Record a video (audio stops playing)
Observe

Code To Reproduce
Please provide a simple code example that allows others to replicate the bug.
Environment Info:
Paste the results of npx react-native info
System:
OS: macOS 11.6
CPU: (8) x64 Apple M1
Memory: 60.34 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.15.0 - ~/.nvm/versions/node/v14.15.0/bin/node
Yarn: 1.22.13 - ~/.nvm/versions/node/v14.15.0/bin/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v14.15.0/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.2 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.0.1, iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0
Android SDK: Not Found
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7935034
Xcode: 13.1/13A1030d - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_292 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.65.1 => 0.65.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Paste the exact react-native-track-player version you are using
2.1.2
Real device? Or simulator?
real device
What OS are you running?
14.8.1
How I can Help
What can you do to help resolve this?
Have you investigated the underlying JS or Swift/Android code causing this bug?
Can you create a Pull Request with a fix?

I've confirmed this behavior, however after looking more deeply into it looks like:

This issue should actually be filed with SwiftAudioEx
This is really a feature request and not a bug.

With both of those things in mind, I'm going to close this issue. If you disagree please let me know.


[Explore] SQL popover for calculated columns covered by columns select

Screenshot

How to reproduce the bug

Make sure DND feature flag is turned off
Go to Explore page, choose a chart with columns select
Hover on the calculator icon in a calculated column

Expected results
The popover should be higher than select menu.

Not sure if this is still happening, but I feel compelled to close this issue since it has gone stale, and the UI code paths in question are now deprecated.


Add example for Next.js App Router

The Next.js example currently only contains examples for the Pagers Router, and none for the newer App Router.
We should provide a basic example for using a client in a server-rendered page, and for crossing the serialization boundary between server and client components.

We have such in example in the v2 branch. Closing.


Always normalize vdso addresses

The agent resolves function names using addresses found in kernel stack traces (ksym) and user stack traces (vdso, JIT).
The kernel stack traces are never normalized, and according to #1537 JIT addresses mustn't be normalized. Therefore only vdso addresses has to be normalized before resolving the symbols.

For some reason I no longer able to compile the agent on Ubuntu jammy64 with kernel 5.15.0-69. I guess I need some upgrades.

$ uname -a
Linux ubuntu-jammy 5.15.0-69-generic #76-Ubuntu SMP Fri Mar 17 17:19:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ make
mkdir -p pkg/profiler/cpu
make -C bpf build
make[1]: Entering directory '/vagrant/parca-agent/bpf'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/vagrant/parca-agent/bpf'
cp bpf/cpu/cpu.bpf.o pkg/profiler/cpu/cpu-profiler.bpf.o
go mod tidy
find dist -exec touch -t<PHONE_NUMBER>00.00 {} +
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 CC="clang" CGO_CFLAGS="-I/vagrant/parca-agent/dist/libbpf/amd64/usr/include" CGO_LDFLAGS="-fuse-ld=ld /vagrant/parca-agent/dist/libbpf/amd64/libbpf.a" go build  -tags osusergo,netgo -mod=readonly -trimpath -v --ldflags="-extldflags=-static" -o dist/parca-agent ./cmd/parca-agent
github.com/aquasecurity/libbpfgo
github.com/parca-dev/parca-agent/pkg/vdso
github.com/parca-dev/parca-agent/pkg/symbol
# github.com/aquasecurity/libbpfgo
In file included from /home/vagrant/go/pkg/mod/github.com/aquasecurity/libbpfgo@v0.4.7-libbpf-1.2.0-b2e29a1/libbpfgo.go:5:
./libbpfgo.h:129:67: error: variable has incomplete type 'enum bpf_cgroup_iter_order'
bpf_iter_attach_opts_new(__u32 map_fd, enum bpf_cgroup_iter_order order,
                                                                  ^
./libbpfgo.h:129:45: note: forward declaration of 'enum bpf_cgroup_iter_order'
bpf_iter_attach_opts_new(__u32 map_fd, enum bpf_cgroup_iter_order order,
                                            ^
./libbpfgo.h:138:10: error: no member named 'cgroup' in 'union bpf_iter_link_info'
  linfo->cgroup.order = order;
  ~~~~~  ^
./libbpfgo.h:139:10: error: no member named 'cgroup' in 'union bpf_iter_link_info'
  linfo->cgroup.cgroup_fd = cgroup_fd;
  ~~~~~  ^
./libbpfgo.h:140:10: error: no member named 'cgroup' in 'union bpf_iter_link_info'
  linfo->cgroup.cgroup_id = cgroup_id;
  ~~~~~  ^
./libbpfgo.h:141:10: error: no member named 'task' in 'union bpf_iter_link_info'
  linfo->task.tid = tid;
  ~~~~~  ^
./libbpfgo.h:142:10: error: no member named 'task' in 'union bpf_iter_link_info'
  linfo->task.pid = pid;
  ~~~~~  ^
./libbpfgo.h:143:10: error: no member named 'task' in 'union bpf_iter_link_info'
  linfo->task.pid_fd = pid_fd;
  ~~~~~  ^
7 errors generated.
make: *** [Makefile:112: dist/parca-agent] Error 1

@marselester Sometimes this kind of error happens if the submodule hasn't been updated. Can you try and see if the compilation problem still stays the after running following commands?
make clean
git submodules update --recursive

If not then you can also add a step of manually removing. 3rdparty/libbpf

@v-thakkar thank you, that helped!


TIMIT_preparation.py

File "/home/administrator/Videos/SincNet-master/TIMIT_preparation.py", line 51, in
copy_folder(in_folder,out_folder)
File "/home/administrator/Videos/SincNet-master/TIMIT_preparation.py", line 36, in copy_folder
shutil.copytree(in_folder, out_folder, ignore=ig_f)
File "/home/administrator/Music/dell/lib/python3.5/shutil.py", line 303, in copytree
names = os.listdir(src)
NotADirectoryError: [Errno 20] Not a directory: '/home/administrator/Videos/SincNet-master/TIMIT_preparation.py'
need solution for the above mentioned error...

Hi,
I think it is just a path problem. Try to make sure that
"'/home/administrator/Videos/SincNet-master/" actually exists.
Mirco
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Virus-free.
www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Wed, 15 May 2019 at 12:16, harishmalaiappan<EMAIL_ADDRESS>wrote:

File "/home/administrator/Videos/SincNet-master/TIMIT_preparation.py",
line 51, in
copy_folder(in_folder,out_folder)
File "/home/administrator/Videos/SincNet-master/TIMIT_preparation.py",
line 36, in copy_folder
shutil.copytree(in_folder, out_folder, ignore=ig_f)
File "/home/administrator/Music/dell/lib/python3.5/shutil.py", line 303,
in copytree
names = os.listdir(src)
NotADirectoryError: [Errno 20] Not a directory:
'/home/administrator/Videos/SincNet-master/TIMIT_preparation.py'
need solution for the above mentioned error...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mravanelli/SincNet/issues/43?email_source=notifications&email_token=AEA2ZVWSTSSJV6SDWCEDVBTPVPWIDA5CNFSM4HNCHQZKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GT4WNAA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEA2ZVVUJHIG7VF4PJXZLSLPVPWIDANCNFSM4HNCHQZA
.


refactor: Add a little testability, abstract a bit over broker kinds

Connects to #49, in that it adds a tiny bit of testing around getting a new arbitrary broker connection to cache.
This also adds a bit of type info around different sources of broker connection, and fixes a subtle bug where broker id was being logged as None even though we had a broker ID from the topology.
Again recommended to review commit-by-commit.
I feel less confident about the value of these extractions and the new test. If the new test fails, it's likely to be a flaky failure too because of the randomness.
Looking at other code like the controller and partition leader caching, I think perhaps the broker caching trait could be reused, and then perhaps the maybe_retry functions could be shared more and tested more? Not sure yet though.

Because you approved, I'm going to merge this. If we need to adjust names more, I'm happy to do so in a future PR!


Bug: BottomSheetFragment sample closes the bottomSheet upon hiding app

Steps:

open sample app
go to the inner sample of BottomSheetFragment.
press the "show" button.
press the home button of the device, or the recent-tasks.
go back to the app (no matter how).

The bug:
the bottom-sheet gets hidden, even though on all other inner samples it doesn't occur.
How can I handle it nicely? Why does it occur? Is there a workaround?

If needed, I can provide a video showing the issue.

I think it has something to do with the onStart() method of BottomSheetFragmentDelegate, which cause the sheet to dismiss via the showWithSheetView() method of BottomSheetLayout, because the view is already there.

ok, in order to fix this, here's what I did (and it also seems to handle orientation changes too) :
BottomSheetFragmentDelegate:
dismiss the bottomSheet if fragment already existed:
    public void show(FragmentManager manager, @IdRes int bottomSheetLayoutId) {
        dismissed = false;
        shownByMe = true;
        this.bottomSheetLayoutId = bottomSheetLayoutId;
        final String fragmentTag = String.valueOf(bottomSheetLayoutId);
        final Fragment previousFragment = manager.findFragmentByTag(fragmentTag);
        if (previousFragment != null)
            ((BottomSheetFragmentInterface) previousFragment).dismiss();
        else
            manager.beginTransaction()
                    .add(fragment, fragmentTag)
                    .commit();
    }

show the bottom sheet only if not shown already:
    public void onStart() {
        if (bottomSheetLayout != null) {
            if (bottomSheetLayout.isSheetShowing())
                return;
            viewDestroyed = false;
            bottomSheetLayout.showWithSheetView(fragment.getView(), sheetFragmentInterface.getViewTransformer());
            bottomSheetLayout.addOnSheetDismissedListener(this);
        }
    }

ok, in order to fix this, here's what I did (and it also seems to handle orientation changes too) :
BottomSheetFragmentDelegate:
dismiss the bottomSheet if fragment already existed:
    public void show(FragmentManager manager, @IdRes int bottomSheetLayoutId) {
        dismissed = false;
        shownByMe = true;
        this.bottomSheetLayoutId = bottomSheetLayoutId;
        final String fragmentTag = String.valueOf(bottomSheetLayoutId);
        final Fragment previousFragment = manager.findFragmentByTag(fragmentTag);
        if (previousFragment != null)
            ((BottomSheetFragmentInterface) previousFragment).dismiss();
        else
            manager.beginTransaction()
                    .add(fragment, fragmentTag)
                    .commit();
    }

show the bottom sheet only if not shown already:
    public void onStart() {
        if (bottomSheetLayout != null) {
            if (bottomSheetLayout.isSheetShowing())
                return;
            viewDestroyed = false;
            bottomSheetLayout.showWithSheetView(fragment.getView(), sheetFragmentInterface.getViewTransformer());
            bottomSheetLayout.addOnSheetDismissedListener(this);
        }
    }


Can't set jvm-target option on Kotlin Compiler

[kscript] [ERROR] compilation of './MyScript.kt' failed
MyScript.kt:53:68: error: cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' option
    ...

As far as I can tell, there's currently no way to override the JVM target. Am I missing a configuration option? If not, could it be added (ability to set -jvm-target specifically or maybe a hook to kotlinc_opts)?

+1

+1


"Comments" when hovered over the mouse cursor changes to hand but not clickable

on any post, hover over the "0 Comments"/"1 Comment" /"n Comments" before opening the post, the cursor becomes a hand, however the "Comments" is not clickable.

Need to provide more details, like screen recording to work on this issue.

May i know the Slack Id of the person who created this issue?

@sujatha-m  i'll make a video today if it's reproduced. my slack email -<EMAIL_ADDRESS>Ma

@sujatha-m

steps to reproduce:

Login to FP
Go to Help Board
On the Help Board Home page,  click on the 0 Comments/1 Comment/ 2 Comments under any post.
Result:
When hover over the Comments , the cursor changes to a Hand (as expected), however when click on it, nothing happens
Open any post, hover over 0 Comments/1 Comment/ 2 Comments.
Result:
Cursor changed to a Hand as expected, and comment is hidden/opened as expected.

Environment:
MacBook + Chrome, MacBook + Safari

Environment: iPhone 7 (iOS 14.0.1) + Chrome, Safari
A bit different:
open a post, without any comment, click on the comment, the comment switches between gray and blue color.
Open a post with comments, when clicking on the Comment, nothing happens.


fix: update lambda runtime from nodejs8.10 to nodejs10.x

I just received the following email:

Node.js 8.10 is EOL, please migrate your functions to a newer runtime version
We are contacting you as we have identified that your AWS Account currently has one or more Lambda functions using Node.js 8.10, which will reach its EOL at the end of 2019.

Based on https://docs.aws.amazon.com/lambda/latest/dg/programming-model.html, I updated the cloudformation template files to use nodejs10.x instead of nodejs8.10.
Though nodejs8.10 will be disabled in January/February, new lambdas should start development against nodejs10.x immediately for customers to start preparing before holidays begin:

...We encourage you to update all of your Node.js 8.10 functions to the newer available runtime version, Node.js 10.x[3]. You should test your functions for compatibility with the Node.js 10.x language version before applying changes to your production functions.

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

Codecov Report

Merging #2608 into master will increase coverage by 0.18%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2608      +/-   ##
==========================================
+ Coverage   65.53%   65.72%   +0.18%
==========================================
  Files         195      195
  Lines        9677     9650      -27
  Branches     1988     1848     -140
==========================================
  Hits         6342     6342
+ Misses       3061     3036      -25
+ Partials      274      272       -2

Impacted Files
Coverage Δ

...lify-graphql-types-generator/src/compiler/index.ts
90.32% <0%> (ø)
:arrow_up:

...y-graphql-types-generator/src/compiler/legacyIR.ts
96.72% <0%> (ø)
:arrow_up:

...s/amplify-appsync-simulator/src/type-definition.ts

...amplify-appsync-simulator/src/mqtt-server/index.ts

...psync-simulator/src/data-loader/dynamo-db/index.ts

...-appsync-simulator/src/velocity/util/list-utils.ts
0% <0%> (ø)

...psync-simulator/src/velocity/util/general-utils.ts
0% <0%> (ø)

...plify-appsync-simulator/src/velocity/util/index.ts
0% <0%> (ø)

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 08c0c70...1f73dc4. Read the comment docs.

@ericclemmons  Cloudformation custom resources don't support Node 10.x+ yet and I've engaged with them to add support for it. Only after they add support for it, we'll be able to merge this PR. Deployments will fail if we merge this change now - with the following error:
UPDATE_FAILED UserPoolClientLambda AWS::Lambda::Function Mon Oct 21 2019 04:13:13 GMT-0500 ZipFile can only be used when Runtime is set to either of nodejs, nodejs4.3, nodejs6.10, nodejs8.10, python2.7, python3.6, python3.7

Oh, that's my mistake.
I used node10.x in my project recently, which required manually setting the
Runtime.
Is there a difference between the S3 trigger that I changed manually and
these?
On Mon, Oct 21, 2019, 5:13 PM Kaustav Ghosh<EMAIL_ADDRESS>wrote:

@ericclemmons https://github.com/ericclemmons Cloudformation custom
resources don't support Node 10.x+ yet and I've engaged with them to add
support for it. Only after they add support for it, we'll be able to merge
this PR. Deployments will fail if we merge this change now - with the
following error:
UPDATE_FAILED UserPoolClientLambda AWS::Lambda::Function Mon Oct 21 2019
04:13:13 GMT-0500 ZipFile can only be used when Runtime is set to either of
nodejs, nodejs4.3, nodejs6.10, nodejs8.10, python2.7, python3.6, python3.7
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aws-amplify/amplify-cli/pull/2608?email_source=notifications&email_token=AAADWTWR6RR5BTTXWVUDQNLQPZARHA5CNFSM4JCM2ADKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB4F4RI#issuecomment-544759365,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAADWTUSFK4QLEL2DMVTCJDQPZARHANCNFSM4JCM2ADA
.

It's crazy that the Lambda team (or whichever team announced this) can retire Node.js 8.10 in a breaking and enforcing way, while the Cloudformation team not supporting it yet.
Anyways, happy too see this being tracked by the Amplify team.

Hi,
We are the 30th of octobre and the issue is still there. Any idea when the review is going to be done ?
Regards,

It looks to me like only one of the sixteen files changed applies to a CloudFormation Custom Resource. Presumably that one isn't deprecating Node.js 8 yet. Can't we merge the other fifteen changes and be good?

I was probably too optimistic with the find/replace here.  (I've manually adjusted to Node 10 for S3 triggers, but none of the others)

https://github.com/aws-amplify/amplify-cli/pull/2608/files#diff-f3bbfb233f676698d5883901280e4f03

If someone were to comment on the changes in the PR with what to keep & what to remove, I'm happy to update it. 👀

Ping

We're making the Lambda backed custom resources' nodejs runtime check and update part of the project config version update check. The PR is out #3044.
Closing this PR because it is not needed. Thank you very much for the contribution.


The Leave feedback link has moved down

On the alpha version of the documentation site, the "Leave feedback" link has moved down.
Paragon alpha branch:

Production:

### Tasks
- [ ] Ensure that the link to the "Leave feedback" is displayed in the same way as on the current version of the Paragon documentation site (master branch)

Resolved in https://github.com/openedx/paragon/pull/2423


Make build process more robust

The README in the scripts directory says:
 You also need to download the Microsoft Azure, Cloud and Enterprise Symbol / Icon Set and copy all files from Symbols\CnE_Cloud\SVG to source/official

The current file is Microsoft_Cloud_AI_Azure_Service_Icon_Set_2019_05_08_2.zip
This no longer has the Symbols\CnE_Cloud\SVG directory.
If you extract the zip as is the build fails.
If you extract the zip using the flat option, most but not all of the files are found.
Some of the files that are in the manual directory are now also in the official directory.
e.g. manual/Azure App Service - Web App (was Websites) is official/App Services
This means that the build is not reproducible.
You need a way to ensure consistency.
A few different ways you could do this is:

check in all the files from the official version you used with a reference to the version number
put a direct link to the version of the official zip file used (assuming that Microsoft keeps archives)
Mirror the zips in another repo and link to the git hash (to save repo space in this repo)

etc

@opticyclic Would these issues be resolved by the (code) changes in https://github.com/plantuml-stdlib/Azure-PlantUML/pull/31 ?
If so, we could close this issue once the MR is merged.

I am closing this issue, due to lack of response. I this still turns out to be an issue, it can always be reopened on request.


Strip referrer from link annotation.

Strip referrer from link annotations in documents to prevent privacy leak. Links in this test document should not leak referrers after this patch: https://tonyjin.box.com/check-referrer

http://logs.glob.uno/?c=mozilla%23pdfjs#c43150

Could you squash the commits? See https://github.com/mozilla/pdf.js/wiki/Squashing-Commits for more information.

+timvandermeij done!

Looks good, thank you for the patch.


chore: test

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 75.27%. Comparing base (9ce705d) to head (1867903).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #133   +/-   ##
=========================================
  Coverage     75.27%   75.27%
  Complexity      143      143
=========================================
  Files            13       13
  Lines           453      453
=========================================
  Hits            341      341
  Misses          112      112

Files
Coverage Δ

src/Core/Media/MediaUrlGenerator.php
100.00% <100.00%> (ø)

src/Service/ThumbnailUrlTemplate.php
100.00% <100.00%> (ø)


Cut release v0.24.9

What's Changed

Reset camera on empty scene (#3293)
Don't allow edit on sketches with no variable declaration (#3292)
Add assertEqual function to KCL stdlib (#3279)
Add "report a bug" mention to user menu onboarding step (#3278)
Camera breaks on extrude zoom to fit (#3276)
Jump to error not lint (#3271)
Coplanar sketch should have diagnostic error. (#3269)

Full Changelog: https://github.com/KittyCAD/modeling-app/compare/v0.24.8...v0.24.9

macOS and the updater-test on macOS look good


Custom aggregator always called with 404 responses from downstream API calls

Expected Behavior
Custom aggregator to return actual result of the downstream requests
Actual Behavior
The Aggregate method is always called with a list of results with 404 status and empty response data
Steps to Reproduce the Problem

Implement new custom aggregator
Configure downstream routes
Fetch from the custom aggregate route

Specifications

Version: 16.0.1
Platform: .NET Core 3.1
Subsystem: Docker

Aggregate implementation
public class MyAggregator : IDefinedAggregator{
public override async Task<DownstreamResponse> Aggregate(List<HttpContext> responses){
    //trying to use the responses from the two downstream calls, but they are failed with 204 code and empty response
}

}
Configuration
"Aggregates": [
{
"RouteKeys": [
"keyForApiEndpoint1",
"keyForApiEndpoint2"
],
"UpstreamPathTemplate": "/api/v1/aggregates/my-aggregate-collection",
"UpstreamHttpMethod": [ "Get" ],
"Aggregator": "MyAggregator"
}
]
"Routes":[
{
"DownstreamPathTemplate": "/api/v1/collection-from-api-1,
"DownstreamScheme": "http",
"DownstreamHttpMethod": "Get",
"DownstreamHostAndPorts": [
{
"Host": "api1Host",
"Port": 80
}
],
"UpstreamPathTemplate": "/api/v1/collection-from-api-1",
"UpstreamHttpMethod": [ "Get" ],
"Key": "keyForApiEndpoint1"
},
{
"DownstreamPathTemplate": "/api/v1/collection-from-api-2,
"DownstreamScheme": "http",
"DownstreamHttpMethod": "Get",
"DownstreamHostAndPorts": [
{
"Host": "api2Host",
"Port": 80
}
],
"UpstreamPathTemplate": "/api/v1/collection-from-api-2",
"UpstreamHttpMethod": [ "Get" ],
"Key": "keyForApiEndpoint2"
},
]
Main configuration
  public static void Main(string[] args)
    {
        new WebHostBuilder()
           .UseKestrel()
           .ConfigureAppConfiguration((hostingContext, config) =>
           {
               config.AddOcelot(hostingContext.HostingEnvironment);
           })
           .ConfigureServices(s =>
           {
               s.AddOcelot()
               .AddTransientDefinedAggregator<MyAggregator>();
           })
           .ConfigureLogging((hostingContext, logging) =>
           {
               logging.AddConsole();
           })
           .Configure(app =>
           {
               app.UseOcelot().Wait();
           })
           .Build()
           .Run();

Logs
info: Ocelot.Requester.Middleware.HttpRequesterMiddleware[0]
requestId: 0HM08DB2O516N:00000001, previousRequestId: no previous request id, message: 200 (OK) status code, request uri: http://api1Host/api/v1/collection-from-api-1
Loaded '/usr/share/dotnet/shared/Microsoft.AspNetCore.App/3.1.4/Microsoft.AspNetCore.WebUtilities.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
info: Ocelot.Requester.Middleware.HttpRequesterMiddleware[0]
requestId: 0HM08DB2O516N:00000001, previousRequestId: no previous request id, message: 200 (OK) status code, request uri: http://api2Host/api/v1/collection-from-api-2
Loaded '/usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.4/System.Net.WebSockets.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished in 354.8597ms 404 application/json
As it can be seen from the log the downstream requests do not return 404, instead the aggregator route always returns 404

Found the downstream response status and content in the context Items collection.


fix: fix TokenDropdown  when button parent container is larger than button

What changed? Why?
TokenDropdown popover appears to the right when the parent is larger than the button.
Notes to reviewers
How has it been tested?

I think this is worthy of adding a changeset!


exclude folder in context menu

I work on a project with 30 thousand files. In order to speed up he performance and reduce memory usage ,  I add "files.exclude" in "settings.json" to stop IntelliSense.
Is there any way to add exclude feature in context menu?
Thanks!

Hello! Me and my partner @TejDNagaraja would like to work on this issue — forking to do so

https://github.com/Microsoft/vscode/pull/72731


Clean & update dependencies + bump version

Please cut v0.5.2 from this.

Pull Request Test Coverage Report for Build 79

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 78:
0.0%

Covered Lines:
99

Relevant Lines:
99

💛  - Coveralls

Looks good, I'll also push a v0.6 branch for the development of the unreleased 0.6 version.

@fenollp v0.5.2 has been published.