Take new screenshot

Hey!
Can you update the screenshot to use the new code snippet?
New Snippet
/*
 * Once upon a time...
 */

class Vampire {
  constructor(props) {
    this.location = props.location;
    this.birthDate = props.birthDate;
    this.deathDate = props.deathDate;
    this.weaknesses = props.weaknesses;
  }

  get age() {
    return this.calcAge();
  }

  calcAge() {
    return this.deathDate - this.birthDate;
  }
}

// ...there was a guy named Vlad

const Dracula = new Vampire({
  location: 'Transylvania',
  birthDate: 1428,
  deathDate: 1476,
  weaknesses: ['Sunlight', 'Garlic']
});

Why use this?

It contains examples of string, number, and array
It contains examples of single line and multi-line comments
It contains examples of inheritance and functions
It's simple, funny, and silly

Want to use another language?
Feel free to send a pull request to the template repo under the sample folder.

Sure, I'll update this. I'll need some time to set up a VM though.

Got it, thanks @rishabhsrao!

Friendly ping ;)

Alright, I’ve updated the screenshot. 👍
I think we need to also update the submodules in dracula/dracula-theme so that draculatheme.com/konsole gets updated.


[Add] ModForUtils

Add ModForUtils
https://github.com/rweed/ModForUtils
A collection of utilities written in Modern Fortran

Thanks. I recently added it as "Modern Fortran Utilities".


fix(data): update chaubis avtar ang 155-161 Pauri 9 to match source

Summary of PR
Updated to match Mehron Saroop

I'll have to fix the chaupai and teri kripa naal sections

Please update the PR title to reflect the changes made. I'll squash this one in.

https://github.com/ShabadOS/database/issues/1788 Pending fixes.

#1788 Pending fixes.

Would be done in separate PR

So no longer WIP and ready to go?

So no longer WIP and ready to go?

Yes


admins are able to change the password of other admins

an evil admin could lock all other admins out of their accounts by changing their passwords
fix: admins cannot edit same-level admins

This is the standard behaviour for Global Admin roles as for example in the Microsoft 365 Admin Center.

Global Admins have almost unlimited access to your organization's settings and most of its data.

Therefore Microsoft recommends 3 measures: (see link above)

Have 2 to 4 Global Admins: ...limit the number of Global Admins as much as possible...
Assign the least permissive role: ...giving admins only the access they need to get the job done...
Require multi-factor authentication for admins

For convencience's sake and not being worth the implementation difficulties, we ignore the 3rd point.
But we should take the first two points to heart. This should solve the problem.
Evil admins are indeed a danger, but that should be prevented with organisational measures (having only very trusted global admins), not technical ones.
After all Global Admins have some valid use cases too, to edit (for helping) or delete (inactive) other admins, or demote one who does not longer need to be a Global Admin.

