K8SPXC-521: Delete job if cluster was not found

PXC operator docker - perconalab/percona-xtradb-cluster-operator:PR-688-2147f586

Test name
Status

scaling
passed

haproxy
passed

recreate
passed

big-data
passed

upgrade-haproxy
passed

storage
passed

init-deploy
passed

scaling-proxysql
passed

self-healing
passed

security-context
passed

restore-to-encrypted-cluster
passed

upgrade-proxysql
passed

limits
passed

self-healing-advanced
passed

monitoring-2-0
passed

demand-backup
passed

smart-update
passed

operator-self-healing
passed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

scheduled-backup
passed

users
passed

upgrade-consistency
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

demand-backup-encrypted-with-tls
passed

PXC operator docker - perconalab/percona-xtradb-cluster-operator:PR-688-2147f586

Test name
Status

big-data
passed

haproxy
passed

init-deploy
passed

limits
passed

monitoring-2-0
passed

storage
passed

scaling
passed

affinity
passed

self-healing
passed

one-pod
passed

scaling-proxysql
passed

self-healing-advanced
passed

auto-tuning
passed

security-context
passed

upgrade-haproxy
passed

operator-self-healing
passed

proxysql-sidecar-res-limits
passed

users
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

recreate
passed

restore-to-encrypted-cluster
passed

demand-backup
passed

scheduled-backup
passed

demand-backup-encrypted-with-tls
passed

upgrade-proxysql
passed

smart-update
passed

upgrade-consistency
passed


Added type css to non-nanos apps | Fixed Enum demo

DO NOT MERGE.
I would prefer a solution which doesn't require having to load a css file in order to get a useable appearance.

Already fixed with https://github.com/kgrgreer/foam3/pull/297


[BUG][428] Failed informal vote aren't being push into formal vote

There's a bug on the portal that happen when an informal vote fail (with quorum) when people voted against it the grant/simple vote/admin grant doesn't move into formal vote.
So :
When a informal vote reach quorum it should goes into formal even if the VA's vote against it. But ONLY if it reach quorum
Ref : https://portal.devxdao.com/app/proposal/428

Jira # 436

This is addressed in https://github.com/ledgerleapllc/devxdao-backend/issues/44


Add example of custom errors

Now that #272 has been merged it would be nice to have an example in the errors package which appears here https://godoc.org/github.com/graph-gophers/graphql-go/errors.
I think that input validation error(s) sounds like a good idea.

what's status for this one? I want to add extensions in my own app but not sure how to

The library supports it, we do not have a good example yet. The unit test is descriptive enough. PRs to improve the documentation or add an example are welcome. All errors that implement this interface:
type ResolverError interface {
	error
	Extensions() map[string]interface{}
}

will return the extensions in the error output.


Adding 'android-samsung' as a plugin type.

Adding it so I can create a specific version of Hyperbid for Samsung devices.

May be it would be better idea to add "non-google" meaning android without play services and such? But this works too, imo.

Actually, that is a much better idea. Please reject this one and I'll change it to that.


Expose syntax errors from := with a bad scope target

Defined in PEP 572 https://www.python.org/dev/peps/pep-0572/

Refocusing, since TargetScopeError was dropped in favor if just using SyntaxError. Still needs to be caught in the parser either way.


Merge google -> main

bb2b17f1 Merge main -> google
15d7d04b Synchronize submodules
d2447c29 Integrate TF at tensorflow/tensorflow@86efb18ca581

Copybara failed to create a merge commit. Need to fix up the google branch first


AttributeError: module 'ssl' has no attribute 'enum_certificates'

Checklist

[x] I'm reporting a bug unrelated to a specific site
[x] I've verified that I'm running yt-dlp version 2021.09.25
[x] I've checked that all provided URLs are alive and playable in a browser
[x] The provided URLs do not contain any DRM to the best of my knowledge
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

[debug] Command-line config: ['-v', 'http://www.youtube.com/watch?v=BaW_jenozKc']
Traceback (most recent call last):
  File "C:/bin/yt-dlp-master-new/yt_dlp/__main__.py", line 19, in <module>
    yt_dlp.main()
  File "C:/bin/yt-dlp-master-new/yt_dlp/__init__.py", line 779, in main
    _real_main(argv)
  File "C:/bin/yt-dlp-master-new/yt_dlp/__init__.py", line 740, in _real_main
    with YoutubeDL(ydl_opts) as ydl:
  File "C:/bin/yt-dlp-master-new/yt_dlp/YoutubeDL.py", line 579, in __init__
    self._setup_opener()
  File "C:/bin/yt-dlp-master-new/yt_dlp/YoutubeDL.py", line 3302, in _setup_opener
    https_handler = make_HTTPS_handler(self.params, debuglevel=debuglevel)
  File "C:/bin/yt-dlp-master-new/yt_dlp/utils.py", line 2381, in make_HTTPS_handler
    _ssl_load_windows_store_certs(context, storename)
  File "C:/bin/yt-dlp-master-new/yt_dlp/utils.py", line 2358, in _ssl_load_windows_store_certs
    certs = [cert for cert, encoding, trust in ssl.enum_certificates(storename)
AttributeError: module 'ssl' has no attribute 'enum_certificates'

Description

Running the python (v 3.9.7) code of yt-dlp (v 2021.09.25) in Windows MSYS2 MINGW64 results in the error. The Windows compiled version works fine. Of course, _ssl_load_windows_store_certs in utils.py wasn't in yt-dlp version 2021.09.02 so the older version didn't produce the error.

It should exist 😕 https://github.com/python/cpython/blob/d5650a1738fe34f6e1db4af5f4c4edb7cae90a36/Lib/ssl.py#L168-L169
Can you check what is the value of sys.platform inside mingw?

This is a natural consequence because MinGW does not define _MSC_VER:
https://github.com/python/cpython/blob/main/Modules/_ssl.c#L5304
https://github.com/python/cpython/blob/main/Modules/clinic/_ssl.c.h#L1250
There is already a patch for Lib/ssl.py in the wild:
https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-python/0052-mingw-fix-ssl-dont-use-enum_certificates.patch

I don't understand. enum_certificates would have been called by older versions of yt-dlp too when it uses ssl.create_default_context. So why does that not give error?

I guess not. It should have never been called with patched Lib/ssl.py.
BTW, can we "steal" the fix from the patch mentioned above?

oh, you mean that mingw officially uses that patch? In that case, it would make sense

what does sys.version give with mingw?


Change Pin type to uint16

Change Pin type definition to uint16 to support GPIO expansion ICs.
e.g.: Using the kernel module gpio_pca953x for the PCA9555 IC does
provide a GPIO base of 496.
Signed-off-by: Marcello Sylvester Bauer<EMAIL_ADDRESS>

I realized this library does only work with bmc gpios (via /dev/mem or /dev/gpiomem). this change will not work.
Looks like i have to seach an other solution in my case :sweat_smile:


Syntax error running jupyter-repo2docker

I ran into a syntax error after installing jupyter-repo2docker in my conda environment.
I get the following when I try to do anything with jupyter-repo2docker.
admins-mbp-3:~ jacquelineburos$ jupyter-repo2docker --version
Traceback (most recent call last):
  File "/Users/jacquelineburos/anaconda3/bin/jupyter-repo2docker", line 7, in <module>
    from repo2docker.__main__ import main
  File "/Users/jacquelineburos/anaconda3/lib/python3.5/site-packages/repo2docker/__main__.py", line 1, in <module>
    from .app import Repo2Docker
  File "/Users/jacquelineburos/anaconda3/lib/python3.5/site-packages/repo2docker/app.py", line 592
    self.log.info(f'Successfully pushed {self.output_image_spec}', extra=dict(phase='pushing'))
                                                                ^
SyntaxError: invalid syntax

Looks like your python_requires should be updated to >=3.6 since you are using f-strings.
Here is my system setup:
Current conda install:

               platform : osx-64
          conda version : 4.3.22
       conda is private : False
      conda-env version : 4.3.22
    conda-build version : 0+unknown
         python version : 3.5.2.final.0
       requests version : 2.14.2
       root environment : /Users/jacquelineburos/anaconda3  (writable)
    default environment : /Users/jacquelineburos/anaconda3
       envs directories : /Users/jacquelineburos/anaconda3/envs
                          /Users/jacquelineburos/.conda/envs
          package cache : /Users/jacquelineburos/anaconda3/pkgs
                          /Users/jacquelineburos/.conda/pkgs
           channel URLs : https://repo.continuum.io/pkgs/free/osx-64
                          https://repo.continuum.io/pkgs/free/noarch
                          https://repo.continuum.io/pkgs/r/osx-64
                          https://repo.continuum.io/pkgs/r/noarch
                          https://repo.continuum.io/pkgs/pro/osx-64
                          https://repo.continuum.io/pkgs/pro/noarch
            config file : /Users/jacquelineburos/.condarc
             netrc file : None
           offline mode : False
             user-agent : conda/4.3.22 requests/2.14.2 CPython/3.5.2 Darwin/17.7.0 OSX/10.13.6
                UID:GID : 502:20

Thanks for reporting this! This is a bug on our side, we don't (yet) want to force everyone to run on such a new version of Python. A PR to help remove some/all of the f-strings that have snuck in would be welcome.

Which tool/command did you use to produce the output of all the versions etc installed? I think it is pretty cool and not too verbose. Maybe we should add it to our repertoire as a way of posting information when reporting a bug/problem.

We run (some of) our tests with Python 3.4 to try and help with not introducing these things. I think we should add something like repo2docker --version and/or repo2docker --help to the tests we run to stop this particular bug from coming back as well as making sure users can always get help information.


nixfmt always updates mtime

Describe the bug
Running nixfmt always sets the mtime to the current date even if the contents didn't change.
To Reproduce
{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";

    flake-parts.url = "github:hercules-ci/flake-parts";
    flake-parts.inputs.nixpkgs.follows = "nixpkgs";

    treefmt-nix.url = "github:numtide/treefmt-nix";
    treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
  };

  outputs = inputs@{ flake-parts, ... }:
    flake-parts.lib.mkFlake { inherit inputs; } {
      imports = [
        inputs.treefmt-nix.flakeModule
      ];
      systems = ["x86_64-linux"];
      perSystem = { pkgs, ... }: {
        treefmt = {
          programs.nixfmt.enable = true;
          programs.nixfmt.package = pkgs.nixfmt;
        };
      };
    };
}

