[Issue] - Health Checker not recognizing CVE-2022-21978 is installed

Provide Version Number
Exchange Health Checker version <IP_ADDRESS>2
Describe the issue
Healthchecker is reporting that CVE-2022-21978 updates have not been installed. Confirmed that the updates and the /PrepareAllDomains has been completed successfully.
Expected behavior
Healthchecker should have cleared this item.
Script Output
Version: Exchange 2016 CU23
Build Number: 15.01.2507.009
Exchange IU or Security Hotfix Detected:
Security Update for Exchange Server 2016 Cumulative Update 23 (KB5014261)
Security Vulnerability
Security Vulnerability: CVE-2022-21978
	Install the May 2022 SU and run /PrepareDomain or /PrepareAllDomains - See: https://aka.ms/HC-May22SU

There must be a domain that Exchange Health Checker is finding that hasn't had /PrepareDomain run against it. Please provide the debug log from running .\HealthChecker.ps1 -Verbose on one of the servers and email it to<EMAIL_ADDRESS>


NIFI-9354 Remove material-design-icons from Registry

Description of PR
NIFI-9354 Removes the material-design-icons dependency from package.json in nifi-registry-web-ui.
The nifi-registry-bootstrap.js imports the Material Design font from the covalent/core module, which supports application usage of icons using the Angular mat-icon component. The material-design-icons dependency is 31 MB compressed and almost 400 MB uncompressed, consisting of over 89,000 files.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[X] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[X] Does your PR title start with NIFI-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 main)?

[X] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[X] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] Have you verified that the full build is successful on JDK 8?
[ ] Have you verified that the full build is successful on JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

@scottyaslan how does this change look to you?

Nice optimization @exceptionfactory! +1


Added preliminary support for STM32L0x3 parts

Signed-off-by: Daniel Egger<EMAIL_ADDRESS>

@arkorobotics ping? The CI breakage comes from the NVIC changes which @Disasm addressed in his PR #30, but we can certainly separate those out if you' like to see a green CI before merging.

Thanks so much for adding L0x3 support!
For this PR, I'd prefer we keep the CI checks clean. We can either move forward with a separate PR minus NVIC changes or we can have @hannobraun to review/approve PR #30 first. If Hanno is busy or unable to review it soon, I'll address the PR on Wednesday when I have a moment to review it in detail.

I'm OK with splitting #30 in two, so that we have this PR before version bump.

Seems this PR is breaking after merging #30. I haven't done a deep dive but it looks like it's complaining about unused variables. If it's alright with you, I'd like to ask to have this resolved before merging. Once this is resolved, I'll merge and bump the version.

That seems to be fallout from the NVIC change, i.e. #30 not being sufficient in that the nvic parameter passed into the exti functions is now unused.

Uhm, that was a weird artifact of criss-cross-merging. You really should try not to do that. That was somewhat annoying to fix, it completely threw git off the rails.

Yikes... Sorry, I didn't mean for that to happen. I'll merge this now.

@therealprof To be honest, I have no clue if I did the right thing here... but everything has been merged and rolled up into 0.3.0. Please let me know if you see any glaring issues.

Looks all good now.


Issue writing pandas DataFrame to influxDB

Hi,
I'm trying to insert a simple DataFrame to influxDB and I'm having some issues making it work.
I have a very simple DataFrame with an index of class: DatetimeIndex. I'm using the following Python version 2.7.13 |Anaconda 4.3.1 (64-bit).
>>> df = df.set_index(['time'])
>>> df.head()
                         emg  ecg
time
1970-01-02 09:50:58.000    0    0
1970-01-02 09:50:58.005    0    0
1970-01-02 09:50:58.010    0    0
1970-01-02 09:50:58.015    0    0
1970-01-02 09:50:58.020    0    0
>>> df.dtypes
emg    int64
ecg    int64
dtype: object
>>> df.inde
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/avisdev/anaconda2/envs/venv_name/lib/python2.7/site-packages/pandas/core/generic.py", line 2970, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'inde'
>>> df.index
DatetimeIndex([       '1970-01-02 09:50:58', '1970-01-02 09:50:58.005000',
               '1970-01-02 09:50:58.010000', '1970-01-02 09:50:58.015000',
               '1970-01-02 09:50:58.020000', '1970-01-02 09:50:58.025000',
               '1970-01-02 09:50:58.030000', '1970-01-02 09:50:58.035000',
               '1970-01-02 09:50:58.040000', '1970-01-02 09:50:58.045000',
               ...
               '1970-01-02 09:50:58.950000', '1970-01-02 09:50:58.955000',
               '1970-01-02 09:50:58.960000', '1970-01-02 09:50:58.965000',
               '1970-01-02 09:50:58.970000', '1970-01-02 09:50:58.975000',
               '1970-01-02 09:50:58.980000', '1970-01-02 09:50:58.985000',
               '1970-01-02 09:50:58.990000', '1970-01-02 09:50:58.995000'],
              dtype='datetime64[ns]', name=u'time', length=200, freq=None)
>>> protocol = 'json'
>>> dbname='data'
>>> client = DataFrameClient(host='localhost', port=8086, database=dbname)
>>> client.write_points(df, measurement='emg_ecg', database=dbname)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/avisdev/anaconda2/envs/venv_name/lib/python2.7/site-packages/influxdb/_dataframe_client.py", line 117, in write_points
    numeric_precision=numeric_precision)
  File "/home/avisdev/anaconda2/envs/venv_name/lib/python2.7/site-packages/influxdb/_dataframe_client.py", line 237, in _convert_dataframe_to_lines
    if not (isinstance(dataframe.index, pd.tseries.period.PeriodIndex) or
AttributeError: 'module' object has no attribute 'period'

It seems the issue is a package dependency, but I do have the latest pandas version installed.
>>> pd.__version__
u'0.20.1'

Any ideas how to sort this out?

fixed in a2ac2e8118c9220419eaf483685eeda491335612

I've installed the package today, and it's not working.

Did you install from master? This commit is not available in any release.

I've installed it as it's described in the readme.
pip install influxdb

As I just said, this commit is not yet available in any release, so installing it from pypi is not enough.

I have just created a new tag and uploaded it to pypi for you. influxdb==4.1.1

thanks! that's awesome!

<3


dctl install perf fails

Describe the bug
❯ dctl install perf
using package 'linuxKernel.packages.linux_6_9.perf' to provide 'perf'
error:
       … while evaluating list element at index 0

       … while evaluating the attribute 'linuxKernel.packages.linux_6_9.perf'
         at /nix/store/v28ka3jaw93lzr43acmbaacbgl5rg4qi-source/pkgs/top-level/linux-kernels.nix:634:5:
          633|     linux_6_8 = throw "linux 6.8 was removed because it reached its end of life upstream"; # Added 2024-08-02
          634|     linux_6_9 = throw "linux 6.9 was removed because it reached its end of life upstream"; # Added 2024-08-02
             |     ^
          635|   };

       … while calling the 'throw' builtin
         at /nix/store/v28ka3jaw93lzr43acmbaacbgl5rg4qi-source/pkgs/top-level/linux-kernels.nix:634:17:
          633|     linux_6_8 = throw "linux 6.8 was removed because it reached its end of life upstream"; # Added 2024-08-02
          634|     linux_6_9 = throw "linux 6.9 was removed because it reached its end of life upstream"; # Added 2024-08-02
             |                 ^
          635|   };

       error: linux 6.9 was removed because it reached its end of life upstream
Error: failed to find packages (exit status: 1):

To Reproduce
dctl install perf
Expected behavior
No response
Diagnostic report (REQUIRED)
No response
Screenshots and additional context (optional)
No response

This is an issue with our package guessing feature. I'll see what I can do to make it more smart in this case.
In the meantime, you can run dctl install linuxKernel.packages.linux_6_10.perf.

thanks, that worked!
perf works but i'm having issues with other bpf tooling
❯ execsnoop
execsnoop: command not found
  * install package 'bcc'? [y/N] y
installed: bcc-0.31.0

1 package installed

Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module) or installing the kernel development package for your running kernel version.
chdir(/run/booted-system/kernel-modules/lib/modules/6.10.11-orbstack-00280-g1304bd068592/build): No such file or directory
Traceback (most recent call last):
  File "/nix/store/98wrwjipyjlz1cp0vqx0kdv1y02s582y-bcc-0.31.0/share/bcc/tools/.execsnoop-wrapped", line 273, in <module>
    b = BPF(text=bpf_text)
        ^^^^^^^^^^^^^^^^^^
  File "/nix/store/98wrwjipyjlz1cp0vqx0kdv1y02s582y-bcc-0.31.0/lib/python3.12/site-packages/bcc-0.31.0-py3.12.egg/bcc/__init__.py", line 480, in __init__
Exception: Failed to compile BPF module <text>

if i use host tooling it also fails:
❯ apt install bpfcc-tools
❯ execsnoop-bpfcc
Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module) or installing the kernel development package for your running kernel version.

❯ apt install perf-tools-unstable
❯ execsnoop-perf
Tracing exec()s. Ctrl-C to end.
ERROR: adding a kprobe for execve. Exiting.

looks like no kprobe support?
❯ ls /sys/kernel/debug/tracing/events/kprobes
lsd: /sys/kernel/debug/tracing/events/kprobes: No such file or directory (os error 2).

part of the issue is i don't know how to get headers for the 6.10 kernel
❯ dctl search linuxHeaders
linuxHeaders  6.9
  Header files and scripts for Linux kernel