However, you're right that specifically being able to change the password of someone else is unusual. All else is okay, but this is not.
This enables one to hijack other accounts, i.e. change their password and then log in as that person and see all their personal data.
Currently this can happen across this whole hierarchy (I've added comments on who can manage who). But this should absolutely be impossible.

only a users himself should be able to change his password in the portal
admins may only trigger the sending of a password reset email | admins may never set a password for another user!!

Now there would still be the path of hijacking as an admin by setting its email to one that you own, THEN resetting the password and change the email back. That could be handled as such:

only a user himself or global admins can change an email address
global admins should be discouraged from abusing this, by (1) their actions being logged and (2) the user being notified about what value his email is being changed to

Taking your example of Microsoft365, global admins there also have the permission to change a user's password.
Password reset mails however seem like a good option to have!
Keeping the amount of global admins at a minimum is very important! This role should only be given to very trusted persons.

https://github.com/WaldorfConnect/portal/issues/46 Referring to this issue!

Taking your example of Microsoft365, global admins there also have the permission to change a user's password.

Ahh I think there are differences  between managed Azure AD and on-premise Azure AD. (I've only been Global Admin of a managed one.)
It seems to me, like in  managed instances you can only initiate a password reset, i.e. trigger a mail to the user and you'll never see the real password.
But in on-premise, you can reset the password by typing a new one in plain text as it states here.
In any case, on next login he is then prompted to change it.
I'm still voting for the first two bullet points with a slight change:

Password setting only by user himself.
Password resetting by user or any admin who is allowed to manage him (even school admin). But without seeing the password in plain text. Just have a "Reset password" button as such.

The latter two reagrding the email could well be ignored in my opinion.


Warning: Tabs has a method called shouldComponentUpdate().

I encountered this warning while using react-responsive-tabs:
Warning: Tabs has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.
I suppose using Component instead of PureComponent will resolve the issue.

Fixed in v1.3.0


Framework support for SvelteKit

Describe the solution you'd like
https://stackblitz.com/edit/sveltekit-template
This is a clone of the current SvelteKit template app
Turbo failed to install @sveltejs/kit@next however using npm "worked" :shrug:
The webcontainer fails to start, I believe it is something to do with the package resolution. SvelteKit is built with pnpm if that matters.
Before I new to use Turbo I had installed the deps with npm and was unable to run npm run dev as there was an issue resolving the deps. I will try and recreate and pase the error here.
Give a link to a github repo containing an example of the framework
I am the creator of adapter to configure SvelteKit apps for SSR hosting on Firebase - svelte-adapter-firebase
Here is the same template as above that I use for CI testing of the adapter - https://github.com/jthegedus/svelte-adapter-firebase/tree/main/examples/functions_single_site
I am keen to have a complete solution for Firebase web app development.
Additional context
#8 is almost certainly related because:

SvelteKit is built on top of Vite.
SvelteKit adapters use esbuild duing the build step.

A bug for sure. Like you said, very likely related to #8 which has been on our roadmap for sure.

SvelteKit also uses ESM for their package, no CJS, so that will need to be enabled as well. We might need to open a separate ticket for ESM support specifically

I thought ESM was a requirement for Vite and thus captured in #8

@jthegedus ah I didn't realize Vite was relying on ESM too- good catch. 🙏
@KwintenP maybe we create a root issue for enable node.js es modules support that both this issue and #8 reference?

Probably redundant, but just in case: Initialising a project with npm init does not seem to work. There's some sort of hook that does not expect the extra arguments, and tries to run turbo.
❯ npm init svelte@next test
Unknown Syntax Error: Extraneous positional argument ("svelte@next").

$ turbo create [-p,--private] [-w,--workspace] [--cwd,--prefix #0] [-s,--silent] [--quiet] [-V,--verbose] [--loglevel #0]

error Command failed with exit code 1

Yes, npm init does not work and I had to manually setup each of the resources in the linked example. Ideally turbo would support these commands.

@guidobouman npm init has an open issue in #2
@EricSimons we are using #6 to track esm module support

I'm getting errors here as well, but instead getting:
Command failed: git ls-remote https://github.com/Axelen123/svelte-component-template
jsh: command not found: git

Great choice! Generating your Svelte app... !
 ›   Error: Something went wrong, try again! Error: could not find commit hash for
 ›   master

ESM is now supported but we found a bug when testing SvelteKit. There’s an open internal PR to resolve that so stay tuned!

When I saw the tweet about vite.js, I try sveltekit from an existing repository but it doesn't work https://stackblitz.com/github/franxois/svelte-kit-demo-app

@franxois we're still WIP on getting a few fixes in that will enable SvelteKit- the team will circle back here once these updates hit production.

Hey ya'all 👋
We have pushed several fixes that now unlock SvelteKit on StackBlitz. Here's an example. However, npm init still doesn't work because we are still working on our git internals and CLI.


[RNN] Converting network with LSTM layer to int8 sefaults whole python

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu or Google Colab
TensorFlow installed from (source or binary): pip install tf-nightly
TensorFlow version (or github SHA if from source): 2.4.0-dev20200710

Trying out conversion, I managed to reproducibly segfault. I am not sure whether I am supplying wrong inputs to representative_dataset but in any case, the code should not be segfaulting and at max throwing python errors. The issue is reproducible also on colab.
!pip install tf-nightly

import numpy as np
import tensorflow as tf
tf.__version__

(x_train, y_train), (x_test, y_test) = tf.keras.datasets.mnist.load_data()
x_train, x_test = x_train / 255.0, x_test / 255.0
x_train = x_train.astype(np.float32)
x_test = x_test.astype(np.float32)

_EPOCHS = 1
_TRAINING_DATA_COUNT = 1000
x_train = x_train[:_TRAINING_DATA_COUNT]
y_train = y_train[:_TRAINING_DATA_COUNT]

model.fit(x_train, y_train, epochs=_EPOCHS)
model.evaluate(x_test, y_test, verbose=0)

[1.8708466291427612, 0.531000018119812]

run_model = tf.function(lambda x: model(x))
# This is important, let's fix the input size.
BATCH_SIZE = 1
STEPS = 28
INPUT_SIZE = 28
concrete_func = run_model.get_concrete_function(
    tf.TensorSpec([BATCH_SIZE, STEPS, INPUT_SIZE], model.inputs[0].dtype))

# model directory.
MODEL_DIR = "keras_lstm"
model.save(MODEL_DIR, save_format="tf", signatures=concrete_func)

WARNING:tensorflow:AutoGraph could not transform <function  at 0x7f69aa50b730> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output.
Cause: <module 'main'> is a built-in module
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert
WARNING:tensorflow:AutoGraph could not transform <function  at 0x7f69aa50b730> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output.
Cause: <module 'main'> is a built-in module
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert
WARNING: AutoGraph could not transform <function  at 0x7f69aa50b730> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output.
Cause: <module 'main'> is a built-in module
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert
INFO:tensorflow:Assets written to: keras_lstm/assets
INFO:tensorflow:Assets written to: keras_lstm/assets
def representative_dataset_gen():
    return [[x_train[:1]]] # Not sure why I need to wrap this in two lists (otherwise converter complains)

converter = tf.lite.TFLiteConverter.from_saved_model(MODEL_DIR)
converter.experimental_new_converter = True
converter.optimizations = [tf.lite.Optimize.DEFAULT]

converter.representative_dataset = representative_dataset_gen
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS_INT8]
converter.inference_input_type = tf.int8
converter.inference_output_type = tf.int8

Running this last cell now segfaults python interpreter / crashes jupyter kernel
# This segfaults
tflite_model = converter.convert()

fused unidirectional_lstm does not support int8 yet (WIP), sorry about that.
if you use float, it should work.

@ppershing
Can you try with float instead of int8 and see if that helps to resolve the issue. Thanks!

Hmm, I can try but

will it even use representative_dataset if it is going to for float conversion?
in any case, shouldn't segfault be distinct from "not supported"? At minimum I would expect a clean rejection instead of crashing whole python interpreter
I guess I am out of luck because I need int8 for Coral

fused unidirectional lstm does not support integer-only just yet.
Jian is working on it.

I can reproduce the issue. Here is the gist for our reference. Thanks!
@ppershing In future, please try to share full code so that it is easy to reproduce and find root-cause of the issue. Thanks!


Updating skips DotNetCliToolReference

Example: xunit released new version 2.4. NuKeeper generates PackageReference updates, but no DotNetCliToolReference is created.
Sample from the project file:
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />
Problem with adding support for this: neither dotnet nor NuGet nor Visual Studio support maintaining those entries. There's been some discussion, looks like dotnet tool is supposed to eventually handle them (when non-global mode is added), but currently those require manually editing the project file.
Related issues:
https://github.com/dotnet/cli/issues/917
https://github.com/NuGet/Home/issues/4901

That particular tool has also been dropped from the dotnet new xunit template:
https://github.com/dotnet/templating/commit/3a44d4a47a8a9997291406e40e8475df18b57844#diff-a01e88d21e4fe2067a57eeec4d28dc53

The asp.net tools are also deprecated and being removed (e.g. https://github.com/aspnet/Tooling/issues/1075 )

Not supported at all in SDK > 2.2; not recommended in general.
https://github.com/dotnet/announcements/issues/107


Need kickstart UI for new "standalone" plugin

From community created by qnetter: vmware-tanzu-private/community#2
From tanzu-framework created by qnetter: vmware-tanzu/tanzu-framework#1200
(This is used to request new product features)
Describe the feature request
The "standalone-cluster" implementation in TCE is being deprecated in v0.10.0, and will be replaced with a new "standalone" plugin that works for local clusters only, runs locally on the system where the installer is run, and is much faster and resource-efficient.
To graduate to beta, this implementation needs a kickstart UI.
Initially, only a Docker provider will be available, but I expect the plugin to grow to include podman and containerd providers. We also expect to add support for Workstation and Fusion, but it is not clear yet if we will need a UI here or if they will call the standalone functionality directly from their UI.
Describe alternatives you've considered
For consistent experience with both management-cluster and the current standalone-cluster, this is needed.
Affected product area (please put an X in all that apply)

[ ] APIs
[ ] Addons
[x] CLI
[ ] Docs
[ ] IAM
[ ] Installation
[ ] Plugin
[ ] Security
[ ] Test and Release
[x] User Experience

Additional context
Code, doc, etc. can be found here.

This issue should actually probably land in community-edition
With the new standalone cluster plugin, we actually aren't importing tanzu-framework (since we are going with a much liter, no-lifecycle model). If we do indeed want a UI, we would need to either import tanzu-framework or port over the UI code from tanzu-framework
Although, this does raise an interesting question @miclettej - is it possible for the UI bits be separated from tanzu-framework so that it can be consumed as a dependency outside of using tanzu-framework? Some sort of UI library that others can consume that isn't time to framework (and therefore tied to arbitrary versions of container runtime, the client go library, etc.)

Agreed this issue should probably be filed in the TCE repo.
From my point of view, the new standalone is inherently for a developer role. What would the UI do exactly... have a textbox for a cluster name? then a button for deploy/start? this seems like it isn't necessary.
If this is for some end-user role with many options, then you need a UI/wizard to guide someone to deploy something that might be difficult to configure. That is definitely not the new standalone plugin.
Side note: I would be entirely in favor of decoupling the UI from business logic!

@qnetter I think you can move it. If any work items specific to tanzu-framework come out of this we can cross-link them

Hi @jpmcb and @dvonthenen  separating out the UI bits would be ideal. The UI's Angular webapp bits have to be served (currently done by a Go HTTP server in the management-cluster plugin) and need to be able to access whatever REST/API layer is made available to it. All of this is baked into the management-cluster plugin now as you've seen.
We may have an opportunity here to come up with a fresh design that allows for the flexibility that you're suggesting. I am currently working on building a UI "shell" application in Angular/Webpack 5 that allows us to dynamically plug in other webapps. Imagine we have the frame of our current UI (the shell application which functions as the UI platform) and then we can plug different provider workflows in (developed as individual Angular/React apps) for different flavors of a distribution. Where I will need help is in how we design packaging and supporting backend APIs to also be plugged in. I don't have experience with Carvel yet, but I imagine that we can package and install UI workflows which include their respective UI plugin AND supporting backend.
Maybe that idea is taking things a bit too far but I'd love to brainstorm on how we can do exactly what you are suggesting.

This issue should actually probably land in community-edition
With the new standalone cluster plugin, we actually aren't importing tanzu-framework (since we are going with a much liter, no-lifecycle model). If we do indeed want a UI, we would need to either import tanzu-framework or port over the UI code from tanzu-framework
Although, this does raise an interesting question @miclettej - is it possible for the UI bits be separated from tanzu-framework so that it can be consumed as a dependency outside of using tanzu-framework? Some sort of UI library that others can consume that isn't time to framework (and therefore tied to arbitrary versions of container runtime, the client go library, etc.)

This issue should actually probably land in community-edition
With the new standalone cluster plugin, we actually aren't importing tanzu-framework (since we are going with a much liter, no-lifecycle model). If we do indeed want a UI, we would need to either import tanzu-framework or port over the UI code from tanzu-framework
Although, this does raise an interesting question @miclettej - is it possible for the UI bits be separated from tanzu-framework so that it can be consumed as a dependency outside of using tanzu-framework? Some sort of UI library that others can consume that isn't time to framework (and therefore tied to arbitrary versions of container runtime, the client go library, etc.)

Should I move it?

@jpmcb can you label this correctly as a feature request? Thanks.

@dvonthenen I would think that even developers might need a UI, for 2 reasons:

What standalone might make configurable via the standalone config and maybe the specific provider
Eventually allowing the users (developers) to create clusters with a set of packages and potentially configure these from the UI.

What I don't see is how we can make the UI consistent with the managed clusters UI, as for community edition might/should be easier to augment/iterate on this specific UI more rapidly.


How to run action for the struct which is a parent of the other

The title may seem strange, so let me give an example.
#include <iostream>
#include <tao/pegtl.hpp>
struct a : tao::pegtl::one<'a'> {};
struct b : a {};

struct A : tao::pegtl::one<'A'> {};
struct B : tao::pegtl::seq<A, tao::pegtl::one<';'>> {};

template<typename Rule>
struct action : tao::pegtl::nothing<Rule> {};

template<>
struct action<a> {
    static void apply0() { std::cout << "a\n" << std::endl; }
};

template<>
struct action<A> {
    static void apply0() { std::cout << "A\n" << std::endl; }
};

int main() {
    std::string s1 = "a";
    std::string s2 = "A;";
    tao::pegtl::memory_input in1(s1, "");
    tao::pegtl::memory_input in2(s2, "");
    tao::pegtl::parse<b, action>(in1);
    tao::pegtl::parse<B, action>(in2);
}

The program prints A only.
If I'm right, the optimization somewhat tries to use b instead of a, and discards it so that we can't even use that for an action.
There might be a case like, if we define structs like list_a, list_b, up to list_z, and some of them are combined with other rules while others itself are parents, just like 'a'. One might choose to use a macro, and just like me, find out the action doesn't work.
Then how can I use a for an action in this case?

The short answer is: You can't. It's a limitation of the language, as the specialization does not work for direct base classes.
As a work-around you may simply avoid deriving directly and instead use a seq as a wrapper. If you use
struct b : tao::pegtl::seq< a > {};

it should work.

Thanks for the fast answer!


Added SCM provider api

You can now check in files listed in the scm view

I've not the time to review this gigantic pull request, so I'm just going to trust you 👍


Increase Tesla coil power output

About the PR
Double energy per zap in the Tesla coil.
Why / Balance
Tesla coils are generating too little power such that on stations like Meta, a round-start (pre-buffed) AME and Tesla are not enough to keep the station powered and the lights from blinking.
See: https://github.com/space-wizards/space-station-14/pull/28419
Media
1-core (pre-PBJ-buff) AME + Tesla can now power Meta. Tesla still does not provide enough power by itself to power the whole station. Picture shows empty SMES charging with combined AME + Tesla output.

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

Breaking changes

Changelog

:cl: notafet

tweak: Increase power output from Tesla coils.

The Tesla probably should be enough to power a station on its own, no? Requiring two engines kind of undermines the point of using it vs singulo even further I feel like.

you never needed an ame with a good tesla setup ime

I made the number bigger so that the Tesla by itself can power Meta. I tested 1500000 (which was not enough) until I arrived at this number.

agree with Lank. Tesla should be able to solo power a station just like singulo or TEG. Perhaps it'd be worth increasing the frequency of the lightning instead of just the charge but in any case you shouldn't need to run the AME alongside it just to have functional power.

Wouldn't increasing the frequency of lightning also substantially ramp up the destructive capacity of the tesla and also make it so it'd bypass the coils and grounding rods with higher probability?


Sync with develop

@paulmon,
Thanks for having already signed the Contribution License Agreement. Your agreement has not been validated yet. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


Test adding space

This sounds like a perfect job for https://github.com/Call-for-Code/Practice-Pull-Requests :)

Well sure @krook, I did a pull request, but I don't have write access so someone's going to have to approve me :)


Refactor molecules

Simple refactoring of the molecule type and associated structs.

Rebased and corrected.
The codecov status is weird, it looks like it is now considering closing braces as (sometimes not coverged) lines of there own, while it was not before. before - after. What should we do? I can try to add tests to bring coverage up, or we can relax the target value and set it to 84%.

Well, I think - for now - we could just lower the coverage target. I think it would be good to specifically
look at adding (good) tests before we go public. I'd like to merge, if you're ok with it. 👍

I'd like to merge, if you're ok with it. 👍

Just let me change coverage target before, and we'll be good.


[msquic] update to 2.4.7

Library name
msquic
New version number
2.4.7
Other information that may be useful (release notes, etc...)
My attempt to do this:
https://github.com/microsoft/vcpkg/pull/42547
You can use the code and continue my work.

@dg0yt When you have time, please take a look.

@MonicaLiu0311 this issue is fixed by https://github.com/microsoft/vcpkg/pull/42788


japenese language broke after the update (other languages probably too)

Check image: https://share.cleanshot.com/15q5t3JX

Right now, if you change the language to french, spanish, chinese, or anything with non-utf8 characters, it has issues displaying those.
We were doing utf8.decode((widget.plugin.memoryPrompt ?? '').codeUnits) but now doesn't seem to work, ideally now, when the transcript is received, it should parse that to decode utf8 automatically, without having to call this in multiple places.
Note: webhooks should also be triggered with utf-8 decoded data, not random symbols

https://github.com/BasedHardware/Friend/issues/434

@josancamon19 it happens because the String.codeUnits method in Dart returns a list of UTF-16 code units, which are 16-bit values representing the characters in the string. When the codeUnits are passed to utf8.decode, the decode method will end up truncating the characters incorrectly, especially for characters outside the Basic Multilingual Plane (BMP) that are represented by surrogate pairs in UTF-16. The decode method may work for words where all the codePoints are small enough to not be truncated


missing git tags for releases beyond 3.0.0

The latest git tag is 3.0.0, but the latest release is 3.2.0.

Sorry my release discipline failed. I added release notes for 3.2.2 which summarizes everything since 3.0.

@bterlson You should still tag the intermediate releases.

I will if you can tell me how you use them!

I added them for you. Still curious if you're using these somehow.

@bterlson I just like to be able to do things like git log 3.2.0... or git diff 3.1.0...3.2.0.

Makes sense, thanks :)


Make drivers.yaml file optional

Change the path to the drivers.yaml from a constant to a user-definable parameter path.supported-drivers-version-db. If the user does not specify any value for the file path, then every ethernet driver is considered good to use.
@SchSeba @Eoghan1232 please take a look

Should we assume every driver is considered good to use?
I think the default values should be hard-set unless overwritten in the new driver yaml file?
if a user used an out of date driver, i.e. not supported - it would just fail?
wdyt?

Should we assume every driver is considered good to use?

That's a good question. If the IsDriverSupported check is removed, the VfStats(...) function will log an error and return empty stats. That's almost the same behavior, but we'd get a slightly worse error message.
https://github.com/k8snetworkplumbingwg/sriov-network-metrics-exporter/blob/9f558abe914841a02b975b199e20d1c667ad3f88/pkg/vfstats/netlink.go#L17
The problem with the supported driver map is that an in-tree driver inherits the version from the kernel. So it's not trivial to prepare a good drivers.yaml file.

right - but if we are assuming that if a yaml is not provided, then return empty and assume all are correct, this will be the default configuration for everyone
so there' not much point in checking it then.....
it's a catch 22, if you default it to some values, then folks will hit it and have to either set the values to empty and overwrite, or else explicitly set the values based on their env..........
I am not sure which approach I like better....
maybe don't check the version - and call out a minimum (we do this) in the README
and update the logs - to say it could be an issue with driver version ?
@zeeke @SchSeba not sure, what are your opinions here?

Mentioning the supported hardware and driver version in the README is enough, IMO. I vote for removing the IsDriverSupported check, but I'm ok with anything that can simplify the deployment of this component
Alos, I'd like to hear what @SchSeba think about this

I will vote to remove this file as I don't think it really works for in-tree drivers.
for example, we have 1.9 version in the file for ICE driver but for example, in RHEL all the driver versions are based on the kernel. For example "4.18.0-513.18.1.el8_9.x86_64" will be marked as a "good" version but we don't really know if that driver is newer or older than the u/s 1.9 version requested in the file

@zeeke any progress on this?

Sorry, I wasn't sure I got the plan here.
Can you confirm this:
a. the exporter does not read any drivers.yaml file.
b. netlink collector is used regardless the driver and/or the version
c. (optional) we log a warning if the driver version is older than some hardcoded value
is that right?

Sorry, I wasn't sure I got the plan here.
Can you confirm this: a. the exporter does not read any drivers.yaml file. b. netlink collector is used regardless the driver and/or the version c. (optional) we log a warning if the driver version is older than some hardcoded value
is that right?

my understanding is that we will remove the drivers.yaml file, remove the IsDriverSupported check.
add a note/couple lines in README calling out the minimum supported version.
I think if netlink fails, then we can fall back on sysfs collector, etc.
@zeeke @SchSeba is this what has been agreed?

Sorry, I wasn't sure I got the plan here.
Can you confirm this: a. the exporter does not read any drivers.yaml file. b. netlink collector is used regardless the driver and/or the version c. (optional) we log a warning if the driver version is older than some hardcoded value
is that right?

my understanding is that we will remove the drivers.yaml file, remove the IsDriverSupported check. add a note/couple lines in README calling out the minimum supported version.
I think if netlink fails, then we can fall back on sysfs collector, etc.
@zeeke @SchSeba is this what has been agreed?

sounds very good to me. Going to provide changes


Selecting :not(.foo) fails

... with the following error:
TypeError: Property '1' of object function () {
    return true;
  },,function (el) {
      var attr;
      switch (key) {
        case 'for':
          attr = el.htmlFor;
          break;
        case 'class':
          attr = el.className;
          break;
        case 'href':
          attr = el.getAttribute('href', 2);
          break;
        default:
          attr = el[key] != null
               ? el[key]
               : el.getAttribute(key);
          break;
      }
      return attr != null && op(attr + '', val);
    } is not a function
    at file://localhost/Users/flx/js/zest/test/zest.js:316:21
    at file://localhost/Users/flx/js/zest/test/zest.js:294:14
    at file://localhost/Users/flx/js/zest/test/zest.js:378:18
    at file://localhost/Users/flx/js/zest/test/zest.js:417:9
    at file://localhost/Users/flx/js/zest/test/zest.js:493:12
    at file://localhost/Users/flx/js/zest/test/test.js:117:31
    at file://localhost/Users/flx/js/zest/test/test.js:119:5
    at file://localhost/Users/flx/js/zest/test/test.js:146:3

The problem is that the selector gets split at the nested dot. Any idea how to fix that elegantly?

It could be a problem with the tokenizer. I completely rewrote it to match selector grammar more closely and make it more foolproof. I have a huge pile of fixes sitting on my disk right now. They need to be tested on IE and Safari before I actually push them to production though. I've procrastinated on it. I'll see if I can get them up today.

This should be fixed with the latest commits.

Yep, works perfectly now. Thanks a lot!


powbytelen abstraction

#buf => #bufStrict lengths result in formula that look like 2 ^Int (SIZE *Int 8), which Z3 has trouble with when using the Haskell backend's encoding.
This wraps up the sub-formula in an uninterpreted function, and axiomatizes it as much as needed to get the proofs to go through.
This also enables the test tests/specs/functional/lemmas-java-spec.k to run on the Haskell backend, so the proof there is inlined into tests/specs/lemmas.k instead.

Fixes #1012


Embedded Problem

Visual works perfectly in desktop or in the service(app.powerbi)
but when we are embedding the report, it doesn't
We were in version16, updated for the 17 and still the same...
Problem started on 4th or 5th july

It might be an issue with Power BI embedded and non-certified visuals, as someone else has noticed this issue with different visuals.

I've heard from another user that the visual is now working again for them within Power BI Embedded. It could be worth checking again from your end to see if it works for you now too.

Thanks for confirming, and glad you're sotted out. I had raised the issue with MS, so I assume they've found the root cause and resolved it.


how to run springseed based on source code

i wan't add baidu network disk (a kind of network disk in china) in springseed to sync notes

Hi! Sorry for the delay, I didn't see this issue on my email.
Anyway, the compilation instructions are within the README, you need atom-shell to run it.
ATOM_SHELL_DIRECTORY/atom SPRINGSEED_DIRECTORY should do it.


Indicator plan: Change export button label

I'd like to see the button be consistent with our IPTT, with the label "Excel". "Export all" doesn't tell you the format to which you're exporting. It also implies that you can opt to partially export, which isn't the case.
Please change from this:

to this:

on the indicator plan page, this now reads Excel, moving to ready for deploy.


error 'You are overriding current access token' when trying to log back in

it works perfectly the first login, i get all the information, however if i logout and then back in, it throws this error in the console and nothing happens.
i am using the facebook v.3.2  api
You are overriding current access token, that means some other app is expecting different access token and you will probably break things. Please consider passing access_token directly to API parameters instead of overriding the global settings.

It happens to me too, found any solution?

wo

@wobstyr, it happens to me too, found any solution?

+1 and no solution found ..

Happens to me too

It's happening for me also.

It's happens to me too, found any solution?


useFetch GET method with body is not working

Environment

Operating System: Darwin
Node Version:     v18.15.0
Nuxt Version:     3.4.2
Nitro Version:    2.3.3
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      app, components, typescript, modules, extends, css, runtimeConfig, imports, pinia, linkChecker, vite
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
await useFetch<WXData>('/signature', {
  method: 'GET',
  baseURL: window.location.origin,
  body: {
    path: window.location.pathname,
  },
})
  .then((res) => {
    console.log('res', res)
  })
  .catch((err) => {
    console.log('err', err)
  })

Describe the bug
If I set 'body', it does not appear in the network tab.
If I remove 'body', it will appear in the network tab.
I know using the GET method here is not the best practice, but the backend is reluctant to change.
It's working on postman.
Additional context
No response
Logs
No response

useFetch won't throw an error - you'd need to inspect the error ref it returns to see/handle the error


Storage Explorer from Server share to Blob container failed instantly all of a sudden

hi and thank you! I have been migrating some data from server with storage explorer to our new blob containers in azure. It was a bit tricky at first since our shares have mapped drive location such as F:\data rather than just data  but it seemed to move the data so I was happy. Now I am trying to move data and i get an instant "unexpected Quit (used SDS, discovery not completed)
Any ideas why I would get this all of a sudden,  and also very important ask;
If I want to move SHARE A and ALL subfolders under this from onprem windows server to Azure Blob Container instead of only one single folder at a time, how can I do this??
THANK YOU! in advance for any help

The error message means AzCopy exited without returning a known response to us. That usually happens if the underlying AzCopy process crashed. I would recommend you get a detailed AzCopy log file for your data transfer so we can investigate what goes wrong.
In Storage Explorer app menu, open Edit -> Settings, in the Transfers page, set AzCopy log level to Debug (the highest possible one).

Then open Storage Explorer and try to reproduce the transfer problem with a subset of your data. Ideally the smaller dataset you have in the reproduction, the easier it will be to figure out what goes wrong. Once the error occurs again, you can go to the logs directory and get the most recent log file. You can share it with us here so we can take a look at it.
If you cannot see the AzCopy log file, it means AzCopy might not even be able to start. Another option is to download an AzCopy command line executable and execute a command for your data transfer. The command line tool will print all the runtime exceptions to your terminal.

Closing due to lack of response. If you are still having this problem we recommend opening an Azure support ticket. Alternatively you can open a new issue here.


Update series long description

related #217
Changes in series description here https://www.nist.gov/system/files/documents/2022/04/01/PubID_Syntax_NIST_TechPubs.pdf is not reflected in code base, for example:
AMS was "Advanced Manufacturing Standard" become "Advanced Manufacturing Series".
CSWP was "Cybersecurity Resource Center White Paper" become "Cybersecurity White Papers".
AMS Advanced Manufacturing Series
BH Building and Housing
BMS Building Materials and Structures Reports
BSS Building Science Series
CIRC NBS Circulars
CS Commercial Standards
CSM Commercial Standards Monthly
CSWP NIST Cybersecurity White Papers
EAB Economic Analysis Briefs
FIPS Federal Information Processing Standards Publications
GCR Grantee/Contractor Reports
HB Handbooks
IR NISTIR
MONO Monographs
MP Miscellaneous Publications
NCSTAR National Construction Safety Team Act Reports
NSRDS National Standard Reference Data Series
OWMWP Office of Weights and Measures White Papers
PC Photographic Laboratory Circulars
RPT National Bureau of Standards Reports
SIBS Special Interior Ballistic Studies
SP Special Publications
TIBM Technical Information on Building Materials for Use in the Design of Low Cost Housing
TN Technical Notes
TTB Technology Transfer Briefs

IR NISTIR

@ronaldtse this looks strange.
before it was:
  NIST IR: Interagency or Internal Report
  NBS IR: Interagency or Internal Report

IR NISTIR

@ronaldtse this looks strange.
before it was:
  NIST IR: Interagency or Internal Report
  NBS IR: Interagency or Internal Report

I believe the reason they did that is exactly to remove the “or”. We should just adopt whatever they specify here.

I believe the reason they did that is exactly to remove the “or”. We should just adopt whatever they specify here.

@ronaldtse I don't understand. "NISTIR" is an abbreviation, but abbreviation on the left side is "IR", right side should have decoded abbreviation. It looks like mistake, why we should have another abbreviation on right side?

@mico the reason why they just used "NISTIR" as the long description for "NIST IR", is because there are 2 types of documents shared under this "NIST IR" document type. Some of them are:

NIST Interagency Reports
NIST Internal Reports

They cannot split this series because it was published since so many years ago. So that's why they gave up on the long name and just used "NISTIR" instead. In some sense this is like how "GNU" stands for "GNU is Not Unix" which doesn't really mean anything.


CLIENT.ovpn for linux ubuntu needs extra config to work

I needed to add this at the end of my CLIENT.ovpn script so that the pushed DNS configurations take effect. DNS does not work without these extra lines in the .ovpn file:
script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf

this can be done by fixing the docs and requiring manual instructions for this or a flag in a command to add this at the end.
worked with no problems on mac os.
This extra configuration is described here. https://forums.openvpn.net/viewtopic.php?t=21678

I need to also do this. I am adding it manually to the client.ovpn file right now. I've tested sending it as a push config, but that is not supported.
There is an OVPN_ADDITIONAL_CLIENT_CONFIG already:
https://github.com/kylemanna/docker-openvpn/blob/master/bin/ovpn_getclient#L65
but it is not settable nor managed by ovpn_env.sh.

Same here.

@danoctavian Thanks i ran into the same problem. My client is RPI3 with raspbian jessie.

Is this still an issue?  Setting Ubuntu specific things for all clients just isn't an option.

I am experiencing a similar issue - connected to the VPN server, can ping IP addresses but DNS resolution doesn’t work. My /etc/resolve.conf points to <IP_ADDRESS> or <IP_ADDRESS> but still no queries are passing through. Trace route works but only with “-n” otherwise it can’t resolve the names. Pings work only with IP addresses. So for some reason the DNS server is not being pushed correctly.


Cannot start as service

Hey,
After skhd crash it stopped and i cant start it as service
Starting via brew is giving this error:
Error: Formula `skhd` has not implemented #plist, #service or installed a locatable service file
Starting via skhd --start-service asking for permission every time even i permit it.
I have checked other issues there is similar issues but couldnt find any helpful answer.
Currently using it as daemon skhd&
Current Versions

Macos Sonoma  14.1.1 (23B81)
skhd-v0.3.9

The binary needs to be codesigned; follow the instructions here, but replace yabai with skhd
https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(from-HEAD)

Thanks for the help, really appreciated for this.


⚠ ClamAV has degraded performance

In b7a9073, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 440 ms

Resolved: ClamAV performance has improved in 1a8bd8d.


defusedxml is deprecated (by his author)

Hi,
In this issue the author said no more need of defusedxml but bandit still recommend it.
https://github.com/tiran/defusedxml/issues/25
defusedxml.lxml is no longer needed and supported. Nowadays libxml2 has builtin limitation for entity expansion.
What I can find about these vulnerabilities, libxml2 seems to have been patched in 2013, ref :
CVE-2013-1664
CVE-2013-1665
They have been patched on EL6 and never existed on EL7
Best regards,

Hi,
OK but today we have a warning on from lxml import etree
If defusedxml.lxml is deprecated we should not have a warning on this, no ?
Best regards,

Hi. @lukehinds could you please re-open or reply to @Poil? I am also affected by this and not sure what to do. Shouldn't lxml be whitelisted by bandit? Thanks!

From my understanding, users shall not use the deprecated defused.lxml module but can call lxml parse functions with the resolve_entities=False argument: https://lxml.de/FAQ.html#how-do-i-use-lxml-safely-as-a-web-service-endpoint
As in; lxml.etree.iterparse(stream, schema, resolve_entities=False)


Function singleTransfer returns test data - wrong variables

https://github.com/comgate-payments/sdk-php/blob/c3578a5289ea00160830e6a07ce2645c9e918453/src/Client.php#L137C3-L137C63
Line 137 is:
$singleTransferRequest = new SingleTransferRequest(1, true);
should be:
$singleTransferRequest = new SingleTransferRequest($transferId, $test);
Thank you

#39 resolved


Add: add cmd to the ctrl supported

Please provide Issues links to:

Issues: #

Provide test code:

Description
...

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


[FHIR web Related] Create an endpoint to fetch all root locations

Root locations  -- These are the topmost locations in any hierarchy. Currently, the assumption is any locations without the partOf attribute are root locations

What's required

[ ] Add an endpoint to return all the root locations in the FHIR server.

I don't think this is a fhircore issue, isn't this about the Hapi server?

I don't think this is a fhircore issue, isn't this about the Hapi server?

I think let's track this here for now

I don't think this is a fhircore issue, isn't this about the Hapi server?

Yes, it is about hapi. @f-odhiambo where do we track HAPI related issues

Yes. Let's track this track issues #188 & #189 here

Hi, As per my findings here are my thoughts:

To find root locations, we can also utilize the type field in the FHIR Location entity. By definition:

shortDefinition = "Type of function performed",
formalDefinition = "Indicates the type of function performed at the location."

It's an array, so we could add one of the entries inside this field as root and can get all root locations using this end-point
http://localhost:8080/fhir/Location?type=root
For instance, if we get another use case in the future to store type as UC, District, Commune, etc we can add as it's an array, I have tested it by setting one of the locations as District and root both and fetched that location via this end-point:
http://localhost:8080/fhir/Location?type=root,District

The other option could be to utilize extensions but FHIR does not allow searching via extensions and it throws the following exception:
Valid search parameters for this search are: [_id, _language, _lastUpdated, address, address-city, address-country, address-postalcode, address-state, address-use, endpoint, identifier, name, near, operational-status, organization, partof, status, type]"
If we want to go with this approach, additional code logic needs to be added.

For the partOf field I have explored the code and it works well when we add a correct reference like Location/54. It searches correctly and fetches that record only based on the request param supplied. But if we try to pass null it treats it as a String hence does not bring the correct result. There is a validation written inside the class IdHelperService that checks if id has a valid idPart, if not it throws an exception.  I believe the logic is centralized for all the resource providers as it will be called when creating a predicate. Since partOf is of Reference dataType it verifies that the id part can not be null.

If we go with the extension of LocationResourceProvider class i.e. creating a new end-point, we may need to change the partOf data type. But this needs to be verified.
More code level changes will be required in this approach.

@dubdabasoduba Can you please share your thoughts on this?
cc : @f-odhiambo  @maimoonak

Thanks Reham, using a type sounds like a good solution.
As you've described it, the inability to query on a null value sounds like a general limitation for any resource, is that correct? Can you ask on the FHIR Zulip about this? It would be interesting to see what other people in the FHIR community do about this.
Another option, would be to have a "root" location that all the literally root locations set as their partOf, then instead of querying for a null partOf we query for a root partOf.
I could see this potentially reduces the complexity since we could avoid type queries and only use partOf queries when looking through the hierarchy, but I'm not sure, I imagine it will depend on other factors.

Yes @pld  as per my understanding, the validations on the request parameters are centralized and thus apply to all the resources. I will confirm and take the opinion from the FHIR Community as well.
For the second option, from a high level, this also seems a valid solution.  @dubdabasoduba  can you please share your thoughts on the solutions discussed above?

Thanks Reham, using a type sounds like a good solution.
As you've described it, the inability to query on a null value sounds like a general limitation for any resource, is that correct? Can you ask on the FHIR Zulip about this? It would be interesting to see what other people in the FHIR community do about this.
Another option, would be to have a "root" location that all the literally root locations set as their partOf, then instead of querying for a null partOf we query for a root partOf.
I could see this potentially reduces the complexity since we could avoid type queries and only use partOf queries when looking through the hierarchy, but I'm not sure, I imagine it will depend on other factors.

@pld I agree with using the partOf queries. QQ to see if I get the default location idea.

Create a location that is maybe named Root OpenSRP Location, this will also be created as a migration during deployment.
Then all locations that have this location's location id/uuid on the part of is treated as the root location?

If that's the case I am on board with this.

Yea exactly that

@rehammuzzamil Do you think you have enough to proceed? If not please let me know so that we can look at it together and iron out the requirements

@rehammuzzamil Do you think you have enough to proceed? If not please let me know so that we can look at it together and iron out the requirements

@dubdabasoduba  I believe with the approach discussed above, we can go with the existing end-point. There is no need of creating a new end-point.

@rehammuzzamil Do you think you have enough to proceed? If not please let me know so that we can look at it together and iron out the requirements

@dubdabasoduba I believe with the approach discussed above, we can go with the existing end-point. There is no need of creating a new end-point. I can share a payload for a root location which we can post to the Hapi FHIR server. Then all the literal root locations should be a partOf this root location.

I guess my questions would be, do we want to let the web handle the functionality to derive the root locations. I would rather we have an endpoint that actually gives out an array response for these root locations.

@pld @ndegwamartin @ekigamba @maimoonak any thoughts?

@dubdabasoduba  We can get the array of root locations by using the end-point http://localhost:8080/fhir/Location?partof=153
where partof=153 is the id of the root location. In this case, the server can set up a "root" location that all the literally root locations set as their partOf from the web by setting the partOf param in the payload to the id of the root location created by the server.
Here is a sample response:

{
    "resourceType": "Bundle",
    "id": "84df4cd4-539f-4287-9e3d-49273146b792",
    "meta": {
        "lastUpdated": "2021-07-27T12:49:29.134+05:00"
    },
    "type": "searchset",
    "total": 2,
    "link": [
        {
            "relation": "self",
            "url": "http://localhost:8080/fhir/Location?partof=153"
        }
    ],
    "entry": [
        {
            "fullUrl": "http://localhost:8080/fhir/Location/155",
            "resource": {
                "resourceType": "Location",
                "id": "155",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2021-07-27T12:49:09.481+05:00",
                    "source": "#R5OGJqOGW1JXhjCL"
                },
                "identifier": [
                    {
                        "use": "official",
                        "value": "93bc9c3d-6321-41b0-9b93-1275d7111114e22"
                    }
                ],
                "status": "active",
                "name": "Ona Office Sub Location with partof",
                "alias": [
                    "ona office 1"
                ],
                "description": "The Sub location where the ona office is located",
                "type": [
                    {
                        "coding": [
                            {
                                "system": "level",
                                "code": "root",
                                "display": "Jurisdiction"
                            },
                            {
                                "system": "type",
                                "code": "District",
                                "display": "Jurisdiction"
                            }
                        ]
                    }
                ],
                "physicalType": {
                    "coding": [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
                            "code": "jdn",
                            "display": "Jurisdiction"
                        }
                    ]
                },
                "partOf": {
                    "reference": "Location/153"
                }
            },
            "search": {
                "mode": "match"
            }
        },
        {
            "fullUrl": "http://localhost:8080/fhir/Location/154",
            "resource": {
                "resourceType": "Location",
                "id": "154",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2021-07-27T12:49:08.368+05:00",
                    "source": "#6RKeT5SmDIwFrHMm"
                },
                "identifier": [
                    {
                        "use": "official",
                        "value": "93bc9c3d-6321-41b0-9b93-1275d7111114e22"
                    }
                ],
                "status": "active",
                "name": "Ona Office Sub Location with partof",
                "alias": [
                    "ona office 1"
                ],
                "description": "The Sub location where the ona office is located",
                "type": [
                    {
                        "coding": [
                            {
                                "system": "level",
                                "code": "root",
                                "display": "Jurisdiction"
                            },
                            {
                                "system": "type",
                                "code": "District",
                                "display": "Jurisdiction"
                            }
                        ]
                    }
                ],
                "physicalType": {
                    "coding": [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
                            "code": "jdn",
                            "display": "Jurisdiction"
                        }
                    ]
                },
                "partOf": {
                    "reference": "Location/153"
                }
            },
            "search": {
                "mode": "match"
            }
        }
    ]
}