Add some nix files to the workspace and observe the mtime each time treefmt --no-cache is run.
Expected behavior
treefmt-nix should not support nixfmt since it changes mtime and thus doesn't comply with idempotence requirement of the formatter specification.
Additionally it would be nice to have a list on https://numtide.github.io/treefmt/formatters/ with known unsupported formatters and their reasons for not being supported.
System information
Inputs:
├───flake-parts: github:hercules-ci/flake-parts/8e8d955c22df93dbe24f19ea04f47a74adbdc5ec
│   └───nixpkgs-lib follows input 'nixpkgs'
├───nixpkgs: github:NixOS/nixpkgs/6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
└───treefmt-nix: github:numtide/treefmt-nix/f4ce7d8660f57fe94092cf113c1f550acf16be53
    └───nixpkgs follows input 'nixpkgs'

See referenced issue, I summarized the report and issue but I can't address it due to lack of Haskell knowledge myself.

Resolved with v0.6.0 - but I can't close the issue :v:

nixos-unstable is still on nixfmt 0.5.0 at the moment

NixOS 23.11 got released and includes nixfmt v0.6.0 by default ✌🏻


Plasma socket mounting is broken on macOS

https://github.com/docker/for-mac/issues/483

According to the official Docker documentation: "Socket files and named pipes only transmit between containers and between macOS processes -- no transmission across the hypervisor is supported, yet."
See: https://docs.docker.com/docker-for-mac/osxfs/#file-types

Should be fixed in https://github.com/orchest/orchest/pull/34
Workaround is to use docker volumes so that the docker containers can communicate over the socket without crossing the hypervisor boundary.


blog: meet our contributors APAC Aus-Nz region

This PR adds the second blog post for APAC region(AUS-NZ), in the series of "Meet Our Contributors - APAC" blog series.
Reference issue: https://github.com/kubernetes/community/issues/4469#issuecomment-942422348

/lgtm
/approve

@Debanitrkl is there a similar PR (to mirror this one) opened against k/website?

@Debanitrkl is there a similar PR (to mirror this one) opened against k/website?

Not yet I was waiting for this PR to get merged and then get a PR up at k/website

Looks good.
/lgtm
/approve


Adding links to images needs some attention

As per your lastest commit, the new popout for links is much better I think. However it doesn't carry the functionality across for image based links. Specifically the dropdowns for files/internal links do not fit within the sidebar.
Attached screenshot to show the issue.

This looks like it needs some work.  I will take a look.


Do #298 only for MPS

Fixes https://github.com/Lightning-AI/lit-llama/pull/298#discussion_r1199802188
From the linked pull, the issue seems to happen only on MPS. In that case, we shouldn't call .item() for other backends as it moves from device and back unnecesarily

Since this fix is actual only till the issue in PyTorch repo is fixed, do you plan to mark it is a some sort of a temporary fix with a special tag? Like #TODO, #FIXME? Or maybe #KEEPEYEONE, #MONITOR, #LOOK, #TOREMOVE. I bet you can find a better tag name 😄 .

@Andrei-Aksionov I'm subscribed to the linked issue. And if we miss it, you can open a new issue here suggesting to remove the workaround.


Update Hackage package info on exposed modules

I'm kinda new to the haskell scene. But if I understood this correctly, the package information on Hackage is only exposing a crippling amount of modules to use the library properly. Or is this common for newly developed libraries?

In the latest version I believe there wasn't any module related to execution or schema definition, so you could only use the parser and the printer.
There is a rough implementation of the execution and schema definitions in development, but I won't make the release until at least a bare minimum for such functionality works properly. For the latest development you can have a look at the core branch which I'm about to merge soon into master. It includes support for interpreting fragments and variables.
Unfortunately, I have very little time for this project, so I can't recommend this library for any real work, but PRs are always welcomed.


Fixed app order in settings for tutorial.

I was following the tutorial and I got an error that polls.app is not an app...
So after changing the order the error disappeared.

I'm not sure why it didn't work for you but the change isn't correct.


Doesn't compile on latest macOS nightly

rust version 1.81.0-nightly (bcf94dec5 2024-06-23)
Error:
error: expected one of `!` or `::`, found keyword `static`
Error:  --> /Users/runner/work/livesplit-core/livesplit-core/target/aarch64-apple-darwin/debug/build/libproc-b1136142c2e7f016/out/osx_libproc_bindings.rs:3:11
  |
3 | rewriting static
  |           ^^^^^^ expected one of `!` or `::`

error[E0432]: unresolved import `crate::osx_libproc_bindings::proc_bsdinfo`
Error:  --> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libproc-0.14.8/src/libproc/bsd_info.rs:3:9
  |
3 | pub use crate::osx_libproc_bindings::proc_bsdinfo as BSDInfo;
  |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `proc_bsdinfo` in `osx_libproc_bindings`
  |
help: consider importing this struct instead
  |
3 | pub use libc::proc_bsdinfo as BSDInfo;
  |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[...]

Seems like bindgen fails and it generates some garbage rs file instead.

Seems like you have daily builds in your CI, so this should reproduce for you on today's run as well. I specifically also didn't see this problem in the 2024-06-23 build of the Rust compiler.

Seems to be caused by this: https://github.com/rust-lang/rustfmt/issues/6210

Closing because they already fixed it and it should work again tomorrow.

Let's see!


Pin knative/eventing to release-0.17

Proposed Changes

Pin knative/eventing to release-0.17.

Release Note

NONE

/ok-to-test
/lgtm
/approve

/test pull-knative-sandbox-eventing-kafka-broker-integration-tests

/test pull-knative-sandbox-eventing-kafka-broker-integration-tests

/test pull-knative-sandbox-eventing-kafka-broker-integration-tests

/test pull-knative-sandbox-eventing-kafka-broker-integration-tests


After I create a new project to select Action bar template this error pops up.

I created a new project and selected action bar template then I clicked on playground area and this error pops up.
Environment Info
kivy: 1.9.0
pygments: 2.0.2
docutils: 0.12
watchdog: 0.8.3
jedi: 0.9.0
gitpython: 1.0.1
six: 1.10.0
kivy-garden: 0.1.4
Platform: Linux-4.2.0-18-generic-x86_64-with-Ubuntu-15.10-wily
Python: 2.7.10
Traceback
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 525, in mainloop
self._mainloop()
File "/usr/local/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 290, in _mainloop
EventLoop.idle()
File "/usr/local/lib/python2.7/dist-packages/kivy/base.py", line 327, in idle
Clock.tick()
File "/usr/local/lib/python2.7/dist-packages/kivy/clock.py", line 483, in tick
self._process_events()
File "/usr/local/lib/python2.7/dist-packages/kivy/clock.py", line 615, in _process_events
event.tick(self._last_tick, remove)
File "/usr/local/lib/python2.7/dist-packages/kivy/clock.py", line 374, in tick
ret = callback(self._dt)
File "/usr/local/lib/python2.7/dist-packages/kivy/uix/textinput.py", line 1494, in _refresh_line_options
self._refresh_text_from_property()
File "/usr/local/lib/python2.7/dist-packages/kivy/uix/textinput.py", line 1513, in _refresh_text_from_property
self._refresh_text(self._get_text(encode=False), *largs)
File "/usr/local/lib/python2.7/dist-packages/kivy/uix/textinput.py", line 1538, in _refresh_text
self._lines = _lines
File "kivy/properties.pyx", line 397, in kivy.properties.Property.set (/tmp/pip-build-PcmCq7/kivy/kivy/properties.c:4680)
File "kivy/properties.pyx", line 696, in kivy.properties.ListProperty.set (/tmp/pip-build-PcmCq7/kivy/kivy/properties.c:10169)
File "kivy/properties.pyx", line 429, in kivy.properties.Property.set (/tmp/pip-build-PcmCq7/kivy/kivy/properties.c:5203)
File "kivy/properties.pyx", line 484, in kivy.properties.Property.dispatch (/tmp/pip-build-PcmCq7/kivy/kivy/properties.c:5852)
File "kivy/_event.pyx", line 1168, in kivy._event.EventObservers.dispatch (/tmp/pip-build-PcmCq7/kivy/kivy/_event.c:12154)
File "kivy/_event.pyx", line 1074, in kivy._event.EventObservers._dispatch (/tmp/pip-build-PcmCq7/kivy/kivy/_event.c:11451)
File "kivy/properties.pyx", line 1328, in kivy.properties.AliasProperty.trigger_change (/tmp/pip-build-PcmCq7/kivy/kivy/properties.c:21267)
File "kivy/properties.pyx", line 1334, in kivy.properties.AliasProperty.trigger_change (/tmp/pip-build-PcmCq7/kivy/kivy/properties.c:21158)
File "kivy/properties.pyx", line 484, in kivy.properties.Property.dispatch (/tmp/pip-build-PcmCq7/kivy/kivy/properties.c:5852)
File "kivy/_event.pyx", line 1168, in kivy._event.EventObservers.dispatch (/tmp/pip-build-PcmCq7/kivy/kivy/_event.c:12154)
File "kivy/_event.pyx", line 1074, in kivy._event.EventObservers._dispatch (/tmp/pip-build-PcmCq7/kivy/kivy/_event.c:11451)
File "/home/kuldeep/Downloads/kivy-designer-master/designer/eventviewer.py", line 96, in on_text
self.text)
File "/home/kuldeep/Downloads/kivy-designer-master/designer/uix/kv_lang_area.py", line 616, in set_event_handler
path_to_widget = self._get_widget_path(widget)
File "/home/kuldeep/Downloads/kivy-designer-master/designer/uix/kv_lang_area.py", line 173, in _get_widget_path
_widget.parent.children.index(_widget) - 1
ValueError: <kivy.core.window.window_sdl2.WindowSDL object at 0x7fdbe8166db8> is not in list

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28694294-after-i-create-a-new-project-to-select-action-bar-template-this-error-pops-up?utm_campaign=plugin&utm_content=tracker%2F77147&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F77147&utm_medium=issues&utm_source=github).

Issue number #141 and issue number #142 are both different.

Hi @kiok46
I made several modifications to playground lately. Do you still getting this error ? (I could not reproduce it here )

@aron-bordin  Neither can I, I will re-open, if it occurs again. closing.