OK, this worked:
❯ mkdir -p /lib/modules/6.10.11-orbstack-00280-g1304bd068592/build
❯ dctl install xz
❯ tar Jxvf /sys/kernel/kheaders.tar.xz
❯ execsnoop-bpfcc
PCOMM            PID     PPID    RET ARGS
wormhole-attach  416504  335       0 /opt/orbstack-guest/wormhole-attach {"init_pid":405187,"wormhole_mount_tree_fd":3,"exit_code_pipe_write_fd":4,"log_fd":5,"drm_token":"
dctl             416507  416506    0 /nix/orb/sys/bin/dctl __entrypoint --
zsh              416507  416506    0 /nix/orb/sys/bin/zsh
stty             416510  416507    0 /nix/orb/sys/bin/stty -ixon
ls               416512  416507    0 /nix/orb/sys/bin/ls --version

Looks like bcc in Debug Shell and bpfcc-tools in Ubuntu machines can both use /sys/kernel/kheaders.tar.xz directly. It just requires xz to be installed so that tar can extract it, so running apt install xz-utils or dctl install xz before execsnoop fixes the problem.

Thanks! Can't believe it was as easy as installing xz 😆
I am trying ddprof but its running into a ENOIMPL somewhere?
https://docs.datadoghq.com/profiler/profiler_troubleshooting/ddprof/
❯ /ddprof/bin/ddprof -p 8
<ERROR>Sep 30 19:11:33.246293 ddprof[1042]: Error calling perf_event_open on watcher 0.0 (Function not implemented)
<ERROR>Sep 30 19:11:33.248572 ddprof[1042]: PERFOPEN: error during perf_event_open at /go/src/github.com/DataDog/apm-reliability/ddprof-build/ddprof/src/pevent_lib.cc:103
<ERROR>Sep 30 19:11:33.248868 ddprof[1042]: Forward error at /go/src/github.com/DataDog/apm-reliability/ddprof-build/ddprof/src/pevent_lib.cc:118 - PERFOPEN: error during perf_event_open
<ERROR>Sep 30 19:11:33.248918 ddprof[1042]: Forward error at /go/src/github.com/DataDog/apm-reliability/ddprof-build/ddprof/src/pevent_lib.cc:195 - PERFOPEN: error during perf_event_open
<ERROR>Sep 30 19:11:33.248959 ddprof[1042]: Forward error at /go/src/github.com/DataDog/apm-reliability/ddprof-build/ddprof/src/pevent_lib.cc:264 - PERFOPEN: error during perf_event_open
<ERROR>Sep 30 19:11:33.249003 ddprof[1042]: Forward error at /go/src/github.com/DataDog/apm-reliability/ddprof-build/ddprof/src/ddprof.cc:114 - PERFOPEN: error during perf_event_open
<ERROR>Sep 30 19:11:33.249069 ddprof[1042]: Failed to initialize profiling

the error persists even when setting perf_event_paranoid=1 as described on https://docs.datadoghq.com/profiler/profiler_troubleshooting/ddprof/#error-error-calling-perfopen-on-watcher

I also tried ebpf-profiler, but it seems to have an issue where it doesn't work inside containers.
https://github.com/open-telemetry/opentelemetry-ebpf-profiler/issues/170

samply uses perf and works inside orbstack.

I also tried ebpf-profiler, but it seems to have an issue where it doesn't work inside containers.
open-telemetry/opentelemetry-ebpf-profiler#170

Does orbstack support --pid=host?

Yes, but that's technically still a container due to OrbStack's architecture.

Fixed in v1.8.1.

is it possible to use perf in an orb machine?
⬢ [Systemd] ❯ perf top
WARNING: perf not found for kernel 6.11.5-orbstack

  You may need to install the following packages for this specific kernel:
    linux-tools-6.11.5-orbstack-00280-g96d99c92a42b
    linux-cloud-tools-6.11.5-orbstack-00280-g96d99c92a42b

Yes. Ubuntu's perf wrapper scripts don't like the kernel version mismatch, but we'll add a workaround in a future version. For now, you can install linux-tools-generic and run /usr/lib/linux-tools/*-generic/perf directly.


Add Kibo X Ghost by Dion Timmer X Justin Bieber

Song Name
Kibo X Ghost
Artist Name
Dion Timmer X Justin Bieber
Source
Youtube
Youtube Link
rO9ghFBwyjw
Direct File Link
No response
Song ID
456732
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 110017353
Downloaded: Yes

Nevermind I realized that the offset is broken


Add list selector to TodoEditor(for #14)

Sorry for the previous commit.
Now, please check this.

./todoman/ui.py:99:1: W293 blank line contains whitespace
./todoman/ui.py:104:57: W291 trailing whitespace
./todoman/ui.py:106:47: W291 trailing whitespace
./todoman/ui.py:107:1: W293 blank line contains whitespace
ERROR: InvocationError: '/home/anubha/Desktop/todoman/.tox/flake8/bin/flake8'
___________________________________________________________________ summary ____________________________________________________________________
ERROR:   flake8: commands failed
(venv_todo) anubha@anubha-Inspiron-3542:~/Desktop/todoman/todoman$ tox -epy3

can you please tell me that how I remove this InvocationError.

Firstly, I think it is my system problem so I pulled it.

@AnubhaAgrawal the first four lines of the output are styling problems. For example, the firt line says that in ui.py on line 99 you have an empty line with whitespace. Remove the whitespace, and that error will go away.

This is looking pretty good :+1:
I've left a few comments, also please fix the styling problems shown by tox -eflake8.
Also please try setting up todoman, creating a task and running todo edit 1.

can you please tell me that how I remove this InvocationError.

The exact errors are detailed immediately above:
./todoman/ui.py:99:1: W293 blank line contains whitespace
./todoman/ui.py:104:57: W291 trailing whitespace
./todoman/ui.py:106:47: W291 trailing whitespace
./todoman/ui.py:107:1: W293 blank line contains whitespace

You'll need to fix those style violations (the numbers between colons are the exact line numbers).

I humbly request you to please tell now how I find my mistakes.

@AnubhaAgrawal I think the best way to understand your changes is to install and configure todoman (see above), creating two task lists, creating a task and editing it with todo edit. Under the save-button you have added a selector that should allow you to move the task to the other list.

Please review the commits. I have completed the required changes.

Note to self: The diff is confusing, but those extra changes go away when rebasing

Superceded by #141

No, that is a different PR!
On 26 February 2017 13:39:18 CET, Hugo Osvaldo Barrera<EMAIL_ADDRESS>wrote:

Superceded by #141
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/pimutils/todoman/pull/134#issuecomment-282553066

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Sorry, my mistake. Looks like the other PR also includes the commits from this on though.

Sorry, my coach did not talk with you(@untitaker)because he was busy in some
work. He talk with you today on IRC channel.
On Sun, Feb 26, 2017 3:30 PM, Markus Unterwaditzer<EMAIL_ADDRESS>wrote:
@untitaker  commented on this pull request.

In todoman/ui.py:

@@ -100,6 +99,15 @@ def init(self, todo, lists, formatter):
in widgets.ExtendedEdit.HELP)
)

   def change_current_list(radio_button, new_state, new_list):

       self.current_list = new_list

   for _list in self.lists:

       urwid.RadioButton(items, _list.name,

                         state=_list is self.current_list,

Sorry, this actually needs to be _list.name == self.current_list.name. Also you
will hit an error because not everything in items  is a RadioButton. For that
reason, please create a new list list_selector = [], pass that instead of items
to RadioButton, then after the for-loop:
items.append(urwid.Pile(list_selector))
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
Anubha Agrawal,
Sophomore year B.tech,
Computer Science Department
Zakir Hussain College of Engineering & Technology, AMU

Thanks!


Clean up handleQueryCommand

This cleans up handleQueryCommand a bit. I've done this in preparation for #52
I also removed unnecessary logic (extra if/else when not needed)

Couple of stuff I've found (will be addressed in another PRs), in other words more preparation

we should not pass args to the queryResults function. We are already handling the command itself (called it queryPhrase here, open to suggestion on naming) in this function, so why not pass the whole phrase as a string directly to the plugin (with the keyword if it is not plugin match, otherwise not)
we should pass MAX_RESULTS to the plugin, and let them potentially pass this to API requests that accepts a limit on the results they need

Coverage remained the same at 50.166% when pulling 72e10e15d811794c7894de4e41119c66310c006e on adnasa:handle-query-command into 8997c7fbd78c4b90ae0a01a56df0ae8c9a868592 on vutran:master.

@vutran

It would be good to allow plugins to manipulate their own queries if needed

yes of course, but the point is that we pass in it. The plugins decide in their own right whether they want to use or not


Cannot instantiate Transformers("microsoft/Phi-3-mini-4k-instruct")

The bug
A clear and concise description of what the bug is.
The issue seems to be with this line. The '<0x20>' token is not surviving tokenize/detokenize round-trip, and we get an IndexError.
To Reproduce
from guidance import models
model = models.Transformers("microsoft/Phi-3-mini-4k-instruct")

File ~/pkg/guidance-ai/guidance/models/transformers/_transformers.py:104, in TransformersTokenizer.init(self, model, transformers_tokenizer, chat_template, ignore_bos_token, **kwargs)
102 if hasattr(transformers_tokenizer, "convert_tokens_to_string"):
103     token_str = transformers_tokenizer.convert_tokens_to_string([token])
--> 104     roundtrip_id = transformers_tokenizer.encode(token_str)[0]
105     if roundtrip_id == i:
106         byte_coded = token_str.encode()
IndexError: list index out of range

System info (please complete the following information):

OS (e.g. Ubuntu, Windows 11, Mac OS, etc.): Mac OS
Guidance Version (guidance.__version__): current head

@riedgar-ms @ambisinister tag :)

Nothing makes sense and I can't repro on my other machine...

I'll take a look in a minute also

Can't repro on my macbook with the following
import guidance
from guidance import gen, models

model = models.Transformers("microsoft/Phi-3-mini-4k-instruct", echo=False)

@guidance
def gen_test(lm):
    lm = lm + "Scott is a " + gen(name="test", max_tokens=40) +"-Hi there"
    return lm

model += gen_test()

print(str(model))

output
Scott is a doctor who sees 5 adult patients and 4 child patients every hour. Adult visits cost $50, while child visits cost $30. If Scott works for 8 hours-Hi there

Ok, thanks for the support y'all :)
Clearly something funky going on on my side, maybe something stuck in a cache from my PR branch...

@nking-1 can repro, so at least I'm not crazy!

So weird...my best guess is that there may be old versions of phi-3 (which has had updates recently) in the HF cache on your local machines? I downloaded a fresh copy when I tried on my side.

Ooh very funky. @Harsha-Nori it looks like it comes down to the difference between the use_fast=True and use_fast=False paths taken when instantiating the AutoTokenizer...
I can repro by uninstalling sentencepiece, which causes the use_fast=False branch to fail (silently, I may add... that exception handler should probably be tightened...). Can you confirm on your side?
I'm still totally unsure why this is causing the llguidance PR branch to fail CI... The workflow still appears to be installing sentencepiece...

Tricky tricky. PR removed protobuf dependency, causing a silent exception in the exact same place:
ImportError:
The new behaviour of LlamaTokenizer (with `self.legacy = False`) requires the protobuf library but it was not found in your environment. Checkout the instructions on the
installation page of its repo: https://github.com/protocolbuffers/protobuf/tree/master/python#installation and follow the ones

Sorry, only just saw this. I have been wondering if we should be tweaking the TransformersTokenizer slightly. Specifically swapping these two blocks:
https://github.com/guidance-ai/guidance/blob/181ea1ec5875ca3cd81ea58717b37102f50ef28d/guidance/models/transformers/_transformers.py#L76
https://github.com/guidance-ai/guidance/blob/181ea1ec5875ca3cd81ea58717b37102f50ef28d/guidance/models/transformers/_transformers.py#L89
Basically, prioritise @ambisinister 's method of constructing the byte decoder over the one from sentencepiece (if both are available).

