(MODULES-5590) Fix PowerShell Manifest Parsing semicolons

This PR fixes the regex that parses the DSC Resource module manifest
files to correctly parse the module version.
A PowerShell psd1 manifest file follows the syntax for a PowerShell
hash. It allows newlines as well as semi-colons to deliminate each item
in the hash. It is not normal syntax to use semi-colons inside a hash
that is using newlines already, but it is still valid so the regex is
adjusted to accept it.

Rebased and updated branch.
Amended maint commit to use key and empty

This is ready for review again @Iristyle


new release?

Not sure if 0.3.x compatibility is ready, but if it is, I'd love a new release :-)

v2.1.1 is published with support for the 0.3.1 spec

thanks!


Can't install?

$ npm install hexo-all-minifier --save

><EMAIL_ADDRESS>postinstall C:\Users\Xin\Desktop\hexo\loafing\node_modules\gifsicle
> node lib/install.js

  ‼ getaddrinfo ENOENT raw.githubusercontent.com
  ‼ gifsicle pre-build test failed
  i compiling from source
  × Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "autoreconf -ivf"
'autoreconf' �����ڲ����ⲿ���Ҳ���ǿ����еĳ���
���������ļ���

    at C:\Users\Xin\Desktop\hexo\loafing\node_modules\execa\index.js:231:11
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Promise.all (index 0)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\hexo-blog-encrypt\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\hexo-admin\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>postinstall: `node lib/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm install hexo-all-minifier --save --ignore-scripts

npm install hexo-all-minifier --save --ignore-scripts

i use this, and it install correctly， but i can't use hexo g, the erros as follows
Error: write EOF     at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:92:16)
when i uninstall the hexo-all-minifier, ·hexo g` can work

npm install hexo-all-minifier --save --ignore-scripts

that can not slove the problem , just ignore the scripts, actually it's can not work with hexo g.
the error log is : Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "autoreconf -ivf"
in the long time , i thought that it's my windows can't run autoconf, though i installed cygwin.
but actually that is  "network problem".
the truly problem is can not connect with raw.githubusercontent.com.
So, try write it in your hosts:
<IP_ADDRESS>     github.com
<IP_ADDRESS>    gist.github.com
<IP_ADDRESS>    api.github.com
<IP_ADDRESS>   assets-cdn.github.com
<IP_ADDRESS>    raw.githubusercontent.com
<IP_ADDRESS>    gist.githubusercontent.com
<IP_ADDRESS>    cloud.githubusercontent.com
<IP_ADDRESS>    camo.githubusercontent.com
<IP_ADDRESS>    avatars0.githubusercontent.com
<IP_ADDRESS>    avatars1.githubusercontent.com
<IP_ADDRESS>    avatars2.githubusercontent.com
<IP_ADDRESS>    avatars3.githubusercontent.com
<IP_ADDRESS>    avatars4.githubusercontent.com
<IP_ADDRESS>    avatars5.githubusercontent.com
<IP_ADDRESS>    avatars6.githubusercontent.com
<IP_ADDRESS>    avatars7.githubusercontent.com
<IP_ADDRESS>    avatars8.githubusercontent.com

then try ping raw.githubusercontent.com.

if it's worked , then try hexo-all-minifier again:
# in your blog
rm -rf node_modules/
# or npm install
npm install hexo-all-minifier --save

enjoy.

How to edit hosts
Same error

是的，的确是网络问题。
我还尝试过其他方案

通过cnpm迂回安装方式①npm install -g cnpm --registry=https://registry.npm.taobao.org②cnpm i -g gifsicle③npm install hexo-all-minifier --save
更改hosts，但是很遗憾，我的网络还是访问有问题，即使设置raw.githubusercontent.com为<IP_ADDRESS>
最终还是通过SSR开启全局代理才解决

衷心建议：
安装失败的老铁们，别管各种不一样的报错，我的各种报错都没有在上面提到的issues中找到，仔细看报错内容提示，该重启的时候就重启，该上梯子就上梯子（不行就全局模式），卸载依赖：npm uninstall hexo-all-minifier；安装依赖：npm install hexo-all-minifier --save，这两个命令反复多来几次，就会忽然发现，安装成功了！！！！最后吐槽一句，被墙真不友好！！！
English version：
Sincere suggestions:
The old iron workers who failed to install, regardless of the different error reports, my various errors were not found in the issues mentioned above. Carefully read the error report content prompt, restart when it is time to restart, go up the ladder when it is time to restart (global mode if not possible), uninstall dependency: 'npm uninstall hexo all minifier'; Installation dependency: 'npm install hexo all minifier -- save'. Repeat these two commands several times and suddenly realize that the installation was successful!!!! In the end, roast that it was really unfriendly to be on the wall!!!


Installing composer as well

Could someone clarify how to go ahead with the installation of composer as well, within this docker-compose instance.
I added the following at the end of the docker-compose.yml  :
  composer:
    restart: 'no'
    container_name: composer
    image: "composer"
    command: install
    volumes:
      - ./config/composer:/app

Inside the folder, /config/composer I place composer.json file, listing the packages to include.
Upon starting this, the composer instance gives error and does not start.
The error;
composer      | install: missing file operand
composer      | Try 'install --help' for more information.

followed by,
composer exited with code 1
Thank you.

I got it working by including the following in yml file.
  composer:
    restart: 'no'
    container_name: composer
    image: "composer"
    command: install --no-suggest
    volumes:
      - ./www/admin/php:/app

with compose.json in ./www/admin/php


App log are not displaying on terminal

After the recent bug fix when I run sudo node main.js It displays nothing but the app works perfectly.
kartx@ubuntu:~/Download/opentrade/server$ sudo node main.js
▮

I have to use sudo NODE_DEBUG=cluster,net,http,fs,tls,module,timers node main.js to get the output log from the server.

uncomment this
https://github.com/3s3s/opentrade/blob/master/server/main.js#L16
https://github.com/3s3s/opentrade/blob/master/server/main.js#L17

Thanks.


[feature request] CLI should have preferences config dotfile

It would be cool if we could set default preferences for influx in a dotfile or some other place, so we don't have to repeat command line switches every time.
E.g.
precision ms
format json
pretty

@jsternberg


Update native sdk versions

Hi,
can someone update native sdk versions for this package?

Thanks for the reply @roland-misica If you can check
https://github.com/exponea/exponea-flutter-sdk/blob/main/android/build.gradle#L9
https://github.com/exponea/exponea-flutter-sdk/blob/main/ios/exponea.podspec#L18
Can you also check if you can upgrade androidx.work:work-runtime?

Thanks for the clarification,
We will update native SDKs in the next release, as we are providing new features and bug fixes.
We will take a look if we can upgrade androidx.work:work-runtime
Regards

Hi @we-prajapati-c001, we already released 1.5.0 which includes native Exponea iOS SDK 2.21.3 and Android 3.11.2

Thanks @xcibik00!


Update checksum

See https://github.com/conda-forge/pandas-feedstock/pull/24#issuecomment-299743865

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@TomAugspurger The command in our release docs (curl https://github.com/pandas-dev/pandas/archive/v0.20.1.tar.gz | openssl dgst -sha256) gives apparently the wrong sha:
joris@joris-XPS-13-9350:~/scipy/pandas-feedstock$ curl https://github.com/pandas-dev/pandas/archive/v0.20.1.tar.gz | openssl dgst -sha256
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   126    0   126    0     0    167      0 --:--:-- --:--:-- --:--:--   186
(stdin)= e85ac7194d28a450adda3195b7bfc839ac6f413a799022e2485e23ddee3846dd

while if I download manually:
joris@joris-XPS-13-9350:~/Downloads$ openssl dgst -sha256 pandas-0.20.1.tar.gz
SHA256(pandas-0.20.1.tar.gz)= d9f67bb17f334ad395e01b2339c3756f3e0d0240cb94c094ef711bbfc5c56c80

Huh... I'll update the release docs.
FWIW, when I made the conda-forge PR originally, I'm pretty sure I did the manual download and then openssl. Could be wrong.
Thanks for making is PR.

FWIW, when I made the conda-forge PR originally, I'm pretty sure I did the manual download and then openssl. Could be wrong.

You probably did it correctly and that is why the Linux packages were uploaded correctly, I am guessing the checksum changed after that (Travis-CI and AppVeyor are slower and CircleCI).
GitHub does change the checksum sometimes. I guess that happens when people edit the release info for example.

Yes, we were actually talking about that to not edit the release notes to prevent this (there was a small error in it), but apparently it changed anyhow .. :-)