cc : @pld  @maimoonak

@dubdabasoduba We can get the array of root locations by using the end-point http://localhost:8080/fhir/Location?partof=153
where partof=153 is the id of the root location. In this case, the server can set up a "root" location that all the literally root locations set as their partOf from the web by setting the partOf param in the payload to the id of the root location created by the server.
Here is a sample response:

{
    "resourceType": "Bundle",
    "id": "84df4cd4-539f-4287-9e3d-49273146b792",
    "meta": {
        "lastUpdated": "2021-07-27T12:49:29.134+05:00"
    },
    "type": "searchset",
    "total": 2,
    "link": [
        {
            "relation": "self",
            "url": "http://localhost:8080/fhir/Location?partof=153"
        }
    ],
    "entry": [
        {
            "fullUrl": "http://localhost:8080/fhir/Location/155",
            "resource": {
                "resourceType": "Location",
                "id": "155",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2021-07-27T12:49:09.481+05:00",
                    "source": "#R5OGJqOGW1JXhjCL"
                },
                "identifier": [
                    {
                        "use": "official",
                        "value": "93bc9c3d-6321-41b0-9b93-1275d7111114e22"
                    }
                ],
                "status": "active",
                "name": "Ona Office Sub Location with partof",
                "alias": [
                    "ona office 1"
                ],
                "description": "The Sub location where the ona office is located",
                "type": [
                    {
                        "coding": [
                            {
                                "system": "level",
                                "code": "root",
                                "display": "Jurisdiction"
                            },
                            {
                                "system": "type",
                                "code": "District",
                                "display": "Jurisdiction"
                            }
                        ]
                    }
                ],
                "physicalType": {
                    "coding": [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
                            "code": "jdn",
                            "display": "Jurisdiction"
                        }
                    ]
                },
                "partOf": {
                    "reference": "Location/153"
                }
            },
            "search": {
                "mode": "match"
            }
        },
        {
            "fullUrl": "http://localhost:8080/fhir/Location/154",
            "resource": {
                "resourceType": "Location",
                "id": "154",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2021-07-27T12:49:08.368+05:00",
                    "source": "#6RKeT5SmDIwFrHMm"
                },
                "identifier": [
                    {
                        "use": "official",
                        "value": "93bc9c3d-6321-41b0-9b93-1275d7111114e22"
                    }
                ],
                "status": "active",
                "name": "Ona Office Sub Location with partof",
                "alias": [
                    "ona office 1"
                ],
                "description": "The Sub location where the ona office is located",
                "type": [
                    {
                        "coding": [
                            {
                                "system": "level",
                                "code": "root",
                                "display": "Jurisdiction"
                            },
                            {
                                "system": "type",
                                "code": "District",
                                "display": "Jurisdiction"
                            }
                        ]
                    }
                ],
                "physicalType": {
                    "coding": [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
                            "code": "jdn",
                            "display": "Jurisdiction"
                        }
                    ]
                },
                "partOf": {
                    "reference": "Location/153"
                }
            },
            "search": {
                "mode": "match"
            }
        }
    ]
}