@riedgar-ms it looks like the get_vocab approach fails when the use_fast=False path is taken (at least for microsoft/Phi-3-mini-4k-instruct), and that error was obfuscated by the fact that the sentencepiece is prioritized. It may be worth looking into that issue before prioritizing the new implementation.
There's another issue lurking here though -- the silent fallback to a different tokenizer made this a really difficult bug to track down/repro. I'd advocate for separating the except block into a few cases...

ImportError -- transformers will raise this if the user needs to install an additional dependency for the fast=False path to work. I think we should at a minimum give a warning if we are going to fall-back in this case, but I'd actually maybe argue for just raising the exception.
AssertionError -- tokenizer is missing some bytes. Falling back is fine, but maybe it's a warning?
Any other error -- maybe don't catch at all until people raise new issues...?

My biggest caution here is that I don't actually know why we're falling back here. Was the original intention to fall back in just case 1 and 2? Just 2 and 3? etc.

I encountered the same error on linux, and it turned out that sentencepiece wasn't installed. Installing sentencepiece resolved the problem.


Serverless AI Tutorial: npm install may not be applicable

I was following the Serverless AI Tutorial and chose the Rust path.  However, the docs show npm install as a command to run before spin build --up.  I wonder if we should add a note to mention this is only needed if the app is TS/JS?

Thanks @vdice fixed in https://github.com/fermyon/developer/pull/900


Make Column iterable, solves #76

Addresses #76 : for convenience, allow iterating over a proxy Column's values.
@JanusWesenberg any reason not to do this?

Effort is better spent elsewhere. Closing this for now.

Side note: In fact, __iter__ is not strictly needed if __getitem__ is defined: If __len__ is defined, the default is (self[k] for k in range(len(self))). If __len__ is defined the default just calls getitem for integers until it fails.

Side side note @JanusWesenberg : the above seems to be true, but apparently it breaks type hinting with Iterable and isinstance(obj, Iterable).

Checking isinstance(obj, Iterable) detects classes that are registered as Iterable or that have an iter() method, but it does not detect classes that iterate with the getitem() method. The only reliable way to determine whether an object is iterable is to call iter(obj).


Category filter

This PR is build upon another pending PR "New agent and owner menu" https://github.com/thekordy/ticketit/pull/322
Added category filter on the same header menu. About this update:

Listed agents depending on filtered category.
Ticket list titles specify category, agent and owner (if any of these is chosen).
Category column disappears when category filter is in use

A lot of issues, let's move on.


homebrew 1.0.0+ is conflicting with homebrew_root

In https://github.com/boxen/our-boxen/blob/master/facts.d/example.yaml, one could set the default homebrew_root folder.
Since 1.0.0, homebrew now migrates the HOMEBREW_REPOSITORY when you run brew update.
Running boxen after a brew update reinstalls all packages.
anyone having this issue ?

I didn't experience this post upgrade to > 1.0.
I'm on vacation at the moment but will be back in another week or so if you're still having this issue.

I'm getting the following after a post upgrade to > 1.0. Basically boxen trying to recreate the folders that homebrew just migrated.
Notice: Compiled catalog for salimanes-macbook-pro-2.local in environment production in 4.38 seconds
Notice: /Stage[main]/Foreman/Exec[install foreman standalone]/returns: executed successfully
Notice: /Stage[main]/Homebrew/File[/usr/local/Library]/ensure: created
Notice: /Stage[main]/Homebrew/Exec[install homebrew to /usr/local]/returns: executed successfully
Notice: /Stage[main]/Homebrew/File[/usr/local/Library/Taps]/ensure: created
Notice: /Stage[main]/Homebrew/File[/usr/local/Library/Taps/boxen]/ensure: created
Notice: /Stage[main]/Homebrew/File[/usr/local/Library/Taps/boxen/homebrew-brews]/ensure: created
Notice: /Stage[main]/Homebrew/File[/usr/local/Library/Taps/boxen/homebrew-brews/cmd]/ensure: created
Notice: /Stage[main]/Homebrew/File[/usr/local/Library/Taps/boxen/homebrew-brews/cmd/boxen-bottle-hooks.rb]/ensure: defined content as '{md5}d4342ff99b81df9954412430a1f20c36'
Notice: /Stage[main]/Homebrew/File[/usr/local/Library/Taps/boxen/homebrew-brews/cmd/brew-boxen-install.rb]/ensure: defined content as '{md5}a4beded3206823a5c06301cf3b1c47a5'
Notice: /Stage[main]/Python::Pyenv/Repository[/opt/boxen/pyenv]/ensure: ensure changed 'update' to '8f7fb57fbbf12bdf415ea7ddfe65409d8c548b1b'
Notice: /Stage[main]/Nodejs::Build/Repository[/opt/boxen/node-build]/ensure: ensure changed 'update' to 'f3b43d2286e511471960925594f45dd48c7bf69b'
Notice: /Stage[main]/People::Salimane/Exec[install dotfiles]/returns: executed successfully
Notice: /Stage[main]/Ruby::Build/Repository[/opt/boxen/ruby-build]/ensure: ensure changed 'update' to '9a5d431b25fd0319bc02b3937707f4d0b00a9211'
Notice: /Stage[main]/Homebrew/File[/usr/local/Library/Taps/boxen/homebrew-brews/cmd/brew-boxen-latest.rb]/ensure: defined content as '{md5}17c81cf41ea3f014b34f4b83fe65e9d4'
Notice: /Stage[main]/Imagemagick/Homebrew::Formula[imagemagick]/File[/usr/local/Library/Taps/boxen/homebrew-brews/imagemagick.rb]/ensure: defined content as '{md5}01d416cb181fbf56caf748118bf50015'

@salimane did you nuke your setup before upgrading to the new OS?

@jacobbednarz  no but i can do nuke and setup again to see if it will solve the problem

In our internal fork, we mandate the nuke before an OS upgrade as we've found traces left behind during the upgrade often cause edge cases. Some people have upgraded to Sierra and I don't know of anyone hitting the above issue so I'm not sure but it's worth a try if you can.

@salimane just checking if this is still an issue?

yep this is still an issue, i'm not sure if it's related to user permissions.
Error: /usr/local/Homebrew already exists.
Please remove it manually or uninstall and reinstall Homebrew into a new
location as the migration cannot be done automatically.

I'm just looking into the error response here and wondering why it's not bailing out. :confused:
Could you put in the following debugging to help identify whether something is missing here?
$ diff -Naur /opt/boxen/homebrew/bin/brew.backup /opt/boxen/homebrew/bin/brew
--- /opt/boxen/homebrew/bin/brew.backup	2017-01-24 08:08:39.000000000 +1100
+++ /opt/boxen/homebrew/bin/brew	2017-01-24 08:08:09.000000000 +1100
@@ -42,6 +42,10 @@
   fi
 fi

+echo "==========================="
+echo "REPOSITORY: ${HOMEBREW_REPOSITORY}"
+echo "PREFIX: ${HOMEBREW_PREFIX}"
+
 HOMEBREW_LIBRARY="$HOMEBREW_REPOSITORY/Library"

 source "$HOMEBREW_LIBRARY/Homebrew/brew.sh"

This should be applied to the brew executable (wherever that lives in your system now - mine was /opt/boxen/homebrew/bin/brew).

Ok this is what I've got locally
salimane at Salimanes-MacBook-Pro-2 (git:salimane.com)  in ~
⚛ diff -Naur /usr/local/bin/brew.backup /usr/local/bin/brew
--- /usr/local/bin/brew.backup	1970-01-01 01:00:00.000000000 +0100
+++ /usr/local/bin/brew	2016-11-16 18:38:00.000000000 +0100
@@ -0,0 +1,47 @@
+#!/bin/bash
+set +o posix
+
+quiet_cd() {
+  cd "$@" >/dev/null
+}
+
+symlink_target_directory() {
+  local target="$(readlink "$1")"
+  local target_dirname="$(dirname "$target")"
+  local directory="$2"
+  quiet_cd "$directory" && quiet_cd "$target_dirname" && pwd -P
+}
+
+BREW_FILE_DIRECTORY="$(quiet_cd "${0%/*}/" && pwd -P)"
+HOMEBREW_BREW_FILE="${BREW_FILE_DIRECTORY%/}/${0##*/}"
+HOMEBREW_PREFIX="${HOMEBREW_BREW_FILE%/*/*}"
+
+# Default to / prefix if unset or the bin/brew file.
+if [[ -z "$HOMEBREW_PREFIX" || "$HOMEBREW_PREFIX" = "$HOMEBREW_BREW_FILE" ]]
+then
+  HOMEBREW_PREFIX="/"
+fi
+
+HOMEBREW_REPOSITORY="$HOMEBREW_PREFIX"
+
+# Resolve the bin/brew symlink to find Homebrew's repository
+if [[ -L "$HOMEBREW_BREW_FILE" ]]
+then
+  BREW_FILE_DIRECTORY="$(symlink_target_directory "$HOMEBREW_BREW_FILE" "$BREW_FILE_DIRECTORY")"
+  HOMEBREW_REPOSITORY="${BREW_FILE_DIRECTORY%/*}"
+fi
+
+# Try to find a /usr/local HOMEBREW_PREFIX where possible (for bottles)
+if [[ -L "/usr/local/bin/brew" ]]
+then
+  USR_LOCAL_BREW_FILE_DIRECTORY="$(symlink_target_directory "/usr/local/bin/brew" "/usr/local/bin")"
+  USR_LOCAL_HOMEBREW_REPOSITORY="${USR_LOCAL_BREW_FILE_DIRECTORY%/*}"
+  if [[ "$HOMEBREW_REPOSITORY" = "$USR_LOCAL_HOMEBREW_REPOSITORY" ]]
+  then
+    HOMEBREW_PREFIX="/usr/local"
+  fi
+fi
+
+HOMEBREW_LIBRARY="$HOMEBREW_REPOSITORY/Library"
+
+source "$HOMEBREW_LIBRARY/Homebrew/brew.sh"

@salimane based on this diff, you are running it against a non-existent file 😛  (a.k.a the backup file which I generated). are you able to drop in this debugging and we'll see what it produces?
Also, did you nuke Boxen before the update?

@jacobbednarz , here is the debug output
salimane at Salimanes-MacBook-Pro-2 (git:salimane.com)  in ~
⚛ brew update
===========================
REPOSITORY: /usr/local
PREFIX: /usr/local
To restore the stashed changes to /usr/local run:
  'cd /usr/local && git stash pop'
Already up-to-date.


Questions on sample projects - Android