Yeah, that is quite annoying :-(
I am starting to use the new PyPI (warehouse) URLs for most of my feedstocks now because the sha256 is provided via a link, and they don't change the tarball (nor the checksum) unless it is a new release.

The problem with pypi (but not sure if that will be the same with the new warehouse), is that you then already have to publish the source distributions, before you have binary packages uploaded as well. Which also gives (short-term) problems ..

The problem with pypi (but not sure if that will be the same with the new warehouse), is that you then already have to publish the source distributions, before you have binary packages uploaded as well

I believe that is still true :-(


Use issubclass instead of isinstance check

isinstance is obviously the wrong check in this case since we are comparing
types therefore using issubclass.

Good catch.
I believe there are some tests in st2tests for that, but they obviously didn't catch that issue :D

I believe there are some tests in st2tests for that

I looked in st2tests and st2reactor. Don't see a relevant test. I guess I can just write one.

Yeah, looks like it didn't include tests for the polling sensors (https://github.com/StackStorm/st2tests/pull/11).

I will try and add a unit test and something in st2tests.


Merge rv32im and rv64gc into one

32bit and 64bit riscv share the same specification, it doesn't make sense to support two most identical arch by two code base.

We should be aware that some cores do have some ISA extensions (like GAP8) I'm not sure how much that will matter.
The rv32e has different a register count and some other limitations, but I don't know of any publicly available chips using this yet.
https://github.com/lowRISC/ibex has a "micro" mode that use rv32e so that could probably used for a test on an FPGA.

Yes, but these variants are minor and can be controlled by Kconfig. Since the spec is controlled by a mature committee who are considering the compatibility seriously, it expect that the potential conflict between 32bit and 64bit should be very small. On the other hand, it's better to support the experimental/predated implementation by the duplicated arch code.

@xiaoxiang781216 I am fine with this change.  nr5m100 was RTL was never released publically and Ken never responded, and the GAP8 while real, I think is also unused and we already heard back from the contributor that they were fine.

@xiaoxiang781216 I am fine with this change.  nr5m100 was RTL was never released publically and Ken never responded, and the GAP8 while real, I think is also unused and we already heard back from the contributor that they were fine.

@btashton Ok, I will found time to merge 32bit and 64bit into one.

@btashton Ok, I will found time to merge 32bit and 64bit into one.


Low contrast in some elements makes text hard to read

The current theme makes it hard to read some parts of the wiki, at least on my laptop and phone's displays. Mind you, I tend to have pretty low brightness, increasing the brightness to near 100% makes it a bit easier to read but I don't think that should be expected.
Below are a couple screenshots

Dark text on dark background makes it hard to see what's in the code blocks.
If I understand correctly, the theme is set in a private backend repo which outsiders cannot see, so I hope posting this to this repo instead is ok.

disable whatever  night mode plugin you have. This is not our fault.

I do not have any night mode plugin installed, tried with two browsers on PC and two browsers on Android and all look as it did in my picture.
Also I figured out why we see it differently. My devices use light theme. Switching my phone to dark theme changes the text colour to what your picture shows. So presumably the code blocks' font colour depends on system theme.

thats better. Thanks.

@fufexan can you look into the css I think I forced the same on all but I am unsure

Yeah.

closing cuz forgor


Still seeing Flow Cyt dups in virtual view :(

Somehow when playing around with the virtual view I got the duplicate datasets. Here's what I think I did.
See screenshot.

selected native hierarchy
expanded the view a few times (clicked on documentation, WG1 i thin)
selected default
removed the last facet of the default view (SampleName)
expanded all and selected a dataset to go into
clicked back to virtual view
started removing a lot of the additional default view facets (ExperimentType, ProtocolID and SiteCode)
-When i remove facets quickly from the default (starting at the end and working backwards) is when this seems to occur. I can recreate it.

@hoodriverheather  can you try again with and without incognito? Both should be fixed!

It looks great!! YAY!


Folder created instead of file?

Am I doing something wrong?

Hello @LeBlaaanc
This is normal. An object is a folder. Inside the folder is the object data and the metadata associated to said object.
Thanks


Activated Floating Label ellipsize on font change

When I change the FloatingLabelFont to bigger font size it ellipsize with three dots only support small fonts. Example:
this.Placeholder = "Email";
this.FloatingLabelFont = UIFont.SystemFontOfSize(16);

yes


Sizing Canvas in CSS does not work

It seems that I can only change a graph's size by specifying a width and a height attribute in the canvas html tag. When I try to specify a width or height for the canvas tag with CSS the result is a stretched graph that makes all the graph items look larger rather than providing extra space.
I'm also interested in having the ability to resize the canvas tag dynamically (such as when the browser window size changes).
Do you have any suggestions for how to fix this issue? Thanks

Ah yep, I’ve come across this before. :)
A canvas is a 2d grid of pixels and the resolution is controlled by the width and height attributes in the canvas html.
Applying a CSS width and height won’t change the resolution of the canvas element—it just changes the visual size i.e. making it blurry.
To make this work properly, you'll need to hook into the window onresize event and update the attributes of the canvas element. Hope that helps! :)

Thanks for the quick reply dhotson.

Applying a CSS width and height won’t change the resolution of the canvas element—it just changes the visual size

This is a good point I missed. I haven't worked with canvas much before so this one got me. I wonder why CSS cannot also trigger a resolution change like the HTML attributes?
So I just tried resizing like this:
$('#graph').click(function() { $(this).width('400px') })

and like this:
$('#graph').click(function() { $(this).attr('width','400px') })

Sure enough, the second routine does not stretch pixels.
In case anyone comes looking, here is a script for resizing the canvas on window resize. This is a boiled-down version from the article: http://htmlcheats.com/html/resize-the-html5-canvas-dyamically/
(function() {
  var canvas = document.getElementById('your-canvas-id')
  window.addEventListener('resize', resizeCanvas, false)
  resizeCanvas()

  function resizeCanvas() {
    canvas.width = /* window.innerWidth or another container width */
    canvas.height = /* window.innerHeight or another container height */
  }
})()


Create a Gefyra logo and some small artwork and illustrations

I've created a rather flashy color wheel for Gefyra.

free font "Modern Sans"


deprecation warnings in hugo 0.55

w/ this change the deprecation warnings are gone

Thank you for the contribution.


Fix metadata refresh functionality

Metadata Explorer was no longer refreshing automatically either when you opened a different Markdown file or when you closed the active file.

cc @IEvangelist @bharney0

This is ready to have the CI run @bharney0.

/azp run

@gewarren I'll get a release out to deploy the extension to the marketplace today so you should be able to expect this to be live soon. cc @IEvangelist


return 503 response from health check on shut down

Description

This is a followup to #7880 and #7864.

all components are now set to "shutting down" right before the service manager calls .stop()

this allows the broker to return 503s while draining requests

fixes a misname in pinot controller health check
health checks now return a "response" object so the actual message gets passed back on requests

Every 2.0s: curl -s localhost:8000/health

Pinot broker status is SHUTTING_DOWN

Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes

Documentation

Codecov Report

Merging #7892 (12512b4) into master (12edbdb) will decrease coverage by 42.14%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master    #7892       +/-   ##
=============================================
- Coverage     71.28%   29.14%   -42.15%
=============================================
  Files          1587     1578        -9
  Lines         82059    81725      -334
  Branches      12264    12226       -38
=============================================
- Hits          58498    23815    -34683
- Misses        19596    55782    +36186
+ Partials       3965     2128     -1837

Flag
Coverage Δ

integration1
29.14% <0.00%> (-0.04%)
:arrow_down:

integration2
?

unittests1
?

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...t/broker/api/resources/PinotBrokerHealthCheck.java
0.00% <0.00%> (ø)

...a/org/apache/pinot/common/utils/ServiceStatus.java
38.69% <0.00%> (-23.56%)
:arrow_down:

...ller/api/resources/PinotControllerHealthCheck.java
0.00% <0.00%> (ø)

...inot/server/api/resources/HealthCheckResource.java
0.00% <0.00%> (ø)

.../java/org/apache/pinot/spi/utils/BooleanUtils.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ava/org/apache/pinot/spi/config/table/FSTType.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ava/org/apache/pinot/spi/data/MetricFieldSpec.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...va/org/apache/pinot/spi/utils/BigDecimalUtils.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...java/org/apache/pinot/common/tier/TierFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...a/org/apache/pinot/spi/config/table/TableType.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 1134 more

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 12edbdb...12512b4. Read the comment docs.

@xiangfu0, i find the injection of a named boolean to just be a very complicated global variable. What do you think of this now? Rather than replacing the existing health check, this adds another healthcheck to the list that takes 2 callables that the broker can set to true/false as needed.
I've also limited this to the broker since that's really the only component with this behavior of sleeping before shutting down.


Allow MERGE on graph patterns

CIR-2017-195
Currently the MERGE clause only accepts a single pattern. This means you can express a path, but not anything more complex than that. You can break your pattern down into multiple MERGE clauses, but that gives you different semantics, since the scope of what to match-or-create applies per MERGE clause. In some use cases you actually have an entire subgraph where you want to either find a matching instance of that pattern, or create a whole new instance of it.
Allowing this also aligns the allowed pattern syntax between all the pattern based clauses: (OPTIONAL) MATCH, CREATE, and MERGE.

Example:
This pattern works in both MATCH and CREATE
CREATE (left:Two)<-[:REL1]-(root:One)-[:REL2]->(right:Two),
       (:Three)<-[:REL1]-(left)-[:REL1]->(:Three),
       (:Three)<-[:REL2]-(right)-[:REL2]->(:Three)
RETURN root

It would be nice if it also worked in MERGE, with match-or-create semantics:
MERGE  (left:Two)<-[:REL1]-(root:One)-[:REL2]->(right:Two),
       (:Three)<-[:REL1]-(left)-[:REL1]->(:Three),
       (:Three)<-[:REL2]-(right)-[:REL2]->(:Three)
RETURN root


[w64] Slow RPC, zcoin-cli unable to connect

Hello,
I've noticed that on windows, the RPC commands sent to zcoin node take significant time to be processed - each command takes about 3-4 seconds(even a simple getinfo), and it's not a connection issue - there are other things working on that server and they reply instantly.
To work around this issue, I've tried to use local zcoin-cli client instead of sending them directly through HTTP.. And it seems that cli is not working at all. Every request results in "error: couldn't connect to server".
zcoin.conf file:

server=1
rpcuser=oti
rpcpassword=oti

Note that the issue only occurs on windows builds - on linux everything works as expected. I built latest master ( last commit: https://github.com/zcoinofficial/zcoin/commit/20c721cf84afb2dcbe1b9096a730e97ff97528bc ) using windows10+WSL.
Checked on: Win10-x64, Win Server 2008 R2 Standard SP1 x64

Please try this patch from different branch (soon it will make its way to the master)
https://github.com/zcoinofficial/zcoin/commit/d4401a0b17de44baffd5788eb71247d7365019cc
It updates libevent so you'll need to build your dependencies after applying this

Awesome, that fixed it. :)
Thank you for the quick and accurate response.


fix: negative compliance score

Overview
As mentioned in the issue, the compliance score would be returned as -1% in case no resources were passed, it would be better to have this set to N/A which make more sense from a percentage and score point of view.
Additional Information
More context regarding the same can be found here.
How to Test
Create an empty resource.yaml then:
./kubescape scan resource.yaml

Examples/Screenshots
Before change:

After change:

Related issues/PRs:
Resolved #1282
Checklist before requesting a review

[x] My code follows the style guidelines of this project
[x] I have commented on my code, particularly in hard-to-understand areas
[x] I have performed a self-review of my code
[x] If it is a core feature, I have added thorough tests.
[x] New and existing unit tests pass locally with my changes

@dwertent @YiscahLevySilas1 I suppose this works now?
Thanks!


Password section issue

Hello,
I have an issue with facebook phishlet.
When somebody click the link from phone password isnt captured.
Could anyone explain to me what is the problem.
Thanks

I have faced same problem.


lhotse had problems preparing musan data and cannot produce supervisions data

lhotse prepare musan download/musan data/manifests
WARNING:root:There are 15 recordings that do not have any corresponding supervisions in the SupervisionSet.
In  data/manifests floder, there is only  supervisions_music.json but no supervisions_noise.json，supervisions_speech.json.

lhotse prepare musan download/musan data/manifests
WARNING:root:There are 15 recordings that do not have any corresponding supervisions in the SupervisionSet.

It's ok, just ignore this warning.

In  data/manifests floder, there is only  supervisions_music.json but no supervisions_noise.json，supervisions_speech.json.

There is no supervisions for noise & speech in musan dataset. Don't warry, it doesn't matter.

In data/manifests floder, there is only supervisions_music.json but no supervisions_noise.json，supervisions_speech.json.

I think that is the expected behavior as the code in lhotse does not produce supervisions for noise and speech.
See the code
https://github.com/lhotse-speech/lhotse/blob/master/lhotse/recipes/musan.py#L70-L78
    if 'music' in parts:
        manifests['music'] = prepare_music(corpus_dir, use_vocals=use_vocals)
        validate_recordings_and_supervisions(**manifests['music'])
    if 'speech' in parts:
        manifests['speech'] = {'recordings': scan_recordings(corpus_dir / 'speech')}
        validate(manifests['speech']['recordings'])
    if 'noise' in parts:
        manifests['noise'] = {'recordings': scan_recordings(corpus_dir / 'noise')}
        validate(manifests['noise']['recordings'])

Some directories in noise and speech don't have ANNOTATIONS. Maybe @pzelasko  has more to say
why not to generate supervisions_*.json for  speech and noise.
(py38) fangjun:/ceph-fj/open-source/icefall4/egs/librispeech/ASR/download/musan$ find . -name ANNOTATIONS
./noise/free-sound/ANNOTATIONS
./music/jamendo/ANNOTATIONS
./music/fma-western-art/ANNOTATIONS
./music/fma/ANNOTATIONS
./music/rfm/ANNOTATIONS
./music/hd-classical/ANNOTATIONS
./speech/librivox/ANNOTATIONS
(py38) fangjun:/ceph-fj/open-source/icefall4/egs/librispeech/ASR/download/musan$ ls noise/
README  free-sound  sound-bible
(py38) fangjun:/ceph-fj/open-source/icefall4/egs/librispeech/ASR/download/musan$ ls speech/
README  librivox  us-gov
(py38) fangjun:/ceph-fj/open-source/icefall4/egs/librispeech/ASR/download/musan$ ls music/
README  fma  fma-western-art  hd-classical  jamendo  rfm

That’s right, IIRC there was no supervision data for noise and speech.


"self._output_offsets" elements should be integers

I'm running the last version of PoseNET on a Google Coral TPU connected to a JetsonNano.
My Python version is 3.6.9
I'm calling the following function in my code:
poses, inference_time = engine.DetectPosesInImage(np.uint8(resized))
Where resized is an image with the following shape: (481, 641, 3)
And i get the following error:

Traceback (most recent call last):
File "/home/gabby/.vscode-server/extensions/ms-python.python-2020.3.71113/pythonFiles/ptvsd_launcher.py", line 48, in
main(ptvsdArgs)
File "/home/gabby/.vscode-server/extensions/ms-python.python-2020.3.71113/pythonFiles/lib/python/old_ptvsd/ptvsd/main.py", line 432, in main
run()
File "/home/gabby/.vscode-server/extensions/ms-python.python-2020.3.71113/pythonFiles/lib/python/old_ptvsd/ptvsd/main.py", line 316, in run_file
runpy.run_path(target, run_name='main')
File "/usr/lib/python3.6/runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "/usr/lib/python3.6/runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/gabby/Downloads/project-posenet/testPoint.py", line 584, in
poses, inference_time = engine.DetectPosesInImage(np.uint8(resized))
File "/home/gabby/Downloads/project-posenet/pose_engine.py", line 125, in DetectPosesInImage
return self.ParseOutput(self.run_inference(img.flatten()))
File "/home/gabby/Downloads/project-posenet/pose_engine.py", line 129, in ParseOutput
outputs = [output[i:j] for i, j in zip(self._output_offsets, self._output_offsets[1:])]
File "/home/gabby/Downloads/project-posenet/pose_engine.py", line 129, in
outputs = [output[i:j] for i, j in zip(self._output_offsets, self._output_offsets[1:])]
TypeError: slice indices must be integers or None or have an index method
Terminated

In this error, in the following function:
https://github.com/google-coral/project-posenet/blob/da95b4f2724b13d981baa0fdd77cf87745a79f04/pose_engine.py#L127-L129
the array self.output_offset  has the following elements: [0, 340.0, 510.0, 520.0, 521.0]
And that array gets its elements from here:
https://github.com/google-coral/project-posenet/blob/da95b4f2724b13d981baa0fdd77cf87745a79f04/pose_engine.py#L101-L103
I solved that error, by casting the elements to integers:
 self._output_offsets.append(int(offset))
And now it works perfectly, and can correctly detect poses.

It seems that there was an automatic cast in adding singed int and unsined int (specifically numpy.uint64) to preserve precision.

Fixed. Thanks for pointing this out !


core: crash on connection failure

Currently our AsyncClient-based setup doesn't handle all failure modes exposed by the Router. In particular, failures that result in synchronous stream closure and cleanup result in inconsistent state that leads to a crash.

@junr03 is this still relevant?

closed by: https://github.com/lyft/envoy-mobile/pull/457


[BUG] high memory and CPU consumption

Describe the bug (描述)
Thanks for the lib! Since this is a pure-Flutter solution, it seems that the memory and CPU consumption will be high on low-end devices, compared with native solutions?
How to reproduce (如何复现)
just use the sample app and run on low end device
Steps to reproduce the behavior (描述复现步骤):

download sample project
run it on lowend device

Expected behavior (期望行为)
low cpu / memory consumption
Screenshots (If contains) (是否有截图可以提供)
n/a
Device information (设备信息)

Device: lowend iphone or android
OS: n/a
Package Version: latest
Flutter Version: 2.0

Additional context (附加信息)
n/a

Images, event thumbnails, consumes a lot in Flutter, as everybody might acknowledged before. Currently the memory consumption by Flutter itself or images look good to me. And the CPU consumption? Hmm, I would say it's kinda out of support, as you can see in the source code, there are no magic to improve the performance but only make the scope of those changing widgets smaller and smaller.
If you have any comparison between native plugins/projects, or WeChat itself, with this project, please paste them here. It's better to have a overview and some pictures to indicates the consumption currently.

@AlexV525 Currently I do not have much comparisons. But just by a thought experiment (as we know the limitations of Flutter), I am afraid many potential users of this library leave because of this problem. Indeed, if the performance is shown to be acceptable and put in README, then IMHO more people may want to use it.

Please run the example in release mode. Performance shouldn't be list in README as a selling point, since a normal package has a normal performance, it's worth listing only if there are some performance issues.

@AlexV525 Sure, it is not a selling point. I am just worried whether it is a shortcoming that people may think about when looking at the README. So if you do not mention it, people may thought about the poor performance and leave.
Anyway this is just a suggestion to improve the library.

😄 If you're saying that I should add a notice about the memory and any other performance regression, I will say no, since it has none, as I can tell you in confidence.
In the meantime, I want to say you might regret it if you don't stay with this package since many people have already shipped it into their products.
I am just kidding. Thanks for the suggestion.

😄 You are welcome.

should add a notice about the memory and any other performance regression

No, I mean add a notice about there is no memory and any other performance regression


AppSync backup file resolvers also uploaded to S3 (ending with ~)

Describe the bug
amplify push uploads any file found in the resolvers/ directory, including clear backup files such as 'Query.getSomething.req.vtl~` (created by editor such as Emacs).
Amplify CLI Version
4.9.0
To Reproduce
Copy a .vtl file to .vtl~.
Expected behavior
Should skip backup files.
Desktop (please complete the following information):

OS: Ubuntu 19.10.
Node Version. 10.18.0

@berenddeboer it is related to #3096 as the CLI does not expect any additional unsupported/unhandled files to be present under the root it manages.

Closing this issue as we're tracking this as a part of #3096
In the meanwhile you can take a look at the recommendation by @attilah out here - https://github.com/aws-amplify/amplify-cli/issues/3096#issuecomment-570280657


Importing third party JS and CSS incorrectly during import site functionality

Describe the bug
If a page has references to CDN hosted javascript or css resources then those are imported to web resources incorrectly.
They should be left intact on import.
For example:
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.2/additional-methods.min.js" integrity="sha512-6Uv+497AWTmj/6V14BsQioPrm3kgwmK9HYIyWP+vClykX52b0zrDGP7lajZoIY1nNlX4oQuh7zsGjmF7D0VZYA==" crossorigin="anonymous"></script>
gets converted to
<script src="/web_resources/themes/TestSite4/import/cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.2/additional-methods.min.js" integrity="sha512-6Uv+497AWTmj/6V14BsQioPrm3kgwmK9HYIyWP+vClykX52b0zrDGP7lajZoIY1nNlX4oQuh7zsGjmF7D0VZYA==" crossorigin="anonymous"></script>
To Reproduce
Steps to reproduce the behavior:

Go to create site.
Create  site from url.
Click next.

Expected behavior
External links to CSS and JS  should be left intact on import.
Versions Affected

<=8.1.4

Re-opening as now no js files with relative path are being imported.

Hi Nate,
You want me to fix it? I can as I know why it is happening.

Hi Santosh!
If you have time, and a fix, I definitely won't say no!
-n

Latest on this is that the CSS / JS Links are now "" when importing a Template from a URL.  They are correct when a site is imported.

@ramdev1980 does that last PR resolve this?

@natechadwick   This has been fixed.


Split statistics routines from math.cc

Part of #7143.

Jenkins, test this please

Jenkins CI test (for commit a3e02111707188c9931c69fb5c202ea80f611710, target branch master) failed with status FAILURE.

LGTM


test: add Textarea UI tests

Summary
This covers https://github.com/snapshot-labs/sx-monorepo/pull/418

Unrelated to this PR, will merge anyway.


Issue with boost

I am having issues with installing MRiLab. I have updated my cmake with the BOOST libraries and the compilation output states that Boost is detected. However, the output also says that the code failed to compile because boost could not be found. Is there a way to fix this?
Also I have downloaded ISMRMRD and it is also not being recognised.
Cheers,
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- MATLAB_ROOT: /usr/local/MATLAB/R2016b/
-- Matlab mex will be used
-- IPP_ROOT (IPP 7): /opt/intel/compilers_and_libraries_2017.4.196/linux/ipp/
-- Found IPP: /opt/intel/compilers_and_libraries_2017.4.196/linux/ipp/lib/intel64/libipps.so;/opt/intel/compilers_and_libraries_2017.4.196/linux/ipp/lib/intel64/libippvm.so;/opt/intel/compilers_and_libraries_2017.4.196/linux/ipp/lib/intel64/libippcore.so
-- FRAMEWAVE_ROOT environment variable not set.
-- In Linux this can be done in your user .bashrc file by appending the corresponding line, e.g:
-- export FRAMEWAVE_ROOT=/usr/local/framewave/build
-- In Windows this can be done by adding system variable, e.g:
-- FRAMEWAVE_ROOT=C:\Program Files\FRAMEWAVE_1.3.1_SRC\Framewave\build
-- Could NOT find Framewave (missing:  FW_LIBRARIES FW_INCLUDE_DIR)
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing:  CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
CMake Warning at CMakeLists.txt:18 (find_package):
By not providing "FindVTK.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "VTK", but
CMake did not find one.
Could not find a package configuration file provided by "VTK" with any of
the following names:
VTKConfig.cmake
vtk-config.cmake

Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"
to a directory containing one of the above files.  If "VTK" provides a
separate development package or SDK, be sure it has been installed.
-- Could NOT find Ismrmrd (missing:  ISMRMRD_SCHEMA_DIR)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   thread
--   system
--   chrono
--   date_time
--   atomic
-- IPP and/or Framewave Found, CPU engine will be compiled
-- IPP will be used
CUDA not found. GPU engine will not be compiled
CMake Error at renderer/CMakeLists.txt:2 (include):
include called with wrong number of arguments.  include() only takes one
file.
VTK not found. MRiLab DoKSpaceTrajVTK will not be compiled.
ISMRMRD and/or Boost not found. MRiLab to Gadgetron interface will not be compiled

Hi, I realized that Boost was not the problem but there was a bug in renderer/CMakeLists.txt:2 (include).
In MRiLab/Lib/src/renderer/CMakeLists.txt
include(${VTK_USE_FILE}) should be
include("${VTK_USE_FILE}")
Making that correction allowed the executable to be made.
Cheers


Unique voters in one day

Fixes #114

@ChaituVR I tried to vote on demo site and wait few mn but cant see it on https://snapshot-hub-voters-1d-hk67aut.herokuapp.com/api/explore for some reason

@bonustrack I tried voting on your space and the count increased

Maybe you voted on a proposal that you previously voted few days back?? 🤔

@ChaituVR That's right but why it wouldn't count, isn't the query asking for last day vote?

I just tried voting on a proposal that I voted for previously and it works, shows count on voters_1d

I am voting on this proposal https://demo.snapshot.org/#/fabien.eth/proposal/0xe369a3e58e1e8993432742f039b3b63a31ff3202d4638299d09d09f4884e31c9
maybe can you share an example where count is not added up?


Notebook is empty

Open a notebook and the entire screen is empty
Here's the error in the webview

Closing as there's nothing we can do about this, its an upstream issue.


Android 7.0 color icon in gray: "no icon option"

I'm trying to figure out whats going on with my icon that displays in gray color as you can see in the following picture

On init() the console displays two messages
 D/Push_Plugin: no icon option
 D/Push_Plugin: no iconColor option

Inside my resources folder I've already had an png file called "icon.png" (1024x1024px) used to make launcher icons.
This is a part of the code I use to init push plugin:
var push = PushNotification.init({
			android: {
				"senderID": "XXXXXXXXXXXXX",
				"forceShow": "true",
				"sound": "true",
				"icon": "icon",
				"vibrate": true
			},

Is there something I'm doing wrong?
Thanks

@fgagneten does your icon have any transparent pixels inside that hexagon?
https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/PAYLOAD.md#images


Replace openssl hash functions with RustCrypto hashes

Aim is to remove openssl dependency eventually. See https://github.com/RustCrypto/traits/issues/1683 for more details on where I am stuck right now.

RustCrypto is missing Brainpool and some other elliptic curve algorithms (https://github.com/RustCrypto/elliptic-curves/issues/114)


setup failing

I have installed jx-giit-operator using helm, cloning the chart locally
the jx-git-operator pod is failing on start
My repository is hosted in an internal bitbucket server, and it appears it is able to communicate with it correctly (it's resolving commit id's)
The K8S cluster is EKS on v1.18
The command I have used for deployment is
helm upgrade --install \
--set url=https://<bitbucket.server>/scm/<project>/<repo>.git \
--set username=<username> \
--set password=<token> --namespace jx-git-operator --create-namespace jxgo ./charts/jx-git-operator

The logs from the jx-git-operator pod are
no custom git initialisation scripts
using poll duration 20s
polling repository jx-boot in namespace jx-git-operator with git URL<EMAIL_ADDRESS>cloning repository jx-boot to /tmp/jx-git-operator-279133426/jx-boot
about to run: git clone<EMAIL_ADDRESS>/tmp/jx-git-operator-279133426/jx-boot in dir /tmp/jx-git-operator-279133426
Cloning into '/tmp/jx-git-operator-279133426/jx-boot'...
about to run: git rev-parse HEAD in dir /tmp/jx-git-operator-279133426/jx-boot
ac4aceb7b5cd403f66967b0cacbad75aaf48539e
repository jx-boot has latest commit sha ac4aceb7b5cd403f66967b0cacbad75aaf48539e
about to create a new job for name jx-boot and sha ac4aceb7b5cd403f66967b0cacbad75aaf48539e
running command: kubectl apply -f /tmp/jx-git-operator-279133426/jx-boot/versionStream/git-operator/resources
about to run: kubectl apply -f /tmp/jx-git-operator-279133426/jx-boot/versionStream/git-operator/resources
ERROR: failed to poll repository jx-boot in namespace jx-git-operator: failed to launch job for jx-boot: failed to apply resources in dir /tmp/jx-git-operator-279133426/jx-boot/versionStream/git-operator/resources: failed to run 'kubectl apply -f /tmp/jx-git-operator-279133426/jx-boot/versionStream/git-operator/resources' command in directory '', output: ''

I cannot use the JX cli for install due to a previous issue already raised (https://github.com/jenkins-x/jx-git-operator/issues/46)

Issue has been resolved on this PR -> https://github.com/jenkins-x-charts/jxboot-helmfile-resources/pull/325/commits/22e821e8e6e0b3771a2bb1ad2398c21f979d1f7d
Closing this issue

Issue has been resolved on this PR -> https://github.com/jenkins-x-charts/jxboot-helmfile-resources/pull/325/commits/22e821e8e6e0b3771a2bb1ad2398c21f979d1f7d
Closing this issue


removed organisation still visible

In my user account I in Prestashop I had an organisation name. Let's call it Myorg. While on my checkout page - and before my payment - I removed that organisation name.
Yet when I continued to Mollie's payment page I saw there "Wim Panda - Myorg".

Hi @musicpanda,
In which field did you remove the organisation name?
Kind Regards

Company name

Hi @musicpanda ,
Because this is not a Mollie issue and because we haven't recieved a response anymore, we are closing this issue.
Kind Regards


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/SebastianSchultz/ioBroker.lgtv

[ ] [E605] No actual year found in copyright. Please add "Copyright (c) 2020 Sebastian Schultz<EMAIL_ADDRESS>at the end of README.md

Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Thanks, that all bugs have been fixed.


#5949 enabled prettier for all the formats

Proposed changes
Enabled prettier for all formats, to avoid argues about codestyle. Now all the styles are defined by prettier (and some can be configured if needed) and code is formatted on commit
Screenshots (if appropriate) or codepen:
Should not affect any behaviour
Types of changes
Only formatting

[ ] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to change).

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

@materializecss/members as discussed in my other PR, there was a problem with leading zero (.4 vs 0.4). We agreed with @roiLeo and @DanielRuf to apply it via eslint.
After digging deeper, I found that this should be done by prettier (by default), but it wasn't enabled for scss files. So I made a brave move and enabled it for all the formats 😅
What do you think about it?

LGTM.
Many changes here. Only looked through some of the code, pretty awesome that it formats Code-Styling automatically on Commit. I guess everybody has their own style preferences while coding so this is a nice step forward to standardization. Good work 👍

Do you know what style is used for JS? I proposed using standard in #79

Do you know what style is used for JS? I proposed using standard in #79

Afaik prettier is an opiniated formatter that applies its own rules (one reason why I do not really like prettier and prefer other linters and formatters like eslint).
To use the eslint config you have to add some more packages and configure prettier:
https://www.robinwieruch.de/prettier-eslint
https://prettier.io/docs/en/integrating-with-linters.html
https://github.com/prettier/prettier-eslint
For standardjs see https://standardjs.com/awesome.html#automatic-code-formatters and https://www.npmjs.com/package/prettier-standard
https://github.com/prettier/prettier/issues/2364
https://prettier.io/docs/en/comparison.html
From https://prettier.io/docs/en/:

Prettier enforces a consistent code style (i.e. code formatting that won’t affect the AST) across your entire codebase because it disregards the original styling* by parsing it away and re-printing the parsed AST with its own rules that take the maximum line length into account, wrapping code when necessary.

To be honest, I'm fine with any :) I checked the result changes from prettier and they look good to me.
I could also use prettier-eslint instead
For CSS we would need to add another linter, though.

Just FYI I just compared standard vs prettier-standard on materializecss project and the former introduces much more changes after formatting.

Is #79 related ?

Yes, partially.
This PR is about enabling prettier for non-js files (at the moment it works only for JS).
#79 is about replacing prettier with JS standard style
So, even though these 2 PRs are about different types of files, but they contradict in usage of prettier. So we should decide, if we go with dedicated formatters per language (standard JS, styling, etc.) or use prettier for everything

What is the current status? I see many conflicts due to other changes.

Hi @DanielRuf sorry for the late response
To be honest, as far as I remember, there were several PRs and suggestions regarding styling. And I don't know what was selected (I don't follow discussions in other PRs).
This PR mainly enables default prettier for scss, HTML and js.
If we agree on smth, I would create a separate PR (to avoid solving merge conflicts). Basically, my main changes in the PR are only regarding styling configs. And 100+ files are changed, because I applied these styles before commit (as per hook)

Hey. Thank you for the contribution! I think there would be too much changes here, so I close it.

There is a way to run it for changed files (but not lines). Unfortunately, I don't know how to run it only for new files.

We can safely do that with lint-staged and husky.


fix: Dashboard Secret error

this PR contains img tags which Fixed the secret error on dashboard

lgtm

/lgtm


Bouncing (headmod access if you succeed in helping me)

I’ve read all of the issues but I’m very confused of how to do it if someone could like post a walk through on this I’ll be good and it would be very appreciated

Try This:
Go to: Gorilla Rig --> Gorilla Player --> LeftHand Controller   Click on "Add Component", and add a sphere collider. Set the radius of the sphere collider to 0.06. Do the same with RightHand Controller.


Smart_hide mode for swaybar

Can you add smart_hide mode when swaybar is visible only if there is any window on a current workspace?
It is useful if your conky have all information from i3status and you use empty workspace like lockscreen just to hide windows from others.

Haha, just use swaylock when it's done to lock your screen. That's not a bad idea for a feature, though.

I use empty workspace as lockscreen in order to always see information from conky (like time, current track, battery level). I used my python script to hide i3bar on i3. I will be happy if i don't need this hack.

Would it be practical to have swaylock just literally lock the screen in its current state (--transparent?), requiring a password before accepting more input? This would allow the use of conky, a webpage in a browser, a video, whatever, as a “lock screen”.

I think it's entirely fair for swaylock to support transparency in the --color argument, so you could specify a completely transparent color to achieve that effect. Could also use semitransparent images as the background image.

:+1: for the general idea, but maybe make that the default sub-arg to --color? I'm not sure how to make it comply with the standard RGB notation.

swaylock --color #00000000 - transparent black
swaylock --color #000000 - solid black
swaylock --color #FF000000 - solid black

Solid black should be swaylock --color #000000FF so it will play nice with cairo_set_source_u32

Solid black should be swaylock --color #000000FF so it will play nice with cairo_set_source_u32

Yeah, my mistake.

I like the idea with transparency. Waiting for this feature.

I feel like breaking from 6-digit hex and retaining the general scheme is ugly. A discrete -t is starting to sound better and better.

Transparency of swaylock has fixed this issue. Thank you.


How to type a lazy thunk?

I want to have sound type checking for a lazy thunk that looks like this:
const lazy = (fn, args) => {
  return {_type: 'thunk', fn, args}
}

This is very similar to React.createElement for a stateless component, and not a single argument, but arbitrarily whatever the function's type definition expects....
Any ideas how to do this?

Flow doesn't currently expose a syntax for specifying a non-uniform arg-spread (i.e. best you can do syntactically right now is (...args: Array<T>) => R, but not (...args: T) => R. As a result I don't think there's a good way to verify that the args match the supplied function in the type signature. (Making it possible to do (...args: T) => R is probably something we should unlock at some point -- I think it's doable)
However, you could do the following to at least verify that the thunk-runner carries through the return type of the function:
https://flowtype.org/try/#0C4TwDgpgBAKgFgVwHYGsA8AxANFASgPigF4oBvAfVEgC4oByYRVOnAMyVuygEMAnAcwDOtAIK9e3EGm5IQ+AL4BuAFDLWyAMbAAlgHskUXsnjJ0uHBloAKAHR2+Q0eMnTZ+AJTFCBK41O0TVEwcAndaXDJlKEMIYAReAz9UG3ZbOySUGwdBdxV5VXUkLT0DAFtuFAhAswtrOyyBYSgxCSkZOU8ib3wrKKh2Thw+7KdW1zksZTDYJnQuAkjo3lj4gwoqCFoGWZZ+pBxspWV85Q19QWAoQQRS4igrblokG4AjCF4cF6fX9+mL3m0SH4XigAGVgACgQ8oABqKAvXKqM5IC5Qfi6XQAE2qd3KlWqVmupRwAG0AIw4ABMAF1EcjUS9uNjZriKlVZoSbqSKVAAETcQSY1i82mKKAAenFUAAcro0RjMVAAO6SKDAOV46CMbSCKDvXi6XjNGAAWSR50uADduAAbbSY3AQa424C0f6A4EkIxIAnorHVOkW+FMx3O11QZ6lN5Gr3GDl+5mmXJAA

Interesting. Thanks for the tip! Are there any PR's or Issues tracking these features?

Specifying function argument types as tuples: (...args: [string] | [number, number]) => number

Getting the type signature of a function's arguments: type args = $Args<Fn>


[Feature] enable/disable physics on an object

Discussed in https://github.com/nartc/angular-three/discussions/58

Originally posted by IRobot1 February 19, 2022
In VR, I'd like to grab a object.  If it has physics enabled, I'd like to disable it until I release the object.
I was looking at NgtPhysicsStore, but not sure how to use it.
This isn't supported at the moment.

@IRobot1 do you have an example of this?

I think the best way to achieve this is to use sleep and wake up.
  @Input() set enabled(newvalue: boolean) {
    if (newvalue)
      this.physics.api.wakeUp();
    else
      this.physics.api.sleep();
  }

Here's the full code example
DEMO here, select Conditional example


Fault and Skipped queue creation is broken for Azure Service Bus

MassTransit fails in case of exception in a Consumer.
Can you also reproduce the problem with the lastest version?
I experienced a bug on both 4.0 and 4.0.1 versions of MassTransit.
Environment

Operating system: Windows 10
Visual Studio version: VS2017
Dotnet version: .NET Framework 4.7

MassTransit 4.0.1, Azure Service Bus, Autofac
Steps to Reproduce
Steps to reproduce:

Create sample Event
Create Subscriber for Event for both Event itself and Fault
Throw an exception from Event consume method in Consumer
MassTransit pipeline will try to create {type}_error and {type}_skipped queues and will fails on creation because of slashes('/') presented in queue name.

Expected Behavior
Fault message will be consumed in Consumer's Fault consume method.
Actual Behavior
MassTransit fails to create Fault queue and messages get lost
Reproducible Demo
I was able to temporary fix issue by changing
const string PathDelimiter = @"/";
to
const string PathDelimiter = @"_";
in MassTransit.AzureServiceBusTransport\Topology\EntityNameFormatter.cs
I created a sample project to help with error reproduction:
https://github.com/AVladimirov82/MassTransitSampleProject
Please let me know, if you need more information.

Why are you putting a / in the queue name?

So this appears to be related to the _error and _skipped queues for subscription endpoints, which don't start with a queue, but with a subscription only within a topic. Which would beg the question what queue name is being used for it?
I can't check this now, I'm on Mac and SB only works on Windows. So I'll have to investigate it later, but I'll look at it.

I looked at source code. If exception raised from Consumer, MassTransit is trying to create a queue with a name using next pattern - {topic_name}/Subscriptions/{subscription_name}_error and it is failing because of "/" in the path.
To answer your first question. I have to use custom naming for Topics to support Development activities. MassTransit is doing great job in hiding all complexity of messaging and I really like Type based routing. It is a perfect approach for RabbitMq where each developer can locally install RabbitMq server on their Desktop and work on implementation without bothering colleagues. Unfortunately it is not a case for Azure Service Bus because Microsoft does not provide local emulators and creating of Service Bus Namespace per developer does not look like feasible solution for me. Using custom naming conventions I was able to isolate messaging per Computer/Process and with small additions it should work nicely for Azure HPC/Batch, even if nodes will use the same Computer Name provided by VM Image. I did not find a better way to address Azure Service Bus limitations.

Okay, so this is for Subscription endpoints. I get it now, it's broken.
I'm considering, for subscriptions, to use:
Subscription Path + $DeadLetterQueue - so the same dead letter queue is used that ASB uses by default.
Subscription Path + $skipped - to create a new subqueue to separate MT DLQ from ASB DLQ
I'm also considering making the error queue $error so it's also a subqueue.


Update README.md

To continue from  #6, the @hscmap was missing. I don't think it can work without this, no?

Oops...
You are right, @hscmap is needed.


Add tests for opportunistic linkage

See discussion at Homebrew/brew#12454.

Bonus: with --cached, this test is basically free.


Missing closing paratheses, good-first-issue

https://github.com/freeCodeCamp/freeCodeCamp/blob/2a5efc1d73991132affadf75ca45e4c0e87c6ef2/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/build-a-pokemon-search-app-project/build-a-pokemon-search-app.md?plain=1#L18

Thanks for opening this issue.
This looks something that can be fixed by "first time" code contributors to this repository. Here are the files that you should be looking at to work on a fix:
List of files:

https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/build-a-pokemon-search-app-project/build-a-pokemon-search-app.md

Please make sure you read our guidelines for contributing, we prioritize contributors following the instructions in our guides. Join us in our chat room or the forum if you need help contributing, our moderators will guide you through this.
Sometimes we may get more than one pull requests. We typically accept the most quality contribution followed by the one that is made first.
Happy contributing.


The output of est_flow result

Hi, thanks for your great work.
I successfully run test.py, using FT3D dataset and best_checkpoints.params model. But, I can't find the output of estimate-flow file or a folder like result/FT3D which mentioned in visual.py. How can i get these files?  Do I need to save the est_flow which mentioned  in test.py at 120 lines as a npy file ?
Thanks in advance for your help.

Thanks for your interest in our work. visual.py need 3 input files: pc1.npy, pc2.npy and flow.npy. We do not write saving code and you need to save them manully. You can refer to line 120 in test.py. 'batch_data['sequence']' contains pc1.npy and pc2.npy while 'est_flow' is flow.npy.


Return correct modname when found in cache.

Fixes  #2451 where otherwise equal submodules were showing different types.

Can I provide further information or improvements to get this merged?
Short patch summary:
This patch will turn the following
	if (!design->has(new_modname)) {
		...
		modname = new_modname;
		...
	} else {
		log(...);
	}
	...
	return modname;

into a more symmetric version to return the same modname in both cases.
	if (!design->has(new_modname)) {
		...
		modname = new_modname;
		...
	} else {
		modname = new_modname;
		log(...);
	}
	...
	return modname;


Task publishToSonatype skipped as it has no actions

Hi there!
I am using version 0.3.0 and currently unable to publish my library with the following message:
> Task :kronos-java:publishToSonatype
Skipping task ':kronos-java:publishToSonatype' as it has no actions.
:kronos-java:publishToSonatype (Thread[Daemon worker,5,main]) completed. Took 0.0 secs.

We have sonatype username and password set up in our repository block. https://github.com/lyft/Kronos-Android/blob/master/gradle/publish.gradle
I'd love any direction you could point me in for debugging this. Thank you!

Figured it out :)

Could you please tell how have yu solved the issue?

Could you please tell how have yu solved the issue?


Make account name matching error clearer.

The error message now more clearly specifies what actually happened. Also included the name the backend returned. This makes it easier to see if the backend returned the special ambry-unknown-account account.
As far as I could tell these kind of exceptions are not returned to HTTP REST API callers so there is no information leaked.

Codecov Report

Merging #798 into master will increase coverage by 0.04%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #798      +/-   ##
============================================
+ Coverage      66.8%   66.85%   +0.04%
- Complexity     4084     4089       +5
============================================
  Files           352      352
  Lines         26662    26663       +1
  Branches       3363     3363
============================================
+ Hits          17812    17825      +13
+ Misses         7905     7897       -8
+ Partials        945      941       -4

Impacted Files
Coverage Δ
Complexity Δ

...ub.ambry.frontend/AccountAndContainerInjector.java
98.85% <100%> (+0.01%)
25 <0> (ø)
:arrow_down:

.../main/java/com.github.ambry.router/EncryptJob.java
92.3% <0%> (-7.7%)
2% <0%> (-1%)

...b.ambry.network/BlockingChannelConnectionPool.java
64.03% <0%> (-2.2%)
8% <0%> (ø)

.../com.github.ambry.router/GetBlobInfoOperation.java
78.28% <0%> (-1.32%)
30% <0%> (-1%)

...java/com.github.ambry.store/CompactionManager.java
91.04% <0%> (-0.75%)
17% <0%> (ø)

...in/java/com.github.ambry.store/BlobStoreStats.java
84.68% <0%> (-0.48%)
92% <0%> (ø)

...in/java/com.github.ambry.network/SocketServer.java
82.78% <0%> (-0.41%)
13% <0%> (ø)

...ain/java/com.github.ambry.router/PutOperation.java
90.2% <0%> (+0.22%)
70% <0%> (+1%)
:arrow_up:

...java/com.github.ambry.router/GetBlobOperation.java
87.82% <0%> (+0.25%)
31% <0%> (+1%)
:arrow_up:

...va/com.github.ambry.replication/ReplicaThread.java
71.91% <0%> (+0.45%)
48% <0%> (+1%)
:arrow_up:

... and 3 more

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 e54d679...531cede. Read the comment docs.


Proof-reading of the Introduction paragraph

Proof-reading and tidying up the Introduction paragraph. Mainly grammatical fine-tuning.
I didn't see the need to talk about specific challenges and technical details in the introduction paragraph so removed them for brevity and clarity - hope you don't feel I was too ruthless :-)
Will continue proof-reading further paragraphs as I find the time.

thanks for the contribution, we will analyse it step by step, to guarantee everything is fine.

Great, thanks Igor - awesome work with this paper by the way :-)