some time lost without  FLAVOURS_GET_PARAMETER

Hi, it is intended that the flavour is not set permanently if you don't do so explicitly with the GET paramter. The reason is that you don't lock in users into one flavour forever, but allow to adjust the target with a custom MobileDetectionMiddleware when you go along.
In which cases did you have trouble when the flavour was not set permanently?

flavour was set permanently via GET parameter
but after goto link on this page  flavour lost.
P.S. Sorry for my English.

@shtalinberg Hi, sorry I don't exactly understand in which cases it is breaking for you. Can you give an example of URLs that is triggering the problem and your settings.MIDDLEWARE_CLASSES setting?
An example of URLs would be:
http://localhost:8000/articles/post/ # shows full flavour
http://localhost:8000/articles/post/?flavour=mobile # shows mobile flavour
http://localhost:8000/articles/post/ # shows full flavour again, but should show mobile

yes - the problem is as you have described in example
MIDDLEWARE_CLASSES = (
'corsheaders.middleware.CorsMiddleware',
'subdomains.middleware.SubdomainURLRoutingMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
......... my apps
'django.contrib.messages.middleware.MessageMiddleware',
'django_mobile.middleware.MobileDetectionMiddleware',
'django_mobile.middleware.SetFlavourMiddleware',
......... my apps
'django.middleware.clickjacking.XFrameOptionsMiddleware',
)

yes - the problem is as you have described in example
my MIDDLEWARE_CLASSES = (
'corsheaders.middleware.CorsMiddleware',
'subdomains.middleware.SubdomainURLRoutingMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
......... my apps
'django.contrib.messages.middleware.MessageMiddleware',
'django_mobile.middleware.MobileDetectionMiddleware',
'django_mobile.middleware.SetFlavourMiddleware',
......... my apps
'django.middleware.clickjacking.XFrameOptionsMiddleware',
)

@shtalinberg Ok that looks correct. You need to have cookies enabled to make that work.
Please check if you have a cookie with the name flavour set after you have set the flavour with ?flavour=mobile.

yes, I  have cookies enabled. but we use session backend
# django-mobile
FLAVOURS_GET_PARAMETER = 'setmode'
FLAVOURS = ('full', 'mobile')
DEFAULT_MOBILE_FLAVOUR = "mobile"
FLAVOURS_COOKIE_KEY = 'setmode'
FLAVOURS_STORAGE_BACKEND = 'session'  # Available values: 'session' and 'cookie'.

Hm ok, that looks good so far.
Can you somehow check that the 'flavour' key is set in your session after you have visited a site with the ?flavour=... GET parameter?


Defer invoking isRetryable predicate

Doesn't move the needle on performance tests, but is defensive against more expensive predicates that could be introduced in the future.

LGTM


Add a Gitter chat badge to README.md

migueldeicaza/TensorFlowSharp now has a Chat Room on Gitter
@migueldeicaza has just created a chat room. You can visit it here: https://gitter.im/TensorFlowSharp/Lobby.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

already done by hand


Ensure HAProxy is running for API services

After a reboot, HAProxy was not started before the UAServer was queried.

https://ocd.appscale.com:8080/job/Daily Build/3732/

Tools test on master: https://ocd.appscale.com:8080/job/Tools-test/2281/ (controller hangs while waiting for HAProxy to start)

https://ocd.appscale.com:8080/job/Daily Build/3740/


Review and simplify run.py - overlapping functions

run.py has class MultiSim with redundant functions: single_run(), multi_run(), and parellel() that have very similar functionality.
https://github.com/starsimhub/starsim/blob/main/starsim/run.py
class MultiSim(sc.prettyobj):
        return self.reduce(use_mean=False, quantiles=quantiles, **kwargs)

def single_run(sim, ind=0, reseed=True, keep_people=False, run_args=None, sim_args=None,
    return sim

def multi_run(sim, n_runs=4, reseed=None, iterpars=None, keep_people=None, run_args=None, sim_args=None,
    return sims

def parallel(*args, **kwargs):
    return MultiSim(sims=sims).run(**kwargs)

MultiSim class is called and runs multi_run() function in run.py
I don't see how parallel() and single_run() functions would be called from MultiSim class.

We could refactor these, but they're not overlapping in the sense of providing comparable functionality. single_run() is the function that actually gets run in parallel. multi_run() is a wrapper to call single_run() with sc.parallelize(). MultiSim.run() calls multi_run() with arguments based on the MultiSim attributes. and parallel() is a shortcut to the most common use case, which is just running a list of sims in parallel.
I think we need to keep single_run() and parallel(), but we could potentially merge the functionality of multi_run() into MultiSim.run() since multi_run isn't used anywhere else.

Actually, once we add the Scenarios class, multi_run will be used in two places I believe, so good to have separate.


Add support for password recovery

Proposed Changes
Add support to password recovery.
solve #209
Type of Change
What kind of changes this Pull Request introduces to Falko?

[ ] Bugfix
[x] New Feature

Checklist

[x] Pull Request's name is self-explanatory and its in English.
[x] There are no Rubocop issues.
[x] Travis build has success (tests, code climate and codacy checks).
[x] Pull Request is linked to an existing issue.
[ ] Seeds have been created to the new User Stories.

Other Comments

On development the email sent with the recovery link will appear on the server output.
Since the recovery link must be variable, I outsourced it to an environment variable called  'PASSWORD_RESET_ADDRESS'.

WOOOW, That's a huge contribution, thank you very much @wallacybraz. Could you share some screenshots on how this looks?

WOOOW, That's a huge contribution, thank you very much @wallacybraz. Could you share some screenshots on how this looks?

Sure! I already uploaded some screenshoots on the pr of the front end implementation falko-org/falko#366. Would you like to view screenshots showing back end behavior as well? Thanks for the feedback.


update(kernels): updated kernel json lists.

Signed-off-by: GitHub<EMAIL_ADDRESS>
What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind documentation

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area crawler

/area ci

/area utils

What this PR does / why we need it:
Manually created the PR from the github bot action to update kernels lists.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

@FedeDP: The label(s) kind/feature cannot be applied, because the repository doesn't have them.

In response to this:

Signed-off-by: GitHub<EMAIL_ADDRESS>What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind documentation

/kind feature
Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area crawler

/area ci

/area utils

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: e89ab6bb1951711272748b4ff2a14564d855fa87

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

I will try to rerun the gh actions; i suspect that it wasn't able to create the PR from the pushed branch because the branch was already there; but i am not sure.
Last week during a test it was able to create the PR, that's weird.


Document how to replace parts of ctl-runtime with manually started services

This isn't just documentation though -- we need a convenient way to override an entire service. Normally this would be quite easy (we have extraServices), but we also need a way to refer to other parts of the runtime as well (e.g. volume names)

Also this won't work for some services. For example, Ogmios needs access to the node's IPC volume. We need a way to refer back to the entire runtime in extraServices (e.g. to get the names of attached volumes)


Network detection

I'd like feedback on this if someone has some inputs. :)
Implement some way to detect the network before trying to connect to Home Assistant. Not sure if this should be included in the package or be handled by the user.
The problem is that if the user doesn't handle this themselves and they had setup Hass to automatically connect to Home Assistant while not on the correct network or offline, it will cause Hass to hang as it tries to perform unreachable requests.
The Home Assistant companion app has an internal and external address that is configurable depending on which network the phone is currently connected to. This is facilitated via the connected WiFi SSID's which makes sense to be relied upon for a phone but not Emacs.
Potential solutions

Performing a DNS query on hass-host first to see if it resolves into an IP address. If an IP address is provided to (network-lookup-address-info) instead of a hostname, it just returns the IP again, which is nice. I think this is the better solution.

Lookup the interface via (network-interface-info IFNAME) and verifying the network is configured in a specific way. This would only be a rough guess on whether you're on the correct network and would probably give a false positive too often and also requires user configuration.

Both. Check interface config first, then do the DNS lookup.

Do nothing. Put the responsibility on the user.

I think this is best left for the user to configure.


UI: Integrate JourneyCardState in JourneyCard composable and add different types of content

UI: Integrate JourneyCardState in JourneyCard composable and add different types of content
Animate content size

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#248  👈
#247
#246
#245
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ksharma-xyz and the rest of your teammates on  Graphite


Button Opration

i'm sorry for advance, i'm just dont find correctly the documentation about add custom button action like in the demo column oprations, i want make something that, how do that?
Thankyou

Add to headers columns definition a new field, name "operation", like this example:
const headers: Header[] = [
      { text: "Название теста", value: "testname" },
      { text: "Operation", value: "operation"}
];

after, define slot template into an <EasyDataTable></EasyDataTable>  tag, like this:
<template #item-operation="{ id }">

                <v-icon
                    icon="mdi-delete-off"
                    @click="purgeTest(id)"
                ></v-icon>

</template>

good luck)

you can do something like this:
create a new header, in my case is called "ACCIONES" and value "action", the value field is important.
const headers = ref([   { text: "LUGAR", value: "title" },   { text: "ESTATUS", value: "status"},   { text: "UBICACION", value: "location"},   { text: "ACCIONES", value: "action"} ])
then create the EasyDataTable component in your template tag and inside put another template tag with #item-{your value}="{ }" as parameter:
<EasyDataTable :headers="headers" :items="items" show-index table-class-name="customize-table">   <template #item-action="{  }">                 </template> </EasyDataTable>
note that the braces after  #item-action are empty, this because I really don't know what put there but it works for me.
I hope this helps you

you can do something like this:
create a new header, in my case is called "ACCIONES" and value "action", the value field is important.
const headers = ref([
  { text: "LUGAR", value: "title" },
  { text: "ESTATUS", value: "status"},
  { text: "UBICACION", value: "location"},
  { text: "ACCIONES", value: "action"}
])

then create the EasyDataTable component in your template tag and inside put another template tag with #item-{your value}="{ }" as parameter and use the icons you want, in my case I like the fontawesome icons:
<EasyDataTable :headers="headers" :items="items" show-index table-class-name="customize-table">
  <template #item-action="{  }">

  </template>
</EasyDataTable>

note that the braces after  #item-action are empty, this because I really don't know what put there but it works for me.
I hope this helps you

You can replace "{ }" with item and you can access the properties of the whole item. You saved me btw, was scratching my head looking how to conditionally render buttons, thanks!


NiFi version

Type of question
General Context
Support question
What is the latest version of nifi supported by nifikop?
NiFiKop version
No response
Golang version
No response
Kubernetes version
No response
NiFi version
No response

1.23.2

Hello, thanks for the answer)