cc : @pld @maimoonak

I agree. let's mark this as done. I had completely forgotten about this.

Create the default locations payload then we can document it somewhere @rehammuzzamil

Create the default locations payload then we can document it somewhere @rehammuzzamil

Sure. Thanks!

Sample payload for root location:
{
  "resourceType": "Location",
  "status": "active",
  "name": "Root OpenSRP Location",
  "alias": [
    "root location"
  ],
  "description": "An imaginary root location to which all the literal root locations set as their partOf",
  "partOf": {
      "reference": ""
  },
  "identifier": [
		{
			"use": "official",
			"value": "93bc9c3d-6321-41b0-9b93-1275d7114e21"
		}
	],
  "physicalType": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
        "code": "jdn",
        "display": "Jurisdiction"
      }
    ]
  }
}

@dubdabasoduba Please have a look. Thanks!

Sample payload for root location:
{
  "resourceType": "Location",
  "status": "active",
  "name": "Root OpenSRP Location",
  "alias": [
    "root location"
  ],
  "description": "An imaginary root location to which all the literal root locations set as their partOf",
  "partOf": {
      "reference": ""
  },
  "identifier": [
		{
			"use": "official",
			"value": "93bc9c3d-6321-41b0-9b93-1275d7114e21"
		}
	],
  "physicalType": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
        "code": "jdn",
        "display": "Jurisdiction"
      }
    ]
  }
}