Good day, the sample apps and SDK itself are still awesome and robust. Great work!
I just have some few question on one of the sample particularly in PacketProcessor.class that uses native library written in C++.

How can I check if packet_processing_plugin_jni is working properly and what exactly it is, like where it is source and does it have any documetation?

Can we use it as well in voice call project sample?

Another one is that I cannot see a working sample with share screen as it is seems to be included in README.md file in this Advance Video project.

hi @ArcherEmiya05 the corresponding c++ files are placed here
https://github.com/AgoraIO/Advanced-Video/tree/f96c77ae32670a7f3c00680bf6b1e38207db5493/Android/sample-video-encrypt/src/main/cpp
packet_processing_plugin_jni is basically a c++ jni wrapper for you to call c++ apis from java.
And you can for sure use in the voice call project.
For share screen please look at switch external video sample

Is there a way to know if it works properly, sorry not familiar with native C++ thing :<

what feature do you want to achieve?

Just wanted to log any details or related from encrypted packet data while having a call session.


[custom channels 1/5]: extract PART1 from mega staging branch

Extracts part 1 from https://github.com/lightningnetwork/lnd/pull/8960.

Thanks a lot for the review, @yyforyongyu! I pushed 4 fixup commits. I'll rebase/squash them shortly before merging, there might be more after @ProofOfKeags' review.


Consider using a continuous build system