Use random instead of sequential bookids.

A niche case for some extensions is to use a bookworm word count index as an input to a batched machine learning process. I sometimes want to train a neural network on word counts, for example.
A SELECT * FROM master_bookcounts query will provide this data, sorted by bookid. Most large text corpora have some pre-specified order. For example, Chronicling America is arrange by newspaper, and then by year within each newspaper. This will make learning outputs less effective, since each batch should be as representative of the whole as possible. A gradient descent algorithm might lurch quite far off in the wrong direction, or even (gasp) find and settle into a local maximum.
If bookids are randomly assigned, rather than assigned sequentially, there's a workaround for this: the primary table keys will allow SELECT * FROM master_bookcounts ORDER BY bookid to be delivered nearly as fast as a table scan, but it will now have a random order.
Since bookids are arbitrary and internal, I don't see a downside here. It's possible, though, that index construction might take longer if the tables aren't sorted to begin with. So that's something to watch out for.
This might create problems for additions of bookids down the road. Therefore, the random ids should be drawn from the full range 1,16777215, which is the maximum bookid supported under the standard scheme, not just the range 1,catalog_length.

Seems unnecessarily complex for a very specific use. I've been training
based on seeded hashes, can something like that be implemented for random
but predictable ordering? With your approach, would you check for id
collisions, or just have the id sufficiently large that it can be
reasonable expected not to happen?
On Fri, Jun 24, 2016, 9:20 AM Benjamin Schmidt<EMAIL_ADDRESS>wrote:

A niche case for some extensions is to use a bookworm word count index as
an input to a batched machine learning process. I sometimes want to train a
neural network on word counts, for example.
A SELECT * FROM master_bookcounts query will provide this data, sorted by
bookid. Most large text corpora have some pre-specified order. For example,
Chronicling America is arrange by newspaper, and then by year within each
newspaper. This will make learning outputs less effective, since each batch
should be as representative of the whole as possible. A gradient descent
algorithm might lurch quite far off in the wrong direction, or even (gasp)
find and settle into a local maximum.
If bookids are randomly assigned, rather than assigned sequentially,
there's a workaround for this: the primary table keys will allow SELECT *
FROM master_bookcounts ORDER BY bookid to be delivered nearly as fast as
a table scan, but it will now have a random order.
Since bookids are arbitrary and internal, I don't see a downside here.
It's possible, though, that index construction might take longer if the
tables aren't sorted to begin with. So that's something to watch out for.
This might create problems for additions of bookids down the road.
Therefore, the random ids should be drawn from the full range 1,16777215,
which is the maximum bookid supported under the standard scheme, not
just the range 1,catalog_length.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Bookworm-project/BookwormDB/issues/103, or mute the
thread
https://github.com/notifications/unsubscribe/AADj721eVnVYAPR-lEzLUk7xjVS7VXoFks5qO_WzgaJpZM4I93Ym
.

The numbers here are small enough that there doesn't need to be hashing for assignment.
Essentially, right now, the books are assigned an id from popping off the list [1,2,3,...,16777215].
I was thinking of just materializing that full list in memory and doing a Fisher-Yates shuffle or something on that list before running the id assignment. That would guarantee no collisions.
It should be possible to run that shuffle with a seed. But I'm not sure what the benefits would be of that.
If using a four-byte integer (as they do in Chicago, I've heard), the assignment would have to check for collisions against the already-assigned documents. Which is OK, because ID-assignment has never been a thread-safe (or thread-demanding) process.


Add Student model

I implemented the Student model with reference to the Person model. There were several modifications to the instance fields to make it relevant to students.

The new implementation inherits from the Person class. So hopefully, it is substitutable with the Person instances in the code. Do let me know what yall think.

Im merging it.


Extra word removed

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Fixed issues

👍


put into the migration steps info about renaming zafira_project to reporting.project-key

During this release we stop to support old zafira agent and as result zafira_project property inside each TestNG xml suite should be renamed obligatory to reporting.project-key.
Requirements obligatory for those who use pro version of the reporting as in ce projects support is removed completely

that's a readme for CE where this property is not actual anymore and might be omitted

Not actual .
Closed.


Fix missing optional parameter of createImageBitmap

TypeScript Issue # 27475

ImageBitmapOptions was declared both in addedTypes.json as an interface and in idl/HTML - ImageBitmap and animations.widl as a dictionary, which is I believe the root cause of it not showing up as an optional parameter inside createImageBitmap method. I removed the interface declaration.
Window and Worker have different supports for ImageBitmapSource  (see this conversation). I created two distinct types ImageBitmapSourceWindow and ImageBitmapSourceWorker for them in the widl files.

This is my first PR to a major open source project ;) Please kindly review the changes I made. Suggestions would be much appreciated!

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: hexrcs sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@domenic whenever these come up, should we be redirecting people to fix the IDL files?

Are the IDL changes hand-written or generated by npm run fetch?

Any progress or guidance on how to use createImageBitmap with options at this time?


Kali-Linux ./fsociety.py

i am facing this error for permission of zsh how can permission allow kindly anybody assist me.

Try:
chmod +x fsociety.py

Typically why this happens is because you installed the tool on a different user, I setup the install application to install to whatever user is signed in, E.g your on “user1” but you are trying to access root’s files (no permission).
Try running the program like this: sudo fsociety (if it isn’t setup in your .rc file the repo will not work right unless you are in the folder) in that case just move to where you installed f society and do ./fsociety or sudo ./society


fix Azure Load Balancer scope

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

Microsoft authors of articles need to make updates through the private repository so the updates can be staged and validated by the current validation rules. After you review staging and fix all validation issues, you can add the sign-off comment to let the PR reviewers know the updates are ready to be merged.It's easy to access the private repo version of your articles in GitHub. Just add -pr to the URL, as follows:
Public repo URL: https://github.com/MicrosoftDocs/azure-docs
Private repo URL: https://github.com/MicrosoftDocs/azure-docs-pr
We have closed this pull request. Please resubmit the updates through the private repo. For more information, [see the contributor guide].(https://docs.microsoft.com/en-us/contribute/)

#Sign-Off

@EdPrice-MSFT: I'm sorry - only the author of this article, @MikeBazMSFT, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

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

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

@MikeBazMSFT For next time, the metadata ms.author value must be a Microsoft alias.


fix KeyError when refresh_bootmap reach timeout

Signed-off-by: SharpRazor<EMAIL_ADDRESS>

the new errors reported is:
Deploy of virtual machine rhel82_scsi on host m54zvm147 failed with exception: Build of instance 2c944306-fc61-44f7-9114-f2b1e6a8d878 was re-scheduled: zVM Cloud Connector request failed: {'overallRC': 500, 'modID': 130, 'rc': 500, 'rs': 1, 'errmsg': 'Unexpected internal error in ZVM SDK, error: Unexpected internal error in ZVM SDK, error: Command "sudo /opt/zthin/bin/refresh_bootmap --fcpchannel=1a11,1b11 --wwpn=500507680B21BAC6,500507680B23BAC6,500507680B24BAC6,500507680B22BAC6,500507680B24BAC7,500507680B22BAC7,500507680B23BAC7,500507680B21BAC7 --lun=0000000000000000" Error: [Errno 1] Operation not permitted', 'output': ''}

I will commit a new patch to report timeout error.

the new error will be like:
Deploy of virtual machine rhel82_scsi on host m54zvm147 failed with exception: Build of instance d350821d-819b-4d5e-8742-1615a043073d was re-scheduled: zVM Cloud Connector request failed: {'overallRC': 300, 'modID': 30, 'rc': 300, 'rs': 7, 'errmsg': "Refresh bootmap did not finish in limited timeout with reason command ['sudo', '/opt/zthin/bin/refresh_bootmap', '--fcpchannel=1a19,1b13', '--wwpn=500507680B21BAC6,500507680B23BAC6,500507680B24BAC6,500507680B22BAC6,500507680B24BAC7,500507680B22BAC7,500507680B23BAC7,500507680B21BAC7', '--lun=0000000000000000'] timed out after 600 seconds.", 'output': ''}

And please check the py36 result

@dongyanyang @bjhuangr please see this:
[2021-03-04 20:57:08] [INFO] <IP_ADDRESS> "GET /guests" status: 200 length: 87 headers: [('Content-Length', '87'), ('Content-Type', 'application/json'), ('cache-control', 'no-cache')] exc_info: None
[2021-03-04 20:57:08] [ERROR] [Thread-166] (<IP_ADDRESS>:37368) Traceback (most recent call last):
  File "/usr/lib64/python3.6/subprocess.py", line 425, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
  File "/usr/lib64/python3.6/subprocess.py", line 863, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
  File "/usr/lib64/python3.6/subprocess.py", line 1535, in _communicate
    self._check_timeout(endtime, orig_timeout)
  File "/usr/lib64/python3.6/subprocess.py", line 891, in _check_timeout
    raise TimeoutExpired(self.args, orig_timeout)
subprocess.TimeoutExpired: Command '['sudo', '/opt/zthin/bin/refresh_bootmap', '--fcpchannel=1a11,1b11', '--wwpn=500507680B21BAC6,500507680B23BAC6,500507680B24BAC6,500507680B22BAC6,500507680B24BAC7,500507680B22BAC7,500507680B23BAC7,500507680B21BAC7', '--lun=0000000000000000']' timed out after 60 seconds

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/zvmsdk/utils.py", line 58, in execute
    timeout=timeout)
  File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/usr/lib64/python3.6/subprocess.py", line 427, in run
    process.kill()
  File "/usr/lib64/python3.6/subprocess.py", line 1610, in kill
    self.send_signal(signal.SIGKILL)
  File "/usr/lib64/python3.6/subprocess.py", line 1600, in send_signal
    os.kill(self.pid, sig)
PermissionError: [Errno 1] Operation not permitted

the subprocess will always report "Operation not permitted" error instead of its parent error of timeout.
So I need to replace them with timeout exception.
do you have a better solution experience for this? I didn't figure out, so I use if "Operation not permitted" in err_msg: .


the 4th notebook doesn't loads MNIST after the call to it