@dubdabasoduba Please have a look. Thanks!

This is now tracked here https://github.com/opensrp/fhircore/issues/443


No way of subscribing to specific profile

Operating system: MacOS Mojave (10.14.1)
language version: NodeJS
Cortex version: Latest

I'm not seeing a specific way to designate a specific profile to use. For instance, if I want to subscribe to "com," I'm not able to set the profile I want to use.
Another issue is that the values of the mental command events are not being returned when subscribing. The response I get when subscribed to "com" is the following:
[ { com: { cols: [Array] },
    sid: '1988c0b6-7a95-424d-83a0-87fbcfc69d04' } ]

The value of [Array] is simply
['act', 'pow']
Just those two strings. The response denoted on the documentation is different in that I am supposed to be getting the mental command action and the power value, but instead I am getting just those two strings.

Hello @ProjectProgramAMark
To use an existing profile (created by EmotivBCI for example) you must call the method "setupProfile", with the status "load".
https://emotiv.github.io/cortex-docs/#setupprofile
The response you receive when you subscribe is correct.
This response just let you know that you subscribed  successfully.
The actual mental command events will then be sent by the server, so you just need to keep listening to new messages from the web socket.
However, you must train a profile and load it first.
The mental command detection cannot work without training.

Hi @ProjectProgramAMark
I had similar problem with receiving data form stream, and i my case it was wrong type of websocket connection used. I am using python, so i'll present it on python websocket library:
https://pypi.org/project/websocket-client/
I was using "Short-lived one-off send-receive" example instead of "Long-lived connection"
Maybe your problem is analogous.