It would be helpful to have a reproducible environment with a known good build. Without that, it can be difficult for developers to evaluate whether they want to use or contribute to gRPC-haskell.
It appears that GitHub now offers a free build service (https://github.blog/2019-08-08-github-actions-now-supports-ci-cd/) for open source repositories.
You should be able to block pull requests using this service, so that no PR can be submitted unless the build is successful. See https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/about-required-status-checks.
The build script can be as simple as just running the stack build or cabal build commands from the README. I recommend building with examples, since most newcomers to the project will want to see the examples first.
If you want to get fancier, you can consider using Bazel, which appears to be better for hermetic builds than Stack or Nix alone. See for example https://www.tweag.io/blog/2018-03-15-bazel-nix/.

Fixed by https://github.com/awakesecurity/gRPC-haskell/pull/64

Fixed by https://github.com/awakesecurity/gRPC-haskell/pull/64


Make it possible to distinguish between no updates available and no updates supported

Today, if you query the firmware update service, you will only see updates if there are firmware updates available for the device in question. When you don't see any updates, however, it's hard to know whether that means that the device IS supported by the update service but has no updates available or the device ISN'T supported by the update service and therefore has no updates available.
One suggestion @AlCalzone had on Discord was to return a null instead of an empty list to indicate that the device is not supported by the service. Not sure if this needs to go into the service itself or into the caller, but starting here for tracking purposes

One thing we may have to consider: Some devices are gated by firmware version, e.g. the recently Aeotec devices. If you are on their latest version, no file will match, so without further checks (i.e. does a file exist for any firmware version?), the service response would be not supported. So I guess we'd also need to check if there is an update available to the current version.


[glfw3] Build error

Host Environment

OS: Windows 10

To Reproduce
Steps to reproduce the behavior:
`./vcpkg install raylib:wasm32-emscripten
Failure logs
PS C:\Projects\Emscripten Test> .\vcpkg\vcpkg.exe install raylib:wasm32-emscripten
Computing installation plan...
The following packages will be built and installed:

glfw3[core]:wasm32-emscripten -> 3.3.7
raylib[core,use-audio]:wasm32-emscripten -> 4.0.0#3
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet wasm32-emscripten...
Restored 0 packages from C:\Users\JoPer\AppData\Local\vcpkg\archives in 163.4 us. Use --debug to see more details.
Installing 1/2 glfw3:wasm32-emscripten...
Building glfw3[core]:wasm32-emscripten...
-- Using community triplet wasm32-emscripten. This triplet configuration is not guaranteed to succeed.-- [COMMUNITY] Loading triplet configuration from: C:\Projects\Emscripten Test\vcpkg\triplets\community\wasm32-emscripten.cmake
-- Using cached glfw-glfw-45ce5ddd197d5c58f50fdd3296a5131c894e5527.tar.gz.
-- Cleaning sources at C:/Projects/Emscripten Test/vcpkg/buildtrees/glfw3/src/1c894e5527-3070f6d62b.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Projects/Emscripten Test/vcpkg/downloads/glfw-glfw-45ce5ddd197d5c58f50fdd3296a5131c894e5527.tar.gz
-- Using source at C:/Projects/Emscripten Test/vcpkg/buildtrees/glfw3/src/1c894e5527-3070f6d62b.clean
-- Found external ninja('1.10.2').
-- Configuring wasm32-emscripten
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:128 (message):
Command failed: C:/mingw64/bin/ninja.exe -v
Working Directory: C:/Projects/Emscripten Test/vcpkg/buildtrees/glfw3/wasm32-emscripten-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
C:\Projects\Emscripten Test\vcpkg\buildtrees\glfw3\config-wasm32-emscripten-out.log

Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:331 (vcpkg_execute_required_process)
ports/glfw3/portfile.cmake:20 (vcpkg_cmake_configure)
scripts/ports.cmake:146 (include)
error: building glfw3:wasm32-emscripten failed with: BUILD_FAILED
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+glfw3
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[glfw3]+Build+error
Include '[glfw3] Build error' in your bug report title, the following version information in your bug
description, and attach any relevant failure logs from above.
vcpkg-tool version: 2022-05-05-67e17c1782801cf481be9ac0b3765dff3e4bdeb8
vcpkg-scripts version: 261ca0dd4 2022-05-18 (11 hours ago)
-------\vcpkg\buildtrees\glfw3\config-wasm32-emscripten-out.log-----------------
[1/2] cmd /c "cd ../../wasm32-emscripten-dbg && "C:/cmake/bin/cmake.exe" "C:/Projects/Emscripten Test/vcpkg/buildtrees/glfw3/src/1c894e5527-3070f6d62b.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/Projects/Emscripten Test/vcpkg/packages/glfw3_wasm32-emscripten/debug" "-DGLFW_BUILD_EXAMPLES=OFF" "-DGLFW_BUILD_TESTS=OFF" "-DGLFW_BUILD_DOCS=OFF" "-DCMAKE_MAKE_PROGRAM=C:/mingw64/bin/ninja.exe" "-DCMAKE_SYSTEM_NAME=Emscripten" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Projects/Emscripten Test/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake" "-DVCPKG_TARGET_TRIPLET=wasm32-emscripten" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Projects/Emscripten Test/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=wasm32" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Projects/Emscripten Test/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/Projects/Emscripten Test/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF""
FAILED: ../../wasm32-emscripten-dbg/CMakeCache.txt
cmd /c "cd ../../wasm32-emscripten-dbg && "C:/cmake/bin/cmake.exe" "C:/Projects/Emscripten Test/vcpkg/buildtrees/glfw3/src/1c894e5527-3070f6d62b.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/Projects/Emscripten Test/vcpkg/packages/glfw3_wasm32-emscripten/debug" "-DGLFW_BUILD_EXAMPLES=OFF" "-DGLFW_BUILD_TESTS=OFF" "-DGLFW_BUILD_DOCS=OFF" "-DCMAKE_MAKE_PROGRAM=C:/mingw64/bin/ninja.exe" "-DCMAKE_SYSTEM_NAME=Emscripten" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Projects/Emscripten Test/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake" "-DVCPKG_TARGET_TRIPLET=wasm32-emscripten" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Projects/Emscripten Test/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=wasm32" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Projects/Emscripten Test/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/Projects/Emscripten Test/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF""
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Using X11 for window creation
CMake Error at C:/cmake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find X11 (missing: X11_X11_LIB)
Call Stack (most recent call first):
C:/cmake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
C:/cmake/share/cmake-3.23/Modules/FindX11.cmake:457 (find_package_handle_standard_args)
C:/Projects/Emscripten Test/vcpkg/scripts/buildsystems/vcpkg.cmake:824 (_find_package)
CMakeLists.txt:208 (find_package)
-- Configuring incomplete, errors occurred!
See also "C:/Projects/Emscripten Test/vcpkg/buildtrees/glfw3/wasm32-emscripten-dbg/CMakeFiles/CMakeOutput.log".
[2/2] cmd /c "cd .. && "C:/cmake/bin/cmake.exe" "C:/Projects/Emscripten Test/vcpkg/buildtrees/glfw3/src/1c894e5527-3070f6d62b.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/Projects/Emscripten Test/vcpkg/packages/glfw3_wasm32-emscripten" "-DGLFW_BUILD_EXAMPLES=OFF" "-DGLFW_BUILD_TESTS=OFF" "-DGLFW_BUILD_DOCS=OFF" "-DCMAKE_MAKE_PROGRAM=C:/mingw64/bin/ninja.exe" "-DCMAKE_SYSTEM_NAME=Emscripten" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Projects/Emscripten Test/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake" "-DVCPKG_TARGET_TRIPLET=wasm32-emscripten" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Projects/Emscripten Test/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=wasm32" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Projects/Emscripten Test/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/Projects/Emscripten Test/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF""
FAILED: ../CMakeCache.txt
cmd /c "cd .. && "C:/cmake/bin/cmake.exe" "C:/Projects/Emscripten Test/vcpkg/buildtrees/glfw3/src/1c894e5527-3070f6d62b.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/Projects/Emscripten Test/vcpkg/packages/glfw3_wasm32-emscripten" "-DGLFW_BUILD_EXAMPLES=OFF" "-DGLFW_BUILD_TESTS=OFF" "-DGLFW_BUILD_DOCS=OFF" "-DCMAKE_MAKE_PROGRAM=C:/mingw64/bin/ninja.exe" "-DCMAKE_SYSTEM_NAME=Emscripten" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Projects/Emscripten Test/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake" "-DVCPKG_TARGET_TRIPLET=wasm32-emscripten" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Projects/Emscripten Test/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=wasm32" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Projects/Emscripten Test/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/Projects/Emscripten Test/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF""
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Using X11 for window creation
CMake Error at C:/cmake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find X11 (missing: X11_X11_LIB)
Call Stack (most recent call first):
C:/cmake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
C:/cmake/share/cmake-3.23/Modules/FindX11.cmake:457 (find_package_handle_standard_args)
C:/Projects/Emscripten Test/vcpkg/scripts/buildsystems/vcpkg.cmake:824 (_find_package)
CMakeLists.txt:208 (find_package)
-- Configuring incomplete, errors occurred!
See also "C:/Projects/Emscripten Test/vcpkg/buildtrees/glfw3/wasm32-emscripten-rel/CMakeFiles/CMakeOutput.log".
ninja: build stopped: subcommand failed.
-----CMakeOutput.log----
The target system is: Emscripten - 1 - x86
The host system is: Windows - 10.0.19044 - AMD64
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD succeeded with the following output:
Change Dir: C:/Projects/Emscripten Test/vcpkg/buildtrees/glfw3/wasm32-emscripten-rel/CMakeFiles/CMakeTmp
Run Build Command(s):C:/mingw64/bin/ninja.exe cmTC_9fb08 && [1/2] Building C object CMakeFiles/cmTC_9fb08.dir/src.c.o
[2/2] Linking C executable cmTC_9fb08.js
Source file was:
#include <pthread.h>
static void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(thread);
pthread_cancel(thread);
pthread_join(thread, NULL);
pthread_atfork(NULL, NULL, NULL);
pthread_exit(NULL);
return 0;
}
Additional context
I have very limited knowledge about bouth emsdk and vcpk as this is the first project I've tried to setup with this configuration.
I pretty much just followd the steps from this site: https://thatonegamedev.com/cpp/programming-a-c-game-for-the-web-emscripten/
Thank you.

Emscripten comes with its own patched version of glfw which you can enable using "-s USE_GLFW=3" in your shell args (which can be passed to CMAKE_C_FLAGS and CMAKE_CXX_FLAGS. So compiling glfw using vcpkg is not needed.

This issue hasn’t been updated in 3 months, if it is still an issue, please reopen this issue.

This was closed prematurely. There is an actual issue here with the portfile since this commit which introduced the dependency for glfw3 to raylib for all platforms except windows. The case should be for all platforms except windows and emscripten since emscripten provides its own implementation.


Use of unresolved identifier 'OAuthSwiftOpenURLExternally' with OAuthSwift 2.1.0

Description:
I was using version 2.0.0 without problems, I have updated to 2.1.0 trying to get rid of three annoying warnings and then got this Build Time error in OAuth Swift URL Handler Type.swift, line 27:
Use of unresolved identifier 'OAuthSwiftOpenURLExternally'
I'm the only one with this issue? If I go back to 2.0.0 everything works again.
OAuth Provider? (Twitter, Github, ..):
Custom ADFS server
OAuth Version:

[ ] Version 1
[x] Version 2

OS (Please fill the version) :

[x] iOS :
[ ] OSX :
[ ] TVOS :
[ ] WatchOS  :

Installation method:

[ ] Carthage
[x] CocoaPods
[ ] Swift Package Manager
[ ] Manually

Library version:

[ ] head
[x] v2.1.0
[ ] v2.0.0
[ ] v1.4.1
[ ] v1.2 (Swift 4.0)
[ ] other: (Please fill in the version you are using.)

Xcode version:

[ ] 11.x (Swift 5.1)

[ ] 10.x (Swift 5.0)

[ ] 10.x (Swift 4.1)

[ ] 9.3 (Swift 4.1)

[ ] 9.0 (Swift 4.0)

[x] other: 11.4 (Swift 5.2)

[ ] objective c

did you try head /master version?
because I have no issue with Xcode project

I create a release with latest code


Release Event Hubs April 2020 update for Java

This is a parent issue tracking the work planned for Event Hubs for the April update.
Code complete date: April 3rd, 2020
API design

[ ] In Progress Propose smarter send APIs such that the user doesnt have to one by one fill the EventDataBatch to be able to send events
[x] In Progress Propose API to receive in batches
[ ] In Progress Propose API to control greedy claiming of partitions by the Event Processor

Features

[ ] Code sample showing how to convert IotHub connection string to an Event Hubs compatible one which points to the built-in Event Hubs endpoint
[x] Code sample showing workaround needed for Event Hubs in Azure Stack
[ ] Receiver Redirect feature
[ ] Review current logging experience, come up with a plan to streamline and be consistent across languages for ease of customer support, tackle low hanging fruits

cc @conniey, @srnagar

Other than the feature to receive in batches and the code sample showing workaround needed for Event Hubs in Azure Stack, rest of the work here is moved to the May 2020 milestone.
@srnagar Once released, paste the links to the released packages (the beta and the non beta ones) and close this issue with a note on what is going as part of the non beta release

Maven releases:
Beta EH
Beta CheckpointStore
EH 5.0.3
Checkpoint store 1.0.3


Can't connect Minio S3 instance

Hi there, I can't put into words how awesome pockebase is, big ups to you guys. I'm trying to connect a self hosted version of Minio and cannot for the life of me get it to work. I have looked at every other Minio and S3 issue already. Signature does not match error with force style turned on, unknown apierror when I turn it off. I used the Minio python SDK with these exact credentials and was able to upload a file. Any help would be appreciated.

I don't see how this is a PocketBase issue.
Please check https://github.com/pocketbase/pocketbase/discussions/90.
I've also tested the current S3 integration with the MinIO playground and it is working correctly for me. Make sure that provided configuration is correct.

For completeness, here is the configuration I used:
- Endpoint:   https://play.min.io
- Bucket:     pbtest123456
- Region:     us-east-1
- AccessKey:  Q3AM3UQ867SPQQA43P2F
- Secret:     zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG
- path-style: true

I'm having the exact same issue. #79 doesn't help in this case at all for me since I'm not using minio locally.

@mvartuc As mentioned above it works correctly for me when testing with the live play.min.io.
Make sure that you have the correct permissions and use the correct access and secret keys. Other than this I don't know how to help further.

@ganigeorgiev I've tested a few other services (coolify, python, rclone) using the same credentials and everything else but pocketbase was fine accessing my s3 storage, which led me to believe it's an issue with pocketbase. I'm sorry if this is a flawed logic but that's just the only thing I can think off.

@mvartuc if you're using cloudflare for your minio instance, try turning of proxy, use DNS only.

@mvartuc It could be a compatibility issue with aws-sdk-go-v2, I don't know (we have a special case for GCS), but in any case without clear reproducible steps there is nothing much I can help with and I'm not going to waste time on a wild goose chase.


double scrollbar added

Hey man,
I noticed there are two scrollbars being initiated.
I am using the scrollbar inside a div with an ng-if directive
Any ideas what might be going wrong?

Hi @silentFred, could you please create a demo on http://jsfiddle.net/ to explain the problem?

Hi, I noticed a double scrollbar too. Something like this : http://plnkr.co/edit/hB1tGWFQNZvJoaLlEIs0?p=preview ?

thanks @emmanuelballery, I have fixed this issue.

getting a 'refresh' is not defined after the 1.1.4 update =/

thanks for you update, I found the this issut is caused by slimscroll itself.
line 103 and 104:
bar = me.closest('.' + o.barClass);
rail = me.closest('.' + o.railClass);
it can not find object, it should be:
bar = me.parent().find('.' + o.barClass);
rail = me.parent().find('.' + o.railClass);

Thanks @ziscloud! =)


Add simplified sqlite2cpp generator script that uses sqlite3 schema parsing.

Later printing could be generalized between both scripts.
Reference: https://github.com/rbock/sqlpp11/pull/231#issuecomment-382505274

Sorry for taking so long...
Looks pretty neat!


[broker]tidy update subscriptions dispatcher rate-limiter

Motivation

When updating topic-level and namespace-level  subscriptions dispatcher rate-limiter,  the code is a little different  but we can unify them as one method, such as updateSubscriptionsDispatcherRateLimiter(),  which will make the  code more clear

Modifications
Create  updateSubscriptionsDispatcherRateLimiter() to update subscriptions dispatcher rate-limiter on both topic-level and namespace-level
Verifying this change

[x] Make sure that the change passes the CI checks.

Documentation

[x] no-need-doc

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

@AnonHxy Please help create a PR for branch-2.10, I'm not able to cherry-pick it due to lots of conflicts with branch-2.10

@AnonHxy Please help create a PR for branch-2.10, I'm not able to cherry-pick it due to lots of conflicts with branch-2.10

The PR has been created, PTAL @codelipenghui


Update for Xcode 8 GM

@escaping can only be applied to parameters.

Thanks!  I'm going to update SwiftCheck myself and let you know when you should carthage update.

Alright, please run carthage update --use-submodules and commit the result.

Updated

:boat:


feat: add cph display

Goal
Fixes: https://github.com/jina-ai/jina-operator/issues/388
After:

[ ] Run Integration tests GHA manually & comment the link.

@jina-ai/team-wolf

Good feature 👍 Since we are charging user money now, is it better to add a confirmation step to give the user a chance to review the cost after jc deploy?
Also jc deploy -y for auto approve

@ZiniuYu thanks for the feedback, I tracked it at https://github.com/jina-ai/jina-operator/issues/395.


Here's a docker compose

Good morning,
I was looking for an online version of this script vs a locally available one; I use IPTVeditor and although I could port forward things, it's a bit messy and less elegant than what I'm looking for. That being said I've been following your work that you've previously done with the EPlusTV for a few years now because I think you're quite talented. Even though I'm not using the EPlusTV script anymore and I can't use this ccEPG I whipped up a docker-compose.yml just in case any of your users feel like going that route.
services:
  ccepg:
    container_name: ccepg
    environment:
      - PGID=1000
      - PUID=1000
      - TZ=America/New_York
    image: m0ngr31/ccepg
    ports:
      - 8787:8787    # Web Interface Port
    volumes:
      - /home/nostradamus/dockers/ccEPG/app/config:/app/config
    restart: unless-stopped

I added it to my home folder because this is how I've done it for years, but, anyone can change it to wherever they want it.
If for any reason you get Github to host the xml file I'll definitely use it.
Thanks again for all your hard work and have a great day.

Oh this is great. I'll get this added thanks!


DocFencedCode is mangled and does not necessary stringify to the original code, missing important characters

So I noticed that when calling .toString() on the _codeExcerpt._content of a DocFencedCode, some characters seem to go missing.
See this example:
docNode._codeExcerpt.content.parserContext.sourceRange.toString()
/**
 * A utility function that allows defining a reducer as a mapping from action
 * type to *case reducer* functions that handle these action types. The
 * reducer's initial state is passed as the first argument.
 *
 * The body of every case reducer is implicitly wrapped with a call to
 * `produce()` from the [immer](https://github.com/mweststrate/immer) library.
 * This means that rather than returning a new state object, you can also
 * mutate the passed-in state object directly; these mutations will then be
 * automatically and efficiently translated into copies, giving you both
 * convenience and immutability.
 * @param initialState The initial state to be returned by the reducer.
 * @param builderCallback A callback that receives a *builder* object to define
 *   case reducers via calls to `builder.addCase(actionCreatorOrType, reducer)`.
 * @example
```ts
import {
  createAction,
  createReducer,
  AnyAction,
  PayloadAction
} from '@reduxjs/toolkit'
const increment = createAction<number>('increment')
const decrement = createAction<number>('decrement')

function isActionWithNumberPayload(
  action: AnyAction
): action is PayloadAction<number> {
  return typeof action.payload === 'number'
}

createReducer(
  {
    counter: 0,
    sumOfNumberPayloads: 0,
    unhandledActions: 0
  },
  builder =>
    builder
      .addCase(increment, (state, action) => {
        // action is inferred correctly here
        state.counter += action.payload
      })
      // You can chain calls, or have separate `builder.addCase()` lines each time
      .addCase(decrement, (state, action) => {
        state.counter -= action.payload
      })
      // You can apply a "matcher function" to incoming actions
      .addMatcher(isActionWithNumberPayload, (state, action) => {})
      // and provide a default case if no other handlers matched
      .addDefaultCase((state, action) => {})
)
```
 * @public
 */

When calling docNode._codeExcerpt._content.toString(), this is mangled to
import {
  createAction,
  createReducer,
  AnyAction,
  PayloadAction
} from '@reduxjs/toolkit'
const increment = createAction<number>('increment')
const decrement = createAction<number>('decrement')

function isActionWithNumberPayload(
  action: AnyAction
): action is PayloadAction<number> {
  return typeof action.payload === 'number'
-}

createReducer(
-  {
    counter: 0,
    sumOfNumberPayloads: 0,
    unhandledActions: 0
  },
  builder =>
    builder
      .addCase(increment, (state, action) => {
        // action is inferred correctly here
        state.counter += action.payload
      })
      // You can chain calls, or have separate `builder.addCase()` lines each time
      .addCase(decrement, (state, action) => {
        state.counter -= action.payload
      })
      // You can apply a "matcher function" to incoming actions
      .addMatcher(isActionWithNumberPayload, (state, action) => {})
      // and provide a default case if no other handlers matched
      .addDefaultCase((state, action) => {})
-)

(Diff highlight by me)
Actually, the same seems to happen in the TSdoc playground.
Just copy& paste my initial docblock over there: https://microsoft.github.io/tsdoc/

I guess this is a bug, or am I writing completely wrong tsdoc?

So this seems to be a problem with the tokenizer removing all lines where only a single character is present. It seems possible to circumvent this by indenting with a *
So, this:
/**
```
 a
 s
 d
 f
 g
```
 */

ends up as
```

```

but
/**
 * ```
 * a
 * s
 * d
 * f
 * g
 * ```
 */

works.
With that info, I can work around that in my comments for now, but this seems like a serious bug.

This is the recommended standard way that it should be written:
/**
 * ```
 * a
 * s
 * d
 * f
 * g
 * ```
 */

But you are right, this is definitely a bug in the handling of the /** */ framing.

Yeah, I wouldn't have noticed it if it weren't for the code block - but writing code blocks with leading * is really distracting from the code itself :/

Makes sense. It does look like a pretty reasonable practice.
Here's a PR: https://github.com/microsoft/tsdoc/pull/259

That was fast :) Thanks a lot!
By the way, if you are interested where your libs are used, here's my use case:
This is going to make it into the @reduxjs/toolkit docs. I'm writing a remark plugin that takes a link in the form of
[summary,remarks,params,examples](docblock://mapBuilders.ts?token=ActionReducerMapBuilder.addDefaultCase)

and renders the docblock
into something like this

That is pretty cool!

This fix was released with tsdoc version 0.12.21


Youtube links convert to embedded videos

This will require frontend work because these are iframes and the current message formatting does not support HTML.

@mreider I am not sure if it (and #137) should be done on backend side - currently we have no internal format for messages, maybe it will be Markdown, not HTML.
There is a library https://alexcorvi.github.io/anchorme.js/ that can be used on frontend side to parse all links (#137) and replace youtube links to iframes.

Ok. I removed backend tag and changed story.

I tried to use this plugin for links in messages, but we have a text-markdown installed and they cannot work with each other. For now, you have to use the markdown format [google] (https://google.com) to display the link.
I will try to replace the text of the link to the markdown format on the client.
As far as youtube links are concerned, I don't know yet, it may also be possible to make substitutions on the client.

Why all of the line breaks?


Github actions build issues

@navarr Sinds i had the same issue with the build pipeline as you guys have with buildx and github packages >
buildx failed with: ERROR: failed to solve: failed to push ghcr.io/swiftotter/den-elasticsearch:6: failed to copy: io: read/write on closed pipe

Temp fix is downgrading buildkit in the github actions file
https://github.com/docker/build-push-action/issues/761#issuecomment-1383822381

Looks like they're going to be pushing a fix, so we won't need to do anything on our end 🤞


How to use HAPI API with retrofit in Android?

I want to fetch/query FHIR test server using Retrofit but I am not able to map the Bundle response using GsonConverterFactory. How to do it ?
This is my RetrofitAPIService:
 @GET(Hl7ApiEndPoint.PATIENT_LIST)
    Call<Bundle> getPatients(@Query("organization") String managingOrganizationRef,
                                    @Query("_count") int count
    );

Error msg:
java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 3 column 10 path $.id

The FHIR model objects in HAPI FHIR do not support automatic serialization/deserialization by Gson. You need to use HAPI FHIR's parser.
I'm not sure what's possible with retrofit, but if nothing else you could just return a string, and use HAPI's parser to parse your Bundle object.


Fullscreen (F11) Key in crouton.

sudo edit-chroot -all
Password:
name: xenial
encrypted: yes, locked
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...

Please describe your issue:
When using the "fullscreen" option in crouton, the fullscreen button on the chromebook does not work. In certain apps (ex Google Chrome in crouton), this means that you're stuck and you have to log out of chrome in order to use crouton again. Is there a way to make a button combination that will result in F11? Because F11 is what all the apps use to exit fullscreen.
I think that alt + fullscreen would work, because it would still work in xiwi. Right?
Any ideas? I'm still beginning my journey into the programming world so I can't really do anything...
On an Acer R11 flip.
PS: In an attempt to solve the issue, I did

sudo sh -e ~/Downloads/crouton -t keyboard -u

to try to fix it. see the github page for it here: https://github.com/dnschneid/crouton/wiki/Keyboard
If known, describe the steps to reproduce the issue:
Enter any app (like Terminal) and click the "Fullscreen" option in "View". Then try to use the fullscreen button on your keyboard that usually works in Chrome OS. It doesn't.

@19nano,
I have chroot apps that need a full set of function keys, F1 to F12
Chrome OS uses the Search key to enable them.
Use F keys (F1 to F12)	Search + 1 through Search + +
=

The keyboard overlay (chrome://keyboardoverlay/) will show you the shortcuts available.
Hope this helps,
-DennisL

@DennisLfromGA Thank you.


Add blog to menu and update Connect links on blog home

Adds Blog to menu
Updates "Connect" links with proper ML and Slack links

Signed-off-by: Jimmy McArthur<EMAIL_ADDRESS>

To preview this review, please go to: https://5f9710fe7815190008bf1acf--magma-website.netlify.app/

I think that the link to "docs" that you modified in blog-config.json is wrong.  It should be the same as the docs link from the in the navbar, "https://magma.github.io/magma/docs/basics/introduction.html".  As is it points to the github page for the "community" which likely is not the right result.

@PARitter thanks and good catch! Just updated.


Fix for deployment Item attribute where it was fetching pdb file from symbol store.

Fix for #231

@khilan2goel,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Tessel#wifiStatus method only returns partial data

I've been hacking on my Tessel to create a node-webkit application to make playing with Tessels a little more interesting, however I have run into considerable limitations with the current tessel module.
When using the tessel module programmatically an invoking  Tessel#wifiStatus only receives something like this:
{"connected": 1, "ip": "<IP_ADDRESS>"}

however when you type 'tessel wifi -l', which also invokes Tessel#wifiStatus you get a more complete list of the current wifi state of the chip like this:
INFO Requesting wifi status...
Current network: NETGEAR06
Currently visible networks (7):
        NETGEAR06 (63/127)
        homenetwork1 (34/127)
        WaltonWifi (61/127)
        Saimaetwork1en (36/127)
        workzone (34/127)
        SBG6580F3 (59/127)
        NETGEAR09rk1en (33/127)
INFO Connected: 1
INFO Ip: <IP_ADDRESS>

The majority of the info, like the list of networks and the network you're currently connected to gets passed into the _recieveLogs stream instead of the _sendMessage stream, and then is sent to the process.stdout, which never gets emitted or passed into any callbacks
As best as I can tell there is no documented method to glean this info from the Tessel without a good bit of hacking on the original tessel npm module.
The Tessel#checkWifi also provides valuable info about the current state of the tessel on the LAN, but there is no straightforward way of accessing this with the common api exposed to the developer as well.
I really feel like the cli and the actual programmatic invocation of commands on the Tessel should be as close to the same as possible as far as the information that is received from the Tessel and passed to the developer/program.

After a quick investigation, it looks like wifi_json would need to call wlan_ioctl_get_scan_results

When using the tessel module programmatically

You're referring to the tessel module on the actual board, not the CLI module running on a computer, right?
Last I recall, wlan_ioctl_get_scan_results sometimes... hangs forever when there are high network counts. Best way to expose this functionality through the onboard tessel module is probably to do the following:

Have a timer kick out after a certain amount scanning time. Probably make this an argument that the scan function can take.
Move the scanning out to a separate function that isn't on the USB message parsing code.
Add a wifi.scan command.

I mean the CLI/Programmatic communication module (that communicates to the Tessel via USB)
The one that you install globally via NPM to talk to the tessel, it lets you query your USB ports for tessels that are connected and the like, but the actual programmatic commands being executed against an instance of a Tessel don't return the same information (such as the complete wifi list) as a comparable CLI command, even though they are both calling the same
a short contrived example would be adding something like this to a short script on your localhost not via tessel run (assuming you have a tessel that can be found via USB)
# require the CLI tools, this is not the same module embedded on the Tessel itself
tessel = require('tessel')
.
# find a device that is connected via USB to the localhost
tessel.findTessel {}, (err, device)->

  # check the wifi status of the found device
  device.wifiStatus (err, result)->
     console.log(result); # this will be {"connected": 1, "ip": "<IP_ADDRESS>"} or something

however calling tessel wifi -l calls this part of the bin
Which invokes the same Tessel#wifiStatus() method that outputs the lovely list of info that I mentioned above.
I appreciate you guys looking into this.

Ah okay, I understand. I thought you were hoping to get a list of available networks on the Tessel but instead you'd like it available from the CLI API (which is actually a bit easier). I don't have time to make this change right now but I can make some suggestions: after wifiStatus is called, the logs event will have to be monitored and results concatenated so it can be returned in the callback.

I appreciate your advice on how to handle it, and realistic update.
Considering the Tessel 2 is coming down the road (which I am excited to play with), I suppose I will set up a virtualbox for the T2 environment and just use that as a basis for my GUI for now.
Thanks again.

:+1:


anti-affinity rules refactor and default image tags

Fixes default anit-affinity type not being used
Motivation
make life easier, fix broken stuff and add the ability to set topologyKey
Modifications

add a default image specifications for pulsar components
a small refactor to anti-affinity rules, add topologyKey, and have defaults work
use publishNotReadyAddresses correctly, expose it as a parameter, and remove deprecated alpha annotation

Verifying this change

[x] Make sure that the change passes the CI checks.

Hey friends
Thinking of adding the ability to set Pod Topology Spread Constraints and enable them by default
https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
Also thinking of updating labels according to best practices
https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/
https://helm.sh/docs/chart_best_practices/labels/
I can do it on this PR, or create another one
These are breaking changes BTW

@EladDolev Regarding the breaking changes, it would be good to do it in a separate PR

@EladDolev good work!

use publishNotReadyAddresses correctly, expose it as a parameter, and remove deprecated alpha annotation

this change would be valuable. Please send it as a separate PR.

Closing this PR as outdated.


Add risk levels to simple output

Closes: #512
This PR adds a lowercase risk level string next to scanned paths and their behaviors.
I also added consistent formatting to make the output a little cleaner.

Looking into why the tests are wanting to downgrade the severity of several test cases when refreshing the test data and manual scans return the correct risk level.


Sort update packages by name

Can you please add an enhancement to read .update packages sorted by name? We have a condition where update packages need to be applied in a specific order.

We will look into doing this in a future release. Thanks!

hey @cturano! Loving this project! So to rephrase the question, there is currently now way of controlling package sort order, is it?

Hi Alex,
We apply the packages in alpha order. This lets us at least be predictable. I don't have any way to customize it. Does this help you?


added logger-thread and text-generic-pretty packages

Thanks!

There seems to be an issue with text-generic-pretty haddocks.
src/Text/PrettyPrint/GenericPrettyStructure.hs:55:7: error:
    parse error on input ‘-- |'gprettyStructure' is the (*->*) kind equivalent of 'docPrec'’

I'm marking it as an expected-haddock-failure for now.

ok, Thanks.


用你的模板连接vercel为什么老是出这个错误阿

10:49:55
Building sites … ERROR 2021/04/25 02:49:55 render of "home" failed: execute of template failed: template: index.html:4:3: executing "index.html" at <partial "head.html" .>: error calling partial: "/vercel/path0/themes/echo/layouts/partials/head.html:54:53": execute of template failed: template: partials/head.html:54:53: executing "partials/head.html" at : can't evaluate field PostProcess in type interface {}

10:49:55
ERROR 2021/04/25 02:49:55 render of "taxonomyTerm" failed: execute of template failed: template: _default/list.html:4:3: executing "_default/list.html" at <partial "head.html" .>: error calling partial: "/vercel/path0/themes/echo/layouts/partials/head.html:54:53": execute of template failed: template: partials/head.html:54:53: executing "partials/head.html" at : can't evaluate field PostProcess in type interface {}

10:49:55
ERROR 2021/04/25 02:49:55 render of "taxonomy" failed: execute of template failed: template: _default/list.html:4:3: executing "_default/list.html" at <partial "head.html" .>: error calling partial: "/vercel/path0/themes/echo/layouts/partials/head.html:54:53": execute of template failed: template: partials/head.html:54:53: executing "partials/head.html" at : can't evaluate field PostProcess in type interface {}

10:49:55
ERROR 2021/04/25 02:49:55 render of "taxonomy" failed: execute of template failed: template: _default/list.html:4:3: executing "_default/list.html" at <partial "head.html" .>: error calling partial: "/vercel/path0/themes/echo/layouts/partials/head.html:54:53": execute of template failed: template: partials/head.html:54:53: executing "partials/head.html" at : can't evaluate field PostProcess in type interface {}

是 vercel Hugo 版本原因，使用最新版解决问题。如何使用，请查看：
https://vercel.com/guides/deploying-hugo-with-vercel


The (bitly) GH Pages link at the top of the GH page 404's

http://bit.ly/ngBoilerplate gives me a 404

Well, crap. It looks like GitHub is no longer redirecting and bitly links are not editable. I created a new bitly link, but the code will have to be updated: http://bit.ly/ngbpsite.

Pretty sure that's not a code thing, but you can just edit it at the top of your main GH page
Check out the following screenshots from my own project:

Come to think of it, the link at the top of your README is also broken -- points to http://joshdmiller.github.io/ng-boilerplate.

I made a PR for the REAMDE header (#420)
I noticed that there were a couple places referencing github.com/joshdmiller/ng-boilerplate rather than github.com/ngbp/ngbp which I assume is the canonical link now, but these seem to work.


Update to polkadot-v0.9.22

Part of https://github.com/substrate-developer-hub/substrate-docs/pull/1045.

does this incude https://github.com/paritytech/cumulus/pull/1287#event-6663399069? And do all templates do as well? Should be updated and tags moved as needed on those templates before we merge this in @brunopgalvao

AFAIU, changes made in https://github.com/paritytech/cumulus/pull/1287 are outside of the parachain-template therefore no additional changes need to be made to https://github.com/substrate-developer-hub/substrate-parachain-template/pull/111
If that is the case, then https://github.com/substrate-developer-hub/substrate-parachain-template/pull/111 is ready for review. Once it's merged, tags can be created.

Cargo sets the commit it used and doesn't change unless explicitly said to in the lock file. Thus an update is needed. see https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html for more details.

I resolved merge conflicts here.


Nodejs download step broken

Starting: Use Node 12.16
Task         : Use Node.js ecosystem
Description  : Set up a Node.js environment and add it to the PATH, additionally providing proxy support
Version      : 1.165.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks
Downloading: https://nodejs.org/dist/v12.16.1/node-v12.16.1-linux-x64.tar.gz
Extracting archive
/bin/tar xzC /home/vsts/work/_temp/5af9cb94-dc10-4f38-ac52-0e23f8626c0d -f /home/vsts/work/_temp/fcbb2481-d593-4486-9255-b0469da20434
gzip: stdin: unexpected end of file
/bin/tar: Unexpected EOF in archive
/bin/tar: Unexpected EOF in archive
/bin/tar: Error is not recoverable: exiting now
##[error]/bin/tar failed with return code: 2
Finishing: Use Node 12.16

And then 5 minutes later its fine?
=============================================================================
Task         : Use Node.js ecosystem
Description  : Set up a Node.js environment and add it to the PATH, additionally providing proxy support
Version      : 1.165.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks
==============================================================================
Downloading: https://nodejs.org/dist/v12.16.1/node-v12.16.1-linux-x64.tar.gz
Extracting archive
/bin/tar xzC /home/vsts/work/_temp/b29f55c4-023f-4400-a8dc-79573876ca17 -f /home/vsts/work/_temp/d9414b6e-04a7-4e59-b25c-e849a4827a0a
Caching tool: node 12.16.1 x64
Prepending PATH environment variable with directory: /opt/hostedtoolcache/node/12.16.1/x64/bin
Finishing: Use Node 12.16

I too am having this issue after having run it successfully many times since February.
Starting: Install Node.js
==============================================================================
Task         : Node.js tool installer
Description  : Finds or downloads and caches the specified version spec of Node.js and adds it to the PATH
Version      : 0.166.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/tool/node-js
==============================================================================
Downloading: https://nodejs.org/dist/v13.7.0/node-v13.7.0-linux-x64.tar.gz
Extracting archive
/bin/tar xzC /home/vsts/work/_temp/c390c20f-3f52-451e-b447-f01087ae2c78 -f /home/vsts/work/_temp/78470d9f-1335-44d5-be90-6fc12b2b22cf

gzip: stdin: unexpected end of file
/bin/tar: Unexpected EOF in archive
/bin/tar: Unexpected EOF in archive
/bin/tar: Error is not recoverable: exiting now

##[error]The process '/bin/tar' failed with exit code 2

This is caused by the same underlying issue as #12627 (an external node service issue). I'm closing here, lets follow up there as needed


Move OmniSharp vNext to run on .NET 6

I think might be worth considering to yank the .NET Framework targets completely from the vnext branch as well and just target .NET 6.0 there


Information about the client libraries should be linked from the footer

The client libraries are closely related to KorAP and do work with all KorAP instances.
Thanks @feldmueller for reporting!

The client libraries are now part of the documentation - I don't know if a footer listing is the right position.


[#839] Feature: AddColumn supports adding default values

What changes were proposed in this pull request?
Supports setting default value when adding column.

MySQL & PostgreSQL are supported
Hive & Iceberg are not supported -> throws exception

Why are the changes needed?
Fix: #839
Does this PR introduce any user-facing change?
Users are able to set default value for column when adding column with com.datastrato.gravitino.rel.TableCatalog#alterTable
How was this patch tested?
Add tests of adding columns with default value in existing tests.

Rebased main and added one commit.

Could you please add integration tests for each catalog?

BTW, the docs about alter table also need to be modified

BTW, the docs about alter table also need to be modified

Hi @mchades , I updated the openapi doc in https://github.com/datastrato/gravitino/pull/2558/commits/4320646fb8e76f7a0a2c370e65804ba5e887902a. I checked other documentations, the most related one I found already indicated which catalog support default value :https://datastrato.ai/docs/0.4.0/manage-metadata-using-gravitino#table-column-default-value
Are there any other documentation we need to update? :)

need to update:
https://datastrato.ai/docs/0.4.0/manage-metadata-using-gravitino/#alter-a-table

Updated. Please help take a look. Thank you!

Doris container is added by me. But seems the newest failure is caused by TrinoQueryIT
TrinoQueryIT > initializationError FAILED
    org.testcontainers.containers.ContainerLaunchException: Missing to get container status
        at com.datastrato.gravitino.integration.test.container.TrinoITContainers.resolveServerAddress(TrinoITContainers.java:70)
        at com.datastrato.gravitino.integration.test.container.TrinoITContainers.launch(TrinoITContainers.java:52)
        at com.datastrato.gravitino.integration.test.trino.TrinoQueryITBase.setEnv(TrinoQueryITBase.java:64)
        at com.datastrato.gravitino.integration.test.trino.TrinoQueryITBase.setup(TrinoQueryITBase.java:87)
        at com.datastrato.gravitino.integration.test.trino.TrinoQueryIT.setup(TrinoQueryIT.java:64)

@zivali  If you find new failures caused by Doris, you can tell me

Hi @zhoukangcn, thanks for offering the help!
I preserved the failure logs from the first Doris container initialization failure. Not sure if it helps.
doris.log
I am not sure if the two failures are caused by the same problem. But I see some other PR got failure caused by TrinoQueryIT as well.


center alignment of the picture

fix issue https://github.com/dotnet-foundation/mod-dotnet-bot/issues/5
small ui update
after update:

cc @clairernovotny


Support error var ref when no error reason ref is given

Purpose
Add support for following error ref assigment
error(message=messageX, ...rest2) = e;
error(...rest2) = e;

Fixes https://github.com/ballerina-platform/ballerina-lang/issues/17934
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

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

@@           Coverage Diff           @@
##           master   #17959   +/-   ##
=======================================
  Coverage   15.17%   15.17%
=======================================
  Files          46       46
  Lines        1206     1206
  Branches      188      188
=======================================
  Hits          183      183
  Misses       1009     1009
  Partials       14       14

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 60a7069...1893dda. Read the comment docs.

@kaviththiranga @nadeeshaan Can we merge this?

@kaviththiranga @nadeeshaan Can we merge this?

+1


SSR with Tailwind example does not output CSS assets, only on client side hydration

🐛 Bug report
Current Behavior
Tailwind example doesn't output <link /> tag server side (i.e. SSR not generating CSS assets)
Expected behavior
<link /> tags should be generated server side.
Reproducible example
Run the following commands:
git clone https://github.com/jaredpalmer/razzle.git
cd razzle
cd examples/with-tailwindcss
npm i
npm start

Suggested solution(s)
Assuming it's something todo with PostCSS?
Additional context
View source with JS disabled in the browser, and you'll notice <link /> is not outputted.
Your environment

Software
Version(s)

Razzle
4.0.6

Razzle Plugins
n/a

Node
14.15.3

Browser
Firefox / Chrome

npm/Yarn
npm 6.14.9

Operating System
Linux

TypeScript
n/a

React
17.0.2

Adding the following config works to razzle.config.js
  options: {
    staticCssInDev: true,
  },

As suggested here: https://github.com/jaredpalmer/razzle/issues/1578


flushbar hides behind keyboard flutter

I have a simple form and always snackbar shows behind keyboard. Any special configuration so I can show my snackbar top of the keyboard in android and iOS. Any idea? Thanks

hello, i will make an example and show you

I am waiting for you

hello, i will make an example and show you
I am waiting for you

i have same issue. Any news?

fixed in 1.10.19

fixed in 1.10.19

how its solved?


chore: bump amplify codegen to 3.2.0

Description of changes
Bump amplify-codegen to v3.2.0
Release note: https://github.com/aws-amplify/amplify-codegen/releases/tag/amplify-codegen%403.2.0

Issue #, if available

Description of how you validated changes
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
[ ] Pull request labels are added

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

@AaronZyLee is this a duplicate of https://github.com/aws-amplify/amplify-cli/pull/11168?

Yes it is duplicate. Close this in favor of it


Race condition on startup when using configuring controller via configmaps

Expected Behavior
When  a user configures the Pipeline controller's behavior via configmaps, e.g. disabling the affinity assistant or enabling custom tasks, the controller should always respect these configured values.
When the controller tries to use these configured values, it should always reflect the settings in the config maps if they exist.
Actual Behavior
We are using an object provided by knative/pkg called configStore to access feature flags (configuration provided by users via config maps). It used to be that we loaded these values once on startup but in https://github.com/tektoncd/pipeline/pull/2637 we switched over to using these config store objects so we could hot reload changes made to the config maps the while the controller is running.

Controller is started via main
main calls knative's sharedmain.MainWithConfig
MainWithConfig starts the config watchers
cmw.Start is InformedWatcher.Start
Start calls registerCallbackAndStartInformer
That calls sharedInformerFactory.Start
Ultimately this is where the interesting bit happens, all the informers are run in separate go routines:
https://github.com/tektoncd/pipeline/blob/0fddf2ede69a76045117ecfaf55e1977f41e7e08/pkg/client/resource/informers/externalversions/factory.go#L115-L120

The gorutine started in (7) (client-go cache controller's Run I think?) is what (waves hands) ultimately leads to reading the configured values from the config maps and storing them such that when the tekton controller tries to read these values (via FromContextOrDefaults) the idea is that it will see the values populated by the goroutine.
The problem is that there is no synchronization so sometimes the controller tries to read those values before the goroutines have populated them.
This causes tests of this functionality to sometimes fail, but more importantly, there is a chance (a very small chance) this could happen to users.
Steps to Reproduce the Problem

Configure a feature via config map
Start the controller
Immediately try to start a taskrun that uses the feature you have configured
Some tiny eensy teensy percentage of the time, you might see that the configured value isn't used and the controller uses its hard coded default instead

(3) would happen SO rarely that you might never be able to reproduce it - see https://github.com/tektoncd/pipeline/issues/2815#issuecomment-733207368 on how to reproduce this via the integration tests
Additional Info
This is the bug in knative/pkg describing the problem and requesting it to be fixed or a way to work around it: https://github.com/knative/pkg/issues/1960
I think this is the route cause of flakey failures of:

TestReconcile_ExplicitDefaultSA (https://github.com/tektoncd/pipeline/issues/2815)
TestReconcile_FeatureFlags (https://github.com/tektoncd/pipeline/issues/3587)
TestReconcile_FeatureFlags/disable-working-dir-overwrite (https://github.com/tektoncd/pipeline/issues/3351)

What to do??
While we definitely want to fix this issue, I think that letting our tests continue to flake because of this issue is reducing the quality of the signal we're getting from our tests. Now that we know this is a problem, we don't need the tests to keep failing the way they do.
But because the details of this are hidden in unexported knative/pkg code I'm not sure how to work around it. Some ideas, all terrible:

Disable the impacted tests <-- not great b/c then if something ELSE around this functionality breaks, we won't know
Retry the impacted tests <-- probably better than (1) but still not a guarantee they won't flake
Add an arbitrary sleep into the impacted tests between when they instantiate the controller and when they use the value <-- not guaranteed to fix the problem but since chances of it happening are so small, it might be enough
Do the same as (3) but do it in the actual controller <-- pretty awful, and would make controller start up take longer, but might "fix" the actual problem for users too

Okay https://github.com/knative/pkg/pull/2036 is an attempt to fix this! If it's accepted, we should see these races fixed when we next update knative/pkg :D 🙏

We are still seeing this issue with 0.24.x, if we do a restart of the controller  it will create an affinity assitant even if false in the configmap, and we got this at every restart (~150 pipelinerun running a day) .
Wondering why we don't make sure that we read the configmap before the controller can start working.

@shinji62 sounds like a bump indeed 🤔 can you create an new issue for this ?


[Snyk] Security upgrade werkzeug from 2.2.3 to 3.0.3

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

function/requirements.txt

Vulnerabilities that will be fixed
By pinning:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

661/1000  Why? Recently disclosed, Has a fix available, CVSS 7.5
Remote Code Execution (RCE) SNYK-PYTHON-WERKZEUG-6808933
werkzeug:  2.2.3 -> 3.0.3
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Remote Code Execution (RCE)

/code pr


Add download sizes similar to Android Studio Apk analyzer

Is there a way to check the download size of native libraries (.so objects) for each build? Android Studio provides the download sizes for each of these, but we want to keep record of it internally. So we're looking to turn these values into JSON objects.
https://github.com/JetBrains/android/tree/master/apkanalyzer

I've dug into how the Android Studio plugin is working. I've made a jar similar to classy shark that uses their libraries that is working for our use case, but it would be good to use something with a broader audience. When investigating, here are the references identified.

apkanalyzer documentation https://developer.android.com/studio/build/apk-analyzer
android studio plugin for apkanalyzer https://github.com/JetBrains/android/tree/master/apkanalyzer
android apkanalyzer source code https://android.googlesource.com/platform/tools/base/+/studio-master-dev/apkparser
releases for apkanalyzer https://mvnrepository.com/artifact/com.android.tools.apkparser/apkanalyzer
apk and app bundle size estimator  https://github.com/googlesamples/apk-patch-size-estimator
app bundle documentation https://developer.android.com/guide/app-bundle

Always happy for pull requests :100:

Yeah can look into it soon. What are your thoughts on kotlinx-cli?
Creating kotlin command line interfaces looks like it is becoming nice, and it's how I've set up our apkanalyzer

kotlinx-cli, don't have any opinions. Could be great to see how it can work with ClassyShark


Add #url assertion

The Karate assertion feature is very nice; would it be possible to add additional assertion keywords, e.g. #url (or #uri) to check for valid URLs?
Additional assertion keywords that might be very helpful are:  #date, #datetime (in ISO date format), #numericstring (e.g. a JSON property that isn't a JSON number but is a number represented as a JSON string, e.g. { "id": "123456" } [could be done with #regex I suppose]

I agree that we could potentially add some more built-in types. however I am opting to close this as a wontfix. the way to do it is using "self" expressions: https://github.com/karatelabs/karate#self-validation-expressions
it is easy to write reusable JS functions that your project (or even multiple projects) can reuse. another reason for closing this is that this question has hardly come up, and I really don't want to add more complexity to the syntax if really not needed.
some relevant examples:
https://stackoverflow.com/a/52373680/143475
https://stackoverflow.com/a/54092702/143475
https://stackoverflow.com/a/72139776/143475
https://stackoverflow.com/a/54768838/143475
and more: https://stackoverflow.com/search?q=[karate]+self+validation

OK, I understand.  Do you have plans to have a reusable library of these kinds of "self expressions" so everyone doesn't have to invent them themselves?  Typically it seems like it requires Google searches to find something that someone has done before to answer these types of 'common questions'

@johns397 , yes - very initial thoughts here. contributions welcome ! https://github.com/karatelabs/karate/issues/2208


Revert "[ROAD-1023] fix:  Marketplace title correction for 2015-2019 …

Description
Reverts the marketplace title change due to a 50-character limit

@asaf92 can we run this by Andy, perhaps he can come up with better ideas? Sad to revert @solal-snyk's work 😢 .


Create example-cnf component for different environments

Differentiate between connected and disconnected environment to create the component.

I will merge to see if it's working fine, else I'll create a different change.


Liu-West resampling: Infinite error in covariance estimation

When covariance matrices are dominated by uncertainty in a low-dimensional subspace, scipy.linalg.sqrtm can sometimes report infinite error even if n_ess is large. I suspect that this can be solved by replacing sqrtm with a eigendecomposition that uses the hermicity of the covariance matrix, but this should be tested for accuracy.

I have run into this problem, too.
I seem to recall that SVD algorithms are generally more stable than eigendecomposition algorithms, but I can't find a solid source, just things like the last page of these notes. I don't know if it matters in this context.