Hi @PBSJ, thanks for the contribution.
Please take a look at the adaptions that were done.
@igormcoelho, check if they are good.
I tried to maintain the technical information which mentions important key aspects that we need to highlight.

Very good @vncoelho , thanks for preserving the original citations. @PBSJ thanks for the contribution, let's try to work always expanding content and fixing typos.


Fixes HUDI-38: Reduce memory overhead of WriteStatus

For implicit indexes (e.g BloomIndex), don't buffer up written records
By default, only collect 10% of failing records to avoid OOMs
Improves debuggability via above, since data errors can now show up in collect()
Unit tests & fixing subclasses & adjusting tests

yes @ovj @n3nash the custom WriteStatus need to change post release. its okay for you to ignore the args though..  Once one of you review, I ll land

yes.. they need a new constructor.. but the job will fail front/center. We will make it clear on the release notes


Switch to C++11.

We've been using C++11 on the super_duper branch for a while, but there's no reason not to backport this (which helps minimize gratuitous differences).

LGTM, nice to see the dependencies reduced. Maybe we could even get it packaged for Debian one day.


docs container exited with code 2

What happened?
docs container exited with code 2
What should've happened instead?
docs container is UP and I can be able to use it
Steps to reproduce

Make new project
docker-compose -f local.yml build
docker-compose -f local.yml up docs