@bchaperon that was it, thanks!


can't bake lighting

In unity 2018.4.11, when merged light probes , can't generate lighting.

What error are you getting when attempting to generate lighting?
I haven't tested this script myself for a long time, so the more details you can give me, the better.


Let Each Macro Do One Thing And One Thing Only

What is this PR?
This is a:

[X] documentation update
[ ] bug fix with no breaking changes
[X] new functionality
[ ] a breaking change

All pull requests from community contributors should target the main branch (default).
Description & motivation
Based on great feedback from @joellabes and documented in the issue #87 , this PR makes changes in the following ways:

both calculate and develop now produce a variable called metrics_dictionary that contains all of the attributes of all metrics provided to it from the metric_tree
get_metric_sql takes in this new variable and uses it to construct the sql in a completely agnostic manner.
creation of calendar dimension variables have been moved into get_metric_sql because they aren't needed in the higher level metrics and it just means fewer variables required to be passed in.
adding a README into the macros folder to talk about the inputs

Checklist

[X] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered)

[x] BigQuery
[X] Postgres
[ ] Redshift
[x] Snowflake

[X] I have updated the README.md (if applicable)

Tenets to keep in mind

A metric value should be consistent everywhere that it is referenced
We prefer generalized metrics with many dimensions over specific metrics with few dimensions
It should be easier to use dbt’s metrics than it is to avoid them
Organization and discoverability are as important as precision
One-off models built to power metrics are an anti-pattern

Let's do this one sync next week!

@joellabes all the topics we covered last night have been fixed. If this code passes all the tests I think it is good to be merged in


Update cats-effect to 2.3.0

Updates org.typelevel:cats-effect from 2.2.0 to 2.3.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "cats-effect" } ]

labels: library-update, semver-minor

Codecov Report

Merging #381 (a9c29eb) into master (8b094b2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #381   +/-   ##
=======================================
  Coverage   63.19%   63.19%
=======================================
  Files          38       38
  Lines        1266     1266
  Branches        5        5
=======================================
  Hits          800      800
  Misses        466      466

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 8b094b2...a9c29eb. Read the comment docs.


Add notebook to demonstrate how efficiently running SetFit with TensorRT

Efficiently run SetFit Models with Optimum

Hello!
I've tried to reproduce your findings, but I get somewhat different results. In particular, for me distilbert and bge-small have roughly the same latency, e.g. here:

Beyond that, I can't export the model to ONNX without concerning warnings:
Framework not specified. Using pt to export to ONNX.
Using the export variant default. Available variants are:
    - default: The default ONNX variant.