In the 4_mnist_low_level notebook, if you uncomment the code in the 2nd code block, you will get a NameError. You are loading the mnist in the 3rd block, but the 2nd one also needs it if it is uncommented.

Thanks! I updated the notebooks. This shouldn't be an issue any longer.


Disable SAI max term size validation by default to keep same behavior as DSE during migration

My primary concern is for analyzed columns. We added this logic to prevent explosion on the writers.

we can enable it after migration..

Looks like this commit broke VectorDistributedTest.testInvalidVectorQueriesWithDefaultSimilarity and testInvalidVectorQueriesWithCosineSimilarity. Those assert that clients get meaningful error messages. I think we should try to fix that use case, even if we're not going to enforce the size limits at the coordinator


how to deploy contract in w3vm?

hi all~
can anyone give a example code for deploy contract with bytecode in w3vm?
I attempted to set the account state  with  bytecode, but it didn't run.

tried to use w3.Message with InputData to deploy the contract.
Simple functions can run normally, such as:
w3.MustNewFunc(`test(uint256 _in)`, "uint256")

call a Complex functions failed.
However, forked a exists deployed contract  can call complex functions with same args.

Understood. The default chain ID for the VM is 1.

@temuera did you manage to deploy a contract? There is an open issue explaining how this can be done using a workaround: #112
Note, that you can also set the w3.Message Func and Args attribute instead of constructing the input data manually using Func.EncodeArgs.

Understood. The default chain ID for the VM is 1.
You can set a custom chain config using w3vm.WithChainConfig.

@lmittmann
Yeah, It works.
Just construct an account with bytecode using state, or go with tx message.
w3 is a helperfull project with great structure, But it's also brought along some inconveniences for me.
1,It's missing onSuccess and onFaild callbacks for call functions.
Even though I can work around these problems by writing more code, it's just not convenient.
2,It's not compatible with the BSC version of go-eth library.
This one's particularly annoying. If you don't merge the PR, I'll have to keep using my locally modified version with replace.
Also, I haven't found a way yet to modify the blockNumber within the same VM context.
As I continue to use it, I might come across more issues and post in this thread.