Dockerfile
FROM python:3.8-slim-buster

ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1

RUN apt-get update \
    # dependencies for building Python packages
    && apt-get install -y build-essential \
    # psycopg2 dependencies
    && apt-get install -y libpq-dev \
    # Translations dependencies
    && apt-get install -y gettext \
    # Uncomment below lines to enable Sphinx output to latex and pdf
    # && apt-get install -y texlive-latex-recommended \
    # && apt-get install -y texlive-fonts-recommended \
    # && apt-get install -y texlive-latex-extra \
    # && apt-get install -y latexmk \
    # cleaning up unused files
    && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
    && rm -rf /var/lib/apt/lists/*

# Requirements are installed here to ensure they will be cached.
COPY ./requirements /requirements
# All imports needed for autodoc.
#RUN pip install -r /requirements/local.txt -r /requirements/production.txt
RUN pip install -r /requirements/requirements.txt

WORKDIR /docs

CMD make livehtml

local.yml
...
  docs:
    image: frame_and_gap_local_docs
    container_name: docs
    build:
      context: .
      dockerfile: ./compose/local/docs/Dockerfile
    env_file:
      - ./.envs/.local/.django
    volumes:
      - ./docs:/docs
      - ./config:/app/config
      - ./frame_and_gap:/app/frame_and_gap
    ports:
      - "7000:7000"

Then docker-compose -f local.yml up docs
(frame_and_gap) KrungThep:frame_and_gap sarit$ docker-compose -f local.yml up docs
Creating network "frame_and_gap_default" with the default driver
Creating docs ... done
Attaching to docs
docs            | sphinx-autobuild -b html -H <IP_ADDRESS> -p 7000 --watch /app -c . ./_source ./_build/html
docs            | usage: sphinx-autobuild [-h] [--port PORT] [--host HOST]
docs            |                         [--re-ignore RE_IGNORE] [--ignore IGNORE]
docs            |                         [--no-initial] [--open-browser] [--delay DELAY]
docs            |                         [--watch DIR] [--pre-build COMMAND] [--version]
docs            |                         sourcedir outdir [filenames [filenames ...]]
docs            | sphinx-autobuild: error: unrecognized arguments: -H -p ./_source ./_build/html
docs            | make: *** [Makefile:20: livehtml] Error 2
docs exited with code 2

I have solved the issue by changing line 20 of the file ./docs/Makefile
sphinx-autobuild -b html --host <IP_ADDRESS> --port  7000 --watch $(APP) -c . $(SOURCEDIR) $(BUILDDIR)/html

Looks like the host and port options have changed in the latest release of sphinx-autobuild, and the shorthand versions have been dropped.


Protocol state to have only the constants used in blockchain snark

Separate constants that are required for computations inside and outside the blockchain snark.
Protocol state to only have in-snark-constants enabling the other constants to be configured at runtime. Added delta to the list of constants that can be configured at runtime
Checklist:

[ ] Tests were added for the new behavior
[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them:

Closes #4757

I would prefer if we didn't do this. I am uncomfortable with the notion that chains with distinct geneses having the same genesis hash/proof.
Could you speak a bit to potential issues and mitigations, or to why this should be okay? In particular, won't this hide issues around connecting to a chain with the wrong genesis information and/or inadvertantly creating valid-looking forks from ill-configured nodes?

I would prefer if we didn't do this. I am uncomfortable with the notion that chains with distinct geneses having the same genesis hash/proof.
Could you speak a bit to potential issues and mitigations, or to why this should be okay? In particular, won't this hide issues around connecting to a chain with the wrong genesis information and/or inadvertantly creating valid-looking forks from ill-configured nodes?

Genesis constants and genesis ledger are part of the chain id. So a node only connects to peers that have the same chain id. And if somehow that is bypassed, the genesis state hash of a block received is checked against the node's genesis state hash before accepting the block. As for the constants genesis_timestamp and delta, a node checks if the block is within delta delay using the it's value of delta and  genesis_timestamp.
With a different genesis timestamp, the slots for which the blocks are generated might be different. A block is rejected if it is for a future slot or a slot that's delta slots before the current slot. But if the block falls within the last delta slots, then it could cause a fork. But such fork would always be off of the genesis block and would be resolved under the long fork chain selection rule? @nholland94 do you think otherwise?

closing this in favour of #4769  which adds the option to generate genesis proof at runtime and therefore allowing all the constants to be configured at runtime


Change database insert and update methods

Change all database insert and update methods to adapt to #12.

[x] Create constants classes with ids to replace direct string insert in the database, so if the user changes the language, it won't be necessary refill the database with constants in the new language;
[x] Edit total_price and paid_price in volumes table to support any existent currency;

Closed on 1dabc78.


Plain decoding optimization

This now uses a modified implementation of Nick Galbreath (@client9)
algorithm.
Modifications of the original algorithm include:

Unaligned access is now optional (macro to enable this)
Invalid characters are mapped to 0xffffffff instead of 0x01ffffff.
This removes the need to shift by 8 the returned value of the tables on
big-endian architecture with fast unaligned access at the expense of a
different check for invalid character depending on endianness

Speed-up using clang-8<IP_ADDRESS> on i7-4870HQ @ 2.5 GHz or iPhone SE:

x86_64: +97%
i386: +60%
arm64: +0%
armv7: +24%

As a side note, it seems that the iPhone SE processor (Apple A9) has
fast unaligned access which gives even higher speed-up with
corresponding macro set to 1 (+23% / +56%). This may not be the case
for some other ARM processors.
This is the first PR of a series as requested in #35

Thanks, this is a nice pull request! I left three review notes. If those are worked out, I think this is fit to merge.

All review notes addressed.

Sorry for the delays in responding. Last week was busy personally and professionally. I'll try to move things forward again.

Apart from the comment on the Makefile, this pull request looks OK and I'm willing to pull it. Do you want to fix the Makefile? I can also fix it in a followup commit if it saves you time.

Makefile has been modified according to latest review.

Merged, thanks!


Error getting report

I installed the keptn-report utility and it's showing the following error:
julian@ubuntu:~/go/bin$ cat ~/keptn/reports/sampledata.json | ./keptn-report -out ~/keptn/reports/myreport.pdf
please provide at least one series
attached the sampledata.json used. (convert from .txt to .json)
sampledata.txt

Thank you for your input.
I've released a fixed version that skips the chart creation if no history is within the event.


Error while building project

Hi, I just tried to build the project with make windows but it fails with below error. Also getting the same error on Ubuntu 20.04
npm install

up to date, audited 465 packages in 1s

55 packages are looking for funding
  run `npm fund` for details

3 vulnerabilities (2 moderate, 1 high)

To address all issues, run:
  npm audit fix

Run `npm audit` for details.
curl -L  -o .zip
curl: (2) no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
mingw32-make: *** [Makefile:22: fonts/NORMAL/.zip] Error 2

Sorry for not maintaining the README.md.
If you build this application, you will need to modify the Makefile to download the fonts.
Could you try to build it after changing the Makefile with the following example?
eg.
NORMAL_FONT_DOWNLOAD_URL = https://github.com/yuru7/PlemolJP/releases/download/v1.6.0/PlemolJP_NF_v1.6.0.zip
NORMAL_FONT_DOWNLOAD_FILE = PlemolJP_NF_v1.6.0
NORMAL_REGULAR_FONT_FILE_NAME = PlemolJP_NF_v1.6.0/PlemolJPConsole_NF/PlemolJPConsoleNF-Regular.ttf
NORMAL_BOLD_FONT_FILE_NAME = PlemolJP_NF_v1.6.0/PlemolJPConsole_NF/PlemolJPConsoleNF-Bold.ttf

@ChaitanyaPTank
Thanks for letting me know.
I have fixed it, can you please get the latest source and rebuild it?

Thanks @tk-shirasaka I took pull from master and it's working.
I am not sure how much time I will be able to contribute to this, but wanna give it a shot. Can you please help me with good first issue or something like that? or from where should I start to understand the codebase ?

Thank you for your offer!
I don't have the documentation ready, but the general structure uses Electron for the backend and React for the frontend, and each has its own directory, so you can start reading from where you are interested.

. /main -- backend (Electron)
. /renderer -- frontend (React)

To understand the backend, it is necessary to understand Neovim's UI API, so please refer to the official documentation to deepen your understanding.
Please refer to the official documentation at https://neovim.io/doc/user/ui.html
You can also check the communication between the frontend and backend by clicking the debug icon in the lower right corner of the screen and entering a regular expression string to filter the communication.
When passing data from the backend to the frontend, the data received by the Neovim API is processed, so most of the parts do not match the documentation, but please refer to it for reference only.
(If you don't want to filter the data, use .* to see all the communication without filtering).
If you want to finish checking the communication, click the same icon again and type in an empty string.
Also, if you set the DEVELOPMENT environment variable during the build process, typescript compression will not be performed, which may help you identify the error location.
Even if you do not set the environment variable, you can substitute it by changing the relevant part of the Makefile as follows and building.

Before

npm run build

After

DEVELOPMENT=1 npm run build

Thank you for your cooperation.

Thanks for the reply @tk-shirasaka.
Does this project have HMR? I am just trying to do changes here and there in the code but every time I need to restart the servers to get the results.
It'll we good if we can connect on discord or something similar.
Thanks

@ChaitanyaPTank
Sorry for the late reply.
Unfortunately this project is not on HMR.
My development environment resides on a docker container and I build it every time I check it works.
I used to be able to run npm run start and npm run watch to check after reloading, but I just checked and it seems to have stopped working.
I will try to adjust it as soon as I see it, so may I have some time?


az mesh deployment create fails

Any idea what the error:
Unable to edit or replace deployment 'TestDeployment': previous deployment from '8/22/2018 8:17:18 PM' is still active (expiration time is '8/29/2018 8:17:16 PM'). Please see https://aka.ms/arm-deploy for usage details.
...means?  There are no previous deployments, and this is a brand new resource group.

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

ID: 777d4200-1f2a-c73a-1366-012e4599458a
Version Independent ID: 03b345ea-1c54-0dd3-9b8c-feb0928b0b83
Content: Deploy app from a private registry to Azure Service Fabric Mesh
Content Source: articles/service-fabric-mesh/service-fabric-mesh-howto-deploy-app-private-registry.md
Service: service-fabric-mesh
GitHub Login: @rwike77
Microsoft Alias: ryanwi

Thanks for the feedback! We are currently investigating and will update you shortly.

@MikeChristensen yes you can use both Windows and Linux. We have both Windows and Linux examples in the Quickstarts section of the Service Fabric Mesh Documentation.
https://docs.microsoft.com/en-us/azure/service-fabric-mesh/service-fabric-mesh-quickstart-deploy-container#deploy-the-application

Before deploying your Mesh Application you need to have docker up and running and have it set to the correct operating system you want to use. So if you are deploying Linux make sure Docker is set to Linux first. If you click on your Docker icon on your task bar it will open a list. In that list you will see an option that says either "Switch to Windows Containers" or "Switch to Linux Containers" depending on whatever you are currently using.
Based on the error you are seeing above I assume you are at the deployment phase. Check the portal to make sure there are not any existing resource that did not deploy properly. If there are, I suggest removing the resource group and attempting the steps again.

Thanks!  This is a brand new resource group that has never been used before, and created just before running the az mesh deployment create command.  I've tried this 5 or 6 times now, each time with a brand new resource group, and get the same error each time.  There doesn't seem to be anything in the logs, except the same error message.
Note I'm using my own template that is attempting to deploy a container from my own registry, so perhaps the error is in there somewhere.  I've attached my template as test.txt (since json extensions are not supported):
test.txt
Note this is a container registry and image I use on Service Fabric, which works fine, so I don't think it's the repository or the image.  The only thing that might be worth noting is the container registry is in a different resource group than the Mesh application, but I can't see how that would matter.
I've also tried pushing the example container seabreeze/azure-mesh-helloworld:1.1-windowsservercore-1709 to my own repository and deploying that instead, which is based off this tutorial.  I get the same result doing this; each time an error about a previous deployment that is still active.  Note the timestamp from the previous deployment is about the same as when I started the current deployment, so it's as if it's conflicting with itself or something.
I have no idea how to get Service Fabric Mesh working.  It seems like a promising service, but without logs or helpful error messages that tell me what I'm doing wrong (or what's going wrong on your end), there's just no way people will be able to use this.

Note: Also posted this on Stack Overflow.

All logs from the failed deployment:
Logs.txt
Failed Deployments:
FailedDepoyments.txt

@rwike77 can you take a look at this doc? I am also not able to follow the instructions and have it be successful.
For me when listing the container images using az acr repository list --name  --output table
I am getting a blank output

When I run az acr repository list --name miketestcontainer --output table I get:
Result
---------------------
api
azure-mesh-helloworld
cache
sql
web

Which is as expected.

Hmm. I will delete everything and attempt a repro again.

I'll try creating a container repository in the same resource group.  However, can you try using a Windows container?  I'm wondering if it's a Windows vs. Linux issue..  I was trying with seabreeze/azure-mesh-helloworld:1.1-windowsservercore-1709

Ah okay. Yes I will run through it again and try with a windows container as well.

Deploying now with Windows container and registry in same resource group..

Yup! Will give it a go. Just finished deploying the seabreeze/azure-mesh-helloworld:1.1-windowsservercore-1709 and it worked when in the same RG just FYI

@MikeChristensen also, when this was failing for you, is your ACS in the same region as the Mesh application or a different one?

Both were in the EastUS region.  Just different resource groups.

Great thank you. Testing it now.

Deployment succeeded by deploying a SF Mesh application in a different resource group than my ACR is in.
My ACR is in East US in resource group micahACR and I deployed the mesh application in my resource group called micahAKS2 in East US.
C:\Users\mimckitt>az mesh deployment create --resource-group MicahAKS2 --template-uri https://sfmeshsamples.blob.core.windows.net/templates/helloworld/mesh_rp.private_registry.linux.json --parameters "{\"location\": {\"value\": \"eastus\"}, \"registry-server\": {\"value\": \"micahacr.azurecr.io\"}, \"registry-username\": {\"value\": \"micahACR\"}, \"registry-password\": {\"value\": \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"}}"

Deploying . . .
application helloWorldPrivateRegistryApp has been deployed successfully on network helloWorldPrivateRegistryNetwork with public ip address <IP_ADDRESS>
To recieve additional information run the following to get the status of the application deployment.
az mesh app show --resource-group MicahAKS2 --name helloWorldPrivateRegistryApp

In that case, I'm completely lost as to why it didn't work for me before..  I didn't try with any Linux images, but not sure if that would make a difference..  In any case, I'm unblocked for now..

I'm using the --template-file parameter and using a template on the local file system..

@MikeChristensen hmmm okay. Not sure what the issue might be.
I will close this for now as you are unblocked. If you need further help figuring out the underlying issue you can email me at<EMAIL_ADDRESS>and we can enable a one time support request for you to work with an engineer over the phone to get it fully resolved.


Integrate ascp installation

This is to avoid users having to install the Desktop Client in order to use ascli

TODO: deliver ascp SDK from more official location.

@laurent-martin It looks like there are 6 architectures supported now at the official downloads location https://developer.ibm.com/apis/catalog/aspera--aspera-transfer-sdk/downloads/downloads.json
Are they now one to one with the 6 supported when downloading from https://eudemo.asperademo.com/aspera/faspex/sdk.zip?

Yes, correct,
The official SDK on IBM site is for: (one zip per architecture)
Linux x86_64
Linux Power
Linux s390
AIX Power
macOS x86_64
Windows x86_64
But it has an older version of ascp.
The SDK downloaded b ascli is: https://ibm.biz/aspera_transfer_sdk
(which is currently: https://eudemo.asperademo.com/sdk.zip, but that may change)
it has the same architectures, but with ascp 4.4.2, in a single zip
The actual download may be moved to github, and Linux armv8 may be added soon.

The integrated download started failing for me today. After running the command ascli conf ascp install I'm seeing  Failed to open TCP connection to eudemo.asperademo.com:443.
Possibly just intermittent but just in case it's not I thought I would bring it to your attention.

Thanks for the notification, effectively, the server hosting it failed, I have moved to github.
same url: https://ibm.biz/aspera_transfer_sdk
ascli should work again now

Great, thank you @laurent-martin!


Adjustable mod panel

there you go - remove from the listing that doesn't need/want and put onto the listing that does want it.

Let's let this sleeping dog lie. Everything's working fine as-is, but if we merge this, we'll have people re-installing mods for no reason, potentially encountering difficulties with that, etc. There's no need to spend time on this.

I don't agree.

Yes, we already know that. Cheers and good luck to you!


x-kubernetes-int-or-string CRD field is not support on k8s 1.14

What happened?
The CRD definition generated by the mixin library add this field x-kubernetes-int-or-string which is supported only on k8s 1.15 or higher. Worth mentioning that until recently, 1.14 was the latest version supported by EKS.
The field is ignored by k8s, but when using tools like Argo for deployment, you'll see a constant difference between the desired state and the actual state.
Did you expect to see some different?
Option to remove this field.
How to reproduce it (as minimally and precisely as possible):
Deploy the CRD definitions on a cluster with version 1.14, notice that the field is removed.

What release of kube-prometheus are you using on 1.14 k8s cluster? As we only support release-0.3, is that a problem with that version of the operator as well? https://github.com/coreos/kube-prometheus#kubernetes-compatibility-matrix

I just updated to the latest version - just updated this morning to commit a8b4985de4dc8582dcaf8fd43d6f88a0c08c463d. Look like release 0.3 is pretty up-to-date and contains also the problematic change.

This was introduced by controller-gen v0.2.3 and we are using v0.2.4 in prometheus-operator. We could fix that on release-0.3 by disabling this field in kube-prometheus.libsonnet like it was done for preserveUnknownField in #408

Nevermind my previous message release-0.3 is quite different since it is using prometheus-operator v0.34. After looking deeper into release-0.3 I don't find this problematic change.
The commit you updated to is newer than release-0.3 and contains the problematic change. You might want to consider using this commit instead: a98d4be60e1dbc39ce40d7f0532166ba74b23aa2

The problem is I need 876bb9c5a17e980690e58eaa0617451ea8b57c73, this was the only reason for upgrading.

Worth mentioning that until recently, 1.14 was the latest version supported by EKS.

Yeah, sadly know this all too well, in the many projects we have been seeing people complain about 1.14 lack of support.

The problem is I need 876bb9c, this was the only reason for upgrading.

You can cherry-pick that fix into previous branches as well.

I believe this issue was fixed by #513 and thus can now be closed, what do you think @omerlh?

Yeah :)


homebridgr 2.1.1 error&stoped at hassio 0.57.2

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
Hassio 0.57.2
Python release (python3 --version):
python3
Component/platform:
homebridge 2.1.1
Description of problem:
homebridge could not startup and the error logs below：
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] 10-homebridge: applying...
[fix-attrs.d] 10-homebridge: exited 0.
[fix-attrs.d] 20-dbus: applying...
[fix-attrs.d] 20-dbus: exited 0.
[fix-attrs.d] 30-avahi: applying...
[fix-attrs.d] 30-avahi: exited 0.
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
Hass.io Add-on: Homebridge v2.1.1
HomeKit support for your Home Assistant instance using Homebridge
From: Community Hass.io Add-ons
By: Franck Nijhof<EMAIL_ADDRESS>[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-updates.sh: executing...
INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 20-dbus.sh: executing...
[cont-init.d] 20-dbus.sh: exited 0.
[cont-init.d] 30-avahi.sh: executing...
[cont-init.d] 30-avahi.sh: exited 0.
[cont-init.d] 50-config.sh: executing...
[cont-init.d] 50-config.sh: exited 0.
[cont-init.d] 60-ipv6-hotfix.sh: executing...
[cont-init.d] 60-ipv6-hotfix.sh: exited 0.
[cont-init.d] 80-user-packages.sh: executing...
[cont-init.d] 80-user-packages.sh: exited 0.
[cont-init.d] 81-user-scripts.sh: executing...
[cont-init.d] 81-user-scripts.sh: exited 0.
[cont-init.d] 82-user-plugins.sh: executing...
npm WARN deprecated<EMAIL_ADDRESS>Use mz or fs-extra^3.0 with Promise Support
npm ERR! code EINTEGRITY
npm ERR! sha1-krrR9tBbu2u6Isyoi80OyJTChh4= integrity checksum failed when using sha1: wanted sha1-krrR9tBbu2u6Isyoi80OyJTChh4= but got sha1-9jR38TOT5yJfQEPZNHTS8LBUwrE=. (7858 bytes)
npm ERR!

FATAL: Failed installing plugin homebridge-config-ui
It might be a mistake to install homebridge-config-ui ？！

This is not a home assistant issue. You can try reporting the problem here:
https://github.com/hassio-addons/addon-homebridge


Create quay.io mirror of Docker Hub golang image

Which area/kind this issue is related to?

/area ci
/area registry
Issue Description

We need a mirrored quay.io image of the Docker Hub golang image to provide us with the a minimal setup and latest patches, this is because our deployment environments are restricted from directly fetching from Docker Hub. The use of devfile-samples/image-mirror which runs this process on all defined Docker Hub images nightly can achieve this.
Acceptance Criteria

[ ] Add golang to mirror_list.txt to create the quay.io/devfile/golang mirror image

/area ci
/area registry


Error: Problem about download

I want to download a container in the app.
Than when I cancel the container and download it again, the app shows that there are 2 progress bar in the same container,just like there are 2 thread to download the container.

Screenshot and steps to reproduce?
If you click on download and then download again, 2 containers will be created.

Closing this issue due to lack of update/activity - Feel free to re-open if appropriate.


Update Yellowpaper German.md

Update German translate to increase context and content. Previous implementation was not from a native

Thanks.