Using framework PyTorch: 1.13.1+cu117
Overriding 1 configuration item(s)
        - use_cache -> False
2023-11-21 11:22:39.1526897 [W:onnxruntime:, session_state.cc:1162 onnxruntime::VerifyEachNodeIsAssignedToAnEp] Some nodes were not assigned to the preferred execution providers which may or may not have an negative impact on performance. e.g. ORT explicitly assigns shape related ops to CPU to improve perf.
2023-11-21 11:22:39.1569189 [W:onnxruntime:, session_state.cc:1164 onnxruntime::VerifyEachNodeIsAssignedToAnEp] Rerunning with verbose output on a non-minimal build will show node assignments.
Overridding for_gpu=False to for_gpu=True as half precision is available only on GPU.
C:\Users\tom\.conda\envs\setfit\lib\site-packages\optimum\onnxruntime\configuration.py:770: FutureWarning: disable_embed_layer_norm will be deprecated soon, use disable_embed_layer_norm_fusion instead, disable_embed_layer_norm_fusion is set to True.
  warnings.warn(
Optimizing model...
2023-11-21 11:22:40.3541080 [W:onnxruntime:, session_state.cc:1162 onnxruntime::VerifyEachNodeIsAssignedToAnEp] Some nodes were not assigned to the preferred execution providers which may or may not have an negative impact on performance. e.g. ORT explicitly assigns shape related ops to CPU to improve perf.
2023-11-21 11:22:40.3587720 [W:onnxruntime:, session_state.cc:1164 onnxruntime::VerifyEachNodeIsAssignedToAnEp] Rerunning with verbose output on a non-minimal build will show node assignments.
symbolic shape inference disabled or failed.
symbolic shape inference disabled or failed.
Configuration saved in bge_auto_opt_O4\ort_config.json
Optimized model saved at: bge_auto_opt_O4 (external data format: False; saved all tensor to one file: True)
Post-processing the exported models...
Deduplicating shared (tied) weights...
Validating models in subprocesses...
Validating ONNX model bge_auto_opt_O4/model.onnx...
2023-11-21 11:22:43.1815932 [W:onnxruntime:, session_state.cc:1162 onnxruntime::VerifyEachNodeIsAssignedToAnEp] Some nodes were not assigned to the preferred execution providers which may or may not have an negative impact on performance. e.g. ORT explicitly assigns shape related ops to CPU to improve perf.
2023-11-21 11:22:43.1859957 [W:onnxruntime:, session_state.cc:1164 onnxruntime::VerifyEachNodeIsAssignedToAnEp] Rerunning with verbose output on a non-minimal build will show node assignments.
        -[✓] ONNX model output names match reference model (last_hidden_state)
        - Validating ONNX Model output "last_hidden_state":
                -[✓] (2, 16, 384) matches (2, 16, 384)
                -[x] values not close enough, max diff: 2.19140625 (atol: 0.0001)
The ONNX export succeeded with the warning: The maximum absolute difference between the output of the reference model and the ONNX exported model is not within the set tolerance 0.0001:
- last_hidden_state: max diff = 2.19140625.
 The exported model was saved at: bge_auto_opt_O4

-[x] values not close enough, max diff: 2.19140625 (atol: 0.0001)

However, the model strangely still performs well, i.e. it still reaches 90.6% accuracy.
I can only run the exported model on CUDA, not on TensorRT. For TensorRT the model gets stuck for more than an hour at 100% GPU usage. When running on CUDA, the latency goes from ~11 to ~3.5, which is still a big improvement, but not quite as big as you see with TensorRT:

I'm okay with just fixing some typos and merging this PR, in the hopes that others don't get my issues. Perhaps at some point I can implement proper ONNX support for SentenceTransformers and SetFit so it works a bit more consistently.
Did you also get the -[x] values not close enough, max diff: 2.19140625 (atol: 0.0001) warning? And did you encounter issues with running TensorRT? And should I just get this PR merged with some typo fixes? I'm curious about your thoughts.

Tom Aarsen

I'll retry with TensorRT on Google Colab rather than locally. As for the warning, the model accuracy is still identical, so it seems like it's not something to be too concerned about. Thanks for the info!

Tom Aarsen

@MosheWasserb
I've continued trying to get TensorRT installed, now on Google Colab. It ends up failing when building the engine.
Beyond that, I realised that the pipe model from transformers was loaded on CPU, while the SetFit model was on CUDA, so the results were not fair.
This is with CUDA rather than TensorRT & the pipe on the GPU instead:

Perhaps I could remove the reference model from the notebook and focus only on the gains for using ONNX? I suppose that a DistilBERT model of 268MB will still be faster than a 127MB BERT model. I'm curious to hear your thoughts.

Tom Aarsen

@tomaarsen
I agree, the best is to remove distillBERT from the notebook. Let's focus on the gain of using ONNX for SetFIt .

Will do. I will try to incorporate this into a how-to guide in the SetFit documentation for v1.0.0.


sample: dfu: exclude b_u585i_iot02a board

Exclude b_u585i_iot02a board from USB DFU sample since
it has no flash driver.
Fixes: #40783

Approved, but it would be nice to have a better way to filter out.
This will have to be removed once flash driver is available, and likely this will be forgotten.

Approved, but it would be nice to have a better way to filter out. This will have to be removed once flash driver is available, and likely this will be forgotten.

Could create an issue as a reminder

Could create an issue as a reminder

To fix the filtering scheme ?


Update key-vault-manage-with-cli.md

Replacing essay quotes by programming quotes, allowing copy-paste without surprises and edits.

Hi @msfcolombo, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (fcolombo). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@BrucePerlerMS - I think we discussed this one offline, but can you review/approve when you have a minute?

Yep, this too is from a tracked conversation with the PM, dev and little ole' me.

Thanks @BrucePerlerMS , and thanks @msfcolombo for the contribution!


Static build on Windows broken?

building on windows, it seems OPENEXR_DLL gets defined in any case.
I had to remove these lines to make the static build work:
https://github.com/MrMabulous/openexr/commit/c5e8761064437989ab0e4fc7dd3cd44dc2f6a5c0
But I assume there is some purpose to these lines, so I'm not sure if that breaks something else.

You're right, that bit of code is ignoring the static/dynamic option.

resolved by https://github.com/AcademySoftwareFoundation/openexr/commit/ec8af9a541b12e50f7fb7ac8ef99f348ada9bb1c


✨ API - Add unit tests to API

Rewards API currently has no unit tests! 🔥🔥🔥
Write unit tests for

[ ] Achievements endpoints
[ ] Rewards endpoints
[ ] Dev profile endpoints
[ ] Notifications endpoints

Also see #410


Add support for commit squashing

Announcement: https://developer.github.com/changes/2016-04-01-squash-api-preview/
API Docs: https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button
Unfortunately, this will almost certainly require a breaking change to https://godoc.org/github.com/google/go-github/github#PullRequestsService.Merge

I can work on this. Would providing another function such that the existing merge function doesn't change be beneficial?

I think a breaking change is okay here.


Selfhosting machine

Welcome to my issue!
The selfhosting machine
If you change the build number using the Registry Editor, then you will selfhost builds.

What build number would you want?

[ ] Recommended: 22601
[ ] Nickel builds at Microsoft.UI.Xaml Issue: 22596, 22574
[ ] The only build that is on the conhost on the closed issue: 22590

You are grumpy at closing!

What? I honestly have no idea what you're asking here. If you can clarify, we can reopen. You also don't need to keep filing multiple issues for what seems to be the same topic of discussion.
Just changing the build number in the registry isn't going to actually change anything about the actual binaries you're running. I would highly recommend not doing that.

No, you stop CLOSING!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I can clarify it.

I must create software from Visual Studio 2022, and you will selfhost the builds.

What? I honestly have no idea what you're asking here. If you can clarify, we can reopen. You also don't need to keep filing multiple issues for what seems to be the same topic of discussion.
Just changing the build number in the registry isn't going to actually change anything about the actual binaries you're running. I would highly recommend not doing that.

I must create Microsoft software from Visual Studio 2022, and you will selfhost the builds.


Revamp reference materials

Opening an issues b/c there is a lot of stuff here

Reshoot quickstart video
FAQs
Make game spec more visual
Emphasize dev lifecycle in quickstart spec
Strategy spec that goes over things that are always good and some avenues for exploration
Better sections (Advanced section for IO spec)
Add python and c++ code to spec

Documents to Rewrite

Game Spec
Contest Spec
Visualizer Spec
Quickstart
ML tutorial

ping @Sydriax

Quite broad. Most has been done. Will use more specific issues instead from now on for this topic.


Virtualbox, WINE, GIMP, Krita needs XWaylands are not Wayland native

Virtualbox, WINE, GIMP, Krita and some more needs XWaylands, they sometimes fails or crash because of XWayland bridge. These apps needs to be fully Wayland to operate natively and good.

to fix your trouble check this fix, i see it in another issue,
https://github.com/Jostino/RimWorld-it/releases/tag/fix
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

Once I rework the page (#29), I'll add some X11/Xwayland tag ^^


Support for multiple responses

Is your feature request related to a problem? Please describe.
Currently I have a problem that's about multiple response body which one each has a specific Content-Type header.
I can't figure out some doc about that and I'm concluded that this support can be not exists.
Explaing my scene, I have three differents Content-Type header for each response but I can't create a Golang struct for each one.

Looking this code we can figure out that there's no some annotation for describe a different Golang struct for either application/B+json nor application/C+json
Describe the solution you'd like
I'd like that was possible add just one inline attribute like this example below:
// @Success 200 {object} A application/A+json "Structure A"
// @Failure 401 {object} ErrA application/A+json "Structure A Error 401"
// @Failure 404 {object} ErrA application/A+json "Structure A Error 404"
// @Failure 500 {object} ErrA application/A+json "Structure A Error 500"
// @Success 200 {object} B application/B+json "Structure B"
// @Failure 401 {object} ErrB application/B+json "Structure B Error 401"
// @Failure 404 {object} ErrB application/B+json "Structure B Error 404"
// @Failure 500 {object} ErrB application/B+json "Structure B Error 500"
// @Success 200 {object} C application/C+json "Structure C"
// @Failure 401 {object} ErrC application/C+json "Structure C Error 401"
// @Failure 404 {object} ErrC application/C+json "Structure C Error 404"
// @Failure 500 {object} ErrC application/C+json "Structure C Error 500"

Sure, it looks like verbose but I don't have a good idea better than it.
Describe alternatives you've considered
My workaround will be edit output file manually and include this specs.

@guiferpa
Open-API is a standard made to help DEVELOPERS easily consume a REST API.
Your proposal simply breaks this contract just because you want to define a single source that handle 3 entities.

@ubogdan
Too bad, makes sense.
Well, but would you have some approach for this API contract complexity. On practice I have one JSON contract for the same endpoint but this json has some specifics attributes then if I just response with header Content-Type:json my client side wouldn't know how correct way to parse this response body. Maybe I must have a attribute called "type" for works as a signal for say about kind of it.
PS: I know that this issue opened have no sense about this subject above but let me know if you or someone already lived this problem and how it was solved using swag on the code, together.

It seems that what @guiferpa is trying to do is actually mentioned on the openapi documentation and is defined at RFC6838. It would be nice if swaggo could have full support for this part of openapi docs: https://swagger.io/docs/specification/media-types/

Exactly @lucasbmiguel

@lucasbmiguel swagger IS OPEN API 2.0. the link you gave me is related to OPEN API 3.0 SPECS.
This is my last response in this matter. It doesn't make sense to have different response models on the same route.


AuthError.ts:49  Uncaught (in promise) BrowserAuthError: interaction_in_progress

Describe the bug
https://github.com/microsoft/semantic-kernel/tree/main/samples/apps/copilot-chat-app
I read and completely followed the readme.md instructions. Finally, I ran the webapp and clicked on authorization to log in. I saw this error from the browser console, but I couldn't click to complete the authorization process
I still get this prompt when running in a new environment, and I haven't opened any extra browsers, only edges, and there are no other unnecessary authorization pages or pop-up windows. Unfortunately, I can't find any solution for such a simple authorization, including using AI tools, new binding, and chatGPT 4. Seek a solution
To Reproduce
dotnet run
yarn start
browser : http://localhost:3000
Browser development tool console output
logs：
AuthError.ts:49  Uncaught (in promise) BrowserAuthError: interaction_in_progress: Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API.  For more visit: aka.ms/msaljs/browser-errors.
at BrowserAuthError.AuthError [as constructor] (AuthError.ts:49:1)
at new BrowserAuthError (BrowserAuthError.ts:199:1)
at BrowserAuthError.createInteractionInProgressError (BrowserAuthError.ts:280:1)
at BrowserCacheManager.setInteractionInProgress (BrowserCacheManager.ts:1305:1)
at ClientApplication.preflightInteractiveRequest (ClientApplication.ts:907:1)
at ClientApplication.preflightBrowserEnvironmentCheck (ClientApplication.ts:890:1)
at PublicClientApplication. (ClientApplication.ts:284:1)
at step (pluginsSlice.ts:61:1)
at Object.next (pluginsSlice.ts:61:1)
at pluginsSlice.ts:61:1

@fanheshe how did you resolve this problem? I am running into the same problem today.

I finally got my problem solved:
I was not able to install the deps with yarn, so I use npm to install these deps, then I use npm start to run the webapp, seems like there are some problem with npm, I switched to yarn start, and the webpage started to work.

@hunk-fe make sure the new env file is named exactly as ".env", and has your application id configured correctly. An incorrect file name or incorrect application id can cause this issue.

Ah, thanks a lot, I missed the step to create the .env file. By creating that, I solved the problem.


⚠ Bofrost.at has degraded performance

In 1bd1737, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 999 ms

Resolved: Bofrost.at performance has improved in 5c421e3.


Latest Stable Not Rendering All Elements in IE11

Hi there,
Just wanted to open an issue and maybe help someone else that might run into the same thing down the line.
So I was using the latest stable version (1.2.61) to do some HTML to PDF conversion of some header tags (h1, h2, etc) and a table element. In Chrome and Firefox it all works fine. However, in IE I noticed that only the table is rendered and nothing else.
I tried fixing the issue by using different ways to grab the HTML and what not. It wasn't until I came across this http://stackoverflow.com/questions/31921838/jspdf-plugin-not-working-upto-ie9 (specifically this answer http://stackoverflow.com/a/35588437) that I was able to solve the issue and have the elements correctly rendered in IE. It appears that the newer version does something weird and that the older version 1.0.272 does not have this issue.
Anyways here is the structure of my HTML

but I can not render in IE, because ,it have an error that the promise is not undefined,I  use the addHTML function

We are closing this issue, because we will not support any longer fromHTML and addHTML.
Explaination:
We are working on a new html2pdf plugin, which will be based on html2canvas and our context2d plugin. This should lead to more reliable results for your projects. And it will give us the time to focus on the core functionality of pdf-generation because we will not use our energy for writing/supporting/extending 2 html plugins. If you still want to use addHTML or fromHTML you can still use jsPDF 1.4.1.
Best Regards


Add stand_alone_name configuration for each queries

Description
This PR adds the string configuration sql.gen.go.stand_alone_name in sqlc.yaml.
Features

The program will not generate the db.go file
Merge the original code in db.go into each queries.go file, combine into one file
In the new queries.go file, stand_alone_name will be used to differentiate DBTX, New, Queries, and sql constants

Examples
I have put examples in the examples/stand_alone_name directory, including schema.sql, queries.sql, sqlc.yaml, and the generated go files
Development environment:
Mac, go 1.19.3, PostgreSQL 14
Note
I have not done complete testing, this is just to provide a reference idea

@michaelzx Appreciate you putting together a complete working example for reference. As of right now, we won't be accepting a change like this. Single configuration options that change that dramatically change the structure of the code are difficult to maintain, as they interact with the other configuration options in difficult to understand ways.
I hope that in a few versions codegen plugins will be a bit easier to write and you can implement your idea via that mechanism.


Resume connectivity when the internet connection changes.

Going between WiFi hotspots and switching between WiFi and cellular data should not make Yggdrasil remain disconnected.

As far as I am aware, this is not behaviour that we have coded. One of two things is presumably happening:

The peer connections are dropping as the routing table changes, in which case the peerings should retry eventually (less than a minute);
Android is stopping the VPN extension for some reason and not restarting it after, which we have no control over.

This issue is experience-runining, honestly

As far as I am aware, this is not behaviour that we have coded. One of two things is presumably happening:
1. The peer connections are dropping as the routing table changes, in which case the peerings should retry eventually (less than a minute);

2. Android is stopping the VPN extension for some reason and not restarting it after, which we have no control over.

For what it's worth, as a basic test, the wireguard app vpn behaves differently and doesn't drop on connectivity change, whereas yggdrasil does on my phone, so I'm not sure it's android.
I don't think (1) is the issue, because then that wouldn't lead to the vpn being "off", just no actual connection, right?
As I mentioned, (2) shoudn't be the case either, since it works fine for other apps. In fact, i've been using ygg as my always-on vpn, which is why the issue is obvious, because android complains that ygg stopped every time wifi or mobile connection gets interrupted or changed

I'm on version 0.4.0 and seeing inconsistent behavior when the phone switches network.
First scenario
Phone starting on cell network:

Start with wifi OFF
Turn on ygg
Wait for connect
Turn on wifi
Ygg disconnects itself but stays enabled in app
Wait 1 minute
Ygg reconnects over wifi network

Second scenario
Phone starting on wifi network:

Start with wifi ON
Turn on ygg
Wait for connect
Turn off wifi
Ygg disconnects itself and app crashes

As I've understood there were some bugs and they lead to some unseen crashes.
Now we've fixed them and the app is very stable, runs for days without issues. Even when changing from mobile to wi-fi and back.
And it is good to set in as Always On VPN.

I think it's fixed.