I might have some weird use cases. Currently, I'm working on a scam token detection tool. Some scam tokens set a time bomb, where you can buy and sell tokens at BN1, but you can't sell after BN+n. That's why I'm looking for a way to switch blockNumber within the same context.
I might add a SetBlockNumber function to w3vm.VM and submit a PR:(

I might add a SetBlockNumber function to w3vm.VM and submit a PR.

you can set the block number when building the VM using w3vm.WithHeader or w3vm.WithBlockContext`

1,It's missing onSuccess and onFaild callbacks for call functions.
Even though I can work around these problems by writing more code, it's just not convenient.

see https://github.com/lmittmann/w3?tab=readme-ov-file#error-handling


Increase code coverage in botbuilder library - ChannelServiceRoutes class

Addresses #2432
Description
This PR adds the channelServiceRoutes.test.js with unit tests for the ChannelServiceRoutes class, increasing code coverage for the class to 88,97%.
Testing

This branch is out of date.  Please rebase from master (cannot do this automatically from github, because the PR is from a fork)

@EricDahlvang  We just applied the feedback and update it with the master branch, so it's ready. Thanks!

@stevengum  We just pushed the feedback. Thanks!


Test validation

This PR aims to validate each output using test.

tests worked for tsv output but not for pdf output.


feat(TCOMP-275): Implement multi-execution engine support.

Please check if the PR fulfills these requirements

[X] The commit message follows Talend standard
[X] Tests for the changes have been added (for bug fixes / features)

What is the current behavior? (You can also link to an open issue here)
All definitions that might have a runtime instance to execute business logic implement the RuntimableDefinition.  There is no mechanism to specify whether the component (and runtime) support a particular execution engine.
What is the new behavior?
An enum was added ExecutionEngine that provides a list of execution engines that can be used to run a component.  The starting values are DI and BEAM (with DI_SPARK_BATCH and DI_SPARK_STREAMING reserved for future studio integration).
ComponentDefinitions must now specify which execution engines are possible and may provide a custom runtime for each supported engine.
DatastoreDefinition and DatasetDefinition have always needed to run "standalone" (i.e. outside of an execution engine) and do not need  this mechanism.
The RuntimableDefinition was removed, since different types of definitions no longer have common requirements for providing the runtime.
Does this PR introduce a breaking change?

[X] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Since the ComponentDefinition must specify its valid execution engines, it is now mandatory in AbstractComponentDefinition.  A helper method was provided to throw an exception if an unsupported execution engine is requested.
Other information:
I assigned ExecutionEngine.DI OR ExecutionEngine.BEAM to components depending on their current use.  Some components that provide a TCOMP Source or Sink should be compatible with DI AND BEAM.  For the moment, I'm leaving this as future validation work.
If this PR is accepted, a Studio change will be necessary to specify the ExecutionEngine currently being used to run the component.

Pull request test result: failure :x:

Pull request test result: success :star:

Hello!  I've made the change so that AbstractComponentDefinition has a constructor that accepts ALL ExecutionEngines, which should be possible for all components with a runtime based on TCOMP Source or Sink.

Pull request test result: success :star:

Last build was aborted to free up executors.  Trying a rebuild now, then I'll merge.


Allow bigger size restore/clone for RBD FileMode PVCs

Describe the bug
CSI spec allows a user to create bigger volumes at restore/clone path. Ideally we should enable it in our driver too. This issue tracks the requirement for RBD.

Please feel free to take this if some one is interested to work on this :+1:

This cannot be done without https://github.com/kubernetes/kubernetes/issues/94929

true.. we need support from CO. We will consume it once we have it.

Busy with other things and removed self-assignment


Application crash when using empty statement (semicolon) in Startup.cs

Description
I was trying to make an API in Visual Studio, using net 5.0.7 and the APS.NET Core Web API template.
My application keeps crashing, before even hitting the first line of code in Program.cs In the output window, the only information shown was:
'xxx.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\5.0.7\System.Runtime.dll'.
The program '[0x254C] xxx.exe: Program Trace' has exited with code 0 (0x0).
The program '[0x254C] xxx.exe' has exited with code 0 (0x0).
I couldn't figure out was wrong, so I started from scratch to pin point the issue. Turns out that I had a semicolon in Startup.cs after my usings like this:
using System;
using System.IO.Compression;
using System.Runtime.InteropServices;
;
When removing the semicolon on the last line, the application worked as expected.
I know I have a compiler warning, 'Remove this empty statement', and I know I should have solved it, but I didn't expect the application to crash like this. IMHO, the compiler should have raised an error, or the application should have raised a nice descriptive exception message.
Configuration
Tested in on Windows 10 and on Fedora Linux 33, in both cases with the same result.
Regression?
Do not know, tested it with net 5.0.5 as well on Windows, same result.
Other information
none

The problem is that the application is not crashing, it's doing exactly what you told it to do, which is nothing. C# 9 introduced top-level statements, which means you can have statements outside of a class and those take priority over Program.Main. So your program executes the empty statement and then immediately exits.
But this specific case is clearly confusing, so it will become an error in a future version of C#, see https://github.com/dotnet/roslyn/issues/53472.

thx


Do we want to switch to psycopg2-binary?

See http://initd.org/psycopg/articles/2018/02/08/psycopg-274-released/
In the future psycopg2 is becoming a source only package and if we want to keep using binaries we need to switch. On the other hand, apparently part of the reason for this is that for some people the binaries were causing problems - tho if you read the blog post it doesn't look like that applies to us? (Tho we can never be sure how others will use it, we don't use it with threads). Thoughts?

we don't use it with threads

Does #87 have a bearing on this decision?

Maybe ... tho maybe that would be done with separate processes and some kind of central monitor rather than threads? There might be things to help with that. Also, currently we have a option to run all the sources at once and I think in the long run we might want to rethink that (in non-sample mode anyway) given how long and how big some of the sources are! So I'm not sure where all that leaves this P.R. ... maybe leave for now and see? It's not urgent anyway.


Merge eslintrc file from jest puppeteer into main file

Removing the separate .eslintrc.js file in favor of adding the two new globals exposed by jest into the main file. This is in line with the recommendation on the jest-puppeteer site.

Deploy preview for gestalt ready!
Built with commit 802386d6ba0b990b8d0d5313c208912d6f4ff73d
https://deploy-preview-193--gestalt.netlify.com

Deploy preview for gestalt ready!
Built with commit 33fda2f6477b73a2d984d69fc8f54a33fade3e30
https://deploy-preview-193--gestalt.netlify.com

Codecov Report

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

@@           Coverage Diff           @@
##           master     #193   +/-   ##
=======================================
  Coverage   61.03%   61.03%
=======================================
  Files          40       40
  Lines         770      770
  Branches      178      178
=======================================
  Hits          470      470
  Misses        207      207
  Partials       93       93

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 eb3b26a...33fda2f. Read the comment docs.


Sphere output precision limited to 15 significant digits

Dear All,
I was wondering if there is any reason to keep the maximum precision of the printed outputs to DBL_DIG macro (15) instead of DBL_DECIMAL_DIG (17), being that just 15 digits don't allow round-trip conversion.
In my case it causes me trouble because I cannot restore dumps of databases done with pg_dump, since the dumps contain spolys which lost precision during the dump, and pg_sphere does not pass the check of certain polygons which were inserted with 17 digits (from caom2db software) but now have 15.
Regards.

[...] 15 digits don't allow round-trip conversion.

Oh, that's a good point.

Dear All,
I have tried to create a binary backup using the pg_dumpbinary software, hoping that it would keep the original data with the needed precision, but the following error appears:
ERROR:  no binary output function available for type public.spoly
Thus, going back to the quick solution for the text output, I guess that in fact the method set_sphere_output_precision(n) (which is limited to n<=DBL_DIG, i.e. 15) tries to imitate the PostgreSQL behavior of "SET extra_float_digits".
Of course and by default, the PostgreSQL "extra_float_digits" its set to return 17 digits. And in fact, PostgreSQL documentation says that the maximum value is "useful for dumping float data that needs to be restored exactly."
Regards.

@df7cb @vitcpp : So should it be changed to 17 on PG 12+?

Dear All,
Obviously, there should be a way to set 17 digits for output. But I'm not sure about DBL_DECIMAL_DIG. It seems to appear in C11. May be to utilize extra_float_digits? Let me, please, dig into this topic. I will come with some proposal later.

Some other datatypes (like my postgresql-unit) use extra_float_digits for their custom float rendering on output. pgsphere should do the same.
Perhaps it is just a matter of using float8out_internal for printing the numbers, so something along that line.

I agree, we should unify this behaviour with postgresql. What I'm concerned is the backbard compatibility. I propose the following:

Keep function set_sphere_output_precision for some time. Probably, issue some warning that this function is obsolete.
By default, use postgresql settings (extra_float_digits).
If set_sphere_output_precision is called, use the specified precision and the old behavuour.

If user decides to use postgresql extra_float_digits, set_sphere_output_precision shouldn't be called or called with -1, for example. It shouldn't affect old scripts with set_sphere_output_precision.
What do you think?

That all makes sense to me, @vitcpp. Thanks!

The PR was merged. I will close the issue if no objections.

Closed as completed.


Ofer bugfix

makes latex work with non-streaming.

The latex fix didn't work when I tested with "what equation is used for space and time" on the physics dataset.
This should fix it for non-streaming case (didn't test yet), but I'm not sure how we can do this for streaming case - any ideas?


Update perf and latest features for llm models (Aug 26)

Ticket
N/A
Problem description
N/A
What's changed

Updated perf and stable release versions for llm models on front page README
Updated MODEL_UPDATES with latest model features

Checklist

[x] Post commit CI passes
[x] Blackhole Post commit (if applicable)
[x] Model regression CI testing passes (if applicable)
[x] New/Existing tests provide coverage for changes

We really wanna cut a release... is there not a common release candidate that works for all the models, like rc33?

We really wanna cut a release... is there not a common release candidate that works for all the models, like rc33?

Rc33 works for all models except Llama8B (perf regression). Does it have to be perfectly aligned with the table?

No, but if it all works on rc33, let's cut a release for rc33.

@ayerofieiev-tt looks like rc33 is going to be our golden goose soon.

@skhorasganiTT We'll put notes in the release that rc33 is functional for all models except Llama8B. Can you confirm?
Otherwise, confirming this is to-do for @uaydonat . I will let my management know.

@tt-rkim Based on the rc33 workflow, yes, and Llama8B is also functional but not performant (perf is lower than what is in the table).

@tt-rkim What did we agree to write? If you are referring to re-measuring the performance of all models on that release commit that is not easy to do.

Then what should we do about reporting the numbers for the release that will use candidate v0.50.0-rc33?
This is your product. One solution is to put yet another warning in the release notes that saying the performance numbers displayed in the table are only at the measured release candidates, and may not be reflected in the release. Perhaps only a guarantee of functionality within the release.
This is why I urge models team to treat regressions as P0s, because the rc number in the tables aren't all the same, that makes it difficult to update the READMEs to be accurate.


IOTCLT-3748 adding check to avoid uint16 over flow

adding check to avoid uint16 over flow when calculating packet data size. IOTCLT-3648 only listed line 355 as potential place, but same variable were used in couple other places also.

rebuild

rebuild

@kjbracey-arm I will do these fixes with new PR to this repository


merge from arlac77/template-github,arlac77/template-kronos-component

README.md

docs(README): update from template

Codecov Report

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

@@           Coverage Diff           @@
##           master     #742   +/-   ##
=======================================
  Coverage   91.03%   91.03%
=======================================
  Files          12       12
  Lines         792      792
  Branches       94       94
=======================================
  Hits          721      721
  Misses         71       71

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 7af842f...0b2d547. Read the comment docs.


cmd/go: mod vendor does not keep original vendor file permissions

What version of Go are you using (go version)?

$ go version
1.13.1

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOHOSTARCH="amd64"
GOHOSTOS="linux"

What did you do?
main.go
package main

func main() {
        fmt.Println("hello go")
}

tools.go
// +build tools

package main

import (
        _ "k8s.io/code-generator"
)

go.mod
module aanm/go-test/test

go 1.13

require k8s.io/code-generator v0.0.0-00010101000000-000000000000

replace (
        k8s.io/code-generator => k8s.io/kubernetes/staging/src/k8s.io/code-generator v0.0.0-20191012044237-c97fe5036ef3
        k8s.io/kubernetes => k8s.io/kubernetes v1.16.2
)

run
$ go mod tidy
$ go mod vendor

What did you expect to see?
the file permissions of generate-groups.sh to be kept the same as the original file.
$ # original repo in the same tag v1.16.2
$ ls -la k8s.io/kubernetesstaging/src/k8s.io/code-generator/generate-groups.sh
-rwx------. 1 aanm aanm 3837 Apr 25 12:25 staging/src/k8s.io/code-generator/generate-groups.sh

What did you see instead?
$ ls -la vendor/k8s.io/code-generator/generate-groups.sh
-rw-------. 1 aanm aanm 3837 Oct 17 21:59 vendor/k8s.io/code-generator/generate-groups.sh

This issue is probably the same root cause as reported in https://github.com/golang/go/issues/31481#issuecomment-500394654, but (per https://github.com/golang/go/issues/31481#issuecomment-502123143) let's keep this issue open to track that particular detail.

We defined the Go module representation to be absolutely least common denominator across systems for portability. The Go module zip file is for dependencies that need to be downloaded and built by the go command. It is not meant to support anything more. By design, there are no permission bits, nor special files like symlinks, nor modification times. I still believe this is the right decision. We can go arbitrarily far in "preserving" file metadata, and the result would still miss some kinds of metadata and fail to recreate other metadata on some subset of systems (symlinks, odd file modification times, etc).
Tests that need special files (anything beyond files containing bytes) can write them to a temporary directory and configure them as they wish.
Install scripts can be invoked as bash ./script (or cat script | bash) instead of ./script.
I don't believe this decision was wrong. But even if it were, it is a fundamental design decision made years ago that would be very hard to change now - it would invalidate all the checksums (if this extra information is important enough to preserve it would have to be checksummed too). It would have to be very wrong to be worth the pain of correcting.

Closing this as working as intended. Thanks for clarifying!


fix: only assign ngDevMode during build

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/analogjs/analog/blob/main/CONTRIBUTING.md#-commit-message-guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

Which package are you modifying?

[x] vite-plugin-angular
[ ] vite-plugin-nitro
[ ] astro-angular
[ ] create-analog
[ ] router
[ ] platform
[ ] content
[ ] nx-plugin
[ ] trpc

What is the current behavior?

Closes #345
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

🚀


Cache loaded settings in instances

Currently, settings are loaded each time they are accessed if there is a no temporary value set.
This should be changed to either set the temp value on first retrieval or cache loaded fallback settings otherwise.

This is done by now.


Unexpectedly delete character in editor

Description
What steps will reproduce the problem?

Set the indent as 'Tab'
Define a function, in the function body, add one 'space' at the beginning, write an arbitrary statement, say a = 1, then press enter, it will auto-indent to 1 'Tab' + 1 'space'
On the second line, press del two times, the cursor should be at the beginning of the line. Then write another statement, say b = 1,  press 'Tab'

What is the expected output? What do you see instead?
Expected output: 'Tab' + 'b = 1'
Real output: 'Tab' + 'space' + ' = 1', b is deleted by auto-indent
Please provide any additional information below
Version and main components

Spyder Version: 3.1.4
Python Version: 3.6.1
Qt Versions: 5.6.2, PyQt5 5.6 on Windows

Dependencies
pyflakes >=0.6.0 :  1.5.0 (OK)
pep8 >=0.6       :  1.7.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
qtconsole >=4.2.0:  4.3.0 (OK)
nbconvert >=4.0  :  5.1.1 (OK)
pandas >=0.13.1  :  0.20.1 (OK)
numpy >=1.7      :  1.12.1 (OK)
sphinx >=0.6.6   :  1.5.6 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
matplotlib >=1.0 :  2.0.2 (OK)
sympy >=0.7.3    :  1.0 (OK)
pylint >=0.25    :  1.6.4 (OK)

This was fixed in Spyder 3.2. Please update.


drivers: spi: spi_nrfx_spi: Conditional SCK pin setup.

SPI# instances can have SCK disconnected, so only configure the SCK pin when one is connected.

I hit this when working on the ZMK upgrade to Zephyr 3.5. In particular, we often use nrf52840 SPI3, configured via pinctrl, with the SPI based ws2818 led_strip driver with only the MOSI/COPI pin set in the pinctrl setup. This worked fine on 3.2, but started faulting after the upgrade.
The NRFX API I'm calling technically returns a unsignd int, but tested showed it did return -1 in the case the SCK pin was not attached. This tracks with the documentation of PSEL.SCK which documents that the high bit is set if the SCK line is disconnected.

Anyone? Not sure why this hasn't gotten any eyes on it yet.

@anangl can you take a look please?


Replace msfpayload with msfvenom

Metasploit has removed msfcli/msfpayload and instead now use msfvenom.  --gen-payload uses msfpayload currently, but this needs to be updated to msfvenom.

Fixed in dev.


Unable to enable service redis

Latest Ubuntu 20.10 server fresh install. Followed directions.
Unable to enable service redis: Failed to enable unit: Refusing to operate on alias name or linked unit file: redis.service

Are you using the nextclod-reloaded branch?

Yep

From: ReinerNippes @.>
Sent: Sunday, March 14, 2021 4:29:25 AM
To: ReinerNippes/nextcloud @.>
Cc: FlattusBlastus @.>; Author @.>
Subject: Re: [ReinerNippes/nextcloud] Unable to enable service redis (#112)
Are you using the nextclod-reloaded branch?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/ReinerNippes/nextcloud/issues/112#issuecomment-798890851, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASVVEUDHK3PLMGV47HQEUQ3TDSMZLANCNFSM4ZDJWUKA.

nextcloud-reloaded.
It's the same for me.
It will be need to fix below.
 - name: start and enable redis
   systemd:
-    name:    redis
+    name:    redis-server.service
     state:   started
     enabled: true


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_c21e7ef2-8397-4cbb-8bf4-75a1cc58bc8f/pull/1 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target_c21e7ef2-8397-4cbb-8bf4-75a1cc58bc8f.git

Docs Build status updates of commit 1da0be4:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-ServiceAccountCannotAccessRepository] Your repository https://github.com/VSC-Service-Account/docs-archive-test-source has enabled Docs Build service account. It seems that at least one of the accounts, e2ebd4, does not have Read permission to the repo. Please ask your repo admin to grant correct permission to service accounts (refer to this document: https://review.docs.microsoft.com/en-us/engineering/projects/ops/engdocs/how-to-grant-service-account-permission-in-your-repository?branch=master#ops-e2e-ppe) and then retry the build. Don't know who to contact? Refer https://repos.opensource.microsoft.com/VSC-Service-Account/repos/docs-archive-test-source/permissions/ to get admin list of the repo if the repo is in one of the organizations Microsoft owns.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Existing Functions List

Hello,
It will be great if in the UI we have a list of all existing functions in order to avoid errors like in the attachment.
Thank you!

dup of #100

Close because this is dup, but the other issue is scoped for beta milestone.


DatePicker支持字符串的默认值

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

Coverage remained the same at 52.233% when pulling 49c3cfd6c7bf2cbc7c3b3e2fb03413cd293bc76d on mushang11:master into 143c080cf6147793ad5972e2e3d4bb805d9d71e8 on NG-ZORRO:master.

thanks for your pr very much, please make sure your commit meet the requirement of https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit

sorry ,rently i cannot get enough time to change.i will close this pr.later, change the pr to meet the requirement of contributing guide.Thanks a lot for your attention.


Data refresh not working on profiles

Describe the bug
Data not refreshing on profile especially after
To Reproduce
Steps to reproduce the behavior:

Go to 'family profile (ecbis flavor)'
Click on 'add member'
Fill in questionnaire and submit
You will be taken to family profile but new record for the registered family member is not displayed

Expected behavior
On load new content, profile screen should be updated
Additional context
Profile data should be refreshed after every action

I think this is a duplicate ticket to this https://github.com/opensrp/fhircore/issues/1446 @ellykits . We can close one


Can't Copy To System Clipboard

hello, i need help here since i'm new using vim (like 5 months) and not really into configuring vim (editing vimrc, etc.) i tried this tool and it amazes me since i hate using nvim cuz lua and this much better and easier for me. but i can't copy into system clipboard. i tried all solutions in the issue but those solutions didn't work. i'm using KDE on debian.
here's my my_configs.vim
set clipboard=unnamedplus
set mouse-=a

i also did sh install_awesome_vimrc.sh after adding those lines.
thanks!

I would recommend looking on the web for help as this is more an issue with VIM, KDE + Debian. An example (using perplexity):

Thanks, i forgot this issue was solved by my own self. I think this is Vim's problem bcuz all of my friend that uses Vim felt the same, once i switched to Neovim with your config, clipboard problems are gone.


CONTEXT should be aligned to 16-byte boundary

winapi::um::winnt::CONTEXT needs to be aligned to a 16-byte boundary. Here is a forum post referring to this issue I have confirmed this on my system.
There is a FIXME for this struct in the winapi source. What is required to align structs with the existing struct!{} macro?

This will be fixed in winapi 0.4 when the minimum Rust version is bumped to support #[repr(align(N))]


Always visibile scroll bar for Mac Os X

Does iScroll.js support an always visible scrollbar for Mac OS X?  I don't seem to make it work: https://jsfiddle.net/511wmq3h/

@alvarotrigo I don't understand what you said.
I fix your demo.
https://jsfiddle.net/fcyp07sn/15/
Is this right?

Nop. I don't know how can I say it clearer.
I just want the scroll bar created by iScroll to be always visible, not only when I scroll up or down.
In Mac Os X the scroll bar disappears when the user stops scrolling.

scrollbars: true,
fadeScrollbars: false,
hideScrollbars: false

seems to be working

@cubiq the scroll bar disappears after the user stops scrolling. You can easily test it on the jsfiddle I provided.

As you can see on the picture there's no scroll bar at all.

double check spelling. all you need is fadeScrollbars:false (plural)

@cubiq I'm getting the same result. No initial scroll bar and it disappears whenever I stop.
Reproduction online
Here's a video. It is quite laggy as I was using a connection to a remote computer, but you can see what I'm not crazy when say the scroll bar disappears

:

please check @sculove 's example and simply set fadeScrollbars to false.

@cubiq I did? Why I got no comments on my video proof?
Few things regarding his fiddle:

His example doesn't scroll with mouse wheel
His example still not showing any scroll bar on page load
His example hides the scroll bar after scrolling

And just for you to believe me, here's the new video with his own fiddle:

you have to set the fadescrollbars to false (in your video is "true")

Thanks, but that was not the problem.
It was not about the options, but about the HTML markup , that seems to require the wrapper element scroller and the CSS property overflow:hidden that I was missing.
https://jsfiddle.net/511wmq3h/8/

that's why I was suggesting to check @sculove example :)
glad we came to the bottom of it


Check what are the expectations on auto claim

Follow up on https://github.com/confio/tgrade/pull/456

There is no auto claim. Vesting and liquid work the same now: both require a claim.


use FQCN in uri macro

to avoid this error:
[error] not found: value Uri
[error]   val x = org.http4s.Uri.uri("http://uri.com")
[error]                             ^

without having to import the Uri object first.

Nice catch. Macros suck, but are very useful.

Thanks for all the nice work!


add files for build and start with docker

new file:   Dockerfile to build a docker image
new file:   requirements.txt for pip install
modified:   README.md at #4.  My English is rather poor and it was probably too late. Thank you for your review! And bit thanks for this Project!

No problem. Thank you for the Pull Request!


documentation: Add !.env.production to .dockerignore

Maybe this is unnecessary, but it would have been helpful if there were some kind of 'warning' note to ensure that the .env* mentions in a .dockerignore file are removed, otherwise it could cause many frustrations.

...or rather, 'make sure to add !.env.production to your .dockerignore file!

could you be more specific @ntorrey? are you referring to a specific portion of the README or our /docs site ?

Thanks for the quick response! Sorry for the lack of clarity. Specifically, I was following the fly.io documentation (yes, on the  /docs site.) and couldn't, for the life of me, figure out why it wasn't detecting my .env.production file. I had an already-made app so I was trying to update it according to the instructions. Many hours of tears and hair-pulling later, I discovered I hadn't tweaked my .dockerignore file...

In my previous .dockerignore file I had !.env.vault and  .env* (I think possibly from following instructions from previous dotenv setup documentation?)

ah yes, from pre 1.0.0 dotenvx when it used the .env.vault mechanism.
there is a dockerignore step in that guide, so I'm going to close this as an unfortunate edge case. i'm sorry it happened to you. i was afraid these kind of pains might happen to some users with the deprecation of the .env.vault mechanism but in the long run dotenvx's implementation is much better so i did the best i could. sorry again for this annoyance and thank you for using dotenvx!

No problem - I totally get it! Thanks for your time and consideration.


Fix for BadgeColumn colours assigns colour to only last condition

When different conditions are assigned to same colour, it assigns the colour only to last condition.
**Example **
colors([
  'warning' => 'processing',
  'warning' => 'scheduled',
  'warning' => 'escrowed',
])

 The warning colour will only be assigned to the last condition which is 'escrowed'.

This PR accepts assigning an array of conditions to a colour.
colors([
  'warning' => [
     'processing',
     'scheduled',
     'escrowed',
  ]
])

Hey @naro-code-lab, thanks for creating a PR!
This would be a breaking change though, as currently the state is checked to equal the array you'd pass in.
Your desired behavior can be achieved by passing a callback as a color's key value:
BadgeColumn::make('status')
    ->colors([
        'warning' => static fn ($state): bool => in_array(
            $state,
            [
                'processing',
                'scheduled',
                'escrowed',
            ],
        ),
    ])


doc: Sphinx search results are not helpful

We have a custom search result "scorer" that's hiding results that it shouldn't. More specifically, our code samples, supported boards, and available drivers, hardly ever make it to the top results, making it impossible for newcomers to quickly evaluate how far they will be to getting their idea implemented.
I will be working on improving the quality of the search results by removing as much of the custom scoring as possible, as it's doing more harm than good, and by refreshing it w.r.t to Sphinx improvements that have been added since it was initially implemented.

Note to self: this https://github.com/jbms/sphinx-immaterial/ seems to have a pretty neat search experience. I might look into reusing their custom index builder that replaces the one that ships with Sphinx, as well as HTML and JS code for the interactive search.


Add UI fix in projects page

resolves #409

Hello @tobySolutions ,
I've fixed the scroll issue. Actually it was because of overflow property.
And there was no container for projects therefore I've added that as well because body of any section should be in the container only.
Apart from that I've changed flex to grid which is bette.r
And Changed the active menu bg color .
Please have a look :)

Wow!! This is amazing!!

Good job @MadhuSaini22


METRON-2343 Bro Kafka plugin - ability to dynamically modify JSON

Add the ability to define static json fields and values to be added to
the top level object when tagged_json is T.
Testing

run_end_to_end.sh
look at any of the kafka output logs in the testing output directory for:
"FIRST_STATIC_NAME" : "FIRST_STATIC_VALUE", "SECOND_STATIC_NAME":"SECOND_STATIC_VALUE"
in the json.

Pull Request Checklist
Thank you for submitting a contribution to Apache Metron's Bro kafka writer plugin.
In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following:
For all changes:

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

[x] Have you included steps to reproduce the behavior or problem that is being changed or addressed?
[x] Have you included steps or a guide to how the change may be verified and tested manually?
[x] Have you ensured that the full suite of tests and checks have been executed via:bro-pkg test $GITHUB_USERNAME/metron-bro-plugin-kafka --version $BRANCH

[x] Have you written or updated unit tests and or integration tests to verify your changes?
[-] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[-] Have you verified the basic functionality of the build by building and running locally with Apache Metron's Vagrant full-dev environment or the equivalent?

This change is

Looks good.  Noticed we are lacking btests - I'm fine with having that as a follow-on.  +1 pending JIRA creation

https://issues.apache.org/jira/browse/METRON-2356 <-- @JonZeolla

I think that jira captures why the change is beyond this pr

LGTM +1 thanks


Patternlab php not working with PHP 8.0

We use Patternlab PHP together with Azure, so the compilation is done on an Azure Ubuntu or Mac agent. They were recently updated by MS to run PHP 8.0 and Patternlab stopped working.
This is the error message we get:

`Running "shell:patternlab" (shell) task
Warning: Command failed: php core/console -gp
PHP Fatal error:  Uncaught Error: Class "\PatternLabListener" not found in /home/vsts/work/1/s/pattern-lab/vendor/pattern-lab/core/src/PatternLab/Dispatcher.php:61
Stack trace:

#0 /home/vsts/work/1/s/pattern-lab/vendor/pattern-lab/core/src/PatternLab/Dispatcher.php(39): PatternLab\Dispatcher::loadListeners()
#1 /home/vsts/work/1/s/pattern-lab/core/console(42): PatternLab\Dispatcher::init()
#2 {main}
thrown in /home/vsts/work/1/s/pattern-lab/vendor/pattern-lab/core/src/PatternLab/Dispatcher.php on line 61
 Use --force to continue.
Aborted due to warnings.`

Bump.

We have a similar issue. We us the PHP flavor with Drupal and WordPress and we desperately need php8 support asap.

Check your configuration registration. I had to make two changes:
config/listeners.json
- {"listeners":["\\aleksip\\DataTransformPlugin\\PatternLabListener","\\PatternLab\\TwigNamespaces\\PatternLabListener","\\PatternLabListener"]}
+ {"listeners":["\\aleksip\\DataTransformPlugin\\PatternLabListener","\\PatternLab\\TwigNamespaces\\PatternLabListener","\\PatternLab\\Listener"]}

config/patternengines.json
- {"patternengines":["\\PatternLab\\PatternEngine\\Twig\\PatternEngineRule","\\PatternEngineRule"]}
+ {"patternengines":["\\PatternLab\\PatternEngine\\Twig\\PatternEngineRule","\\PatternLab\\PatternEngine\\Rule"]}

And I think this repository is deprecated.... See https://github.com/pattern-lab/patternlab-php-core/issues/177


feat(client|redux): returns - split core and redux, general mocks & return statements

Description
This splits the returns client into isolated client and redux actions. It also adds result returns for the actions and moves the fixtures to the proper place in the project.
BREAKING CHANGE

Clients are now exported from @blackout-client/returns/* instead of @blackout-client/core/returns/client/*.
Everything under @blackout-client/core/returns/redux/* was moved to @blackout-redux/returns/*.
You should update the client and redux imports with the new @blackout-client and @blackout-redux packages, respectively.

Dependencies
None

Checklist

[x] The commit message follows our guidelines
[x] Tests for the respective changes have been added
[x] The code is commented, particularly in hard-to-understand areas
[x] The labels and/or milestones were added

Disclaimer
By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement

Please review your commit and PR title's scope (in next we have no core package) 🙂

Force of habit. Solving it right now. 🙂

You need to mark the "split core and redux" commit as BREAKING CHANGE. Check other PR's where we did this to see how.

Done


[CircleGraph] Follow theme colors

CircleViewer ang Partition selector from CircleGraphCtrl now follows VSCodes light and dark type.
But does not follow individual color settings of theme settings.
Let's fix this to follow the color sets.

As of now

Partition Editor webview also needs fixes.
As is listbox background is just white should be some dark gray.


Deploy the bot to the GCP

Deploy to telegram bot to the GCP

The bot has been deployed. Please add Search @testforbudgetmanagerbot in Telegram and start to use the function


which event is similar to start loading pdf file?

what event is similar to start loading pdf(loadingbar start to change)?i have try many events as follow:
baseviewerinit
pagesinit
localized
pagerendered
textlayerrendered
updateviewarea
pagechanging
visibilitychange
documentinit
outlineloaded
but none is what i want.
At the beginning I will add a mask to the viewerContainer node. When the loading starts, I will delete the mask. Which event should I listen to?

what event is similar to start loading pdf (loadingbar start to change)?

There's no event that's dispatched for that particular case[1]. However, note that the event that is currently closest to the point in time where loading started is pagesinit.

[1] Also, it seems very unlikely that we'd want to add a new event for that case since there's already a large number of events available. Furthermore, the existing events are generally dispatched at slightly more "meaningful" points in time, to signal that the viewer and/or document is ready for interaction and/or completely loaded.

thank you for your answer! @Snuffleupagus


[mlir] Update the usage of buffer placement

This PR prepares Tensorflow for down streaming of recent changes in mlir:BufferPlacement.

This landed as part of revision f84dfcb7be1db6cc5e001a8537448847e82ef45b as it had to be merged atomically with an LLVM integrate.


This help does not apply for current version of Azure

The procedures outlined in this support article are for an old version of Azure.
[Enter feedback here]

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

ID: c3e781ba-8642-d27c-86cf-e6a445412efc
Version Independent ID: 9ee5d049-3021-63e7-61ee-28eaa4a9bc9a
Content: Sign up for Microsoft 365 with Azure account
Content Source: articles/cost-management-billing/manage/azure-account-for-microsoft-365-subscription.md
Service: cost-management-billing
Sub-service: billing
GitHub Login: @bandersmsft
Microsoft Alias: banders

@jrdtechnologies Thanks for your comment! We will review and provide an update as appropriate.

@jrdtechnologies Sorry for the delay. I'm looking into this with the Azure Billing engineering team.

@jrdtechnologies I haven't forgotten about this issue. I'm still researching it.


June version update

@dansimp A new PR that introduces news for the most recent version of the software in the changelog is ready for review.


NDEBUG builds of traced should work with both DEBUG and NDEBUG clients

Based on discussions with Primiano and local testing, it does seem to be the case that a NDEBUG build of traced works fine with DEBUG producer clients. However, we currently get this warning:
[547.767] ducer_ipc_service.cc:95 The producer and the service binaries are built using different DEBUG/NDEBUG flags. This will likely cause crashes.
Can we change this so that there's only a warning with a DEBUG build of traced? Or alternatively, is it possible to move the debug memory test code into a unit or integration test or behind a custom build macro like RUNTIME_TEST?

Should be fixed as of https://android-review.googlesource.com/c/platform/external/perfetto/+/1540066. The fix will be in the v12 release.

Should be fixed as of https://android-review.googlesource.com/c/platform/external/perfetto/+/1540066. The fix will be in the v12 release.


small senior physician drip update

About the PR

gave the senior physician the medical beret and nitrile gloves on round start.
it would be a shame to see the brigmedic gear go unused, no?
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
no cee ell, bro

Beret good.

I'm personally not a fan of the beret. It's silver, not white thus it looks out of place among the rest of their gear. (at least to me)

that's a good point

I believe Nairod has plans to make berets for Senior roles- though regardless I agree this one looks out of place since its' a different color from the rest of their gear.

isnt there a medical beret that is the same color?


[api-major] Output JavaScript modules in the builds (issue 10317)

At this point in time all browsers, and also Node.js, support standard import/export statements and we can now finally consider outputting modern JavaScript modules in the builds.[1]
In order for this to work we can only use proper import/export statements throughout the main code-base, and (as expected) our Node.js support made this much more complicated since both the official builds and the GitHub Actions-based tests must keep working.[2]
One remaining issue is that the pdf.scripting.js file cannot be built as a JavaScript module, since doing so breaks PDF scripting. It's not clear to me if this is a limitation of the QuickJS Javascript Engine itself, or "just" an issue with how the Emscripten compiler was configured.
Note that my initial goal was to try and split these changes into a couple of commits, however that unfortunately didn't really work since it turned out to be difficult for smaller patches to work correctly and pass (all) tests that way.[3]
This is a classic case of every change requiring a couple of other changes, with each of those changes requiring further changes in turn and the size/scope quickly increasing as a result.
One possible "issue" with these changes is that we'll now only output JavaScript modules in the builds, which could perhaps be a problem with older tools. However it unfortunately seems far too complicated/time-consuming for us to attempt to support both the old and modern module formats, hence the alternative would be to do "nothing" here and just keep our "old" builds.[4]

[1] The final blocker was module support in workers in Firefox, which was implemented in Firefox 114; please see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#browser_compatibility
[2] It's probably possible to further improve/simplify especially the Node.js-specific code, but it does appear to work as-is.
[3] Having partially "broken" patches, that fail tests, as part of the commit history is really not a good idea in general.
[4] Outputting JavaScript modules was first requested almost five years ago, see issue #10317, and nowadays there should be much better support for JavaScript modules in various tools.

/botio-linux preview

Given the errors when loading the previews above, my guess would be that the server running on the bots doesn't understand the .mjs file extension. Note that for our local development server we had to add an entry as follows: https://github.com/mozilla/pdf.js/blob/be53c7d6f5cc546093d2af34b1924d19c94fd9d4/test/webserver.mjs#L26
@calixteman Can you please check if this can be fixed on the bots?

/botio-linux preview

So it works but I had to modify botio/node_modules/mime/types/mime.types in order to explicitly add the correct mime type for mjs files.
I've the feeling that it's an awful way to fix the issue but I'm not sure I want to take the risk to break something in doing it correctly. Wdyt ?

What version of the mime package, see https://www.npmjs.com/package/mime, are the bots using?
Could it just be very old and outdated, and if so updating it to the latest version might help?
Thanks for the help so far, since at least it works now which will unblocks this PR :-)

It's a dep of express (what we use to run the server).
We use express 2.5.8 (2012) and mime 1.2.4 (2012 too).

/botio-linux preview

/botio test

/botio-linux preview

Initially the size of the built library increased with these patches, which obviously isn't good. My first attempt to mitigate this was to manually post-process the Webpack output to remove some unnecessary comments, which only helped partially and obviously felt like a quite brittle solution.
However, browsing the Webpack documentation showed that we didn't specify the proper options when building. By setting the mode to "production", and manually disabling some unwanted optimizations, we now get smaller PDF.js builds when comparing the latest version of this PR against the master branch (total sizes below):

For gulp mozcentral: 5 472 450 bytes -> 5 295 452 bytes, or ~3 percent smaller.
For gulp generic: 16 083 577 bytes -> 15 913 045 bytes, or ~1 percent smaller.

/cc @marco-c

/botio-linux preview

/botio integrationtest


⚠ BeyondHD has degraded performance

In 945c6f5, BeyondHD ($BHD) experienced degraded performance:

HTTP code: 200
Response time: 1025 ms

Resolved: BeyondHD performance has improved in 4da8d69.


Fixed search path for FileZilla

Fixed changed search paths

Since Sam hasn't responded, and I also use this recipe, and I have permissions to accept PRs, I'm going to pull the trigger...